(self.webpackChunknlf_client=self.webpackChunknlf_client||[]).push([[179],{97312:(de,$e,B)=>{"use strict";B.d($e,{h:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/acl/groups/"}getGroup(h,v){return this.getItem(this.relativeUrl,h,v)}getGroups(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},66339:(de,$e,B)=>{"use strict";B.d($e,{W:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/acl/roles/"}getRole(h,v){return this.getItem(this.relativeUrl,h,v)}getRoles(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},50917:(de,$e,B)=>{"use strict";B.d($e,{I:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/aircrafts/"}getAircraft(h,v){return this.getItem(this.relativeUrl,h,v)}getAircrafts(h){return this.getList(this.relativeUrl,h)}save(h,v,y,x){return this.patch(this.relativeUrl,h,v,x,y)}create(h,v){return this.post(this.relativeUrl,h,v)}getAircraftTypes(){return this.getList(this.relativeUrl+"types")}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},45550:(de,$e,B)=>{"use strict";B.d($e,{A:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/aip/airports/"}getAirspace(h,v){return this.getItem(this.relativeUrl,h,v)}getAirports(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},48717:(de,$e,B)=>{"use strict";B.d($e,{u:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/aip/airspaces/"}getAirspace(h,v){return this.getItem(this.relativeUrl,h,v)}getAirspaces(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},28669:(de,$e,B)=>{"use strict";B.d($e,{G:()=>v});var n=B(88759),i=B(64139),P=B(52822),m=B(92218),s=B(66587),o=B(3184);let v=class{constructor(){this.cache=new Map,this.inFlightObservables=new Map,this.DEFAULT_MAX_AGE=3e5,this.DEFAULT_MAX_AGE_ERR=5e3}get(x,C,_){const w=JSON.stringify(x);return this.hasValidCachedValue(w)?(console.log(`%cGetting from cache ${w}`,"color: green"),(0,i.of)(this.cache.get(w).value)):(_||(_=this.DEFAULT_MAX_AGE),this.inFlightObservables.has(w)&&!this.inFlightObservables.get(w).error?this.inFlightObservables.get(w):C&&C instanceof P.y?(this.inFlightObservables.set(w,new m.xQ),console.log(`%c Calling api for ${w}`,"color: purple"),C.pipe((0,n.b)(z=>{this.set(w,z,_)},z=>{this.set(w,C,this.DEFAULT_MAX_AGE_ERR)}))):(0,s._)("Requested key is not available in Cache"))}set(x,C,_=this.DEFAULT_MAX_AGE){this.cache.set(x,{value:C,expiry:Date.now()+_}),this.notifyInFlightObservers(x,C)}has(x){return this.cache.has(x)}clear(){this.cache.clear()}notifyInFlightObservers(x,C){if(this.inFlightObservables.has(x)){const _=this.inFlightObservables.get(x);_.observers.length&&(console.log(`%cNotifying ${_.observers.length} flight subscribers for ${x}`,"color: blue"),_.next(C)),_.complete(),this.inFlightObservables.delete(x)}}hasValidCachedValue(x){return!!this.cache.has(x)&&(!(this.cache.get(x).expiry<Date.now())||(this.cache.delete(x),!1))}};v=function(y,x,C,_){var R,w=arguments.length,z=w<3?x:null===_?_=Object.getOwnPropertyDescriptor(x,C):_;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(y,x,C,_);else for(var N=y.length-1;N>=0;N--)(R=y[N])&&(z=(w<3?R(z):w>3?R(x,C,z):R(x,C))||z);return w>3&&z&&Object.defineProperty(x,C,z),z}([(0,o.GSi)()],v)},69027:(de,$e,B)=>{"use strict";B.d($e,{R:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/legacy/clubs/"}getClub(h,v){return this.getItem(this.relativeUrl,h,v)}getClubs(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},50644:(de,$e,B)=>{"use strict";B.d($e,{w:()=>o});var n=B(3184),i=B(28784),P=B(89160),m=B(92340);let o=class extends P.Q{constructor(v){super(v),this.relativeUrl="/app/config/"}getConfig(v){return this.getItem(this.relativeUrl,m.N._name,v)}};o.ctorParameters=()=>[{type:i.eN}],o=function(h,v,y,x){var w,C=arguments.length,_=C<3?v:null===x?x=Object.getOwnPropertyDescriptor(v,y):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(h,v,y,x);else for(var z=h.length-1;z>=0;z--)(w=h[z])&&(_=(C<3?w(_):C>3?w(v,y,_):w(v,y))||_);return C>3&&_&&Object.defineProperty(v,y,_),_}([(0,n.GSi)({providedIn:"root"})],o)},79185:(de,$e,B)=>{"use strict";B.d($e,{n:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/e5x/attributes/"}getAttribute(h,v){return this.getItem(this.relativeUrl,h,v)}getAttributes(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},78535:(de,$e,B)=>{"use strict";B.d($e,{h:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/e5x/choices/"}getChoice(h,v){return this.getItem(this.relativeUrl,h,v)}getChoices(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},30727:(de,$e,B)=>{"use strict";B.d($e,{H:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/e5x/"}generate(h,v,y,x,C,_){return this.post(this.relativeUrl+"generate/"+y+"/"+h,{_etag:v,e5x:x,rit_version:C},_)}getFile(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},69108:(de,$e,B)=>{"use strict";B.d($e,{t:()=>y});var n=B(3184),i=B(28784),P=B(89160),m=B(65226),o=B(92938);let y=class extends P.Q{constructor(C){super(C),this.relativeUrl="/files/",this.downloadUrl="/download/"}getFile(C,_){return this.getItem(this.relativeUrl,C,_)}getFiles(C){return this.getList(this.relativeUrl,C)}getImage(C,_,w){return this.getItem(this.downloadUrl+"image/"+C+"/"+_," ",w)}getDirectLink(C){return this.baseUrl+this.downloadUrl+C}downloadFile(C,_){this.getItem(this.relativeUrl,C,_).subscribe(w=>{if((0,o.has)(w,"file")){const z=new Blob([w.file],{type:w.content_type});(0,m.saveAs)(z,w.name),window.location.href=w.url}else console.error("File response contains no file id",w)},w=>console.log(w))}getOrphan(C){return this.getList(this.relativeUrl+"orphan",C)}getDuplicates(C){return this.getList(this.relativeUrl+"duplicates",C)}getGeneric(C,_){return this.getList(C,_)}};y.ctorParameters=()=>[{type:i.eN}],y=function(x,C,_,w){var N,z=arguments.length,R=z<3?C:null===w?w=Object.getOwnPropertyDescriptor(C,_):w;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)R=Reflect.decorate(x,C,_,w);else for(var S=x.length-1;S>=0;S--)(N=x[S])&&(R=(z<3?N(R):z>3?N(C,_,R):N(C,_))||R);return z>3&&R&&Object.defineProperty(C,_,R),R}([(0,n.GSi)()],y)},16296:(de,$e,B)=>{"use strict";B.d($e,{l:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/help/"}getHelp(h,v){return this.getItem(this.relativeUrl,h,v)}getHelpList(h){return this.getList(this.relativeUrl,h)}create(h,v){return this.post(this.relativeUrl,h,v)}save(h,v,y,x){return this.patch(this.relativeUrl,h,v,x,y)}remove(h,v,y){return this.delete(this.relativeUrl,h,y,v)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},72017:(de,$e,B)=>{"use strict";B.d($e,{T:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/locations/"}search(h,v){return this.getList(this.relativeUrl+"search?q="+h,v)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},85356:(de,$e,B)=>{"use strict";B.d($e,{S:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/legacy/clubs/"}getClub(h,v){return this.getItem(this.relativeUrl,h,v)}getClubs(h){return this.getList(this.relativeUrl,h)}create(h,v){return this.post(this.relativeUrl,h,v)}save(h,v,y,x){return this.patch(this.relativeUrl,h,v,x,y)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},87819:(de,$e,B)=>{"use strict";B.d($e,{t:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/legacy/melwin/licenses/"}getLicense(h,v){return this.getItem(this.relativeUrl,h,v)}getLicenses(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},15404:(de,$e,B)=>{"use strict";B.d($e,{t:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/legacy/melwin/memberships/"}getMembership(h,v){return this.getItem(this.relativeUrl,h,v)}getMemberships(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},90570:(de,$e,B)=>{"use strict";B.d($e,{d:()=>y});var n=B(3184),i=B(1635),P=B(94989),m=B(38331),s=B(83910),o=B(28784),h=B(89160);let y=class extends h.Q{constructor(C){super(C),this.relativeUrl="/legacy/melwin/users/"}getUser(C,_){return this.getItem(this.relativeUrl,C,_)}getUsers(C){return this.getList(this.relativeUrl,C)}search(C){const _={query:{where:{$text:{$search:C}}}};return this.getList(this.relativeUrl,_)}getUserIdCache(C,_){return(0,i.P)(()=>this.getUser(C,_)).pipe((0,P._)(1,3e4),(0,m.x)(),(0,s.q)(1))}};y.ctorParameters=()=>[{type:o.eN}],y=function(x,C,_,w){var N,z=arguments.length,R=z<3?C:null===w?w=Object.getOwnPropertyDescriptor(C,_):w;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)R=Reflect.decorate(x,C,_,w);else for(var S=x.length-1;S>=0;S--)(N=x[S])&&(R=(z<3?N(R):z>3?N(C,_,R):N(C,_))||R);return z>3&&R&&Object.defineProperty(C,_,R),R}([(0,n.GSi)()],y)},2536:(de,$e,B)=>{"use strict";B.d($e,{Z:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h)}setActivity(h){this.relativeUrl="/"+h+"/observations/aggregate"}getTypes(h){return this.getList(this.relativeUrl+"/types",h)}getTypesDiscipline(h){return this.getList(this.relativeUrl+"/types/discipline",h)}getStatesDiscipline(h){return this.getList(this.relativeUrl+"/states/discipline",h)}getAvgRatingsDiscipline(h){return this.getList(this.relativeUrl+"/ratings/discipline",h)}getAvgRatings(h){return this.getList(this.relativeUrl+"/ratings",h)}getUsersForeign(h,v){return this.getList(this.relativeUrl+'/users/foreign?aggregate={"$discipline":'+h+"}",v)}getUserCount(h,v){return this.getList(this.relativeUrl+'/users/reports/count?aggregate={"$discipline":'+h+"}",v)}getUserReports(h,v){return this.getList(this.relativeUrl+'/user/reports?aggregate={"$person_id":'+h+"}",v)}getUsersCreatedReports(h,v){return this.getList(this.relativeUrl+'/users/reports/created/count?aggregate={"$discipline":'+h+"}",v)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},60103:(de,$e,B)=>{"use strict";B.d($e,{Z:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h)}setActivity(h){this.activity=h,this.relativeUrl="/"+h+"/observations/"}getObservation(h,v){return this.getItem(this.relativeUrl,h,v)}get(h,v){return this.getObservation(h,v)}getObservations(h){return this.getList(this.relativeUrl,h)}getObservationsSelf(h){return this.getList(this.relativeUrl+"user",h)}create(h,v){return this.post(this.relativeUrl,h,v)}save(h,v,y,x){return this.patch(this.relativeUrl,h,v,x,y)}addAclUser(h,v,y,x={},C,_){return this.post("/acl/observations/"+this.activity+"/"+h+"/"+v+"/"+y,x,_)}removeAclUser(h,v,y,x){return this.delete("/acl/observations/"+this.activity+"/"+h+"/"+v+"/",""+y,x)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},89160:(de,$e,B)=>{"use strict";B.d($e,{Q:()=>m});var n=B(28784),i=B(92938);class m{constructor(o){this.http=o,this.baseUrl="/api/v1"}getOptions(o,h){if(o||(o={}),o.params&&(console.log("Use of params is not allowed, use query"),console.log(o.params)),o.headers?o.headers=Object.assign(o.headers,this.getDefaultHeaders(h)):o?o.headers=this.getDefaultHeaders(h):o={headers:this.getDefaultHeaders(h)},o.query){let v=new n.LE;if(Object.keys(o.query).forEach(y=>{v="sort"===y?"string"==typeof o.query.sort?v.append(y,o.query.sort):v.append(y,JSON.stringify(o.query.sort).replace(/[{]/g,"(").replace(/[}]/g,")").replace(/:/g,",")):"string"==typeof o.query[y]||"number"==typeof o.query[y]?v.append(y,o.query[y]+""):v.append(y,JSON.stringify(o.query[y]))}),o.params instanceof n.LE)try{o.params=Object.assign(o.params,v)}catch(y){console.log(y)}else o.params=v}return o}getDefaultHeaders(o){let h={"Content-Type":"application/json; charset=utf8",Accept:"*/*"};return o&&(h["If-Match"]=o),h}getItem(o,h,v={}){return this.http.get(this.baseUrl+o+(0,i.toString)(h),this.getOptions(v))}getItemById(o,h,v={}){return this.http.get(this.baseUrl+o+(0,i.toString)(h),this.getOptions(v))}getList(o,h={}){return this.http.get(this.baseUrl+o,this.getOptions(h))}post(o,h,v={}){return this.http.post(this.baseUrl+o,JSON.stringify(h),this.getOptions(v))}put(o,h,v,y={},x){return this.http.put(this.baseUrl+o+h,JSON.stringify(v),this.getOptions(y,x))}patch(o,h,v,y={},x){return this.http.patch(this.baseUrl+o+h,JSON.stringify(v),this.getOptions(y,x))}delete(o,h,v={},y){return this.http.delete(this.baseUrl+o+h,this.getOptions(v,y))}}},40537:(de,$e,B)=>{"use strict";B.d($e,{N:()=>o});var n=B(3184),i=B(28784),P=B(89160),m=B(86942);let o=class extends P.Q{constructor(v){super(v),this.relativeUrl="/tags/"}getTags(v){return this.getList(this.relativeUrl,v)}remove(v,y){return this.delete(this.relativeUrl,v,y)}create(v,y){return this.post(this.relativeUrl,v,y)}freq(v,y,x){return y>0||!y?this.post(this.relativeUrl+"freq/"+v,{},x):y<0?this.delete(this.relativeUrl+"freq/",v,x):void 0}search(v){return console.log("Searching in service"),this.getList(this.relativeUrl,v).pipe((0,m.U)(y=>y._items))}};o.ctorParameters=()=>[{type:i.eN}],o=function(h,v,y,x){var w,C=arguments.length,_=C<3?v:null===x?x=Object.getOwnPropertyDescriptor(v,y):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(h,v,y,x);else for(var z=h.length-1;z>=0;z--)(w=h[z])&&(_=(C<3?w(_):C>3?w(v,y,_):w(v,y))||_);return C>3&&_&&Object.defineProperty(v,y,_),_}([(0,n.GSi)()],o)},31363:(de,$e,B)=>{"use strict";B.d($e,{J:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/user/authenticate"}authenticate(h,v,y,x){return this.post(this.relativeUrl,{username:h,password:v,id_token:y},x)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},62618:(de,$e,B)=>{"use strict";B.d($e,{_:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/users/"}getUser(h,v){return this.getItem(this.relativeUrl,h,v)}getUsers(h){return this.getList(this.relativeUrl,h)}save(h,v,y,x){return this.patch(this.relativeUrl,h,v,x,y)}getAvatar(h){return this.getItem(this.relativeUrl,h,{query:{projection:{avatar:1}}})}getUserObservations(h,v){return this.getList("/"+h+"/observations/user",v)}getObservationsForUser(h,v,y){return this.getList("/"+h+'/observations/aggregate/user/reports?aggregate={"$person_id": '+v+"}",y)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)()],s)},61297:(de,$e,B)=>{"use strict";B.d($e,{V:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/activities/"}getActivity(h,v){return this.getItem(this.relativeUrl,h,v)}getActivities(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},79392:(de,$e,B)=>{"use strict";B.d($e,{K:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/functions/"}getFunction(h,v){return this.getItem(this.relativeUrl,h,v)}getFunctions(h){return this.getList(this.relativeUrl,h)}getFunctionType(h,v){return this.getItem(this.relativeUrl+"types/",h,v)}getFunctionsTypes(h){return this.getList(this.relativeUrl+"types/",h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},39725:(de,$e,B)=>{"use strict";B.d($e,{k:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/"}getWorkersStatus(h){return this.getList(this.relativeUrl+"syncdaemon/workers/status",h)}getWorkersLogs(h){return this.getList(this.relativeUrl+"syncdaemon/workers/logs",h)}getWorkerLog(h,v){return this.getItem(this.relativeUrl+"syncdaemon/worker/log/",h,v)}getProcessInfo(h){return this.getList(this.relativeUrl+"syncdaemon/process/info",h)}getIntegrationChangesStatus(h){return this.getList(this.relativeUrl+"integration/changes/status",h)}getIntegrationChangesEntityTypes(h){return this.getList(this.relativeUrl+"integration/changes/entity/types",h)}getIntegrationChangesByHour(h){return this.getList(this.relativeUrl+"integration/changes/aggregate/hour",h)}startSyncdaemonWorkers(){return this.post(this.relativeUrl+"syncdaemon/workers/start",null)}stopSyncdaemonWorkers(){return this.post(this.relativeUrl+"syncdaemon/workers/shutdown",null)}rebootSyncdaemonWorkers(){return this.post(this.relativeUrl+"syncdaemon/workers/reboot",null)}stopSyncdaemon(){return this.post(this.relativeUrl+"syncdaemon/shutdown",null)}getSyncdaemonStatus(){return this.getList(this.relativeUrl+"syncdaemon/status")}rebootSyncdaemonWorker(h){return this.post(this.relativeUrl+"syncdaemon/worker/reboot/"+h,null)}getNifCompetences(h,v){return this.getList(this.relativeUrl+"nif/competences/"+h)}getNifLicenses(h,v){return this.getList(this.relativeUrl+"nif/licenses/"+h)}generateChangeMessage(h,v,y){return this.post(this.relativeUrl+"nif/change/",{entity_id:h,entity_type:v},y)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},84615:(de,$e,B)=>{"use strict";B.d($e,{S:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/licenses/"}getLicense(h,v){return this.getItem(this.relativeUrl,h,v)}getLicenses(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},7656:(de,$e,B)=>{"use strict";B.d($e,{u:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/organizations/"}getOrganization(h,v){return this.getItem(this.relativeUrl,h,v)}getOrganizations(h){return this.getList(this.relativeUrl,h)}getOrganizationType(h,v){return this.getItem(this.relativeUrl+"types/",h,v)}getOrganizationsTypes(h){return this.getList(this.relativeUrl+"types/",h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},86689:(de,$e,B)=>{"use strict";B.d($e,{q:()=>s});var n=B(3184),i=B(28784),P=B(89160);let s=class extends P.Q{constructor(h){super(h),this.relativeUrl="/integration/payments/"}getPayment(h,v){return this.getItem(this.relativeUrl,h,v)}getPayments(h){return this.getList(this.relativeUrl,h)}};s.ctorParameters=()=>[{type:i.eN}],s=function(o,h,v,y){var _,x=arguments.length,C=x<3?h:null===y?y=Object.getOwnPropertyDescriptor(h,v):y;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)C=Reflect.decorate(o,h,v,y);else for(var w=o.length-1;w>=0;w--)(_=o[w])&&(C=(x<3?_(C):x>3?_(h,v,C):_(h,v))||C);return x>3&&C&&Object.defineProperty(h,v,C),C}([(0,n.GSi)({providedIn:"root"})],s)},21631:(de,$e,B)=>{"use strict";B.d($e,{p:()=>o});var n=B(3184),i=B(28784),P=B(89160),m=B(3518);let o=class extends P.Q{constructor(v,y){super(v),this.configService=y,this.relativeUrl="/integration/persons/",this.configService.observableConfig.subscribe(x=>{this.config=x})}getUser(v,y){return this.getItem(this.relativeUrl,v,y)}getUsers(v){return this.getList(this.relativeUrl,v)}search(v,y){const x={query:{where:{$text:{$search:v}}}};return y&&(x.query.where.activities={$in:[this.config.mapping[y]]}),this.getList(this.relativeUrl+"search",x)}getAgeDistributionAGG(v){return this.getList(this.relativeUrl+"age",v)}getAgeDistributionPyramid(v){return this.getList(this.relativeUrl+"distribution/pyramid",v)}};o.ctorParameters=()=>[{type:i.eN},{type:m.F}],o=function(h,v,y,x){var w,C=arguments.length,_=C<3?v:null===x?x=Object.getOwnPropertyDescriptor(v,y):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(h,v,y,x);else for(var z=h.length-1;z>=0;z--)(w=h[z])&&(_=(C<3?w(_):C>3?w(v,y,_):w(v,y))||_);return C>3&&_&&Object.defineProperty(v,y,_),_}([(0,n.GSi)({providedIn:"root"})],o)},69007:(de,$e,B)=>{"use strict";function n(){return"ID"+Math.random().toString(36).substring(2,12).toUpperCase()+Math.random().toString(36).substring(2,12).toUpperCase()+Math.random().toString(36).substring(2,12).toUpperCase()+Math.random().toString(36).substring(2,4).toUpperCase()}B.d($e,{Gp:()=>C,LR:()=>v,LV:()=>z,Rh:()=>h,Sp:()=>y,T$:()=>P,bc:()=>m,m1:()=>N,oU:()=>i,pw:()=>s,rW:()=>_,sQ:()=>w});class i{constructor(){this.occurrence={attributes:{headline:{value:void 0},utcDate:{value:void 0},utcTime:{value:void 0},localDate:{value:void 0},localTime:{value:void 0},locationName:{value:void 0},latitudeOfOcc:{value:void 0},longitudeOfOcc:{value:void 0},stateAreaOfOcc:{additionalText:void 0,value:void 0},occurrenceCategory:{value:void 0},occurrenceClass:{value:void 0},occurrenceStatus:{value:void 0},overallRepeatability:{value:void 0},overallSeverity:{value:void 0},overallSeverityApplied:{value:void 0},responsibleEntity:{value:void 0},detectionPhase:{value:void 0},speedMeasuredAt:{value:void 0},speedFirstEvent:{unit:"kt",value:void 0},specTechRepeatability:{value:void 0},specTechSeverity:{value:void 0},specTechSeverityApplied:{value:void 0},groundRepeatability:{value:void 0},groundSeverity:{value:void 0},groundSeverityApplied:{value:void 0},highestDamage:{value:void 0},thirdPartyDamage:{value:void 0},damageNotToAC:{value:void 0},objectDamaged:{value:void 0},dangGoodsInvolved:{value:void 0},totalOnBoardAC:{value:void 0},injuryLevel:{value:void 0},totalFatalitiesGround:{value:void 0},totalInjuriesGround:{value:void 0},totalMinorInjuriesGround:{value:void 0},totalSeriousInjuriesGround:{value:void 0},weatherRelevant:{value:void 0},windDirection:{unit:"Degree(s)",value:void 0},windGusts:{unit:"kt",value:void 0},windSpeed:{unit:"kt",value:void 0},maximumGust:{unit:"kt",value:void 0},heightOfCloudBase:{unit:"ft",value:void 0},visibility:{unit:"m",value:void 0},cloudAmount:{value:void 0},wxConditions:{value:void 0},airTemperature:{unit:"C",value:void 0},dewPoint:{unit:"C",value:void 0},lightConditions:{value:void 0},authorityOccClosure:{value:void 0},aviationSector:{value:void 0},fileNumber:{value:void 0},atmContribution:{value:void 0},effectOnATMService:{value:void 0}},entities:{events:[],runwayIncursion:[],aerodromeGeneral:[],aerodromeWeatherReports:[],precipitationAndOtherWeatherPhenomena:[],airNavigationService:[],airSpace:[],aircraft:[],dangerousGoods:[],narrative:[],reportingHistory:[],riskAssessment:[],separation:[]}}}}class P{constructor(){this.aircraft={attributes:{callSign:{value:void 0},aircraftRegistration:{value:void 0},aircraftCategory:{value:void 0},annex2ACType:{value:void 0},wakeTurbCategory:{value:void 0},yearBuilt:{value:void 0},stateOfRegistry:{value:void 0},serialNumber:{value:void 0},operator:{value:void 0},propulsionType:{value:void 0},manufacturerModel:{additionalText:void 0,value:void 0},massGroup:{value:void 0},maximumTOMass:{unit:"kg",value:void 0},landingGearType:{value:void 0},numberOfEngines:{value:void 0},rotorcraftMassGroup:{value:void 0},aircraftTotalTime:{unit:"Hour(s)",value:void 0},totalCyclesAC:{value:void 0},operationType:{value:void 0},typeOfAirspeed:{value:void 0},speedFirstEvent:{value:void 0},occOnGround:{value:void 0},birdSize:{value:void 0},birdsWildlifeSeen:{value:void 0},birdsWildlifeStruck:{value:void 0},pilotAdvisedOfBirds:{value:void 0},speciesDescription:{value:void 0},partsDamaged:{value:void 0},partsStruck:{value:void 0},relWindDirection:{value:void 0},turbulenceIntensity:{value:void 0},visibRestrictions:{value:void 0},totalNumberFatalities:{value:void 0},totalNumberMinorInjuries:{value:void 0},totalNumberOfPersons:{value:void 0},totalNumberSeriousInjuries:{value:void 0},lastDeparturePoint:{value:void 0,additionalText:void 0,additionalTextEncoding:"xs:string"},plannedDestination:{value:void 0,additionalText:void 0,additionalTextEncoding:"xs:string"},aircraftAltitude:{unit:"ft",value:void 0},acFlightLevel:{unit:"FL",value:void 0},clearanceValidity:{value:void 0},clearedAltitude:{unit:"ft",value:void 0},clearedFLAfter:{value:void 0},clearedFlightLevel:{unit:"FL",value:void 0},controllingAgency:{value:void 0},currentFlightRules:{value:void 0},currentTrafficType:{value:void 0},filedFlightRules:{value:void 0},filedTrafficType:{value:void 0},flightNumber:{value:void 0},flightPhase:{value:void 0},flightPlanType:{value:void 0},instrumentApprType:{value:void 0},sidRoute:{value:void 0},ssrMode:{value:void 0},timeDeviatingFL:{unit:"Hour(s)",value:void 0},atsRouteName:{value:void 0}},entities:{engine:[],propeller:[],partInformation:[],flightCrewMember:[],incapacitation:[],narrative:[]},links:{airSpace:{ref:void 0},events:[],runway:{ref:void 0},sector:{ref:void 0},dagerousGoods:[]},id:n()},this.engine={attributes:{enginePosition:{value:void 0},engineSerialNumber:{value:void 0},manufacturerModel:{value:void 0},dateOfInspection:{value:void 0},dateOfManufacturing:{value:void 0},dateOverhaul:{value:void 0},cyclesSinceInsp:{value:void 0},cyclesSinceNew:{value:void 0},cyclesSinceOverhaul:{value:void 0},timeSinceInspection:{unit:"Hour(s)",value:void 0},timeSinceNew:{unit:"Hour(s)",value:void 0},timeSinceOverhaul:{unit:"Hour(s)",value:void 0},ataChapterInvolved:{value:void 0},hazardEngEffect:{value:void 0},natureOfEngineInvolvement:{value:void 0}}},this.propeller={attributes:{propPosition:{value:void 0},makeOfPropeller:{value:void 0},propSerial:{value:void 0},propellerModel:{value:void 0},dateOfManufacturing:{value:void 0},dateOfOverhaul:{value:void 0},dateRepairInsp:{value:void 0},cyclesSinceInsp:{value:void 0},cyclesSinceNew:{value:void 0},cyclesSinceOverh:{value:void 0},timeSinceInspection:{unit:"Hour(s)",value:void 0},timeSinceNew:{unit:"Hour(s)",value:void 0},timeSinceOverhaul:{unit:"Hour(s)",value:void 0},ataChapterInvolved:{value:void 0},propInvolvement:{value:void 0},hazardousPropEffects:{value:void 0}}},this.flightCrewMember={attributes:{category:{value:void 0},dutyLast24Hours:{unit:"Hour(s)",value:void 0},experienceAllAC:{unit:"Hour(s)",value:void 0},experienceThisAC:{unit:"Hour(s)",value:void 0},restBeforeDuty:{unit:"Hour(s)",value:void 0}},entities:{flightCrewLicenses:[]}},this.flightCrewLicenses={attributes:{dateOfLicense:{value:void 0},licenseIssuedBy:{value:void 0},licenseType:{value:void 0},ratings:{value:void 0},validity:{value:void 0}}},this.incapacitation={attributes:{personIncapacitated:{value:void 0},reasonForIncapacity:{value:void 0}}},this.partInformation={attributes:{ataChapterNumber:{value:void 0},cyclesSinceInsp:{value:void 0},cyclesSinceNew:{value:void 0},cyclesSinceOverhaul:{value:void 0},dateOfManufacturing:{value:void 0},dateOfOverhaul:{value:void 0},dateRepairInsp:{value:void 0},manufacturer:{value:void 0},partName:{value:void 0},partNumber:{value:void 0},serialNumber:{value:void 0},timeSinceInspection:{unit:"Hour(s)",value:void 0},timeSinceNew:{unit:"Hour(s)",value:void 0},timeSinceOverhaul:{unit:"Hour(s)",value:void 0}}},this.narrative={attributes:{narrativeLanguage:{value:void 0},narrativeText:{plainText:void 0}}}}}class m{constructor(){this.aerodromeGeneral={attributes:{aerodromeLatitude:{value:void 0},aerodromeLongitude:{value:void 0},aerodromeStatus:{value:void 0},aerodromeType:{value:void 0},areaConfiguration:{value:void 0},elevationAboveMSL:{unit:"ft",value:void 0},landingAreaType:{value:void 0},locationIndicator:{additionalText:void 0,value:void 0},locationOnNearAerodrome:{value:void 0},surfaceType:{value:void 0}},entities:{runway:[],vehicle:[],narrative:[]},links:{events:[]},id:n()},this.runway={attributes:{runwayIdentifier:{value:void 0},surfaceType:{value:void 0}},links:{aircraft:{ref:void 0}},id:n()},this.vehicle={attributes:{typeOfVehicle:{value:void 0},vehicleControlled:{value:void 0}},id:n()},this.narrative={attributes:{narrativeLanguage:{value:void 0},narrativeText:{plainText:void 0}}}}}class s{constructor(){this.separation={attributes:{militaryACInvolved:{value:void 0},rateOfClosure:{unit:"kt",value:void 0},horizontalRelMvmt:{value:void 0},minHorizSepRec:{unit:"NM",value:void 0},reqMinimumHorizSep:{unit:"NM",value:void 0},estMinimumHorizSep:{unit:"NM",value:void 0},estVertSeparation:{unit:"ft",value:void 0},reqVertSeparation:{unit:"ft",value:void 0},verticalSepRecorded:{unit:"ft",value:void 0}},entities:{separationAircraft:[]}},this.separationAircraft={attributes:{acAvoidingAction:{value:void 0},atmAction:{value:void 0},heightAltitude:{unit:"ft",value:void 0},otherAircraftSeen:{value:void 0},pilotResponseToRA:{value:void 0},raClassification:{value:void 0},raType:{value:void 0},riskReductionAC:{value:void 0},verticalProfileOfSeparation:{value:void 0}},entities:{separationTrafficInfoTypeQuality:[]},links:{aircraft:[{ref:void 0}]}},this.separationTrafficInfoTypeQuality={attributes:{trafficInfoQuality:{value:void 0}}},this.links=void 0}}class h{constructor(){this.riskAssessment={attributes:{aircraftEquipmentAndInfrastructure:{value:void 0},ercsCalculatedBS:{value:void 0},ercsColumnScore:{value:void 0},ercsComments:{value:void 0},ercsFinalBS:{value:void 0},ercsNumericalEquivalentScore:{value:void 0},ercsRiskGrade:{value:void 0},ercsRowScore:{value:void 0},ercsScore:{value:void 0},keyRiskArea:{value:void 0},protections:{value:void 0},recoveryAction:{value:void 0},regulationsProceduresAndCompliance:{value:void 0},riskGrade:{value:void 0},riskLevel:{value:void 0},riskMethod:{value:void 0},situationalAwarenessAndActions:{value:void 0},tacticalPlanning:{value:void 0},unspecified:{value:void 0},warningSystemOperationAndCompliance:{value:void 0}}}}}class v{constructor(){this.reportingHistory={attributes:{exportControl:{value:void 0},partiesInformed:{value:void 0},report:{attributes:{resourceLocator:[]}},reportingEntity:{additionalText:"NLF",additionalTextEncoding:"xs:string",value:void 0},reportIdentification:{value:void 0},reportingDate:{value:void 0},conclusions:{plainText:void 0},correctiveActions:{plainText:void 0},descriptionInvestigation:{plainText:void 0},reportSource:{value:void 0},reportStatus:{value:void 0},reportVersion:{value:void 0},reporterSDescription:{value:void 0,plainText:void 0},reporterSLanguage:{value:void 0},reportingFormType:{value:void 0},trackingSheetNumber:{value:void 0},otherReportInform:{value:void 0},riskAssessment:{value:void 0},riskClassification:{value:void 0},riskMethodology:{value:void 0}}}}}class y{constructor(){this.narrative={attributes:{narrativeLanguage:{value:void 0},narrativeText:{plainText:void 0}}}}}class C{constructor(){this.airSpace={attributes:{airspaceClass:{value:void 0},airspaceName:{value:void 0},airspaceType:{value:void 0},firuirName:{value:void 0},specialActivities:{value:void 0}},entities:{narrative:{narrativeLanguage:{value:void 0},narrativeText:{plainText:void 0}}},links:{aircraft:{ref:void 0},events:[]},id:n()}}}class _{constructor(){this.airNavigationService={attributes:{anspName:{value:void 0},apwAlerting:{value:void 0},msawCurrentAlerting:{value:void 0},rimcasAlerting:{value:void 0},stcaCurrentAlerting:{value:void 0}},entities:{narrative:[],sector:[]},links:{events:[]},id:n()},this.sector={attributes:{rtfFrequency:{unit:"MHz",value:void 0},sectorName:{value:void 0},servicesProvided:{value:void 0},workloadController:{value:void 0}},entities:{atmStaff:[]},links:{aircraft:{ref:void 0}},id:n()},this.atmStaff={attributes:{cismOffered:{value:void 0},category:{value:void 0},dutyTimeInPosition:{unit:"Minute(s)",value:void 0}}}}}class w{constructor(){this.precipitationAndOtherWeatherPhenomena={attributes:{phenomenonIntensity:{value:void 0},phenomenonType:{value:void 0}}}}}class z{constructor(){this.runwayIncursion={attributes:{entityInvolved:{value:void 0}},links:{runway:{ref:void 0},aircraft:[],vehicle:{ref:void 0}}},this.links={aircraft:[],runway:[],vehicle:[]}}}class N{constructor(){this.events={attributes:{eventType:{value:void 0},phase:{value:void 0}},id:n()}}}},82100:(de,$e,B)=>{"use strict";B.d($e,{JG:()=>R,KP:()=>x,Qs:()=>w,U2:()=>s,VG:()=>S,Wr:()=>O,Wu:()=>N,Yi:()=>z,Z:()=>m,jD:()=>y,nH:()=>E,p$:()=>C,pJ:()=>P,qn:()=>X,sW:()=>v,vk:()=>_});var n=B(92938);function P(W,re){try{let De=Math.round(100*Math.sqrt((Math.pow(W-1,2)+Math.pow(re-1,3))/(Math.pow(7,2)+Math.pow(7,3))));return De<1&&(De=1),De}catch(pe){}return 1}function m(W){return(0,n.isEmpty)(W)}const s=(W,re)=>re.split(".").reduce((pe={},Ae)=>pe[Ae],W);function v(W,re){return Object.keys(W).forEach(function(pe){let Ae=W[pe];const Se=typeof Ae;"object"===Se?(0,n.isEmpty)(Ae)?delete W[pe]:v(Ae):("undefined"===Se||Ae instanceof Array&&0===W[pe].length||"string"===Se&&(0===Ae.length||""===Ae.replace(/\W/g,"")))&&delete W[pe]}),W}function y(W){try{Object.keys(W).forEach(function(re){let pe=W[re];const Ae=typeof pe;"object"===Ae?(pe.hasOwnProperty("unit")?pe.hasOwnProperty("value")&&!pe.value&&delete W[re]:pe.hasOwnProperty("plainText")?(!pe.plainText||""===pe.plainText)&&delete W[re]:y(pe),Object.keys(pe).length||delete W[re]):"undefined"===Ae?delete W[re]:pe instanceof Array&&0===W[re].length&&(console.log("array"),delete W[re])})}catch(re){}return W}function x(W){try{let pe="",Ae=W.split(".").pop().split(/(?=[A-Z])/);for(var re=0;re<Ae.length;re++)1===Ae[re].length&&Ae[re]===Ae[re].toUpperCase()&&re-1>-1&&1===Ae[re-1].length&&Ae[re-1]===Ae[re-1].toUpperCase()?pe+=Ae[re]:pe=pe+" "+Ae[re];return pe}catch(pe){return""}}function C(W){let re;if(null==W||"object"!=typeof W)return W;if(W instanceof Date)return re=new Date,re.setTime(W.getTime()),re;if(W instanceof Array){re=[];for(var pe=0,Ae=W.length;pe<Ae;pe++)re[pe]=C(W[pe]);return re}if(W instanceof Object){for(var Se in re={},W)W.hasOwnProperty(Se)&&(re[Se]=C(W[Se]));return re}throw new Error("Unable to copy obj! Its type isn't supported.")}function _(W){return W<10?"0"+W:W}function w(W){let re=W.toLowerCase().split(" ");for(let pe=0;pe<re.length;pe++)re[pe]=re[pe].charAt(0).toUpperCase()+re[pe].substring(1);return re.join(" ")}const z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAADOhJREFUeJzt3XvMHUUdxvHvS1+gLaUtImCbcm0QEMGEoIhyE5EqIBirKCAVFDHI3RhREqMx/uEFuaioiahoQIlCoqCNWgigxpiAIBW02JY7FqGUQgstb2/+8TsH377s7Oz2nZ2Z3fN8kk3aPefszu45z7uXmZ0BERERERERERERERERERERERERERERERERERERERERERERERERERERERGRcZsETExdCJEcTQYWAL9FIRHZTD8cm3qTQiLSMzYcColIzySKw6GQSCts1fDyNwEjJa8fB9yEQiIDbCJ2pHAdRXQkkYGnkIh4KCQiHgqJiIdCIuKhkIh4KCQiHgqJiIdCIuKhkIh4KCSSnaHUBRhjItY267iS98wH5gJro5So2B7AuxOuf0vMBx5LXQgZv9yPJK8DlnrKl+P0b2CnBvaHJJBrSKYB93rKlfN0N7B98L0iSeQWkonAHZ7ytGG6Ddg27K6RVHIJyQTgV55ytGm6keafBZJIcgjJDz3rb+P0/aB7qKNyu4vlkvLu1leBS0peXwA8FHidocwGjil5/SvAFyKVRRqW4kjyac/6cj9VqXJqeEGy0klwMUMyD9hYsp62XOxOBO7EvR0bgVOTlU6CixGS44F1Jctv2+1S3+3pEdpX8SklmgzJ24GXSpb7IO2scNsFWIJ7u14E3pqsdBJcEyF5I7CiZHlPAruHKX4Ss4FluLfvWeANyUonwYUOyVkly1kB7B+w7Km8CViJezsfB3ZLVjoJLnRIzi/4/IvA24KWOq0jgDW499ci4LXJSpeRNtSDTAMOBl4P7Axsx6tvrQ4DJwJ7liynTj3JBcBVvX+vB07qfb5LTsLqliY4Xr8PuDXwOjdh+/+/2LXcXdjRTGqaBpwH/AX7gZYdHepMdY4kFwIbgI+E2KBMnUm4fbsl0wbsOz4PmNrwtnbCZODLwPM096XUCcmBAbYpd5eQNiT96Xngi9hvQAocBjxCnC9DTyZu7jLSB6Q/PYT9FmSUcwl7KqWQ1DMEXEv6cPSndcA5TW5wm1xKui9CIfm/YeAW0odj9FTWSDSK1HexzgJ+UOF9TwB/xmqCX8B2XhXDwEeBfUvek8Mz7rmYBHwS229N2R7YGzuN2rXC+8/Ejm4D5yDsR1n2F+Rmxn8+msPzJFLscPxHrbVY5eZAGQYW4t4pT2MNBkNRSPJ2AvAM7u/mHtz1NZ10Du6d8TCwVwPrVEjyNht4FPd38/F0RYtrGPft3JXY+WlTFJK87YO7DmwpeT+cFszxuH+cMWqtFZK8ldXuz0lYrmh+SvHG3xWxDApJvoZwP9x1TcJyRfMk6Y4eoykk+TqD4u/j0YRlimIXijd8HWkeYVVI8jQda8hY9H1EbYYfu6LwMOBPBfMXku5ed6ouhSZjFZh7ATOAHXplWQ+s6k1PYX3qLsGeGx8kD1D8dOOhwF8jlyWaEyn+q3BzykIR50gyCdv+q7FnLeq0PVvf+8yVvWVsN45ytMV8ivfFCSkL1bQPUbzRN6QsVE9TITkSuA5Y7Vl2nWkV8BPgaNI3F2rKjRRv+9yUhWrah8k3IBA+JHM9ywox3Yf94elaHYErIB+IWYiu7dTxWov9qMserz0Ou2apEpKbgIsDlKvMgdgfmIXAUQ2va+AoIK8WOiRXAhcFKJfP/sDt2OncjhHWNxCabNbcZv2QlN3d6oekyt2tq7DTg6vGzF8G3I+1P3sa67Bua2AKdldrNtb8YmaNsp+GXfecgj0iIC2S+zXIWKGvSc4DfgmcDsyqUY5ZWF/BN1De6+PoaR3Nn941KYtrkNjaFhDIrzJxKnA2Vj9SJSjfoJ13uhQQ2hEQyC8kYM9HnIr1hOgLyTW0LyQKCO0JCOQZErDrlctwN83oT1+PXK7xUkBoV0DAfvz/JL+QALwL67GwrGwXJijXlsoiILrNW8+hWBeoZercAg5pAdZF679K3nMZ3epjuHEKSHU7AtdT7dnoVCF5HGsQ6nq2Zhg7Wr8mWolaTgGp7mqs1W1VqUKyAhstynUk2RW4PF5x2k0BqWYO1t6pyMsln0sZkjlYTyFF5mFd7oiHAuI3Afdf3I34h0ZIebp1OnZhO9YQ8B3ad+u389p4F2se5ZVwkO8tYIArSsr0/gTlqSqLu1ixtS0gQ9iTbUVlfgR7CKov15Bsj7sfgL9FLksdWQREp1jl3ol7UMvPY8OY9YVuBRzKKqysRQ7ChmMTBwWk3Ccc8xdRfNTLNSTXY+NuFJkXsRyto4C4TQHe63jtcoovfiHPkGwAvul47YNsfqoooyggbsdS/MNZDfzM89kcQ/Jzim9JT8WeH5ECCojbsY75t2DDQvvkFpLngN84Xjs6wvpbSQFxc41LckuNZeQWkt855isgDgpIscnAfo7X7qi5rJxCcptj/gEM2PgbVSkgxfaleN88gT1HXlcuIXkYWF4wfxtgzwbX21oKSDHXAD4PjGOZuYTkQcf8fRpcZ2spIMVcrXYfGedycwjJEsf8XRpaX6spIMWmO+YXnZ7UlTokKx3zU/Sunz0FpJjrh7nGMb+ulCFZ5Zg/NfB6OkEBqSfknZ5UIVnnmK9OBAsoIMVcD0FNCbyeFCFxDZ0Q6ujYKQpIsecc83doYF2xQ7KzY75rmweaAlLMVdcxu6H1xQyJq77jP+NcbicpIMVcTcObrCuIFRLX8y1Lx7HMzlJAii3Cnjcfayb1Op2uq+mQ7AXsVDB/BFi8BcvrPAWk2Eu4u81pumFfkyFxlX0h7rtbA00BcXONrVE2Gm4oTYXE9QDYH2ssY6AoIG5/cMw/kTiVak2EZIFjvqsZvETWpl5NpuAerObsiOUI3VvK+WM++xw2qlVu1KtJ5lbjfjjqM8R7fiL0keTbbN7L+43o+iMbbTqCgA0p4PqrfWrksoQ+klzY+8xbgpc0jCyOILG1LSBlHcc9TvimJz6hQ3JSA2UMJYuA6BSr3Cbga47XZgFfilcUIPzp1q9DFKrLFBC/63HXiVyMnYbFlPp5koGigPhtwD2c8lbAddiYGzEpJJEoINX8HviF47Wde6/HHrVJIYlAAanuXOApx2v7YZVtCknHKCDVLccGpNngeP3NWPMUnW51iAJSz63A50pe3w8bc2NOnOK8Yi1wDeUVfgpJC7StHsTlasrrIjZiIzvF6ClkKvC93jrLypRyEJ8tkUU9SGxdCcgQ8GP8P8YnsfE3mmiWMoyNX7KsQjnaGBIFhPYGBCwk36LaD3Ip8CnCPNM+HWtwuLTiutsaEgVk1NTGgPRdDKyn2o9yLfbFn0W9vnB3B87AriHWVFzXCPAPz3tyDkkWAVFfSON3BfB3rMJwpue922J3nOb2/r8c6yt3Cdbj4SrsQns7rH5ld2B/3D2RuDyG/TG6FwuV6yGv/oX7XCy8klgXjyB9O2LNUsZz2hNi+hEwbVS5ch191yeLI4hu84bzLHAacAx2ahPbPdhQah8Dnh81X/UkLdLlI8hoWwGnAPfR/BHjXuyv6pCnTG07kmRxBIltUAIy2juwU6/VhAvFC8C1wOE1y9KmkCggo6YuB6RvEnACdmv4HuwuU9VAjGA19FcA78Eu9rdUW0KSRUB0FyueNdgos/2RZrcB9sY6c5uBNXSciJ0qrcE6U1iG1XcsxkISQv+aRHe3MjTIR5Dc5H4kyeIIortYg0t3typQQAabQuIROyBFHUKD/xalNKdtIdkUc2WxA/KSY37s7nNkczmGxPWoQKdHwjqE4guvRSkLJa/I6cLd1Vr54AjrTmYHijd6I8XjVkh8OYRkRsm6Oz8a72KKN/zclIWSzaQOyUWOdbr6J+uU71K88YtRxWVOUoVkG2wIvKL1XRl4XVk6HPcOvyRhueTVUoTk0pJ1HRJwPVlztXIdoX4DPGlWzJAcibuN2t0Blt8ac3Hv7JXAYemKJgVihOQIrJWya/mu4eM661bcO+Nl4g5SI35NhWQY+Cz2nbuWW1Y/01m7ASso3+GLsK5tpicqo2wudEhmYt9x2fKewf+sf2NSN/E4Fmv+7RsjbwNwP9a5wQu4m6xI8yYA76S8i9X5VG8qfxH2nEuREew3cmedAnbNydR7eEhTO6YtGQ5u9PQy8L6Kn++8OfhPtzS1b6oTkgtGfW45cFTFzw2MPYDbSf+lakoXkvOxsVZmVXz/QDoZu95I/cVqShMSqWAIOBrr0v9R0n/BmgY0JKnvYlU1A9gHa/E7BdWP5Ghr4BzggJL31Lm7JdI5qVsBi2RPIRHxUEhEPBQSEQ+FRMRDIRHxUEhEPBQSEQ+FRMRDIRHxUEhEPBQSEQ+FRMRDIRHxUEhEPBQSEQ+FRMRDIRHxUEhEPLIIiYaBllxVGVhUZOC5jiQ6xRLpGRsShUNkjH5IFA4Rh4koHCIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiMf0PUWtWcapWKpwAAAAASUVORK5CYII=";function R(W){let re=W.url;W.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{W.navigate([re])})}function N(W){let re=0,pe=0,Ae=0;if(0===W.length)return re;for(pe=0;pe<W.length;pe++)Ae=W.charCodeAt(pe),re=(re<<5)-re+Ae,re|=0;return re}function S(W){const re=Date.parse(W);return(+new Date-+re)/1e3}function E(W){try{if(+W>=+(new Date).getFullYear())return!0}catch(re){console.log(re)}return!1}function O(W){try{if(Date.parse(W)>Date.now())return!0}catch(re){console.log(re)}return!1}function X(W){W.preventDefault();const re=(W.originalEvent||W).clipboardData.getData("text/plain");window.document.execCommand("insertText",!1,re)}},88344:(de,$e,B)=>{"use strict";B.d($e,{c:()=>n});const n={additionalActions:!1,checkboxes:!1,clickEvent:!0,collapseAllRows:!1,detailsTemplate:!1,draggable:!1,exportEnabled:!1,fixedColumnWidth:!1,groupRows:!1,headerEnabled:!0,horizontalScroll:!1,isLoading:!1,logger:!1,orderEnabled:!0,orderEventOnly:!1,paginationEnabled:!0,paginationMaxSize:5,paginationRangeEnabled:!0,persistState:!0,resizeColumn:!1,rows:10,searchEnabled:!1,selectCell:!1,selectCol:!1,selectRow:!1,serverPagination:!1,showContextMenu:!1,showDetailsArrow:!1,threeWaySort:!1,tableLayout:{borderless:!1,hover:!0,striped:!0,style:"tiny",theme:"bootstrap"}}},3518:(de,$e,B)=>{"use strict";B.d($e,{F:()=>v});var n=B(3184),i=B(61555),P=B(50644),m=B(25730),s=B(99279),o=B(92340);let v=class{constructor(x,C){this.configService=x,this.alertService=C,this.config=new i.t,this.observableConfig=this.config.asObservable(),this.init()}init(){this.configService.getConfig().subscribe(x=>{this.update(x);try{if(s.q.version!=x.client_version&&"local"!==o.N._name){let C=`Your application version "${s.q.version}" do not correspond with the current version "${x.client_version}", please REFRESH your browser to avoid major application errors`;this.alertService.error(C),alert(C)}}catch(C){console.log("Could not verify client version",C)}},x=>console.log("[ERR]",x))}update(x){this.config.next(x)}reset(){this.config.next({})}};v.ctorParameters=()=>[{type:P.w},{type:m.u}],v=function(y,x,C,_){var R,w=arguments.length,z=w<3?x:null===_?_=Object.getOwnPropertyDescriptor(x,C):_;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(y,x,C,_);else for(var N=y.length-1;N>=0;N--)(R=y[N])&&(z=(w<3?R(z):w>3?R(x,C,z):R(x,C))||z);return w>3&&z&&Object.defineProperty(x,C,z),z}([(0,n.GSi)()],v)},49431:(de,$e,B)=>{"use strict";B.d($e,{O:()=>vr});var n=B(3184),i=B(36362),P=B(52816),m=B(90587),s=B(92218),o=B(32425),h=B(84505),v=B(19193),y=B(45398),x=B(26439),C=B(64139),_=B(59151),w=B(12972),z=B(59095),R=B(88759),N=B(25843),S=B(44661),E=B(85921),O=B(86942);function H(J,b){if(1&J&&n._UZ(0,"div",6),2&J){const j=n.oxw(2);n.Udp("box-shadow","0 0 10px "+j.color+", 0 0 5px "+j.color)}}function U(J,b){if(1&J&&(n.TgZ(0,"div",7),n._UZ(1,"div",8),n.qZA()),2&J){const j=n.oxw(2);n.xp6(1),n.Udp("border-top-color",j.color)("border-left-color",j.color)}}function X(J,b){if(1&J&&(n.ynx(0),n.TgZ(1,"div",1)(2,"div",2)(3,"div",3),n.YNc(4,H,1,2,"div",4),n.qZA()(),n.YNc(5,U,2,4,"div",5),n.qZA(),n.BQk()),2&J){const j=b.$implicit,te=n.oxw();n.xp6(1),n.Udp("transition","opacity "+te.speed+"ms "+te.ease),n.uIk("active",j.active),n.xp6(2),n.Udp("transform",j.transform)("background-color",te.color)("transition",j.active?"all "+te.speed+"ms "+te.ease:"none"),n.xp6(1),n.Q6J("ngIf",te.meteor),n.xp6(1),n.Q6J("ngIf",te.spinner)}}class W{constructor(b,j){this._onDestroyCallback=j,this._started=new s.xQ,this.started=this._started.pipe((0,_.h)(()=>!this.isStarted)),this._completed=new s.xQ,this.completed=this._completed.pipe((0,_.h)(()=>this.isStarted)),this._trickling=new s.xQ,this._worker=o.w.EMPTY,this._state=new h.X({active:!1,value:0}),this._config=new h.X(b),this.state=this._state.asObservable(),this.config=this._config.asObservable(),this._worker=(0,v.aj)([this._trickling,this._config]).pipe((0,w.D)(([te,fe])=>(0,y.H)(te?fe.debounceTime:0)),(0,z.w)(([te,fe])=>te?this.onTrickling(fe):this.onComplete(fe))).subscribe()}get snapshot(){return this._state.value}get isStarted(){return this.snapshot.active}start(){this._started.next(),this._trickling.next(!0)}complete(){this._trickling.next(!1)}inc(b){const j=this.snapshot.value;this.isStarted?("number"!=typeof b&&(b=this._config.value.trickleFunc(j)),this.set(j+b)):this.start()}set(b){this.setState({value:this.clamp(b),active:!0})}setConfig(b){this._config.next(Object.assign(Object.assign({},this._config.value),b))}destroy(){this._worker.unsubscribe(),this._trickling.complete(),this._state.complete(),this._config.complete(),this._started.complete(),this._completed.complete(),this._onDestroyCallback()}setState(b){this._state.next(Object.assign(Object.assign({},this.snapshot),b))}clamp(b){return Math.max(this._config.value.min,Math.min(this._config.value.max,b))}onTrickling(b){return this.isStarted||this.set(this._config.value.min),(0,y.H)(0,b.trickleSpeed).pipe((0,R.b)(()=>this.inc()))}onComplete(b){return this._completed.next(),this.isStarted?(0,C.of)({}).pipe((0,R.b)(()=>this.setState({value:100})),(0,N.g)(1.7*b.speed),(0,R.b)(()=>this.setState({active:!1})),(0,N.g)(b.speed),(0,S.x)(()=>this.setState({value:0})),(0,E.R)(this._started)):x.E}}const re=new n.OlP("ngProgressConfig"),pe={min:8,max:100,speed:200,debounceTime:0,trickleSpeed:300,fixed:!0,meteor:!0,thick:!1,spinner:!0,ease:"linear",color:"#1B95E0",direction:"ltr+",spinnerPosition:"right",trickleFunc:J=>J>=0&&J<20?10:J>=20&&J<50?4:J>=50&&J<80?2:J>=80&&J<99?.5:0};class Ae{constructor(b){this._instances=new Map,this.config=b?Object.assign(Object.assign({},pe),b):pe}ref(b="root",j){if(this._instances.has(b)){const te=this._instances.get(b);return j&&te.setConfig(Object.assign(Object.assign({},this.config),j)),te}{const te=new W(Object.assign(Object.assign({},this.config),j),this.deleteInstance(b));return this._instances.set(b,te).get(b)}}destroyAll(){this._instances.forEach(b=>b.destroy())}deleteInstance(b){return()=>{this._instances.delete(b)}}}Ae.\u0275fac=function(b){return new(b||Ae)(n.LFG(re,8))},Ae.\u0275prov=n.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"});class Se{constructor(b){this._ngProgress=b,this.id="root",this.min=this._ngProgress.config.min,this.max=this._ngProgress.config.max,this.ease=this._ngProgress.config.ease,this.color=this._ngProgress.config.color,this.speed=this._ngProgress.config.speed,this.thick=this._ngProgress.config.thick,this.fixed=this._ngProgress.config.fixed,this.meteor=this._ngProgress.config.meteor,this.spinner=this._ngProgress.config.spinner,this.trickleSpeed=this._ngProgress.config.trickleSpeed,this.debounceTime=this._ngProgress.config.debounceTime,this.trickleFunc=this._ngProgress.config.trickleFunc,this.spinnerPosition=this._ngProgress.config.spinnerPosition,this.direction=this._ngProgress.config.direction,this.started=new n.vpe,this.completed=new n.vpe}get isStarted(){var b;return null===(b=this.progressRef)||void 0===b?void 0:b.isStarted}ngOnChanges(){var b;null===(b=this.progressRef)||void 0===b||b.setConfig({max:this.max>0&&this.max<=100?this.max:100,min:this.min<100&&this.min>=0?this.min:0,speed:this.speed,trickleSpeed:this.trickleSpeed,trickleFunc:this.trickleFunc,debounceTime:this.debounceTime})}ngOnInit(){this.progressRef=this._ngProgress.ref(this.id,{max:this.max,min:this.min,speed:this.speed,trickleSpeed:this.trickleSpeed,debounceTime:this.debounceTime}),this.state$=this.progressRef.state.pipe((0,O.U)(b=>({active:b.active,transform:`translate3d(${b.value}%,0,0)`}))),this.started.observers.length&&(this._started=this.progressRef.started.subscribe(()=>this.started.emit())),this.completed.observers.length&&(this._completed=this.progressRef.completed.subscribe(()=>this.completed.emit()))}ngOnDestroy(){var b,j,te;null===(b=this._started)||void 0===b||b.unsubscribe(),null===(j=this._completed)||void 0===j||j.unsubscribe(),null===(te=this.progressRef)||void 0===te||te.destroy()}start(){this.progressRef.start()}complete(){this.progressRef.complete()}inc(b){this.progressRef.inc(b)}set(b){this.progressRef.set(b)}}Se.\u0275fac=function(b){return new(b||Se)(n.Y36(Ae))},Se.\u0275cmp=n.Xpm({type:Se,selectors:[["ng-progress"]],hostAttrs:["role","progressbar"],hostVars:4,hostBindings:function(b,j){2&b&&n.uIk("spinnerPosition",j.spinnerPosition)("direction",j.direction)("thick",j.thick)("fixed",j.fixed)},inputs:{id:"id",min:"min",max:"max",ease:"ease",color:"color",speed:"speed",thick:"thick",fixed:"fixed",meteor:"meteor",spinner:"spinner",trickleSpeed:"trickleSpeed",debounceTime:"debounceTime",trickleFunc:"trickleFunc",spinnerPosition:"spinnerPosition",direction:"direction"},outputs:{started:"started",completed:"completed"},features:[n.TTD],decls:2,vars:3,consts:[[4,"ngIf"],[1,"ng-progress-bar"],[1,"ng-bar-placeholder"],[1,"ng-bar"],["class","ng-meteor",3,"boxShadow",4,"ngIf"],["class","ng-spinner",4,"ngIf"],[1,"ng-meteor"],[1,"ng-spinner"],[1,"ng-spinner-icon"]],template:function(b,j){1&b&&(n.YNc(0,X,6,11,"ng-container",0),n.ALo(1,"async")),2&b&&n.Q6J("ngIf",n.lcZ(1,1,j.state$))},directives:[i.O5],pipes:[i.Ov],styles:['[_nghost-%COMP%]{z-index:999999;pointer-events:none}[fixed=true][_nghost-%COMP%]   .ng-progress-bar[_ngcontent-%COMP%], [fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{top:15px}[fixed=true][spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:15px}[fixed=true][spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:15px}[thick=true][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{width:24px;height:24px;border-width:3px}[thick=true][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{height:3px!important}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(3deg)}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(4deg)}[direction="ltr+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%]{margin-left:-100%}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{right:0}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-3px}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-3px}[direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{transform:rotate(180deg)}[direction=ltr-][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{animation-directionection:reverse}[direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-3deg)}[direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-4deg)}[spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:10px}[spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:10px}.ng-progress-bar[_ngcontent-%COMP%]{position:relative;z-index:999999;top:0;left:0;width:100%;zoom:1;filter:alpha(opacity=0);opacity:0}.ng-progress-bar[active=true][_ngcontent-%COMP%]{filter:alpha(opacity=100);opacity:1;transition:none}.ng-bar-placeholder[_ngcontent-%COMP%]{position:absolute;height:2px;width:100%}.ng-bar[_ngcontent-%COMP%]{width:100%;height:100%;transform:translate(-100%,0,0)}.ng-meteor[_ngcontent-%COMP%]{display:block;position:absolute;width:100px;height:100%;opacity:1}.ng-spinner[_ngcontent-%COMP%]{position:absolute;display:block;z-index:1031;top:10px}.ng-spinner-icon[_ngcontent-%COMP%]{width:18px;height:18px;box-sizing:border-box;-webkit-animation:spinner-animation .25s linear infinite;animation:spinner-animation .25s linear infinite;border:2px solid transparent;border-radius:50%}@-webkit-keyframes spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}'],changeDetection:0});class De{static withConfig(b){return{ngModule:De,providers:[{provide:re,useValue:b}]}}}De.\u0275fac=function(b){return new(b||De)},De.\u0275mod=n.oAB({type:De,declarations:[Se],imports:[i.ez],exports:[Se]}),De.\u0275inj=n.cJS({imports:[[i.ez]]});var qe=B(28784);const rt=new n.OlP("ngProgressHttpConfig");class ot{constructor(b,j){this.ngProgress=b,this._inProgressCount=0,this._config={id:"root",silentApis:[]},this._config=j?Object.assign(Object.assign({},this._config),j):this._config}intercept(b,j){return b.headers.has("ignoreProgressBar")?j.handle(b.clone({headers:b.headers.delete("ignoreProgressBar")})):this.checkUrl(b)?j.handle(b):(this._inProgressCount++,this._progressRef=this.ngProgress.ref(this._config.id),this._progressRef.isStarted||this._progressRef.start(),j.handle(b).pipe((0,S.x)(()=>{this._inProgressCount--,0===this._inProgressCount&&this._progressRef.complete()})))}checkUrl(b){const j=b.url.toLowerCase();return!!this._config.silentApis.find(fe=>j.startsWith(fe))}}ot.\u0275fac=function(b){return new(b||ot)(n.LFG(Ae),n.LFG(rt,8))},ot.\u0275prov=n.Yz7({token:ot,factory:ot.\u0275fac});class vt{static withConfig(b){return{ngModule:vt,providers:[{provide:rt,useValue:b}]}}}vt.\u0275fac=function(b){return new(b||vt)},vt.\u0275mod=n.oAB({type:vt}),vt.\u0275inj=n.cJS({providers:[{provide:qe.TP,useClass:ot,multi:!0}]});var rn=B(71695),Xt=B(25722),fn=B(80823),_n=B(58310),hn=B(15064),vn=B(36312),xn=B(88623);const dn=["content"],Sn=["scroll"],si=["padding"],cn=function(J){return{searchTerm:J}};function yn(J,b){if(1&J&&(n.TgZ(0,"div",6),n.GkF(1,7),n.qZA()),2&J){const j=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",j.headerTemplate)("ngTemplateOutletContext",n.VKq(2,cn,j.filterValue))}}function qn(J,b){if(1&J&&(n.TgZ(0,"div",8),n.GkF(1,7),n.qZA()),2&J){const j=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",j.footerTemplate)("ngTemplateOutletContext",n.VKq(2,cn,j.filterValue))}}const oi=["*"],Yn=["searchInput"];function Xn(J,b){if(1&J){const j=n.EpF();n.TgZ(0,"span",15),n.NdJ("click",function(){n.CHM(j);const fe=n.oxw().$implicit;return n.oxw(2).unselect(fe)}),n._uU(1,"\xd7"),n.qZA(),n._UZ(2,"span",16)}if(2&J){const j=n.oxw().$implicit,te=n.oxw(2);n.xp6(2),n.Q6J("ngItemLabel",j.label)("escape",te.escapeHTML)}}function gi(J,b){}const Mt=function(J,b,j){return{item:J,clear:b,label:j}};function pn(J,b){if(1&J&&(n.TgZ(0,"div",12),n.YNc(1,Xn,3,2,"ng-template",null,13,n.W1O),n.YNc(3,gi,0,0,"ng-template",14),n.qZA()),2&J){const j=b.$implicit,te=n.MAs(2),fe=n.oxw(2);n.ekj("ng-value-disabled",j.disabled),n.xp6(3),n.Q6J("ngTemplateOutlet",fe.labelTemplate||te)("ngTemplateOutletContext",n.kEZ(4,Mt,j.value,fe.clearItem,j.label))}}function an(J,b){if(1&J&&(n.ynx(0),n.YNc(1,pn,4,8,"div",11),n.BQk()),2&J){const j=n.oxw();n.xp6(1),n.Q6J("ngForOf",j.selectedItems)("ngForTrackBy",j.trackByOption)}}function yt(J,b){}const Je=function(J,b){return{items:J,clear:b}};function ht(J,b){if(1&J&&n.YNc(0,yt,0,0,"ng-template",14),2&J){const j=n.oxw();n.Q6J("ngTemplateOutlet",j.multiLabelTemplate)("ngTemplateOutletContext",n.WLB(2,Je,j.selectedValues,j.clearItem))}}function xt(J,b){1&J&&n._UZ(0,"div",19)}function Ht(J,b){}function $t(J,b){if(1&J&&(n.ynx(0),n.YNc(1,xt,1,0,"ng-template",null,17,n.W1O),n.YNc(3,Ht,0,0,"ng-template",18),n.BQk()),2&J){const j=n.MAs(2),te=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",te.loadingSpinnerTemplate||j)}}function Jt(J,b){if(1&J&&(n.TgZ(0,"span",20)(1,"span",21),n._uU(2,"\xd7"),n.qZA()()),2&J){const j=n.oxw();n.s9C("title",j.clearAllText)}}function lt(J,b){if(1&J&&n._UZ(0,"span",27),2&J){const j=n.oxw().$implicit,te=n.oxw(2);n.Q6J("ngItemLabel",j.label)("escape",te.escapeHTML)}}function Ft(J,b){}const ln=function(J,b,j,te){return{item:J,item$:b,index:j,searchTerm:te}};function Jn(J,b){if(1&J){const j=n.EpF();n.TgZ(0,"div",25),n.NdJ("click",function(){const ue=n.CHM(j).$implicit;return n.oxw(2).toggleItem(ue)})("mouseover",function(){const ue=n.CHM(j).$implicit;return n.oxw(2).onItemHover(ue)}),n.YNc(1,lt,1,2,"ng-template",null,26,n.W1O),n.YNc(3,Ft,0,0,"ng-template",14),n.qZA()}if(2&J){const j=b.$implicit,te=n.MAs(2),fe=n.oxw(2);n.ekj("ng-option-disabled",j.disabled)("ng-option-selected",j.selected)("ng-optgroup",j.children)("ng-option",!j.children)("ng-option-child",!!j.parent)("ng-option-marked",j===fe.itemsList.markedItem),n.uIk("role",j.children?"group":"option")("aria-selected",j.selected)("id",null==j?null:j.htmlId),n.xp6(3),n.Q6J("ngTemplateOutlet",j.children?fe.optgroupTemplate||te:fe.optionTemplate||te)("ngTemplateOutletContext",n.l5B(17,ln,j.value,j,j.index,fe.searchTerm))}}function Mn(J,b){if(1&J&&(n.TgZ(0,"span")(1,"span",30),n._uU(2),n.qZA(),n._uU(3),n.qZA()),2&J){const j=n.oxw(3);n.xp6(2),n.Oqu(j.addTagText),n.xp6(1),n.hij('"',j.searchTerm,'"')}}function ti(J,b){}function Ai(J,b){if(1&J){const j=n.EpF();n.TgZ(0,"div",28),n.NdJ("mouseover",function(){return n.CHM(j),n.oxw(2).itemsList.unmarkItem()})("click",function(){return n.CHM(j),n.oxw(2).selectTag()}),n.YNc(1,Mn,4,2,"ng-template",null,29,n.W1O),n.YNc(3,ti,0,0,"ng-template",14),n.qZA()}if(2&J){const j=n.MAs(2),te=n.oxw(2);n.ekj("ng-option-marked",!te.itemsList.markedItem),n.xp6(3),n.Q6J("ngTemplateOutlet",te.tagTemplate||j)("ngTemplateOutletContext",n.VKq(4,cn,te.searchTerm))}}function ki(J,b){if(1&J&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&J){const j=n.oxw(3);n.xp6(1),n.Oqu(j.notFoundText)}}function Ki(J,b){}function Hi(J,b){if(1&J&&(n.ynx(0),n.YNc(1,ki,2,1,"ng-template",null,31,n.W1O),n.YNc(3,Ki,0,0,"ng-template",14),n.BQk()),2&J){const j=n.MAs(2),te=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",te.notFoundTemplate||j)("ngTemplateOutletContext",n.VKq(2,cn,te.searchTerm))}}function _i(J,b){if(1&J&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&J){const j=n.oxw(3);n.xp6(1),n.Oqu(j.typeToSearchText)}}function pi(J,b){}function $n(J,b){if(1&J&&(n.ynx(0),n.YNc(1,_i,2,1,"ng-template",null,33,n.W1O),n.YNc(3,pi,0,0,"ng-template",18),n.BQk()),2&J){const j=n.MAs(2),te=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",te.typeToSearchTemplate||j)}}function wr(J,b){if(1&J&&(n.TgZ(0,"div",32),n._uU(1),n.qZA()),2&J){const j=n.oxw(3);n.xp6(1),n.Oqu(j.loadingText)}}function Pn(J,b){}function Bn(J,b){if(1&J&&(n.ynx(0),n.YNc(1,wr,2,1,"ng-template",null,34,n.W1O),n.YNc(3,Pn,0,0,"ng-template",14),n.BQk()),2&J){const j=n.MAs(2),te=n.oxw(2);n.xp6(3),n.Q6J("ngTemplateOutlet",te.loadingTextTemplate||j)("ngTemplateOutletContext",n.VKq(2,cn,te.searchTerm))}}function ri(J,b){if(1&J){const j=n.EpF();n.TgZ(0,"ng-dropdown-panel",22),n.NdJ("update",function(fe){n.CHM(j);return n.oxw().viewPortItems=fe})("scroll",function(fe){return n.CHM(j),n.oxw().scroll.emit(fe)})("scrollToEnd",function(fe){return n.CHM(j),n.oxw().scrollToEnd.emit(fe)})("outsideClick",function(){return n.CHM(j),n.oxw().close()}),n.ynx(1),n.YNc(2,Jn,4,22,"div",23),n.YNc(3,Ai,4,6,"div",24),n.BQk(),n.YNc(4,Hi,4,4,"ng-container",3),n.YNc(5,$n,4,1,"ng-container",3),n.YNc(6,Bn,4,4,"ng-container",3),n.qZA()}if(2&J){const j=n.oxw();n.ekj("ng-select-multiple",j.multiple),n.Q6J("virtualScroll",j.virtualScroll)("bufferAmount",j.bufferAmount)("appendTo",j.appendTo)("position",j.dropdownPosition)("headerTemplate",j.headerTemplate)("footerTemplate",j.footerTemplate)("filterValue",j.searchTerm)("items",j.itemsList.filteredItems)("markedItem",j.itemsList.markedItem)("ngClass",j.appendTo?j.classes:null)("id",j.dropdownId),n.xp6(2),n.Q6J("ngForOf",j.viewPortItems)("ngForTrackBy",j.trackByOption),n.xp6(1),n.Q6J("ngIf",j.showAddTag),n.xp6(1),n.Q6J("ngIf",j.showNoItemsFound()),n.xp6(1),n.Q6J("ngIf",j.showTypeToSearch()),n.xp6(1),n.Q6J("ngIf",j.loading&&0===j.itemsList.filteredItems.length)}}const mi=/[&<>"']/g,xi=RegExp(mi.source),Mr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Li(J){return null!=J}function Sr(J){return"object"==typeof J&&Li(J)}function Xr(J){return J instanceof Function}class uo{constructor(b){this.element=b,this.escape=!0}ngOnChanges(b){this.element.nativeElement.innerHTML=this.escape?function gr(J){return J&&xi.test(J)?J.replace(mi,b=>Mr[b]):J}(this.ngItemLabel):this.ngItemLabel}}uo.\u0275fac=function(b){return new(b||uo)(n.Y36(n.SBq))},uo.\u0275dir=n.lG2({type:uo,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[n.TTD]});class fa{constructor(b){this.template=b}}fa.\u0275fac=function(b){return new(b||fa)(n.Y36(n.Rgc))},fa.\u0275dir=n.lG2({type:fa,selectors:[["","ng-option-tmp",""]]});class ai{constructor(b){this.template=b}}ai.\u0275fac=function(b){return new(b||ai)(n.Y36(n.Rgc))},ai.\u0275dir=n.lG2({type:ai,selectors:[["","ng-optgroup-tmp",""]]});class at{constructor(b){this.template=b}}at.\u0275fac=function(b){return new(b||at)(n.Y36(n.Rgc))},at.\u0275dir=n.lG2({type:at,selectors:[["","ng-label-tmp",""]]});class Ot{constructor(b){this.template=b}}Ot.\u0275fac=function(b){return new(b||Ot)(n.Y36(n.Rgc))},Ot.\u0275dir=n.lG2({type:Ot,selectors:[["","ng-multi-label-tmp",""]]});class Nn{constructor(b){this.template=b}}Nn.\u0275fac=function(b){return new(b||Nn)(n.Y36(n.Rgc))},Nn.\u0275dir=n.lG2({type:Nn,selectors:[["","ng-header-tmp",""]]});class di{constructor(b){this.template=b}}di.\u0275fac=function(b){return new(b||di)(n.Y36(n.Rgc))},di.\u0275dir=n.lG2({type:di,selectors:[["","ng-footer-tmp",""]]});class $i{constructor(b){this.template=b}}$i.\u0275fac=function(b){return new(b||$i)(n.Y36(n.Rgc))},$i.\u0275dir=n.lG2({type:$i,selectors:[["","ng-notfound-tmp",""]]});class Fi{constructor(b){this.template=b}}Fi.\u0275fac=function(b){return new(b||Fi)(n.Y36(n.Rgc))},Fi.\u0275dir=n.lG2({type:Fi,selectors:[["","ng-typetosearch-tmp",""]]});class Yr{constructor(b){this.template=b}}Yr.\u0275fac=function(b){return new(b||Yr)(n.Y36(n.Rgc))},Yr.\u0275dir=n.lG2({type:Yr,selectors:[["","ng-loadingtext-tmp",""]]});class Mo{constructor(b){this.template=b}}Mo.\u0275fac=function(b){return new(b||Mo)(n.Y36(n.Rgc))},Mo.\u0275dir=n.lG2({type:Mo,selectors:[["","ng-tag-tmp",""]]});class Jr{constructor(b){this.template=b}}function Bi(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}Jr.\u0275fac=function(b){return new(b||Jr)(n.Y36(n.Rgc))},Jr.\u0275dir=n.lG2({type:Jr,selectors:[["","ng-loadingspinner-tmp",""]]});const ks={"\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 so(J){return J.replace(/[^\u0000-\u007E]/g,j=>ks[j]||j)}class Qo{constructor(b,j){this._ngSelect=b,this._selectionModel=j,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 b=this.selectedItems.length-1;for(;b>=0;b--){const j=this.selectedItems[b];if(!j.disabled)return j}return null}setItems(b){this._items=b.map((j,te)=>this.mapItem(j,te)),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(b){if(b.selected||this.maxItemsSelected)return;const j=this._ngSelect.multiple;j||this.clearSelected(),this._selectionModel.select(b,j,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(b)}unselect(b){!b.selected||(this._selectionModel.unselect(b,this._ngSelect.multiple),this._ngSelect.hideSelected&&Li(b.index)&&this._ngSelect.multiple&&this._showSelected(b))}findItem(b){let j;return j=this._ngSelect.compareWith?te=>this._ngSelect.compareWith(te.value,b):this._ngSelect.bindValue?te=>!te.children&&this.resolveNested(te.value,this._ngSelect.bindValue)===b:te=>te.value===b||!te.children&&te.label&&te.label===this.resolveNested(b,this._ngSelect.bindLabel),this._items.find(te=>j(te))}addItem(b){const j=this.mapItem(b,this._items.length);return this._items.push(j),this._filteredItems.push(j),j}clearSelected(b=!1){this._selectionModel.clear(b),this._items.forEach(j=>{j.selected=b&&j.selected&&j.disabled,j.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(b){return b=so(b).toLocaleLowerCase(),this.filteredItems.find(j=>so(j.label).toLocaleLowerCase().substr(0,b.length)===b)}filter(b){if(!b)return void this.resetFilteredItems();this._filteredItems=[],b=this._ngSelect.searchFn?b:so(b).toLocaleLowerCase();const j=this._ngSelect.searchFn||this._defaultSearchFn,te=this._ngSelect.hideSelected;for(const fe of Array.from(this._groups.keys())){const ue=[];for(const je of this._groups.get(fe)){if(te&&(je.parent&&je.parent.selected||je.selected))continue;j(b,this._ngSelect.searchFn?je.value:je)&&ue.push(je)}if(ue.length>0){const[je]=ue.slice(-1);if(je.parent){const nt=this._items.find(Un=>Un===je.parent);this._filteredItems.push(nt)}this._filteredItems.push(...ue)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(b=>!b.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(b){this._markedIndex=this._filteredItems.indexOf(b)}markSelectedOrDefault(b){if(0===this._filteredItems.length)return;const j=this._getLastMarkedIndex();this._markedIndex=j>-1?j:b?this.filteredItems.findIndex(te=>!te.disabled):-1}resolveNested(b,j){if(!Sr(b))return b;if(-1===j.indexOf("."))return b[j];{const te=j.split(".");let fe=b;for(let ue=0,je=te.length;ue<je;++ue){if(null==fe)return null;fe=fe[te[ue]]}return fe}}mapItem(b,j){const te=Li(b.$ngOptionLabel)?b.$ngOptionLabel:this.resolveNested(b,this._ngSelect.bindLabel),fe=Li(b.$ngOptionValue)?b.$ngOptionValue:b;return{index:j,label:Li(te)?te.toString():"",value:fe,disabled:b.disabled,htmlId:`${this._ngSelect.dropdownId}-${j}`}}mapSelectedItems(){const b=this._ngSelect.multiple;for(const j of this.selectedItems){const te=this._ngSelect.bindValue?this.resolveNested(j.value,this._ngSelect.bindValue):j.value,fe=Li(te)?this.findItem(te):null;this._selectionModel.unselect(j,b),this._selectionModel.select(fe||j,b,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(j=>-1===this.selectedItems.indexOf(j)))}_showSelected(b){if(this._filteredItems.push(b),b.parent){const j=b.parent;this._filteredItems.find(fe=>fe===j)||this._filteredItems.push(j)}else if(b.children)for(const j of b.children)j.selected=!1,this._filteredItems.push(j);this._filteredItems=[...this._filteredItems.sort((j,te)=>j.index-te.index)]}_hideSelected(b){this._filteredItems=this._filteredItems.filter(j=>j!==b),b.parent?b.parent.children.every(te=>te.selected)&&(this._filteredItems=this._filteredItems.filter(te=>te!==b.parent)):b.children&&(this._filteredItems=this.filteredItems.filter(j=>j.parent!==b))}_defaultSearchFn(b,j){return so(j.label).toLocaleLowerCase().indexOf(b)>-1}_getNextItemIndex(b){return b>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(b){0===this._filteredItems.length||this._filteredItems.every(j=>j.disabled)||(this._markedIndex=this._getNextItemIndex(b),this.markedItem.disabled&&this._stepToItem(b))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const b=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&b<0?-1:Math.max(this.markedIndex,b)}_groupBy(b,j){const te=new Map;if(0===b.length)return te;if(Array.isArray(b[0].value[j])){for(const je of b){const nt=(je.value[j]||[]).map((Un,ei)=>this.mapItem(Un,ei));te.set(je,nt)}return te}const fe=Xr(this._ngSelect.groupBy),ue=je=>{const nt=fe?j(je.value):je.value[j];return Li(nt)?nt:void 0};for(const je of b){const nt=ue(je),Un=te.get(nt);Un?Un.push(je):te.set(nt,[je])}return te}_flatten(b){const j=Xr(this._ngSelect.groupBy),te=[];for(const fe of Array.from(b.keys())){let ue=te.length;if(void 0===fe){const Gi=b.get(void 0)||[];te.push(...Gi.map(mo=>(mo.index=ue++,mo)));continue}const je=Sr(fe),nt={label:je?"":String(fe),children:void 0,parent:null,index:ue++,disabled:!this._ngSelect.selectableGroup,htmlId:Bi()},Un=j?this._ngSelect.bindLabel:this._ngSelect.groupBy,ei=this._ngSelect.groupValue||(()=>je?fe.value:{[Un]:fe}),vi=b.get(fe).map(Gi=>(Gi.parent=nt,Gi.children=void 0,Gi.index=ue++,Gi));nt.children=vi,nt.value=ei(fe,vi.map(Gi=>Gi.value)),te.push(nt),te.push(...vi)}return te}}var mr,J;(J=mr||(mr={}))[J.Tab=9]="Tab",J[J.Enter=13]="Enter",J[J.Esc=27]="Esc",J[J.Space=32]="Space",J[J.ArrowUp=38]="ArrowUp",J[J.ArrowDown=40]="ArrowDown",J[J.Backspace=8]="Backspace";class Ti{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(b,j,te){const fe=this._dimensions,ue=fe.itemHeight*j,nt=Math.max(0,b)/ue*j;let Un=Math.min(j,Math.ceil(nt)+(fe.itemsPerViewport+1));const vi=Math.max(0,Un-fe.itemsPerViewport);let Gi=Math.min(vi,Math.floor(nt)),mo=fe.itemHeight*Math.ceil(Gi)-fe.itemHeight*Math.min(Gi,te);return mo=isNaN(mo)?0:mo,Gi=isNaN(Gi)?-1:Gi,Un=isNaN(Un)?-1:Un,Gi-=te,Gi=Math.max(0,Gi),Un+=te,Un=Math.min(j,Un),{topPadding:mo,scrollHeight:ue,start:Gi,end:Un}}setDimensions(b,j){const te=Math.max(1,Math.floor(j/b));this._dimensions={itemHeight:b,panelHeight:j,itemsPerViewport:te}}getScrollTo(b,j,te){const{panelHeight:fe}=this.dimensions,ue=b+j,nt=te+fe;return fe>=ue&&te===b?null:ue>nt?te+ue-nt:b<=te?b:null}}Ti.\u0275fac=function(b){return new(b||Ti)},Ti.\u0275prov=n.Yz7({token:Ti,factory:Ti.\u0275fac});const Cr=["top","right","bottom","left"],Vi="undefined"!=typeof requestAnimationFrame?_n.Z:hn.E;class To{constructor(b,j,te,fe,ue){this._renderer=b,this._zone=j,this._panelService=te,this._document=ue,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.outsideClick=new n.vpe,this._destroy$=new s.xQ,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=fe.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(b){b!==this._itemsLength&&(this._itemsLength=b,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:b,panelHeight:j}=this._panelService.dimensions,te=this.markedItem.index*b;return j>te?0:te}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(b){if(b.items){const j=b.items;this._onItemsChange(j.currentValue,j.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(b,j=!1){if(!b)return;const te=this.items.indexOf(b);if(te<0||te>=this.itemsLength)return;let fe;if(this.virtualScroll){const ue=this._panelService.dimensions.itemHeight;fe=this._panelService.getScrollTo(te*ue,ue,this._lastScrollPosition)}else{const ue=this._dropdown.querySelector(`#${b.htmlId}`),je=j?ue.offsetTop:this._lastScrollPosition;fe=this._panelService.getScrollTo(ue.offsetTop,ue.clientHeight,je)}Li(fe)&&(this._scrollablePanel.scrollTop=fe)}scrollToTag(){const b=this._scrollablePanel;b.scrollTop=b.scrollHeight-b.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),Cr.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(b){Cr.forEach(te=>{const fe=`ng-select-${te}`;this._renderer.removeClass(this._dropdown,fe),this._renderer.removeClass(this._select,fe)});const j=`ng-select-${b}`;this._renderer.addClass(this._dropdown,j),this._renderer.addClass(this._select,j)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,vn.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,E.R)(this._destroy$),(0,rn.e)(0,Vi)).subscribe(b=>{const j=b.path||b.composedPath&&b.composedPath(),te=j&&0!==j.length?j[0].scrollTop:b.target.scrollTop;this._onContentScrolled(te)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{(0,xn.T)((0,vn.R)(this._document,"touchstart",{capture:!0}),(0,vn.R)(this._document,"mousedown",{capture:!0})).pipe((0,E.R)(this._destroy$)).subscribe(b=>this._checkToClose(b))})}_checkToClose(b){if(this._select.contains(b.target)||this._dropdown.contains(b.target))return;const j=b.path||b.composedPath&&b.composedPath();b.target&&b.target.shadowRoot&&j&&j[0]&&this._select.contains(j[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(b,j){this.items=b||[],this._scrollToEndFired=!1,this.itemsLength=b.length,this.virtualScroll?this._updateItemsRange(j):(this._setVirtualHeight(),this._updateItems(j))}_updateItems(b){this.update.emit(this.items),!1!==b&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{const j=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,j),this._handleDropdownPosition(),this.scrollTo(this.markedItem,b)})})}_updateItemsRange(b){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{b?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(b){this.virtualScroll&&this._renderItemsRange(b),this._lastScrollPosition=b,this._fireScrollToEnd(b)}_updateVirtualHeight(b){this._updateScrollHeight&&(this._virtualPadding.style.height=`${b}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(b=null){if(b&&this._lastScrollPosition===b)return;b=b||this._scrollablePanel.scrollTop;const j=this._panelService.calculateItems(b,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(j.scrollHeight),this._contentPanel.style.transform=`translateY(${j.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(j.start,j.end)),this.scroll.emit({start:j.start,end:j.end})}),Li(b)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=b,this._lastScrollPosition=b)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[b]=this.items;return this.update.emit([b]),Promise.resolve().then(()=>{const te=this._dropdown.querySelector(`#${b.htmlId}`).clientHeight;this._virtualPadding.style.height=te*this.itemsLength+"px";const fe=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(te,fe),this._panelService.dimensions})}_fireScrollToEnd(b){if(this._scrollToEndFired||0===b)return;const j=this.virtualScroll?this._virtualPadding:this._contentPanel;b+this._dropdown.clientHeight>=j.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(b){if("auto"!==this.position)return this.position;const j=this._select.getBoundingClientRect(),te=document.documentElement.scrollTop||document.body.scrollTop;return j.top+window.pageYOffset+j.height+b.getBoundingClientRect().height>te+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 b=this._select.getBoundingClientRect(),j=this._parent.getBoundingClientRect(),te=b.left-j.left;this._dropdown.style.left=te+"px",this._dropdown.style.width=b.width+"px",this._dropdown.style.minWidth=b.width+"px"}_updateYPosition(){const b=this._select.getBoundingClientRect(),j=this._parent.getBoundingClientRect(),te=b.height;if("top"===this._currentPosition){const fe=j.bottom-b.bottom;this._dropdown.style.bottom=fe+te+"px",this._dropdown.style.top="auto"}else if("bottom"===this._currentPosition){const fe=b.top-j.top;this._dropdown.style.top=fe+te+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,vn.R)(this._dropdown,"mousedown").pipe((0,E.R)(this._destroy$)).subscribe(b=>{"INPUT"!==b.target.tagName&&b.preventDefault()})})}}To.\u0275fac=function(b){return new(b||To)(n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(Ti),n.Y36(n.SBq),n.Y36(i.K0,8))},To.\u0275cmp=n.Xpm({type:To,selectors:[["ng-dropdown-panel"]],viewQuery:function(b,j){if(1&b&&(n.Gf(dn,7,n.SBq),n.Gf(Sn,7,n.SBq),n.Gf(si,7,n.SBq)),2&b){let te;n.iGM(te=n.CRH())&&(j.contentElementRef=te.first),n.iGM(te=n.CRH())&&(j.scrollElementRef=te.first),n.iGM(te=n.CRH())&&(j.paddingElementRef=te.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[n.TTD],ngContentSelectors:oi,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(b,j){1&b&&(n.F$t(),n.YNc(0,yn,2,4,"div",0),n.TgZ(1,"div",1,2),n._UZ(3,"div",null,3),n.TgZ(5,"div",null,4),n.Hsn(7),n.qZA()(),n.YNc(8,qn,2,4,"div",5)),2&b&&(n.Q6J("ngIf",j.headerTemplate),n.xp6(3),n.ekj("total-padding",j.virtualScroll),n.xp6(2),n.ekj("scrollable-content",j.virtualScroll&&j.items.length),n.xp6(3),n.Q6J("ngIf",j.footerTemplate))},directives:[i.O5,i.tP],encapsulation:2,changeDetection:0});class qr{constructor(b){this.elementRef=b,this.stateChange$=new s.xQ,this._disabled=!1}get disabled(){return this._disabled}set disabled(b){this._disabled=this._isDisabled(b)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(b){b.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()}_isDisabled(b){return null!=b&&"false"!=`${b}`}}qr.\u0275fac=function(b){return new(b||qr)(n.Y36(n.SBq))},qr.\u0275cmp=n.Xpm({type:qr,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[n.TTD],ngContentSelectors:oi,decls:1,vars:0,template:function(b,j){1&b&&(n.F$t(),n.Hsn(0))},encapsulation:2,changeDetection:0});class _o{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"}}_o.\u0275fac=function(b){return new(b||_o)},_o.\u0275prov=n.Yz7({token:_o,factory:_o.\u0275fac,providedIn:"root"});class jo{warn(b){console.warn(b)}}jo.\u0275fac=function(b){return new(b||jo)},jo.\u0275prov=n.Yz7({token:jo,factory:jo.\u0275fac,providedIn:"root"});const Do=new n.OlP("ng-select-selection-model");class gs{constructor(b,j,te,fe,ue,je,nt){this.classes=b,this.autoFocus=j,this.config=te,this._cd=je,this._console=nt,this.markFirst=!0,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=Un=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new n.vpe,this.focusEvent=new n.vpe,this.changeEvent=new n.vpe,this.openEvent=new n.vpe,this.closeEvent=new n.vpe,this.searchEvent=new n.vpe,this.clearEvent=new n.vpe,this.addEvent=new n.vpe,this.removeEvent=new n.vpe,this.scroll=new n.vpe,this.scrollToEnd=new n.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=Bi(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new s.xQ,this._keyPress$=new s.xQ,this._onChange=Un=>{},this._onTouched=()=>{},this.clearItem=Un=>{const ei=this.selectedItems.find(vi=>vi.value===Un);this.unselect(ei)},this.trackByOption=(Un,ei)=>this.trackByFn?this.trackByFn(ei.value):ei,this._mergeGlobalConfig(te),this.itemsList=new Qo(this,fe()),this.element=ue.nativeElement}get items(){return this._items}set items(b){null===b&&(b=[]),this._itemsAreUsed=!0,this._items=b}get compareWith(){return this._compareWith}set compareWith(b){if(null!=b&&!Xr(b))throw Error("`compareWith` must be a function.");this._compareWith=b}get clearSearchOnAdd(){return Li(this._clearSearchOnAdd)?this._clearSearchOnAdd:Li(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(b){this._clearSearchOnAdd=b}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}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(b=>b.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(b){b.multiple&&this.itemsList.clearSelected(),b.items&&this._setItems(b.items.currentValue||[]),b.isOpen&&(this._manualOpen=Li(b.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),Li(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(b){if(mr[b.which]){if(!1===this.keyDownFn(b))return;this.handleKeyCode(b)}else b.key&&1===b.key.length&&this._keyPress$.next(b.key.toLocaleLowerCase())}handleKeyCode(b){switch(b.which){case mr.ArrowDown:this._handleArrowDown(b);break;case mr.ArrowUp:this._handleArrowUp(b);break;case mr.Space:this._handleSpace(b);break;case mr.Enter:this._handleEnter(b);break;case mr.Tab:this._handleTab(b);break;case mr.Esc:this.close(),b.preventDefault();break;case mr.Backspace:this._handleBackspace()}}handleMousedown(b){const j=b.target;"INPUT"!==j.tagName&&b.preventDefault(),j.classList.contains("ng-clear-wrapper")?this.handleClearClick():j.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():j.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(b){this.itemsList.clearSelected(),this._handleWriteValue(b),this._cd.markForCheck()}registerOnChange(b){this._onChange=b}registerOnTouched(b){this._onTouched=b}setDisabledState(b){this._disabled=b,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(b){!b||b.disabled||this.disabled||(this.multiple&&b.selected?this.unselect(b):this.select(b),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(b){b.selected||(this.itemsList.select(b),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(b.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(b){!b||(this.itemsList.unselect(b),this.focus(),this._updateNgModel(),this.removeEvent.emit(b))}selectTag(){let b;b=Xr(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const j=te=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(te,null):this.itemsList.addItem(te);!function br(J){return J instanceof Promise}(b)?b&&this.select(j(b)):b.then(te=>this.select(j(te))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const b=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(j=>j.label.toLowerCase()===b)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(j=>j.label.toLowerCase()===b))&&!this.loading}showNoItemsFound(){const b=0===this.itemsList.filteredItems.length;return(b&&!this._isTypeahead&&!this.loading||b&&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(b){this._isComposing=!1,!this.searchWhileComposing&&this.filter(b)}filter(b){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=b,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(b),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:b,items:this.itemsList.filteredItems.map(j=>j.value)}),this.open())}onInputFocus(b){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(b),this.focused=!0)}onInputBlur(b){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(b),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(b){b.disabled||this.itemsList.markItem(b)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const b=this.selectedItems&&this.selectedItems[0];this.searchTerm=b&&b.label||null}_setItems(b){const j=b[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=Li(j)?!Sr(j):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(b),b.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&Li(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const b=te=>{this.items=te.map(fe=>({$ngOptionValue:fe.value,$ngOptionLabel:fe.elementRef.nativeElement.innerHTML,disabled:fe.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},j=()=>{const te=(0,xn.T)(this.ngOptions.changes,this._destroy$);(0,xn.T)(...this.ngOptions.map(fe=>fe.stateChange$)).pipe((0,E.R)(te)).subscribe(fe=>{const ue=this.itemsList.findItem(fe.value);ue.disabled=fe.disabled,ue.label=fe.label||ue.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,Xt.O)(this.ngOptions),(0,E.R)(this._destroy$)).subscribe(te=>{this.bindLabel=this._defaultLabel,b(te),j()})}_isValidWriteValue(b){if(!Li(b)||this.multiple&&""===b||Array.isArray(b)&&0===b.length)return!1;const j=te=>!(!Li(this.compareWith)&&Sr(te)&&this.bindValue)||(this._console.warn(`Setting object(${JSON.stringify(te)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1);return this.multiple?Array.isArray(b)?b.every(te=>j(te)):(this._console.warn("Multiple select ngModel should be array."),!1):j(b)}_handleWriteValue(b){if(!this._isValidWriteValue(b))return;const j=te=>{let fe=this.itemsList.findItem(te);if(fe)this.itemsList.select(fe);else{const ue=Sr(te),je=!ue&&!this.bindValue;ue||je?this.itemsList.select(this.itemsList.mapItem(te,null)):this.bindValue&&(fe={[this.bindLabel]:null,[this.bindValue]:te},this.itemsList.select(this.itemsList.mapItem(fe,null)))}};this.multiple?b.forEach(te=>j(te)):j(b)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,E.R)(this._destroy$),(0,R.b)(b=>this._pressedKeys.push(b)),(0,fn.b)(200),(0,_.h)(()=>this._pressedKeys.length>0),(0,O.U)(()=>this._pressedKeys.join(""))).subscribe(b=>{const j=this.itemsList.findByLabel(b);j&&(this.isOpen?(this.itemsList.markItem(j),this._scrollToMarked(),this._cd.markForCheck()):this.select(j)),this._pressedKeys=[]})}_setInputAttributes(){const b=this.searchInput.nativeElement,j=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const te of Object.keys(j))b.setAttribute(te,j[te])}_updateNgModel(){const b=[];for(const te of this.selectedItems)if(this.bindValue){let fe=null;if(te.children){const ue=this.groupValue?this.bindValue:this.groupBy;fe=te.value[ue||this.groupBy]}else fe=this.itemsList.resolveNested(te.value,this.bindValue);b.push(fe)}else b.push(te.value);const j=this.selectedItems.map(te=>te.value);this.multiple?(this._onChange(b),this.changeEvent.emit(j)):(this._onChange(Li(b[0])?b[0]:null),this.changeEvent.emit(j[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(b){this.searchTerm=b,this._isTypeahead&&this.typeahead.next(b)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(b){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),b.preventDefault()):this.showAddTag?(this.selectTag(),b.preventDefault()):this.close():this.close())}_handleEnter(b){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}b.preventDefault()}_handleSpace(b){this.isOpen||this._manualOpen||(this.open(),b.preventDefault())}_handleArrowDown(b){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),b.preventDefault()}_handleArrowUp(b){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),b.preventDefault())}_nextItemIsTag(b){const j=this.itemsList.markedIndex+b;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(j<0||j===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 b=this.searchTerm&&this.searchTerm.trim();return b&&b.length>=this.minTermLength}_mergeGlobalConfig(b){this.placeholder=this.placeholder||b.placeholder,this.notFoundText=this.notFoundText||b.notFoundText,this.typeToSearchText=this.typeToSearchText||b.typeToSearchText,this.addTagText=this.addTagText||b.addTagText,this.loadingText=this.loadingText||b.loadingText,this.clearAllText=this.clearAllText||b.clearAllText,this.virtualScroll=Li(this.virtualScroll)?this.virtualScroll:!!Li(b.disableVirtualScroll)&&!b.disableVirtualScroll,this.openOnEnter=Li(this.openOnEnter)?this.openOnEnter:b.openOnEnter,this.appendTo=this.appendTo||b.appendTo,this.bindValue=this.bindValue||b.bindValue,this.bindLabel=this.bindLabel||b.bindLabel,this.appearance=this.appearance||b.appearance}}gs.\u0275fac=function(b){return new(b||gs)(n.$8M("class"),n.$8M("autofocus"),n.Y36(_o),n.Y36(Do),n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(jo))},gs.\u0275cmp=n.Xpm({type:gs,selectors:[["ng-select"]],contentQueries:function(b,j,te){if(1&b&&(n.Suo(te,fa,5,n.Rgc),n.Suo(te,ai,5,n.Rgc),n.Suo(te,at,5,n.Rgc),n.Suo(te,Ot,5,n.Rgc),n.Suo(te,Nn,5,n.Rgc),n.Suo(te,di,5,n.Rgc),n.Suo(te,$i,5,n.Rgc),n.Suo(te,Fi,5,n.Rgc),n.Suo(te,Yr,5,n.Rgc),n.Suo(te,Mo,5,n.Rgc),n.Suo(te,Jr,5,n.Rgc),n.Suo(te,qr,5)),2&b){let fe;n.iGM(fe=n.CRH())&&(j.optionTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.optgroupTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.labelTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.multiLabelTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.headerTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.footerTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.notFoundTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.typeToSearchTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.loadingTextTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.tagTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.loadingSpinnerTemplate=fe.first),n.iGM(fe=n.CRH())&&(j.ngOptions=fe)}},viewQuery:function(b,j){if(1&b&&(n.Gf(To,5),n.Gf(Yn,7)),2&b){let te;n.iGM(te=n.CRH())&&(j.dropdownPanel=te.first),n.iGM(te=n.CRH())&&(j.searchInput=te.first)}},hostVars:20,hostBindings:function(b,j){1&b&&n.NdJ("keydown",function(fe){return j.handleKeyDown(fe)}),2&b&&n.ekj("ng-select-typeahead",j.typeahead)("ng-select-multiple",j.multiple)("ng-select-taggable",j.addTag)("ng-select-searchable",j.searchable)("ng-select-clearable",j.clearable)("ng-select-opened",j.isOpen)("ng-select",j.useDefaultClass)("ng-select-disabled",j.disabled)("ng-select-filtered",j.filtered)("ng-select-single",j.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},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._Bn([{provide:m.JU,useExisting:(0,n.Gpc)(()=>gs),multi:!0},Ti]),n.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(b,j){if(1&b){const te=n.EpF();n.TgZ(0,"div",0),n.NdJ("mousedown",function(ue){return j.handleMousedown(ue)}),n.TgZ(1,"div",1)(2,"div",2),n._uU(3),n.qZA(),n.YNc(4,an,2,2,"ng-container",3),n.YNc(5,ht,1,5,null,3),n.TgZ(6,"div",4)(7,"input",5,6),n.NdJ("input",function(){n.CHM(te);const ue=n.MAs(8);return j.filter(ue.value)})("compositionstart",function(){return j.onCompositionStart()})("compositionend",function(){n.CHM(te);const ue=n.MAs(8);return j.onCompositionEnd(ue.value)})("focus",function(ue){return j.onInputFocus(ue)})("blur",function(ue){return j.onInputBlur(ue)})("change",function(ue){return ue.stopPropagation()}),n.qZA()()(),n.YNc(9,$t,4,1,"ng-container",3),n.YNc(10,Jt,3,1,"span",7),n.TgZ(11,"span",8),n._UZ(12,"span",9),n.qZA()(),n.YNc(13,ri,7,19,"ng-dropdown-panel",10)}2&b&&(n.ekj("ng-appearance-outline","outline"===j.appearance)("ng-has-value",j.hasValue),n.xp6(3),n.Oqu(j.placeholder),n.xp6(1),n.Q6J("ngIf",(!j.multiLabelTemplate||!j.multiple)&&j.selectedItems.length>0),n.xp6(1),n.Q6J("ngIf",j.multiple&&j.multiLabelTemplate&&j.selectedValues.length>0),n.xp6(1),n.uIk("aria-expanded",j.isOpen)("aria-owns",j.isOpen?j.dropdownId:null),n.xp6(1),n.Q6J("readOnly",!j.searchable||j.itemsList.maxItemsSelected)("disabled",j.disabled)("value",j.searchTerm?j.searchTerm:""),n.uIk("id",j.labelForId)("tabindex",j.tabIndex)("aria-activedescendant",j.isOpen?null==j.itemsList||null==j.itemsList.markedItem?null:j.itemsList.markedItem.htmlId:null)("aria-controls",j.isOpen?j.dropdownId:null),n.xp6(2),n.Q6J("ngIf",j.loading),n.xp6(1),n.Q6J("ngIf",j.showClear()),n.xp6(3),n.Q6J("ngIf",j.isOpen))},directives:[To,i.O5,i.sg,uo,i.tP,i.mk],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{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}@keyframes load8{0%{transform:rotate(0)}to{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;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});class Dr{constructor(){this._selected=[]}get value(){return this._selected}select(b,j,te){if(b.selected=!0,(!b.children||!j&&te)&&this._selected.push(b),j)if(b.parent){const fe=b.parent.children.length,ue=b.parent.children.filter(je=>je.selected).length;b.parent.selected=fe===ue}else b.children&&(this._setChildrenSelectedState(b.children,!0),this._removeChildren(b),te&&this._activeChildren(b)?this._selected=[...this._selected.filter(fe=>fe.parent!==b),b]:this._selected=[...this._selected,...b.children.filter(fe=>!fe.disabled)])}unselect(b,j){if(this._selected=this._selected.filter(te=>te!==b),b.selected=!1,j)if(b.parent&&b.parent.selected){const te=b.parent.children;this._removeParent(b.parent),this._removeChildren(b.parent),this._selected.push(...te.filter(fe=>fe!==b&&!fe.disabled)),b.parent.selected=!1}else b.children&&(this._setChildrenSelectedState(b.children,!1),this._removeChildren(b))}clear(b){this._selected=b?this._selected.filter(j=>j.disabled):[]}_setChildrenSelectedState(b,j){for(const te of b)te.disabled||(te.selected=j)}_removeChildren(b){this._selected=[...this._selected.filter(j=>j.parent!==b),...b.children.filter(j=>j.parent===b&&j.disabled&&j.selected)]}_removeParent(b){this._selected=this._selected.filter(j=>j!==b)}_activeChildren(b){return b.children.every(j=>!j.disabled||j.selected)}}class Os{}function cs(J,b){var j=Object.keys(J);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(J);b&&(te=te.filter(function(fe){return Object.getOwnPropertyDescriptor(J,fe).enumerable})),j.push.apply(j,te)}return j}function li(J){for(var b=1;b<arguments.length;b++){var j=null!=arguments[b]?arguments[b]:{};b%2?cs(Object(j),!0).forEach(function(te){ji(J,te,j[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(j)):cs(Object(j)).forEach(function(te){Object.defineProperty(J,te,Object.getOwnPropertyDescriptor(j,te))})}return J}function Qr(J){return(Qr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&"function"==typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b})(J)}function _a(J,b){for(var j=0;j<b.length;j++){var te=b[j];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(J,te.key,te)}}function ji(J,b,j){return b in J?Object.defineProperty(J,b,{value:j,enumerable:!0,configurable:!0,writable:!0}):J[b]=j,J}function no(J,b){return function zs(J){if(Array.isArray(J))return J}(J)||function yr(J,b){var j=null==J?null:"undefined"!=typeof Symbol&&J[Symbol.iterator]||J["@@iterator"];if(null!=j){var je,nt,te=[],fe=!0,ue=!1;try{for(j=j.call(J);!(fe=(je=j.next()).done)&&(te.push(je.value),!b||te.length!==b);fe=!0);}catch(Un){ue=!0,nt=Un}finally{try{!fe&&null!=j.return&&j.return()}finally{if(ue)throw nt}}return te}}(J,b)||yo(J,b)||function Or(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ho(J){return function ra(J){if(Array.isArray(J))return Fo(J)}(J)||function bo(J){if("undefined"!=typeof Symbol&&null!=J[Symbol.iterator]||null!=J["@@iterator"])return Array.from(J)}(J)||yo(J)||function Po(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yo(J,b){if(J){if("string"==typeof J)return Fo(J,b);var j=Object.prototype.toString.call(J).slice(8,-1);if("Object"===j&&J.constructor&&(j=J.constructor.name),"Map"===j||"Set"===j)return Array.from(J);if("Arguments"===j||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return Fo(J,b)}}function Fo(J,b){(null==b||b>J.length)&&(b=J.length);for(var j=0,te=new Array(b);j<b;j++)te[j]=J[j];return te}Os.\u0275fac=function(b){return new(b||Os)},Os.\u0275mod=n.oAB({type:Os,declarations:[To,qr,gs,ai,fa,at,Ot,Nn,di,$i,Fi,Yr,Mo,Jr,uo],imports:[i.ez],exports:[gs,qr,ai,fa,at,Ot,Nn,di,$i,Fi,Yr,Mo,Jr]}),Os.\u0275inj=n.cJS({providers:[{provide:Do,useValue:function Ho(){return new Dr}}],imports:[[i.ez]]});var rs=function(){},Xo={},ba={},xs=null,Ws={mark:rs,measure:rs};try{"undefined"!=typeof window&&(Xo=window),"undefined"!=typeof document&&(ba=document),"undefined"!=typeof MutationObserver&&(xs=MutationObserver),"undefined"!=typeof performance&&(Ws=performance)}catch(J){}var et,It,Ut,Wt,Pt,js=(Xo.navigator||{}).userAgent,Jo=void 0===js?"":js,Vo=Xo,Io=ba,or=xs,q=Ws,me=(Vo.document,!!Io.documentElement&&!!Io.head&&"function"==typeof Io.addEventListener&&"function"==typeof Io.createElement),Be=~Jo.indexOf("MSIE")||~Jo.indexOf("Trident/"),Et="___FONT_AWESOME___",An="svg-inline--fa",Qn="data-fa-i2svg",ui="data-fa-pseudo-element",hr="data-prefix",kr="data-icon",Ri="fontawesome-i2svg",In=["HTML","HEAD","STYLE","SCRIPT"],Pr=function(){try{return!0}catch(J){return!1}}(),Ir="classic",ir="sharp",ds=[Ir,ir];function Go(J){return new Proxy(J,{get:function(j,te){return te in j?j[te]:j[Ir]}})}var ko=Go((ji(et={},Ir,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),ji(et,ir,{fa:"solid",fass:"solid","fa-solid":"solid"}),et)),zo=Go((ji(It={},Ir,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),ji(It,ir,{solid:"fass"}),It)),Cs=Go((ji(Ut={},Ir,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),ji(Ut,ir,{fass:"fa-solid"}),Ut)),Rr=Go((ji(Wt={},Ir,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),ji(Wt,ir,{"fa-solid":"fass"}),Wt)),Qe=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,Oe="fa-layers-text",gt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Nt=Go((ji(Pt={},Ir,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),ji(Pt,ir,{900:"fass"}),Pt)),Cn=[1,2,3,4,5,6,7,8,9,10],ze=Cn.concat([11,12,13,14,15,16,17,18,19,20]),ke=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],oe_GROUP="duotone-group",oe_SWAP_OPACITY="swap-opacity",oe_PRIMARY="primary",oe_SECONDARY="secondary",pt=new Set;Object.keys(zo[Ir]).map(pt.add.bind(pt)),Object.keys(zo[ir]).map(pt.add.bind(pt));var zt=[].concat(ds,ho(pt),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",oe_GROUP,oe_SWAP_OPACITY,oe_PRIMARY,oe_SECONDARY]).concat(Cn.map(function(J){return"".concat(J,"x")})).concat(ze.map(function(J){return"w-".concat(J)})),Dt=Vo.FontAwesomeConfig||{};if(Io&&"function"==typeof Io.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(J){var b=no(J,2),j=b[0],te=b[1],fe=function ci(J){return""===J||"false"!==J&&("true"===J||J)}(function En(J){var b=Io.querySelector("script["+J+"]");if(b)return b.getAttribute(J)}(j));null!=fe&&(Dt[te]=fe)})}var xr={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:An,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Dt.familyPrefix&&(Dt.cssPrefix=Dt.familyPrefix);var ft=li(li({},xr),Dt);ft.autoReplaceSvg||(ft.observeMutations=!1);var ye={};Object.keys(xr).forEach(function(J){Object.defineProperty(ye,J,{enumerable:!0,set:function(j){ft[J]=j,Xe.forEach(function(te){return te(ye)})},get:function(){return ft[J]}})}),Object.defineProperty(ye,"familyPrefix",{enumerable:!0,set:function(b){ft.cssPrefix=b,Xe.forEach(function(j){return j(ye)})},get:function(){return ft.cssPrefix}}),Vo.FontAwesomeConfig=ye;var Xe=[];var zr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function pa(){for(var J=12,b="";J-- >0;)b+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return b}function nl(J){for(var b=[],j=(J||[]).length>>>0;j--;)b[j]=J[j];return b}function Bl(J){return J.classList?nl(J.classList):(J.getAttribute("class")||"").split(" ").filter(function(b){return b})}function bi(J){return"".concat(J).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function La(J){return Object.keys(J||{}).reduce(function(b,j){return b+"".concat(j,": ").concat(J[j].trim(),";")},"")}function Gs(J){return J.size!==zr.size||J.x!==zr.x||J.y!==zr.y||J.rotate!==zr.rotate||J.flipX||J.flipY}function Ro(){var J="fa",b=An,j=ye.cssPrefix,te=ye.replacementClass,fe=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(j!==J||te!==b){var ue=new RegExp("\\.".concat(J,"\\-"),"g"),je=new RegExp("\\--".concat(J,"\\-"),"g"),nt=new RegExp("\\.".concat(b),"g");fe=fe.replace(ue,".".concat(j,"-")).replace(je,"--".concat(j,"-")).replace(nt,".".concat(te))}return fe}var ml=!1;function Uo(){ye.autoAddCss&&!ml&&(function io(J){if(J&&me){var b=Io.createElement("style");b.setAttribute("type","text/css"),b.innerHTML=J;for(var j=Io.head.childNodes,te=null,fe=j.length-1;fe>-1;fe--){var ue=j[fe],je=(ue.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(je)>-1&&(te=ue)}return Io.head.insertBefore(b,te),J}}(Ro()),ml=!0)}var c1={mixout:function(){return{dom:{css:Ro,insertCss:Uo}}},hooks:function(){return{beforeDOMElementCreation:function(){Uo()},beforeI2svg:function(){Uo()}}}},Ea=Vo||{};Ea[Et]||(Ea[Et]={}),Ea[Et].styles||(Ea[Et].styles={}),Ea[Et].hooks||(Ea[Et].hooks={}),Ea[Et].shims||(Ea[Et].shims=[]);var Ls=Ea[Et],us=[],il=!1;function vl(J){!me||(il?setTimeout(J,0):us.push(J))}function Da(J){var b=J.tag,j=J.attributes,te=void 0===j?{}:j,fe=J.children,ue=void 0===fe?[]:fe;return"string"==typeof J?bi(J):"<".concat(b," ").concat(function qo(J){return Object.keys(J||{}).reduce(function(b,j){return b+"".concat(j,'="').concat(bi(J[j]),'" ')},"").trim()}(te),">").concat(ue.map(Da).join(""),"</").concat(b,">")}function d1(J,b,j){if(J&&J[b]&&J[b][j])return{prefix:b,iconName:j,icon:J[b][j]}}me&&((il=(Io.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Io.readyState))||Io.addEventListener("DOMContentLoaded",function J(){Io.removeEventListener("DOMContentLoaded",J),il=1,us.map(function(b){return b()})}));var Rs=function(b,j,te,fe){var Un,ei,vi,ue=Object.keys(b),je=ue.length,nt=void 0!==fe?function(b,j){return function(te,fe,ue,je){return b.call(j,te,fe,ue,je)}}(j,fe):j;for(void 0===te?(Un=1,vi=b[ue[0]]):(Un=0,vi=te);Un<je;Un++)vi=nt(vi,b[ei=ue[Un]],ei,b);return vi};function oa(J){var b=function u1(J){for(var b=[],j=0,te=J.length;j<te;){var fe=J.charCodeAt(j++);if(fe>=55296&&fe<=56319&&j<te){var ue=J.charCodeAt(j++);56320==(64512&ue)?b.push(((1023&fe)<<10)+(1023&ue)+65536):(b.push(fe),j--)}else b.push(fe)}return b}(J);return 1===b.length?b[0].toString(16):null}function Ia(J){return Object.keys(J).reduce(function(b,j){var te=J[j];return!!te.icon?b[te.iconName]=te.icon:b[j]=te,b},{})}function Fl(J,b){var j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},te=j.skipHooks,fe=void 0!==te&&te,ue=Ia(b);"function"!=typeof Ls.hooks.addPack||fe?Ls.styles[J]=li(li({},Ls.styles[J]||{}),ue):Ls.hooks.addPack(J,Ia(b)),"fas"===J&&Fl("fa",b)}var jt,Ie,Ze,Vt=Ls.styles,Zn=Ls.shims,Oi=(ji(jt={},Ir,Object.values(Cs[Ir])),ji(jt,ir,Object.values(Cs[ir])),jt),cr=null,es={},ya={},un={},Wn={},kn={},Wi=(ji(Ie={},Ir,Object.keys(ko[Ir])),ji(Ie,ir,Object.keys(ko[ir])),Ie);function fo(J,b){var j=b.split("-"),te=j[0],fe=j.slice(1).join("-");return te!==J||""===fe||function Br(J){return~zt.indexOf(J)}(fe)?null:fe}var eo=function(){var b=function(ue){return Rs(Vt,function(je,nt,Un){return je[Un]=Rs(nt,ue,{}),je},{})};es=b(function(fe,ue,je){(ue[3]&&(fe[ue[3]]=je),ue[2])&&ue[2].filter(function(Un){return"number"==typeof Un}).forEach(function(Un){fe[Un.toString(16)]=je});return fe}),ya=b(function(fe,ue,je){(fe[je]=je,ue[2])&&ue[2].filter(function(Un){return"string"==typeof Un}).forEach(function(Un){fe[Un]=je});return fe}),kn=b(function(fe,ue,je){var nt=ue[2];return fe[je]=je,nt.forEach(function(Un){fe[Un]=je}),fe});var j="far"in Vt||ye.autoFetchSvg,te=Rs(Zn,function(fe,ue){var je=ue[0],nt=ue[1],Un=ue[2];return"far"===nt&&!j&&(nt="fas"),"string"==typeof je&&(fe.names[je]={prefix:nt,iconName:Un}),"number"==typeof je&&(fe.unicodes[je.toString(16)]={prefix:nt,iconName:Un}),fe},{names:{},unicodes:{}});un=te.names,Wn=te.unicodes,cr=dc(ye.styleDefault,{family:ye.familyDefault})};function Ao(J,b){return(es[J]||{})[b]}function qs(J,b){return(kn[J]||{})[b]}function Fa(J){return un[J]||{prefix:null,iconName:null}}function rl(){return cr}(function tn(J){return Xe.push(J),function(){Xe.splice(Xe.indexOf(J),1)}})(function(J){cr=dc(J.styleDefault,{family:ye.familyDefault})}),eo();function dc(J){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=b.family,te=void 0===j?Ir:j,fe=ko[te][J],ue=zo[te][J]||zo[te][fe],je=J in Ls.styles?J:null;return ue||je||null}var Hr=(ji(Ze={},Ir,Object.keys(Cs[Ir])),ji(Ze,ir,Object.keys(Cs[ir])),Ze);function Ji(J){var b,j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=j.skipLookups,fe=void 0!==te&&te,ue=(ji(b={},Ir,"".concat(ye.cssPrefix,"-").concat(Ir)),ji(b,ir,"".concat(ye.cssPrefix,"-").concat(ir)),b),je=null,nt=Ir;(J.includes(ue[Ir])||J.some(function(ei){return Hr[Ir].includes(ei)}))&&(nt=Ir),(J.includes(ue[ir])||J.some(function(ei){return Hr[ir].includes(ei)}))&&(nt=ir);var Un=J.reduce(function(ei,vi){var Gi=fo(ye.cssPrefix,vi);if(Vt[vi]?(vi=Oi[nt].includes(vi)?Rr[nt][vi]:vi,je=vi,ei.prefix=vi):Wi[nt].indexOf(vi)>-1?(je=vi,ei.prefix=dc(vi,{family:nt})):Gi?ei.iconName=Gi:vi!==ye.replacementClass&&vi!==ue[Ir]&&vi!==ue[ir]&&ei.rest.push(vi),!fe&&ei.prefix&&ei.iconName){var mo="fa"===je?Fa(ei.iconName):{},Ta=qs(ei.prefix,ei.iconName);mo.prefix&&(je=null),ei.iconName=mo.iconName||Ta||ei.iconName,ei.prefix=mo.prefix||ei.prefix,"far"===ei.prefix&&!Vt.far&&Vt.fas&&!ye.autoFetchSvg&&(ei.prefix="fas")}return ei},{prefix:null,iconName:null,rest:[]});return(J.includes("fa-brands")||J.includes("fab"))&&(Un.prefix="fab"),(J.includes("fa-duotone")||J.includes("fad"))&&(Un.prefix="fad"),!Un.prefix&&nt===ir&&(Vt.fass||ye.autoFetchSvg)&&(Un.prefix="fass",Un.iconName=qs(Un.prefix,Un.iconName)||Un.iconName),("fa"===Un.prefix||"fa"===je)&&(Un.prefix=rl()||"fas"),Un}var El=function(){function J(){(function ys(J,b){if(!(J instanceof b))throw new TypeError("Cannot call a class as a function")})(this,J),this.definitions={}}return function Ps(J,b,j){return b&&_a(J.prototype,b),j&&_a(J,j),Object.defineProperty(J,"prototype",{writable:!1}),J}(J,[{key:"add",value:function(){for(var j=this,te=arguments.length,fe=new Array(te),ue=0;ue<te;ue++)fe[ue]=arguments[ue];var je=fe.reduce(this._pullDefinitions,{});Object.keys(je).forEach(function(nt){j.definitions[nt]=li(li({},j.definitions[nt]||{}),je[nt]),Fl(nt,je[nt]);var Un=Cs[Ir][nt];Un&&Fl(Un,je[nt]),eo()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(j,te){var fe=te.prefix&&te.iconName&&te.icon?{0:te}:te;return Object.keys(fe).map(function(ue){var je=fe[ue],nt=je.prefix,Un=je.iconName,ei=je.icon,vi=ei[2];j[nt]||(j[nt]={}),vi.length>0&&vi.forEach(function(Gi){"string"==typeof Gi&&(j[nt][Gi]=ei)}),j[nt][Un]=ei}),j}}]),J}(),Zl=[],Es={},_l={},xo=Object.keys(_l);function $r(J,b){for(var j=arguments.length,te=new Array(j>2?j-2:0),fe=2;fe<j;fe++)te[fe-2]=arguments[fe];var ue=Es[J]||[];return ue.forEach(function(je){b=je.apply(null,[b].concat(te))}),b}function $s(J){for(var b=arguments.length,j=new Array(b>1?b-1:0),te=1;te<b;te++)j[te-1]=arguments[te];var fe=Es[J]||[];fe.forEach(function(ue){ue.apply(null,j)})}function Ks(){var J=arguments[0],b=Array.prototype.slice.call(arguments,1);return _l[J]?_l[J].apply(null,b):void 0}function nn(J){"fa"===J.prefix&&(J.prefix="fas");var b=J.iconName,j=J.prefix||rl();if(b)return b=qs(j,b)||b,d1(Me.definitions,j,b)||d1(Ls.styles,j,b)}var Me=new El,ge={i2svg:function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return me?($s("beforeI2svg",b),Ks("pseudoElements2svg",b),Ks("i2svg",b)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j=b.autoReplaceSvgRoot;!1===ye.autoReplaceSvg&&(ye.autoReplaceSvg=!0),ye.observeMutations=!0,vl(function(){He({autoReplaceSvgRoot:j}),$s("watch",b)})}},xe={noAuto:function(){ye.autoReplaceSvg=!1,ye.observeMutations=!1,$s("noAuto")},config:ye,dom:ge,parse:{icon:function(b){if(null===b)return null;if("object"===Qr(b)&&b.prefix&&b.iconName)return{prefix:b.prefix,iconName:qs(b.prefix,b.iconName)||b.iconName};if(Array.isArray(b)&&2===b.length){var j=0===b[1].indexOf("fa-")?b[1].slice(3):b[1],te=dc(b[0]);return{prefix:te,iconName:qs(te,j)||j}}if("string"==typeof b&&(b.indexOf("".concat(ye.cssPrefix,"-"))>-1||b.match(Qe))){var fe=Ji(b.split(" "),{skipLookups:!0});return{prefix:fe.prefix||rl(),iconName:qs(fe.prefix,fe.iconName)||fe.iconName}}if("string"==typeof b){var ue=rl();return{prefix:ue,iconName:qs(ue,b)||b}}}},library:Me,findIconDefinition:nn,toHtml:Da},He=function(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},j=b.autoReplaceSvgRoot,te=void 0===j?Io:j;(Object.keys(Ls.styles).length>0||ye.autoFetchSvg)&&me&&ye.autoReplaceSvg&&xe.dom.i2svg({node:te})};function Ke(J,b){return Object.defineProperty(J,"abstract",{get:b}),Object.defineProperty(J,"html",{get:function(){return J.abstract.map(function(te){return Da(te)})}}),Object.defineProperty(J,"node",{get:function(){if(me){var te=Io.createElement("div");return te.innerHTML=J.html,te.children}}}),J}function gn(J){var b=J.icons,j=b.main,te=b.mask,fe=J.prefix,ue=J.iconName,je=J.transform,nt=J.symbol,Un=J.title,ei=J.maskId,vi=J.titleId,Gi=J.extra,mo=J.watchable,Ta=void 0!==mo&&mo,jc=te.found?te:j,wd=jc.width,Cu=jc.height,L4="fak"===fe,Y2=[ye.replacementClass,ue?"".concat(ye.cssPrefix,"-").concat(ue):""].filter(function(rf){return-1===Gi.classes.indexOf(rf)}).filter(function(rf){return""!==rf||!!rf}).concat(Gi.classes).join(" "),Zd={children:[],attributes:li(li({},Gi.attributes),{},{"data-prefix":fe,"data-icon":ue,class:Y2,role:Gi.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(wd," ").concat(Cu)})},q3=L4&&!~Gi.classes.indexOf("fa-fw")?{width:"".concat(wd/Cu*16*.0625,"em")}:{};Ta&&(Zd.attributes[Qn]=""),Un&&(Zd.children.push({tag:"title",attributes:{id:Zd.attributes["aria-labelledby"]||"title-".concat(vi||pa())},children:[Un]}),delete Zd.attributes.title);var wu=li(li({},Zd),{},{prefix:fe,iconName:ue,main:j,mask:te,maskId:ei,transform:je,symbol:nt,styles:li(li({},q3),Gi.styles)}),nf=te.found&&j.found?Ks("generateAbstractMask",wu)||{children:[],attributes:{}}:Ks("generateAbstractIcon",wu)||{children:[],attributes:{}},Vf=nf.children,a0=nf.attributes;return wu.children=Vf,wu.attributes=a0,nt?function Tt(J){var b=J.prefix,j=J.iconName,te=J.children,fe=J.attributes,ue=J.symbol,je=!0===ue?"".concat(b,"-").concat(ye.cssPrefix,"-").concat(j):ue;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:li(li({},fe),{},{id:je}),children:te}]}]}(wu):function bt(J){var b=J.children,j=J.main,te=J.mask,fe=J.attributes,ue=J.styles,je=J.transform;if(Gs(je)&&j.found&&!te.found){var ei={x:j.width/j.height/2,y:.5};fe.style=La(li(li({},ue),{},{"transform-origin":"".concat(ei.x+je.x/16,"em ").concat(ei.y+je.y/16,"em")}))}return[{tag:"svg",attributes:fe,children:b}]}(wu)}function yi(J){var b=J.content,j=J.width,te=J.height,fe=J.transform,ue=J.title,je=J.extra,nt=J.watchable,Un=void 0!==nt&&nt,ei=li(li(li({},je.attributes),ue?{title:ue}:{}),{},{class:je.classes.join(" ")});Un&&(ei[Qn]="");var vi=li({},je.styles);Gs(fe)&&(vi.transform=function ja(J){var b=J.transform,j=J.width,te=void 0===j?16:j,fe=J.height,ue=void 0===fe?16:fe,je=J.startCentered,nt=void 0!==je&&je,Un="";return Un+=nt&&Be?"translate(".concat(b.x/16-te/2,"em, ").concat(b.y/16-ue/2,"em) "):nt?"translate(calc(-50% + ".concat(b.x/16,"em), calc(-50% + ").concat(b.y/16,"em)) "):"translate(".concat(b.x/16,"em, ").concat(b.y/16,"em) "),Un+="scale(".concat(b.size/16*(b.flipX?-1:1),", ").concat(b.size/16*(b.flipY?-1:1),") "),Un+"rotate(".concat(b.rotate,"deg) ")}({transform:fe,startCentered:!0,width:j,height:te}),vi["-webkit-transform"]=vi.transform);var Gi=La(vi);Gi.length>0&&(ei.style=Gi);var mo=[];return mo.push({tag:"span",attributes:ei,children:[b]}),ue&&mo.push({tag:"span",attributes:{class:"sr-only"},children:[ue]}),mo}function D(J){var b=J.content,j=J.title,te=J.extra,fe=li(li(li({},te.attributes),j?{title:j}:{}),{},{class:te.classes.join(" ")}),ue=La(te.styles);ue.length>0&&(fe.style=ue);var je=[];return je.push({tag:"span",attributes:fe,children:[b]}),j&&je.push({tag:"span",attributes:{class:"sr-only"},children:[j]}),je}var K=Ls.styles;function he(J){var b=J[0],j=J[1],ue=no(J.slice(4),1)[0];return{found:!0,width:b,height:j,icon:Array.isArray(ue)?{tag:"g",attributes:{class:"".concat(ye.cssPrefix,"-").concat(oe_GROUP)},children:[{tag:"path",attributes:{class:"".concat(ye.cssPrefix,"-").concat(oe_SECONDARY),fill:"currentColor",d:ue[0]}},{tag:"path",attributes:{class:"".concat(ye.cssPrefix,"-").concat(oe_PRIMARY),fill:"currentColor",d:ue[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ue}}}}var Ee={found:!1,width:512,height:512};function wt(J,b){var j=b;return"fa"===b&&null!==ye.styleDefault&&(b=rl()),new Promise(function(te,fe){Ks("missingIconAbstract");if("fa"===j){var je=Fa(J)||{};J=je.iconName||J,b=je.prefix||b}if(J&&b&&K[b]&&K[b][J])return te(he(K[b][J]));(function We(J,b){!Pr&&!ye.showMissingIcons&&J&&console.error('Icon with name "'.concat(J,'" and prefix "').concat(b,'" is missing.'))})(J,b),te(li(li({},Ee),{},{icon:ye.showMissingIcons&&J&&Ks("missingIconAbstract")||{}}))})}var Zt=function(){},wn=ye.measurePerformance&&q&&q.mark&&q.measure?q:{mark:Zt,measure:Zt},Rn='FA "6.2.1"',tr=function(b){wn.mark("".concat(Rn," ").concat(b," ends")),wn.measure("".concat(Rn," ").concat(b),"".concat(Rn," ").concat(b," begins"),"".concat(Rn," ").concat(b," ends"))},Wr_begin=function(b){return wn.mark("".concat(Rn," ").concat(b," begins")),function(){return tr(b)}},po=function(){};function Aa(J){return"string"==typeof(J.getAttribute?J.getAttribute(Qn):null)}function h1(J){return Io.createElementNS("http://www.w3.org/2000/svg",J)}function tu(J){return Io.createElement(J)}function xc(J){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},j=b.ceFn,te=void 0===j?"svg"===J.tag?h1:tu:j;if("string"==typeof J)return Io.createTextNode(J);var fe=te(J.tag);Object.keys(J.attributes||[]).forEach(function(je){fe.setAttribute(je,J.attributes[je])});var ue=J.children||[];return ue.forEach(function(je){fe.appendChild(xc(je,{ceFn:te}))}),fe}var kd={replace:function(b){var j=b[0];if(j.parentNode)if(b[1].forEach(function(fe){j.parentNode.insertBefore(xc(fe),j)}),null===j.getAttribute(Qn)&&ye.keepOriginalSource){var te=Io.createComment(function uc(J){var b=" ".concat(J.outerHTML," ");return"".concat(b,"Font Awesome fontawesome.com ")}(j));j.parentNode.replaceChild(te,j)}else j.remove()},nest:function(b){var j=b[0],te=b[1];if(~Bl(j).indexOf(ye.replacementClass))return kd.replace(b);var fe=new RegExp("".concat(ye.cssPrefix,"-.*"));if(delete te[0].attributes.id,te[0].attributes.class){var ue=te[0].attributes.class.split(" ").reduce(function(nt,Un){return Un===ye.replacementClass||Un.match(fe)?nt.toSvg.push(Un):nt.toNode.push(Un),nt},{toNode:[],toSvg:[]});te[0].attributes.class=ue.toSvg.join(" "),0===ue.toNode.length?j.removeAttribute("class"):j.setAttribute("class",ue.toNode.join(" "))}var je=te.map(function(nt){return Da(nt)}).join("\n");j.setAttribute(Qn,""),j.innerHTML=je}};function K2(J){J()}function n2(J,b){var j="function"==typeof b?b:po;if(0===J.length)j();else{var te=K2;"async"===ye.mutateApproach&&(te=Vo.requestAnimationFrame||K2),te(function(){var fe=function ga(){return!0===ye.autoReplaceSvg?kd.replace:kd[ye.autoReplaceSvg]||kd.replace}(),ue=Wr_begin("mutate");J.map(fe),ue(),j()})}}var Ds=!1;function f1(){Ds=!0}function Cc(){Ds=!1}var Ac=null;function C1(J){if(or&&ye.observeMutations){var b=J.treeCallback,j=void 0===b?po:b,te=J.nodeCallback,fe=void 0===te?po:te,ue=J.pseudoElementsCallback,je=void 0===ue?po:ue,nt=J.observeMutationsRoot,Un=void 0===nt?Io:nt;Ac=new or(function(ei){if(!Ds){var vi=rl();nl(ei).forEach(function(Gi){if("childList"===Gi.type&&Gi.addedNodes.length>0&&!Aa(Gi.addedNodes[0])&&(ye.searchPseudoElements&&je(Gi.target),j(Gi.target)),"attributes"===Gi.type&&Gi.target.parentNode&&ye.searchPseudoElements&&je(Gi.target.parentNode),"attributes"===Gi.type&&Aa(Gi.target)&&~ke.indexOf(Gi.attributeName))if("class"===Gi.attributeName&&function sl(J){var b=J.getAttribute?J.getAttribute(hr):null,j=J.getAttribute?J.getAttribute(kr):null;return b&&j}(Gi.target)){var mo=Ji(Bl(Gi.target)),Ta=mo.prefix,jc=mo.iconName;Gi.target.setAttribute(hr,Ta||vi),jc&&Gi.target.setAttribute(kr,jc)}else(function Xl(J){return J&&J.classList&&J.classList.contains&&J.classList.contains(ye.replacementClass)})(Gi.target)&&fe(Gi.target)})}}),me&&Ac.observe(Un,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Jl(J){var b=J.getAttribute("style"),j=[];return b&&(j=b.split(";").reduce(function(te,fe){var ue=fe.split(":"),je=ue[0],nt=ue.slice(1);return je&&nt.length>0&&(te[je]=nt.join(":").trim()),te},{})),j}function D3(J){var b=J.getAttribute("data-prefix"),j=J.getAttribute("data-icon"),te=void 0!==J.innerText?J.innerText.trim():"",fe=Ji(Bl(J));return fe.prefix||(fe.prefix=rl()),b&&j&&(fe.prefix=b,fe.iconName=j),fe.iconName&&fe.prefix||(fe.prefix&&te.length>0&&(fe.iconName=function la(J,b){return(ya[J]||{})[b]}(fe.prefix,J.innerText)||Ao(fe.prefix,oa(J.innerText))),!fe.iconName&&ye.autoFetchSvg&&J.firstChild&&J.firstChild.nodeType===Node.TEXT_NODE&&(fe.iconName=J.firstChild.data)),fe}function to(J){var b=nl(J.attributes).reduce(function(fe,ue){return"class"!==fe.name&&"style"!==fe.name&&(fe[ue.name]=ue.value),fe},{}),j=J.getAttribute("title"),te=J.getAttribute("data-fa-title-id");return ye.autoA11y&&(j?b["aria-labelledby"]="".concat(ye.replacementClass,"-title-").concat(te||pa()):(b["aria-hidden"]="true",b.focusable="false")),b}function i2(J){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},j=D3(J),te=j.iconName,fe=j.prefix,ue=j.rest,je=to(J),nt=$r("parseNodeAttributes",{},J),Un=b.styleParser?Jl(J):[];return li({iconName:te,title:J.getAttribute("title"),titleId:J.getAttribute("data-fa-title-id"),prefix:fe,transform:zr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ue,styles:Un,attributes:je}},nt)}var al=Ls.styles;function ca(J){var b="nest"===ye.autoReplaceSvg?i2(J,{styleParser:!1}):i2(J);return~b.extra.classes.indexOf(Oe)?Ks("generateLayersText",J,b):Ks("generateSvgReplacementMutation",J,b)}var Dl=new Set;function n4(J){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!me)return Promise.resolve();var j=Io.documentElement.classList,te=function(Gi){return j.add("".concat(Ri,"-").concat(Gi))},fe=function(Gi){return j.remove("".concat(Ri,"-").concat(Gi))},ue=ye.autoFetchSvg?Dl:ds.map(function(vi){return"fa-".concat(vi)}).concat(Object.keys(al));ue.includes("fa")||ue.push("fa");var je=[".".concat(Oe,":not([").concat(Qn,"])")].concat(ue.map(function(vi){return".".concat(vi,":not([").concat(Qn,"])")})).join(", ");if(0===je.length)return Promise.resolve();var nt=[];try{nt=nl(J.querySelectorAll(je))}catch(vi){}if(!(nt.length>0))return Promise.resolve();te("pending"),fe("complete");var Un=Wr_begin("onTree"),ei=nt.reduce(function(vi,Gi){try{var mo=ca(Gi);mo&&vi.push(mo)}catch(Ta){Pr||"MissingIcon"===Ta.name&&console.error(Ta)}return vi},[]);return new Promise(function(vi,Gi){Promise.all(ei).then(function(mo){n2(mo,function(){te("active"),te("complete"),fe("pending"),"function"==typeof b&&b(),Un(),vi()})}).catch(function(mo){Un(),Gi(mo)})})}function Z2(J){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ca(J).then(function(j){j&&n2([j],b)})}function ll(J){return function(b){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=(b||{}).icon?b:nn(b||{}),fe=j.mask;return fe&&(fe=(fe||{}).icon?fe:nn(fe||{})),J(te,li(li({},j),{},{mask:fe}))}}ds.map(function(J){Dl.add("fa-".concat(J))}),Object.keys(ko[Ir]).map(Dl.add.bind(Dl)),Object.keys(ko[ir]).map(Dl.add.bind(Dl)),Dl=ho(Dl);var nu=function(b){var j=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=j.transform,fe=void 0===te?zr:te,ue=j.symbol,je=void 0!==ue&&ue,nt=j.mask,Un=void 0===nt?null:nt,ei=j.maskId,vi=void 0===ei?null:ei,Gi=j.title,mo=void 0===Gi?null:Gi,Ta=j.titleId,jc=void 0===Ta?null:Ta,wd=j.classes,Cu=void 0===wd?[]:wd,L4=j.attributes,Y2=void 0===L4?{}:L4,Zd=j.styles,q3=void 0===Zd?{}:Zd;if(b){var wu=b.prefix,nf=b.iconName,Vf=b.icon;return Ke(li({type:"icon"},b),function(){return $s("beforeDOMElementCreation",{iconDefinition:b,params:j}),ye.autoA11y&&(mo?Y2["aria-labelledby"]="".concat(ye.replacementClass,"-title-").concat(jc||pa()):(Y2["aria-hidden"]="true",Y2.focusable="false")),gn({icons:{main:he(Vf),mask:Un?he(Un.icon):{found:!1,width:null,height:null,icon:{}}},prefix:wu,iconName:nf,transform:li(li({},zr),fe),symbol:je,title:mo,maskId:vi,titleId:jc,extra:{attributes:Y2,styles:q3,classes:Cu}})})}},Va={mixout:function(){return{icon:ll(nu)}},hooks:function(){return{mutationObserverCallbacks:function(j){return j.treeCallback=n4,j.nodeCallback=Z2,j}}},provides:function(b){b.i2svg=function(j){var te=j.node,fe=void 0===te?Io:te,ue=j.callback;return n4(fe,void 0===ue?function(){}:ue)},b.generateSvgReplacementMutation=function(j,te){var fe=te.iconName,ue=te.title,je=te.titleId,nt=te.prefix,Un=te.transform,ei=te.symbol,vi=te.mask,Gi=te.maskId,mo=te.extra;return new Promise(function(Ta,jc){Promise.all([wt(fe,nt),vi.iconName?wt(vi.iconName,vi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(wd){var Cu=no(wd,2),L4=Cu[0],Y2=Cu[1];Ta([j,gn({icons:{main:L4,mask:Y2},prefix:nt,iconName:fe,transform:Un,symbol:ei,maskId:Gi,title:ue,titleId:je,extra:mo,watchable:!0})])}).catch(jc)})},b.generateAbstractIcon=function(j){var ei,te=j.children,fe=j.attributes,ue=j.main,je=j.transform,Un=La(j.styles);return Un.length>0&&(fe.style=Un),Gs(je)&&(ei=Ks("generateAbstractTransformGrouping",{main:ue,transform:je,containerWidth:ue.width,iconWidth:ue.width})),te.push(ei||ue.icon),{children:te,attributes:fe}}}},w1={mixout:function(){return{layer:function(j){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fe=te.classes,ue=void 0===fe?[]:fe;return Ke({type:"layer"},function(){$s("beforeDOMElementCreation",{assembler:j,params:te});var je=[];return j(function(nt){Array.isArray(nt)?nt.map(function(Un){je=je.concat(Un.abstract)}):je=je.concat(nt.abstract)}),[{tag:"span",attributes:{class:["".concat(ye.cssPrefix,"-layers")].concat(ho(ue)).join(" ")},children:je}]})}}}},Ju={mixout:function(){return{counter:function(j){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fe=te.title,ue=void 0===fe?null:fe,je=te.classes,nt=void 0===je?[]:je,Un=te.attributes,ei=void 0===Un?{}:Un,vi=te.styles,Gi=void 0===vi?{}:vi;return Ke({type:"counter",content:j},function(){return $s("beforeDOMElementCreation",{content:j,params:te}),D({content:j.toString(),title:ue,extra:{attributes:ei,styles:Gi,classes:["".concat(ye.cssPrefix,"-layers-counter")].concat(ho(nt))}})})}}}},ap={mixout:function(){return{text:function(j){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fe=te.transform,ue=void 0===fe?zr:fe,je=te.title,nt=void 0===je?null:je,Un=te.classes,ei=void 0===Un?[]:Un,vi=te.attributes,Gi=void 0===vi?{}:vi,mo=te.styles,Ta=void 0===mo?{}:mo;return Ke({type:"text",content:j},function(){return $s("beforeDOMElementCreation",{content:j,params:te}),yi({content:j,transform:li(li({},zr),ue),title:nt,extra:{attributes:Gi,styles:Ta,classes:["".concat(ye.cssPrefix,"-layers-text")].concat(ho(ei))}})})}}},provides:function(b){b.generateLayersText=function(j,te){var fe=te.title,ue=te.transform,je=te.extra,nt=null,Un=null;if(Be){var ei=parseInt(getComputedStyle(j).fontSize,10),vi=j.getBoundingClientRect();nt=vi.width/ei,Un=vi.height/ei}return ye.autoA11y&&!fe&&(je.attributes["aria-hidden"]="true"),Promise.resolve([j,yi({content:j.innerHTML,width:nt,height:Un,transform:ue,title:fe,extra:je,watchable:!0})])}}},bf=new RegExp('"',"ug"),p1=[1105920,1112319];function X2(J,b){var j="".concat("data-fa-pseudo-element-pending").concat(b.replace(":","-"));return new Promise(function(te,fe){if(null!==J.getAttribute(j))return te();var je=nl(J.children).filter(function(Vf){return Vf.getAttribute(ui)===b})[0],nt=Vo.getComputedStyle(J,b),Un=nt.getPropertyValue("font-family").match(gt),ei=nt.getPropertyValue("font-weight"),vi=nt.getPropertyValue("content");if(je&&!Un)return J.removeChild(je),te();if(Un&&"none"!==vi&&""!==vi){var Gi=nt.getPropertyValue("content"),mo=~["Sharp"].indexOf(Un[2])?ir:Ir,Ta=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(Un[2])?zo[mo][Un[2].toLowerCase()]:Nt[mo][ei],jc=function Ld(J){var b=J.replace(bf,""),j=function jl(J,b){var fe,j=J.length,te=J.charCodeAt(b);return te>=55296&&te<=56319&&j>b+1&&(fe=J.charCodeAt(b+1))>=56320&&fe<=57343?1024*(te-55296)+fe-56320+65536:te}(b,0),te=j>=p1[0]&&j<=p1[1],fe=2===b.length&&b[0]===b[1];return{value:oa(fe?b[0]:b),isSecondary:te||fe}}(Gi),wd=jc.value,Cu=jc.isSecondary,L4=Un[0].startsWith("FontAwesome"),Y2=Ao(Ta,wd),Zd=Y2;if(L4){var q3=function ts(J){var b=Wn[J],j=Ao("fas",J);return b||(j?{prefix:"fas",iconName:j}:null)||{prefix:null,iconName:null}}(wd);q3.iconName&&q3.prefix&&(Y2=q3.iconName,Ta=q3.prefix)}if(!Y2||Cu||je&&je.getAttribute(hr)===Ta&&je.getAttribute(kr)===Zd)te();else{J.setAttribute(j,Zd),je&&J.removeChild(je);var wu=function hs(){return{iconName:null,title:null,titleId:null,prefix:null,transform:zr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),nf=wu.extra;nf.attributes[ui]=b,wt(Y2,Ta).then(function(Vf){var a0=gn(li(li({},wu),{},{icons:{main:Vf,mask:{prefix:null,iconName:null,rest:[]}},prefix:Ta,iconName:Zd,extra:nf,watchable:!0})),rf=Io.createElement("svg");"::before"===b?J.insertBefore(rf,J.firstChild):J.appendChild(rf),rf.outerHTML=a0.map(function(F6){return Da(F6)}).join("\n"),J.removeAttribute(j),te()}).catch(fe)}}else te()})}function iu(J){return Promise.all([X2(J,"::before"),X2(J,"::after")])}function Ua(J){return!(J.parentNode===document.head||~In.indexOf(J.tagName.toUpperCase())||J.getAttribute(ui)||J.parentNode&&"svg"===J.parentNode.tagName)}function Gc(J){if(me)return new Promise(function(b,j){var te=nl(J.querySelectorAll("*")).filter(Ua).map(iu),fe=Wr_begin("searchPseudoElements");f1(),Promise.all(te).then(function(){fe(),Cc(),b()}).catch(function(){fe(),Cc(),j()})})}var L2=!1,Pi=function(b){return b.toLowerCase().split(" ").reduce(function(te,fe){var ue=fe.toLowerCase().split("-"),je=ue[0],nt=ue.slice(1).join("-");if(je&&"h"===nt)return te.flipX=!0,te;if(je&&"v"===nt)return te.flipY=!0,te;if(nt=parseFloat(nt),isNaN(nt))return te;switch(je){case"grow":te.size=te.size+nt;break;case"shrink":te.size=te.size-nt;break;case"left":te.x=te.x-nt;break;case"right":te.x=te.x+nt;break;case"up":te.y=te.y-nt;break;case"down":te.y=te.y+nt;break;case"rotate":te.rotate=te.rotate+nt}return te},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},da={x:0,y:0,width:"100%",height:"100%"};function Ed(J){var b=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return J.attributes&&(J.attributes.fill||b)&&(J.attributes.fill="black"),J}function ns(J){return"g"===J.tag?J.children:[J]}var Qu={hooks:function(){return{parseNodeAttributes:function(j,te){var fe=te.getAttribute("data-fa-mask"),ue=fe?Ji(fe.split(" ").map(function(je){return je.trim()})):{prefix:null,iconName:null,rest:[]};return ue.prefix||(ue.prefix=rl()),j.mask=ue,j.maskId=te.getAttribute("data-fa-mask-id"),j}}},provides:function(b){b.generateAbstractMask=function(j){var te=j.children,fe=j.attributes,ue=j.main,je=j.mask,nt=j.maskId,Un=j.transform,ei=ue.width,vi=ue.icon,Gi=je.width,mo=je.icon,Ta=function Na(J){var b=J.transform,j=J.containerWidth,te=J.iconWidth,fe={transform:"translate(".concat(j/2," 256)")},ue="translate(".concat(32*b.x,", ").concat(32*b.y,") "),je="scale(".concat(b.size/16*(b.flipX?-1:1),", ").concat(b.size/16*(b.flipY?-1:1),") "),nt="rotate(".concat(b.rotate," 0 0)");return{outer:fe,inner:{transform:"".concat(ue," ").concat(je," ").concat(nt)},path:{transform:"translate(".concat(te/2*-1," -256)")}}}({transform:Un,containerWidth:Gi,iconWidth:ei}),jc={tag:"rect",attributes:li(li({},da),{},{fill:"white"})},wd=vi.children?{children:vi.children.map(Ed)}:{},Cu={tag:"g",attributes:li({},Ta.inner),children:[Ed(li({tag:vi.tag,attributes:li(li({},vi.attributes),Ta.path)},wd))]},L4={tag:"g",attributes:li({},Ta.outer),children:[Cu]},Y2="mask-".concat(nt||pa()),Zd="clip-".concat(nt||pa()),q3={tag:"mask",attributes:li(li({},da),{},{id:Y2,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[jc,L4]},wu={tag:"defs",children:[{tag:"clipPath",attributes:{id:Zd},children:ns(mo)},q3]};return te.push(wu,{tag:"rect",attributes:li({fill:"currentColor","clip-path":"url(#".concat(Zd,")"),mask:"url(#".concat(Y2,")")},da)}),{children:te,attributes:fe}}}};!function Yo(J,b){var j=b.mixoutsTo;return Zl=J,Es={},Object.keys(_l).forEach(function(te){-1===xo.indexOf(te)&&delete _l[te]}),Zl.forEach(function(te){var fe=te.mixout?te.mixout():{};if(Object.keys(fe).forEach(function(je){"function"==typeof fe[je]&&(j[je]=fe[je]),"object"===Qr(fe[je])&&Object.keys(fe[je]).forEach(function(nt){j[je]||(j[je]={}),j[je][nt]=fe[je][nt]})}),te.hooks){var ue=te.hooks();Object.keys(ue).forEach(function(je){Es[je]||(Es[je]=[]),Es[je].push(ue[je])})}te.provides&&te.provides(_l)}),j}([c1,Va,w1,Ju,ap,{hooks:function(){return{mutationObserverCallbacks:function(j){return j.pseudoElementsCallback=Gc,j}}},provides:function(b){b.pseudoElements2svg=function(j){var te=j.node,fe=void 0===te?Io:te;ye.searchPseudoElements&&Gc(fe)}}},{mixout:function(){return{dom:{unwatch:function(){f1(),L2=!0}}}},hooks:function(){return{bootstrap:function(){C1($r("mutationObserverCallbacks",{}))},noAuto:function(){!function kt(){!Ac||Ac.disconnect()}()},watch:function(j){var te=j.observeMutationsRoot;L2?Cc():C1($r("mutationObserverCallbacks",{observeMutationsRoot:te}))}}}},{mixout:function(){return{parse:{transform:function(j){return Pi(j)}}}},hooks:function(){return{parseNodeAttributes:function(j,te){var fe=te.getAttribute("data-fa-transform");return fe&&(j.transform=Pi(fe)),j}}},provides:function(b){b.generateAbstractTransformGrouping=function(j){var te=j.main,fe=j.transform,ue=j.containerWidth,je=j.iconWidth,nt={transform:"translate(".concat(ue/2," 256)")},Un="translate(".concat(32*fe.x,", ").concat(32*fe.y,") "),ei="scale(".concat(fe.size/16*(fe.flipX?-1:1),", ").concat(fe.size/16*(fe.flipY?-1:1),") "),vi="rotate(".concat(fe.rotate," 0 0)"),Ta={outer:nt,inner:{transform:"".concat(Un," ").concat(ei," ").concat(vi)},path:{transform:"translate(".concat(je/2*-1," -256)")}};return{tag:"g",attributes:li({},Ta.outer),children:[{tag:"g",attributes:li({},Ta.inner),children:[{tag:te.icon.tag,children:te.icon.children,attributes:li(li({},te.icon.attributes),Ta.path)}]}]}}}},Qu,{provides:function(b){var j=!1;Vo.matchMedia&&(j=Vo.matchMedia("(prefers-reduced-motion: reduce)").matches),b.missingIconAbstract=function(){var te=[],fe={fill:"currentColor"},ue={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};te.push({tag:"path",attributes:li(li({},fe),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var je=li(li({},ue),{},{attributeName:"opacity"}),nt={tag:"circle",attributes:li(li({},fe),{},{cx:"256",cy:"364",r:"28"}),children:[]};return j||nt.children.push({tag:"animate",attributes:li(li({},ue),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:li(li({},je),{},{values:"1;0;1;1;0;1;"})}),te.push(nt),te.push({tag:"path",attributes:li(li({},fe),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:j?[]:[{tag:"animate",attributes:li(li({},je),{},{values:"1;0;0;0;0;1;"})}]}),j||te.push({tag:"path",attributes:li(li({},fe),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:li(li({},je),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:te}}}},{hooks:function(){return{parseNodeAttributes:function(j,te){var fe=te.getAttribute("data-fa-symbol"),ue=null!==fe&&(""===fe||fe);return j.symbol=ue,j}}}}],{mixoutsTo:xe});xe.noAuto,xe.config,xe.library,xe.dom;var Il=xe.parse,T1=(xe.findIconDefinition,xe.toHtml,xe.icon),Ql=(xe.layer,xe.text),Dd=xe.counter,Ya=B(50318);const ec=["*"],g1=J=>{const b={"fa-spin":J.spin,"fa-pulse":J.pulse,"fa-fw":J.fixedWidth,"fa-border":J.border,"fa-inverse":J.inverse,"fa-layers-counter":J.counter,"fa-flip-horizontal":"horizontal"===J.flip||"both"===J.flip,"fa-flip-vertical":"vertical"===J.flip||"both"===J.flip,[`fa-${J.size}`]:null!==J.size,[`fa-rotate-${J.rotate}`]:null!==J.rotate,[`fa-pull-${J.pull}`]:null!==J.pull,[`fa-stack-${J.stackItemSize}`]:null!=J.stackItemSize};return Object.keys(b).map(j=>b[j]?j:null).filter(j=>j)};class Ja{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}Ja.\u0275fac=function(b){return new(b||Ja)},Ja.\u0275prov=n.Yz7({token:Ja,factory:Ja.\u0275fac,providedIn:"root"});class D2{constructor(){this.definitions={}}addIcons(...b){for(const j of b){j.prefix in this.definitions||(this.definitions[j.prefix]={}),this.definitions[j.prefix][j.iconName]=j;for(const te of j.icon[2])"string"==typeof te&&(this.definitions[j.prefix][te]=j)}}addIconPacks(...b){for(const j of b){const te=Object.keys(j).map(fe=>j[fe]);this.addIcons(...te)}}getIconDefinition(b,j){return b in this.definitions&&j in this.definitions[b]?this.definitions[b][j]:null}}D2.\u0275fac=function(b){return new(b||D2)},D2.\u0275prov=n.Yz7({token:D2,factory:D2.\u0275fac,providedIn:"root"});class td{constructor(){this.stackItemSize="1x"}ngOnChanges(b){if("size"in b)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}td.\u0275fac=function(b){return new(b||td)},td.\u0275dir=n.lG2({type:td,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[n.TTD]});class lu{constructor(b,j){this.renderer=b,this.elementRef=j}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(b){"size"in b&&(null!=b.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${b.size.currentValue}`),null!=b.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${b.size.previousValue}`))}}lu.\u0275fac=function(b){return new(b||lu)(n.Y36(n.Qsj),n.Y36(n.SBq))},lu.\u0275cmp=n.Xpm({type:lu,selectors:[["fa-stack"]],inputs:{size:"size"},features:[n.TTD],ngContentSelectors:ec,decls:1,vars:0,template:function(b,j){1&b&&(n.F$t(),n.Hsn(0))},encapsulation:2});class I2{constructor(b,j,te,fe,ue){this.sanitizer=b,this.config=j,this.iconLibrary=te,this.stackItem=fe,this.classes=[],null!=ue&&null==fe&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(b){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let j=null;if(j=null==this.icon?this.config.fallbackIcon:this.icon,b){const te=this.findIconDefinition(j);if(null!=te){const fe=this.buildParams();this.renderIcon(te,fe)}}}render(){this.ngOnChanges({})}findIconDefinition(b){const j=((J,b)=>(J=>void 0!==J.prefix&&void 0!==J.iconName)(J)?J:Array.isArray(J)&&2===J.length?{prefix:J[0],iconName:J[1]}:"string"==typeof J?{prefix:b,iconName:J}:void 0)(b,this.config.defaultPrefix);if("icon"in j)return j;const te=this.iconLibrary.getIconDefinition(j.prefix,j.iconName);return null!=te?te:((J=>{throw new Error(`Could not find icon with iconName=${J.iconName} and prefix=${J.prefix} in the icon library.`)})(j),null)}buildParams(){const b={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},j="string"==typeof this.transform?Il.transform(this.transform):this.transform;return{title:this.title,transform:j,classes:[...g1(b),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(b,j){const te=T1(b,j);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(te.html.join("\n"))}}I2.\u0275fac=function(b){return new(b||I2)(n.Y36(Ya.H7),n.Y36(Ja),n.Y36(D2),n.Y36(td,8),n.Y36(lu,8))},I2.\u0275cmp=n.Xpm({type:I2,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(b,j){2&b&&(n.Ikx("innerHTML",j.renderedIconHTML,n.oJD),n.uIk("title",j.title))},inputs:{icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[n.TTD],decls:0,vars:0,template:function(b,j){},encapsulation:2});class Wa extends I2{findIconDefinition(b){const j=super.findIconDefinition(b);if(null!=j&&!Array.isArray(j.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: <fa-duotone-icon [icon]="['fad', '${j.iconName}']"></fa-duotone-icon> or use: <fa-icon icon="${j.iconName}"></fa-icon> instead.`);return j}buildParams(){const b=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&b.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(b.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(b.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(b.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(b.styles["--fa-secondary-color"]=this.secondaryColor),b}}Wa.\u0275fac=function(){let J;return function(j){return(J||(J=n.n5z(Wa)))(j||Wa)}}(),Wa.\u0275cmp=n.Xpm({type:Wa,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},features:[n.qOj],decls:0,vars:0,template:function(b,j){},encapsulation:2});const Au=(J,b,j)=>{if(!J)throw new Error(`${j} should be used as child of ${b} only.`)};class A2{constructor(b,j,te){this.renderer=b,this.elementRef=j,this.config=te}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(b){"size"in b&&(null!=b.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${b.size.currentValue}`),null!=b.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${b.size.previousValue}`))}}A2.\u0275fac=function(b){return new(b||A2)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(Ja))},A2.\u0275cmp=n.Xpm({type:A2,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(b,j){2&b&&n.ekj("fa-fw",j.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},features:[n.TTD],ngContentSelectors:ec,decls:1,vars:0,template:function(b,j){1&b&&(n.F$t(),n.Hsn(0))},encapsulation:2});class Vl{constructor(b,j){this.parent=b,this.sanitizer=j,this.classes=[],Au(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(b){if(b){const j=this.buildParams();this.updateContent(j)}}buildParams(){const b=[];return null!=this.classes&&b.push(...this.classes),null!=this.position&&b.push(`fa-layers-${this.position}`),{title:this.title,classes:b,styles:this.styles}}updateContent(b){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Dd(this.content||"",b).html.join(""))}}Vl.\u0275fac=function(b){return new(b||Vl)(n.Y36(A2,8),n.Y36(Ya.H7))},Vl.\u0275cmp=n.Xpm({type:Vl,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(b,j){2&b&&n.Ikx("innerHTML",j.renderedHTML,n.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},features:[n.TTD],decls:0,vars:0,template:function(b,j){},encapsulation:2});class wc{constructor(b,j){this.parent=b,this.sanitizer=j,this.classes=[],Au(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(b){if(b){const j=this.buildParams();this.updateContent(j)}}buildParams(){const b={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?Il.transform(this.transform):this.transform,classes:[...g1(b),...this.classes],title:this.title,styles:this.styles}}updateContent(b){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ql(this.content||"",b).html.join("\n"))}}wc.\u0275fac=function(b){return new(b||wc)(n.Y36(A2,8),n.Y36(Ya.H7))},wc.\u0275cmp=n.Xpm({type:wc,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(b,j){2&b&&n.Ikx("innerHTML",j.renderedHTML,n.oJD)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},features:[n.TTD],decls:0,vars:0,template:function(b,j){},encapsulation:2});class bl{}bl.\u0275fac=function(b){return new(b||bl)},bl.\u0275mod=n.oAB({type:bl,declarations:[I2,Wa,A2,wc,Vl,lu,td],exports:[I2,Wa,A2,wc,Vl,lu,td]}),bl.\u0275inj=n.cJS({});var As=B(5836);class ms{static mapToArray(b){const j=[];for(const te in b)b.hasOwnProperty(te)&&j.push(b[te]);return j}static handleEvent(b,j,te){0<j.observers.length&&b.run(()=>{j.emit(te)})}}class ea{constructor(b,j){this.element=b,this.zone=j,this.DEFAULT_ZOOM=1,this.DEFAULT_CENTER=(0,As.latLng)(38.907192,-77.036871),this.DEFAULT_FPZ_OPTIONS={},this.fitBoundsOptions=this.DEFAULT_FPZ_OPTIONS,this.panOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomOptions=this.DEFAULT_FPZ_OPTIONS,this.zoomPanOptions=this.DEFAULT_FPZ_OPTIONS,this.options={},this.mapReady=new n.vpe,this.zoomChange=new n.vpe,this.centerChange=new n.vpe,this.onClick=new n.vpe,this.onDoubleClick=new n.vpe,this.onMouseDown=new n.vpe,this.onMouseUp=new n.vpe,this.onMouseMove=new n.vpe,this.onMouseOver=new n.vpe,this.onMouseOut=new n.vpe,this.onMapMove=new n.vpe,this.onMapMoveStart=new n.vpe,this.onMapMoveEnd=new n.vpe,this.onMapZoom=new n.vpe,this.onMapZoomStart=new n.vpe,this.onMapZoomEnd=new n.vpe}ngOnInit(){this.zone.runOutsideAngular(()=>{this.map=(0,As.map)(this.element.nativeElement,this.options),this.addMapEventListeners()}),null!=this.center&&null!=this.zoom&&this.setView(this.center,this.zoom),null!=this.fitBounds&&this.setFitBounds(this.fitBounds),null!=this.maxBounds&&this.setMaxBounds(this.maxBounds),null!=this.minZoom&&this.setMinZoom(this.minZoom),null!=this.maxZoom&&this.setMaxZoom(this.maxZoom),this.doResize(),this.mapReady.emit(this.map)}ngOnChanges(b){b.zoom&&b.center&&null!=this.zoom&&null!=this.center?this.setView(b.center.currentValue,b.zoom.currentValue):b.zoom?this.setZoom(b.zoom.currentValue):b.center&&this.setCenter(b.center.currentValue),b.fitBounds&&this.setFitBounds(b.fitBounds.currentValue),b.maxBounds&&this.setMaxBounds(b.maxBounds.currentValue),b.minZoom&&this.setMinZoom(b.minZoom.currentValue),b.maxZoom&&this.setMaxZoom(b.maxZoom.currentValue)}ngOnDestroy(){null!=this.map&&this.map.remove()}getMap(){return this.map}onResize(){this.delayResize()}addMapEventListeners(){const b=(te,fe)=>{this.map.on(te,fe)};b("click",te=>ms.handleEvent(this.zone,this.onClick,te)),b("dblclick",te=>ms.handleEvent(this.zone,this.onDoubleClick,te)),b("mousedown",te=>ms.handleEvent(this.zone,this.onMouseDown,te)),b("mouseup",te=>ms.handleEvent(this.zone,this.onMouseUp,te)),b("mouseover",te=>ms.handleEvent(this.zone,this.onMouseOver,te)),b("mouseout",te=>ms.handleEvent(this.zone,this.onMouseOut,te)),b("mousemove",te=>ms.handleEvent(this.zone,this.onMouseMove,te)),b("zoomstart",te=>ms.handleEvent(this.zone,this.onMapZoomStart,te)),b("zoom",te=>ms.handleEvent(this.zone,this.onMapZoom,te)),b("zoomend",te=>ms.handleEvent(this.zone,this.onMapZoomEnd,te)),b("movestart",te=>ms.handleEvent(this.zone,this.onMapMoveStart,te)),b("move",te=>ms.handleEvent(this.zone,this.onMapMove,te)),b("moveend",te=>ms.handleEvent(this.zone,this.onMapMoveEnd,te));const j=()=>{const te=this.map.getZoom();te!==this.zoom&&(this.zoom=te,ms.handleEvent(this.zone,this.zoomChange,te));const fe=this.map.getCenter();(null!=fe||null!=this.center)&&((null==fe||null==this.center)&&fe!==this.center||fe.lat!==this.center.lat||fe.lng!==this.center.lng)&&(this.center=fe,ms.handleEvent(this.zone,this.centerChange,fe))};b("moveend",j),b("zoomend",j)}doResize(){this.zone.runOutsideAngular(()=>{null!=this.map&&this.map.invalidateSize({})})}delayResize(){null!=this.resizeTimer&&clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout(this.doResize.bind(this),200)}setView(b,j){null!=this.map&&null!=b&&null!=j&&this.map.setView(b,j,this.zoomPanOptions)}setZoom(b){null!=this.map&&null!=b&&this.map.setZoom(b,this.zoomOptions)}setCenter(b){null!=this.map&&null!=b&&this.map.panTo(b,this.panOptions)}setFitBounds(b){null!=this.map&&null!=b&&this.map.fitBounds(b,this.fitBoundsOptions)}setMaxBounds(b){null!=this.map&&null!=b&&this.map.setMaxBounds(b)}setMinZoom(b){null!=this.map&&null!=b&&this.map.setMinZoom(b)}setMaxZoom(b){null!=this.map&&null!=b&&this.map.setMaxZoom(b)}}ea.\u0275fac=function(b){return new(b||ea)(n.Y36(n.SBq),n.Y36(n.R0b))},ea.\u0275dir=n.lG2({type:ea,selectors:[["","leaflet",""]],hostBindings:function(b,j){1&b&&n.NdJ("resize",function(){return j.onResize()},!1,n.Jf7)},inputs:{fitBoundsOptions:["leafletFitBoundsOptions","fitBoundsOptions"],panOptions:["leafletPanOptions","panOptions"],zoomOptions:["leafletZoomOptions","zoomOptions"],zoomPanOptions:["leafletZoomPanOptions","zoomPanOptions"],options:["leafletOptions","options"],zoom:["leafletZoom","zoom"],center:["leafletCenter","center"],fitBounds:["leafletFitBounds","fitBounds"],maxBounds:["leafletMaxBounds","maxBounds"],minZoom:["leafletMinZoom","minZoom"],maxZoom:["leafletMaxZoom","maxZoom"]},outputs:{mapReady:"leafletMapReady",zoomChange:"leafletZoomChange",centerChange:"leafletCenterChange",onClick:"leafletClick",onDoubleClick:"leafletDoubleClick",onMouseDown:"leafletMouseDown",onMouseUp:"leafletMouseUp",onMouseMove:"leafletMouseMove",onMouseOver:"leafletMouseOver",onMouseOut:"leafletMouseOut",onMapMove:"leafletMapMove",onMapMoveStart:"leafletMapMoveStart",onMapMoveEnd:"leafletMapMoveEnd",onMapZoom:"leafletMapZoom",onMapZoomStart:"leafletMapZoomStart",onMapZoomEnd:"leafletMapZoomEnd"},features:[n.TTD]});class nd{constructor(b){this.leafletDirective=b}init(){}getMap(){return this.leafletDirective.getMap()}}class S1{constructor(b,j){this.zone=j,this.onAdd=new n.vpe,this.onRemove=new n.vpe,this.leafletDirective=new nd(b)}ngOnInit(){this.leafletDirective.init()}ngOnDestroy(){null!=this.layer&&(this.removeLayerEventListeners(this.layer),this.layer.remove())}ngOnChanges(b){if(b.layer){const j=b.layer.previousValue,te=b.layer.currentValue;this.zone.runOutsideAngular(()=>{null!=j&&(this.removeLayerEventListeners(j),j.remove()),null!=te&&(this.addLayerEventListeners(te),this.leafletDirective.getMap().addLayer(te))})}}addLayerEventListeners(b){this.onAddLayerHandler=j=>ms.handleEvent(this.zone,this.onAdd,j),b.on("add",this.onAddLayerHandler),this.onRemoveLayerHandler=j=>ms.handleEvent(this.zone,this.onRemove,j),b.on("remove",this.onRemoveLayerHandler)}removeLayerEventListeners(b){b.off("add",this.onAddLayerHandler),b.off("remove",this.onRemoveLayerHandler)}}S1.\u0275fac=function(b){return new(b||S1)(n.Y36(ea),n.Y36(n.R0b))},S1.\u0275dir=n.lG2({type:S1,selectors:[["","leafletLayer",""]],inputs:{layer:["leafletLayer","layer"]},outputs:{onAdd:"leafletLayerAdd",onRemove:"leafletLayerRemove"},features:[n.TTD]});class W1{constructor(b,j,te){this.differs=j,this.zone=te,this.leafletDirective=new nd(b),this.layersDiffer=this.differs.find([]).create()}set layers(b){this.layersValue=b,this.updateLayers()}get layers(){return this.layersValue}ngDoCheck(){this.updateLayers()}ngOnInit(){this.leafletDirective.init(),this.updateLayers()}ngOnDestroy(){this.layers=[]}updateLayers(){const b=this.leafletDirective.getMap();if(null!=b&&null!=this.layersDiffer){const j=this.layersDiffer.diff(this.layersValue);null!=j&&this.zone.runOutsideAngular(()=>{j.forEachRemovedItem(te=>{b.removeLayer(te.item)}),j.forEachAddedItem(te=>{b.addLayer(te.item)})})}}}W1.\u0275fac=function(b){return new(b||W1)(n.Y36(ea),n.Y36(n.ZZ4),n.Y36(n.R0b))},W1.\u0275dir=n.lG2({type:W1,selectors:[["","leafletLayers",""]],inputs:{layers:["leafletLayers","layers"]}});class id{constructor(){this.layersRemoved=0,this.layersChanged=0,this.layersAdded=0}changed(){return!(0===this.layersRemoved&&0===this.layersChanged&&0===this.layersAdded)}}class Mc{constructor(b,j){this.zone=b,this.layersControlReady=j}getLayersControl(){return this.layersControl}init(b,j){const te=b.baseLayers||{},fe=b.overlays||{};return this.zone.runOutsideAngular(()=>{this.layersControl=As.control.layers(te,fe,j)}),this.layersControlReady.emit(this.layersControl),this.layersControl}applyBaseLayerChanges(b){let j=new id;return null!=this.layersControl&&(j=this.applyChanges(b,this.layersControl.addBaseLayer)),j}applyOverlayChanges(b){let j=new id;return null!=this.layersControl&&(j=this.applyChanges(b,this.layersControl.addOverlay)),j}applyChanges(b,j){const te=new id;return null!=b&&this.zone.runOutsideAngular(()=>{b.forEachChangedItem(fe=>{this.layersControl.removeLayer(fe.previousValue),j.call(this.layersControl,fe.currentValue,fe.key),te.layersChanged++}),b.forEachRemovedItem(fe=>{this.layersControl.removeLayer(fe.previousValue),te.layersRemoved++}),b.forEachAddedItem(fe=>{j.call(this.layersControl,fe.currentValue,fe.key),te.layersAdded++})}),te}}class o2{constructor(){this.baseLayers={},this.overlays={}}}class Oc{constructor(b,j,te){this.differs=j,this.zone=te,this.layersControlReady=new n.vpe,this.leafletDirective=new nd(b),this.controlLayers=new Mc(this.zone,this.layersControlReady),this.baseLayersDiffer=this.differs.find({}).create(),this.overlaysDiffer=this.differs.find({}).create()}set layersControlConfig(b){null==b&&(b=new o2),null==b.baseLayers&&(b.baseLayers={}),null==b.overlays&&(b.overlays={}),this.layersControlConfigValue=b,this.updateLayers()}get layersControlConfig(){return this.layersControlConfigValue}ngOnInit(){this.leafletDirective.init(),this.zone.runOutsideAngular(()=>{this.controlLayers.init({},this.layersControlOptions).addTo(this.leafletDirective.getMap())}),this.updateLayers()}ngOnDestroy(){this.layersControlConfig={baseLayers:{},overlays:{}},this.controlLayers.getLayersControl().remove()}ngDoCheck(){this.updateLayers()}updateLayers(){const b=this.leafletDirective.getMap(),j=this.controlLayers.getLayersControl();if(null!=b&&null!=j){if(null!=this.baseLayersDiffer&&null!=this.layersControlConfigValue.baseLayers){const te=this.baseLayersDiffer.diff(this.layersControlConfigValue.baseLayers);this.controlLayers.applyBaseLayerChanges(te)}if(null!=this.overlaysDiffer&&null!=this.layersControlConfigValue.overlays){const te=this.overlaysDiffer.diff(this.layersControlConfigValue.overlays);this.controlLayers.applyOverlayChanges(te)}}}}Oc.\u0275fac=function(b){return new(b||Oc)(n.Y36(ea),n.Y36(n.aQg),n.Y36(n.R0b))},Oc.\u0275dir=n.lG2({type:Oc,selectors:[["","leafletLayersControl",""]],inputs:{layersControlConfig:["leafletLayersControl","layersControlConfig"],layersControlOptions:["leafletLayersControlOptions","layersControlOptions"]},outputs:{layersControlReady:"leafletLayersControlReady"}});class rd{constructor(b,j,te){this.differs=j,this.zone=te,this.layersControlReady=new n.vpe,this.leafletDirective=new nd(b),this.controlLayers=new Mc(this.zone,this.layersControlReady),this.baseLayersDiffer=this.differs.find({}).create()}set baseLayers(b){this.baseLayersValue=b,this.updateBaseLayers()}get baseLayers(){return this.baseLayersValue}ngOnDestroy(){this.baseLayers={},null!=this.controlLayers.getLayersControl()&&this.controlLayers.getLayersControl().remove()}ngOnInit(){this.leafletDirective.init(),this.zone.runOutsideAngular(()=>{this.controlLayers.init({},this.layersControlOptions).addTo(this.leafletDirective.getMap())}),this.updateBaseLayers()}ngDoCheck(){this.updateBaseLayers()}updateBaseLayers(){const b=this.leafletDirective.getMap(),j=this.controlLayers.getLayersControl();if(null!=b&&null!=j&&null!=this.baseLayersDiffer){const te=this.baseLayersDiffer.diff(this.baseLayersValue);this.controlLayers.applyBaseLayerChanges(te).changed()&&this.syncBaseLayer()}}syncBaseLayer(){const b=this.leafletDirective.getMap(),j=ms.mapToArray(this.baseLayers);let te;b.eachLayer(fe=>{te=j.find(ue=>fe===ue)}),null!=te?this.baseLayer=te:j.length>0&&(this.baseLayer=j[0],this.zone.runOutsideAngular(()=>{this.baseLayer.addTo(b)}))}}rd.\u0275fac=function(b){return new(b||rd)(n.Y36(ea),n.Y36(n.aQg),n.Y36(n.R0b))},rd.\u0275dir=n.lG2({type:rd,selectors:[["","leafletBaseLayers",""]],inputs:{baseLayers:["leafletBaseLayers","baseLayers"],layersControlOptions:["leafletLayersControlOptions","layersControlOptions"]},outputs:{layersControlReady:"leafletLayersControlReady"}});class qc{}qc.\u0275fac=function(b){return new(b||qc)},qc.\u0275mod=n.oAB({type:qc,declarations:[ea,S1,W1,Oc,rd],exports:[ea,S1,W1,Oc,rd]}),qc.\u0275inj=n.cJS({});B(12337);class od{constructor(b){this.markerData=[],this.markerClusterReady=new n.vpe,this.leafletDirective=new nd(b)}ngOnInit(){this.leafletDirective.init();const b=this.leafletDirective.getMap();this.markerClusterGroup=As.markerClusterGroup(this.markerClusterOptions),this.markerClusterGroup.addTo(b),this.setData(this.markerData),this.markerClusterReady.emit(this.markerClusterGroup)}ngOnChanges(b){b.markerData&&this.setData(this.markerData)}setData(b){null!=this.markerClusterGroup&&(this.markerClusterGroup.clearLayers(),this.markerClusterGroup.addLayers(b))}}od.\u0275fac=function(b){return new(b||od)(n.Y36(ea))},od.\u0275dir=n.lG2({type:od,selectors:[["","leafletMarkerCluster",""]],inputs:{markerData:["leafletMarkerCluster","markerData"],markerClusterOptions:["leafletMarkerClusterOptions","markerClusterOptions"]},outputs:{markerClusterReady:"leafletMarkerClusterReady"},features:[n.TTD]});class Pc{}Pc.\u0275fac=function(b){return new(b||Pc)},Pc.\u0275mod=n.oAB({type:Pc,declarations:[od],exports:[od]}),Pc.\u0275inj=n.cJS({});B(91234);class se{constructor(b,j){this.zone=j,this.drawOptions=null,this.drawLocal=null,this.drawReady=new n.vpe,this.onDrawCreated=new n.vpe,this.onDrawEdited=new n.vpe,this.onDrawDeleted=new n.vpe,this.onDrawStart=new n.vpe,this.onDrawStop=new n.vpe,this.onDrawVertex=new n.vpe,this.onDrawEditStart=new n.vpe,this.onDrawEditMove=new n.vpe,this.onDrawEditResize=new n.vpe,this.onDrawEditVertex=new n.vpe,this.onDrawEditStop=new n.vpe,this.onDrawDeleteStart=new n.vpe,this.onDrawDeleteStop=new n.vpe,this.onDrawToolbarOpened=new n.vpe,this.onDrawToolbarClosed=new n.vpe,this.onDrawMarkerContext=new n.vpe,this.leafletDirective=new nd(b)}ngOnInit(){this.leafletDirective.init(),null!=this.drawLocal&&class Ns{static deepLiteralCopy(b,j){const te=b;if(null!=j)for(const fe in j)j.hasOwnProperty(fe)&&("string"==typeof j[fe]||j[fe]instanceof String?te[fe]=j[fe]:this.deepLiteralCopy(te[fe],j[fe]));return te}}.deepLiteralCopy(As.drawLocal,this.drawLocal),this.drawControl=new As.Control.Draw(this.drawOptions),this.leafletDirective.getMap().addControl(this.drawControl);const b=this.leafletDirective.getMap();b.on(As.Draw.Event.CREATED,j=>ms.handleEvent(this.zone,this.onDrawCreated,j)),b.on(As.Draw.Event.EDITED,j=>ms.handleEvent(this.zone,this.onDrawEdited,j)),b.on(As.Draw.Event.DELETED,j=>ms.handleEvent(this.zone,this.onDrawDeleted,j)),b.on(As.Draw.Event.DRAWSTART,j=>ms.handleEvent(this.zone,this.onDrawStart,j)),b.on(As.Draw.Event.DRAWSTOP,j=>ms.handleEvent(this.zone,this.onDrawStop,j)),b.on(As.Draw.Event.EDITSTART,j=>ms.handleEvent(this.zone,this.onDrawEditStart,j)),b.on(As.Draw.Event.EDITMOVE,j=>ms.handleEvent(this.zone,this.onDrawEditMove,j)),b.on(As.Draw.Event.EDITRESIZE,j=>ms.handleEvent(this.zone,this.onDrawEditResize,j)),b.on(As.Draw.Event.EDITVERTEX,j=>ms.handleEvent(this.zone,this.onDrawEditVertex,j)),b.on(As.Draw.Event.EDITSTOP,j=>ms.handleEvent(this.zone,this.onDrawEditStop,j)),b.on(As.Draw.Event.DELETESTART,j=>ms.handleEvent(this.zone,this.onDrawDeleteStart,j)),b.on(As.Draw.Event.DELETESTOP,j=>ms.handleEvent(this.zone,this.onDrawDeleteStop,j)),b.on(As.Draw.Event.TOOLBAROPENED,j=>ms.handleEvent(this.zone,this.onDrawToolbarOpened,j)),b.on(As.Draw.Event.TOOLBARCLOSED,j=>ms.handleEvent(this.zone,this.onDrawToolbarClosed,j)),this.drawReady.emit(this.drawControl)}ngOnDestroy(){this.leafletDirective.getMap().removeControl(this.drawControl)}getDrawControl(){return this.drawControl}}se.\u0275fac=function(b){return new(b||se)(n.Y36(ea),n.Y36(n.R0b))},se.\u0275dir=n.lG2({type:se,selectors:[["","leafletDraw",""]],inputs:{drawOptions:["leafletDrawOptions","drawOptions"],drawLocal:["leafletDrawLocal","drawLocal"]},outputs:{drawReady:"leafletDrawReady",onDrawCreated:"leafletDrawCreated",onDrawEdited:"leafletDrawEdited",onDrawDeleted:"leafletDrawDeleted",onDrawStart:"leafletDrawStart",onDrawStop:"leafletDrawStop",onDrawVertex:"leafletDrawVertex",onDrawEditStart:"leafletDrawEditStart",onDrawEditMove:"leafletDrawEditMove",onDrawEditResize:"leafletDrawEditResize",onDrawEditVertex:"leafletDrawEditVertex",onDrawEditStop:"leafletDrawEditStop",onDrawDeleteStart:"leafletDrawDeleteStart",onDrawDeleteStop:"leafletDrawDeleteStop",onDrawToolbarOpened:"leafletDrawToolbarOpened",onDrawToolbarClosed:"leafletDrawToolbarClosed",onDrawMarkerContext:"leafletDrawMarkerContext"}});class Te{}Te.\u0275fac=function(b){return new(b||Te)},Te.\u0275mod=n.oAB({type:Te,declarations:[se],imports:[qc],exports:[se]}),Te.\u0275inj=n.cJS({imports:[[qc]]});function fs(J,b,j,te){return new(j||(j=Promise))(function(ue,je){function nt(vi){try{ei(te.next(vi))}catch(Gi){je(Gi)}}function Un(vi){try{ei(te.throw(vi))}catch(Gi){je(Gi)}}function ei(vi){vi.done?ue(vi.value):function fe(ue){return ue instanceof j?ue:new j(function(je){je(ue)})}(vi.value).then(nt,Un)}ei((te=te.apply(J,b||[])).next())})}Object.create;Object.create;var zc=B(10328),i3=B(52822),I3=B(64398);class sd{constructor(b){this.changes=b}static of(b){return new sd(b)}notEmpty(b){if(this.changes[b]){const j=this.changes[b].currentValue;if(null!=j)return(0,C.of)(j)}return x.E}has(b){if(this.changes[b]){const j=this.changes[b].currentValue;return(0,C.of)(j)}return x.E}notFirst(b){if(this.changes[b]&&!this.changes[b].isFirstChange()){const j=this.changes[b].currentValue;return(0,C.of)(j)}return x.E}notFirstAndEmpty(b){if(this.changes[b]&&!this.changes[b].isFirstChange()){const j=this.changes[b].currentValue;if(null!=j)return(0,C.of)(j)}return x.E}}const s2=new n.OlP("NGX_ECHARTS_CONFIG");class tc{constructor(b,j,te){this.el=j,this.ngZone=te,this.autoResize=!0,this.loadingType="default",this.chartInit=new n.vpe,this.optionsError=new n.vpe,this.chartClick=this.createLazyEvent("click"),this.chartDblClick=this.createLazyEvent("dblclick"),this.chartMouseDown=this.createLazyEvent("mousedown"),this.chartMouseMove=this.createLazyEvent("mousemove"),this.chartMouseUp=this.createLazyEvent("mouseup"),this.chartMouseOver=this.createLazyEvent("mouseover"),this.chartMouseOut=this.createLazyEvent("mouseout"),this.chartGlobalOut=this.createLazyEvent("globalout"),this.chartContextMenu=this.createLazyEvent("contextmenu"),this.chartLegendSelectChanged=this.createLazyEvent("legendselectchanged"),this.chartLegendSelected=this.createLazyEvent("legendselected"),this.chartLegendUnselected=this.createLazyEvent("legendunselected"),this.chartLegendScroll=this.createLazyEvent("legendscroll"),this.chartDataZoom=this.createLazyEvent("datazoom"),this.chartDataRangeSelected=this.createLazyEvent("datarangeselected"),this.chartTimelineChanged=this.createLazyEvent("timelinechanged"),this.chartTimelinePlayChanged=this.createLazyEvent("timelineplaychanged"),this.chartRestore=this.createLazyEvent("restore"),this.chartDataViewChanged=this.createLazyEvent("dataviewchanged"),this.chartMagicTypeChanged=this.createLazyEvent("magictypechanged"),this.chartPieSelectChanged=this.createLazyEvent("pieselectchanged"),this.chartPieSelected=this.createLazyEvent("pieselected"),this.chartPieUnselected=this.createLazyEvent("pieunselected"),this.chartMapSelectChanged=this.createLazyEvent("mapselectchanged"),this.chartMapSelected=this.createLazyEvent("mapselected"),this.chartMapUnselected=this.createLazyEvent("mapunselected"),this.chartAxisAreaSelected=this.createLazyEvent("axisareaselected"),this.chartFocusNodeAdjacency=this.createLazyEvent("focusnodeadjacency"),this.chartUnfocusNodeAdjacency=this.createLazyEvent("unfocusnodeadjacency"),this.chartBrush=this.createLazyEvent("brush"),this.chartBrushEnd=this.createLazyEvent("brushend"),this.chartBrushSelected=this.createLazyEvent("brushselected"),this.chartRendered=this.createLazyEvent("rendered"),this.chartFinished=this.createLazyEvent("finished"),this.animationFrameID=null,this.resize$=new s.xQ,this.echarts=b.echarts}ngOnChanges(b){const j=sd.of(b);j.notFirstAndEmpty("options").subscribe(te=>this.onOptionsChange(te)),j.notFirstAndEmpty("merge").subscribe(te=>this.setOption(te)),j.has("loading").subscribe(te=>this.toggleLoading(!!te)),j.notFirst("theme").subscribe(()=>this.refreshChart())}ngOnInit(){if(!window.ResizeObserver)throw new Error("please install a polyfill for ResizeObserver");this.resizeSub=this.resize$.pipe((0,I3.p)(100,zc.z,{leading:!1,trailing:!0})).subscribe(()=>this.resize()),this.autoResize&&(this.resizeOb=this.ngZone.runOutsideAngular(()=>new window.ResizeObserver(()=>{this.animationFrameID=window.requestAnimationFrame(()=>this.resize$.next())})),this.resizeOb.observe(this.el.nativeElement))}ngOnDestroy(){window.clearTimeout(this.initChartTimer),this.resizeSub&&this.resizeSub.unsubscribe(),this.animationFrameID&&window.cancelAnimationFrame(this.animationFrameID),this.resizeOb&&this.resizeOb.unobserve(this.el.nativeElement),this.dispose()}ngAfterViewInit(){this.initChartTimer=window.setTimeout(()=>this.initChart())}dispose(){this.chart&&(this.chart.isDisposed()||this.chart.dispose(),this.chart=null)}resize(){this.chart&&this.chart.resize()}toggleLoading(b){this.chart&&(b?this.chart.showLoading(this.loadingType,this.loadingOpts):this.chart.hideLoading())}setOption(b,j){if(this.chart)try{this.chart.setOption(b,j)}catch(te){console.error(te),this.optionsError.emit(te)}}refreshChart(){return fs(this,void 0,void 0,function*(){this.dispose(),yield this.initChart()})}createChart(){const b=this.el.nativeElement;if(window&&window.getComputedStyle){const j=window.getComputedStyle(b,null).getPropertyValue("height");(!j||"0px"===j)&&(!b.style.height||"0px"===b.style.height)&&(b.style.height="400px")}return this.ngZone.runOutsideAngular(()=>("function"==typeof this.echarts?this.echarts:()=>Promise.resolve(this.echarts))().then(({init:te})=>te(b,this.theme,this.initOpts)))}initChart(){return fs(this,void 0,void 0,function*(){yield this.onOptionsChange(this.options),this.merge&&this.chart&&this.setOption(this.merge)})}onOptionsChange(b){return fs(this,void 0,void 0,function*(){!b||(this.chart||(this.chart=yield this.createChart(),this.chartInit.emit(this.chart)),this.setOption(this.options,!0))})}createLazyEvent(b){return this.chartInit.pipe((0,z.w)(j=>new i3.y(te=>(j.on(b,fe=>this.ngZone.run(()=>te.next(fe))),()=>{this.chart&&(this.chart.isDisposed()||j.off(b))}))))}}tc.\u0275fac=function(b){return new(b||tc)(n.Y36(s2),n.Y36(n.SBq),n.Y36(n.R0b))},tc.\u0275dir=n.lG2({type:tc,selectors:[["echarts"],["","echarts",""]],inputs:{options:"options",theme:"theme",loading:"loading",initOpts:"initOpts",merge:"merge",autoResize:"autoResize",loadingType:"loadingType",loadingOpts:"loadingOpts"},outputs:{chartInit:"chartInit",optionsError:"optionsError",chartClick:"chartClick",chartDblClick:"chartDblClick",chartMouseDown:"chartMouseDown",chartMouseMove:"chartMouseMove",chartMouseUp:"chartMouseUp",chartMouseOver:"chartMouseOver",chartMouseOut:"chartMouseOut",chartGlobalOut:"chartGlobalOut",chartContextMenu:"chartContextMenu",chartLegendSelectChanged:"chartLegendSelectChanged",chartLegendSelected:"chartLegendSelected",chartLegendUnselected:"chartLegendUnselected",chartLegendScroll:"chartLegendScroll",chartDataZoom:"chartDataZoom",chartDataRangeSelected:"chartDataRangeSelected",chartTimelineChanged:"chartTimelineChanged",chartTimelinePlayChanged:"chartTimelinePlayChanged",chartRestore:"chartRestore",chartDataViewChanged:"chartDataViewChanged",chartMagicTypeChanged:"chartMagicTypeChanged",chartPieSelectChanged:"chartPieSelectChanged",chartPieSelected:"chartPieSelected",chartPieUnselected:"chartPieUnselected",chartMapSelectChanged:"chartMapSelectChanged",chartMapSelected:"chartMapSelected",chartMapUnselected:"chartMapUnselected",chartAxisAreaSelected:"chartAxisAreaSelected",chartFocusNodeAdjacency:"chartFocusNodeAdjacency",chartUnfocusNodeAdjacency:"chartUnfocusNodeAdjacency",chartBrush:"chartBrush",chartBrushEnd:"chartBrushEnd",chartBrushSelected:"chartBrushSelected",chartRendered:"chartRendered",chartFinished:"chartFinished"},exportAs:["echarts"],features:[n.TTD]});class ua{static forRoot(b){return{ngModule:ua,providers:[{provide:s2,useValue:b}]}}static forChild(){return{ngModule:ua}}}ua.\u0275fac=function(b){return new(b||ua)},ua.\u0275mod=n.oAB({type:ua,declarations:[tc],exports:[tc]}),ua.\u0275inj=n.cJS({imports:[[]]});var xa=B(3518);let za=class{constructor(b){this.configService=b,this.configService.observableConfig.subscribe(j=>{this.config=j})}transform(b,j,te){let fe="";try{fe=this.config[j].observation.state[b].label}catch(ue){fe="Ukjent"}return fe}};za.ctorParameters=()=>[{type:xa.F}],za=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsState"})],za);let P2=class{constructor(b){this.configService=b,this.configService.observableConfig.subscribe(j=>{this.config=j})}transform(b,j){let te="";if(""===b||void 0===b)return"NA";try{te=this.config[j].observation.types[b].label}catch(fe){te="Ukjent"}return te}};P2.ctorParameters=()=>[{type:xa.F}],P2=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsType"})],P2);let Id=class{transform(b){let j=[];for(let te of Object.keys(b))j.push(b[te]);return j}};Id=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsPeople"})],Id);let k1=class{constructor(b){this._sanitizer=b}transform(b,j="html"){switch(j){case"html":return this._sanitizer.bypassSecurityTrustHtml(b);case"style":return this._sanitizer.bypassSecurityTrustStyle(b);case"script":return this._sanitizer.bypassSecurityTrustScript(b);case"url":return this._sanitizer.bypassSecurityTrustUrl(b);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(b);default:throw new Error(`Invalid safe type specified: ${j}`)}}};k1.ctorParameters=()=>[{type:Ya.H7}],k1=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"safe"})],k1);let L1=class{constructor(){}transform(b=null,j=null,te="Single-And-StartsWith-Match",fe=!1,ue="search-highlight"){if(j&&b&&te){let je="",nt=fe?"":"i";switch(te){case"Single-Match":je=new RegExp(j,nt);break;case"Single-And-StartsWith-Match":je=new RegExp("^"+j,nt);break;case"Multi-Match":je=new RegExp(j,"g"+nt);break;default:je=new RegExp(j,"gi")}return b.replace(je,ei=>`<span class="${ue}">${ei}</span>`)}return b}};function Al(J){return void 0===J}function ic(J){return null===J}function Ru(J){return"number"==typeof J}function Ol(J){return Ru(J)&&isFinite(J)}function Ca(J){return null==J}function Hs(J){return"string"==typeof J}function hc(J){return null!==J&&"object"==typeof J}function jr(J){return Array.isArray(J)}function yl(J){return"function"==typeof J}function r3(J,b){return Math.round(J*Math.pow(10,b))/Math.pow(10,b)}function wa(J){return J.slice(0,1).toUpperCase()+J.slice(1)}function cl(J){const b=Math[J];return function(j,te=0){if("string"==typeof j)throw new TypeError("Rounding method needs a number");if(("number"!=typeof te||isNaN(te))&&(te=0),te){let fe=`${j}e`.split("e");return fe=`${b(`${fe[0]}e`+(+fe[1]+te))}e`.split("e"),+(fe[0]+"e"+(+fe[1]-te))}return b(j)}}function Nu(J,b=0,j=" "){J=String(J),j=Rc(j);let te=-1;const fe=b-J.length;for(;++te<fe&&J.length+j.length<=b;)J=j+J;return J}function Od(J,b=0,j=" "){J=String(J),j=Rc(j);let te=-1;const fe=b-J.length;for(;++te<fe&&J.length+j.length<=b;)J+=j;return J}function Rc(J){return`${J}`}function ld(J,b=0){return b>=J.length?J:jr(J[b])?ld(J.slice(0,b).concat(J[b],J.slice(b+1)),b):ld(J,b+1)}function du(J,b){if(Ca(J)||!hc(J))return;const j=b.split(".");let te=J[j.shift()];for(const fe of j){if(Ca(te)||!hc(te))return;te=te[fe]}return te}function Hu(J,b=0){return J.reduce((j,te)=>j+te,b)}function $1(J,b){let j=-1;const te=J.length;for(;++j<te;)if(E1(b,J[j]))return j;return-1}function E1(J,b){if(J===b)return!0;if("object"!=typeof J||"object"!=typeof b)return J===b;const j=Object.keys(J),te=Object.keys(b);if(j.length!==te.length)return!1;var fe=Object.prototype.hasOwnProperty;for(let ue=0;ue<j.length;ue++){const je=j[ue];if(!fe.call(b,j[ue])||!E1(J[je],b[je]))return!1}return!0}function Ul(J){return J.__isDeepObject__}function W4(J){return Ul(J)?J.data:J}L1.SINGLE_MATCH="Single-Match",L1.SINGLE_AND_STARTS_WITH_MATCH="Single-And-StartsWith-Match",L1.MULTI_MATCH="Multi-Match",L1.ctorParameters=()=>[],L1=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"highliteText"})],L1);class G4{constructor(b){this.data=b,this.__isDeepObject__=!0}}function c2(J,b){let j=-1;const te=[];for(;++j<J.length&&!b(J[j],j,J);)te[j]=J[j];return te}let O3=class{transform(b,j){if(!jr(b))return b;const te={};for(const fe of b){const ue=du(fe,j);Al(te[ue])&&(te[ue]=[]),te[ue].push(fe)}return Object.keys(te).map(fe=>({key:fe,value:te[fe]}))}};O3.\u0275fac=function(b){return new(b||O3)},O3.\u0275pipe=n.Yjl({name:"groupBy",type:O3,pure:!0});let Kc=class{transform(b){if(!jr(b))return b;if(0===b.length)return;let j=b[0];return b.forEach(te=>{j<te&&(j=te)}),j}};Kc.\u0275fac=function(b){return new(b||Kc)},Kc.\u0275pipe=n.Yjl({name:"max",type:Kc,pure:!0});let uu=class{transform(b){if(!jr(b))return b;const j=b.length;return 0!==j?Hu(b)/j:void 0}};uu.\u0275fac=function(b){return new(b||uu)},uu.\u0275pipe=n.Yjl({name:"mean",type:uu,pure:!0});let hu=class{transform(b){if(!jr(b))return b;if(0===b.length)return;let j=b[0];return b.forEach(te=>{j>te&&(j=te)}),j}};hu.\u0275fac=function(b){return new(b||hu)},hu.\u0275pipe=n.Yjl({name:"min",type:hu,pure:!0});let m1=class{transform(b){return jr(b)?Hu(b):b}};m1.\u0275fac=function(b){return new(b||m1)},m1.\u0275pipe=n.Yjl({name:"sum",type:m1,pure:!0});let d2=class{};d2.\u0275fac=function(b){return new(b||d2)},d2.\u0275mod=n.oAB({type:d2}),d2.\u0275inj=n.cJS({});let No=class{transform(b){return function dd(J){return jr(J)?0===J.length:J}(b)}};No.\u0275fac=function(b){return new(b||No)},No.\u0275pipe=n.Yjl({name:"empty",type:No,pure:!0});let u2=class{transform(b){return jr(b)?b[0]:b}};u2.\u0275fac=function(b){return new(b||u2)},u2.\u0275pipe=n.Yjl({name:"head",type:u2,pure:!0});let h2=class{transform(b){return jr(b)?b.slice(0,b.length-1):b}};h2.\u0275fac=function(b){return new(b||h2)},h2.\u0275pipe=n.Yjl({name:"initial",type:h2,pure:!0});let Xs=class{transform(b){return jr(b)?b[b.length-1]:b}};Xs.\u0275fac=function(b){return new(b||Xs)},Xs.\u0275pipe=n.Yjl({name:"last",type:Xs,pure:!0});let f2=class{transform(b,j=""){return jr(b)?b.join(j):b}};f2.\u0275fac=function(b){return new(b||f2)},f2.\u0275pipe=n.Yjl({name:"join",type:f2,pure:!0});let K1=class{transform(b){return jr(b)?b.slice(1,b.length):b}};K1.\u0275fac=function(b){return new(b||K1)},K1.\u0275pipe=n.Yjl({name:"tail",type:K1,pure:!0});let z2=class{transform(b){if(!jr(b)&&!Ul(b))return b;if(Ul(b)){const j=W4(b);return jr(j)?j.filter((te,fe)=>$1(j,te)===fe):j}return b.filter((j,te)=>b.indexOf(j)===te)}};z2.\u0275fac=function(b){return new(b||z2)},z2.\u0275pipe=n.Yjl({name:"uniq",type:z2,pure:!0});let rc=class{transform(b,...j){if(!jr(b)&&!Ul(b))return b;if(Ul(b)){const te=W4(b);return jr(te)?te.filter(fe=>-1===$1(j,fe)):te}return b.filter(te=>-1===j.indexOf(te))}};rc.\u0275fac=function(b){return new(b||rc)},rc.\u0275pipe=n.Yjl({name:"without",type:rc,pure:!0});let a4=class{transform(b,j){return jr(b)&&j?b.map(j):b}};a4.\u0275fac=function(b){return new(b||a4)},a4.\u0275pipe=n.Yjl({name:"map",type:a4,pure:!0});let xl=class{transform(b,j){if(!jr(b))return b;if(yl(j))return b.filter(j);if(jr(j)){const[te,fe]=j;return b.filter(ue=>du(ue,te)===fe)}return j?b.filter(te=>te===j):b}};var Z1;xl.\u0275fac=function(b){return new(b||xl)},xl.\u0275pipe=n.Yjl({name:"where",type:xl,pure:!0});let Pd=Z1=class{static find(b,j,te){let ue,fe=!1,je=-1;for(;!fe&&++je<b.length;)fe=j(b[je],je,b);return fe&&(ue=b[je]),void 0===ue&&void 0!==te&&(ue=te),ue}transform(b,j,te){if(!jr(b))return b;if(yl(j))return Z1.find(b,j,te);if(jr(j)){const[fe,ue]=j;return Z1.find(b,je=>du(je,fe)===ue,te)}return j?Z1.find(b,fe=>fe===j,te):b}};Pd.\u0275fac=function(b){return new(b||Pd)},Pd.\u0275pipe=n.Yjl({name:"firstOrDefault",type:Pd,pure:!0});let zd=class{transform(b,j=0,te=1,fe=1){const ue=[];for(let je=0;je<j;++je)ue.push(te),te+=fe;return ue}};zd.\u0275fac=function(b){return new(b||zd)},zd.\u0275pipe=n.Yjl({name:"range",type:zd,pure:!0});let go=class{transform(b,j){return jr(b)&&j?b.map(te=>du(te,j)):b}};go.\u0275fac=function(b){return new(b||go)},go.\u0275pipe=n.Yjl({name:"pluck",type:go,pure:!0});let s3=class{transform(b){return jr(b)?[...b].reverse():b}};var l4;s3.\u0275fac=function(b){return new(b||s3)},s3.\u0275pipe=n.Yjl({name:"reverse",type:s3,pure:!0});let Rd=l4=class{static _orderBy(b,j){if(b instanceof Date&&j instanceof Date)return b<j?-1:b>j?1:0;const te=parseFloat(b),fe=parseFloat(j);if("string"==typeof b&&"string"==typeof j&&(isNaN(te)||isNaN(fe))){const ue=b.toLowerCase(),je=j.toLowerCase();return ue<je?-1:ue>je?1:0}return te<fe?-1:te>fe?1:0}transform(b,j="+"){if(!jr(b))return b;const te=jr(j);if(!te||te&&1===j.length){const fe=te?j[0]:j,ue=fe.substr(0,1),je="-"===ue;if(!fe||"-"===fe||"+"===fe)return[...b].sort((nt,Un)=>{const ei=l4._orderBy(nt,Un);return je?-ei:ei});{const nt="+"===ue||je?fe.substr(1):fe;return[...b].sort((Un,ei)=>{const vi=l4._orderBy(Un[nt],ei[nt]);return je?-vi:vi})}}return[...b].sort((fe,ue)=>{for(let je=0;je<j.length;++je){const nt=j[je].substr(0,1),Un="-"===nt,ei="+"===nt||Un?j[je].substr(1):j[je],vi=l4._orderBy(fe[ei],ue[ei]),Gi=Un?-vi:vi;if(0!==Gi)return Gi}return 0})}};Rd.\u0275fac=function(b){return new(b||Rd)},Rd.\u0275pipe=n.Yjl({name:"orderBy",type:Rd,pure:!0});let fu=class{transform(b){return function cd(J){return jr(J)||hc(J)||Hs(J)?hc(J)?Object.keys(J).map(b=>J[b]).length:J.length:J}(b)}};fu.\u0275fac=function(b){return new(b||fu)},fu.\u0275pipe=n.Yjl({name:"count",type:fu,pure:!0});let Bu=class{transform(b,j){if(!jr(b)||!j)return b;let te=!1,fe=-1;for(;++fe<b.length&&!te;)te=j(b[fe],fe,b);return te}};Bu.\u0275fac=function(b){return new(b||Bu)},Bu.\u0275pipe=n.Yjl({name:"some",type:Bu,pure:!0});let Nd=class{transform(b,j){return function D1(J,b){if(!jr(J)||!b)return J;let j=!0,te=-1;for(;++te<J.length&&j;)j=b(J[te],te,J);return j}(b,j)}};Nd.\u0275fac=function(b){return new(b||Nd)},Nd.\u0275pipe=n.Yjl({name:"every",type:Nd,pure:!0});let Cl=class{transform(b){return function A3(J){if(!jr(J))return J;const b=[...J];for(let j=b.length;j;--j){const te=Math.floor(Math.random()*j),fe=b[j-1];b[j-1]=b[te],b[te]=fe}return b}(b)}};Cl.\u0275fac=function(b){return new(b||Cl)},Cl.\u0275pipe=n.Yjl({name:"shuffle",type:Cl,pure:!0});let Nc=class{transform(b,j){return jr(b)?b.slice(0,j||1):b}};Nc.\u0275fac=function(b){return new(b||Nc)},Nc.\u0275pipe=n.Yjl({name:"take",type:Nc,pure:!0});let ud=class{transform(b,j){return jr(b)?b.slice(j||1,b.lenth):b}};ud.\u0275fac=function(b){return new(b||ud)},ud.\u0275pipe=n.Yjl({name:"drop",type:ud,pure:!0});let hd=class{transform(b){return Ul(b)?b:function o3(J){return new G4(J)}(b)}};hd.\u0275fac=function(b){return new(b||hd)},hd.\u0275pipe=n.Yjl({name:"deep",type:hd,pure:!0});let Hc=class{transform(b,j=1){return jr(b)?[].concat.apply([],b.map((te,fe)=>fe%j?[]:[b.slice(fe,fe+j)])):b}};Hc.\u0275fac=function(b){return new(b||Hc)},Hc.\u0275pipe=n.Yjl({name:"chunk",type:Hc,pure:!0});let Hd=class{transform(b){const j=Ul(b);if(!jr(b)&&!j)return b;if(j){const te=W4(b);return jr(te)?ld(te,0):te}return[].concat.apply([],b)}};Hd.\u0275fac=function(b){return new(b||Hd)},Hd.\u0275pipe=n.Yjl({name:"flatten",type:Hd,pure:!0});let Tc=class{transform(b,j){if(!jr(b)&&!Ul(b)||!jr(j))return[];if(Ul(b)){const te=W4(b);return jr(te)?te.reduce((fe,ue)=>fe.concat(-1!==$1(j,ue)&&-1===$1(fe,ue)?ue:[]),[]):[]}return b.reduce((te,fe)=>te.concat(-1!==j.indexOf(fe)&&-1===te.indexOf(fe)?fe:[]),[])}};Tc.\u0275fac=function(b){return new(b||Tc)},Tc.\u0275pipe=n.Yjl({name:"intersection",type:Tc,pure:!0});let Yl=class{transform(b,j){if(!jr(b)&&!Ul(b)||!jr(j))return[];if(Ul(b)){const te=W4(b);return jr(te)?[].concat(te).concat(j).filter((fe,ue,je)=>$1(je,fe)===ue):[]}return[].concat(b).concat(j).filter((te,fe,ue)=>ue.indexOf(te)===fe)}};Yl.\u0275fac=function(b){return new(b||Yl)},Yl.\u0275pipe=n.Yjl({name:"union",type:Yl,pure:!0});let ju=class{transform(b,j){return!jr(b)||Ca(j)?b:function s4(J,b){return c2(J,(j,te,fe)=>!b(j,te,fe))}(b,j)}};ju.\u0275fac=function(b){return new(b||ju)},ju.\u0275pipe=n.Yjl({name:"takeWhile",type:ju,pure:!0});let fc=class{transform(b,j){return!jr(b)||Ca(j)?b:c2(b,j)}};fc.\u0275fac=function(b){return new(b||fc)},fc.\u0275pipe=n.Yjl({name:"takeUntil",type:fc,pure:!0});let wl=class{};wl.\u0275fac=function(b){return new(b||wl)},wl.\u0275mod=n.oAB({type:wl}),wl.\u0275inj=n.cJS({});let Sc=class{transform(b,j){return b>j}};Sc.\u0275fac=function(b){return new(b||Sc)},Sc.\u0275pipe=n.Yjl({name:"greater",type:Sc,pure:!0});let I1=class{transform(b,j){return b>=j}};I1.\u0275fac=function(b){return new(b||I1)},I1.\u0275pipe=n.Yjl({name:"greaterOrEqual",type:I1,pure:!0});let a3=class{transform(b,j){return b<j}};a3.\u0275fac=function(b){return new(b||a3)},a3.\u0275pipe=n.Yjl({name:"less",type:a3,pure:!0});let Bd=class{transform(b,j){return b<=j}};Bd.\u0275fac=function(b){return new(b||Bd)},Bd.\u0275pipe=n.Yjl({name:"lessOrEqual",type:Bd,pure:!0});let p2=class{transform(b,j){return b==j}};p2.\u0275fac=function(b){return new(b||p2)},p2.\u0275pipe=n.Yjl({name:"equal",type:p2,pure:!0});let fd=class{transform(b,j){return b!=j}};fd.\u0275fac=function(b){return new(b||fd)},fd.\u0275pipe=n.Yjl({name:"notEqual",type:fd,pure:!0});let Zc=class{transform(b,j){return b===j}};Zc.\u0275fac=function(b){return new(b||Zc)},Zc.\u0275pipe=n.Yjl({name:"identical",type:Zc,pure:!0});let X1=class{transform(b,j){return b!==j}};X1.\u0275fac=function(b){return new(b||X1)},X1.\u0275pipe=n.Yjl({name:"notIdentical",type:X1,pure:!0});let jd=class{transform(b){return ic(b)}};jd.\u0275fac=function(b){return new(b||jd)},jd.\u0275pipe=n.Yjl({name:"isNull",type:jd,pure:!0});let q4=class{transform(b){return Al(b)}};q4.\u0275fac=function(b){return new(b||q4)},q4.\u0275pipe=n.Yjl({name:"isUndefined",type:q4,pure:!0});let Fd=class{transform(b){return Ca(b)}};Fd.\u0275fac=function(b){return new(b||Fd)},Fd.\u0275pipe=n.Yjl({name:"isNil",type:Fd,pure:!0});let A1=class{transform(b){return yl(b)}};A1.\u0275fac=function(b){return new(b||A1)},A1.\u0275pipe=n.Yjl({name:"isFunction",type:A1,pure:!0});let pd=class{transform(b){return Ru(b)}};pd.\u0275fac=function(b){return new(b||pd)},pd.\u0275pipe=n.Yjl({name:"isNumber",type:pd,pure:!0});let J1=class{transform(b){return Hs(b)}};J1.\u0275fac=function(b){return new(b||J1)},J1.\u0275pipe=n.Yjl({name:"isString",type:J1,pure:!0});let g2=class{transform(b){return jr(b)}};g2.\u0275fac=function(b){return new(b||g2)},g2.\u0275pipe=n.Yjl({name:"isArray",type:g2,pure:!0});let l3=class{transform(b){return hc(b)}};l3.\u0275fac=function(b){return new(b||l3)},l3.\u0275pipe=n.Yjl({name:"isObject",type:l3,pure:!0});let R2=class{transform(b){return!Al(b)}};R2.\u0275fac=function(b){return new(b||R2)},R2.\u0275pipe=n.Yjl({name:"isDefined",type:R2,pure:!0});let O1=class{};var Ga;O1.\u0275fac=function(b){return new(b||O1)},O1.\u0275mod=n.oAB({type:O1}),O1.\u0275inj=n.cJS({});let N2=Ga=class{transform(b,j=0,te="B",fe){if(!(Ol(b)&&Ol(j)&&function Ad(J){return J%1==0}(j)&&function cu(J){return J>=0}(j)))return b;let ue=b,je=te;for(;"B"!==je;)ue*=1024,je=Ga.formats[je].prev;if(fe){const nt=Ga.formats[fe],Un=r3(Ga.calculateResult(nt,ue),j);return Ga.formatResult(Un,fe)}for(const nt in Ga.formats)if(Ga.formats.hasOwnProperty(nt)){const Un=Ga.formats[nt];if(ue<Un.max){const ei=r3(Ga.calculateResult(Un,ue),j);return Ga.formatResult(ei,nt)}}}static formatResult(b,j){return`${b} ${j}`}static calculateResult(b,j){const te=b.prev?Ga.formats[b.prev]:void 0;return te?j/te.max:j}};N2.\u0275fac=function(b){return new(b||N2)},N2.\u0275pipe=n.Yjl({name:"bytes",type:N2,pure:!0}),N2.formats={B:{max:1024},kB:{max:Math.pow(1024,2),prev:"B"},KB:{max:Math.pow(1024,2),prev:"B"},MB:{max:Math.pow(1024,3),prev:"kB"},GB:{max:Math.pow(1024,4),prev:"MB"},TB:{max:Number.MAX_SAFE_INTEGER,prev:"GB"}};let pu=class{transform(b,j=0){return Hs(j)&&(j=parseInt(j)),cl("ceil")(b,j)}};pu.\u0275fac=function(b){return new(b||pu)},pu.\u0275pipe=n.Yjl({name:"ceil",type:pu,pure:!0});let Xc=class{transform(b,j=0){return Hs(j)&&(j=parseInt(j)),cl("floor")(b,j)}};Xc.\u0275fac=function(b){return new(b||Xc)},Xc.\u0275pipe=n.Yjl({name:"floor",type:Xc,pure:!0});let Fu=class{transform(b,j=0){return Hs(j)&&(j=parseInt(j)),cl("round")(b,j)}};Fu.\u0275fac=function(b){return new(b||Fu)},Fu.\u0275pipe=n.Yjl({name:"round",type:Fu,pure:!0});let H2=class{transform(b){return Ol(b)?180*b/Math.PI:"NaN"}};H2.\u0275fac=function(b){return new(b||H2)},H2.\u0275pipe=n.Yjl({name:"degrees",type:H2,pure:!0});let oc=class{transform(b){return Ol(b)?b*Math.PI/180:"NaN"}};oc.\u0275fac=function(b){return new(b||oc)},oc.\u0275pipe=n.Yjl({name:"radians",type:oc,pure:!0});let B2=class{transform(b,j=0,te=1){return Ol(j)&&Ol(te)?(j>te&&(te=j,j=0),Math.random()*(te-j)+j):b}};B2.\u0275fac=function(b){return new(b||B2)},B2.\u0275pipe=n.Yjl({name:"random",type:B2,pure:!0});let gu=class{transform(b){return Ol(b)?Math.sqrt(b):"NaN"}};gu.\u0275fac=function(b){return new(b||gu)},gu.\u0275pipe=n.Yjl({name:"sqrt",type:gu,pure:!0});let gd=class{transform(b,j=2){return Ol(b)?Math.pow(b,j):"NaN"}};gd.\u0275fac=function(b){return new(b||gd)},gd.\u0275pipe=n.Yjl({name:"pow",type:gd,pure:!0});let md=class{transform(b){return Ol(b)?Math.abs(b):"NaN"}};md.\u0275fac=function(b){return new(b||md)},md.\u0275pipe=n.Yjl({name:"abs",type:md,pure:!0});let vd=class{transform(b){if(!Ol(b))return"NaN";if(this.endsWithTenth(b))return b+"th";switch(b.toString().charAt(b.toString().length-1)){case"1":return b+"st";case"2":return b+"nd";case"3":return b+"rd";default:return b+"th"}}endsWithTenth(b){return"1"===b.toString().charAt(b.toString().length-2)}};vd.\u0275fac=function(b){return new(b||vd)},vd.\u0275pipe=n.Yjl({name:"ordinal",type:vd,pure:!0});let P1=class{};P1.\u0275fac=function(b){return new(b||P1)},P1.\u0275mod=n.oAB({type:P1}),P1.\u0275inj=n.cJS({});let _d=class{transform(b){return hc(b)?Object.keys(b):b}};_d.\u0275fac=function(b){return new(b||_d)},_d.\u0275pipe=n.Yjl({name:"keys",type:_d,pure:!0});let c4=class{transform(b){return hc(b)?Object.keys(b).map(j=>b[j]):b}};c4.\u0275fac=function(b){return new(b||c4)},c4.\u0275pipe=n.Yjl({name:"toArray",type:c4,pure:!0});let vs=class{transform(b,j){return hc(j)?Ca(b)?j:jr(b)?b.map(te=>hc(te)?Object.assign({},j,te):Ca(te)?j:te):hc(b)?Object.assign({},j,b):b:b}};vs.\u0275fac=function(b){return new(b||vs)},vs.\u0275pipe=n.Yjl({name:"defaults",type:vs,pure:!0});let j2=class{};j2.\u0275fac=function(b){return new(b||j2)},j2.\u0275mod=n.oAB({type:j2}),j2.\u0275inj=n.cJS({});let Vd=class{transform(b,j=0,te=" "){return Hs(b)?Nu(b,j,te):b}};Vd.\u0275fac=function(b){return new(b||Vd)},Vd.\u0275pipe=n.Yjl({name:"leftpad",type:Vd,pure:!0});let z1=class{transform(b,j,te){if(!Hs(b))return b;const fe=j instanceof RegExp?j:new RegExp(j,te);return b.match(fe)}};z1.\u0275fac=function(b){return new(b||z1)},z1.\u0275pipe=n.Yjl({name:"match",type:z1,pure:!0});let R1=class{transform(b,j=0,te=" "){return Hs(b)?function q1(J,b=0,j=" "){J=String(J),j=Rc(j);let te=-1;const fe=b-J.length;let ue=!0;for(;++te<fe;){const je=J.length+j.length<=b?J.length+j.length:J.length+1;J=ue?Nu(J,je,j):Od(J,je,j),ue=!ue}return J}(b,j,te):b}};R1.\u0275fac=function(b){return new(b||R1)},R1.\u0275pipe=n.Yjl({name:"pad",type:R1,pure:!0});let d4=class{transform(b,j,te){return!Hs(b)||Al(j)||Al(te)?b:b.replace(j,te)}};d4.\u0275fac=function(b){return new(b||d4)},d4.\u0275pipe=n.Yjl({name:"replace",type:d4,pure:!0});let bd=class{transform(b,j=0,te=" "){return Hs(b)?Od(b,j,te):b}};bd.\u0275fac=function(b){return new(b||bd)},bd.\u0275pipe=n.Yjl({name:"rightpad",type:bd,pure:!0});let ie=class{transform(b,j=" ",te){return Hs(b)?b.split(j,te):b}};ie.\u0275fac=function(b){return new(b||ie)},ie.\u0275pipe=n.Yjl({name:"split",type:ie,pure:!0});let I=class{transform(b,j,te){return Hs(b)&&j?(j instanceof RegExp?j:new RegExp(j,te)).test(b):b}};I.\u0275fac=function(b){return new(b||I)},I.\u0275pipe=n.Yjl({name:"test",type:I,pure:!0});let $=class{transform(b){return Hs(b)?b.trim():b}};$.\u0275fac=function(b){return new(b||$)},$.\u0275pipe=n.Yjl({name:"trim",type:$,pure:!0});let be=class{transform(b){return Hs(b)?b.replace(/(?:\r\n|\r|\n)/g,"<br />"):b}};be.\u0275fac=function(b){return new(b||be)},be.\u0275pipe=n.Yjl({name:"newlines",type:be,pure:!0});let Re=class{transform(b,j=!1){return Hs(b)?j?b.toLowerCase().split(" ").map(te=>wa(te)).join(" "):wa(b.toLowerCase()):b}};Re.\u0275fac=function(b){return new(b||Re)},Re.\u0275pipe=n.Yjl({name:"capitalize",type:Re,pure:!0});let dt=class{transform(b){return Hs(b)?wa(b):b}};dt.\u0275fac=function(b){return new(b||dt)},dt.\u0275pipe=n.Yjl({name:"upperfirst",type:dt,pure:!0});let Gt=class{transform(b,...j){if(!Hs(b)||0===j.length)return b;let te=b;for(let fe=0;fe<j.length;++fe)te=te.replace(`$${fe+1}`,j[fe]);return te}};Gt.\u0275fac=function(b){return new(b||Gt)},Gt.\u0275pipe=n.Yjl({name:"template",type:Gt,pure:!0});let Qt=class{transform(b){return Hs(b)?encodeURI(b):b}};Qt.\u0275fac=function(b){return new(b||Qt)},Qt.\u0275pipe=n.Yjl({name:"encodeURI",type:Qt,pure:!0});let sn=class{transform(b){return Hs(b)?encodeURIComponent(b):b}};sn.\u0275fac=function(b){return new(b||sn)},sn.\u0275pipe=n.Yjl({name:"encodeURIComponent",type:sn,pure:!0});let Vn=class{transform(b){return Hs(b)?decodeURI(b):b}};Vn.\u0275fac=function(b){return new(b||Vn)},Vn.\u0275pipe=n.Yjl({name:"decodeURI",type:Vn,pure:!0});let ni=class{transform(b){return Hs(b)?decodeURIComponent(b):b}};ni.\u0275fac=function(b){return new(b||ni)},ni.\u0275pipe=n.Yjl({name:"decodeURIComponent",type:ni,pure:!0});let Di=class{transform(b,j,te,fe){if(!Hs(b)||(j=Al(j)?b.length:j,b.length<=j))return b;te=te||"";let ue=j;return(fe=fe||!1)&&(ue=-1===b.indexOf(" ",j)?b.length:b.indexOf(" ",j)),b.substring(0,ue)+te}};Di.\u0275fac=function(b){return new(b||Di)},Di.\u0275pipe=n.Yjl({name:"truncate",type:Di,pure:!0});let sr=class{transform(b,j=1,te=""){if(!Hs(b))return b;j<=0&&(j=1);const fe=[b];for(let ue=1;ue<j;++ue)fe.push(b);return fe.join(te)}};sr.\u0275fac=function(b){return new(b||sr)},sr.\u0275pipe=n.Yjl({name:"repeat",type:sr,pure:!0});let dr=class{transform(b){return Hs(b)?b.toLowerCase().trim().replace(/[^a-z0-9\s-]/g," ").replace(/[\s-]+/g,"-"):b}};dr.\u0275fac=function(b){return new(b||dr)},dr.\u0275pipe=n.Yjl({name:"slugify",type:dr,pure:!0});let Co=class{transform(b){return!Hs(b)||Al(b)?b:b.replace(/<\S[^><]*>/g,"")}};Co.\u0275fac=function(b){return new(b||Co)},Co.\u0275pipe=n.Yjl({name:"stripTags",type:Co,pure:!0});let Kr=class{transform(b){if(!Hs(b)||Al(b))return b;let j=[{base:" ",chars:"\xa0"},{base:"0",chars:"\u07c0"},{base:"A",chars:"\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",chars:"\ua732"},{base:"AE",chars:"\xc6\u01fc\u01e2"},{base:"AO",chars:"\ua734"},{base:"AU",chars:"\ua736"},{base:"AV",chars:"\ua738\ua73a"},{base:"AY",chars:"\ua73c"},{base:"B",chars:"\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0181"},{base:"C",chars:"\u24b8\uff23\ua73e\u1e08\u0106C\u0108\u010a\u010c\xc7\u0187\u023b"},{base:"D",chars:"\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018a\u0189\u1d05\ua779"},{base:"Dh",chars:"\xd0"},{base:"DZ",chars:"\u01f1\u01c4"},{base:"Dz",chars:"\u01f2\u01c5"},{base:"E",chars:"\u025b\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e\u1d07"},{base:"F",chars:"\ua77c\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",chars:"\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e\u0262"},{base:"H",chars:"\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",chars:"\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",chars:"\u24bf\uff2a\u0134\u0248\u0237"},{base:"K",chars:"\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",chars:"\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",chars:"\u01c7"},{base:"Lj",chars:"\u01c8"},{base:"M",chars:"\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c\u03fb"},{base:"N",chars:"\ua7a4\u0220\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u019d\ua790\u1d0e"},{base:"NJ",chars:"\u01ca"},{base:"Nj",chars:"\u01cb"},{base:"O",chars:"\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OE",chars:"\u0152"},{base:"OI",chars:"\u01a2"},{base:"OO",chars:"\ua74e"},{base:"OU",chars:"\u0222"},{base:"P",chars:"\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",chars:"\u24c6\uff31\ua756\ua758\u024a"},{base:"R",chars:"\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",chars:"\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",chars:"\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"Th",chars:"\xde"},{base:"TZ",chars:"\ua728"},{base:"U",chars:"\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",chars:"\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",chars:"\ua760"},{base:"W",chars:"\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",chars:"\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",chars:"\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",chars:"\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",chars:"\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250\u0251"},{base:"aa",chars:"\ua733"},{base:"ae",chars:"\xe6\u01fd\u01e3"},{base:"ao",chars:"\ua735"},{base:"au",chars:"\ua737"},{base:"av",chars:"\ua739\ua73b"},{base:"ay",chars:"\ua73d"},{base:"b",chars:"\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253\u0182"},{base:"c",chars:"\uff43\u24d2\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",chars:"\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\u018b\u13e7\u0501\ua7aa"},{base:"dh",chars:"\xf0"},{base:"dz",chars:"\u01f3\u01c6"},{base:"e",chars:"\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u01dd"},{base:"f",chars:"\u24d5\uff46\u1e1f\u0192"},{base:"ff",chars:"\ufb00"},{base:"fi",chars:"\ufb01"},{base:"fl",chars:"\ufb02"},{base:"ffi",chars:"\ufb03"},{base:"ffl",chars:"\ufb04"},{base:"g",chars:"\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\ua77f\u1d79"},{base:"h",chars:"\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",chars:"\u0195"},{base:"i",chars:"\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",chars:"\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",chars:"\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",chars:"\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\u026d"},{base:"lj",chars:"\u01c9"},{base:"m",chars:"\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",chars:"\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5\u043b\u0509"},{base:"nj",chars:"\u01cc"},{base:"o",chars:"\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\ua74b\ua74d\u0275\u0254\u1d11"},{base:"oe",chars:"\u0153"},{base:"oi",chars:"\u01a3"},{base:"oo",chars:"\ua74f"},{base:"ou",chars:"\u0223"},{base:"p",chars:"\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755\u03c1"},{base:"q",chars:"\u24e0\uff51\u024b\ua757\ua759"},{base:"r",chars:"\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",chars:"\u24e2\uff53\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b\u0282"},{base:"ss",chars:"\xdf"},{base:"t",chars:"\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"th",chars:"\xfe"},{base:"tz",chars:"\ua729"},{base:"u",chars:"\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",chars:"\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",chars:"\ua761"},{base:"w",chars:"\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",chars:"\u24e7\uff58\u1e8b\u1e8d"},{base:"y",chars:"\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",chars:"\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],te={};for(let fe=0;fe<j.length;fe+=1){let ue=j[fe].chars;for(let je=0;je<ue.length;je+=1)te[ue[je]]=j[fe].base}return b.replace(/[^\u0000-\u007e]/g,fe=>te[fe]||fe)}};Kr.\u0275fac=function(b){return new(b||Kr)},Kr.\u0275pipe=n.Yjl({name:"latinize",type:Kr,pure:!0});let fr=class{transform(b,j,te){return Hs(b)&&!Al(j)?[j,b,te||j].join(""):b}};fr.\u0275fac=function(b){return new(b||fr)},fr.\u0275pipe=n.Yjl({name:"wrap",type:fr,pure:!0});let ps=class{transform(b,j=null,te=null,fe=!1){if(!Hs(b)||ic(j)&&ic(te)||""==j||""==te)return b;if(b=fe?b:b.toLowerCase(),!ic(j)&&!ic(te)){let ue=!b.indexOf(fe?j:j.toLowerCase()),je=-1!==b.indexOf(fe?te:te.toLowerCase(),b.length-te.length);return 1==ue&&1==je}if(!ic(j))return!b.indexOf(fe?j:j.toLowerCase());if(!ic(te)){let ue=b.length-te.length;return-1!==b.indexOf(fe?te:te.toLowerCase(),ue)}}};ps.\u0275fac=function(b){return new(b||ps)},ps.\u0275pipe=n.Yjl({name:"with",type:ps,pure:!0});let Bo=class{transform(b){return Hs(b)?Array.from(b).reverse().join(""):b}};Bo.\u0275fac=function(b){return new(b||Bo)},Bo.\u0275pipe=n.Yjl({name:"reverseStr",type:Bo,pure:!0});let na=class{};na.\u0275fac=function(b){return new(b||na)},na.\u0275mod=n.oAB({type:na}),na.\u0275inj=n.cJS({});let ss=class{};ss.\u0275fac=function(b){return new(b||ss)},ss.\u0275mod=n.oAB({type:ss}),ss.\u0275inj=n.cJS({imports:[wl,P1,O1,na,j2,d2]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(d2,{declarations:[O3,Kc,uu,hu,m1],exports:[O3,Kc,uu,hu,m1]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(wl,{declarations:[No,u2,h2,Xs,f2,K1,z2,rc,a4,xl,zd,go,s3,Rd,fu,Bu,Nd,Cl,Nc,ud,hd,Hc,Hd,Pd,Tc,Yl,ju,fc],exports:[No,u2,h2,Xs,f2,K1,z2,rc,a4,xl,zd,go,s3,Rd,fu,Bu,Nd,Cl,Nc,ud,hd,Hc,Hd,Pd,Tc,Yl,ju,fc]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(O1,{declarations:[Sc,I1,a3,Bd,p2,fd,Zc,X1,Fd,jd,q4,A1,pd,J1,g2,l3,R2],exports:[Sc,I1,a3,Bd,p2,fd,Zc,X1,Fd,jd,q4,A1,pd,J1,g2,l3,R2]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(P1,{declarations:[N2,pu,Xc,Fu,H2,oc,B2,gu,gd,md,vd],exports:[N2,pu,Xc,Fu,H2,oc,B2,gu,gd,md,vd]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(j2,{declarations:[_d,c4,vs],exports:[_d,c4,vs]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(na,{declarations:[Vd,z1,R1,d4,bd,ie,I,$,be,Re,dt,Gt,Qt,sn,Vn,ni,Di,sr,dr,Co,Kr,fr,ps,Bo],exports:[Vd,z1,R1,d4,bd,ie,I,$,be,Re,dt,Gt,Qt,sn,Vn,ni,Di,sr,dr,Co,Kr,fr,ps,Bo]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(ss,{exports:[wl,P1,O1,na,j2,d2]});var $o=B(40774),pr=B(9306),ma=B(25730);let dl=class{constructor(b){this.alertService=b,this.faCheck=pr.LEp,this.faInfoCircle=pr.sqG,this.faExclamationCircle=pr.RLE,this.faExclamationTriangle=pr.eHv}ngOnInit(){this.alertService.getMessage().subscribe(b=>{this.message=b})}close(){this.alertService.clear()}};dl.ctorParameters=()=>[{type:ma.u}],dl=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-alert-service",template:$o})],dl);var Wl=B(17412),Pl=B(89443),Ko=B(60649);let v2=class{constructor(b){this.toastService=b}ngOnInit(){}isTemplate(b){return b.textOrTpl instanceof n.Rgc}};v2.ctorParameters=()=>[{type:Ko.D}],v2=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-toast",template:Wl,host:{class:"toast-container position-fixed top-5 end-0 p-3",style:"z-index: 1200"},styles:[Pl]})],v2);var P3=B(65677),lo=B(771),Jc=B(46229),Oh=B(16296);B(31796);let Qc=class{constructor(b,j,te){this.modalService=b,this.apiHelp=j,this.dataReady=!1,this.faQuestion=pr.Psp,te.events.filter(fe=>fe instanceof P.OD).subscribe(fe=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}ngOnInit(){}open(b){this.apiHelp.getHelp(this.key).subscribe(j=>{this.help=j,this.dataReady=!0,this.modalRef=this.modalService.open(b,{size:"lg"})},j=>{this.help={title:"Ingen hjelpetekst",body:"Det finnes ingen hjelpetekst enda for dette temaet.",key:this.key},this.dataReady=!0,this.modalRef=this.modalService.open(b,{size:"lg"})},()=>{console.log("Done getting help")})}};Qc.ctorParameters=()=>[{type:Jc.FF},{type:Oh.l},{type:P.F0}],Qc.propDecorators={key:[{type:n.IIB}],details:[{type:n.IIB}]},Qc=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-help",template:P3,styles:[lo]})],Qc);var $4=B(59739),h4=B(42290);let sc=class{constructor(){this.size=5}ngOnInit(){this.fasize=this.size+"x"}};sc.ctorParameters=()=>[],sc.propDecorators={size:[{type:n.IIB}]},sc=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ui-page-spinner",template:$4,styles:[h4]})],sc);var kc=B(13601),K4=B(60007);let f4=class{constructor(){this.size=3,this.faSpinner=pr.LM3}ngOnInit(){this.fasize=this.size+"x"}};f4.ctorParameters=()=>[],f4.propDecorators={size:[{type:n.IIB}]},f4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ui-component-spinner",template:kc,styles:[K4]})],f4);var Up=B(98636),Yp=B(60302),p4=B(7656),g4=B(92340),pc=B(28669);let Ud=class{constructor(b,j,te,fe,ue){this.configService=b,this.orgService=j,this.alertService=te,this.router=fe,this.apiCache=ue,this.selectedChange=new n.vpe,this.change=new n.vpe,this.org_type=14,this.is_active=!0,this.ENV=g4.N,this.orgs=[],this.dataReady=!1}ngOnInit(){this.configService.observableConfig.subscribe(b=>{this.config=b,this.getClubs()})}getClubs(){const b={query:{where:{"main_activity.id":this.config.mapping[this.activity],type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}};console.log("Main avc",b),this.apiCache.get(["get-select-organizations",this.activity,this.org_type,this.is_active,b.query],this.orgService.getOrganizations(b)).subscribe(j=>{this.orgs=j._items,this.dataReady=!0},j=>console.error(j))}update(b){this.selectedChange.emit(this.selected),this.change.emit(!0)}};Ud.ctorParameters=()=>[{type:xa.F},{type:p4.u},{type:ma.u},{type:P.F0},{type:pc.G}],Ud.propDecorators={selected:[{type:n.IIB}],selectedChange:[{type:n.r_U}],change:[{type:n.r_U}],size:[{type:n.IIB}],activity:[{type:n.IIB}],org_type:[{type:n.IIB}],is_active:[{type:n.IIB}]},Ud=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-org-selector",template:Up,styles:[Yp]})],Ud);var Z4=B(28870),Yd=B(84673),X4=B(52428),m4=B(93791);const Cf=J=>J instanceof P.m2,Wp=J=>J instanceof P.jw;let d3=class{constructor(b){this.router=b}ngOnInit(){const b=this.router.events.pipe((0,_.h)(Cf));this.router.events.pipe((0,_.h)(Wp),(0,X4.j)("snapshot"),(0,X4.j)("data"),(0,m4.f)(b),(0,O.U)(j=>j.reverse())).subscribe(j=>{this.bcLoadedData=j,this.bcForDisplay=this.bcLoadedData.reduce((te,fe)=>{let ue=[];return fe.breakIn&&(ue=fe.breakIn.reduce((je,nt)=>[...je,`break in ${nt}'s home`],[])),[...te,fe.bc,...ue]},[])})}};d3.ctorParameters=()=>[{type:P.F0}],d3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ui-breadcrumb",template:Z4,styles:[Yd]})],d3);var dp=B(94109),up=B(51717),_4=B(2898);let J4=class{constructor(){this.disabled=!1,this.dateChange=new n.vpe,this.change=new n.vpe,this.faCalendar=_4.fT7,this.date&&""!=this.date&&this.parseInputDate()}ngOnInit(){}parseInputDate(){this._date=Date.parse(this.date),this.model={year:this._date.getUTCFullYear(),month:this._date.getUTCMonth(),day:this._date.getUTCDay()}}onUpdate(){this.date=`${this.model.year}-${this.model.month}-${this.model.day}T00:00:00.00000Z`,this.dateChange.emit(this.date),this.change.emit(!0)}};J4.ctorParameters=()=>[],J4.propDecorators={date:[{type:n.IIB}],disabled:[{type:n.IIB}],dateChange:[{type:n.r_U}],change:[{type:n.r_U}]},J4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-datepicker",template:dp,styles:[up]})],J4);var um=B(7668),pg=B(77509);let Gp=class{constructor(){}ngOnInit(){}};Gp.ctorParameters=()=>[],Gp=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve",template:um,styles:[pg]})],Gp);var k6=B(63268),gg=B(27324),mg=B(90570),vg=B(62618),hp=B(54350),Vu=B(47418);let Q4=class{constructor(b,j,te){this.melwinUserService=b,this.userService=j,this.apiCache=te,this.faQuestion=pr.Psp,this.faSpinner=pr.LM3,this.dataReady=!1,this.fullname=""}ngOnInit(){if(this.avatar||(this.avatar=!1),this.link||(this.link=!1),this.userid<0&&!this.tmp_name)this.fullname="Person "+-1*this.userid,this.dataReady=!0;else if(this.tmp_name&&this.userid<=0)this.avatar=!1,this.link=!1,this.fullname=this.tmp_name,this.dataReady=!0;else if(void 0===this.userid)this.fullname="Ingen personer",this.dataReady=!0;else{const b={query:{projection:{fullname:1}}},j=this.apiCache.get(["resolve-user",this.userid,b.query],this.melwinUserService.getUser(this.userid,b));if(this.link){const te={query:{projection:{id:1}}},fe=this.apiCache.get(["get-user",this.userid,te.query],this.userService.getUser(this.userid,te));(0,hp.D)(fe.pipe((0,Vu.K)(ue=>(0,C.of)(ue))),j.pipe((0,Vu.K)(ue=>(0,C.of)(ue)))).subscribe(ue=>{this.link=!1,!!ue[0]&&void 0===ue[0].error&&(this.link=!0),ue[0]&&void 0===ue[1].error?this.fullname=ue[1].fullname:ue[1].status&&404===ue[1].status&&(this.fullname="Ukjent person",this.link=!1)},ue=>console.log(ue),()=>this.dataReady=!0)}else j.subscribe(te=>this.fullname=te.fullname,te=>this.fullname="Ukjent person",()=>this.dataReady=!0)}}};Q4.ctorParameters=()=>[{type:mg.d},{type:vg._},{type:pc.G}],Q4.propDecorators={userid:[{type:n.IIB}],tmp_name:[{type:n.IIB}],link:[{type:n.IIB}],avatar:[{type:n.IIB}]},Q4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-user",template:k6,styles:[gg]})],Q4);var _g=B(53383),L6=B(98269),qp=B(85356);let h3=class{constructor(b,j){this.nlfClubsService=b,this.apiCache=j,this.dataReady=!1}ngOnInit(){let b={query:{projection:{name:1,id:1}}};this.apiCache.get(["resolve-club",this.clubid,b.query],this.nlfClubsService.getClub(this.clubid,b)).subscribe(j=>{this.club=j},j=>this.club={name:"Ukjent klubb",id:"",_id:""},()=>this.dataReady=!0)}};h3.ctorParameters=()=>[{type:qp.S},{type:pc.G}],h3.propDecorators={clubid:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},h3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-club",template:_g,styles:[L6]})],h3);var Mf=B(29817),f3=B(87819);let Ph=class{constructor(b,j){this.melwinLicensesService=b,this.apiCache=j}ngOnInit(){let b={query:{projection:{name:1}}};this.apiCache.get(["resolve-license",this.licenseid,b.query],this.melwinLicensesService.getLicense(this.licenseid,b)).subscribe(j=>{this.licenseName=j.name},j=>{this.unknown&&(this.licenseName="Ukjent lisens ("+this.licenseid+")")})}};Ph.ctorParameters=()=>[{type:f3.t},{type:pc.G}],Ph.propDecorators={licenseid:[{type:n.IIB}],unknown:[{type:n.IIB}]},Ph=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-license",template:"{{ licenseName }}",styles:[Mf]})],Ph);var $p=B(25565),Tf=B(15404);let zh=class{constructor(b,j){this.melwinMembershipService=b,this.apiCache=j}ngOnInit(){let b={query:{projection:{name:1}}};this.apiCache.get(["resolve-membership",this.membershipid,b.query],this.melwinMembershipService.getMembership(this.membershipid,b)).subscribe(j=>{console.log(j),this.membershipName=j.name},j=>this.membershipName="Ukjent medlemsskap",()=>console.log("Done"))}};zh.ctorParameters=()=>[{type:Tf.t},{type:pc.G}],zh.propDecorators={membershipid:[{type:n.IIB}]},zh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-membership",template:"{{ membershipName }}",styles:[$p]})],zh);var T0=B(92731),Rh=B(97312);let eh=class{constructor(b,j){this.aclGroupsService=b,this.apiCache=j}ngOnInit(){let b={query:{projection:{name:1}}};this.apiCache.get([this.groupid,b],this.aclGroupsService.getGroup(this.groupid,b)).subscribe(j=>{console.log(j),this.groupName=j.name},j=>this.groupName="Gruppe ("+this.groupid+")",()=>console.log("Done"))}};eh.ctorParameters=()=>[{type:Rh.h},{type:pc.G}],eh.propDecorators={groupid:[{type:n.IIB}]},eh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-group",template:"{{ groupName }}",styles:[T0]})],eh);var Nh=B(60444),th=B(66339);let _u=class{constructor(b,j){this.aclRolesService=b,this.apiCache=j}ngOnInit(){const b={query:{projection:{name:1}}};this.apiCache.get(["resolve-role",this.roleid,b.query],this.aclRolesService.getRole(this.roleid,b)).subscribe(j=>{console.log(j),this.roleName=j.name},j=>this.roleName="Rolle ("+this.roleid+")",()=>console.log("Done"))}};_u.ctorParameters=()=>[{type:th.W},{type:pc.G}],_u.propDecorators={roleid:[{type:n.IIB}]},_u=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-role",template:"{{ roleName }}",styles:[Nh]})],_u);var Kp=B(60746),R3=B(26060),N3=B(69108);let ih=class{constructor(b){this.apiFile=b,this.dataReady=!1}ngOnInit(){this.apiFile.getFile(this.file_id,{query:{projection:{file:0}}}).subscribe(j=>{this.data=j},j=>console.error(j),()=>this.dataReady=!0)}checkRef(b,j){}};ih.ctorParameters=()=>[{type:N3.t}],ih.propDecorators={file_id:[{type:n.IIB}]},ih=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-file",template:Kp,styles:[R3]})],ih);var Sf=B(20475),k0=B(18714);let kf=class{constructor(b){this.apiFile=b,this.dataReady=!1}ngOnInit(){const b={query:{where:{file:this.fs_file_id},projection:{file:0}}};this.apiFile.getFiles(b).subscribe(j=>{if(j._meta.total>1?(console.log("Too many files there is said Yoda"),this.data=j._items[0]):this.data=j._items[0],["motorfly_observations","fallskjerm_observations","observations","_obseravtions"].indexOf(this.data.ref)>-1){"motorfly_observations"!=this.data.ref&&(this.data.ref="fallskjerm_observations");const te={query:{where:{"files.f":{$in:[this.data._id]}},projection:{id:1}}};this.apiFile.getGeneric("/"+this.data.ref.replace(/_/gi,"/"),te).subscribe(fe=>{fe._meta.total_results>0&&(this.data.exists=!0)},fe=>console.log(fe))}this.dataReady=!0},j=>console.error(j))}};kf.ctorParameters=()=>[{type:N3.t}],kf.propDecorators={fs_file_id:[{type:n.IIB}]},kf=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-reverse-file",template:Sf,styles:[k0]})],kf);var Hh=B(87018),bg=B(23511),Lf=B(21631),Bs=B(82100);let rh=class{constructor(b,j,te){this.lungoUserService=b,this.userService=j,this.apiCache=te,this.faQuestion=pr.Psp,this.only_first_name=!1,this.dataReady=!1,this.dataErr=!1,this.full_name="",this.avatar_img=Bs.Yi}ngOnInit(){if(this.avatar||(this.avatar=!1),this.link||(this.link=!1),this.person_id<0&&!this.tmp_name)this.full_name="Person "+-1*this.person_id,this.dataReady=!0;else if(1===this.person_id)this.avatar=!1,this.link=!1,this.full_name="Housekeeping (bot)",this.dataReady=!0;else if(this.tmp_name&&this.person_id<=0)this.avatar=!1,this.link=!1,this.full_name=this.tmp_name,this.dataReady=!0;else if(!this.tmp_name&&this.person_id<=0)console.log("[ERR]\xa0No tmp name or person id",this.person_id),this.avatar=!1,this.link=!1,this.full_name="Ukjent person",this.dataReady=!0;else if(void 0===this.person_id)this.full_name="Ingen person",this.dataReady=!0;else{const b={query:{projection:{full_name:1,first_name:1}}},j=this.apiCache.get(["get-lungo-person",this.person_id,b.query],this.lungoUserService.getUser(this.person_id,b));if(this.link||this.avatar){const te={query:{projection:{id:1,avatar:this.avatar?1:-1}}},fe=this.apiCache.get(["get-users",this.person_id,te.query],this.userService.getUser(this.person_id,te));(0,hp.D)(fe.pipe((0,Vu.K)(ue=>(0,C.of)(ue))),j.pipe((0,Vu.K)(ue=>(0,C.of)(ue)))).subscribe(ue=>{ue[0]&&void 0===ue[1].error?(this.only_first_name?this.full_name=ue[1].first_name:this.full_name=ue[1].full_name,ue[0].hasOwnProperty("avatar")&&(this.avatar_img=ue[0].avatar)):ue[1].status&&404===ue[1].status&&(this.full_name="Ukjent person",this.link=!1)},ue=>{this.full_name="Ukjent person",console.log(ue)},()=>this.dataReady=!0)}else j.subscribe(te=>{this.only_first_name?this.full_name=te.first_name:this.full_name=te.full_name},te=>this.full_name="Ukjent person",()=>this.dataReady=!0)}}};rh.ctorParameters=()=>[{type:Lf.p},{type:vg._},{type:pc.G}],rh.propDecorators={person_id:[{type:n.IIB}],tmp_name:[{type:n.IIB}],link:[{type:n.IIB}],avatar:[{type:n.IIB}],only_first_name:[{type:n.IIB}],highlite:[{type:n.IIB}]},rh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-person",template:Hh,styles:[bg]})],rh);var N1=B(6542),E0=B(65437);let oh=class{constructor(b,j){this.orgService=b,this.apiCache=j,this.faLink=pr.nNP,this.show_activity=!1,this.popover=!1,this.dataReady=!1}ngOnInit(){const b={query:{projection:{name:1,id:1,main_activity:1}}};this.apiCache.get(["get-lungo-organization",this.organization_id,b.query],this.orgService.getOrganization(this.organization_id,b)).subscribe(j=>{this.organization=j},j=>this.organization={name:"Ukjent klubb",id:0,_id:"",main_activity:{id:27}},()=>this.dataReady=!0)}};oh.ctorParameters=()=>[{type:p4.u},{type:pc.G}],oh.propDecorators={organization_id:[{type:n.IIB}],show_activity:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}],popover:[{type:n.IIB}]},oh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-organization",template:N1,styles:[E0]})],oh);var p3=B(55993),Ef=B(3607),pp=B(84615);let Lo=class{constructor(b,j){this.licenseService=b,this.apiCache=j,this.link=!1,this.long=!1,this.dataReady=!1}ngOnInit(){const b={query:{projection:{type_name:1,id:1,period_name:1}}};this.apiCache.get(["get-lungo-license",this.license_id,b.query],this.licenseService.getLicense(this.license_id,b)).subscribe(j=>{this.license=j},j=>this.license={type_name:"Ukjent lisens",id:0,_id:""},()=>this.dataReady=!0)}};Lo.ctorParameters=()=>[{type:pp.S},{type:pc.G}],Lo.propDecorators={license_id:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},Lo=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-license",template:p3,styles:[Ef]})],Lo);var Df=B(24009),Wd=B(95067),Lc=B(79392);let xd=class{constructor(b,j){this.functionService=b,this.apiCache=j,this.show_org=!0,this.dataReady=!1}ngOnInit(){const b={query:{projection:{type_name:1,id:1,type_id:1,active_in_org_id:1}}};this.apiCache.get(["get-lungo-function",this.function_id,b.query],this.functionService.getFunction(this.function_id,b)).subscribe(j=>{this.function=j},j=>this.function={type_name:"Ukjent funksjon",id:0,_id:"",type_id:0,active_in_org_id:0},()=>this.dataReady=!0)}};xd.ctorParameters=()=>[{type:Lc.K},{type:pc.G}],xd.propDecorators={function_id:[{type:n.IIB}],show_org:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},xd=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-function",template:Df,styles:[Wd]})],xd);var D0=B(65821),Bh=B(79254);let jh=class{constructor(){this.payment_status=!1}ngOnInit(){}getPaymentStatus(){return!!this.membership.hasOwnProperty("payment")}};jh.ctorParameters=()=>[],jh.propDecorators={membership:[{type:n.IIB}],payment_status:[{type:n.IIB}]},jh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-membership",template:D0,styles:[Bh]})],jh);var I0=B(39183),F2=B(44860),A0=B(61297);let m3=class{constructor(b,j){this.activitiesService=b,this.apiCache=j,this.dataReady=!1}ngOnInit(){const b={query:{projection:{name:1,id:1}}};this.apiCache.get(["get-lungo-activity",this.activity_id,b.query],this.activitiesService.getActivity(this.activity_id,b)).subscribe(j=>{this.activity=j},j=>this.activity={name:"Ukjent aktivitet",id:0,_id:""},()=>this.dataReady=!0)}};m3.ctorParameters=()=>[{type:A0.V},{type:pc.G}],m3.propDecorators={activity_id:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},m3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-activity",template:I0,styles:[F2]})],m3);var If=B(35793),ac=B(6919);let b4=class{constructor(b,j){this.orgService=b,this.apiCache=j,this.dataReady=!1}ngOnInit(){const b={query:{projection:{org_type_id:1,org_type_text:1}}};this.apiCache.get(["get-lungo-organization-type",this.type_id,b.query],this.orgService.getOrganizationType(this.type_id,b)).subscribe(j=>{this.organization_type=j},j=>this.organization_type={org_type_text:"Ukjent organisasjonstype",org_type_id:0,_id:""},()=>this.dataReady=!0)}};b4.ctorParameters=()=>[{type:p4.u},{type:pc.G}],b4.propDecorators={type_id:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},b4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-organization-type",template:If,styles:[ac]})],b4);var Ml=B(52135),O0=B(21321);let H3=class{constructor(b,j){this.functionService=b,this.apiCache=j,this.link=!1,this.long=!1,this.dataReady=!1}ngOnInit(){const b={query:{projection:{name:1,category_name:1,id:1}}};this.apiCache.get(["get-lungo-function-type",this.type_id,b.query],this.functionService.getFunctionType(this.type_id,b)).subscribe(j=>{this.function_type=j},j=>this.function_type={name:"Ukjent funksjonstype",category_name:"Ukjent kategori",id:0,_id:""},()=>this.dataReady=!0)}};H3.ctorParameters=()=>[{type:Lc.K},{type:pc.G}],H3.propDecorators={type_id:[{type:n.IIB}],link:[{type:n.IIB}],long:[{type:n.IIB}]},H3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-function-type",template:Ml,styles:[O0]})],H3);var v1=B(5638),z0=B(95023),v3=B(89160);let B3=class extends v3.Q{constructor(b){super(b),this.relativeUrl="/integration/competences/"}getCompetence(b,j){return this.getItem(this.relativeUrl,b,j)}getCompetences(b){return this.getList(this.relativeUrl,b)}getFunctionType(b,j){return this.getItem(this.relativeUrl+"types/",b,j)}getCompetencesTypes(b){return this.getList(this.relativeUrl+"types/",b)}};B3.ctorParameters=()=>[{type:qe.eN}],B3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.GSi)({providedIn:"root"})],B3);let bu=class{constructor(b,j){this.competencesService=b,this.apiCache=j,this.dataReady=!1}ngOnInit(){this.apiCache.get(["get-lungo-competence",this.competence_id],this.competencesService.getCompetence(this.competence_id)).subscribe(b=>{this.competence=b},b=>console.error(b),()=>this.dataReady=!0)}};bu.ctorParameters=()=>[{type:B3},{type:pc.G}],bu.propDecorators={competence_id:[{type:n.IIB}]},bu=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-competence",template:v1,styles:[z0]})],bu);var Fh=B(8284),Yu=B(57455);let y4=class{constructor(){}ngOnInit(){}};y4.ctorParameters=()=>[],y4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-country",template:Fh,styles:[Yu]})],y4);var Xp=B(77543),Vh=B(49698);let sh=class{constructor(){}ngOnInit(){}};sh.ctorParameters=()=>[],sh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-lungo-county",template:Xp,styles:[Vh]})],sh);var Jp=B(96169),yu=B(51109);let _2=class{constructor(b,j){this.modalService=b,this.router=j,this.faList=pr.Zrf,this.faPlus=pr.r8p,this.title=!1,this.max=5,this.show_remaining=!0,this.steps=5,this.show_modal=!0,this.modal_title="Personer",j.events.filter(te=>te instanceof P.OD).subscribe(te=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}ngOnInit(){}nextStep(){this.max=+this.max+ +this.steps}openPersonsModal(b){this.modalRef=this.modalService.open(b,{size:"lg"})}};_2.ctorParameters=()=>[{type:Jc.FF},{type:P.F0}],_2.propDecorators={persons:[{type:n.IIB}],title:[{type:n.IIB}],max:[{type:n.IIB}],show_remaining:[{type:n.IIB}],steps:[{type:n.IIB}],show_modal:[{type:n.IIB}],modal_title:[{type:n.IIB}]},_2=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-avatars",template:Jp,styles:[yu]})],_2);var _s=B(71457),N0=B(41269);let Ma=class{constructor(b,j){this.userService=b,this.apiCache=j,this.title=!1,this.error=!1,this.dataReady=!1,this.avatar_tmp_image=Bs.Yi}ngOnInit(){if(this.person_id&&this.person_id>0){let b={query:{projection:{avatar:1,id:1}}};this.apiCache.get([this.person_id,b],this.userService.getUser(this.person_id,b)).subscribe(j=>{this.user=j,this.dataReady=!0},j=>{this.error=!0},()=>{})}else this.error=!0}};Ma.ctorParameters=()=>[{type:vg._},{type:pc.G}],Ma.propDecorators={person_id:[{type:n.IIB}],title:[{type:n.IIB}]},Ma=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-avatar",template:_s,styles:[N0]})],Ma);var Qp=B(72855),Uh=B(5294);let qd=class{constructor(b,j,te){this.lungoUserService=b,this.apiCache=j,this.domSanitizer=te,this.classes="avatar-img rounded-circle",this.dataReady=!1}ngOnInit(){if(console.log("Person for avatar letter",this.person_id),this.person_id&&this.person_id>0&&!this.person_name){console.log("Person first if");const b={query:{projection:{full_name:1,first_name:1,last_name:1}}};this.apiCache.get(["get-lungo-person",this.person_id,b.query],this.lungoUserService.getUser(this.person_id,b)).subscribe(te=>{this.full_name=te.full_name||te.first_name+" "+te.last_name||"Ukjent",this.svg_avatar=this.getLetterAvatar(),this.dataReady=!0},te=>{this.full_name="Anonymisert",this.svg_avatar=this.getLetterAvatar(),this.dataReady=!0},()=>{})}else this.person_name?(this.full_name=this.person_name,this.svg_avatar=this.getLetterAvatar(),this.dataReady=!0):(this.person_id<0?this.full_name="Person "+-1*this.person_id:this.full_name="Ukjent Person",this.svg_avatar=this.getLetterAvatar(),this.dataReady=!0)}stringToHslColor(b,j,te){for(var fe=0,ue=0;ue<b.length;ue++)fe=b.charCodeAt(ue)+((fe<<5)-fe);return"hsl("+fe%360+", "+j+"%, "+te+"%)"}svgLetterAvatar(b){let j="hsl(120, 30%, 80%)";return this.full_name&&(j=this.stringToHslColor(this.full_name,30,80)),'<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em"><rect width="100%" height="100%" fill="'+j+'" /><text text-anchor="middle" y="50%" x="50%" dy="0.35em" font-size="0.65em" pointer-events="auto" fill="#ffffff" font-family="Arial, Helvetica, sans-serif">'+b.replace(/[^]/g,function(te){return"&#"+te.charCodeAt(0)+";"})+"</text></svg>"}getInitials(){if(this.full_name&&this.full_name.length>0){const b=this.full_name.split(" ");if(!(b.length>0))return this.full_name[0].toUpperCase();if(1===b.length)return b[0][0];if(b.length>1)return b[0][0]+b[b.length-1][0]}return this.full_name[0].toUpperCase()||"X"}getLetterAvatar(){return"data:image/svg+xml;base64,"+btoa(this.svgLetterAvatar(this.getInitials()))}};qd.ctorParameters=()=>[{type:Lf.p},{type:pc.G},{type:Ya.H7}],qd.propDecorators={person_id:[{type:n.IIB}],person_name:[{type:n.IIB}],classes:[{type:n.IIB}]},qd=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-avatar-letter",template:Qp,styles:[Uh]})],qd);var V2=B(82868),j3=B(66380);let b3=class{constructor(b){this.configService=b,this.itemLabel="label"}ngOnInit(){this.configService.observableConfig.subscribe(b=>{try{this.result=Object.entries(b[this.activity][this.category][this.key]).filter(([j,te])=>{if(te[this.itemKey]===this.value)return te[this.itemKey]})}catch(j){console.error("Could not resolve config value for ",this.activity,this.category,this.key,this.value,"with label",this.itemKey,this.itemLabel)}})}};b3.ctorParameters=()=>[{type:xa.F}],b3.propDecorators={activity:[{type:n.IIB}],category:[{type:n.IIB}],key:[{type:n.IIB}],value:[{type:n.IIB}],itemKey:[{type:n.IIB}],itemLabel:[{type:n.IIB}]},b3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-config",template:V2,styles:[j3]})],b3);var y3=B(94053),$d=B(61760);let F3=class{constructor(b){this.configService=b,this.faFlag=pr.RrC}ngOnInit(){this.configService.observableConfig.subscribe(b=>{this.config=b;try{this.name=this.config[this.activity].observation.flags[this.flag].label}catch(j){console.error(this.activity,this.config),this.name="Ukjent"}})}};F3.ctorParameters=()=>[{type:xa.F}],F3.propDecorators={flag:[{type:n.IIB}],activity:[{type:n.IIB}],badge:[{type:n.IIB}],icon:[{type:n.IIB}]},F3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-flags",template:y3,styles:[$d]})],F3);var ah=B(20915),Af=B(95225);let lh=class{constructor(b){this.configService=b}ngOnInit(){this.configService.observableConfig.subscribe(b=>{this.config=b;try{this.name=this.config[this.activity].observation.types[this.type].label,this.color=this.config[this.activity].observation.types[this.type].badge}catch(j){this.name="Ukjent",this.color="secondary"}})}};lh.ctorParameters=()=>[{type:xa.F}],lh.propDecorators={type:[{type:n.IIB}],activity:[{type:n.IIB}],badge:[{type:n.IIB}]},lh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-types",template:ah,styles:[Af]})],lh);var e0=B(81073),Cg=B(10697),Wu=B(60103);let Yh=class{constructor(b,j){this.orsService=b,this.apiCache=j,this.dataReady=!1,this.observation={title:"",id:0,_id:""}}ngOnInit(){this.orsService.setActivity(this.activity),this.apiCache.get(["observation-component",this.id,{}],this.orsService.getObservation(this.id)).subscribe(b=>{this.observation.id=b.id,this.observation._id=b._id,b.tags?this.observation.title=b.tags.join(" "):this.observation.title="No title"},b=>{this.observation.title="Ukjent observasjon ("+this.id+")",this.id=0},()=>this.dataReady=!0)}};Yh.ctorParameters=()=>[{type:Wu.Z},{type:pc.G}],Yh.propDecorators={id:[{type:n.IIB}],activity:[{type:n.IIB}],link:[{type:n.IIB}],title:[{type:n.IIB}],ask:[{type:n.IIB}],state:[{type:n.IIB}],popover:[{type:n.IIB}],acl:[{type:n.IIB}]},Yh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation",template:e0,styles:[Cg]})],Yh);var Wh=B(36797),gc=B(21061);let ch=class{constructor(b){this.configService=b,this.badge=!0,this.icons={exclamation:pr.WV2,ban:pr.gPx,pencil:pr.TzT,check:pr.LEp,clock:_4.SZw}}ngOnInit(){this.configService.observableConfig.subscribe(b=>{this.config=b,(!this.state||!this.config[this.activity].observation.state[this.state])&&(this.state="unknown")})}};ch.ctorParameters=()=>[{type:xa.F}],ch.propDecorators={state:[{type:n.IIB}],activity:[{type:n.IIB}],badge:[{type:n.IIB}],icon:[{type:n.IIB}]},ch=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-state",template:Wh,styles:[gc]})],ch);var Pf=B(88283),t0=B(94341);let Gh=class{constructor(b){this.configService=b,this.configService.observableConfig.subscribe(j=>{this.config=j})}ngOnInit(){}};Gh.ctorParameters=()=>[{type:xa.F}],Gh.propDecorators={attributes:[{type:n.IIB}],activity:[{type:n.IIB}],badge:[{type:n.IIB}],icon:[{type:n.IIB}]},Gh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-component-attributes",template:Pf,styles:[t0]})],Gh);var j0=B(53869),zf=B(42848);let mp=class{constructor(){this.link=!0,this.url="/ors/fallskjerm/search/tag/",this.html=[]}ngOnInit(){}stringify(b){return JSON.stringify(b)}};mp.ctorParameters=()=>[],mp.propDecorators={tags:[{type:n.IIB}],activity:[{type:n.IIB}],seperator:[{type:n.IIB}],link:[{type:n.IIB}]},mp=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-tags",template:j0,styles:[zf]})],mp);var n0=B(98081),hm=B(99725);let C4=class{constructor(){}ngOnInit(){}};C4.ctorParameters=()=>[],C4.propDecorators={rating:[{type:n.IIB}],activity:[{type:n.IIB}]},C4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-resolve-observation-rating",template:n0,styles:[hm]})],C4);let _p=class{transform(b,j=" ",te=1e3,fe=""){const ue=b.join("  ");return ue.length-(b.length-j.length)>te?ue.substr(0,te).trim().replace("  ",j)+fe:ue.trim().replace("  ",j)}};_p=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsTags"})],_p);let Rf=class{constructor(b){this.configService=b,this.configService.observableConfig.subscribe(j=>{this.config=j})}transform(b,j,te=!0,fe=" "){return b instanceof Array?this.multiple(b,j,te,fe):"string"==typeof b?this.one(b,j,te):""}one(b,j,te=!0){return te?"<span class=\"badge bg-${config[activity].observation.components.attributes[value]['color']}\">${config[activity].observation.components.attributes[value]['label']}</span>":this.config[j].observation.components.attributes[b].label}multiple(b,j,te,fe){if(b.length>0){let ue=[];for(let je of b)ue.push(this.one(je,j,te));return ue.join(fe)}return""}};Rf.ctorParameters=()=>[{type:xa.F}],Rf=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsComponentAttributes"})],Rf);let $h=class{constructor(b){this.configService=b,this._rating=[{label:null,value:0,badge:"danger"},{label:"Alt OK",value:1,badge:"success"},{label:"Til ettertanke",value:2,badge:"info"},{label:"Mindre skade",value:3,badge:"warning"},{label:"Middels skade",value:4,badge:"warning"},{label:"Alvorlig skade",value:5,badge:"danger"},{label:"Alvorlig skade/men",value:6,badge:"danger"},{label:"D\xf8d",value:7,badge:"dark"},{label:"Flere d\xf8de",value:8,badge:"dark"}],this.configService.observableConfig.subscribe(j=>{this.config=j},j=>console.error(j),()=>{}),this.configService.observableConfig.toPromise().then(j=>console.log("toPromise",j))}transform(b,j){if(b>0&&b<9){try{return this.config[j].observation.rating[b].label}catch(te){console.log("Could not assign label from config",te)}return this._rating[b||0].label}return"Ukjent"}};$h.ctorParameters=()=>[{type:xa.F}],$h=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsRating"})],$h);let bp=class{transform(b){try{return(0,Bs.pJ)(b.actual,b.potential)}catch(je){return 1}let ue=Math.round(100*Math.sqrt((Math.pow(b.actual-1,2)+Math.pow(b.potential-1,3))/(Math.pow(7,2)+Math.pow(7,3))));return ue<1&&(ue=1),ue}};bp=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfOrsRatingCalc",pure:!1})],bp);let w4=class{transform(b){let j;return j=b<15?"secondary":b<25?"info":b<40?"primary":b<70?"warning":b<85?"danger":"dark",j}};w4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfDynamicColor",pure:!1})],w4);let M4=class{transform(b){let j;return j=b<20?"success":b<500?"warning":"danger",j}};M4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfDynamicColorErc",pure:!1})],M4);let x3=class{constructor(b){this.configService=b}transform(b,j){return i3.y.create(te=>{this.configService.observableConfig.subscribe(fe=>{this.config=fe,te.next(this.config.inv_mapping[b]),te.complete()})})}};x3.ctorParameters=()=>[{type:xa.F}],x3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.E6H)({name:"nlfActivity"})],x3);var qu=B(73328),A6=B(27612),O6=B(29627),V0=B(40791),P6=B(39725);let Zh=class{constructor(b,j,te){this.integrationService=b,this.personService=j,this.competencesService=te,this.personChanged=new n.vpe,this.sleep=1e4,this.generate=!0,this.showSuccess=!0,this.faUsers=pr.FVb,this.faSave=pr.r6l,this.faTable=pr.B3e,this.faSearch=pr.wn1,this.faSpinner=pr.LM3,this.faCheck=pr.LEp,this.faRemove=pr.G8P,this.faExclamationTriangle=pr.eHv,this.faRefresh=pr.QDM,this.faClock=pr.SZw,this.nifCompetences=[],this.nifLicenses=[],this.competences=[],this.apiData={competences:[],licenses:[]},this.deltaLicenses=[],this.deltaCompetences=[],this.competencesToUpdate=void 0,this.progress="0%",this.status="",this.error=""}ngOnInit(){this.status="loading",(0,hp.D)([this.integrationService.getNifCompetences(this.person_id),this.personService.getUser(this.person_id)]).subscribe(b=>{this.nifCompetences=b[0]._items,this.apiData={competences:b[1].competences,licenses:b[1].licenses}},b=>{console.error(b),this.status="error",this.error=b,this.nifCompetences=[]},()=>{this.compare()})}compare(){this.status="comparing",this.deltaCompetences=this.nifCompetences.map(b=>b.CompetenceId).filter(b=>!this.apiData.competences.map(j=>j.id).includes(b)),this.deltaLicenses=this.nifLicenses.filter(b=>!this.apiData.licenses.map(j=>j.id).includes(b)),this.getCompetencesToUpdate()}getCompetencesToUpdate(){let b=this.nifCompetences.filter(te=>!this.apiData.competences.map(fe=>fe.id).includes(te.id));const j={query:{where:{person_id:this.person_id,id:{$in:b.map(te=>te.id)}}}};this.competencesService.getCompetences(j).subscribe(te=>{this.competencesToUpdate=b.filter(fe=>!te._items.map(ue=>ue.id).includes(fe.id)),this.competencesToUpdate.length>0&&this.generate?this.generateChangeMessages():this.status="finished"},te=>console.error(te),()=>{})}generateChangeMessagePerson(){this.integrationService.generateChangeMessage(this.person_id,"Person").subscribe(b=>{console.log("Change message for person",b)},b=>console.error("Failed sending change message for person",b),()=>{})}generateChangeMessages(){this.status="generate",this.competencesToUpdate.forEach((b,j)=>{this.integrationService.generateChangeMessage(this.competencesToUpdate[j].id,"Competence").subscribe(te=>{this.competencesToUpdate[j].ready=!0},te=>{this.competencesToUpdate[j].ready=!1,this.error=te,this.status="error"},()=>{this.status="reloading",setTimeout(()=>{this.personChanged.next(!0)},this.sleep)})})}};Zh.ctorParameters=()=>[{type:P6.k},{type:Lf.p},{type:B3}],Zh.propDecorators={person_id:[{type:n.IIB}],personChanged:[{type:n.r_U}],sleep:[{type:n.IIB}],generate:[{type:n.IIB}],showSuccess:[{type:n.IIB}]},Zh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-nif-compare",template:O6,styles:[V0]})],Zh);var Y0=B(47363),r0=B(98581);let Xh=class{constructor(){this.tags=[],this.itemsChange=new n.vpe,this.change=new n.vpe,this.classes="",this.multiple=!1,this.max=void 0,this.description=!0,this.explanation=!1,this.disable=!1,this.element_id=""}ngOnInit(){this.multiple&&(this.selectedTags=[],(!this.items||void 0===typeof this.items)&&(this.items=[]));try{this.tags.forEach(b=>{this.multiple&&~this.items.indexOf(b.id)?this.selectedTags.push(b):+b.id==+this.items&&(this.selectedTags=b)})}catch(b){console.log("ERR",b)}"string"==typeof this.items||this.items}onChange(b){if(this.multiple){let j=[];this.selectedTags.forEach(te=>{j.push(te.id)}),this.itemsChange.emit(j)}else b&&b.hasOwnProperty("id")?this.itemsChange.emit(b.id):this.itemsChange.emit(void 0);this.change.emit(!0)}};Xh.ctorParameters=()=>[],Xh.propDecorators={items:[{type:n.IIB}],tags:[{type:n.IIB}],itemsChange:[{type:n.r_U}],change:[{type:n.r_U}],classes:[{type:n.IIB}],multiple:[{type:n.IIB}],max:[{type:n.IIB}],description:[{type:n.IIB}],explanation:[{type:n.IIB}],disable:[{type:n.IIB}],element_id:[{type:n.IIB}]},Xh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-static",template:Y0,styles:[r0]})],Xh);var Mg=B(4734),Hf=B(77563),dh=B(85642),G0=B(88849),T4=B(30727),Tg=B(54188),Jh=B(69007),C3=function(J,b,j,te){return new(j||(j=Promise))(function(ue,je){function nt(vi){try{ei(te.next(vi))}catch(Gi){je(Gi)}}function Un(vi){try{ei(te.throw(vi))}catch(Gi){je(Gi)}}function ei(vi){vi.done?ue(vi.value):function fe(ue){return ue instanceof j?ue:new j(function(je){je(ue)})}(vi.value).then(nt,Un)}ei((te=te.apply(J,b||[])).next())})};let Kd=class{constructor(b,j,te,fe,ue,je,nt){this.modalService=b,this.subject=j,this.confirmService=te,this.e5xService=fe,this.authSubject=ue,this.apiFile=je,this.configService=nt,this.change=new n.vpe,this.generating=!1,this.e5xFile=!1,this.e5x_enabled=!1,this.ENV=g4.N,this.allowedReportStatus={2:"open",3:"closed"},this.allowedStatusKeys=[],this.faHistory=pr.qO$,this.faDownload=pr.q7m,this.faCheck=pr.LEp,this.faFileAlt=_4.cwv,this.faPaperPlane=_4.XCy,this.faCogs=pr.Kb6,this.faBan=pr.gPx,this.allowedStatusKeys=Object.keys(this.allowedReportStatus).map(Number),this.authSubject.observableAuthData.subscribe(Un=>{this.person_id=(null==Un?void 0:Un.person_id)||void 0;try{this.token=Un.token}catch(ei){this.token=void 0}}),this.subject.observableObservation.subscribe(Un=>{this.observation=Un,this.configService.observableConfig.subscribe(ei=>{this.config=ei;try{this.e5x_enabled=this.config[this.observation._model.type].observation.e5x.enabled,this.config[this.observation._model.type].observation.e5x.enabled&&!this.observation.hasOwnProperty("e5x")&&(this.observation.e5x={},this.observation.e5x._status=this.allowedReportStatus[Object.keys(this.allowedReportStatus)[0]],this.observation.e5x.hasOwnProperty("audit")||(this.observation.e5x.audit=[]))}catch(vi){}})})}ngOnInit(){}_send(){this.generateE5X(),this.generating=!0,this.e5xResult=void 0,this.e5xService.generate(this.observation._id,this.observation._etag,this.observation._model.type,this.e5xobservation,this.config[this.observation._model.type].observation.e5x.rit_version).subscribe(b=>{console.log("DATA E5X",b),this.e5xResult=b,this.change.emit(!0)},b=>console.log("E5X ERR",b),()=>{this.generating=!1})}send(){if(this.observation.acl_user.x&&"pending_review_ors"===this.observation.workflow.state){const b={title:"Please confirm",message:"Er du sikker p\xe5 du vil sende rapporten til LT?",yes:"Ja, send inn",no:"Nei"};this.confirmService.confirm(b).then(()=>this._send(),()=>{})}}generateE5X(){var b,j;if(this.observation.occurrence.attributes.headline=(null===(b=this.observation)||void 0===b?void 0:b.tags.join(" "))||(null===(j=this.observation)||void 0===j?void 0:j.title)||"",("prod"!=this.ENV._name||781765===this.observation.club)&&(this.observation.occurrence.attributes.headline=this.observation.occurrence.attributes.headline+" TEST ["+this.ENV._name+"]"),this.observation.occurrence.attributes.hasOwnProperty("uTCDate"))try{delete this.observation.occurrence.attributes.uTCDate,this.observation.occurrence.attributes.utcDate={value:void 0}}catch(fe){}if(this.observation.occurrence.attributes.hasOwnProperty("uTCTime"))try{delete this.observation.occurrence.attributes.uTCTime,this.observation.occurrence.attributes.utcTime={value:void 0}}catch(fe){}let te=new Date(this.observation.when);if(this.observation.occurrence.attributes.utcDate.value=[te.getUTCFullYear(),(0,Bs.vk)(te.getUTCMonth()+1),(0,Bs.vk)(te.getUTCDate())].join("-"),this.observation.occurrence.attributes.utcTime.value=[(0,Bs.vk)(te.getUTCHours()),(0,Bs.vk)(te.getUTCMinutes()),(0,Bs.vk)(te.getUTCSeconds())].join(":"),this.observation.occurrence.attributes.localDate.value=[te.getFullYear(),(0,Bs.vk)(te.getMonth()+1),(0,Bs.vk)(te.getDate())].join("-"),this.observation.occurrence.attributes.localTime.value=[(0,Bs.vk)(te.getHours()),(0,Bs.vk)(te.getMinutes()),(0,Bs.vk)(te.getSeconds())].join(":"),this.observation._model.version<3)try{this.observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription.plainText=this.observation.occurrence.entities.narrative[0].attributes.narrativeText.plainText||"",this.observation.occurrence.entities.reportingHistory[0].attributes.reporterSLanguage.value=this.observation.occurrence.entities.narrative[0].attributes.narrativeLanguage.value||43;try{delete this.observation.occurrence.entities.narrative[0].attributes.narrativeText.plainText,delete this.observation.occurrence.entities.narrative[0].attributes.narrativeLanguage.value}catch(fe){console.log("Delete old values failed",fe)}}catch(fe){console.log("Model change failed",fe)}if(this.observation.occurrence.entities.reportingHistory.length>0){let fe=new Date;if(this.observation.occurrence.entities.reportingHistory[0].attributes.reportingDate.value=[fe.getFullYear(),(0,Bs.vk)(fe.getMonth()+1),(0,Bs.vk)(fe.getDate())].join("-"),this.observation.occurrence.entities.reportingHistory[0].attributes.reportVersion.value=this.observation._version,this.observation.occurrence.entities.reportingHistory[0].attributes.reportIdentification.value="nlf_"+this.observation._model.type+"_"+ +this.observation.id,this.observation.occurrence.entities.reportingHistory[0].attributes.reportSource.value=2,this.observation.occurrence.entities.reportingHistory[0].attributes.reportingFormType.value=9823,this.observation.actions){let ue="",je="";this.observation.actions.local.length>0&&this.observation.actions.local.join("\n"),this.observation.actions.central.length>0&&this.observation.actions.central.join("\n"),this.observation.occurrence.entities.reportingHistory[0].attributes.correctiveActions.plainText=ue+je}}this.observation.occurrence.attributes.responsibleEntity.value=2133,this.e5xobservation=(new Jh.oU).occurrence,console.log("E5X vanilla obj ",this.e5xobservation),this.e5xobservation.attributes=Object.assign(Object.assign({},this.e5xobservation.attributes),(0,Bs.jD)((0,Bs.p$)(this.observation.occurrence.attributes))),this.e5xobservation.entities=Object.assign(Object.assign({},this.e5xobservation.entities),(0,Bs.jD)((0,Bs.p$)(this.observation.occurrence.entities))),console.log("E5X OBSREG",this.e5xobservation),this.observation.aircrafts.forEach((fe,ue)=>{if(this.e5xobservation.entities.aircraft[ue]=(new Jh.T$).aircraft,fe.hasOwnProperty("aircraft")&&(fe.aircraft.callsign&&(this.e5xobservation.entities.aircraft[ue].attributes.callSign.value=fe.aircraft.callsign,this.e5xobservation.entities.aircraft[ue].attributes.aircraftRegistration.value=fe.aircraft.callsign),fe.aircraft.hasOwnProperty("e5x"))){this.e5xobservation.entities.aircraft[ue].attributes=Object.assign(Object.assign({},this.e5xobservation.entities.aircraft[ue].attributes),(0,Bs.jD)((0,Bs.p$)(fe.aircraft.e5x.attributes))),this.e5xobservation.entities.aircraft[ue].entities=Object.assign(Object.assign({},this.e5xobservation.entities.aircraft[ue].entities),(0,Bs.jD)((0,Bs.p$)(fe.aircraft.e5x.entities)));for(let je of fe.crew){try{this.e5xobservation.entities.aircraft[ue].entities.flightCrewMember.push(je.flightCrewMember)}catch(nt){console.log("CREW",nt)}try{this.e5xobservation.entities.aircraft[ue].entities.incapacitation.concat(je.incapacitation)}catch(nt){console.log("CREW INCAP",nt)}}fe.airspace&&(this.e5xobservation.entities.aircraft[ue].links.airSpace.ref=fe.airspace.id,this.e5xobservation.entities.airSpace.push(fe.airspace)),fe.aerodrome&&(!!fe.aerodrome.entities.runway&&fe.aerodrome.entities.runway.length>0&&(this.e5xobservation.entities.aircraft[ue].links.runway.ref=fe.aerodrome.entities.runway[0].id),this.e5xobservation.entities.aerodromeGeneral.push(fe.aerodrome))}if(fe.hasOwnProperty("occurrence")){console.log("Occurrence");try{this.e5xobservation.entities.aircraft[ue].attributes=Object.assign(Object.assign({},this.e5xobservation.entities.aircraft[ue].attributes),(0,Bs.jD)((0,Bs.p$)(fe.occurrence)))}catch(je){}}if(fe.hasOwnProperty("wx"))for(let je in fe.wx)if(fe.wx[je].hasOwnProperty("metar"))for(let nt of fe.wx[je].metar)this.e5xobservation.entities.aerodromeWeatherReports.push({attributes:{wxReport:{plainText:nt}}})})}openModal(b){this.modalRef=this.modalService.open(b,{size:"lg",backdrop:"static",keyboard:!1})}closeModal(b){this.subject.update(this.observation),this.modalRef.close()}getFile(b){return C3(this,void 0,void 0,function*(){return yield this.apiFile.getFile(b,{query:{projection:{file:0}}}).toPromise()})}addFiles(){let b=[];return this.observation.files.forEach(j=>{let te=this.getFile(j.f);b.push({fileName:te.name,description:""})}),b}};Kd.ctorParameters=()=>[{type:Jc.FF},{type:dh.j},{type:G0.zM},{type:T4.H},{type:Tg.W},{type:N3.t},{type:xa.F}],Kd.propDecorators={e5x:[{type:n.IIB}],change:[{type:n.r_U}]},Kd=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-e5x",template:Mg,styles:[Hf]})],Kd);var Q1=B(17762),w3=B(26228),y2=B(78535),t1=B(79185),M3=B(53298),xu=B(55828),V3=B(28537);let Cd=class{constructor(b,j,te,fe,ue,je){this.attributeService=b,this.choicesService=j,this.apiCache=te,this.modalService=fe,this.alertService=ue,this.configService=je,this.faTimes=pr.NBC,this.faQuestion=pr.Psp,this.itemsChange=new n.vpe,this.change=new n.vpe,this.allowed=[],this.show_help=!0,this.max_results=100,this.classes="",this.disabled=!1,this.activity="motorfly",this.tagsLoading=!1,this.tagsInput$=new s.xQ,this.search=!1,this.choices=[],this.debouncedUpdate=(0,V3.D)(this.update,600),this.debouncedOnChange=(0,V3.D)(this.onChange,400),this.configService.observableConfig.subscribe(nt=>{this.config=nt,this.rit_version=this.config[this.activity].observation.e5x.rit_version,this.init()})}ngOnInit(){}ngOnChanges(b){this.rit_version&&this.init()}init(){this.element_id||(this.element_id=this.path),this.label||(this.label=(0,Bs.KP)(this.path));const b={query:{where:{attribute:this.path,rit_version:this.rit_version}}};this.apiCache.get(["e5x-attributes",b.query],this.attributeService.getAttributes(b)).subscribe(j=>{if(j._items.length>0){if(this.attribute=j._items[0],this.attribute.choices_key){let te={query:{where:{key:this.attribute.choices_key,rit_version:this.rit_version},max_results:this.max_results}};!!this.allowed&&this.allowed.length>0&&(te.query.where.id={$in:this.allowed}),this.apiCache.get(["e5x-choices",te.query],this.choicesService.getChoices(te)).subscribe(fe=>{fe._meta.total>fe._meta.max_results?this.rebuild():this.choices=fe._items})}}else console.log("Error getting the attribute: "+this.path)})}rebuild(){this.choicesService.getChoices({query:{where:{key:this.attribute.choices_key,id:Array.isArray(this.items)?{$in:this.items}:this.items,rit_version:this.rit_version}}}).subscribe(b=>{Array.isArray(this.items)?this.selectedTags=b._items:1===b._items.length&&(this.selectedTags=b._items[0])},b=>{},()=>this.searchTags())}update(b){try{["decimal","integer","int","number"].indexOf(this.attribute.restrictions.type)>-1&&(this.items>this.attribute.restrictions.max&&(this.items=this.attribute.restrictions.max,this.alertService.warning("For h\xf8y verdi for "+this.label+" satt til "+this.attribute.restrictions.max,!1,!0,5,!1)),this.items<this.attribute.restrictions.min&&(this.items=this.attribute.restrictions.min,this.alertService.warning("For lav verdi for "+this.label+" satt til "+this.attribute.restrictions.min,!1,!0,5,!1)))}catch(j){}try{"decimal"===this.attribute.restrictions.type&&(this.items=String(parseFloat(this.items).toFixed(2)))}catch(j){}try{"string"===this.attribute.restrictions.type&&+this.attribute.restrictions.max>0&&this.items.length>+this.attribute.restrictions.max&&(this.items=this.items.substr(0,this.attribute.restrictions.max),this.alertService.warning("For lang tekst for "+this.label+" satt til "+this.attribute.restrictions.max+" tegn",!1,!0,5,!1))}catch(j){}if(null!=this.attribute.choices_key||[3,5].indexOf(this.attribute.datatype)>-1)try{this.items=this.items.map(j=>+j)}catch(j){this.items=+this.items}this.itemsChange.emit(this.items),this.change.emit(!0)}onChange(b){this.attribute.max>1?this.selectedTags?null!=this.attribute.choices_key||[3,5].indexOf(this.attribute.datatype)>-1?this.itemsChange.emit(this.selectedTags.map(j=>+j.id)):this.itemsChange.emit(this.selectedTags.map(j=>j.id)):this.itemsChange.emit([]):this.selectedTags?null!=this.attribute.choices_key||[3,5].indexOf(this.attribute.datatype)>-1?this.itemsChange.emit(+this.selectedTags.id):this.itemsChange.emit(this.selectedTags.id):this.itemsChange.emit(null),this.change.emit(!0)}preloadTags(){let b;this.tags$=this.choicesService.getChoices({query:{where:{where:{key:this.attribute.choices_key},max_results:this.max_results,rit_version:this.rit_version},sort:[{freq:-1}]}}).pipe((0,O.U)(j=>b=j._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1))}searchTags(){let b;this.search=!0,this.tags$=(0,xu.z)((0,C.of)([]),this.tagsInput$.pipe((0,fn.b)(400),(0,M3.x)(),(0,R.b)(()=>this.tagsLoading=!0),(0,z.w)(j=>this.choicesService.getChoices({query:{where:{key:this.attribute.choices_key,$text:{$search:j},rit_version:this.rit_version},projection:{_score:{$meta:"textScore"},id:1,label:1,descr:1,expl:1,key:1,value:1},sort:'[("_score", {"$meta": "textScore"})]'}}).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1)))))}openModal(b){this.modalRef=this.modalService.open(b,{size:"lg",backdrop:"static",keyboard:!1})}};Cd.ctorParameters=()=>[{type:t1.n},{type:y2.h},{type:pc.G},{type:Jc.FF},{type:ma.u},{type:xa.F}],Cd.propDecorators={items:[{type:n.IIB}],itemsChange:[{type:n.r_U}],change:[{type:n.r_U}],allowed:[{type:n.IIB}],show_help:[{type:n.IIB}],unit:[{type:n.IIB}],customLabel:[{type:n.IIB}],type:[{type:n.IIB}],path:[{type:n.IIB}],label:[{type:n.IIB}],max_results:[{type:n.IIB}],classes:[{type:n.IIB}],disabled:[{type:n.IIB}],element_id:[{type:n.IIB}],activity:[{type:n.IIB}]},Cd=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-e5x",template:Q1,styles:[w3]})],Cd);var U3=B(14776),uh=B(15667);let mc=class{constructor(b,j,te,fe){this.attributeService=b,this.choicesService=j,this.configService=te,this.apiCache=fe,this.showLabel=!0,this.activity="motorfly",this.arr=[],this.configService.observableConfig.subscribe(ue=>{this.config=ue,this.rit_version=this.config[this.activity].observation.e5x.rit_version})}ngOnInit(){Array.isArray(this.items)||(console.log("ERR","Not array in render",this.items),this.items=[this.items]),this.label=(0,Bs.KP)(this.path);const b={query:{where:{attribute:this.path,rit_version:this.rit_version}}};this.apiCache.get(["e5x-attribute",this.activity,b.query],this.attributeService.getAttributes(b)).subscribe(j=>{if(j._items.length>0)if(j._items[0].choices_key){const te={query:{where:{key:j._items[0].choices_key,id:{$in:this.items},rit_version:this.rit_version}}};this.choicesService.getChoices(te).subscribe(fe=>{fe._items.forEach(ue=>{this.arr.push(ue.label)})})}else this.arr=this.items;else this.arr=this.items},j=>{console.log("Error getting choices",j),this.arr=this.items})}};mc.ctorParameters=()=>[{type:t1.n},{type:y2.h},{type:xa.F},{type:pc.G}],mc.propDecorators={items:[{type:n.IIB}],path:[{type:n.IIB}],unit:[{type:n.IIB}],customLabel:[{type:n.IIB}],showLabel:[{type:n.IIB}],classes:[{type:n.IIB}],activity:[{type:n.IIB}]},mc=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-e5x-render",template:U3,styles:[uh]})],mc);var S4=B(1824),q0=B(76426),$0=B(92938);let fh=class{constructor(b){this.orsService=b,this.key="value",this.showLabel=!1,this.activity="motorfly"}ngOnInit(){const b=this.path.replace(new RegExp(".[0-9].","g"),".");let j={query:{projection:{}}};j.query[b]=1,this.orsService.get(this._id+"?version="+this.version,j).subscribe(te=>{console.log("Data",te,"Path",this.path,this.e5xPath);try{this.value=+(0,$0.get)(te,this.path+"."+this.key)}catch(fe){console.log("ERR",fe),this.value=void 0}},te=>console.log("ERR PIPE",te),()=>{})}};fh.ctorParameters=()=>[{type:Wu.Z}],fh.propDecorators={_id:[{type:n.IIB}],version:[{type:n.IIB}],path:[{type:n.IIB}],key:[{type:n.IIB}],e5xPath:[{type:n.IIB}],unit:[{type:n.IIB}],customLabel:[{type:n.IIB}],showLabel:[{type:n.IIB}],classes:[{type:n.IIB}],activity:[{type:n.IIB}]},fh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-e5x-render-version",template:S4,styles:[q0]})],fh);var ph=B(37757),Bf=B(4238),Y3=B(40537);let k4=class{constructor(b){this.tags=b,this.tagsLoading=!1,this.tagsInput$=new s.xQ,this.limit=1,this.details=!1,this.disabled=!1,this.allowAdd=!0,this.fc=!1,this.preload=!1,this.tagStringChange=new n.vpe,this.change=new n.vpe,this.tags$=[]}ngOnInit(){this.tagString||(this.tagString=""),this.selectedTags={tag:this.tagString},this.preload?this.preloadTags():this.searchTags()}remove(b){void 0!==b&&this.tags.freq(b,-1).subscribe(()=>{})}onChange(b){let j="";void 0===b?(this.remove(this.currentId),this.selectedTags=null):(j=b.hasOwnProperty("tag")?b.tag:b,this.selectedTags=b,b.hasOwnProperty("_id")?(this.tags.freq(b._id,1).subscribe(()=>{}),this.currentId!==b._id&&(this.remove(this.currentId),this.currentId=b._id)):this.tags.create({tag:j,group:this.group,activity:this.activity}).subscribe(te=>{this.currentId&&this.remove(this.currentId),this.selectedTags=Object.assign({tag:j,group:this.group,activity:this.activity,freq:1},te),this.currentId=te._id},te=>console.log("Error updating tag",te))),this.tagStringChange.emit(j),this.change.emit(b)}preloadTags(){let b;this.tags$=this.tags.getTags({query:{where:{activity:this.activity,group:this.group,freq:{$gte:0}},sort:[{freq:-1}]}}).pipe((0,O.U)(j=>b=j._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1))}searchTags(){let b;this.tags$=(0,xu.z)((0,C.of)([]),this.tagsInput$.pipe((0,fn.b)(400),(0,M3.x)(),(0,R.b)(()=>this.tagsLoading=!0),(0,z.w)(j=>this.tags.getTags({query:{where:{activity:this.activity,group:this.group,freq:{$gte:-1},$text:{$search:j}},sort:[{freq:-1}]}}).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1)))))}};k4.ctorParameters=()=>[{type:Y3.N}],k4.propDecorators={tagString:[{type:n.IIB}],activity:[{type:n.IIB}],group:[{type:n.IIB}],elementId:[{type:n.IIB}],details:[{type:n.IIB}],disabled:[{type:n.IIB}],allowAdd:[{type:n.IIB}],fc:[{type:n.IIB}],preload:[{type:n.IIB}],tagStringChange:[{type:n.r_U}],change:[{type:n.r_U}]},k4=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-string",template:ph,styles:[Bf]})],k4);var Sg=B(26213),z6=B(68110);let ef=class{constructor(b){this.tags=b,this.tagsLoading=!1,this.tagsInput$=new s.xQ,this.selectedTags=[],this.currentTags=[],this.limit=10,this.allowAdd=!0,this.disabled=!1,this.elementId="tag-id",this.details=!1,this.fc=!1,this.preload=!1,this.initialTagsChange=new n.vpe,this.change=new n.vpe}ngOnInit(){void 0===this.initialTags&&(this.initialTags=[]),this.initialTags.forEach(b=>{this.selectedTags.push({tag:b})}),this.currentTags=this.selectedTags,this.preload?this.preloadTags():this.searchTags()}onChange(){console.log("Change");let b=[];this.selectedTags.forEach(j=>{b.push(j.tag)}),this.currentTags=this.selectedTags,this.initialTagsChange.emit(b),this.change.emit(!0),this.currentTerm=void 0}onAdd(b){if(console.log("On add",b),b.hasOwnProperty("_id"))this.tags.freq(b._id,1).subscribe(()=>{this.onChange()});else{let j="";j=b&&"object"==typeof b&&b.hasOwnProperty("tag")?b.tag:b,this.tags.create({tag:j,group:this.group,activity:this.activity}).subscribe(te=>{this.selectedTags.forEach((fe,ue)=>{fe.tag===j&&this.selectedTags.splice(ue,1)}),this.selectedTags=[...this.selectedTags,{_id:te._id,tag:j,freq:1,activity:this.activity,group:this.group}],this.onChange()},te=>console.log("Error updating tag"))}}remove(b){void 0!==b&&this.tags.freq(b,-1).subscribe(()=>{})}onRemove(b){console.log("On remove",b),!!b.value&&b.value.hasOwnProperty("_id")&&this.remove(b.value._id),this.onChange()}onClear(b){console.log("On clear",b),this.currentTags.forEach(j=>{j.hasOwnProperty("_id")&&this.remove(j._id)}),this.onChange()}onFocusOut(b){this.currentTerm&&0!=this.currentTerm.trim().length&&(this.onAdd(this.currentTerm.trim()),this.currentTerm=void 0)}onSearch(b){this.currentTerm=b.term}preloadTags(){let b;this.tags$=this.tags.getTags({query:{where:{activity:this.activity,group:this.group,freq:{$gte:-1}},sort:[{freq:-1}],max_results:1e3}}).pipe((0,O.U)(j=>b=j._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1))}searchTags(){let b;this.tags$=(0,xu.z)((0,C.of)([]),this.tagsInput$.pipe((0,fn.b)(400),(0,M3.x)(),(0,R.b)(j=>{this.currentTerm=j,this.tagsLoading=!0}),(0,z.w)(j=>this.tags.getTags({query:{where:{activity:this.activity,group:this.group,freq:{$gte:0},$text:{$search:j}},sort:[{freq:-1}]}}).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1)))))}};ef.ctorParameters=()=>[{type:Y3.N}],ef.propDecorators={initialTags:[{type:n.IIB}],activity:[{type:n.IIB}],group:[{type:n.IIB}],limit:[{type:n.IIB}],allowAdd:[{type:n.IIB}],disabled:[{type:n.IIB}],elementId:[{type:n.IIB}],details:[{type:n.IIB}],fc:[{type:n.IIB}],preload:[{type:n.IIB}],initialTagsChange:[{type:n.r_U}],change:[{type:n.r_U}]},ef=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag",template:Sg,styles:[z6]})],ef);var R6=B(18501),N6=B(3396);let jf=class{constructor(b){this.personService=b,this.tagsLoading=!1,this.tagsInput$=new s.xQ,this.limit=1,this.tempName=null,this.elementId="some_id",this.details=!1,this.disabled=!1,this.allowAdd=!0,this.fc=!1,this.placeholder="Skriv for \xe5 s\xf8ke",this.notFoundText="Fant ikke noe",this.personChange=new n.vpe,this.change=new n.vpe}set person(b){console.log("GOT new value",b),this._person=b,this.initTags()}get person(){return this._person}ngOnInit(){this.searchTags()}emitPerson(){const b=this._person,{full_name:j}=b,te=function(J,b){var j={};for(var te in J)Object.prototype.hasOwnProperty.call(J,te)&&b.indexOf(te)<0&&(j[te]=J[te]);if(null!=J&&"function"==typeof Object.getOwnPropertySymbols){var fe=0;for(te=Object.getOwnPropertySymbols(J);fe<te.length;fe++)b.indexOf(te[fe])<0&&Object.prototype.propertyIsEnumerable.call(J,te[fe])&&(j[te[fe]]=J[te[fe]])}return j}(b,["full_name"]);this.personChange.emit(te),this.change.emit(!0)}initTags(){this._person?this._person&&this._person.hasOwnProperty("id")&&this._person.id>0?this.personService.getUser(this._person.id).subscribe(b=>{this.selectedTags={id:this._person.id,full_name:b.full_name},this.selectedTags=Object.assign({},this.selectedTags)}):this._person&&this._person.hasOwnProperty("id")&&this._person.id<0&&(this._person.tmp_name?(this.selectedTags={id:this._person.id,full_name:this._person.tmp_name},this.selectedTags=Object.assign({},this.selectedTags)):(this.selectedTags={id:this._person.id,full_name:"Person "+-1*this._person.id},this.selectedTags=Object.assign({},this.selectedTags))):(this._person=void 0,this.selectedTags=void 0)}onChange(b){void 0===typeof b?(this.selectedTags=void 0,this._person=void 0):b?b.hasOwnProperty("tag")?this._person={id:b.tag}:b.hasOwnProperty("id")?this._person={id:b.id}:"string"==typeof b?this._person={id:-1*Math.floor(1e5*Math.random()),tmp_name:(0,Bs.Qs)(b)}:b.hasOwnProperty("full_name")&&(this._person={id:-1*Math.floor(1e5*Math.random()),tmp_name:b.full_name}):this._person=void 0,this.selectedTags=b,this.emitPerson()}searchTags(){let b;this.tags$=(0,xu.z)((0,C.of)([]),this.tagsInput$.pipe((0,fn.b)(700),(0,M3.x)(),(0,R.b)(()=>this.tagsLoading=!0),(0,z.w)(j=>this.personService.search(j,this.activity).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1)))))}};jf.ctorParameters=()=>[{type:Lf.p}],jf.propDecorators={person:[{type:n.IIB}],tempName:[{type:n.IIB}],activity:[{type:n.IIB}],group:[{type:n.IIB}],elementId:[{type:n.IIB}],details:[{type:n.IIB}],disabled:[{type:n.IIB}],allowAdd:[{type:n.IIB}],fc:[{type:n.IIB}],placeholder:[{type:n.IIB}],notFoundText:[{type:n.IIB}],personChange:[{type:n.r_U}],change:[{type:n.r_U}]},jf=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-person",template:R6,styles:[N6]})],jf);var X0=B(70088),H6=B(28314);let W3=class{constructor(b){this.personsService=b,this.tagsLoading=!1,this.tagsInput$=new s.xQ,this.selectedTags=[],this.limit=void 0,this.personsChange=new n.vpe,this.change=new n.vpe,this.tempName=null,this.elementId="some_id",this.details=!1,this.disabled=!1,this.allowAdd=!0,this.fc=!1,this.external=!1,this.externalChange=new n.vpe,this.debug=!1,this.confirmDelete=!1}ngOnInit(){this.initPersons(),this.searchTags()}ngOnChanges(b){if(b.hasOwnProperty("persons")&&this.external){const j=this.persons.map(te=>te.id);if(0===j.length)this.selectedTags=[],this.selectedTags=[...this.selectedTags];else for(let te=0;te<this.selectedTags.length;te++)if(-1===j.indexOf(this.selectedTags[te].id)){this.selectedTags.splice(te,1),this.selectedTags=[...this.selectedTags];break}this.external&&setTimeout(()=>{this.external=!1,this.externalChange.emit(this.external)},500)}}initPersons(){if(this.persons){if(this.persons&&this.persons.length>0)for(let b=0;b<this.persons.length;b++)if(this.persons[b].id<0)this.persons[b].hasOwnProperty("tmp_name")?this.selectedTags=[...this.selectedTags,{id:this.persons[b].id,full_name:this.persons[b].tmp_name}]:this.selectedTags=[...this.selectedTags,{id:this.persons[b].id,full_name:"Person "+-1*this.persons[b].id}];else if(this.persons[b].id>0){const j={query:{projection:{id:1,full_name:1}}};this.personsService.getUser(this.persons[b].id,j).subscribe(te=>{te.full_name&&(this.persons[b].full_name=te.full_name,this.selectedTags=[...this.selectedTags,this.persons[b]])},te=>console.log(te),()=>{console.log("Selected",this.selectedTags,"Persons",this.persons)})}}else this.persons=[]}emitPersons(){const b=this.persons.map(j=>{const{full_name:te}=j;return function(J,b){var j={};for(var te in J)Object.prototype.hasOwnProperty.call(J,te)&&b.indexOf(te)<0&&(j[te]=J[te]);if(null!=J&&"function"==typeof Object.getOwnPropertySymbols){var fe=0;for(te=Object.getOwnPropertySymbols(J);fe<te.length;fe++)b.indexOf(te[fe])<0&&Object.prototype.propertyIsEnumerable.call(J,te[fe])&&(j[te[fe]]=J[te[fe]])}return j}(j,["full_name"])});this.personsChange.emit(b),this.change.emit(!0)}onAdd(b){b&&b.hasOwnProperty("id")&&b.id>0?this.personsService.getUser(b.id).subscribe(j=>{this.persons=[...this.persons,{id:b.id,data:{date:new Date,licenses:j.licenses,memberships:j.memberships,functions:j.functions,competences:j.competences}}],this.emitPersons()},j=>console.log(j)):b.full_name&&!b.hasOwnProperty("id")&&(this.persons=[...this.persons,{id:-1*Math.floor(1e5*Math.random()),tmp_name:(0,Bs.Qs)(b.full_name)}],this.emitPersons())}onRemove(b){console.log("Remove",b),b.hasOwnProperty("value")&&b.value.hasOwnProperty("id")&&(this.persons=this.persons.filter(j=>j.id!==b.value.id),this.emitPersons())}onClear(b){console.log("Clear",b),this.persons=[],this.selectedTags=[],this.emitPersons()}searchTags(){let b;this.tags$=(0,xu.z)((0,C.of)([]),this.tagsInput$.pipe((0,fn.b)(700),(0,M3.x)(),(0,R.b)(()=>this.tagsLoading=!0),(0,z.w)(j=>this.personsService.search(j,this.activity).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.tagsLoading=!1)))))}};W3.ctorParameters=()=>[{type:Lf.p}],W3.propDecorators={persons:[{type:n.IIB}],personsChange:[{type:n.r_U}],change:[{type:n.r_U}],tempName:[{type:n.IIB}],activity:[{type:n.IIB}],group:[{type:n.IIB}],elementId:[{type:n.IIB}],details:[{type:n.IIB}],disabled:[{type:n.IIB}],allowAdd:[{type:n.IIB}],fc:[{type:n.IIB}],external:[{type:n.IIB}],externalChange:[{type:n.r_U}],debug:[{type:n.IIB}],confirmDelete:[{type:n.IIB}]},W3=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-persons",template:X0,styles:[H6]})],W3);var s0=B(38241),J0=B(71162);let gh=class{constructor(b){this.calendar=b,this.disabled=!1,this.dateChange=new n.vpe,this.debouncedEmit=(0,V3.D)(this.onDateSelection,900),this.today=this.calendar.getToday(),this.faCalendar=pr.fT7}ngOnInit(){if(this.date){let b=new Date(this.date);this.model={year:b.getFullYear(),month:b.getMonth(),day:b.getDay()}}}onDateSelection(b){console.log("Selected Date",b),console.log("Modal",this.model),this.dateChange.emit(this.model.year+"-"+this.model.month+"-"+this.model.day)}};gh.ctorParameters=()=>[{type:Jc.vL}],gh.propDecorators={date:[{type:n.IIB}],disabled:[{type:n.IIB}],dateChange:[{type:n.r_U}]},gh=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-date",template:s0,styles:[J0]})],gh);var Lg=B(84502),Q0=B(3656);let e2=class{constructor(b){this.router=b,this.faHashtag=pr.olY}ngOnInit(){}orsGOTO(){try{let b=parseInt(this.ors_id);b>0?this.router.navigate(["/ors",this.activity,"report",b]):this.ors_id=void 0}catch(b){this.ors_id=void 0,console.log(b)}}};e2.ctorParameters=()=>[{type:P.F0}],e2.propDecorators={activity:[{type:n.IIB}]},e2=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-go",template:Lg,styles:[Q0]})],e2);var e6=B(89226),Eg=B(33169),G3=B(50917);let tf=class{constructor(b,j,te){this.modalService=b,this.aircraftsService=j,this.router=te,this.faPlus=pr.r8p,this.faEdit=pr.Xcf,this.faTimes=pr.NBC,this.dataReady=!1,this.defaults={},this.aircraft_listing=[],this.new_aircraft={callsign:void 0}}ngOnInit(){this.aircraft={callsign:void 0},this.dataReady=!1,this.aircraftsService.getAircraftTypes().subscribe(b=>{this.aircraft_types=b._items},b=>console.log("Error getting aircraft types"))}addAircraft(){this.new_aircraft.callsign=this.callsign,this.aircraftsService.create(this.new_aircraft).subscribe(b=>{this.router.navigate(["/aircrafts","edit",b._id])},b=>this.error=b)}checkAircraft(){this.dataReady=!1,this.callsign=this.callsign.toUpperCase();const b={query:{where:{callsign:this.callsign},projection:{callsign:1,status:1,model:1,manufacturer:1}}};this.aircraftsService.getAircrafts(b).subscribe(j=>{j._meta.total>0?this.aircraft_listing=j._items:0===j._meta.total&&(this.aircraft_listing=[])},j=>{this.error=j},()=>this.dataReady=!0)}openModal(b){this.modalRef=this.modalService.open(b,{size:"lg",backdrop:"static",keyboard:!1})}};tf.ctorParameters=()=>[{type:Jc.FF},{type:G3.I},{type:P.F0}],tf=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-aircrafts-add",template:e6,styles:[Eg]})],tf);var Ig=B(15109),t6=B(8513);let ee=class{constructor(b,j,te,fe){this.alertService=b,this.aircraftsService=j,this.domSanitizer=te,this.confirmService=fe,this.callsignChange=new n.vpe,this.showSave=!0,this.showImage=!0,this.e5xChange=new n.vpe,this.change=new n.vpe,this.disabled=!1,this.dataReady=!1,this.changes=!1,this.changed_image=!1,this.faClose=pr.YIN,this.faPlus=pr.r8p,this.faSave=pr.r6l}ngOnInit(){this.getAircraft()}updateAircraft(b=!1){this.e5xChange.emit(this.e5x),b&&this.change.emit(!0)}onChange(b){this.changes=!0}addEngine(){this.e5x.entities.engine.push((new Jh.T$).engine)}delEngine(b){const j={title:"Please confirm",message:"Are you sure you want to delete engine #"+(+b+1)+"?",yes:"Delete",no:"Cancel"};this.confirmService.confirm(j).then(()=>{this.e5x.entities.engine.splice(b,1)},()=>{})}addPropeller(){this.e5x.entities.propeller.push((new Jh.T$).propeller)}delPropeller(b){const j={title:"Please confirm",message:"Are you sure you want to delete propeller #"+(+b+1)+"?",yes:"Delete",no:"Cancel"};this.confirmService.confirm(j).then(()=>{this.e5x.entities.propeller.splice(b,1)},()=>{})}getAircraft(){this.aircraftsService.getAircraft(this.callsign).subscribe(b=>{this.aircraft=b,b._id===this.callsign&&(this.callsign=b.callsign,this.callsignChange.emit(this.callsign)),this.aircraft.hasOwnProperty("e5x")?this.e5x=b.e5x:(this.e5x=(new Jh.T$).aircraft,console.log("Making new aircraft class...")),this.e5x.attributes.aircraftRegistration.value||(this.e5x.attributes.aircraftRegistration.value=this.aircraft.callsign),this.e5x.attributes.serialNumber.value||(this.e5x.attributes.serialNumber.value=this.aircraft.msn),!this.e5x.attributes.stateOfRegistry.value&&this.aircraft.callsign.startsWith("LN-")&&(this.e5x.attributes.stateOfRegistry.value=179),this.e5x.attributes.propulsionType.value,this.e5x.attributes.aircraftCategory.value||(this.aircraft.callsign.startsWith("LN-Y")?this.e5x.attributes.aircraftCategory.value=10:this.aircraft.callsign.startsWith("LN-O")?this.e5x.attributes.aircraftCategory.value=31:this.aircraft.callsign.startsWith("LN-G")?this.e5x.attributes.aircraftCategory.value=20:this.aircraft.callsign.startsWith("LN-C")&&(this.e5x.attributes.aircraftCategory.value=42)),this.updateAircraft()},b=>{},()=>this.dataReady=!0)}saveAircraft(){let b={e5x:this.e5x};this.changed_image&&(b.image=this.thumbnail),console.log("PAYLOAD",b),this.aircraftsService.save(this.aircraft._id,b,this.aircraft._etag).subscribe(j=>{this.aircraft._etag=j._etag,this.aircraft._updated=j._updated,this.changes=!1,this.changed_image=!1,this.alertService.success("Endringer for "+this.aircraft.callsign+" ble lagret",!1,!0,15),this.updateAircraft(!0)},j=>console.log("Error saving aircraft",j),()=>{})}onUploadChange(b){const j=b.target.files[0];if(j){const te=new FileReader;this.changed_image=!0,this.changes=!0,te.onload=this.handleReaderLoaded.bind(this),te.readAsBinaryString(j)}}handleReaderLoaded(b){this.thumbnail="data:image/png;base64,"+btoa(b.target.result)}};ee.ctorParameters=()=>[{type:ma.u},{type:G3.I},{type:Ya.H7},{type:G0.zM}],ee.propDecorators={callsign:[{type:n.IIB}],callsignChange:[{type:n.r_U}],showSave:[{type:n.IIB}],showImage:[{type:n.IIB}],e5x:[{type:n.IIB}],e5xChange:[{type:n.r_U}],change:[{type:n.r_U}],disabled:[{type:n.IIB}]},ee=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-aircrafts-edit",template:Ig,styles:[t6]})],ee);var Ce=B(87076),Ye=B(31473);let Rt=class{constructor(b,j){this.aircraftsService=b,this.domSanitizer=j,this.faPlane=pr.wKO,this.faHelicopter=pr.vFF,this.dataReady=!1}ngOnInit(){this.getAircraft()}getAircraft(){this.aircraftsService.getAircraft(this.callsign).subscribe(b=>{this.aircraft=b},b=>{console.log("ERR getting aircraft ",b.message),this.aircraft={callsign:this.callsign,image:void 0},this.dataReady=!0},()=>this.dataReady=!0)}};Rt.ctorParameters=()=>[{type:G3.I},{type:Ya.H7}],Rt.propDecorators={callsign:[{type:n.IIB}],model:[{type:n.IIB}],manufacturer:[{type:n.IIB}]},Rt=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-aircraft-summary",template:Ce,styles:[Ye]})],Rt);var en=B(38472),Tn=B(98286),Fn=B(45550);let Mi=class{constructor(b){this.airportService=b,this.airportChange=new n.vpe,this.change=new n.vpe,this.disabled=!1,this.element_id="",this.fc=!1,this.airportsInput$=new s.xQ,this.airportsLoading=!1,this.selectedAirports={},this.dataReady=!0}ngOnInit(){this.searchAirports()}onChange(b){if(this.airportChange.emit(b),b){try{delete b._etag,delete b._updated,delete b._links,delete b._score}catch(j){}this.change.emit(!0)}else this.change.emit(!1)}searchAirports(){let b;this.airports$=(0,xu.z)((0,C.of)([]),this.airportsInput$.pipe((0,fn.b)(400),(0,M3.x)(),(0,R.b)(()=>this.airportsLoading=!0),(0,z.w)(j=>this.airportService.getAirports({query:{where:{$text:{$search:j}},projection:{_score:{$meta:"textScore"}},sort:'[("_score", { "$meta": "textScore" })]',max_results:100}}).pipe((0,O.U)(te=>b=te._items),(0,Vu.K)(()=>(0,C.of)([])),(0,R.b)(()=>this.airportsLoading=!1)))))}};Mi.ctorParameters=()=>[{type:Fn.A}],Mi.propDecorators={airport:[{type:n.IIB}],airportChange:[{type:n.r_U}],change:[{type:n.r_U}],disabled:[{type:n.IIB}],element_id:[{type:n.IIB}],fc:[{type:n.IIB}]},Mi=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.wA2)({selector:"nlf-ors-editor-tag-airport",template:en,styles:[Tn]})],Mi);let vr=class{constructor(b){b.fixedWidth=!0}};vr.ctorParameters=()=>[{type:Ja}],vr=function(J,b,j,te){var je,fe=arguments.length,ue=fe<3?b:null===te?te=Object.getOwnPropertyDescriptor(b,j):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ue=Reflect.decorate(J,b,j,te);else for(var nt=J.length-1;nt>=0;nt--)(je=J[nt])&&(ue=(fe<3?je(ue):fe>3?je(b,j,ue):je(b,j))||ue);return fe>3&&ue&&Object.defineProperty(b,j,ue),ue}([(0,n.LVF)({imports:[i.ez,P.Bz,m.u5,m.UX,bl,qc,Pc,Te,De,vt,ss,Os,qu._G,Jc.IJ,ua.forRoot({echarts:()=>B.e(545).then(B.bind(B,23545))})],declarations:[Qc,za,Id,k1,L1,P2,_p,dl,v2,sc,f4,J4,Ud,Gp,Q4,zh,eh,_u,h3,Ph,ih,kf,_2,Ma,qd,b3,lh,$h,Rf,F3,Yh,ch,Gh,mp,C4,bp,w4,M4,x3,rh,oh,Lo,xd,jh,m3,b4,H3,bu,y4,sh,Zh,d3,A6.o,Kd,Cd,mc,Xh,gh,e2,k4,ef,jf,W3,fh,tf,ee,Rt,Mi],exports:[i.ez,P.Bz,m.u5,m.UX,qu._G,qc,Pc,Te,ua,Os,Qc,bl,De,vt,sc,f4,J4,Ud,ss,za,Id,k1,L1,P2,_p,Gp,Q4,zh,eh,_u,h3,Ph,ih,kf,_2,Ma,qd,b3,lh,$h,Rf,F3,Yh,ch,Gh,mp,C4,bp,w4,M4,x3,rh,oh,Lo,xd,jh,m3,b4,H3,bu,y4,sh,Zh,dl,v2,Jc.IJ,d3,A6.o,Kd,Cd,mc,Xh,gh,e2,k4,ef,jf,W3,fh,tf,ee,Rt,Mi]})],vr)},85642:(de,$e,B)=>{"use strict";B.d($e,{j:()=>m});var n=B(3184),i=B(84505);let m=class{constructor(){this.observation=new i.X(void 0),this.observableObservation=this.observation.asObservable()}update(o){this.observation.next(o)}reset(){this.observation.next(void 0)}unsubscribe(){this.reset()}};m.ctorParameters=()=>[],m=function(s,o,h,v){var C,y=arguments.length,x=y<3?o:null===v?v=Object.getOwnPropertyDescriptor(o,h):v;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)x=Reflect.decorate(s,o,h,v);else for(var _=s.length-1;_>=0;_--)(C=s[_])&&(x=(y<3?C(x):y>3?C(o,h,x):C(o,h))||x);return y>3&&x&&Object.defineProperty(o,h,x),x}([(0,n.GSi)()],m)},25730:(de,$e,B)=>{"use strict";B.d($e,{u:()=>o});var n=B(3184),i=B(52816),P=B(92218),m=B(80823);let o=class{constructor(v){this.router=v,this.subject=new P.xQ,this.keepAfterNavigationChange=!1,this.dismissible=!0,v.events.subscribe(y=>{y instanceof i.OD&&(this.keepAfterNavigationChange?this.keepAfterNavigationChange=!1:this.subject.next())})}alert(v,y,x=!1,C=!0,_=0,w=!0){_>0&&this.debounceRemove(_),this.keepAfterNavigationChange=x,this.dismissible=C,this.subject.next({type:v,text:y,inline:w})}success(v,y=!1,x=!0,C=0,_=!0){this.alert("success",v,y,x,C)}info(v,y=!1,x=!0,C=0,_=!0){this.alert("info",v,y,x,C)}warning(v,y=!1,x=!0,C=0,_=!0){this.alert("warning",v,y,x,C)}error(v,y=!1,x=!0,C=0,_=!0){this.alert("danger",v,y,x,C)}danger(v,y=!1,x=!0,C=0,_=!0){this.error(v,y,x,C)}primary(v,y=!1,x=!0,C=0,_=!0){this.alert("primary",v,y,x,C)}secondary(v,y=!1,x=!0,C=0,_=!0){this.alert("secondary",v,y,x,C)}light(v,y=!1,x=!0,C=0,_=!0){this.alert("light",v,y,x,C)}dark(v,y=!1,x=!0,C=0,_=!0){this.alert("dark",v,y,x,C)}clear(){this.subject.next()}getMessage(){return this.subject.asObservable()}debounceRemove(v){this.subject.pipe((0,m.b)(1e3*v)).subscribe(()=>this.clear())}};o.ctorParameters=()=>[{type:i.F0}],o=function(h,v,y,x){var w,C=arguments.length,_=C<3?v:null===x?x=Object.getOwnPropertyDescriptor(v,y):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(h,v,y,x);else for(var z=h.length-1;z>=0;z--)(w=h[z])&&(_=(C<3?w(_):C>3?w(v,y,_):w(v,y))||_);return C>3&&_&&Object.defineProperty(v,y,_),_}([(0,n.GSi)()],o)},54188:(de,$e,B)=>{"use strict";B.d($e,{W:()=>m});var n=B(3184),i=B(84505);let m=class{constructor(){this.auth=new i.X(!1),this.observableAuth=this.auth.asObservable(),this.authData=new i.X(null),this.observableAuthData=this.authData.asObservable();const o=localStorage.getItem("auth-token"),h=localStorage.getItem("auth-id-token");if(o&&h)try{this.update(!0),this.updateAuthData({person_id:+localStorage.getItem("auth-id"),token:o,id_token:h,valid:new Date(localStorage.getItem("auth-valid"))})}catch(v){this.update(!1),this.updateAuthData(null)}}update(o){this.auth.next(o)}updateAuthData(o){this.authData.next(o)}};m.ctorParameters=()=>[],m=function(s,o,h,v){var C,y=arguments.length,x=y<3?o:null===v?v=Object.getOwnPropertyDescriptor(o,h):v;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)x=Reflect.decorate(s,o,h,v);else for(var _=s.length-1;_>=0;_--)(C=s[_])&&(x=(y<3?C(x):y>3?C(o,h,x):C(o,h))||x);return y>3&&x&&Object.defineProperty(o,h,x),x}([(0,n.GSi)()],m)},26525:(de,$e,B)=>{"use strict";B.d($e,{v:()=>h});var n=B(3184),i=B(52816),P=B(25730),m=B(6407),s=B(54188);let h=class{constructor(y,x,C,_){this.router=y,this.alertService=x,this.authService=C,this.authSubject=_,this.authSubject.observableAuth.subscribe(w=>this.isLoggedIn=w,w=>this.isLoggedIn=!1)}canActivate(y,x){return!0}};h.ctorParameters=()=>[{type:i.F0},{type:P.u},{type:m.$},{type:s.W}],h=function(v,y,x,C){var z,_=arguments.length,w=_<3?y:null===C?C=Object.getOwnPropertyDescriptor(y,x):C;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)w=Reflect.decorate(v,y,x,C);else for(var R=v.length-1;R>=0;R--)(z=v[R])&&(w=(_<3?z(w):_>3?z(y,x,w):z(y,x))||w);return _>3&&w&&Object.defineProperty(y,x,w),w}([(0,n.GSi)()],h)},6407:(de,$e,B)=>{"use strict";B.d($e,{$:()=>fn});var n=B(28669),i=B(3184),P=B(31363),m=B(25730),s=B(54188),o=B(51957),h=B(6150),v=B(3518),y=B(52816),x=B(71260),C=B(92340),_=B(36362);const w={UKNOWN:"Unknown"},z={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:w.UKNOWN},R={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")},N={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"),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"),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")},S={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:w.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=[S.PS4,S.CHROME_BOOK,S.MAC,S.DELL,S.ASUS,S.UNKNOWN],O={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:w.UKNOWN},H={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:w.UKNOWN.toLowerCase()},U={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/},W=Object.assign(Object.assign(Object.assign(Object.assign({},R),N),U),{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/]}}]}}),re={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)/},pe={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/},Ae=Object.keys(re).reduce((_n,hn)=>(_n[hn]=re[hn],_n),{}),Se=Object.keys(pe).reduce((_n,hn)=>(_n[z[hn]]=pe[hn],_n),{});var rt,_n,ot,De=Object.freeze({__proto__:null,GENERAL:w,BROWSERS:z,MOBILES_RE:R,TABLETS_RE:N,DEVICES:S,DESKTOP_DEVICES:E,OS:O,OS_VERSIONS:H,OS_RE:U,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/},DEVICES_RE:W,OS_VERSIONS_RE_MAP:re,BROWSER_VERSIONS_RE_MAP:pe,OS_VERSIONS_RE:Ae,BROWSER_VERSIONS_RE:Se});class qe{constructor(){}test(hn,vn){return"string"==typeof vn&&(vn=new RegExp(vn)),vn instanceof RegExp?vn.test(hn):vn&&Array.isArray(vn.and)?vn.and.every(xn=>this.test(hn,xn)):vn&&Array.isArray(vn.or)?vn.or.some(xn=>this.test(hn,xn)):!(!vn||!vn.not)&&!this.test(hn,vn.not)}exec(hn,vn){return"string"==typeof vn&&(vn=new RegExp(vn)),vn instanceof RegExp?vn.exec(hn):vn&&Array.isArray(vn)?vn.reduce((xn,dn)=>xn||this.exec(hn,dn),null):null}}(_n=rt||(rt={})).Mobile="mobile",_n.Tablet="tablet",_n.Desktop="desktop",_n.Unknown="unknown",function(_n){_n.Portrait="portrait",_n.Landscape="landscape"}(ot||(ot={}));const vt="iPad";class rn{constructor(hn){this.platformId=hn,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new qe,this.deviceType="",this.orientation="",(0,_.NF)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(hn=this.userAgent){hn!==this.userAgent&&(this.userAgent=hn);const vn=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(vn.forEach(xn=>{this[xn.prop]=Object.keys(De[xn.const]).reduce((dn,Sn)=>"device"===De[xn.const][Sn]&&(0,_.NF)(this.platformId)&&(this.reTree.test(this.userAgent,N[vt])||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(dn[De[xn.const][Sn]]=vt,Object):(dn[De[xn.const][Sn]]=this.reTree.test(hn,De[`${xn.const}_RE`][Sn]),dn),{})}),vn.forEach(xn=>{this[xn.prop]=Object.keys(De[xn.const]).map(dn=>De[xn.const][dn]).reduce((dn,Sn)=>"device"===xn.prop&&dn===De[xn.const].ANDROID?this[xn.prop][Sn]?Sn:dn:dn===De[xn.const].UNKNOWN&&this[xn.prop][Sn]?Sn:dn,De[xn.const].UNKNOWN)}),this.browser_version="0",this.browser!==z.UNKNOWN){const xn=Se[this.browser],dn=this.reTree.exec(hn,xn);dn&&(this.browser_version=dn[1])}"undefined"!=typeof window&&window.matchMedia?this.orientation=window.matchMedia("(orientation: landscape)").matches?ot.Landscape:ot.Portrait:this.orientation=w.UKNOWN,this.deviceType=this.isTablet()?rt.Tablet:this.isMobile(this.userAgent)?rt.Mobile:this.isDesktop(this.userAgent)?rt.Desktop:rt.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(hn=this.userAgent){return!this.isTablet(hn)&&!!Object.keys(R).find(xn=>this.reTree.test(hn,R[xn]))}isTablet(hn=this.userAgent){return!(!(0,_.NF)(this.platformId)||!(this.reTree.test(this.userAgent,N[vt])||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(N).find(xn=>!!this.reTree.test(hn,N[xn]))}isDesktop(hn=this.userAgent){return(this.device!==S.UNKNOWN||!this.isMobile(hn)&&!this.isTablet(hn))&&E.indexOf(this.device)>-1}}rn.\u0275fac=function(hn){return new(hn||rn)(i.LFG(i.Lbi))},rn.\u0275prov=i.Yz7({token:rn,factory:rn.\u0275fac,providedIn:"root"});let fn=class{constructor(hn,vn,xn,dn,Sn,si,cn,yn,qn,oi){this.apiCache=hn,this.userAuthService=vn,this.alertService=xn,this.router=dn,this.idle=Sn,this.keepalive=si,this.authSubject=cn,this.userSubject=yn,this.configSubject=qn,this.deviceService=oi,this.isAuth=!1,this.ENV=C.N,this.timedOut=!1,this.lastPing=null,this.idleTimeout=1800,this.logoutTimeout=180,this.loading=!1,this.firstLogin=!1,this.authSubject.observableAuth.subscribe(Yn=>this.isAuth=Yn,Yn=>this.isAuth=!1),this.authSubject.observableAuthData.subscribe(Yn=>{console.log("AUTH DATA",Yn),this.authData=Yn;try{this.id_token=Yn.id_token}catch(Xn){this.id_token=null}},Yn=>this.authData=null),this.userSubject.observable.subscribe(Yn=>this.userData=Yn,Yn=>this.userData=null)}login(hn,vn,xn,dn){this.alertService.clear(),this.loading=!0,this.userAuthService.authenticate(hn,vn,xn).subscribe(Sn=>{console.log("Auth",Sn),Sn.success&&!0===Sn.success?(localStorage.setItem("auth-id",Sn.username),localStorage.setItem("auth-token",Sn.token64),localStorage.setItem("auth-valid",Sn.valid.$date),this.id_token=Sn.id_token,localStorage.setItem("auth-id-token",Sn.id_token),Sn.settings.device_info=this.deviceService.getDeviceInfo(),this.userData={acl:Sn.acl,activities:Sn.activities,person_id:+Sn.username,_id:Sn._id,_etag:Sn._etag,settings:Sn.settings},localStorage.setItem("user-data",JSON.stringify(this.userData)),!Sn.settings.hasOwnProperty("default_discipline")&&!Sn.settings.hasOwnProperty("default_activity")&&(this.firstLogin=!0),this.authSubject.update(!0),this.authSubject.updateAuthData({person_id:+Sn.username,token:Sn.token64,id_token:Sn.id_token,valid:new Date(Sn.valid.$date)}),this.userSubject.update(this.userData),this.configSubject.init(),this.alertService.clear(),this.idle.setIdle(this.idleTimeout),this.idle.setTimeout(this.logoutTimeout),this.idle.setInterrupts(o.WO),this.idle.onIdleEnd.subscribe(()=>{this.idleState="Du er ikke lengre registrert som inaktiv",this.alertService.success(this.idleState,!1,!0,5)}),this.idle.onTimeout.subscribe(()=>{this.idleState="Din innlogging gikk ut p\xe5 tid",this.timedOut=!0,this.alertService.error(this.idleState),this.logout(!0)}),this.idle.onIdleStart.subscribe(()=>{this.idleState="Du er registrert som inaktiv",this.alertService.info(this.idleState)}),this.idle.onTimeoutWarning.subscribe(si=>{this.idleState="Du vil bli logget ut om "+si+" sekunder!",this.alertService.info(this.idleState)}),this.keepalive.interval(15),this.keepalive.onPing.subscribe(()=>this.lastPing=new Date),this.idleReset(),this.alertService.success("You succesfully logged in!",!1,!0,5),dn&&(console.log("Will redirect!",dn),this.router.navigate([dn])),this.loading=!1):(this.alertService.error(Sn.message),this.message=Sn.message,this.authSubject.update(!1),this.authSubject.updateAuthData(null),this.idleStop(),this.loading=!1)},Sn=>{console.log(Sn),this.alertService.danger(Sn.message),this.loading=!1,this.authSubject.update(!1),this.idleStop(),this.loading=!1},()=>{})}logout(hn,vn){const xn=this.id_token;let dn=this.isAuth;if(this.apiCache.clear(),this.idleStop(),this.authSubject.update(!1),this.authSubject.updateAuthData(void 0),localStorage.clear(),hn?this.alertService.warning("Du har blitt automatisk logget ut",!0):this.alertService.success("Du har blitt logget ut",!0),dn&&!this.isAuth){let Sn=this.ENV._logout_service+"?client_id="+this.ENV._client_id+"&id_token_hint="+xn+"&redirect_uri="+window.location.href;console.log("LOGOUT URL:",Sn),window.open(Sn,"_self")}}idleStop(){this.idle&&this.idle.stop()}idleReset(){this.idle&&(this.idle.watch(),this.idleState="Started.",this.timedOut=!1)}};fn.ctorParameters=()=>[{type:n.G},{type:P.J},{type:m.u},{type:y.F0},{type:o.hX},{type:h.A},{type:s.W},{type:x.K},{type:v.F},{type:rn}],fn=function(_n,hn,vn,xn){var si,dn=arguments.length,Sn=dn<3?hn:null===xn?xn=Object.getOwnPropertyDescriptor(hn,vn):xn;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Sn=Reflect.decorate(_n,hn,vn,xn);else for(var cn=_n.length-1;cn>=0;cn--)(si=_n[cn])&&(Sn=(dn<3?si(Sn):dn>3?si(hn,vn,Sn):si(hn,vn))||Sn);return dn>3&&Sn&&Object.defineProperty(hn,vn,Sn),Sn}([(0,i.GSi)()],fn)},88849:(de,$e,B)=>{"use strict";B.d($e,{hQ:()=>h,we:()=>m,z5:()=>o,zM:()=>s});var n=B(3184),i=B(46229),P=function(v,y,x,C){var z,_=arguments.length,w=_<3?y:null===C?C=Object.getOwnPropertyDescriptor(y,x):C;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)w=Reflect.decorate(v,y,x,C);else for(var R=v.length-1;R>=0;R--)(z=v[R])&&(w=(_<3?z(w):_>3?z(y,x,w):z(y,x))||w);return _>3&&w&&Object.defineProperty(y,x,w),w};let m=class{};m=P([(0,n.GSi)()],m);let s=class{constructor(y,x){this.modalService=y,this.state=x}confirm(y){return this.state.options=y,this.state.options.no_color||(this.state.options.no_color="secondary"),this.state.options.yes_color||(this.state.options.yes_color="danger"),this.state.options.no||(this.state.options.no="No"),this.state.options.yes||(this.state.options.yes="Yes"),this.state.modal=this.modalService.open(o),this.state.modal.result}};s.ctorParameters=()=>[{type:i.FF},{type:m}],s=P([(0,n.GSi)()],s);let o=class{constructor(y){this.state=y,this.options=y.options}yes(){this.state.modal.close("confirmed")}no(){this.state.modal.dismiss("not confirmed")}};o.ctorParameters=()=>[{type:m}],o=P([(0,n.wA2)({selector:"confirm-modal-component",template:'<div class="modal-header">\n    <h4 class="modal-title pull-left">{{ options.title }}</h4>\n    <button type="button" class="close" aria-label="Close" (click)="no()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <p [innerHTML]="options.message | safe"></p>\n  </div>\n  <div class="modal-footer">\n    <button type="button" class="btn btn-{{ options.yes_color }}" (click)="yes()">{{ options.yes }}</button>\n    <button type="button" class="btn btn-{{ options.no_color }}" (click)="no()">{{ options.no }}</button>\n  </div>'})],o);let h=class{constructor(y,x){x.template=y}};h.ctorParameters=()=>[{type:n.Rgc},{type:m}],h=P([(0,n.Xek)({selector:"template[confirm]"})],h)},38349:(de,$e,B)=>{"use strict";B.d($e,{u:()=>s});var n=B(3184),i=B(52822);const m_errors_location_unsupportedBrowser="Browser does not support location services",m_errors_location_permissionDenied="You have rejected access to your location",m_errors_location_positionUnavailable="Unable to determine your location",m_errors_location_timeout="Service timeout has been reached";let s=class{getLocation(v){return v=v||{timeout:5e3},i.y.create(y=>{window.navigator&&window.navigator.geolocation?window.navigator.geolocation.getCurrentPosition(x=>{y.next(x),y.complete()},x=>{switch(x.code){case 1:y.error(m_errors_location_permissionDenied);break;case 2:y.error(m_errors_location_positionUnavailable);break;case 3:y.error(m_errors_location_timeout)}},v):y.error(m_errors_location_unsupportedBrowser)})}};s=function(h,v,y,x){var w,C=arguments.length,_=C<3?v:null===x?x=Object.getOwnPropertyDescriptor(v,y):x;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(h,v,y,x);else for(var z=h.length-1;z>=0;z--)(w=h[z])&&(_=(C<3?w(_):C>3?w(v,y,_):w(v,y))||_);return C>3&&_&&Object.defineProperty(v,y,_),_}([(0,n.GSi)()],s)},60649:(de,$e,B)=>{"use strict";B.d($e,{D:()=>P});var n=B(3184);let P=class{constructor(){this.toasts=[]}show(s,o={}){this.toasts.push(Object.assign({textOrTpl:s},o))}remove(s){this.toasts=this.toasts.filter(o=>o!==s)}};P=function(m,s,o,h){var x,v=arguments.length,y=v<3?s:null===h?h=Object.getOwnPropertyDescriptor(s,o):h;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)y=Reflect.decorate(m,s,o,h);else for(var C=m.length-1;C>=0;C--)(x=m[C])&&(y=(v<3?x(y):v>3?x(s,o,y):x(s,o))||y);return v>3&&y&&Object.defineProperty(s,o,y),y}([(0,n.GSi)({providedIn:"root"})],P)},27612:(de,$e,B)=>{"use strict";B.d($e,{o:()=>_});var n=B(7709),i=B(75e3),P=B(3184),m=B(46229),s=B(71260),o=B(3518),h=B(7656),v=B(9306),y=B(92938);let _=class{constructor(z,R,N,S){this.activeModal=z,this.userSubject=R,this.configService=N,this.orgService=S,this.faCheck=v.LEp,this.faPlus=v.r8p,this.configService.observableConfig.subscribe(E=>{this.config=E,this.userSubject.observable.subscribe(O=>{O&&(this.userData=O,O.acl&&(this.org=[],O.acl.forEach(H=>{14==+H.type&&H.activity>0&&+H.org>0&&H.role===this.config.nif_roles.klubbmedlem&&this.org.push(H)})))})})}ngOnInit(){}getClubFromDiscipline(z){}setDefaultClub(z){this.orgService.getOrganization(z.org).subscribe(R=>{(0,y.has)(R,"parent_id")&&(this.userData.settings.default_club=R.parent_id)},R=>console.log("Err assigning default values"),()=>{this.userData.settings.default_discipline=z.org,this.userData.settings.default_activity=z.activity,(0,y.has)(this.userData,"settings.ors")||(this.userData.settings.ors={}),(0,y.has)(this.userData.settings,"ors.first_report")||(this.userData.settings.ors={first_report:void 0}),this.userSubject.update(this.userData),this.success=!0})}};_.ctorParameters=()=>[{type:m.Kz},{type:s.K},{type:o.F},{type:h.u}],_=function(w,z,R,N){var O,S=arguments.length,E=S<3?z:null===N?N=Object.getOwnPropertyDescriptor(z,R):N;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)E=Reflect.decorate(w,z,R,N);else for(var H=w.length-1;H>=0;H--)(O=w[H])&&(E=(S<3?O(E):S>3?O(z,R,E):O(z,R))||E);return S>3&&E&&Object.defineProperty(z,R,E),E}([(0,P.wA2)({selector:"nlf-user-first-login",template:n,styles:[i]})],_)},71260:(de,$e,B)=>{"use strict";B.d($e,{K:()=>v});var n=B(3184),i=B(84505),P=B(62618),m=B(92938),o=B(25730);let v=class{constructor(x,C){this.user=x,this.alertService=C,this.subject=new i.X({}),this.observable=this.subject.asObservable(),this.currentSettings={};try{const _=JSON.parse(localStorage.getItem("user-data"));!!_&&_.hasOwnProperty("settings")&&(this.currentSettings=(0,m.cloneDeep)(_.settings)),this.update(_)}catch(_){console.log("User subject error instantiating user data: ",_)}}update(x){!!x&&x.hasOwnProperty("settings")&&!(0,m.isEqual)(x.settings,this.currentSettings)&&this.user.save(x._id,{settings:x.settings},x._etag).subscribe(C=>{x._etag=C._etag,this.currentSettings=(0,m.cloneDeep)(x.settings),localStorage.setItem("user-data",JSON.stringify(x)),this.subject.next(x),this.alertService.success("Your user settings was saved successfully",!1,!0,5)},C=>this.alertService.error("Error storing user settings: "+C,!1,!0,15)),this.subject.next(x)}};v.ctorParameters=()=>[{type:P._},{type:o.u}],v=function(y,x,C,_){var R,w=arguments.length,z=w<3?x:null===_?_=Object.getOwnPropertyDescriptor(x,C):_;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(y,x,C,_);else for(var N=y.length-1;N>=0;N--)(R=y[N])&&(z=(w<3?R(z):w>3?R(x,C,z):R(x,C))||z);return w>3&&z&&Object.defineProperty(x,C,z),z}([(0,n.GSi)()],v)},92340:(de,$e,B)=>{"use strict";B.d($e,{N:()=>n});const n={production:!1,_auth_service:"https://auth.nlf.no/auth",_logout_service:"https://auth.nlf.no/logout",_client_id:"kpkje0xssi48qosmk474",_scope:"read",_shebang:0,_response_type:"access_token",_name:"dev",_top_level_name:"dev",_e5x_submission:!0}},99279:(de,$e,B)=>{"use strict";B.d($e,{q:()=>n});const n={dirty:!0,raw:"27b7fe0-dirty",hash:"27b7fe0",distance:null,tag:null,semver:null,suffix:"27b7fe0-dirty",semverString:null,version:"0.15.3",buildtime:"2024-08-28T18:48:06.657Z",branch:"hotfix/0.15.4"}},32815:(de,$e,B)=>{"use strict";var n={};B.r(n),B.d(n,{Decoder:()=>u5,Encoder:()=>S7,PacketType:()=>Ka,protocol:()=>v8});var P,d,i=B(3184);function m(d){if(":"!=d[0])return[null,d];const e=d.indexOf(":",1);if(-1===e)throw new Error(`Unsupported format "${d}" expecting ":namespace:name"`);return[d.slice(1,e),d.slice(e+1)]}function s(d){return"ng-container"===m(d)[1]}function o(d){return"ng-content"===m(d)[1]}function v(d){return null===d?null:m(d)[0]}function y(d,e){return d?`:${d}:${e}`:e}(d=P||(P={}))[d.RAW_TEXT=0]="RAW_TEXT",d[d.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",d[d.PARSABLE_DATA=2]="PARSABLE_DATA";class x{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=P.PARSABLE_DATA,closedByParent:l=!1,isVoid:u=!1,ignoreFirstLf:M=!1,preventNamespaceInheritance:F=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach(_e=>this.closedByChildren[_e]=!0),this.isVoid=u,this.closedByParent=l||u,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=M,this.preventNamespaceInheritance=F}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){if("object"==typeof this.contentType){const t=void 0===e?void 0:this.contentType[e];return null!=t?t:this.contentType.default}return this.contentType}}let C,_;function w(d){var e,t;return _||(C=new x,_={base:new x({isVoid:!0}),meta:new x({isVoid:!0}),area:new x({isVoid:!0}),embed:new x({isVoid:!0}),link:new x({isVoid:!0}),img:new x({isVoid:!0}),input:new x({isVoid:!0}),param:new x({isVoid:!0}),hr:new x({isVoid:!0}),br:new x({isVoid:!0}),source:new x({isVoid:!0}),track:new x({isVoid:!0}),wbr:new x({isVoid:!0}),p:new x({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new x({closedByChildren:["tbody","tfoot"]}),tbody:new x({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new x({closedByChildren:["tbody"],closedByParent:!0}),tr:new x({closedByChildren:["tr"],closedByParent:!0}),td:new x({closedByChildren:["td","th"],closedByParent:!0}),th:new x({closedByChildren:["td","th"],closedByParent:!0}),col:new x({isVoid:!0}),svg:new x({implicitNamespacePrefix:"svg"}),foreignObject:new x({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new x({implicitNamespacePrefix:"math"}),li:new x({closedByChildren:["li"],closedByParent:!0}),dt:new x({closedByChildren:["dt","dd"]}),dd:new x({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new x({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new x({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new x({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new x({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new x({closedByChildren:["optgroup"],closedByParent:!0}),option:new x({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new x({ignoreFirstLf:!0}),listing:new x({ignoreFirstLf:!0}),style:new x({contentType:P.RAW_TEXT}),script:new x({contentType:P.RAW_TEXT}),title:new x({contentType:{default:P.ESCAPABLE_RAW_TEXT,svg:P.PARSABLE_DATA}}),textarea:new x({contentType:P.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),null!==(t=null!==(e=_[d])&&void 0!==e?e:_[d.toLowerCase()])&&void 0!==t?t:C}const z=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class R{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(e){const t=[],r=(_e,Le)=>{Le.notSelectors.length>0&&!Le.element&&0==Le.classNames.length&&0==Le.attrs.length&&(Le.element="*"),_e.push(Le)};let u,l=new R,M=l,F=!1;for(z.lastIndex=0;u=z.exec(e);){if(u[1]){if(F)throw new Error("Nesting :not in a selector is not allowed");F=!0,M=new R,l.notSelectors.push(M)}const _e=u[2];if(_e){const Ge=u[3];"#"===Ge?M.addAttribute("id",_e.substr(1)):"."===Ge?M.addClassName(_e.substr(1)):M.setElement(_e)}const Le=u[4];if(Le&&M.addAttribute(M.unescapeAttribute(Le),u[6]),u[7]&&(F=!1,M=l),u[8]){if(F)throw new Error("Multiple selectors in :not are not supported");r(t,l),l=M=new R}}return r(t,l),t}unescapeAttribute(e){let t="",r=!1;for(let l=0;l<e.length;l++){const u=e.charAt(l);if("\\"!==u){if("$"===u&&!r)throw new Error(`Error in attribute selector "${e}". Unescaped "$" is not supported. Please escape with "\\$".`);r=!1,t+=u}else r=!0}return t}escapeAttribute(e){return e.replace(/\\/g,"\\\\").replace(/\$/g,"\\$")}isElementSelector(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length}hasElementSelector(){return!!this.element}setElement(e=null){this.element=e}getMatchingElementTemplate(){const e=this.element||"div",t=this.classNames.length>0?` class="${this.classNames.join(" ")}"`:"";let r="";for(let l=0;l<this.attrs.length;l+=2){r+=` ${this.attrs[l]}${""!==this.attrs[l+1]?`="${this.attrs[l+1]}"`:""}`}return w(e).isVoid?`<${e}${t}${r}/>`:`<${e}${t}${r}></${e}>`}getAttrs(){const e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)}addAttribute(e,t=""){this.attrs.push(e,t&&t.toLowerCase()||"")}addClassName(e){this.classNames.push(e.toLowerCase())}toString(){let e=this.element||"";if(this.classNames&&this.classNames.forEach(t=>e+=`.${t}`),this.attrs)for(let t=0;t<this.attrs.length;t+=2){const r=this.escapeAttribute(this.attrs[t]),l=this.attrs[t+1];e+=`[${r}${l?"="+l:""}]`}return this.notSelectors.forEach(t=>e+=`:not(${t})`),e}}var H,U;!function(d){d[d.Emulated=0]="Emulated",d[d.None=2]="None",d[d.ShadowDom=3]="ShadowDom"}(H||(H={})),function(d){d[d.OnPush=0]="OnPush",d[d.Default=1]="Default"}(U||(U={}));const X={name:"custom-elements"},W={name:"no-errors-schema"};var pe,Ae;function qe(d){const e=function Se(d){const e=d.classNames&&d.classNames.length?[8,...d.classNames]:[];return[d.element&&"*"!==d.element?d.element:"",...d.attrs,...e]}(d),t=d.notSelectors&&d.notSelectors.length?d.notSelectors.map(r=>function De(d){const e=d.classNames&&d.classNames.length?[8,...d.classNames]:[];return d.element?[5,d.element,...d.attrs,...e]:d.attrs.length?[3,...d.attrs,...e]:d.classNames&&d.classNames.length?[9,...d.classNames]:[]}(r)):[];return e.concat(...t)}function rt(d){return d?R.parse(d).map(qe):[]}!function(d){d[d.NONE=0]="NONE",d[d.HTML=1]="HTML",d[d.STYLE=2]="STYLE",d[d.SCRIPT=3]="SCRIPT",d[d.URL=4]="URL",d[d.RESOURCE_URL=5]="RESOURCE_URL"}(pe||(pe={})),function(d){d[d.Error=0]="Error",d[d.Warning=1]="Warning",d[d.Ignore=2]="Ignore"}(Ae||(Ae={}));const vt=/-+([a-z0-9])/g;function Xt(d,e){return _n(d,":",e)}function _n(d,e,t){const r=d.indexOf(e);return-1==r?t:[d.slice(0,r).trim(),d.slice(r+1).trim()]}function vn(d){throw new Error(`Internal Error: ${d}`)}function dn(d){let e=[];for(let t=0;t<d.length;t++){let r=d.charCodeAt(t);if(r>=55296&&r<=56319&&d.length>t+1){const l=d.charCodeAt(t+1);l>=56320&&l<=57343&&(t++,r=(r-55296<<10)+l-56320+65536)}r<=127?e.push(r):r<=2047?e.push(r>>6&31|192,63&r|128):r<=65535?e.push(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&e.push(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128)}return e}function Sn(d){if("string"==typeof d)return d;if(Array.isArray(d))return"["+d.map(Sn).join(", ")+"]";if(null==d)return""+d;if(d.overriddenName)return`${d.overriddenName}`;if(d.name)return`${d.name}`;if(!d.toString)return"object";const e=d.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}const cn="undefined"!=typeof window&&window,yn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,oi="undefined"!=typeof global&&global||cn||yn;class gi{constructor(e){this.digits=e}static zero(){return new gi([0])}static one(){return new gi([1])}clone(){return new gi(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let r=0;for(let l=0;l<t;l++){let u=r;l<this.digits.length&&(u+=this.digits[l]),l<e.digits.length&&(u+=e.digits[l]),u>=10?(this.digits[l]=u-10,r=1):(this.digits[l]=u,r=0)}r>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class Mt{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=gi.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let r=0;0!==e;e>>>=1,r++)if(1&e){const l=this.getMultipliedByPowerOfTwo(r);t.addToSelf(l)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const r=this.powerOfTwos[t-1];this.powerOfTwos[t]=r.add(r)}return this.powerOfTwos[e]}}function yt(d){return function lt(d){const e=dn(d),t=function wr(d,e){const t=d.length+3>>>2,r=[];for(let l=0;l<t;l++)r[l]=Bn(d,4*l,e);return r}(e,Ai.Big),r=8*e.length,l=function Yn(d,e){const t=[];for(let r=0;r<d;r++)t.push(e);return t}(80);let u=1732584193,M=4023233417,F=2562383102,_e=271733878,Le=3285377520;t[r>>5]|=128<<24-r%32,t[15+(r+64>>9<<4)]=r;for(let Ge=0;Ge<t.length;Ge+=16){const _t=u,Bt=M,on=F,Kt=_e,On=Le;for(let Kn=0;Kn<80;Kn++){l[Kn]=Kn<16?t[Ge+Kn]:pi(l[Kn-3]^l[Kn-8]^l[Kn-14]^l[Kn-16],1);const nr=Ft(Kn,M,F,_e),Ci=nr[0],Ar=nr[1],oo=[pi(u,5),Ci,Le,Ar,l[Kn]].reduce(ki);Le=_e,_e=F,F=pi(M,30),M=u,u=oo}u=ki(u,_t),M=ki(M,Bt),F=ki(F,on),_e=ki(_e,Kt),Le=ki(Le,On)}return function xi(d){let e="";for(let t=0;t<d.length;t++){const r=Pn(d,t);e+=(r>>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}(function ri(d){return d.reduce((e,t)=>e.concat(function mi(d){let e=[];for(let t=0;t<4;t++)e.push(d>>>8*(3-t)&255);return e}(t)),[])}([u,M,F,_e,Le]))}(function $t(d){return d.map(e=>e.visit(Ht,null))}(d.nodes).join("")+`[${d.meaning}]`)}function Je(d){return d.id||ht(d)}function ht(d){const e=new Jt;return Jn(d.nodes.map(r=>r.visit(e,null)).join(""),d.meaning)}class xt{visitText(e,t){return e.value}visitContainer(e,t){return`[${e.children.map(r=>r.visit(this)).join(", ")}]`}visitIcu(e,t){const r=Object.keys(e.cases).map(l=>`${l} {${e.cases[l].visit(this)}}`);return`{${e.expression}, ${e.type}, ${r.join(", ")}}`}visitTagPlaceholder(e,t){return e.isVoid?`<ph tag name="${e.startName}"/>`:`<ph tag name="${e.startName}">${e.children.map(r=>r.visit(this)).join(", ")}</ph name="${e.closeName}">`}visitPlaceholder(e,t){return e.value?`<ph name="${e.name}">${e.value}</ph>`:`<ph name="${e.name}"/>`}visitIcuPlaceholder(e,t){return`<ph icu name="${e.name}">${e.value.visit(this)}</ph>`}}const Ht=new xt;class Jt extends xt{visitIcu(e,t){let r=Object.keys(e.cases).map(l=>`${l} {${e.cases[l].visit(this)}}`);return`{${e.type}, ${r.join(", ")}}`}}function Ft(d,e,t,r){return d<20?[e&t|~e&r,1518500249]:d<40?[e^t^r,1859775393]:d<60?[e&t|e&r|t&r,2400959708]:[e^t^r,3395469782]}function ln(d){const e=dn(d);let t=Mn(e,0),r=Mn(e,102072);return 0==t&&(0==r||1==r)&&(t^=319790063,r^=-1801410264),[t,r]}function Jn(d,e=""){let t=ln(d);if(e){const u=ln(e);t=function Hi(d,e){const t=d[0],r=d[1],l=e[0],u=e[1],M=Ki(r,u),F=M[0],_e=M[1];return[ki(ki(t,l),F),_e]}(function $n(d,e){const t=d[0],r=d[1];return[t<<e|r>>>32-e,r<<e|t>>>32-e]}(t,1),u)}return function gr(d,e){const t=Mr.toThePowerOf(0).multiplyBy(e);return Mr.toThePowerOf(4).multiplyByAndAddTo(d,t),t.toString()}(2147483647&t[0],t[1])}function Mn(d,e){let l,t=2654435769,r=2654435769;const u=d.length;for(l=0;l+12<=u;l+=12){t=ki(t,Bn(d,l,Ai.Little)),r=ki(r,Bn(d,l+4,Ai.Little));const M=ti(t,r,e=ki(e,Bn(d,l+8,Ai.Little)));t=M[0],r=M[1],e=M[2]}return t=ki(t,Bn(d,l,Ai.Little)),r=ki(r,Bn(d,l+4,Ai.Little)),e=ki(e,u),ti(t,r,e=ki(e,Bn(d,l+8,Ai.Little)<<8))[2]}function ti(d,e,t){return d=_i(d,e),d=_i(d,t),d^=t>>>13,e=_i(e,t),e=_i(e,d),e^=d<<8,t=_i(t,d),t=_i(t,e),t^=e>>>13,d=_i(d,e),d=_i(d,t),d^=t>>>12,e=_i(e,t),e=_i(e,d),e^=d<<16,t=_i(t,d),t=_i(t,e),t^=e>>>5,d=_i(d,e),d=_i(d,t),d^=t>>>3,e=_i(e,t),e=_i(e,d),e^=d<<10,t=_i(t,d),t=_i(t,e),[d,e,t^=e>>>15]}var Ai;function ki(d,e){return Ki(d,e)[1]}function Ki(d,e){const t=(65535&d)+(65535&e),r=(d>>>16)+(e>>>16)+(t>>>16);return[r>>>16,r<<16|65535&t]}function _i(d,e){const t=(65535&d)-(65535&e);return(d>>16)-(e>>16)+(t>>16)<<16|65535&t}function pi(d,e){return d<<e|d>>>32-e}function Pn(d,e){return e>=d.length?0:d[e]}function Bn(d,e,t){let r=0;if(t===Ai.Big)for(let l=0;l<4;l++)r+=Pn(d,e+l)<<24-8*l;else for(let l=0;l<4;l++)r+=Pn(d,e+l)<<8*l;return r}!function(d){d[d.Little=0]="Little",d[d.Big=1]="Big"}(Ai||(Ai={}));const Mr=new class pn{constructor(e){this.base=e,this.exponents=[new Mt(gi.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const r=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new Mt(r)}return this.exponents[e]}}(256);var Li,br;!function(d){d[d.None=0]="None",d[d.Const=1]="Const"}(Li||(Li={}));class Sr{constructor(e=Li.None){this.modifiers=e}hasModifier(e){return 0!=(this.modifiers&e)}}!function(d){d[d.Dynamic=0]="Dynamic",d[d.Bool=1]="Bool",d[d.String=2]="String",d[d.Int=3]="Int",d[d.Number=4]="Number",d[d.Function=5]="Function",d[d.Inferred=6]="Inferred",d[d.None=7]="None"}(br||(br={}));class Xr extends Sr{constructor(e,t){super(t),this.name=e}visitType(e,t){return e.visitBuiltinType(this,t)}}class uo extends Sr{constructor(e,t,r=null){super(t),this.value=e,this.typeParams=r}visitType(e,t){return e.visitExpressionType(this,t)}}const at=new Xr(br.Dynamic),Ot=new Xr(br.Inferred),Nn=new Xr(br.Bool),$i=(new Xr(br.Int),new Xr(br.Number)),Fi=new Xr(br.String),Mo=(new Xr(br.Function),new Xr(br.None));var Jr,Bi;function ks(d,e){return null==d||null==e?d==e:d.isEquivalent(e)}function so(d,e,t){const r=d.length;if(r!==e.length)return!1;for(let l=0;l<r;l++)if(!t(d[l],e[l]))return!1;return!0}function Qo(d,e){return so(d,e,(t,r)=>t.isEquivalent(r))}!function(d){d[d.Minus=0]="Minus",d[d.Plus=1]="Plus"}(Jr||(Jr={})),function(d){d[d.Equals=0]="Equals",d[d.NotEquals=1]="NotEquals",d[d.Identical=2]="Identical",d[d.NotIdentical=3]="NotIdentical",d[d.Minus=4]="Minus",d[d.Plus=5]="Plus",d[d.Divide=6]="Divide",d[d.Multiply=7]="Multiply",d[d.Modulo=8]="Modulo",d[d.And=9]="And",d[d.Or=10]="Or",d[d.BitwiseAnd=11]="BitwiseAnd",d[d.Lower=12]="Lower",d[d.LowerEquals=13]="LowerEquals",d[d.Bigger=14]="Bigger",d[d.BiggerEquals=15]="BiggerEquals",d[d.NullishCoalesce=16]="NullishCoalesce"}(Bi||(Bi={}));class mr{constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new Or(this,e,null,t)}key(e,t,r){return new rs(this,e,t,r)}callFn(e,t,r){return new jo(this,e,null,t,r)}instantiate(e,t,r){return new gs(this,e,t,r)}conditional(e,t=null,r){return new zs(this,e,t,null,r)}equals(e,t){return new Po(Bi.Equals,this,e,null,t)}notEquals(e,t){return new Po(Bi.NotEquals,this,e,null,t)}identical(e,t){return new Po(Bi.Identical,this,e,null,t)}notIdentical(e,t){return new Po(Bi.NotIdentical,this,e,null,t)}minus(e,t){return new Po(Bi.Minus,this,e,null,t)}plus(e,t){return new Po(Bi.Plus,this,e,null,t)}divide(e,t){return new Po(Bi.Divide,this,e,null,t)}multiply(e,t){return new Po(Bi.Multiply,this,e,null,t)}modulo(e,t){return new Po(Bi.Modulo,this,e,null,t)}and(e,t){return new Po(Bi.And,this,e,null,t)}bitwiseAnd(e,t,r=!0){return new Po(Bi.BitwiseAnd,this,e,null,t,r)}or(e,t){return new Po(Bi.Or,this,e,null,t)}lower(e,t){return new Po(Bi.Lower,this,e,null,t)}lowerEquals(e,t){return new Po(Bi.LowerEquals,this,e,null,t)}bigger(e,t){return new Po(Bi.Bigger,this,e,null,t)}biggerEquals(e,t){return new Po(Bi.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(js,e)}nullishCoalesce(e,t){return new Po(Bi.NullishCoalesce,this,e,null,t)}toStmt(){return new me(this,null)}}class Ti extends mr{constructor(e,t,r){super(t,r),this.name=e}isEquivalent(e){return e instanceof Ti&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadVarExpr(this,t)}set(e){return new To(this.name,e,null,this.sourceSpan)}}class Cr extends mr{constructor(e,t,r){super(t,r),this.expr=e}visitExpression(e,t){return e.visitTypeofExpr(this,t)}isEquivalent(e){return e instanceof Cr&&e.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}}class Vi extends mr{constructor(e,t,r){super(t,r),this.node=e}isEquivalent(e){return e instanceof Vi&&this.node===e.node}isConstant(){return!1}visitExpression(e,t){return e.visitWrappedNodeExpr(this,t)}}class To extends mr{constructor(e,t,r,l){super(r||t.type,l),this.name=e,this.value=t}isEquivalent(e){return e instanceof To&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteVarExpr(this,t)}toDeclStmt(e,t){return new q(this.name,this.value,e,t,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Ot,Jo.Final)}}class qr extends mr{constructor(e,t,r,l,u){super(l||r.type,u),this.receiver=e,this.index=t,this.value=r}isEquivalent(e){return e instanceof qr&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWriteKeyExpr(this,t)}}class _o extends mr{constructor(e,t,r,l,u){super(l||r.type,u),this.receiver=e,this.name=t,this.value=r}isEquivalent(e){return e instanceof _o&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)}isConstant(){return!1}visitExpression(e,t){return e.visitWritePropExpr(this,t)}}class jo extends mr{constructor(e,t,r,l,u=!1){super(r,l),this.fn=e,this.args=t,this.pure=u}isEquivalent(e){return e instanceof jo&&this.fn.isEquivalent(e.fn)&&Qo(this.args,e.args)&&this.pure===e.pure}isConstant(){return!1}visitExpression(e,t){return e.visitInvokeFunctionExpr(this,t)}}class Do extends mr{constructor(e,t,r,l){super(r,l),this.tag=e,this.template=t}isEquivalent(e){return e instanceof Do&&this.tag.isEquivalent(e.tag)&&so(this.template.elements,e.template.elements,(t,r)=>t.text===r.text)&&Qo(this.template.expressions,e.template.expressions)}isConstant(){return!1}visitExpression(e,t){return e.visitTaggedTemplateExpr(this,t)}}class gs extends mr{constructor(e,t,r,l){super(r,l),this.classExpr=e,this.args=t}isEquivalent(e){return e instanceof gs&&this.classExpr.isEquivalent(e.classExpr)&&Qo(this.args,e.args)}isConstant(){return!1}visitExpression(e,t){return e.visitInstantiateExpr(this,t)}}class Ho extends mr{constructor(e,t,r){super(t,r),this.value=e}isEquivalent(e){return e instanceof Ho&&this.value===e.value}isConstant(){return!0}visitExpression(e,t){return e.visitLiteralExpr(this,t)}}class Dr{constructor(e,t){this.elements=e,this.expressions=t}}class Os{constructor(e,t,r){var l;this.text=e,this.sourceSpan=t,this.rawText=null!==(l=null!=r?r:null==t?void 0:t.toString())&&void 0!==l?l:Us(Ps(e))}}class cs{constructor(e,t){this.text=e,this.sourceSpan=t}}class li{constructor(e,t,r){this.text=e,this.sourceSpan=t,this.associatedMessage=r}}class _a extends mr{constructor(e,t,r,l,u){super(Fi,u),this.metaBlock=e,this.messageParts=t,this.placeHolderNames=r,this.expressions=l}isEquivalent(e){return!1}isConstant(){return!1}visitExpression(e,t){return e.visitLocalizedString(this,t)}serializeI18nHead(){let e=this.metaBlock.description||"";return this.metaBlock.meaning&&(e=`${this.metaBlock.meaning}|${e}`),this.metaBlock.customId&&(e=`${e}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(t=>{e=`${e}\u241f${t}`}),no(e,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(e){var t,r;return null!==(r=null===(t=this.messageParts[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==r?r:this.sourceSpan}getPlaceholderSourceSpan(e){var t,r,l,u;return null!==(u=null!==(r=null===(t=this.placeHolderNames[e])||void 0===t?void 0:t.sourceSpan)&&void 0!==r?r:null===(l=this.expressions[e])||void 0===l?void 0:l.sourceSpan)&&void 0!==u?u:this.sourceSpan}serializeI18nTemplatePart(e){var t;const r=this.placeHolderNames[e-1],l=this.messageParts[e];let u=r.text;return 0===(null===(t=r.associatedMessage)||void 0===t?void 0:t.legacyIds.length)&&(u+=`@@${Jn(r.associatedMessage.messageString,r.associatedMessage.meaning)}`),no(u,l.text,this.getMessagePartSourceSpan(e))}}const Ps=d=>d.replace(/\\/g,"\\\\"),ji=d=>d.replace(/^:/,"\\:"),So=d=>d.replace(/:/g,"\\:"),Us=d=>d.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function no(d,e,t){return""===d?{cooked:e,raw:Us(ji(Ps(e))),range:t}:{cooked:`:${d}:${e}`,raw:Us(`:${So(Ps(d))}:${Ps(e)}`),range:t}}class ho extends mr{constructor(e,t,r=null,l){super(t,l),this.value=e,this.typeParams=r}isEquivalent(e){return e instanceof ho&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime}isConstant(){return!1}visitExpression(e,t){return e.visitExternalExpr(this,t)}}class zs extends mr{constructor(e,t,r=null,l,u){super(l||t.type,u),this.condition=e,this.falseCase=r,this.trueCase=t}isEquivalent(e){return e instanceof zs&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&ks(this.falseCase,e.falseCase)}isConstant(){return!1}visitExpression(e,t){return e.visitConditionalExpr(this,t)}}class bo extends mr{constructor(e,t){super(Nn,t),this.condition=e}isEquivalent(e){return e instanceof bo&&this.condition.isEquivalent(e.condition)}isConstant(){return!1}visitExpression(e,t){return e.visitNotExpr(this,t)}}class yr{constructor(e,t=null){this.name=e,this.type=t}isEquivalent(e){return this.name===e.name}}class yo extends mr{constructor(e,t,r,l,u){super(r,l),this.params=e,this.statements=t,this.name=u}isEquivalent(e){return e instanceof yo&&Qo(this.params,e.params)&&Qo(this.statements,e.statements)}isConstant(){return!1}visitExpression(e,t){return e.visitFunctionExpr(this,t)}toDeclStmt(e,t){return new ne(e,this.params,this.statements,this.type,t,this.sourceSpan)}}class Fo extends mr{constructor(e,t,r,l,u=!0){super(r||$i,l),this.operator=e,this.expr=t,this.parens=u}isEquivalent(e){return e instanceof Fo&&this.operator===e.operator&&this.expr.isEquivalent(e.expr)}isConstant(){return!1}visitExpression(e,t){return e.visitUnaryOperatorExpr(this,t)}}class Po extends mr{constructor(e,t,r,l,u,M=!0){super(l||t.type,u),this.operator=e,this.rhs=r,this.parens=M,this.lhs=t}isEquivalent(e){return e instanceof Po&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)}isConstant(){return!1}visitExpression(e,t){return e.visitBinaryOperatorExpr(this,t)}}class Or extends mr{constructor(e,t,r,l){super(r,l),this.receiver=e,this.name=t}isEquivalent(e){return e instanceof Or&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name}isConstant(){return!1}visitExpression(e,t){return e.visitReadPropExpr(this,t)}set(e){return new _o(this.receiver,this.name,e,null,this.sourceSpan)}}class rs extends mr{constructor(e,t,r,l){super(r,l),this.receiver=e,this.index=t}isEquivalent(e){return e instanceof rs&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)}isConstant(){return!1}visitExpression(e,t){return e.visitReadKeyExpr(this,t)}set(e){return new qr(this.receiver,this.index,e,null,this.sourceSpan)}}class Xo extends mr{constructor(e,t,r){super(t,r),this.entries=e}isConstant(){return this.entries.every(e=>e.isConstant())}isEquivalent(e){return e instanceof Xo&&Qo(this.entries,e.entries)}visitExpression(e,t){return e.visitLiteralArrayExpr(this,t)}}class ba{constructor(e,t,r){this.key=e,this.value=t,this.quoted=r}isEquivalent(e){return this.key===e.key&&this.value.isEquivalent(e.value)}}class xs extends mr{constructor(e,t,r){super(t,r),this.entries=e,this.valueType=null,t&&(this.valueType=t.valueType)}isEquivalent(e){return e instanceof xs&&Qo(this.entries,e.entries)}isConstant(){return this.entries.every(e=>e.value.isConstant())}visitExpression(e,t){return e.visitLiteralMapExpr(this,t)}}const aa=new Ho(null,null,null),js=new Ho(null,Ot,null);var Jo;!function(d){d[d.None=0]="None",d[d.Final=1]="Final",d[d.Private=2]="Private",d[d.Exported=4]="Exported",d[d.Static=8]="Static"}(Jo||(Jo={}));class Vo{constructor(e,t,r){this.text=e,this.multiline=t,this.trailingNewline=r}toString(){return this.multiline?` ${this.text} `:this.text}}class Io extends Vo{constructor(e){super("",!0,!0),this.tags=e}toString(){return function ds(d){if(0===d.length)return"";if(1===d.length&&d[0].tagName&&!d[0].text)return`*${ir(d[0])} `;let e="*\n";for(const t of d)e+=" *",e+=ir(t).replace(/\n/g,"\n * "),e+="\n";return e+=" ",e}(this.tags)}}class or{constructor(e=Jo.None,t=null,r){this.modifiers=e,this.sourceSpan=t,this.leadingComments=r}hasModifier(e){return 0!=(this.modifiers&e)}addLeadingComment(e){var t;this.leadingComments=null!==(t=this.leadingComments)&&void 0!==t?t:[],this.leadingComments.push(e)}}class q extends or{constructor(e,t,r,l,u,M){super(l,u,M),this.name=e,this.value=t,this.type=r||t&&t.type||null}isEquivalent(e){return e instanceof q&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)}visitStatement(e,t){return e.visitDeclareVarStmt(this,t)}}class ne extends or{constructor(e,t,r,l,u,M,F){super(u,M,F),this.name=e,this.params=t,this.statements=r,this.type=l||null}isEquivalent(e){return e instanceof ne&&Qo(this.params,e.params)&&Qo(this.statements,e.statements)}visitStatement(e,t){return e.visitDeclareFunctionStmt(this,t)}}class me extends or{constructor(e,t,r){super(Jo.None,t,r),this.expr=e}isEquivalent(e){return e instanceof me&&this.expr.isEquivalent(e.expr)}visitStatement(e,t){return e.visitExpressionStmt(this,t)}}class Be extends or{constructor(e,t=null,r){super(Jo.None,t,r),this.value=e}isEquivalent(e){return e instanceof Be&&this.value.isEquivalent(e.value)}visitStatement(e,t){return e.visitReturnStmt(this,t)}}class et extends or{constructor(e,t,r=[],l,u){super(Jo.None,l,u),this.condition=e,this.trueCase=t,this.falseCase=r}isEquivalent(e){return e instanceof et&&this.condition.isEquivalent(e.condition)&&Qo(this.trueCase,e.trueCase)&&Qo(this.falseCase,e.falseCase)}visitStatement(e,t){return e.visitIfStmt(this,t)}}function Wt(d=[]){return new Io(d)}function Pt(d,e,t){return new Ti(d,e,t)}function Et(d,e=null,t){return new ho(d,null,e,t)}function Ln(d,e,t){return new uo(d,e,t)}function An(d){return new Cr(d)}function Qn(d,e,t){return new Xo(d,e,t)}function ui(d,e=null){return new xs(d.map(t=>new ba(t.key,t.value,t.quoted)),e,null)}function hr(d,e){return new bo(d,e)}function kr(d,e,t,r,l){return new yo(d,e,t,r,l)}function Ri(d,e,t,r,l){return new et(d,e,t,r,l)}function Yi(d,e,t,r){return new Do(d,e,t,r)}function In(d,e,t){return new Ho(d,e,t)}function Pr(d,e,t,r,l){return new _a(d,e,t,r,l)}function Ir(d){return d instanceof Ho&&null===d.value}function ir(d){let e="";if(d.tagName&&(e+=` @${d.tagName}`),d.text){if(d.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');e+=" "+d.text.replace(/@/g,"\\@")}return e}const zo=Pt("<unknown>"),Cs={};class Qe extends mr{constructor(e){super(e.type),this.resolved=e,this.original=e}visitExpression(e,t){return t===Cs?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)}isEquivalent(e){return e instanceof Qe&&this.resolved.isEquivalent(e.resolved)}isConstant(){return!0}fixup(e){this.resolved=e,this.shared=!0}}class Oe{constructor(e=!1){this.isClosureCompilerEnabled=e,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.nextNameIndex=0}getConstLiteral(e,t){if(e instanceof Ho&&!ze(e)||e instanceof Qe)return e;const r=this.keyOf(e);let l=this.literals.get(r),u=!1;if(l||(l=new Qe(e),this.literals.set(r,l),u=!0),!u&&!l.shared||u&&t){const M=this.freshName();let F,_e;this.isClosureCompilerEnabled&&ze(e)?(F=Pt(M).set(new yo([],[new Be(e)])),_e=Pt(M).callFn([])):(F=Pt(M).set(e),_e=Pt(M)),this.statements.push(F.toDeclStmt(Ot,Jo.Final)),l.fixup(_e)}return l}getLiteralFactory(e){if(e instanceof Xo){const t=e.entries.map(l=>l.isConstant()?l:zo),r=this.keyOf(Qn(t));return this._getLiteralFactory(r,e.entries,l=>Qn(l))}{const t=ui(e.entries.map(l=>({key:l.key,value:l.value.isConstant()?l.value:zo,quoted:l.quoted}))),r=this.keyOf(t);return this._getLiteralFactory(r,e.entries.map(l=>l.value),l=>ui(l.map((u,M)=>({key:e.entries[M].key,value:u,quoted:e.entries[M].quoted}))))}}_getLiteralFactory(e,t,r){let l=this.literalFactories.get(e);const u=t.filter(M=>!M.isConstant());if(!l){const M=t.map((Ge,_t)=>Ge.isConstant()?this.getConstLiteral(Ge,!0):Pt(`a${_t}`)),_e=kr(M.filter(Cn).map(Ge=>new yr(Ge.name,at)),[new Be(r(M))],Ot),Le=this.freshName();this.statements.push(Pt(Le).set(_e).toDeclStmt(Ot,Jo.Final)),l=Pt(Le),this.literalFactories.set(e,l)}return{literalFactory:l,literalFactoryArguments:u}}uniqueName(e){return`${e}${this.nextNameIndex++}`}freshName(){return this.uniqueName("_c")}keyOf(e){return e.visitExpression(new gt,Cs)}}class gt{constructor(){this.visitWrappedNodeExpr=Nt,this.visitWriteVarExpr=Nt,this.visitWriteKeyExpr=Nt,this.visitWritePropExpr=Nt,this.visitInvokeFunctionExpr=Nt,this.visitTaggedTemplateExpr=Nt,this.visitInstantiateExpr=Nt,this.visitConditionalExpr=Nt,this.visitNotExpr=Nt,this.visitAssertNotNullExpr=Nt,this.visitCastExpr=Nt,this.visitFunctionExpr=Nt,this.visitUnaryOperatorExpr=Nt,this.visitBinaryOperatorExpr=Nt,this.visitReadPropExpr=Nt,this.visitReadKeyExpr=Nt,this.visitCommaExpr=Nt,this.visitLocalizedString=Nt}visitLiteralExpr(e){return`${"string"==typeof e.value?'"'+e.value+'"':e.value}`}visitLiteralArrayExpr(e,t){return`[${e.entries.map(r=>r.visitExpression(this,t)).join(",")}]`}visitLiteralMapExpr(e,t){return`{${e.entries.map(u=>`${(u=>{const M=u.quoted?'"':"";return`${M}${u.key}${M}`})(u)}:${u.value.visitExpression(this,t)}`).join(",")}`}visitExternalExpr(e){return e.value.moduleName?`EX:${e.value.moduleName}:${e.value.name}`:`EX:${e.value.runtime.name}`}visitReadVarExpr(e){return`VAR:${e.name}`}visitTypeofExpr(e,t){return`TYPEOF:${e.expr.visitExpression(this,t)}`}}function Nt(d){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${d.constructor.name}`)}function Cn(d){return d instanceof Ti}function ze(d){return d instanceof Ho&&"string"==typeof d.value&&d.value.length>=50}const ke="@angular/core";class oe{}oe.NEW_METHOD="factory",oe.TRANSFORM_METHOD="transform",oe.PATCH_DEPS="patchedDeps",oe.core={name:null,moduleName:ke},oe.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:ke},oe.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:ke},oe.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:ke},oe.element={name:"\u0275\u0275element",moduleName:ke},oe.elementStart={name:"\u0275\u0275elementStart",moduleName:ke},oe.elementEnd={name:"\u0275\u0275elementEnd",moduleName:ke},oe.advance={name:"\u0275\u0275advance",moduleName:ke},oe.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:ke},oe.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:ke},oe.attribute={name:"\u0275\u0275attribute",moduleName:ke},oe.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:ke},oe.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:ke},oe.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:ke},oe.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:ke},oe.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:ke},oe.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:ke},oe.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:ke},oe.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:ke},oe.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:ke},oe.classProp={name:"\u0275\u0275classProp",moduleName:ke},oe.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:ke},oe.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:ke},oe.elementContainer={name:"\u0275\u0275elementContainer",moduleName:ke},oe.styleMap={name:"\u0275\u0275styleMap",moduleName:ke},oe.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:ke},oe.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:ke},oe.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:ke},oe.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:ke},oe.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:ke},oe.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:ke},oe.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:ke},oe.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:ke},oe.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:ke},oe.classMap={name:"\u0275\u0275classMap",moduleName:ke},oe.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:ke},oe.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:ke},oe.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:ke},oe.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:ke},oe.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:ke},oe.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:ke},oe.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:ke},oe.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:ke},oe.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:ke},oe.styleProp={name:"\u0275\u0275styleProp",moduleName:ke},oe.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:ke},oe.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:ke},oe.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:ke},oe.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:ke},oe.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:ke},oe.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:ke},oe.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:ke},oe.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:ke},oe.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:ke},oe.nextContext={name:"\u0275\u0275nextContext",moduleName:ke},oe.templateCreate={name:"\u0275\u0275template",moduleName:ke},oe.text={name:"\u0275\u0275text",moduleName:ke},oe.enableBindings={name:"\u0275\u0275enableBindings",moduleName:ke},oe.disableBindings={name:"\u0275\u0275disableBindings",moduleName:ke},oe.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:ke},oe.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:ke},oe.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:ke},oe.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:ke},oe.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:ke},oe.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:ke},oe.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:ke},oe.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:ke},oe.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:ke},oe.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:ke},oe.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:ke},oe.restoreView={name:"\u0275\u0275restoreView",moduleName:ke},oe.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:ke},oe.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:ke},oe.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:ke},oe.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:ke},oe.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:ke},oe.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:ke},oe.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:ke},oe.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:ke},oe.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:ke},oe.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:ke},oe.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:ke},oe.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:ke},oe.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:ke},oe.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:ke},oe.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:ke},oe.hostProperty={name:"\u0275\u0275hostProperty",moduleName:ke},oe.property={name:"\u0275\u0275property",moduleName:ke},oe.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:ke},oe.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:ke},oe.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:ke},oe.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:ke},oe.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:ke},oe.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:ke},oe.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:ke},oe.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:ke},oe.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:ke},oe.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:ke},oe.i18n={name:"\u0275\u0275i18n",moduleName:ke},oe.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:ke},oe.i18nExp={name:"\u0275\u0275i18nExp",moduleName:ke},oe.i18nStart={name:"\u0275\u0275i18nStart",moduleName:ke},oe.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:ke},oe.i18nApply={name:"\u0275\u0275i18nApply",moduleName:ke},oe.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:ke},oe.pipe={name:"\u0275\u0275pipe",moduleName:ke},oe.projection={name:"\u0275\u0275projection",moduleName:ke},oe.projectionDef={name:"\u0275\u0275projectionDef",moduleName:ke},oe.reference={name:"\u0275\u0275reference",moduleName:ke},oe.inject={name:"\u0275\u0275inject",moduleName:ke},oe.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:ke},oe.directiveInject={name:"\u0275\u0275directiveInject",moduleName:ke},oe.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:ke},oe.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:ke},oe.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:ke},oe.forwardRef={name:"forwardRef",moduleName:ke},oe.resolveForwardRef={name:"resolveForwardRef",moduleName:ke},oe.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:ke},oe.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:ke},oe.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:ke},oe.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:ke},oe.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:ke},oe.resolveBody={name:"\u0275\u0275resolveBody",moduleName:ke},oe.defineComponent={name:"\u0275\u0275defineComponent",moduleName:ke},oe.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:ke},oe.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:ke},oe.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:ke},oe.ViewEncapsulation={name:"ViewEncapsulation",moduleName:ke},oe.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:ke},oe.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:ke},oe.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:ke},oe.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:ke},oe.defineDirective={name:"\u0275\u0275defineDirective",moduleName:ke},oe.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:ke},oe.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:ke},oe.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:ke},oe.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:ke},oe.defineInjector={name:"\u0275\u0275defineInjector",moduleName:ke},oe.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:ke},oe.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:ke},oe.ModuleWithProviders={name:"ModuleWithProviders",moduleName:ke},oe.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:ke},oe.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:ke},oe.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:ke},oe.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:ke},oe.definePipe={name:"\u0275\u0275definePipe",moduleName:ke},oe.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:ke},oe.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:ke},oe.setClassMetadata={name:"\u0275setClassMetadata",moduleName:ke},oe.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:ke},oe.viewQuery={name:"\u0275\u0275viewQuery",moduleName:ke},oe.loadQuery={name:"\u0275\u0275loadQuery",moduleName:ke},oe.contentQuery={name:"\u0275\u0275contentQuery",moduleName:ke},oe.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:ke},oe.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:ke},oe.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:ke},oe.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:ke},oe.listener={name:"\u0275\u0275listener",moduleName:ke},oe.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:ke},oe.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:ke},oe.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:ke},oe.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:ke},oe.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:ke},oe.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:ke},oe.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:ke},oe.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:ke},oe.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:ke},oe.validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:ke};class Dt{constructor(e=null){this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(e,t=null){return this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(e,t,r,l){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error(`Unknown source file "${t}"`);if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==r||null==l))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:r,sourceCol0:l}),this}get currentLine(){return this.lines.slice(-1)[0]}toJSON(){if(!this.hasMappings)return null;const e=new Map,t=[],r=[];Array.from(this.sourcesContent.keys()).forEach((Le,Ge)=>{e.set(Le,Ge),t.push(Le),r.push(this.sourcesContent.get(Le)||null)});let l="",u=0,M=0,F=0,_e=0;return this.lines.forEach(Le=>{u=0,l+=Le.map(Ge=>{let _t=ci(Ge.col0-u);return u=Ge.col0,null!=Ge.sourceUrl&&(_t+=ci(e.get(Ge.sourceUrl)-M),M=e.get(Ge.sourceUrl),_t+=ci(Ge.sourceLine0-F),F=Ge.sourceLine0,_t+=ci(Ge.sourceCol0-_e),_e=Ge.sourceCol0),_t}).join(","),l+=";"}),l=l.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:t,sourcesContent:r,mappings:l}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function En(d){let e="";const t=dn(d);for(let r=0;r<t.length;){const l=t[r++],u=r<t.length?t[r++]:null,M=r<t.length?t[r++]:null;e+=xr(l>>2),e+=xr((3&l)<<4|(null===u?0:u>>4)),e+=null===u?"=":xr((15&u)<<2|(null===M?0:M>>6)),e+=null===u||null===M?"=":xr(63&M)}return e}(JSON.stringify(this,null,0)):""}}function ci(d){d=d<0?1+(-d<<1):d<<1;let e="";do{let t=31&d;(d>>=5)>0&&(t|=32),e+=xr(t)}while(d>0);return e}function xr(d){if(d<0||d>=64)throw new Error("Can only encode value in the range [0, 63]");return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d]}const ft=/'|\\|\n|\r|\$/g,ye=/^[$A-Z_][0-9A-Z_$]*$/i;class tn{constructor(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class hi{constructor(e){this._indent=e,this._lines=[new tn(e)]}static createRoot(){return new hi(0)}get _currentLine(){return this._lines[this._lines.length-1]}println(e,t=""){this.print(e||null,t,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return this._currentLine.indent*"  ".length+this._currentLine.partsLength}print(e,t,r=!1){t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),r&&this._lines.push(new tn(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(e=>e.parts.length>0?$l(e.indent)+e.parts.join(""):"").join("\n")}toSourceMapGenerator(e,t=0){const r=new Dt(e);let l=!1;const u=()=>{l||(r.addSource(e," ").addMapping(0,e,0,0),l=!0)};for(let M=0;M<t;M++)r.addLine(),u();return this.sourceLines.forEach((M,F)=>{r.addLine();const _e=M.srcSpans,Le=M.parts;let Ge=M.indent*"  ".length,_t=0;for(;_t<_e.length&&!_e[_t];)Ge+=Le[_t].length,_t++;for(_t<_e.length&&0===F&&0===Ge?l=!0:u();_t<_e.length;){const Bt=_e[_t],on=Bt.start.file,Kt=Bt.start.line,On=Bt.start.col;for(r.addSource(on.url,on.content).addMapping(Ge,on.url,Kt,On),Ge+=Le[_t].length,_t++;_t<_e.length&&(Bt===_e[_t]||!_e[_t]);)Ge+=Le[_t].length,_t++}}),r}spanOf(e,t){const r=this._lines[e];if(r){let l=t-$l(r.indent).length;for(let u=0;u<r.parts.length;u++){const M=r.parts[u];if(M.length>l)return r.srcSpans[u];l-=M.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}function io(d,e,t=!0){if(null==d)return null;const r=d.replace(ft,(...u)=>"$"==u[0]?e?"\\$":"$":"\n"==u[0]?"\\n":"\r"==u[0]?"\\r":`\\${u[0]}`);return t||!ye.test(r)?`'${r}'`:r}function $l(d){let e="";for(let t=0;t<d;t++)e+="  ";return e}function pa(d,e){if(0===e)return Ln(d);const t=[];for(let r=0;r<e;r++)t.push(at);return Ln(d,void 0,t)}function Bl(d){return`@${d}`}function qo(d,e){const t=io(e,!1,!1);return t!==e?`${d}[${t}]`:`${d}.${e}`}function La(d,e){return`animation_${d}_${e}`}function ja(d,e){const t=new ho({name:d,moduleName:null}),r=new Po(Bi.Identical,new Cr(t),In("undefined")),l=new Po(Bi.Or,r,t,void 0,void 0,!0);return new Po(Bi.And,l,e)}function Fs(d){const e=new Vi(d);return{value:e,type:e}}function Ro(d,e){const t=Qn(d.map(r=>r.value));return e?kr([],[new Be(t)]):t}function ml(d,e){return{expression:d,forwardRef:e}}function Uo({expression:d,forwardRef:e}){switch(e){case 0:case 1:return d;case 2:return c1(d)}}function c1(d){return Et(oe.forwardRef).callFn([kr([],[new Be(d)])])}var Ea,Ls;function us(d){const e=Pt("t");let t=null;const r=x1(d)?e:new Po(Bi.Or,e,d.internalType);let l=null;null!==d.deps?"invalid"!==d.deps&&(l=new gs(r,il(d.deps,d.target))):(t=Pt(`\u0275${d.name}_BaseFactory`),l=t.callFn([r]));const u=[];let M=null;function F(Le){const Ge=Pt("r");u.push(Ge.set(aa).toDeclStmt());const _t=null!==l?Ge.set(l).toStmt():Et(oe.invalidFactory).callFn([]).toStmt();return u.push(Ri(e,[_t],[Ge.set(Le).toStmt()])),Ge}if(x1(d)){const Le=il(d.delegateDeps,d.target);M=F(new(d.delegateType===Ea.Class?gs:jo)(d.delegate,Le))}else M=function Rs(d){return void 0!==d.expression}(d)?F(d.expression):l;if(null===M)u.push(Et(oe.invalidFactory).callFn([]).toStmt());else if(null!==t){const Le=Et(oe.getInheritedFactory).callFn([d.internalType]),Ge=new Po(Bi.Or,t,t.set(Le));u.push(new Be(Ge.callFn([r])))}else u.push(new Be(M));let _e=kr([new yr("t",at)],u,Ot,void 0,`${d.name}_Factory`);return null!==t&&(_e=kr([],[new q(t.name),new Be(_e)]).callFn([],void 0,!0)),{expression:_e,statements:[],type:Ll(d)}}function Ll(d){const e=null!==d.deps&&"invalid"!==d.deps?function Da(d){let e=!1;const t=d.map(r=>{const l=function d1(d){const e=[];return null!==d.attributeNameType&&e.push({key:"attribute",value:d.attributeNameType,quoted:!1}),d.optional&&e.push({key:"optional",value:In(!0),quoted:!1}),d.host&&e.push({key:"host",value:In(!0),quoted:!1}),d.self&&e.push({key:"self",value:In(!0),quoted:!1}),d.skipSelf&&e.push({key:"skipSelf",value:In(!0),quoted:!1}),e.length>0?ui(e):null}(r);return null!==l?(e=!0,l):In(null)});return e?Ln(Qn(t)):Mo}(d.deps):Mo;return Ln(Et(oe.FactoryDeclaration,[pa(d.type.type,d.typeArgumentCount),e]))}function il(d,e){return d.map((t,r)=>function vl(d,e,t){if(null===d.token)return Et(oe.invalidFactoryDep).callFn([In(t)]);if(null===d.attributeNameType){const r=0|(d.self?2:0)|(d.skipSelf?4:0)|(d.host?1:0)|(d.optional?8:0)|(e===Ls.Pipe?16:0);let l=0!==r||d.optional?In(r):null;const u=[d.token];l&&u.push(l);const M=function u1(d){switch(d){case Ls.Component:case Ls.Directive:case Ls.Pipe:return oe.directiveInject;case Ls.NgModule:case Ls.Injectable:default:return oe.inject}}(e);return Et(M).callFn(u)}return Et(oe.injectAttribute).callFn([d.token])}(t,e,r))}function x1(d){return void 0!==d.delegateType}!function(d){d[d.Class=0]="Class",d[d.Function=1]="Function"}(Ea||(Ea={})),function(d){d[d.Directive=0]="Directive",d[d.Component=1]="Component",d[d.Injectable=2]="Injectable",d[d.Pipe=3]="Pipe",d[d.NgModule=4]="NgModule"}(Ls||(Ls={}));class oa{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){throw new Error("visit() not implemented for Comment")}}class jl{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e){return e.visitText(this)}}class Ia{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r}visit(e){return e.visitBoundText(this)}}class Fl{constructor(e,t,r,l,u,M){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=l,this.valueSpan=u,this.i18n=M}visit(e){return e.visitTextAttribute(this)}}class Kl{constructor(e,t,r,l,u,M,F,_e,Le){this.name=e,this.type=t,this.securityContext=r,this.value=l,this.unit=u,this.sourceSpan=M,this.keySpan=F,this.valueSpan=_e,this.i18n=Le}static fromBoundElementProperty(e,t){if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${e.name}: ${e.sourceSpan}`);return new Kl(e.name,e.type,e.securityContext,e.value,e.unit,e.sourceSpan,e.keySpan,e.valueSpan,t)}visit(e){return e.visitBoundAttribute(this)}}class jt{constructor(e,t,r,l,u,M,F,_e){this.name=e,this.type=t,this.handler=r,this.target=l,this.phase=u,this.sourceSpan=M,this.handlerSpan=F,this.keySpan=_e}static fromParsedEvent(e){const t=0===e.type?e.targetOrPhase:null,r=1===e.type?e.targetOrPhase:null;if(void 0===e.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${e.name}: ${e.sourceSpan}`);return new jt(e.name,e.type,e.handler,t,r,e.sourceSpan,e.handlerSpan,e.keySpan)}visit(e){return e.visitBoundEvent(this)}}class Ie{constructor(e,t,r,l,u,M,F,_e,Le,Ge){this.name=e,this.attributes=t,this.inputs=r,this.outputs=l,this.children=u,this.references=M,this.sourceSpan=F,this.startSourceSpan=_e,this.endSourceSpan=Le,this.i18n=Ge}visit(e){return e.visitElement(this)}}class Ze{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt){this.tagName=e,this.attributes=t,this.inputs=r,this.outputs=l,this.templateAttrs=u,this.children=M,this.references=F,this.variables=_e,this.sourceSpan=Le,this.startSourceSpan=Ge,this.endSourceSpan=_t,this.i18n=Bt}visit(e){return e.visitTemplate(this)}}class Vt{constructor(e,t,r,l){this.selector=e,this.attributes=t,this.sourceSpan=r,this.i18n=l,this.name="ng-content"}visit(e){return e.visitContent(this)}}class Zn{constructor(e,t,r,l,u){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=l,this.valueSpan=u}visit(e){return e.visitVariable(this)}}class Oi{constructor(e,t,r,l,u){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=l,this.valueSpan=u}visit(e){return e.visitReference(this)}}class cr{constructor(e,t,r,l){this.vars=e,this.placeholders=t,this.sourceSpan=r,this.i18n=l}visit(e){return e.visitIcu(this)}}function Wn(d,e){const t=[];if(d.visit)for(const r of e){d.visit(r)||r.visit(d)}else for(const r of e){const l=r.visit(d);l&&t.push(l)}return t}class Wi{constructor(e,t,r,l,u,M){this.nodes=e,this.placeholders=t,this.placeholderToMessage=r,this.meaning=l,this.description=u,this.customId=M,this.id=this.customId,this.legacyIds=[],this.messageString=function rl(d){const e=new ol;return d.map(r=>r.visit(e)).join("")}(this.nodes),e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]}}class Br{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitText(this,t)}}class fo{constructor(e,t){this.children=e,this.sourceSpan=t}visit(e,t){return e.visitContainer(this,t)}}class eo{constructor(e,t,r,l){this.expression=e,this.type=t,this.cases=r,this.sourceSpan=l}visit(e,t){return e.visitIcu(this,t)}}class Ao{constructor(e,t,r,l,u,M,F,_e,Le){this.tag=e,this.attrs=t,this.startName=r,this.closeName=l,this.children=u,this.isVoid=M,this.sourceSpan=F,this.startSourceSpan=_e,this.endSourceSpan=Le}visit(e,t){return e.visitTagPlaceholder(this,t)}}class la{constructor(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}visit(e,t){return e.visitPlaceholder(this,t)}}class qs{constructor(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}visit(e,t){return e.visitIcuPlaceholder(this,t)}}class ol{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(r=>`${r} {${e.cases[r].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){const t=e.children.map(r=>r.visit(this)).join("");return`{$${e.startName}}${t}{$${e.closeName}}`}visitPlaceholder(e){return`{$${e.name}}`}visitIcuPlaceholder(e){return`{$${e.name}}`}}new class Ji{visitTag(e){const t=this._serializeAttributes(e.attrs);if(0==e.children.length)return`<${e.name}${t}/>`;const r=e.children.map(l=>l.visit(this));return`<${e.name}${t}>${r.join("")}</${e.name}>`}visitText(e){return e.value}visitDeclaration(e){return`<?xml${this._serializeAttributes(e.attrs)} ?>`}_serializeAttributes(e){const t=Object.keys(e).map(r=>`${r}="${e[r]}"`).join(" ");return t.length>0?" "+t:""}visitDoctype(e){return`<!DOCTYPE ${e.rootTag} [\n${e.dtd}\n]>`}};function gn(d){return d.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const K="i18n",he="i18n-";function Zt(d){return d===K||d.startsWith(he)}function wn(d){return d instanceof Wi}function Rn(d){return wn(d)&&1===d.nodes.length&&d.nodes[0]instanceof eo}function Si(d){return!!d.i18n}function Wr(d){return d.nodes[0]}function po(d,e=0){return`\ufffd${d}${e>0?`:${e}`:""}\ufffd`}function sl(d=0){let e=d;return()=>e++}function Xl(d){const e={};return d.forEach((t,r)=>{e[r]=In(t.length>1?`[${t.join("|")}]`:t[0])}),e}function ga(d,e,...t){const r=d.get(e)||[];r.push(...t),d.set(e,r)}function h1(d,e=0,t=0){const r=e,l=new Map,u=d instanceof Wi?d.nodes.find(M=>M instanceof fo):d;return u&&u.children.filter(M=>M instanceof la).forEach((M,F)=>{const _e=po(r+F,t);ga(l,M.name,_e)}),l}function tu(d={},e){const t={};return d&&Object.keys(d).length&&Object.keys(d).forEach(r=>t[xc(r,e)]=d[r]),t}function xc(d,e=!0){const t=gn(d);if(!e)return t;const r=t.split("_");if(1===r.length)return d.toLowerCase();let l;/^\d+$/.test(r[r.length-1])&&(l=r.pop());let u=r.shift().toLowerCase();return r.length&&(u+=r.map(M=>M.charAt(0).toUpperCase()+M.slice(1).toLowerCase()).join("")),l?`${u}_${l}`:u}function uc(d){return`MSG_${d}`.toUpperCase()}function kd(d){return new q(d.name,void 0,Ot,void 0,d.sourceSpan)}const K2=/[-.]/,n2="_t",Ds="ctx",f1="rf",kt="restoredCtx",D3=new Set([oe.element,oe.elementStart,oe.elementEnd,oe.elementContainer,oe.elementContainerStart,oe.elementContainerEnd,oe.i18nExp,oe.listener,oe.classProp,oe.syntheticHostListener,oe.hostProperty,oe.syntheticHostProperty,oe.property,oe.propertyInterpolate1,oe.propertyInterpolate2,oe.propertyInterpolate3,oe.propertyInterpolate4,oe.propertyInterpolate5,oe.propertyInterpolate6,oe.propertyInterpolate7,oe.propertyInterpolate8,oe.propertyInterpolateV,oe.attribute,oe.attributeInterpolate1,oe.attributeInterpolate2,oe.attributeInterpolate3,oe.attributeInterpolate4,oe.attributeInterpolate5,oe.attributeInterpolate6,oe.attributeInterpolate7,oe.attributeInterpolate8,oe.attributeInterpolateV,oe.styleProp,oe.stylePropInterpolate1,oe.stylePropInterpolate2,oe.stylePropInterpolate3,oe.stylePropInterpolate4,oe.stylePropInterpolate5,oe.stylePropInterpolate6,oe.stylePropInterpolate7,oe.stylePropInterpolate8,oe.stylePropInterpolateV,oe.textInterpolate,oe.textInterpolate1,oe.textInterpolate2,oe.textInterpolate3,oe.textInterpolate4,oe.textInterpolate5,oe.textInterpolate6,oe.textInterpolate7,oe.textInterpolate8,oe.textInterpolateV]);function to(d,e,t){return Et(e,null,d).callFn(t,d)}function hs(d,e){let t=null;return()=>(t||(d.push(new q("_t",void 0,at)),t=Pt(e)),t)}function i2(d){throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${d.constructor.name}`)}function al(d){return Array.isArray(d)?Qn(d.map(al)):In(d,Ot)}function ca(d,e){return Object.getOwnPropertyNames(d).length>0?function Dl(d,e){return ui(Object.getOwnPropertyNames(d).map(t=>{const r=d[t];let l,u,M,F;return Array.isArray(r)?([u,l]=r,M=t,F=u!==l):([l,u]=Xt(t,[t,r]),M=l,F=u!==l&&t.includes(":")),{key:M,quoted:K2.test(M),value:e&&F?Qn([al(u),al(l)]):al(u)}}))}(d,e):null}function n4(d){for(;Ir(d[d.length-1]);)d.pop();return d}function Z2(d,e){if(Array.isArray(d.predicate)){let t=[];return d.predicate.forEach(r=>{const l=r.split(",").map(u=>In(u.trim()));t.push(...l)}),e.getConstLiteral(Qn(t),!0)}switch(d.predicate.forwardRef){case 0:case 2:return d.predicate.expression;case 1:return Et(oe.resolveForwardRef).callFn([d.predicate.expression])}}class ll{constructor(){this.values=[]}set(e,t){t&&this.values.push({key:e,value:t,quoted:!1})}toLiteralMap(){return ui(this.values)}}function Va(d){const{expressions:e,strings:t}=d;return 1===e.length&&2===t.length&&""===t[0]&&""===t[1]?1:e.length+t.length}function w1(d){var e;const t=[];let r=null,l=null,u=0;for(const M of d){const F=null!==(e="function"==typeof M.paramsOrFn?M.paramsOrFn():M.paramsOrFn)&&void 0!==e?e:[],_e=Array.isArray(F)?F:[F];u<500&&l===M.reference&&D3.has(l)?(r=r.callFn(_e,r.sourceSpan),u++):(null!==r&&t.push(r.toStmt()),r=to(M.span,M.reference,_e),l=M.reference,u=0)}return null!==r&&t.push(r.toStmt()),t}function Ju(d,e){let t=null;const r={name:d.name,type:d.type,internalType:d.internalType,typeArgumentCount:d.typeArgumentCount,deps:[],target:Ls.Injectable};if(void 0!==d.useClass){const F=d.useClass.expression.isEquivalent(d.internalType);let _e;void 0!==d.deps&&(_e=d.deps),t=void 0!==_e?us(Object.assign(Object.assign({},r),{delegate:d.useClass.expression,delegateDeps:_e,delegateType:Ea.Class})):F?us(r):{statements:[],expression:bf(d.type.value,d.useClass.expression,e)}}else t=void 0!==d.useFactory?void 0!==d.deps?us(Object.assign(Object.assign({},r),{delegate:d.useFactory,delegateDeps:d.deps||[],delegateType:Ea.Function})):{statements:[],expression:kr([],[new Be(d.useFactory.callFn([]))])}:void 0!==d.useValue?us(Object.assign(Object.assign({},r),{expression:d.useValue.expression})):void 0!==d.useExisting?us(Object.assign(Object.assign({},r),{expression:Et(oe.inject).callFn([d.useExisting.expression])})):{statements:[],expression:bf(d.type.value,d.internalType,e)};const l=d.internalType,u=new ll;return u.set("token",l),u.set("factory",t.expression),null!==d.providedIn.expression.value&&u.set("providedIn",Uo(d.providedIn)),{expression:Et(oe.\u0275\u0275defineInjectable).callFn([u.toLiteralMap()],void 0,!0),type:ap(d),statements:t.statements}}function ap(d){return new uo(Et(oe.InjectableDeclaration,[pa(d.type.type,d.typeArgumentCount)]))}function bf(d,e,t){if(d.node===e.node)return e.prop("\u0275fac");if(!t)return p1(e);return p1(Et(oe.resolveForwardRef).callFn([e]))}function p1(d){return kr([new yr("t",at)],[new Be(d.prop("\u0275fac").callFn([Pt("t")]))])}const Ld=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class iu{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(function X2(d,e){if(null!=e&&(!Array.isArray(e)||2!=e.length))throw new Error(`Expected '${d}' to be an array, [start, end].`);if(null!=e){const t=e[0],r=e[1];Ld.forEach(l=>{if(l.test(t)||l.test(r))throw new Error(`['${t}', '${r}'] contains unusable interpolation symbol.`)})}}("interpolation",e),new iu(e[0],e[1])):Ua}}const Ua=new iu("{{","}}"),qc=123,$c=125;function Te(d){return d>=9&&d<=32||160==d}function Ue(d){return 48<=d&&d<=57}function it(d){return d>=97&&d<=122||d>=65&&d<=90}function mn(d){return 10===d||13===d}function ii(d){return 48<=d&&d<=55}function Tr(d){return 39===d||34===d||96===d}class Wo{constructor(e,t,r,l){this.file=e,this.offset=t,this.line=r,this.col=l}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){const t=this.file.content,r=t.length;let l=this.offset,u=this.line,M=this.col;for(;l>0&&e<0;)if(l--,e++,10==t.charCodeAt(l)){u--;const _e=t.substr(0,l-1).lastIndexOf(String.fromCharCode(10));M=_e>0?l-_e:l}else M--;for(;l<r&&e>0;){const F=t.charCodeAt(l);l++,e--,10==F?(u++,M=0):M++}return new Wo(this.file,l,u,M)}getContext(e,t){const r=this.file.content;let l=this.offset;if(null!=l){l>r.length-1&&(l=r.length-1);let u=l,M=0,F=0;for(;M<e&&l>0&&(l--,M++,"\n"!=r[l]||++F!=t););for(M=0,F=0;M<e&&u<r.length-1&&(u++,M++,"\n"!=r[u]||++F!=t););return{before:r.substring(l,this.offset),after:r.substring(this.offset,u+1)}}return null}}class fs{constructor(e,t){this.content=e,this.url=t}}class ta{constructor(e,t,r=e,l=null){this.start=e,this.end=t,this.fullStart=r,this.details=l}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var os;!function(d){d[d.WARNING=0]="WARNING",d[d.ERROR=1]="ERROR"}(os||(os={}));class Vs{constructor(e,t,r=os.ERROR){this.span=e,this.msg=t,this.level=r}contextualMessage(){const e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${os[this.level]} ->]${e.after}")`:this.msg}toString(){const e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}}let r4=0;function Y4(d){return d.replace(/\W/g,"_")}const cp='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';let Pu;function Ih(d){var e;return(null===(e=function yf(){if(void 0===Pu&&(Pu=null,oi.trustedTypes))try{Pu=oi.trustedTypes.createPolicy("angular#unsafe-jit",{createScript:d=>d})}catch(d){}return Pu}())||void 0===e?void 0:e.createScript(d))||d}function Zs(...d){if(!oi.trustedTypes)return new Function(...d);const r=`(function anonymous(${d.slice(0,-1).join(",")}\n) { ${d[d.length-1]}\n})`,l=oi.eval(Ih(r));return void 0===l.bind?new Function(...d):(l.toString=()=>r,l.bind(oi))}class Vp{evaluateStatements(e,t,r,l){const u=new xf(r),M=hi.createRoot();return t.length>0&&!function o4(d){return d.isEquivalent(In("use strict").toStmt())}(t[0])&&(t=[In("use strict").toStmt(),...t]),u.visitAllStatements(t,M),u.createReturnStmt(M),this.evaluateCode(e,M,u.getArgs(),l)}evaluateCode(e,t,r,l){let u=`"use strict";${t.toSource()}\n//# sourceURL=${e}`;const M=[],F=[];for(const Le in r)F.push(r[Le]),M.push(Le);if(l){const Le=Zs(...M.concat("return null;")).toString(),Ge=Le.slice(0,Le.indexOf("return null;")).split("\n").length-1;u+=`\n${t.toSourceMapGenerator(e,Ge).toJsComment()}`}const _e=Zs(...M.concat(u));return this.executeFunction(_e,F)}executeFunction(e,t){return e(...t)}}class xf extends class Ou extends class zr{constructor(e){this._escapeDollarInStrings=e}printLeadingComments(e,t){if(void 0!==e.leadingComments)for(const r of e.leadingComments)r instanceof Io?t.print(e,`/*${r.toString()}*/`,r.trailingNewline):r.multiline?t.print(e,`/* ${r.text} */`,r.trailingNewline):r.text.split("\n").forEach(l=>{t.println(e,`// ${l}`)})}visitExpressionStmt(e,t){return this.printLeadingComments(e,t),e.expr.visitExpression(this,t),t.println(e,";"),null}visitReturnStmt(e,t){return this.printLeadingComments(e,t),t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null}visitIfStmt(e,t){this.printLeadingComments(e,t),t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");const r=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!r?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),r&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null}visitWriteVarExpr(e,t){const r=t.lineIsEmpty();return r||t.print(e,"("),t.print(e,`${e.name} = `),e.value.visitExpression(this,t),r||t.print(e,")"),null}visitWriteKeyExpr(e,t){const r=t.lineIsEmpty();return r||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),r||t.print(e,")"),null}visitWritePropExpr(e,t){const r=t.lineIsEmpty();return r||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,`.${e.name} = `),e.value.visitExpression(this,t),r||t.print(e,")"),null}visitInvokeFunctionExpr(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitTaggedTemplateExpr(e,t){e.tag.visitExpression(this,t),t.print(e,"`"+e.template.elements[0].rawText);for(let r=1;r<e.template.elements.length;r++)t.print(e,"${"),e.template.expressions[r-1].visitExpression(this,t),t.print(e,`}${e.template.elements[r].rawText}`);return t.print(e,"`"),null}visitWrappedNodeExpr(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")}visitTypeofExpr(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)}visitReadVarExpr(e,t){return t.print(e,e.name),null}visitInstantiateExpr(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null}visitLiteralExpr(e,t){const r=e.value;return"string"==typeof r?t.print(e,io(r,this._escapeDollarInStrings)):t.print(e,`${r}`),null}visitLocalizedString(e,t){const r=e.serializeI18nHead();t.print(e,"$localize `"+r.raw);for(let l=1;l<e.messageParts.length;l++)t.print(e,"${"),e.expressions[l-1].visitExpression(this,t),t.print(e,`}${e.serializeI18nTemplatePart(l).raw}`);return t.print(e,"`"),null}visitConditionalExpr(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null}visitNotExpr(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null}visitUnaryOperatorExpr(e,t){let r;switch(e.operator){case Jr.Plus:r="+";break;case Jr.Minus:r="-";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),t.print(e,r),e.expr.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitBinaryOperatorExpr(e,t){let r;switch(e.operator){case Bi.Equals:r="==";break;case Bi.Identical:r="===";break;case Bi.NotEquals:r="!=";break;case Bi.NotIdentical:r="!==";break;case Bi.And:r="&&";break;case Bi.BitwiseAnd:r="&";break;case Bi.Or:r="||";break;case Bi.Plus:r="+";break;case Bi.Minus:r="-";break;case Bi.Divide:r="/";break;case Bi.Multiply:r="*";break;case Bi.Modulo:r="%";break;case Bi.Lower:r="<";break;case Bi.LowerEquals:r="<=";break;case Bi.Bigger:r=">";break;case Bi.BiggerEquals:r=">=";break;case Bi.NullishCoalesce:r="??";break;default:throw new Error(`Unknown operator ${e.operator}`)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e,` ${r} `),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null}visitReadPropExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null}visitReadKeyExpr(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null}visitLiteralArrayExpr(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null}visitLiteralMapExpr(e,t){return t.print(e,"{"),this.visitAllObjects(r=>{t.print(e,`${io(r.key,this._escapeDollarInStrings,r.quoted)}:`),r.value.visitExpression(this,t)},e.entries,t,","),t.print(e,"}"),null}visitCommaExpr(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null}visitAllExpressions(e,t,r){this.visitAllObjects(l=>l.visitExpression(this,t),e,t,r)}visitAllObjects(e,t,r,l){let u=!1;for(let M=0;M<t.length;M++)M>0&&(r.lineLength()>80?(r.print(null,l,!0),u||(r.incIndent(),r.incIndent(),u=!0)):r.print(null,l,!1)),e(t[M]);u&&(r.decIndent(),r.decIndent())}visitAllStatements(e,t){e.forEach(r=>r.visitStatement(this,t))}}{constructor(){super(!1)}visitWrappedNodeExpr(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(e,t){return t.print(e,`var ${e.name}`),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null}visitTaggedTemplateExpr(e,t){const r=e.template.elements;return e.tag.visitExpression(this,t),t.print(e,`(${cp}(`),t.print(e,`[${r.map(l=>io(l.text,!1)).join(", ")}], `),t.print(e,`[${r.map(l=>io(l.rawText,!1)).join(", ")}])`),e.template.expressions.forEach(l=>{t.print(e,", "),l.visitExpression(this,t)}),t.print(e,")"),null}visitFunctionExpr(e,t){return t.print(e,`function${e.name?" "+e.name:""}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null}visitDeclareFunctionStmt(e,t){return t.print(e,`function ${e.name}(`),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null}visitLocalizedString(e,t){t.print(e,`$localize(${cp}(`);const r=[e.serializeI18nHead()];for(let l=1;l<e.messageParts.length;l++)r.push(e.serializeI18nTemplatePart(l));return t.print(e,`[${r.map(l=>io(l.cooked,!1)).join(", ")}], `),t.print(e,`[${r.map(l=>io(l.raw,!1)).join(", ")}])`),e.expressions.forEach(l=>{t.print(e,", "),l.visitExpression(this,t)}),t.print(e,")"),null}_visitParams(e,t){this.visitAllObjects(r=>t.print(null,r.name),e,t,",")}}{constructor(e){super(),this.refResolver=e,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(e){new Be(new xs(this._evalExportedVars.map(r=>new ba(r,Pt(r),!1)))).visitStatement(this,e)}getArgs(){const e={};for(let t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e}visitExternalExpr(e,t){return this._emitReferenceToExternal(e,this.refResolver.resolveExternalReference(e.value),t),null}visitWrappedNodeExpr(e,t){return this._emitReferenceToExternal(e,e.node,t),null}visitDeclareVarStmt(e,t){return e.hasModifier(Jo.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareVarStmt(e,t)}visitDeclareFunctionStmt(e,t){return e.hasModifier(Jo.Exported)&&this._evalExportedVars.push(e.name),super.visitDeclareFunctionStmt(e,t)}_emitReferenceToExternal(e,t,r){let l=this._evalArgValues.indexOf(t);if(-1===l){l=this._evalArgValues.length,this._evalArgValues.push(t);const u=function lp(d){if(!d||!d.reference)return null;const e=d.reference;if(e.__anonymousType)return e.__anonymousType;if(e.__forward_ref__)return"__forward_ref__";let t=Sn(e);return t.indexOf("(")>=0?(t="anonymous_"+r4++,e.__anonymousType=t):t=Y4(t),t}({reference:t})||"val";this._evalArgNames.push(`jit_${u}_${l}`)}r.print(e,this._evalArgNames[l])}}function Ah(d){const e=new ll;null!==d.providers&&e.set("providers",d.providers),d.imports.length>0&&e.set("imports",Qn(d.imports));return{expression:Et(oe.defineInjector).callFn([e.toLiteralMap()],void 0,!0),type:zu(d),statements:[]}}function zu(d){return new uo(Et(oe.InjectorDeclaration,[new uo(d.type.type)]))}class n3{constructor(e){this.context=e}resolveExternalReference(e){if("@angular/core"!==e.moduleName)throw new Error(`Cannot resolve external reference to ${e.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(e.name))throw new Error(`No value provided for @angular/core symbol '${e.name}'.`);return this.context[e.name]}}function zc(d){const{internalType:e,bootstrap:t,declarations:r,imports:l,exports:u,schemas:M,containsForwardDecls:F,emitInline:_e,id:Le}=d,Ge=[],_t=new ll;if(_t.set("type",e),t.length>0&&_t.set("bootstrap",Ro(t,F)),_e)r.length>0&&_t.set("declarations",Ro(r,F)),l.length>0&&_t.set("imports",Ro(l,F)),u.length>0&&_t.set("exports",Ro(u,F));else{const Kt=function sd(d){const{adjacentType:e,declarations:t,imports:r,exports:l,containsForwardDecls:u}=d,M=new ll;if(t.length>0&&M.set("declarations",Ro(t,u)),r.length>0&&M.set("imports",Ro(r,u)),l.length>0&&M.set("exports",Ro(l,u)),0===Object.keys(M.values).length)return null;const _e=function Gs(d){return ja("ngJitMode",d)}(new jo(Et(oe.setNgModuleScope),[e,M.toLiteralMap()])),Le=new yo([],[_e.toStmt()]);return new jo(Le,[]).toStmt()}(d);null!==Kt&&Ge.push(Kt)}null!==M&&M.length>0&&_t.set("schemas",Qn(M.map(Kt=>Kt.value))),null!==Le&&_t.set("id",Le);return{expression:Et(oe.defineNgModule).callFn([_t.toLiteralMap()],void 0,!0),type:I3(d),statements:Ge}}function I3({type:d,declarations:e,imports:t,exports:r}){return new uo(Et(oe.NgModuleDeclaration,[new uo(d.type),s2(e),s2(t),s2(r)]))}function s2(d){const e=d.map(t=>An(t.type));return d.length>0?Ln(Qn(e)):Mo}function tc(d){const e=[];e.push({key:"name",value:In(d.pipeName),quoted:!1}),e.push({key:"type",value:d.type.value,quoted:!1}),e.push({key:"pure",value:In(d.pure),quoted:!1});return{expression:Et(oe.definePipe).callFn([ui(e)],void 0,!0),type:ua(d),statements:[]}}function ua(d){return new uo(Et(oe.PipeDeclaration,[pa(d.type.type,d.typeArgumentCount),new uo(new Ho(d.pipeName))]))}class xa{constructor(e,t,r,l){this.input=t,this.errLocation=r,this.ctxLocation=l,this.message=`Parser Error: ${e} ${r} [${t}] in ${l}`}}class a2{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new Rc(e+this.start,e+this.end)}}class za{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class ad extends za{constructor(e,t,r){super(e,t),this.nameSpan=r}}class P2 extends za{constructor(e,t,r,l,u){super(e,t),this.prefix=r,this.uninterpretedExpression=l,this.location=u}visit(e,t=null){return e.visitQuote(this,t)}toString(){return"Quote"}}class G1 extends za{visit(e,t=null){}}class Id extends za{visit(e,t=null){return e.visitImplicitReceiver(this,t)}}class nc extends Id{visit(e,t=null){var r;return null===(r=e.visitThisReceiver)||void 0===r?void 0:r.call(e,this,t)}}class k1 extends za{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitChain(this,t)}}class l2 extends za{constructor(e,t,r,l,u){super(e,t),this.condition=r,this.trueExp=l,this.falseExp=u}visit(e,t=null){return e.visitConditional(this,t)}}class L1 extends ad{constructor(e,t,r,l,u){super(e,t,r),this.receiver=l,this.name=u}visit(e,t=null){return e.visitPropertyRead(this,t)}}class Al extends ad{constructor(e,t,r,l,u,M){super(e,t,r),this.receiver=l,this.name=u,this.value=M}visit(e,t=null){return e.visitPropertyWrite(this,t)}}class ic extends ad{constructor(e,t,r,l,u){super(e,t,r),this.receiver=l,this.name=u}visit(e,t=null){return e.visitSafePropertyRead(this,t)}}class Ru extends za{constructor(e,t,r,l){super(e,t),this.receiver=r,this.key=l}visit(e,t=null){return e.visitKeyedRead(this,t)}}class Ol extends za{constructor(e,t,r,l){super(e,t),this.receiver=r,this.key=l}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}}class cu extends za{constructor(e,t,r,l,u){super(e,t),this.receiver=r,this.key=l,this.value=u}visit(e,t=null){return e.visitKeyedWrite(this,t)}}class Ad extends ad{constructor(e,t,r,l,u,M){super(e,t,M),this.exp=r,this.name=l,this.args=u}visit(e,t=null){return e.visitPipe(this,t)}}class Ca extends za{constructor(e,t,r){super(e,t),this.value=r}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}}class Hs extends za{constructor(e,t,r){super(e,t),this.expressions=r}visit(e,t=null){return e.visitLiteralArray(this,t)}}class hc extends za{constructor(e,t,r,l){super(e,t),this.keys=r,this.values=l}visit(e,t=null){return e.visitLiteralMap(this,t)}}class jr extends za{constructor(e,t,r,l){super(e,t),this.strings=r,this.expressions=l}visit(e,t=null){return e.visitInterpolation(this,t)}}class yl extends za{constructor(e,t,r,l,u){super(e,t),this.operation=r,this.left=l,this.right=u}visit(e,t=null){return e.visitBinary(this,t)}}class r3 extends yl{constructor(e,t,r,l,u,M,F){super(e,t,u,M,F),this.operator=r,this.expr=l,this.left=null,this.right=null,this.operation=null}static createMinus(e,t,r){return new r3(e,t,"-",r,"-",new Ca(e,t,0),r)}static createPlus(e,t,r){return new r3(e,t,"+",r,"-",r,new Ca(e,t,0))}visit(e,t=null){return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class wa extends za{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitPrefixNot(this,t)}}class cl extends za{constructor(e,t,r){super(e,t),this.expression=r}visit(e,t=null){return e.visitNonNullAssert(this,t)}}class Nu extends za{constructor(e,t,r,l,u){super(e,t),this.receiver=r,this.args=l,this.argumentSpan=u}visit(e,t=null){return e.visitCall(this,t)}}class Od extends za{constructor(e,t,r,l,u){super(e,t),this.receiver=r,this.args=l,this.argumentSpan=u}visit(e,t=null){return e.visitSafeCall(this,t)}}class Rc{constructor(e,t){this.start=e,this.end=t}}class q1 extends za{constructor(e,t,r,l,u){super(new a2(0,null===t?0:t.length),new Rc(l,null===t?l:l+t.length)),this.ast=e,this.source=t,this.location=r,this.errors=u}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}}class ld{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}}class du{constructor(e,t,r){this.sourceSpan=e,this.key=t,this.value=r}}class E1{constructor(e,t,r,l,u,M){this.name=e,this.expression=t,this.type=r,this.sourceSpan=l,this.keySpan=u,this.valueSpan=M,this.isLiteral=this.type===Ul.LITERAL_ATTR,this.isAnimation=this.type===Ul.ANIMATION}}var Ul,No;!function(d){d[d.DEFAULT=0]="DEFAULT",d[d.LITERAL_ATTR=1]="LITERAL_ATTR",d[d.ANIMATION=2]="ANIMATION"}(Ul||(Ul={}));class o3{constructor(e,t,r,l,u,M,F){this.name=e,this.targetOrPhase=t,this.type=r,this.handler=l,this.sourceSpan=u,this.handlerSpan=M,this.keySpan=F}}class W4{constructor(e,t,r,l,u){this.name=e,this.value=t,this.sourceSpan=r,this.keySpan=l,this.valueSpan=u}}class G4{constructor(e,t,r,l,u,M,F,_e){this.name=e,this.type=t,this.securityContext=r,this.value=l,this.unit=u,this.sourceSpan=M,this.keySpan=F,this.valueSpan=_e}}class cd{}function dd(d,e,t,r,l,u,M){d||(d=new xl(M));const F=function D1(d,e){return function uu(d,e){const t=new f2(d);return e.visit(t)}(d,e)}({createLiteralArrayConverter:_t=>Bt=>Qn(Bt),createLiteralMapConverter:_t=>Bt=>ui(_t.map((Kt,On)=>({key:Kt.key,value:Bt[On],quoted:Kt.quoted}))),createPipeConverter:_t=>{throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${_t}`)}},t),_e=new K1(d,e,r,!1,l,u),Le=[];z2(F.visit(_e,No.Statement),Le),function d2(d,e,t){for(let r=d-1;r>=0;r--)t.unshift(m1(e,r))}(_e.temporaryCount,r,Le),_e.usesImplicitReceiver&&d.notifyImplicitReceiverUse();const Ge=Le.length-1;if(Ge>=0){const _t=Le[Ge];_t instanceof me&&(Le[Ge]=new Be(_t.expr))}return Le}cd.event=Pt("$event");class c2{constructor(e,t){this.stmts=e,this.currValExpr=t}}function s4(d,e,t,r){d||(d=new xl);const l=new K1(d,e,r,!1),u=t.visit(l,No.Expression),M=Kc(l,r);return l.usesImplicitReceiver&&d.notifyImplicitReceiverUse(),new c2(M,u)}function Kc(d,e){const t=[];for(let r=0;r<d.temporaryCount;r++)t.push(m1(e,r));return t}function hu(d,e){return`tmp_${d}_${e}`}function m1(d,e){return new q(hu(d,e))}function h2(d,e){if(d!==No.Expression)throw new Error(`Expected an expression, but saw ${e}`)}function Xs(d,e){return d===No.Statement?e.toStmt():e}!function(d){d[d.Statement=0]="Statement",d[d.Expression=1]="Expression"}(No||(No={}));class f2 extends class A3{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new jr(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new Ca(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new L1(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new Al(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new ic(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitLiteralArray(e,t){return new Hs(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new hc(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return r3.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return r3.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error(`Unknown unary operator ${e.operator}`)}}visitBinary(e,t){return new yl(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new wa(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new cl(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new l2(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new Ad(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new Ru(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new cu(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitCall(e,t){return new Nu(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitSafeCall(e,t){return new Od(e.span,e.sourceSpan,e.receiver.visit(this),this.visitAll(e.args),e.argumentSpan)}visitAll(e){const t=[];for(let r=0;r<e.length;++r)t[r]=e[r].visit(this);return t}visitChain(e,t){return new k1(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new P2(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}visitSafeKeyedRead(e,t){return new Ol(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}}{constructor(e){super(),this._converterFactory=e}visitPipe(e,t){const r=[e.exp,...e.args].map(l=>l.visit(this,t));return new Z1(e.span,e.sourceSpan,r,this._converterFactory.createPipeConverter(e.name,r.length))}visitLiteralArray(e,t){const r=e.expressions.map(l=>l.visit(this,t));return new Z1(e.span,e.sourceSpan,r,this._converterFactory.createLiteralArrayConverter(e.expressions.length))}visitLiteralMap(e,t){const r=e.values.map(l=>l.visit(this,t));return new Z1(e.span,e.sourceSpan,r,this._converterFactory.createLiteralMapConverter(e.keys))}}class K1{constructor(e,t,r,l,u,M){this._localResolver=e,this._implicitReceiver=t,this.bindingId=r,this.supportsInterpolation=l,this.baseSourceSpan=u,this.implicitReceiverAccesses=M,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0,this.usesImplicitReceiver=!1}visitUnary(e,t){let r;switch(e.operator){case"+":r=Jr.Plus;break;case"-":r=Jr.Minus;break;default:throw new Error(`Unsupported operator ${e.operator}`)}return Xs(t,new Fo(r,this._visit(e.expr,No.Expression),void 0,this.convertSourceSpan(e.span)))}visitBinary(e,t){let r;switch(e.operation){case"+":r=Bi.Plus;break;case"-":r=Bi.Minus;break;case"*":r=Bi.Multiply;break;case"/":r=Bi.Divide;break;case"%":r=Bi.Modulo;break;case"&&":r=Bi.And;break;case"||":r=Bi.Or;break;case"==":r=Bi.Equals;break;case"!=":r=Bi.NotEquals;break;case"===":r=Bi.Identical;break;case"!==":r=Bi.NotIdentical;break;case"<":r=Bi.Lower;break;case">":r=Bi.Bigger;break;case"<=":r=Bi.LowerEquals;break;case">=":r=Bi.BiggerEquals;break;case"??":return this.convertNullishCoalesce(e,t);default:throw new Error(`Unsupported operation ${e.operation}`)}return Xs(t,new Po(r,this._visit(e.left,No.Expression),this._visit(e.right,No.Expression),void 0,this.convertSourceSpan(e.span)))}visitChain(e,t){return function u2(d,e){if(d!==No.Statement)throw new Error(`Expected a statement, but saw ${e}`)}(t,e),this.visitAll(e.expressions,t)}visitConditional(e,t){return Xs(t,this._visit(e.condition,No.Expression).conditional(this._visit(e.trueExp,No.Expression),this._visit(e.falseExp,No.Expression),this.convertSourceSpan(e.span)))}visitPipe(e,t){throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${e.name}`)}visitImplicitReceiver(e,t){return h2(t,e),this.usesImplicitReceiver=!0,this._implicitReceiver}visitThisReceiver(e,t){return this.visitImplicitReceiver(e,t)}visitInterpolation(e,t){if(!this.supportsInterpolation)throw new Error("Unexpected interpolation");h2(t,e);let r=[];for(let u=0;u<e.strings.length-1;u++)r.push(In(e.strings[u])),r.push(this._visit(e.expressions[u],No.Expression));r.push(In(e.strings[e.strings.length-1]));const l=e.strings;return 2===l.length&&""===l[0]&&""===l[1]?r=[r[1]]:e.expressions.length>=9&&(r=[Qn(r)]),new a4(r)}visitKeyedRead(e,t){const r=this.leftMostSafeNode(e);return r?this.convertSafeAccess(e,r,t):Xs(t,this._visit(e.receiver,No.Expression).key(this._visit(e.key,No.Expression)))}visitKeyedWrite(e,t){const r=this._visit(e.receiver,No.Expression),l=this._visit(e.key,No.Expression),u=this._visit(e.value,No.Expression);return r===this._implicitReceiver&&this._localResolver.maybeRestoreView(),Xs(t,r.key(l).set(u))}visitLiteralArray(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")}visitLiteralMap(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")}visitLiteralPrimitive(e,t){const r=null===e.value||void 0===e.value||!0===e.value||!0===e.value?Ot:void 0;return Xs(t,In(e.value,r,this.convertSourceSpan(e.span)))}_getLocal(e,t){var r;return(null===(r=this._localResolver.globals)||void 0===r?void 0:r.has(e))&&t instanceof nc?null:this._localResolver.getLocal(e)}visitPrefixNot(e,t){return Xs(t,hr(this._visit(e.expression,No.Expression)))}visitNonNullAssert(e,t){return Xs(t,this._visit(e.expression,No.Expression))}visitPropertyRead(e,t){const r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,t);{let l=null;const u=this.usesImplicitReceiver,M=this._visit(e.receiver,No.Expression);return M===this._implicitReceiver&&(l=this._getLocal(e.name,e.receiver),l&&(this.usesImplicitReceiver=u,this.addImplicitReceiverAccess(e.name))),null==l&&(l=M.prop(e.name,this.convertSourceSpan(e.span))),Xs(t,l)}}visitPropertyWrite(e,t){const r=this._visit(e.receiver,No.Expression),l=this.usesImplicitReceiver;let u=null;if(r===this._implicitReceiver){const M=this._getLocal(e.name,e.receiver);if(M){if(!(M instanceof Or)){const F=e.name,_e=e.value instanceof L1?e.value.name:void 0;throw new Error(`Cannot assign value "${_e}" to template variable "${F}". Template variables are read-only.`)}u=M,this.usesImplicitReceiver=l,this.addImplicitReceiverAccess(e.name)}}return null===u&&(u=r.prop(e.name,this.convertSourceSpan(e.span))),Xs(t,u.set(this._visit(e.value,No.Expression)))}visitSafePropertyRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitSafeKeyedRead(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}visitAll(e,t){return e.map(r=>this._visit(r,t))}visitQuote(e,t){throw new Error(`Quotes are not supported for evaluation!\n        Statement: ${e.uninterpretedExpression} located at ${e.location}`)}visitCall(e,t){const r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,t);const l=this.visitAll(e.args,No.Expression);if(e instanceof Z1)return Xs(t,e.converter(l));const u=e.receiver;if(u instanceof L1&&u.receiver instanceof Id&&!(u.receiver instanceof nc)&&"$any"===u.name){if(1!==l.length)throw new Error(`Invalid call to $any, expected 1 argument but received ${l.length||"none"}`);return Xs(t,l[0])}return Xs(t,this._visit(u,No.Expression).callFn(l,this.convertSourceSpan(e.span)))}visitSafeCall(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)}_visit(e,t){return this._resultMap.get(e)||(this._nodeMap.get(e)||e).visit(this,t)}convertSafeAccess(e,t,r){let u,l=this._visit(t.receiver,No.Expression);this.needsTemporaryInSafeAccess(t.receiver)&&(u=this.allocateTemporary(),l=u.set(l),this._resultMap.set(t.receiver,u));const M=l.isBlank();t instanceof Od?this._nodeMap.set(t,new Nu(t.span,t.sourceSpan,t.receiver,t.args,t.argumentSpan)):t instanceof Ol?this._nodeMap.set(t,new Ru(t.span,t.sourceSpan,t.receiver,t.key)):this._nodeMap.set(t,new L1(t.span,t.sourceSpan,t.nameSpan,t.receiver,t.name));const F=this._visit(e,No.Expression);return this._nodeMap.delete(t),u&&this.releaseTemporary(u),Xs(r,M.conditional(aa,F))}convertNullishCoalesce(e,t){const r=this._visit(e.left,No.Expression),l=this._visit(e.right,No.Expression),u=this.allocateTemporary();return this.releaseTemporary(u),Xs(t,u.set(r).notIdentical(aa).and(u.notIdentical(In(void 0))).conditional(u,l))}leftMostSafeNode(e){const t=(r,l)=>(this._nodeMap.get(l)||l).visit(r);return e.visit({visitUnary:r=>null,visitBinary:r=>null,visitChain:r=>null,visitConditional:r=>null,visitCall(r){return t(this,r.receiver)},visitSafeCall(r){return t(this,r.receiver)||r},visitImplicitReceiver:r=>null,visitThisReceiver:r=>null,visitInterpolation:r=>null,visitKeyedRead(r){return t(this,r.receiver)},visitKeyedWrite:r=>null,visitLiteralArray:r=>null,visitLiteralMap:r=>null,visitLiteralPrimitive:r=>null,visitPipe:r=>null,visitPrefixNot:r=>null,visitNonNullAssert:r=>null,visitPropertyRead(r){return t(this,r.receiver)},visitPropertyWrite:r=>null,visitQuote:r=>null,visitSafePropertyRead(r){return t(this,r.receiver)||r},visitSafeKeyedRead(r){return t(this,r.receiver)||r}})}needsTemporaryInSafeAccess(e){const t=(l,u)=>u&&(this._nodeMap.get(u)||u).visit(l);return e.visit({visitUnary(l){return t(this,l.expr)},visitBinary(l){return t(this,l.left)||t(this,l.right)},visitChain:l=>!1,visitConditional(l){return t(this,l.condition)||t(this,l.trueExp)||t(this,l.falseExp)},visitCall:l=>!0,visitSafeCall:l=>!0,visitImplicitReceiver:l=>!1,visitThisReceiver:l=>!1,visitInterpolation(l){return((l,u)=>u.some(M=>t(l,M)))(this,l.expressions)},visitKeyedRead:l=>!1,visitKeyedWrite:l=>!1,visitLiteralArray:l=>!0,visitLiteralMap:l=>!0,visitLiteralPrimitive:l=>!1,visitPipe:l=>!0,visitPrefixNot(l){return t(this,l.expression)},visitNonNullAssert(l){return t(this,l.expression)},visitPropertyRead:l=>!1,visitPropertyWrite:l=>!1,visitQuote:l=>!1,visitSafePropertyRead:l=>!1,visitSafeKeyedRead:l=>!1})}allocateTemporary(){const e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new Ti(hu(this.bindingId,e))}releaseTemporary(e){if(this._currentTemporary--,e.name!=hu(this.bindingId,this._currentTemporary))throw new Error(`Temporary ${e.name} released out of order`)}convertSourceSpan(e){if(this.baseSourceSpan){const t=this.baseSourceSpan.start.moveBy(e.start),r=this.baseSourceSpan.start.moveBy(e.end),l=this.baseSourceSpan.fullStart.moveBy(e.start);return new ta(t,r,l)}return null}addImplicitReceiverAccess(e){this.implicitReceiverAccesses&&this.implicitReceiverAccesses.add(e)}}function z2(d,e){Array.isArray(d)?d.forEach(t=>z2(t,e)):e.push(d)}function rc(){throw new Error("Unsupported operation")}class a4 extends mr{constructor(e){super(null,null),this.args=e,this.isConstant=rc,this.isEquivalent=rc,this.visitExpression=rc}}class xl{constructor(e){this.globals=e}notifyImplicitReceiverUse(){}maybeRestoreView(){}getLocal(e){return e===cd.event.name?cd.event:null}}class Z1 extends Nu{constructor(e,t,r,l){super(e,t,new G1(e,t),r,null),this.converter=l}}let Pd;function zd(){return Pd||(Pd={},go(pe.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),go(pe.STYLE,["*|style"]),go(pe.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),go(pe.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Pd}function go(d,e){for(const t of e)Pd[t.toLowerCase()]=d}const s3=new Set(["sandbox","allow","allowfullscreen","referrerpolicy","csp","fetchpriority"]);function l4(d){return s3.has(d.toLowerCase())}class Rd{constructor(){this.strictStyling=!0}shimCssText(e,t,r=""){const l=function X1(d){return d.match(Zc)||[]}(e);return e=function fd(d){return d.replace(p2,"")}(e),e=this._insertDirectives(e),[this._scopeCssText(e,t,r),...l].join("\n")}_insertDirectives(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)}_insertPolyfillDirectivesInCssText(e){return e.replace(Bu,function(...t){return t[2]+"{"})}_insertPolyfillRulesInCssText(e){return e.replace(Nd,(...t)=>{const r=t[0].replace(t[1],"").replace(t[2],"");return t[4]+r})}_scopeCssText(e,t,r){const l=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,r)),(e=e+"\n"+l).trim()}_extractUnscopedRulesFromCssText(e){let r,t="";for(Cl.lastIndex=0;null!==(r=Cl.exec(e));)t+=r[0].replace(r[2],"").replace(r[1],r[4])+"\n\n";return t}_convertColonHost(e){return e.replace(Hc,(t,r,l)=>{if(r){const u=[],M=r.split(",").map(F=>F.trim());for(const F of M){if(!F)break;const _e=Yl+F.replace(Nc,"")+l;u.push(_e)}return u.join(",")}return Yl+l})}_convertColonHostContext(e){return e.replace(Hd,t=>{var r;const l=[[]];let u;for(;u=Tc.exec(t);){const M=(null!==(r=u[1])&&void 0!==r?r:"").trim().split(",").map(_e=>_e.trim()).filter(_e=>""!==_e),F=l.length;N2(l,M.length);for(let _e=0;_e<M.length;_e++)for(let Le=0;Le<F;Le++)l[Le+_e*F].push(M[_e]);t=u[2]}return l.map(M=>function Ga(d,e){const t=Yl;I1.lastIndex=0;const r=I1.test(e);if(0===d.length)return t+e;const l=[d.pop()||""];for(;d.length>0;){const u=l.length,M=d.pop();for(let F=0;F<u;F++){const _e=l[F];l[2*u+F]=_e+" "+M,l[u+F]=M+" "+_e,l[F]=M+_e}}return l.map(u=>r?`${u}${e}`:`${u}${t}${e}, ${u} ${t}${e}`).join(",")}(M,t)).join(", ")})}_convertShadowDOMSelectors(e){return fc.reduce((t,r)=>t.replace(r," "),e)}_scopeSelectors(e,t,r){return l3(e,l=>{let u=l.selector,M=l.content;return"@"!==l.selector[0]?u=this._scopeSelector(l.selector,t,r,this.strictStyling):l.selector.startsWith("@media")||l.selector.startsWith("@supports")||l.selector.startsWith("@document")||l.selector.startsWith("@layer")?M=this._scopeSelectors(l.content,t,r):(l.selector.startsWith("@font-face")||l.selector.startsWith("@page"))&&(M=this._stripScopingSelectors(l.content)),new g2(u,M)})}_stripScopingSelectors(e){return l3(e,t=>{const r=t.selector.replace(wl," ").replace(ju," ");return new g2(r,t.content)})}_scopeSelector(e,t,r,l){return e.split(",").map(u=>u.trim().split(wl)).map(u=>{const[M,...F]=u;return[(Le=>this._selectorNeedsScoping(Le,t)?l?this._applyStrictSelectorScope(Le,t,r):this._applySelectorScope(Le,t,r):Le)(M),...F].join(" ")}).join(", ")}_selectorNeedsScoping(e,t){return!this._makeScopeMatcher(t).test(e)}_makeScopeMatcher(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Sc,"m")}_applySelectorScope(e,t,r){return this._applySimpleSelectorScope(e,t,r)}_applySimpleSelectorScope(e,t,r){if(I1.lastIndex=0,I1.test(e)){const l=this.strictStyling?`[${r}]`:t;return e.replace(ju,(u,M)=>M.replace(/([^:]*)(:*)(.*)/,(F,_e,Le,Ge)=>_e+l+Le+Ge)).replace(I1,l+" ")}return t+" "+e}_applyStrictSelectorScope(e,t,r){const u="["+(t=t.replace(/\[is=([^\]]*)\]/g,(On,...Kn)=>Kn[0]))+"]",M=On=>{let Kn=On.trim();if(!Kn)return"";if(On.indexOf(Yl)>-1)Kn=this._applySimpleSelectorScope(On,t,r);else{const nr=On.replace(I1,"");if(nr.length>0){const Ci=nr.match(/([^:]*)(:*)(.*)/);Ci&&(Kn=Ci[1]+u+Ci[2]+Ci[3])}}return Kn},F=new fu(e);let Ge,_e="",Le=0;const _t=/( |>|\+|~(?!=))\s*/g;let on=!((e=F.content()).indexOf(Yl)>-1);for(;null!==(Ge=_t.exec(e));){const On=Ge[1],Kn=e.slice(Le,Ge.index).trim();on=on||Kn.indexOf(Yl)>-1,_e+=`${on?M(Kn):Kn} ${On} `,Le=_t.lastIndex}const Kt=e.substring(Le);return on=on||Kt.indexOf(Yl)>-1,_e+=on?M(Kt):Kt,F.restore(_e)}_insertPolyfillHostInCssText(e){return e.replace(Bd,ud).replace(a3,Nc)}}class fu{constructor(e){this.placeholders=[],this.index=0,e=this._escapeRegexMatches(e,/(\[[^\]]*\])/g),e=this._escapeRegexMatches(e,/(\\.)/g),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(t,r,l)=>{const u=`__ph-${this.index}__`;return this.placeholders.push(l),this.index++,r+u})}restore(e){return e.replace(/__ph-(\d+)__/g,(t,r)=>this.placeholders[+r])}content(){return this._content}_escapeRegexMatches(e,t){return e.replace(t,(r,l)=>{const u=`__ph-${this.index}__`;return this.placeholders.push(l),this.index++,u})}}const Bu=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Nd=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Cl=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Nc="-shadowcsshost",ud="-shadowcsscontext",hd="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Hc=new RegExp(Nc+hd,"gim"),Hd=new RegExp(ud+hd,"gim"),Tc=new RegExp(ud+hd,"im"),Yl=Nc+"-no-combinator",ju=/-shadowcsshost-no-combinator([^\s]*)/,fc=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],wl=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Sc="([>\\s~+[.,{:][\\s\\S]*)?$",I1=/-shadowcsshost/gim,a3=/:host/gim,Bd=/:host-context/gim,p2=/\/\*[\s\S]*?\*\//g;const Zc=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;const jd="%BLOCK%",Fd=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,A1=/%QUOTED%/g,pd=new Map([["{","}"]]),J1=new Map([['"','"'],["'","'"]]);class g2{constructor(e,t){this.selector=e,this.content=t}}function l3(d,e){const t=O1(d,J1,"%QUOTED%"),r=O1(t.escapedString,pd,jd);let l=0,u=0;return r.escapedString.replace(Fd,(...M)=>{const F=M[2];let _e="",Le=M[4],Ge="";Le&&Le.startsWith("{"+jd)&&(_e=r.blocks[l++],Le=Le.substring(jd.length+1),Ge="{");const _t=e(new g2(F,_e));return`${M[1]}${_t.selector}${M[3]}${Ge}${_t.content}${Le}`}).replace(A1,()=>t.blocks[u++])}class R2{constructor(e,t){this.escapedString=e,this.blocks=t}}function O1(d,e,t){const r=[],l=[];let _e,Le,u=0,M=0,F=-1;for(let Ge=0;Ge<d.length;Ge++){const _t=d[Ge];"\\"===_t?Ge++:_t===Le?(u--,0===u&&(l.push(d.substring(F,Ge)),r.push(t),M=Ge,F=-1,_e=Le=void 0)):_t===_e?u++:0===u&&e.has(_t)&&(_e=_t,Le=e.get(_t),u=1,F=Ge+1,r.push(d.substring(M,F)))}return-1!==F?(l.push(d.substring(F)),r.push(t)):r.push(d.substring(M)),new R2(r.join(""),l)}function N2(d,e){const t=d.length;for(let r=1;r<e;r++)for(let l=0;l<t;l++)d[l+r*t]=d[l].slice(0)}function Xc(d){const e=d.charCodeAt(0);if(e==d.charCodeAt(d.length-1)&&(39==e||34==e)){const r=d.substring(1,d.length-1);-1==r.indexOf("'")&&-1==r.indexOf('"')&&(d=r)}return d}function Fu(d){return d.replace(/[a-z][A-Z]/g,e=>e.charAt(0)+"-"+e.charAt(1)).toLowerCase()}class B2{constructor(e){this._directiveExpr=e,this._hasInitialValues=!1,this.hasBindings=!1,this.hasBindingsWithPipes=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._firstStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues=[],this._initialClassValues=[]}registerBoundInput(e){let t=null,r=e.name;switch(e.type){case 0:t=this.registerInputBasedOnName(r,e.value,e.sourceSpan);break;case 3:t=this.registerStyleInput(r,!1,e.value,e.sourceSpan,e.unit);break;case 2:t=this.registerClassInput(r,!1,e.value,e.sourceSpan)}return!!t}registerInputBasedOnName(e,t,r){let l=null;const u=e.substring(0,6),M="style"===e||"style."===u||"style!"===u;if(M||!M&&("class"===e||"class."===u||"class!"===u)){const _e="."!==e.charAt(5),Le=e.substr(_e?5:6);l=M?this.registerStyleInput(Le,_e,t,r):this.registerClassInput(Le,_e,t,r)}return l}registerStyleInput(e,t,r,l,u){if(c4(r))return null;(function _d(d){return d.startsWith("--")})(e)||(e=Fu(e));const{property:M,hasOverrideFlag:F,suffix:_e}=gd(e),Le={name:M,suffix:u="string"==typeof u&&0!==u.length?u:_e,value:r,sourceSpan:l,hasOverrideFlag:F};return t?this._styleMapInput=Le:((this._singleStyleInputs=this._singleStyleInputs||[]).push(Le),gu(this._stylesIndex,M)),this._lastStylingInput=Le,this._firstStylingInput=this._firstStylingInput||Le,this._checkForPipes(r),this.hasBindings=!0,Le}registerClassInput(e,t,r,l){if(c4(r))return null;const{property:u,hasOverrideFlag:M}=gd(e),F={name:u,value:r,sourceSpan:l,hasOverrideFlag:M,suffix:null};return t?this._classMapInput=F:((this._singleClassInputs=this._singleClassInputs||[]).push(F),gu(this._classesIndex,u)),this._lastStylingInput=F,this._firstStylingInput=this._firstStylingInput||F,this._checkForPipes(r),this.hasBindings=!0,F}_checkForPipes(e){e instanceof q1&&e.ast instanceof Ad&&(this.hasBindingsWithPipes=!0)}registerStyleAttr(e){this._initialStyleValues=function pu(d){const e=[];let t=0,r=0,l=0,u=0,M=0,F=null,_e=!1;for(;t<d.length;)switch(d.charCodeAt(t++)){case 40:r++;break;case 41:r--;break;case 39:_e=_e||u>0,0===l?l=39:39===l&&92!==d.charCodeAt(t-1)&&(l=0);break;case 34:_e=_e||u>0,0===l?l=34:34===l&&92!==d.charCodeAt(t-1)&&(l=0);break;case 58:!F&&0===r&&0===l&&(F=Fu(d.substring(M,t-1).trim()),u=t);break;case 59:if(F&&u>0&&0===r&&0===l){const Ge=d.substring(u,t-1).trim();e.push(F,_e?Xc(Ge):Ge),M=t,u=0,F=null,_e=!1}}if(F&&u){const Le=d.substr(u).trim();e.push(F,_e?Xc(Le):Le)}return e}(e),this._hasInitialValues=!0}registerClassAttr(e){this._initialClassValues=e.trim().split(/\s+/g),this._hasInitialValues=!0}populateInitialStylingAttrs(e){if(this._initialClassValues.length){e.push(In(1));for(let t=0;t<this._initialClassValues.length;t++)e.push(In(this._initialClassValues[t]))}if(this._initialStyleValues.length){e.push(In(2));for(let t=0;t<this._initialStyleValues.length;t+=2)e.push(In(this._initialStyleValues[t]),In(this._initialStyleValues[t+1]))}}assignHostAttrs(e,t){this._directiveExpr&&(e.length||this._hasInitialValues)&&(this.populateInitialStylingAttrs(e),t.set("hostAttrs",Qn(e)))}buildClassMapInstruction(e){return this._classMapInput?this._buildMapBasedInstruction(e,!0,this._classMapInput):null}buildStyleMapInstruction(e){return this._styleMapInput?this._buildMapBasedInstruction(e,!1,this._styleMapInput):null}_buildMapBasedInstruction(e,t,r){let l=2;const u=r.value.visit(e);let M;return u instanceof jr?(l+=u.expressions.length,M=t?function md(d){switch(Va(d)){case 1:return oe.classMap;case 3:return oe.classMapInterpolate1;case 5:return oe.classMapInterpolate2;case 7:return oe.classMapInterpolate3;case 9:return oe.classMapInterpolate4;case 11:return oe.classMapInterpolate5;case 13:return oe.classMapInterpolate6;case 15:return oe.classMapInterpolate7;case 17:return oe.classMapInterpolate8;default:return oe.classMapInterpolateV}}(u):function vd(d){switch(Va(d)){case 1:return oe.styleMap;case 3:return oe.styleMapInterpolate1;case 5:return oe.styleMapInterpolate2;case 7:return oe.styleMapInterpolate3;case 9:return oe.styleMapInterpolate4;case 11:return oe.styleMapInterpolate5;case 13:return oe.styleMapInterpolate6;case 15:return oe.styleMapInterpolate7;case 17:return oe.styleMapInterpolate8;default:return oe.styleMapInterpolateV}}(u)):M=t?oe.classMap:oe.styleMap,{reference:M,calls:[{supportsInterpolation:!0,sourceSpan:r.sourceSpan,allocateBindingSlots:l,params:F=>{const _e=F(u);return Array.isArray(_e)?_e:[_e]}}]}}_buildSingleInputs(e,t,r,l,u){const M=[];return t.forEach(F=>{const _e=M[M.length-1],Le=F.value.visit(r);let Ge=e,_t=2;Le instanceof jr&&(_t+=Le.expressions.length,l&&(Ge=l(Le)));const Bt={sourceSpan:F.sourceSpan,allocateBindingSlots:_t,supportsInterpolation:!!l,params:on=>{const Kt=[];Kt.push(In(F.name));const On=on(Le);return Array.isArray(On)?Kt.push(...On):Kt.push(On),!u&&null!==F.suffix&&Kt.push(In(F.suffix)),Kt}};_e&&_e.reference===Ge?_e.calls.push(Bt):M.push({reference:Ge,calls:[Bt]})}),M}_buildClassInputs(e){return this._singleClassInputs?this._buildSingleInputs(oe.classProp,this._singleClassInputs,e,null,!0):[]}_buildStyleInputs(e){return this._singleStyleInputs?this._buildSingleInputs(oe.styleProp,this._singleStyleInputs,e,P1,!1):[]}buildUpdateLevelInstructions(e){const t=[];if(this.hasBindings){const r=this.buildStyleMapInstruction(e);r&&t.push(r);const l=this.buildClassMapInstruction(e);l&&t.push(l),t.push(...this._buildStyleInputs(e)),t.push(...this._buildClassInputs(e))}return t}}function gu(d,e){d.has(e)||d.set(e,d.size)}function gd(d){let e=!1;const t=d.indexOf("!important");-1!==t&&(d=t>0?d.substring(0,t):"",e=!0);let r=null,l=d;const u=d.lastIndexOf(".");return u>0&&(r=d.substr(u+1),l=d.substring(0,u)),{property:l,suffix:r,hasOverrideFlag:e}}function P1(d){switch(Va(d)){case 1:return oe.styleProp;case 3:return oe.stylePropInterpolate1;case 5:return oe.stylePropInterpolate2;case 7:return oe.stylePropInterpolate3;case 9:return oe.stylePropInterpolate4;case 11:return oe.stylePropInterpolate5;case 13:return oe.stylePropInterpolate6;case 15:return oe.stylePropInterpolate7;case 17:return oe.stylePropInterpolate8;default:return oe.stylePropInterpolateV}}function c4(d){return d instanceof q1&&(d=d.ast),d instanceof G1}var vs;!function(d){d[d.Character=0]="Character",d[d.Identifier=1]="Identifier",d[d.PrivateIdentifier=2]="PrivateIdentifier",d[d.Keyword=3]="Keyword",d[d.String=4]="String",d[d.Operator=5]="Operator",d[d.Number=6]="Number",d[d.Error=7]="Error"}(vs||(vs={}));const j2=["var","let","as","null","undefined","true","false","if","else","this"];class Vd{tokenize(e){const t=new Gt(e),r=[];let l=t.scanToken();for(;null!=l;)r.push(l),l=t.scanToken();return r}}class z1{constructor(e,t,r,l,u){this.index=e,this.end=t,this.type=r,this.numValue=l,this.strValue=u}isCharacter(e){return this.type==vs.Character&&this.numValue==e}isNumber(){return this.type==vs.Number}isString(){return this.type==vs.String}isOperator(e){return this.type==vs.Operator&&this.strValue==e}isIdentifier(){return this.type==vs.Identifier}isPrivateIdentifier(){return this.type==vs.PrivateIdentifier}isKeyword(){return this.type==vs.Keyword}isKeywordLet(){return this.type==vs.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==vs.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==vs.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==vs.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==vs.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==vs.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==vs.Keyword&&"this"==this.strValue}isError(){return this.type==vs.Error}toNumber(){return this.type==vs.Number?this.numValue:-1}toString(){switch(this.type){case vs.Character:case vs.Identifier:case vs.Keyword:case vs.Operator:case vs.PrivateIdentifier:case vs.String:case vs.Error:return this.strValue;case vs.Number:return this.numValue.toString();default:return null}}}function R1(d,e,t){return new z1(d,e,vs.Character,t,String.fromCharCode(t))}function I(d,e,t){return new z1(d,e,vs.Operator,0,t)}const dt=new z1(-1,-1,vs.Character,0,"");class Gt{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let r=this.peek,l=this.index;for(;r<=32;){if(++l>=t){r=0;break}r=e.charCodeAt(l)}if(this.peek=r,this.index=l,l>=t)return null;if(Qt(r))return this.scanIdentifier();if(Ue(r))return this.scanNumber(l);const u=l;switch(r){case 46:return this.advance(),Ue(this.peek)?this.scanNumber(u):R1(u,this.index,46);case 40:case 41:case qc:case $c:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(u,r);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(u,String.fromCharCode(r));case 63:return this.scanQuestion(u);case 60:case 62:return this.scanComplexOperator(u,String.fromCharCode(r),61,"=");case 33:case 61:return this.scanComplexOperator(u,String.fromCharCode(r),61,"=",61,"=");case 38:return this.scanComplexOperator(u,"&",38,"&");case 124:return this.scanComplexOperator(u,"|",124,"|");case 160:for(;Te(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(r)}]`,0)}scanCharacter(e,t){return this.advance(),R1(e,this.index,t)}scanOperator(e,t){return this.advance(),I(e,this.index,t)}scanComplexOperator(e,t,r,l,u,M){this.advance();let F=t;return this.peek==r&&(this.advance(),F+=l),null!=u&&this.peek==u&&(this.advance(),F+=M),I(e,this.index,F)}scanIdentifier(){const e=this.index;for(this.advance();Vn(this.peek);)this.advance();const t=this.input.substring(e,this.index);return j2.indexOf(t)>-1?function ie(d,e,t){return new z1(d,e,vs.Keyword,0,t)}(e,this.index,t):function d4(d,e,t){return new z1(d,e,vs.Identifier,0,t)}(e,this.index,t)}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!Qt(this.peek))return this.error("Invalid character [#]",-1);for(;Vn(this.peek);)this.advance();const t=this.input.substring(e,this.index);return function bd(d,e,t){return new z1(d,e,vs.PrivateIdentifier,0,t)}(e,this.index,t)}scanNumber(e){let t=this.index===e,r=!1;for(this.advance();;){if(!Ue(this.peek))if(95===this.peek){if(!Ue(this.input.charCodeAt(this.index-1))||!Ue(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);r=!0}else if(46===this.peek)t=!1;else{if(!ni(this.peek))break;if(this.advance(),Di(this.peek)&&this.advance(),!Ue(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}let l=this.input.substring(e,this.index);r&&(l=l.replace(/_/g,""));const u=t?function dr(d){const e=parseInt(d);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+d);return e}(l):parseFloat(l);return function be(d,e,t){return new z1(d,e,vs.Number,t,"")}(e,this.index,u)}scanString(){const e=this.index,t=this.peek;this.advance();let r="",l=this.index;const u=this.input;for(;this.peek!=t;)if(92==this.peek){let F;if(r+=u.substring(l,this.index),this.advance(),this.peek=this.peek,117==this.peek){const _e=u.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(_e))return this.error(`Invalid unicode escape [\\u${_e}]`,0);F=parseInt(_e,16);for(let Le=0;Le<5;Le++)this.advance()}else F=sr(this.peek),this.advance();r+=String.fromCharCode(F),l=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const M=u.substring(l,this.index);return this.advance(),function $(d,e,t){return new z1(d,e,vs.String,0,t)}(e,this.index,r+M)}scanQuestion(e){this.advance();let t="?";return(63===this.peek||46===this.peek)&&(t+=46===this.peek?".":"?",this.advance()),I(e,this.index,t)}error(e,t){const r=this.index+t;return function Re(d,e,t){return new z1(d,e,vs.Error,0,t)}(r,this.index,`Lexer Error: ${e} at column ${r} in expression [${this.input}]`)}}function Qt(d){return 97<=d&&d<=122||65<=d&&d<=90||95==d||36==d}function Vn(d){return it(d)||Ue(d)||95==d||36==d}function ni(d){return 101==d||69==d}function Di(d){return 45==d||43==d}function sr(d){switch(d){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return d}}class Co{constructor(e,t,r){this.strings=e,this.expressions=t,this.offsets=r}}class Kr{constructor(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r}}class fr{constructor(e){this._lexer=e,this.errors=[]}parseAction(e,t,r,l,u=Ua){this._checkNoInterpolation(e,r,u);const M=this._stripComments(e),F=this._lexer.tokenize(M);let _e=1;t&&(_e|=2);const Le=new Bo(e,r,l,F,_e,this.errors,0).parseChain();return new q1(Le,e,r,l,this.errors)}parseBinding(e,t,r,l=Ua){const u=this._parseBindingAst(e,t,r,l);return new q1(u,e,t,r,this.errors)}checkSimpleExpression(e){const t=new na;return e.visit(t),t.errors}parseSimpleBinding(e,t,r,l=Ua){const u=this._parseBindingAst(e,t,r,l),M=this.checkSimpleExpression(u);return M.length>0&&this._reportError(`Host binding expression cannot contain ${M.join(" ")}`,e,t),new q1(u,e,t,r,this.errors)}_reportError(e,t,r,l){this.errors.push(new xa(e,t,r,l))}_parseBindingAst(e,t,r,l){const u=this._parseQuote(e,t,r);if(null!=u)return u;this._checkNoInterpolation(e,t,l);const M=this._stripComments(e),F=this._lexer.tokenize(M);return new Bo(e,t,r,F,0,this.errors,0).parseChain()}_parseQuote(e,t,r){if(null==e)return null;const l=e.indexOf(":");if(-1==l)return null;const u=e.substring(0,l).trim();if(!function sn(d){if(0==d.length)return!1;const e=new Gt(d);if(!Qt(e.peek))return!1;for(e.advance();0!==e.peek;){if(!Vn(e.peek))return!1;e.advance()}return!0}(u))return null;const M=e.substring(l+1),F=new a2(0,e.length);return new P2(F,F.toAbsolute(r),u,M,t)}parseTemplateBindings(e,t,r,l,u){const M=this._lexer.tokenize(t);return new Bo(t,r,u,M,0,this.errors,0).parseTemplateBindings({source:e,span:new Rc(l,l+e.length)})}parseInterpolation(e,t,r,l,u=Ua){const{strings:M,expressions:F,offsets:_e}=this.splitInterpolation(e,t,l,u);if(0===F.length)return null;const Le=[];for(let Ge=0;Ge<F.length;++Ge){const _t=F[Ge].text,Bt=this._stripComments(_t),on=this._lexer.tokenize(Bt),Kt=new Bo(e,t,r,on,0,this.errors,_e[Ge]).parseChain();Le.push(Kt)}return this.createInterpolationAst(M.map(Ge=>Ge.text),Le,e,t,r)}parseInterpolationExpression(e,t,r){const l=this._stripComments(e),u=this._lexer.tokenize(l),M=new Bo(e,t,r,u,0,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[M],e,t,r)}createInterpolationAst(e,t,r,l,u){const M=new a2(0,r.length),F=new jr(M,M.toAbsolute(u),e,t);return new q1(F,r,l,u,this.errors)}splitInterpolation(e,t,r,l=Ua){var u;const M=[],F=[],_e=[],Le=r?function ss(d){let e=new Map,t=0,r=0,l=0;for(;l<d.length;){const u=d[l];if(9===u.type){const[M,F]=u.parts;t+=F.length,r+=M.length}else{const M=u.parts.reduce((F,_e)=>F+_e.length,0);r+=M,t+=M}e.set(r,t),l++}return e}(r):null;let Ge=0,_t=!1,Bt=!1,{start:on,end:Kt}=l;for(;Ge<e.length;)if(_t){const On=Ge,Kn=On+on.length,nr=this._getInterpolationEndIndex(e,Kt,Kn);if(-1===nr){_t=!1,Bt=!0;break}const Ci=nr+Kt.length,Ar=e.substring(Kn,nr);0===Ar.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,`at column ${Ge} in`,t),F.push({text:Ar,start:On,end:Ci});const el=(null!==(u=null==Le?void 0:Le.get(On))&&void 0!==u?u:On)+on.length;_e.push(el),Ge=Ci,_t=!1}else{const On=Ge;Ge=e.indexOf(on,Ge),-1===Ge&&(Ge=e.length);const Kn=e.substring(On,Ge);M.push({text:Kn,start:On,end:Ge}),_t=!0}if(!_t)if(Bt){const On=M[M.length-1];On.text+=e.substring(Ge),On.end=e.length}else M.push({text:e.substring(Ge),start:Ge,end:e.length});return new Co(M,F,_e)}wrapLiteralPrimitive(e,t,r){const l=new a2(0,null==e?0:e.length);return new q1(new Ca(l,l.toAbsolute(r),e),e,t,r,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t):e}_commentStart(e){let t=null;for(let r=0;r<e.length-1;r++){const l=e.charCodeAt(r),u=e.charCodeAt(r+1);if(47===l&&47==u&&null==t)return r;t===l?t=null:null==t&&Tr(l)&&(t=l)}return null}_checkNoInterpolation(e,t,{start:r,end:l}){let u=-1,M=-1;for(const F of this._forEachUnquotedChar(e,0))if(-1===u)e.startsWith(r)&&(u=F);else if(M=this._getInterpolationEndIndex(e,l,F),M>-1)break;u>-1&&M>-1&&this._reportError(`Got interpolation (${r}${l}) where expression was expected`,e,`at column ${u} in`,t)}_getInterpolationEndIndex(e,t,r){for(const l of this._forEachUnquotedChar(e,r)){if(e.startsWith(t,l))return l;if(e.startsWith("//",l))return e.indexOf(t,l)}return-1}*_forEachUnquotedChar(e,t){let r=null,l=0;for(let u=t;u<e.length;u++){const M=e[u];!Tr(e.charCodeAt(u))||null!==r&&r!==M||l%2!=0?null===r&&(yield u):r=null===r?M:null,l="\\"===M?l+1:0}}}var ps;!function(d){d[d.None=0]="None",d[d.Writable=1]="Writable"}(ps||(ps={}));class Bo{constructor(e,t,r,l,u,M,F){this.input=e,this.location=t,this.absoluteOffset=r,this.tokens=l,this.parseFlags=u,this.errors=M,this.offset=F,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=ps.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:dt}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let r=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(r=t),e>r){const l=r;r=e,e=l}return new a2(e,r)}sourceSpan(e,t){const r=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(r)||this.sourceSpanCache.set(r,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(r)}advance(){this.index++}withContext(e,t){this.context|=e;const r=t();return this.context^=e,r}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===dt?"end of input":`token ${e}`}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const r=this.parsePipe();if(e.push(r),this.consumeOptionalCharacter(59))for(1&this.parseFlags||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(59););else this.index<this.tokens.length&&this.error(`Unexpected token '${this.next}'`)}if(0==e.length){const r=this.offset,l=this.offset+this.input.length;return new G1(this.span(r,l),this.sourceSpan(r,l))}return 1==e.length?e[0]:new k1(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){1&this.parseFlags&&this.error("Cannot have a pipe in an action expression");do{const r=this.inputIndex;let u,M,l=this.expectIdentifierOrKeyword();null!==l?u=this.sourceSpan(r):(l="",M=-1!==this.next.index?this.next.index:this.input.length+this.offset,u=new a2(M,M).toAbsolute(this.absoluteOffset));const F=[];for(;this.consumeOptionalCharacter(58);)F.push(this.parseExpression());t=new Ad(this.span(e),this.sourceSpan(e,M),t,l,F,u)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const r=this.parsePipe();let l;if(this.consumeOptionalCharacter(58))l=this.parsePipe();else{const u=this.inputIndex,M=this.input.substring(e,u);this.error(`Conditional expression ${M} requires all 3 expressions`),l=new G1(this.span(e),this.sourceSpan(e))}return new l2(this.span(e),this.sourceSpan(e),t,r,l)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const r=this.parseLogicalAnd();t=new yl(this.span(e),this.sourceSpan(e),"||",t,r)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const r=this.parseNullishCoalescing();t=new yl(this.span(e),this.sourceSpan(e),"&&",t,r)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const r=this.parseEquality();t=new yl(this.span(e),this.sourceSpan(e),"??",t,r)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==vs.Operator;){const r=this.next.strValue;switch(r){case"==":case"===":case"!=":case"!==":this.advance();const l=this.parseRelational();t=new yl(this.span(e),this.sourceSpan(e),r,t,l);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==vs.Operator;){const r=this.next.strValue;switch(r){case"<":case">":case"<=":case">=":this.advance();const l=this.parseAdditive();t=new yl(this.span(e),this.sourceSpan(e),r,t,l);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==vs.Operator;){const r=this.next.strValue;switch(r){case"+":case"-":this.advance();let l=this.parseMultiplicative();t=new yl(this.span(e),this.sourceSpan(e),r,t,l);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==vs.Operator;){const r=this.next.strValue;switch(r){case"*":case"%":case"/":this.advance();let l=this.parsePrefix();t=new yl(this.span(e),this.sourceSpan(e),r,t,l);continue}break}return t}parsePrefix(){if(this.next.type==vs.Operator){const e=this.inputIndex;let r;switch(this.next.strValue){case"+":return this.advance(),r=this.parsePrefix(),r3.createPlus(this.span(e),this.sourceSpan(e),r);case"-":return this.advance(),r=this.parsePrefix(),r3.createMinus(this.span(e),this.sourceSpan(e),r);case"!":return this.advance(),r=this.parsePrefix(),new wa(this.span(e),this.sourceSpan(e),r)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(40)?this.parseCall(t,e,!0):this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40))t=this.parseCall(t,e,!1);else{if(!this.consumeOptionalOperator("!"))return t;t=new cl(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}if(this.next.isKeywordNull())return this.advance(),new Ca(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new Ca(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new Ca(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new Ca(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new nc(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Hs(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(qc))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Id(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new Ca(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new Ca(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new G1(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new G1(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new G1(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){const e=[],t=[],r=this.inputIndex;if(this.expectCharacter(qc),!this.consumeOptionalCharacter($c)){this.rbracesExpected++;do{const l=this.inputIndex,u=this.next.isString(),M=this.expectIdentifierOrKeywordOrString();if(e.push({key:M,quoted:u}),u)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{const F=this.span(l),_e=this.sourceSpan(l);t.push(new L1(F,_e,_e,new Id(F,_e),M))}}while(this.consumeOptionalCharacter(44));this.rbracesExpected--,this.expectCharacter($c)}return new hc(this.span(r),this.sourceSpan(r),e,t)}parseAccessMember(e,t,r){const l=this.inputIndex,u=this.withContext(ps.Writable,()=>{var _e;const Le=null!==(_e=this.expectIdentifierOrKeyword())&&void 0!==_e?_e:"";return 0===Le.length&&this.error("Expected identifier for property access",e.span.end),Le}),M=this.sourceSpan(l);let F;if(r)this.consumeOptionalAssignment()?(this.error("The '?.' operator cannot be used in the assignment"),F=new G1(this.span(t),this.sourceSpan(t))):F=new ic(this.span(t),this.sourceSpan(t),M,e,u);else if(this.consumeOptionalAssignment()){if(!(1&this.parseFlags))return this.error("Bindings cannot contain assignments"),new G1(this.span(t),this.sourceSpan(t));const _e=this.parseConditional();F=new Al(this.span(t),this.sourceSpan(t),M,e,u,_e)}else F=new L1(this.span(t),this.sourceSpan(t),M,e,u);return F}parseCall(e,t,r){const l=this.inputIndex;this.rparensExpected++;const u=this.parseCallArguments(),M=this.span(l,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const F=this.span(t),_e=this.sourceSpan(t);return r?new Od(F,_e,e,u,M):new Nu(F,_e,e,u,M)}consumeOptionalAssignment(){return 2&this.parseFlags&&this.next.isOperator("!")&&this.peek(1).isOperator("=")?(this.advance(),this.advance(),!0):this.consumeOptionalOperator("=")}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1;const r=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new Rc(r,r+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const r=this.parseLetBinding();if(r)t.push(r);else{const l=this.expectTemplateBindingKey(),u=this.parseAsBinding(l);u?t.push(u):(l.source=e.source+l.source.charAt(0).toUpperCase()+l.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(l)))}this.consumeStatementTerminator()}return new Kr(t,[],this.errors)}parseKeyedReadOrWrite(e,t,r){return this.withContext(ps.Writable,()=>{this.rbracketsExpected++;const l=this.parsePipe();if(l instanceof G1&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.consumeOptionalOperator("="))return r?new Ol(this.span(t),this.sourceSpan(t),e,l):new Ru(this.span(t),this.sourceSpan(t),e,l);if(!r){const u=this.parseConditional();return new cu(this.span(t),this.sourceSpan(t),e,l,u)}return this.error("The '?.' operator cannot be used in the assignment"),new G1(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(58);const r=this.getDirectiveBoundTarget();let l=this.currentAbsoluteOffset;const u=this.parseAsBinding(e);u||(this.consumeStatementTerminator(),l=this.currentAbsoluteOffset);const M=new Rc(e.span.start,l);return t.push(new du(M,e,r)),u&&t.push(u),t}getDirectiveBoundTarget(){if(this.next===dt||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:r}=e.span,l=this.input.substring(t,r);return new q1(e,l,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const r=new Rc(e.span.start,this.currentAbsoluteOffset);return new ld(r,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let r=null;this.consumeOptionalOperator("=")&&(r=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const l=new Rc(e,this.currentAbsoluteOffset);return new ld(l,t,r)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e,t=null){this.errors.push(new xa(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(e=null){return null==e&&(e=this.index),e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let r=`Private identifiers are not supported. Unexpected private identifier: ${e}`;null!==t&&(r+=`, ${t}`),this.error(r)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(59)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter($c)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&ps.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new xa(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class na extends class Hu{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitQuote(e,t){}visitAll(e,t){for(const r of e)this.visit(r,t)}}{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}class $o{constructor(e,t){this.sourceSpan=e,this.i18n=t}}class pr extends $o{constructor(e,t,r,l){super(t,l),this.value=e,this.tokens=r}visit(e,t){return e.visitText(this,t)}}class ma extends $o{constructor(e,t,r,l,u,M){super(l,M),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}}class qa{constructor(e,t,r,l,u){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=l,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}}class dl extends $o{constructor(e,t,r,l,u,M,F){super(r,F),this.name=e,this.value=t,this.keySpan=l,this.valueSpan=u,this.valueTokens=M}visit(e,t){return e.visitAttribute(this,t)}}class Wl extends $o{constructor(e,t,r,l,u,M=null,F){super(l,F),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=u,this.endSourceSpan=M}visit(e,t){return e.visitElement(this,t)}}class Pl{constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}}function Ko(d,e,t=null){const r=[],l=d.visit?u=>d.visit(u,t)||u.visit(d,t):u=>u.visit(d,t);return e.forEach(u=>{const M=l(u);M&&r.push(M)}),r}const v2={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\u{1d504}",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\u{1d538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\u{1d49c}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\u{1d505}",Bopf:"\u{1d539}",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\u{1d49e}",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1d507}",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1d53b}",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\u{1d49f}",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\u{1d508}",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\u{1d53c}",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1d509}",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\u{1d53d}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1d50a}",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\u{1d53e}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1d4a2}",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\u{1d540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1d50d}",Jopf:"\u{1d541}",Jscr:"\u{1d4a5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\u{1d50e}",Kopf:"\u{1d542}",Kscr:"\u{1d4a6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1d50f}",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\u{1d543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1d510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1d544}",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\u{1d511}",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1d4a9}",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\u{1d512}",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\u{1d546}",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\u{1d4aa}",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\u{1d513}",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\u{1d4ab}",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\u{1d514}",Qopf:"\u211a",rationals:"\u211a",Qscr:"\u{1d4ac}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\u{1d516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1d54a}",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1d4ae}",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1d517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1d54b}",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\u{1d4af}",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1d518}",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\u{1d54c}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\u{1d4b0}",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\u{1d519}",Vopf:"\u{1d54d}",Vscr:"\u{1d4b1}",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\u{1d51a}",Wopf:"\u{1d54e}",Wscr:"\u{1d4b2}",Xfr:"\u{1d51b}",Xi:"\u039e",Xopf:"\u{1d54f}",Xscr:"\u{1d4b3}",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\u{1d51c}",Yopf:"\u{1d550}",Yscr:"\u{1d4b4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1d4b5}",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\u{1d51e}",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\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",angzarr:"\u237c",aogon:"\u0105",aopf:"\u{1d552}",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\u{1d4b6}",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\u{1d51f}",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\u{1d553}",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\u{1d4b7}",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\u{1d520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\u{1d554}",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\u{1d4b8}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1d522}",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1d556}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\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",sfrown:"\u2322",fscr:"\u{1d4bb}",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\u{1d558}",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\u{1d559}",horbar:"\u2015",hscr:"\u{1d4bd}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\u{1d526}",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\u{1d55a}",iota:"\u03b9",iquest:"\xbf",iscr:"\u{1d4be}",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1d527}",jmath:"\u0237",jopf:"\u{1d55b}",jscr:"\u{1d4bf}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\u{1d528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\u{1d55c}",kscr:"\u{1d4c0}",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\u{1d529}",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\u{1d52a}",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\u{1d55e}",mscr:"\u{1d4c2}",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1d52b}",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\u{1d55f}",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\u{1d4c3}",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\u{1d52c}",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\u{1d560}",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1d52d}",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\u{1d561}",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\u{1d4c5}",psi:"\u03c8",puncsp:"\u2008",qfr:"\u{1d52e}",qopf:"\u{1d562}",qprime:"\u2057",qscr:"\u{1d4c6}",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\u{1d52f}",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\u{1d563}",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\u{1d4c7}",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1d530}",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\u{1d4c8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1d531}",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\u{1d532}",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\u{1d566}",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\u{1d4ca}",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\u{1d533}",vopf:"\u{1d567}",vscr:"\u{1d4cb}",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1d534}",wopf:"\u{1d568}",wscr:"\u{1d4cc}",xfr:"\u{1d535}",xi:"\u03be",xnis:"\u22fb",xopf:"\u{1d569}",xscr:"\u{1d4cd}",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\u{1d536}",yicy:"\u0457",yopf:"\u{1d56a}",yscr:"\u{1d4ce}",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\u{1d537}",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\u{1d56b}",zscr:"\u{1d4cf}",zwj:"\u200d",zwnj:"\u200c"};v2.ngsp="\ue500";class lo extends Vs{constructor(e,t,r){super(r,e),this.tokenType=t}}class Jc{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}}const u4=/\r\n?/g;function mu(d){return`Unexpected character "${0===d?"EOF":String.fromCharCode(d)}"`}function Qc(d){return`Unknown entity "${d}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}var h4;!function(d){d.HEX="hexadecimal",d.DEC="decimal"}(h4||(h4={}));class vu{constructor(e){this.error=e}}class sc{constructor(e,t,r){this._getTagDefinition=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Ua,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(u=>u.codePointAt(0)||0);const l=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Ud(e,l):new c3(e,l),this._preserveLineEndings=r.preserveLineEndings||!1,this._escapedString=r.escapedString||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(u4,"\n")}tokenize(){for(;0!==this._cursor.peek();){const e=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(45)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(47)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(24),this._endToken([])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function Yp(d){return d!==$c}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===$c){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new lo("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new lo("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const r={type:this._currentTokenType,parts:e,sourceSpan:(null!=t?t:this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const r=new lo(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new vu(r)}handleError(e){if(e instanceof Z4&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof vu))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function p4(d,e){return g4(d)===g4(e)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){const t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(mu(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){const t=e.length;if(this._cursor.charsLeft()<t)return!1;const r=this._cursor.clone();for(let l=0;l<t;l++)if(!this._attemptCharCode(e.charCodeAt(l)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){const t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(mu(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){const r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(mu(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){const e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_consumeEntity(e){this._beginToken(9);const t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){const r=this._attemptCharCode(120)||this._attemptCharCode(88),l=this._cursor.clone();if(this._attemptCharCodeUntilFn(f4),59!=this._cursor.peek()){this._cursor.advance();const M=r?h4.HEX:h4.DEC;throw this._createError(function $4(d,e){return`Unable to parse entity "${e}" - ${d} character reference entities must end with ";"`}(M,this._cursor.getChars(t)),this._cursor.getSpan())}const u=this._cursor.getChars(l);this._cursor.advance();try{const M=parseInt(u,r?16:10);this._endToken([String.fromCharCode(M),this._cursor.getChars(t)])}catch(M){throw this._createError(Qc(this._cursor.getChars(t)),this._cursor.getSpan())}}else{const r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Up),59!=this._cursor.peek())this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{const l=this._cursor.getChars(r);this._cursor.advance();const u=v2[l];if(!u)throw this._createError(Qc(l),this._cursor.getSpan(t));this._endToken([u,`&${l};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);const r=[];for(;;){const l=this._cursor.clone(),u=t();if(this._cursor=l,u)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._requireCharCode(45),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e);const t=this._cursor.clone();this._attemptUntilChar(62);const r=this._cursor.getChars(t);this._cursor.advance(),this._endToken([r])}_consumePrefixAndName(){const e=this._cursor.clone();let r,t="";for(;58!==this._cursor.peek()&&!yd(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(K4,""===t?0:1);return[t,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,r,l;try{if(!it(this._cursor.peek()))throw this._createError(mu(this._cursor.peek()),this._cursor.getSpan(e));for(l=this._consumeTagOpenStart(e),r=l.parts[0],t=l.parts[1],this._attemptCharCodeUntilFn(kc);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();)this._consumeAttributeName(),this._attemptCharCodeUntilFn(kc),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(kc),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(kc);this._consumeTagOpenEnd()}catch(M){if(M instanceof vu)return void(l?l.type=4:(this._beginToken(5,e),this._endToken(["<"])));throw M}const u=this._getTagDefinition(t).getContentType(r);u===P.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):u===P.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(kc),this._attemptStrCaseInsensitive(t)))&&(this._attemptCharCodeUntilFn(kc),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(l=>62===l,3),this._cursor.advance(),this._endToken([e,t])}_consumeTagOpenStart(e){this._beginToken(0,e);const t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){const e=this._cursor.peek();if(39===e||34===e)throw this._createError(mu(e),this._cursor.getSpan());this._beginToken(14);const t=this._consumePrefixAndName();this._endToken(t)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const t=this._cursor.peek();this._consumeQuote(t);const r=()=>this._cursor.peek()===t;this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{const t=()=>K4(this._cursor.peek());this._consumeWithInterpolation(16,17,t,t)}}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){const e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){this._beginToken(3,e),this._attemptCharCodeUntilFn(kc);const t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(kc),this._requireCharCode(62),this._endToken(t)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(qc),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{const l=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(l)}this._requireCharCode(44),this._attemptCharCodeUntilFn(kc),this._beginToken(7);const r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(kc)}_consumeExpansionCaseStart(){this._beginToken(20);const e=this._readUntil(qc).trim();this._endToken([e]),this._attemptCharCodeUntilFn(kc),this._beginToken(21),this._requireCharCode(qc),this._endToken([]),this._attemptCharCodeUntilFn(kc),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode($c),this._endToken([]),this._attemptCharCodeUntilFn(kc),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode($c),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,l){this._beginToken(e);const u=[];for(;!r();){const M=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(u.join(""))],M),u.length=0,this._consumeInterpolation(t,M,l),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(u.join(""))])}_consumeInterpolation(e,t,r){const l=[];this._beginToken(e,t),l.push(this._interpolationConfig.start);const u=this._cursor.clone();let M=null,F=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){const _e=this._cursor.clone();if(this._isTagStart())return this._cursor=_e,l.push(this._getProcessedChars(u,_e)),void this._endToken(l);if(null===M){if(this._attemptStr(this._interpolationConfig.end))return l.push(this._getProcessedChars(u,_e)),l.push(this._interpolationConfig.end),void this._endToken(l);this._attemptStr("//")&&(F=!0)}const Le=this._cursor.peek();this._cursor.advance(),92===Le?this._cursor.advance():Le===M?M=null:!F&&null===M&&Tr(Le)&&(M=Le)}l.push(this._getProcessedChars(u,this._cursor)),this._endToken(l)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===$c&&this._isInExpansionCase()))}_isTagStart(){if(60===this._cursor.peek()){const e=this._cursor.clone();e.advance();const t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t)return!0}return!1}_readUntil(e){const t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==qc)return!1;if(this._interpolationConfig){const e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}}function kc(d){return!Te(d)||0===d}function K4(d){return Te(d)||62===d||60===d||47===d||39===d||34===d||61===d||0===d}function yd(d){return(d<97||122<d)&&(d<65||90<d)&&(d<48||d>57)}function f4(d){return 59===d||0===d||!function Lt(d){return d>=97&&d<=102||d>=65&&d<=70||Ue(d)}(d)}function Up(d){return 59===d||0===d||!it(d)}function g4(d){return d>=97&&d<=122?d-97+65:d}class c3{constructor(e,t){if(e instanceof c3){this.file=e.file,this.input=e.input,this.end=e.end;const r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new c3(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let r=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)r===e&&(e=e.clone()),e.advance();const l=this.locationFromCursor(e),u=this.locationFromCursor(this),M=r!==e?this.locationFromCursor(r):l;return new ta(l,u,M)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Z4('Unexpected character "EOF"',this);const t=this.charAt(e.offset);10===t?(e.line++,e.column=0):mn(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Wo(e.file,e.state.offset,e.state.line,e.state.column)}}class Ud extends c3{constructor(e,t){e instanceof Ud?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ud(this)}getChars(e){const t=e.clone();let r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){const e=()=>this.internalState.peek;if(92===e())if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),e()===qc){this.advanceState(this.internalState);const t=this.clone();let r=0;for(;e()!==$c;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{const t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(120===e()){this.advanceState(this.internalState);const t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(ii(e())){let t="",r=0,l=this.clone();for(;ii(e())&&r<3;)l=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=l.internalState}else mn(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){const r=this.input.substr(e.internalState.offset,t),l=parseInt(r,16);if(isNaN(l))throw e.state=e.internalState,new Z4("Invalid hexadecimal escape sequence",e);return l}}class Z4{constructor(e,t){this.msg=e,this.cursor=t}}class Yd extends Vs{constructor(e,t,r){super(t,r),this.elementName=e}static create(e,t,r){return new Yd(e,t,r)}}class X4{constructor(e,t){this.rootNodes=e,this.errors=t}}class v4{constructor(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._elementStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;24!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?this._consumeEndTag(this._advance()):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):19===this._peek.type?this._consumeExpansion(this._advance()):this._advance()}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){this._consumeText(this._advance()),this._advanceIf(13)}_consumeComment(e){const t=this._advanceIf(7);this._advanceIf(11);const r=null!=t?t.parts[0].trim():null;this._addToParent(new Pl(r,e.sourceSpan))}_consumeExpansion(e){const t=this._advance(),r=this._advance(),l=[];for(;20===this._peek.type;){const M=this._parseExpansionCase();if(!M)return;l.push(M)}if(23!==this._peek.type)return void this.errors.push(Yd.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const u=new ta(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new ma(t.parts[0],r.parts[0],l,u,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(21!==this._peek.type)return this.errors.push(Yd.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;const l=this._advance();r.push({type:24,parts:[],sourceSpan:l.sourceSpan});const u=new v4(r,this.getTagDefinition);if(u.build(),u.errors.length>0)return this.errors=this.errors.concat(u.errors),null;const M=new ta(e.sourceSpan.start,l.sourceSpan.end,e.sourceSpan.fullStart),F=new ta(t.sourceSpan.start,l.sourceSpan.end,t.sourceSpan.fullStart);return new qa(e.parts[0],u.rootNodes,M,e.sourceSpan,F)}_collectExpansionExpTokens(e){const t=[],r=[21];for(;;){if((19===this._peek.type||21===this._peek.type)&&r.push(this._peek.type),22===this._peek.type){if(!Cf(r,21))return this.errors.push(Yd.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0===r.length)return t}if(23===this._peek.type){if(!Cf(r,19))return this.errors.push(Yd.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(24===this._peek.type)return this.errors.push(Yd.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_consumeText(e){const t=[e],r=e.sourceSpan;let l=e.parts[0];if(l.length>0&&"\n"===l[0]){const u=this._getParentElement();null!=u&&0===u.children.length&&this.getTagDefinition(u.name).ignoreFirstLf&&(l=l.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[l]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?l+=e.parts.join("").replace(/&([^;]+);/g,Wp):9===e.type?l+=e.parts[0]:l+=e.parts.join("");if(l.length>0){const u=e.sourceSpan;this._addToParent(new pr(l,new ta(r.start,u.end,r.fullStart,r.details),t))}}_closeVoidElement(){const e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){const[t,r]=e.parts,l=[];for(;14===this._peek.type;)l.push(this._consumeAttr(this._advance()));const u=this._getElementFullName(t,r,this._getParentElement());let M=!1;if(2===this._peek.type){this._advance(),M=!0;const _t=this.getTagDefinition(u);_t.canSelfClose||null!==v(u)||_t.isVoid||this.errors.push(Yd.create(u,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),M=!1);const F=this._peek.sourceSpan.fullStart,_e=new ta(e.sourceSpan.start,F,e.sourceSpan.fullStart),Le=new ta(e.sourceSpan.start,F,e.sourceSpan.fullStart),Ge=new Wl(u,l,[],_e,Le,void 0);this._pushElement(Ge),M?this._popElement(u,_e):4===e.type&&(this._popElement(u,null),this.errors.push(Yd.create(u,_e,`Opening tag "${u}" not terminated.`)))}_pushElement(e){const t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){const t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this.getTagDefinition(t).isVoid)this.errors.push(Yd.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t,e.sourceSpan)){const r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Yd.create(t,e.sourceSpan,r))}}_popElement(e,t){let r=!1;for(let l=this._elementStack.length-1;l>=0;l--){const u=this._elementStack[l];if(u.name===e)return u.endSourceSpan=t,u.sourceSpan.end=null!==t?t.end:u.sourceSpan.end,this._elementStack.splice(l,this._elementStack.length-l),!r;this.getTagDefinition(u.name).closedByParent||(r=!0)}return!1}_consumeAttr(e){const t=y(e.parts[0],e.parts[1]);let r=e.sourceSpan.end;15===this._peek.type&&this._advance();let l="";const u=[];let M,F;if(16===this._peek.type)for(M=this._peek.sourceSpan,F=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const Ge=this._advance();u.push(Ge),17===Ge.type?l+=Ge.parts.join("").replace(/&([^;]+);/g,Wp):9===Ge.type?l+=Ge.parts[0]:l+=Ge.parts.join(""),F=r=Ge.sourceSpan.end}15===this._peek.type&&(r=this._advance().sourceSpan.end);const Le=M&&F&&new ta(M.start,F,M.fullStart);return new dl(t,l,new ta(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,Le,u.length>0?u:void 0,void 0)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_addToParent(e){const t=this._getParentElement();null!=t?t.children.push(e):this.rootNodes.push(e)}_getElementFullName(e,t,r){if(""===e&&(""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r)){const l=m(r.name)[1];this.getTagDefinition(l).preventNamespaceInheritance||(e=v(r.name))}return y(e,t)}}function Cf(d,e){return d.length>0&&d[d.length-1]===e}function Wp(d,e){return void 0!==v2[e]?v2[e]||d:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):d}class d3 extends class m4{constructor(e){this.getTagDefinition=e}parse(e,t,r){const l=function Oh(d,e,t,r={}){const l=new sc(new fs(d,e),t,r);return l.tokenize(),new Jc(function pc(d){const e=[];let t;for(let r=0;r<d.length;r++){const l=d[r];t&&5===t.type&&5===l.type||t&&16===t.type&&16===l.type?(t.parts[0]+=l.parts[0],t.sourceSpan.end=l.sourceSpan.end):(t=l,e.push(t))}return e}(l.tokens),l.errors,l.nonNormalizedIcuExpressions)}(e,t,this.getTagDefinition,r),u=new v4(l.tokens,this.getTagDefinition);return u.build(),new X4(u.rootNodes,l.errors.concat(u.errors))}}{constructor(){super(w)}parse(e,t,r){return super.parse(e,t,r)}}const dp="ngPreserveWhitespaces",up=new Set(["pre","template","textarea","script","style"]),_4=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",wf=new RegExp(`[^${_4}]`),J4=new RegExp(`[${_4}]{2,}`,"g");function pg(d){return d.replace(new RegExp("\ue500","g")," ")}class C0{visitElement(e,t){return up.has(e.name)||function um(d){return d.some(e=>e.name===dp)}(e.attrs)?new Wl(e.name,Ko(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new Wl(e.name,e.attrs,function mg(d,e){const t=[];return e.forEach((r,l)=>{const u={prev:e[l-1],next:e[l+1]},M=r.visit(d,u);M&&t.push(M)}),t}(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}visitAttribute(e,t){return e.name!==dp?e:null}visitText(e,t){const r=e.value.match(wf),l=t&&(t.prev instanceof ma||t.next instanceof ma);if(r||l){const u=e.tokens.map(F=>5===F.type?function Gp({type:d,parts:e,sourceSpan:t}){return{type:d,parts:[k6(e[0])],sourceSpan:t}}(F):F),M=k6(e.value);return new pr(M,e.sourceSpan,u,e.i18n)}return null}visitComment(e,t){return e}visitExpansion(e,t){return e}visitExpansionCase(e,t){return e}}function k6(d){return pg(d).replace(J4," ")}function hp(d,e=!1){return ui(Object.keys(d).map(t=>({key:t,quoted:e,value:d[t]})))}const w0=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|autocomplete,!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,autocomplete,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],h3={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Mf=Object.keys(h3).reduce((d,e)=>(d[h3[e]]=e,d),{});class f3 extends class Vu{}{constructor(){super(),this._schema={},this._eventSchema={},w0.forEach(e=>{const t={},r=new Set,[l,u]=e.split("|"),M=u.split(","),[F,_e]=l.split("^");F.split(",").forEach(Ge=>{this._schema[Ge.toLowerCase()]=t,this._eventSchema[Ge.toLowerCase()]=r});const Le=_e&&this._schema[_e.toLowerCase()];if(Le){Object.keys(Le).forEach(Ge=>{t[Ge]=Le[Ge]});for(const Ge of this._eventSchema[_e.toLowerCase()])r.add(Ge)}M.forEach(Ge=>{if(Ge.length>0)switch(Ge[0]){case"*":r.add(Ge.substring(1));break;case"!":t[Ge.substring(1)]="boolean";break;case"#":t[Ge.substring(1)]="number";break;case"%":t[Ge.substring(1)]="object";break;default:t[Ge]="string"}})})}hasProperty(e,t,r){if(r.some(u=>u.name===W.name))return!0;if(e.indexOf("-")>-1){if(s(e)||o(e))return!1;if(r.some(u=>u.name===X.name))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]}hasElement(e,t){return!!(t.some(r=>r.name===W.name)||e.indexOf("-")>-1&&(s(e)||o(e)||t.some(r=>r.name===X.name)))||!!this._schema[e.toLowerCase()]}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let l=zd()[e+"|"+t];return l||(l=zd()["*|"+t],l||pe.NONE)}getMappedPropName(e){return h3[e]||e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}}return{error:!1}}validateAttribute(e){if(e.toLowerCase().startsWith("on")){return{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}}return{error:!1}}allKnownElementNames(){return Object.keys(this._schema)}allKnownAttributesOfElement(e){const t=this._schema[e.toLowerCase()]||this._schema.unknown;return Object.keys(t).map(r=>{var l;return null!==(l=Mf[r])&&void 0!==l?l:r})}allKnownEventsOfElement(e){var t;return Array.from(null!==(t=this._eventSchema[e.toLowerCase()])&&void 0!==t?t:[])}normalizeAnimationStyleProperty(e){return function rn(d){return d.replace(vt,(...e)=>e[1].toUpperCase())}(e)}normalizeAnimationStyleValue(e,t,r){let l="";const u=r.toString().trim();let M=null;if(function E6(d){switch(d){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==r&&"0"!==r)if("number"==typeof r)l="px";else{const F=r.match(/^[+-]?[\d\.]+([a-z]*)$/);F&&0==F[1].length&&(M=`Please provide a CSS unit value for ${t}:${r}`)}return{error:M,value:u+l}}}const Ph=new Set(["iframe|srcdoc","*|innerhtml","*|outerhtml","embed|src","object|codebase","object|data"]);function $p(d,e){return d=d.toLowerCase(),e=e.toLowerCase(),Ph.has(d+"|"+e)||Ph.has("*|"+e)}const z3="animate-";class eh{constructor(e,t,r,l){this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=r,this.errors=l}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(e,t){const r=[];for(const l of Object.keys(e)){const u=e[l];"string"==typeof u?this.parsePropertyBinding(l,u,!0,t,t.start.offset,void 0,[],r,t):this._reportError(`Value of the host property binding "${l}" needs to be a string representing an expression but got "${u}" (${typeof u})`,t)}return r}createDirectiveHostEventAsts(e,t){const r=[];for(const l of Object.keys(e)){const u=e[l];"string"==typeof u?this.parseEvent(l,u,!1,t,t,[],r,t):this._reportError(`Value of the host listener "${l}" needs to be a string representing an expression but got "${u}" (${typeof u})`,t)}return r}parseInterpolation(e,t,r){const l=t.start.toString(),u=t.fullStart.offset;try{const M=this._exprParser.parseInterpolation(e,l,u,r,this._interpolationConfig);return M&&this._reportExpressionParserErrors(M.errors,t),M}catch(M){return this._reportError(`${M}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",l,u)}}parseInterpolationExpression(e,t){const r=t.start.toString(),l=t.start.offset;try{const u=this._exprParser.parseInterpolationExpression(e,r,l);return u&&this._reportExpressionParserErrors(u.errors,t),u}catch(u){return this._reportError(`${u}`,t),this._exprParser.wrapLiteralPrimitive("ERROR",r,l)}}parseInlineTemplateBinding(e,t,r,l,u,M,F,_e){const Le=r.start.offset+"*".length,Ge=this._parseTemplateBindings(e,t,r,Le,l);for(const _t of Ge){const Bt=_u(r,_t.sourceSpan),on=_t.key.source,Kt=_u(r,_t.key.span);if(_t instanceof ld){const On=_t.value?_t.value.source:"$implicit",Kn=_t.value?_u(r,_t.value.span):void 0;F.push(new W4(on,On,Bt,Kt,Kn))}else if(_t.value){const On=_e?Bt:r,Kn=_u(r,_t.value.ast.sourceSpan);this._parsePropertyAst(on,_t.value,On,Kt,Kn,u,M)}else u.push([on,""]),this.parseLiteralAttr(on,null,Kt,l,void 0,u,M,Kt)}}_parseTemplateBindings(e,t,r,l,u){const M=r.start.toString();try{const F=this._exprParser.parseTemplateBindings(e,t,M,l,u);return this._reportExpressionParserErrors(F.errors,r),F.warnings.forEach(_e=>{this._reportError(_e,r,os.WARNING)}),F.templateBindings}catch(F){return this._reportError(`${F}`,r),[]}}parseLiteralAttr(e,t,r,l,u,M,F,_e){th(e)?(e=e.substring(1),void 0!==_e&&(_e=_u(_e,new Rc(_e.start.offset+1,_e.end.offset))),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',r,os.ERROR),this._parseAnimation(e,t,r,l,_e,u,M,F)):F.push(new E1(e,this._exprParser.wrapLiteralPrimitive(t,"",l),Ul.LITERAL_ATTR,r,_e,u))}parsePropertyBinding(e,t,r,l,u,M,F,_e,Le){0===e.length&&this._reportError("Property name is missing in binding",l);let Ge=!1;e.startsWith(z3)?(Ge=!0,e=e.substring(z3.length),void 0!==Le&&(Le=_u(Le,new Rc(Le.start.offset+z3.length,Le.end.offset)))):th(e)&&(Ge=!0,e=e.substring(1),void 0!==Le&&(Le=_u(Le,new Rc(Le.start.offset+1,Le.end.offset)))),Ge?this._parseAnimation(e,t,l,u,Le,M,F,_e):this._parsePropertyAst(e,this._parseBinding(t,r,M||l,u),l,Le,M,F,_e)}parsePropertyInterpolation(e,t,r,l,u,M,F,_e){const Le=this.parseInterpolation(t,l||r,_e);return!!Le&&(this._parsePropertyAst(e,Le,r,F,l,u,M),!0)}_parsePropertyAst(e,t,r,l,u,M,F){M.push([e,t.source]),F.push(new E1(e,t,Ul.DEFAULT,r,l,u))}_parseAnimation(e,t,r,l,u,M,F,_e){0===e.length&&this._reportError("Animation trigger is missing",r);const Le=this._parseBinding(t||"undefined",!1,M||r,l);F.push([e,Le.source]),_e.push(new E1(e,Le,Ul.ANIMATION,r,u,M))}_parseBinding(e,t,r,l){const u=(r&&r.start||"(unknown)").toString();try{const M=t?this._exprParser.parseSimpleBinding(e,u,l,this._interpolationConfig):this._exprParser.parseBinding(e,u,l,this._interpolationConfig);return M&&this._reportExpressionParserErrors(M.errors,r),M}catch(M){return this._reportError(`${M}`,r),this._exprParser.wrapLiteralPrimitive("ERROR",u,l)}}createBoundElementProperty(e,t,r=!1,l=!0){if(t.isAnimation)return new G4(t.name,4,pe.NONE,t.expression,null,t.sourceSpan,t.keySpan,t.valueSpan);let M,u=null,F=null;const _e=t.name.split(".");let Le;if(_e.length>1)if("attr"==_e[0]){F=_e.slice(1).join("."),r||this._validatePropertyOrAttributeName(F,t.sourceSpan,!0),Le=nh(this._schemaRegistry,e,F,!0);const Ge=F.indexOf(":");if(Ge>-1){const _t=F.substring(0,Ge),Bt=F.substring(Ge+1);F=y(_t,Bt)}M=1}else"class"==_e[0]?(F=_e[1],M=2,Le=[pe.NONE]):"style"==_e[0]&&(u=_e.length>2?_e[2]:null,F=_e[1],M=3,Le=[pe.STYLE]);if(null===F){const Ge=this._schemaRegistry.getMappedPropName(t.name);F=l?Ge:t.name,Le=nh(this._schemaRegistry,e,Ge,!1),M=0,r||this._validatePropertyOrAttributeName(Ge,t.sourceSpan,!1)}return new G4(F,M,Le[0],t.expression,u,t.sourceSpan,t.keySpan,t.valueSpan)}parseEvent(e,t,r,l,u,M,F,_e){0===e.length&&this._reportError("Event name is missing in binding",l),th(e)?(e=e.substr(1),void 0!==_e&&(_e=_u(_e,new Rc(_e.start.offset+1,_e.end.offset))),this._parseAnimationEvent(e,t,r,l,u,F,_e)):this._parseRegularEvent(e,t,r,l,u,M,F,_e)}calcPossibleSecurityContexts(e,t,r){const l=this._schemaRegistry.getMappedPropName(t);return nh(this._schemaRegistry,e,l,r)}_parseAnimationEvent(e,t,r,l,u,M,F){const _e=function fn(d,e){return _n(d,".",e)}(e,[e,""]),Le=_e[0],Ge=_e[1].toLowerCase(),_t=this._parseAction(t,r,u);M.push(new o3(Le,Ge,1,_t,l,u,F)),0===Le.length&&this._reportError("Animation event name is missing in binding",l),Ge?"start"!==Ge&&"done"!==Ge&&this._reportError(`The provided animation output phase value "${Ge}" for "@${Le}" is not supported (use start or done)`,l):this._reportError(`The animation trigger output event (@${Le}) is missing its phase value name (start or done are currently supported)`,l)}_parseRegularEvent(e,t,r,l,u,M,F,_e){const[Le,Ge]=Xt(e,[null,e]),_t=this._parseAction(t,r,u);M.push([e,_t.source]),F.push(new o3(Ge,Le,0,_t,l,u,_e))}_parseAction(e,t,r){const l=(r&&r.start||"(unknown").toString(),u=r&&r.start?r.start.offset:0;try{const M=this._exprParser.parseAction(e,t,l,u,this._interpolationConfig);return M&&this._reportExpressionParserErrors(M.errors,r),!M||M.ast instanceof G1?(this._reportError("Empty expressions are not allowed",r),this._exprParser.wrapLiteralPrimitive("ERROR",l,u)):M}catch(M){return this._reportError(`${M}`,r),this._exprParser.wrapLiteralPrimitive("ERROR",l,u)}}_reportError(e,t,r=os.ERROR){this.errors.push(new Vs(t,e,r))}_reportExpressionParserErrors(e,t){for(const r of e)this._reportError(r.message,t)}_validatePropertyOrAttributeName(e,t,r){const l=r?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);l.error&&this._reportError(l.msg,t,os.ERROR)}}function th(d){return"@"==d[0]}function nh(d,e,t,r){const l=[];return R.parse(e).forEach(u=>{const M=u.element?[u.element]:d.allKnownElementNames(),F=new Set(u.notSelectors.filter(Le=>Le.isElementSelector()).map(Le=>Le.element)),_e=M.filter(Le=>!F.has(Le));l.push(..._e.map(Le=>d.securityContext(Le,t,r)))}),0===l.length?[pe.NONE]:Array.from(new Set(l)).sort()}function _u(d,e){const t=e.start-d.start.offset,r=e.end-d.end.offset;return new ta(d.start.moveBy(t),d.end.moveBy(r),d.fullStart.moveBy(t),d.details)}const R3=/^([^:/?#]+):/;function Lf(d){let e=null,t=null,r=null,l=!1,u="";d.attrs.forEach(_e=>{const Le=_e.name.toLowerCase();"select"==Le?e=_e.value:"href"==Le?t=_e.value:"rel"==Le?r=_e.value:"ngNonBindable"==_e.name?l=!0:"ngProjectAs"==_e.name&&_e.value.length>0&&(u=_e.value)}),e=function rh(d){return null===d||0===d.length?"*":d}(e);const M=d.name.toLowerCase();let F=Bs.OTHER;return o(M)?F=Bs.NG_CONTENT:"style"==M?F=Bs.STYLE:"script"==M?F=Bs.SCRIPT:"link"==M&&"stylesheet"==r&&(F=Bs.STYLESHEET),new yg(F,e,t,l,u)}var Bs;!function(d){d[d.NG_CONTENT=0]="NG_CONTENT",d[d.STYLE=1]="STYLE",d[d.STYLESHEET=2]="STYLESHEET",d[d.SCRIPT=3]="SCRIPT",d[d.OTHER=4]="OTHER"}(Bs||(Bs={}));class yg{constructor(e,t,r,l,u){this.type=e,this.selectAttr=t,this.hrefAttr=r,this.nonBindable=l,this.projectAs=u}}const N1=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,Lo_BANANA_BOX={start:"[(",end:")]"},Lo_PROPERTY={start:"[",end:"]"},Lo_EVENT={start:"(",end:")"};class Lc{constructor(e,t){this.bindingParser=e,this.options=t,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1}visitElement(e){const t=wn(e.i18n);t&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",e.sourceSpan),this.inI18nBlock=!0);const r=Lf(e);if(r.type===Bs.SCRIPT)return null;if(r.type===Bs.STYLE){const Kn=function I0(d){return 1===d.children.length&&d.children[0]instanceof pr?d.children[0].value:null}(e);return null!==Kn&&this.styles.push(Kn),null}if(r.type===Bs.STYLESHEET&&function Kp(d){if(null==d||0===d.length||"/"==d[0])return!1;const e=d.match(R3);return null===e||"package"==e[1]||"asset"==e[1]}(r.hrefAttr))return this.styleUrls.push(r.hrefAttr),null;const l=function h(d){return"ng-template"===m(d)[1]}(e.name),u=[],M=[],F=[],_e=[],Le=[],Ge={},_t=[],Bt=[];let on=!1;for(const Kn of e.attrs){let nr=!1;const Ci=D0(Kn.name);let Ar=!1;if(Kn.i18n&&(Ge[Kn.name]=Kn.i18n),Ci.startsWith("*")){on&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",Kn.sourceSpan),Ar=!0,on=!0;const oo=Kn.value,el=Ci.substring("*".length),Hl=[],Ic=Kn.valueSpan?Kn.valueSpan.start.offset:Kn.sourceSpan.start.offset+Kn.name.length;this.bindingParser.parseInlineTemplateBinding(el,oo,Kn.sourceSpan,Ic,[],_t,Hl,!0),Bt.push(...Hl.map(eu=>new Zn(eu.name,eu.value,eu.sourceSpan,eu.keySpan,eu.valueSpan)))}else nr=this.parseAttribute(l,Kn,[],u,M,F,_e);!nr&&!Ar&&Le.push(this.visitAttribute(Kn))}const Kt=Ko(r.nonBindable?xd:this,e.children);let On;if(r.type===Bs.NG_CONTENT){e.children&&!e.children.every(Ci=>function D6(d){return d instanceof pr&&0==d.value.trim().length}(Ci)||function jh(d){return d instanceof Pl}(Ci))&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);const Kn=r.selectAttr,nr=e.attrs.map(Ci=>this.visitAttribute(Ci));On=new Vt(Kn,nr,e.sourceSpan,e.i18n),this.ngContentSelectors.push(Kn)}else if(l){const Kn=this.extractAttributes(e.name,u,Ge);On=new Ze(e.name,Le,Kn.bound,M,[],Kt,_e,F,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{const Kn=this.extractAttributes(e.name,u,Ge);On=new Ie(e.name,Le,Kn.bound,M,Kt,_e,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(on){const Kn=this.extractAttributes("ng-template",_t,Ge),nr=[];Kn.literal.forEach(el=>nr.push(el)),Kn.bound.forEach(el=>nr.push(el));const Ci=On instanceof Ie?{attributes:On.attributes,inputs:On.inputs,outputs:On.outputs}:{attributes:[],inputs:[],outputs:[]},Ar=l&&t?void 0:e.i18n,oo=On instanceof Ze?null:On.name;On=new Ze(oo,Ci.attributes,Ci.inputs,Ci.outputs,nr,[On],[],Bt,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,Ar)}return t&&(this.inI18nBlock=!1),On}visitAttribute(e){return new Fl(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.tokens,e.i18n)}visitExpansion(e){if(!e.i18n)return null;if(!wn(e.i18n))throw new Error(`Invalid type "${e.i18n.constructor}" for "i18n" property of ${e.sourceSpan.toString()}. Expected a "Message"`);const t=e.i18n,r={},l={};return Object.keys(t.placeholders).forEach(u=>{const M=t.placeholders[u];if(u.startsWith("VAR_")){const F=u.trim(),_e=this.bindingParser.parseInterpolationExpression(M.text,M.sourceSpan);r[F]=new Ia(_e,M.sourceSpan)}else l[u]=this._visitTextWithInterpolation(M.text,M.sourceSpan,null)}),new cr(r,l,e.sourceSpan,t)}visitExpansionCase(e){return null}visitComment(e){return this.options.collectCommentNodes&&this.commentNodes.push(new oa(e.value||"",e.sourceSpan)),null}extractAttributes(e,t,r){const l=[],u=[];return t.forEach(M=>{const F=r[M.name];if(M.isLiteral)u.push(new Fl(M.name,M.expression.source||"",M.sourceSpan,M.keySpan,M.valueSpan,F));else{const _e=this.bindingParser.createBoundElementProperty(e,M,!0,!1);l.push(Kl.fromBoundElementProperty(_e,F))}}),{bound:l,literal:u}}parseAttribute(e,t,r,l,u,M,F){var _e;const Le=D0(t.name),Ge=t.value,_t=t.sourceSpan,Bt=t.valueSpan?t.valueSpan.start.offset:_t.start.offset;function on(Ci,Ar,oo){const el=t.name.length-Le.length,Hl=Ci.start.moveBy(Ar.length+el),Ic=Hl.moveBy(oo.length);return new ta(Hl,Ic,Hl,oo)}const Kt=Le.match(N1);if(Kt){if(null!=Kt[1]){const Ci=Kt[7],Ar=on(_t,Kt[1],Ci);this.bindingParser.parsePropertyBinding(Ci,Ge,!1,_t,Bt,t.valueSpan,r,l,Ar)}else if(Kt[2])if(e){const Ci=Kt[7],Ar=on(_t,Kt[2],Ci);this.parseVariable(Ci,Ge,_t,Ar,t.valueSpan,M)}else this.reportError('"let-" is only supported on ng-template elements.',_t);else if(Kt[3]){const Ci=Kt[7],Ar=on(_t,Kt[3],Ci);this.parseReference(Ci,Ge,_t,Ar,t.valueSpan,F)}else if(Kt[4]){const Ci=[],Ar=Kt[7],oo=on(_t,Kt[4],Ar);this.bindingParser.parseEvent(Ar,Ge,!1,_t,t.valueSpan||_t,r,Ci,oo),Bh(Ci,u)}else if(Kt[5]){const Ci=Kt[7],Ar=on(_t,Kt[5],Ci);this.bindingParser.parsePropertyBinding(Ci,Ge,!1,_t,Bt,t.valueSpan,r,l,Ar),this.parseAssignmentEvent(Ci,Ge,_t,t.valueSpan,r,u,Ar)}else if(Kt[6]){const Ci=on(_t,"",Le);this.bindingParser.parseLiteralAttr(Le,Ge,_t,Bt,t.valueSpan,r,l,Ci)}return!0}let On=null;if(Le.startsWith(Lo_BANANA_BOX.start)?On=Lo_BANANA_BOX:Le.startsWith(Lo_PROPERTY.start)?On=Lo_PROPERTY:Le.startsWith(Lo_EVENT.start)&&(On=Lo_EVENT),null!==On&&Le.endsWith(On.end)&&Le.length>On.start.length+On.end.length){const Ci=Le.substring(On.start.length,Le.length-On.end.length),Ar=on(_t,On.start,Ci);if(On.start===Lo_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(Ci,Ge,!1,_t,Bt,t.valueSpan,r,l,Ar),this.parseAssignmentEvent(Ci,Ge,_t,t.valueSpan,r,u,Ar);else if(On.start===Lo_PROPERTY.start)this.bindingParser.parsePropertyBinding(Ci,Ge,!1,_t,Bt,t.valueSpan,r,l,Ar);else{const oo=[];this.bindingParser.parseEvent(Ci,Ge,!1,_t,t.valueSpan||_t,r,oo,Ar),Bh(oo,u)}return!0}const Kn=on(_t,"",Le);return this.bindingParser.parsePropertyInterpolation(Le,Ge,_t,t.valueSpan,r,l,Kn,null!==(_e=t.valueTokens)&&void 0!==_e?_e:null)}_visitTextWithInterpolation(e,t,r,l){const u=pg(e),M=this.bindingParser.parseInterpolation(u,t,r);return M?new Ia(M,t,l):new jl(u,t)}parseVariable(e,t,r,l,u,M){e.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',r):0===e.length&&this.reportError("Variable does not have a name",r),M.push(new Zn(e,t,r,l,u))}parseReference(e,t,r,l,u,M){e.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',r):0===e.length?this.reportError("Reference does not have a name",r):M.some(F=>F.name===e)&&this.reportError(`Reference "#${e}" is defined more than once`,r),M.push(new Oi(e,t,r,l,u))}parseAssignmentEvent(e,t,r,l,u,M,F){const _e=[];this.bindingParser.parseEvent(`${e}Change`,`${t} =$event`,!0,r,l||r,u,_e,F),Bh(_e,M)}reportError(e,t,r=os.ERROR){this.errors.push(new Vs(t,e,r))}}const xd=new class xg{visitElement(e){const t=Lf(e);if(t.type===Bs.SCRIPT||t.type===Bs.STYLE||t.type===Bs.STYLESHEET)return null;const r=Ko(this,e.children,null);return new Ie(e.name,Ko(this,e.attrs),[],[],r,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}visitComment(e){return null}visitAttribute(e){return new Fl(e.name,e.value,e.sourceSpan,e.keySpan,e.valueSpan,e.i18n)}visitText(e){return new jl(e.value,e.sourceSpan)}visitExpansion(e){return null}visitExpansionCase(e){return null}};function D0(d){return/^data-/i.test(d)?d.substring(5):d}function Bh(d,e){e.push(...d.map(t=>jt.fromParsedEvent(t)))}var F2;!function(d){d[d.ELEMENT=0]="ELEMENT",d[d.TEMPLATE=1]="TEMPLATE"}(F2||(F2={}));class Bc{constructor(e,t,r=0,l=null,u,M){this.index=e,this.ref=t,this.level=r,this.templateIndex=l,this.meta=u,this.registry=M,this.bindings=new Set,this.placeholders=new Map,this.isEmitted=!1,this._unresolvedCtxCount=0,this._registry=M||function A0(){return{getUniqueId:sl(),icus:new Map}}(),this.id=this._registry.getUniqueId()}appendTag(e,t,r,l){if(t.isVoid&&l)return;const u=t.isVoid||!l?t.startName:t.closeName,M={type:e,index:r,ctx:this.id,isVoid:t.isVoid,closed:l};ga(this.placeholders,u,M)}get icus(){return this._registry.icus}get isRoot(){return 0===this.level}get isResolved(){return 0===this._unresolvedCtxCount}getSerializedPlaceholders(){const e=new Map;return this.placeholders.forEach((t,r)=>e.set(r,t.map(e1))),e}appendBinding(e){this.bindings.add(e)}appendIcu(e,t){ga(this._registry.icus,e,t)}appendBoundText(e){h1(e,this.bindings.size,this.id).forEach((r,l)=>ga(this.placeholders,l,...r))}appendTemplate(e,t){this.appendTag(F2.TEMPLATE,e,t,!1),this.appendTag(F2.TEMPLATE,e,t,!0),this._unresolvedCtxCount++}appendElement(e,t,r){this.appendTag(F2.ELEMENT,e,t,r)}appendProjection(e,t){this.appendTag(F2.ELEMENT,e,t,!1),this.appendTag(F2.ELEMENT,e,t,!0)}forkChildContext(e,t,r){return new Bc(e,this.ref,this.level+1,t,r,this._registry)}reconcileChildContext(e){["start","close"].forEach(r=>{const l=e.meta[`${r}Name`],M=(this.placeholders.get(l)||[]).find(ac(this.id,e.templateIndex));M&&(M.ctx=e.id)}),e.placeholders.forEach((r,l)=>{const u=this.placeholders.get(l);if(!u)return void this.placeholders.set(l,r);const M=u.findIndex(ac(e.id,e.templateIndex));if(M>=0){const F=l.startsWith("CLOSE");if(l.endsWith("NG-TEMPLATE"))u.splice(M+(F?0:1),0,...r);else{r[F?r.length-1:0].tmpl=u[M],u.splice(M,1,...r)}}else u.push(...r);this.placeholders.set(l,u)}),this._unresolvedCtxCount--}}function m3(d,e,t,r){return po(`${r?"/":""}${d}${e}`,t)}function If(d,{index:e,ctx:t,isVoid:r},l){return r?m3(d,e,t)+m3(d,e,t,!0):m3(d,e,t,l)}function ac(d,e){return t=>"object"==typeof t&&t.type===F2.TEMPLATE&&t.index===e&&t.ctx===d}function e1(d){const e=(l,u)=>If("#",l,u),t=(l,u)=>If("*",l,u);switch(d.type){case F2.ELEMENT:return d.closed?e(d,!0)+(d.tmpl?t(d.tmpl,!0):""):d.tmpl?t(d.tmpl)+e(d)+(d.isVoid?t(d.tmpl,!0):""):e(d);case F2.TEMPLATE:return t(d,d.closed);default:return d}}const Ml=new class b4{visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){const t=Object.keys(e.cases).map(l=>`${l} {${e.cases[l].visit(this)}}`);return`{${e.expressionPlaceholder}, ${e.type}, ${t.join(" ")}}`}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}formatPh(e){return`{${xc(e,!1)}}`}};function O0(d){return d.visit(Ml)}const P0={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class H3{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(e,t,r){const l=this._hashTag(e,t,r);if(this._signatureToName[l])return this._signatureToName[l];const u=e.toUpperCase(),M=P0[u]||`TAG_${u}`,F=this._generateUniqueName(r?M:`START_${M}`);return this._signatureToName[l]=F,F}getCloseTagPlaceholderName(e){const t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];const r=e.toUpperCase(),l=P0[r]||`TAG_${r}`,u=this._generateUniqueName(`CLOSE_${l}`);return this._signatureToName[t]=u,u}getPlaceholderName(e,t){const r=e.toUpperCase(),l=`PH: ${r}=${t}`;if(this._signatureToName[l])return this._signatureToName[l];const u=this._generateUniqueName(r);return this._signatureToName[l]=u,u}getUniquePlaceholder(e){return this._generateUniqueName(e.toUpperCase())}_hashTag(e,t,r){return`<${e}`+Object.keys(t).sort().map(F=>` ${F}=${t[F]}`).join("")+(r?"/>":`></${e}>`)}_hashClosingTag(e){return this._hashTag(`/${e}`,{},!1)}_generateUniqueName(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;const r=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=r+1,`${e}_${r}`}}const v1=new fr(new Vd);function z0(d){const e=new Uu(v1,d);return(t,r,l,u,M)=>e.toI18nMessage(t,r,l,u,M)}function v3(d,e){return e}class Uu{constructor(e,t){this._expressionParser=e,this._interpolationConfig=t}toI18nMessage(e,t="",r="",l="",u){const M={isIcu:1==e.length&&e[0]instanceof ma,icuDepth:0,placeholderRegistry:new H3,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:u||v3},F=Ko(this,e,M);return new Wi(F,M.placeholderToContent,M.placeholderToMessage,t,r,l)}visitElement(e,t){var r;const l=Ko(this,e.children,t),u={};e.attrs.forEach(Ge=>{u[Ge.name]=Ge.value});const M=w(e.name).isVoid,F=t.placeholderRegistry.getStartTagPlaceholderName(e.name,u,M);t.placeholderToContent[F]={text:e.startSourceSpan.toString(),sourceSpan:e.startSourceSpan};let _e="";M||(_e=t.placeholderRegistry.getCloseTagPlaceholderName(e.name),t.placeholderToContent[_e]={text:`</${e.name}>`,sourceSpan:null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan});const Le=new Ao(e.name,u,F,_e,l,M,e.sourceSpan,e.startSourceSpan,e.endSourceSpan);return t.visitNodeFn(e,Le)}visitAttribute(e,t){const r=void 0===e.valueTokens||1===e.valueTokens.length?new Br(e.value,e.valueSpan||e.sourceSpan):this._visitTextWithInterpolation(e.valueTokens,e.valueSpan||e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,r)}visitText(e,t){const r=1===e.tokens.length?new Br(e.value,e.sourceSpan):this._visitTextWithInterpolation(e.tokens,e.sourceSpan,t,e.i18n);return t.visitNodeFn(e,r)}visitComment(e,t){return null}visitExpansion(e,t){t.icuDepth++;const r={},l=new eo(e.switchValue,e.type,r,e.sourceSpan);if(e.cases.forEach(F=>{r[F.value]=new fo(F.expression.map(_e=>_e.visit(this,t)),F.expSourceSpan)}),t.icuDepth--,t.isIcu||t.icuDepth>0){const F=t.placeholderRegistry.getUniquePlaceholder(`VAR_${e.type}`);return l.expressionPlaceholder=F,t.placeholderToContent[F]={text:e.switchValue,sourceSpan:e.switchValueSourceSpan},t.visitNodeFn(e,l)}const u=t.placeholderRegistry.getPlaceholderName("ICU",e.sourceSpan.toString());t.placeholderToMessage[u]=this.toI18nMessage([e],"","","",void 0);const M=new qs(l,u,e.sourceSpan);return t.visitNodeFn(e,M)}visitExpansionCase(e,t){throw new Error("Unreachable code")}_visitTextWithInterpolation(e,t,r,l){const u=[];let M=!1;for(const F of e)switch(F.type){case 8:case 17:M=!0;const _e=F.parts[1],Le=Yu(_e)||"INTERPOLATION",Ge=r.placeholderRegistry.getPlaceholderName(Le,_e);r.placeholderToContent[Ge]={text:F.parts.join(""),sourceSpan:F.sourceSpan},u.push(new la(_e,Ge,F.sourceSpan));break;default:if(F.parts[0].length>0){const _t=u[u.length-1];_t instanceof Br?(_t.value+=F.parts[0],_t.sourceSpan=new ta(_t.sourceSpan.start,F.sourceSpan.end,_t.sourceSpan.fullStart,_t.sourceSpan.details)):u.push(new Br(F.parts[0],F.sourceSpan))}}return M?(function B3(d,e){if(e instanceof Wi&&(function Zp(d){const e=d.nodes;if(1!==e.length||!(e[0]instanceof fo))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(e),e=e.nodes[0]),e instanceof fo){!function bu(d,e){if(d.length!==e.length)throw new Error("The number of i18n message children changed between first and second pass.");if(d.some((t,r)=>e[r].constructor!==t.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(e.children,d);for(let t=0;t<d.length;t++)d[t].sourceSpan=e.children[t].sourceSpan}}(u,l),new fo(u,t)):u[0]}}const Fh=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;function Yu(d){return d.split(Fh)[2]}class Gd extends Vs{constructor(e,t){super(e,t)}}const y4=(d,e)=>(d instanceof $o&&(e instanceof qs&&d.i18n instanceof Wi&&(e.previousMessage=d.i18n),d.i18n=e),e);class Xp{constructor(e=Ua,t=!1,r=!1){this.interpolationConfig=e,this.keepI18nAttrs=t,this.enableI18nLegacyMessageIdFormat=r,this.hasI18nMeta=!1,this._errors=[],this._createI18nMessage=z0(this.interpolationConfig)}_generateI18nMessage(e,t="",r){const{meaning:l,description:u,customId:M}=this._parseMetadata(t),F=this._createI18nMessage(e,l,u,M,r);return this._setMessageId(F,t),this._setLegacyIds(F,t),F}visitAllWithErrors(e){const t=e.map(r=>r.visit(this,null));return new X4(t,this._errors)}visitElement(e){let t;if(function tr(d){return d.attrs.some(e=>Zt(e.name))}(e)){this.hasI18nMeta=!0;const r=[],l={};for(const u of e.attrs)if(u.name===K){const M=e.i18n||u.value;t=this._generateI18nMessage(e.children,M,y4),0===t.nodes.length&&(t=void 0),e.i18n=t}else if(u.name.startsWith(he)){const M=u.name.slice(he.length);$p(e.name,M)?this._reportError(u,`Translating attribute '${M}' is disallowed for security reasons.`):l[M]=u.value}else r.push(u);if(Object.keys(l).length)for(const u of r){const M=l[u.name];void 0!==M&&u.value&&(u.i18n=this._generateI18nMessage([u],u.i18n||M))}this.keepI18nAttrs||(e.attrs=r)}return Ko(this,e.children,t),e}visitExpansion(e,t){let r;const l=e.i18n;if(this.hasI18nMeta=!0,l instanceof qs){const u=l.name;r=this._generateI18nMessage([e],l);Wr(r).name=u,null!==t&&(t.placeholderToMessage[u]=r)}else r=this._generateI18nMessage([e],t||l);return e.i18n=r,e}visitText(e){return e}visitAttribute(e){return e}visitComment(e){return e}visitExpansionCase(e){return e}_parseMetadata(e){return"string"==typeof e?function sh(d=""){let e,t,r;if(d=d.trim()){const l=d.indexOf("@@"),u=d.indexOf("|");let M;[M,e]=l>-1?[d.slice(0,l),d.slice(l+2)]:[d,""],[t,r]=u>-1?[M.slice(0,u),M.slice(u+1)]:["",M]}return{customId:e,meaning:t,description:r}}(e):e instanceof Wi?e:{}}_setMessageId(e,t){e.id||(e.id=t instanceof Wi&&t.id||Je(e))}_setLegacyIds(e,t){if(this.enableI18nLegacyMessageIdFormat)e.legacyIds=[yt(e),ht(e)];else if("string"!=typeof t){const r=t instanceof Wi?t:t instanceof qs?t.previousMessage:void 0;e.legacyIds=r?r.legacyIds:[]}}_reportError(e,t){this._errors.push(new Gd(e.sourceSpan,t))}}function Js(d,e,t,r){const l=function N0(d){return d.nodes.map(e=>e.visit(_s,null)).join("")}(e),u=[In(l)];Object.keys(r).length&&u.push(hp(r,!0));const M=t.set(Pt("goog.getMsg").callFn(u)).toConstDecl();M.addLeadingComment(function Jp(d){const e=[];return d.description?e.push({tagName:"desc",text:d.description}):e.push({tagName:"suppress",text:"{msgDescriptions}"}),d.meaning&&e.push({tagName:"meaning",text:d.meaning}),Wt(e)}(e));return[M,new me(d.set(t))]}const _s=new class _2{formatPh(e){return`{$${xc(e)}}`}visitText(e){return e.value}visitContainer(e){return e.children.map(t=>t.visit(this)).join("")}visitIcu(e){return O0(e)}visitTagPlaceholder(e){return e.isVoid?this.formatPh(e.startName):`${this.formatPh(e.startName)}${e.children.map(t=>t.visit(this)).join("")}${this.formatPh(e.closeName)}`}visitPlaceholder(e){return this.formatPh(e.name)}visitIcuPlaceholder(e,t){return this.formatPh(e.name)}};function x4(d,e,t){const{messageParts:r,placeHolders:l}=function Qp(d){const e=[],t=new Ma(d.placeholderToMessage,e);return d.nodes.forEach(r=>r.visit(t)),function _3(d){const e=[],t=[];d[0]instanceof li&&e.push(qd(d[0].sourceSpan.start));for(let r=0;r<d.length;r++){const l=d[r];l instanceof cs?e.push(l):(t.push(l),d[r-1]instanceof li&&e.push(qd(d[r-1].sourceSpan.end)))}return d[d.length-1]instanceof li&&e.push(qd(d[d.length-1].sourceSpan.end)),{messageParts:e,placeHolders:t}}(e)}(e),u=function Uh(d){const e=d.nodes[0],t=d.nodes[d.nodes.length-1];return new ta(e.sourceSpan.fullStart,t.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details)}(e),M=l.map(Le=>t[Le.text]),F=Pr(e,r,l,M,u),_e=d.set(F);return[new me(_e)]}class Ma{constructor(e,t){this.placeholderToMessage=e,this.pieces=t}visitText(e){if(this.pieces[this.pieces.length-1]instanceof cs)this.pieces[this.pieces.length-1].text+=e.value;else{const t=new ta(e.sourceSpan.fullStart,e.sourceSpan.end,e.sourceSpan.fullStart,e.sourceSpan.details);this.pieces.push(new cs(e.value,t))}}visitContainer(e){e.children.forEach(t=>t.visit(this))}visitIcu(e){this.pieces.push(new cs(O0(e),e.sourceSpan))}visitTagPlaceholder(e){var t,r;this.pieces.push(this.createPlaceholderPiece(e.startName,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan)),e.isVoid||(e.children.forEach(l=>l.visit(this)),this.pieces.push(this.createPlaceholderPiece(e.closeName,null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan)))}visitPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan))}visitIcuPlaceholder(e){this.pieces.push(this.createPlaceholderPiece(e.name,e.sourceSpan,this.placeholderToMessage[e.name]))}createPlaceholderPiece(e,t,r){return new li(xc(e,!1),t,r)}}function qd(d){return new cs("",new ta(d,d))}const H0=new Set(["$event"]),b3=new Map([["window",oe.resolveWindow],["document",oe.resolveDocument],["body",oe.resolveBody]]),y3=[" ","\n","\r","\t"];function $d(d,e){return Ri(Pt(f1).bitwiseAnd(In(d),null,!1),e)}function b2(d,e=null,t=null){const{type:r,name:l,target:u,phase:M,handler:F}=d;if(u&&!b3.has(u))throw new Error(`Unexpected global target '${u}' defined for '${l}' event.\n        Supported list of global targets: ${Array.from(b3.keys())}.`);const Le=new Set,Ge=null===t||0===t.bindingLevel?Pt(Ds):t.getOrCreateSharedContextVar(0),_t=dd(t,Ge,F,"b",d.handlerSpan,Le,H0),Bt=[];t&&(Bt.push(...t.variableDeclarations()),Bt.unshift(...t.restoreViewStatement())),Bt.push(..._t);const on=1===r?function bi(d,e){return`@${d}.${e}`}(l,M):l,Kt=e&&Y4(e),On=[];Le.has("$event")&&On.push(new yr("$event",at));const Kn=kr(On,Bt,Ot,null,Kt),nr=[In(on),Kn];return u&&nr.push(In(!1),Et(b3.get(u))),nr}class ah{constructor(e,t,r=0,l,u,M,F,_e,Le,Ge,_t=function F3(){return{prepareStatements:[],constExpressions:[],i18nVarRefsCache:new Map}}()){this.constantPool=e,this.level=r,this.contextName=l,this.i18nContext=u,this.templateIndex=M,this.templateName=F,this._namespace=_e,this.i18nUseExternalIds=Ge,this._constants=_t,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._currentIndex=0,this._tempVariables=[],this._nestedTemplateFns=[],this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this._ngContentReservedSlots=[],this._ngContentSelectorsOffset=0,this._implicitReceiverExpr=null,this.visitReference=i2,this.visitVariable=i2,this.visitTextAttribute=i2,this.visitBoundAttribute=i2,this.visitBoundEvent=i2,this._bindingScope=t.nestedScope(r),this.fileBasedI18nSuffix=Le.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new Af(e,()=>this.allocateDataSlot(),Bt=>this.allocatePureFunctionSlots(Bt),(Bt,on,Kt,On)=>{this._bindingScope.set(this.level,on,On),this.creationInstruction(null,oe.pipe,[In(Kt),In(Bt)])})}buildTemplateFunction(e,t,r=0,l){this._ngContentSelectorsOffset=r,this._namespace!==oe.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach(on=>this.registerContextVariables(on));const u=this.i18nContext||wn(l)&&!Rn(l)&&!(function n0(d){return 1===d.length&&d[0]instanceof Ie}(e)&&e[0].i18n===l),M=C4(e);if(u&&this.i18nStart(null,l,M),Wn(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach(on=>on()),0===this.level&&this._ngContentReservedSlots.length){const on=[];if(this._ngContentReservedSlots.length>1||"*"!==this._ngContentReservedSlots[0]){const Kt=this._ngContentReservedSlots.map(On=>"*"!==On?rt(On):On);on.push(this.constantPool.getConstLiteral(al(Kt),!0))}this.creationInstruction(null,oe.projectionDef,on,!0)}u&&this.i18nEnd(null,M);const F=w1(this._creationCodeFns),_e=w1(this._updateCodeFns),Le=this._bindingScope.viewSnapshotStatements(),Ge=this._bindingScope.variableDeclarations().concat(this._tempVariables),_t=F.length>0?[$d(1,Le.concat(F))]:[],Bt=_e.length>0?[$d(2,Ge.concat(_e))]:[];return kr([new yr(f1,$i),new yr(Ds,null)],[...this._prefixCode,..._t,...Bt],Ot,null,this.templateName)}getLocal(e){return this._bindingScope.get(e)}notifyImplicitReceiverUse(){this._bindingScope.notifyImplicitReceiverUse()}maybeRestoreView(){this._bindingScope.maybeRestoreView()}i18nTranslate(e,t={},r,l){const u=r||this.i18nGenerateMainBlockVar(),F=function wg(d,e,t,r={},l){const u=[kd(e),Ri(Rf(),Js(e,d,t,tu(r,!0)),x4(e,d,tu(r,!1)))];return l&&u.push(new me(e.set(l(e)))),u}(e,u,this.i18nGenerateClosureVar(e.id),t,l);return this._constants.prepareStatements.push(...F),u}registerContextVariables(e){const t=this._bindingScope.freshReferenceName(),r=this.level,l=Pt(e.name+t);this._bindingScope.set(r,e.name,l,1,(u,M)=>{let F;if(u.bindingLevel===r)u.isListenerScope()&&u.hasRestoreViewVariable()?(F=Pt(kt),u.notifyRestoredViewContextUse()):F=Pt(Ds);else{F=u.getSharedContextName(r)||Wu(M)}return[l.set(F.prop(e.value||"$implicit")).toConstDecl()]})}i18nAppendBindings(e){e.length>0&&e.forEach(t=>this.i18n.appendBinding(t))}i18nBindProps(e){const t={};return Object.keys(e).forEach(r=>{const l=e[r];if(l instanceof jl)t[r]=In(l.value);else{const u=l.value.visit(this._valueConverter);if(this.allocateBindingSlots(u),u instanceof jr){const{strings:M,expressions:F}=u,{id:_e,bindings:Le}=this.i18n,Ge=function Aa(d,e=0,t=0){if(!d.length)return"";let r="";const l=d.length-1;for(let u=0;u<l;u++)r+=`${d[u]}${po(e+u,t)}`;return r+=d[l],r}(M,Le.size,_e);this.i18nAppendBindings(F),t[r]=In(Ge)}}}),t}i18nGenerateMainBlockVar(){return Pt(this.constantPool.uniqueName("i18n_"))}i18nGenerateClosureVar(e){let t;const r=this.fileBasedI18nSuffix.toUpperCase();if(this.i18nUseExternalIds){const l=uc("EXTERNAL_"),u=this.constantPool.uniqueName(r);t=`${l}${Y4(e)}$$${u}`}else{const l=uc(r);t=this.constantPool.uniqueName(l)}return Pt(t)}i18nUpdateRef(e){const{icus:t,meta:r,isRoot:l,isResolved:u,isEmitted:M}=e;if(l&&u&&!M&&!Rn(r)){e.isEmitted=!0;const F=e.getSerializedPlaceholders();let _e={},Le=F.size?Xl(F):{};t.size&&t.forEach((Bt,on)=>{if(1===Bt.length)Le[on]=Bt[0];else{const Kt=po(`I18N_EXP_${on}`);Le[on]=In(Kt),_e[on]=Qn(Bt)}});let _t;(Array.from(F.values()).some(Bt=>Bt.length>1)||Object.keys(_e).length)&&(_t=Bt=>{const on=[Bt];return Object.keys(_e).length&&on.push(hp(_e,!0)),to(null,oe.i18nPostprocess,on)}),this.i18nTranslate(r,Le,e.ref,_t)}}i18nStart(e=null,t,r){const l=this.allocateDataSlot();this.i18n=this.i18nContext?this.i18nContext.forkChildContext(l,this.templateIndex,t):new Bc(l,this.i18nGenerateMainBlockVar(),0,this.templateIndex,t);const{id:u,ref:M}=this.i18n,F=[In(l),this.addToConsts(M)];u>0&&F.push(In(u)),this.creationInstruction(e,r?oe.i18n:oe.i18nStart,F)}i18nEnd(e=null,t){if(!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);const{index:r,bindings:l}=this.i18n;if(l.size){for(const u of l)this.updateInstructionWithAdvance(this.getConstCount()-1,e,oe.i18nExp,()=>this.convertPropertyBinding(u));this.updateInstruction(e,oe.i18nApply,[In(r)])}t||this.creationInstruction(e,oe.i18nEnd),this.i18n=null}i18nAttributesInstruction(e,t,r){let l=!1;const u=[];if(t.forEach(M=>{const F=M.i18n,_e=M.value.visit(this._valueConverter);if(this.allocateBindingSlots(_e),_e instanceof jr){const Ge=Xl(h1(F));u.push(In(M.name),this.i18nTranslate(F,Ge)),_e.expressions.forEach(_t=>{l=!0,this.updateInstructionWithAdvance(e,r,oe.i18nExp,()=>this.convertPropertyBinding(_t))})}}),u.length>0){const M=In(this.allocateDataSlot()),F=this.addToConsts(Qn(u));this.creationInstruction(r,oe.i18nAttributes,[M,F]),l&&this.updateInstruction(r,oe.i18nApply,[M])}}getNamespaceInstruction(e){switch(e){case"math":return oe.namespaceMathML;case"svg":return oe.namespaceSVG;default:return oe.namespaceHTML}}addNamespaceInstruction(e,t){this._namespace=e,this.creationInstruction(t.startSourceSpan,e)}interpolatedUpdateInstruction(e,t,r,l,u,M){this.updateInstructionWithAdvance(t,l.sourceSpan,e,()=>[In(r),...this.getUpdateInstructionArguments(u),...M])}visitContent(e){const t=this.allocateDataSlot(),r=this._ngContentSelectorsOffset+this._ngContentReservedSlots.length,l=[In(t)];this._ngContentReservedSlots.push(e.selector);const u=e.attributes.filter(F=>"select"!==F.name.toLowerCase()),M=this.getAttributeExpressions(e.name,u,[],[]);M.length>0?l.push(In(r),Qn(M)):0!==r&&l.push(In(r)),this.creationInstruction(e.sourceSpan,oe.projection,l),this.i18n&&this.i18n.appendProjection(e.i18n,t)}visitElement(e){var t,r;const l=this.allocateDataSlot(),u=new B2(null);let M=!1;const F=wn(e.i18n)&&!Rn(e.i18n),_e=[],[Le,Ge]=m(e.name),_t=s(e.name);for(const Ys of e.attributes){const{name:Td,value:tl}=Ys;"ngNonBindable"===Td?M=!0:"style"===Td?u.registerStyleAttr(tl):"class"===Td?u.registerClassAttr(tl):_e.push(Ys)}const Bt=[In(l)];_t||Bt.push(In(Ge));const on=[],Kt=[];e.inputs.forEach(Ys=>{u.registerBoundInput(Ys)||(0===Ys.type&&Ys.i18n?Kt.push(Ys):on.push(Ys))});const On=this.getAttributeExpressions(e.name,_e,on,e.outputs,u,[],Kt);Bt.push(this.addAttrsToConsts(On));const Kn=this.prepareRefsArray(e.references);Bt.push(this.addToConsts(Kn));const nr=this._namespace,Ci=this.getNamespaceInstruction(Le);Ci!==nr&&this.addNamespaceInstruction(Ci,e),this.i18n&&this.i18n.appendElement(e.i18n,l);const Ar=!F&&this.i18n?!C4(e.children):e.children.length>0,oo=!u.hasBindingsWithPipes&&0===e.outputs.length&&0===Kt.length&&!Ar,el=!oo&&C4(e.children);if(oo)this.creationInstruction(e.sourceSpan,_t?oe.elementContainer:oe.element,n4(Bt));else{if(this.creationInstruction(e.startSourceSpan,_t?oe.elementContainerStart:oe.elementStart,n4(Bt)),M&&this.creationInstruction(e.startSourceSpan,oe.disableBindings),Kt.length>0&&this.i18nAttributesInstruction(l,Kt,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),e.outputs.length>0)for(const Ys of e.outputs)this.creationInstruction(Ys.sourceSpan,oe.listener,this.prepareListenerParameter(e.name,Ys,l));F&&this.i18nStart(e.startSourceSpan,e.i18n,el)}const Hl=u.buildUpdateLevelInstructions(this._valueConverter),Ic=Hl.length-1;for(let Ys=0;Ys<=Ic;Ys++){const Td=Hl[Ys];this._bindingSlots+=this.processStylingUpdateInstruction(l,Td)}const eu=In(void 0),cc=[],$2=[];on.forEach(Ys=>{const Td=Ys.type;if(4===Td){const tl=Ys.value.visit(this._valueConverter),U4=!(tl instanceof Ca)||!!tl.value;this.allocateBindingSlots(tl),cc.push({span:Ys.sourceSpan,paramsOrFn:vp(()=>U4?this.convertPropertyBinding(tl):eu,Bl(Ys.name))})}else{if(Ys.i18n)return;const tl=Ys.value.visit(this._valueConverter);if(void 0!==tl){const U4=[],[T6,Zr]=m(Ys.name),Eo=1===Td;let ls=gp(Ys.securityContext,Eo);if(ls||function F0(d){return"iframe"===d.toLowerCase()}(e.name)&&l4(Ys.name)&&(ls=Et(oe.validateIframeAttribute)),ls&&U4.push(ls),T6){const ka=In(T6);ls?U4.push(ka):U4.push(In(null),ka)}if(this.allocateBindingSlots(tl),0===Td)tl instanceof jr?this.interpolatedUpdateInstruction(Pf(tl),l,Zr,Ys,tl,U4):cc.push({span:Ys.sourceSpan,paramsOrFn:vp(()=>this.convertPropertyBinding(tl),Zr,U4)});else if(1===Td)if(tl instanceof jr&&Va(tl)>1)this.interpolatedUpdateInstruction(function t0(d){switch(Va(d)){case 3:return oe.attributeInterpolate1;case 5:return oe.attributeInterpolate2;case 7:return oe.attributeInterpolate3;case 9:return oe.attributeInterpolate4;case 11:return oe.attributeInterpolate5;case 13:return oe.attributeInterpolate6;case 15:return oe.attributeInterpolate7;case 17:return oe.attributeInterpolate8;default:return oe.attributeInterpolateV}}(tl),l,Zr,Ys,tl,U4);else{const ka=tl instanceof jr?tl.expressions[0]:tl;$2.push({span:Ys.sourceSpan,paramsOrFn:vp(()=>this.convertPropertyBinding(ka),Zr,U4)})}else this.updateInstructionWithAdvance(l,Ys.sourceSpan,oe.classProp,()=>[In(l),In(Zr),this.convertPropertyBinding(tl),...U4])}}});for(const Ys of cc)this.updateInstructionWithAdvance(l,Ys.span,oe.property,Ys.paramsOrFn);for(const Ys of $2)this.updateInstructionWithAdvance(l,Ys.span,oe.attribute,Ys.paramsOrFn);if(Wn(this,e.children),!F&&this.i18n&&this.i18n.appendElement(e.i18n,l,!0),!oo){const Ys=null!==(r=e.endSourceSpan)&&void 0!==r?r:e.sourceSpan;F&&this.i18nEnd(Ys,el),M&&this.creationInstruction(Ys,oe.enableBindings),this.creationInstruction(Ys,_t?oe.elementContainerEnd:oe.elementEnd)}}visitTemplate(e){var t;const r="ng-template",l=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(e.i18n,l);const u=e.tagName?m(e.tagName)[1]:e.tagName,M=`${this.contextName}${e.tagName?"_"+Y4(e.tagName):""}_${l}`,F=`${M}_Template`,_e=[In(l),Pt(F),In(u)],Le=this.getAttributeExpressions(r,e.attributes,e.inputs,e.outputs,void 0,e.templateAttrs);if(_e.push(this.addAttrsToConsts(Le)),e.references&&e.references.length){const _t=this.prepareRefsArray(e.references);_e.push(this.addToConsts(_t)),_e.push(Et(oe.templateRefExtractor))}const Ge=new ah(this.constantPool,this._bindingScope,this.level+1,M,this.i18n,l,F,this._namespace,this.fileBasedI18nSuffix,this.i18nUseExternalIds,this._constants);if(this._nestedTemplateFns.push(()=>{const _t=Ge.buildTemplateFunction(e.children,e.variables,this._ngContentReservedSlots.length+this._ngContentSelectorsOffset,e.i18n);this.constantPool.statements.push(_t.toDeclStmt(F)),Ge._ngContentReservedSlots.length&&this._ngContentReservedSlots.push(...Ge._ngContentReservedSlots)}),this.creationInstruction(e.sourceSpan,oe.templateCreate,()=>(_e.splice(2,0,In(Ge.getConstCount()),In(Ge.getVarCount())),n4(_e))),this.templatePropertyBindings(l,e.templateAttrs),u===r){const[_t,Bt]=function Xn(d,e){const t=[],r=[];for(const l of d)(e(l)?t:r).push(l);return[t,r]}(e.inputs,Si);_t.length>0&&this.i18nAttributesInstruction(l,_t,null!==(t=e.startSourceSpan)&&void 0!==t?t:e.sourceSpan),Bt.length>0&&this.templatePropertyBindings(l,Bt);for(const on of e.outputs)this.creationInstruction(on.sourceSpan,oe.listener,this.prepareListenerParameter("ng_template",on,l))}}visitBoundText(e){if(this.i18n){const l=e.value.visit(this._valueConverter);return this.allocateBindingSlots(l),void(l instanceof jr&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(l.expressions)))}const t=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,oe.text,[In(t)]);const r=e.value.visit(this._valueConverter);this.allocateBindingSlots(r),r instanceof jr?this.updateInstructionWithAdvance(t,e.sourceSpan,function B0(d){switch(Va(d)){case 1:return oe.textInterpolate;case 3:return oe.textInterpolate1;case 5:return oe.textInterpolate2;case 7:return oe.textInterpolate3;case 9:return oe.textInterpolate4;case 11:return oe.textInterpolate5;case 13:return oe.textInterpolate6;case 15:return oe.textInterpolate7;case 17:return oe.textInterpolate8;default:return oe.textInterpolateV}}(r),()=>this.getUpdateInstructionArguments(r)):vn("Text nodes should be interpolated and never bound directly.")}visitText(e){this.i18n||this.creationInstruction(e.sourceSpan,oe.text,[In(this.allocateDataSlot()),In(e.value)])}visitIcu(e){let t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));const r=this.i18n,l=this.i18nBindProps(e.vars),u=this.i18nBindProps(e.placeholders),M=e.i18n,F=_e=>{const Ge=tu(Object.assign(Object.assign({},l),u),!1);return to(null,oe.i18nPostprocess,[_e,hp(Ge,!0)])};if(Rn(r.meta))this.i18nTranslate(M,{},r.ref,F);else{const _e=this.i18nTranslate(M,{},void 0,F);r.appendIcu(Wr(M).name,_e)}return t&&this.i18nEnd(null,!0),null}allocateDataSlot(){return this._dataIndex++}getConstCount(){return this._dataIndex}getVarCount(){return this._pureFunctionSlots}getConsts(){return this._constants}getNgContentSelectors(){return this._ngContentReservedSlots.length?this.constantPool.getConstLiteral(al(this._ngContentReservedSlots),!0):null}bindingContext(){return""+this._bindingContext++}templatePropertyBindings(e,t){const r=[];for(const l of t){if(!(l instanceof Kl))continue;const u=l.value.visit(this._valueConverter);if(void 0!==u)if(this.allocateBindingSlots(u),u instanceof jr){const M=[];this.interpolatedUpdateInstruction(Pf(u),e,l.name,l,u,M)}else r.push({span:l.sourceSpan,paramsOrFn:vp(()=>this.convertPropertyBinding(u),l.name)})}for(const l of r)this.updateInstructionWithAdvance(e,l.span,oe.property,l.paramsOrFn)}instructionFn(e,t,r,l,u=!1){e[u?"unshift":"push"]({span:t,reference:r,paramsOrFn:l})}processStylingUpdateInstruction(e,t){let r=0;if(t)for(const l of t.calls)r+=l.allocateBindingSlots,this.updateInstructionWithAdvance(e,l.sourceSpan,t.reference,()=>l.params(u=>l.supportsInterpolation&&u instanceof jr?this.getUpdateInstructionArguments(u):this.convertPropertyBinding(u)));return r}creationInstruction(e,t,r,l){this.instructionFn(this._creationCodeFns,e,t,r||[],l)}updateInstructionWithAdvance(e,t,r,l){this.addAdvanceInstructionIfNecessary(e,t),this.updateInstruction(t,r,l)}updateInstruction(e,t,r){this.instructionFn(this._updateCodeFns,e,t,r||[])}addAdvanceInstructionIfNecessary(e,t){if(e!==this._currentIndex){const r=e-this._currentIndex;if(r<1)throw new Error("advance instruction can only go forwards");this.instructionFn(this._updateCodeFns,t,oe.advance,[In(r)]),this._currentIndex=e}}allocatePureFunctionSlots(e){const t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t}allocateBindingSlots(e){this._bindingSlots+=e instanceof jr?e.expressions.length:1}getImplicitReceiverExpr(){return this._implicitReceiverExpr?this._implicitReceiverExpr:this._implicitReceiverExpr=0===this.level?Pt(Ds):this._bindingScope.getOrCreateSharedContextVar(0)}convertPropertyBinding(e){const t=s4(this,this.getImplicitReceiverExpr(),e,this.bindingContext()),r=t.currValExpr;return this._tempVariables.push(...t.stmts),r}getUpdateInstructionArguments(e){const{args:t,stmts:r}=function O3(d,e,t,r){const l=new K1(d,e,r,!0),u=l.visitInterpolation(t,No.Expression);return l.usesImplicitReceiver&&d.notifyImplicitReceiverUse(),{stmts:Kc(l,r),args:u.args}}(this,this.getImplicitReceiverExpr(),e,this.bindingContext());return this._tempVariables.push(...r),t}getAttributeExpressions(e,t,r,l,u,M=[],F=[]){const _e=new Set,Le=[];let Ge;for(const Bt of t)if("ngProjectAs"===Bt.name&&(Ge=Bt),Bt.i18n){const{i18nVarRefsCache:on}=this._constants;let Kt;on.has(Bt.i18n)?Kt=on.get(Bt.i18n):(Kt=this.i18nTranslate(Bt.i18n),on.set(Bt.i18n,Kt)),Le.push(In(Bt.name),Kt)}else Le.push(...Yh(Bt.name),mp(e,Bt));function _t(Bt,on){"string"==typeof Bt?_e.has(Bt)||(Le.push(...Yh(Bt)),void 0!==on&&Le.push(on),_e.add(Bt)):Le.push(In(Bt))}if(Ge&&Le.push(...function ch(d){const e=rt(d.value)[0];return[In(5),al(e)]}(Ge)),u&&u.populateInitialStylingAttrs(Le),r.length||l.length){const Bt=Le.length;for(let on=0;on<r.length;on++){const Kt=r[on];4!==Kt.type&&1!==Kt.type&&_t(Kt.name)}for(let on=0;on<l.length;on++){const Kt=l[on];1!==Kt.type&&_t(Kt.name)}Le.length!==Bt&&Le.splice(Bt,0,In(3))}return M.length&&(Le.push(In(4)),M.forEach(Bt=>_t(Bt.name))),F.length&&(Le.push(In(6)),F.forEach(Bt=>_t(Bt.name))),Le}addToConsts(e){if(Ir(e))return js;const t=this._constants.constExpressions;for(let r=0;r<t.length;r++)if(t[r].isEquivalent(e))return In(r);return In(t.push(e)-1)}addAttrsToConsts(e){return e.length>0?this.addToConsts(Qn(e)):js}prepareRefsArray(e){if(!e||0===e.length)return js;return al(qh(e.map(r=>{const l=this.allocateDataSlot(),u=this._bindingScope.freshReferenceName(),M=this.level,F=Pt(u);return this._bindingScope.set(M,r.name,F,0,(_e,Le)=>{const Ge=Le>0?[Wu(Le).toStmt()]:[],_t=F.set(Et(oe.reference).callFn([In(l)]));return Ge.concat(_t.toConstDecl())},!0),[r.name,r.value]})))}prepareListenerParameter(e,t,r){return()=>{const l=t.name,u=1===t.type?La(l,t.phase):Y4(l),M=`${this.templateName}_${e}_${u}_${r}_listener`,F=this._bindingScope.nestedScope(this._bindingScope.bindingLevel,H0);return b2(t,M,F)}}}class Af extends class $1{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const r=this.visitAll(e.expressions);return r!==e.expressions?new jr(e.span,e.sourceSpan,e.strings,r):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const r=e.receiver.visit(this);return r!==e.receiver?new L1(e.span,e.sourceSpan,e.nameSpan,r,e.name):e}visitPropertyWrite(e,t){const r=e.receiver.visit(this),l=e.value.visit(this);return r!==e.receiver||l!==e.value?new Al(e.span,e.sourceSpan,e.nameSpan,r,e.name,l):e}visitSafePropertyRead(e,t){const r=e.receiver.visit(this);return r!==e.receiver?new ic(e.span,e.sourceSpan,e.nameSpan,r,e.name):e}visitLiteralArray(e,t){const r=this.visitAll(e.expressions);return r!==e.expressions?new Hs(e.span,e.sourceSpan,r):e}visitLiteralMap(e,t){const r=this.visitAll(e.values);return r!==e.values?new hc(e.span,e.sourceSpan,e.keys,r):e}visitUnary(e,t){const r=e.expr.visit(this);if(r!==e.expr)switch(e.operator){case"+":return r3.createPlus(e.span,e.sourceSpan,r);case"-":return r3.createMinus(e.span,e.sourceSpan,r);default:throw new Error(`Unknown unary operator ${e.operator}`)}return e}visitBinary(e,t){const r=e.left.visit(this),l=e.right.visit(this);return r!==e.left||l!==e.right?new yl(e.span,e.sourceSpan,e.operation,r,l):e}visitPrefixNot(e,t){const r=e.expression.visit(this);return r!==e.expression?new wa(e.span,e.sourceSpan,r):e}visitNonNullAssert(e,t){const r=e.expression.visit(this);return r!==e.expression?new cl(e.span,e.sourceSpan,r):e}visitConditional(e,t){const r=e.condition.visit(this),l=e.trueExp.visit(this),u=e.falseExp.visit(this);return r!==e.condition||l!==e.trueExp||u!==e.falseExp?new l2(e.span,e.sourceSpan,r,l,u):e}visitPipe(e,t){const r=e.exp.visit(this),l=this.visitAll(e.args);return r!==e.exp||l!==e.args?new Ad(e.span,e.sourceSpan,r,e.name,l,e.nameSpan):e}visitKeyedRead(e,t){const r=e.receiver.visit(this),l=e.key.visit(this);return r!==e.receiver||l!==e.key?new Ru(e.span,e.sourceSpan,r,l):e}visitKeyedWrite(e,t){const r=e.receiver.visit(this),l=e.key.visit(this),u=e.value.visit(this);return r!==e.receiver||l!==e.key||u!==e.value?new cu(e.span,e.sourceSpan,r,l,u):e}visitAll(e){const t=[];let r=!1;for(let l=0;l<e.length;++l){const u=e[l],M=u.visit(this);t[l]=M,r=r||M!==u}return r?t:e}visitChain(e,t){const r=this.visitAll(e.expressions);return r!==e.expressions?new k1(e.span,e.sourceSpan,r):e}visitCall(e,t){const r=e.receiver.visit(this),l=this.visitAll(e.args);return r!==e.receiver||l!==e.args?new Nu(e.span,e.sourceSpan,r,l,e.argumentSpan):e}visitSafeCall(e,t){const r=e.receiver.visit(this),l=this.visitAll(e.args);return r!==e.receiver||l!==e.args?new Od(e.span,e.sourceSpan,r,l,e.argumentSpan):e}visitQuote(e,t){return e}visitSafeKeyedRead(e,t){const r=e.receiver.visit(this),l=e.key.visit(this);return r!==e.receiver||l!==e.key?new Ol(e.span,e.sourceSpan,r,l):e}}{constructor(e,t,r,l){super(),this.constantPool=e,this.allocateSlot=t,this.allocatePureFunctionSlots=r,this.definePipe=l,this._pipeBindExprs=[]}visitPipe(e,t){const r=this.allocateSlot(),l=`PIPE:${r}`,u=this.allocatePureFunctionSlots(2+e.args.length),M=new L1(e.span,e.sourceSpan,e.nameSpan,new Id(e.span,e.sourceSpan),l),{identifier:F,isVarLength:_e}=function lh(d){const e=Of[d.length];return{identifier:e||oe.pipeBindV,isVarLength:!e}}(e.args);this.definePipe(e.name,l,r,Et(F));const Le=[e.exp,...e.args],Ge=_e?this.visitAll([new Hs(e.span,e.sourceSpan,Le)]):this.visitAll(Le),_t=new Nu(e.span,e.sourceSpan,M,[new Ca(e.span,e.sourceSpan,r),new Ca(e.span,e.sourceSpan,u),...Ge],null);return this._pipeBindExprs.push(_t),_t}updatePipeSlotOffsets(e){this._pipeBindExprs.forEach(t=>{t.args[1].value+=e})}visitLiteralArray(e,t){return new Z1(e.span,e.sourceSpan,this.visitAll(e.expressions),r=>{const l=Qn(r);return I6(this.constantPool,l,this.allocatePureFunctionSlots)})}visitLiteralMap(e,t){return new Z1(e.span,e.sourceSpan,this.visitAll(e.values),r=>{const l=ui(r.map((u,M)=>({key:e.keys[M].key,value:u,quoted:e.keys[M].quoted})));return I6(this.constantPool,l,this.allocatePureFunctionSlots)})}}const Of=[oe.pipeBind1,oe.pipeBind2,oe.pipeBind3,oe.pipeBind4];const e0=[oe.pureFunction0,oe.pureFunction1,oe.pureFunction2,oe.pureFunction3,oe.pureFunction4,oe.pureFunction5,oe.pureFunction6,oe.pureFunction7,oe.pureFunction8];function Wu(d){return Et(oe.nextContext).callFn(d>1?[In(d)]:[])}function I6(d,e,t){const{literalFactory:r,literalFactoryArguments:l}=d.getLiteralFactory(e),u=t(1+l.length),{identifier:M,isVarLength:F}=function Cg(d){const e=e0[d.length];return{identifier:e||oe.pureFunctionV,isVarLength:!e}}(l),_e=[In(u),r];return F?_e.push(Qn(l)):_e.push(...l),Et(M).callFn(_e)}function Yh(d){const[e,t]=m(d),r=In(t);return e?[In(0),In(e),r]:[r]}const Wh="$$shared_ctx$$";class gc{constructor(e=0,t=null,r){if(this.bindingLevel=e,this.parent=t,this.globals=r,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null,this.usesRestoredViewContext=!1,void 0!==r)for(const l of r)this.set(0,l,Pt(l))}static createRootScope(){return new gc}get(e){let t=this;for(;t;){let r=t.map.get(e);if(null!=r)return t!==this&&(r={retrievalLevel:r.retrievalLevel,lhs:r.lhs,declareLocalCallback:r.declareLocalCallback,declare:!1,priority:r.priority},this.map.set(e,r),this.maybeGenerateSharedContextVar(r),this.maybeRestoreView()),r.declareLocalCallback&&!r.declare&&(r.declare=!0),r.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)}set(e,t,r,l=0,u,M){if(this.map.has(t)){if(M)return this;vn(`The name ${t} is already defined in scope to be ${this.map.get(t)}`)}return this.map.set(t,{retrievalLevel:e,lhs:r,declare:!1,declareLocalCallback:u,priority:l}),this}getLocal(e){return this.get(e)}notifyImplicitReceiverUse(){0!==this.bindingLevel&&(this.map.get(Wh+0).declare=!0)}nestedScope(e,t){const r=new gc(e,this,t);return e>0&&r.generateSharedContextVar(0),r}getOrCreateSharedContextVar(e){const t=Wh+e;return this.map.has(t)||this.generateSharedContextVar(e),this.map.get(t).lhs}getSharedContextName(e){const t=this.map.get(Wh+e);return t&&t.declare?t.lhs:null}maybeGenerateSharedContextVar(e){if(1===e.priority&&e.retrievalLevel<this.bindingLevel){const t=this.map.get(Wh+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}}generateSharedContextVar(e){const t=Pt(Ds+this.freshReferenceName());this.map.set(Wh+e,{retrievalLevel:e,lhs:t,declareLocalCallback:(r,l)=>[t.set(Wu(l)).toConstDecl()],declare:!1,priority:2})}getComponentProperty(e){const t=this.map.get(Wh+0);return t.declare=!0,this.maybeRestoreView(),t.lhs.prop(e)}maybeRestoreView(){this.isListenerScope()&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=Pt(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)}restoreViewStatement(){const e=[];if(this.restoreViewVariable){const t=to(null,oe.restoreView,[this.restoreViewVariable]);e.push(this.usesRestoredViewContext?Pt(kt).set(t).toConstDecl():t.toStmt())}return e}viewSnapshotStatements(){return this.restoreViewVariable?[this.restoreViewVariable.set(to(null,oe.getCurrentView,[])).toConstDecl()]:[]}isListenerScope(){return this.parent&&this.parent.bindingLevel===this.bindingLevel}variableDeclarations(){let e=0;return Array.from(this.map.values()).filter(t=>t.declare).sort((t,r)=>r.retrievalLevel-t.retrievalLevel||r.priority-t.priority).reduce((t,r)=>{const l=this.bindingLevel-r.retrievalLevel,u=r.declareLocalCallback(this,l-e);return e=l,t.concat(u)},[])}freshReferenceName(){let e=this;for(;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++}hasRestoreViewVariable(){return!!this.restoreViewVariable}notifyRestoredViewContextUse(){this.usesRestoredViewContext=!0}}function Pf(d){switch(Va(d)){case 1:return oe.propertyInterpolate;case 3:return oe.propertyInterpolate1;case 5:return oe.propertyInterpolate2;case 7:return oe.propertyInterpolate3;case 9:return oe.propertyInterpolate4;case 11:return oe.propertyInterpolate5;case 13:return oe.propertyInterpolate6;case 15:return oe.propertyInterpolate7;case 17:return oe.propertyInterpolate8;default:return oe.propertyInterpolateV}}function Gh(d,e,t={}){const{interpolationConfig:r,preserveWhitespaces:l,enableI18nLegacyMessageIdFormat:u}=t,M=zf(r),_e=(new d3).parse(d,e,Object.assign(Object.assign({leadingTriviaChars:y3},t),{tokenizeExpansionForms:!0}));if(!t.alwaysAttemptHtmlToR3AstConversion&&_e.errors&&_e.errors.length>0){const Ar={interpolationConfig:r,preserveWhitespaces:l,errors:_e.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(Ar.commentNodes=[]),Ar}let Le=_e.rootNodes;const Ge=new Xp(r,!l,u),_t=Ge.visitAllWithErrors(Le);if(!t.alwaysAttemptHtmlToR3AstConversion&&_t.errors&&_t.errors.length>0){const Ar={interpolationConfig:r,preserveWhitespaces:l,errors:_t.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return t.collectCommentNodes&&(Ar.commentNodes=[]),Ar}Le=_t.rootNodes,l||(Le=Ko(new C0,Le),Ge.hasI18nMeta&&(Le=Ko(new Xp(r,!1),Le)));const{nodes:Bt,errors:on,styleUrls:Kt,styles:On,ngContentSelectors:Kn,commentNodes:nr}=function Wd(d,e,t){const r=new Lc(e,t),M={nodes:Ko(r,d),errors:e.errors.concat(r.errors),styleUrls:r.styleUrls,styles:r.styles,ngContentSelectors:r.ngContentSelectors};return t.collectCommentNodes&&(M.commentNodes=r.commentNodes),M}(Le,M,{collectCommentNodes:!!t.collectCommentNodes});on.push(..._e.errors,..._t.errors);const Ci={interpolationConfig:r,preserveWhitespaces:l,errors:on.length>0?on:null,nodes:Bt,styleUrls:Kt,styles:On,ngContentSelectors:Kn};return t.collectCommentNodes&&(Ci.commentNodes=nr),Ci}const j0=new f3;function zf(d=Ua){return new eh(new fr(new Vd),d,j0,[])}function gp(d,e){switch(d){case pe.HTML:return Et(oe.sanitizeHtml);case pe.SCRIPT:return Et(oe.sanitizeScript);case pe.STYLE:return e?Et(oe.sanitizeStyle):null;case pe.URL:return Et(oe.sanitizeUrl);case pe.RESOURCE_URL:return Et(oe.sanitizeResourceUrl);default:return null}}function mp(d,e){const t=al(e.value);if(!$p(d,e.name))return t;switch(j0.securityContext(d,e.name,!0)){case pe.HTML:return Yi(Et(oe.trustConstantHtml),new Dr([new Os(e.value)],[]),void 0,e.valueSpan);case pe.RESOURCE_URL:return Yi(Et(oe.trustConstantResourceUrl),new Dr([new Os(e.value)],[]),void 0,e.valueSpan);default:return t}}function hm(d){return d instanceof jl||d instanceof Ia||d instanceof cr}function C4(d){return d.every(hm)}function vp(d,e,t){return()=>{const r=d(),l=Array.isArray(r)?r:[r];return t&&l.push(...t),e&&l.unshift(In(e)),l}}const _p="ngI18nClosureMode";function Rf(){return An(Pt(_p)).notIdentical(In("undefined",Fi)).and(Pt(_p))}function qh(d){return d.reduce((e,t)=>{const r=Array.isArray(t)?qh(t):t;return e.concat(r)},[])}const $h=/attr\.([^\]]+)/;function w4(d,e,t){const r=new ll,l=rt(d.selector);return r.set("type",d.internalType),l.length>0&&r.set("selectors",al(l)),d.queries.length>0&&r.set("contentQueries",function P6(d,e,t){const r=[],l=[],u=hs(l,"_t");for(const F of d){r.push(Et(oe.contentQuery).callFn([Pt("dirIndex"),...A6(F,e)]).toStmt());const _e=u(),Le=Et(oe.loadQuery).callFn([]),Ge=Et(oe.queryRefresh).callFn([_e.set(Le)]),_t=Pt(Ds).prop(F.propertyName).set(F.first?_e.prop("first"):_e);l.push(Ge.and(_t).toStmt())}const M=t?`${t}_ContentQueries`:null;return kr([new yr(f1,$i),new yr(Ds,null),new yr("dirIndex",null)],[$d(1,r),$d(2,l)],Ot,null,M)}(d.queries,e,d.name)),d.viewQueries.length&&r.set("viewQuery",function Xh(d,e,t){const r=[],l=[],u=hs(l,n2);d.forEach(F=>{const _e=Et(oe.viewQuery).callFn(A6(F,e));r.push(_e.toStmt());const Le=u(),Ge=Et(oe.loadQuery).callFn([]),_t=Et(oe.queryRefresh).callFn([Le.set(Ge)]),Bt=Pt(Ds).prop(F.propertyName).set(F.first?Le.prop("first"):Le);l.push(_t.and(Bt).toStmt())});const M=t?`${t}_Query`:null;return kr([new yr(f1,$i),new yr(Ds,null)],[$d(1,r),$d(2,l)],Ot,null,M)}(d.viewQueries,e,d.name)),r.set("hostBindings",function Mg(d,e,t,r,l,u,M){const F=Pt(Ds),_e=new B2(F),{styleAttr:Le,classAttr:Ge}=d.specialAttributes;void 0!==Le&&_e.registerStyleAttr(Le),void 0!==Ge&&_e.registerClassAttr(Ge);const _t=[],Bt=[],on=[],Kt=e,On=t.createDirectiveHostEventAsts(d.listeners,Kt);On&&On.length&&_t.push(...function T4(d,e){const t=[],r=[],l=[];for(const u of d){let M=u.name&&Y4(u.name);const F=1===u.type?La(M,u.targetOrPhase):M,_e=e&&M?`${e}_${F}_HostBindingHandler`:null,Le=b2(jt.fromParsedEvent(u),_e);1==u.type?r.push(Le):t.push(Le)}for(const u of r)l.push({reference:oe.syntheticHostListener,paramsOrFn:u,span:null});for(const u of t)l.push({reference:oe.listener,paramsOrFn:u,span:null});return l}(On,u));const Kn=t.createBoundHostProperties(d.properties,Kt),nr=[];let Ar,Ci=0;Kn&&Kn.forEach(cc=>{_e.registerInputBasedOnName(cc.name,cc.expression,Kt)?Ci+=2:(nr.push(cc),Ci++)});const oo=()=>{if(!Ar){Ar=new Af(r,()=>vn("Unexpected node"),$2=>{const Ys=Ci;return Ci+=$2,Ys},()=>vn("Unexpected pipe"))}return Ar},el=[],Hl=[],Ic=[];for(const cc of nr){const $2=cc.expression.visit(oo()),Ys=Hf(F,$2),{bindingName:Td,instruction:tl,isAttribute:U4}=G0(cc),T6=t.calcPossibleSecurityContexts(l,Td,U4).filter(ls=>ls!==pe.NONE);let Zr=null;T6.length&&(Zr=2===T6.length&&T6.indexOf(pe.URL)>-1&&T6.indexOf(pe.RESOURCE_URL)>-1?Et(oe.sanitizeUrlOrResourceUrl):gp(T6[0],U4));const Eo=[In(Td),Ys.currValExpr];Zr?Eo.push(Zr):l4(Td)&&Eo.push(Et(oe.validateIframeAttribute)),on.push(...Ys.stmts),tl===oe.hostProperty?el.push(Eo):tl===oe.attribute?Hl.push(Eo):tl===oe.syntheticHostProperty?Ic.push(Eo):Bt.push({reference:tl,paramsOrFn:Eo,span:null})}for(const cc of el)Bt.push({reference:oe.hostProperty,paramsOrFn:cc,span:null});for(const cc of Hl)Bt.push({reference:oe.attribute,paramsOrFn:cc,span:null});for(const cc of Ic)Bt.push({reference:oe.syntheticHostProperty,paramsOrFn:cc,span:null});const eu=function V0(d){const e=[];for(let t of Object.getOwnPropertyNames(d)){const r=d[t];e.push(In(t),r)}return e}(d.attributes);if(_e.assignHostAttrs(eu,M),_e.hasBindings&&_e.buildUpdateLevelInstructions(oo()).forEach(cc=>{for(const $2 of cc.calls)Ci+=Math.max($2.allocateBindingSlots-2,0),Bt.push({reference:cc.reference,paramsOrFn:dh($2,F,Hf),span:null})}),Ci&&M.set("hostVars",In(Ci)),_t.length>0||Bt.length>0){const cc=u?`${u}_HostBindings`:null,$2=[];return _t.length>0&&$2.push($d(1,w1(_t))),Bt.length>0&&$2.push($d(2,on.concat(w1(Bt)))),kr([new yr(f1,$i),new yr(Ds,null)],$2,Ot,null,cc)}return null}(d.host,d.typeSourceSpan,t,e,d.selector||"",d.name,r)),r.set("inputs",ca(d.inputs,!0)),r.set("outputs",ca(d.outputs)),null!==d.exportAs&&r.set("exportAs",Qn(d.exportAs.map(u=>In(u)))),r}function Nf(d,e){const t=[],r=e.providers,l=e.viewProviders;if(r||l){const u=[r||new Xo([])];l&&u.push(l),t.push(Et(oe.ProvidersFeature).callFn(u))}e.usesInheritance&&t.push(Et(oe.InheritDefinitionFeature)),e.fullInheritance&&t.push(Et(oe.CopyDefinitionFeature)),e.lifecycle.usesOnChanges&&t.push(Et(oe.NgOnChangesFeature)),t.length&&d.set("features",Qn(t))}function Kh(d,e,t){const r=w4(d,e,t);Nf(r,d);const l=d.selector&&R.parse(d.selector),u=l&&l[0];if(u){const nr=u.getAttrs();nr.length&&r.set("attrs",e.getConstLiteral(Qn(nr.map(Ci=>In(null!=Ci?Ci:void 0))),!0))}const M=d.name,F=M?`${M}_Template`:null,_e=d.changeDetection,Le=d.template,Ge=new ah(e,gc.createRootScope(),0,M,null,null,F,oe.namespaceHTML,d.relativeContextFilePath,d.i18nUseExternalIds),_t=Ge.buildTemplateFunction(Le.nodes,[]),Bt=Ge.getNgContentSelectors();Bt&&r.set("ngContentSelectors",Bt),r.set("decls",In(Ge.getConstCount())),r.set("vars",In(Ge.getVarCount()));const{constExpressions:on,prepareStatements:Kt}=Ge.getConsts();if(on.length>0){let nr=Qn(on);Kt.length>0&&(nr=kr([],[...Kt,new Be(nr)])),r.set("consts",nr)}if(r.set("template",_t),d.directives.length>0){const Ci=qu(Qn(d.directives.map(Ar=>Ar.type)),d.declarationListEmitMode);r.set("directives",Ci)}if(d.pipes.size>0){const Ci=qu(Qn(Array.from(d.pipes.values())),d.declarationListEmitMode);r.set("pipes",Ci)}if(null===d.encapsulation&&(d.encapsulation=H.Emulated),d.styles&&d.styles.length){const Ci=(d.encapsulation==H.Emulated?function C3(d,e,t){const r=new Rd;return d.map(l=>r.shimCssText(l,e,t))}(d.styles,"_ngcontent-%COMP%","_nghost-%COMP%"):d.styles).map(Ar=>e.getConstLiteral(In(Ar)));r.set("styles",Qn(Ci))}else d.encapsulation===H.Emulated&&(d.encapsulation=H.None);d.encapsulation!==H.Emulated&&r.set("encapsulation",In(d.encapsulation)),null!==d.animations&&r.set("data",ui([{key:"animation",value:d.animations,quoted:!1}])),null!=_e&&_e!==U.Default&&r.set("changeDetection",In(_e));return{expression:Et(oe.defineComponent).callFn([r.toLiteralMap()],void 0,!0),type:x3(d),statements:[]}}function x3(d){const e=r0(d);return e.push(Y0(d.template.ngContentSelectors)),Ln(Et(oe.ComponentDeclaration,e))}function qu(d,e){switch(e){case 0:return d;case 1:return kr([],[new Be(d)]);case 2:const t=d.prop("map").callFn([Et(oe.resolveForwardRef)]);return kr([],[new Be(t)])}}function A6(d,e){const t=[Z2(d,e),In(O6(d))];return d.read&&t.push(d.read),t}function O6(d){return(d.descendants?1:0)|(d.static?2:0)|(d.emitDistinctChangesOnly?4:0)}function U0(d){return Ln(In(d))}function Zh(d){return Ln(ui(Object.keys(d).map(t=>({key:t,value:In(Array.isArray(d[t])?d[t][0]:d[t]),quoted:!0}))))}function Y0(d){return d.length>0?Ln(Qn(d.map(e=>In(e)))):Mo}function r0(d){const e=null!==d.selector?d.selector.replace(/\n/g,""):null;return[pa(d.type.type,d.typeArgumentCount),null!==e?U0(e):Mo,null!==d.exportAs?Y0(d.exportAs):Mo,Zh(d.inputs),Zh(d.outputs),Y0(d.queries.map(t=>t.propertyName))]}function W0(d){const e=r0(d);return Ln(Et(oe.DirectiveDeclaration,e))}function Hf(d,e){return s4(null,d,e,"b")}function dh(d,e,t){return d.params(r=>t(e,r).currValExpr)}function G0(d){let t,e=d.name;const r=e.match($h);return r?(e=r[1],t=oe.attribute):d.isAnimation?(e=Bl(e),t=oe.syntheticHostProperty):t=oe.hostProperty,{bindingName:e,instruction:t,isAttribute:!!r}}const Tg=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;class Kd{}class Q1{constructor(e=new Vp){this.jitEvaluator=e,this.FactoryTarget=Ls,this.ResourceLoader=Kd,this.elementSchemaRegistry=new f3}compilePipe(e,t,r){const u=tc({name:r.name,type:Fs(r.type),internalType:new Vi(r.type),typeArgumentCount:0,deps:null,pipeName:r.pipeName,pure:r.pure});return this.jitExpression(u.expression,e,t,[])}compilePipeDeclaration(e,t,r){const l=function o0(d){var e;return{name:d.type.name,type:Fs(d.type),internalType:new Vi(d.type),typeArgumentCount:0,pipeName:d.name,deps:null,pure:null===(e=d.pure)||void 0===e||e}}(r),u=tc(l);return this.jitExpression(u.expression,e,t,[])}compileInjectable(e,t,r){var l;const{expression:u,statements:M}=Ju({name:r.name,type:Fs(r.type),internalType:new Vi(r.type),typeArgumentCount:r.typeArgumentCount,providedIn:ph(r.providedIn),useClass:hh(r,w3),useFactory:fh(r,y2),useValue:hh(r,t1),useExisting:hh(r,M3),deps:null===(l=r.deps)||void 0===l?void 0:l.map(Y3)},!0);return this.jitExpression(u,e,t,M)}compileInjectableDeclaration(e,t,r){var l;const{expression:u,statements:M}=Ju({name:r.type.name,type:Fs(r.type),internalType:new Vi(r.type),typeArgumentCount:0,providedIn:ph(r.providedIn),useClass:hh(r,w3),useFactory:fh(r,y2),useValue:hh(r,t1),useExisting:hh(r,M3),deps:null===(l=r.deps)||void 0===l?void 0:l.map(K0)},!0);return this.jitExpression(u,e,t,M)}compileInjector(e,t,r){const u=Ah({name:r.name,type:Fs(r.type),internalType:new Vi(r.type),providers:new Vi(r.providers),imports:r.imports.map(M=>new Vi(M))});return this.jitExpression(u.expression,e,t,[])}compileInjectorDeclaration(e,t,r){const l=function yp(d){return{name:d.type.name,type:Fs(d.type),internalType:new Vi(d.type),providers:void 0!==d.providers?new Vi(d.providers):null,imports:void 0!==d.imports?d.imports.map(e=>new Vi(e)):[]}}(r),u=Ah(l);return this.jitExpression(u.expression,e,t,[])}compileNgModule(e,t,r){const u=zc({type:Fs(r.type),internalType:new Vi(r.type),adjacentType:new Vi(r.type),bootstrap:r.bootstrap.map(Fs),declarations:r.declarations.map(Fs),imports:r.imports.map(Fs),exports:r.exports.map(Fs),emitInline:!0,containsForwardDecls:!1,schemas:r.schemas?r.schemas.map(Fs):null,id:r.id?new Vi(r.id):null});return this.jitExpression(u.expression,e,t,[])}compileNgModuleDeclaration(e,t,r){const l=function i3(d){const e=new ll;return e.set("type",new Vi(d.type)),void 0!==d.bootstrap&&e.set("bootstrap",new Vi(d.bootstrap)),void 0!==d.declarations&&e.set("declarations",new Vi(d.declarations)),void 0!==d.imports&&e.set("imports",new Vi(d.imports)),void 0!==d.exports&&e.set("exports",new Vi(d.exports)),void 0!==d.schemas&&e.set("schemas",new Vi(d.schemas)),void 0!==d.id&&e.set("id",new Vi(d.id)),Et(oe.defineNgModule).callFn([e.toLiteralMap()])}(r);return this.jitExpression(l,e,t,[])}compileDirective(e,t,r){const l=Cd(r);return this.compileDirectiveFromMeta(e,t,l)}compileDirectiveDeclaration(e,t,r){const u=U3(r,this.createParseSourceSpan("Directive",r.type.name,t));return this.compileDirectiveFromMeta(e,t,u)}compileDirectiveFromMeta(e,t,r){const l=new Oe,M=function M4(d,e,t){const r=w4(d,e,t);return Nf(r,d),{expression:Et(oe.defineDirective).callFn([r.toLiteralMap()],void 0,!0),type:W0(d),statements:[]}}(r,l,zf());return this.jitExpression(M.expression,e,t,l.statements)}compileComponent(e,t,r){const{template:l,interpolation:u}=$0(r.template,r.name,t,r.preserveWhitespaces,r.interpolation),M=Object.assign(Object.assign(Object.assign({},r),Cd(r)),{selector:r.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:l,declarationListEmitMode:0,styles:[...r.styles,...l.styles],encapsulation:r.encapsulation,interpolation:u,changeDetection:r.changeDetection,animations:null!=r.animations?new Vi(r.animations):null,viewProviders:null!=r.viewProviders?new Vi(r.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0}),F=`ng:///${r.name}.js`;return this.compileComponentFromMeta(e,F,M)}compileComponentDeclaration(e,t,r){const u=function mc(d,e,t){var r,l,u,M,F,_e;const{template:Le,interpolation:Ge}=$0(d.template,d.type.name,t,null!==(r=d.preserveWhitespaces)&&void 0!==r&&r,d.interpolation);return Object.assign(Object.assign({},U3(d,e)),{template:Le,styles:null!==(l=d.styles)&&void 0!==l?l:[],directives:(null!==(u=d.components)&&void 0!==u?u:[]).concat(null!==(M=d.directives)&&void 0!==M?M:[]).map(S4),pipes:q0(d.pipes),viewProviders:void 0!==d.viewProviders?new Vi(d.viewProviders):null,animations:void 0!==d.animations?new Vi(d.animations):null,changeDetection:null!==(F=d.changeDetection)&&void 0!==F?F:U.Default,encapsulation:null!==(_e=d.encapsulation)&&void 0!==_e?_e:H.Emulated,interpolation:Ge,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0})}(r,this.createParseSourceSpan("Component",r.type.name,t),t);return this.compileComponentFromMeta(e,t,u)}compileComponentFromMeta(e,t,r){const l=new Oe,M=Kh(r,l,zf(r.interpolation));return this.jitExpression(M.expression,e,t,l.statements)}compileFactory(e,t,r){const l=us({name:r.name,type:Fs(r.type),internalType:new Vi(r.type),typeArgumentCount:r.typeArgumentCount,deps:Bf(r.deps),target:r.target});return this.jitExpression(l.expression,e,t,l.statements)}compileFactoryDeclaration(e,t,r){const l=us({name:r.type.name,type:Fs(r.type),internalType:new Vi(r.type),typeArgumentCount:0,deps:Array.isArray(r.deps)?r.deps.map(K0):r.deps,target:r.target});return this.jitExpression(l.expression,e,t,l.statements)}createParseSourceSpan(e,t,r){return function i4(d,e,t){const l=new fs("",`in ${d} ${e} in ${t}`);return new ta(new Wo(l,-1,-1,-1),new Wo(l,-1,-1,-1))}(e,t,r)}jitExpression(e,t,r,l){const u=[...l,new q("$def",e,void 0,Jo.Exported)];return this.jitEvaluator.evaluateStatements(r,u,new n3(t),!0).$def}}const w3=Object.keys({useClass:null})[0],y2=Object.keys({useFactory:null})[0],t1=Object.keys({useValue:null})[0],M3=Object.keys({useExisting:null})[0];function xu(d){return Object.assign(Object.assign({},d),{predicate:x2(d.predicate),read:d.read?new Vi(d.read):null,static:d.static,emitDistinctChangesOnly:d.emitDistinctChangesOnly})}function V3(d){var e,t,r,l;return{propertyName:d.propertyName,first:null!==(e=d.first)&&void 0!==e&&e,predicate:x2(d.predicate),descendants:null!==(t=d.descendants)&&void 0!==t&&t,read:d.read?new Vi(d.read):null,static:null!==(r=d.static)&&void 0!==r&&r,emitDistinctChangesOnly:null===(l=d.emitDistinctChangesOnly)||void 0===l||l}}function x2(d){return Array.isArray(d)?d:ml(new Vi(d),1)}function Cd(d){const e=N6(d.inputs||[]),t=N6(d.outputs||[]),r=d.propMetadata,l={},u={};for(const M in r)r.hasOwnProperty(M)&&r[M].forEach(F=>{ef(F)?l[M]=F.bindingPropertyName?[F.bindingPropertyName,M]:M:R6(F)&&(u[M]=F.bindingPropertyName||M)});return Object.assign(Object.assign({},d),{typeArgumentCount:0,typeSourceSpan:d.typeSourceSpan,type:Fs(d.type),internalType:new Vi(d.type),deps:null,host:Sg(d.propMetadata,d.typeSourceSpan,d.host),inputs:Object.assign(Object.assign({},e),l),outputs:Object.assign(Object.assign({},t),u),queries:d.queries.map(xu),providers:null!=d.providers?new Vi(d.providers):null,viewQueries:d.viewQueries.map(xu),fullInheritance:!1})}function U3(d,e){var t,r,l,u,M,F,_e,Le;return{name:d.type.name,type:Fs(d.type),typeSourceSpan:e,internalType:new Vi(d.type),selector:null!==(t=d.selector)&&void 0!==t?t:null,inputs:null!==(r=d.inputs)&&void 0!==r?r:{},outputs:null!==(l=d.outputs)&&void 0!==l?l:{},host:uh(d.host),queries:(null!==(u=d.queries)&&void 0!==u?u:[]).map(V3),viewQueries:(null!==(M=d.viewQueries)&&void 0!==M?M:[]).map(V3),providers:void 0!==d.providers?new Vi(d.providers):null,exportAs:null!==(F=d.exportAs)&&void 0!==F?F:null,usesInheritance:null!==(_e=d.usesInheritance)&&void 0!==_e&&_e,lifecycle:{usesOnChanges:null!==(Le=d.usesOnChanges)&&void 0!==Le&&Le},deps:null,typeArgumentCount:0,fullInheritance:!1}}function uh(d={}){var e,t,r;return{attributes:Qh(null!==(e=d.attributes)&&void 0!==e?e:{}),listeners:null!==(t=d.listeners)&&void 0!==t?t:{},properties:null!==(r=d.properties)&&void 0!==r?r:{},specialAttributes:{classAttr:d.classAttribute,styleAttr:d.styleAttribute}}}function Qh(d){const e={};for(const t of Object.keys(d))e[t]=new Vi(d[t]);return e}function S4(d){var e,t,r;return{selector:d.selector,type:new Vi(d.type),inputs:null!==(e=d.inputs)&&void 0!==e?e:[],outputs:null!==(t=d.outputs)&&void 0!==t?t:[],exportAs:null!==(r=d.exportAs)&&void 0!==r?r:null}}function q0(d){const e=new Map;if(void 0===d)return e;for(const t of Object.keys(d)){const r=d[t];e.set(t,new Vi(r))}return e}function $0(d,e,t,r,l){const u=l?iu.fromArray(l):Ua,M=Gh(d,t,{preserveWhitespaces:r,interpolationConfig:u});if(null!==M.errors){const F=M.errors.map(_e=>_e.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${e}: ${F}`)}return{template:M,interpolation:u}}function hh(d,e){if(d.hasOwnProperty(e))return ml(new Vi(d[e]),0)}function fh(d,e){if(d.hasOwnProperty(e))return new Vi(d[e])}function ph(d){return ml("function"==typeof d?new Vi(d):new Ho(null!=d?d:null),0)}function Bf(d){return null==d?null:d.map(Y3)}function Y3(d){const e=null!=d.attribute,t=null===d.token?null:new Vi(d.token);return k4(e?new Vi(d.attribute):t,e,d.host,d.optional,d.self,d.skipSelf)}function K0(d){var e,t,r,l,u;const M=null!==(e=d.attribute)&&void 0!==e&&e;return k4(null===d.token?null:new Vi(d.token),M,null!==(t=d.host)&&void 0!==t&&t,null!==(r=d.optional)&&void 0!==r&&r,null!==(l=d.self)&&void 0!==l&&l,null!==(u=d.skipSelf)&&void 0!==u&&u)}function k4(d,e,t,r,l,u){return{token:d,attributeNameType:e?In("unknown"):null,host:t,optional:r,self:l,skipSelf:u}}function Sg(d,e,t){const r=function Jh(d){const e={},t={},r={},l={};for(const u of Object.keys(d)){const M=d[u],F=u.match(Tg);if(null===F)switch(u){case"class":if("string"!=typeof M)throw new Error("Class binding must be string");l.classAttr=M;break;case"style":if("string"!=typeof M)throw new Error("Style binding must be string");l.styleAttr=M;break;default:e[u]="string"==typeof M?In(M):M}else if(null!=F[1]){if("string"!=typeof M)throw new Error("Property binding must be string");r[F[1]]=M}else if(null!=F[2]){if("string"!=typeof M)throw new Error("Event binding must be string");t[F[2]]=M}}return{attributes:e,listeners:t,properties:r,specialAttributes:l}}(t||{}),l=function U2(d,e){const t=zf();return t.createDirectiveHostEventAsts(d.listeners,e),t.createBoundHostProperties(d.properties,e),t.errors}(r,e);if(l.length)throw new Error(l.map(u=>u.msg).join("\n"));for(const u in d)d.hasOwnProperty(u)&&d[u].forEach(M=>{z6(M)?r.properties[M.hostPropertyName||u]=qo("this",u):Z0(M)&&(r.listeners[M.eventName||u]=`${u}(${(M.args||[]).join(",")})`)});return r}function z6(d){return"HostBinding"===d.ngMetadataName}function Z0(d){return"HostListener"===d.ngMetadataName}function ef(d){return"Input"===d.ngMetadataName}function R6(d){return"Output"===d.ngMetadataName}function N6(d){return d.reduce((e,t)=>{const[r,l]=t.split(",").map(u=>u.trim());return e[r]=l||r,e},{})}new class si{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}("13.3.12");class H6{constructor({defaultEncapsulation:e=H.Emulated,useJit:t=!0,jitDevMode:r=!1,missingTranslation:l=null,preserveWhitespaces:u,strictInjectionParameters:M}={}){this.defaultEncapsulation=e,this.useJit=!!t,this.jitDevMode=!!r,this.missingTranslation=l,this.preserveWhitespaces=function kg(d,e=!1){return null===d?e:d}(function hn(d){return void 0===d?null:d}(u)),this.strictInjectionParameters=!0===M}}var e2;!function(d){d[d.Extract=0]="Extract",d[d.Merge=1]="Merge"}(e2||(e2={}));new class Ig{constructor(){this.closedByParent=!1,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(e){return!1}isClosedByChild(e){return!1}getContentType(){return P.PARSABLE_DATA}};var Wm;!function(d){d[d.Directive=0]="Directive",d[d.Component=1]="Component",d[d.Injectable=2]="Injectable",d[d.Pipe=3]="Pipe",d[d.NgModule=4]="NgModule"}(Wm||(Wm={}));!function jf(d){(d.ng||(d.ng={})).\u0275compilerFacade=new Q1}(oi);var Zo=B(36362),i1=B(50318);new i.OlP("ErrorCollector"),i.rEX;const Zm=[{provide:i.Sil,useFactory:()=>new i.Sil}];function zg(d){for(let e=d.length-1;e>=0;e--)if(void 0!==d[e])return d[e]}function vm(d){const e=[];return d.forEach(t=>t&&e.push(...t)),e}const a7=(0,i.eFA)(i._c5,"coreDynamic",[{provide:i.QSY,useValue:{},multi:!0},{provide:i.Hhp,useClass:class s7{constructor(e){const t={useJit:!0,defaultEncapsulation:i.ifc.Emulated,missingTranslation:i.IMH.Warning};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t=function W5(d){return{useJit:zg(d.map(e=>e.useJit)),defaultEncapsulation:zg(d.map(e=>e.defaultEncapsulation)),providers:vm(d.map(e=>e.providers)),missingTranslation:zg(d.map(e=>e.missingTranslation)),preserveWhitespaces:zg(d.map(e=>e.preserveWhitespaces))}}(this._defaultOptions.concat(e));return i.zs3.create([Zm,{provide:H6,useFactory:()=>new H6({useJit:t.useJit,jitDevMode:(0,i.X6Q)(),defaultEncapsulation:t.defaultEncapsulation,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]).get(i.Sil)}},deps:[i.QSY]}]);class l0 extends Kd{get(e){let t,r;const l=new Promise((M,F)=>{t=M,r=F}),u=new XMLHttpRequest;return u.open("GET",e,!0),u.responseType="text",u.onload=function(){const M=u.response||u.responseText;let F=1223===u.status?204:u.status;0===F&&(F=M?200:0),200<=F&&F<=300?t(M):r(`Failed to load ${e}`)},u.onerror=function(){r(`Failed to load ${e}`)},u.send(),l}}l0.\u0275fac=function(){let d;return function(t){return(d||(d=i.n5z(l0)))(t||l0)}}(),l0.\u0275prov=i.Yz7({token:l0,factory:l0.\u0275fac});const G5=[i1.aF,{provide:i.QSY,useValue:{providers:[{provide:Kd,useClass:l0,deps:[]}]},multi:!0},{provide:i.Lbi,useValue:Zo.bD}];new i.GfV("13.3.12");const $5=(0,i.eFA)(a7,"browserDynamic",G5);var W2=B(92340),_c=B(88849);let Yf=class{constructor(e){this.confirmService=e}canDeactivate(e){return!!e.canDeactivate()||confirm("ADVARSEL: Du har endringer som ikke er lagret. Velg OK for \xe5 forkaste endringene og naviger vekk fra siden eller Cancel for \xe5 forbli p\xe5 siden.")}confirmation(){this.confirmService.confirm({title:"Please confirm",message:"Du holder p\xe5 \xe5 navigere vekk fra denne observasjonen men du har endringer i som ikke er lagret, \xf8nsker du \xe5 forkaste disse?",yes:"Ja",no:"Nei"}).then(()=>!0,()=>!1)}};Yf.ctorParameters=()=>[{type:_c.zM}],Yf=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],Yf);var _r=B(52816),Mu=B(28784),bm=B(165),l7=B(49431),c7=B(54409),Z5=B(17918),X5=B(48472),d7=B(57150),af=B(54188),Qa=B(3518),ul=B(25730),J5=B(60649);const Wf=Object.create(null);Wf.open="0",Wf.close="1",Wf.ping="2",Wf.pong="3",Wf.message="4",Wf.upgrade="5",Wf.noop="6";const Rg=Object.create(null);Object.keys(Wf).forEach(d=>{Rg[Wf[d]]=d});const u7={type:"error",data:"parser error"},h7="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Q5="function"==typeof ArrayBuffer,t8=(d,e)=>{const t=new FileReader;return t.onload=function(){const r=t.result.split(",")[1];e("b"+(r||""))},t.readAsDataURL(d)},Jm=({type:d,data:e},t,r)=>h7&&e instanceof Blob?t?r(e):t8(e,r):Q5&&(e instanceof ArrayBuffer||(d=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(d):d&&d.buffer instanceof ArrayBuffer)(e))?t?r(e):t8(new Blob([e]),r):r(Wf[d]+(e||"")),n6="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Y6="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let d=0;d<n6.length;d++)Y6[n6.charCodeAt(d)]=d;const r8="function"==typeof ArrayBuffer,o8=(d,e)=>{if(r8){const t=(d=>{let r,u,M,F,_e,e=.75*d.length,t=d.length,l=0;"="===d[d.length-1]&&(e--,"="===d[d.length-2]&&e--);const Le=new ArrayBuffer(e),Ge=new Uint8Array(Le);for(r=0;r<t;r+=4)u=Y6[d.charCodeAt(r)],M=Y6[d.charCodeAt(r+1)],F=Y6[d.charCodeAt(r+2)],_e=Y6[d.charCodeAt(r+3)],Ge[l++]=u<<2|M>>4,Ge[l++]=(15&M)<<4|F>>2,Ge[l++]=(3&F)<<6|63&_e;return Le})(d);return ym(t,e)}return{base64:!0,data:d}},ym=(d,e)=>"blob"===e&&d instanceof ArrayBuffer?new Blob([d]):d,Ng=(d,e)=>{if("string"!=typeof d)return{type:"message",data:ym(d,e)};const t=d.charAt(0);return"b"===t?{type:"message",data:o8(d.substring(1),e)}:Rg[t]?d.length>1?{type:Rg[t],data:d.substring(1)}:{type:Rg[t]}:u7},e5=String.fromCharCode(30);function r1(d){if(d)return function Iv(d){for(var e in r1.prototype)d[e]=r1.prototype[e];return d}(d)}r1.prototype.on=r1.prototype.addEventListener=function(d,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+d]=this._callbacks["$"+d]||[]).push(e),this},r1.prototype.once=function(d,e){function t(){this.off(d,t),e.apply(this,arguments)}return t.fn=e,this.on(d,t),this},r1.prototype.off=r1.prototype.removeListener=r1.prototype.removeAllListeners=r1.prototype.removeEventListener=function(d,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t=this._callbacks["$"+d];if(!t)return this;if(1==arguments.length)return delete this._callbacks["$"+d],this;for(var r,l=0;l<t.length;l++)if((r=t[l])===e||r.fn===e){t.splice(l,1);break}return 0===t.length&&delete this._callbacks["$"+d],this},r1.prototype.emit=function(d){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+d],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(t){r=0;for(var l=(t=t.slice(0)).length;r<l;++r)t[r].apply(this,e)}return this},r1.prototype.emitReserved=r1.prototype.emit,r1.prototype.listeners=function(d){return this._callbacks=this._callbacks||{},this._callbacks["$"+d]||[]},r1.prototype.hasListeners=function(d){return!!this.listeners(d).length};const $3="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function g7(d,...e){return e.reduce((t,r)=>(d.hasOwnProperty(r)&&(t[r]=d[r]),t),{})}const xm=$3.setTimeout,a8=$3.clearTimeout;function t5(d,e){e.useNativeTimers?(d.setTimeoutFn=xm.bind($3),d.clearTimeoutFn=a8.bind($3)):(d.setTimeoutFn=$3.setTimeout.bind($3),d.clearTimeoutFn=$3.clearTimeout.bind($3))}function m7(d){return"string"==typeof d?function l8(d){let e=0,t=0;for(let r=0,l=d.length;r<l;r++)e=d.charCodeAt(r),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(r++,t+=4);return t}(d):Math.ceil(1.33*(d.byteLength||d.size))}class v7 extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class Hg extends r1{constructor(e){super(),this.writable=!1,t5(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new v7(e,t,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=Ng(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const n5="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Bg={};let jg,Tu=0,s6=0;function i5(d){let e="";do{e=n5[d%64]+e,d=Math.floor(d/64)}while(d>0);return e}function Cm(){const d=i5(+new Date);return d!==jg?(Tu=0,jg=d):d+"."+i5(Tu++)}for(;s6<64;s6++)Bg[n5[s6]]=s6;function r5(d){let e="";for(let t in d)d.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(d[t]));return e}let s5=!1;try{s5="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(d){}const c8=s5;function a5(d){const e=d.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!e||c8))return new XMLHttpRequest}catch(t){}if(!e)try{return new($3[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}function _7(){}const Fg=null!=new a5({xdomain:!1}).responseType;class Gf extends r1{constructor(e,t){super(),t5(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=g7(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new a5(e);try{t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.opts.extraHeaders[r])}}catch(r){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(r){}try{t.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof t.status?t.status:0)},0))},t.send(this.data)}catch(r){return void this.setTimeoutFn(()=>{this.onError(r)},0)}"undefined"!=typeof document&&(this.index=Gf.requestsCount++,Gf.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=_7,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete Gf.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(Gf.requestsCount=0,Gf.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",l5);else if("function"==typeof addEventListener){addEventListener("onpagehide"in $3?"pagehide":"unload",l5,!1)}function l5(){for(let d in Gf.requests)Gf.requests.hasOwnProperty(d)&&Gf.requests[d].abort()}const Vg="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),Ug=$3.WebSocket||$3.MozWebSocket,h8="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const Yg={websocket:class W6 extends Hg{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,r=h8?{}:g7(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=h8?new Ug(e,t,r):t?new Ug(e,t):new Ug(e)}catch(l){return this.emitReserved("error",l)}this.ws.binaryType=this.socket.binaryType||"arraybuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],l=t===e.length-1;Jm(r,this.supportsBinary,u=>{try{this.ws.send(u)}catch(F){}l&&Vg(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Cm()),this.supportsBinary||(e.b64=1);const l=r5(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(l.length?"?"+l:"")}check(){return!!Ug}},polling:class d8 extends Hg{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const r="https:"===location.protocol;let l=location.port;l||(l=r?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||l!==e.port,this.xs=e.secure!==r}const t=e&&e.forceBase64;this.supportsBinary=Fg&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||t()})),this.writable||(r++,this.once("drain",function(){--r||t()}))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((d,e)=>{const t=d.split(e5),r=[];for(let l=0;l<t.length;l++){const u=Ng(t[l],e);if(r.push(u),"error"===u.type)break}return r})(e,this.socket.binaryType).forEach(r=>{if("opening"===this.readyState&&"open"===r.type&&this.onOpen(),"close"===r.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((d,e)=>{const t=d.length,r=new Array(t);let l=0;d.forEach((u,M)=>{Jm(u,!1,F=>{r[M]=F,++l===t&&e(r.join(e5))})})})(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=Cm()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);const l=r5(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(l.length?"?"+l:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Gf(this.uri(),e)}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(l,u)=>{this.onError("xhr post error",l,u)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,r)=>{this.onError("xhr poll error",t,r)}),this.pollXhr=e}}},Mm=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,b7=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function c5(d){const e=d,t=d.indexOf("["),r=d.indexOf("]");-1!=t&&-1!=r&&(d=d.substring(0,t)+d.substring(t,r).replace(/:/g,";")+d.substring(r,d.length));let l=Mm.exec(d||""),u={},M=14;for(;M--;)u[b7[M]]=l[M]||"";return-1!=t&&-1!=r&&(u.source=e,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),u.pathNames=function f8(d,e){const t=/\/{2,9}/g,r=e.replace(t,"/").split("/");return("/"==e.slice(0,1)||0===e.length)&&r.splice(0,1),"/"==e.slice(-1)&&r.splice(r.length-1,1),r}(0,u.path),u.queryKey=function p8(d,e){const t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,l,u){l&&(t[l]=u)}),t}(0,u.query),u}class lf extends r1{constructor(e,t={}){super(),this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=c5(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=c5(t.host).host),t5(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],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:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function o5(d){let e={},t=d.split("&");for(let r=0,l=t.length;r<l;r++){let u=t[r].split("=");e[decodeURIComponent(u[0])]=decodeURIComponent(u[1])}return e}(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(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Yg[e](r)}open(){let e;if(this.opts.rememberUpgrade&&lf.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(t){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",t=>this.onClose("transport close",t))}probe(e){let t=this.createTransport(e),r=!1;lf.priorWebsocketSuccess=!1;const l=()=>{r||(t.send([{type:"ping",data:"probe"}]),t.once("packet",_t=>{if(!r)if("pong"===_t.type&&"probe"===_t.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;lf.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{r||"closed"!==this.readyState&&(Ge(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const Bt=new Error("probe error");Bt.transport=t.name,this.emitReserved("upgradeError",Bt)}}))};function u(){r||(r=!0,Ge(),t.close(),t=null)}const M=_t=>{const Bt=new Error("probe error: "+_t);Bt.transport=t.name,u(),this.emitReserved("upgradeError",Bt)};function F(){M("transport closed")}function _e(){M("socket closed")}function Le(_t){t&&_t.name!==t.name&&u()}const Ge=()=>{t.removeListener("open",l),t.removeListener("error",M),t.removeListener("close",F),this.off("close",_e),this.off("upgrading",Le)};t.once("open",l),t.once("error",M),t.once("close",F),this.once("close",_e),this.once("upgrading",Le),t.open()}onOpen(){if(this.readyState="open",lf.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.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 e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let r=0;r<this.writeBuffer.length;r++){const l=this.writeBuffer[r].data;if(l&&(t+=m7(l)),r>0&&t>this.maxPayload)return this.writeBuffer.slice(0,r);t+=2}return this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,l){if("function"==typeof t&&(l=t,t=void 0),"function"==typeof r&&(l=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const u={type:e,data:t,options:r};this.emitReserved("packetCreate",u),this.writeBuffer.push(u),l&&this.once("flush",l),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}onError(e){lf.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){("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",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let r=0;const l=e.length;for(;r<l;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}lf.protocol=4;lf.protocol;const x7="function"==typeof ArrayBuffer,w7=Object.prototype.toString,M7="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===w7.call(Blob),Ov="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===w7.call(File);function m8(d){return x7&&(d instanceof ArrayBuffer||(d=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(d):d.buffer instanceof ArrayBuffer)(d))||M7&&d instanceof Blob||Ov&&d instanceof File}function G6(d,e){if(!d||"object"!=typeof d)return!1;if(Array.isArray(d)){for(let t=0,r=d.length;t<r;t++)if(G6(d[t]))return!0;return!1}if(m8(d))return!0;if(d.toJSON&&"function"==typeof d.toJSON&&1===arguments.length)return G6(d.toJSON(),!0);for(const t in d)if(Object.prototype.hasOwnProperty.call(d,t)&&G6(d[t]))return!0;return!1}function Tm(d){const e=[],t=d.data,r=d;return r.data=d5(t,e),r.attachments=e.length,{packet:r,buffers:e}}function d5(d,e){if(!d)return d;if(m8(d)){const t={_placeholder:!0,num:e.length};return e.push(d),t}if(Array.isArray(d)){const t=new Array(d.length);for(let r=0;r<d.length;r++)t[r]=d5(d[r],e);return t}if("object"==typeof d&&!(d instanceof Date)){const t={};for(const r in d)Object.prototype.hasOwnProperty.call(d,r)&&(t[r]=d5(d[r],e));return t}return d}function T7(d,e){return d.data=Wg(d.data,e),delete d.attachments,d}function Wg(d,e){if(!d)return d;if(d&&!0===d._placeholder){if("number"==typeof d.num&&d.num>=0&&d.num<e.length)return e[d.num];throw new Error("illegal attachments")}if(Array.isArray(d))for(let t=0;t<d.length;t++)d[t]=Wg(d[t],e);else if("object"==typeof d)for(const t in d)Object.prototype.hasOwnProperty.call(d,t)&&(d[t]=Wg(d[t],e));return d}const Gg=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],v8=5;var Ka;!function(d){d[d.CONNECT=0]="CONNECT",d[d.DISCONNECT=1]="DISCONNECT",d[d.EVENT=2]="EVENT",d[d.ACK=3]="ACK",d[d.CONNECT_ERROR=4]="CONNECT_ERROR",d[d.BINARY_EVENT=5]="BINARY_EVENT",d[d.BINARY_ACK=6]="BINARY_ACK"}(Ka||(Ka={}));class S7{constructor(e){this.replacer=e}encode(e){return e.type!==Ka.EVENT&&e.type!==Ka.ACK||!G6(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===Ka.EVENT?Ka.BINARY_EVENT:Ka.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return(e.type===Ka.BINARY_EVENT||e.type===Ka.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Tm(e),r=this.encodeAsString(t.packet),l=t.buffers;return l.unshift(r),l}}function _8(d){return"[object Object]"===Object.prototype.toString.call(d)}class u5 extends r1{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===Ka.BINARY_EVENT;r||t.type===Ka.BINARY_ACK?(t.type=r?Ka.EVENT:Ka.ACK,this.reconstructor=new h5(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!m8(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===Ka[r.type])throw new Error("unknown packet type "+r.type);if(r.type===Ka.BINARY_EVENT||r.type===Ka.BINARY_ACK){const u=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const M=e.substring(u,t);if(M!=Number(M)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(M)}if("/"===e.charAt(t+1)){const u=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(u,t)}else r.nsp="/";const l=e.charAt(t+1);if(""!==l&&Number(l)==l){const u=t+1;for(;++t;){const M=e.charAt(t);if(null==M||Number(M)!=M){--t;break}if(t===e.length)break}r.id=Number(e.substring(u,t+1))}if(e.charAt(++t)){const u=this.tryParse(e.substr(t));if(!u5.isPayloadValid(r.type,u))throw new Error("invalid payload");r.data=u}return r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(t){return!1}}static isPayloadValid(e,t){switch(e){case Ka.CONNECT:return _8(t);case Ka.DISCONNECT:return void 0===t;case Ka.CONNECT_ERROR:return"string"==typeof t||_8(t);case Ka.EVENT:case Ka.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===Gg.indexOf(t[0]));case Ka.ACK:case Ka.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class h5{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const t=T7(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function cf(d,e,t){return d.on(e,t),function(){d.off(e,t)}}const k7=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class a6 extends r1{constructor(e,t,r){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=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[cf(e,"open",this.onopen.bind(this)),cf(e,"packet",this.onpacket.bind(this)),cf(e,"error",this.onerror.bind(this)),cf(e,"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(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(k7.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const r={type:Ka.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const M=this.ids++,F=t.pop();this._registerAckCallback(M,F),r.id=M}const l=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!l||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(e,t){var r;const l=null!==(r=this.flags.timeout)&&void 0!==r?r:this._opts.ackTimeout;if(void 0===l)return void(this.acks[e]=t);const u=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let M=0;M<this.sendBuffer.length;M++)this.sendBuffer[M].id===e&&this.sendBuffer.splice(M,1);t.call(this,new Error("operation has timed out"))},l);this.acks[e]=(...M)=>{this.io.clearTimeoutFn(u),t.apply(this,[null,...M])}}emitWithAck(e,...t){const r=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise((l,u)=>{t.push((M,F)=>r?M?u(M):l(F):l(M)),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((l,...u)=>r!==this._queue[0]?void 0:(null!==l?r.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(l)):(this._queue.shift(),t&&t(null,...u)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Ka.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Ka.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Ka.EVENT:case Ka.BINARY_EVENT:this.onevent(e);break;case Ka.ACK:case Ka.BINARY_ACK:this.onack(e);break;case Ka.DISCONNECT:this.ondisconnect();break;case Ka.CONNECT_ERROR:this.destroy();const r=new Error(e.data.message);r.data=e.data.data,this.emitReserved("connect_error",r)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let r=!1;return function(...l){r||(r=!0,t.packet({type:Ka.ACK,id:e,data:l}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(t.apply(this,e.data),delete this.acks[e.id])}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Ka.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}function q6(d){d=d||{},this.ms=d.min||100,this.max=d.max||1e4,this.factor=d.factor||2,this.jitter=d.jitter>0&&d.jitter<=1?d.jitter:0,this.attempts=0}q6.prototype.duration=function(){var d=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*d);d=0==(1&Math.floor(10*e))?d-t:d+t}return 0|Math.min(d,this.max)},q6.prototype.reset=function(){this.attempts=0},q6.prototype.setMin=function(d){this.ms=d},q6.prototype.setMax=function(d){this.max=d},q6.prototype.setJitter=function(d){this.jitter=d};class Sm extends r1{constructor(e,t){var r;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,t5(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(r=t.randomizationFactor)&&void 0!==r?r:.5),this.backoff=new q6({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const l=t.parser||n;this.encoder=new l.Encoder,this.decoder=new l.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new lf(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const l=cf(t,"open",function(){r.onopen(),e&&e()}),u=cf(t,"error",M=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",M),e?e(M):r.maybeReconnectOnOpen()});if(!1!==this._timeout){const M=this._timeout;0===M&&l();const F=this.setTimeoutFn(()=>{l(),t.close(),t.emit("error",new Error("timeout"))},M);this.opts.autoUnref&&F.unref(),this.subs.push(function(){clearTimeout(F)})}return this.subs.push(l),this.subs.push(u),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(cf(e,"ping",this.onping.bind(this)),cf(e,"data",this.ondata.bind(this)),cf(e,"error",this.onerror.bind(this)),cf(e,"close",this.onclose.bind(this)),cf(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){Vg(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new a6(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const r of t)if(this.nsps[r].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){this.subs.forEach(e=>e()),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(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(l=>{l?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",l)):e.onreconnect()}))},t);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const $6={};function qg(d,e){"object"==typeof d&&(e=d,d=void 0);const t=function g8(d,e="",t){let r=d;t=t||"undefined"!=typeof location&&location,null==d&&(d=t.protocol+"//"+t.host),"string"==typeof d&&("/"===d.charAt(0)&&(d="/"===d.charAt(1)?t.protocol+d:t.host+d),/^(https?|wss?):\/\//.test(d)||(d=void 0!==t?t.protocol+"//"+d:"https://"+d),r=c5(d)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const u=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+u+":"+r.port+e,r.href=r.protocol+"://"+u+(t&&t.port===r.port?"":":"+r.port),r}(d,(e=e||{}).path||"/socket.io"),r=t.source,l=t.id,u=t.path,M=$6[l]&&u in $6[l].nsps;let _e;return e.forceNew||e["force new connection"]||!1===e.multiplex||M?_e=new Sm(r,e):($6[l]||($6[l]=new Sm(r,e)),_e=$6[l]),t.query&&!e.query&&(e.query=t.queryKey),_e.socket(t.path,e)}Object.assign(qg,{Manager:Sm,Socket:a6,io:qg,connect:qg});let E4=class{constructor(e,t,r){this.alertService=e,this.toastService=t,this.authDataSubject=r,this.socket=void 0,this.messages=[],this.typeClasses={info:"bg-info text-white",success:"bg-success text-light",warning:"bg-warning text-light",danger:"bg-danger text-white",primary:"bg-primary text-white",secondary:"bg-secondary text-white",light:"bg-light text-dark",dark:"bg-dark text-white",white:"bg-white text-dark"},this.authDataSubject.observableAuthData.subscribe(l=>{l&&!this.socket&&(null==l?void 0:l.token)&&(console.log("Subscribing to backend socket server"),this.socket=qg("/",{auth:{token:l.token}}),this.socket.on("message",u=>{this.showToast(u)}),this.socket.on("disconnect",u=>{this.showToast(u)}),this.socket.on("message_self",u=>{this.showToast(u)}),this.socket.on("message_room",u=>{this.showToast(u)}),this.socket.on("action",u=>{this.showToast(u),u.hasOwnProperty("link")}),this.socket.on("notification",u=>{this.showToast(u)}),this.socket.on("lungo",u=>{this.showToast(u)}))},l=>console.log("Problem getting token: ",l))}ngOnInit(){}showToast(e){this.toastService.show(e.message,{classname:this.typeClasses[e.style||"success"],delay:1e3*e.delay||8e3,autohide:e.autohide||!0,headertext:e.title||"Varsel"})}};E4.ctorParameters=()=>[{type:ul.u},{type:J5.D},{type:af.W}],E4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],E4);var K6=B(59151),mh=B(86942);let b1=class{constructor(e,t,r,l,u,M){this.titleService=e,this.authSubject=t,this.router=r,this.activatedRoute=l,this.configService=u,this.socket=M,this.prefix_title="NLF",this.loggedInObservable=this.authSubject.observableAuth,this.router.events.pipe((0,K6.h)(F=>F instanceof _r.m2),(0,mh.U)(()=>{let F=this.activatedRoute.firstChild;for(;F;){if(!F.firstChild)return F.snapshot.data&&F.snapshot.data.title?F.snapshot.data.title:null;F=F.firstChild}return null})).subscribe(F=>{F&&this.titleService.setTitle(F)})}setTitle(e,t="NLF",r="-"){this.titleService.setTitle(t+" "+r+" "+e)}isPublicPage(){this.router.events.subscribe(e=>{try{return"error"===e.url.substring(1,6)}catch(t){return!1}})}};b1.ctorParameters=()=>[{type:i1.Dx},{type:af.W},{type:_r.F0},{type:_r.gz},{type:Qa.F},{type:E4}],b1=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-root",template:X5,styles:[d7]})],b1);var Fr=B(46229),km=B(2536),Ec=B(71260);let c0=class{constructor(e,t,r,l,u){this.app=e,this.modalService=t,this.agg=r,this.userSubject=l,this.configService=u,this.dataReady=!1,this.default_activity_obsreg=!1,this.pie=[],this.view=[700,300],this.label="totalt behandlede observasjoner",this.colorScheme={domain:["#5cb85c","#5bc0de","#428bca","#d9534f","#0c0c0c"]},this.typesChartOption={tooltip:{trigger:"item"},series:[{name:"behandlede",type:"pie",radius:["50%","70%"],tooltip:{show:!1},avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:20,fontWeight:"bold"}},labelLine:{show:!1},data:void 0}]},this.typesChartOptionColors={unwanted_act:"#0dcaf0",sharing:"#198754",near_miss:"#fd7e14",incident:"#dc3545",accident:"#000"},this.pieTypes=[],e.setTitle("Forside")}ngOnInit(){this.userSubject.observable.subscribe(e=>{this.activities=e.activities,this.default_activity=e.settings.default_activity,this.configService.observableConfig.subscribe(t=>{if(this.config=t,[109,111,237,238].indexOf(this.default_activity)>-1){this.default_activity_obsreg=!0;try{this.agg.setActivity(this.config.inv_mapping[this.default_activity])}catch(M){this.agg.setActivity("fallskjerm")}let r=new Date("2014-01-01"),l=new Date("2030-01-01"),u={query:{aggregate:{$from:r.toISOString(),$to:l.toISOString(),$state:"closed"}}};this.agg.getTypes(u).subscribe(M=>{this.pieTypes=[],M._items.forEach(F=>{try{this.pieTypes.push({name:this.config[this.config.inv_mapping[this.default_activity]].observation.types[F._id].label,value:F.count,itemStyle:{color:this.typesChartOptionColors[F._id]}})}catch(_e){}}),this.typesChartOption.series[0].data=this.pieTypes,this.dataReady=!0,console.log("CHART",this.typesChartOption)},M=>console.log(M),()=>console.log("Done"))}else this.default_activity_obsreg=!1})},e=>console.log("Error getting user acitivites: ",e))}getTypeLabel(e){return this.config[this.config.inv_mapping[this.default_activity]].observation.types[e].label||e}getTypesTotalValue(){return this.pieTypes.reduce((e,t)=>e+t.value,0)}getDefaultActivity(){return this.config.inv_mapping[this.default_activity]||""}onSelect(e){console.log(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};c0.ctorParameters=()=>[{type:b1},{type:Fr.FF},{type:km.Z},{type:Ec.K},{type:Qa.F}],c0=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ui-dummy",template:c7,styles:[Z5]})],c0);var E7=B(84155),x8=B(90765),st=B(9306),$g=B(6407);let Z6=class{constructor(e,t,r){this.app=e,this.alertService=t,this.auth=r,this.faSearch=st.wn1,this.faDashboard=st.R76,this.submitted=!1,e.setTitle("OBSREG")}ngOnInit(){this.app.setTitle("NLF OBSREG")}get diagnostic(){return JSON.stringify(this.app)}};Z6.ctorParameters=()=>[{type:b1},{type:ul.u},{type:$g.$}],Z6=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors",template:E7,styles:[x8]})],Z6);var I7=B(97827),A7=B(29319);let bs=class{ngOnInit(){}};bs=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content",template:I7,styles:[A7]})],bs);var B1=B(64139);class Lm{preload(e,t){return e.data&&e.data.preload?t():(0,B1.of)(null)}}var ia=B(26525),D4=B(56317),qf=B(15899),ws=B(85642),Cp=B(89160);let Su=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/notifications"}getNotification(e,t){return this.getItem(this.relativeUrl,e,t)}getNotifications(e){return this.getList(this.relativeUrl,e)}reminder(e,t){return this.post(this.relativeUrl+"/bin/reminder/",e,t)}message(e,t){return this.post(this.relativeUrl+"/bin/message/",e,t)}getEvents(e){return this.getList(this.relativeUrl+"/events",e)}create(e,t){return this.post(this.relativeUrl,e,t)}save(e,t,r,l){return this.patch(this.relativeUrl,e,t,l,r)}};Su.ctorParameters=()=>[{type:Mu.eN}],Su=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],Su);let A4=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/acl/"}getAclUsers(e,t,r){return this.getItem(this.relativeUrl+"users/"+e+"/",t+"/flat",r)}getAclUserList(e,t,r){return this.getItem(this.relativeUrl+"users/"+e+"/",t,r)}getRoles(e){return this.getList(this.relativeUrl,e)}};A4.ctorParameters=()=>[{type:Mu.eN}],A4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],A4);var zn=B(60103),Qs=B(2898);let Fc=class{constructor(e,t,r,l,u,M,F,_e){this.ntfService=e,this.subject=t,this.route=r,this.orsService=l,this.alertService=u,this.app=M,this.confirmService=F,this.aclService=_e,this.message_text="",this.show={save:!1,reminders:!0,messages:!0,workflow:!0,persons:!0,dummy:!1,e5x:!0},this.now=new Date,this.dataReady=!1,this.error=!1,this.is_reminding=!1,this.is_sending_msg=!1,this.current_acl_users=[],this.faQuestion=st.Psp,this.faUndo=st.X7o,this.faInfoCircle=st.sqG,this.faFile=st.gMD,this.faFileAlt=Qs.cwv,this.faLock=st.byT,this.route.params.subscribe(Le=>{this.error=!1,console.log("PARAMS",Le),this.activity=Le.activity?Le.activity:0,this.observation_id=Le.id?Le.id:0,this.app.setTitle("OBSREG Activities #"+this.observation_id),this.observation_id>0&&this.activity?(this.orsService.setActivity(this.activity),this.getData()):(this.alertService.error("Could not determine activity or observation id"),this.error=!0)}),setInterval(()=>{this.now=new Date},6e4)}getData(){this.dataReady=!1,this.orsService.get(this.observation_id).subscribe(e=>{this.observation=e,this.dataReady=!0},e=>{this.alertService.error(e.message),this.error=!0},()=>{})}ngOnInit(){}};Fc.ctorParameters=()=>[{type:Su},{type:ws.j},{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1},{type:_c.zM},{type:A4}],Fc=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-activities",template:D4,styles:[qf]})],Fc);var wp=B(45076),$f=B(33199);let vh=class{constructor(e,t){this.userSubject=e,this.app=t,this.faDashboard=st.R76,this.faPieChart=st.D37,this.faSearch=st.wn1,this.faHashtag=st.olY,this.faUser=st.ILF,this.faExchange=st.W2X,this.faRandom=st.V$d,this.faList=st.Zrf,this.userSubject.observable.subscribe(r=>{r&&(this.user_settings=r)},r=>console.log("Error getting user data: ",r),()=>{})}ngOnInit(){this.app.setTitle("OBSREG Oversikt")}};vh.ctorParameters=()=>[{type:Ec.K},{type:b1}],vh=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm",template:wp,styles:[$f]})],vh);var Kg=B(90967),C8=B(55374),Zi=B(5836);let q2=class{constructor(e,t,r,l){this.route=e,this.orsService=t,this.alertService=r,this.app=l,this.dataReady=!1,this.spinner=!0,this.isWorkflowTimelineCollapsed=!0,this.faEdit=st.Xcf,this.faMapMarker=st.Mzo,this.faRandom=st.V$d,this.faUsers=st.FVb,this.faFile=st.gMD,this.faCloud=st.uM9,this.faBolt=st.BDt,this.faExternalLink=st.gJF,this.faFileAlt=Qs.cwv,this.faComments=Qs.lXL}ngOnInit(){this.orsService.setActivity("fallskjerm"),this.inputId&&this.inputId>0?(this.id=this.inputId,this.getData()):this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.version=e.version?e.version:0,this.app.setTitle("OBSREG Rapport #"+this.id),this.getData()})}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onMapReady(e){this.map=e,this.marker.addTo(this.map),this.map.setView(this.marker.getLatLng(),7)}configureMap(){try{this.mapOptions={layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:7,center:(0,Zi.latLng)(59,10)}}catch(e){}}onUpload(e){let t=new FileReader;t.addEventListener("load",r=>{this.currentImage=r.target.result}),t.readAsDataURL(e.target.files[0])}getDiffs(e){let t={};t={query:{max_results:1e3,version:"diffs"}},this.orsService.getObservation(e,t).subscribe(r=>{this.observationDiff=r,console.log("In DIFFS"),console.log(r),this.left="Tester om dette fungerer eller ikke",this.right="Tester vel om dette fungerer kanskje ikke enn s\xe5 lenge"},r=>console.log(r))}getData(){this.dataReady=!1;let e={};this.version>0&&(e={query:{version:this.version}}),this.orsService.getObservation(this.id,e).subscribe(t=>{var r,l;this.observation=t,(null===(l=null===(r=this.observation.location)||void 0===r?void 0:r.geo)||void 0===l?void 0:l.coordinates)&&(this.marker=(0,Zi.marker)([this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1]]),this.configureMap()),this.version>0&&this.version!==this.observation._latest_version&&this.alertService.warning("Utdatert versjon du ser p\xe5 versjon "+this.version+"\xa0av dokumentet. Siste versjon er "+this.observation._latest_version),this.getDiffs(this.observation._id)},t=>{this.alertService.error(t.message),this.error=t,this.dataReady=!1},()=>this.dataReady=!0)}};q2.ctorParameters=()=>[{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1}],q2.propDecorators={inputId:[{type:i.IIB}]},q2=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-report",template:Kg,styles:[C8]})],q2);var Mp=B(18459),l6=B(73763),Tl=B(92218),Kf=B(69729);function C2(d,e){if(1&d&&(i.TgZ(0,"span",8),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.xp6(1),i.Oqu(t)}}function _h(d,e){if(1&d&&(i.TgZ(0,"tr")(1,"td",5),i.YNc(2,C2,2,1,"span",6),i.qZA(),i.TgZ(3,"td",7),i._uU(4),i.qZA()()),2&d){const t=e.$implicit;i.xp6(2),i.Q6J("ngForOf",t.formatted),i.xp6(2),i.Oqu(t.description)}}const Tp=function(d){return{in:d}};class sa{constructor(e,t,r,l,u,M){this.combo=e,this.callback=t,this.allowIn=r,this.description=l,this.action=u,this.persistent=M,this.combo=Array.isArray(e)?e:[e],this.allowIn=r||[],this.description=l||""}static symbolize(e){const t={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193",return:"\u23ce",backspace:"\u232b"},r=e.split("+");for(let l=0;l<r.length;l++)"mod"===r[l]&&(window.navigator&&window.navigator.platform.indexOf("Mac")>=0?r[l]="command":r[l]="ctrl"),r[l]=t[r[l]]||r[l];return r.join(" + ")}get formatted(){if(!this.formattedHotkey){const e=this.combo;for(let t=0;t<e.length;t++)e[t]=sa.symbolize(e[t]);this.formattedHotkey=e}return this.formattedHotkey}}const bh=new i.OlP("HotkeyOptions");class hl{constructor(e){this.options=e,this.hotkeys=[],this.pausedHotkeys=[],this.cheatSheetToggle=new Tl.xQ,this.preventIn=["INPUT","SELECT","TEXTAREA"],Kf.prototype.stopCallback=(t,r,l,u)=>!((" "+r.className+" ").indexOf(" mousetrap ")>-1)&&(r.contentEditable&&"true"===r.contentEditable),this.mousetrap=new Kf,this.initCheatSheet()}initCheatSheet(){this.options.disableCheatSheet||this.add(new sa(this.options.cheatSheetHotkey||"?",function(e){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||"Show / hide this help menu")),this.options.cheatSheetCloseEsc&&this.add(new sa("esc",function(e){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))}add(e,t){if(Array.isArray(e)){const r=[];for(const l of e)r.push(this.add(l,t));return r}return this.remove(e),this.hotkeys.push(e),this.mousetrap.bind(e.combo,(r,l)=>{let u=!0;if(r){const M=r.target||r.srcElement,F=M.nodeName.toUpperCase();(" "+M.className+" ").indexOf(" mousetrap ")>-1?u=!0:this.preventIn.indexOf(F)>-1&&-1===e.allowIn.map(_e=>_e.toUpperCase()).indexOf(F)&&(u=!1)}if(u)return e.callback.apply(this,[r,l])},t),e}remove(e,t){const r=[];if(!e){for(const u of this.hotkeys)r.push(this.remove(u,t));return r}if(Array.isArray(e)){for(const u of e)r.push(this.remove(u));return r}const l=this.findHotkey(e);return l>-1?(this.hotkeys.splice(l,1),this.mousetrap.unbind(e.combo,t),e):null}get(e){if(!e)return this.hotkeys;if(Array.isArray(e)){const t=[];for(const r of e)t.push(this.get(r));return t}for(const t of this.hotkeys)if(t.combo.indexOf(e)>-1)return t;return null}pause(e){if(!e)return this.pause(this.hotkeys);if(Array.isArray(e)){const t=[];for(const r of e)t.push(this.pause(r));return t}return this.remove(e),this.pausedHotkeys.push(e),e}unpause(e){if(!e)return this.unpause(this.pausedHotkeys);if(Array.isArray(e)){const r=[];for(const l of e)r.push(this.unpause(l));return r}const t=this.pausedHotkeys.indexOf(e);return t>-1?(this.add(e),this.pausedHotkeys.splice(t,1)):null}reset(){this.mousetrap.reset(),this.hotkeys=[],this.pausedHotkeys=[],this.initCheatSheet()}findHotkey(e){return this.hotkeys.indexOf(e)}}hl.\u0275fac=function(e){return new(e||hl)(i.LFG(bh))},hl.\u0275prov=(0,i.Yz7)({factory:function(){return new hl((0,i.LFG)(bh))},token:hl,providedIn:"root"}),hl.ctorParameters=()=>[{type:void 0,decorators:[{type:i.tBr,args:[bh]}]}];class T3{constructor(e,t){this.hotkeysService=e,this.elementRef=t,this.hotkeysList=[],this.oldHotkeys=[],this.mousetrap=new Kf(this.elementRef.nativeElement)}ngOnInit(){for(const e of this.hotkeys){const t=Object.keys(e)[0],r=new sa(t,e[t]),l=this.hotkeysService.get(t);null!==l&&(this.oldHotkeys.push(l),this.hotkeysService.remove(l)),this.hotkeysList.push(r),this.mousetrap.bind(r.combo,r.callback)}}ngOnDestroy(){for(const e of this.hotkeysList)this.mousetrap.unbind(e.combo);this.hotkeysService.add(this.oldHotkeys)}}T3.\u0275fac=function(e){return new(e||T3)(i.Y36(hl),i.Y36(i.SBq))},T3.\u0275dir=i.lG2({type:T3,selectors:[["","hotkeys",""]],inputs:{hotkeys:"hotkeys"},features:[i._Bn([hl])]}),T3.ctorParameters=()=>[{type:hl},{type:i.SBq}],T3.propDecorators={hotkeys:[{type:i.IIB}]};class o1{constructor(e){this.hotkeysService=e,this.helpVisible=!1,this.title="Keyboard Shortcuts:"}ngOnInit(){this.subscription=this.hotkeysService.cheatSheetToggle.subscribe(e=>{!1!==e&&(this.hotkeys=this.hotkeysService.hotkeys.filter(t=>t.description)),!1===e?this.helpVisible=!1:this.toggleCheatSheet()})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}toggleCheatSheet(){this.helpVisible=!this.helpVisible}}o1.\u0275fac=function(e){return new(e||o1)(i.Y36(hl))},o1.\u0275cmp=i.Xpm({type:o1,selectors:[["hotkeys-cheatsheet"]],inputs:{title:"title"},decls:9,vars:5,consts:[[1,"cfp-hotkeys-container","fade",2,"display","none",3,"ngClass"],[1,"cfp-hotkeys"],[1,"cfp-hotkeys-title"],[4,"ngFor","ngForOf"],[1,"cfp-hotkeys-close",3,"click"],[1,"cfp-hotkeys-keys"],["class","cfp-hotkeys-key",4,"ngFor","ngForOf"],[1,"cfp-hotkeys-text"],[1,"cfp-hotkeys-key"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0)(1,"div",1)(2,"h4",2),i._uU(3),i.qZA(),i.TgZ(4,"table")(5,"tbody"),i.YNc(6,_h,5,2,"tr",3),i.qZA()(),i.TgZ(7,"div",4),i.NdJ("click",function(){return t.toggleCheatSheet()}),i._uU(8,"\xd7"),i.qZA()()()),2&e&&(i.Q6J("ngClass",i.VKq(3,Tp,t.helpVisible)),i.xp6(3),i.Oqu(t.title),i.xp6(3),i.Q6J("ngForOf",t.hotkeys))},directives:[Zo.mk,Zo.sg],styles:[".cfp-hotkeys-container[_ngcontent-%COMP%]{display:table!important;position:fixed;width:100%;height:100%;top:0;left:0;color:#333;font-size:1em;background-color:hsla(0,0%,100%,.9)}.cfp-hotkeys-container.fade[_ngcontent-%COMP%]{z-index:-1024;visibility:hidden;opacity:0;transition:opacity .15s linear}.cfp-hotkeys-container.fade.in[_ngcontent-%COMP%]{z-index:10002;visibility:visible;opacity:1}.cfp-hotkeys-title[_ngcontent-%COMP%]{font-weight:700;text-align:center;font-size:1.2em}.cfp-hotkeys[_ngcontent-%COMP%]{width:100%;height:100%;display:table-cell;vertical-align:middle}.cfp-hotkeys[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]{margin:auto;color:#333}.cfp-content[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.cfp-hotkeys-keys[_ngcontent-%COMP%]{padding:5px;text-align:right}.cfp-hotkeys-key[_ngcontent-%COMP%]{display:inline-block;color:#fff;background-color:#333;border:1px solid #333;border-radius:5px;text-align:center;margin-right:5px;box-shadow:inset 0 1px 0 #666,0 1px 0 #bbb;padding:5px 9px;font-size:1em}.cfp-hotkeys-text[_ngcontent-%COMP%]{padding-left:10px;font-size:1em}.cfp-hotkeys-close[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;font-size:2em;font-weight:700;padding:5px 10px;border:1px solid #ddd;border-radius:5px;min-height:45px;min-width:45px;text-align:center}.cfp-hotkeys-close[_ngcontent-%COMP%]:hover{background-color:#fff;cursor:pointer}@media (max-width:500px){.cfp-hotkeys[_ngcontent-%COMP%]{font-size:.8em}}@media (min-width:750px){.cfp-hotkeys[_ngcontent-%COMP%]{font-size:1.2em}}"]}),o1.ctorParameters=()=>[{type:hl}],o1.propDecorators={title:[{type:i.IIB}]};class Md{static forRoot(e={}){return{ngModule:Md,providers:[hl,{provide:bh,useValue:e}]}}}Md.\u0275fac=function(e){return new(e||Md)},Md.\u0275mod=i.oAB({type:Md}),Md.\u0275inj=i.cJS({imports:[[Zo.ez]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(Md,{declarations:function(){return[T3,o1]},imports:function(){return[Zo.ez]},exports:function(){return[T3,o1]}});var X6=B(14765),j1=B(67039);let F1=class{constructor(e,t){this.subject=e,this.activeModal=t,this.changes=!1,this.faSave=st.r6l,this.faHistory=st.qO$,this.faFile=st.gMD,this.faQuestion=st.Psp,this.subject.observableObservation.subscribe(r=>{!!this.observation&&this.observation!==r&&(this.changes=!0),this.observation=r})}};F1.ctorParameters=()=>[{type:ws.j},{type:Fr.Kz}],F1=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-help",template:X6,styles:[j1]})],F1);var df=B(4405),d0=B(92715),qi=B(92938);let O4=class{constructor(e,t,r,l){this.subject=e,this.activeModal=t,this.aclService=r,this.configSubject=l,this.isWorkflowTimelineCollapsed=!1,this.ENV=W2.N,this.faBan=st.gPx,this.faCheck=st.LEp,this.faRandom=st.V$d,this.faClock=Qs.SZw,this.configSubject.observableConfig.subscribe(u=>{this.config=u,console.log("[CONFIG]",u)}),this.subject.observableObservation.subscribe(u=>{this.observation=u,(0,qi.has)(this.observation,"workflow.state")&&"closed"!=this.observation.workflow.state&&this.getAclUsers()})}getAclUsers(){this.aclService.getAclUserList(this.observation._model.type+"_observations",this.observation._id).subscribe(e=>{this.acl_list=e},e=>console.log("ACL User list",e),()=>{})}};O4.ctorParameters=()=>[{type:ws.j},{type:Fr.Kz},{type:A4},{type:Qa.F}],O4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-about",template:df,styles:[d0]})],O4);var u0=B(92999),Sp=B(42470);let S3=class{constructor(e,t){this.subject=e,this.activeModal=t,this.subject.observableObservation.subscribe(r=>{this.observation=r})}};S3.ctorParameters=()=>[{type:ws.j},{type:Fr.Kz}],S3=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-debug",template:u0,styles:[Sp]})],S3);var f5=B(56701),c6=B(58150);let Zf=class extends Cp.Q{constructor(e){super(e)}setActivity(e){this.relativeUrl="/"+e+"/observations/workflow/"}getWorkflowState(e,t){return this.getItem(this.relativeUrl+e,"/state",t)}getWorkflowTodo(e){return this.getList(this.relativeUrl+"todo",e)}getGraph(e,t,r){return this.getItem(this.relativeUrl+e,"/graph/"+t,r)}getMapping(e,t){return this.getItem(this.relativeUrl+e,"/mapping",t)}changeWorkflowState(e,t,r,l){return this.post(this.relativeUrl+e+"/"+t,r,l)}};Zf.ctorParameters=()=>[{type:Mu.eN}],Zf=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],Zf);let Xf=class{constructor(e,t,r,l,u,M,F,_e){this.subject=e,this.apiWorkflow=t,this.router=r,this.route=l,this.domSanitizer=u,this.activeModal=M,this.alertService=F,this.orsService=_e,this.processing=!1,this.payload={comment:""},this.dataReady=!1,this.showCommentInput=!1,this.faInfo=st.YHc,this.faInfoCircle=st.sqG,this.faComment=st.Mzg,this.faRandom=st.V$d,this.faReply=st.Lh7,this.faPaperPlane=st.XCy,this.faRepeat=st.jHE,this.faPaperPlaneRegular=Qs.XCy}ngOnInit(){this.subject.observableObservation.subscribe(e=>{if(this.observation=e,(0,qi.has)(this.observation,"_id")&&this.observation._id){(0,qi.has)(this.observation,"workflow.state")&&"pending_review_ors"===this.observation.workflow.state&&(this.showCommentInput=!0),(0,qi.has)(this.observation,"_model.type")&&"motorfly"===this.observation._model.type&&this.observation._model.version>=3&&("draft"===this.observation.workflow.state&&(this.payload.do_not_process_in_club=this.observation.workflow.settings.do_not_process_in_club),(0,qi.has)(this.observation,"workflow.state")&&"pending_review_ors"===this.observation.workflow.state&&(this.payload.do_not_publish=this.observation.workflow.settings.do_not_publish));try{this.apiWorkflow.setActivity(e._model.type)}catch(t){console.error(t)}this.apiWorkflow.getWorkflowState(this.observation._id).subscribe(t=>{this.workflow=t,this.dataReady=!0},t=>console.log(t),()=>{})}else this.dataReady=!1})}_save(){console.log("JIkes"),this.orsService.save(this.observation._id,{reporter_role:this.observation.reporter_role},this.observation._etag).subscribe(e=>{this.observation._etag=e._etag,this.observation._updated=e._updated,this.observation._version=e._version,this.observation._latest_version=e._latest_version},e=>{console.log(e),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(e))})}workflowChange(e,t=""){this.processing=!0,this.apiWorkflow.changeWorkflowState(this.observation._id,e,this.payload).subscribe(r=>{console.log(r),this.activeModal.close(),this.alertService.success(t+" for OBSREG #"+this.observation.id+" gjennomf\xf8rt",!0,!0,10),this.router.navigate(["/ors",this.observation._model.type,"report",this.observation.id])},r=>{console.log(r),this.processing=!1,this.alertService.error("Det oppstod en feil under "+t+": "+JSON.stringify(r),!1,!0,10)},()=>{})}onChange(e,t){this.subject.update(this.observation),t&&this._save()}getGraph(){this.apiWorkflow.getGraph(this.observation._id,this.observation.workflow.state).subscribe(e=>this.graph="data:image/png;base64,"+e.graph)}narrativeHasContent(){var e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on,Kt,On,Kn,nr,Ci,Ar,oo,el;switch(this.observation._model.type){case"motorfly":case"sportsfly":case"seilfly":return(null===(l=null===(r=null===(t=null===(e=this.observation)||void 0===e?void 0:e.occurrence)||void 0===t?void 0:t.entities)||void 0===r?void 0:r.narrative)||void 0===l?void 0:l.length)>0&&(null===(_t=null===(Ge=null===(Le=null===(_e=null===(F=null===(M=null===(u=this.observation)||void 0===u?void 0:u.occurrence)||void 0===M?void 0:M.entities)||void 0===F?void 0:F.narrative[0])||void 0===_e?void 0:_e.attributes)||void 0===Le?void 0:Le.narrativeText)||void 0===Ge?void 0:Ge.plainText)||void 0===_t?void 0:_t.length)>0||(null===(On=null===(Kt=null===(on=null===(Bt=this.observation)||void 0===Bt?void 0:Bt.occurrence)||void 0===on?void 0:on.entities)||void 0===Kt?void 0:Kt.reportingHistory)||void 0===On?void 0:On.length)>0&&(null===(el=null===(oo=null===(Ar=null===(Ci=null===(nr=null===(Kn=this.observation)||void 0===Kn?void 0:Kn.occurrence)||void 0===nr?void 0:nr.entities)||void 0===Ci?void 0:Ci.reportingHistory[0].attributes)||void 0===Ar?void 0:Ar.reporterSDescription)||void 0===oo?void 0:oo.plainText)||void 0===el?void 0:el.length)>0;default:return!0}}};Xf.ctorParameters=()=>[{type:ws.j},{type:Zf},{type:_r.F0},{type:_r.gz},{type:i1.H7},{type:Fr.Kz},{type:ul.u},{type:zn.Z}],Xf=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-workflow",template:f5,styles:[c6]})],Xf);var Ra,Nr=B(82100),Ha=B(54350);B(52929);!function(d){d.ObsregEvent="OBSREG_EVENT",d.WebSocketEvent="WEB_SOCKET_EVENT"}(Ra||(Ra={}));class s1{constructor(e,t){this.type=e,this.payload=t}}let yh=class{constructor(){this.eventBroker=new Tl.xQ}on(e){return this.eventBroker.pipe((0,K6.h)(t=>t.type===e))}dispatch(e){this.eventBroker.next(e)}};yh=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],yh);const Vc=d=>d instanceof Date,Lp=d=>0===Object.keys(d).length,Jd=d=>null!=d&&"object"==typeof d,M8=(d,...e)=>Object.prototype.hasOwnProperty.call(d,...e),Zg=d=>Jd(d)&&Lp(d),Xg=()=>Object.create(null),Em=(d,e)=>d!==e&&Jd(d)&&Jd(e)?Object.keys(e).reduce((t,r)=>{if(M8(d,r)){const l=Em(d[r],e[r]);return Jd(l)&&Lp(l)||(t[r]=l),t}return t[r]=e[r],t},Xg()):{},k3=Em,Ep=(d,e)=>d!==e&&Jd(d)&&Jd(e)?Object.keys(d).reduce((t,r)=>{if(M8(e,r)){const l=Ep(d[r],e[r]);return Jd(l)&&Lp(l)||(t[r]=l),t}return t[r]=void 0,t},Xg()):{},f0=Ep,Jf=(d,e)=>d===e?{}:Jd(d)&&Jd(e)?Vc(d)||Vc(e)?d.valueOf()==e.valueOf()?{}:e:Object.keys(e).reduce((t,r)=>{if(M8(d,r)){const l=Jf(d[r],e[r]);return Zg(l)&&!Vc(l)&&(Zg(d[r])||!Zg(e[r]))||(t[r]=l),t}return t},Xg()):e,p0=Jf,a1=(d,e)=>({added:k3(d,e),deleted:f0(d,e),updated:p0(d,e)});let $u=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on){this.router=e,this.route=t,this.orsService=r,this.alertService=l,this.subject=u,this.app=M,this.hotkeysService=F,this.modalService=_e,this.confirmService=Le,this.sanitizer=Ge,this.userDataSubject=_t,this.eventQueue=Bt,this.socketService=on,this.faSave=st.r6l,this.faQuestion=st.Psp,this.faInfoCircle=st.sqG,this.faHistory=st.qO$,this.faFile=st.gMD,this.faEye=st.Mdf,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faReply=st.Lh7,this.faRepeat=st.jHE,this.faRandom=st.V$d,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faLock=st.byT,this.dataReady=!1,this.changes=!1,this.hotkeys=[],this.devDebug=!1,this.preview={},this.subject_is_alive=!0,(0,Ha.D)([this.subject.observableObservation.takeWhile(()=>this.subject_is_alive).subscribe(Kt=>{!!Kt&&!!this.observation&&Kt._model.type!=this.observation._model.type&&(console.error("RELOADING ROUTE"),(0,Nr.JG)(e)),Kt?(this.observation=Kt,0===this.observation.id?(this.dataReady=!1,this.shadow=void 0):this.changed()):this.dataReady=!1},Kt=>console.log(Kt),()=>{}),this.userDataSubject.observable.subscribe(Kt=>{Kt&&(this.userData=Kt)},Kt=>console.log("Error getting user data: ",Kt))]),this.socketService.socket.on("action",Kt=>{if("obsreg_reload"===Kt.action)Kt.hasOwnProperty("link")&&"fallskjerm"===Kt.link[0]&&Kt.link[1]===this.observation.id&&console.log("[socket.io] Server asked to reload obsreg")}),this.hotkeys.push(this.hotkeysService.add(new sa(["command+s","ctrl+s"],(Kt,On)=>(console.log("Save"),this.saveIfChanges(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+h","ctrl+h"],(Kt,On)=>(this.openHelp(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+g","ctrl+g"],(Kt,On)=>(this.openDebug(),!1))))}ngOnInit(){this.orsService.setActivity("fallskjerm"),this.eventQueue.on(Ra.ObsregEvent).subscribe(e=>this._handleEvent(e.payload)),this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.app.setTitle("OBSREG Editor #"+this.id),this.getData()})}_handleEvent(e){e.hasOwnProperty("action")&&"force_save"===e.action&&this.saveIfChanges()}ngOnDestroy(){this.hotkeysService.remove(this.hotkeys),this.subject_is_alive=!1,console.log("DESTROYING SUBSCRIPTION")}canDeactivate(){return!this.changes||!this.observation.acl_user.w}paths(e,t){let r;if(qi.isArray(e)){var l=0;r=qi.flatMap(e,function(u){return this.paths(u,(t||"")+"["+l+++"]")})}else r=qi.isPlainObject(e)?qi.flatMap(qi.keys(e),function(u){return qi.map(this.paths(e[u],u),function(M){return(t?t+".":"")+M})}):[];return qi.concat(r,t||[])}update(e){console.log("EDITOR Update",this.changes,e),this.subject.update(this.observation)}getDiff(){return a1(this.shadow,this.observation)}changed(){this.shadow?(0,qi.isEqual)(this.observation,this.shadow)?this.changes=!1:this.changes=!0:this.changes=!1}handleKey(e){console.log(e)}saveIfChanges(){this.changed(),this.changes&&this.observation.acl_user.w&&this.save()}save(){let e=Object.assign({},this.observation);const t=this.observation._id,r=this.observation._etag;if(e._links&&delete e._links,e._created&&delete e._created,e._etag&&delete e._etag,e._latest_version&&delete e._latest_version,e._updated&&delete e._updated,e._version&&delete e._version,e._model&&delete e._model,e.id&&delete e.id,e.reporter&&delete e.reporter,e.club&&delete e.club,e.discipline&&delete e.discipline,e.owner&&delete e.owner,e.acl&&delete e.acl,e.acl_user&&delete e.acl_user,e.workflow)try{delete e.workflow}catch(l){}this.orsService.save(t,e,r).subscribe(l=>{this.observation._etag=l._etag,this.observation._updated=l._updated,this.observation._version=l._version,this.observation._latest_version=l._latest_version,this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},l=>{console.log(l),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(l))})}getData(){console.log("Getting data"),this.dataReady=!1,this.orsService.get(this.id).subscribe(e=>{this.observation=e,this.subject.update(this.observation),void 0===this.observation.rating&&(this.observation.rating={actual:1,potential:1}),this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},e=>{this.error=e,this.dataReady=!0,this.alertService.error(e.message)},()=>{this.dataReady=!0})}openActivities(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeActivities(){this.modalRef.close()}openDiff(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeDiff(){this.modalRef.close()}openHelp(){this.modalRef=this.modalService.open(F1,{size:"lg"})}openAbout(){this.modalRef=this.modalService.open(O4,{size:"lg"})}openDebug(){this.modalRef=this.modalService.open(S3,{size:"lg"})}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}openPreview(e,t,r){this.preview={what:t,title:r},this.modalRef=this.modalService.open(e,{size:"lg"})}openDebugModal(e){this.openModal(e)}openWorkflow(){this.saveIfChanges(),this.workflowRef=this.modalService.open(Xf,{size:"lg"}),this.workflowRef.result.then(e=>{this.getData()},e=>console.log(e))}getJsonFile(){return this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(this.observation,null,2)))}};$u.ctorParameters=()=>[{type:_r.F0},{type:_r.gz},{type:zn.Z},{type:ul.u},{type:ws.j},{type:b1},{type:hl},{type:Fr.FF},{type:_c.zM},{type:i1.H7},{type:Ec.K},{type:yh},{type:E4}],$u.propDecorators={canDeactivate:[{type:i.L6J,args:["window:beforeunload"]}]},$u=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-editor",template:Mp,styles:[l6]})],$u);var ff=B(63949),g0=B(59457),ha=B(56908),m0=B.n(ha);let K3=class{constructor(e,t,r,l,u,M){this.route=e,this.router=t,this.agg=r,this.configService=l,this.calendar=u,this.formatter=M,this.faSave=st.r6l,this.faCalendar=st.fT7,this.activity="fallskjerm",this.dataReady=!1,this.pieTypes=[],this.pieTypesReady=!1,this.pieTypesLabel="behandlede",this.pieStates=[],this.pieStatesReady=!1,this.pieStatesLabel="opprettede",this.typesChartOption={tooltip:{trigger:"item"},series:[{name:"behandlede",type:"pie",radius:["50%","70%"],tooltip:{show:!1},avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:20,fontWeight:"bold"}},labelLine:{show:!1},data:void 0}]},this.typesChartOptionColors={unwanted_act:"#0dcaf0",sharing:"#198754",near_miss:"#fd7e14",incident:"#dc3545",accident:"#000"},this.statesChartOption={tooltip:{trigger:"item"},series:[{name:"opprettede",type:"pie",radius:["50%","70%"],tooltip:{show:!1},avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:20,fontWeight:"bold"}},labelLine:{show:!1},data:void 0}]},this.statesChartOptionColors={closed:"#198754",draft:"#0dcaf0",withdrawn:"#ced4da",unknown:"#dc3545",pending_review_hi:"#495057",pending_review_fs:"#20c997",pending_review_su:"#fd7e14",pending_review_su_aff:"#d63384",pending_review_su_leder:"#6f42c1",pending_review_su_materiell:"#6610f2",pending_review_su_skjerm:"#0d6efd",pending_review_su_tandem:"#ced4da"},this.hoveredDate=null,this.toDate=null,this.view=[700,300],this.dateRangeReady=!1,this.quarts=[],this.stats={},this.statsReady=!1,this.colorScheme={domain:["#5cb85c","#5bc0de","#428bca","#d9534f","#0c0c0c"]},this.agg.setActivity(this.activity),this.sub=this.route.params.subscribe(F=>{this.dataReady=!1,this.discipline_id=F.id?+F.id:-1,this.config?this.updateDashboard():this.configService.observableConfig.subscribe(_e=>{this.config=_e,console.log("CONFIG",_e);const Le=new Date;this.current_year=Le.getFullYear(),this.resetDate()})})}ngOnInit(){this.setQuarters()}ngOnDestroy(){this.sub.unsubscribe()}onOrgChange(e){this.isDataReady()&&(this.updateDashboard(),this.router.navigate([],{relativeTo:this.route,queryParams:{}}))}isDataReady(){return!(!this.pieStatesReady||!this.pieTypesReady)}resetDate(){this.fromDate={year:2015,month:1,day:1,equals:void 0,after:void 0,before:void 0},this.toDate=this.calendar.getToday(),this.setAsDate()}setQuarters(){for(let e=0;e<6;e++){let t=ha().subtract(e,"quarter").endOf("quarter");this.quarts.push({label:t.year()+"-Q"+(t.month()+1)/3,from:ha().subtract(e+1,"quarter").startOf("quarter"),to:t})}console.log("Quarts:",this.quarts)}setDatesFromQuarter(e){console.log("From quarter",e.from._d,e.to._d),this.fromDate={year:e.from.year(),month:e.from.month(),day:e.from.day(),equals:void 0,after:void 0,before:void 0},this.toDate={year:e.to.year(),month:e.to.month(),day:e.to.day(),equals:void 0,after:void 0,before:void 0},this.setAsDate()}setAsDate(){this.dateRangeReady=!1,this.d1=new Date(this.fromDate.year,this.fromDate.month,this.fromDate.day),this.d2=new Date(this.toDate.year,this.toDate.month,this.toDate.day),this.dateRange=[new Date(this.fromDate.year,this.fromDate.month+1,this.fromDate.day),new Date(this.toDate.year,this.toDate.month+1,this.toDate.day)],this.dateRangeReady=!0,this.updateDashboard()}onDateSelection(e){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&e.after(this.fromDate)?(this.toDate=e,this.toDate.month=this.toDate.month-1):(this.toDate=null,this.fromDate=e,this.fromDate.month=this.fromDate.month-1):(this.fromDate=e,this.fromDate.month=this.fromDate.month-1),this.setAsDate()}isHovered(e){return this.fromDate&&!this.toDate&&this.hoveredDate&&e.after(this.fromDate)&&e.before(this.hoveredDate)}isInside(e){return this.toDate&&e.after(this.fromDate)&&e.before(this.toDate)}isRange(e){return e.equals(this.fromDate)||this.toDate&&e.equals(this.toDate)||this.isInside(e)||this.isHovered(e)}updateDashboard(){(0,Ha.D)(this._getTypesPie(),this._getStatesPie(),this._getAvgRatingsDiscipline(),this._getAvgRatings()).subscribe(e=>{console.log("DATA",e),this.pieStates=[],this.pieTypes=[];try{this.pieTypes=e[0]._items.map(u=>({name:this.config.fallskjerm.observation.types[u._id].label,value:u.count,type:u._id,itemStyle:{color:this.typesChartOptionColors[u._id]}}),u=>{console.log("ERR",u)})}catch(u){console.log("ERR pie",u),console.log(e[0]._items)}try{this.pieStates=e[1]._items.map(u=>({name:this.config.fallskjerm.observation.state[u._id].label,value:u.count,itemStyle:{color:this.statesChartOptionColors[u._id]}}),u=>{console.log("ERR",u)})}catch(u){console.log("ERR pie",u),console.log(e[1]._items)}const t=this.pieTypes.reduce((u,M)=>u+M.value,0),r=this.pieTypes.reduce((u,M)=>["accident","incident"].indexOf(M.type)>-1?u+M.value:u,0),l=this.pieStates.reduce((u,M)=>["closed","withdrawn"].indexOf(M.state)<0?u+M.value:u,0);this.stats={total_ors:t,total_injury:r,total_processing:l},console.log("PIESTATES",this.pieStates),this.typesChartOption.series[0].data=this.pieTypes,console.log("PIESTYPES",this.pieTypes),this.statesChartOption.series[0].data=this.pieStates,this.pieTypesReady=!0,this.pieStatesReady=!0;try{this.stats.avg_ratings_discipline=e[2]._items[0].avg}catch(u){console.log("AVG Err discipline",u)}try{let u=0;for(let M=0;M<e[3]._items.length;M++)u+=e[3]._items[M].avg;this.stats.avg_ratings=u/e[3]._items.length}catch(u){console.log("AVG Err ratings",u)}console.log("STATS",this.stats)},e=>console.log("API piefork ERR",e),()=>console.log("Done"))}getStatesTotalValue(){return this.statesChartOption.series[0].data.reduce((e,t)=>e+t.value,0)}getTypesTotalValue(){return this.typesChartOption.series[0].data.reduce((e,t)=>e+t.value,0)}updateDashboardLEGACYWORKS(){(0,Ha.D)(this._getTypesPie(),this._getStatesPie()).subscribe(e=>{this.pieTypes=[],this.pieStates=[],(0,Ha.D)(this.pieTypes=e[0]._items.map(t=>({name:this.config.fallskjerm.observation.types[t._id].label,value:t.count,type:t._id})),this.pieStates=e[1]._items.map(t=>({name:this.config.fallskjerm.observation.state[t._id].label,value:t.count,state:t._id}))).subscribe(t=>{this.pieTypesReady=!0,this.pieStatesReady=!0,console.log("DADADADA",t),this.stats={total_ors:this.pieTypes.reduce((r,l)=>r+l.value,0),total_injury:this.pieTypes.reduce((r,l)=>{if(["accident","incident"].indexOf(l.type)>-1)return r+l.value},0),total_processing:this.pieStates.reduce((r,l)=>{if(["closed","withdrawn"].indexOf(l.state)<0)return r+l.value},0)}},t=>console.log("Piefork ERR",t),()=>{})},e=>console.log("API piefork ERR",e),()=>console.log("Done"))}_getTypesPie(){this.pieTypesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id,$state:"closed"}}};return this.agg.getTypesDiscipline(e)}_getStatesPie(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id}}};return this.agg.getStatesDiscipline(e)}_getAvgRatingsDiscipline(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id}}};return this.agg.getAvgRatingsDiscipline(e)}_getAvgRatings(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString()}}};return this.agg.getAvgRatings(e)}getStatInjuryOrs(){const e=this.pieTypes.reduce((r,l)=>r+l.value,0),t=this.pieTypes.reduce((r,l)=>{if(["accident","incident"].indexOf(l.type)>-1)return r+l.value},0);return Math.round(t/e*100)}getStatProcessedOrs(){const e=this.pieStates.reduce((r,l)=>r+l.value,0),t=this.pieStates.reduce((r,l)=>{if(["closed","withdrawn"].indexOf(l.state)<0)return r+l.value},0);return Math.round(t/e*100)}};K3.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:km.Z},{type:Qa.F},{type:Fr.vL},{type:Fr.NG}],K3=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-dashboard",template:ff,styles:[g0]})],K3);var Ip=B(18306),Ku=B(96162);let P4=class{constructor(e,t){this.userSubject=e,this.app=t,this.faDashboard=st.R76,this.faPieChart=st.D37,this.faSearch=st.wn1,this.faHashtag=st.olY,this.faUser=st.ILF,this.faExchange=st.W2X,this.faRandom=st.V$d,this.faList=st.Zrf,this.userSubject.observable.subscribe(r=>{r&&(this.user_settings=r)},r=>console.log("Error getting user data: ",r),()=>{})}ngOnInit(){this.app.setTitle("OBSREG Oversikt")}};P4.ctorParameters=()=>[{type:Ec.K},{type:b1}],P4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly",template:Ip,styles:[Ku]})],P4);var Z3=B(63027),P7=B(79876);let ku=class{constructor(e,t,r,l,u){this.route=e,this.orsService=t,this.alertService=r,this.app=l,this.configService=u,this.dataReady=!1,this.spinner=!0,this.isWorkflowTimelineCollapsed=!0,this.faEdit=st.Xcf,this.faMapMarker=st.Mzo,this.faRandom=st.V$d,this.faBolt=st.BDt,this.faPlane=st.wKO,this.faFile=st.gMD,this.faStreetView=st.L5M,this.faCloud=st.uM9,this.faUsers=st.FVb,this.faRoad=st.KJ_,this.faExternalLink=st.gJF,this.faDownload=st.q7m,this.faFileAlt=Qs.cwv,this.faCommenting=Qs.yfG,this.faComments=Qs.lXL,this.configService.observableConfig.subscribe(M=>{this.config=M})}ngOnInit(){this.orsService.setActivity("modellfly"),this.inputId&&this.inputId>0?(this.id=this.inputId,this.getData()):this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.version=e.version?e.version:0,this.app.setTitle("OBSREG Rapport #"+this.id),this.getData()})}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onMapReady(e){this.map=e,this.marker.addTo(this.map),this.map.setView(this.marker.getLatLng(),7)}configureMap(){try{this.mapOptions={layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:7,center:(0,Zi.latLng)(59,10)}}catch(e){}}onUpload(e){let t=new FileReader;t.addEventListener("load",r=>{this.currentImage=r.target.result}),t.readAsDataURL(e.target.files[0])}getDiffs(e){let t={};t={query:{max_results:1e3,version:"diffs"}},this.orsService.getObservation(e,t).subscribe(r=>{this.observationDiff=r,console.log("In DIFFS"),console.log(r),this.left="Tester om dette fungerer eller ikke",this.right="Tester vel om dette fungerer kanskje ikke enn s\xe5 lenge"},r=>console.log(r))}getData(){this.dataReady=!1;let e={};this.version>0&&(e={query:{version:this.version}}),this.orsService.getObservation(this.id,e).subscribe(t=>{var r,l;this.observation=t,(null===(l=null===(r=this.observation.location)||void 0===r?void 0:r.geo)||void 0===l?void 0:l.coordinates)&&(this.marker=(0,Zi.marker)([this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1]]),this.configureMap()),this.version>0&&this.version!==this.observation._latest_version&&this.alertService.warning("Utdatert versjon du ser p\xe5 versjon "+this.version+"\xa0av dokumentet. Siste versjon er "+this.observation._latest_version),this.getDiffs(this.observation._id)},t=>{this.alertService.error(t.message),this.error=t,this.dataReady=!1},()=>this.dataReady=!0)}};ku.ctorParameters=()=>[{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1},{type:Qa.F}],ku.propDecorators={inputId:[{type:i.IIB}]},ku=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-report",template:Z3,styles:[P7]})],ku);var Qf=B(56556),gf=B(81754),Sl=B(28537),Jg=B(84505),Zu=B(21631),X3=B(28669);let w2=class{constructor(e,t){this.personService=e,this.apiCache=t,this.involvedArr=new Jg.X([]),this.currentArr=this.involvedArr.asObservable(),this.list=[]}add(e,t){if(t&&t.length>3)this.list.push({id:e,full_name:t}),this.changeArr(this.list);else if(e>0){const r={query:{projection:{full_name:1}}};this.apiCache.get(["user",e,r.query],this.personService.getUser(e,r)).subscribe(l=>{this.list.push({id:e,full_name:l.full_name}),this.changeArr(this.list)},l=>{},()=>{})}}remove(e){this.list=this.list.filter(t=>t.id!=e),this.changeArr(this.list)}update(e){this.changeArr(e)}changeArr(e){let t=[],r=[];for(let l=0;l<e.length;l++)t[e[l].id]||(t[e[l].id]=!0,r.push(e[l]));this.involvedArr.next(r)}};w2.ctorParameters=()=>[{type:Zu.p},{type:X3.G}],w2=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],w2);let z4=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/geo/admin"}get(e){return this.getList(this.relativeUrl,e)}};z4.ctorParameters=()=>[{type:Mu.eN}],z4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],z4);var as=B(69007);let J3=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on,Kt,On){this.router=e,this.route=t,this.orsService=r,this.alertService=l,this.subject=u,this.app=M,this.hotkeysService=F,this.modalService=_e,this.confirmService=Le,this.sanitizer=Ge,this.userDataSubject=_t,this.eventQueue=Bt,this.socketService=on,this.involvedService=Kt,this.geoAdminService=On,this.faSave=st.r6l,this.faQuestion=st.Psp,this.faInfoCircle=st.sqG,this.faHistory=st.qO$,this.faFile=st.gMD,this.faEye=st.Mdf,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faReply=st.Lh7,this.faRepeat=st.jHE,this.faRandom=st.V$d,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faLock=st.byT,this.faUserEdit=st.yXf,this.dataReady=!1,this.changes=!1,this.hotkeys=[],this.devDebug=!1,this.preview={},this.eccairsModalOpen=!1,this.allowedLanguages=[16,43,55,13,54,23,20,31],this.tabActive=1,this.a=[],this.b="Stringish",this.debouncedUpdate=(0,Sl.D)(this.changed,900),this.subject_is_alive=!0,(0,Ha.D)([this.subject.observableObservation.takeWhile(()=>this.subject_is_alive).subscribe(Kn=>{!!Kn&&!!this.observation&&Kn._model.type!=this.observation._model.type&&(console.error("RELOADING ROUTE"),(0,Nr.JG)(e)),Kn?(this.observation=Kn,this.involved||(this.involvedService.add(Kn.reporter,"Meg selv"),this.involved=[Kn.reporter]),0===this.observation.id?(this.dataReady=!1,this.shadow=void 0):this.changed()):this.dataReady=!1},Kn=>console.log(Kn),()=>{}),this.userDataSubject.observable.subscribe(Kn=>{Kn&&(this.userData=Kn)},Kn=>console.log("Error getting user data: ",Kn))]),this.socketService.socket.on("action",Kn=>{switch(Kn.action){case"obsreg_reload":Kn.hasOwnProperty("link")&&"modellfly"===Kn.link[0]&&Kn.link[1]===this.observation.id&&console.log("[socket.io] Server asked to reload obsreg");case"obsreg_e5x_finished_processing":Kn.hasOwnProperty("link")&&"modellfly"===Kn.link[0]&&Kn.link[1]===this.observation.id&&this.getData("e5x")}}),this.hotkeys.push(this.hotkeysService.add(new sa(["command+s","ctrl+s"],(Kn,nr)=>(console.log("Save"),this.saveIfChanges(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+h","ctrl+h"],(Kn,nr)=>(this.openHelp(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+g","ctrl+g"],(Kn,nr)=>(this.openDebug(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+e","ctrl+e"],(Kn,nr)=>(this.openEccairs(this.modalEccairsTemplate),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+b","ctrl+b"],(Kn,nr)=>(this.openWorkflow(),!1))))}ngOnInit(){this.orsService.setActivity("modellfly"),this.eventQueue.on(Ra.ObsregEvent).subscribe(e=>this._handleEvent(e.payload)),this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.app.setTitle("OBSREG Editor #"+this.id),this.getData()})}_handleEvent(e){e.hasOwnProperty("action")&&"force_save"===e.action&&this.saveIfChanges()}ngOnDestroy(){this.hotkeysService.remove(this.hotkeys),this.subject_is_alive=!1,console.log("DESTROYING SUBSCRIPTION")}canDeactivate(){return!this.changes||!this.observation.acl_user.w}paths(e,t){let r;if(qi.isArray(e)){var l=0;r=qi.flatMap(e,function(u){return this.paths(u,(t||"")+"["+l+++"]")})}else r=qi.isPlainObject(e)?qi.flatMap(qi.keys(e),function(u){return qi.map(this.paths(e[u],u),function(M){return(t?t+".":"")+M})}):[];return qi.concat(r,t||[])}update(e){console.log("EDITOR Update",this.changes,e),this.subject.update(this.observation)}getDiff(){return a1(this.shadow,this.observation)}changed(){this.shadow?(0,qi.isEqual)(this.observation,this.shadow)?this.changes=!1:this.changes=!0:this.changes=!1}handleKey(e){console.log(e)}saveIfChanges(){this.changed(),this.changes&&this.observation.acl_user.w&&this.save()}save(){let e=Object.assign({},this.observation);const t=this.observation._id,r=this.observation._etag;if(e._links&&delete e._links,e._created&&delete e._created,e._etag&&delete e._etag,e._latest_version&&delete e._latest_version,e._updated&&delete e._updated,e._version&&delete e._version,e._model&&delete e._model,e.id&&delete e.id,e.reporter&&delete e.reporter,e.club&&delete e.club,e.discipline&&delete e.discipline,e.owner&&delete e.owner,e.acl&&delete e.acl,e.acl_user&&delete e.acl_user,e.workflow)try{delete e.workflow}catch(l){}this.orsService.save(t,e,r).subscribe(l=>{this.observation._etag=l._etag,this.observation._updated=l._updated,this.observation._version=l._version,this.observation._latest_version=l._latest_version,this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},l=>{console.log(l),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(l))})}getData(e="all"){console.log("Getting data"),this.dataReady=!1,this.orsService.get(this.id).subscribe(t=>{"all"===e?(this.subject.reset(),this.observation=t):this.observation.hasOwnProperty(e)&&(this.observation[e]=t[e]),this.subject.update(this.observation),void 0===this.observation.rating&&(this.observation.rating={actual:1,potential:1}),this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},t=>{this.error=t,this.dataReady=!0,this.alertService.error(t.message)},()=>{this.dataReady=!0})}openActivities(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeActivities(){this.modalRef.close()}openDiff(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeDiff(){this.modalRef.close()}openHelp(){this.modalRef=this.modalService.open(F1,{size:"lg"})}openAbout(){this.modalRef=this.modalService.open(O4,{size:"lg"})}openDebug(){this.modalRef=this.modalService.open(S3,{size:"lg"})}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}openPreview(e,t,r){this.preview={what:t,title:r},this.modalRef=this.modalService.open(e,{size:"lg"})}openEccairs(e){var t,r,l,u,M;this.eccairsModalOpen=!0,!this.observation.hasOwnProperty("eccairs2")||qi.isEmpty(null===(t=this.observation)||void 0===t?void 0:t.eccairs2)?(this.observation.eccairs2=(new as.oU).occurrence,this.observation.eccairs2.attributes.responsibleEntity.value=2133,this.observation.eccairs2.entities.reportingHistory=[(new as.LR).reportingHistory],this.observation.eccairs2.entities.reportingHistory[0].attributes.reportingEntity={value:101311},this.observation.eccairs2.entities.reportingHistory[0].attributes.reportIdentification.value="nlf_"+this.observation._model.type+"_"+ +this.observation.id+"_v"+this.observation._version,this.observation.eccairs2.entities.reportingHistory[0].attributes.reportingFormType.value=9823,this.observation.eccairs2.entities.reportingHistory[0].attributes.reportStatus.value=2,this.observation.eccairs2.entities.aircraft=[(new as.T$).aircraft],this.observation.eccairs2.entities.aircraft[0].attributes.annex2ACType.value=[9],this.observation.eccairs2.entities.aircraft[0].attributes.aircraftCategory.value=6,this.observation.eccairs2.entities.aircraft[0].attributes.massGroup.value=1,this.observation.eccairs2.entities.aircraft[0].attributes.operator.value=10003891):(this.observation.eccairs2=Object.assign(Object.assign({},(new as.oU).occurrence),this.observation.eccairs2),this.observation.eccairs2.attributes=Object.assign(Object.assign({},(new as.oU).occurrence.attributes),null===(r=this.observation.eccairs2)||void 0===r?void 0:r.attributes),this.observation.eccairs2.attributes.responsibleEntity.value=2133,this.observation.eccairs2.entities.reportingHistory=[Object.assign(Object.assign({},(new as.LR).reportingHistory),this.observation.eccairs2.entities.reportingHistory[0])],this.observation.eccairs2.entities.reportingHistory[0].attributes.reportingEntity={value:101311},this.observation.eccairs2.entities=Object.assign(Object.assign({},(new as.oU).occurrence.entities),null===(l=this.observation.eccairs2)||void 0===l?void 0:l.entities),this.observation.eccairs2.entities.reportingHistory[0]=Object.assign(Object.assign({},(new as.LR).reportingHistory),this.observation.eccairs2.entities.reportingHistory[0]),this.observation.eccairs2.entities.reportingHistory[0].attributes=Object.assign(Object.assign({},(new as.LR).reportingHistory.attributes),this.observation.eccairs2.entities.reportingHistory[0].attributes),this.observation.eccairs2.entities.reportingHistory[0].entities=Object.assign(Object.assign({},(new as.LR).reportingHistory),this.observation.eccairs2.entities.reportingHistory[0].entities),this.observation.eccairs2.entities.riskAssessment=Object.assign(Object.assign({},(new as.Rh).riskAssessment),this.observation.eccairs2.entities.riskAssessment),this.observation.eccairs2.entities.aircraft[0]=Object.assign(Object.assign({},(new as.T$).aircraft),this.observation.eccairs2.entities.aircraft[0]),this.observation.eccairs2.entities.aircraft[0].attributes=Object.assign(Object.assign({},(new as.T$).aircraft.attributes),this.observation.eccairs2.entities.aircraft[0].attributes),this.observation.eccairs2.entities.aircraft[0].entities=Object.assign(Object.assign({},(new as.T$).aircraft.entities),this.observation.eccairs2.entities.aircraft[0].entities),this.observation.eccairs2.entities.reportingHistory[0].attributes.reportIdentification.value="nlf_"+this.observation._model.type+"_"+ +this.observation.id+"_v"+this.observation._version),console.log("After spread",this.observation.eccairs2),this.observation.eccairs2.attributes.headline=(null===(u=this.observation)||void 0===u?void 0:u.tags.join(" "))||(null===(M=this.observation)||void 0===M?void 0:M.title)||"";let F=new Date(this.observation.when);this.observation.eccairs2.attributes.utcDate.value=[F.getUTCFullYear(),(0,Nr.vk)(F.getUTCMonth()+1),(0,Nr.vk)(F.getUTCDate())].join("-"),this.observation.eccairs2.attributes.utcTime.value=[(0,Nr.vk)(F.getUTCHours()),(0,Nr.vk)(F.getUTCMinutes()),(0,Nr.vk)(F.getUTCSeconds())].join(":"),this.observation.eccairs2.attributes.localDate.value=[F.getFullYear(),(0,Nr.vk)(F.getMonth()+1),(0,Nr.vk)(F.getDate())].join("-"),this.observation.eccairs2.attributes.localTime.value=[(0,Nr.vk)(F.getHours()),(0,Nr.vk)(F.getMinutes()),(0,Nr.vk)(F.getSeconds())].join(":"),this.observation.eccairs2.attributes.longitudeOfOcc.value=this.observation.location.geo.coordinates[1]||void 0,this.observation.eccairs2.attributes.latitudeOfOcc.value=this.observation.location.geo.coordinates[0]||void 0,this.observation.eccairs2.entities.reportingHistory[0].attributes.reporterSDescription=this.observation.description;try{this.observation.eccairs2.attributes.locationName.value=this.observation.location.name||"";const _e={query:{where:{type:"county",geometry:{$geoIntersects:{$geometry:{type:"Point",coordinates:[this.observation.eccairs2.attributes.longitudeOfOcc.value,this.observation.eccairs2.attributes.latitudeOfOcc.value]}}}},projection:{e5x:1}}};this.geoAdminService.get(_e).subscribe(Le=>{1==Le._items.length?(console.log("UPDATE AREA",Le._items[0].e5x),this.observation.eccairs2.attributes.stateAreaOfOcc.value=Le._items[0].e5x):this.observation.eccairs2.attributes.stateAreaOfOcc.value=""},Le=>{this.observation.eccairs2.attributes.stateAreaOfOcc.value=""},()=>{})}catch(_e){}if(this.observation.actions){let _e="",Le="";this.observation.actions.local.length>0&&this.observation.actions.local.join("\n"),this.observation.actions.central.length>0&&this.observation.actions.central.join("\n"),this.observation.eccairs2.entities.reportingHistory[0].attributes.correctiveActions.plainText=_e||"Ingen"+Le||0}this.modalRef=this.modalService.open(e,{size:"xl",fullscreen:"xl"})}closeEccairs2(){this.eccairsModalOpen=!1,this.modalRef.close(),this.observation.eccairs2=this.cleanObject(this.observation.eccairs2),this.subject.update(this.observation),this.saveIfChanges()}openDebugModal(e){this.openModal(e)}openWorkflow(){this.saveIfChanges(),this.workflowRef=this.modalService.open(Xf,{size:"lg"}),this.workflowRef.result.then(e=>{this.getData()},e=>console.log(e))}getJsonFile(){return this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(this.observation,null,2)))}cleanObject(e){let t=this;return Object.keys(e).forEach(function(r){let l=e[r];const u=typeof l;"object"===u?(l.hasOwnProperty("unit")?l.hasOwnProperty("value")?("NaN"===l.value||""===l.value||void 0===l.value)&&delete e[r]:l.hasOwnProperty("value")||delete e[r]:l.hasOwnProperty("value")?("NaN"===l.value||""===l.value||void 0===l.value)&&delete e[r]:l.hasOwnProperty("plainText")?("NaN"===l.plainText||""===l.plainText||void 0===l.plainText)&&delete e[r]:l.hasOwnProperty("value")||l.hasOwnProperty("plainText")||l.hasOwnProperty("additionalText")||!l.hasOwnProperty("additionalTextEncoding")&&!l.hasOwnProperty("textEncoding")?t.cleanObject(l):delete e[r],Object.keys(l).length||delete e[r]):"undefined"===u?delete e[r]:["string","number","bigint","boolean","symbol","function"].indexOf(u)<0&&0===e[r].length&&(console.log("array"),delete e[r])}),e}};J3.ctorParameters=()=>[{type:_r.F0},{type:_r.gz},{type:zn.Z},{type:ul.u},{type:ws.j},{type:b1},{type:hl},{type:Fr.FF},{type:_c.zM},{type:i1.H7},{type:Ec.K},{type:yh},{type:E4},{type:w2},{type:z4}],J3.propDecorators={modalEccairsTemplate:[{type:i.i9L,args:["modalEccairs",{static:!1}]}],canDeactivate:[{type:i.L6J,args:["window:beforeunload"]}]},J3=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor",template:Qf,styles:[gf]})],J3);var Op=B(63912),mf=B(1738),Q3=B(65226);let f6=class{constructor(e,t,r,l){this.route=e,this.router=t,this.orsService=r,this.modalService=l,this.faSave=st.r6l,this.faFilter=st.G_j,this.faDownload=st.q7m,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.dataReady=!1,this.err=!1,this.searching=!1,this.query={where:{}},this.activity="modellfly",this.filter={id:void 0},this.filterOperator="$or",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.orsService.setActivity(this.activity),this.route.queryParams.subscribe(u=>{if((0,qi.isEmpty)(this.query.where)&&u.where){this.query.where=JSON.parse(u.where);for(let M in this.query.where)if("$text"===M)this.text=this.query.where.$text.$search,console.log("Text",this.text);else if("$or"===M||"$and"===M)for(let F of this.query.where[M])for(let _e in F)this.filter[_e]=F[_e];else this.filter[M]=this.query.where[M];this.update()}})}ngOnInit(){this.update()}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}exportTojson(){let e=this.result||[];return(0,Q3.saveAs)(new Blob([JSON.stringify(e,null,2)],{type:"JSON"}),"query.json")}update(){this.searching=!0;let e={query:{where:{}}};this.text&&""!=this.text.replace(/\W/g,"")?e.query.where=Object.assign(Object.assign(Object.assign({},e.query.where),this.query.where),{$text:{$search:this.text}}):!!this.query.where&&this.query.where.hasOwnProperty("$text")&&(delete this.query.where.$text,e.query.where=Object.assign(Object.assign({},e.query.where),this.query.where)),e.query.where.$or=[];for(let t in this.filter)this.filter[t]&&this.filter[t].length>0&&(0===this.filter[t].lastIndexOf("+",0)?e.query.where[t]=this.filter[t].slice(1):this.filter[t].length>0&&e.query.where.$or.push({[t]:this.filter[t]}));this.query=(0,Nr.sW)(e.query,!0),console.log("Cleaned before",(0,Nr.sW)(e.query,!0)),this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.err=!1,this.result=t},t=>{this.err=!0},()=>{this.dataReady=!0,this.router.navigate([],{relativeTo:this.route,queryParams:this.getQuery()}),this.searching=!1})}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};f6.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF}],f6=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-search",template:Op,styles:[mf]})],f6);var p6=B(84299),np=B(28929);let R4=class{constructor(e,t,r,l,u,M){this.route=e,this.router=t,this.agg=r,this.configService=l,this.calendar=u,this.formatter=M,this.faSave=st.r6l,this.faCalendar=st.fT7,this.activity="modellfly",this.dataReady=!1,this.pieTypes=[],this.pieTypesReady=!1,this.pieTypesLabel="behandlede",this.pieStates=[],this.pieStatesReady=!1,this.pieStatesLabel="opprettede",this.typesChartOption={tooltip:{trigger:"item"},series:[{name:"behandlede",type:"pie",radius:["50%","70%"],tooltip:{show:!1},avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:20,fontWeight:"bold"}},labelLine:{show:!1},data:void 0}]},this.typesChartOptionColors={unwanted_act:"#0dcaf0",sharing:"#198754",near_miss:"#fd7e14",incident:"#dc3545",accident:"#000"},this.statesChartOption={tooltip:{trigger:"item"},series:[{name:"opprettede",type:"pie",radius:["50%","70%"],tooltip:{show:!1},avoidLabelOverlap:!1,label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:20,fontWeight:"bold"}},labelLine:{show:!1},data:void 0}]},this.statesChartOptionColors={closed:"#198754",draft:"#0dcaf0",withdrawn:"#ced4da",unknown:"#dc3545",pending_review_hi:"#495057",pending_review_fs:"#20c997",pending_review_su:"#fd7e14",pending_review_su_aff:"#d63384",pending_review_su_leder:"#6f42c1",pending_review_su_materiell:"#6610f2",pending_review_su_skjerm:"#0d6efd",pending_review_su_tandem:"#ced4da"},this.hoveredDate=null,this.toDate=null,this.view=[700,300],this.dateRangeReady=!1,this.quarts=[],this.stats={},this.statsReady=!1,this.colorScheme={domain:["#5cb85c","#5bc0de","#428bca","#d9534f","#0c0c0c"]},this.agg.setActivity(this.activity),this.sub=this.route.params.subscribe(F=>{this.dataReady=!1,this.discipline_id=F.id?+F.id:-1,this.config?this.updateDashboard():this.configService.observableConfig.subscribe(_e=>{this.config=_e,console.log("CONFIG",_e);const Le=new Date;this.current_year=Le.getFullYear(),this.resetDate()})})}ngOnInit(){this.setQuarters()}ngOnDestroy(){this.sub.unsubscribe()}onOrgChange(e){this.isDataReady()&&(this.updateDashboard(),this.router.navigate([],{relativeTo:this.route,queryParams:{}}))}isDataReady(){return!(!this.pieStatesReady||!this.pieTypesReady)}resetDate(){this.fromDate={year:2015,month:1,day:1,equals:void 0,after:void 0,before:void 0},this.toDate=this.calendar.getToday(),this.setAsDate()}setQuarters(){for(let e=0;e<6;e++){let t=ha().subtract(e,"quarter").endOf("quarter");this.quarts.push({label:t.year()+"-Q"+(t.month()+1)/3,from:ha().subtract(e+1,"quarter").startOf("quarter"),to:t})}console.log("Quarts:",this.quarts)}setDatesFromQuarter(e){console.log("From quarter",e.from._d,e.to._d),this.fromDate={year:e.from.year(),month:e.from.month(),day:e.from.day(),equals:void 0,after:void 0,before:void 0},this.toDate={year:e.to.year(),month:e.to.month(),day:e.to.day(),equals:void 0,after:void 0,before:void 0},this.setAsDate()}setAsDate(){this.dateRangeReady=!1,this.d1=new Date(this.fromDate.year,this.fromDate.month,this.fromDate.day),this.d2=new Date(this.toDate.year,this.toDate.month,this.toDate.day),this.dateRange=[new Date(this.fromDate.year,this.fromDate.month+1,this.fromDate.day),new Date(this.toDate.year,this.toDate.month+1,this.toDate.day)],this.dateRangeReady=!0,this.updateDashboard()}onDateSelection(e){this.fromDate||this.toDate?this.fromDate&&!this.toDate&&e.after(this.fromDate)?(this.toDate=e,this.toDate.month=this.toDate.month-1):(this.toDate=null,this.fromDate=e,this.fromDate.month=this.fromDate.month-1):(this.fromDate=e,this.fromDate.month=this.fromDate.month-1),this.setAsDate()}isHovered(e){return this.fromDate&&!this.toDate&&this.hoveredDate&&e.after(this.fromDate)&&e.before(this.hoveredDate)}isInside(e){return this.toDate&&e.after(this.fromDate)&&e.before(this.toDate)}isRange(e){return e.equals(this.fromDate)||this.toDate&&e.equals(this.toDate)||this.isInside(e)||this.isHovered(e)}updateDashboard(){(0,Ha.D)(this._getTypesPie(),this._getStatesPie(),this._getAvgRatingsDiscipline(),this._getAvgRatings()).subscribe(e=>{console.log("DATA",e),this.pieStates=[],this.pieTypes=[];try{this.pieTypes=e[0]._items.map(u=>({name:this.config.modellfly.observation.types[u._id].label,value:u.count,type:u._id,itemStyle:{color:this.typesChartOptionColors[u._id]}}),u=>{console.log("ERR",u)})}catch(u){console.log("ERR pie",u),console.log(e[0]._items)}try{this.pieStates=e[1]._items.map(u=>({name:this.config.modellfly.observation.state[u._id].label,value:u.count,itemStyle:{color:this.statesChartOptionColors[u._id]}}),u=>{console.log("ERR",u)})}catch(u){console.log("ERR pie",u),console.log(e[1]._items)}const t=this.pieTypes.reduce((u,M)=>u+M.value,0),r=this.pieTypes.reduce((u,M)=>["accident","incident"].indexOf(M.type)>-1?u+M.value:u,0),l=this.pieStates.reduce((u,M)=>["closed","withdrawn"].indexOf(M.state)<0?u+M.value:u,0);this.stats={total_ors:t,total_injury:r,total_processing:l},console.log("PIESTATES",this.pieStates),this.typesChartOption.series[0].data=this.pieTypes,console.log("PIESTYPES",this.pieTypes),this.statesChartOption.series[0].data=this.pieStates,this.pieTypesReady=!0,this.pieStatesReady=!0;try{this.stats.avg_ratings_discipline=e[2]._items[0].avg}catch(u){console.log("AVG Err discipline",u),this.stats.avg_ratings_discipline=0}try{let u=0;for(let M=0;M<e[3]._items.length;M++)u+=e[3]._items[M].avg;this.stats.avg_ratings=u/e[3]._items.length}catch(u){console.log("AVG Err ratings",u)}console.log("STATS",this.stats)},e=>console.log("API piefork ERR",e),()=>console.log("Done"))}getStatesTotalValue(){return this.statesChartOption.series[0].data.reduce((e,t)=>e+t.value,0)}getTypesTotalValue(){return this.typesChartOption.series[0].data.reduce((e,t)=>e+t.value,0)}updateDashboardLEGACYWORKS(){(0,Ha.D)(this._getTypesPie(),this._getStatesPie()).subscribe(e=>{this.pieTypes=[],this.pieStates=[],(0,Ha.D)(this.pieTypes=e[0]._items.map(t=>({name:this.config.modellfly.observation.types[t._id].label,value:t.count,type:t._id})),this.pieStates=e[1]._items.map(t=>({name:this.config.modellfly.observation.state[t._id].label,value:t.count,state:t._id}))).subscribe(t=>{this.pieTypesReady=!0,this.pieStatesReady=!0,console.log("DADADADA",t),this.stats={total_ors:this.pieTypes.reduce((r,l)=>r+l.value,0),total_injury:this.pieTypes.reduce((r,l)=>{if(["accident","incident"].indexOf(l.type)>-1)return r+l.value},0),total_processing:this.pieStates.reduce((r,l)=>{if(["closed","withdrawn"].indexOf(l.state)<0)return r+l.value},0)}},t=>console.log("Piefork ERR",t),()=>{})},e=>console.log("API piefork ERR",e),()=>console.log("Done"))}_getTypesPie(){this.pieTypesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id,$state:"closed"}}};return this.agg.getTypesDiscipline(e)}_getStatesPie(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id}}};return this.agg.getStatesDiscipline(e)}_getAvgRatingsDiscipline(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString(),$discipline:this.discipline_id}}};return this.agg.getAvgRatingsDiscipline(e)}_getAvgRatings(){this.pieStatesReady=!1;let e={query:{aggregate:{$from:this.d1.toISOString(),$to:this.d2.toISOString()}}};return this.agg.getAvgRatings(e)}getStatInjuryOrs(){const e=this.pieTypes.reduce((r,l)=>r+l.value,0),t=this.pieTypes.reduce((r,l)=>{if(["accident","incident"].indexOf(l.type)>-1)return r+l.value},0);return Math.round(t/e*100)}getStatProcessedOrs(){const e=this.pieStates.reduce((r,l)=>r+l.value,0),t=this.pieStates.reduce((r,l)=>{if(["closed","withdrawn"].indexOf(l.state)<0)return r+l.value},0);return Math.round(t/e*100)}};R4.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:km.Z},{type:Qa.F},{type:Fr.vL},{type:Fr.NG}],R4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-dashboard",template:p6,styles:[np]})],R4);var ip=B(24202),g5=B(23318);let g6=class{constructor(e){this.app=e,this.faSearch=st.wn1,this.faUser=st.ILF,this.faExchange=st.W2X,this.faRandom=st.V$d,this.faList=st.Zrf}ngOnInit(){this.app.setTitle("OBSREG Oversikt")}};g6.ctorParameters=()=>[{type:b1}],g6=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motor",template:ip,styles:[g5]})],g6);var m6=B(6701),zp=B(19282);let N4=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on){this.route=e,this.router=t,this.orsService=r,this.alertService=l,this.subject=u,this.app=M,this.hotkeysService=F,this.modalService=_e,this.confirmService=Le,this.sanitizer=Ge,this.userDataSubject=_t,this.eventQueue=Bt,this.socketService=on,this.ENV=W2.N,this.dataReady=!1,this.changes=!1,this.hotkeys=[],this.devDebug=!1,this.preview={},this.subject_is_alive=!0,this.faSave=st.r6l,this.faQuestion=st.Psp,this.faFlag=st.RrC,this.faInfoCircle=st.sqG,this.faHistory=st.qO$,this.faFile=st.gMD,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faReply=st.Lh7,this.faRepeat=st.jHE,this.faRandom=st.V$d,this.faUpload=st.cf$,this.faInfo=st.YHc,this.faLock=st.byT,this.faTimes=st.NBC,this.faCheck=st.LEp,(0,Ha.D)([this.subject.observableObservation.takeWhile(()=>this.subject_is_alive).subscribe(Kt=>{Kt?(this.observation=Kt,0===this.observation.id?(this.dataReady=!1,this.shadow=void 0):this.changed()):this.dataReady=!1},Kt=>console.log(Kt),()=>{}),this.userDataSubject.observable.subscribe(Kt=>{Kt&&(this.userData=Kt)},Kt=>console.log("Error getting user data: ",Kt))]),this.socketService.socket.on("action",Kt=>{if("obsreg_e5x_finished_processing"===Kt.action)Kt.hasOwnProperty("link")&&"motorfly"===Kt.link[0]&&Kt.link[1]===this.observation.id&&this.getData("e5x")}),this.hotkeys.push(this.hotkeysService.add(new sa(["command+s","ctrl+s"],(Kt,On)=>(console.log("Save"),this.saveIfChanges(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+h","ctrl+h"],(Kt,On)=>(this.openHelp(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+g","ctrl+g"],(Kt,On)=>(this.openDebug(),!1))))}ngOnInit(){this.orsService.setActivity("motorfly"),this.eventQueue.on(Ra.ObsregEvent).subscribe(e=>this._handleEvent(e.payload)),this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.app.setTitle("OBSREG Editor #"+this.id),this.getData()})}_handleEvent(e){e.hasOwnProperty("action")&&"force_save"===e.action&&this.saveIfChanges()}hasFlag(){for(let e of Object.keys(this.observation.flags))if(this.observation.flags[e])return!0;return!1}ngOnDestroy(){this.hotkeysService.remove(this.hotkeys),this.subject_is_alive=!1,this.subject.unsubscribe(),this.subject.update(void 0),this.subject.unsubscribe()}canDeactivate(){return!this.changes||!this.observation.acl_user.w}showSimpleView(){try{if(!0===this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view)return!0}catch(e){}return!1}toggleSimpleView(){this.userData.settings.ors.hasOwnProperty(this.observation._model.type)?this.userData.settings.ors[this.observation._model.type].hasOwnProperty(this.observation.id)||(this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1}):(this.userData.settings.ors[this.observation._model.type]={},this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1});try{this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view=!this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view,this.userDataSubject.update(this.userData)}catch(e){}}paths(e,t){let r;if(qi.isArray(e)){var l=0;r=qi.flatMap(e,function(u){return this.paths(u,(t||"")+"["+l+++"]")})}else r=qi.isPlainObject(e)?qi.flatMap(qi.keys(e),function(u){return qi.map(this.paths(e[u],u),function(M){return(t?t+".":"")+M})}):[];return qi.concat(r,t||[])}update(){this.subject.update(this.observation)}getDiff(){return a1(this.shadow,this.observation)}changed(){this.shadow?(0,qi.isEqual)(this.observation,this.shadow)?this.changes=!1:this.changes=!0:this.changes=!1}handleKey(e){console.log(e)}saveIfChanges(){this.changes&&this.observation.acl_user.w&&this.save()}save(){let e=Object.assign({},this.observation);const t=this.observation._id,r=this.observation._etag;if(e._links&&delete e._links,e._created&&delete e._created,e._etag&&delete e._etag,e._latest_version&&delete e._latest_version,e._updated&&delete e._updated,e._version&&delete e._version,e._model&&delete e._model,e.id&&delete e.id,e.reporter&&delete e.reporter,e.club&&delete e.club,e.owner&&delete e.owner,e.acl&&delete e.acl,e.acl_user&&delete e.acl_user,e.workflow)try{delete e.workflow}catch(l){}this.orsService.save(t,e,r).subscribe(l=>{this.observation._etag=l._etag,this.observation._updated=l._updated,this.observation._version=l._version,this.observation._latest_version=l._latest_version,this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1,this.update()},l=>{console.log(l),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(l))})}getData(e="all"){console.log("Getting data"),this.orsService.get(this.id).subscribe(t=>{"all"===e?(this.subject.reset(),this.observation=t):this.observation.hasOwnProperty(e)&&(this.observation[e]=t[e]),this.subject.update(this.observation),void 0===this.observation.rating&&(this.observation.rating={actual:1,potential:1}),this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1,this.observation._created===this.observation._updated&&this.alertService.success("Suksess! Du opprettet akkurat en ny observasjon og den fikk l\xf8penummer #"+this.observation.id,!1,!0,60),this.dataReady=!0},t=>{this.error=t,this.dataReady=!0,this.alertService.error(t.message)},()=>{})}openDiff(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeDiff(){this.modalRef.close()}openHelp(){this.modalRef=this.modalService.open(F1,{size:"lg"})}openAbout(){this.modalRef=this.modalService.open(O4,{size:"lg"})}openDebug(){this.modalRef=this.modalService.open(S3,{size:"lg"})}openVersions(e){this.openModal(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}openPreview(e,t,r){this.preview={what:t,title:r},this.modalRef=this.modalService.open(e,{size:"lg"})}openActivities(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeActivities(){this.modalRef.close()}openDebugModal(e){this.openModal(e)}openWorkflow(){this.saveIfChanges(),this.workflowRef=this.modalService.open(Xf,{size:"lg"}),this.workflowRef.result.then(e=>{this.getData()},e=>console.log(e))}getJsonFile(){return this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(this.e5xobservation,null,2)))}};N4.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:ul.u},{type:ws.j},{type:b1},{type:hl},{type:Fr.FF},{type:_c.zM},{type:i1.H7},{type:Ec.K},{type:yh},{type:E4}],N4.propDecorators={canDeactivate:[{type:i.L6J,args:["window:beforeunload"]}]},N4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motor-editor",template:m6,styles:[zp]})],N4);var v5=B(34052),_5=B(28285);let H4=class{constructor(e,t,r,l){this.route=e,this.orsService=t,this.alertService=r,this.app=l,this.dataReady=!1,this.spinner=!0,this.isWorkflowTimelineCollapsed=!0,this.faEdit=st.Xcf,this.faMapMarker=st.Mzo,this.faRandom=st.V$d,this.faBolt=st.BDt,this.faPlane=st.wKO,this.faFile=st.gMD,this.faStreetView=st.L5M,this.faCloud=st.uM9,this.faUsers=st.FVb,this.faRoad=st.KJ_,this.faExternalLink=st.gJF,this.faDownload=st.q7m,this.faFileAlt=Qs.cwv,this.faCommenting=Qs.yfG,this.faComments=Qs.lXL}ngOnInit(){this.orsService.setActivity("motorfly"),this.inputId&&this.inputId>0?(this.id=this.inputId,this.getData()):this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.version=e.version?e.version:0,this.app.setTitle("OBSREG Rapport #"+this.id),this.getData()})}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onUpload(e){let t=new FileReader;t.addEventListener("load",r=>{this.currentImage=r.target.result}),t.readAsDataURL(e.target.files[0])}getDiffs(e){let t={};t={query:{max_results:1e3,version:"diffs"}},this.orsService.getObservation(e,t).subscribe(r=>{this.dataDiff=r,console.log("In DIFFS"),console.log(r),this.left="Tester om dette fungerer eller ikke",this.right="Tester vel om dette fungerer kanskje ikke enn s\xe5 lenge"},r=>console.log(r))}getData(){this.dataReady=!1;let e={};this.version>0&&(e={query:{version:this.version}}),this.orsService.getObservation(this.id,e).subscribe(t=>{this.observation=t,this.version>0&&this.version!==this.observation._latest_version&&this.alertService.warning("Utdatert versjon du ser p\xe5 versjon "+this.version+"\xa0av dokumentet. Siste versjon er "+this.observation._latest_version),this.getDiffs(this.observation._id)},t=>{this.alertService.error(t.message),this.error=t,this.dataReady=!1},()=>this.dataReady=!0)}};H4.ctorParameters=()=>[{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1}],H4.propDecorators={inputId:[{type:i.IIB}]},H4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motor-report",template:v5,styles:[_5]})],H4);var T8=B(35994),z7=B(5889);let L3=class{constructor(e,t,r,l){this.route=e,this.router=t,this.orsService=r,this.modalService=l,this.faSave=st.r6l,this.faFilter=st.G_j,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.faDownload=st.q7m,this.dataReady=!1,this.searching=!1,this.query={where:{}},this.activity="motorfly",this.filter={"aircrafts.aircraft.callsign":void 0,"aircrafts.flight.from.icao":void 0,"aircrafts.flight.to.icao":void 0},this.filterOperator="$or",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.orsService.setActivity(this.activity),this.route.queryParams.subscribe(u=>{if((0,qi.isEmpty)(this.query.where)&&u.where){this.query.where=JSON.parse(u.where);for(let M in this.query.where)if("$text"===M)this.text=this.query.where.$text.$search,console.log("Text",this.text);else if("$or"===M||"$and"===M)for(let F of this.query.where[M])for(let _e in F)this.filter[_e]=F[_e];else this.filter[M]=this.query.where[M];this.update()}})}ngOnInit(){this.update()}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}update(){this.searching=!0;let e={query:{where:{}}};this.text&&""!=this.text.replace(/\W/g,"")?e.query.where=Object.assign(Object.assign(Object.assign({},e.query.where),this.query.where),{$text:{$search:this.text}}):!!this.query.where&&this.query.where.hasOwnProperty("$text")&&(delete this.query.where.$text,e.query.where=Object.assign(Object.assign({},e.query.where),this.query.where)),this.filter["aircrafts.flight.to.icao"]=this.filter["aircrafts.flight.from.icao"],e.query.where.$or=[];for(let t in this.filter)this.filter[t]&&this.filter[t].length>0&&(0===this.filter[t].lastIndexOf("+",0)?e.query.where[t]=this.filter[t].slice(1):this.filter[t].length>0&&e.query.where.$or.push({[t]:this.filter[t]}));this.query=(0,Nr.sW)(e.query,!0),console.log("Cleaned before",(0,Nr.sW)(e.query,!0)),this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.result=t},t=>{},()=>{this.dataReady=!0,this.router.navigate([],{relativeTo:this.route,queryParams:this.getQuery()}),this.searching=!1})}exportTojson(){let e=this.result||[];return(0,Q3.saveAs)(new Blob([JSON.stringify(e,null,2)],{type:"JSON"}),"query.json")}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};L3.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF}],L3=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motor-search",template:T8,styles:[z7]})],L3);var _6=B(55036),rp=B(66201);let wh=class{constructor(e){this.app=e,this.faUser=st.ILF,this.faSearch=st.wn1,this.faExchange=st.W2X,this.faRandom=st.V$d,this.faList=st.Zrf}ngOnInit(){this.app.setTitle("OBSREG Oversikt")}};wh.ctorParameters=()=>[{type:b1}],wh=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly",template:_6,styles:[rp]})],wh);var op=B(3006),v0=B(2680),Mh=B(61555),Th=B(52822),sp=B(44661);function a(d,e,t,r){return new(t||(t=Promise))(function(u,M){function F(Ge){try{Le(r.next(Ge))}catch(_t){M(_t)}}function _e(Ge){try{Le(r.throw(Ge))}catch(_t){M(_t)}}function Le(Ge){Ge.done?u(Ge.value):function l(u){return u instanceof t?u:new t(function(M){M(u)})}(Ge.value).then(F,_e)}Le((r=r.apply(d,e||[])).next())})}Object.create;Object.create;const Lr=function(d,e,t){return{"background-color":d,color:e,"border-color":t}},Oa=["stepHolder"],lc=["stepContainer"];function Pa(d,e){if(1&d&&i._UZ(0,"joyride-arrow",17),2&d){const t=i.oxw();i.Udp("top",t.arrowTopPosition,"px")("left",t.arrowLeftPosition,"px"),i.Q6J("position",t.arrowPosition)}}function vo(d,e){1&d&&i.GkF(0)}function Oo(d,e){if(1&d&&(i._uU(0),i.ALo(1,"async")),2&d){const t=i.oxw();i.hij(" ",i.lcZ(1,1,t.text)," ")}}function wo(d,e){1&d&&i.GkF(0)}function Za(d,e){if(1&d&&(i.TgZ(0,"div",20),i._uU(1),i.qZA()),2&d){const t=i.oxw(2);i.xp6(1),i.Oqu(t.counter)}}function T2(d,e){if(1&d&&(i.TgZ(0,"div",18),i.YNc(1,wo,1,0,"ng-container",9),i.YNc(2,Za,2,1,"ng-template",null,19,i.W1O),i.qZA()),2&d){const t=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",r.customCounter?r.customCounter:t)("ngTemplateOutletContext",r.counterData)}}function Rl(d,e){1&d&&i.GkF(0)}function Nl(d,e){if(1&d&&(i.TgZ(0,"joyride-button",24),i._uU(1),i.ALo(2,"async"),i.qZA()),2&d){const t=i.oxw(2);i.Q6J("color",t.themeColor),i.xp6(1),i.Oqu(i.lcZ(2,2,t.prevText))}}function y1(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",21),i.NdJ("click",function(){return i.CHM(t),i.oxw().prev()}),i.YNc(1,Rl,1,0,"ng-container",22),i.YNc(2,Nl,3,4,"ng-template",null,23,i.W1O),i.qZA()}if(2&d){const t=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",r.customPrevButton?r.customPrevButton:t)}}function fl(d,e){1&d&&i.GkF(0)}function l1(d,e){if(1&d&&(i.TgZ(0,"joyride-button",27),i._uU(1),i.ALo(2,"async"),i.qZA()),2&d){const t=i.oxw(2);i.Q6J("color",t.themeColor),i.xp6(1),i.Oqu(i.lcZ(2,2,t.nextText))}}function pl(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",25),i.NdJ("click",function(){return i.CHM(t),i.oxw().next()}),i.YNc(1,fl,1,0,"ng-container",22),i.YNc(2,l1,3,4,"ng-template",null,26,i.W1O),i.qZA()}if(2&d){const t=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",r.customNextButton?r.customNextButton:t)}}function Uc(d,e){1&d&&i.GkF(0)}function vf(d,e){if(1&d&&(i.TgZ(0,"joyride-button",30),i._uU(1),i.ALo(2,"async"),i.qZA()),2&d){const t=i.oxw(2);i.Q6J("color",t.themeColor),i.xp6(1),i.Oqu(i.lcZ(2,2,t.doneText))}}function E3(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",28),i.NdJ("click",function(){return i.CHM(t),i.oxw().close()}),i.YNc(1,Uc,1,0,"ng-container",22),i.YNc(2,vf,3,4,"ng-template",null,29,i.W1O),i.qZA()}if(2&d){const t=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",r.customDoneButton?r.customDoneButton:t)}}class Sh{constructor(){this.title=new Mh.t,this.text=new Mh.t}}class e4 extends Error{constructor(e){super(e),Object.setPrototypeOf(this,e4.prototype)}}class V1 extends Error{constructor(e){super(e),Object.setPrototypeOf(this,V1.prototype)}}class kh extends Error{constructor(e){super(e),Object.setPrototypeOf(this,kh.prototype)}}const Dc={prev:(0,B1.of)("prev"),next:(0,B1.of)("next"),done:(0,B1.of)("done"),close:(0,B1.of)(null)};class Sa{constructor(){this.themeColor="#3b5560",this.stepDefaultPosition="bottom",this.logsEnabled=!1,this.showCounter=!0,this.showPrevButton=!0,this.stepsOrder=[]}setOptions(e){this.stepsOrder=e.steps,this.stepDefaultPosition=e.stepDefaultPosition?e.stepDefaultPosition:this.stepDefaultPosition,this.logsEnabled=void 0!==e.logsEnabled?e.logsEnabled:this.logsEnabled,this.showCounter=void 0!==e.showCounter?e.showCounter:this.showCounter,this.showPrevButton=void 0!==e.showPrevButton?e.showPrevButton:this.showPrevButton,this.themeColor=e.themeColor?e.themeColor:this.themeColor,this.firstStep=e.startWith,this.waitingTime=void 0!==e.waitingTime?e.waitingTime:1,void 0!==e.customTexts?this.setCustomText(e.customTexts):this.setCustomText(Dc)}getBackdropColor(){return this.hexToRgb(this.themeColor)}getThemeColor(){return this.themeColor}getStepDefaultPosition(){return this.stepDefaultPosition}getStepsOrder(){return this.stepsOrder}getFirstStep(){return this.firstStep}getWaitingTime(){return this.waitingTime}areLogsEnabled(){return this.logsEnabled}isCounterVisible(){return this.showCounter}isPrevButtonVisible(){return this.showPrevButton}getCustomTexts(){return this.customTexts}setCustomText(e){let t,r,l,u;t=e.prev?e.prev:Dc.prev,r=e.next?e.next:Dc.next,l=e.done?e.done:Dc.done,u=e.close?e.close:Dc.close,this.customTexts={prev:this.toObservable(t),next:this.toObservable(r),done:this.toObservable(l),close:this.toObservable(u)}}toObservable(e){return e instanceof Th.y?e:(0,B1.of)(e)}hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(l,u,M,F)=>u+u+M+M+F+F);const r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return r?`${parseInt(r[1],16)}, ${parseInt(r[2],16)}, ${parseInt(r[3],16)}`:null}}Sa.\u0275fac=function(e){return new(e||Sa)},Sa.\u0275prov=i.Yz7({token:Sa,factory:Sa.\u0275fac});const Lu="ngx-joyride:::";class Yc{constructor(e){this.optionService=e}debug(e,t=""){this.optionService.areLogsEnabled()&&console.debug(Lu+e,t)}info(e,t=""){this.optionService.areLogsEnabled()&&console.info(Lu+e,t)}warn(e,t=""){this.optionService.areLogsEnabled()&&console.warn(Lu+e,t)}error(e,t=""){this.optionService.areLogsEnabled()&&console.error(Lu+e,t)}}Yc.\u0275fac=function(e){return new(e||Yc)(i.LFG(Sa))},Yc.\u0275prov=i.Yz7({token:Yc,factory:Yc.\u0275fac});var Lh;!function(d){d.NEXT="NEXT",d.PREV="PREV"}(Lh||(Lh={}));class Xu{constructor(e,t){this.stepOptions=e,this.logger=t,this.tempSteps=[],this.currentStepIndex=-2,this.stepHasBeenModified=new Tl.xQ}getFirstStepIndex(){const e=this.stepOptions.getFirstStep();let r=this.stepOptions.getStepsOrder().indexOf(e);return r<0&&(r=0,void 0!==e&&this.logger.warn(`The step ${e} does not exist. Check in your step list if it's present.`)),r}init(){this.logger.info("Initializing the steps array."),this.steps=[],this.currentStepIndex=this.getFirstStepIndex()-1,this.stepOptions.getStepsOrder().forEach(t=>this.steps.push({id:t,step:null}))}addStep(e){if(this.tempSteps.filter(r=>r.name===e.name).length>0){let r=this.tempSteps.findIndex(l=>l.name===e.name);this.tempSteps[r]=e}else this.logger.info(`Adding step ${e.name} to the steps list.`),this.tempSteps.push(e)}get(e){if(e===Lh.NEXT?this.currentStepIndex++:this.currentStepIndex--,this.currentStepIndex<0||this.currentStepIndex>=this.steps.length)throw new kh("The first or last step of the tour cannot be found!");const t=this.getStepName(this.steps[this.currentStepIndex].id),r=this.tempSteps.findIndex(u=>u.name===t);let l=this.tempSteps[r];return this.steps[this.currentStepIndex].step=l,null==l&&this.logger.warn(`Step ${this.steps[this.currentStepIndex].id} not found in the DOM. Check if it's hidden by *ngIf directive.`),l}getStepRoute(e){let t;return t=e===Lh.NEXT?this.steps[this.currentStepIndex+1]?this.steps[this.currentStepIndex+1].id:null:this.steps[this.currentStepIndex-1]?this.steps[this.currentStepIndex-1].id:null,t&&t.includes("@")?t.split("@")[1]:""}updatePosition(e,t){let r=this.getStepIndex(e);this.steps[r].step?(this.steps[r].step.position=t,this.stepHasBeenModified.next(this.steps[r].step)):this.logger.warn(`Trying to modify the position of ${e} to ${t}. Step not found!Is this step located in a different route?`)}getStepNumber(e){return this.getStepIndex(e)+1}getStepsCount(){return this.stepOptions.getStepsOrder().length}getStepIndex(e){const t=this.steps.map(r=>r.id.includes("@")?r.id.split("@")[0]:r.id).findIndex(r=>e===r);if(-1===t)throw new e4(`The step with name: ${e} does not exist in the step list.`);return t}getStepName(e){return e&&e.includes("@")?e.split("@")[0]:e}}Xu.\u0275fac=function(e){return new(e||Xu)(i.LFG(Sa),i.LFG(Yc))},Xu.\u0275prov=i.Yz7({token:Xu,factory:Xu.\u0275fac});class Np{constructor(e){this.platformId=e,this.fakeDocument={body:{},documentElement:{}},this.fakeWindow={document:this.fakeDocument,navigator:{}}}getNativeWindow(){return(0,Zo.NF)(this.platformId)?window:this.fakeWindow}getNativeDocument(){return(0,Zo.NF)(this.platformId)?document:this.fakeDocument}}Np.\u0275fac=function(e){return new(e||Np)(i.LFG(i.Lbi))},Np.\u0275prov=i.Yz7({token:Np,factory:Np.\u0275fac});class _0{setPrevButton(e){this._prevButton=e}getPrevButton(){return this._prevButton}setNextButton(e){this._nextButton=e}getNextButton(){return this._nextButton}setDoneButton(e){this._doneButton=e}getDoneButton(){return this._doneButton}setCounter(e){this._counter=e}getCounter(){return this._counter}}_0.\u0275fac=function(e){return new(e||_0)},_0.\u0275prov=i.Yz7({token:_0,factory:_0.\u0275fac});const Pv="NO_POSITION";class t4{constructor(e,t,r,l,u,M){this.joyrideStepsContainer=e,this.viewContainerRef=t,this.domService=r,this.router=l,this.templateService=u,this.platformId=M,this.stepPosition=Pv,this.prev=new i.vpe,this.next=new i.vpe,this.done=new i.vpe,this.subscriptions=[],this.windowRef=this.domService.getNativeWindow(),this.step=new Sh}ngAfterViewInit(){if((0,Zo.NF)(this.platformId)){if(this.prevTemplate&&this.templateService.setPrevButton(this.prevTemplate),this.nextTemplate&&this.templateService.setNextButton(this.nextTemplate),this.doneTemplate&&this.templateService.setDoneButton(this.doneTemplate),this.counterTemplate&&this.templateService.setCounter(this.counterTemplate),this.step.position=this.stepPosition,this.step.targetViewContainer=this.viewContainerRef,this.setAsyncFields(this.step),this.step.stepContent=this.stepContent,this.step.stepContentParams=this.stepContentParams,this.step.nextClicked=this.next,this.step.prevCliked=this.prev,this.step.tourDone=this.done,!this.name)throw new e4("All the steps should have the 'joyrideStep' property set with a custom name.");this.step.name=this.name,this.step.route="/"===this.router.url.substr(0,1)?this.router.url.substr(1):this.router.url,this.step.transformCssStyle=this.windowRef.getComputedStyle(this.viewContainerRef.element.nativeElement).transform,this.step.isElementOrAncestorFixed=this.isElementFixed(this.viewContainerRef.element)||this.isAncestorsFixed(this.viewContainerRef.element.nativeElement.parentElement),this.joyrideStepsContainer.addStep(this.step)}}ngOnChanges(e){(e.title||e.text)&&this.setAsyncFields(this.step)}isElementFixed(e){return"fixed"===this.windowRef.getComputedStyle(e.nativeElement).position}setAsyncFields(e){this.title instanceof Th.y?this.subscriptions.push(this.title.subscribe(t=>{e.title.next(t)})):e.title.next(this.title),this.text instanceof Th.y?this.subscriptions.push(this.text.subscribe(t=>{e.text.next(t)})):e.text.next(this.text)}isAncestorsFixed(e){if(!e||!e.parentElement)return!1;let t="fixed"===this.windowRef.getComputedStyle(e.parentElement).position;return"BODY"===e.nodeName?t:!!t||this.isAncestorsFixed(e.parentElement)}ngOnDestroy(){this.subscriptions.forEach(e=>{e.unsubscribe()})}}t4.\u0275fac=function(e){return new(e||t4)(i.Y36(Xu),i.Y36(i.s_b),i.Y36(Np),i.Y36(_r.F0),i.Y36(_0),i.Y36(i.Lbi))},t4.\u0275dir=i.lG2({type:t4,selectors:[["joyrideStep"],["","joyrideStep",""]],inputs:{name:["joyrideStep","name"],nextStep:"nextStep",title:"title",text:"text",stepPosition:"stepPosition",stepContent:"stepContent",stepContentParams:"stepContentParams",prevTemplate:"prevTemplate",nextTemplate:"nextTemplate",doneTemplate:"doneTemplate",counterTemplate:"counterTemplate"},outputs:{prev:"prev",next:"next",done:"done"},features:[i.TTD]});class zv{}class Hp{constructor(e,t){if(this.DOMService=e,(0,Zo.NF)(t)){this.setDocumentHeight();var r=e.getNativeDocument();r&&!r.elementsFromPoint&&(r.elementsFromPoint=this.elementsFromPoint.bind(this))}}getElementFixedTop(e){return e.nativeElement.getBoundingClientRect().top}getElementFixedLeft(e){return e.nativeElement.getBoundingClientRect().left}getElementAbsoluteTop(e){const t=this.getScrollOffsets();return e.nativeElement.getBoundingClientRect().top+t.y}getElementAbsoluteLeft(e){const t=this.getScrollOffsets();return e.nativeElement.getBoundingClientRect().left+t.x}setDocumentHeight(){this.documentHeight=this.calculateDocumentHeight()}getDocumentHeight(){return this.documentHeight}isParentScrollable(e){return this.getFirstScrollableParent(e.nativeElement)!==this.DOMService.getNativeDocument().body}isElementBeyondOthers(e,t,r){const l=t?this.getElementFixedLeft(e):this.getElementAbsoluteLeft(e),u=t?this.getElementFixedTop(e):this.getElementAbsoluteTop(e),M=l+e.nativeElement.getBoundingClientRect().width-1,F=u+e.nativeElement.getBoundingClientRect().height-1,_e=this.DOMService.getNativeDocument().elementsFromPoint(l,u),Le=this.DOMService.getNativeDocument().elementsFromPoint(M,F);return 0===_e.length&&0===Le.length?1:this.getFirstElementWithoutKeyword(_e,r)!==e.nativeElement||this.getFirstElementWithoutKeyword(Le,r)!==e.nativeElement?2:3}scrollIntoView(e,t){const r=this.getFirstScrollableParent(e.nativeElement),l=t?this.getElementFixedTop(e):this.getElementAbsoluteTop(e);r!==this.DOMService.getNativeDocument().body?r.scrollTo?r.scrollTo(0,l-150):r.scrollTop=l-150:this.DOMService.getNativeWindow().scrollTo(0,l-150)}scrollToTheTop(e){const t=this.getFirstScrollableParent(e.nativeElement);t!==this.DOMService.getNativeDocument().body?t.scrollTo?t.scrollTo(0,0):t.scrollTop=0:this.DOMService.getNativeWindow().scrollTo(0,0)}scrollToTheBottom(e){const t=this.getFirstScrollableParent(e.nativeElement);t!==this.DOMService.getNativeDocument().body?t.scrollTo?t.scrollTo(0,this.DOMService.getNativeDocument().body.scrollHeight):t.scrollTop=t.scrollHeight-t.clientHeight:this.DOMService.getNativeWindow().scrollTo(0,this.DOMService.getNativeDocument().body.scrollHeight)}getFirstScrollableParent(e){const t=/(auto|scroll|overlay)/,r=(M,F)=>this.DOMService.getNativeWindow().getComputedStyle(M,null).getPropertyValue(F),u=M=>M&&M!==this.DOMService.getNativeDocument().body?(M=>t.test(r(M,"overflow")+r(M,"overflow-y")+r(M,"overflow-x")))(M)?M:u(M.parentNode):this.DOMService.getNativeDocument().body;return u(e)}calculateDocumentHeight(){const e=this.DOMService.getNativeDocument();return Math.max(e.body.scrollHeight,e.documentElement.scrollHeight,e.body.offsetHeight,e.documentElement.offsetHeight,e.body.clientHeight,e.documentElement.clientHeight)}getScrollOffsets(){const e=this.DOMService.getNativeWindow(),t=this.DOMService.getNativeDocument();return null!=e.pageXOffset?{x:e.pageXOffset,y:e.pageYOffset}:"CSS1Compat"==t.compatMode?{x:t.documentElement.scrollLeft,y:t.documentElement.scrollTop}:{x:t.body.scrollLeft,y:t.body.scrollTop}}elementsFromPoint(e,t){var r=[],l=void 0;do{const u=this.DOMService.getNativeDocument().elementFromPoint(e,t);u&&l!==u?(l=u,r.push(l),l.style.pointerEvents="none"):l=!1}while(l);return r.forEach(function(u){return u.style.pointerEvents="all"}),r}getFirstElementWithoutKeyword(e,t){for(;e[0]&&e[0].classList.toString().includes(t);)e.shift();return e[0]}}Hp.\u0275fac=function(e){return new(e||Hp)(i.LFG(Np),i.LFG(i.Lbi))},Hp.\u0275prov=i.Yz7({token:Hp,factory:Hp.\u0275fac});class Q6{constructor(e,t,r){this.documentService=e,this.optionsService=t,this.rendererFactory=r,this.lastXScroll=0,this.lastYScroll=0,this.setRenderer()}setRenderer(){this.renderer=this.rendererFactory.createRenderer(null,null)}draw(e){this.elementRef=e.targetViewContainer,this.targetAbsoluteTop=this.getTargetTotalTop(e),this.targetAbsoluteLeft=this.getTargetTotalLeft(e),this.currentBackdropContainer=this.renderer.createElement("div"),this.renderer.addClass(this.currentBackdropContainer,"backdrop-container"),this.renderer.setStyle(this.currentBackdropContainer,"position","fixed"),this.renderer.setStyle(this.currentBackdropContainer,"top","0px"),this.renderer.setStyle(this.currentBackdropContainer,"left","0px"),this.renderer.setStyle(this.currentBackdropContainer,"width","100%"),this.renderer.setStyle(this.currentBackdropContainer,"height","100%"),this.renderer.setStyle(this.currentBackdropContainer,"z-index","1000"),this.renderer.setAttribute(this.currentBackdropContainer,"id","backdrop-"+e.name),this.backdropContent=this.renderer.createElement("div"),this.renderer.addClass(this.backdropContent,"backdrop-content"),this.renderer.setStyle(this.backdropContent,"position","relative"),this.renderer.setStyle(this.backdropContent,"height","100%"),this.renderer.setStyle(this.backdropContent,"display","flex"),this.renderer.setStyle(this.backdropContent,"flex-direction","column"),this.renderer.appendChild(this.currentBackdropContainer,this.backdropContent),this.backdropTop=this.renderer.createElement("div"),this.renderer.addClass(this.backdropTop,"joyride-backdrop"),this.renderer.addClass(this.backdropTop,"backdrop-top"),this.renderer.setStyle(this.backdropTop,"width","100%"),this.renderer.setStyle(this.backdropTop,"height",this.targetAbsoluteTop-this.lastYScroll+"px"),this.renderer.setStyle(this.backdropTop,"flex-shrink","0"),this.renderer.setStyle(this.backdropTop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropContent,this.backdropTop),this.backdropMiddleContainer=this.renderer.createElement("div"),this.renderer.addClass(this.backdropMiddleContainer,"backdrop-middle-container"),this.renderer.setStyle(this.backdropMiddleContainer,"height",this.elementRef.element.nativeElement.offsetHeight+"px"),this.renderer.setStyle(this.backdropMiddleContainer,"width","100%"),this.renderer.setStyle(this.backdropMiddleContainer,"flex-shrink","0"),this.renderer.appendChild(this.backdropContent,this.backdropMiddleContainer),this.backdropMiddleContent=this.renderer.createElement("div"),this.renderer.addClass(this.backdropMiddleContent,"backdrop-middle-content"),this.renderer.setStyle(this.backdropMiddleContent,"display","flex"),this.renderer.setStyle(this.backdropMiddleContent,"width","100%"),this.renderer.setStyle(this.backdropMiddleContent,"height","100%"),this.renderer.appendChild(this.backdropMiddleContainer,this.backdropMiddleContent),this.leftBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.leftBackdrop,"joyride-backdrop"),this.renderer.addClass(this.leftBackdrop,"backdrop-left"),this.renderer.setStyle(this.leftBackdrop,"flex-shrink","0"),this.renderer.setStyle(this.leftBackdrop,"width",this.targetAbsoluteLeft-this.lastXScroll+"px"),this.renderer.setStyle(this.leftBackdrop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropMiddleContent,this.leftBackdrop),this.targetBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.targetBackdrop,"backdrop-target"),this.renderer.setStyle(this.targetBackdrop,"flex-shrink","0"),this.renderer.setStyle(this.targetBackdrop,"width",this.elementRef.element.nativeElement.offsetWidth+"px"),this.renderer.appendChild(this.backdropMiddleContent,this.targetBackdrop),this.rightBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.rightBackdrop,"joyride-backdrop"),this.renderer.addClass(this.rightBackdrop,"backdrop-right"),this.renderer.setStyle(this.rightBackdrop,"width","100%"),this.renderer.setStyle(this.rightBackdrop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropMiddleContent,this.rightBackdrop),this.backdropBottom=this.renderer.createElement("div"),this.renderer.addClass(this.backdropBottom,"joyride-backdrop"),this.renderer.addClass(this.backdropBottom,"backdrop-bottom"),this.renderer.setStyle(this.backdropBottom,"width","100%"),this.renderer.setStyle(this.backdropBottom,"height","100%"),this.renderer.setStyle(this.backdropBottom,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropContent,this.backdropBottom),this.removeLastBackdrop(),this.drawCurrentBackdrop(),this.lastBackdropContainer=this.currentBackdropContainer}remove(){this.removeLastBackdrop()}redrawTarget(e){this.targetAbsoluteLeft=this.getTargetTotalLeft(e),this.targetAbsoluteTop=this.getTargetTotalTop(e),this.handleVerticalScroll(e),this.handleHorizontalScroll(e)}getTargetTotalTop(e){let t=e.targetViewContainer;return e.isElementOrAncestorFixed?this.documentService.getElementFixedTop(t.element):this.documentService.getElementAbsoluteTop(t.element)}getTargetTotalLeft(e){let t=e.targetViewContainer;return e.isElementOrAncestorFixed?this.documentService.getElementFixedLeft(t.element):this.documentService.getElementAbsoluteLeft(t.element)}redraw(e,t){this.lastYScroll!==t.scrollY&&(this.lastYScroll=t.scrollY,this.elementRef&&this.handleVerticalScroll(e)),this.lastXScroll!==t.scrollX&&(this.lastXScroll=t.scrollX,this.elementRef&&this.handleHorizontalScroll(e))}handleHorizontalScroll(e){let t=e.isElementOrAncestorFixed?this.targetAbsoluteLeft:this.targetAbsoluteLeft-this.lastXScroll;t>=0?(this.renderer.setStyle(this.leftBackdrop,"width",t+"px"),this.renderer.setStyle(this.targetBackdrop,"width",this.elementRef.element.nativeElement.offsetWidth+"px")):this.handleTargetPartialWidth(t)}handleTargetPartialWidth(e){this.renderer.setStyle(this.leftBackdrop,"width","0px");let t=this.elementRef.element.nativeElement.offsetWidth+e;t>=0?this.renderer.setStyle(this.targetBackdrop,"width",t+"px"):this.renderer.setStyle(this.targetBackdrop,"width","0px")}handleVerticalScroll(e){let t=e.isElementOrAncestorFixed?this.targetAbsoluteTop:this.targetAbsoluteTop-this.lastYScroll;t>=0?(this.renderer.setStyle(this.backdropTop,"height",t+"px"),this.renderer.setStyle(this.backdropMiddleContainer,"height",this.elementRef.element.nativeElement.offsetHeight+"px")):this.handleTargetPartialHeight(t)}handleTargetPartialHeight(e){this.renderer.setStyle(this.backdropTop,"height","0px");let t=this.elementRef.element.nativeElement.offsetHeight+e;t>=0?this.renderer.setStyle(this.backdropMiddleContainer,"height",t+"px"):this.renderer.setStyle(this.backdropMiddleContainer,"height","0px")}removeLastBackdrop(){this.lastBackdropContainer&&(this.renderer.removeChild(document.body,this.lastBackdropContainer),this.lastBackdropContainer=void 0)}drawCurrentBackdrop(){this.renderer.appendChild(document.body,this.currentBackdropContainer)}}Q6.\u0275fac=function(e){return new(e||Q6)(i.LFG(Hp),i.LFG(Sa),i.LFG(i.FYo))},Q6.\u0275prov=i.Yz7({token:Q6,factory:Q6.\u0275fac});class b0{constructor(e,t){this.rendererFactory=e,this.DOMService=t,this.scrollEvent=new Tl.xQ,this.resizeEvent=new Tl.xQ,this.renderer=e.createRenderer(null,null)}startListeningScrollEvents(){this.scrollUnlisten=this.renderer.listen("document","scroll",e=>{this.scrollEvent.next({scrollX:this.DOMService.getNativeWindow().pageXOffset,scrollY:this.DOMService.getNativeWindow().pageYOffset})})}startListeningResizeEvents(){this.resizeUnlisten=this.renderer.listen("window","resize",e=>{this.resizeEvent.next(e)})}stopListeningScrollEvents(){this.scrollUnlisten()}stopListeningResizeEvents(){this.resizeUnlisten()}}b0.\u0275fac=function(e){return new(e||b0)(i.LFG(i.FYo),i.LFG(Np))},b0.\u0275prov=i.Yz7({token:b0,factory:b0.\u0275fac});class Qg{constructor(){this.position="top"}}Qg.\u0275fac=function(e){return new(e||Qg)},Qg.\u0275cmp=i.Xpm({type:Qg,selectors:[["joyride-arrow"]],inputs:{position:"position"},decls:1,vars:8,template:function(e,t){1&e&&i._UZ(0,"div"),2&e&&i.ekj("joyride-arrow__top","top"==t.position)("joyride-arrow__bottom","bottom"==t.position)("joyride-arrow__left","left"==t.position)("joyride-arrow__right","right"==t.position)},styles:[".joyride-arrow__top{border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:11px solid #ffffff}.joyride-arrow__bottom{border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #ffffff}.joyride-arrow__right{border-left:11px solid #ffffff;border-bottom:11px solid transparent;border-top:11px solid transparent}.joyride-arrow__left{border-right:11px solid #ffffff;border-top:11px solid transparent;border-bottom:11px solid transparent}\n"],encapsulation:2});class em{}em.\u0275fac=function(e){return new(e||em)},em.\u0275cmp=i.Xpm({type:em,selectors:[["joy-close-button"]],decls:3,vars:0,consts:[["viewBox","0 0 25 25","xmlns","http://www.w3.org/2000/svg"],["x1","1","y1","24","x2","24","y2","1","stroke","black","stroke-width","3"],["x1","1","y1","1","x2","24","y2","24","stroke","black","stroke-width","3"]],template:function(e,t){1&e&&(i.O4$(),i.TgZ(0,"svg",0),i._UZ(1,"line",1)(2,"line",2),i.qZA())},encapsulation:2});class Dm{constructor(){this.clicked=new i.vpe}onClick(){this.clicked.emit()}}Dm.\u0275fac=function(e){return new(e||Dm)},Dm.\u0275cmp=i.Xpm({type:Dm,selectors:[["joyride-button"]],inputs:{color:"color"},outputs:{clicked:"clicked"},ngContentSelectors:["*"],decls:2,vars:5,consts:[[1,"joyride-button",3,"ngStyle","mouseleave","mouseover","click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"button",0),i.NdJ("mouseleave",function(){return t.hover=!1})("mouseover",function(){return t.hover=!0})("click",function(){return t.onClick()}),i.Hsn(1),i.qZA()),2&e&&i.Q6J("ngStyle",i.kEZ(1,Lr,t.hover?"#fff":t.color,t.hover?t.color:"#fff",t.hover?t.color:"transparent"))},directives:[Zo.PC],styles:[".joyride-button[_ngcontent-%COMP%]{text-transform:uppercase;border:2px solid transparent;outline:none;padding:6px 12px;font-size:12px;font-weight:700;color:#fff;background-color:#3b5560;cursor:pointer}.joyride-button[_ngcontent-%COMP%]:hover{color:#3b5560;border:2px solid #3b5560;background-color:#fff}"]});var k8;!function(d){d[d.RIGHT_ARROW=39]="RIGHT_ARROW",d[d.LEFT_ARROW=37]="LEFT_ARROW",d[d.ESCAPE_KEY=27]="ESCAPE_KEY"}(k8||(k8={}));class tm{constructor(e,t,r,l,u,M,F,_e){this.injector=e,this.stepsContainerService=t,this.eventListenerService=r,this.documentService=l,this.renderer=u,this.logger=M,this.optionsService=F,this.templateService=_e,this.stepWidth=200,this.stepHeight=200,this.showArrow=!0,this.arrowSize=B7,this.subscriptions=[]}ngOnInit(){this.joyrideStepService=this.injector.get(tg),this.documentHeight=this.documentService.getDocumentHeight(),this.subscriptions.push(this.subscribeToResizeEvents()),this.title=this.step.title.asObservable(),this.text=this.step.text.asObservable(),this.setCustomTemplates(),this.setCustomTexts(),this.counter=this.getCounter(),this.isCounterVisible=this.optionsService.isCounterVisible(),this.isPrevButtonVisible=this.optionsService.isPrevButtonVisible(),this.themeColor=this.optionsService.getThemeColor(),this.text&&this.text.subscribe(e=>this.checkRedraw(e)),this.title&&this.title.subscribe(e=>this.checkRedraw(e))}ngAfterViewInit(){if(this.isCustomized())this.renderer.setStyle(this.stepContainer.nativeElement,"max-width","90vw"),this.updateStepDimensions();else{this.renderer.setStyle(this.stepContainer.nativeElement,"max-width","400px");let e=this.getDimensionsByAspectRatio(this.stepContainer.nativeElement.clientWidth,this.stepContainer.nativeElement.clientHeight,1.212);e=this.adjustDimensions(e.width,e.height),this.stepWidth=e.width,this.stepHeight=e.height,this.renderer.setStyle(this.stepContainer.nativeElement,"width",this.stepWidth+"px"),this.renderer.setStyle(this.stepContainer.nativeElement,"height",this.stepHeight+"px")}this.drawStep()}checkRedraw(e){null!=e&&setTimeout(()=>{this.redrawStep()},2)}isCustomized(){return this.step.stepContent||this.templateService.getCounter()||this.templateService.getPrevButton()||this.templateService.getNextButton()||this.templateService.getDoneButton()}setCustomTexts(){const e=this.optionsService.getCustomTexts();this.prevText=e.prev,this.nextText=e.next,this.doneText=e.done}drawStep(){let e=this.step.isElementOrAncestorFixed?"fixed":"absolute";this.renderer.setStyle(this.stepHolder.nativeElement,"position",e),this.renderer.setStyle(this.stepHolder.nativeElement,"transform",this.step.transformCssStyle),this.targetWidth=this.step.targetViewContainer.element.nativeElement.getBoundingClientRect().width,this.targetHeight=this.step.targetViewContainer.element.nativeElement.getBoundingClientRect().height,this.targetAbsoluteLeft="fixed"===e?this.documentService.getElementFixedLeft(this.step.targetViewContainer.element):this.documentService.getElementAbsoluteLeft(this.step.targetViewContainer.element),this.targetAbsoluteTop="fixed"===e?this.documentService.getElementFixedTop(this.step.targetViewContainer.element):this.documentService.getElementAbsoluteTop(this.step.targetViewContainer.element),this.setStepStyle()}getCounter(){let e=this.stepsContainerService.getStepNumber(this.step.name),t=this.stepsContainerService.getStepsCount();return this.counterData={step:e,total:t},e+"/"+t}setCustomTemplates(){this.customContent=this.step.stepContent,this.ctx=this.step.stepContentParams,this.customPrevButton=this.templateService.getPrevButton(),this.customNextButton=this.templateService.getNextButton(),this.customDoneButton=this.templateService.getDoneButton(),this.customCounter=this.templateService.getCounter()}keyEvent(e){console.log(e),e.keyCode===k8.RIGHT_ARROW?this.isLastStep()?this.close():this.next():e.keyCode===k8.LEFT_ARROW?this.prev():e.keyCode===k8.ESCAPE_KEY&&this.close()}prev(){this.joyrideStepService.prev()}next(){this.joyrideStepService.next()}close(){this.joyrideStepService.close()}isFirstStep(){return 1===this.stepsContainerService.getStepNumber(this.step.name)}isLastStep(){return this.stepsContainerService.getStepNumber(this.step.name)===this.stepsContainerService.getStepsCount()}setStepStyle(){switch(this.step.position){case"top":this.setStyleTop();break;case"bottom":default:this.setStyleBottom();break;case"right":this.setStyleRight();break;case"left":this.setStyleLeft();break;case"center":this.setStyleCenter()}}setStyleTop(){this.stepsContainerService.updatePosition(this.step.name,"top"),this.topPosition=this.targetAbsoluteTop-Bp-this.stepHeight,this.stepAbsoluteTop=this.targetAbsoluteTop-Bp-this.stepHeight,this.arrowTopPosition=this.stepHeight,this.leftPosition=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.stepAbsoluteLeft=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.arrowLeftPosition=this.stepWidth/2-this.arrowSize,this.adjustLeftPosition(),this.adjustRightPosition(),this.arrowPosition="bottom",this.autofixTopPosition()}setStyleRight(){this.stepsContainerService.updatePosition(this.step.name,"right"),this.topPosition=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.arrowTopPosition=this.stepHeight/2-this.arrowSize,this.leftPosition=this.targetAbsoluteLeft+this.targetWidth+Bp,this.stepAbsoluteLeft=this.targetAbsoluteLeft+this.targetWidth+Bp,this.arrowLeftPosition=-this.arrowSize,this.adjustTopPosition(),this.adjustBottomPosition(),this.arrowPosition="left",this.autofixRightPosition()}setStyleBottom(){this.stepsContainerService.updatePosition(this.step.name,"bottom"),this.topPosition=this.targetAbsoluteTop+this.targetHeight+Bp,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight+Bp,this.arrowTopPosition=-this.arrowSize,this.arrowLeftPosition=this.stepWidth/2-this.arrowSize,this.leftPosition=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.stepAbsoluteLeft=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.adjustLeftPosition(),this.adjustRightPosition(),this.arrowPosition="top",this.autofixBottomPosition()}setStyleLeft(){this.stepsContainerService.updatePosition(this.step.name,"left"),this.topPosition=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.arrowTopPosition=this.stepHeight/2-this.arrowSize,this.leftPosition=this.targetAbsoluteLeft-this.stepWidth-Bp,this.stepAbsoluteLeft=this.targetAbsoluteLeft-this.stepWidth-Bp,this.arrowLeftPosition=this.stepWidth,this.adjustTopPosition(),this.adjustBottomPosition(),this.arrowPosition="right",this.autofixLeftPosition()}setStyleCenter(){this.renderer.setStyle(this.stepHolder.nativeElement,"position","fixed"),this.renderer.setStyle(this.stepHolder.nativeElement,"top","50%"),this.renderer.setStyle(this.stepHolder.nativeElement,"left","50%"),this.updateStepDimensions(),this.renderer.setStyle(this.stepHolder.nativeElement,"transform",`translate(-${this.stepWidth/2}px, -${this.stepHeight/2}px)`),this.showArrow=!1}adjustLeftPosition(){this.leftPosition<0&&(this.arrowLeftPosition=this.arrowLeftPosition+this.leftPosition-2,this.leftPosition=2)}adjustRightPosition(){let e=document.body.clientWidth;if(this.stepAbsoluteLeft+this.stepWidth>e){let t=this.leftPosition-(this.stepAbsoluteLeft+this.stepWidth+5-e),r=t-this.leftPosition;this.leftPosition=t,this.arrowLeftPosition=this.arrowLeftPosition-r}}adjustTopPosition(){this.stepAbsoluteTop<0&&(this.arrowTopPosition=this.arrowTopPosition+this.topPosition-2,this.topPosition=2)}adjustBottomPosition(){if(this.stepAbsoluteTop+this.stepHeight>this.documentHeight){let e=this.topPosition-(this.stepAbsoluteTop+this.stepHeight+5-this.documentHeight),t=e-this.topPosition;this.topPosition=e,this.arrowTopPosition=this.arrowTopPosition-t}}autofixTopPosition(){this.positionAlreadyFixed?this.logger.warn("No step positions found for this step. The step will be centered."):this.targetAbsoluteTop-this.stepHeight-this.arrowSize<0&&(this.positionAlreadyFixed=!0,this.setStyleRight())}autofixRightPosition(){this.targetAbsoluteLeft+this.targetWidth+this.stepWidth+this.arrowSize>document.body.clientWidth&&this.setStyleBottom()}autofixBottomPosition(){this.targetAbsoluteTop+this.stepHeight+this.arrowSize+this.targetHeight>this.documentHeight&&this.setStyleLeft()}autofixLeftPosition(){this.targetAbsoluteLeft-this.stepWidth-this.arrowSize<0&&this.setStyleTop()}subscribeToResizeEvents(){return this.eventListenerService.resizeEvent.subscribe(()=>{this.redrawStep()})}redrawStep(){this.updateStepDimensions(),this.drawStep()}getDimensionsByAspectRatio(e,t,r){let l=(e+t)/(1+r);return{width:l*r,height:l}}adjustDimensions(e,t){let l=e,u=t;return e>400?(l=400,u=e*t/l):e<200&&(l=200,u=200/1.212),{width:l,height:u}}updateStepDimensions(){this.stepWidth=this.stepContainer.nativeElement.clientWidth,this.stepHeight=this.stepContainer.nativeElement.clientHeight}ngOnDestroy(){this.subscriptions.forEach(e=>{e.unsubscribe()})}}tm.\u0275fac=function(e){return new(e||tm)(i.Y36(i.zs3),i.Y36(Xu),i.Y36(b0),i.Y36(Hp),i.Y36(i.Qsj),i.Y36(Yc),i.Y36(Sa),i.Y36(_0))},tm.\u0275cmp=i.Xpm({type:tm,selectors:[["joyride-step"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Oa,7),i.Gf(lc,7)),2&e){let r;i.iGM(r=i.CRH())&&(t.stepHolder=r.first),i.iGM(r=i.CRH())&&(t.stepContainer=r.first)}},hostBindings:function(e,t){1&e&&i.NdJ("keyup",function(l){return t.keyEvent(l)},!1,i.Jf7)},inputs:{step:"step"},decls:21,vars:17,consts:[[1,"joyride-step__holder",3,"id"],["stepHolder",""],["class","joyride-step__arrow",3,"position","top","left",4,"ngIf"],[1,"joyride-step__container"],["stepContainer",""],[1,"joyride-step__close",3,"click"],[1,"joyride-step__header"],[1,"joyride-step__title"],[1,"joyride-step__body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultContent",""],[1,"joyride-step__footer"],["class","joyride-step__counter-container",4,"ngIf"],[1,"joyride-step__buttons-container"],["class","joyride-step__prev-container joyride-step__button",3,"click",4,"ngIf"],["class","joyride-step__next-container joyride-step__button",3,"click",4,"ngIf","ngIfElse"],["doneButton",""],[1,"joyride-step__arrow",3,"position"],[1,"joyride-step__counter-container"],["defaultCounter",""],[1,"joyride-step__counter"],[1,"joyride-step__prev-container","joyride-step__button",3,"click"],[4,"ngTemplateOutlet"],["defaultPrevButton",""],[1,"joyride-step__prev-button",3,"color"],[1,"joyride-step__next-container","joyride-step__button",3,"click"],["defaulNextButton",""],[3,"color"],[1,"joyride-step__done-container","joyride-step__button",3,"click"],["defaultDoneButton",""],[1,"joyride-step__done-button",3,"color"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0,1),i.YNc(2,Pa,1,5,"joyride-arrow",2),i.TgZ(3,"div",3,4)(5,"joy-close-button",5),i.NdJ("click",function(){return t.close()}),i.qZA(),i.TgZ(6,"div",6)(7,"div",7),i._uU(8),i.ALo(9,"async"),i.qZA()(),i.TgZ(10,"div",8),i.YNc(11,vo,1,0,"ng-container",9),i.YNc(12,Oo,2,3,"ng-template",null,10,i.W1O),i.qZA(),i.TgZ(14,"div",11),i.YNc(15,T2,4,2,"div",12),i.TgZ(16,"div",13),i.YNc(17,y1,4,1,"div",14),i.YNc(18,pl,4,1,"div",15),i.YNc(19,E3,4,1,"ng-template",null,16,i.W1O),i.qZA()()()()),2&e){const r=i.MAs(13),l=i.MAs(20);i.Udp("top",t.topPosition,"px")("left",t.leftPosition,"px"),i.Q6J("id","joyride-step-"+t.step.name),i.xp6(2),i.Q6J("ngIf",t.showArrow),i.xp6(5),i.Udp("color",t.themeColor),i.xp6(1),i.Oqu(i.lcZ(9,15,t.title)),i.xp6(3),i.Q6J("ngTemplateOutlet",t.customContent?t.customContent:r)("ngTemplateOutletContext",t.ctx),i.xp6(4),i.Q6J("ngIf",t.isCounterVisible),i.xp6(2),i.Q6J("ngIf",t.isPrevButtonVisible&&!t.isFirstStep()),i.xp6(1),i.Q6J("ngIf",!t.isLastStep())("ngIfElse",l)}},directives:[Qg,em,Dm,Zo.O5,Zo.tP],pipes:[Zo.Ov],styles:[".joyride-step__holder{position:absolute;font-family:Arial,Helvetica,sans-serif;font-size:16px;z-index:1001}.joyride-step__arrow{position:absolute;left:40px;z-index:1002}.joyride-step__container{box-sizing:border-box;position:relative;color:#000;background-color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:10px;box-shadow:0 0 30px 1px #000}.joyride-step__header{display:flex;align-items:center;padding:8px}.joyride-step__title{font-weight:700;font-size:20px}.joyride-step__close{position:absolute;right:10px;top:10px;width:14px;height:14px;cursor:pointer}.joyride-step__body{text-align:left;padding:10px 8px}.joyride-step__footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-left:8px}.joyride-step__buttons-container{display:flex;flex-direction:row}.joyride-step__button:first-child{margin-right:2.5px}.joyride-step__button:last-child{margin-left:2.5px}.joyride-step__counter{font-weight:700;font-size:14px}.joyride-step__counter-container{margin-right:10px}\n"],encapsulation:2});class nm{constructor(e,t,r){this.componentFactoryResolver=e,this.appRef=t,this.injector=r,this.refMap={}}draw(e){const t=this.componentFactoryResolver.resolveComponentFactory(tm).create(this.injector);this.appRef.attachView(t.hostView);const r=t.hostView.rootNodes[0];document.body.appendChild(r);const l=t.instance;l.step=e,t.changeDetectorRef.detectChanges(),e.stepInstance=l,this.refMap[e.name]=t}remove(e){this.appRef.detachView(this.refMap[e.name].hostView),this.refMap[e.name].destroy()}}nm.\u0275fac=function(e){return new(e||nm)(i.LFG(i._Vd),i.LFG(i.z2F),i.LFG(i.zs3))},nm.\u0275prov=i.Yz7({token:nm,factory:nm.\u0275fac});const Bp=15,B7=10;class tg{constructor(e,t,r,l,u,M,F,_e,Le){this.backDropService=e,this.eventListener=t,this.stepsContainerService=r,this.documentService=l,this.DOMService=u,this.stepDrawerService=M,this.optionsService=F,this.router=_e,this.logger=Le,this.winTopPosition=0,this.winBottomPosition=0,this.stepsObserver=new Mh.t,this.initViewportPositions(),this.subscribeToScrollEvents(),this.subscribeToResizeEvents()}initViewportPositions(){this.winTopPosition=0,this.winBottomPosition=this.DOMService.getNativeWindow().innerHeight-20}subscribeToScrollEvents(){this.eventListener.startListeningScrollEvents(),this.eventListener.scrollEvent.subscribe(e=>{this.winTopPosition=e.scrollY,this.winBottomPosition=this.winTopPosition+this.DOMService.getNativeWindow().innerHeight-20,this.currentStep&&this.backDropService.redraw(this.currentStep,e)})}subscribeToResizeEvents(){this.eventListener.resizeEvent.subscribe(()=>{this.currentStep&&this.backDropService.redrawTarget(this.currentStep)})}drawStep(e){e.position=e.position===Pv?this.optionsService.getStepDefaultPosition():e.position,this.stepDrawerService.draw(e)}startTour(){return this.stepsObserver=new Mh.t,this.stepsContainerService.init(),this.documentService.setDocumentHeight(),this.tryShowStep(Lh.NEXT),this.eventListener.startListeningResizeEvents(),this.subscribeToStepsUpdates(),this.stepsObserver.asObservable()}close(){this.removeCurrentStep(),this.notifyTourIsFinished(),this.DOMService.getNativeWindow().scrollTo(0,0),this.eventListener.stopListeningResizeEvents(),this.backDropService.remove()}prev(){this.removeCurrentStep(),this.currentStep.prevCliked.emit(),this.tryShowStep(Lh.PREV)}next(){this.removeCurrentStep(),this.currentStep.nextClicked.emit(),this.tryShowStep(Lh.NEXT)}navigateToStepPage(e){return a(this,void 0,void 0,function*(){let t=this.stepsContainerService.getStepRoute(e);if(t)return yield this.router.navigate([t])})}subscribeToStepsUpdates(){this.stepsContainerService.stepHasBeenModified.subscribe(e=>{this.currentStep&&this.currentStep.name===e.name&&(this.currentStep=e)})}tryShowStep(e){return a(this,void 0,void 0,function*(){yield this.navigateToStepPage(e);const t=this.optionsService.getWaitingTime();t>100&&this.backDropService.remove(),setTimeout(()=>{try{this.showStep(e)}catch(r){if(r instanceof V1)this.tryShowStep(e);else{if(!(r instanceof kh))throw new Error(r);this.logger.error("Forcing the tour closure: First or Last step not found in the DOM."),this.close()}}},t)})}showStep(e){if(this.currentStep=this.stepsContainerService.get(e),null==this.currentStep)throw new V1("");this.notifyStepClicked(e),this.scrollIfElementBeyondOtherElements(),this.backDropService.draw(this.currentStep),this.drawStep(this.currentStep),this.scrollIfStepAndTargetAreNotVisible()}notifyStepClicked(e){let t={number:this.stepsContainerService.getStepNumber(this.currentStep.name),name:this.currentStep.name,route:this.currentStep.route,actionType:e};this.stepsObserver.next(t)}notifyTourIsFinished(){this.currentStep&&this.currentStep.tourDone.emit(),this.stepsObserver.complete()}removeCurrentStep(){this.currentStep&&this.stepDrawerService.remove(this.currentStep)}scrollIfStepAndTargetAreNotVisible(){this.scrollWhenTargetOrStepAreHiddenBottom(),this.scrollWhenTargetOrStepAreHiddenTop()}scrollWhenTargetOrStepAreHiddenBottom(){let e=this.getMaxTargetAndStepBottomPosition();e>this.winBottomPosition&&this.DOMService.getNativeWindow().scrollBy(0,e-this.winBottomPosition)}scrollWhenTargetOrStepAreHiddenTop(){let e=this.getMaxTargetAndStepTopPosition();e<this.winTopPosition&&this.DOMService.getNativeWindow().scrollBy(0,e-this.winTopPosition)}getMaxTargetAndStepBottomPosition(){let e=this.documentService.getElementAbsoluteTop(this.currentStep.targetViewContainer.element);return"top"===this.currentStep.position?e+this.currentStep.stepInstance.targetHeight:"bottom"===this.currentStep.position?e+this.currentStep.stepInstance.targetHeight+this.currentStep.stepInstance.stepHeight+B7+Bp:"right"===this.currentStep.position||"left"===this.currentStep.position?Math.max(e+this.currentStep.stepInstance.targetHeight,e+this.currentStep.stepInstance.targetHeight/2+this.currentStep.stepInstance.stepHeight/2):void 0}getMaxTargetAndStepTopPosition(){let e=this.documentService.getElementAbsoluteTop(this.currentStep.targetViewContainer.element);return"top"===this.currentStep.position?e-(this.currentStep.stepInstance.stepHeight+B7+Bp):"bottom"===this.currentStep.position?e:"right"===this.currentStep.position||"left"===this.currentStep.position?Math.min(e,e+this.currentStep.stepInstance.targetHeight/2-this.currentStep.stepInstance.stepHeight/2):void 0}scrollIfElementBeyondOtherElements(){2===this.isElementBeyondOthers()&&this.documentService.scrollToTheTop(this.currentStep.targetViewContainer.element),2===this.isElementBeyondOthers()&&this.documentService.scrollToTheBottom(this.currentStep.targetViewContainer.element),1===this.isElementBeyondOthers()&&this.documentService.isParentScrollable(this.currentStep.targetViewContainer.element)&&this.documentService.scrollIntoView(this.currentStep.targetViewContainer.element,this.currentStep.isElementOrAncestorFixed),1===this.isElementBeyondOthers()&&this.documentService.isParentScrollable(this.currentStep.targetViewContainer.element)&&this.currentStep.targetViewContainer.element.nativeElement.scrollIntoView()}isElementBeyondOthers(){return this.documentService.isElementBeyondOthers(this.currentStep.targetViewContainer.element,this.currentStep.isElementOrAncestorFixed,"backdrop")}}tg.\u0275fac=function(e){return new(e||tg)(i.LFG(Q6),i.LFG(b0),i.LFG(Xu),i.LFG(Hp),i.LFG(Np),i.LFG(nm),i.LFG(Sa),i.LFG(_r.F0),i.LFG(Yc))},tg.\u0275prov=i.Yz7({token:tg,factory:tg.\u0275fac});class Im{constructor(e,t,r){this.platformId=e,this.stepService=t,this.optionsService=r,this.tourInProgress=!1}startTour(e){return(0,Zo.NF)(this.platformId)?(this.tourInProgress||(this.tourInProgress=!0,e&&this.optionsService.setOptions(e),this.tour$=this.stepService.startTour().pipe((0,sp.x)(()=>this.tourInProgress=!1)),this.tour$.subscribe()),this.tour$):(0,B1.of)(new zv)}closeTour(){this.isTourInProgress()&&this.stepService.close()}isTourInProgress(){return this.tourInProgress}}Im.\u0275fac=function(e){return new(e||Im)(i.LFG(i.Lbi),i.LFG(tg),i.LFG(Sa))},Im.\u0275prov=i.Yz7({token:Im,factory:Im.\u0275fac});const b5=_r.Bz.forChild([]);class j4{static forRoot(){return{ngModule:j4,providers:[Im,tg,Xu,Q6,b0,Hp,Sa,nm,Np,Yc,_0]}}static forChild(){return{ngModule:j4,providers:[]}}}j4.\u0275fac=function(e){return new(e||j4)},j4.\u0275mod=i.oAB({type:j4,declarations:[t4,tm,Qg,Dm,em],imports:[Zo.ez,_r.Bz],exports:[t4]}),j4.\u0275inj=i.cJS({imports:[[Zo.ez,b5]]});let im=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on,Kt){this.route=e,this.router=t,this.orsService=r,this.alertService=l,this.subject=u,this.app=M,this.hotkeysService=F,this.modalService=_e,this.confirmService=Le,this.sanitizer=Ge,this.userDataSubject=_t,this.joyrideService=Bt,this.eventQueue=on,this.socketService=Kt,this.faSave=st.r6l,this.faQuestion=st.Psp,this.faFlag=st.RrC,this.faInfoCircle=st.sqG,this.faHistory=st.qO$,this.faFile=st.gMD,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faReply=st.Lh7,this.faRepeat=st.jHE,this.faRandom=st.V$d,this.faUpload=st.cf$,this.faInfo=st.YHc,this.faLock=st.byT,this.faTimes=st.NBC,this.faCheck=st.LEp,this.ENV=W2.N,this.dataReady=!1,this.changes=!1,this.hotkeys=[],this.devDebug=!1,this.preview={},this.subject_is_alive=!0,(0,Ha.D)([this.subject.observableObservation.takeWhile(()=>this.subject_is_alive).subscribe(On=>{On?(this.observation=On,0===this.observation.id?(this.dataReady=!1,this.shadow=void 0):this.changed()):this.dataReady=!1},On=>console.log(On),()=>{}),this.userDataSubject.observable.subscribe(On=>{On&&(this.userData=On)},On=>console.log("Error getting user data: ",On))]),this.socketService.socket.on("action",On=>{if("obsreg_e5x_finished_processing"===On.action)On.hasOwnProperty("link")&&"sportsfly"===On.link[0]&&On.link[1]===this.observation.id&&this.getData("e5x")}),this.hotkeys.push(this.hotkeysService.add(new sa(["command+s","ctrl+s"],(On,Kn)=>(console.log("Save"),this.saveIfChanges(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+h","ctrl+h"],(On,Kn)=>(this.openHelp(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+g","ctrl+g"],(On,Kn)=>(this.openDebug(),!1))))}ngOnInit(){this.orsService.setActivity("sportsfly"),this.eventQueue.on(Ra.ObsregEvent).subscribe(e=>this._handleEvent(e.payload)),this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.app.setTitle("OBSREG Editor #"+this.id),this.getData()})}_handleEvent(e){e.hasOwnProperty("action")&&"force_save"===e.action&&this.saveIfChanges()}hasFlag(){for(let e of Object.keys(this.observation.flags))if(this.observation.flags[e])return!0;return!1}ngOnDestroy(){this.hotkeysService.remove(this.hotkeys),this.subject_is_alive=!1,this.subject.unsubscribe(),this.subject.update(void 0),this.subject.unsubscribe()}canDeactivate(){return!this.changes||!this.observation.acl_user.w}showSimpleView(){try{if(!0===this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view)return!0}catch(e){}return!1}toggleSimpleView(){this.userData.settings.ors.hasOwnProperty(this.observation._model.type)?this.userData.settings.ors[this.observation._model.type].hasOwnProperty(this.observation.id)||(this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1}):(this.userData.settings.ors[this.observation._model.type]={},this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1});try{this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view=!this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view,this.userDataSubject.update(this.userData)}catch(e){}}paths(e,t){let r;if(qi.isArray(e)){var l=0;r=qi.flatMap(e,function(u){return this.paths(u,(t||"")+"["+l+++"]")})}else r=qi.isPlainObject(e)?qi.flatMap(qi.keys(e),function(u){return qi.map(this.paths(e[u],u),function(M){return(t?t+".":"")+M})}):[];return qi.concat(r,t||[])}update(){this.subject.update(this.observation)}getDiff(){return a1(this.shadow,this.observation)}changed(){this.shadow?(0,qi.isEqual)(this.observation,this.shadow)?this.changes=!1:this.changes=!0:this.changes=!1}handleKey(e){console.log(e)}saveIfChanges(){this.changes&&this.observation.acl_user.w&&this.save()}save(){let e=Object.assign({},this.observation);const t=this.observation._id,r=this.observation._etag;if(e._links&&delete e._links,e._created&&delete e._created,e._etag&&delete e._etag,e._latest_version&&delete e._latest_version,e._updated&&delete e._updated,e._version&&delete e._version,e._model&&delete e._model,e.id&&delete e.id,e.reporter&&delete e.reporter,e.club&&delete e.club,e.owner&&delete e.owner,e.acl&&delete e.acl,e.acl_user&&delete e.acl_user,e.workflow)try{delete e.workflow}catch(l){}this.orsService.save(t,e,r).subscribe(l=>{this.observation._etag=l._etag,this.observation._updated=l._updated,this.observation._version=l._version,this.observation._latest_version=l._latest_version,this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},l=>{console.log(l),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(l))})}getData(e="all"){console.log("Getting data"),this.orsService.get(this.id).subscribe(t=>{"all"===e?(this.subject.reset(),this.observation=t):this.observation.hasOwnProperty(e)&&(this.observation[e]=t[e]),this.subject.update(this.observation),void 0===this.observation.rating&&(this.observation.rating={actual:1,potential:1}),this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1,this.observation._created===this.observation._updated&&this.alertService.success("Suksess! Du opprettet akkurat en ny observasjon og den fikk l\xf8penummer #"+this.observation.id,!1,!0,60),this.dataReady=!0},t=>{this.error=t,this.dataReady=!0,this.alertService.error(t.message)},()=>{})}openDiff(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeDiff(){this.modalRef.close()}openHelp(){this.modalRef=this.modalService.open(F1,{size:"lg"})}openAbout(){this.modalRef=this.modalService.open(O4,{size:"lg"})}openDebug(){this.modalRef=this.modalService.open(S3,{size:"lg"})}openVersions(e){this.openModal(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}openPreview(e,t,r){this.preview={what:t,title:r},this.modalRef=this.modalService.open(e,{size:"lg"})}openDebugModal(e){this.openModal(e)}openActivities(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeActivities(){this.modalRef.close()}openWorkflow(){this.saveIfChanges(),this.workflowRef=this.modalService.open(Xf,{size:"lg"}),this.workflowRef.result.then(e=>{this.getData()},e=>console.log(e))}getJsonFile(){return this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(this.e5xobservation,null,2)))}};im.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:ul.u},{type:ws.j},{type:b1},{type:hl},{type:Fr.FF},{type:_c.zM},{type:i1.H7},{type:Ec.K},{type:Im},{type:yh},{type:E4}],im.propDecorators={canDeactivate:[{type:i.L6J,args:["window:beforeunload"]}]},im=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly-editor",template:op,styles:[v0]})],im);var Nv=B(45081),ng=B(27360);let ig=class{constructor(e,t,r,l){this.route=e,this.orsService=t,this.alertService=r,this.app=l,this.dataReady=!1,this.spinner=!0,this.isWorkflowTimelineCollapsed=!0,this.faEdit=st.Xcf,this.faMapMarker=st.Mzo,this.faRandom=st.V$d,this.faBolt=st.BDt,this.faDownload=st.q7m,this.faPlane=st.wKO,this.faFile=st.gMD,this.faStreetView=st.L5M,this.faCloud=st.uM9,this.faUsers=st.FVb,this.faRoad=st.KJ_,this.faExternalLink=st.gJF,this.faComments=Qs.lXL,this.faCommenting=Qs.yfG}ngOnInit(){this.orsService.setActivity("sportsfly"),this.inputId&&this.inputId>0?(this.id=this.inputId,this.getData()):this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.version=e.version?e.version:0,this.app.setTitle("OBSREG Rapport #"+this.id),this.getData()})}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onUpload(e){let t=new FileReader;t.addEventListener("load",r=>{this.currentImage=r.target.result}),t.readAsDataURL(e.target.files[0])}getDiffs(e){let t={};t={query:{max_results:1e3,version:"diffs"}},this.orsService.getObservation(e,t).subscribe(r=>{this.dataDiff=r,console.log("In DIFFS"),console.log(r),this.left="Tester om dette fungerer eller ikke",this.right="Tester vel om dette fungerer kanskje ikke enn s\xe5 lenge"},r=>console.log(r))}getData(){this.dataReady=!1;let e={};this.version>0&&(e={query:{version:this.version}}),this.orsService.getObservation(this.id,e).subscribe(t=>{this.observation=t,this.version>0&&this.version!==this.observation._latest_version&&this.alertService.warning("Utdatert versjon du ser p\xe5 versjon "+this.version+"\xa0av dokumentet. Siste versjon er "+this.observation._latest_version),this.getDiffs(this.observation._id)},t=>{this.alertService.error(t.message),this.error=t,this.dataReady=!1},()=>this.dataReady=!0)}};ig.ctorParameters=()=>[{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1}],ig.propDecorators={inputId:[{type:i.IIB}]},ig=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly-report",template:Nv,styles:[ng]})],ig);var Hv=B(54969),Bv=B(25098);let y5=class{constructor(e,t,r,l){this.route=e,this.router=t,this.orsService=r,this.modalService=l,this.faSave=st.r6l,this.faFilter=st.G_j,this.faDownload=st.q7m,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.dataReady=!1,this.searching=!1,this.query={where:{}},this.activity="sportsfly",this.filter={"aircrafts.aircraft.callsign":void 0,"aircrafts.flight.from.icao":void 0,"aircrafts.flight.to.icao":void 0},this.filterOperator="$or",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.orsService.setActivity(this.activity),this.route.queryParams.subscribe(u=>{if((0,qi.isEmpty)(this.query.where)&&u.where){this.query.where=JSON.parse(u.where);for(let M in this.query.where)if("$text"===M)this.text=this.query.where.$text.$search,console.log("Text",this.text);else if("$or"===M||"$and"===M)for(let F of this.query.where[M])for(let _e in F)this.filter[_e]=F[_e];else this.filter[M]=this.query.where[M];this.update()}})}ngOnInit(){this.update()}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}update(){this.searching=!0;let e={query:{where:{}}};this.text&&""!=this.text.replace(/\W/g,"")?e.query.where=Object.assign(Object.assign(Object.assign({},e.query.where),this.query.where),{$text:{$search:this.text}}):!!this.query.where&&this.query.where.hasOwnProperty("$text")&&(delete this.query.where.$text,e.query.where=Object.assign(Object.assign({},e.query.where),this.query.where)),this.filter["aircrafts.flight.to.icao"]=this.filter["aircrafts.flight.from.icao"],e.query.where.$or=[];for(let t in this.filter)this.filter[t]&&this.filter[t].length>0&&(0===this.filter[t].lastIndexOf("+",0)?e.query.where[t]=this.filter[t].slice(1):this.filter[t].length>0&&e.query.where.$or.push({[t]:this.filter[t]}));this.query=(0,Nr.sW)(e.query,!0),console.log("Cleaned before",(0,Nr.sW)(e.query,!0)),this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.result=t},t=>{},()=>{this.dataReady=!0,this.router.navigate([],{relativeTo:this.route,queryParams:this.getQuery()}),this.searching=!1})}exportTojson(){let e=this.result||[];return(0,Q3.saveAs)(new Blob([JSON.stringify(e,null,2)],{type:"JSON"}),"query.json")}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};y5.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF}],y5=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly-search",template:Hv,styles:[Bv]})],y5);var y_=B(10827),F7=B(97419);let rm=class{constructor(e){this.app=e,this.faUser=st.ILF,this.faSearch=st.wn1,this.faExchange=st.W2X,this.faRandom=st.V$d,this.faList=st.Zrf}ngOnInit(){this.app.setTitle("OBSREG Oversikt")}};rm.ctorParameters=()=>[{type:b1}],rm=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly",template:y_,styles:[F7]})],rm);var jv=B(81899),C_=B(34879);let x5=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt,on){this.route=e,this.router=t,this.orsService=r,this.alertService=l,this.subject=u,this.app=M,this.hotkeysService=F,this.modalService=_e,this.confirmService=Le,this.sanitizer=Ge,this.userDataSubject=_t,this.eventQueue=Bt,this.socketService=on,this.ENV=W2.N,this.dataReady=!1,this.changes=!1,this.hotkeys=[],this.devDebug=!1,this.preview={},this.subject_is_alive=!0,this.faSave=st.r6l,this.faQuestion=st.Psp,this.faFlag=st.RrC,this.faInfoCircle=st.sqG,this.faHistory=st.qO$,this.faFile=st.gMD,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faReply=st.Lh7,this.faRepeat=st.jHE,this.faRandom=st.V$d,this.faUpload=st.cf$,this.faInfo=st.YHc,this.faLock=st.byT,this.faTimes=st.NBC,this.faCheck=st.LEp,(0,Ha.D)([this.subject.observableObservation.takeWhile(()=>this.subject_is_alive).subscribe(Kt=>{Kt?(this.observation=Kt,0===this.observation.id?(this.dataReady=!1,this.shadow=void 0):this.changed()):this.dataReady=!1},Kt=>console.log(Kt),()=>{}),this.userDataSubject.observable.subscribe(Kt=>{Kt&&(this.userData=Kt)},Kt=>console.log("Error getting user data: ",Kt))]),this.socketService.socket.on("action",Kt=>{if("obsreg_e5x_finished_processing"===Kt.action)Kt.hasOwnProperty("link")&&"seilfly"===Kt.link[0]&&Kt.link[1]===this.observation.id&&this.getData("e5x")}),this.hotkeys.push(this.hotkeysService.add(new sa(["command+s","ctrl+s"],(Kt,On)=>(console.log("Save"),this.saveIfChanges(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+h","ctrl+h"],(Kt,On)=>(this.openHelp(),!1)))),this.hotkeys.push(this.hotkeysService.add(new sa(["command+g","ctrl+g"],(Kt,On)=>(this.openDebug(),!1))))}ngOnInit(){this.orsService.setActivity("seilfly"),this.eventQueue.on(Ra.ObsregEvent).subscribe(e=>this._handleEvent(e.payload)),this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.app.setTitle("OBSREG Editor #"+this.id),this.getData()})}_handleEvent(e){e.hasOwnProperty("action")&&"force_save"===e.action&&this.saveIfChanges()}hasFlag(){for(let e of Object.keys(this.observation.flags))if(this.observation.flags[e])return!0;return!1}ngOnDestroy(){this.hotkeysService.remove(this.hotkeys),this.subject_is_alive=!1,this.subject.unsubscribe(),this.subject.update(void 0),this.subject.unsubscribe()}canDeactivate(){return!this.changes||!this.observation.acl_user.w}showSimpleView(){try{if(!0===this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view)return!0}catch(e){}return!1}toggleSimpleView(){this.userData.settings.ors.hasOwnProperty(this.observation._model.type)?this.userData.settings.ors[this.observation._model.type].hasOwnProperty(this.observation.id)||(this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1}):(this.userData.settings.ors[this.observation._model.type]={},this.userData.settings.ors[this.observation._model.type][this.observation.id]={simple_view:!1});try{this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view=!this.userData.settings.ors[this.observation._model.type][this.observation.id].simple_view,this.userDataSubject.update(this.userData)}catch(e){}}paths(e,t){let r;if(qi.isArray(e)){var l=0;r=qi.flatMap(e,function(u){return this.paths(u,(t||"")+"["+l+++"]")})}else r=qi.isPlainObject(e)?qi.flatMap(qi.keys(e),function(u){return qi.map(this.paths(e[u],u),function(M){return(t?t+".":"")+M})}):[];return qi.concat(r,t||[])}update(){this.subject.update(this.observation)}getDiff(){return a1(this.shadow,this.observation)}changed(){this.shadow?(0,qi.isEqual)(this.observation,this.shadow)?this.changes=!1:this.changes=!0:this.changes=!1}handleKey(e){console.log(e)}saveIfChanges(){this.changes&&this.observation.acl_user.w&&this.save()}save(){let e=Object.assign({},this.observation);const t=this.observation._id,r=this.observation._etag;if(e._links&&delete e._links,e._created&&delete e._created,e._etag&&delete e._etag,e._latest_version&&delete e._latest_version,e._updated&&delete e._updated,e._version&&delete e._version,e._model&&delete e._model,e.id&&delete e.id,e.reporter&&delete e.reporter,e.club&&delete e.club,e.owner&&delete e.owner,e.acl&&delete e.acl,e.acl_user&&delete e.acl_user,e.workflow)try{delete e.workflow}catch(l){}this.orsService.save(t,e,r).subscribe(l=>{this.observation._etag=l._etag,this.observation._updated=l._updated,this.observation._version=l._version,this.observation._latest_version=l._latest_version,this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1},l=>{console.log(l),this.alertService.error("En feil oppstod under lagring: "+JSON.stringify(l))})}getData(e="all"){console.log("Getting data"),this.orsService.get(this.id).subscribe(t=>{"all"===e?(this.subject.reset(),this.observation=t):this.observation.hasOwnProperty(e)&&(this.observation[e]=t[e]),this.subject.update(this.observation),void 0===this.observation.rating&&(this.observation.rating={actual:1,potential:1}),this.shadow=(0,qi.cloneDeep)(this.observation),this.changes=!1,this.observation._created===this.observation._updated&&this.alertService.success("Suksess! Du opprettet akkurat en ny observasjon og den fikk l\xf8penummer #"+this.observation.id,!1,!0,60),this.dataReady=!0},t=>{this.error=t,this.dataReady=!0,this.alertService.error(t.message)},()=>{})}openDiff(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeDiff(){this.modalRef.close()}openHelp(){this.modalRef=this.modalService.open(F1,{size:"lg"})}openAbout(){this.modalRef=this.modalService.open(O4,{size:"lg"})}openDebug(){this.modalRef=this.modalService.open(S3,{size:"lg"})}openVersions(e){this.openModal(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}openPreview(e,t,r){this.preview={what:t,title:r},this.modalRef=this.modalService.open(e,{size:"lg"})}openDebugModal(e){this.openModal(e)}openActivities(e){this.modalRef=this.modalService.open(e,{size:"lg"})}closeActivities(){this.modalRef.close()}openWorkflow(){this.saveIfChanges(),this.workflowRef=this.modalService.open(Xf,{size:"lg"}),this.workflowRef.result.then(e=>{this.getData()},e=>console.log(e))}getJsonFile(){return this.sanitizer.bypassSecurityTrustUrl("data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(this.e5xobservation,null,2)))}};x5.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:ul.u},{type:ws.j},{type:b1},{type:hl},{type:Fr.FF},{type:_c.zM},{type:i1.H7},{type:Ec.K},{type:yh},{type:E4}],x5.propDecorators={canDeactivate:[{type:i.L6J,args:["window:beforeunload"]}]},x5=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly-editor",template:jv,styles:[C_]})],x5);var Yb=B(85091),Wb=B(59718);let om=class{constructor(e,t,r,l){this.route=e,this.orsService=t,this.alertService=r,this.app=l,this.dataReady=!1,this.spinner=!0,this.isWorkflowTimelineCollapsed=!0,this.faEdit=st.Xcf,this.faMapMarker=st.Mzo,this.faRandom=st.V$d,this.faBolt=st.BDt,this.faPlane=st.wKO,this.faFile=st.gMD,this.faStreetView=st.L5M,this.faCloud=st.uM9,this.faUsers=st.FVb,this.faRoad=st.KJ_,this.faExternalLink=st.gJF,this.faDownload=st.q7m,this.faFileAlt=Qs.cwv,this.faCommenting=Qs.yfG,this.faComments=Qs.lXL}ngOnInit(){this.orsService.setActivity("seilfly"),this.inputId&&this.inputId>0?(this.id=this.inputId,this.getData()):this.route.params.subscribe(e=>{this.id=e.id?e.id:0,this.version=e.version?e.version:0,this.app.setTitle("OBSREG Rapport #"+this.id),this.getData()})}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onUpload(e){let t=new FileReader;t.addEventListener("load",r=>{this.currentImage=r.target.result}),t.readAsDataURL(e.target.files[0])}getDiffs(e){let t={};t={query:{max_results:1e3,version:"diffs"}},this.orsService.getObservation(e,t).subscribe(r=>{this.dataDiff=r,console.log("In DIFFS"),console.log(r),this.left="Tester om dette fungerer eller ikke",this.right="Tester vel om dette fungerer kanskje ikke enn s\xe5 lenge"},r=>console.log(r))}getData(){this.dataReady=!1;let e={};this.version>0&&(e={query:{version:this.version}}),this.orsService.getObservation(this.id,e).subscribe(t=>{this.observation=t,this.version>0&&this.version!==this.observation._latest_version&&this.alertService.warning("Utdatert versjon du ser p\xe5 versjon "+this.version+"\xa0av dokumentet. Siste versjon er "+this.observation._latest_version),this.getDiffs(this.observation._id)},t=>{this.alertService.error(t.message),this.error=t,this.dataReady=!1},()=>this.dataReady=!0)}};om.ctorParameters=()=>[{type:_r.gz},{type:zn.Z},{type:ul.u},{type:b1}],om.propDecorators={inputId:[{type:i.IIB}]},om=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly-report",template:Yb,styles:[Wb]})],om);var Fv=B(45818),Am=B(29864);let C5=class{constructor(e,t,r,l){this.route=e,this.router=t,this.orsService=r,this.modalService=l,this.faSave=st.r6l,this.faFilter=st.G_j,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.dataReady=!1,this.searching=!1,this.query={where:{}},this.activity="seilfly",this.filter={"aircrafts.aircraft.callsign":void 0,"aircrafts.flight.from.icao":void 0,"aircrafts.flight.to.icao":void 0},this.filterOperator="$or",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.orsService.setActivity(this.activity),this.route.queryParams.subscribe(u=>{if((0,qi.isEmpty)(this.query.where)&&u.where){this.query.where=JSON.parse(u.where);for(let M in this.query.where)if("$text"===M)this.text=this.query.where.$text.$search,console.log("Text",this.text);else if("$or"===M||"$and"===M)for(let F of this.query.where[M])for(let _e in F)this.filter[_e]=F[_e];else this.filter[M]=this.query.where[M];this.update()}})}ngOnInit(){this.update()}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}update(){this.searching=!0;let e={query:{where:{}}};this.text&&""!=this.text.replace(/\W/g,"")?e.query.where=Object.assign(Object.assign(Object.assign({},e.query.where),this.query.where),{$text:{$search:this.text}}):!!this.query.where&&this.query.where.hasOwnProperty("$text")&&(delete this.query.where.$text,e.query.where=Object.assign(Object.assign({},e.query.where),this.query.where)),this.filter["aircrafts.flight.to.icao"]=this.filter["aircrafts.flight.from.icao"],e.query.where.$or=[];for(let t in this.filter)this.filter[t]&&this.filter[t].length>0&&(0===this.filter[t].lastIndexOf("+",0)?e.query.where[t]=this.filter[t].slice(1):this.filter[t].length>0&&e.query.where.$or.push({[t]:this.filter[t]}));this.query=(0,Nr.sW)(e.query,!0),console.log("Cleaned before",(0,Nr.sW)(e.query,!0)),this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.result=t},t=>{},()=>{this.dataReady=!0,this.router.navigate([],{relativeTo:this.route,queryParams:this.getQuery()}),this.searching=!1})}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};C5.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF}],C5=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly-search",template:Fv,styles:[Am]})],C5);var V7=B(69170),sm=B(972),D8=B(5263),x6=B(88344);let w5=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/search/"}getFilterDefinition(e,t,r){return this.getItem(this.relativeUrl+"definition/"+e+"/",t,r)}getFilterSections(e,t){return this.getItem(this.relativeUrl+"definition/sections/",e,t)}getSearches(e){return this.getList(this.relativeUrl,e)}getSearch(e,t){return this.getItem(this.relativeUrl,e,t)}create(e,t){return this.post(this.relativeUrl,e,t)}save(e,t,r,l){return this.patch(this.relativeUrl,e,t,l,r)}remove(e,t,r){return this.delete(this.relativeUrl,e,r,t)}};w5.ctorParameters=()=>[{type:Mu.eN}],w5=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],w5);let rg=class{constructor(e,t,r,l,u,M,F){this.searchApi=e,this.route=t,this.router=r,this.orsService=l,this.modalService=u,this.confirmService=M,this.alertService=F,this.faSave=st.r6l,this.faFilter=st.G_j,this.faDownload=st.q7m,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.faPlus=st.r8p,this.faEdit=st.Xcf,this.faClose=st.YIN,this.faRemove=st.G8P,this.faCalendar=st.fT7,this.faFolderOpen=st.cC_,this.faSearch=st.wn1,this.dataReady=!1,this.err=!1,this.searching=!1,this.query={where:{}},this.filterUseOr=!1,this.columns=[{key:"value",title:"Value Title"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}],this.sortAlternatives={"&#8595; id":[{id:-1}],"&#8593; id":[{id:1}],"&#8595; n\xe5r":[{when:-1}],"&#8593; n\xe5r":[{when:1}],"&#8595; alvorlighetsgrad":[{"rating._rating":-1}],"&#8593; alvorlighetsgrad":[{"rating._rating":1}]},this.filterTableConfig={id:void 0},this.filterOperator="$or",this.filterRules={condition:"and",sections:{}},this.newFilter={title:void 0,notifications:!0},this.modalFilterRules={condition:"and",rules:[]},this._query={condition:"and",stuff:!0,rules:[{field:"involved.data.competences.type_id",operator:"in"},{field:"type",operator:"=",value:"incident"}]},this.config={fields:{"involved.data.birth_date":{name:"F\xf8dselsdato",type:"date"},"involved.data.competences.type_id":{name:"Kompetanser",type:"category",options:[]},type:{name:"Type",type:"category",options:[{name:"Erfaringsdeling",value:"sharing"},{name:"U\xf8nsket",value:"unwanted_act"},{name:"N\xe6ruhell",value:"near_miss"},{name:"Uhell",value:"incident"},{name:"Ulykke",value:"accident"}]}}},this.converter={"=":"$eq","!=":"$ne",">":"$gt",">=":"$gte","<":"$lt","<=":"$lte",in:"$in","not in":"$nin",or:"$or",and:"$and"},this.inverseOperators={$ne:"$eq",$eq:"$ne",$lt:"$gt",$lte:"$gte",$gt:"$lt",$gte:"$lte",$nin:"$in",$in:"$nin",$and:"$or",$or:"$and"},this.classNames={removeIcon:"fa fa-minus",addIcon:"fa fa-plus",arrowIcon:"fa fa-chevron-right px-2",button:"btn",buttonGroup:"btn-group",rightAlign:"order-12 ml-auto",switchRow:"d-flex px-2",switchGroup:"d-flex align-items-center",switchRadio:"custom-control-input",switchLabel:"custom-control-label",switchControl:"custom-control custom-radio custom-control-inline",row:"row p-2 m-1",rule:"border",ruleSet:"border",invalidRuleSet:"alert alert-danger",emptyWarning:"text-danger mx-auto",operatorControl:"form-control",operatorControlSize:"col-auto pr-0",fieldControl:"form-control",fieldControlSize:"col-auto pr-0",entityControl:"form-control",entityControlSize:"col-auto pr-0",inputControl:"form-control",inputControlSize:"col-auto"},this.debouncedUpdate=(0,Sl.D)(this.update,1e3)}ngOnInit(){this.tableConf=x6.c,this.tableConf.tableLayout.style=D8.BI.TINY,this.tableConf.headerEnabled=!1,this.searchApi.getFilterSections("fallskjerm_observations").subscribe(e=>{this.filterSections=e._items},e=>console.log("[ERR] could not get config"),()=>{}),this.route.params.subscribe(e=>{this.activity||e.hasOwnProperty("activity")&&"undefined"!=e.activity&&(this.activity=e.activity?e.activity:"fallskjerm",this.orsService.setActivity(this.activity)),this.route.queryParams.subscribe(t=>{if((0,qi.isEmpty)(this.query.where)&&t.where){this.query.where=JSON.parse(t.where);for(let r in this.query.where)if("$text"===r)this.text=this.query.where.$text.$search;else if("$or"===r||"$and"===r)for(let l of this.query.where[r])for(let u in l)this.filter[u]=l[u];else this.filter[r]=this.query.where[r];this.debouncedUpdate()}})}),this.debouncedUpdate()}fieldChange(e){console.log(e)}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0,this.loadedApiSearchItem=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};Object.keys(this.filterRules.sections).forEach(e=>{this.filterRules.sections[e].rules=this.filterRules.sections[e].rules.map(t=>Object.assign(Object.assign({},t),{value:void 0}))}),this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}getModalSectionFilterDefinition(e){this.searchApi.getFilterDefinition("fallskjerm_observations",e).subscribe(t=>{this.modalFilterConfig=t.definition,this.filterRules.sections.hasOwnProperty(this.modalFilterSection)?this.modalFilterRules=this.filterRules.sections[this.modalFilterSection]:this.modalFilterRules=t.default},t=>console.log("[ERR] could not get config"),()=>{})}getNumFilters(e){try{return this.filterRules.sections[e].rules.filter(t=>!!t.value).length}catch(t){}return 0}create(){var e,t,r;this.cleanFilterSectionRules(this.filterRules);const u={title:(null===(e=this.newFilter)||void 0===e?void 0:e.title)||this.text,notifications:(null===(t=this.newFilter)||void 0===t?void 0:t.notifications)||!1,rules:this.cleanFilterSectionRules(this.filterRules),text:this.text,options:{page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort},collection:"fallskjerm_observations",meta:{results:{when:new Date,num:(null===(r=this.result)||void 0===r?void 0:r._meta.total)||0,ids:[]}}};this.searchApi.create(u).subscribe(M=>{this.loadedApiSearchItem=Object.assign(Object.assign({},u),M),this.alertService.success("S\xf8ket ble opprettet og lagret",!1,!0,10),this.modalRef.close()},M=>{console.log("[ERR] could not create search"),this.alertService.error("Kunne ikke opprette og lagre s\xf8ket: "+M)},()=>{})}save(){var e,t;this.loadedApiSearchItem.rules=this.cleanFilterSectionRules(this.filterRules);const r={title:(null===(e=this.newFilter)||void 0===e?void 0:e.title)||this.text,rules:this.cleanFilterSectionRules(this.loadedApiSearchItem.rules),text:this.text,options:{page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort},meta:{results:{when:new Date,num:(null===(t=this.result)||void 0===t?void 0:t._meta.total)||0,ids:[]}}};this.searchApi.save(this.loadedApiSearchItem._id,r,this.loadedApiSearchItem._etag).subscribe(l=>{this.loadedApiSearchItem=Object.assign(Object.assign({},r),l),this.alertService.success("S\xf8ket ble lagret",!1,!0,10)},l=>{console.log("[ERR] could not save search"),this.alertService.error("Kunne ikke lagre s\xf8ket: "+l)},()=>{})}delete(e,t,r){const l={title:"Please confirm",message:"Are you sure you want to delete "+t+" ?",yes:"Delete",no:"Cancel"};this.confirmService.confirm(l).then(()=>{this.searchApi.remove(e,r).subscribe(u=>{try{e==this.loadedApiSearchItem._id&&(this.loadedApiSearchItem=void 0)}catch(M){}this.alertService.success("S\xf8ket ble slettet",!1,!0,10),this.getSearches()},u=>{console.log("[ERR] could not save search"),this.alertService.error("Kunne ikke slette s\xf8ket: "+u)},()=>{})},()=>{})}loadSavedSearch(e){try{this.loadedApiSearchItem=e,this.alertService.success("Lagret s\xf8k "+e.title+" ble lastet inn",!1,!0,10)}catch(t){this.loadedApiSearchItem=void 0,this.alertService.error("Lagret s\xf8k feilet under innlasting: "+t)}}getSearches(){this.searchApi.getSearches({query:{where:{collection:"fallskjerm_observations"},sort:[{_updated:-1}]}}).subscribe(t=>{this.loadedApiSearchList=t},t=>console.log("[ERR] could not get list of searches"),()=>{})}getIncident(e){return e.find(t=>!0===t.flags.incident)||"?"}onChange(e){let t={};this._query.rules.forEach(r=>{r.value&&(t[r.field]={},t[r.field][this.converter[r.operator]]=r.value)}),this.query.where=Object.assign(Object.assign({},this.query.where),t),this.debouncedUpdate()}_calculateAge(e,t=new Date){return new Date(t.getFullYear()-e,t.getMonth(),t.getDay())}useOr(e){this.filterUseOr=!this.filterUseOr,!0===this.filterUseOr?this.filterRules.condition="$or":this.filterRules.condition="$and",this.update()}isSort(e){return JSON.stringify(this.sort)===JSON.stringify(e)}update(e=!1){this._buildQuery(),this.searching=!0;let t={query:{where:{},page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};t.query.where=this.query.where,!!this.text&&""!=this.text.replace(/\W/g,"")&&(t.query.where.$text={$search:this.text}),this.result=void 0,this.dataReady=!1,this.orsService.getObservations(t).subscribe(r=>{this.err=!1,this.result=r,this.pagination.count=r._meta.total,this.pagination=Object.assign({},this.pagination)},r=>{this.err=!0},()=>{this.dataReady=!0,this.searching=!1,e&&this.openPreviewModal(e,0)})}nextPage(e){let t={value:{limit:this.pagination.limit,page:e},event:"onPagination"};this.parseEvent(t)}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.update()),"onOrder"===e.event){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.update()}}openPreviewModal(e,t){this.previewModalIndex=t,this.openModal(e)}cleanFilterSectionRules(e){return Object.keys(e.sections).forEach(t=>{e.sections[t].rules=e.sections[t].rules.filter(r=>!!r.value)}),e}openModal(e){this.modalRef=this.modalService.open(e,{size:"xl",fullscreen:"xl"})}getFilterSectionLabel(e){try{return this.filterSections.find(t=>t.section===e).label}catch(t){return"Ukjent"}}openFilterModal(e,t){this.modalFilterSection=t,this.getModalSectionFilterDefinition(t),this.modalFilterRef=this.modalService.open(e,{size:"xl",fullscreen:"xl"})}closeFilterModal(){this.modalFilterSection=void 0,this.modalFilterConfig=void 0,this.modalFilterRef.close()}_buildQuery(){let e=[];Object.keys(this.filterRules.sections).forEach((t,r)=>{var l;if((null===(l=this.filterRules.sections[t])||void 0===l?void 0:l.rules.length)>0){let u={};if(this.filterRules.sections[t].rules.forEach((M,F)=>{if(M.value)if(u.hasOwnProperty(M.field)||(u[M.field]={}),["when"].indexOf(M.field)>-1)if(Object.keys(u[M.field]).length>0){let _e={};_e=M.value.year+"-"+String(M.value.month).padStart(2,"0")+"-"+String(M.value.day).padStart(2,"0")+"T00:00:00.00000Z",u[M.field][this.converter[M.operator]]=Object.assign(Object.assign({},u[M.field][this.converter[M.operator]]),_e)}else u[M.field][this.converter[M.operator]]=M.value.year+"-"+String(M.value.month).padStart(2,"0")+"-"+String(M.value.day).padStart(2,"0")+"T00:00:00.00000Z";else if(Object.keys(u[M.field]).length>0){let _e={};_e=M.value,u[M.field][this.converter[M.operator]]=Object.assign(Object.assign({},u[M.field][this.converter[M.operator]]),_e)}else u[M.field][this.converter[M.operator]]=M.value}),"or"==this.filterRules.sections[t].condition){let M=[];Object.entries(u).forEach(F=>{let _e={};_e[F[0]]=F[1],(0,qi.isEmpty)(_e)||M.push(_e)}),e.push({$or:M})}else(0,qi.isEmpty)(u)||e.push(u)}}),(0,qi.isEmpty)(e)?this.query.where={}:"$or"===this.filterRules.condition?this.query.where={$or:e}:this.query.where={$and:e}}export(e){this._buildQuery();let t={query:{where:{},max_results:5e4,sort:this.sort,export:"csv"}};t.query.where=this.query.where,!!this.text&&""!=this.text.replace(/\W/g,"")&&(t.query.where.$text={$search:this.text}),this.orsService.getObservations(t).subscribe(r=>(0,Q3.saveAs)(new Blob([r._export],{type:"text/plain;charset=utf-8"}),"results.csv"),r=>{},()=>{})}onModalFilterChange(){this.filterRules.sections[this.modalFilterSection]=this.modalFilterRules,this.debouncedUpdate()}};rg.ctorParameters=()=>[{type:w5},{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF},{type:_c.zM},{type:ul.u}],rg=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-search",template:V7,styles:[sm]})],rg);var I8=B(89882),qb=B(35218);let M5=class{constructor(e,t){this.route=e,this.orsService=t,this.map=null,this.heatmap=null,this.coords=[],this.dataReady=!1,this.organization_id=0,this.radius=50,this.sub=this.route.params.subscribe(r=>{this.organization_id=r.id?+r.id:0,this.activity=r.activity?r.activity:"fallskjerm"})}ngOnInit(){this.orsService.setActivity(this.activity),this.dataReady=!0}ngOnDestroy(){this.sub.unsubscribe()}getRandomInt(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e}onMapLoad(e){console.log("Coordinates",this.coords),this.map=e;let t={query:{where:{},projection:{"location.geo":1,rating:1},max_results:5e3}};this.organization_id>0&&"fallskjerm"===this.activity&&(t.query.where={discipline:this.organization_id}),this.orsService.getObservations(t).subscribe(r=>{for(let l=0;l<r._items.length;l++)try{this.coords.push({location:new google.maps.LatLng(r._items[l].location.geo.coordinates[0],r._items[l].location.geo.coordinates[1]),weight:(0,Nr.pJ)(r._items[l].rating.actual,r._items[l].rating.potential)})}catch(u){}console.log("DATAREADY"),console.log("NOW",this.coords),this.heatmap=new google.maps.visualization.HeatmapLayer({map:this.map,data:this.coords,radius:this.radius}),console.log("Hurra meg rundt en elg")})}};M5.ctorParameters=()=>[{type:_r.gz},{type:zn.Z}],M5=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-stats-heatmap",template:I8,styles:[qb]})],M5);const Vv=[{path:"ors/",component:Z6,canActivate:[ia.v],data:{title:"OBSREG - Observasjons Registrerings System"}},{path:"ors/fallskjerm",component:vh,canActivate:[ia.v],data:{title:"OBSREG - Fallskjerm oversikt"}},{path:"ors/fallskjerm/report/:id",component:q2,canActivate:[ia.v],data:{title:"OBSREG - Fallskjerm rapportvisning"}},{path:"ors/fallskjerm/report/:id/version/:version",component:q2,canActivate:[ia.v],data:{title:"OBSREG - Fallskjerm viser versjon"}},{path:"ors/fallskjerm/edit/:id",component:$u,canActivate:[ia.v],canDeactivate:[Yf],data:{title:"OBSREG - Fallskjerm editor"}},{path:"ors/fallskjerm/dashboard/:id",component:K3,canActivate:[ia.v],data:{title:"OBSREG - Fallskjerm dashboard"}},{path:"ors/:activity/stats",component:M5,canActivate:[ia.v],data:{title:"OBSREG - statistikk"}},{path:"ors/:activity/stats/:id",component:M5,canActivate:[ia.v],data:{title:"OBSREG - statistikk"}},{path:"ors/modellfly",component:P4,canActivate:[ia.v],data:{title:"OBSREG - Modellfly oversikt"}},{path:"ors/modellfly/report/:id",component:ku,canActivate:[ia.v],data:{title:"OBSREG - Modellfly rapportvisning"}},{path:"ors/modellfly/report/:id/version/:version",component:ku,canActivate:[ia.v],data:{title:"OBSREG - Modellfly viser versjon"}},{path:"ors/modellfly/edit/:id",component:J3,canActivate:[ia.v],canDeactivate:[Yf],data:{title:"OBSREG - Modellfly editor"}},{path:"ors/modellfly/search",component:f6,canActivate:[ia.v],data:{title:"OBSREG - Modellfly s\xf8k"}},{path:"ors/modellfly/dashboard/:id",component:R4,canActivate:[ia.v],data:{title:"OBSREG - Modellfly dashboard"}},{path:"ors/motorfly",component:g6,canActivate:[ia.v],data:{title:"OBSREG - Motorfly oversikt"}},{path:"ors/motorfly/report/:id",component:H4,canActivate:[ia.v],data:{title:"OBSREG - Motorfly rapportvisning"}},{path:"ors/motorfly/report/:id/version/:version",component:H4,canActivate:[ia.v],data:{title:"OBSREG - Motorfly viser version"}},{path:"ors/motorfly/edit/:id",component:N4,canActivate:[ia.v],canDeactivate:[Yf],data:{title:"OBSREG - Motorfly editor"}},{path:"ors/motorfly/search",component:L3,canActivate:[ia.v],data:{title:"OBSREG - Motorfly s\xf8k"}},{path:"ors/sportsfly",component:wh,canActivate:[ia.v],data:{title:"OBSREG - Sportsfly oversikt"}},{path:"ors/sportsfly/report/:id",component:ig,canActivate:[ia.v],data:{title:"OBSREG - Sportsfly rapportvisning"}},{path:"ors/sportsfly/report/:id/version/:version",component:ig,canActivate:[ia.v],data:{title:"OBSREG - Sportsfly viser version"}},{path:"ors/sportsfly/edit/:id",component:im,canActivate:[ia.v],canDeactivate:[Yf],data:{title:"OBSREG - Sportsfly editor"}},{path:"ors/sportsfly/search",component:y5,canActivate:[ia.v],data:{title:"OBSREG - Sportsfly s\xf8k"}},{path:"ors/seilfly",component:rm,canActivate:[ia.v],data:{title:"OBSREG - Seilfly oversikt"}},{path:"ors/seilfly/report/:id",component:om,canActivate:[ia.v],data:{title:"OBSREG - Seilfly rapportvisning"}},{path:"ors/seilfly/report/:id/version/:version",component:om,canActivate:[ia.v],data:{title:"OBSREG - Seilfly viser version"}},{path:"ors/seilfly/edit/:id",component:x5,canActivate:[ia.v],canDeactivate:[Yf],data:{title:"OBSREG - Seilfly editor"}},{path:"ors/seilfly/search",component:C5,canActivate:[ia.v],data:{title:"OBSREG - Seilfly s\xf8k"}},{path:"ors/:activity/activities/:id",component:Fc,canActivate:[ia.v],data:{title:"OBSREG - Aktivitet"}},{path:"ors/:activity/search",component:rg,canActivate:[ia.v],data:{title:"OBSREG - S\xf8k"}},{path:"ors/**",redirectTo:"ors/"}];let A8=class{};A8=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({imports:[_r.Bz.forRoot(Vv,{onSameUrlNavigation:"reload",relativeLinkResolution:"legacy"})],exports:[_r.Bz],declarations:[]})],A8);var S_=B(66383),k_=B(99562);let Om=class{constructor(e,t){this.route=e,this._location=t,this.dataReady=!1,this.error=!1,this.sub=this.route.params.subscribe(r=>{this.person_id=r.person_id?+r.person_id:-1,this.dataReady=!0})}goBack(){this._location.back()}ngOnInit(){}ngOnDestroy(){this.sub.unsubscribe()}};Om.ctorParameters=()=>[{type:_r.gz},{type:Zo.Ye}],Om=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user",template:S_,styles:[k_]})],Om);var W7=B(42051),Uv=B(59901),jp=B(62618),og=B(38349);let F4=class{constructor(e,t,r){this.userSubject=e,this.userService=t,this.alertService=r,this.subject=new Jg.X(""),this.observable=this.subject.asObservable(),this.inited=!1,this.avatar=Nr.Yi,this.userSubject.observable.subscribe(l=>{try{this.user_data=l,this.inited||(this._id=l._id,this.getAvatar(),this.inited=!0)}catch(u){}},l=>console.log("Error getting user data: ",l))}getAvatar(){this.userService.getAvatar(this._id).subscribe(e=>{try{this.avatar=e.avatar,this.user_data._etag!=e._etag&&(this.user_data._etag=e._etag,this.userSubject.update(this.user_data)),this.subject.next(this.avatar)}catch(t){console.log("Error in avatar subject")}},e=>console.error(e))}update(e){e&&e!=this.avatar&&this.userService.save(this._id,{avatar:e},this.user_data._etag).subscribe(t=>{this.user_data._etag=t._etag,this.avatar=e,this.subject.next(e),this.userSubject.update(this.user_data),this.alertService.success("Avatar saved successfully",!1,!0,5)},t=>{this.alertService.error("Error storing avatar: "+t,!1,!0,15)})}};F4.ctorParameters=()=>[{type:Ec.K},{type:jp._},{type:ul.u}],F4=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],F4);var E_=B(27612);let Eh=class{constructor(e,t,r,l,u,M,F,_e,Le,Ge){this.userSubject=e,this.configSubject=t,this.userAvatarSubject=r,this.route=l,this.userService=u,this.domSanitizer=M,this.alertService=F,this.geoLocationService=_e,this.modalService=Le,this.router=Ge,this.dataReady=!1,this.avatarReady=!1,this.myself=!1,this.imageChangedEvent="",this.avatar_missing=Nr.Yi,this.faCog=st.b7W,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faUser=Qs.ILF,this.faUserCircle=Qs.m08,this.faPencil=st.TzT,(0,Ha.D)([this.configSubject.observableConfig.subscribe(_t=>{this.config=_t}),this.userSubject.observable.subscribe(_t=>{_t&&(this.user=_t,this.person_id=_t.person_id,this.userAvatarSubject.observable.subscribe(Bt=>{Bt&&(this.avatar=Bt),this.dataReady=!0},Bt=>console.log("Error getting user avatar: ",Bt)))},_t=>console.log("Error getting user data: ",_t))]),this.geoLocationService.getLocation({enableHighAccuracy:!0}).subscribe(_t=>{console.log(_t),this.geo=_t},_t=>{console.log(_t)}),this.router.events.filter(_t=>_t instanceof _r.OD).subscribe(_t=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}ngOnInit(){}openDefaultClub(){this.modalClubRef=this.modalService.open(E_.o,{backdrop:"static",keyboard:!1})}fileChangeEvent(e){this.imageChangedEvent=e}imageCropped(e){this.modal_avatar=e.base64}imageLoaded(){}cropperReady(){this.avatarReady=!0}loadImageFailed(){}removeImage(){this.avatar=void 0,this.modal_avatar=null,this.userAvatarSubject.update(this.avatar)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}cancelModal(){this.modalRef.close(),this.avatarReady=!1,this.modal_avatar=null}closeModal(){this.modalRef.close(),this.avatarReady=!1,this.avatar=this.modal_avatar,this.userAvatarSubject.update(this.avatar),this.modal_avatar=null}};Eh.ctorParameters=()=>[{type:Ec.K},{type:Qa.F},{type:F4},{type:_r.gz},{type:jp._},{type:i1.H7},{type:ul.u},{type:og.u},{type:Fr.FF},{type:_r.F0}],Eh=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-profile",template:W7,styles:[Uv]})],Eh);const I_=[{path:"user/profile",component:Eh,canActivate:[ia.v],data:{title:"Me - profile"}},{path:"user/:person_id",component:Om,canActivate:[ia.v],data:{title:"User - Profile"}}];let Wv=class{};Wv=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({imports:[_r.Bz.forRoot(I_,{relativeLinkResolution:"legacy"})],exports:[_r.Bz],declarations:[]})],Wv);var P8=B(12700),A_=B(48641);let am=class{constructor(e){this.route=e}ngOnInit(){this.error=this.route.snapshot.data.error,this.route.data.subscribe(e=>{this.error=e.error})}};am.ctorParameters=()=>[{type:_r.gz}],am=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"app-error",template:P8,styles:[A_]})],am);const G7=[{path:"error/not-found",component:am,data:{error:"Siden ikke funnet",code:404}},{path:"error/something-bad",component:am,data:{error:"Siden ikke funnet",code:403}},{path:"error/502",component:am,data:{error:"Ser ut til at ting ikke funker gitt",code:502}}];let Gv=class{};Gv=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({imports:[_r.Bz.forRoot(G7,{relativeLinkResolution:"legacy"})],exports:[_r.Bz],declarations:[]})],Gv);var Zb=B(84765),O_=B(84545);let C6=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/content/"}getContent(e,t){return this.getItem(this.relativeUrl,e,t)}getContentList(e){return this.getList(this.relativeUrl,e)}create(e,t){return this.post(this.relativeUrl,e,t)}save(e,t,r,l){return this.patch(this.relativeUrl,e,t,l,r)}remove(e,t,r){return this.delete(this.relativeUrl,e,r,t)}publish(e,t,r){return this.post(this.relativeUrl+"publish/"+e,{},r)}unpublish(e,t,r){return this.delete(this.relativeUrl+"publish/",e,r,t)}aggregateParents(e){return this.getList(this.relativeUrl+"aggregate/parents",e)}aggregateChildren(e){return this.getList(this.relativeUrl+"aggregate/children",e)}aggregateSiblings(e){return this.getList(this.relativeUrl+"aggregate/siblings",e)}};C6.ctorParameters=()=>[{type:Mu.eN}],C6=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],C6);var P_=B(33836),z_=B.n(P_);let f=class{constructor(e,t,r,l,u,M){this.apiContent=e,this.route=t,this.router=r,this.personsService=l,this.orsService=u,this.alertService=M,this.faEdit=st.Xcf,this.faClose=st.YIN,this.faSave=st.r6l,this.faPlus=st.r8p,this.faSitemap=st.Hw7,this.faFile=st.gMD,this.title="",this.slug="",this.body="",this.done=!1,this.messenger$=new Jg.X(!1),this.dataReady=!1,this.changed=!1,this.content={title:"",slug:"",body:void 0,space_key:""},this.debouncedGetOrs=(0,Sl.D)(this.getOrs,500),this.debouncedGetUsers=(0,Sl.D)(this.getUsers,500),this.debouncedGetContent=(0,Sl.D)(this.getContent,500),this.debouncedUpdateBody=(0,Sl.D)(this.logChange,200),this.joditInit=!1,this.editorFullscreen=!1}test(e){console.log(e)}ngOnInit(){console.log("Snapshot",this.route.snapshot),this.route.url.subscribe(l=>{"content"===l[0].path&&"create"===l[1].path?(this.content={title:"",body:"",space_key:""},this.route.params.subscribe(u=>{if(console.log("Params",u),u.parent&&24===u.parent.length){this.mode="create_page";const M={query:{projection:{_id:1,title:1,slug:1,space_key:1}}};this.apiContent.getContent(u.parent,M).subscribe(F=>{this.content.parent=F._id,this.content.space_key=F.space_key},F=>console.log(F),()=>this.dataReady=!0)}else u.parent||(console.log("Create Space"),this.mode="create_space");this.dataReady=!0},u=>console.log(u))):"content"===l[0].path&&"edit"===l[1].path&&l[2]&&l[2].path&&24===l[2].path.length&&this.apiContent.getContent(l[2].path).subscribe(u=>{this.content=u,this.mode="edit"},u=>console.log(u),()=>this.dataReady=!0)},l=>console.log(l),()=>{try{this.content.body=this.content.body.replaceAll("badge badge-","badge text-bg-")}catch(l){}this.dataReady=!0,console.log("Mode:",this.mode)});const e={trigger:"@",iframe:null,selectClass:"highlight",selectTemplate:function(l){return'<macro href="#" data-url="/user/'+l.original.id+'" contenteditable="false" class="badge bg-danger macrolink pointer" id="'+l.original.id+'">@'+l.original.full_name+"</macro>"},menuItemTemplate:function(l){return l.string},noMatchTemplate:"Fant ingen",lookup:function(l){return l.full_name+" ("+l.id+")"},fillAttr:"full_name",values:(l,u)=>this.debouncedGetUsers(l,M=>u(M)),requireLeadingSpace:!0,allowSpaces:!0,replaceTextSuffix:"\n",positionMenu:!0},t={trigger:"[",iframe:null,selectClass:"highlight",selectTemplate:function(l){return'<a href="javascript:void(0);" class="macrolink" data-url="/content/view/'+l.original.space_key+"/"+l.original.slug+'">'+l.original.title+"</a>"},menuItemTemplate:function(l){return l.original.parent?'<fa-icon [fixedWidth]="true" [icon]="faFile"></fa-icon>&nbsp;'+l.string:'<fa-icon [fixedWidth]="true" [icon]="faSitemap"></fa-icon>&nbsp;'+l.string},noMatchTemplate:"Fant ingen",lookup:function(l){return l.title},fillAttr:"title",values:(l,u)=>this.debouncedGetContent(l,M=>u(M)),requireLeadingSpace:!0,allowSpaces:!0,replaceTextSuffix:"\n",positionMenu:!0},r={trigger:"#",iframe:null,selectClass:"highlight",selectTemplate:function(l){return'<macro href="#" data-url="/ors/fallskjerm/report/'+l.original.id+'" contenteditable="false" class="badge bg-danger macrolink pointer" id="'+l.original.id+'">         #'+l.original.id+" "+l.original.title+" (fallskjerm)</macro>"},menuItemTemplate:function(l){return l.string+" (fallskjerm)"},noMatchTemplate:"Fant ingen",lookup:"search",fillAttr:"title",values:(l,u)=>this.debouncedGetOrs(l,M=>u(M)),requireLeadingSpace:!0};this.tributeOptions={collection:[e,r,t],allowSpaces:!0},this.tribute=new(z_())(this.tributeOptions),this.joditConfig={buttons:"paragraph, bold,strikethrough,underline,italic,|,                 superscript,subscript,|,                 ul,ol,|,                 outdent,indent,|,                 brush,|,                 image,video,table,link,|,                 align,undo,redo,\n,cut,hr,eraser,copyformat,|,                 symbol,selectall,source, fullsize",imageDefaultWidth:400,height:600,events:{afterResize:l=>{this.editorFullscreen=!this.editorFullscreen},beforeEnter:l=>{if(this.tribute.isActive)return!0},afterInit:(l,u)=>(this.tribute.attach(document.getElementsByClassName("jodit_wysiwyg")),!0),change:(l,u)=>(this.debouncedUpdateBody(l),!1)}}}ngAfterViewInit(){}getOrs(e,t){this.orsService.setActivity("fallskjerm"),console.log("searcing for OBSREG, text",e);let r=e.replace(/\D+/g,"").split(" ").filter(u=>parseInt(u,10)>0).map(u=>parseInt(u,10)),l=e.replace(/\d+/g,"").split(" ").filter(u=>""!==u.trim()).map(u=>u.charAt(0).toUpperCase()+u.slice(1));if(console.log("ID",r,r.length),console.log("Tags",l,l.length),e.length>0){l instanceof Array||(l=[]),r instanceof Array||(r=[]);const u={query:{sort:[{id:-1}],where:{$or:[{id:{$in:r}},{$text:{$search:l.join(" ")}}]}}};this.orsService.getObservations(u).subscribe(M=>{if(console.log(M),M._meta.total>0){const F=M._items.map(_e=>({id:_e.id,title:_e.tags.join(" "),search:"#"+_e.id+" "+_e.tags.join(" ")}));console.log("OBSREG Items",F),t(F)}else t([])},M=>t([]),()=>console.log("OBSREG items done:"))}else console.log("Nothing is long enough!"),t([])}getUsers(e,t){if(e.length<3)t([]);else{console.log("Search user",e);this.personsService.search(e).subscribe(l=>{t(l._items),console.log("Result",l._items)},l=>t([]))}}getContent(e,t){e.split(" ").filter(l=>""!==l.trim()).map(l=>l.charAt(0).toUpperCase()+l.slice(1));if(e.length<3)t([]);else{console.log("Search content",e);const l={query:{sort:[{id:-1}],where:{$text:{$search:e}}}};this.apiContent.getContentList(l).subscribe(u=>{t(u._items),console.log("Result",u._items)},u=>t([]))}}slugify(){if(this.content.title.length>0){const e="\xf8\xe5\xe0\xe1\xe4\xe2\xe8\xe9\xeb\xea\xec\xed\xef\xee\xf2\xf3\xf6\xf4\xf9\xfa\xfc\xfb\xf1\xe7\xdf\xff\u0153\xe6\u0155\u015b\u0144\u1e55\u1e83\u01f5\u01f9\u1e3f\u01d8\u1e8d\u017a\u1e27\xb7/_,:;",t="oaaaaaeeeeiiiioooouuuuncsyoarsnpwgnmuxzh------",r=new RegExp(e.split("").join("|"),"g");this.content.slug=this.content.title.toString().toLowerCase().replace(/\s+/g,"-").replace(r,l=>t.charAt(e.indexOf(l))).replace(/&/g,"-og-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"").replace(/-$/,"")}}change(){this.changed=!0}logChange(e){this.joditInit?(this.changed=!0,this.content.body=e):this.joditInit=!0}create(){("create_space"===this.mode||"create_page"===this.mode)&&this.apiContent.create(this.content).subscribe(e=>{console.log(e),this.router.navigate(["/content"])},e=>{console.log(e),this.alertService.error("Error message: "+e.error.error)},()=>console.log("Done"))}save(){if("edit"===this.mode&&this.content._id.length>0){const e={title:this.content.title,slug:this.content.slug,body:this.content.body};this.apiContent.save(this.content._id,e,this.content._etag).subscribe(t=>{console.log(t),this.changed=!1},t=>{console.log(t),this.alertService.error("Error message: "+t.error.error)},()=>this.router.navigate(["/content/view/",this.content.space_key,this.content.slug]))}else console.log("No object instantiated")}};f.ctorParameters=()=>[{type:C6},{type:_r.gz},{type:_r.F0},{type:Zu.p},{type:zn.Z},{type:ul.u}],f=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-admin-content-edit",template:Zb,styles:[O_]})],f);var k=B(20696),Y=B(15432);let le=class{constructor(e,t,r){this.apiContent=e,this.route=t,this.router=r,this.faEdit=st.Xcf,this.faPlus=st.r8p,this.dataReady=!1,this.error=!1,this.checked=!1,this.parents=[],this.children=[],this.siblings=[],this.space_tree=[]}ngOnInit(){this.route.params.subscribe(e=>{this.dataReady=!1,this.parents=[],this.children=[],this.siblings=[];const t={query:{where:{space_key:e.space_key}}};this.apiContent.getContent(e.slug,t).subscribe(r=>{this.content=r;try{this.content.body=this.content.body.replaceAll("badge badge-","badge text-bg-")}catch(l){}this.getParents(r._id),this.getChildren(r._id),this.getSiblings(r.parent,r._id),this.getSpaceTree(r.space_key)},r=>{console.log(r),this.error=!0},()=>this.dataReady=!0)})}getSpaceTree(e){this.apiContent.getContentList({query:{projection:{_id:1,title:1,slug:1,space_key:1,parent:1}}}).subscribe(r=>{this.space_tree=this.treeify(r._items,"_id","parent","children")},r=>console.log(r),()=>this.dataReady=!0)}treeify(e,t,r,l){t||(t="_id"),r||(r="parent"),l||(l="children");let u=[],M={};return e.forEach(function(F){M[F[t]]=F,F[l]=[]}),e.forEach(function(F){(0,qi.has)(F,[r,l])&&null!=F[r]?M[F[r]][l].push(F):u.push(F)}),u}getParents(e){const t={query:{aggregate:{$start_id:e}}};this.apiContent.aggregateParents(t).subscribe(r=>{console.log("Len",r._items.length),r._items.length>0&&(this.parents=r._items[0].parents)},r=>console.log(r))}getSiblings(e,t){const r={query:{aggregate:{$parent_id:e,$current_id:t}}};this.apiContent.aggregateSiblings(r).subscribe(l=>{console.log("Siblings",l),l._items.length>0&&(this.siblings=l._items[0].siblings)},l=>console.log(l))}getChildren(e){const t={query:{aggregate:{$start_id:e,$max_depth:10}}};this.apiContent.aggregateChildren(t).subscribe(r=>{console.log("Children",r),console.log("Len",r._items.length),r._items.length>0&&(this.children=r._items[0].children)},r=>console.log(r))}ngAfterContentChecked(){if(!this.checked){let e=document.getElementsByClassName("macrolink");for(let t=0;t<e.length;t++)e[t].attributes&&e[t].attributes["data-url"]&&e[t].addEventListener("click",r=>{r.originalTarget.attributes["data-url"].value&&this.router.navigate([r.originalTarget.attributes["data-url"].value])})}}};le.ctorParameters=()=>[{type:C6},{type:_r.gz},{type:_r.F0}],le=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-view",template:k,styles:[Y]})],le);var we=B(56204),Pe=B(1644);let ct=class{constructor(e,t,r,l){this.apiContent=e,this.confirmService=t,this.route=r,this.alertService=l,this.faSitemap=st.Hw7,this.faFile=st.gMD,this.faClose=st.YIN,this.faEdit=st.Xcf,this.faPlus=st.r8p,this.faBan=st.gPx,this.faCheck=st.LEp,this.dataReady=!1,this.error=!1,this.columns=[{key:"title",title:"Tittel",sort:!0},{key:"_updated",title:"Oppdatert",sort:!0},{key:"owner",title:"Av",sort:!0},{title:"Operations"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}],this.tableSpaces={searchEnabled:!1,headerEnabled:!0,orderEnabled:!0,globalSearchEnabled:!1,paginationEnabled:!0,exportEnabled:!0,clickEvent:!1,selectRow:!0,selectCol:!1,selectCell:!1,rows:10,additionalActions:!1,serverPagination:!1,isLoading:!1,detailsTemplate:!1,groupRows:!1,paginationRangeEnabled:!0,tableLayout:{style:"normal",theme:"normal",border:!0,hover:!0,striped:!1}}}ngOnInit(){this.route.params.subscribe(e=>{this.space_key=e.space_key,this.getSpace()})}getSpace(){this.dataReady=!1;const e={query:{where:{space_key:this.space_key}}};this.apiContent.getContentList(e).subscribe(t=>{this.spacelist=t._items,this.space=this.spacelist.filter(r=>{if(!r.parent)return r})[0],console.log("Item",this.space),this.dataReady=!0},t=>{console.log(t),this.alertService.error("Error message: "+t.error._error.code+": "+t.error._error.message),this.error=!0},()=>{})}delete(e){this.apiContent.remove(e._id,e._etag).subscribe(t=>{this.getSpace()},t=>{this.alertService.error("Error message: "+t.error._error.code+": "+t.error._error.message)})}unpublish(e){this.apiContent.unpublish(e).subscribe(t=>{this.getSpace()},t=>{console.log(t),this.alertService.error("Error message: "+t.error._error.code+": "+t.error._error.message)})}publish(e){this.apiContent.publish(e).subscribe(t=>{this.getSpace()},t=>{this.alertService.error("Error message: "+t.error._error.code+": "+t.error._error.message)})}eventEmitted(e){console.log(e)}};ct.ctorParameters=()=>[{type:C6},{type:_c.zM},{type:_r.gz},{type:ul.u}],ct=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-space",template:we,styles:[Pe]})],ct);var St=B(79129),Yt=B(97779);let Gn=class{constructor(e,t){this.apiContent=e,this.confirmService=t,this.faSitemap=st.Hw7,this.faPlus=st.r8p,this.faClose=st.YIN,this.faEdit=st.Xcf,this.dataReady=!1,this.columns=[{key:"space_key",title:"Space",sort:!0},{key:"title",title:"Tittel",sort:!0},{title:"Operations"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}],this.tableSpaces={searchEnabled:!1,headerEnabled:!0,orderEnabled:!0,globalSearchEnabled:!1,paginationEnabled:!0,exportEnabled:!0,clickEvent:!1,selectRow:!0,selectCol:!1,selectCell:!1,rows:10,additionalActions:!1,serverPagination:!1,isLoading:!1,detailsTemplate:!1,groupRows:!1,paginationRangeEnabled:!0,tableLayout:{style:"normal",theme:"normal",border:!0,hover:!0,striped:!1}}}ngOnInit(){this.getAllSpaces()}eventEmitted(e){this.parseEvent(e)}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination)),"onOrder"===e.event&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t)}this.getAllSpaces()}getAllSpaces(){const e={query:{where:{parent:null},page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.apiContent.getContentList(e).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.spaces=t._items},t=>console.log(t),()=>this.dataReady=!0)}delete(e){const t={title:"Please confirm",message:"Are you sure you want to delete the space "+e.title+" ?",yes:"Delete",no:"Cancel"};this.confirmService.confirm(t).then(()=>{this.apiContent.remove(e._id,e._etag).subscribe(r=>{console.log(r)},r=>console.log(r),()=>this.getAllSpaces())},()=>{})}};Gn.ctorParameters=()=>[{type:C6},{type:_c.zM}],Gn=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-spaces",template:St,styles:[Yt]})],Gn);const ur=[{path:"content",component:Gn,canActivate:[ia.v],data:{bc:"Content",title:"Content"}},{path:"content/create",component:f,canActivate:[ia.v],data:{bc:"Create",title:"Content - Create"}},{path:"content/create/:parent",component:f,canActivate:[ia.v],data:{bc:"Create from parent",title:"Content - Create from parent"}},{path:"content/edit/:id",component:f,canActivate:[ia.v],data:{bc:"Edit",title:"Content - Edit"}},{path:"content/space",component:Gn,canActivate:[ia.v],data:{bc:"Spaces",title:"Content - Spaces"}},{path:"content/space/:space_key",component:ct,canActivate:[ia.v],data:{bc:"Space",title:"Content - Space"}},{path:"content/space/:space_key/:slug",component:le,canActivate:[ia.v],data:{bc:"View",title:"Content - View"}},{path:"content/view/:space_key/:slug",component:le,canActivate:[ia.v],data:{bc:"View",title:"Content - View"}},{path:"content/**",redirectTo:"content"}];let Er=class{};Er=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({imports:[_r.Bz.forChild(ur)],exports:[_r.Bz],declarations:[]})],Er);var co=B(95335),zi=B(40698),is=B(86689);let gl=class{constructor(e,t,r,l,u,M){this.modalService=e,this.router=t,this.personsService=r,this.userSubject=l,this.configSubject=u,this.paymentsService=M,this.disabled=!1,this.searching=!1,this.MINLENGTH=3,this.results=[],this.checkExpiry=Nr.Wr,this.checkExpiryYear=Nr.nH,this.activity=void 0,this.arrowkeyLocation=-1,this.justClosedModal=!1,this.dataReady=!1,this.fallskjermLicenses=[],this.showExpired=!1,this.ENV=W2.N,this.generateChangeMessages=!0,this.deboucedSearch=(0,Sl.D)(this._search,800),this.faUsers=st.FVb,this.faSave=st.r6l,this.faTable=st.B3e,this.faSearch=st.wn1,this.faSpinner=st.LM3,this.faCheck=st.LEp,this.faRemove=st.G8P,t.events.filter(F=>F instanceof _r.OD).subscribe(F=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}ngOnInit(){this.setFocus("memberSearchInput"),(0,Ha.D)([this.configSubject.observableConfig.subscribe(e=>{this.config=e}),this.userSubject.observable.subscribe(e=>{e&&Object.keys(e).length>0&&(this.user_data=e)}),this.dataReady=!0])}_search(e){e&&this.arrowkeyLocation>-1&&["ArrowUp","ArrowDown","Tab"].indexOf(e.key)>-1||e&&this.arrowkeyLocation>-1&&this.results.length>0&&"Enter"===e.key?e.stopPropagation():this.searchTerm.length>=this.MINLENGTH&&(this.arrowkeyLocation=-1,this.search(e))}search(e){this.arrowkeyLocation<0?(this.searching=!0,this.personsService.search(this.searchTerm,this.activity).subscribe(t=>{this.results=t._items,this.setFocus("memberSearchInput")},t=>console.log(t),()=>{this.searching=!1})):e&&"Enter"===e.key&&this.arrowkeyLocation>-1&&this.justClosedModal?(e.stopPropagation(),this.justClosedModal=!1):this.arrowkeyLocation>-1&&this.results.length>0&&!this.modalService.hasOpenModals()?this.openModal(this.results[this.arrowkeyLocation].id):this.modalService.hasOpenModals()&&e.stopPropagation()}setFocus(e){try{setTimeout(()=>{try{document.querySelector("#"+e).querySelector("input").focus()}catch(t){}},100)}catch(t){}}setActivity(e){e===this.activity?this.activity=void 0:this.activity=e,this.searchTerm&&this.deboucedSearch(void 0)}userHash(e){return(0,Nr.Wu)(String(e))}moveUp(){this.arrowkeyLocation>0&&this.arrowkeyLocation--}moveDown(){this.arrowkeyLocation<this.results.length-1&&this.arrowkeyLocation++}getLicenseFromPayment(e){const t={query:{where:{person_id:e,product_type_id:23,paid_date:{$gte:(new Date).getFullYear()-1+"-11-01T00:00:00.000000Z"}},max_results:250,sort:[{name:1}]}};this.paymentsService.getPayments(t).subscribe(r=>{this.fallskjermLicenses=r._items},r=>{console.log(r)},()=>{})}openModal(e){this.showExpired=!1,this.fallskjermLicenses=[],this.person_id=e,this.modalPerson=void 0,this.personsService.getUser(e).subscribe(t=>{this.modalPerson=t;try{this.modalPerson.activities.includes(109)&&this.getLicenseFromPayment(e)}catch(r){}this.modalRef=this.modalService.open(this.personModalTemplate,{size:"lg",fullscreen:"xl"})},t=>console.log(t),()=>{})}closeModal(e){this.modalRef.close(),this.justClosedModal=!0,this.generateChangeMessages=!0;try{e.stopPropagation()}catch(t){}this.setFocus("memberSearchInput")}reloadModal(e){this.modalRef.close(),this.generateChangeMessages=!1,this.openModal(this.person_id)}};gl.ctorParameters=()=>[{type:Fr.FF},{type:_r.F0},{type:Zu.p},{type:Ec.K},{type:Qa.F},{type:is.q}],gl.propDecorators={personModalTemplate:[{type:i.i9L,args:["personModalTemplate",{static:!1}]}]},gl=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-member",template:co,styles:[zi]})],gl);var _f=B(93693),sg=B(39999),Dh=B(7656),zm=B(41739);let ag=class{constructor(e,t,r){this.personService=e,this.orgService=t,this.configService=r,this.faUsers=st.FVb,this.faSave=st.r6l,this.faCheck=st.LEp,this.faRemove=st.G8P,this.dataReady=!1,this.name={},this.filter={"memberships.discipline":null,club:null,discipline:null,type:null,state:null,id:null,tags:null},this.columns=[{key:"id",title:"Id",sort:!0},{key:"first_name",title:"Fornavn",sort:!0},{key:"last_name",title:"Etternavn",sort:!0},{key:"memberships",title:"Medlemsskap",sort:!1},{key:"competences",title:"Kompetanser",sort:!0},{key:"licenses",title:"Lisenser",sort:!0},{key:"federation",title:"Forbund",sort:!0},{key:"_updated",title:"Oppdatert",sort:!0}],this.debouncedFilterId=(0,Sl.D)(this.filterId,700),this.debouncedFilterTitle=(0,Sl.D)(this.filterTitle,800),this.debouncedFilterFirstName=(0,Sl.D)(this.personSearch,700),this.debouncedFilterLastName=(0,Sl.D)(this.personSearch,700),this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}]}ngOnInit(){this.tableConf=Object.assign({},x6.c),this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.configService.observableConfig.subscribe(e=>{this.config=e,this.getClubs(),this.getData()})}eventEmitted(e){this.parseEvent(e)}checkExpiryYear(e){try{if(+e>=+(new Date).getFullYear())return!0}catch(t){console.log(t)}return!1}checkExpiry(e){try{if(Date.parse(e)>Date.now())return!0}catch(t){console.log(t)}return!1}getClubs(){const e={query:{where:{type_id:14,is_active:!0,"main_activity.id":{$in:this.config.activities}},projection:{id:1,_id:1,name:1,main_activity:1},max_results:2500,sort:[{name:1}]}};this.orgService.getOrganizations(e).subscribe(t=>{this.clubs=t._items},t=>console.error(t))}personSearch(e,t){try{this.name[t]=e.target.value,this.name[t]&&""!=this.name[t]?this.filter.$text={$search:this.name.firstName+" "+this.name.lastName}:delete this.filter.$search,this.getData()}catch(r){console.log("ERROR",r)}}clubChooser(e){e.target.value&&""!=e.target.value?this.filter["memberships.discipline"]=+e.target.value:this.filter["memberships.discipline"]=null,this.getData()}stateChooser(e){e.target.value&&""!=e.target.value?this.filter.state=e.target.value:this.filter.state=null,this.getData()}typeChooser(e){console.log("EVENT type",e),e.target.value&&""!=e.target.value?this.filter.type=e.target.value:this.filter.type=null,console.log("Filter Type",this.filter.type),this.getData()}filterId(e){console.log("ID FILTER",e),this.filter.id=e&&""!=e?+e:null,this.getData()}filterTitle(e){console.log("TITLE FILTER",e),this.filter.tags=e&&""!=e?e:null,this.getData()}getWhere(){let e={_merged_to:{$exists:!1}};return Object.keys(this.filter).forEach(t=>{this.filter[t]&&null!==this.filter[t]&&("state"===t?e["workflow.state"]=this.filter[t]:"tags"===t?e.$text={$search:this.filter[t]}:e[t]=this.filter[t])}),e}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.getData()),"onOrder"===e.event&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.getData()}}getData(){this.tableConf.isLoading=!0;let e={query:{where:this.getWhere(),page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.personService.getUsers((0,Nr.sW)(e)).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>{this.tableConf.isLoading=!1,this.dataReady=!0})}exportToCSV(){new zm.ExportToCsv({fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,showTitle:!1,useTextFile:!1,useBom:!0,useKeysAsHeaders:!0}).generateCsv(this.data)}};ag.ctorParameters=()=>[{type:Zu.p},{type:Dh.u},{type:Qa.F}],ag.propDecorators={activity:[{type:i.IIB}]},ag=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-competence-table",template:_f,styles:[sg]})],ag);let T5=[{path:"home",component:c0,data:{title:"NLF - Platform",prod:!0}},{path:"error",component:am,data:{bc:"Error",title:"ERROR",prod:!0}},{path:"ors",component:Z6,data:{bc:"OBSREG",title:"OBSREG",prod:!0}},{path:"content",component:bs,data:{bc:"Content",title:"Content",prod:!0}},{path:"admin",loadChildren:()=>B.e(479).then(B.bind(B,77479)).then(d=>d.NlfAdminModule),data:{bc:"Admin",preload:!1,title:"Admin",prod:!0}},{path:"integration",loadChildren:()=>B.e(527).then(B.bind(B,11527)).then(d=>d.NlfIntegrationModule),data:{bc:"Integration",preload:!1,title:"Integration",prod:!0}},{path:"aip",loadChildren:()=>B.e(466).then(B.bind(B,81466)).then(d=>d.NlfAipModule),data:{bc:"AIP",preload:!1,title:"AIP",prod:!0}},{path:"organizations",loadChildren:()=>B.e(728).then(B.bind(B,71728)).then(d=>d.NlfOrganizationsModule),data:{bc:"Organizations",preload:!1,title:"Organizations",prod:!0}},{path:"aircraft",loadChildren:()=>B.e(177).then(B.bind(B,65177)).then(d=>d.NlfAircraftsModule),data:{bc:"Aircraft",preload:!1,title:"Aircraft",prod:!0}},{path:"app/obs",loadChildren:()=>B.e(254).then(B.bind(B,11254)).then(d=>d.NlfPermalinksModule),data:{preload:!1,prod:!0}},{path:"app/obs/",loadChildren:()=>B.e(254).then(B.bind(B,11254)).then(d=>d.NlfPermalinksModule),data:{preload:!1,prod:!0}},{path:"medlem",component:gl,data:{bc:"Medlemssjekk",title:"Medlemssjekk",prod:!0}},{path:"medlem/kompetanse",component:ag,data:{bc:"Kompetanser",title:"Kompetanser",prod:!1}},{path:"fallskjerm",loadChildren:()=>B.e(202).then(B.bind(B,1202)).then(d=>d.NlfFallskjermModule),data:{bc:"Fallskjerm",preload:!1,title:"Fallskjerm",prod:!0}},{path:"**",component:c0},{path:"",redirectTo:"home",pathMatch:"full"}];!0===W2.N.production&&(T5=T5.filter(d=>{console.log("Routes filter",d);try{if(!d.hasOwnProperty("data")||!0===d.data.prod)return d}catch(e){}return!1}));let Rm=class{};Rm=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({imports:[_r.Bz.forRoot(T5,{preloadingStrategy:Lm,relativeLinkResolution:"legacy"}),A8,Wv,Gv,Er],exports:[_r.Bz],providers:[ia.v,Lm],declarations:[]})],Rm);let Mw=new i.OlP("nlf.config");let R_=class{};R_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({providers:[{provide:Mw,useValue:{apiEndpoint:"/api/v1",nif_roles:{klubbmedlem:1e7,medlemsansvarlig:40000004,leder:1,utdanningskontakt:7,integrasjonsbruker:202427,kursarrang\u00f8r:40000010,organsvarlig:40000008,lisensansvarlig:26,politiattest:202401,hovedinstrukt\u00f8r:201120,skolesjef:202639,operativleder:202638,orskoordinator:202655,fornyelse:202635,sikkerhetsansvarlig:202640},nlf_org_id:376,activities:[27,109,238,235,237,110,111,236],activity_orgs:{90972:109,203025:238,203030:237,203026:235,90968:110,90969:111,203027:236},mapping:{fallskjerm:109,motorfly:238,ballong:235,mikrofly:237,hps:110,seilfly:111,modellfly:236,luftsport:27},inv_mapping:{109:"fallskjerm",238:"motorfly",235:"ballong",237:"mikrofly",110:"hps",111:"seilfly",236:"modellfly",27:"luftsport"},luftsport:{name:"Norges Luftsportforbund",letter:"nlf",key:"luftsport",id:27,org_id:376},fallskjerm:{name:"Fallskjerm",letter:"f",key:"fallskjerm",id:109,org_id:90972,observation:{app_name:"OBSREG",e5x:{enabled:!1},categories:["aff","line","elev","tandem","skjerm","materiell"],operational:{club:!0,op:!0,jumping:!0},create:{local:!0,dev:!0,beta:!1,prod:!1},components:{attributes:{reserve_ride:{badge:"info",label:"Reserve benyttet"},aad_fire:{badge:"danger",label:"N\xf8d\xe5pner fyring"},aad_rescue:{badge:"danger",label:"N\xf8d\xe5pner redning"},packing_error:{badge:"secondary",label:"Pakkefeil"},gear_malfunction:{badge:"secondary",label:"Feilfunksjon"},damage:{badge:"secondary",label:"Matriell skade"},gear_failure:{badge:"secondary",label:"Utstyrsvikt"},rigger_error:{badge:"warning",label:"MK/MR Feil"},violation:{badge:"warning",label:"Regelbrudd"},willful_violation:{badge:"danger",label:"Med vitende vilje"},injury:{badge:"danger",label:"Personskade"},death:{badge:"dark",label:"D\xf8d"}},flags:{barrier:{label:"Barri\xe6re",badge:"secondary"},incident:{label:"Hendelse",badge:"info"},cause:{label:"\xc5rsak",badge:"warning"},root_cause:{label:"Rot\xe5rsak",badge:"warning"},consequence:{label:"Konsekvens",badge:"danger"},final_consequence:{label:"Sluttkonsekvens",badge:"danger"}}},flagsArr:["aviation","insurance"],flags:{aviation:{label:"Luftfartshendelse",badge:"danger",icon:"plane"},insurance:{label:"Forsikringssak",badge:"warning",icon:"wheelchair"}},stateArr:["withdrawn","draft","pending_review_hi","pending_review_fs","pending_review_su","closed"],stateRoles:{draft:"Observat\xf8r",pending_review_hi:"Hovedinstrukt\xf8r",pending_review_fs:"Fagsjef",pending_review_su:"Sikkerhet og Utdanningskommisjonen",pending_review_su_aff:"Sikkerhet og Utdanningskommisjonen - AFF",pending_review_su_tandem:"Sikkerhet og Utdanningskommisjonen - Tandem",pending_review_su_msj:"Sikkerhet og Utdanningskommisjonen - MSJ",pending_review_su_skjerm:"Sikkerhet og Utdanningskommisjonen - Skjemkj\xf8ring"},state:{unknown:{badge:"danger",icon:"exclamation",label:"Ukjent",descr:"Ukjent tilstand i arbeidsflyten"},withdrawn:{badge:"dark",icon:"ban",label:"Trukket",descr:"Trukket tilbake"},draft:{badge:"secondary",icon:"pencil",label:"Utkast",descr:"Opprettet og redigeres som utkast"},pending_review_observer:{badge:"info",icon:"clock-o",label:"Info",descr:"Avventer info fra observat\xf8r"},pending_review_hi:{badge:"info",icon:"clock-o",label:"HI",descr:"Avventer HI"},pending_review_fs:{badge:"info",icon:"clock-o",label:"Fagsjef",descr:"Avventer Fagsjef"},pending_review_su:{badge:"info",icon:"clock-o",label:"SU",descr:"Avventer SU"},pending_review_su_aff:{badge:"info",icon:"clock-o",label:"SU",descr:"Avventer SU AFF"},pending_review_su_tandem:{badge:"info",icon:"clock-o",label:"SU",descr:"Avventer SU Tandem"},pending_review_su_msj:{badge:"info",icon:"clock-o",label:"SU",descr:"Avventer SU MSJ"},pending_review_su_skjerm:{badge:"info",icon:"clock-o",label:"SU",descr:"Avventer SU Skjermkj\xf8ring"},closed:{badge:"success",icon:"check",label:"Lukket"}},typesArr:["sharing","unwanted_act","unsafe_act","unsafe_condition","near_miss","incident","accident"],types:{sharing:{label:"Erfaringsdeling",badge:"success",title:"Del en observasjon av noe bra eller d\xe5rlig"},unwanted_act:{label:"U\xf8nsket",badge:"info",title:"Alle de tingene som oppst\xe5r som er u\xf8nsket eller uheldige"},unsafe_act:{label:"Utrygg adferd",badge:"secondary",title:"Utrygge eller farlige forhold"},unsafe_condition:{label:"Utrygge forhold",badge:"secondary",title:"Utrygg eller farlig adferd"},near_miss:{label:"N\xe6ruhell",badge:"warning",title:"N\xe6ruhell som definert i HB men ikke begrenset av"},incident:{label:"Uhell",badge:"danger",title:"Personskade - opps\xf8ker legehjelp"},accident:{label:"Ulykke",badge:"dark",title:"D\xf8d eller varige men"}},ask:{attitude:{label:"Holdninger"},skills:{label:"Ferdigheter"},knowledge:{label:"Kunnskaper"}},rating:[{label:null,value:0,badge:"danger"},{label:"Alt OK",value:1,badge:"success"},{label:"Til ettertanke",value:2,badge:"info"},{label:"Mindre skade",value:3,badge:"warning"},{label:"Middels skade",value:4,badge:"warning"},{label:"Alvorlig skade",value:5,badge:"danger"},{label:"Alvorlig skade/men",value:6,badge:"danger"},{label:"D\xf8d",value:7,badge:"dark"},{label:"Flere d\xf8de",value:8,badge:"dark"}]}},motorfly:{name:"Motorfly",letter:"g",key:"motorfly",id:238,org_id:203025,observation:{app_name:"OBSREG",e5x:{enabled:!0,rit_version:"4.1.0.3"},create:{local:!0,dev:!0,beta:!1,prod:!0},components:{attributes:{reserve_ride:{badge:"info",label:"Reserve benyttet"},aad_fire:{badge:"danger",label:"N\xf8d\xe5pner fyring"},aad_rescue:{badge:"danger",label:"N\xf8d\xe5pner redning"},packing_error:{badge:"secondary",label:"Pakkefeil"},gear_malfunction:{badge:"secondary",label:"Feilfunksjon"},damage:{badge:"secondary",label:"Matriell skade"},gear_failure:{badge:"secondary",label:"Utstyrsvikt"},rigger_error:{badge:"warning",label:"MK/MR Feil"},violation:{badge:"warning",label:"Regelbrudd"},injury:{badge:"danger",label:"Personskade"},death:{badge:"dark",label:"D\xf8d"}},flags:{barrier:{label:"Barri\xe6re",badge:"secondary"},incident:{label:"Hendelse",badge:"info"},cause:{label:"\xc5rsak",badge:"warning"},root_cause:{label:"Rot\xe5rsak",badge:"warning"},consequence:{label:"Konsekvens",badge:"danger"},final_consequence:{label:"Sluttkonsekvens",badge:"danger"}}},flagsArr:["aviation","school","flight_service"],flags:{aviation:{label:"Er tilfellet rapporteringspliktig til luftfartsmyndigheten?",badge:"danger",icon:"plane"},school:{label:"Skoling",badge:"info",icon:"plane"},flight_service:{label:"Flytjenesteoppdrag",badge:"warning",icon:"plane"}},stateArr:["withdrawn","draft","pending_review_ors","pending_review_ftl","pending_review_dto","pending_review_skole","pending_review_teknisk","pending_review_operativ","closed"],stateRoles:{draft:"Observat\xf8r",pending_review_ors:"OBSREG-koordinator",pending_review_ftl:"FTL",pending_review_dto:"DTO Ansvarlig",pending_review_skole:"Skolesjef",pending_review_teknisk:"Teknisk Leder",pending_review_operativ:"Operativ Leder"},state:{unknown:{badge:"danger",icon:"exclamation",label:"Ukjent",descr:"Ukjent tilstand p\xe5 observasjonen"},withdrawn:{badge:"dark",icon:"ban",label:"Trukket",descr:"Observasjonen er trukket tilbake"},draft:{badge:"secondary",icon:"pencil",label:"Utkast",descr:"Opprettet og redigeres som utkast"},pending_review_observer:{badge:"info",icon:"clock-o",label:"Info",descr:"Avventer info fra observat\xf8r"},pending_review_ftl:{badge:"info",icon:"clock-o",label:"Info",descr:"Avventer TL"},pending_review_teknisk:{badge:"info",icon:"clock-o",label:"Teknisk",descr:"Avventer Teknisk Leder"},pending_review_operativ:{badge:"info",icon:"clock-o",label:"Operativ",descr:"Avventer Operativ Leder"},pending_review_dto:{badge:"info",icon:"clock-o",label:"DTO",descr:"Avventer DTO representant"},pending_review_skole:{badge:"info",icon:"clock-o",label:"Skolesjef",descr:"Avventer Skolesjef"},pending_review_ors:{badge:"info",icon:"clock-o",label:"OBSREG",descr:"Avventer OBSREG-Koordinator"},closed:{badge:"success",icon:"check",label:"Lukket",descr:"Ferdig behandlet og lukket"}},typesArr:["sharing","unwanted_act","near_miss","incident","accident"],types:{sharing:{label:"Erfaringsdeling",badge:"success",title:"Del en observasjon av noe bra eller d\xe5rlig"},unwanted_act:{label:"U\xf8nsket tilfelle",badge:"info",title:"Alle de tingene som oppst\xe5r som er u\xf8nsket eller uheldige"},near_miss:{label:"Hendelse",badge:"warning",title:"En annen hendelse enn en ulykke i tilknytning til driften av et luftfart\xf8y som pa\u030avirker eller kan pa\u030avirke driftssikkerheten (Incident)"},incident:{label:"Alvorlig hendelse",badge:"danger",title:"En hendelse der omstendighetene tilsier at det var h\xf8y sannsynlighet for en ulykke og som er knyttet til driften av et luftfart\xf8y (Serious Incident)"},accident:{label:"Ulykke",badge:"dark",title:"En alvorlig hendelse med et s\xe6rlig alvorlig utfall i form av personskader eller store materielle skader, se n\xe6rmere definisjon ved \xe5 trykke p\xe5 sp\xf8rsm\xe5lstegnet"}},ask:{attitude:{label:"Holdninger"},skills:{label:"Ferdigheter"},knowledge:{label:"Kunnskaper"}},rating:[{label:null,value:0,badge:"danger"},{label:"Alt OK",value:1,badge:"success"},{label:"Til ettertanke",value:2,badge:"info"},{label:"Mindre skade",value:3,badge:"warning"},{label:"Middels skade",value:4,badge:"warning"},{label:"Alvorlig skade",value:5,badge:"danger"},{label:"Alvorlig skade/men",value:6,badge:"danger"},{label:"D\xf8d",value:7,badge:"dark"},{label:"Flere d\xf8de",value:8,badge:"dark"}]}},mikrofly:{name:"Sportsfly",letter:"u",key:"sportsfly",id:327,org_id:203030,observation:{app_name:"OBSREG",e5x:{enabled:!0,rit_version:"4.1.0.3"},create:{local:!0,dev:!0,beta:!1,prod:!0},components:{attributes:{reserve_ride:{badge:"info",label:"Reserve benyttet"},aad_fire:{badge:"danger",label:"N\xf8d\xe5pner fyring"},aad_rescue:{badge:"danger",label:"N\xf8d\xe5pner redning"},packing_error:{badge:"secondary",label:"Pakkefeil"},gear_malfunction:{badge:"secondary",label:"Feilfunksjon"},damage:{badge:"secondary",label:"Matriell skade"},gear_failure:{badge:"secondary",label:"Utstyrsvikt"},rigger_error:{badge:"warning",label:"MK/MR Feil"},violation:{badge:"warning",label:"Regelbrudd"},injury:{badge:"danger",label:"Personskade"},death:{badge:"dark",label:"D\xf8d"}},flags:{barrier:{label:"Barri\xe6re",badge:"secondary"},incident:{label:"Hendelse",badge:"info"},cause:{label:"\xc5rsak",badge:"warning"},root_cause:{label:"Rot\xe5rsak",badge:"warning"},consequence:{label:"Konsekvens",badge:"danger"},final_consequence:{label:"Sluttkonsekvens",badge:"danger"}}},flagsArr:["aviation","school","flight_service"],flags:{aviation:{label:"Er tilfellet rapporteringspliktig til luftfartsmyndigheten?",badge:"danger",icon:"plane"},school:{label:"Skoling",badge:"info",icon:"plane"},flight_service:{label:"Flytjenesteoppdrag",badge:"warning",icon:"plane"}},stateArr:["withdrawn","draft","pending_review_ors","pending_review_ftl","pending_review_dto","pending_review_skole","pending_review_teknisk","pending_review_operativ","closed"],stateRoles:{draft:"Observat\xf8r",pending_review_ors:"OBSREG-koordinator",pending_review_ftl:"FTL",pending_review_dto:"DTO Ansvarlig",pending_review_skole:"Skolesjef",pending_review_teknisk:"Teknisk Leder",pending_review_operativ:"Operativ Leder"},state:{unknown:{badge:"danger",icon:"exclamation",label:"Ukjent",descr:"Ukjent tilstand p\xe5 observasjonen"},withdrawn:{badge:"dark",icon:"ban",label:"Trukket",descr:"Observasjonen er trukket tilbake"},draft:{badge:"secondary",icon:"pencil",label:"Utkast",descr:"Opprettet og redigeres som utkast"},pending_review_observer:{badge:"info",icon:"clock-o",label:"Info",descr:"Avventer info fra observat\xf8r"},pending_review_ftl:{badge:"info",icon:"clock-o",label:"Info",descr:"Avventer TL"},pending_review_teknisk:{badge:"info",icon:"clock-o",label:"Teknisk",descr:"Avventer Teknisk Leder"},pending_review_operativ:{badge:"info",icon:"clock-o",label:"Operativ",descr:"Avventer Operativ Leder"},pending_review_dto:{badge:"info",icon:"clock-o",label:"DTO",descr:"Avventer DTO representant"},pending_review_skole:{badge:"info",icon:"clock-o",label:"Skolesjef",descr:"Avventer Skolesjef"},pending_review_ors:{badge:"info",icon:"clock-o",label:"OBSREG",descr:"Avventer OBSREG-Koordinator"},closed:{badge:"success",icon:"check",label:"Lukket",descr:"Ferdig behandlet og lukket"}},typesArr:["sharing","unwanted_act","near_miss","incident","accident"],types:{sharing:{label:"Erfaringsdeling",badge:"success",title:"Del en observasjon av noe bra eller d\xe5rlig"},unwanted_act:{label:"U\xf8nsket tilfelle",badge:"info",title:"Alle de tingene som oppst\xe5r som er u\xf8nsket eller uheldige"},near_miss:{label:"Hendelse",badge:"warning",title:"En annen hendelse enn en ulykke i tilknytning til driften av et luftfart\xf8y som pa\u030avirker eller kan pa\u030avirke driftssikkerheten (Incident)"},incident:{label:"Alvorlig hendelse",badge:"danger",title:"En hendelse der omstendighetene tilsier at det var h\xf8y sannsynlighet for en ulykke og som er knyttet til driften av et luftfart\xf8y (Serious Incident)"},accident:{label:"Ulykke",badge:"dark",title:"En alvorlig hendelse med et s\xe6rlig alvorlig utfall i form av personskader eller store materielle skader, se n\xe6rmere definisjon ved \xe5 trykke p\xe5 sp\xf8rsm\xe5lstegnet"}},ask:{attitude:{label:"Holdninger"},skills:{label:"Ferdigheter"},knowledge:{label:"Kunnskaper"}},rating:[{label:null,value:0,badge:"danger"},{label:"Alt OK",value:1,badge:"success"},{label:"Til ettertanke",value:2,badge:"info"},{label:"Mindre skade",value:3,badge:"warning"},{label:"Middels skade",value:4,badge:"warning"},{label:"Alvorlig skade",value:5,badge:"danger"},{label:"Alvorlig skade/men",value:6,badge:"danger"},{label:"D\xf8d",value:7,badge:"dark"},{label:"Flere d\xf8de",value:8,badge:"dark"}]}},ballong:{name:"Ballong",letter:"b",id:235,org_id:203026,key:"ballong"},seilfly:{name:"Seilfly",letter:"s",key:"seilfly",id:111,org_id:90968},hps:{name:"Hang-, paragliding og speedriding",letter:"h",key:"hps",id:110,org_id:90969},modellfly:{name:"Modellfly",letter:"m",key:"modellfly",id:110,org_id:203027}}}]})],R_);var lm,kw=B(6150),Jb=B(80522);function qv(d){if(0===d)return"0 Byte";const r=Math.floor(Math.log(d)/Math.log(1024));return parseFloat((d/Math.pow(1024,r)).toFixed(2))+" "+["Bytes","KB","MB","GB","TB","PB"][r]}!function(d){d[d.Queue=0]="Queue",d[d.Uploading=1]="Uploading",d[d.Done=2]="Done",d[d.Cancelled=3]="Cancelled"}(lm||(lm={}));class Qb{constructor(e=Number.POSITIVE_INFINITY,t=["*"],r=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY){this.queue=[],this.serviceEvents=new i.vpe,this.uploadScheduler=new Tl.xQ,this.subs=[],this.contentTypes=t,this.maxUploads=r,this.maxFileSize=l,this.uploadScheduler.pipe((0,Jb.zg)(u=>this.startUpload(u),e)).subscribe(u=>this.serviceEvents.emit(u))}handleFiles(e){const t=[].reduce.call(e,(r,l,u)=>{const M=r.length+this.queue.length+1;if(this.isContentTypeAllowed(l.type)&&M<=this.maxUploads&&this.isFileSizeAllowed(l.size))r=r.concat(l);else{const F=this.makeUploadFile(l,u);this.serviceEvents.emit({type:"rejected",file:F})}return r},[]);this.queue.push(...[].map.call(t,(r,l)=>{const u=this.makeUploadFile(r,l);return this.serviceEvents.emit({type:"addedToQueue",file:u}),u})),this.serviceEvents.emit({type:"allAddedToQueue"})}initInputEvents(e){return e.subscribe(t=>{switch(t.type){case"uploadFile":const r=this.queue.findIndex(_e=>_e===t.file);-1!==r&&t.file&&this.uploadScheduler.next({file:this.queue[r],event:t});break;case"uploadAll":this.queue.filter(_e=>_e.progress.status===lm.Queue).forEach(_e=>this.uploadScheduler.next({file:_e,event:t}));break;case"cancel":const u=t.id||null;if(!u)return;this.subs.filter(_e=>_e.id===u).forEach(_e=>{if(_e.sub){_e.sub.unsubscribe();const Le=this.queue.findIndex(Ge=>Ge.id===u);-1!==Le&&(this.queue[Le].progress.status=lm.Cancelled,this.serviceEvents.emit({type:"cancelled",file:this.queue[Le]}))}});break;case"cancelAll":this.subs.forEach(_e=>{_e.sub&&_e.sub.unsubscribe();const Le=this.queue.find(Ge=>Ge.id===_e.id);Le&&(Le.progress.status=lm.Cancelled,this.serviceEvents.emit({type:"cancelled",file:Le}))});break;case"remove":if(!t.id)return;const F=this.queue.findIndex(_e=>_e.id===t.id);if(-1!==F){const _e=this.queue[F];this.queue.splice(F,1),this.serviceEvents.emit({type:"removed",file:_e})}break;case"removeAll":this.queue.length&&(this.queue=[],this.serviceEvents.emit({type:"removedAll"}))}})}startUpload(e){return new Th.y(t=>{const r=this.uploadFile(e.file,e.event).pipe((0,sp.x)(()=>{t.closed||t.complete()})).subscribe(l=>{t.next(l)},l=>{t.error(l),t.complete()},()=>{t.complete()});this.subs.push({id:e.file.id,sub:r})})}uploadFile(e,t){return new Th.y(r=>{const l=t.url||"",u=t.method||"POST",M=t.data||{},F=t.headers||{},_e=new XMLHttpRequest,Le=(new Date).getTime();let Ge=e.progress.data&&e.progress.data.startTime||Le,_t=0,Bt=null;_e.upload.addEventListener("progress",on=>{if(on.lengthComputable){const Kt=Math.round(100*on.loaded/on.total),On=(new Date).getTime()-Le;_t=Math.round(on.loaded/On*1e3),Ge=e.progress.data&&e.progress.data.startTime||(new Date).getTime(),Bt=Math.ceil((on.total-on.loaded)/_t),e.progress={status:lm.Uploading,data:{percentage:Kt,speed:_t,speedHuman:`${qv(_t)}/s`,startTime:Ge,endTime:null,eta:Bt,etaHuman:this.secondsToHuman(Bt)}},r.next({type:"uploading",file:e})}},!1),_e.upload.addEventListener("error",on=>{r.error(on),r.complete()}),_e.onreadystatechange=()=>{if(_e.readyState===XMLHttpRequest.DONE){const on=Math.round(e.size/((new Date).getTime()-Ge)*1e3);e.progress={status:lm.Done,data:{percentage:100,speed:on,speedHuman:`${qv(on)}/s`,startTime:Ge,endTime:(new Date).getTime(),eta:Bt,etaHuman:this.secondsToHuman(Bt||0)}},e.responseStatus=_e.status;try{e.response=JSON.parse(_e.response)}catch(Kt){e.response=_e.response}e.responseHeaders=this.parseResponseHeaders(_e.getAllResponseHeaders()),r.next({type:"done",file:e}),r.complete()}},_e.open(u,l,!0),_e.withCredentials=!!t.withCredentials;try{const on=e.nativeFile,Kt=this.queue.findIndex(Kn=>Kn.nativeFile===on);let On;this.queue[Kt].progress.status===lm.Cancelled&&r.complete(),Object.keys(F).forEach(Kn=>_e.setRequestHeader(Kn,F[Kn])),!1!==t.includeWebKitFormBoundary?(Object.keys(M).forEach(Kn=>e.form.append(Kn,M[Kn])),e.form.append(t.fieldName||"file",on,on.name),On=e.form):On=on,this.serviceEvents.emit({type:"start",file:e}),_e.send(On)}catch(on){r.complete()}return()=>{_e.abort()}})}secondsToHuman(e){return new Date(1e3*e).toISOString().substr(11,8)}generateId(){return Math.random().toString(36).substring(7)}setContentTypes(e){void 0!==e&&e instanceof Array?void 0!==e.find(t=>"*"===t)?this.contentTypes=["*"]:this.contentTypes=e:this.contentTypes=["*"]}allContentTypesAllowed(){return void 0!==this.contentTypes.find(e=>"*"===e)}isContentTypeAllowed(e){return!!this.allContentTypesAllowed()||void 0!==this.contentTypes.find(t=>t===e)}isFileSizeAllowed(e){return!this.maxFileSize||e<=this.maxFileSize}makeUploadFile(e,t){return{fileIndex:t,id:this.generateId(),name:e.name,size:e.size,type:e.type,form:new FormData,progress:{status:lm.Queue,data:{percentage:0,speed:0,speedHuman:`${qv(0)}/s`,startTime:null,endTime:null,eta:null,etaHuman:null}},lastModifiedDate:new Date(e.lastModified),sub:void 0,nativeFile:e}}parseResponseHeaders(e){if(e)return e.split("\n").map(t=>t.split(/: */,2)).filter(t=>t[0]).reduce((t,r)=>(t[r[0]]=r[1],t),{})}}class S5{constructor(e){this.elementRef=e,this.stopEvent=t=>{t.stopPropagation(),t.preventDefault()},this.uploadOutput=new i.vpe}ngOnInit(){this._sub=[];const e=this.options&&this.options.concurrency||Number.POSITIVE_INFINITY,t=this.options&&this.options.allowedContentTypes||["*"],r=this.options&&this.options.maxUploads||Number.POSITIVE_INFINITY,l=this.options&&this.options.maxFileSize||Number.POSITIVE_INFINITY;this.upload=new Qb(e,t,r,l),this.el=this.elementRef.nativeElement,this._sub.push(this.upload.serviceEvents.subscribe(u=>{this.uploadOutput.emit(u)})),this.uploadInput instanceof i.vpe&&this._sub.push(this.upload.initInputEvents(this.uploadInput)),this.el.addEventListener("drop",this.stopEvent,!1),this.el.addEventListener("dragenter",this.stopEvent,!1),this.el.addEventListener("dragover",this.stopEvent,!1)}ngOnDestroy(){this._sub&&this._sub.forEach(e=>e.unsubscribe())}onDrop(e){e.stopPropagation(),e.preventDefault();this.uploadOutput.emit({type:"drop"}),this.upload.handleFiles(e.dataTransfer.files)}onDragOver(e){if(!e)return;this.uploadOutput.emit({type:"dragOver"})}onDragLeave(e){if(!e)return;this.uploadOutput.emit({type:"dragOut"})}}S5.\u0275fac=function(e){return new(e||S5)(i.Y36(i.SBq))},S5.\u0275dir=i.lG2({type:S5,selectors:[["","ngFileDrop",""]],hostBindings:function(e,t){1&e&&i.NdJ("drop",function(l){return t.onDrop(l)})("dragover",function(l){return t.onDragOver(l)})("dragleave",function(l){return t.onDragLeave(l)})},inputs:{options:"options",uploadInput:"uploadInput"},outputs:{uploadOutput:"uploadOutput"}});class R8{constructor(e){this.elementRef=e,this.fileListener=()=>{this.el.files&&this.upload.handleFiles(this.el.files)},this.uploadOutput=new i.vpe}ngOnInit(){this._sub=[];const e=this.options&&this.options.concurrency||Number.POSITIVE_INFINITY,t=this.options&&this.options.allowedContentTypes||["*"],r=this.options&&this.options.maxUploads||Number.POSITIVE_INFINITY,l=this.options&&this.options.maxFileSize||Number.POSITIVE_INFINITY;this.upload=new Qb(e,t,r,l),this.el=this.elementRef.nativeElement,this.el.addEventListener("change",this.fileListener,!1),this._sub.push(this.upload.serviceEvents.subscribe(u=>{this.uploadOutput.emit(u)})),this.uploadInput instanceof i.vpe&&this._sub.push(this.upload.initInputEvents(this.uploadInput))}ngOnDestroy(){this.el&&(this.el.removeEventListener("change",this.fileListener,!1),this._sub.forEach(e=>e.unsubscribe()))}}R8.\u0275fac=function(e){return new(e||R8)(i.Y36(i.SBq))},R8.\u0275dir=i.lG2({type:R8,selectors:[["","ngFileSelect",""]],inputs:{options:"options",uploadInput:"uploadInput"},outputs:{uploadOutput:"uploadOutput"}});class N8{}N8.\u0275fac=function(e){return new(e||N8)},N8.\u0275mod=i.oAB({type:N8,declarations:[S5,R8],exports:[S5,R8]}),N8.\u0275inj=i.cJS({});var $v=B(66959),Lw=B(26149);function er(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}function Z7(d,e,t,r){return new(t||(t=Promise))(function(u,M){function F(Ge){try{Le(r.next(Ge))}catch(_t){M(_t)}}function _e(Ge){try{Le(r.throw(Ge))}catch(_t){M(_t)}}function Le(Ge){Ge.done?u(Ge.value):function l(u){return u instanceof t?u:new t(function(M){M(u)})}(Ge.value).then(F,_e)}Le((r=r.apply(d,e||[])).next())})}const Ow=["wrapper"],Pw=["sourceImage"];function ny(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"img",4,5),i.NdJ("load",function(){return i.CHM(t),i.oxw().imageLoadedInView()}),i.qZA()}if(2&d){const t=i.oxw();i.Udp("visibility",t.imageVisible?"visible":"hidden")("transform",t.safeTransformStyle),i.Q6J("src",t.safeImgDataUrl,i.LSH)}}function zw(d,e){if(1&d){const t=i.EpF();i.ynx(0),i.TgZ(1,"span",9),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"topleft")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"topleft")}),i._UZ(2,"span",10),i.qZA(),i.TgZ(3,"span",11),i._UZ(4,"span",10),i.qZA(),i.TgZ(5,"span",12),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"topright")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"topright")}),i._UZ(6,"span",10),i.qZA(),i.TgZ(7,"span",13),i._UZ(8,"span",10),i.qZA(),i.TgZ(9,"span",14),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottomright")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottomright")}),i._UZ(10,"span",10),i.qZA(),i.TgZ(11,"span",15),i._UZ(12,"span",10),i.qZA(),i.TgZ(13,"span",16),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottomleft")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottomleft")}),i._UZ(14,"span",10),i.qZA(),i.TgZ(15,"span",17),i._UZ(16,"span",10),i.qZA(),i.TgZ(17,"span",18),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"top")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"top")}),i.qZA(),i.TgZ(18,"span",19),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"right")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"right")}),i.qZA(),i.TgZ(19,"span",20),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottom")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"bottom")}),i.qZA(),i.TgZ(20,"span",21),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"left")})("touchstart",function(l){i.CHM(t);const u=i.oxw(2);return u.startMove(l,u.moveTypes.Resize,"left")}),i.qZA(),i.BQk()}}function Rw(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",6),i.NdJ("keydown",function(l){return i.CHM(t),i.oxw().keyboardAccess(l)}),i.TgZ(1,"div",7),i.NdJ("mousedown",function(l){i.CHM(t);const u=i.oxw();return u.startMove(l,u.moveTypes.Move)})("touchstart",function(l){i.CHM(t);const u=i.oxw();return u.startMove(l,u.moveTypes.Move)}),i.qZA(),i.YNc(2,zw,21,0,"ng-container",8),i.qZA()}if(2&d){const t=i.oxw();i.Udp("top",t.cropper.y1,"px")("left",t.cropper.x1,"px")("width",t.cropper.x2-t.cropper.x1,"px")("height",t.cropper.y2-t.cropper.y1,"px")("margin-left","center"===t.alignImage?t.marginLeft:null)("visibility",t.imageVisible?"visible":"hidden"),i.ekj("rounded",t.roundCropper),i.xp6(2),i.Q6J("ngIf",!t.hideResizeSquares)}}const Nm={Move:"move",Resize:"resize",Pinch:"pinch"};class lg{crop(e,t,r,l){const u=this.getImagePosition(e,t,r,l),M=u.x2-u.x1,F=u.y2-u.y1,_e=document.createElement("canvas");_e.width=M,_e.height=F;const Le=_e.getContext("2d");if(!Le)return;null!=l.backgroundColor&&(Le.fillStyle=l.backgroundColor,Le.fillRect(0,0,M,F));const Ge=(l.transform.scale||1)*(l.transform.flipH?-1:1),_t=(l.transform.scale||1)*(l.transform.flipV?-1:1),Bt=t.transformed;Le.setTransform(Ge,0,0,_t,Bt.size.width/2,Bt.size.height/2),Le.translate(-u.x1/Ge,-u.y1/_t),Le.rotate((l.transform.rotate||0)*Math.PI/180),Le.drawImage(Bt.image,-Bt.size.width/2,-Bt.size.height/2);const on={width:M,height:F,imagePosition:u,cropperPosition:Object.assign({},r)};l.containWithinAspectRatio&&(on.offsetImagePosition=this.getOffsetImagePosition(e,t,r,l));const Kt=this.getResizeRatio(M,F,l);return 1!==Kt&&(on.width=Math.round(M*Kt),on.height=l.maintainAspectRatio?Math.round(on.width/l.aspectRatio):Math.round(F*Kt),function j_(d,e,t){const r=d.width,l=d.height,u=r/(e=Math.round(e)),M=l/(t=Math.round(t)),F=Math.ceil(u/2),_e=Math.ceil(M/2),Le=d.getContext("2d");if(Le){const Ge=Le.getImageData(0,0,r,l),_t=Le.createImageData(e,t),Bt=Ge.data,on=_t.data;for(let Kt=0;Kt<t;Kt++)for(let On=0;On<e;On++){const Kn=4*(On+Kt*e),nr=Kt*M;let Ci=0,Ar=0,oo=0,el=0,Hl=0,Ic=0,eu=0;const cc=Math.floor(On*u),$2=Math.floor(Kt*M);let Ys=Math.ceil((On+1)*u),Td=Math.ceil((Kt+1)*M);Ys=Math.min(Ys,r),Td=Math.min(Td,l);for(let tl=$2;tl<Td;tl++){const U4=Math.abs(nr-tl)/_e,T6=On*u,Zr=U4*U4;for(let Eo=cc;Eo<Ys;Eo++){const ls=Math.abs(T6-Eo)/F,ka=Math.sqrt(Zr+ls*ls);if(ka>=1)continue;Ci=2*ka*ka*ka-3*ka*ka+1;const Sd=4*(Eo+tl*r);eu+=Ci*Bt[Sd+3],oo+=Ci,Bt[Sd+3]<255&&(Ci=Ci*Bt[Sd+3]/250),el+=Ci*Bt[Sd],Hl+=Ci*Bt[Sd+1],Ic+=Ci*Bt[Sd+2],Ar+=Ci}}on[Kn]=el/Ar,on[Kn+1]=Hl/Ar,on[Kn+2]=Ic/Ar,on[Kn+3]=eu/oo}d.width=e,d.height=t,Le.putImageData(_t,0,0)}}(_e,on.width,on.height)),on.base64=_e.toDataURL("image/"+l.format,this.getQuality(l)),on}getImagePosition(e,t,r,l){const u=e.nativeElement,M=t.transformed.size.width/u.offsetWidth,F={x1:Math.round(r.x1*M),y1:Math.round(r.y1*M),x2:Math.round(r.x2*M),y2:Math.round(r.y2*M)};return l.containWithinAspectRatio||(F.x1=Math.max(F.x1,0),F.y1=Math.max(F.y1,0),F.x2=Math.min(F.x2,t.transformed.size.width),F.y2=Math.min(F.y2,t.transformed.size.height)),F}getOffsetImagePosition(e,t,r,l){const u=l.canvasRotation+t.exifTransform.rotate,M=e.nativeElement,F=t.transformed.size.width/M.offsetWidth;let _e,Le;u%2?(_e=(t.transformed.size.width-t.original.size.height)/2,Le=(t.transformed.size.height-t.original.size.width)/2):(_e=(t.transformed.size.width-t.original.size.width)/2,Le=(t.transformed.size.height-t.original.size.height)/2);const Ge={x1:Math.round(r.x1*F)-_e,y1:Math.round(r.y1*F)-Le,x2:Math.round(r.x2*F)-_e,y2:Math.round(r.y2*F)-Le};return l.containWithinAspectRatio||(Ge.x1=Math.max(Ge.x1,0),Ge.y1=Math.max(Ge.y1,0),Ge.x2=Math.min(Ge.x2,t.transformed.size.width),Ge.y2=Math.min(Ge.y2,t.transformed.size.height)),Ge}getResizeRatio(e,t,r){const l=r.resizeToWidth/e,u=r.resizeToHeight/t,M=new Array;r.resizeToWidth>0&&M.push(l),r.resizeToHeight>0&&M.push(u);const F=0===M.length?1:Math.min(...M);return F>1&&!r.onlyScaleDown?F:Math.min(F,1)}getQuality(e){return Math.min(1,Math.max(0,e.imageQuality/100))}}lg.\u0275fac=function(e){return new(e||lg)},lg.\u0275prov=i.Yz7({token:lg,factory:lg.\u0275fac,providedIn:"root"}),lg.ngInjectableDef=(0,i.Yz7)({factory:function(){return new lg},token:lg,providedIn:"root"});class Nw{constructor(){this.format="png",this.maintainAspectRatio=!0,this.transform={},this.aspectRatio=1,this.resizeToWidth=0,this.resizeToHeight=0,this.cropperMinWidth=0,this.cropperMinHeight=0,this.cropperMaxHeight=0,this.cropperMaxWidth=0,this.cropperStaticWidth=0,this.cropperStaticHeight=0,this.canvasRotation=0,this.initialStepSize=3,this.roundCropper=!1,this.onlyScaleDown=!1,this.imageQuality=92,this.autoCrop=!0,this.backgroundColor=void 0,this.containWithinAspectRatio=!1,this.hideResizeSquares=!1,this.alignImage="center",this.cropperScaledMinWidth=20,this.cropperScaledMinHeight=20,this.cropperScaledMaxWidth=20,this.cropperScaledMaxHeight=20,this.stepSize=this.initialStepSize}setOptions(e){Object.keys(e).filter(t=>t in this).forEach(t=>this[t]=e[t])}setOptionsFromChanges(e){Object.keys(e).filter(t=>t in this).forEach(t=>this[t]=e[t].currentValue)}}function Bw(d){switch("string"==typeof d&&(d=function jw(d){const e=new DataView(function Fw(d){d=d.replace(/^data\:([^\;]+)\;base64,/gim,"");const e=atob(d),t=e.length,r=new Uint8Array(t);for(let l=0;l<t;l++)r[l]=e.charCodeAt(l);return r.buffer}(d));if(65496!=e.getUint16(0,!1))return-2;const t=e.byteLength;let r=2;for(;r<t;){if(e.getUint16(r+2,!1)<=8)return-1;const l=e.getUint16(r,!1);if(r+=2,65505==l){if(1165519206!=e.getUint32(r+=2,!1))return-1;const u=18761==e.getUint16(r+=6,!1);r+=e.getUint32(r+4,u);const M=e.getUint16(r,u);r+=2;for(let F=0;F<M;F++)if(274==e.getUint16(r+12*F,u))return e.getUint16(r+12*F+8,u)}else{if(65280!=(65280&l))break;r+=e.getUint16(r,!1)}}return-1}(d)),d){case 2:return{rotate:0,flip:!0};case 3:return{rotate:2,flip:!1};case 4:return{rotate:2,flip:!0};case 5:return{rotate:1,flip:!0};case 6:return{rotate:1,flip:!1};case 7:return{rotate:3,flip:!0};case 8:return{rotate:3,flip:!1};default:return{rotate:0,flip:!1}}}class x0{constructor(){this.autoRotateSupported=function F_(){return new Promise(d=>{const e=new Image;e.onload=()=>{const t=1===e.width&&2===e.height;d(t)},e.src="data:image/jpeg;base64,/9j/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAYAAAAAAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAf/AABEIAAEAAgMBEQACEQEDEQH/xABKAAEAAAAAAAAAAAAAAAAAAAALEAEAAAAAAAAAAAAAAAAAAAAAAQEAAAAAAAAAAAAAAAAAAAAAEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwA/8H//2Q=="})}()}loadImageFile(e,t){return new Promise((r,l)=>{const u=new FileReader;u.onload=M=>{this.loadImage(M.target.result,e.type,t).then(r).catch(l)},u.readAsDataURL(e)})}loadImage(e,t,r){return this.isValidImageType(t)?this.loadBase64Image(e,r):Promise.reject(new Error("Invalid image type"))}isValidImageType(e){return/image\/(png|jpg|jpeg|bmp|gif|tiff|webp)/.test(e)}loadImageFromURL(e,t){return new Promise((r,l)=>{const u=new Image;u.onerror=()=>l,u.onload=()=>{const M=document.createElement("canvas"),F=M.getContext("2d");M.width=u.width,M.height=u.height,F.drawImage(u,0,0),this.loadBase64Image(M.toDataURL(),t).then(r)},u.crossOrigin="anonymous",u.src=e})}loadBase64Image(e,t){return new Promise((r,l)=>{const u=new Image;u.onload=()=>r({originalImage:u,originalBase64:e}),u.onerror=l,u.src=e}).then(r=>this.transformImageBase64(r,t))}transformImageBase64(e,t){return Z7(this,void 0,void 0,function*(){const r=yield this.autoRotateSupported,l=yield Bw(r?-1:e.originalBase64);if(!e.originalImage||!e.originalImage.complete)return Promise.reject(new Error("No image loaded"));const u={original:{base64:e.originalBase64,image:e.originalImage,size:{width:e.originalImage.naturalWidth,height:e.originalImage.naturalHeight}},exifTransform:l};return this.transformLoadedImage(u,t)})}transformLoadedImage(e,t){return Z7(this,void 0,void 0,function*(){const r=t.canvasRotation+e.exifTransform.rotate,l={width:e.original.image.naturalWidth,height:e.original.image.naturalHeight};if(0===r&&!e.exifTransform.flip&&!t.containWithinAspectRatio)return{original:{base64:e.original.base64,image:e.original.image,size:Object.assign({},l)},transformed:{base64:e.original.base64,image:e.original.image,size:Object.assign({},l)},exifTransform:e.exifTransform};const u=this.getTransformedSize(l,e.exifTransform,t),M=document.createElement("canvas");M.width=u.width,M.height=u.height;const F=M.getContext("2d");F.setTransform(e.exifTransform.flip?-1:1,0,0,1,M.width/2,M.height/2),F.rotate(Math.PI*(r/2)),F.drawImage(e.original.image,-l.width/2,-l.height/2);const _e=M.toDataURL(),Le=yield this.loadImageFromBase64(_e);return{original:{base64:e.original.base64,image:e.original.image,size:Object.assign({},l)},transformed:{base64:_e,image:Le,size:{width:Le.width,height:Le.height}},exifTransform:e.exifTransform}})}loadImageFromBase64(e){return new Promise((t,r)=>{const l=new Image;l.onload=()=>t(l),l.onerror=r,l.src=e})}getTransformedSize(e,t,r){const l=r.canvasRotation+t.rotate;if(r.containWithinAspectRatio){if(l%2){const u=e.width*r.aspectRatio,M=e.height/r.aspectRatio;return{width:Math.max(e.height,u),height:Math.max(e.width,M)}}{const u=e.height*r.aspectRatio,M=e.width/r.aspectRatio;return{width:Math.max(e.width,u),height:Math.max(e.height,M)}}}return l%2?{height:e.width,width:e.height}:{width:e.width,height:e.height}}}x0.\u0275fac=function(e){return new(e||x0)},x0.\u0275prov=i.Yz7({token:x0,factory:x0.\u0275fac,providedIn:"root"}),x0.ngInjectableDef=(0,i.Yz7)({factory:function(){return new x0},token:x0,providedIn:"root"});class cg{resetCropperPosition(e,t,r){const l=e.nativeElement;if(r.cropperStaticHeight&&r.cropperStaticWidth)t.x1=0,t.x2=l.offsetWidth>r.cropperStaticWidth?r.cropperStaticWidth:l.offsetWidth,t.y1=0,t.y2=l.offsetHeight>r.cropperStaticHeight?r.cropperStaticHeight:l.offsetHeight;else{const u=Math.min(r.cropperScaledMaxWidth,l.offsetWidth),M=Math.min(r.cropperScaledMaxHeight,l.offsetHeight);if(r.maintainAspectRatio)if(u/r.aspectRatio<M){t.x1=0,t.x2=u;const F=u/r.aspectRatio;t.y1=(l.offsetHeight-F)/2,t.y2=t.y1+F}else{t.y1=0,t.y2=M;const F=M*r.aspectRatio;t.x1=(l.offsetWidth-F)/2,t.x2=t.x1+F}else t.x1=0,t.x2=u,t.y1=0,t.y2=M}}move(e,t,r){const l=this.getClientX(e)-t.clientX,u=this.getClientY(e)-t.clientY;r.x1=t.x1+l,r.y1=t.y1+u,r.x2=t.x2+l,r.y2=t.y2+u}resize(e,t,r,l,u){const M=this.getClientX(e)-t.clientX,F=this.getClientY(e)-t.clientY;switch(t.position){case"left":r.x1=Math.min(Math.max(t.x1+M,r.x2-u.cropperScaledMaxWidth),r.x2-u.cropperScaledMinWidth);break;case"topleft":r.x1=Math.min(Math.max(t.x1+M,r.x2-u.cropperScaledMaxWidth),r.x2-u.cropperScaledMinWidth),r.y1=Math.min(Math.max(t.y1+F,r.y2-u.cropperScaledMaxHeight),r.y2-u.cropperScaledMinHeight);break;case"top":r.y1=Math.min(Math.max(t.y1+F,r.y2-u.cropperScaledMaxHeight),r.y2-u.cropperScaledMinHeight);break;case"topright":r.x2=Math.max(Math.min(t.x2+M,r.x1+u.cropperScaledMaxWidth),r.x1+u.cropperScaledMinWidth),r.y1=Math.min(Math.max(t.y1+F,r.y2-u.cropperScaledMaxHeight),r.y2-u.cropperScaledMinHeight);break;case"right":r.x2=Math.max(Math.min(t.x2+M,r.x1+u.cropperScaledMaxWidth),r.x1+u.cropperScaledMinWidth);break;case"bottomright":r.x2=Math.max(Math.min(t.x2+M,r.x1+u.cropperScaledMaxWidth),r.x1+u.cropperScaledMinWidth),r.y2=Math.max(Math.min(t.y2+F,r.y1+u.cropperScaledMaxHeight),r.y1+u.cropperScaledMinHeight);break;case"bottom":r.y2=Math.max(Math.min(t.y2+F,r.y1+u.cropperScaledMaxHeight),r.y1+u.cropperScaledMinHeight);break;case"bottomleft":r.x1=Math.min(Math.max(t.x1+M,r.x2-u.cropperScaledMaxWidth),r.x2-u.cropperScaledMinWidth),r.y2=Math.max(Math.min(t.y2+F,r.y1+u.cropperScaledMaxHeight),r.y1+u.cropperScaledMinHeight);break;case"center":const _e=e.scale,Le=Math.min(Math.max(u.cropperScaledMinWidth,Math.abs(t.x2-t.x1)*_e),u.cropperScaledMaxWidth),Ge=Math.min(Math.max(u.cropperScaledMinHeight,Math.abs(t.y2-t.y1)*_e),u.cropperScaledMaxHeight);r.x1=t.clientX-Le/2,r.x2=t.clientX+Le/2,r.y1=t.clientY-Ge/2,r.y2=t.clientY+Ge/2,r.x1<0?(r.x2-=r.x1,r.x1=0):r.x2>l.width&&(r.x1-=r.x2-l.width,r.x2=l.width),r.y1<0?(r.y2-=r.y1,r.y1=0):r.y2>l.height&&(r.y1-=r.y2-l.height,r.y2=l.height)}u.maintainAspectRatio&&this.checkAspectRatio(t.position,r,l,u)}checkAspectRatio(e,t,r,l){let u=0,M=0;switch(e){case"top":t.x2=t.x1+(t.y2-t.y1)*l.aspectRatio,u=Math.max(t.x2-r.width,0),M=Math.max(0-t.y1,0),(u>0||M>0)&&(t.x2-=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y1+=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"bottom":t.x2=t.x1+(t.y2-t.y1)*l.aspectRatio,u=Math.max(t.x2-r.width,0),M=Math.max(t.y2-r.height,0),(u>0||M>0)&&(t.x2-=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y2-=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"topleft":t.y1=t.y2-(t.x2-t.x1)/l.aspectRatio,u=Math.max(0-t.x1,0),M=Math.max(0-t.y1,0),(u>0||M>0)&&(t.x1+=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y1+=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"topright":t.y1=t.y2-(t.x2-t.x1)/l.aspectRatio,u=Math.max(t.x2-r.width,0),M=Math.max(0-t.y1,0),(u>0||M>0)&&(t.x2-=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y1+=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"right":case"bottomright":t.y2=t.y1+(t.x2-t.x1)/l.aspectRatio,u=Math.max(t.x2-r.width,0),M=Math.max(t.y2-r.height,0),(u>0||M>0)&&(t.x2-=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y2-=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"left":case"bottomleft":t.y2=t.y1+(t.x2-t.x1)/l.aspectRatio,u=Math.max(0-t.x1,0),M=Math.max(t.y2-r.height,0),(u>0||M>0)&&(t.x1+=M*l.aspectRatio>u?M*l.aspectRatio:u,t.y2-=M*l.aspectRatio>u?M:u/l.aspectRatio);break;case"center":t.x2=t.x1+(t.y2-t.y1)*l.aspectRatio,t.y2=t.y1+(t.x2-t.x1)/l.aspectRatio;const F=Math.max(0-t.x1,0),_e=Math.max(t.x2-r.width,0),Le=Math.max(t.y2-r.height,0),Ge=Math.max(0-t.y1,0);(F>0||_e>0||Le>0||Ge>0)&&(t.x1+=Le*l.aspectRatio>F?Le*l.aspectRatio:F,t.x2-=Ge*l.aspectRatio>_e?Ge*l.aspectRatio:_e,t.y1+=Ge*l.aspectRatio>_e?Ge:_e/l.aspectRatio,t.y2-=Le*l.aspectRatio>F?Le:F/l.aspectRatio)}}getClientX(e){return(e.touches&&e.touches[0]?e.touches[0].clientX:e.clientX)||0}getClientY(e){return(e.touches&&e.touches[0]?e.touches[0].clientY:e.clientY)||0}}cg.\u0275fac=function(e){return new(e||cg)},cg.\u0275prov=i.Yz7({token:cg,factory:cg.\u0275fac,providedIn:"root"}),cg.ngInjectableDef=(0,i.Yz7)({factory:function(){return new cg},token:cg,providedIn:"root"});class cm{constructor(e,t,r,l,u){this.cropService=e,this.cropperPositionService=t,this.loadImageService=r,this.sanitizer=l,this.cd=u,this.Hammer="undefined"!=typeof window?window.Hammer:null,this.settings=new Nw,this.setImageMaxSizeRetries=0,this.marginLeft="0px",this.moveTypes=Nm,this.imageVisible=!1,this.format=this.settings.format,this.transform={},this.maintainAspectRatio=this.settings.maintainAspectRatio,this.aspectRatio=this.settings.aspectRatio,this.resizeToWidth=this.settings.resizeToWidth,this.resizeToHeight=this.settings.resizeToHeight,this.cropperMinWidth=this.settings.cropperMinWidth,this.cropperMinHeight=this.settings.cropperMinHeight,this.cropperMaxHeight=this.settings.cropperMaxHeight,this.cropperMaxWidth=this.settings.cropperMaxWidth,this.cropperStaticWidth=this.settings.cropperStaticWidth,this.cropperStaticHeight=this.settings.cropperStaticHeight,this.canvasRotation=this.settings.canvasRotation,this.initialStepSize=this.settings.initialStepSize,this.roundCropper=this.settings.roundCropper,this.onlyScaleDown=this.settings.onlyScaleDown,this.imageQuality=this.settings.imageQuality,this.autoCrop=this.settings.autoCrop,this.backgroundColor=this.settings.backgroundColor,this.containWithinAspectRatio=this.settings.containWithinAspectRatio,this.hideResizeSquares=this.settings.hideResizeSquares,this.cropper={x1:-100,y1:-100,x2:1e4,y2:1e4},this.alignImage=this.settings.alignImage,this.disabled=!1,this.imageCropped=new i.vpe,this.startCropImage=new i.vpe,this.imageLoaded=new i.vpe,this.cropperReady=new i.vpe,this.loadImageFailed=new i.vpe,this.reset()}ngOnChanges(e){this.onChangesUpdateSettings(e),this.onChangesInputImage(e),this.loadedImage&&this.loadedImage.original.image.complete&&(e.containWithinAspectRatio||e.canvasRotation)&&this.loadImageService.transformLoadedImage(this.loadedImage,this.settings).then(t=>this.setLoadedImage(t)).catch(t=>this.loadImageError(t)),e.cropper&&(this.setMaxSize(),this.setCropperScaledMinSize(),this.setCropperScaledMaxSize(),this.checkCropperPosition(!1),this.doAutoCrop(),this.cd.markForCheck()),e.aspectRatio&&this.imageVisible&&this.resetCropperPosition(),e.transform&&(this.transform=this.transform||{},this.setCssTransform(),this.doAutoCrop())}onChangesUpdateSettings(e){this.settings.setOptionsFromChanges(e),this.settings.cropperStaticHeight&&this.settings.cropperStaticWidth&&this.settings.setOptions({hideResizeSquares:!0,cropperMinWidth:this.settings.cropperStaticWidth,cropperMinHeight:this.settings.cropperStaticHeight,cropperMaxHeight:this.settings.cropperStaticHeight,cropperMaxWidth:this.settings.cropperStaticWidth,maintainAspectRatio:!1})}onChangesInputImage(e){(e.imageChangedEvent||e.imageURL||e.imageBase64||e.imageFile)&&this.reset(),e.imageChangedEvent&&this.isValidImageChangedEvent()&&this.loadImageFile(this.imageChangedEvent.target.files[0]),e.imageURL&&this.imageURL&&this.loadImageFromURL(this.imageURL),e.imageBase64&&this.imageBase64&&this.loadBase64Image(this.imageBase64),e.imageFile&&this.imageFile&&this.loadImageFile(this.imageFile)}isValidImageChangedEvent(){return this.imageChangedEvent&&this.imageChangedEvent.target&&this.imageChangedEvent.target.files&&this.imageChangedEvent.target.files.length>0}setCssTransform(){this.safeTransformStyle=this.sanitizer.bypassSecurityTrustStyle("scaleX("+(this.transform.scale||1)*(this.transform.flipH?-1:1)+")scaleY("+(this.transform.scale||1)*(this.transform.flipV?-1:1)+")rotate("+(this.transform.rotate||0)+"deg)")}ngOnInit(){this.settings.stepSize=this.initialStepSize,this.activatePinchGesture()}reset(){this.imageVisible=!1,this.loadedImage=null,this.safeImgDataUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=",this.moveStart={active:!1,type:null,position:null,x1:0,y1:0,x2:0,y2:0,clientX:0,clientY:0},this.maxSize={width:0,height:0},this.cropper.x1=-100,this.cropper.y1=-100,this.cropper.x2=1e4,this.cropper.y2=1e4}loadImageFile(e){this.loadImageService.loadImageFile(e,this.settings).then(t=>this.setLoadedImage(t)).catch(t=>this.loadImageError(t))}loadBase64Image(e){this.loadImageService.loadBase64Image(e,this.settings).then(t=>this.setLoadedImage(t)).catch(t=>this.loadImageError(t))}loadImageFromURL(e){this.loadImageService.loadImageFromURL(e,this.settings).then(t=>this.setLoadedImage(t)).catch(t=>this.loadImageError(t))}setLoadedImage(e){this.loadedImage=e,this.safeImgDataUrl=this.sanitizer.bypassSecurityTrustResourceUrl(e.transformed.base64),this.cd.markForCheck()}loadImageError(e){console.error(e),this.loadImageFailed.emit()}imageLoadedInView(){null!=this.loadedImage&&(this.imageLoaded.emit(this.loadedImage),this.setImageMaxSizeRetries=0,setTimeout(()=>this.checkImageMaxSizeRecursively()))}checkImageMaxSizeRecursively(){this.setImageMaxSizeRetries>40?this.loadImageFailed.emit():this.sourceImageLoaded()?(this.setMaxSize(),this.setCropperScaledMinSize(),this.setCropperScaledMaxSize(),this.resetCropperPosition(),this.cropperReady.emit(Object.assign({},this.maxSize)),this.cd.markForCheck()):(this.setImageMaxSizeRetries++,setTimeout(()=>this.checkImageMaxSizeRecursively(),50))}sourceImageLoaded(){return this.sourceImage&&this.sourceImage.nativeElement&&this.sourceImage.nativeElement.offsetWidth>0}onResize(){!this.loadedImage||(this.resizeCropperPosition(),this.setMaxSize(),this.setCropperScaledMinSize(),this.setCropperScaledMaxSize())}activatePinchGesture(){if(this.Hammer){const e=new this.Hammer(this.wrapper.nativeElement);e.get("pinch").set({enable:!0}),e.on("pinchmove",this.onPinch.bind(this)),e.on("pinchend",this.pinchStop.bind(this)),e.on("pinchstart",this.startPinch.bind(this))}else(0,i.X6Q)()&&console.warn("[NgxImageCropper] Could not find HammerJS - Pinch Gesture won't work")}resizeCropperPosition(){const e=this.sourceImage.nativeElement;(this.maxSize.width!==e.offsetWidth||this.maxSize.height!==e.offsetHeight)&&(this.cropper.x1=this.cropper.x1*e.offsetWidth/this.maxSize.width,this.cropper.x2=this.cropper.x2*e.offsetWidth/this.maxSize.width,this.cropper.y1=this.cropper.y1*e.offsetHeight/this.maxSize.height,this.cropper.y2=this.cropper.y2*e.offsetHeight/this.maxSize.height)}resetCropperPosition(){this.cropperPositionService.resetCropperPosition(this.sourceImage,this.cropper,this.settings),this.doAutoCrop(),this.imageVisible=!0}keyboardAccess(e){this.changeKeyboardStepSize(e),this.keyboardMoveCropper(e)}changeKeyboardStepSize(e){e.key>="1"&&e.key<="9"&&(this.settings.stepSize=+e.key)}keyboardMoveCropper(e){if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e.key))return;const r=e.shiftKey?Nm.Resize:Nm.Move,l=e.altKey?function Uw(d){switch(d){case"ArrowUp":return"bottom";case"ArrowRight":return"left";case"ArrowDown":return"top";default:return"right"}}(e.key):function Vw(d){switch(d){case"ArrowUp":return"top";case"ArrowRight":return"right";case"ArrowDown":return"bottom";default:return"left"}}(e.key),u=function Yw(d,e){switch(d){case"ArrowUp":return{clientX:0,clientY:-1*e};case"ArrowRight":return{clientX:e,clientY:0};case"ArrowDown":return{clientX:0,clientY:e};default:return{clientX:-1*e,clientY:0}}}(e.key,this.settings.stepSize);e.preventDefault(),e.stopPropagation(),this.startMove({clientX:0,clientY:0},r,l),this.moveImg(u),this.moveStop()}startMove(e,t,r=null){this.moveStart&&this.moveStart.active&&this.moveStart.type===Nm.Pinch||(e.preventDefault&&e.preventDefault(),this.moveStart=Object.assign({active:!0,type:t,position:r,clientX:this.cropperPositionService.getClientX(e),clientY:this.cropperPositionService.getClientY(e)},this.cropper))}startPinch(e){!this.safeImgDataUrl||(e.preventDefault&&e.preventDefault(),this.moveStart=Object.assign({active:!0,type:Nm.Pinch,position:"center",clientX:this.cropper.x1+(this.cropper.x2-this.cropper.x1)/2,clientY:this.cropper.y1+(this.cropper.y2-this.cropper.y1)/2},this.cropper))}moveImg(e){this.moveStart.active&&(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),this.moveStart.type===Nm.Move?(this.cropperPositionService.move(e,this.moveStart,this.cropper),this.checkCropperPosition(!0)):this.moveStart.type===Nm.Resize&&(!this.cropperStaticWidth&&!this.cropperStaticHeight&&this.cropperPositionService.resize(e,this.moveStart,this.cropper,this.maxSize,this.settings),this.checkCropperPosition(!1)),this.cd.detectChanges())}onPinch(e){this.moveStart.active&&(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),this.moveStart.type===Nm.Pinch&&(this.cropperPositionService.resize(e,this.moveStart,this.cropper,this.maxSize,this.settings),this.checkCropperPosition(!1)),this.cd.detectChanges())}setMaxSize(){if(this.sourceImage){const e=this.sourceImage.nativeElement;this.maxSize.width=e.offsetWidth,this.maxSize.height=e.offsetHeight,this.marginLeft=this.sanitizer.bypassSecurityTrustStyle("calc(50% - "+this.maxSize.width/2+"px)")}}setCropperScaledMinSize(){this.loadedImage&&this.loadedImage.transformed&&this.loadedImage.transformed.image?(this.setCropperScaledMinWidth(),this.setCropperScaledMinHeight()):(this.settings.cropperScaledMinWidth=20,this.settings.cropperScaledMinHeight=20)}setCropperScaledMinWidth(){this.settings.cropperScaledMinWidth=this.cropperMinWidth>0?Math.max(20,this.cropperMinWidth/this.loadedImage.transformed.image.width*this.maxSize.width):20}setCropperScaledMinHeight(){this.maintainAspectRatio?this.settings.cropperScaledMinHeight=Math.max(20,this.settings.cropperScaledMinWidth/this.aspectRatio):this.cropperMinHeight>0?this.settings.cropperScaledMinHeight=Math.max(20,this.cropperMinHeight/this.loadedImage.transformed.image.height*this.maxSize.height):this.settings.cropperScaledMinHeight=20}setCropperScaledMaxSize(){if(this.loadedImage&&this.loadedImage.transformed&&this.loadedImage.transformed.image){const e=this.loadedImage.transformed.size.width/this.maxSize.width;this.settings.cropperScaledMaxWidth=this.cropperMaxWidth>20?this.cropperMaxWidth/e:this.maxSize.width,this.settings.cropperScaledMaxHeight=this.cropperMaxHeight>20?this.cropperMaxHeight/e:this.maxSize.height,this.maintainAspectRatio&&(this.settings.cropperScaledMaxWidth>this.settings.cropperScaledMaxHeight*this.aspectRatio?this.settings.cropperScaledMaxWidth=this.settings.cropperScaledMaxHeight*this.aspectRatio:this.settings.cropperScaledMaxWidth<this.settings.cropperScaledMaxHeight*this.aspectRatio&&(this.settings.cropperScaledMaxHeight=this.settings.cropperScaledMaxWidth/this.aspectRatio))}else this.settings.cropperScaledMaxWidth=this.maxSize.width,this.settings.cropperScaledMaxHeight=this.maxSize.height}checkCropperPosition(e=!1){this.cropper.x1<0&&(this.cropper.x2-=e?this.cropper.x1:0,this.cropper.x1=0),this.cropper.y1<0&&(this.cropper.y2-=e?this.cropper.y1:0,this.cropper.y1=0),this.cropper.x2>this.maxSize.width&&(this.cropper.x1-=e?this.cropper.x2-this.maxSize.width:0,this.cropper.x2=this.maxSize.width),this.cropper.y2>this.maxSize.height&&(this.cropper.y1-=e?this.cropper.y2-this.maxSize.height:0,this.cropper.y2=this.maxSize.height)}moveStop(){this.moveStart.active&&(this.moveStart.active=!1,this.doAutoCrop())}pinchStop(){this.moveStart.active&&(this.moveStart.active=!1,this.doAutoCrop())}doAutoCrop(){this.autoCrop&&this.crop()}crop(){if(this.sourceImage&&this.sourceImage.nativeElement&&null!=this.loadedImage.transformed.image){this.startCropImage.emit();const e=this.cropService.crop(this.sourceImage,this.loadedImage,this.cropper,this.settings);return null!=e&&this.imageCropped.emit(e),e}return null}}cm.\u0275fac=function(e){return new(e||cm)(i.Y36(lg),i.Y36(cg),i.Y36(x0),i.Y36(i1.H7),i.Y36(i.sBO))},cm.\u0275cmp=i.Xpm({type:cm,selectors:[["image-cropper"]],viewQuery:function(e,t){if(1&e&&(i.Gf(Ow,7),i.Gf(Pw,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.wrapper=r.first),i.iGM(r=i.CRH())&&(t.sourceImage=r.first)}},hostVars:4,hostBindings:function(e,t){1&e&&i.NdJ("resize",function(){return t.onResize()},!1,i.Jf7)("mousemove",function(l){return t.moveImg(l)},!1,i.evT)("touchmove",function(l){return t.moveImg(l)},!1,i.evT)("mouseup",function(){return t.moveStop()},!1,i.evT)("touchend",function(){return t.moveStop()},!1,i.evT),2&e&&(i.Udp("text-align",t.alignImage),i.ekj("disabled",t.disabled))},inputs:{format:"format",transform:"transform",maintainAspectRatio:"maintainAspectRatio",aspectRatio:"aspectRatio",resizeToWidth:"resizeToWidth",resizeToHeight:"resizeToHeight",cropperMinWidth:"cropperMinWidth",cropperMinHeight:"cropperMinHeight",cropperMaxHeight:"cropperMaxHeight",cropperMaxWidth:"cropperMaxWidth",cropperStaticWidth:"cropperStaticWidth",cropperStaticHeight:"cropperStaticHeight",canvasRotation:"canvasRotation",initialStepSize:"initialStepSize",roundCropper:"roundCropper",onlyScaleDown:"onlyScaleDown",imageQuality:"imageQuality",autoCrop:"autoCrop",backgroundColor:"backgroundColor",containWithinAspectRatio:"containWithinAspectRatio",hideResizeSquares:"hideResizeSquares",cropper:"cropper",alignImage:"alignImage",disabled:"disabled",imageChangedEvent:"imageChangedEvent",imageURL:"imageURL",imageBase64:"imageBase64",imageFile:"imageFile"},outputs:{imageCropped:"imageCropped",startCropImage:"startCropImage",imageLoaded:"imageLoaded",cropperReady:"cropperReady",loadImageFailed:"loadImageFailed"},features:[i.TTD],decls:5,vars:10,consts:[["wrapper",""],["class","source-image",3,"src","visibility","transform","load",4,"ngIf"],[1,"overlay"],["class","cropper","tabindex","0",3,"rounded","top","left","width","height","margin-left","visibility","keydown",4,"ngIf"],[1,"source-image",3,"src","load"],["sourceImage",""],["tabindex","0",1,"cropper",3,"keydown"],[1,"move",3,"mousedown","touchstart"],[4,"ngIf"],[1,"resize","topleft",3,"mousedown","touchstart"],[1,"square"],[1,"resize","top"],[1,"resize","topright",3,"mousedown","touchstart"],[1,"resize","right"],[1,"resize","bottomright",3,"mousedown","touchstart"],[1,"resize","bottom"],[1,"resize","bottomleft",3,"mousedown","touchstart"],[1,"resize","left"],[1,"resize-bar","top",3,"mousedown","touchstart"],[1,"resize-bar","right",3,"mousedown","touchstart"],[1,"resize-bar","bottom",3,"mousedown","touchstart"],[1,"resize-bar","left",3,"mousedown","touchstart"]],template:function(e,t){1&e&&(i.TgZ(0,"div",null,0),i.YNc(2,ny,2,5,"img",1),i._UZ(3,"div",2),i.YNc(4,Rw,3,15,"div",3),i.qZA()),2&e&&(i.Udp("background",t.imageVisible&&t.backgroundColor),i.xp6(2),i.Q6J("ngIf",t.safeImgDataUrl),i.xp6(1),i.Udp("width",t.maxSize.width,"px")("height",t.maxSize.height,"px")("margin-left","center"===t.alignImage?t.marginLeft:null),i.xp6(1),i.Q6J("ngIf",t.imageVisible))},directives:[Zo.O5],styles:['[_nghost-%COMP%]{display:flex;position:relative;width:100%;max-width:100%;max-height:100%;overflow:hidden;padding:5px;text-align:center}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{width:100%;position:relative}[_nghost-%COMP%] > div[_ngcontent-%COMP%]   img.source-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;transform-origin:center}[_nghost-%COMP%]   .overlay[_ngcontent-%COMP%]{position:absolute;pointer-events:none;touch-action:none;outline:var(--cropper-overlay-color,#fff) solid 100vw;top:0;left:0}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]{position:absolute;display:flex;color:#53535c;background:0 0;outline:rgba(255,255,255,.3) solid 100vw;outline:var(--cropper-outline-color,rgba(255,255,255,.3)) solid 100vw;touch-action:none}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]:after{position:absolute;content:"";top:0;bottom:0;left:0;right:0;pointer-events:none;border:1px dashed;opacity:.75;color:inherit;z-index:1}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .move[_ngcontent-%COMP%]{width:100%;cursor:move;border:1px solid rgba(255,255,255,.5)}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]:focus   .move[_ngcontent-%COMP%]{border-color:#1e90ff;border-width:2px}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize[_ngcontent-%COMP%]{position:absolute;display:inline-block;line-height:6px;padding:8px;opacity:.85;z-index:1}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize[_ngcontent-%COMP%]   .square[_ngcontent-%COMP%]{display:inline-block;background:#53535c;width:6px;height:6px;border:1px solid rgba(255,255,255,.5);box-sizing:content-box}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.topleft[_ngcontent-%COMP%]{top:-12px;left:-12px;cursor:nwse-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.top[_ngcontent-%COMP%]{top:-12px;left:calc(50% - 12px);cursor:ns-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.topright[_ngcontent-%COMP%]{top:-12px;right:-12px;cursor:nesw-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.right[_ngcontent-%COMP%]{top:calc(50% - 12px);right:-12px;cursor:ew-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottomright[_ngcontent-%COMP%]{bottom:-12px;right:-12px;cursor:nwse-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottom[_ngcontent-%COMP%]{bottom:-12px;left:calc(50% - 12px);cursor:ns-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.bottomleft[_ngcontent-%COMP%]{bottom:-12px;left:-12px;cursor:nesw-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize.left[_ngcontent-%COMP%]{top:calc(50% - 12px);left:-12px;cursor:ew-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar[_ngcontent-%COMP%]{position:absolute;z-index:1}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.top[_ngcontent-%COMP%]{top:-11px;left:11px;width:calc(100% - 22px);height:22px;cursor:ns-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.right[_ngcontent-%COMP%]{top:11px;right:-11px;height:calc(100% - 22px);width:22px;cursor:ew-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.bottom[_ngcontent-%COMP%]{bottom:-11px;left:11px;width:calc(100% - 22px);height:22px;cursor:ns-resize}[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar.left[_ngcontent-%COMP%]{top:11px;left:-11px;height:calc(100% - 22px);width:22px;cursor:ew-resize}[_nghost-%COMP%]   .cropper.rounded[_ngcontent-%COMP%]{outline-color:transparent}[_nghost-%COMP%]   .cropper.rounded[_ngcontent-%COMP%]:after{border-radius:100%;box-shadow:0 0 0 100vw rgba(255,255,255,.3);box-shadow:0 0 0 100vw var(--cropper-outline-color,rgba(255,255,255,.3))}@media (orientation:portrait){[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]{outline-width:100vh}[_nghost-%COMP%]   .cropper.rounded[_ngcontent-%COMP%]:after{box-shadow:0 0 0 100vh rgba(255,255,255,.3);box-shadow:0 0 0 100vh var(--cropper-outline-color,rgba(255,255,255,.3))}}[_nghost-%COMP%]   .cropper.rounded[_ngcontent-%COMP%]   .move[_ngcontent-%COMP%]{border-radius:100%}.disabled[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .move[_ngcontent-%COMP%], .disabled[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize[_ngcontent-%COMP%], .disabled[_nghost-%COMP%]   .cropper[_ngcontent-%COMP%]   .resize-bar[_ngcontent-%COMP%]{display:none}'],changeDetection:0}),cm.ctorParameters=()=>[{type:lg},{type:cg},{type:x0},{type:i1.H7},{type:i.sBO}],cm.propDecorators={wrapper:[{type:i.i9L,args:["wrapper",{static:!0}]}],sourceImage:[{type:i.i9L,args:["sourceImage",{static:!1}]}],imageChangedEvent:[{type:i.IIB}],imageURL:[{type:i.IIB}],imageBase64:[{type:i.IIB}],imageFile:[{type:i.IIB}],format:[{type:i.IIB}],transform:[{type:i.IIB}],maintainAspectRatio:[{type:i.IIB}],aspectRatio:[{type:i.IIB}],resizeToWidth:[{type:i.IIB}],resizeToHeight:[{type:i.IIB}],cropperMinWidth:[{type:i.IIB}],cropperMinHeight:[{type:i.IIB}],cropperMaxHeight:[{type:i.IIB}],cropperMaxWidth:[{type:i.IIB}],cropperStaticWidth:[{type:i.IIB}],cropperStaticHeight:[{type:i.IIB}],canvasRotation:[{type:i.IIB}],initialStepSize:[{type:i.IIB}],roundCropper:[{type:i.IIB}],onlyScaleDown:[{type:i.IIB}],imageQuality:[{type:i.IIB}],autoCrop:[{type:i.IIB}],backgroundColor:[{type:i.IIB}],containWithinAspectRatio:[{type:i.IIB}],hideResizeSquares:[{type:i.IIB}],cropper:[{type:i.IIB}],alignImage:[{type:i.pfw,args:["style.text-align"]},{type:i.IIB}],disabled:[{type:i.pfw,args:["class.disabled"]},{type:i.IIB}],imageCropped:[{type:i.r_U}],startCropImage:[{type:i.r_U}],imageLoaded:[{type:i.r_U}],cropperReady:[{type:i.r_U}],loadImageFailed:[{type:i.r_U}],onResize:[{type:i.L6J,args:["window:resize"]}],moveImg:[{type:i.L6J,args:["document:mousemove",["$event"]]},{type:i.L6J,args:["document:touchmove",["$event"]]}],moveStop:[{type:i.L6J,args:["document:mouseup"]},{type:i.L6J,args:["document:touchend"]}]};class k5{}function Ww(d,e){1&d&&(i.TgZ(0,"div",2),i._uU(1," There are no changes to display. "),i.qZA())}function Gw(d,e){if(1&d&&(i.TgZ(0,"div",9)(1,"div",10),i._uU(2),i.qZA(),i.TgZ(3,"div",11),i._uU(4),i.qZA()()),2&d){const t=e.$implicit;i.Q6J("ngClass",t[0]),i.xp6(2),i.Oqu(t[1]),i.xp6(2),i.Oqu(t[2])}}function qw(d,e){if(1&d&&(i.TgZ(0,"div",9)(1,"div",12),i._uU(2),i.qZA()()),2&d){const t=e.$implicit;i.Q6J("ngClass",t[0]),i.xp6(2),i.Oqu(t[3])}}function $w(d,e){if(1&d&&(i.TgZ(0,"div",3)(1,"div",4),i.YNc(2,Gw,5,3,"div",5),i._UZ(3,"div",6),i.qZA(),i.TgZ(4,"div",7)(5,"div",8),i.YNc(6,qw,3,2,"div",5),i.qZA()()()),2&d){const t=i.oxw();i.xp6(2),i.Q6J("ngForOf",t.calculatedDiff),i.xp6(4),i.Q6J("ngForOf",t.calculatedDiff)}}k5.\u0275fac=function(e){return new(e||k5)},k5.\u0275mod=i.oAB({type:k5}),k5.\u0275inj=i.cJS({imports:[[Zo.ez]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(k5,{declarations:function(){return[cm]},imports:function(){return[Zo.ez]},exports:function(){return[cm]}});class dm{constructor(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32,this.whitespaceRegex_=new RegExp("/s/"),this.linebreakRegex_=new RegExp("/[\r\n]/"),this.blanklineEndRegex_=new RegExp("/\n\r?\n$/"),this.blanklineStartRegex_=new RegExp("/^\r?\n\r?\n/"),this.diff_prettyHtml=function(e){const t=[],r=/&/g,l=/</g,u=/>/g,M=/\n/g;for(let F=0;F<e.length;F++){const _e=e[F][0],Ge=e[F][1].replace(r,"&amp;").replace(l,"&lt;").replace(u,"&gt;").replace(M,"&para;<br>");switch(_e){case 1:t[F]='<ins style="background:#e6ffe6;">'+Ge+"</ins>";break;case-1:t[F]='<del style="background:#ffe6e6;">'+Ge+"</del>";break;case 0:t[F]="<span>"+Ge+"</span>"}}return t.join("")},this.patch_splitMax=function(e){const t=this.Match_MaxBits;for(let r=0;r<e.length;r++){if(e[r].length1<=t)continue;const l=e[r];e.splice(r--,1);let u=l.start1,M=l.start2,F="";for(;0!==l.diffs.length;){const _e=new X7;let Le=!0;for(_e.start1=u-F.length,_e.start2=M-F.length,""!==F&&(_e.length1=_e.length2=F.length,_e.diffs.push([0,F]));0!==l.diffs.length&&_e.length1<t-this.Patch_Margin;){const _t=l.diffs[0][0];let Bt=l.diffs[0][1];1===_t?(_e.length2+=Bt.length,M+=Bt.length,_e.diffs.push(l.diffs.shift()),Le=!1):-1===_t&&1==_e.diffs.length&&0==_e.diffs[0][0]&&Bt.length>2*t?(_e.length1+=Bt.length,u+=Bt.length,Le=!1,_e.diffs.push([_t,Bt]),l.diffs.shift()):(Bt=Bt.substring(0,t-_e.length1-this.Patch_Margin),_e.length1+=Bt.length,u+=Bt.length,0===_t?(_e.length2+=Bt.length,M+=Bt.length):Le=!1,_e.diffs.push([_t,Bt]),Bt==l.diffs[0][1]?l.diffs.shift():l.diffs[0][1]=l.diffs[0][1].substring(Bt.length))}F=this.diff_text2(_e.diffs),F=F.substring(F.length-this.Patch_Margin);const Ge=this.diff_text1(l.diffs).substring(0,this.Patch_Margin);""!==Ge&&(_e.length1+=Ge.length,_e.length2+=Ge.length,0!==_e.diffs.length&&0===_e.diffs[_e.diffs.length-1][0]?_e.diffs[_e.diffs.length-1][1]+=Ge:_e.diffs.push([0,Ge])),Le||e.splice(++r,0,_e)}}}}diff_main(e,t,r,l){void 0===l&&(l=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);const u=l;if(null==e||null==t)throw new Error("Null input. (diff_main)");if(e==t)return e?[[0,e]]:[];void 0===r&&(r=!0);const M=r;let F=this.diff_commonPrefix(e,t);const _e=e.substring(0,F);e=e.substring(F),t=t.substring(F),F=this.diff_commonSuffix(e,t);const Le=e.substring(e.length-F);e=e.substring(0,e.length-F),t=t.substring(0,t.length-F);const Ge=this.diff_compute_(e,t,M,u);return _e&&Ge.unshift([0,_e]),Le&&Ge.push([0,Le]),this.diff_cleanupMerge(Ge),Ge}diff_compute_(e,t,r,l){let u;if(!e)return[[1,t]];if(!t)return[[-1,e]];const M=e.length>t.length?e:t,F=e.length>t.length?t:e,_e=M.indexOf(F);if(-1!=_e)return u=[[1,M.substring(0,_e)],[0,F],[1,M.substring(_e+F.length)]],e.length>t.length&&(u[0][0]=u[2][0]=-1),u;if(1==F.length)return[[-1,e],[1,t]];const Le=this.diff_halfMatch_(e,t);if(Le){const Ge=Le[0],_t=Le[1],Bt=Le[2],on=Le[3],Kt=Le[4],On=this.diff_main(Ge,Bt,r,l),Kn=this.diff_main(_t,on,r,l);return On.concat([[0,Kt]],Kn)}return r&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,l):this.diff_bisect_(e,t,l)}diff_lineMode_(e,t,r){const l=this.diff_linesToChars_(e,t);e=l.chars1,t=l.chars2;const u=l.lineArray,M=this.diff_main(e,t,!1,r);this.diff_charsToLines_(M,u),this.diff_cleanupSemantic(M),M.push([0,""]);let F=0,_e=0,Le=0,Ge="",_t="";for(;F<M.length;){switch(M[F][0]){case 1:Le++,_t+=M[F][1];break;case-1:_e++,Ge+=M[F][1];break;case 0:if(_e>=1&&Le>=1){M.splice(F-_e-Le,_e+Le),F=F-_e-Le;const Bt=this.diff_main(Ge,_t,!1,r);for(let on=Bt.length-1;on>=0;on--)M.splice(F,0,Bt[on]);F+=Bt.length}Le=0,_e=0,Ge="",_t=""}F++}return M.pop(),M}diff_bisect_(e,t,r){const l=e.length,u=t.length,M=Math.ceil((l+u)/2),F=M,_e=2*M,Le=new Array(_e),Ge=new Array(_e);for(let nr=0;nr<_e;nr++)Le[nr]=-1,Ge[nr]=-1;Le[F+1]=0,Ge[F+1]=0;const _t=l-u,Bt=_t%2!=0;let on=0,Kt=0,On=0,Kn=0;for(let nr=0;nr<M&&!((new Date).getTime()>r);nr++){for(let Ci=-nr+on;Ci<=nr-Kt;Ci+=2){const Ar=F+Ci;let oo;oo=Ci==-nr||Ci!=nr&&Le[Ar-1]<Le[Ar+1]?Le[Ar+1]:Le[Ar-1]+1;let el=oo-Ci;for(;oo<l&&el<u&&e.charAt(oo)==t.charAt(el);)oo++,el++;if(Le[Ar]=oo,oo>l)Kt+=2;else if(el>u)on+=2;else if(Bt){const Hl=F+_t-Ci;if(Hl>=0&&Hl<_e&&-1!=Ge[Hl]){if(oo>=l-Ge[Hl])return this.diff_bisectSplit_(e,t,oo,el,r)}}}for(let Ci=-nr+On;Ci<=nr-Kn;Ci+=2){const Ar=F+Ci;let oo;oo=Ci==-nr||Ci!=nr&&Ge[Ar-1]<Ge[Ar+1]?Ge[Ar+1]:Ge[Ar-1]+1;let el=oo-Ci;for(;oo<l&&el<u&&e.charAt(l-oo-1)==t.charAt(u-el-1);)oo++,el++;if(Ge[Ar]=oo,oo>l)Kn+=2;else if(el>u)On+=2;else if(!Bt){const Hl=F+_t-Ci;if(Hl>=0&&Hl<_e&&-1!=Le[Hl]){const Ic=Le[Hl],eu=F+Ic-Hl;if(oo=l-oo,Ic>=oo)return this.diff_bisectSplit_(e,t,Ic,eu,r)}}}}return[[-1,e],[1,t]]}diff_bisectSplit_(e,t,r,l,u){const M=e.substring(0,r),F=t.substring(0,l),_e=e.substring(r),Le=t.substring(l),Ge=this.diff_main(M,F,!1,u),_t=this.diff_main(_e,Le,!1,u);return Ge.concat(_t)}diff_linesToChars_(e,t){const r=[],l={};r[0]="";return{chars1:this.diff_linesToCharsMunge_(e,r,l),chars2:this.diff_linesToCharsMunge_(t,r,l),lineArray:r}}diff_linesToCharsMunge_(e,t,r){let l="",u=0,M=-1,F=t.length;for(;M<e.length-1;){M=e.indexOf("\n",u),-1==M&&(M=e.length-1);const _e=e.substring(u,M+1);u=M+1,(r.hasOwnProperty?r.hasOwnProperty(_e):void 0!==r[_e])?l+=String.fromCharCode(r[_e]):(l+=String.fromCharCode(F),r[_e]=F,t[F++]=_e)}return l}diff_charsToLines_(e,t){for(let r=0;r<e.length;r++){const l=e[r][1],u=[];for(let M=0;M<l.length;M++)u[M]=t[l.charCodeAt(M)];e[r][1]=u.join("")}}diff_commonPrefix(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;let r=0,l=Math.min(e.length,t.length),u=l,M=0;for(;r<u;)e.substring(M,u)==t.substring(M,u)?(r=u,M=r):l=u,u=Math.floor((l-r)/2+r);return u}diff_commonSuffix(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;let r=0,l=Math.min(e.length,t.length),u=l,M=0;for(;r<u;)e.substring(e.length-u,e.length-M)==t.substring(t.length-u,t.length-M)?(r=u,M=r):l=u,u=Math.floor((l-r)/2+r);return u}diff_commonOverlap_(e,t){const r=e.length,l=t.length;if(0==r||0==l)return 0;r>l?e=e.substring(r-l):r<l&&(t=t.substring(0,r));const u=Math.min(r,l);if(e==t)return u;let M=0,F=1;for(;;){const _e=e.substring(u-F),Le=t.indexOf(_e);if(-1==Le)return M;F+=Le,(0==Le||e.substring(u-F)==t.substring(0,F))&&(M=F,F++)}}diff_halfMatch_(e,t){if(this.Diff_Timeout<=0)return null;const r=e.length>t.length?e:t,l=e.length>t.length?t:e;if(r.length<4||2*l.length<r.length)return null;const M=this.diff_halfMatchI_(r,l,Math.ceil(r.length/4),this),F=this.diff_halfMatchI_(r,l,Math.ceil(r.length/2),this);let _e,Le,Ge,_t,Bt;if(!M&&!F)return null;_e=F?M&&M[4].length>F[4].length?M:F:M,e.length>t.length?(Le=_e[0],Ge=_e[1],_t=_e[2],Bt=_e[3]):(_t=_e[0],Bt=_e[1],Le=_e[2],Ge=_e[3]);return[Le,Ge,_t,Bt,_e[4]]}diff_halfMatchI_(e,t,r,l){const u=e.substring(r,r+Math.floor(e.length/4));let _e,Le,Ge,_t,M=-1,F="";for(;-1!=(M=t.indexOf(u,M+1));){const Bt=l.diff_commonPrefix(e.substring(r),t.substring(M)),on=l.diff_commonSuffix(e.substring(0,r),t.substring(0,M));F.length<on+Bt&&(F=t.substring(M-on,M)+t.substring(M,M+Bt),_e=e.substring(0,r-on),Le=e.substring(r+Bt),Ge=t.substring(0,M-on),_t=t.substring(M+Bt))}return 2*F.length>=e.length?[_e,Le,Ge,_t,F]:null}diff_cleanupSemantic(e){let t=!1;const r=[];let l=0,u=null,M=0,F=0,_e=0,Le=0,Ge=0;for(;M<e.length;)0==e[M][0]?(r[l++]=M,F=Le,_e=Ge,Le=0,Ge=0,u=e[M][1]):(1==e[M][0]?Le+=e[M][1].length:Ge+=e[M][1].length,u&&u.length<=Math.max(F,_e)&&u.length<=Math.max(Le,Ge)&&(e.splice(r[l-1],0,[-1,u]),e[r[l-1]+1][0]=1,l--,l--,M=l>0?r[l-1]:-1,F=0,_e=0,Le=0,Ge=0,u=null,t=!0)),M++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),M=1;M<e.length;){if(-1==e[M-1][0]&&1==e[M][0]){const _t=e[M-1][1],Bt=e[M][1],on=this.diff_commonOverlap_(_t,Bt),Kt=this.diff_commonOverlap_(Bt,_t);on>=Kt?(on>=_t.length/2||on>=Bt.length/2)&&(e.splice(M,0,[0,Bt.substring(0,on)]),e[M-1][1]=_t.substring(0,_t.length-on),e[M+1][1]=Bt.substring(on),M++):(Kt>=_t.length/2||Kt>=Bt.length/2)&&(e.splice(M,0,[0,_t.substring(0,Kt)]),e[M-1][0]=1,e[M-1][1]=Bt.substring(0,Bt.length-Kt),e[M+1][0]=-1,e[M+1][1]=_t.substring(Kt),M++),M++}M++}}diff_cleanupSemanticLossless(e){function t(l,u){if(!l||!u)return 6;const M=new RegExp("/[^a-zA-Z0-9]/"),F=l.charAt(l.length-1),_e=u.charAt(0),Le=F.match(M),Ge=_e.match(M),_t=Le&&F.match(this.whitespaceRegex_),Bt=Ge&&_e.match(this.whitespaceRegex_),on=_t&&F.match(this.linebreakRegex_),Kt=Bt&&_e.match(this.linebreakRegex_),On=on&&l.match(this.blanklineEndRegex_),Kn=Kt&&u.match(this.blanklineStartRegex_);return On||Kn?5:on||Kt?4:Le&&!_t&&Bt?3:_t||Bt?2:Le||Ge?1:0}let r=1;for(;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){let l=e[r-1][1],u=e[r][1],M=e[r+1][1];const F=this.diff_commonSuffix(l,u);if(F){const Bt=u.substring(u.length-F);l=l.substring(0,l.length-F),u=Bt+u.substring(0,u.length-F),M=Bt+M}let _e=l,Le=u,Ge=M,_t=t(l,u)+t(u,M);for(;u.charAt(0)===M.charAt(0);){l+=u.charAt(0),u=u.substring(1)+M.charAt(0),M=M.substring(1);const Bt=t(l,u)+t(u,M);Bt>=_t&&(_t=Bt,_e=l,Le=u,Ge=M)}e[r-1][1]!=_e&&(_e?e[r-1][1]=_e:(e.splice(r-1,1),r--),e[r][1]=Le,Ge?e[r+1][1]=Ge:(e.splice(r+1,1),r--))}r++}}diff_cleanupEfficiency(e){let t=!1;const r=[];let l=0,u=null,M=0,F=!1,_e=!1,Le=!1,Ge=!1;for(;M<e.length;)0==e[M][0]?(e[M][1].length<this.Diff_EditCost&&(Le||Ge)?(r[l++]=M,F=Le,_e=Ge,u=e[M][1]):(l=0,u=null),Le=Ge=!1):(-1==e[M][0]?Ge=!0:Le=!0,u&&(F&&_e&&Le&&Ge||u.length<this.Diff_EditCost/2&&(F?1:0)+(_e?1:0)+(Le?1:0)+(Ge?1:0)==3)&&(e.splice(r[l-1],0,[-1,u]),e[r[l-1]+1][0]=1,l--,u=null,F&&_e?(Le=Ge=!0,l=0):(l--,M=l>0?r[l-1]:-1,Le=Ge=!1),t=!0)),M++;t&&this.diff_cleanupMerge(e)}diff_cleanupMerge(e){e.push([0,""]);let F,t=0,r=0,l=0,u="",M="";for(;t<e.length;)switch(e[t][0]){case 1:l++,M+=e[t][1],t++;break;case-1:r++,u+=e[t][1],t++;break;case 0:r+l>1?(0!==r&&0!==l&&(F=this.diff_commonPrefix(M,u),0!==F&&(t-r-l>0&&0==e[t-r-l-1][0]?e[t-r-l-1][1]+=M.substring(0,F):(e.splice(0,0,[0,M.substring(0,F)]),t++),M=M.substring(F),u=u.substring(F)),F=this.diff_commonSuffix(M,u),0!==F&&(e[t][1]=M.substring(M.length-F)+e[t][1],M=M.substring(0,M.length-F),u=u.substring(0,u.length-F))),0===r?e.splice(t-l,r+l,[1,M]):0===l?e.splice(t-r,r+l,[-1,u]):e.splice(t-r-l,r+l,[-1,u],[1,M]),t=t-r-l+(r?1:0)+(l?1:0)+1):0!==t&&0==e[t-1][0]?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,l=0,r=0,u="",M=""}""===e[e.length-1][1]&&e.pop();let _e=!1;for(t=1;t<e.length-1;)0==e[t-1][0]&&0==e[t+1][0]&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)==e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),_e=!0):e[t][1].substring(0,e[t+1][1].length)==e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),_e=!0)),t++;_e&&this.diff_cleanupMerge(e)}diff_xIndex(e,t){let F,r=0,l=0,u=0,M=0;for(F=0;F<e.length&&(1!==e[F][0]&&(r+=e[F][1].length),-1!==e[F][0]&&(l+=e[F][1].length),!(r>t));F++)u=r,M=l;return e.length!=F&&-1===e[F][0]?M:M+(t-u)}diff_text1(e){const t=[];for(let r=0;r<e.length;r++)1!==e[r][0]&&(t[r]=e[r][1]);return t.join("")}diff_text2(e){const t=[];for(let r=0;r<e.length;r++)-1!==e[r][0]&&(t[r]=e[r][1]);return t.join("")}diff_levenshtein(e){let t=0,r=0,l=0;for(let u=0;u<e.length;u++){const M=e[u][0],F=e[u][1];switch(M){case 1:r+=F.length;break;case-1:l+=F.length;break;case 0:t+=Math.max(r,l),r=0,l=0}}return t+=Math.max(r,l),t}diff_toDelta(e){const t=[];for(let r=0;r<e.length;r++)switch(e[r][0]){case 1:t[r]="+"+encodeURI(e[r][1]);break;case-1:t[r]="-"+e[r][1].length;break;case 0:t[r]="="+e[r][1].length}return t.join("\t").replace(/%20/g," ")}diff_fromDelta(e,t){const r=[];let l=0,u=0;const M=t.split(/\t/g);for(let F=0;F<M.length;F++){const _e=M[F].substring(1);switch(M[F].charAt(0)){case"+":try{r[l++]=[1,decodeURI(_e)]}catch(_t){throw new Error("Illegal escape in diff_fromDelta: "+_e)}break;case"-":case"=":const Le=parseInt(_e,10);if(isNaN(Le)||Le<0)throw new Error("Invalid number in diff_fromDelta: "+_e);const Ge=e.substring(u,u+=Le);"="==M[F].charAt(0)?r[l++]=[0,Ge]:r[l++]=[-1,Ge];break;default:if(M[F])throw new Error("Invalid diff operation in diff_fromDelta: "+M[F])}}if(u!=e.length)throw new Error("Delta length ("+u+") does not equal source text length ("+e.length+").");return r}match_main(e,t,r){if(null==e||null==t||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,e.length)),e==t?0:e.length?e.substring(r,r+t.length)==t?r:this.match_bitap_(e,t,r):-1}match_bitap_(e,t,r){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");const l=this.match_alphabet_(t),u=this;function M(Kt,On){const Kn=Kt/t.length,nr=Math.abs(r-On);return u.Match_Distance?Kn+nr/u.Match_Distance:nr?1:Kn}let F=this.Match_Threshold,_e=e.indexOf(t,r);-1!=_e&&(F=Math.min(M(0,_e),F),_e=e.lastIndexOf(t,r+t.length),-1!=_e&&(F=Math.min(M(0,_e),F)));const Le=1<<t.length-1;_e=-1;let Ge,_t,on,Bt=t.length+e.length;for(let Kt=0;Kt<t.length;Kt++){for(Ge=0,_t=Bt;Ge<_t;)M(Kt,r+_t)<=F?Ge=_t:Bt=_t,_t=Math.floor((Bt-Ge)/2+Ge);Bt=_t;let On=Math.max(1,r-_t+1);const Kn=Math.min(r+_t,e.length)+t.length,nr=Array(Kn+2);nr[Kn+1]=(1<<Kt)-1;for(let Ci=Kn;Ci>=On;Ci--){const Ar=l[e.charAt(Ci-1)];if(nr[Ci]=0===Kt?(nr[Ci+1]<<1|1)&Ar:(nr[Ci+1]<<1|1)&Ar|(on[Ci+1]|on[Ci])<<1|1|on[Ci+1],nr[Ci]&Le){const oo=M(Kt,Ci-1);if(oo<=F){if(F=oo,_e=Ci-1,!(_e>r))break;On=Math.max(1,2*r-_e)}}}if(M(Kt+1,r)>F)break;on=nr}return _e}match_alphabet_(e){const t={};for(let r=0;r<e.length;r++)t[e.charAt(r)]=0;for(let r=0;r<e.length;r++)t[e.charAt(r)]|=1<<e.length-r-1;return t}patch_addContext_(e,t){if(0==t.length)return;let r=t.substring(e.start2,e.start2+e.length1),l=0;for(;t.indexOf(r)!=t.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)l+=this.Patch_Margin,r=t.substring(e.start2-l,e.start2+e.length1+l);l+=this.Patch_Margin;const u=t.substring(e.start2-l,e.start2);u&&e.diffs.unshift([0,u]);const M=t.substring(e.start2+e.length1,e.start2+e.length1+l);M&&e.diffs.push([0,M]),e.start1-=u.length,e.start2-=u.length,e.length1+=u.length+M.length,e.length2+=u.length+M.length}patch_make(e,t,r){let l,u;if("string"==typeof e&&"string"==typeof t&&void 0===r)l=e,u=this.diff_main(l,t,!0),u.length>2&&(this.diff_cleanupSemantic(u),this.diff_cleanupEfficiency(u));else if(e&&"object"==typeof e&&void 0===t&&void 0===r)u=e,l=this.diff_text1(u);else if("string"==typeof e&&t&&"object"==typeof t&&void 0===r)l=e,u=t;else{if("string"!=typeof e||"string"!=typeof t||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");l=e,u=r}if(0===u.length)return[];const M=[];let F=new X7,_e=0,Le=0,Ge=0,_t=l,Bt=l;for(let on=0;on<u.length;on++){const Kt=u[on][0],On=u[on][1];switch(!_e&&0!==Kt&&(F.start1=Le,F.start2=Ge),Kt){case 1:F.diffs[_e++]=u[on],F.length2+=On.length,Bt=Bt.substring(0,Ge)+On+Bt.substring(Ge);break;case-1:F.length1+=On.length,F.diffs[_e++]=u[on],Bt=Bt.substring(0,Ge)+Bt.substring(Ge+On.length);break;case 0:On.length<=2*this.Patch_Margin&&_e&&u.length!=on+1?(F.diffs[_e++]=u[on],F.length1+=On.length,F.length2+=On.length):On.length>=2*this.Patch_Margin&&_e&&(this.patch_addContext_(F,_t),M.push(F),F=new X7,_e=0,_t=Bt,Le=Ge)}1!==Kt&&(Le+=On.length),-1!==Kt&&(Ge+=On.length)}return _e&&(this.patch_addContext_(F,_t),M.push(F)),M}patch_deepCopy(e){const t=[];for(let r=0;r<e.length;r++){const l=e[r],u=new X7;u.diffs=[];for(let M=0;M<l.diffs.length;M++)u.diffs[M]=[l.diffs[M][0],l.diffs[M][1]];u.start1=l.start1,u.start2=l.start2,u.length1=l.length1,u.length2=l.length2,t[r]=u}return t}patch_apply(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);const r=this.patch_addPadding(e);t=r+t+r,this.patch_splitMax(e);let l=0;const u=[];for(let M=0;M<e.length;M++){const F=e[M].start2+l,_e=this.diff_text1(e[M].diffs);let Le,Ge=-1;if(_e.length>this.Match_MaxBits?(Le=this.match_main(t,_e.substring(0,this.Match_MaxBits),F),-1!=Le&&(Ge=this.match_main(t,_e.substring(_e.length-this.Match_MaxBits),F+_e.length-this.Match_MaxBits),(-1==Ge||Le>=Ge)&&(Le=-1))):Le=this.match_main(t,_e,F),-1==Le)u[M]=!1,l-=e[M].length2-e[M].length1;else{let _t;if(u[M]=!0,l=Le-F,_t=-1==Ge?t.substring(Le,Le+_e.length):t.substring(Le,Ge+this.Match_MaxBits),_e==_t)t=t.substring(0,Le)+this.diff_text2(e[M].diffs)+t.substring(Le+_e.length);else{const Bt=this.diff_main(_e,_t,!1);if(_e.length>this.Match_MaxBits&&this.diff_levenshtein(Bt)/_e.length>this.Patch_DeleteThreshold)u[M]=!1;else{this.diff_cleanupSemanticLossless(Bt);let Kt,on=0;for(let On=0;On<e[M].diffs.length;On++){const Kn=e[M].diffs[On];0!==Kn[0]&&(Kt=this.diff_xIndex(Bt,on)),1===Kn[0]?t=t.substring(0,Le+Kt)+Kn[1]+t.substring(Le+Kt):-1===Kn[0]&&(t=t.substring(0,Le+Kt)+t.substring(Le+this.diff_xIndex(Bt,on+Kn[1].length))),-1!==Kn[0]&&(on+=Kn[1].length)}}}}}return[t=t.substring(r.length,t.length-r.length),u]}patch_addPadding(e){const t=this.Patch_Margin;let r="";for(let M=1;M<=t;M++)r+=String.fromCharCode(M);for(let M=0;M<e.length;M++)e[M].start1+=t,e[M].start2+=t;let l=e[0],u=l.diffs;if(0==u.length||0!=u[0][0])u.unshift([0,r]),l.start1-=t,l.start2-=t,l.length1+=t,l.length2+=t;else if(t>u[0][1].length){const M=t-u[0][1].length;u[0][1]=r.substring(u[0][1].length)+u[0][1],l.start1-=M,l.start2-=M,l.length1+=M,l.length2+=M}if(l=e[e.length-1],u=l.diffs,0==u.length||0!=u[u.length-1][0])u.push([0,r]),l.length1+=t,l.length2+=t;else if(t>u[u.length-1][1].length){const M=t-u[u.length-1][1].length;u[u.length-1][1]+=r.substring(0,M),l.length1+=M,l.length2+=M}return r}patch_toText(e){const t=[];for(let r=0;r<e.length;r++)t[r]=e[r];return t.join("")}patch_fromText(e){const t=[];if(!e)return t;const r=e.split("\n");let l=0;const u=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;for(;l<r.length;){const M=r[l].match(u);if(!M)throw new Error("Invalid patch string: "+r[l]);const F=new X7;for(t.push(F),F.start1=parseInt(M[1],10),""===M[2]?(F.start1--,F.length1=1):"0"==M[2]?F.length1=0:(F.start1--,F.length1=parseInt(M[2],10)),F.start2=parseInt(M[3],10),""===M[4]?(F.start2--,F.length2=1):"0"==M[4]?F.length2=0:(F.start2--,F.length2=parseInt(M[4],10)),l++;l<r.length;){const _e=r[l].charAt(0);let Le;try{Le=decodeURI(r[l].substring(1))}catch(Ge){throw new Error("Illegal escape in patch_fromText: "+Le)}if("-"==_e)F.diffs.push([-1,Le]);else if("+"==_e)F.diffs.push([1,Le]);else if(" "==_e)F.diffs.push([0,Le]);else{if("@"==_e)break;if(""!==_e)throw new Error('Invalid patch mode "'+_e+'" in: '+Le)}l++}}return t}}dm.\u0275fac=function(e){return new(e||dm)},dm.\u0275prov=i.Yz7({token:dm,factory:dm.\u0275fac});class X7{constructor(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0,this.toString=function(){let e,t;e=0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1,t=0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2;const r=["@@ -"+e+" +"+t+" @@\n"];let l;for(let u=0;u<this.diffs.length;u++){switch(this.diffs[u][0]){case 1:l="+";break;case-1:l="-";break;case 0:l=" "}r[u+1]=l+encodeURI(this.diffs[u][1])+"\n"}return r.join("").replace(/%20/g," ")}}}class V4{constructor(e){this.dmp=e}ngOnInit(){}getDiff(e,t){return this.dmp.diff_main(e,t)}getSemanticDiff(e,t){const r=this.dmp.diff_main(e,t);return this.dmp.diff_cleanupSemantic(r),r}getProcessingDiff(e,t){const r=this.dmp.diff_main(e,t);return this.dmp.diff_cleanupEfficiency(r),r}getLineDiff(e,t){const r=this.dmp.diff_linesToChars_(e,t),l=this.dmp.diff_main(r.chars1,r.chars2,!1);return this.dmp.diff_charsToLines_(l,r.lineArray),l}getDmp(){return this.dmp}}V4.\u0275fac=function(e){return new(e||V4)(i.LFG(dm))},V4.\u0275prov=i.Yz7({token:V4,factory:V4.\u0275fac}),V4.ctorParameters=()=>[{type:dm}];class dg{constructor(e){this.dmp=e}ngOnInit(){this.updateHtml()}ngOnChanges(){this.updateHtml()}updateHtml(){("number"==typeof this.left||"boolean"==typeof this.left)&&(this.left=this.left.toString()),("number"==typeof this.right||"boolean"==typeof this.right)&&(this.right=this.right.toString()),this.calculateLineDiff(this.dmp.getLineDiff(this.left,this.right))}calculateLineDiff(e){const t={lines:[],lineLeft:1,lineRight:1};if(this.isContentEqual=1===e.length&&0===e[0][0],this.isContentEqual)this.calculatedDiff=[];else{for(let r=0;r<e.length;r++){const l=e[r];let u=l[1].split(/\r?\n/);switch(0==u[u.length-1].length&&u.pop(),l[0]){case 0:{const M=0===r,F=r===e.length-1;this.outputEqualDiff(u,t,M,F);break}case-1:this.outputDeleteDiff(u,t);break;case 1:this.outputInsertDiff(u,t)}}this.calculatedDiff=t.lines}}outputEqualDiff(e,t,r,l){if(this.lineContextSize&&e.length>this.lineContextSize)if(r){const u=e.length-this.lineContextSize;t.lineLeft+=u,t.lineRight+=u,e=e.slice(e.length-this.lineContextSize,e.length)}else if(l)e=e.slice(0,this.lineContextSize);else if(e.length>2*this.lineContextSize){this.outputEqualDiffLines(e.slice(0,this.lineContextSize),t),t.lines.push(["dmp-line-compare-equal","...","...","..."]);const u=e.length-2*this.lineContextSize;return t.lineLeft+=u,t.lineRight+=u,void this.outputEqualDiffLines(e.slice(e.length-this.lineContextSize),t)}this.outputEqualDiffLines(e,t)}outputEqualDiffLines(e,t){for(const r of e)t.lines.push(["dmp-line-compare-equal",`${t.lineLeft}`,`${t.lineRight}`,r]),t.lineLeft++,t.lineRight++}outputDeleteDiff(e,t){for(const r of e)t.lines.push(["dmp-line-compare-delete",`${t.lineLeft}`,"-",r]),t.lineLeft++}outputInsertDiff(e,t){for(const r of e)t.lines.push(["dmp-line-compare-insert","-",`${t.lineRight}`,r]),t.lineRight++}}dg.\u0275fac=function(e){return new(e||dg)(i.Y36(V4))},dg.\u0275cmp=i.Xpm({type:dg,selectors:[["dmp-line-compare"]],inputs:{left:"left",right:"right",lineContextSize:"lineContextSize"},features:[i.TTD],decls:2,vars:2,consts:[["class","dmp-line-compare-no-changes-text",4,"ngIf"],["class","dmp-line-compare",4,"ngIf"],[1,"dmp-line-compare-no-changes-text"],[1,"dmp-line-compare"],[1,"dmp-line-compare-margin"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"dmp-margin-bottom-spacer"],[1,"dmp-line-compare-content"],[1,"dmp-line-compare-content-wrapper"],[3,"ngClass"],[1,"dmp-line-compare-left"],[1,"dmp-line-compare-right"],[1,"dmp-line-compare-text"]],template:function(e,t){1&e&&(i.YNc(0,Ww,2,0,"div",0),i.YNc(1,$w,7,2,"div",1)),2&e&&(i.Q6J("ngIf",t.isContentEqual),i.xp6(1),i.Q6J("ngIf",!t.isContentEqual))},directives:[Zo.O5,Zo.sg,Zo.mk],styles:["div.dmp-line-compare[_ngcontent-%COMP%] {\n      display: flex;\n      flex-direction: row;\n      border: 1px solid #808080;\n      font-family: Consolas, Courier, monospace;\n      width: 911px;\n    }\n    div.dmp-line-compare-margin[_ngcontent-%COMP%] {\n      width: 101px;\n    }\n    div.dmp-line-compare-content[_ngcontent-%COMP%] {\n      position: relative;\n      top: 0px;\n      left: 0px;\n      flex-grow: 1;\n      overflow-x: scroll;\n    }\n    div.dmp-line-compare-content-wrapper[_ngcontent-%COMP%] {\n      position: absolute;\n      top: 0px;\n      left: 0px;\n      display: flex;\n      flex-direction: column;\n      align-items: stretch;\n    }\n    div.dmp-line-compare-left[_ngcontent-%COMP%] {\n      width: 50px;\n      text-align: center;\n      color: #484848;\n    }\n    div.dmp-line-compare-equal[_ngcontent-%COMP%] > div.dmp-line-compare-left[_ngcontent-%COMP%], div.dmp-line-compare-equal[_ngcontent-%COMP%] > div.dmp-line-compare-right[_ngcontent-%COMP%] {\n      background-color: #dedede;\n    }\n    div.dmp-line-compare-insert[_ngcontent-%COMP%] > div.dmp-line-compare-left[_ngcontent-%COMP%], div.dmp-line-compare-insert[_ngcontent-%COMP%] > div.dmp-line-compare-right[_ngcontent-%COMP%] {\n      background-color: #8bfb6f;\n    }\n    div.dmp-line-compare-delete[_ngcontent-%COMP%] > div.dmp-line-compare-left[_ngcontent-%COMP%], div.dmp-line-compare-delete[_ngcontent-%COMP%] > div.dmp-line-compare-right[_ngcontent-%COMP%] {\n      background-color: #f56868;\n    }\n    div.dmp-line-compare-right[_ngcontent-%COMP%] {\n      width: 50px;\n      text-align: center;\n      color: #484848;\n      border-right: 1px solid #888888;\n    }\n    div.dmp-line-compare-text[_ngcontent-%COMP%] {\n      white-space: pre;\n      padding-left: 10px;\n      min-width: 800px;\n    }\n    .dmp-line-compare-delete[_ngcontent-%COMP%] {\n      background-color: #ff8c8c;\n    }\n    .dmp-line-compare-insert[_ngcontent-%COMP%] {\n      background-color: #9dff97;\n    }\n    .dmp-line-compare-delete[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n      display: inline-block;\n    }  \n    .dmp-line-compare-insert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n      display: inline-block;\n    }\n    .dmp-line-compare-equal[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n      display: inline-block;\n    }\n    .dmp-margin-bottom-spacer[_ngcontent-%COMP%] {\n      height: 20px;\n      background-color: #dedede;\n      border-right: 1px solid #888888;\n    }"]}),dg.ctorParameters=()=>[{type:V4}],dg.propDecorators={left:[{type:i.IIB}],right:[{type:i.IIB}],lineContextSize:[{type:i.IIB}]};class Hm{constructor(e,t){this.el=e,this.dmp=t}ngOnInit(){this.updateHtml()}ngOnChanges(){this.updateHtml()}updateHtml(){this.el.nativeElement.innerHTML=this.createHtml(this.dmp.getDiff(this.left,this.right))}createHtml(e){let t;t="<div>";for(let r of e)r[1]=r[1].replace(/\n/g,"<br/>"),0===r[0]&&(t+='<span class="equal">'+r[1]+"</span>"),-1===r[0]&&(t+="<del>"+r[1]+"</del>"),1===r[0]&&(t+="<ins>"+r[1]+"</ins>");return t+="</div>",t}}Hm.\u0275fac=function(e){return new(e||Hm)(i.Y36(i.SBq),i.Y36(V4))},Hm.\u0275dir=i.lG2({type:Hm,selectors:[["","diff",""]],inputs:{left:"left",right:"right"},features:[i.TTD]}),Hm.ctorParameters=()=>[{type:i.SBq},{type:V4}],Hm.propDecorators={left:[{type:i.IIB}],right:[{type:i.IIB}]};class Bm{constructor(e,t){this.el=e,this.dmp=t}ngOnInit(){this.updateHtml()}ngOnChanges(){this.updateHtml()}updateHtml(){("number"==typeof this.left||"boolean"==typeof this.left)&&(this.left=this.left.toString()),("number"==typeof this.right||"boolean"==typeof this.right)&&(this.right=this.right.toString()),this.el.nativeElement.innerHTML=this.createHtml(this.dmp.getLineDiff(this.left,this.right))}createHtml(e){let t;t="<div>";for(let r of e)0===r[0]&&(t+='<span class="equal">'+r[1]+"</span>"),-1===r[0]&&(t+='<div class="del"> - <del>'+r[1]+"</del></div>\n"),1===r[0]&&(t+='<div class="ins"> + <ins>'+r[1]+"</ins></div>\n");return t+="</div>",t}}Bm.\u0275fac=function(e){return new(e||Bm)(i.Y36(i.SBq),i.Y36(V4))},Bm.\u0275dir=i.lG2({type:Bm,selectors:[["","lineDiff",""]],inputs:{left:"left",right:"right"},features:[i.TTD]}),Bm.ctorParameters=()=>[{type:i.SBq},{type:V4}],Bm.propDecorators={left:[{type:i.IIB}],right:[{type:i.IIB}]};class ug{constructor(e,t){this.el=e,this.dmp=t}ngOnInit(){this.updateHtml()}ngOnChanges(){this.updateHtml()}updateHtml(){this.el.nativeElement.innerHTML=this.createHtml(this.dmp.getProcessingDiff(this.left,this.right))}createHtml(e){let t;t="<div>";for(let r of e)r[1]=r[1].replace(/\n/g,"<br/>"),0===r[0]&&(t+='<span class="equal">'+r[1]+"</span>"),-1===r[0]&&(t+="<del>"+r[1]+"</del>"),1===r[0]&&(t+="<ins>"+r[1]+"</ins>");return t+="</div>",t}}ug.\u0275fac=function(e){return new(e||ug)(i.Y36(i.SBq),i.Y36(V4))},ug.\u0275dir=i.lG2({type:ug,selectors:[["","processingDiff",""]],inputs:{left:"left",right:"right"},features:[i.TTD]}),ug.ctorParameters=()=>[{type:i.SBq},{type:V4}],ug.propDecorators={left:[{type:i.IIB}],right:[{type:i.IIB}]};class jm{constructor(e,t){this.el=e,this.dmp=t}ngOnInit(){this.updateHtml()}ngOnChanges(){this.updateHtml()}updateHtml(){this.left||(this.left=""),this.right||(this.right=""),("number"==typeof this.left||"boolean"==typeof this.left)&&(this.left=this.left.toString()),("number"==typeof this.right||"boolean"==typeof this.right)&&(this.right=this.right.toString()),this.el.nativeElement.innerHTML=this.createHtml(this.dmp.getSemanticDiff(this.left,this.right))}createHtml(e){let t;t="<div>";for(let r of e)r[1]=r[1].replace(/\n/g,"<br/>"),0===r[0]&&(t+='<span class="equal">'+r[1]+"</span>"),-1===r[0]&&(t+="<del>"+r[1]+"</del>"),1===r[0]&&(t+="<ins>"+r[1]+"</ins>");return t+="</div>",t}}jm.\u0275fac=function(e){return new(e||jm)(i.Y36(i.SBq),i.Y36(V4))},jm.\u0275dir=i.lG2({type:jm,selectors:[["","semanticDiff",""]],inputs:{left:"left",right:"right"},features:[i.TTD]}),jm.ctorParameters=()=>[{type:i.SBq},{type:V4}],jm.propDecorators={left:[{type:i.IIB}],right:[{type:i.IIB}]};class Fm{}Fm.\u0275fac=function(e){return new(e||Fm)},Fm.\u0275mod=i.oAB({type:Fm}),Fm.\u0275inj=i.cJS({providers:[dm,V4],imports:[[Zo.ez]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(Fm,{declarations:function(){return[Hm,Bm,ug,jm,dg]},imports:function(){return[Zo.ez]},exports:function(){return[Hm,Bm,ug,jm,dg]}});var Kw=B(50644);let J7=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/heartbeat/"}get(e){return this.getList(this.relativeUrl,e)}};J7.ctorParameters=()=>[{type:Mu.eN}],J7=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],J7);var Zv=B(90570),Xw=B(85356),iy=B(15404),ry=B(87819),Xv=B(66339),oy=B(97312),Jw=B(31363),H8=B(69108),sy=B(40537),Jv=B(69027),Qw=B(16296),eM=B(48717),ay=B(50917),tM=B(72017),V_=B(30727),nM=B(3480),iM=B(59845);let Qv=class{constructor(){}ngOnInit(){}};Qv.ctorParameters=()=>[],Qv=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-confluence",template:nM,styles:[iM]})],Qv);var rM=B(71017),oM=B(11382);let e_=class{constructor(){}ngOnInit(){}};e_.ctorParameters=()=>[],e_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-club",template:rM,styles:[oM]})],e_);var Y_=B(99349),aM=B(9668);let Q7=class{constructor(e,t){this.apiContent=e,this.route=t,this.dataReady=!1}ngOnInit(){this.apiContent.getContent(this.key).subscribe(e=>{this.content=e,this.content.body=this.content.body.replace(/<img[^>]*>/g,"")},e=>{console.log(e),this.content={title:"Ikke funnet",body:e,space_key:void 0}},()=>this.dataReady=!0)}};Q7.ctorParameters=()=>[{type:C6},{type:_r.gz}],Q7.propDecorators={key:[{type:i.IIB}]},Q7=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-summary",template:Y_,styles:[aM]})],Q7);let B8=class{constructor(){}};B8.ctorParameters=()=>[],B8.propDecorators={tree:[{type:i.IIB}],current:[{type:i.IIB}]},B8=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-tree",template:'\n <div *ngIf="!tree.parent">\n  <a *ngIf="tree._id!==current" [routerLink]="[\'/content/space\', tree.space_key, tree.slug]">{{ tree.title }}</a>\n  <span *ngIf="tree._id===current" class="text-muted">{{ tree.title }}</span>\n </div>\n <ul style="list-style: none">\n   <li *ngFor="let tree of tree.children">\n   <span *ngIf="!!tree.parent">\n    <a *ngIf="tree._id!==current" [routerLink]="[\'/content/space\', tree.space_key, tree.slug]">{{ tree.title }}</a>\n    <span *ngIf="tree._id===current" class="text-muted">{{ tree.title }}</span>\n  </span>\n     <nlf-content-tree  [tree]="tree" [current]="current"></nlf-content-tree>\n   </li>\n </ul>\n '})],B8);var dM=B(46630),uM=B(39916);let j8=class{constructor(e,t){this.apiContent=e,this.router=t,this.data=[],this.showColumnControls=!1,this.selectedRows=0,this.last=[],this.dataReady=!1}ngOnInit(){this.number&&(this.number=5);const e={query:{where:{space_key:this.space_key},projection:{_id:1,title:1,slug:1,space_key:1,parent:1},sort:[{_updated:-1}],max_results:this.number}};this.apiContent.getContentList(e).subscribe(t=>{this.last=t._items},t=>console.log(t),()=>this.dataReady=!0)}};j8.ctorParameters=()=>[{type:C6},{type:_r.F0}],j8.propDecorators={space_key:[{type:i.IIB}],number:[{type:i.IIB}]},j8=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-content-last",template:dM,styles:[uM]})],j8);var fM=B(10283),pM=B(23944),gM=B(47860),mM=B(20659);let F8=class{constructor(e,t,r,l,u,M,F,_e){this.configService=e,this.orsService=t,this.orgService=r,this.alertService=l,this.userData=u,this.router=M,this.activeModal=F,this.subject=_e,this.faPlus=st.r8p,this.faLink=st.nNP,this.ENV=W2.N,this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.dataReady=!1,this.loading=!1,this.showDefault=!0,this.showDefaultActivity=!1,this.showAll=!1,this.configService.observableConfig.subscribe(Le=>{this.config=Le,this.userData.observable.subscribe(Ge=>{Ge&&Ge.hasOwnProperty("settings")&&(this.settings=Ge.settings,this.dataReady=!0)})}),this.subject.observableObservation.subscribe(Le=>{})}ngOnInit(){}ngAfterViewInit(){}getActivityName(){return this.config.inv_mapping[this.settings.default_activity]}getORSName(){return console.log(this.config,this.userData),this.config[this.config.inv_mapping[this.settings.default_activity]].observation.app_name}canCreateDefault(){try{return this.config[this.config.inv_mapping[this.settings.default_activity]].observation.create[this.ENV._name]}catch(e){return console.log("Error create default",e),!1}}getClubs(){const e={query:{where:{"main_activity.id":this.settings.default_activity,type_id:14,is_active:!0},projection:{id:1,_id:1,name:1}}};this.orgService.getOrganizations(e).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(e,t,r){""!==this.selected?(this.loading=!0,this.alertService.clear(),this.orsService.create({club:this.selected}).subscribe(l=>{this.subject.reset(),console.log("OBSREG Created",l),l._id&&l.id&&this.router.navigateByUrl("/ors/"+r+"/edit/"+l.id)},l=>{this.alertService.error("Kunne ikke opprette OBSREG: "+l.message),this.loading=!1},()=>console.log("Created observation"))):this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10)}};F8.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:Fr.Kz},{type:ws.j}],F8=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-create-modal",template:gM,styles:[mM]})],F8);let t_=class{constructor(e,t,r,l,u,M,F,_e,Le){this.authSubject=e,this.authService=t,this.modalService=r,this.router=l,this.userSubject=u,this.userAvatarSubject=M,this.configSubject=F,this.domSanitizer=_e,this.eventQueue=Le,this.faEdit=st.Xcf,this.faPlus=st.r8p,this.faBars=st.xiG,this.faBell=st.qmU,this.faBellSlash=st.n8J,this.faListOl=st.nFo,this.faPowerOff=st.oTz,this.faHomeAlt=st.wzO,this.faUserAlt=st.U6l,this.faDesktop=st.tc$,this.faCommenting=st.yfG,this.navbarOpen=!1,this.isCollapsed=!0,this.ENV=W2.N,this.avatar_missing=Nr.Yi,this.dataReady=!1,this.loggedInObservable=this.authSubject.observableAuth,this.userAvatarSubject.observable.subscribe(Ge=>{this.avatar=Ge}),(0,Ha.D)([this.configSubject.observableConfig.subscribe(Ge=>{this.config=Ge}),this.userSubject.observable.subscribe(Ge=>{Ge&&Object.keys(Ge).length>0&&(this.user_data=Ge)}),this.dataReady=!0]),l.events.filter(Ge=>Ge instanceof _r.OD).subscribe(Ge=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}openCreateOrsModal(){this.eventQueue.dispatch(new s1(Ra.ObsregEvent,{action:"force_save"})),this.modalRef=this.modalService.open(F8,{size:"lg"})}userHash(e){return(0,Nr.Wu)(String(e))}getUserObsreg(){try{return this.config.inv_mapping[this.user_data.settings.default_activity]}catch(e){}return"ors"}ngOnInit(){}};t_.ctorParameters=()=>[{type:af.W},{type:$g.$},{type:Fr.FF},{type:_r.F0},{type:Ec.K},{type:F4},{type:Qa.F},{type:i1.H7},{type:yh}],t_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ui-navbar",template:fM,styles:[pM]})],t_);var W_=B(87844),bM=B(96235),yM=B(99279),zx={prefix:"fab",iconName:"bandcamp",icon:[512,512,[],"f2d5","M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm48.2,326.1h-181L207.9,178h181Z"]},xD={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]};let TC=class{constructor(){this.version=yM.q,this.ENV=W2.N,this.date=new Date,this.faGithub=xD}ngOnInit(){}};TC.ctorParameters=()=>[],TC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ui-footer",template:W_,styles:[bM]})],TC);var yc=B(90587),Ur=B(31631);function PA(d,e){1&d&&(i.TgZ(0,"span",3),i.O4$(),i.TgZ(1,"svg",4),i._UZ(2,"path",5)(3,"g")(4,"g")(5,"g")(6,"g")(7,"g")(8,"g"),i.qZA()())}const TE=["*"];function zA(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",2),i.NdJ("click",function(){return i.CHM(t),i.oxw().hide()}),i.qZA()}}const RA=[[["ng2-dropdown-button"]],[["ng2-dropdown-menu"]]];class iv{constructor(e){this.element=e,this.onMenuToggled=new i.vpe,this.showCaret=!0}toggleMenu(){this.onMenuToggled.emit(!0)}getPosition(){return this.element.nativeElement.getBoundingClientRect()}}iv.\u0275fac=function(e){return new(e||iv)(i.Y36(i.SBq))},iv.\u0275cmp=i.Xpm({type:iv,selectors:[["ng2-dropdown-button"]],inputs:{showCaret:"showCaret"},outputs:{onMenuToggled:"onMenuToggled"},ngContentSelectors:TE,decls:4,vars:1,consts:[["type","button","tabindex","0s",1,"ng2-dropdown-button",3,"click"],[1,"ng2-dropdown-button__label"],["class","ng2-dropdown-button__caret",4,"ngIf"],[1,"ng2-dropdown-button__caret"],["enable-background","new 0 0 32 32","height","16px","id","\u0421\u043b\u043e\u0439_1","version","1.1","viewBox","0 0 32 32","width","16px",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M24.285,11.284L16,19.571l-8.285-8.288c-0.395-0.395-1.034-0.395-1.429,0  c-0.394,0.395-0.394,1.035,0,1.43l8.999,9.002l0,0l0,0c0.394,0.395,1.034,0.395,1.428,0l8.999-9.002  c0.394-0.395,0.394-1.036,0-1.431C25.319,10.889,24.679,10.889,24.285,11.284z","fill","#121313","id","Expand_More"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"button",0),i.NdJ("click",function(){return t.toggleMenu()}),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,PA,9,0,"span",2),i.qZA()),2&e&&(i.xp6(3),i.Q6J("ngIf",t.showCaret))},directives:[Zo.O5],styles:[".ng2-dropdown-button[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,Helvetica,Arial;background:#fff;padding:.45rem .25rem;font-size:14px;letter-spacing:.08rem;color:#444;outline:0;cursor:pointer;font-weight:400;border:none;border-bottom:1px solid #efefef;text-align:left;min-width:100px;width:100%;display:flex;flex-direction:row;max-width:150px}.ng2-dropdown-button[_ngcontent-%COMP%]:hover{color:#222}.ng2-dropdown-button[_ngcontent-%COMP%]:active, .ng2-dropdown-button[_ngcontent-%COMP%]:focus{color:#222;border-bottom:2px solid #2196F3}.ng2-dropdown-button__label[_ngcontent-%COMP%]{flex:1 1 95%}.ng2-dropdown-button__caret[_ngcontent-%COMP%]{width:12px;height:12px;display:flex;flex:1 1 6%}.ng2-dropdown-button--icon[_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%], .ng2-dropdown-button--icon   [_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]{border:none;min-width:40px;width:40px;border-radius:100%;transition:all .2s;text-align:center;height:40px;padding:.5em}.ng2-dropdown-button--icon[_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]:active, .ng2-dropdown-button--icon   [_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]:active{background:rgba(0,0,0,.2)}"]});const SD={[9]:(d,e,t)=>{d<e.length-1?t.select(e[d+1],!0):t.select(e[0],!0)},[38]:(d,e,t)=>{d>0&&t.select(e[d-1],!0)},[40]:(d,e,t)=>{d<e.length-1&&t.select(e[d+1],!0)},[13]:(d,e,t)=>t.selectedItem?t.selectedItem.click():void 0,[27]:function FA(){this.hide()}};function UA(d){[38,40].indexOf(d.keyCode)>-1&&d.preventDefault()}class YA{constructor(){this.onItemSelected=new i.vpe,this.onItemClicked=new i.vpe,this.onItemDestroyed=new i.vpe}get selectedItem(){return this._selectedItem}select(e,t=!0){this._selectedItem=e,t&&e&&(e.focus(),this.onItemSelected.emit(e))}unselect(){this._selectedItem=void 0}}class L5{constructor(){this.menuState={isVisible:!1,toString(){return!0===this.isVisible?"visible":"hidden"}},this.dropdownState=new YA}}L5.\u0275fac=function(e){return new(e||L5)},L5.\u0275prov=i.Yz7({token:L5,factory:L5.\u0275fac});class V8{constructor(e,t){this.state=e,this.element=t,this.preventClose=!1}ngOnDestroy(){this.state.dropdownState.onItemDestroyed.emit(this)}get isSelected(){return this===this.state.dropdownState.selectedItem}select(e){this.state.dropdownState.select(this,!0),e&&(e.stopPropagation(),e.preventDefault())}click(){this.state.dropdownState.onItemClicked.emit(this)}focus(){this.element.nativeElement.children[0].focus()}}V8.\u0275fac=function(e){return new(e||V8)(i.Y36(L5),i.Y36(i.SBq))},V8.\u0275cmp=i.Xpm({type:V8,selectors:[["ng2-menu-item"]],inputs:{preventClose:"preventClose",value:"value"},ngContentSelectors:TE,decls:2,vars:2,consts:[["role","button","tabindex","0",1,"ng2-menu-item",3,"keydown.enter","click","mouseover"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("keydown.enter",function(){return t.click()})("click",function(){return t.click()})("mouseover",function(){return t.select()}),i.Hsn(1),i.qZA()),2&e&&i.ekj("ng2-menu-item--selected",t.isSelected)},styles:[".ng2-menu-item[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,Helvetica,Arial;background:#fff;color:#000000de;cursor:pointer;font-size:.9em;text-transform:none;font-weight:400;letter-spacing:.03em;height:48px;line-height:48px;padding:.3em 1.25rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;transition:background .25s}.ng2-menu-item--selected[_ngcontent-%COMP%]{background:rgba(158,158,158,.2);outline:0}.ng2-menu-item[_ngcontent-%COMP%]:focus{outline:0}.ng2-menu-item[_ngcontent-%COMP%]:active{background:rgba(158,158,158,.4)}ng2-menu-item[_nghost-%COMP%]     [ng2-menu-item-icon]{vertical-align:middle;font-size:28px;width:1.5em;height:30px;color:#00000070}"]});class U8{constructor(e,t,r){this.dropdownState=e,this.element=t,this.renderer=r,this.width=4,this.focusFirstElement=!0,this.appendToBody=!0,this.zIndex=1e3,this.listeners={arrowHandler:void 0,handleKeypress:void 0}}show(e,t=!0){const r="undefined"!=typeof document?document:void 0,l="undefined"!=typeof window?window:void 0;this.dropdownState.menuState.isVisible||(this.listeners.handleKeypress=this.renderer.listen(r.body,"keydown",this.handleKeypress.bind(this)),this.listeners.arrowHandler=this.renderer.listen(l,"keydown",UA)),this.dropdownState.menuState.isVisible=!0,e&&this.updatePosition(e,t)}hide(){this.dropdownState.menuState.isVisible=!1,this.dropdownState.dropdownState.unselect(),this.listeners.arrowHandler&&this.listeners.arrowHandler(),this.listeners.handleKeypress&&this.listeners.handleKeypress()}updatePosition(e,t){this.position=e,this.updateOnChange(t)}handleKeypress(e){const t=e.keyCode,r=this.items.toArray(),l=r.indexOf(this.dropdownState.dropdownState.selectedItem);!SD.hasOwnProperty(t)||SD[t].call(this,l,r,this.dropdownState.dropdownState)}getMenuElement(){return this.element.nativeElement.children[0]}calcPositionOffset(e){const t="undefined"!=typeof window?window:void 0,r="undefined"!=typeof document?document:void 0;if(!t||!r||!e)return;const l=this.getMenuElement(),u=void 0!==t.pageXOffset,M="CSS1Compat"===(r.compatMode||""),F=u?t.pageXOffset:M?r.documentElement.scrollLeft:r.body.scrollLeft,_e=u?t.pageYOffset:M?r.documentElement.scrollTop:r.body.scrollTop;let{top:Le,left:Ge}=this.applyOffset(`${e.top+(this.appendToBody?_e-15:0)}px`,e.left+F-5+"px");const _t=l.clientWidth,Bt=l.clientHeight,on=parseInt(Le)+Bt+(this.appendToBody?0:_e-15),Kt=parseInt(Ge)+_t,On=t.innerHeight+t.scrollY,Kn=t.innerWidth+t.scrollX;if(on>=On&&(Le=parseInt(Le.replace("px",""))-Bt+"px"),Kt>=Kn){const nr=Kt-Kn+30;Ge=parseInt(Ge.replace("px",""))-nr+"px"}return{top:Le,left:Ge}}applyOffset(e,t){if(!this.offset)return{top:e,left:t};const r=this.offset.split(" ");return r[1]||(r[1]="0"),{top:e=`${parseInt(e.replace("px",""))+parseInt(r[0])}px`,left:t=`${parseInt(t.replace("px",""))+parseInt(r[1])}px`}}ngOnInit(){const e="undefined"!=typeof document?document:void 0;this.appendToBody&&e.body.appendChild(this.element.nativeElement)}updateOnChange(e=!0){const t=this.getMenuElement(),r=this.calcPositionOffset(this.position);r&&(this.renderer.setStyle(t,"top",r.top.toString()),this.renderer.setStyle(t,"left",r.left.toString())),this.focusFirstElement&&this.items.first&&!this.dropdownState.dropdownState.selectedItem&&this.dropdownState.dropdownState.select(this.items.first,!1)}ngOnDestroy(){const e=this.element.nativeElement;e.parentNode.removeChild(e),this.listeners.handleKeypress&&this.listeners.handleKeypress()}}U8.\u0275fac=function(e){return new(e||U8)(i.Y36(L5),i.Y36(i.SBq),i.Y36(i.Qsj))},U8.\u0275cmp=i.Xpm({type:U8,selectors:[["ng2-dropdown-menu"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,V8,5),2&e){let l;i.iGM(l=i.CRH())&&(t.items=l)}},inputs:{width:"width",focusFirstElement:"focusFirstElement",offset:"offset",appendToBody:"appendToBody",zIndex:"zIndex"},ngContentSelectors:TE,decls:4,vars:12,consts:[[1,"ng2-dropdown-menu__options-container"],["class","ng2-dropdown-backdrop",3,"click",4,"ngIf"],[1,"ng2-dropdown-backdrop",3,"click"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div")(1,"div",0),i.Hsn(2),i.qZA()(),i.YNc(3,zA,1,0,"div",1)),2&e&&(i.Gre("ng2-dropdown-menu ng2-dropdown-menu---width--",t.width,""),i.Udp("z-index",t.zIndex),i.ekj("ng2-dropdown-menu--inside-element",!t.appendToBody)("ng2-dropdown-menu--open",t.dropdownState.menuState.isVisible),i.Q6J("@fade",t.dropdownState.menuState.toString()),i.xp6(1),i.Q6J("@opacity",t.dropdownState.menuState.toString()),i.xp6(2),i.Q6J("ngIf",t.dropdownState.menuState.isVisible))},directives:[Zo.O5],styles:["[_nghost-%COMP%]{display:block}.ng2-dropdown-menu[_ngcontent-%COMP%]{overflow-y:auto;box-shadow:0 1px 2px #0000004d;position:absolute;padding:.5em 0;background:#fff;border-radius:1px;max-height:400px;width:260px;min-height:0;display:block}.ng2-dropdown-menu.ng2-dropdown-menu--inside-element[_ngcontent-%COMP%]{position:fixed}.ng2-dropdown-menu.ng2-dropdown-menu--width--2[_ngcontent-%COMP%]{width:200px}.ng2-dropdown-menu.ng2-dropdown-menu--width--4[_ngcontent-%COMP%]{width:260px}.ng2-dropdown-menu.ng2-dropdown-menu--width--6[_ngcontent-%COMP%]{width:320px}.ng2-dropdown-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:hidden}[_nghost-%COMP%]     .ng2-menu-divider{height:1px;min-height:1px;max-height:1px;width:100%;display:block;background:#f9f9f9}"],data:{animation:[(0,Ur.X$)("fade",[(0,Ur.SB)("visible",(0,Ur.oB)({opacity:1,height:"*",width:"*"})),(0,Ur.SB)("hidden",(0,Ur.oB)({opacity:0,overflow:"hidden",height:0,width:0})),(0,Ur.eR)("hidden => visible",[(0,Ur.jt)("250ms ease-in",(0,Ur.oB)({opacity:1,height:"*",width:"*"}))]),(0,Ur.eR)("visible => hidden",[(0,Ur.jt)("350ms ease-out",(0,Ur.oB)({opacity:0,width:0,height:0}))])]),(0,Ur.X$)("opacity",[(0,Ur.eR)("hidden => visible",[(0,Ur.jt)("450ms ease-in",(0,Ur.F4)([(0,Ur.oB)({opacity:0,offset:0}),(0,Ur.oB)({opacity:1,offset:1})]))]),(0,Ur.eR)("visible => hidden",[(0,Ur.jt)("250ms ease-out",(0,Ur.F4)([(0,Ur.oB)({opacity:1,offset:0}),(0,Ur.oB)({opacity:.5,offset:.3}),(0,Ur.oB)({opacity:0,offset:1})]))])])]}});class E5{constructor(e){this.state=e,this.dynamicUpdate=!0,this.onItemClicked=new i.vpe,this.onItemSelected=new i.vpe,this.onShow=new i.vpe,this.onHide=new i.vpe}ngOnInit(){this.state.dropdownState.onItemClicked.subscribe(e=>{this.onItemClicked.emit(e),!e.preventClose&&this.hide.call(this)}),this.button&&this.button.onMenuToggled.subscribe(()=>{this.toggleMenu()}),this.state.dropdownState.onItemSelected.subscribe(e=>{this.onItemSelected.emit(e)}),this.state.dropdownState.onItemDestroyed.subscribe(e=>{let t;const r=this.menu.items.toArray();e===this.state.dropdownState.selectedItem&&(this.menu.focusFirstElement&&(t=e===r[0]&&r.length>1?r[1]:r[0]),this.state.dropdownState.select(t))})}toggleMenu(e=this.button.getPosition()){this.state.menuState.isVisible?this.hide():this.show(e)}hide(){this.menu.hide(),this.onHide.emit(this)}show(e=this.button.getPosition()){this.menu.show(e,this.dynamicUpdate),this.onShow.emit(this)}scrollListener(){this.button&&this.dynamicUpdate&&this.menu.updatePosition(this.button.getPosition(),!0)}}E5.\u0275fac=function(e){return new(e||E5)(i.Y36(L5))},E5.\u0275cmp=i.Xpm({type:E5,selectors:[["ng2-dropdown"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,iv,7),i.Suo(r,U8,7)),2&e){let l;i.iGM(l=i.CRH())&&(t.button=l.first),i.iGM(l=i.CRH())&&(t.menu=l.first)}},hostBindings:function(e,t){1&e&&i.NdJ("scroll",function(){return t.scrollListener()},!1,i.Jf7)},inputs:{dynamicUpdate:"dynamicUpdate"},outputs:{onItemClicked:"onItemClicked",onItemSelected:"onItemSelected",onShow:"onShow",onHide:"onHide"},features:[i._Bn([L5])],ngContentSelectors:["ng2-dropdown-button","ng2-dropdown-menu"],decls:3,vars:0,consts:[[1,"ng2-dropdown-container"]],template:function(e,t){1&e&&(i.F$t(RA),i.TgZ(0,"div",0),i.Hsn(1),i.Hsn(2,1),i.qZA())},encapsulation:2});class rv{}rv.\u0275fac=function(e){return new(e||rv)},rv.\u0275mod=i.oAB({type:rv,declarations:[E5,V8,iv,U8],imports:[Zo.ez],exports:[V8,iv,U8,E5]}),rv.\u0275inj=i.cJS({imports:[[Zo.ez]]});var SC=B(25670),SE=B(53298),p9=B(80823);const WA=["input"];function GA(d,e){}const qA=function(d,e){return{item:d,index:e}};function $A(d,e){if(1&d&&(i.TgZ(0,"div"),i.YNc(1,GA,0,0,"ng-template",4),i.qZA()),2&d){const t=i.oxw();i.uIk("contenteditable",t.editing),i.xp6(1),i.Q6J("ngTemplateOutletContext",i.WLB(3,qA,t.model,t.index))("ngTemplateOutlet",t.template)}}function KA(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"delete-icon",8),i.NdJ("click",function(l){return i.CHM(t),i.oxw(2).remove(l)}),i.qZA()}}function ZA(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",5)(1,"div",6),i.NdJ("keydown.enter",function(l){return i.CHM(t),i.oxw().disableEditMode(l)})("keydown.escape",function(l){return i.CHM(t),i.oxw().disableEditMode(l)})("click",function(l){return i.CHM(t),i.oxw().editing?l.stopPropagation():void 0})("blur",function(l){return i.CHM(t),i.oxw().onBlurred(l)}),i._uU(2),i.qZA(),i.YNc(3,KA,1,0,"delete-icon",7),i.qZA()}if(2&d){const t=i.oxw();i.xp6(1),i.uIk("contenteditable",t.editing)("title",t.getDisplayValue(t.model)),i.xp6(1),i.hij(" ",t.getDisplayValue(t.model)," "),i.xp6(1),i.Q6J("ngIf",t.isDeleteIconVisible())}}function XA(d,e){if(1&d&&i._UZ(0,"tag-ripple",9),2&d){const t=i.oxw();i.Q6J("state",t.rippleState),i.uIk("tabindex",-1)}}function JA(d,e){if(1&d&&(i._UZ(0,"span",6),i.ALo(1,"highlight")),2&d){const t=i.oxw().$implicit,r=i.oxw();i.Q6J("innerHTML",i.xi3(1,1,t[r.displayBy],r.tagInput.inputForm.value.value),i.oJD)}}function QA(d,e){}const eO=function(d,e,t){return{item:d,index:e,last:t}};function tO(d,e){if(1&d&&i.YNc(0,QA,0,0,"ng-template",7),2&d){const t=i.oxw(),r=t.$implicit,l=t.index,u=t.last,M=i.oxw();i.Q6J("ngTemplateOutlet",M.templates.first)("ngTemplateOutletContext",i.kEZ(2,eO,r,l,u))}}function nO(d,e){if(1&d&&(i.TgZ(0,"ng2-menu-item",3),i.YNc(1,JA,2,4,"span",4),i.YNc(2,tO,1,6,null,5),i.qZA()),2&d){const t=e.$implicit,r=i.oxw();i.Q6J("value",t)("ngSwitch",!!r.templates.length),i.xp6(1),i.Q6J("ngSwitchCase",!1)}}function iO(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"tag",6),i.NdJ("onSelect",function(){const u=i.CHM(t).$implicit;return i.oxw().selectItem(u)})("onRemove",function(){const l=i.CHM(t),u=l.$implicit,M=l.index;return i.oxw().onRemoveRequested(u,M)})("onKeyDown",function(l){return i.CHM(t),i.oxw().handleKeydown(l)})("onTagEdited",function(l){return i.CHM(t),i.oxw().updateEditedTag(l)})("onBlur",function(l){const M=i.CHM(t).index;return i.oxw().onTagBlurred(l,M)})("dragstart",function(l){const u=i.CHM(t),M=u.$implicit,F=u.index,_e=i.oxw();return _e.dragZone?_e.onDragStarted(l,M,F):void 0})("drop",function(l){const M=i.CHM(t).index,F=i.oxw();return F.dragZone?F.onTagDropped(l,M):void 0})("dragenter",function(l){i.CHM(t);const u=i.oxw();return u.dragZone?u.onDragOver(l):void 0})("dragover",function(l){const M=i.CHM(t).index,F=i.oxw();return F.dragZone?F.onDragOver(l,M):void 0})("dragleave",function(){i.CHM(t);const l=i.oxw();return l.dragZone?l.dragProvider.onDragEnd():void 0}),i.qZA()}if(2&d){const t=e.$implicit,r=e.index,l=i.oxw();i.s9C("draggable",l.editable),i.Q6J("canAddTag",l.isTagValid)("disabled",l.disable)("@animation",l.animationMetadata)("hasRipple",l.ripple)("index",r)("removable",l.removable)("editable",l.editable)("displayBy",l.displayBy)("identifyBy",l.identifyBy)("template",l.hasCustomTemplate()?l.templates.first:void 0)("draggable",l.dragZone)("model",t),i.uIk("tabindex",0)}}function rO(d,e){1&d&&i._UZ(0,"div",7)}function oO(d,e){if(1&d&&(i.TgZ(0,"p",10)(1,"span"),i._uU(2),i.qZA()()),2&d){const t=e.$implicit;i.xp6(2),i.Oqu(t)}}function sO(d,e){if(1&d&&(i.TgZ(0,"div",8),i.YNc(1,oO,3,1,"p",9),i.qZA()),2&d){const t=i.oxw();i.Q6J("ngClass",t.theme),i.xp6(1),i.Q6J("ngForOf",t.errors)}}let ov=class{transform(e,t){if(!t.trim())return e;try{const r=new RegExp(`(${(d=>d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))(t)})`,"i");return e.replace(r,"<b>$1</b>")}catch(r){return e}}};ov.\u0275fac=function(e){return new(e||ov)},ov.\u0275pipe=i.Yjl({name:"highlight",type:ov,pure:!0});const kE="keydown",D5_DELETE="DELETE",D5_SWITCH_PREV="SWITCH_PREV",D5_SWITCH_NEXT="SWITCH_NEXT",D5_TAB="TAB",fO={8:D5_DELETE,46:D5_DELETE,37:D5_SWITCH_PREV,39:D5_SWITCH_NEXT,9:D5_TAB},kC="NEXT",LE="PREV";let Y8=class{constructor(){this.state={dragging:!1,dropping:!1,index:void 0}}setDraggedItem(e,t){e&&e.dataTransfer&&e.dataTransfer.setData("Text",JSON.stringify(t))}getDraggedItem(e){if(e&&e.dataTransfer){const t=e.dataTransfer.getData("Text");try{return JSON.parse(t)}catch(r){return}}}setSender(e){this.sender=e}setReceiver(e){this.receiver=e}onTagDropped(e,t,r){this.onDragEnd(),this.sender.onRemoveRequested(e,t),this.receiver.onAddingRequested(!1,e,r)}setState(e){this.state=Object.assign(Object.assign({},this.state),e)}getState(e){return e?this.state[e]:this.state}onDragEnd(){this.setState({dragging:!1,dropping:!1,index:void 0})}};Y8.\u0275fac=function(e){return new(e||Y8)},Y8.\u0275prov=i.Yz7({token:Y8,factory:function(d){return Y8.\u0275fac(d)}});const va={tagInput:{separatorKeys:[],separatorKeyCodes:[],maxItems:1/0,placeholder:"+ Tag",secondaryPlaceholder:"Enter a new tag",validators:[],asyncValidators:[],onlyFromAutocomplete:!1,errorMessages:{},theme:"",onTextChangeDebounce:250,inputId:null,inputClass:"",clearOnBlur:!1,hideForm:!1,addOnBlur:!1,addOnPaste:!1,pasteSplitPattern:",",blinkIfDupe:!0,removable:!0,editable:!1,allowDupes:!1,modelAsStrings:!1,trimTags:!0,ripple:!0,tabIndex:"",disable:!1,dragZone:"",onRemoving:void 0,onAdding:void 0,displayBy:"display",identifyBy:"value",animationDuration:{enter:"250ms",leave:"150ms"}},dropdown:{displayBy:"display",identifyBy:"value",appendToBody:!0,offset:"50 0",focusFirstElement:!1,showDropdownIfEmpty:!1,minimumTextLength:1,limitItemsTo:1/0,keepOpen:!0,dynamicUpdate:!0,zIndex:1e3,matchingFn:function pO(d,e){const t=e[this.displayBy].toString();return t&&t.toLowerCase().indexOf(d.toLowerCase())>=0}}};class sv{setOptions(e){sv.defaults.tagInput=Object.assign(Object.assign({},va.tagInput),e.tagInput),sv.defaults.dropdown=Object.assign(Object.assign({},va.dropdown),e.dropdown)}}sv.defaults=va;function LD(d){return d===Object(d)}let av=class{constructor(){this._items=[],this.displayBy=sv.defaults.tagInput.displayBy,this.identifyBy=sv.defaults.tagInput.identifyBy}get items(){return this._items}set items(e){this._items=e,this._onChangeCallback(this._items)}onTouched(){this._onTouchedCallback()}writeValue(e){this._items=e||[]}registerOnChange(e){this._onChangeCallback=e}registerOnTouched(e){this._onTouchedCallback=e}getItemValue(e,t=!1){const r=t&&this.dropdown?this.dropdown.identifyBy:this.identifyBy;return LD(e)?e[r]:e}getItemDisplay(e,t=!1){const r=t&&this.dropdown?this.dropdown.displayBy:this.displayBy;return LD(e)?e[r]:e}getItemsWithout(e){return this.items.filter((t,r)=>r!==e)}};function ED(d,e,t=!0){if(!this.listeners.hasOwnProperty(d))throw new Error("The event entered may be wrong");!t||this.listeners[d].push(e)}av.\u0275fac=function(e){return new(e||av)},av.\u0275dir=i.lG2({type:av,inputs:{displayBy:"displayBy",identifyBy:"identifyBy"}}),er([(0,i.IIB)()],av.prototype,"displayBy",void 0),er([(0,i.IIB)()],av.prototype,"identifyBy",void 0);let Qd=class{constructor(){this.onSubmit=new i.vpe,this.onBlur=new i.vpe,this.onFocus=new i.vpe,this.onKeyup=new i.vpe,this.onKeydown=new i.vpe,this.inputTextChange=new i.vpe,this.validators=[],this.asyncValidators=[],this.tabindex="",this.disabled=!1,this.item=new yc.NI({value:"",disabled:this.disabled})}get inputText(){return this.item.value}set inputText(e){this.item.setValue(e),this.inputTextChange.emit(e)}ngOnInit(){this.item.setValidators(this.validators),this.item.setAsyncValidators(this.asyncValidators),this.form=new yc.cw({item:this.item})}ngOnChanges(e){e.disabled&&!e.disabled.firstChange&&(e.disabled.currentValue?this.form.controls.item.disable():this.form.controls.item.enable())}get value(){return this.form.get("item")}isInputFocused(){const e="undefined"!=typeof document?document:void 0;return!!e&&e.activeElement===this.input.nativeElement}getErrorMessages(e){return Object.keys(e).filter(t=>this.value.hasError(t)).map(t=>e[t])}hasErrors(){const{dirty:e,value:t,valid:r}=this.form;return e&&t.item&&!r}focus(){this.input.nativeElement.focus()}blur(){this.input.nativeElement.blur()}getElementPosition(){return this.input.nativeElement.getBoundingClientRect()}destroy(){const e=this.input.nativeElement;e.parentElement.removeChild(e)}onKeyDown(e){if(this.inputText=this.value.value,"Enter"!==e.key)return this.onKeydown.emit(e);this.submit(e)}onKeyUp(e){return this.inputText=this.value.value,this.onKeyup.emit(e)}submit(e){e.preventDefault(),this.onSubmit.emit(e)}};Qd.\u0275fac=function(e){return new(e||Qd)},Qd.\u0275cmp=i.Xpm({type:Qd,selectors:[["tag-input-form"]],viewQuery:function(e,t){if(1&e&&i.Gf(WA,5),2&e){let r;i.iGM(r=i.CRH())&&(t.input=r.first)}},inputs:{validators:"validators",asyncValidators:"asyncValidators",tabindex:"tabindex",disabled:"disabled",inputText:"inputText",placeholder:"placeholder",inputId:"inputId",inputClass:"inputClass"},outputs:{onSubmit:"onSubmit",onBlur:"onBlur",onFocus:"onFocus",onKeyup:"onKeyup",onKeydown:"onKeydown",inputTextChange:"inputTextChange"},features:[i.TTD],decls:3,vars:8,consts:[[3,"formGroup","ngSubmit"],["type","text","autocomplete","off","minlength","1","formControlName","item",1,"ng2-tag-input__text-input",3,"tabindex","ngClass","focus","blur","keydown","keyup"],["input",""]],template:function(e,t){1&e&&(i.TgZ(0,"form",0),i.NdJ("ngSubmit",function(l){return t.submit(l)}),i.TgZ(1,"input",1,2),i.NdJ("focus",function(l){return t.onFocus.emit(l)})("blur",function(l){return t.onBlur.emit(l)})("keydown",function(l){return t.onKeyDown(l)})("keyup",function(l){return t.onKeyUp(l)}),i.qZA()()),2&e&&(i.Q6J("formGroup",t.form),i.xp6(1),i.s9C("tabindex",t.disabled?-1:t.tabindex?t.tabindex:0),i.Q6J("ngClass",t.inputClass),i.uIk("id",t.inputId)("placeholder",t.placeholder)("aria-label",t.placeholder)("tabindex",t.tabindex)("disabled",t.disabled?t.disabled:null))},directives:[yc._Y,yc.JL,yc.sg,yc.Fj,yc.wO,yc.JJ,yc.u,Zo.mk],styles:['.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}.ng2-tag-input__text-input[_ngcontent-%COMP%]{display:inline;vertical-align:middle;border:none;padding:0 .5rem;height:38px;font-size:1em;font-family:Roboto,"Helvetica Neue",sans-serif}.ng2-tag-input__text-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input__text-input[disabled=true][_ngcontent-%COMP%]{opacity:.5;background:#fff}']}),er([(0,i.r_U)()],Qd.prototype,"onSubmit",void 0),er([(0,i.r_U)()],Qd.prototype,"onBlur",void 0),er([(0,i.r_U)()],Qd.prototype,"onFocus",void 0),er([(0,i.r_U)()],Qd.prototype,"onKeyup",void 0),er([(0,i.r_U)()],Qd.prototype,"onKeydown",void 0),er([(0,i.r_U)()],Qd.prototype,"inputTextChange",void 0),er([(0,i.IIB)()],Qd.prototype,"placeholder",void 0),er([(0,i.IIB)()],Qd.prototype,"validators",void 0),er([(0,i.IIB)()],Qd.prototype,"asyncValidators",void 0),er([(0,i.IIB)()],Qd.prototype,"inputId",void 0),er([(0,i.IIB)()],Qd.prototype,"inputClass",void 0),er([(0,i.IIB)()],Qd.prototype,"tabindex",void 0),er([(0,i.IIB)()],Qd.prototype,"disabled",void 0),er([(0,i.i9L)("input")],Qd.prototype,"input",void 0),er([(0,i.IIB)()],Qd.prototype,"inputText",null);let Vm=class{constructor(){this.state="none"}};Vm.\u0275fac=function(e){return new(e||Vm)},Vm.\u0275cmp=i.Xpm({type:Vm,selectors:[["tag-ripple"]],inputs:{state:"state"},decls:1,vars:1,consts:[[1,"tag-ripple"]],template:function(e,t){1&e&&i._UZ(0,"div",0),2&e&&i.Q6J("@ink",t.state)},styles:["[_nghost-%COMP%] {\n            width: 100%;\n            height: 100%;\n            left: 0;\n            overflow: hidden;\n            position: absolute;\n        }\n\n        .tag-ripple[_ngcontent-%COMP%] {\n            background: rgba(0, 0, 0, 0.1);\n            top: 50%;\n            left: 50%;\n            height: 100%;\n            transform: translate(-50%, -50%);\n            position: absolute;\n        }"],data:{animation:[(0,Ur.X$)("ink",[(0,Ur.SB)("none",(0,Ur.oB)({width:0,opacity:0})),(0,Ur.eR)("none => clicked",[(0,Ur.jt)(300,(0,Ur.F4)([(0,Ur.oB)({opacity:1,offset:0,width:"30%",borderRadius:"100%"}),(0,Ur.oB)({opacity:1,offset:.5,width:"50%"}),(0,Ur.oB)({opacity:.5,offset:1,width:"100%",borderRadius:"16px"})]))])])]}}),er([(0,i.IIB)()],Vm.prototype,"state",void 0);const DD="undefined"!=typeof window?window.navigator:{userAgent:"Chrome",vendor:"Google Inc"},gO=/Chrome/.test(DD.userAgent)&&/Google Inc/.test(DD.vendor);let t2=class{constructor(e,t,r){this.element=e,this.renderer=t,this.cdRef=r,this.disabled=!1,this.onSelect=new i.vpe,this.onRemove=new i.vpe,this.onBlur=new i.vpe,this.onKeyDown=new i.vpe,this.onTagEdited=new i.vpe,this.editing=!1,this.rippleState="none"}get readonly(){return"string"!=typeof this.model&&!0===this.model.readonly}select(e){this.readonly||this.disabled||(e&&e.stopPropagation(),this.focus(),this.onSelect.emit(this.model))}remove(e){e.stopPropagation(),this.onRemove.emit(this)}focus(){this.element.nativeElement.focus()}move(){this.moving=!0}keydown(e){if(this.editing){if(13===e.keyCode)return this.disableEditMode(e)}else this.onKeyDown.emit({event:e,model:this.model})}blink(){const e=this.element.nativeElement.classList;e.add("blink"),setTimeout(()=>e.remove("blink"),50)}toggleEditMode(){if(this.editable)return this.editing?void 0:this.activateEditMode()}onBlurred(e){if(!this.editable)return;this.disableEditMode();const t=e.target.innerText,r="string"==typeof this.model?t:Object.assign(Object.assign({},this.model),{[this.displayBy]:t});this.onBlur.emit(r)}getDisplayValue(e){return"string"==typeof e?e:e[this.displayBy]}get isRippleVisible(){return!this.readonly&&!this.editing&&gO&&this.hasRipple}disableEditMode(e){const t=this.element.nativeElement.classList,r=this.getContentEditableText();this.editing=!1,t.remove("tag--editing"),r?(this.storeNewValue(r),this.cdRef.detectChanges(),e&&e.preventDefault()):this.setContentEditableText(this.model)}isDeleteIconVisible(){return!this.readonly&&!this.disabled&&this.removable&&!this.editing}getContentEditableText(){const e=this.getContentEditable();return e?e.innerText.trim():""}setContentEditableText(e){const t=this.getContentEditable(),r=this.getDisplayValue(e);t.innerText=r}activateEditMode(){this.element.nativeElement.classList.add("tag--editing"),this.editing=!0}storeNewValue(e){if((u=>"string"==typeof u?u===e:u[this.displayBy]===e)(this.model))return;const l="string"==typeof this.model?e:{index:this.index,[this.identifyBy]:(()=>this.model[this.identifyBy]!==this.model[this.displayBy])()?this.model[this.identifyBy]:e,[this.displayBy]:e};this.canAddTag(l)?this.onTagEdited.emit({tag:l,index:this.index}):this.setContentEditableText(this.model)}getContentEditable(){return this.element.nativeElement.querySelector("[contenteditable]")}};t2.\u0275fac=function(e){return new(e||t2)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO))},t2.\u0275cmp=i.Xpm({type:t2,selectors:[["tag"]],viewQuery:function(e,t){if(1&e&&i.Gf(Vm,5),2&e){let r;i.iGM(r=i.CRH())&&(t.ripple=r.first)}},hostVars:2,hostBindings:function(e,t){1&e&&i.NdJ("keydown",function(l){return t.keydown(l)}),2&e&&i.ekj("moving",t.moving)},inputs:{disabled:"disabled",model:"model",removable:"removable",editable:"editable",template:"template",displayBy:"displayBy",identifyBy:"identifyBy",index:"index",hasRipple:"hasRipple",canAddTag:"canAddTag"},outputs:{onSelect:"onSelect",onRemove:"onRemove",onBlur:"onBlur",onKeyDown:"onKeyDown",onTagEdited:"onTagEdited"},decls:4,vars:8,consts:[[3,"ngSwitch","click","dblclick","mousedown","mouseup"],[4,"ngSwitchCase"],["class","tag-wrapper",4,"ngSwitchCase"],[3,"state",4,"ngIf"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"tag-wrapper"],["spellcheck","false",1,"tag__text","inline",3,"keydown.enter","keydown.escape","click","blur"],["aria-label","Remove tag","role","button",3,"click",4,"ngIf"],["aria-label","Remove tag","role","button",3,"click"],[3,"state"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i.NdJ("click",function(l){return t.select(l)})("dblclick",function(){return t.toggleEditMode()})("mousedown",function(){return t.rippleState="clicked"})("mouseup",function(){return t.rippleState="none"}),i.YNc(1,$A,2,6,"div",1),i.YNc(2,ZA,4,4,"div",2),i.qZA(),i.YNc(3,XA,1,2,"tag-ripple",3)),2&e&&(i.ekj("disabled",t.disabled),i.Q6J("ngSwitch",!!t.template),i.uIk("tabindex",-1)("aria-label",t.getDisplayValue(t.model)),i.xp6(1),i.Q6J("ngSwitchCase",!0),i.xp6(1),i.Q6J("ngSwitchCase",!1),i.xp6(1),i.Q6J("ngIf",t.isRippleVisible))},directives:function(){return[Zo.RF,Zo.n9,Zo.tP,Zo.O5,lv,Vm]},styles:["[_nghost-%COMP%], [_nghost-%COMP%] > div[_ngcontent-%COMP%], [_nghost-%COMP%] > div[_ngcontent-%COMP%]:focus{outline:0;overflow:hidden;transition:opacity 1s;z-index:1}[_nghost-%COMP%]{max-width:400px}.blink[_nghost-%COMP%]{-webkit-animation:.3s ease-in-out forwards blink;animation:.3s ease-in-out forwards blink}@-webkit-keyframes blink{0%{opacity:.3}}@keyframes blink{0%{opacity:.3}}[_nghost-%COMP%]   .disabled[_ngcontent-%COMP%]{cursor:not-allowed}[_nghost-%COMP%]   [contenteditable=true][_ngcontent-%COMP%]{outline:0}.tag-wrapper[_ngcontent-%COMP%]{flex-direction:row;display:flex}.tag__text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]}),t2.ctorParameters=()=>[{type:i.SBq},{type:i.Qsj},{type:i.sBO}],er([(0,i.IIB)()],t2.prototype,"model",void 0),er([(0,i.IIB)()],t2.prototype,"removable",void 0),er([(0,i.IIB)()],t2.prototype,"editable",void 0),er([(0,i.IIB)()],t2.prototype,"template",void 0),er([(0,i.IIB)()],t2.prototype,"displayBy",void 0),er([(0,i.IIB)()],t2.prototype,"identifyBy",void 0),er([(0,i.IIB)()],t2.prototype,"index",void 0),er([(0,i.IIB)()],t2.prototype,"hasRipple",void 0),er([(0,i.IIB)()],t2.prototype,"disabled",void 0),er([(0,i.IIB)()],t2.prototype,"canAddTag",void 0),er([(0,i.r_U)()],t2.prototype,"onSelect",void 0),er([(0,i.r_U)()],t2.prototype,"onRemove",void 0),er([(0,i.r_U)()],t2.prototype,"onBlur",void 0),er([(0,i.r_U)()],t2.prototype,"onKeyDown",void 0),er([(0,i.r_U)()],t2.prototype,"onTagEdited",void 0),er([(0,i.pfw)("class.moving")],t2.prototype,"moving",void 0),er([(0,i.i9L)(Vm)],t2.prototype,"ripple",void 0),er([(0,i.L6J)("keydown",["$event"])],t2.prototype,"keydown",null);const mO=[(0,Ur.X$)("animation",[(0,Ur.SB)("in",(0,Ur.oB)({opacity:1})),(0,Ur.SB)("out",(0,Ur.oB)({opacity:0})),(0,Ur.eR)(":enter",[(0,Ur.jt)("{{ enter }}",(0,Ur.F4)([(0,Ur.oB)({opacity:0,offset:0,transform:"translate(0px, 20px)"}),(0,Ur.oB)({opacity:.3,offset:.3,transform:"translate(0px, -10px)"}),(0,Ur.oB)({opacity:.5,offset:.5,transform:"translate(0px, 0px)"}),(0,Ur.oB)({opacity:.75,offset:.75,transform:"translate(0px, 5px)"}),(0,Ur.oB)({opacity:1,offset:1,transform:"translate(0px, 0px)"})]))]),(0,Ur.eR)(":leave",[(0,Ur.jt)("{{ leave }}",(0,Ur.F4)([(0,Ur.oB)({opacity:1,transform:"translateX(0)",offset:0}),(0,Ur.oB)({opacity:1,transform:"translateX(-15px)",offset:.7}),(0,Ur.oB)({opacity:0,transform:"translateX(100%)",offset:1})]))])])];let S2=class{constructor(e){this.injector=e,this.offset=va.dropdown.offset,this.focusFirstElement=va.dropdown.focusFirstElement,this.showDropdownIfEmpty=va.dropdown.showDropdownIfEmpty,this.minimumTextLength=va.dropdown.minimumTextLength,this.limitItemsTo=va.dropdown.limitItemsTo,this.displayBy=va.dropdown.displayBy,this.identifyBy=va.dropdown.identifyBy,this.matchingFn=va.dropdown.matchingFn,this.appendToBody=va.dropdown.appendToBody,this.keepOpen=va.dropdown.keepOpen,this.dynamicUpdate=va.dropdown.dynamicUpdate,this.zIndex=va.dropdown.zIndex,this.items=[],this.tagInput=this.injector.get(Ss),this._autocompleteItems=[],this.show=()=>{const t=this.tagInput.items.length===this.tagInput.maxItems,r=this.getFormValue(),l=r.trim().length>=this.minimumTextLength,u=this.calculatePosition(),M=this.getMatchingItems(r),F=M.length>0,_e=!1===this.isVisible,Le=this.showDropdownIfEmpty&&F&&!r,Ge=this.tagInput.disable,_t=_e&&(F&&l||Le),Bt=this.isVisible&&!F;return this.autocompleteObservable&&l?this.getItemsFromObservable(r):!this.showDropdownIfEmpty&&!r||t||Ge?this.dropdown.hide():(this.setItems(M),void(_t?this.dropdown.show(u):Bt&&this.hide()))},this.requestAdding=t=>Z7(this,void 0,void 0,function*(){const r=this.createTagModel(t);yield this.tagInput.onAddingRequested(!0,r).catch(()=>{})}),this.resetItems=()=>{this.items=[]},this.getItemsFromObservable=t=>{this.setLoadingState(!0);this.autocompleteObservable(t).pipe((0,SC.P)()).subscribe(l=>{this.setLoadingState(!1).populateItems(l),this.setItems(this.getMatchingItems(t)),this.items.length?this.dropdown.show(this.calculatePosition()):this.dropdown.hide()},()=>this.setLoadingState(!1))}}set autocompleteItems(e){this._autocompleteItems=e}get autocompleteItems(){const e=this._autocompleteItems;return e?e.map(t=>"string"==typeof t?{[this.displayBy]:t,[this.identifyBy]:t}:t):[]}ngAfterViewInit(){this.onItemClicked().subscribe(r=>{this.requestAdding(r)}),this.onHide().subscribe(this.resetItems);const t=this.keepOpen;this.tagInput.onTextChange.asObservable().pipe((0,SE.x)(),(0,p9.b)(200),(0,K6.h)(r=>!1!==t||r.length>0)).subscribe(this.show)}updatePosition(){const e=this.tagInput.inputForm.getElementPosition();this.dropdown.menu.updatePosition(e,this.dynamicUpdate)}get isVisible(){return this.dropdown.menu.dropdownState.menuState.isVisible}onHide(){return this.dropdown.onHide}onItemClicked(){return this.dropdown.onItemClicked}get selectedItem(){return this.dropdown.menu.dropdownState.dropdownState.selectedItem}get state(){return this.dropdown.menu.dropdownState}hide(){this.resetItems(),this.dropdown.hide()}scrollListener(){!this.isVisible||!this.dynamicUpdate||this.updatePosition()}onWindowBlur(){this.dropdown.hide()}getFormValue(){const e=this.tagInput.formValue;return e?e.toString().trim():""}calculatePosition(){return this.tagInput.inputForm.getElementPosition()}createTagModel(e){const t="string"==typeof e.value?e.value:e.value[this.displayBy],r="string"==typeof e.value?e.value:e.value[this.identifyBy];return Object.assign(Object.assign({},e.value),{[this.tagInput.displayBy]:t,[this.tagInput.identifyBy]:r})}getMatchingItems(e){if(!e&&!this.showDropdownIfEmpty)return[];const t=this.tagInput.allowDupes;return this.autocompleteItems.filter(r=>{const l=!t&&this.tagInput.tags.some(u=>{const M=this.tagInput.identifyBy;return("string"==typeof u.model?u.model:u.model[M])===r[this.identifyBy]});return this.matchingFn(e,r)&&!1===l})}setItems(e){this.items=e.slice(0,this.limitItemsTo||e.length)}populateItems(e){return this.autocompleteItems=e.map(t=>"string"==typeof t?{[this.displayBy]:t,[this.identifyBy]:t}:t),this}setLoadingState(e){return this.tagInput.isLoading=e,this}};S2.\u0275fac=function(e){return new(e||S2)(i.Y36(i.zs3))},S2.\u0275cmp=i.Xpm({type:S2,selectors:[["tag-input-dropdown"]],contentQueries:function(e,t,r){if(1&e&&i.Suo(r,i.Rgc,4),2&e){let l;i.iGM(l=i.CRH())&&(t.templates=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(E5,5),2&e){let r;i.iGM(r=i.CRH())&&(t.dropdown=r.first)}},hostBindings:function(e,t){1&e&&i.NdJ("scroll",function(){return t.scrollListener()},!1,i.Jf7)("blur",function(){return t.onWindowBlur()},!1,i.Jf7)},inputs:{offset:"offset",focusFirstElement:"focusFirstElement",showDropdownIfEmpty:"showDropdownIfEmpty",minimumTextLength:"minimumTextLength",limitItemsTo:"limitItemsTo",displayBy:"displayBy",identifyBy:"identifyBy",matchingFn:"matchingFn",appendToBody:"appendToBody",keepOpen:"keepOpen",dynamicUpdate:"dynamicUpdate",zIndex:"zIndex",autocompleteItems:"autocompleteItems",autocompleteObservable:"autocompleteObservable"},decls:3,vars:6,consts:[[3,"dynamicUpdate"],[3,"focusFirstElement","zIndex","appendToBody","offset"],[3,"value","ngSwitch",4,"ngFor","ngForOf"],[3,"value","ngSwitch"],[3,"innerHTML",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"innerHTML"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(i.TgZ(0,"ng2-dropdown",0)(1,"ng2-dropdown-menu",1),i.YNc(2,nO,3,3,"ng2-menu-item",2),i.qZA()()),2&e&&(i.Q6J("dynamicUpdate",t.dynamicUpdate),i.xp6(1),i.Q6J("focusFirstElement",t.focusFirstElement)("zIndex",t.zIndex)("appendToBody",t.appendToBody)("offset",t.offset),i.xp6(1),i.Q6J("ngForOf",t.items))},directives:[E5,U8,Zo.sg,V8,Zo.RF,Zo.n9,Zo.ED,Zo.tP],pipes:[ov],encapsulation:2}),S2.ctorParameters=()=>[{type:i.zs3}],er([(0,i.i9L)(E5)],S2.prototype,"dropdown",void 0),er([(0,i.AcB)(i.Rgc)],S2.prototype,"templates",void 0),er([(0,i.IIB)()],S2.prototype,"offset",void 0),er([(0,i.IIB)()],S2.prototype,"focusFirstElement",void 0),er([(0,i.IIB)()],S2.prototype,"showDropdownIfEmpty",void 0),er([(0,i.IIB)()],S2.prototype,"autocompleteObservable",void 0),er([(0,i.IIB)()],S2.prototype,"minimumTextLength",void 0),er([(0,i.IIB)()],S2.prototype,"limitItemsTo",void 0),er([(0,i.IIB)()],S2.prototype,"displayBy",void 0),er([(0,i.IIB)()],S2.prototype,"identifyBy",void 0),er([(0,i.IIB)()],S2.prototype,"matchingFn",void 0),er([(0,i.IIB)()],S2.prototype,"appendToBody",void 0),er([(0,i.IIB)()],S2.prototype,"keepOpen",void 0),er([(0,i.IIB)()],S2.prototype,"dynamicUpdate",void 0),er([(0,i.IIB)()],S2.prototype,"zIndex",void 0),er([(0,i.IIB)()],S2.prototype,"autocompleteItems",null),er([(0,i.L6J)("window:scroll")],S2.prototype,"scrollListener",null),er([(0,i.L6J)("window:blur")],S2.prototype,"onWindowBlur",null);"undefined"!=typeof window&&window.DragEvent;const vO={provide:yc.JU,useExisting:(0,i.Gpc)(()=>Ss),multi:!0};let Ss=class extends av{constructor(e,t){super(),this.renderer=e,this.dragProvider=t,this.separatorKeys=va.tagInput.separatorKeys,this.separatorKeyCodes=va.tagInput.separatorKeyCodes,this.placeholder=va.tagInput.placeholder,this.secondaryPlaceholder=va.tagInput.secondaryPlaceholder,this.maxItems=va.tagInput.maxItems,this.validators=va.tagInput.validators,this.asyncValidators=va.tagInput.asyncValidators,this.onlyFromAutocomplete=va.tagInput.onlyFromAutocomplete,this.errorMessages=va.tagInput.errorMessages,this.theme=va.tagInput.theme,this.onTextChangeDebounce=va.tagInput.onTextChangeDebounce,this.inputId=va.tagInput.inputId,this.inputClass=va.tagInput.inputClass,this.clearOnBlur=va.tagInput.clearOnBlur,this.hideForm=va.tagInput.hideForm,this.addOnBlur=va.tagInput.addOnBlur,this.addOnPaste=va.tagInput.addOnPaste,this.pasteSplitPattern=va.tagInput.pasteSplitPattern,this.blinkIfDupe=va.tagInput.blinkIfDupe,this.removable=va.tagInput.removable,this.editable=va.tagInput.editable,this.allowDupes=va.tagInput.allowDupes,this.modelAsStrings=va.tagInput.modelAsStrings,this.trimTags=va.tagInput.trimTags,this.ripple=va.tagInput.ripple,this.tabindex=va.tagInput.tabIndex,this.disable=va.tagInput.disable,this.dragZone=va.tagInput.dragZone,this.onRemoving=va.tagInput.onRemoving,this.onAdding=va.tagInput.onAdding,this.animationDuration=va.tagInput.animationDuration,this.onAdd=new i.vpe,this.onRemove=new i.vpe,this.onSelect=new i.vpe,this.onFocus=new i.vpe,this.onBlur=new i.vpe,this.onTextChange=new i.vpe,this.onPaste=new i.vpe,this.onValidationError=new i.vpe,this.onTagEdited=new i.vpe,this.isLoading=!1,this.listeners={[kE]:[],keyup:[]},this.inputTextChange=new i.vpe,this.inputTextValue="",this.errors=[],this.appendTag=(r,l=this.items.length)=>{const u=this.items,M=this.modelAsStrings?r[this.identifyBy]:r;this.items=[...u.slice(0,l),M,...u.slice(l,u.length)]},this.createTag=r=>{const l=(u,M)=>"string"==typeof u?u.trim():u[M];return Object.assign(Object.assign({},"string"!=typeof r?r:{}),{[this.displayBy]:this.trimTags?l(r,this.displayBy):r,[this.identifyBy]:this.trimTags?l(r,this.identifyBy):r})},this.isTagValid=(r,l=!1)=>{const u=this.dropdown?this.dropdown.selectedItem:void 0,M=this.getItemDisplay(r).trim();if(u&&!l||!M)return!1;const F=this.findDupe(r,l);if(!this.allowDupes&&F&&this.blinkIfDupe){const Ge=this.tags.find(_t=>this.getItemValue(_t.model)===this.getItemValue(F));Ge&&Ge.blink()}const _e=l&&this.onlyFromAutocomplete,Le=[!F||this.allowDupes,!this.maxItemsReached,_e||!this.onlyFromAutocomplete];return Le.filter(Boolean).length===Le.length},this.onPasteCallback=r=>Z7(this,void 0,void 0,function*(){const u=(()=>{const _e=Boolean(window.clipboardData),Le=_e?window.clipboardData:r.clipboardData,Ge=_e?"Text":"text/plain";return null===Le?"":Le.getData(Ge)||""})(),M=u.split(this.pasteSplitPattern).map(_e=>{const Le=this.createTag(_e);return this.setInputValue(Le[this.displayBy]),this.onAddingRequested(!1,Le)}),F=()=>setTimeout(()=>this.setInputValue(""),50);Promise.all(M).then(()=>{this.onPaste.emit(u),F()}).catch(F)})}get inputText(){return this.inputTextValue}set inputText(e){this.inputTextValue=e,this.inputTextChange.emit(e)}get tabindexAttr(){return""!==this.tabindex?"-1":""}ngAfterViewInit(){this.setUpKeypressListeners(),this.setupSeparatorKeysListener(),this.setUpInputKeydownListeners(),this.onTextChange.observers.length&&this.setUpTextChangeSubscriber(),(this.clearOnBlur||this.addOnBlur)&&this.setUpOnBlurSubscriber(),this.addOnPaste&&this.setUpOnPasteListener();const e=this.inputForm.form.statusChanges;e.pipe((0,K6.h)(t=>"PENDING"!==t)).subscribe(()=>{this.errors=this.inputForm.getErrorMessages(this.errorMessages)}),this.isProgressBarVisible$=e.pipe((0,mh.U)(t=>"PENDING"===t||this.isLoading)),this.hideForm&&this.inputForm.destroy()}ngOnInit(){void 0!==this.maxItems&&this.items&&this.items.length>this.maxItems&&(this.maxItems=this.items.length,console.warn("The number of items specified was greater than the property max-items.")),this.editable=!this.onlyFromAutocomplete&&this.editable,this.setAnimationMetadata()}onRemoveRequested(e,t){return new Promise(r=>{const l=u=>{this.removeItem(u,t),r(e)};this.onRemoving?this.onRemoving(e).pipe((0,SC.P)()).subscribe(l):l(e)})}onAddingRequested(e,t,r,l){return new Promise((u,M)=>{const F=_e=>this.addItem(e,_e,r,l).then(u).catch(M);return this.onAdding?this.onAdding(t).pipe((0,SC.P)()).subscribe(F,M):F(t)})}selectItem(e,t=!0){e&&"string"!=typeof e&&e.readonly||this.selectedTag===e||(this.selectedTag=e,t&&this.onSelect.emit(e))}fireEvents(e,t){this.listeners[e].forEach(r=>r.call(this,t))}handleKeydown(e){const t=e.event,r=t.keyCode||t.which,l=t.shiftKey||!1;switch(fO[r]){case D5_DELETE:if(this.selectedTag&&this.removable){const u=this.items.indexOf(this.selectedTag);this.onRemoveRequested(this.selectedTag,u)}break;case D5_SWITCH_PREV:this.moveToTag(e.model,LE);break;case D5_SWITCH_NEXT:this.moveToTag(e.model,kC);break;case D5_TAB:if(l){if(this.isFirstTag(e.model))return;this.moveToTag(e.model,LE)}else{if(this.isLastTag(e.model)&&(this.disable||this.maxItemsReached))return;this.moveToTag(e.model,kC)}break;default:return}t.preventDefault()}onFormSubmit(){return Z7(this,void 0,void 0,function*(){try{yield this.onAddingRequested(!1,this.formValue)}catch(e){return}})}setInputValue(e,t=!0){this.getControl().setValue(e,{emitEvent:t})}getControl(){return this.inputForm.value}focus(e=!1,t=!1){this.dragProvider.getState("dragging")||(this.selectItem(void 0,!1),e&&(this.inputForm.focus(),this.onFocus.emit(this.formValue)))}blur(){this.onTouched(),this.onBlur.emit(this.formValue)}hasErrors(){return!!this.inputForm&&this.inputForm.hasErrors()}isInputFocused(){return!!this.inputForm&&this.inputForm.isInputFocused()}hasCustomTemplate(){const e=this.templates?this.templates.first:void 0,t=this.dropdown&&this.dropdown.templates?this.dropdown.templates.first:void 0;return Boolean(e&&e!==t)}get maxItemsReached(){return void 0!==this.maxItems&&this.items.length>=this.maxItems}get formValue(){const e=this.inputForm.value;return e?e.value:""}onDragStarted(e,t,r){e.stopPropagation();const l={zone:this.dragZone,tag:t,index:r};this.dragProvider.setSender(this),this.dragProvider.setDraggedItem(e,l),this.dragProvider.setState({dragging:!0,index:r})}onDragOver(e,t){this.dragProvider.setState({dropping:!0}),this.dragProvider.setReceiver(this),e.preventDefault()}onTagDropped(e,t){const r=this.dragProvider.getDraggedItem(e);!r||r.zone!==this.dragZone||(this.dragProvider.onTagDropped(r.tag,r.index,t),e.preventDefault(),e.stopPropagation())}isDropping(){const e=this.dragProvider.receiver===this,t=this.dragProvider.getState("dropping");return Boolean(e&&t)}onTagBlurred(e,t){this.items[t]=e,this.blur()}trackBy(e,t){return t[this.identifyBy]}updateEditedTag({tag:e,index:t}){this.onTagEdited.emit(e)}moveToTag(e,t){const r=this.isLastTag(e),l=this.isFirstTag(e);if(t===kC&&r||t===LE&&l)return void this.focus(!0);const M=t===kC?1:-1,F=this.getTagIndex(e)+M,_e=this.getTagAtIndex(F);return _e.select.call(_e)}isFirstTag(e){return this.tags.first.model===e}isLastTag(e){return this.tags.last.model===e}getTagIndex(e){return this.tags.toArray().findIndex(r=>r.model===e)}getTagAtIndex(e){return this.tags.toArray()[e]}removeItem(e,t){this.items=this.getItemsWithout(t),this.selectedTag===e&&this.selectItem(void 0,!1),this.focus(!0,!1),this.onRemove.emit(e)}addItem(e=!1,t,r,l){const u=this.getItemDisplay(t),M=this.createTag(t);return e&&this.setInputValue(this.getItemValue(t,!0)),new Promise((F,_e)=>{const Le=()=>{this.setInputValue(""),l?this.focus(!1,!1):this.focus(!0,!1),F(u)},Ge=()=>{this.appendTag(M,r),this.onAdd.emit(M),this.dropdown&&(this.dropdown.hide(),this.dropdown.showDropdownIfEmpty&&this.dropdown.show())},_t=this.inputForm.form.status,Bt=this.isTagValid(M,e),on=()=>(this.onValidationError.emit(M),_e());return"VALID"===_t&&Bt?(Ge(),Le()):"INVALID"!==_t&&Bt?"PENDING"===_t?this.inputForm.form.statusChanges.pipe((0,K6.h)(On=>"PENDING"!==On),(0,SC.P)()).subscribe(On=>"VALID"===On&&Bt?(Ge(),Le()):(Le(),on())):void 0:(Le(),on())})}setupSeparatorKeysListener(){const e=this.separatorKeyCodes.length>0||this.separatorKeys.length>0;ED.call(this,kE,r=>{const l=this.separatorKeyCodes.indexOf(r.keyCode)>=0,u=this.separatorKeys.indexOf(r.key)>=0,M=229===r.keyCode;(l||u&&!M)&&(r.preventDefault(),this.onAddingRequested(!1,this.formValue).catch(()=>{}))},e)}setUpKeypressListeners(){ED.call(this,kE,t=>{(37===t.keyCode||8===t.keyCode)&&!this.formValue&&this.items.length&&this.tags.last.select.call(this.tags.last)})}setUpInputKeydownListeners(){this.inputForm.onKeydown.subscribe(e=>{"Backspace"===e.key&&""===this.formValue.trim()&&e.preventDefault()})}setUpOnPasteListener(){const e=this.inputForm.input.nativeElement;this.renderer.listen(e,"paste",t=>(this.onPasteCallback(t),t.preventDefault(),!0))}setUpTextChangeSubscriber(){this.inputForm.form.valueChanges.pipe((0,p9.b)(this.onTextChangeDebounce)).subscribe(e=>{this.onTextChange.emit(e.item)})}setUpOnBlurSubscriber(){this.inputForm.onBlur.pipe((0,p9.b)(100),(0,K6.h)(()=>!(this.dropdown&&this.dropdown.isVisible||!this.formValue))).subscribe(()=>{const t=()=>this.setInputValue("");if(this.addOnBlur)return this.onAddingRequested(!1,this.formValue,void 0,!0).then(t).catch(t);t()})}findDupe(e,t){const l=e[t?this.dropdown.identifyBy:this.identifyBy];return this.items.find(u=>this.getItemValue(u)===l)}setAnimationMetadata(){this.animationMetadata={value:"in",params:Object.assign({},this.animationDuration)}}};Ss.\u0275fac=function(e){return new(e||Ss)(i.Y36(i.Qsj),i.Y36(Y8))},Ss.\u0275cmp=i.Xpm({type:Ss,selectors:[["tag-input"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,S2,5),i.Suo(r,i.Rgc,4)),2&e){let l;i.iGM(l=i.CRH())&&(t.dropdown=l.first),i.iGM(l=i.CRH())&&(t.templates=l)}},viewQuery:function(e,t){if(1&e&&(i.Gf(Qd,5),i.Gf(t2,5)),2&e){let r;i.iGM(r=i.CRH())&&(t.inputForm=r.first),i.iGM(r=i.CRH())&&(t.tags=r)}},hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("tabindex",t.tabindexAttr)},inputs:{separatorKeys:"separatorKeys",separatorKeyCodes:"separatorKeyCodes",placeholder:"placeholder",secondaryPlaceholder:"secondaryPlaceholder",maxItems:"maxItems",validators:"validators",asyncValidators:"asyncValidators",onlyFromAutocomplete:"onlyFromAutocomplete",errorMessages:"errorMessages",theme:"theme",onTextChangeDebounce:"onTextChangeDebounce",inputId:"inputId",inputClass:"inputClass",clearOnBlur:"clearOnBlur",hideForm:"hideForm",addOnBlur:"addOnBlur",addOnPaste:"addOnPaste",pasteSplitPattern:"pasteSplitPattern",blinkIfDupe:"blinkIfDupe",removable:"removable",editable:"editable",allowDupes:"allowDupes",modelAsStrings:"modelAsStrings",trimTags:"trimTags",ripple:"ripple",tabindex:"tabindex",disable:"disable",dragZone:"dragZone",onRemoving:"onRemoving",onAdding:"onAdding",animationDuration:"animationDuration",inputText:"inputText"},outputs:{onAdd:"onAdd",onRemove:"onRemove",onSelect:"onSelect",onFocus:"onFocus",onBlur:"onBlur",onTextChange:"onTextChange",onPaste:"onPaste",onValidationError:"onValidationError",onTagEdited:"onTagEdited",inputTextChange:"inputTextChange"},features:[i._Bn([vO]),i.qOj],ngContentSelectors:["*"],decls:8,vars:27,consts:[[1,"ng2-tag-input",3,"ngClass","click","drop","dragenter","dragover","dragend"],[1,"ng2-tags-container"],[3,"draggable","canAddTag","disabled","hasRipple","index","removable","editable","displayBy","identifyBy","template","model","onSelect","onRemove","onKeyDown","onTagEdited","onBlur","dragstart","drop","dragenter","dragover","dragleave",4,"ngFor","ngForOf","ngForTrackBy"],[3,"inputText","disabled","validators","asyncValidators","hidden","placeholder","inputClass","inputId","tabindex","onSubmit","onBlur","click","onKeydown","onKeyup"],["class","progress-bar",4,"ngIf"],["class","error-messages",3,"ngClass",4,"ngIf"],[3,"draggable","canAddTag","disabled","hasRipple","index","removable","editable","displayBy","identifyBy","template","model","onSelect","onRemove","onKeyDown","onTagEdited","onBlur","dragstart","drop","dragenter","dragover","dragleave"],[1,"progress-bar"],[1,"error-messages",3,"ngClass"],["class","error-message",4,"ngFor","ngForOf"],[1,"error-message"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("click",function(){return t.focus(!0,!1)})("drop",function(l){return t.dragZone?t.onTagDropped(l,void 0):void 0})("dragenter",function(l){return t.dragZone?t.onDragOver(l):void 0})("dragover",function(l){return t.dragZone?t.onDragOver(l):void 0})("dragend",function(){return t.dragZone?t.dragProvider.onDragEnd():void 0}),i.TgZ(1,"div",1),i.YNc(2,iO,1,14,"tag",2),i.TgZ(3,"tag-input-form",3),i.NdJ("onSubmit",function(){return t.onFormSubmit()})("onBlur",function(){return t.blur()})("click",function(){return t.dropdown?t.dropdown.show():void 0})("onKeydown",function(l){return t.fireEvents("keydown",l)})("onKeyup",function(l){return t.fireEvents("keyup",l)}),i.qZA()(),i.YNc(4,rO,1,0,"div",4),i.ALo(5,"async"),i.qZA(),i.YNc(6,sO,2,2,"div",5),i.Hsn(7)),2&e&&(i.ekj("ng2-tag-input--dropping",t.isDropping())("ng2-tag-input--disabled",t.disable)("ng2-tag-input--loading",t.isLoading)("ng2-tag-input--invalid",t.hasErrors())("ng2-tag-input--focused",t.isInputFocused()),i.Q6J("ngClass",t.theme),i.uIk("tabindex",-1),i.xp6(2),i.Q6J("ngForOf",t.items)("ngForTrackBy",t.trackBy),i.xp6(1),i.Q6J("inputText",t.inputText)("disabled",t.disable)("validators",t.validators)("asyncValidators",t.asyncValidators)("hidden",t.maxItemsReached)("placeholder",t.items.length?t.placeholder:t.secondaryPlaceholder)("inputClass",t.inputClass)("inputId",t.inputId)("tabindex",t.tabindex),i.xp6(1),i.Q6J("ngIf",i.lcZ(5,25,t.isProgressBarVisible$)),i.xp6(2),i.Q6J("ngIf",t.hasErrors()))},directives:[Zo.mk,Zo.sg,t2,Qd,Zo.O5],pipes:[Zo.Ov],styles:['.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}.progress-bar[_ngcontent-%COMP%], .progress-bar[_ngcontent-%COMP%]:before{height:2px;width:100%;margin:0}.progress-bar[_ngcontent-%COMP%]{background-color:#2196f3;display:flex;position:absolute;bottom:0}.progress-bar[_ngcontent-%COMP%]:before{background-color:#82c4f8;content:"";-webkit-animation:2s cubic-bezier(.4,0,.2,1) infinite running-progress;animation:2s cubic-bezier(.4,0,.2,1) infinite running-progress}@-webkit-keyframes running-progress{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}100%{margin-left:100%;margin-right:0}}@keyframes running-progress{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}100%{margin-left:100%;margin-right:0}}tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-family:Roboto,"Helvetica Neue",sans-serif;font-weight:400;font-size:1em;letter-spacing:.05rem;color:#444;border-radius:16px;transition:.3s;margin:.1rem .3rem .1rem 0;padding:.08rem .45rem;height:32px;line-height:34px;background:#efefef;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#2196f3;color:#fff;box-shadow:0 2px 3px 1px #d4d1d1}tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active{background:#0d8aee;color:#fff;box-shadow:0 2px 3px 1px #d4d1d1}tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#e2e2e2;color:initial;box-shadow:0 2px 3px 1px #d4d1d1}tag.readonly[_ngcontent-%COMP%]{cursor:default}tag.readonly[_ngcontent-%COMP%]:focus, tag[_ngcontent-%COMP%]:focus{outline:0}tag.tag--editing[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ccc;cursor:text}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;border-radius:0;background:#f9f9f9;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#d0d0d0;color:initial}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#ececec}.minimal[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.minimal[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.minimal[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;color:#f9f9f9;border-radius:3px;background:#444;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#efefef;color:#444}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#2b2b2b;color:#f9f9f9}.dark[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.dark[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.dark[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;color:#f9f9f9;border-radius:.25rem;background:#0275d8;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#025aa5}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#0267bf;color:#f9f9f9}.bootstrap[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.bootstrap[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.bootstrap[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-family:inherit;font-weight:400;font-size:95%;color:#fff;border-radius:.25em;background:#5bc0de;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative;padding:.25em .6em;text-align:center;white-space:nowrap}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#28a1c5}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#46b8da;color:#fff}.bootstrap3-info[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.bootstrap3-info[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}[_nghost-%COMP%]{display:block}'],data:{animation:mO}}),Ss.ctorParameters=()=>[{type:i.Qsj},{type:Y8}],er([(0,i.IIB)()],Ss.prototype,"separatorKeys",void 0),er([(0,i.IIB)()],Ss.prototype,"separatorKeyCodes",void 0),er([(0,i.IIB)()],Ss.prototype,"placeholder",void 0),er([(0,i.IIB)()],Ss.prototype,"secondaryPlaceholder",void 0),er([(0,i.IIB)()],Ss.prototype,"maxItems",void 0),er([(0,i.IIB)()],Ss.prototype,"validators",void 0),er([(0,i.IIB)()],Ss.prototype,"asyncValidators",void 0),er([(0,i.IIB)()],Ss.prototype,"onlyFromAutocomplete",void 0),er([(0,i.IIB)()],Ss.prototype,"errorMessages",void 0),er([(0,i.IIB)()],Ss.prototype,"theme",void 0),er([(0,i.IIB)()],Ss.prototype,"onTextChangeDebounce",void 0),er([(0,i.IIB)()],Ss.prototype,"inputId",void 0),er([(0,i.IIB)()],Ss.prototype,"inputClass",void 0),er([(0,i.IIB)()],Ss.prototype,"clearOnBlur",void 0),er([(0,i.IIB)()],Ss.prototype,"hideForm",void 0),er([(0,i.IIB)()],Ss.prototype,"addOnBlur",void 0),er([(0,i.IIB)()],Ss.prototype,"addOnPaste",void 0),er([(0,i.IIB)()],Ss.prototype,"pasteSplitPattern",void 0),er([(0,i.IIB)()],Ss.prototype,"blinkIfDupe",void 0),er([(0,i.IIB)()],Ss.prototype,"removable",void 0),er([(0,i.IIB)()],Ss.prototype,"editable",void 0),er([(0,i.IIB)()],Ss.prototype,"allowDupes",void 0),er([(0,i.IIB)()],Ss.prototype,"modelAsStrings",void 0),er([(0,i.IIB)()],Ss.prototype,"trimTags",void 0),er([(0,i.IIB)()],Ss.prototype,"inputText",null),er([(0,i.IIB)()],Ss.prototype,"ripple",void 0),er([(0,i.IIB)()],Ss.prototype,"tabindex",void 0),er([(0,i.IIB)()],Ss.prototype,"disable",void 0),er([(0,i.IIB)()],Ss.prototype,"dragZone",void 0),er([(0,i.IIB)()],Ss.prototype,"onRemoving",void 0),er([(0,i.IIB)()],Ss.prototype,"onAdding",void 0),er([(0,i.IIB)()],Ss.prototype,"animationDuration",void 0),er([(0,i.r_U)()],Ss.prototype,"onAdd",void 0),er([(0,i.r_U)()],Ss.prototype,"onRemove",void 0),er([(0,i.r_U)()],Ss.prototype,"onSelect",void 0),er([(0,i.r_U)()],Ss.prototype,"onFocus",void 0),er([(0,i.r_U)()],Ss.prototype,"onBlur",void 0),er([(0,i.r_U)()],Ss.prototype,"onTextChange",void 0),er([(0,i.r_U)()],Ss.prototype,"onPaste",void 0),er([(0,i.r_U)()],Ss.prototype,"onValidationError",void 0),er([(0,i.r_U)()],Ss.prototype,"onTagEdited",void 0),er([(0,i.aQ5)(S2)],Ss.prototype,"dropdown",void 0),er([(0,i.AcB)(i.Rgc,{descendants:!1})],Ss.prototype,"templates",void 0),er([(0,i.i9L)(Qd)],Ss.prototype,"inputForm",void 0),er([(0,i.vR)(t2)],Ss.prototype,"tags",void 0),er([(0,i.r_U)()],Ss.prototype,"inputTextChange",void 0),er([(0,i.pfw)("attr.tabindex")],Ss.prototype,"tabindexAttr",null);let lv=class{};lv.\u0275fac=function(e){return new(e||lv)},lv.\u0275cmp=i.Xpm({type:lv,selectors:[["delete-icon"]],decls:3,vars:0,consts:[["height","16px","viewBox","0 0 32 32","width","16px"],["d","M17.459,16.014l8.239-8.194c0.395-0.391,0.395-1.024,0-1.414c-0.394-0.391-1.034-0.391-1.428,0  l-8.232,8.187L7.73,6.284c-0.394-0.395-1.034-0.395-1.428,0c-0.394,0.396-0.394,1.037,0,1.432l8.302,8.303l-8.332,8.286  c-0.394,0.391-0.394,1.024,0,1.414c0.394,0.391,1.034,0.391,1.428,0l8.325-8.279l8.275,8.276c0.394,0.395,1.034,0.395,1.428,0  c0.394-0.396,0.394-1.037,0-1.432L17.459,16.014z","fill","#121313"]],template:function(e,t){1&e&&(i.TgZ(0,"span"),i.O4$(),i.TgZ(1,"svg",0),i._UZ(2,"path",1),i.qZA()())},styles:[".dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}delete-icon[_nghost-%COMP%]{width:20px;height:16px;transition:.15s;display:inline-block;text-align:right}delete-icon[_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#444}delete-icon[_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}delete-icon[_nghost-%COMP%]:hover{transform:scale(1.5) translateY(-3px)}.dark[_nghost-%COMP%], .dark   [_nghost-%COMP%]{text-align:right}.dark[_nghost-%COMP%]   path[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.dark[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}.minimal[_nghost-%COMP%], .minimal   [_nghost-%COMP%]{text-align:right}.minimal[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimal   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#444}.minimal[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .minimal   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}.bootstrap[_nghost-%COMP%], .bootstrap   [_nghost-%COMP%]{text-align:right}.bootstrap[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstrap   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.bootstrap[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .bootstrap   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}tag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.darktag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#000}.minimaltag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#000}.bootstraptag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.bootstrap3-info[_nghost-%COMP%], .bootstrap3-info   [_nghost-%COMP%]{height:inherit}.bootstrap3-info[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstrap3-info   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}"]});const _O=new sv;let cv=class{static withDefaults(e){_O.setOptions(e)}};cv.\u0275fac=function(e){return new(e||cv)},cv.\u0275mod=i.oAB({type:cv}),cv.\u0275inj=i.cJS({providers:[Y8,{provide:yc.ve,useValue:!1}],imports:[[Zo.ez,yc.UX,yc.u5,rv]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(cv,{declarations:function(){return[Ss,lv,Qd,t2,ov,S2,Vm]},imports:function(){return[Zo.ez,yc.UX,yc.u5,rv]},exports:function(){return[Ss,lv,Qd,t2,ov,S2,Vm]}});const ql=!1;function ID(d){return new i.vHH(3e3,ql)}function EE(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function W8(d){switch(d.length){case 0:return new Ur.ZN;case 1:return d[0];default:return new Ur.ZE(d)}}function AD(d,e,t,r,l={},u={}){const M=[],F=[];let _e=-1,Le=null;if(r.forEach(Ge=>{const _t=Ge.offset,Bt=_t==_e,on=Bt&&Le||{};Object.keys(Ge).forEach(Kt=>{let On=Kt,Kn=Ge[Kt];if("offset"!==Kt)switch(On=e.normalizePropertyName(On,M),Kn){case Ur.k1:Kn=l[Kt];break;case Ur.l3:Kn=u[Kt];break;default:Kn=e.normalizeStyleValue(Kt,On,Kn,M)}on[On]=Kn}),Bt||F.push(on),Le=on,_e=_t}),M.length)throw function FO(d){return new i.vHH(3502,ql)}();return F}function DE(d,e,t,r){switch(e){case"start":d.onStart(()=>r(t&&IE(t,"start",d)));break;case"done":d.onDone(()=>r(t&&IE(t,"done",d)));break;case"destroy":d.onDestroy(()=>r(t&&IE(t,"destroy",d)))}}function IE(d,e,t){const r=t.totalTime,l=!!t.disabled,u=AE(d.element,d.triggerName,d.fromState,d.toState,e||d.phaseName,null==r?d.totalTime:r,l),M=d._data;return null!=M&&(u._data=M),u}function AE(d,e,t,r,l="",u=0,M){return{element:d,triggerName:e,fromState:t,toState:r,phaseName:l,totalTime:u,disabled:!!M}}function w6(d,e,t){let r;return d instanceof Map?(r=d.get(e),r||d.set(e,r=t)):(r=d[e],r||(r=d[e]=t)),r}function OD(d){const e=d.indexOf(":");return[d.substring(1,e),d.substr(e+1)]}let OE=(d,e)=>!1,PD=(d,e,t)=>[],zD=null;function PE(d){const e=d.parentNode||d.host;return e===zD?null:e}(EE()||"undefined"!=typeof Element)&&(function JO(){return"undefined"!=typeof window&&void 0!==window.document}()?(zD=(()=>document.documentElement)(),OE=(d,e)=>{for(;e;){if(e===d)return!0;e=PE(e)}return!1}):OE=(d,e)=>d.contains(e),PD=(d,e,t)=>{if(t)return Array.from(d.querySelectorAll(e));const r=d.querySelector(e);return r?[r]:[]});let dv=null,RD=!1;function ND(d){dv||(dv=function eP(){return"undefined"!=typeof document?document.body:null}()||{},RD=!!dv.style&&"WebkitAppearance"in dv.style);let e=!0;return dv.style&&!function QO(d){return"ebkit"==d.substring(1,6)}(d)&&(e=d in dv.style,!e&&RD&&(e="Webkit"+d.charAt(0).toUpperCase()+d.substr(1)in dv.style)),e}const HD=OE,BD=PD;class uv{validateStyleProperty(e){return ND(e)}matchesElement(e,t){return!1}containsElement(e,t){return HD(e,t)}getParentElement(e){return PE(e)}query(e,t,r){return BD(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,l,u,M=[],F){return new Ur.ZN(r,l)}}uv.\u0275fac=function(e){return new(e||uv)},uv.\u0275prov=i.Yz7({token:uv,factory:uv.\u0275fac});class EC{}EC.NOOP=new uv;const zE="ng-enter",DC="ng-leave",IC="ng-trigger",AC=".ng-trigger",FD="ng-animating",RE=".ng-animating";function hv(d){if("number"==typeof d)return d;const e=d.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:NE(parseFloat(e[1]),e[2])}function NE(d,e){return"s"===e?1e3*d:d}function OC(d,e,t){return d.hasOwnProperty("duration")?d:function iP(d,e,t){const r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let l,u=0,M="";if("string"==typeof d){const F=d.match(r);if(null===F)return e.push(ID()),{duration:0,delay:0,easing:""};l=NE(parseFloat(F[1]),F[2]);const _e=F[3];null!=_e&&(u=NE(parseFloat(_e),F[4]));const Le=F[5];Le&&(M=Le)}else l=d;if(!t){let F=!1,_e=e.length;l<0&&(e.push(function bO(){return new i.vHH(3100,ql)}()),F=!0),u<0&&(e.push(function yO(){return new i.vHH(3101,ql)}()),F=!0),F&&e.splice(_e,0,ID())}return{duration:l,delay:u,easing:M}}(d,e,t)}function r_(d,e={}){return Object.keys(d).forEach(t=>{e[t]=d[t]}),e}function G8(d,e,t={}){if(e)for(let r in d)t[r]=d[r];else r_(d,t);return t}function UD(d,e,t){return t?e+":"+t+";":""}function YD(d){let e="";for(let t=0;t<d.style.length;t++){const r=d.style.item(t);e+=UD(0,r,d.style.getPropertyValue(r))}for(const t in d.style){if(!d.style.hasOwnProperty(t)||t.startsWith("_"))continue;e+=UD(0,sP(t),d.style[t])}d.setAttribute("style",e)}function Um(d,e,t){d.style&&(Object.keys(e).forEach(r=>{const l=BE(r);t&&!t.hasOwnProperty(r)&&(t[r]=d.style[l]),d.style[l]=e[r]}),EE()&&YD(d))}function fv(d,e){d.style&&(Object.keys(e).forEach(t=>{const r=BE(t);d.style[r]=""}),EE()&&YD(d))}function g9(d){return Array.isArray(d)?1==d.length?d[0]:(0,Ur.vP)(d):d}function rP(d,e,t){const r=e.params||{},l=WD(d);l.length&&l.forEach(u=>{r.hasOwnProperty(u)||t.push(function xO(d){return new i.vHH(3001,ql)}())})}const HE=new RegExp("{{\\s*(.+?)\\s*}}","g");function WD(d){let e=[];if("string"==typeof d){let t;for(;t=HE.exec(d);)e.push(t[1]);HE.lastIndex=0}return e}function PC(d,e,t){const r=d.toString(),l=r.replace(HE,(u,M)=>{let F=e[M];return e.hasOwnProperty(M)||(t.push(function CO(d){return new i.vHH(3003,ql)}()),F=""),F.toString()});return l==r?d:l}function zC(d){const e=[];let t=d.next();for(;!t.done;)e.push(t.value),t=d.next();return e}const oP=/-+([a-z0-9])/g;function BE(d){return d.replace(oP,(...e)=>e[1].toUpperCase())}function sP(d){return d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function M6(d,e,t){switch(e.type){case 7:return d.visitTrigger(e,t);case 0:return d.visitState(e,t);case 1:return d.visitTransition(e,t);case 2:return d.visitSequence(e,t);case 3:return d.visitGroup(e,t);case 4:return d.visitAnimate(e,t);case 5:return d.visitKeyframes(e,t);case 6:return d.visitStyle(e,t);case 8:return d.visitReference(e,t);case 9:return d.visitAnimateChild(e,t);case 10:return d.visitAnimateRef(e,t);case 11:return d.visitQuery(e,t);case 12:return d.visitStagger(e,t);default:throw function wO(d){return new i.vHH(3004,ql)}(e.type)}}function GD(d,e){return window.getComputedStyle(d)[e]}function hP(d,e){const t=[];return"string"==typeof d?d.split(/\s*,\s*/).forEach(r=>function fP(d,e,t){if(":"==d[0]){const _e=function pP(d,e){switch(d){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return e.push(function NO(d){return new i.vHH(3016,ql)}()),"* => *"}}(d,t);if("function"==typeof _e)return void e.push(_e);d=_e}const r=d.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function RO(d){return new i.vHH(3015,ql)}()),e;const l=r[1],u=r[2],M=r[3];e.push(qD(l,M));const F="*"==l&&"*"==M;"<"==u[0]&&!F&&e.push(qD(M,l))}(r,t,e)):t.push(d),t}const BC=new Set(["true","1"]),jC=new Set(["false","0"]);function qD(d,e){const t=BC.has(d)||jC.has(d),r=BC.has(e)||jC.has(e);return(l,u)=>{let M="*"==d||d==l,F="*"==e||e==u;return!M&&t&&"boolean"==typeof l&&(M=l?BC.has(d):jC.has(d)),!F&&r&&"boolean"==typeof u&&(F=u?BC.has(e):jC.has(e)),M&&F}}const $D=":self",gP=new RegExp("s*:selfs*,?","g");function jE(d,e,t,r){return new mP(d).build(e,t,r)}class mP{constructor(e){this._driver=e}build(e,t,r){const l=new bP(t);this._resetContextStyleTimingState(l);const u=M6(this,g9(e),l);return l.unsupportedCSSPropertiesFound.size&&l.unsupportedCSSPropertiesFound.keys(),u}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,l=t.depCount=0;const u=[],M=[];return"@"==e.name.charAt(0)&&t.errors.push(function TO(){return new i.vHH(3006,ql)}()),e.definitions.forEach(F=>{if(this._resetContextStyleTimingState(t),0==F.type){const _e=F,Le=_e.name;Le.toString().split(/\s*,\s*/).forEach(Ge=>{_e.name=Ge,u.push(this.visitState(_e,t))}),_e.name=Le}else if(1==F.type){const _e=this.visitTransition(F,t);r+=_e.queryCount,l+=_e.depCount,M.push(_e)}else t.errors.push(function SO(){return new i.vHH(3007,ql)}())}),{type:7,name:e.name,states:u,transitions:M,queryCount:r,depCount:l,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),l=e.options&&e.options.params||null;if(r.containsDynamicStyles){const u=new Set,M=l||{};if(r.styles.forEach(F=>{if(FC(F)){const _e=F;Object.keys(_e).forEach(Le=>{WD(_e[Le]).forEach(Ge=>{M.hasOwnProperty(Ge)||u.add(Ge)})})}}),u.size){zC(u.values());t.errors.push(function kO(d,e){return new i.vHH(3008,ql)}(e.name))}}return{type:0,name:e.name,style:r,options:l?{params:l}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=M6(this,g9(e.animation),t);return{type:1,matchers:hP(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:pv(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>M6(this,r,t)),options:pv(e.options)}}visitGroup(e,t){const r=t.currentTime;let l=0;const u=e.steps.map(M=>{t.currentTime=r;const F=M6(this,M,t);return l=Math.max(l,t.currentTime),F});return t.currentTime=l,{type:3,steps:u,options:pv(e.options)}}visitAnimate(e,t){const r=function xP(d,e){if(d.hasOwnProperty("duration"))return d;if("number"==typeof d){return FE(OC(d,e).duration,0,"")}const t=d;if(t.split(/\s+/).some(u=>"{"==u.charAt(0)&&"{"==u.charAt(1))){const u=FE(0,0,"");return u.dynamic=!0,u.strValue=t,u}const l=OC(t,e);return FE(l.duration,l.delay,l.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let l,u=e.styles?e.styles:(0,Ur.oB)({});if(5==u.type)l=this.visitKeyframes(u,t);else{let M=e.styles,F=!1;if(!M){F=!0;const Le={};r.easing&&(Le.easing=r.easing),M=(0,Ur.oB)(Le)}t.currentTime+=r.duration+r.delay;const _e=this.visitStyle(M,t);_e.isEmptyStep=F,l=_e}return t.currentAnimateTimings=null,{type:4,timings:r,style:l,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[];Array.isArray(e.styles)?e.styles.forEach(M=>{"string"==typeof M?M==Ur.l3?r.push(M):t.errors.push(function LO(d){return new i.vHH(3002,ql)}()):r.push(M)}):r.push(e.styles);let l=!1,u=null;return r.forEach(M=>{if(FC(M)){const F=M,_e=F.easing;if(_e&&(u=_e,delete F.easing),!l)for(let Le in F)if(F[Le].toString().indexOf("{{")>=0){l=!0;break}}}),{type:6,styles:r,easing:u,offset:e.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let l=t.currentTime,u=t.currentTime;r&&u>0&&(u-=r.duration+r.delay),e.styles.forEach(M=>{"string"!=typeof M&&Object.keys(M).forEach(F=>{if(!this._driver.validateStyleProperty(F))return delete M[F],void t.unsupportedCSSPropertiesFound.add(F);const _e=t.collectedStyles[t.currentQuerySelector],Le=_e[F];let Ge=!0;Le&&(u!=l&&u>=Le.startTime&&l<=Le.endTime&&(t.errors.push(function EO(d,e,t,r,l){return new i.vHH(3010,ql)}(0,Le.startTime,Le.endTime)),Ge=!1),u=Le.startTime),Ge&&(_e[F]={startTime:u,endTime:l}),t.options&&rP(M[F],t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function DO(){return new i.vHH(3011,ql)}()),r;let u=0;const M=[];let F=!1,_e=!1,Le=0;const Ge=e.steps.map(nr=>{const Ci=this._makeStyleAst(nr,t);let Ar=null!=Ci.offset?Ci.offset:function yP(d){if("string"==typeof d)return null;let e=null;if(Array.isArray(d))d.forEach(t=>{if(FC(t)&&t.hasOwnProperty("offset")){const r=t;e=parseFloat(r.offset),delete r.offset}});else if(FC(d)&&d.hasOwnProperty("offset")){const t=d;e=parseFloat(t.offset),delete t.offset}return e}(Ci.styles),oo=0;return null!=Ar&&(u++,oo=Ci.offset=Ar),_e=_e||oo<0||oo>1,F=F||oo<Le,Le=oo,M.push(oo),Ci});_e&&t.errors.push(function IO(){return new i.vHH(3012,ql)}()),F&&t.errors.push(function AO(){return new i.vHH(3200,ql)}());const _t=e.steps.length;let Bt=0;u>0&&u<_t?t.errors.push(function OO(){return new i.vHH(3202,ql)}()):0==u&&(Bt=1/(_t-1));const on=_t-1,Kt=t.currentTime,On=t.currentAnimateTimings,Kn=On.duration;return Ge.forEach((nr,Ci)=>{const Ar=Bt>0?Ci==on?1:Bt*Ci:M[Ci],oo=Ar*Kn;t.currentTime=Kt+On.delay+oo,On.duration=oo,this._validateStyleAst(nr,t),nr.offset=Ar,r.styles.push(nr)}),r}visitReference(e,t){return{type:8,animation:M6(this,g9(e.animation),t),options:pv(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:pv(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:pv(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,l=e.options||{};t.queryCount++,t.currentQuery=e;const[u,M]=function vP(d){const e=!!d.split(/\s*,\s*/).find(t=>t==$D);return e&&(d=d.replace(gP,"")),d=d.replace(/@\*/g,AC).replace(/@\w+/g,t=>AC+"-"+t.substr(1)).replace(/:animating/g,RE),[d,e]}(e.selector);t.currentQuerySelector=r.length?r+" "+u:u,w6(t.collectedStyles,t.currentQuerySelector,{});const F=M6(this,g9(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:u,limit:l.limit||0,optional:!!l.optional,includeSelf:M,animation:F,originalSelector:e.selector,options:pv(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function PO(){return new i.vHH(3013,ql)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:OC(e.timings,t.errors,!0);return{type:12,animation:M6(this,g9(e.animation),t),timings:r,options:null}}}class bP{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function FC(d){return!Array.isArray(d)&&"object"==typeof d}function pv(d){return d?(d=r_(d)).params&&(d.params=function _P(d){return d?r_(d):null}(d.params)):d={},d}function FE(d,e,t){return{duration:d,delay:e,easing:t}}function VE(d,e,t,r,l,u,M=null,F=!1){return{type:1,element:d,keyframes:e,preStyleProps:t,postStyleProps:r,duration:l,delay:u,totalTime:l+u,easing:M,subTimeline:F}}class VC{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const MP=new RegExp(":enter","g"),SP=new RegExp(":leave","g");function UE(d,e,t,r,l,u={},M={},F,_e,Le=[]){return(new kP).buildKeyframes(d,e,t,r,l,u,M,F,_e,Le)}class kP{buildKeyframes(e,t,r,l,u,M,F,_e,Le,Ge=[]){Le=Le||new VC;const _t=new YE(e,t,Le,l,u,Ge,[]);_t.options=_e,_t.currentTimeline.setStyles([M],null,_t.errors,_e),M6(this,r,_t);const Bt=_t.timelines.filter(on=>on.containsAnimation());if(Object.keys(F).length){let on;for(let Kt=Bt.length-1;Kt>=0;Kt--){const On=Bt[Kt];if(On.element===t){on=On;break}}on&&!on.allowOnlyTimelineStyles()&&on.setStyles([F],null,_t.errors,_e)}return Bt.length?Bt.map(on=>on.buildKeyframes()):[VE(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.get(t.element);if(r){const l=t.createSubContext(e.options),u=t.currentTimeline.currentTime,M=this._visitSubInstructions(r,l,l.options);u!=M&&t.transformIntoNewTimeline(M)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,r){let u=t.currentTimeline.currentTime;const M=null!=r.duration?hv(r.duration):null,F=null!=r.delay?hv(r.delay):null;return 0!==M&&e.forEach(_e=>{const Le=t.appendInstructionToTimeline(_e,M,F);u=Math.max(u,Le.duration+Le.delay)}),u}visitReference(e,t){t.updateOptions(e.options,!0),M6(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let l=t;const u=e.options;if(u&&(u.params||u.delay)&&(l=t.createSubContext(u),l.transformIntoNewTimeline(),null!=u.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=UC);const M=hv(u.delay);l.delayNextStep(M)}e.steps.length&&(e.steps.forEach(M=>M6(this,M,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>r&&l.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let l=t.currentTimeline.currentTime;const u=e.options&&e.options.delay?hv(e.options.delay):0;e.steps.forEach(M=>{const F=t.createSubContext(e.options);u&&F.delayNextStep(u),M6(this,M,F),l=Math.max(l,F.currentTimeline.currentTime),r.push(F.currentTimeline)}),r.forEach(M=>t.currentTimeline.mergeTimelineCollectedStyles(M)),t.transformIntoNewTimeline(l),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return OC(t.params?PC(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),l=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),l.snapshotCurrentStyles());const u=e.style;5==u.type?this.visitKeyframes(u,t):(t.incrementTime(r.duration),this.visitStyle(u,t),l.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,l=t.currentAnimateTimings;!l&&r.getCurrentStyleProperties().length&&r.forwardFrame();const u=l&&l.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(u):r.setStyles(e.styles,u,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,l=t.currentTimeline.duration,u=r.duration,F=t.createSubContext().currentTimeline;F.easing=r.easing,e.styles.forEach(_e=>{const Le=_e.offset||0;F.forwardTime(Le*u),F.setStyles(_e.styles,_e.easing,t.errors,t.options),F.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(F),t.transformIntoNewTimeline(l+u),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,l=e.options||{},u=l.delay?hv(l.delay):0;u&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=UC);let M=r;const F=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!l.optional,t.errors);t.currentQueryTotal=F.length;let _e=null;F.forEach((Le,Ge)=>{t.currentQueryIndex=Ge;const _t=t.createSubContext(e.options,Le);u&&_t.delayNextStep(u),Le===t.element&&(_e=_t.currentTimeline),M6(this,e.animation,_t),_t.currentTimeline.applyStylesToKeyframe();const Bt=_t.currentTimeline.currentTime;M=Math.max(M,Bt)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(M),_e&&(t.currentTimeline.mergeTimelineCollectedStyles(_e),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,l=t.currentTimeline,u=e.timings,M=Math.abs(u.duration),F=M*(t.currentQueryTotal-1);let _e=M*t.currentQueryIndex;switch(u.duration<0?"reverse":u.easing){case"reverse":_e=F-_e;break;case"full":_e=r.currentStaggerTime}const Ge=t.currentTimeline;_e&&Ge.delayNextStep(_e);const _t=Ge.currentTime;M6(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=l.currentTime-_t+(l.startTime-r.currentTimeline.startTime)}}const UC={};class YE{constructor(e,t,r,l,u,M,F,_e){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=l,this._leaveClassName=u,this.errors=M,this.timelines=F,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=UC,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_e||new YC(this._driver,t,0),F.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let l=this.options;null!=r.duration&&(l.duration=hv(r.duration)),null!=r.delay&&(l.delay=hv(r.delay));const u=r.params;if(u){let M=l.params;M||(M=this.options.params={}),Object.keys(u).forEach(F=>{(!t||!M.hasOwnProperty(F))&&(M[F]=PC(u[F],M,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(l=>{r[l]=t[l]})}}return e}createSubContext(e=null,t,r){const l=t||this.element,u=new YE(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,r||0));return u.previousNode=this.previousNode,u.currentAnimateTimings=this.currentAnimateTimings,u.options=this._copyOptions(),u.updateOptions(e),u.currentQueryIndex=this.currentQueryIndex,u.currentQueryTotal=this.currentQueryTotal,u.parentContext=this,this.subContextCount++,u}transformIntoNewTimeline(e){return this.previousNode=UC,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const l={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},u=new LP(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,l,e.stretchStartingKeyframe);return this.timelines.push(u),l}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,l,u,M){let F=[];if(l&&F.push(this.element),e.length>0){e=(e=e.replace(MP,"."+this._enterClassName)).replace(SP,"."+this._leaveClassName);const _e=1!=r;let Le=this._driver.query(this.element,e,_e);0!==r&&(Le=r<0?Le.slice(Le.length+r,Le.length):Le.slice(0,r)),F.push(...Le)}return!u&&0==F.length&&M.push(function zO(d){return new i.vHH(3014,ql)}()),F}}class YC{constructor(e,t,r,l){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=l,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new YC(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||Ur.l3,this._currentKeyframe[t]=Ur.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,l){t&&(this._previousKeyframe.easing=t);const u=l&&l.params||{},M=function EP(d,e){const t={};let r;return d.forEach(l=>{"*"===l?(r=r||Object.keys(e),r.forEach(u=>{t[u]=Ur.l3})):G8(l,!1,t)}),t}(e,this._globalTimelineStyles);Object.keys(M).forEach(F=>{const _e=PC(M[F],u,r);this._pendingStyles[F]=_e,this._localTimelineStyles.hasOwnProperty(F)||(this._backFill[F]=this._globalTimelineStyles.hasOwnProperty(F)?this._globalTimelineStyles[F]:Ur.l3),this._updateStyle(F,_e)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(r=>{const l=e[r];this._currentKeyframe[r]=l}),Object.keys(this._localTimelineStyles).forEach(r=>{this._currentKeyframe.hasOwnProperty(r)||(this._currentKeyframe[r]=this._localTimelineStyles[r])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const r=this._styleSummary[t],l=e._styleSummary[t];(!r||l.time>r.time)&&this._updateStyle(t,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let l=[];this._keyframes.forEach((F,_e)=>{const Le=G8(F,!0);Object.keys(Le).forEach(Ge=>{const _t=Le[Ge];_t==Ur.k1?e.add(Ge):_t==Ur.l3&&t.add(Ge)}),r||(Le.offset=_e/this.duration),l.push(Le)});const u=e.size?zC(e.values()):[],M=t.size?zC(t.values()):[];if(r){const F=l[0],_e=r_(F);F.offset=0,_e.offset=1,l=[F,_e]}return VE(this.element,l,u,M,this.duration,this.startTime,this.easing,!1)}}class LP extends YC{constructor(e,t,r,l,u,M,F=!1){super(e,t,M.delay),this.keyframes=r,this.preStyleProps=l,this.postStyleProps=u,this._stretchStartingKeyframe=F,this.timings={duration:M.duration,delay:M.delay,easing:M.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:l}=this.timings;if(this._stretchStartingKeyframe&&t){const u=[],M=r+t,F=t/M,_e=G8(e[0],!1);_e.offset=0,u.push(_e);const Le=G8(e[0],!1);Le.offset=ZD(F),u.push(Le);const Ge=e.length-1;for(let _t=1;_t<=Ge;_t++){let Bt=G8(e[_t],!1);const Kt=t+Bt.offset*r;Bt.offset=ZD(Kt/M),u.push(Bt)}r=M,t=0,l="",e=u}return VE(this.element,e,this.preStyleProps,this.postStyleProps,r,t,l,!0)}}function ZD(d,e=3){const t=Math.pow(10,e-1);return Math.round(d*t)/t}class WE{}class DP extends WE{normalizePropertyName(e,t){return BE(e)}normalizeStyleValue(e,t,r,l){let u="";const M=r.toString().trim();if(IP[t]&&0!==r&&"0"!==r)if("number"==typeof r)u="px";else{const F=r.match(/^[+-]?[\d\.]+([a-z]*)$/);F&&0==F[1].length&&l.push(function MO(d,e){return new i.vHH(3005,ql)}())}return M+u}}const IP=function AP(d){const e={};return d.forEach(t=>e[t]=!0),e}("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".split(","));function XD(d,e,t,r,l,u,M,F,_e,Le,Ge,_t,Bt){return{type:0,element:d,triggerName:e,isRemovalTransition:l,fromState:t,fromStyles:u,toState:r,toStyles:M,timelines:F,queriedElements:_e,preStyleProps:Le,postStyleProps:Ge,totalTime:_t,errors:Bt}}const GE={};class JD{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,l){return function OP(d,e,t,r,l){return d.some(u=>u(e,t,r,l))}(this.ast.matchers,e,t,r,l)}buildStyles(e,t,r){const l=this._stateStyles["*"],u=this._stateStyles[e],M=l?l.buildStyles(t,r):{};return u?u.buildStyles(t,r):M}build(e,t,r,l,u,M,F,_e,Le,Ge){const _t=[],Bt=this.ast.options&&this.ast.options.params||GE,on=F&&F.params||GE,Kt=this.buildStyles(r,on,_t),On=_e&&_e.params||GE,Kn=this.buildStyles(l,On,_t),nr=new Set,Ci=new Map,Ar=new Map,oo="void"===l,el={params:Object.assign(Object.assign({},Bt),On)},Hl=Ge?[]:UE(e,t,this.ast.animation,u,M,Kt,Kn,el,Le,_t);let Ic=0;if(Hl.forEach(cc=>{Ic=Math.max(cc.duration+cc.delay,Ic)}),_t.length)return XD(t,this._triggerName,r,l,oo,Kt,Kn,[],[],Ci,Ar,Ic,_t);Hl.forEach(cc=>{const $2=cc.element,Ys=w6(Ci,$2,{});cc.preStyleProps.forEach(tl=>Ys[tl]=!0);const Td=w6(Ar,$2,{});cc.postStyleProps.forEach(tl=>Td[tl]=!0),$2!==t&&nr.add($2)});const eu=zC(nr.values());return XD(t,this._triggerName,r,l,oo,Kt,Kn,Hl,eu,Ci,Ar,Ic)}}class PP{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){const r={},l=r_(this.defaultParams);return Object.keys(e).forEach(u=>{const M=e[u];null!=M&&(l[u]=M)}),this.styles.styles.forEach(u=>{if("string"!=typeof u){const M=u;Object.keys(M).forEach(F=>{let _e=M[F];_e.length>1&&(_e=PC(_e,l,t));const Le=this.normalizer.normalizePropertyName(F,t);_e=this.normalizer.normalizeStyleValue(F,Le,_e,t),r[Le]=_e})}}),r}}class RP{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states={},t.states.forEach(l=>{const u=l.options&&l.options.params||{};this.states[l.name]=new PP(l.style,u,r)}),QD(this.states,"true","1"),QD(this.states,"false","0"),t.transitions.forEach(l=>{this.transitionFactories.push(new JD(e,l,this.states))}),this.fallbackTransition=function NP(d,e,t){return new JD(d,{type:1,animation:{type:2,steps:[],options:null},matchers:[(M,F)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,l){return this.transitionFactories.find(M=>M.match(e,t,r,l))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function QD(d,e,t){d.hasOwnProperty(e)?d.hasOwnProperty(t)||(d[t]=d[e]):d.hasOwnProperty(t)&&(d[e]=d[t])}const HP=new VC;class BP{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,t){const r=[],l=[],u=jE(this._driver,t,r,l);if(r.length)throw function VO(d){return new i.vHH(3503,ql)}();l.length,this._animations[e]=u}_buildPlayer(e,t,r){const l=e.element,u=AD(this._driver,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(l,u,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const l=[],u=this._animations[e];let M;const F=new Map;if(u?(M=UE(this._driver,t,u,zE,DC,{},{},r,HP,l),M.forEach(Ge=>{const _t=w6(F,Ge.element,{});Ge.postStyleProps.forEach(Bt=>_t[Bt]=null)})):(l.push(function UO(){return new i.vHH(3300,ql)}()),M=[]),l.length)throw function YO(d){return new i.vHH(3504,ql)}();F.forEach((Ge,_t)=>{Object.keys(Ge).forEach(Bt=>{Ge[Bt]=this._driver.computeStyle(_t,Bt,Ur.l3)})});const Le=W8(M.map(Ge=>{const _t=F.get(Ge.element);return this._buildPlayer(Ge,{},_t)}));return this._playersById[e]=Le,Le.onDestroy(()=>this.destroy(e)),this.players.push(Le),Le}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw function WO(d){return new i.vHH(3301,ql)}();return t}listen(e,t,r,l){const u=AE(t,"","","");return DE(this._getPlayer(e),r,u,l),()=>{}}command(e,t,r,l){if("register"==r)return void this.register(e,l[0]);if("create"==r){const M=l[0]||{};return void this.create(e,t,M)}const u=this._getPlayer(e);switch(r){case"play":u.play();break;case"pause":u.pause();break;case"reset":u.reset();break;case"restart":u.restart();break;case"finish":u.finish();break;case"init":u.init();break;case"setPosition":u.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(e)}}}const eI="ng-animate-queued",qE="ng-animate-disabled",YP=[],tI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},WP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},hg="__ng_removed";class $E{constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value"),l=r?e.value:e;if(this.value=function KP(d){return null!=d?d:null}(l),r){const u=r_(e);delete u.value,this.options=u}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const r=this.options.params;Object.keys(t).forEach(l=>{null==r[l]&&(r[l]=t[l])})}}}const m9="void",KE=new $E(m9);class GP{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,fg(t,this._hostClassName)}listen(e,t,r,l){if(!this._triggers.hasOwnProperty(t))throw function GO(d,e){return new i.vHH(3302,ql)}();if(null==r||0==r.length)throw function qO(d){return new i.vHH(3303,ql)}();if(!function ZP(d){return"start"==d||"done"==d}(r))throw function $O(d,e){return new i.vHH(3400,ql)}();const u=w6(this._elementListeners,e,[]),M={name:t,phase:r,callback:l};u.push(M);const F=w6(this._engine.statesByElement,e,{});return F.hasOwnProperty(t)||(fg(e,IC),fg(e,IC+"-"+t),F[t]=KE),()=>{this._engine.afterFlush(()=>{const _e=u.indexOf(M);_e>=0&&u.splice(_e,1),this._triggers[t]||delete F[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw function KO(d){return new i.vHH(3401,ql)}();return t}trigger(e,t,r,l=!0){const u=this._getTrigger(t),M=new ZE(this.id,t,e);let F=this._engine.statesByElement.get(e);F||(fg(e,IC),fg(e,IC+"-"+t),this._engine.statesByElement.set(e,F={}));let _e=F[t];const Le=new $E(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&_e&&Le.absorbOptions(_e.options),F[t]=Le,_e||(_e=KE),Le.value!==m9&&_e.value===Le.value){if(!function QP(d,e){const t=Object.keys(d),r=Object.keys(e);if(t.length!=r.length)return!1;for(let l=0;l<t.length;l++){const u=t[l];if(!e.hasOwnProperty(u)||d[u]!==e[u])return!1}return!0}(_e.params,Le.params)){const On=[],Kn=u.matchStyles(_e.value,_e.params,On),nr=u.matchStyles(Le.value,Le.params,On);On.length?this._engine.reportError(On):this._engine.afterFlush(()=>{fv(e,Kn),Um(e,nr)})}return}const Bt=w6(this._engine.playersByElement,e,[]);Bt.forEach(On=>{On.namespaceId==this.id&&On.triggerName==t&&On.queued&&On.destroy()});let on=u.matchTransition(_e.value,Le.value,e,Le.params),Kt=!1;if(!on){if(!l)return;on=u.fallbackTransition,Kt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:on,fromState:_e,toState:Le,player:M,isFallbackTransition:Kt}),Kt||(fg(e,eI),M.onStart(()=>{o_(e,eI)})),M.onDone(()=>{let On=this.players.indexOf(M);On>=0&&this.players.splice(On,1);const Kn=this._engine.playersByElement.get(e);if(Kn){let nr=Kn.indexOf(M);nr>=0&&Kn.splice(nr,1)}}),this.players.push(M),Bt.push(M),M}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,r)=>{delete t[e]}),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(l=>l.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,AC,!0);r.forEach(l=>{if(l[hg])return;const u=this._engine.fetchNamespacesByElement(l);u.size?u.forEach(M=>M.triggerLeaveAnimation(l,t,!1,!0)):this.clearElementCache(l)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(l=>this.clearElementCache(l)))}triggerLeaveAnimation(e,t,r,l){const u=this._engine.statesByElement.get(e),M=new Map;if(u){const F=[];if(Object.keys(u).forEach(_e=>{if(M.set(_e,u[_e].value),this._triggers[_e]){const Le=this.trigger(e,_e,m9,l);Le&&F.push(Le)}}),F.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,M),r&&W8(F).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){const l=new Set;t.forEach(u=>{const M=u.name;if(l.has(M))return;l.add(M);const _e=this._triggers[M].fallbackTransition,Le=r[M]||KE,Ge=new $E(m9),_t=new ZE(this.id,M,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:M,transition:_e,fromState:Le,toState:Ge,player:_t,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let l=!1;if(r.totalAnimations){const u=r.players.length?r.playersByQueriedElement.get(e):[];if(u&&u.length)l=!0;else{let M=e;for(;M=M.parentNode;)if(r.statesByElement.get(M)){l=!0;break}}}if(this.prepareLeaveAnimationListeners(e),l)r.markElementAsRemoved(this.id,e,!1,t);else{const u=e[hg];(!u||u===tI)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){fg(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const l=r.player;if(l.destroyed)return;const u=r.element,M=this._elementListeners.get(u);M&&M.forEach(F=>{if(F.name==r.triggerName){const _e=AE(u,r.triggerName,r.fromState.value,r.toState.value);_e._data=e,DE(r.player,F.phase,_e,F.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):t.push(r)}),this._queue=[],t.sort((r,l)=>{const u=r.transition.ast.depCount,M=l.transition.ast.depCount;return 0==u||0==M?u-M:this._engine.driver.containsElement(r.element,l.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(r=>r.element===e)||t,t}}class qP{constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(l,u)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){const r=new GP(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList,l=this.namespacesByHostElement,u=r.length-1;if(u>=0){let M=!1;if(void 0!==this.driver.getParentElement){let F=this.driver.getParentElement(t);for(;F;){const _e=l.get(F);if(_e){const Le=r.indexOf(_e);r.splice(Le+1,0,e),M=!0;break}F=this.driver.getParentElement(F)}}else for(let F=u;F>=0;F--){const _e=r[F];if(this.driver.containsElement(_e.hostElement,t)){r.splice(F+1,0,e),M=!0;break}}M||r.unshift(e)}else r.push(e);return l.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let l=this._namespaceLookup[e];l&&l.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const l=this._namespaceList.indexOf(r);l>=0&&this._namespaceList.splice(l,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r){const l=Object.keys(r);for(let u=0;u<l.length;u++){const M=r[l[u]].namespaceId;if(M){const F=this._fetchNamespace(M);F&&t.add(F)}}}return t}trigger(e,t,r,l){if(WC(t)){const u=this._fetchNamespace(e);if(u)return u.trigger(t,r,l),!0}return!1}insertNode(e,t,r,l){if(!WC(t))return;const u=t[hg];if(u&&u.setForRemoval){u.setForRemoval=!1,u.setForMove=!0;const M=this.collectedLeaveElements.indexOf(t);M>=0&&this.collectedLeaveElements.splice(M,1)}if(e){const M=this._fetchNamespace(e);M&&M.insertNode(t,r)}l&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),fg(e,qE)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),o_(e,qE))}removeNode(e,t,r,l){if(WC(t)){const u=e?this._fetchNamespace(e):null;if(u?u.removeNode(t,l):this.markElementAsRemoved(e,t,!1,l),r){const M=this.namespacesByHostElement.get(t);M&&M.id!==e&&M.removeNode(t,l)}}else this._onRemovalComplete(t,l)}markElementAsRemoved(e,t,r,l,u){this.collectedLeaveElements.push(t),t[hg]={namespaceId:e,setForRemoval:l,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:u}}listen(e,t,r,l,u){return WC(t)?this._fetchNamespace(e).listen(t,r,l,u):()=>{}}_buildInstruction(e,t,r,l,u){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,l,e.fromState.options,e.toState.options,t,u)}destroyInnerAnimations(e){let t=this.driver.query(e,AC,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,RE,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return W8(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;const r=e[hg];if(r&&r.setForRemoval){if(e[hg]=tI,r.namespaceId){this.destroyInnerAnimations(e);const l=this._fetchNamespace(r.namespaceId);l&&l.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(null===(t=e.classList)||void 0===t?void 0:t.contains(qE))&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(l=>{this.markElementAsDisabled(l,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,l)=>this._balanceNamespaceList(r,l)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){fg(this.collectedEnterElements[r],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,e)}finally{for(let l=0;l<r.length;l++)r[l]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){const l=this.collectedLeaveElements[r];this.processLeaveNode(l)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?W8(t).onDone(()=>{r.forEach(l=>l())}):r.forEach(l=>l())}}reportError(e){throw function ZO(d){return new i.vHH(3402,ql)}()}_flushAnimations(e,t){const r=new VC,l=[],u=new Map,M=[],F=new Map,_e=new Map,Le=new Map,Ge=new Set;this.disabledNodes.forEach(Zr=>{Ge.add(Zr);const Eo=this.driver.query(Zr,".ng-animate-queued",!0);for(let ls=0;ls<Eo.length;ls++)Ge.add(Eo[ls])});const _t=this.bodyNode,Bt=Array.from(this.statesByElement.keys()),on=rI(Bt,this.collectedEnterElements),Kt=new Map;let On=0;on.forEach((Zr,Eo)=>{const ls=zE+On++;Kt.set(Eo,ls),Zr.forEach(ka=>fg(ka,ls))});const Kn=[],nr=new Set,Ci=new Set;for(let Zr=0;Zr<this.collectedLeaveElements.length;Zr++){const Eo=this.collectedLeaveElements[Zr],ls=Eo[hg];ls&&ls.setForRemoval&&(Kn.push(Eo),nr.add(Eo),ls.hasAnimation?this.driver.query(Eo,".ng-star-inserted",!0).forEach(ka=>nr.add(ka)):Ci.add(Eo))}const Ar=new Map,oo=rI(Bt,Array.from(nr));oo.forEach((Zr,Eo)=>{const ls=DC+On++;Ar.set(Eo,ls),Zr.forEach(ka=>fg(ka,ls))}),e.push(()=>{on.forEach((Zr,Eo)=>{const ls=Kt.get(Eo);Zr.forEach(ka=>o_(ka,ls))}),oo.forEach((Zr,Eo)=>{const ls=Ar.get(Eo);Zr.forEach(ka=>o_(ka,ls))}),Kn.forEach(Zr=>{this.processLeaveNode(Zr)})});const el=[],Hl=[];for(let Zr=this._namespaceList.length-1;Zr>=0;Zr--)this._namespaceList[Zr].drainQueuedTransitions(t).forEach(ls=>{const ka=ls.player,Sd=ls.element;if(el.push(ka),this.collectedEnterElements.length){const Fp=Sd[hg];if(Fp&&Fp.setForMove){if(Fp.previousTriggersValues&&Fp.previousTriggersValues.has(ls.triggerName)){const Mv=Fp.previousTriggersValues.get(ls.triggerName),K8=this.statesByElement.get(ls.element);K8&&K8[ls.triggerName]&&(K8[ls.triggerName].value=Mv)}return void ka.destroy()}}const Ym=!_t||!this.driver.containsElement(_t,Sd),S6=Ar.get(Sd),$8=Kt.get(Sd),Eu=this._buildInstruction(ls,r,$8,S6,Ym);if(Eu.errors&&Eu.errors.length)return void Hl.push(Eu);if(Ym)return ka.onStart(()=>fv(Sd,Eu.fromStyles)),ka.onDestroy(()=>Um(Sd,Eu.toStyles)),void l.push(ka);if(ls.isFallbackTransition)return ka.onStart(()=>fv(Sd,Eu.fromStyles)),ka.onDestroy(()=>Um(Sd,Eu.toStyles)),void l.push(ka);const _I=[];Eu.timelines.forEach(Fp=>{Fp.stretchStartingKeyframe=!0,this.disabledNodes.has(Fp.element)||_I.push(Fp)}),Eu.timelines=_I,r.append(Sd,Eu.timelines);const xV={instruction:Eu,player:ka,element:Sd};M.push(xV),Eu.queriedElements.forEach(Fp=>w6(F,Fp,[]).push(ka)),Eu.preStyleProps.forEach((Fp,Mv)=>{const K8=Object.keys(Fp);if(K8.length){let Tv=_e.get(Mv);Tv||_e.set(Mv,Tv=new Set),K8.forEach(eD=>Tv.add(eD))}}),Eu.postStyleProps.forEach((Fp,Mv)=>{const K8=Object.keys(Fp);let Tv=Le.get(Mv);Tv||Le.set(Mv,Tv=new Set),K8.forEach(eD=>Tv.add(eD))})});if(Hl.length){const Zr=[];Hl.forEach(Eo=>{Zr.push(function XO(d,e){return new i.vHH(3505,ql)}(Eo.triggerName,Eo.errors))}),el.forEach(Eo=>Eo.destroy()),this.reportError(Zr)}const Ic=new Map,eu=new Map;M.forEach(Zr=>{const Eo=Zr.element;r.has(Eo)&&(eu.set(Eo,Eo),this._beforeAnimationBuild(Zr.player.namespaceId,Zr.instruction,Ic))}),l.forEach(Zr=>{const Eo=Zr.element;this._getPreviousPlayers(Eo,!1,Zr.namespaceId,Zr.triggerName,null).forEach(ka=>{w6(Ic,Eo,[]).push(ka),ka.destroy()})});const cc=Kn.filter(Zr=>sI(Zr,_e,Le)),$2=new Map;iI($2,this.driver,Ci,Le,Ur.l3).forEach(Zr=>{sI(Zr,_e,Le)&&cc.push(Zr)});const Td=new Map;on.forEach((Zr,Eo)=>{iI(Td,this.driver,new Set(Zr),_e,Ur.k1)}),cc.forEach(Zr=>{const Eo=$2.get(Zr),ls=Td.get(Zr);$2.set(Zr,Object.assign(Object.assign({},Eo),ls))});const tl=[],U4=[],T6={};M.forEach(Zr=>{const{element:Eo,player:ls,instruction:ka}=Zr;if(r.has(Eo)){if(Ge.has(Eo))return ls.onDestroy(()=>Um(Eo,ka.toStyles)),ls.disabled=!0,ls.overrideTotalTime(ka.totalTime),void l.push(ls);let Sd=T6;if(eu.size>1){let S6=Eo;const $8=[];for(;S6=S6.parentNode;){const Eu=eu.get(S6);if(Eu){Sd=Eu;break}$8.push(S6)}$8.forEach(Eu=>eu.set(Eu,Sd))}const Ym=this._buildAnimation(ls.namespaceId,ka,Ic,u,Td,$2);if(ls.setRealPlayer(Ym),Sd===T6)tl.push(ls);else{const S6=this.playersByElement.get(Sd);S6&&S6.length&&(ls.parentPlayer=W8(S6)),l.push(ls)}}else fv(Eo,ka.fromStyles),ls.onDestroy(()=>Um(Eo,ka.toStyles)),U4.push(ls),Ge.has(Eo)&&l.push(ls)}),U4.forEach(Zr=>{const Eo=u.get(Zr.element);if(Eo&&Eo.length){const ls=W8(Eo);Zr.setRealPlayer(ls)}}),l.forEach(Zr=>{Zr.parentPlayer?Zr.syncPlayerEvents(Zr.parentPlayer):Zr.destroy()});for(let Zr=0;Zr<Kn.length;Zr++){const Eo=Kn[Zr],ls=Eo[hg];if(o_(Eo,DC),ls&&ls.hasAnimation)continue;let ka=[];if(F.size){let Ym=F.get(Eo);Ym&&Ym.length&&ka.push(...Ym);let S6=this.driver.query(Eo,RE,!0);for(let $8=0;$8<S6.length;$8++){let Eu=F.get(S6[$8]);Eu&&Eu.length&&ka.push(...Eu)}}const Sd=ka.filter(Ym=>!Ym.destroyed);Sd.length?XP(this,Eo,Sd):this.processLeaveNode(Eo)}return Kn.length=0,tl.forEach(Zr=>{this.players.push(Zr),Zr.onDone(()=>{Zr.destroy();const Eo=this.players.indexOf(Zr);this.players.splice(Eo,1)}),Zr.play()}),tl}elementContainsData(e,t){let r=!1;const l=t[hg];return l&&l.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,l,u){let M=[];if(t){const F=this.playersByQueriedElement.get(e);F&&(M=F)}else{const F=this.playersByElement.get(e);if(F){const _e=!u||u==m9;F.forEach(Le=>{Le.queued||!_e&&Le.triggerName!=l||M.push(Le)})}}return(r||l)&&(M=M.filter(F=>!(r&&r!=F.namespaceId||l&&l!=F.triggerName))),M}_beforeAnimationBuild(e,t,r){const l=t.triggerName,u=t.element,M=t.isRemovalTransition?void 0:e,F=t.isRemovalTransition?void 0:l;for(const _e of t.timelines){const Le=_e.element,Ge=Le!==u,_t=w6(r,Le,[]);this._getPreviousPlayers(Le,Ge,M,F,t.toState).forEach(on=>{const Kt=on.getRealPlayer();Kt.beforeDestroy&&Kt.beforeDestroy(),on.destroy(),_t.push(on)})}fv(u,t.fromStyles)}_buildAnimation(e,t,r,l,u,M){const F=t.triggerName,_e=t.element,Le=[],Ge=new Set,_t=new Set,Bt=t.timelines.map(Kt=>{const On=Kt.element;Ge.add(On);const Kn=On[hg];if(Kn&&Kn.removedBeforeQueried)return new Ur.ZN(Kt.duration,Kt.delay);const nr=On!==_e,Ci=function JP(d){const e=[];return oI(d,e),e}((r.get(On)||YP).map(Ic=>Ic.getRealPlayer())).filter(Ic=>{const eu=Ic;return!!eu.element&&eu.element===On}),Ar=u.get(On),oo=M.get(On),el=AD(this.driver,this._normalizer,0,Kt.keyframes,Ar,oo),Hl=this._buildPlayer(Kt,el,Ci);if(Kt.subTimeline&&l&&_t.add(On),nr){const Ic=new ZE(e,F,On);Ic.setRealPlayer(Hl),Le.push(Ic)}return Hl});Le.forEach(Kt=>{w6(this.playersByQueriedElement,Kt.element,[]).push(Kt),Kt.onDone(()=>function $P(d,e,t){let r;if(d instanceof Map){if(r=d.get(e),r){if(r.length){const l=r.indexOf(t);r.splice(l,1)}0==r.length&&d.delete(e)}}else if(r=d[e],r){if(r.length){const l=r.indexOf(t);r.splice(l,1)}0==r.length&&delete d[e]}return r}(this.playersByQueriedElement,Kt.element,Kt))}),Ge.forEach(Kt=>fg(Kt,FD));const on=W8(Bt);return on.onDestroy(()=>{Ge.forEach(Kt=>o_(Kt,FD)),Um(_e,t.toStyles)}),_t.forEach(Kt=>{w6(l,Kt,[]).push(on)}),on}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new Ur.ZN(e.duration,e.delay)}}class ZE{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new Ur.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(r=>DE(e,t,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){w6(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function WC(d){return d&&1===d.nodeType}function nI(d,e){const t=d.style.display;return d.style.display=null!=e?e:"none",t}function iI(d,e,t,r,l){const u=[];t.forEach(_e=>u.push(nI(_e)));const M=[];r.forEach((_e,Le)=>{const Ge={};_e.forEach(_t=>{const Bt=Ge[_t]=e.computeStyle(Le,_t,l);(!Bt||0==Bt.length)&&(Le[hg]=WP,M.push(Le))}),d.set(Le,Ge)});let F=0;return t.forEach(_e=>nI(_e,u[F++])),M}function rI(d,e){const t=new Map;if(d.forEach(F=>t.set(F,[])),0==e.length)return t;const l=new Set(e),u=new Map;function M(F){if(!F)return 1;let _e=u.get(F);if(_e)return _e;const Le=F.parentNode;return _e=t.has(Le)?Le:l.has(Le)?1:M(Le),u.set(F,_e),_e}return e.forEach(F=>{const _e=M(F);1!==_e&&t.get(_e).push(F)}),t}function fg(d,e){var t;null===(t=d.classList)||void 0===t||t.add(e)}function o_(d,e){var t;null===(t=d.classList)||void 0===t||t.remove(e)}function XP(d,e,t){W8(t).onDone(()=>d.processLeaveNode(e))}function oI(d,e){for(let t=0;t<d.length;t++){const r=d[t];r instanceof Ur.ZE?oI(r.players,e):e.push(r)}}function sI(d,e,t){const r=t.get(d);if(!r)return!1;let l=e.get(d);return l?r.forEach(u=>l.add(u)):e.set(d,r),t.delete(d),!0}class GC{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(l,u)=>{},this._transitionEngine=new qP(e,t,r),this._timelineEngine=new BP(e,t,r),this._transitionEngine.onRemovalComplete=(l,u)=>this.onRemovalComplete(l,u)}registerTrigger(e,t,r,l,u){const M=e+"-"+l;let F=this._triggerCache[M];if(!F){const _e=[],Le=[],Ge=jE(this._driver,u,_e,Le);if(_e.length)throw function jO(d,e){return new i.vHH(3404,ql)}();Le.length,F=function zP(d,e,t){return new RP(d,e,t)}(l,Ge,this._normalizer),this._triggerCache[M]=F}this._transitionEngine.registerTrigger(t,l,F)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,l){this._transitionEngine.insertNode(e,t,r,l)}onRemove(e,t,r,l){this._transitionEngine.removeNode(e,t,l||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,l){if("@"==r.charAt(0)){const[u,M]=OD(r),F=l;this._timelineEngine.command(u,t,M,F)}else this._transitionEngine.trigger(e,t,r,l)}listen(e,t,r,l,u){if("@"==r.charAt(0)){const[M,F]=OD(r);return this._timelineEngine.listen(M,t,F,u)}return this._transitionEngine.listen(e,t,r,l,u)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}class s_{constructor(e,t,r){this._element=e,this._startStyles=t,this._endStyles=r,this._state=0;let l=s_.initialStylesByElement.get(e);l||s_.initialStylesByElement.set(e,l={}),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&Um(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Um(this._element,this._initialStyles),this._endStyles&&(Um(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(s_.initialStylesByElement.delete(this._element),this._startStyles&&(fv(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fv(this._element,this._endStyles),this._endStyles=null),Um(this._element,this._initialStyles),this._state=3)}}function XE(d){let e=null;const t=Object.keys(d);for(let r=0;r<t.length;r++){const l=t[r];tz(l)&&(e=e||{},e[l]=d[l])}return e}function tz(d){return"display"===d||"position"===d}s_.initialStylesByElement=new WeakMap;class aI{constructor(e,t,r,l){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,r){return e.animate(t,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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}_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(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};if(this.hasStarted()){const t=this._finalKeyframe;Object.keys(t).forEach(r=>{"offset"!=r&&(e[r]=this._finished?t[r]:GD(this.element,r))})}this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class nz{validateStyleProperty(e){return ND(e)}matchesElement(e,t){return!1}containsElement(e,t){return HD(e,t)}getParentElement(e){return PE(e)}query(e,t,r){return BD(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,l,u,M=[]){const _e={duration:r,delay:l,fill:0==l?"both":"forwards"};u&&(_e.easing=u);const Le={},Ge=M.filter(Bt=>Bt instanceof aI);(function aP(d,e){return 0===d||0===e})(r,l)&&Ge.forEach(Bt=>{let on=Bt.currentSnapshot;Object.keys(on).forEach(Kt=>Le[Kt]=on[Kt])}),t=function lP(d,e,t){const r=Object.keys(t);if(r.length&&e.length){let u=e[0],M=[];if(r.forEach(F=>{u.hasOwnProperty(F)||M.push(F),u[F]=t[F]}),M.length)for(var l=1;l<e.length;l++){let F=e[l];M.forEach(function(_e){F[_e]=GD(d,_e)})}}return e}(e,t=t.map(Bt=>G8(Bt,!1)),Le);const _t=function ez(d,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=XE(e[0]),e.length>1&&(r=XE(e[e.length-1]))):e&&(t=XE(e)),t||r?new s_(d,t,r):null}(e,t);return new aI(e,t,_e,_t)}}class a_ extends Ur._j{constructor(e,t){super(),this._nextAnimationId=0;const r={id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(t.body,r)}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?(0,Ur.vP)(e):e;return lI(this._renderer,null,t,"register",[r]),new iz(t,this._renderer)}}a_.\u0275fac=function(e){return new(e||a_)(i.LFG(i.FYo),i.LFG(Zo.K0))},a_.\u0275prov=i.Yz7({token:a_,factory:a_.\u0275fac});class iz extends Ur.LC{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new rz(this._id,e,t||{},this._renderer)}}class rz{constructor(e,t,r,l){this.id=e,this.element=t,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return lI(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function lI(d,e,t,r,l){return d.setProperty(e,`@@${t}:${r}`,l)}const cI="@.disabled";class l_{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(l,u)=>{const M=null==u?void 0:u.parentNode(l);M&&u.removeChild(M,l)}}createRenderer(e,t){const l=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let Le=this._rendererCache.get(l);return Le||(Le=new dI("",l,this.engine),this._rendererCache.set(l,Le)),Le}const u=t.id,M=t.id+"-"+this._currentId;this._currentId++,this.engine.register(M,e);const F=Le=>{Array.isArray(Le)?Le.forEach(F):this.engine.registerTrigger(u,M,e,Le.name,Le)};return t.data.animation.forEach(F),new oz(this,M,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){e>=0&&e<this._microtaskId?this._zone.run(()=>t(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[u,M]=l;u(M)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}l_.\u0275fac=function(e){return new(e||l_)(i.LFG(i.FYo),i.LFG(GC),i.LFG(i.R0b))},l_.\u0275prov=i.Yz7({token:l_,factory:l_.\u0275fac});class dI{constructor(e,t,r){this.namespaceId=e,this.delegate=t,this.engine=r,this.destroyNode=this.delegate.destroyNode?l=>t.destroyNode(l):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,l=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,l)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,l){this.delegate.setAttribute(e,t,r,l)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,l){this.delegate.setStyle(e,t,r,l)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){"@"==t.charAt(0)&&t==cI?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class oz extends dI{constructor(e,t,r,l){super(t,r,l),this.factory=e,this.namespaceId=t}setProperty(e,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==cI?(r=void 0===r||!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.substr(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if("@"==t.charAt(0)){const l=function sz(d){switch(d){case"body":return document.body;case"document":return document;case"window":return window;default:return d}}(e);let u=t.substr(1),M="";return"@"!=u.charAt(0)&&([u,M]=function az(d){const e=d.indexOf("."),t=d.substring(0,e),r=d.substr(e+1);return[t,r]}(u)),this.engine.listen(this.namespaceId,l,u,M,F=>{const _e=F._data||-1;this.factory.scheduleListenerCallback(_e,r,F)})}return this.delegate.listen(e,t,r)}}class c_ extends GC{constructor(e,t,r){super(e.body,t,r)}ngOnDestroy(){this.flush()}}c_.\u0275fac=function(e){return new(e||c_)(i.LFG(Zo.K0),i.LFG(EC),i.LFG(WE))},c_.\u0275prov=i.Yz7({token:c_,factory:c_.\u0275fac});const uI=new i.OlP("AnimationModuleType"),hI=[{provide:Ur._j,useClass:a_},{provide:WE,useFactory:function lz(){return new DP}},{provide:GC,useClass:c_},{provide:i.FYo,useFactory:function cz(d,e,t){return new l_(d,e,t)},deps:[i1.se,GC,i.R0b]}],fI=[{provide:EC,useFactory:()=>new nz},{provide:uI,useValue:"BrowserAnimations"},...hI],pI=[{provide:EC,useClass:uv},{provide:uI,useValue:"NoopAnimations"},...hI];class q8{static withConfig(e){return{ngModule:q8,providers:e.disableAnimations?pI:fI}}}q8.\u0275fac=function(e){return new(e||q8)},q8.\u0275mod=i.oAB({type:q8,exports:[i1.b2]}),q8.\u0275inj=i.cJS({providers:fI,imports:[i1.b2]});class v9{}v9.\u0275fac=function(e){return new(e||v9)},v9.\u0275mod=i.oAB({type:v9,exports:[i1.b2]}),v9.\u0275inj=i.cJS({providers:pI,imports:[i1.b2]});var dz=B(86628),uz=B(81591);let _9=class{constructor(){}};_9.ctorParameters=()=>[],_9.propDecorators={id:[{type:i.IIB}],error:[{type:i.IIB}],activity:[{type:i.IIB}]},_9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-error",template:dz,styles:[uz]})],_9);var fz=B(54942),pz=B(9202);let $C=class{constructor(e){this.userSubject=e,this.faQuestion=st.Psp,this.faCheck=st.LEp,this.userSubject.observable.subscribe(t=>{t&&(this.userData=t,this.userData.settings.hasOwnProperty("ors")||(this.userData.settings.ors={first_report:void 0}))})}close(){this.userData.settings.ors.first_report=!0,this.userSubject.update(this.userData)}};$C.ctorParameters=()=>[{type:Ec.K}],$C=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-first",template:fz,styles:[pz]})],$C);var mz=B(10649),vz=B(97363);let b9=class{constructor(e){this.workflowService=e,this.faClock=Qs.SZw,this.dataReady=!1,this.columns=[{key:"id",title:"ID",sort:!0},{key:"when",title:"Tid",sort:!0},{key:"tags",title:"Tittel",sort:!0},{key:"workflow.state",title:"Status",sort:!0},{key:"type",title:"Type",sort:!0}],this.pagination={limit:10,offset:0,count:null},this.sort=[{when:1}]}ngOnInit(){this.tableConf=x6.c,this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.workflowService.setActivity(this.activity),this.getData()}timedelta(e){return(0,Nr.VG)(e)}eventEmitted(e){this.parseEvent(e)}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination)),"onOrder"===e.event&&(0,qi.isObject)(e)&&(0,qi.has)(e,"value.key")&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t)}this.getData()}getData(){let e={query:{page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.workflowService.getWorkflowTodo(e).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>this.dataReady=!0)}};b9.ctorParameters=()=>[{type:Zf}],b9.propDecorators={activity:[{type:i.IIB}]},b9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-todo-table",template:mz,styles:[vz]})],b9);var bz=B(80950),yz=B(83075);let y9=class{constructor(e,t){this.orsService=e,this.userSubject=t,this.faClock=Qs.SZw,this.dataReady=!1,this.columns=[{key:"id",title:"ID",sort:!0},{key:"when",title:"Tid",sort:!0},{key:"tags",title:"Tittel",sort:!0},{key:"workflow.state",title:"Status",sort:!0},{key:"type",title:"Type",sort:!0}],this.pagination={limit:10,offset:0,count:null},this.sort=[{when:-1}],this.userSubject.observable.subscribe(r=>{r&&(this.userData=r)})}ngOnInit(){this.tableConf=Object.assign({},x6.c),this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.orsService.setActivity(this.activity),this.getData()}eventEmitted(e){this.parseEvent(e)}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.getData()),"onOrder"===e.event){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.getData()}}timedelta(e){return(0,Nr.VG)(e)}getData(){if(this.userData){let e={query:{page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.orsService.getObservationsSelf(e).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>{this.tableConf.isLoading=!1,this.dataReady=!0})}}};y9.ctorParameters=()=>[{type:zn.Z},{type:Ec.K}],y9.propDecorators={activity:[{type:i.IIB}]},y9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-self-table",template:bz,styles:[yz]})],y9);var Cz=B(24829),wz=B(40861);let x9=class{constructor(e,t,r){this.orsService=e,this.orgService=t,this.configService=r,this.faTimes=st.NBC,this.dataReady=!1,this.filter={club:null,discipline:null,type:null,state:null,id:null,tags:null},this.columns=[{key:"id",title:"Id",sort:!0},{key:"when",title:"N\xe5r",sort:!0},{key:"tags",title:"Tittel",sort:!0},{key:"club",title:"Klubb",sort:!1},{key:"rating._rating",title:"Rating",sort:!0},{key:"workflow.state",title:"Status",sort:!0},{key:"type",title:"Type",sort:!0}],this.debouncedFilterId=(0,Sl.D)(this.filterId,700),this.debouncedFilterTitle=(0,Sl.D)(this.filterTitle,800),this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}]}ngOnInit(){this.tableConf=Object.assign({},x6.c),this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.orsService.setActivity(this.activity),this.configService.observableConfig.subscribe(e=>{this.config=e,this.getClubs(),this.getData()})}eventEmitted(e){this.parseEvent(e)}getClubs(){const e={query:{where:{"main_activity.id":this.config.mapping[this.activity],type_id:14,is_active:!0},projection:{id:1,_id:1,name:1},max_results:250,sort:[{name:1}]}};this.orgService.getOrganizations(e).subscribe(t=>{this.clubs=t._items},t=>console.error(t))}clubChooser(e){e.target.value&&""!=e.target.value?this.filter.discipline=+e.target.value:this.filter.discipline=null,this.getData()}stateChooser(e){e.target.value&&""!=e.target.value?this.filter.state=e.target.value:this.filter.state=null,this.getData()}typeChooser(e){console.log("EVENT type",e),e.target.value&&""!=e.target.value?this.filter.type=e.target.value:this.filter.type=null,console.log("Filter Type",this.filter.type),this.getData()}filterId(e){console.log("ID FILTER",e),this.filter.id=e&&""!=e?+e:null,this.getData()}filterTitle(e){console.log("TITLE FILTER",e),this.filter.tags=e&&""!=e?e:null,this.getData()}getWhere(){let e={};return Object.keys(this.filter).forEach(t=>{this.filter[t]&&null!==this.filter[t]&&("state"===t?e["workflow.state"]=this.filter[t]:"tags"===t?e.$text={$search:this.filter[t]}:e[t]=this.filter[t])}),e}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.getData()),"onOrder"===e.event&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.getData()}}getData(){this.tableConf.isLoading=!0;let e={query:{where:this.getWhere(),page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>{this.tableConf.isLoading=!1,this.dataReady=!0})}exportToCSV(){new zm.ExportToCsv({fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,showTitle:!1,useTextFile:!1,useBom:!0,useKeysAsHeaders:!0}).generateCsv(this.data)}};x9.ctorParameters=()=>[{type:zn.Z},{type:Dh.u},{type:Qa.F}],x9.propDecorators={activity:[{type:i.IIB}]},x9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-all-table",template:Cz,styles:[wz]})],x9);var Tz=B(94412),Sz=B(74376);let C9=class{constructor(e,t){this.orsService=e,this.apiCache=t,this.dataReady=!1,this.total=0,this.error=!1,this.faPaperclip=st.Alc}ngOnInit(){this.data=[],this.total=0,this.orsService.setActivity(this.activity),void 0===this.number&&(this.number=3);const e={query:{max_results:this.number,sort:[{when:-1}],where:{"workflow.state":"closed"}}};this.apiCache.get(["ors-last",e.query,this.activity],this.orsService.getObservations(e),6e4).subscribe(t=>{this.data=t._items,this.total=t._meta.total||0,this.error=!1},t=>{console.log(t),this.error=!0},()=>this.dataReady=!0)}};C9.ctorParameters=()=>[{type:zn.Z},{type:X3.G}],C9.propDecorators={number:[{type:i.IIB}],activity:[{type:i.IIB}]},C9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-last",template:Tz,styles:[Sz]})],C9);var Lz=B(59072),Ez=B(49479);let d_=class{constructor(e,t,r,l,u,M,F,_e,Le){this.configService=e,this.orsService=t,this.orgService=r,this.userService=l,this.alertService=u,this.userDataSubject=M,this.router=F,this.subject=_e,this.confirmService=Le,this.faPlus=st.r8p,this.faExclamationTriangle=st.eHv,this.defaultBtn=!1,this.activity="fallskjerm",this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.ENV=W2.N,this.selected=void 0,this.dataReady=!1,this.loading=!1,this.error=!1,this.orsService.setActivity(this.activity),(0,Ha.D)([this.userDataSubject.observable.subscribe(Ge=>{this.userData=Ge,Ge&&Ge.hasOwnProperty("settings")&&109===Ge.settings.default_activity&&(this.selected=Ge.settings.default_discipline)}),this.configService.observableConfig.subscribe(Ge=>{this.config=Ge}),this.getClubs()])}ngOnInit(){}canCreate(){try{return this.config.fallskjerm.observation.create[this.ENV._name]}catch(e){return!1}}getClubs(){this.orgService.getOrganizations({query:{where:{"main_activity.id":109,type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}}).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(){const e={title:"Vennligst bekreft",message:"Vil du opprette en observasjon for <strong>"+this.clubs.find(t=>t.id===+this.selected).name+"</strong> ("+this.activity+")?",yes:"Ja",yes_color:"success",no:"Nei"};this.confirmService.confirm(e).then(()=>{this._createObservation()},()=>{})}_createObservation(){!this.selected||this.selected<1?this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10):(this.loading=!0,this.alertService.clear(),console.log("Selected org",this.selected),this.clubs.forEach(e=>{e.id===this.selected&&(this.orsService.setActivity(this.activity),this.orsService.create({discipline:this.selected,club:e.parent_id}).subscribe(t=>{this.subject.reset(),console.log("OBSREG Created",t),t._id&&t.id&&(this.userDataSubject.update(this.userData),this.router.navigateByUrl("/ors/fallskjerm/edit/"+t.id))},t=>{this.alertService.error("Kunne ikke opprette OBSREG: "+t.message),this.loading=!1,this.error=!0},()=>{console.log("Created observation"),this.loading=!1}))}))}};d_.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:jp._},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:ws.j},{type:_c.zM}],d_.propDecorators={layout:[{type:i.IIB}],defaultBtn:[{type:i.IIB}],activity:[{type:i.IIB}]},d_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-create",template:Lz,styles:[Ez]})],d_);var Iz=B(6866),Az=B(28805);let w9=class{constructor(e,t,r,l,u,M,F,_e,Le){this.configService=e,this.orsService=t,this.orgService=r,this.userService=l,this.alertService=u,this.userDataSubject=M,this.router=F,this.subject=_e,this.confirmService=Le,this.faPlus=st.r8p,this.faExclamationTriangle=st.eHv,this.defaultBtn=!1,this.activity="motorfly",this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.ENV=W2.N,this.selected=void 0,this.dataReady=!1,this.loading=!1,this.error=!1,this.orsService.setActivity(this.activity),(0,Ha.D)([this.userDataSubject.observable.subscribe(Ge=>{this.userData=Ge,Ge&&Ge.hasOwnProperty("settings")&&238===Ge.settings.default_activity&&(this.selected=Ge.settings.default_discipline)}),this.configService.observableConfig.subscribe(Ge=>{this.config=Ge}),this.getClubs()])}ngOnInit(){}canCreate(){try{return this.config.motorfly.observation.create[this.ENV._name]}catch(e){return console.log(e),!1}}getClubs(){this.orgService.getOrganizations({query:{where:{"main_activity.id":238,type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}}).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(){const e={title:"Vennligst bekreft",message:"Vil du opprette en observasjon for <strong>"+this.clubs.find(t=>t.id===+this.selected).name+"</strong> ("+this.activity+")?",yes:"Ja",yes_color:"success",no:"Nei"};this.confirmService.confirm(e).then(()=>{this._createObservation()},()=>{})}_createObservation(){if(!this.selected||this.selected<1)this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10);else{this.loading=!0,this.alertService.clear(),console.log("Selected org",this.selected);let e=(new as.oU).occurrence;try{e.entities.reportingHistory.push((new as.LR).reportingHistory),e.entities.reportingHistory[0].attributes.reportingEntity={value:101311},this.clubs.forEach(t=>{t.id==this.selected&&(this.orsService.setActivity(this.activity),this.orsService.create({discipline:this.selected,club:t.parent_id,occurrence:e}).subscribe(r=>{this.subject.reset(),console.log("OBSREG Created",r),r._id&&r.id&&((0,qi.has)(this.userData,["settings","ors",this.activity,r.id])||((0,qi.has)(this.userData,["settings","ors",this.activity])||(0,qi.set)(this.userData,["settings","ors",this.activity],{}),(0,qi.has)(this.userData,["settings","ors","first_report"])||(0,qi.set)(this.userData,["settings","ors","first_report"],!0),this.userData.settings.ors[this.activity][r.id]={simple_view:!0}),this.userDataSubject.update(this.userData),console.log("[ROUTER] Routed away from create"),this.router.navigateByUrl("/ors/motorfly/edit/"+r.id))},r=>{this.alertService.error("Kunne ikke opprette OBSREG: "+r.message),this.loading=!1,this.error=!0},()=>{console.log("Created observation"),this.loading=!1}))})}catch(t){console.error(t),this.alertService.error("Kunne ikke opprette OBSREG: "+t.message),this.loading=!1,this.error=!0}}}};w9.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:jp._},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:ws.j},{type:_c.zM}],w9.propDecorators={layout:[{type:i.IIB}],defaultBtn:[{type:i.IIB}],activity:[{type:i.IIB}]},w9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motor-create",template:Iz,styles:[Az]})],w9);var Pz=B(34659),zz=B(8359);let M9=class{constructor(e,t,r,l,u,M,F,_e,Le){this.configService=e,this.orsService=t,this.orgService=r,this.userService=l,this.alertService=u,this.userDataSubject=M,this.router=F,this.subject=_e,this.confirmService=Le,this.faPlus=st.r8p,this.faExclamationTriangle=st.eHv,this.defaultBtn=!1,this.activity="seilfly",this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.ENV=W2.N,this.selected=void 0,this.dataReady=!1,this.loading=!1,this.error=!1,this.orsService.setActivity("seilfly"),(0,Ha.D)([this.userDataSubject.observable.subscribe(Ge=>{this.userData=Ge,Ge&&Ge.hasOwnProperty("settings")&&111===Ge.settings.default_activity&&(this.selected=Ge.settings.default_discipline)}),this.configService.observableConfig.subscribe(Ge=>{this.config=Ge}),this.getClubs()])}ngOnInit(){}canCreate(){try{return this.config.seilfly.observation.create[this.ENV._name]}catch(e){return console.log(e),!1}}getClubs(){this.orgService.getOrganizations({query:{where:{"main_activity.id":111,type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}}).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(){const e={title:"Vennligst bekreft",message:"Vil du opprette en observasjon for <strong>"+this.clubs.find(t=>t.id===+this.selected).name+"</strong> ("+this.activity+")?",yes:"Ja",yes_color:"success",no:"Nei"};this.confirmService.confirm(e).then(()=>{this._createObservation()},()=>{})}_createObservation(){if(!this.selected||this.selected<1)this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10);else{this.loading=!0,this.alertService.clear(),console.log("Selected org",this.selected);let e=(new as.oU).occurrence;try{e.entities.reportingHistory.push((new as.LR).reportingHistory),e.entities.reportingHistory[0].attributes.reportingEntity={value:101311},this.clubs.forEach(t=>{t.id==this.selected&&(this.orsService.setActivity(this.activity),this.orsService.create({discipline:this.selected,club:t.parent_id,occurrence:e}).subscribe(r=>{this.subject.reset(),console.log("OBSREG Created",r),r._id&&r.id&&((0,qi.has)(this.userData,["settings","ors",this.activity,r.id])||((0,qi.has)(this.userData,["settings","ors",this.activity])||(0,qi.set)(this.userData,["settings","ors",this.activity],{}),(0,qi.has)(this.userData,["settings","ors","first_report"])||(0,qi.set)(this.userData,["settings","ors","first_report"],!0),this.userData.settings.ors[this.activity][r.id]={simple_view:!0}),this.userDataSubject.update(this.userData),this.router.navigateByUrl("/ors/seilfly/edit/"+r.id))},r=>{this.alertService.error("Kunne ikke opprette OBSREG: "+r.message),this.loading=!1,this.error=!1},()=>{console.log("Created observation"),this.loading=!1}))})}catch(t){console.error(t),this.alertService.error("Kunne ikke opprette OBSREG: "+t.message),this.loading=!1,this.error=!1}}}};M9.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:jp._},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:ws.j},{type:_c.zM}],M9.propDecorators={layout:[{type:i.IIB}],defaultBtn:[{type:i.IIB}],activity:[{type:i.IIB}]},M9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly-create",template:Pz,styles:[zz]})],M9);var Nz=B(11678),Hz=B(80592);let T9=class{constructor(e,t,r,l,u,M,F,_e,Le){this.configService=e,this.orsService=t,this.orgService=r,this.userService=l,this.alertService=u,this.userDataSubject=M,this.router=F,this.subject=_e,this.confirmService=Le,this.faPlus=st.r8p,this.faExclamationTriangle=st.eHv,this.defaultBtn=!1,this.activity="sportsfly",this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.ENV=W2.N,this.selected=void 0,this.dataReady=!1,this.loading=!1,this.error=!1,this.orsService.setActivity(this.activity),(0,Ha.D)([this.userDataSubject.observable.subscribe(Ge=>{this.userData=Ge,Ge&&Ge.hasOwnProperty("settings")&&237===Ge.settings.default_activity&&(this.selected=Ge.settings.default_discipline)}),this.configService.observableConfig.subscribe(Ge=>{this.config=Ge}),this.getClubs()])}ngOnInit(){}canCreate(){try{return this.config.sportsfly.observation.create[this.ENV._name]}catch(e){return console.log(e),!1}}getClubs(){this.orgService.getOrganizations({query:{where:{"main_activity.id":237,type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}}).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(){const e={title:"Vennligst bekreft",message:"Vil du opprette en observasjon for <strong>"+this.clubs.find(t=>t.id===+this.selected).name+"</strong> ("+this.activity+")?",yes:"Ja",yes_color:"success",no:"Nei"};this.confirmService.confirm(e).then(()=>{this._createObservation()},()=>{})}_createObservation(){if(!this.selected||this.selected<1)this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10);else{this.loading=!0,this.alertService.clear(),console.log("Selected org",this.selected);let e=(new as.oU).occurrence;try{e.entities.reportingHistory.push((new as.LR).reportingHistory),e.entities.reportingHistory[0].attributes.reportingEntity={value:101311},this.clubs.forEach(t=>{t.id==this.selected&&(this.orsService.setActivity("sportsfly"),this.orsService.create({discipline:this.selected,club:t.parent_id,occurrence:e}).subscribe(r=>{this.subject.reset(),console.log("OBSREG Created",r),r._id&&r.id&&((0,qi.has)(this.userData,["settings","ors",this.activity,r.id])||((0,qi.has)(this.userData,["settings","ors",this.activity])||(0,qi.set)(this.userData,["settings","ors",this.activity],{}),(0,qi.has)(this.userData,["settings","ors","first_report"])||(0,qi.set)(this.userData,["settings","ors","first_report"],!0),this.userData.settings.ors[this.activity][r.id]={simple_view:!0}),this.userDataSubject.update(this.userData),this.router.navigateByUrl("/ors/sportsfly/edit/"+r.id))},r=>{this.alertService.error("Kunne ikke opprette OBSREG: "+r.message),this.loading=!1,this.error=!0},()=>{console.log("Created observation"),this.loading=!1}))})}catch(t){console.error(t),this.alertService.error("Kunne ikke opprette OBSREG: "+t.message),this.loading=!1,this.error=!0}}}};T9.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:jp._},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:ws.j},{type:_c.zM}],T9.propDecorators={layout:[{type:i.IIB}],defaultBtn:[{type:i.IIB}],activity:[{type:i.IIB}]},T9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly-create",template:Nz,styles:[Hz]})],T9);var jz=B(5161),Fz=B(78213);let S9=class{constructor(e,t,r,l,u,M,F,_e,Le){this.configService=e,this.orsService=t,this.orgService=r,this.userService=l,this.alertService=u,this.userDataSubject=M,this.router=F,this.subject=_e,this.confirmService=Le,this.faPlus=st.r8p,this.faExclamationTriangle=st.eHv,this.defaultBtn=!1,this.activity="modellfly",this.bsValue=new Date,this.ismeridian=!1,this.mytime=new Date,this.selectedMoment=new Date,this.withDate=!1,this.ENV=W2.N,this.selected=void 0,this.dataReady=!1,this.loading=!1,this.error=!1,this.orsService.setActivity(this.activity),(0,Ha.D)([this.userDataSubject.observable.subscribe(Ge=>{this.userData=Ge,Ge&&Ge.hasOwnProperty("settings")&&236===Ge.settings.default_activity&&(this.selected=Ge.settings.default_discipline)}),this.configService.observableConfig.subscribe(Ge=>{this.config=Ge}),this.getClubs()])}ngOnInit(){}canCreate(){try{return this.config.modellfly.observation.create[this.ENV._name]}catch(e){return!1}}getClubs(){this.orgService.getOrganizations({query:{where:{"main_activity.id":236,type_id:14,is_active:!0},max_results:1e3,projection:{id:1,_id:1,parent_id:1,name:1}}}).subscribe(t=>{this.clubs=t._items,this.dataReady=!0},t=>console.error(t))}createObservation(){const e={title:"Vennligst bekreft",message:"Vil du opprette en observasjon for <strong>"+this.clubs.find(t=>t.id===+this.selected).name+"</strong> ("+this.activity+")?",yes:"Ja",yes_color:"success",no:"Nei"};this.confirmService.confirm(e).then(()=>{this._createObservation()},()=>{})}_createObservation(){!this.selected||this.selected<1?this.alertService.error("Ingen klubb valgt, velg klubb f\xf8rst",!1,!0,10):(this.loading=!0,this.alertService.clear(),console.log("Selected org",this.selected),this.clubs.forEach(e=>{e.id===this.selected&&(this.orsService.setActivity(this.activity),this.orsService.create({discipline:this.selected,club:e.parent_id}).subscribe(t=>{this.subject.reset(),console.log("OBSREG Created",t),t._id&&t.id&&(this.userDataSubject.update(this.userData),this.router.navigateByUrl("/ors/modellfly/edit/"+t.id))},t=>{this.alertService.error("Kunne ikke opprette OBSREG: "+t.message),this.loading=!1,this.error=!0},()=>{console.log("Created observation"),this.loading=!1}))}))}};S9.ctorParameters=()=>[{type:Qa.F},{type:zn.Z},{type:Dh.u},{type:jp._},{type:ul.u},{type:Ec.K},{type:_r.F0},{type:ws.j},{type:_c.zM}],S9.propDecorators={layout:[{type:i.IIB}],defaultBtn:[{type:i.IIB}],activity:[{type:i.IIB}]},S9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-create",template:jz,styles:[Fz]})],S9);var Uz=B(26864),Yz=B(33297);let KC=class{constructor(){}ngOnInit(){this.zoom=5,this.maxSpeed=40,this.latitude=59.3002381,this.longitude=10.367592800000011,this.polyline=[{latitude:59.3002381,longitude:10.367592800000011,speed:50},{latitude:59.182446,longitude:10.256912,speed:50},{latitude:59.970737,longitude:11.039221,speed:20},{latitude:60.19755,longitude:11.100415,speed:20},{latitude:61.009102,longitude:9.294345,speed:20},{latitude:59.566102,longitude:9.218067,speed:25}],this.polylines=this.rebuildPolylines(),this.setCurrentPosition()}rebuildPolylines(){let e=[],t=0,r={path:[],color:"blue"};for(let l of this.polyline){console.log(l),r.path.push(l);const u=this.polyline[t+1]&&l.speed<this.maxSpeed&&this.polyline[t+1].speed<this.maxSpeed||l.speed>this.maxSpeed&&this.polyline[t+1].speed>this.maxSpeed;l.speed>this.maxSpeed&&(r.color="red"),u&&(r.path.push(this.polyline[t+1]),e.push(r),r={path:[],color:"blue"}),t++}return console.log(e),e}setCurrentPosition(){"geolocation"in navigator&&navigator.geolocation.getCurrentPosition(e=>{this.latitude=e.coords.latitude,this.longitude=e.coords.longitude})}};KC.ctorParameters=()=>[],KC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-route",template:Uz,styles:[Yz]})],KC);var Gz=B(26925),qz=B(2677);let ZC=class{constructor(e){this.subject=e,this.onChangeDebounced=(0,Sl.D)(this.onChange,700),this.subject.observableObservation.subscribe(t=>this.observation=t)}ngOnInit(){}toUpper(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}onChange(){this.observation.title=this.toUpper(this.observation.title),this.subject.update(this.observation)}};ZC.ctorParameters=()=>[{type:ws.j}],ZC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-title",template:Gz,styles:[qz]})],ZC);var Kz=B(95602),Zz=B(89775);let k9=class{constructor(e,t){this.configService=e,this.subject=t,this.title=!1,this.dataReady=!1,(0,Ha.D)([this.subject.observableObservation.subscribe(r=>{this.observation=r}),this.configService.observableConfig.subscribe(r=>{this.config=r})])}onChange(){this.subject.update(this.observation)}ngOnInit(){}};k9.ctorParameters=()=>[{type:Qa.F},{type:ws.j}],k9.propDecorators={title:[{type:i.IIB}]},k9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-type",template:Kz,styles:[Zz]})],k9);var Jz=B(54245),Qz=B(52330);let L9=class{constructor(e,t){this.observationSubject=e,this.calendar=t,this.tz="utc",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.dateError=!1,this.dataReady=!1,this.faCalendar=st.fT7}ngOnInit(){console.log("TZ in onInit",this.tz),this.maxDateTime=new Date,this.observationSubject.observableObservation.subscribe(e=>{this.observation=e;try{(!this.curr_when||this.curr_when&&this.curr_when!=this.observation.when)&&(this.curr_when=this.convertJavascriptDateToEve(new Date(this.observation.when)),this.maxDateTime=new Date(this.observation._created),console.log("MAX DATETIME",this.maxDateTime,this.getMaxDate()),console.log("Subscribe"),console.log("observation.when",this.observation.when),console.log("type o.when",typeof this.observation.when),console.log("NG-B timeone is: ",this.tz),this.when=new Date(this.curr_when),"local"===this.tz?(console.log("Just local tz normal get stuff"),this.date={year:this.when.getFullYear(),month:this.when.getMonth()+1,day:this.when.getDate()},this.time={hour:this.when.getHours(),minute:this.when.getMinutes()}):(console.log("Is UTC get utc stuff"),this.date={year:this.when.getUTCFullYear(),month:this.when.getUTCMonth()+1,day:this.when.getUTCDate()},this.time={hour:this.when.getUTCHours(),minute:this.when.getUTCMinutes()}),console.log("Local tz-aware when",this.when),console.log("NG-B tz-aware date",this.date),console.log("NG-B tz-aware time",this.time))}catch(t){}this.dataReady=!0})}isValidDate(e){return!!(e instanceof Date&&m0()(e).isValid())}getMaxDate(){return"local"===this.tz?{year:this.maxDateTime.getFullYear(),month:this.maxDateTime.getMonth()+1,day:this.maxDateTime.getDate()}:{year:this.maxDateTime.getUTCFullYear(),month:this.maxDateTime.getUTCMonth()+1,day:this.maxDateTime.getUTCDate()}}convertDateToUTC(e){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()))}convertJavascriptDateToEve(e){let t=e.toISOString().split("."),r=t[1].split("Z");return t[0]+"."+r[0].padEnd(6,0)+"Z"}update(){try{let e;console.log("UPDATE NG-B date",this.date),console.log("UPDATE NG-time",this.time),e="local"===this.tz?new Date(this.date.year,this.date.month-1,this.date.day,this.time.hour,this.time.minute,0,0):new Date(Date.UTC(this.date.year,this.date.month-1,this.date.day,this.time.hour,this.time.minute,0,0)),this.isValidDate(e)&&e<=this.maxDateTime?(this.dateError=!1,console.log("NEWTIME",e),console.log("String comp",this.observation.when,this.convertJavascriptDateToEve(e)),this.observation.when!=this.convertJavascriptDateToEve(e)&&(console.log("New Time!!!",e,"som blir",this.convertJavascriptDateToEve(e)),this.observation.when=this.convertJavascriptDateToEve(e),this.observationSubject.update(this.observation))):(this.dateError=!0,this.isValidDate(e)&&e>this.maxDateTime?this.dateErrorType="future":this.isValidDate(e)||(this.dateErrorType="format"))}catch(e){}}};L9.ctorParameters=()=>[{type:ws.j},{type:Fr.vL}],L9.propDecorators={tz:[{type:i.IIB}]},L9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-when",template:Jz,styles:[Qz]})],L9);var tR=B(45),nR=B(10948);let XC=class{constructor(e){this.subject=e,this.faExclamationTriangle=st.eHv,this.subject.observableObservation.subscribe(t=>this.observation=t)}onHoverPotential(e){this.hover_potential=e}onHoverActual(e){this.hover_actual=e}onHoverLeave(){this.hover_potential=void 0,this.hover_actual=void 0}ngOnInit(){}onChange(){console.log("Rating updating now oboy"),this.observation.rating._rating=(0,Nr.pJ)(this.observation.rating.actual,this.observation.rating.potential),this.subject.update(this.observation)}};XC.ctorParameters=()=>[{type:ws.j}],XC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-rating",template:tR,styles:[nR]})],XC);var rR=B(79169),oR=B(33358);let E9=class{constructor(e,t,r,l,u,M,F){this.http=e,this.observationSubject=t,this.involvedSubject=r,this.userLungoService=l,this.userService=u,this.apiCache=M,this.modalService=F,this.faCheck=st.LEp,this.faExclamation=st.WV2,this.faTimes=st.NBC,this.details=!0,this.disabled=!1,this.items=[],this.dataReady=!1,this.requestAutocompleteItems=_e=>this.apiCache.get(["lungo-user-search",_e,{}],this.userLungoService.search(_e,this.observation._model.type)).pipe((0,mh.U)(Le=>Le._items)),this.involvedSubject.currentArr.subscribe(_e=>this.involved=_e),this.observationSubject.observableObservation.subscribe(_e=>this.observation=_e)}ngOnInit(){this.who?this.who.forEach((e,t)=>{if(console.log(e),e.id<0&&e.tmp_name)this.items.push({id:e.id,full_name:e.tmp_name}),this.involved.push({id:e.id,tmp_name:e.tmp_name,full_name:e.tmp_name});else{const r={query:{where:{id:e.id},projection:{full_name:1}}};this.userLungoService.getUser(e.id,r).subscribe(l=>{this.items.push({id:e.id,full_name:l.full_name,tmp_name:e.tmp_name}),this.involved.push({id:e.id,full_name:l.full_name})},l=>{console.log(l),this.items.push({id:e.id,full_name:e.tmp_name,tmp_name:e.tmp_name}),this.involved.push({id:e.id,full_name:e.tmp_name,tmp_name:e.tmp_name})},()=>this.involvedSubject.changeArr(this.involved))}}):(this.who=[],this.items=[],this.involvedSubject.changeArr(this.involved)),this.dataReady=!0}onAdd(e){if(console.log("Add"),console.log(e),e.id===e.full_name){console.log("tmp_name",e);const r=-1*(new Date).getMilliseconds();this.who.push({id:r,tmp_name:e.full_name}),this.items.forEach((l,u)=>{l.id===e.id&&(this.items[u].id=r)})}else if(e.id<0){e.id,e.full_name,new Date}else{let t={id:e.id,data:{date:new Date}};this.userLungoService.getUser(e.id,{query:{projection:{functions:1,licenses:1}}}).subscribe(r=>{console.log("data.licenses"),t.data.licenses=r.licenses,t.data.functions=r.functions,this.userService.getUser(e.id,{query:{projection:{avatar:0,settings:1}}}).subscribe(l=>{t.data.private=l.settings},l=>console.log(l))},r=>console.log(r),()=>this.who.push(t))}this.involved.push({id:e.id,full_name:e.full_name}),this.involvedSubject.changeArr(this.involved),this.setObservation()}openPersonModal(e,t){this.modalIndex=t,this.modalPerson=this.who[t],this.modalPerson.hasOwnProperty("data")||(this.modalPerson.data={}),this.modalPerson.data.hasOwnProperty("gear")||(this.modalPerson.data.gear={}),this.modalRef=this.modalService.open(e,{size:"lg"})}modalInvolvedUpdate(e){this.who[e]=this.modalPerson,this.setObservation(),this.modalRef.close()}onRemove(e){this.who.forEach((t,r)=>{t.id===e.id&&(this.who.splice(r,1),this.who===[null,null]&&(this.who=[]))}),this.involved.forEach((t,r)=>{t.id===e.id&&(this.involved.splice(r,1),this.involved===[null,null]&&(this.involved=[]))}),this.items.forEach((t,r)=>{t.id===e.id&&(this.items.splice(r,1),this.items===[null,null]&&(this.items=[]))}),this.involvedSubject.changeArr(this.involved),this.setObservation()}setObservation(){const e=this.path.split(".");1===e.length?this.observation[e[0]]=this.who:2===e.length?this.observation[e[0]][e[1]]=this.who:3===e.length?this.observation[e[0]][e[1]][e[2]]=this.who:4===e.length?this.observation[e[0]][e[1]][e[2]][e[3]]=this.who:5===e.length&&(this.observation[e[0]][e[1]][e[2]][e[3]][e[4]]=this.who),this.observationSubject.update(this.observation)}};E9.ctorParameters=()=>[{type:Mu.eN},{type:ws.j},{type:w2},{type:Zu.p},{type:jp._},{type:X3.G},{type:Fr.FF}],E9.propDecorators={who:[{type:i.IIB}],path:[{type:i.IIB}],details:[{type:i.IIB}],disabled:[{type:i.IIB}],maxItems:[{type:i.IIB}]},E9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-people",template:rR,styles:[oR]})],E9);var aR=B(21830),lR=B(30151);let JC=class{constructor(e){this.subject=e,this.dataReady=!1,this.subject.observableObservation.subscribe(t=>{this.observation=t,this.dataReady=!0})}ngOnInit(){}show(){var e,t,r,l,u,M,F,_e,Le,Ge,_t;return!(!(null===(t=null===(e=this.observation)||void 0===e?void 0:e.flags)||void 0===t?void 0:t.aviation)||"draft"!==this.observation.workflow.state)&&(!this.observation.aircrafts||0===this.observation.aircrafts.length||!(null===(M=null===(u=null===(l=null===(r=this.observation)||void 0===r?void 0:r.occurrence)||void 0===l?void 0:l.attributes)||void 0===u?void 0:u.locationName)||void 0===M?void 0:M.value)||0===(null===(_t=null===(Ge=null===(Le=null===(_e=null===(F=this.observation)||void 0===F?void 0:F.occurrence)||void 0===_e?void 0:_e.attributes)||void 0===Le?void 0:Le.locationName)||void 0===Ge?void 0:Ge.value)||void 0===_t?void 0:_t.trim().length)||this.observation.aircrafts.length>0&&(!this.observation.aircrafts[0].flight||0===this.observation.aircrafts[0].flight.length))}};JC.ctorParameters=()=>[{type:ws.j}],JC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-alert",template:aR,styles:[lR]})],JC);var dR=B(64834),uR=B(76096);let QC=class{constructor(e){this.subject=e,this.dataReady=!1,this.subject.observableObservation.subscribe(t=>{this.observation=t,this.dataReady=!0})}ngOnInit(){}};QC.ctorParameters=()=>[{type:ws.j}],QC=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-testclub-alert",template:dR,styles:[uR]})],QC);var fR=B(88810),pR=B(4701);let ew=class{constructor(e){this.subject=e,this.faPlus=st.r8p,this.faTimes=st.NBC,this.actionCentral="",this.actionLocal="",this.dataReady=!1,this.subject.observableObservation.subscribe(t=>{this.observation=t;try{void 0===this.observation.actions&&(this.observation.actions={local:[],central:[]}),void 0===this.observation.actions.local&&(this.observation.actions.local=[]),void 0===this.observation.actions.central&&(this.observation.actions.central=[])}catch(r){}this.dataReady=!0})}ngOnInit(){}onChange(e){this.subject.update(this.observation)}addActionLocal(e){e.length>0&&(this.observation.actions.local.push(e),this.actionLocal="",this.subject.update(this.observation))}addActionCentral(e){e.length>0&&(this.observation.actions.central.push(e),this.actionCentral="",this.subject.update(this.observation))}removeActionLocal(e){this.observation.actions.local.splice(e,1),this.subject.update(this.observation)}removeActionCentral(e){this.observation.actions.central.splice(e,1),this.subject.update(this.observation)}};ew.ctorParameters=()=>[{type:ws.j}],ew=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-actions",template:fR,styles:[pR]})],ew);var mR=B(82905),vR=B(14372);let tw=class{constructor(e,t){this.subject=e,this.configService=t,this.verbose=!0,this.configService.observableConfig.subscribe(r=>{this.config=r}),this.subject.observableObservation.subscribe(r=>{this.observation=r,this.observation&&(this.observation.hasOwnProperty("ask")||(this.observation.ask={text:{},skills:0,knowledge:0,attitude:0},this.subject.update(this.observation)))})}ngOnInit(){}get(e,t){return e.reduce((r,l)=>r&&r[l]?r[l]:{},t)}isPositive(e){return!!this.observation.ask&&this.observation.ask[e]>0}isNegative(e){return!!this.observation.ask&&this.observation.ask[e]<0}isNeutral(e){return!this.observation.ask||0===this.observation.ask[e]}flip(e){void 0===this.observation.ask[e]||0===this.observation.ask[e]?this.observation.ask[e]=-1:this.observation.ask[e]>0?this.observation.ask[e]=0:this.observation.ask[e]<0&&(this.observation.ask[e]=1),this.subject.update(this.observation)}};tw.ctorParameters=()=>[{type:ws.j},{type:Qa.F}],tw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-ask",template:mR,styles:[vR]})],tw);var bR=B(91327),yR=B(95175);let nw=class{constructor(e,t,r,l,u,M){this.subject=e,this.involved=t,this.personService=r,this.orsService=l,this.confirmService=u,this.modalService=M,this.tributeInitited=!1,this.showAllASK=!1,this.onPaste=Nr.qn,this.debouncedGetOrs=(0,Sl.D)(this.getOrs,900),this.debouncedGetUsers=(0,Sl.D)(this.getUsers,900),this.debouncedUpdateText=(0,Sl.D)(this.textChange,1500),this.involved.currentArr.subscribe(F=>this.list=F),this.subject.observableObservation.subscribe(F=>{if(this.observation=F,this.observation){this.orsService.setActivity(this.observation._model.type),void 0===this.observation.ask.text[this.observation.workflow.state]&&(this.observation.ask.text[this.observation.workflow.state]="");for(const[_e,Le]of Object.entries(this.observation.ask.text))try{this.observation.ask.text[_e]=Le.replaceAll("badge badge-","badge text-bg-")}catch(Ge){console.log("Wee",Ge)}}})}ngOnInit(){}ngAfterViewInit(){this.initiateTribute()}getInvolved(e,t){console.log("INVOLVED",this.list,e,t),t(this.list)}getUsers(e,t){if(e.length<3)t([]);else{this.personService.search(e).subscribe(l=>{t(l._items)},l=>t([]))}}initiateTribute(){const e=u=>Math.round(Math.pow(36,u+1)-Math.random()*Math.pow(36,u)).toString(36).slice(1),t={trigger:"!",iframe:null,selectClass:"highlight",selectTemplate:function(u){const M=e(12);return'<macro href="#" data-url="/user/'+u.original.id+'" contenteditable="false"                data-type="user" data-id="'+u.original.id+'"                onclick="this.remove()"                class="badge text-bg-info macrolink pointer" id="'+M+'">                !'+u.original.full_name+"</macro>"},menuItemTemplate:function(u){return u.string},noMatchTemplate:function(u){return"No results!"},lookup:"full_name",fillAttr:"full_name",values:(u,M)=>this.getInvolved(u,F=>M(F)),requireLeadingSpace:!0,allowSpaces:!0,replaceTextSuffix:"\n",positionMenu:!0},r={trigger:"@",iframe:null,selectClass:"highlight",selectTemplate:function(u){const M=e(12);return'<macro href="#" data-url="/user/'+u.original.id+'" contenteditable="false"                 data-type="user" data-id="'+u.original.id+'"                onclick="this.remove()"                class="badge text-bg-danger macrolink pointer" id="'+M+'">                @'+u.original.full_name+"</macro>"},menuItemTemplate:function(u){return u.string},noMatchTemplate:"Fant ingen",lookup:function(u){return u.full_name+" ("+u.id+")"},fillAttr:"full_name",values:(u,M)=>this.debouncedGetUsers(u,F=>M(F)),requireLeadingSpace:!0,allowSpaces:!0,replaceTextSuffix:"\n",positionMenu:!0},l={trigger:"#",iframe:null,selectClass:"highlight",selectTemplate:function(u){const M=e(12);return'<macro href="#" data-url="/ors/'+u.original.activity+"/report/"+u.original.id+'" contenteditable="false"                data-type="f_ors" data-id="'+u.original.id+'"                onclick="this.remove()"                class="badge text-bg-danger macrolink pointer" id="'+M+'">                 #'+u.original.id+" "+u.original.title+"</macro>"},menuItemTemplate:function(u){return u.string},noMatchTemplate:"Fant ingen",lookup:"search",fillAttr:"title",values:(u,M)=>this.debouncedGetOrs(u,F=>M(F)),requireLeadingSpace:!0};this.tributeOptions={collection:[t,r,l],allowSpaces:!0},this.tribute=new(z_())(this.tributeOptions),this.elementAsk=document.getElementById("ask"),this.tribute.attach(this.elementAsk),this.elementAsk.addEventListener("tribute-replaced",u=>{this.debouncedUpdateText()}),console.log("Tribute:",this.tribute)}getOrs(e,t){let r=e.replace(/\D+/g,"").split(" ").filter(u=>parseInt(u,10)>0).map(u=>parseInt(u,10)),l=e.replace(/\d+/g,"").split(" ").filter(u=>""!==u.trim()).map(u=>u.charAt(0).toUpperCase()+u.slice(1));if(e.length>0){l instanceof Array||(l=[]),r instanceof Array||(r=[]);const u={query:{sort:[{id:-1}],where:{"workflow.state":"closed",$or:[{id:{$in:r}},{$text:{$search:l.join(" ")}}]}}};this.orsService.getObservations(u).subscribe(M=>{if(M._meta.total>0){let F=M._items.map(_e=>({id:_e.id,title:_e.tags.join(" "),search:"#"+_e.id+" "+_e.tags.join(" "),activity:_e._model.type}));t(F)}else t([])},M=>t([]),()=>{})}else t([])}format(e){return'<macro contenteditable="false" class="badge text-bg-info" id="'+e.id+'">'+e.fullname+"</macro>"}textChange(){this.subject.update(this.observation)}reset(){this.confirmService.confirm({title:"Please confirm",message:"Are you sure you want to delete all the text?",yes:"Delete",no:"Cancel"}).then(()=>{this.observation.ask.text[this.observation.workflow.state]=""},()=>{})}openModal(e){this.showAllASK=!0}closeModal(){this.textChange(),this.tribute.detach(this.elementAskModal),this.modalRef.close()}};nw.ctorParameters=()=>[{type:ws.j},{type:w2},{type:Zu.p},{type:zn.Z},{type:_c.zM},{type:Fr.FF}],nw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-ask-text",template:bR,styles:[yR]})],nw);var CR=B(17741),wR=B(48880);let iw=class{constructor(e,t,r,l){this.configService=e,this.subject=t,this.orgService=r,this.apiCache=l,this.dataReady=!1,(0,Ha.D)([this.configService.observableConfig.subscribe(u=>{this.config=u}),this.subject.observableObservation.subscribe(u=>{this.observation=u;try{this.observation.hasOwnProperty("flags")||(this.observation.flags={})}catch(M){}})])}ngOnInit(){}school(e){if(e){const t={query:{projection:{name:1,id:1}}};this.apiCache.get(["get-lungo-organization",this.observation.discipline,t.query],this.orgService.getOrganization(this.observation.discipline,t)).subscribe(r=>{this.observation.occurrence.entities.reportingHistory[0].attributes.reportingEntity={value:100479,additionalText:r.name,additionalTextEncoding:"xs:string"}},r=>this.observation.occurrence.entities.reportingHistory[0].attributes.reportingEntity={value:100479,additionalText:"Ukjent navn",additionalTextEncoding:"xs:string"},()=>{})}else this.observation.occurrence.entities.reportingHistory[0].attributes.reportingEntity={value:101311}}onChange(e,t){console.log("Event",e,t),"school"===t&&this.school(e),this.subject.update(this.observation)}};iw.ctorParameters=()=>[{type:Qa.F},{type:ws.j},{type:Dh.u},{type:X3.G}],iw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-flags",template:CR,styles:[wR]})],iw);var TR=B(50245),SR=B(34957);let D9=class{constructor(e,t,r,l,u,M,F){this.subject=e,this.apiFile=t,this.domSanitizer=r,this.modalService=l,this.confirmService=u,this.userSubject=M,this.authDataSubject=F,this.faPlus=st.r8p,this.faCamera=st._jT,this.faDownload=st.q7m,this.faTimes=st.NBC,this.faLock=st.byT,this.faUnlock=st.tAh,this.faChevronLeft=st.A35,this.faChevronRight=st._tD,this.fileChange=new i.vpe,this.dataReady=!1,this.filelist=[],this.thumbnailSize="small",this.viewImageLoading=!1,this.viewImageName="",this.uploading=!1,this.imagePreview=[],this.subject.observableObservation.subscribe(_e=>{this.observation=_e,this.observation&&!this.userData&&this.userSubject.observable.subscribe(Le=>{Le&&(this.userData=Le,this.getFiles())},Le=>console.log("Error getting user data: ",Le))}),this.ngxfiles=[],this.uploadInput=new i.vpe,this.humanizeBytes=qv,this.authDataSubject.observableAuthData.subscribe(_e=>{_e&&(this.token=_e.token)},_e=>console.log("Problem getting token: ",_e))}ngOnInit(){void 0===this.dropzone&&(this.dropzone=!0),void 0===this.onlyFilepicker&&(this.onlyFilepicker=!1)}getFiles(){try{let e=0;this.dataReady=!0,this.filelist=[],this.observation.files.forEach(t=>{this.getFile(t),e++,this.observation.files.length===e&&(this.dataReady=!0)})}catch(e){}}getFile(e){if(e.hasOwnProperty("f")){const t={query:{projection:{file:0}}};this.apiFile.getFile(e.f,t).subscribe(r=>{r.r=e.r,null!=r.content_type.match(/image/g)?this.apiFile.getImage(r._id,this.thumbnailSize).subscribe(l=>{r.src="data:"+l.mimetype+";charset=utf8;base64,"+l.src,r.isImage=!0,r.download=this.apiFile.getDirectLink(r._id)+"?token="+this.token,this.filelist.push(r)},l=>{console.log("Error getting image "+r._id+" "+r.name)}):(r.isImage=!1,this.filelist.push(r),r.download=this.apiFile.getDirectLink(r._id)+"?token="+this.token)},r=>console.log(r))}}addToFilelist(e){console.log("Add to file list",e),this.observation.files.push({f:e,r:!0}),this.subject.update(this.observation),this.fileChange.emit(!0),this.getFile({f:e,r:!0})}setRestricted(e,t,r){this.filelist[r].r=e,this.observation.files.forEach((l,u)=>{l.f===t&&(this.observation.files[u].r=e,this.subject.update(this.observation))})}removeFromFilelist(e,t){this.confirmService.confirm({title:"Bekreft sletting",message:"Er du sikker du vil slette filen <strong>"+this.filelist[t].name+"</strong> ?",yes:"Slett",no:"Avbryt"}).then(()=>{this.observation.files.forEach((r,l)=>{this.observation.files[l].f===e&&this.observation.files.splice(l,1)}),this.filelist.splice(t,1),this.subject.update(this.observation),this.fileChange.emit(!0)},()=>{})}download(e){this.apiFile.downloadFile(e._id)}openModal(e,t){this.viewImageLoading=!0,this.viewImageName="Laster bilde...",this.modalRef=this.modalService.open(e,{size:"lg"}),this.getModalImage(t)}getModalImage(e){null!=this.filelist[e].content_type.match(/image/g)?(this.viewImageName="Laster bilde...",this.viewImageLoading=!0,this.apiFile.getImage(this.filelist[e]._id,"large").subscribe(t=>{this.viewimage={src:"data:"+t.mimetype+";charset=utf8;base64,"+t.src,index:e},this.viewImageName=this.filelist[e].name,this.viewImageLoading=!1},t=>console.log(t),()=>this.viewImageLoading=!1)):(this.viewImageName=this.filelist[e].name,this.viewImageLoading=!1)}onUploadOutput(e){if("allAddedToQueue"===e.type)console.log("Output All:",e),this.startUpload();else if("addedToQueue"===e.type&&void 0!==e.file)console.log("Output added:",e),this.ngxfiles.push(e.file);else if("uploading"===e.type&&void 0!==e.file){const t=this.ngxfiles.findIndex(r=>void 0!==e.file&&r.id===e.file.id);this.ngxfiles[t]=e.file,this.uploading=!0}else"removed"===e.type?this.ngxfiles=this.ngxfiles.filter(t=>t!==e.file):"dragOver"===e.type?this.dragOver=!0:"dragOut"===e.type||"drop"===e.type?this.dragOver=!1:"done"===e.type&&(console.log(e.file.response),this.addToFilelist(e.file.response._id),this.uploading=!1)}startUpload(){this.ngxfiles.forEach((e,t)=>{this.uploading=!0;let r={type:"uploadFile",url:"/api/v1/files/",method:"POST",headers:{Authorization:"Basic "+this.token},file:e,data:{ref:this.observation._model.type+"_observations",ref_id:this.observation._id,content_type:e.type,name:e.name,size:String(e.size),owner:String(this.userData.person_id),activity:this.observation._model.type}};this.ngxfiles.splice(t,1),this.uploadInput.emit(r)}),this.uploading=!1}cancelUpload(e){this.uploadInput.emit({type:"cancel",id:e})}removeFile(e){this.uploadInput.emit({type:"remove",id:e})}removeAllFiles(){this.uploadInput.emit({type:"removeAll"})}previewImagem(e){console.log("File:",e);const t=new FileReader;return new Promise(r=>{t.readAsDataURL(e),t.onload=function(l){r(l.target.result)}})}};D9.ctorParameters=()=>[{type:ws.j},{type:H8.t},{type:i1.H7},{type:Fr.FF},{type:_c.zM},{type:Ec.K},{type:af.W}],D9.propDecorators={onlyFilepicker:[{type:i.IIB}],dropzone:[{type:i.IIB}],fileChange:[{type:i.r_U}]},D9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-files",template:TR,styles:[SR]})],D9);var LR=B(95518),ER=B(51883),u_=B(47418),I5=B(88759);let rw=class{constructor(e,t,r,l,u){this.configService=e,this.observationSubject=t,this.involvedSubject=r,this.tagService=l,this.modalService=u,this.faPlus=st.r8p,this.faBolt=st.BDt,this.faBan=st.gPx,this.faClose=st.YIN,this.faCheck=st.LEp,this.faArrowsAlt=st.Qg3,this.faExclamation=st.WV2,this.faUser=st.ILF,this.faMapMarker=st.Mzo,this.faComment=st.Mzg,this.faTrash=st.$aW,this.causes=[],this.incidents=[],this.consequences=[],this.tagsCausesLoading=!1,this.tagsCausesInput$=new Tl.xQ,this.selectedCausesTags=[[]],this.tagsIncidentsLoading=!1,this.tagsIncidentsInput$=new Tl.xQ,this.selectedIncidentsTags=[[]],this.tagsConsequencesLoading=!1,this.tagsConsequencesInput$=new Tl.xQ,this.selectedConsequencesTags=[[]],this.tagsWhereAtLoading=!1,this.tagsWhereAtInput$=new Tl.xQ,this.involvedSubject.currentArr.subscribe(M=>this.involved=M),this.observationSubject.observableObservation.subscribe(M=>{this.observation=M,this.observation&&((this.components!==M.components||this.observation.involved!==M.involved)&&(this.causes=this.observation.components.filter(F=>!0===F.flags.cause),console.log("Causes",this.causes),this.incidents=this.observation.components.filter(F=>!0===F.flags.incident),0===this.incidents.length&&setTimeout(()=>{this.incidents.push({what:"",flags:{incident:!0},involved:[],where:{at:void 0,altitude:void 0},attributes:{}})},300),console.log("Incident",this.incidents),this.consequences=this.observation.components.filter(F=>!0===F.flags.consequence),console.log("Consequences",this.consequences)),this.components=M.components,this.configService.observableConfig.subscribe(F=>{this.config=F,this.observation.acl_user.w&&(this.preloadIncidentsTags(),this.preloadCausesTags(),this.preloadConsequencesTags(),this.preloadWhereAtTags())}))})}ngOnInit(){}toggleBarrier(e,t){this.observation.acl_user.w&&("causes"===e?this.causes[t].flags.barrier=!this.causes[t].flags.barrier:"incidents"===e?this.incidents[t].flags.barrier=!this.incidents[t].flags.barrier:"consequences"===e&&(this.consequences[t].flags.barrier=!this.consequences[t].flags.barrier),this.updateObservation())}ngOnDestroy(){try{this.modalRef.close()}catch(e){}}getInvolved(){return console.log("Get inv:",this.involved.map(e=>({id:e.id,tmp_name:e.tmp_name}))),this.involved.map(e=>({id:e.id,tmp_name:e.tmp_name}))}onSelect(e){console.log(e)}dropCause(e){(0,bm.bA)(this.causes,e.previousIndex,e.currentIndex),this.updateObservation()}dropConsequence(e){(0,bm.bA)(this.consequences,e.previousIndex,e.currentIndex),this.updateObservation()}updateObservation(){console.log("Components before",this.observation.components);let e=[];e.push(...this.causes),e.push(...this.incidents),e.push(...this.consequences),this.observation.components=e,console.log("Components after",this.observation.components),this.observationSubject.update(this.observation)}moveCause(e,t){if(t>=this.causes.length){let r=t-this.causes.length+1;for(;r--;)this.causes.push(void 0)}this.causes.splice(t,0,this.causes.splice(e,1)[0]),this.updateObservation()}moveConsequence(e,t){if(t>=this.consequences.length){let r=t-this.consequences.length+1;for(;r--;)this.consequences.push(void 0)}this.consequences.splice(t,0,this.consequences.splice(e,1)[0]),this.updateObservation()}addCause(e=!0){this.causes.unshift({what:void 0,flags:{cause:!0},involved:[],attributes:{},how:void 0,where:{at:void 0,altitude:void 0}}),e&&setTimeout(()=>{document.querySelector("#focuscause").querySelector("input").focus()},250),this.updateObservation()}removeCause(e){this.observation.acl_user.w&&(this.causes.splice(e,1),this.updateObservation())}removeConsequence(e){this.observation.acl_user.w&&(this.consequences.splice(e,1),this.updateObservation())}addConsequence(e=!0){this.consequences.push({what:void 0,flags:{consequence:!0},involved:[],attributes:{},how:void 0,where:{at:void 0,altitude:void 0}}),e&&setTimeout(()=>{document.querySelector("#focusconsequence").querySelector("input").focus()},250),this.updateObservation()}onAddWhat(e,t,r){console.log("Add",e,t,r),"cause"===t?(this.causes[r].what=e,this.addCause()):"incident"===t?(this.incidents[r].what=e,0===this.causes.length&&(0===this.consequences.length&&this.addConsequence(!1),this.addCause())):"consequence"===t&&(this.consequences[r].what=e,this.addConsequence()),this.updateObservation()}onRemoveWhat(e,t){console.log("Del",e,t),"cause"===e?this.causes[t].what=void 0:"incident"===e?this.incidents[t].what=void 0:"consequence"===e&&(this.consequences[t].what=void 0),this.updateObservation()}onAdd(e,t,r){e.hasOwnProperty("_id")?this.tagService.freq(e._id,1).subscribe(()=>{}):this.tagService.create({tag:e.tag,group:"component.what."+t,activity:this.observation._model.type}).subscribe(l=>{"causes"===t?this.selectedCausesTags[r]=[{_id:l._id,tag:e.tag}]:"incidents"===t?this.selectedIncidentsTags[r]=[{_id:l._id,tag:e.tag}]:"consequences"===t&&(this.selectedConsequencesTags[r]=[{_id:l._id,tag:e.tag}])},l=>console.log("Error updating tag"))}onRemove(e,t,r){e.hasOwnProperty("_id")&&this.tagService.freq(e._id,-1).subscribe(()=>{}),this.onRemoveWhat(t,r)}onChange(e,t,r){console.log("Changed",e,t,r),void 0===e?this.onRemoveWhat(t,r):this.onAddWhat(e.tag,t,r)}preloadCausesTags(){let e;this.tagsCauses$=this.tagService.getTags({query:{where:{activity:this.observation._model.type,group:"component.what.cause",freq:{$gte:0}},sort:[{freq:-1}],max_results:1e3}}).pipe((0,mh.U)(t=>e=t._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.tagsCausesLoading=!1))}preloadIncidentsTags(){let e;this.tagsIncidents$=this.tagService.getTags({query:{where:{activity:this.observation._model.type,group:"component.what.incident",freq:{$gte:0}},sort:[{freq:-1}],max_results:1e3}}).pipe((0,mh.U)(t=>e=t._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.tagsIncidentsLoading=!1))}preloadConsequencesTags(){let e;this.tagsConsequences$=this.tagService.getTags({query:{where:{activity:this.observation._model.type,group:"component.what.consequence",freq:{$gte:0}},sort:[{freq:-1}],max_results:1e3}}).pipe((0,mh.U)(t=>e=t._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.tagsConsequencesLoading=!1))}preloadWhereAtTags(){let e;this.tagsWhereAt$=this.tagService.getTags({query:{where:{activity:this.observation._model.type,group:"where-at",freq:{$gte:0}},sort:[{freq:-1}],max_results:1e3}}).pipe((0,mh.U)(t=>e=t._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.tagsWhereAtLoading=!1))}openModal(e,t,r){this.modalComponent={data:{},target:t,index:r,involved:this.involved},"cause"===t?this.modalComponent.data=this.causes[r]:"incident"===t?this.modalComponent.data=this.incidents[r]:"consequence"===t&&(this.modalComponent.data=this.consequences[r]),this.modalComponent.data.hasOwnProperty("where")||(this.modalComponent.data.where={at:void 0,altitude:void 0}),this.modalComponent.data.where.at||(this.modalComponent.data.where.at=void 0),this.modalComponent.data.where.altitude||(this.modalComponent.data.where.altitude=0),this.modalComponent.data.involved.forEach((l,u)=>{this.involved.map(M=>M.id).indexOf(l.id)<0&&this.modalComponent.data.involved.splice(u,1)}),this.modalRef=this.modalService.open(e,{size:"lg"})}modalComponentUpdate(){"cause"===this.modalComponent.target?this.causes[this.modalComponent.index]=this.modalComponent.data:"incident"===this.modalComponent.target?this.incidents[this.modalComponent.index]=this.modalComponent.data:"consequence"===this.modalComponent.target&&(this.consequences[this.modalComponent.index]=this.modalComponent.data),this.updateObservation(),this.modalRef.close()}modalToggleInvolved(e){const t=this.modalComponent.data.involved.map(r=>r.id).indexOf(e.id);t>-1?this.modalComponent.data.involved.splice(t,1):t<0&&(e.tmp_name?this.modalComponent.data.involved.push({id:e.id,tmp_name:e.tmp_name}):this.modalComponent.data.involved.push({id:e.id}))}modalWhereAtUpdate(e){console.log("Modal where at",e),e.hasOwnProperty("_id")?this.tagService.freq(e._id,1).subscribe(()=>{this.modalComponent.data.where.at=e.tag}):this.tagService.create({tag:e.tag,group:"where-at",activity:this.observation._model.type}).subscribe(t=>{this.modalComponent.data.where.at=e.tag},t=>console.log("Error updating tag"))}getModalInvolvedIndex(e){return this.modalComponent.data.involved.map(t=>t.id).indexOf(e)}modalToggleAttributes(e,t){this.modalComponent.data.attributes[e]=t}modalToggleBarrier(e){this.modalComponent.data.flags.barrier=e}};rw.ctorParameters=()=>[{type:Qa.F},{type:ws.j},{type:w2},{type:sy.N},{type:Fr.FF}],rw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-components",template:LR,styles:[ER]})],rw);var IR=B(51951),AR=B(72280);let h_=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/weather/met/"}getLastMetar(e,t){return this.getList(this.relativeUrl+"metar/"+e.toUpperCase(),t)}getTafMetar(e,t,r){return this.getList(this.relativeUrl+e.toUpperCase()+"/"+t,r)}getNearestMetar(e,t){return this.getList(this.relativeUrl+"metar/nearest/"+e.toUpperCase()+"/"+t)}};h_.ctorParameters=()=>[{type:Mu.eN}],h_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)({providedIn:"root"})],h_);var JE=B(45550);let ow=class{constructor(e,t,r,l){this.subject=e,this.metService=t,this.airportsService=r,this.modalService=l,this.dataReady=!1,this.initObservation=!1}ngOnInit(){this.subject.observableObservation.subscribe(e=>{let t=!1;this.observation=e;try{this.observation.weather.hasOwnProperty("auto")||(this.observation.weather.auto={})}catch(r){}try{!this.initObservation&&this.observation.location.geo&&(this.tafmetar=this.observation.weather.auto,this.when=this.observation.when,this.where=this.observation.location.geo.coordinates,this.initObservation=!0,t=!1)}catch(r){}try{(!this.when||this.when!==this.observation.when)&&(console.log("New date",this.when,"Old date",this.observation.when),this.when=this.observation.when,t=!0)}catch(r){}try{(!this.where||this.where!==this.observation.location.geo.coordinates)&&(this.where=this.observation.location.geo.coordinates,t=!0)}catch(r){}(this.initObservation&&!this.tafmetar||t)&&this.where&&this.when&&this.getIcao()})}getStringDate(e){const t=("0"+((e=new Date(e)).getUTCMonth()+1)).slice(-2),r=("0"+e.getUTCDate()).slice(-2);return e.getFullYear()+"-"+t+"-"+r}getStringTime(e){e=new Date(e),console.log("Time",e,e.getUTCHours(),e.getUTCMinutes());return("0"+e.getUTCHours()).slice(-2)+":"+("0"+e.getUTCMinutes()).slice(-2)}getIcao(){const e={query:{where:{location:{$near:{$geometry:{type:"Point",coordinates:[+this.where[1],+this.where[0]]},$maxDistance:5e5}},type:{$ne:"closed"},iata_code:{$ne:null}},max_results:1,projection:{icao:1}}};this.airportsService.getAirports(e).subscribe(t=>{1===t._items.length&&(this.icao=t._items[0].icao,this.getTafMetar(),this.getNearestMetar())})}getTafMetar(){this.metService.getTafMetar(this.icao,this.getStringDate(this.when)).subscribe(e=>{this.tafmetar=e,this.observation.weather.auto=e,this.subject.update(this.observation),this.dataReady=!0})}getNearestMetar(){this.metService.getNearestMetar(this.icao,this.getStringDate(this.when)+"T"+this.getStringTime(this.when)).subscribe(e=>{this.observation.weather.auto.metar_nearest=e})}openModal(e,t){this.modal={title:t,data:this.observation.weather.auto[t]||[]},this.modalRef=this.modalService.open(e,{size:"lg"})}};ow.ctorParameters=()=>[{type:ws.j},{type:h_},{type:JE.A},{type:Fr.FF}],ow=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-met",template:IR,styles:[AR]})],ow);var zR=B(2467),RR=B(29056);let I9=class{constructor(e,t){this.subject=e,this.modalService=t,this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.faCloud=st.uM9,this.faClose=st.YIN,this.faCheck=st.LEp,this.subject.observableObservation.subscribe(r=>{this.observation=r;try{this.observation.hasOwnProperty("weather")||(this.observation.weather={manual:{},auto:{}}),this.observation.weather.hasOwnProperty("manual")||(this.observation.weather.manual={}),this.observation.weather.hasOwnProperty("auto")||(this.observation.weather.auto={}),this.wx=this.get(["weather","manual"],this.observation),this.initWx()}catch(l){}})}ngOnInit(){console.error(this.activity),this.activity||(this.activity="fallskjerm")}get(e,t){return e.reduce((r,l)=>r&&r[l]?r[l]:{},t)}initWx(){this.wx.hasOwnProperty("clouds")||(this.wx.clouds={base:null,fog:!1,hail:!1,rain:!1,snow:!1,thunder:!1}),this.wx.hasOwnProperty("temp")||(this.wx.temp={altitude:null,ground:null}),this.wx.hasOwnProperty("wind")||(this.wx.wind={avg:null,dir:null,max:null,min:null,turbulence:!1,gusting:!1}),this.wx.hasOwnProperty("description")||(this.wx.description="")}update(){this.subject.update(this.observation)}openModal(e){this.initWx(),this.modalRef=this.modalService.open(e,{size:"lg"})}modalToggle(e,t){this.wx.group.key=!this.wx.group.key}closeModal(){Object.keys(this.wx).forEach(e=>null==this.wx[e]&&delete this.wx[e]),this.observation.weather.manual=this.wx,this.subject.update(this.observation),this.modalRef.close()}};I9.ctorParameters=()=>[{type:ws.j},{type:Fr.FF}],I9.propDecorators={activity:[{type:i.IIB}]},I9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-weather",template:zR,styles:[RR]})],I9);var HR=B(48672),BR=B(85397);let A9=class{constructor(e,t){this.subject=e,this.configService=t,this.disable=!1,this.roleChange=new i.vpe,this.change=new i.vpe,this.configService.observableConfig.subscribe(r=>{this.config=r})}update(e){this.roleChange.emit(this.role),this.change.emit(!0)}ngOnInit(){}};A9.ctorParameters=()=>[{type:ws.j},{type:Qa.F}],A9.propDecorators={activity:[{type:i.IIB}],role:[{type:i.IIB}],disable:[{type:i.IIB}],roleChange:[{type:i.r_U}],change:[{type:i.r_U}]},A9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-role-in-observation",template:HR,styles:[BR]})],A9);var FR=B(53769),VR=B(70549);let sw=class{constructor(e,t){this.configService=e,this.subject=t,this.subject.observableObservation.subscribe(r=>this.observation=r),this.configService.observableConfig.subscribe(r=>{this.config=r})}ngOnInit(){this.observation.hasOwnProperty("operational")||(this.observation.operational={club:!0,op:!0,jumping:!0})}onChange(e){this.subject.update(this.observation)}};sw.ctorParameters=()=>[{type:Qa.F},{type:ws.j}],sw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-operational",template:FR,styles:[VR]})],sw);var YR=B(42002),WR=B(6879);let aw=class{constructor(e,t){this.configService=e,this.subject=t,this.debouncedUpdate=(0,Sl.D)(this.update,600),this.subject.observableObservation.subscribe(r=>this.observation=r),this.configService.observableConfig.subscribe(r=>{this.config=r})}ngOnInit(){this.observation.hasOwnProperty("categories")||(this.observation.categories=[])}update(){this.subject.update(this.observation)}hasCat(e){return this.observation.categories.indexOf(e)>-1}toggle(e){-1===this.observation.categories.indexOf(e)?(this.observation.categories.push(e),this.debouncedUpdate()):this.observation.categories.indexOf(e)>-1&&(this.observation.categories.splice(this.observation.categories.indexOf(e),1),this.debouncedUpdate())}};aw.ctorParameters=()=>[{type:Qa.F},{type:ws.j}],aw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-categories",template:YR,styles:[WR]})],aw);var qR=B(760),$R=B(68867);let O9=class{constructor(e,t,r,l,u,M){this.ntfService=e,this.alertService=t,this.confirmService=r,this.aclService=l,this.modalService=u,this.router=M,this.faBell=st.qmU,this.faBellRegular=Qs.qmU,this.faComments=Qs.lXL,this.faComment=st.Mzg,this.faCommenting=Qs.yfG,this.faExchange=st.W2X,this.faPaperPlane=st.XCy,this.faPlus=st.r8p,this.faRepeat=st.jHE,this.faRefresh=st.QDM,this.faBan=st.gPx,this.faLongArrowRight=st.b1y,this.faUserPlus=st.FKd,this.faUserTimes=st.iC0,this.faFloppyDisk=st.EdJ,this.faPaperPlaneRegular=Qs.XCy,this.faClock=Qs.SZw,this.faCheck=st.LEp,this.message_text="",this.show={save:!1,reminders:!0,messages:!0,workflow:!0,persons:!0,dummy:!1,e5x:!0},this.now=new Date,this.dataReady=!1,this.error=!1,this.is_reminding=!1,this.is_sending_msg=!1,this.current_acl_users=[],this.modalRecepients=[],this.onPaste=Nr.qn,M.events.filter(F=>F instanceof _r.OD).subscribe(F=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}ngOnInit(){this.getActivities(),this.getAclUsers()}getAclUsers(){this.aclService.getAclUsers(this.observation._model.type+"_observations",this.observation._id).subscribe(e=>{this.current_acl_users=e._items})}openReceipentsModal(e,t){this.modalRecepients=t,this.modalRef=this.modalService.open(e,{size:"lg"})}getActivities(e=!0){this.ntfService.getNotifications().subscribe(r=>{console.log("NOTIFICATIONS ONLY ME?",r)}),e&&(this.dataReady=!1);const t={query:{aggregate:{$event_from:this.observation._model.type+"_observations",$event_from_id:this.observation._id},sort:[{event_created:-1}],max_results:5e3}};this.ntfService.getEvents(t).subscribe(r=>{this.events=r._items,e&&(this.dataReady=!0)},r=>{this.alertService.error(r.message),this.error=!0,this.error_message=r,this.dataReady=!1},()=>{})}trackByRowId(e,t){return t._id}notify(){this.confirmService.confirm({title:"Vennligst bekreft",message:"Er du sikker p\xe5 at \xf8nsker sende en purring?",yes:"Ja",no:"Nei"}).then(()=>{this.is_reminding=!0,this.ntfService.reminder({event_from:this.observation._model.type+"_observations",event_from_id:this.observation._id}).subscribe(t=>{console.log(t),this.alertService.success("Purringen ble sendt",!1,!0,10),this.getActivities(!1)},t=>{console.log("ERR",t),this.alertService.error(t.error._error,!1,!0,10),this.is_reminding=!1},()=>{this.is_reminding=!1})},()=>{console.log("NO")})}sendMessage(){this.is_sending_msg=!0,this.ntfService.message({event_from:this.observation._model.type+"_observations",event_from_id:this.observation._id,message:this.message_text}).subscribe(e=>{console.log(e),this.alertService.success("Meldingen ble sendt",!1,!0,10),this.message_text="",this.getActivities(!1)},e=>{console.log("ERR",e),this.alertService.error(e.error._error,!1,!0,10),this.is_sending_msg=!1},()=>{this.is_sending_msg=!1})}};O9.ctorParameters=()=>[{type:Su},{type:ul.u},{type:_c.zM},{type:A4},{type:Fr.FF},{type:_r.F0}],O9.propDecorators={observation:[{type:i.IIB}]},O9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-activities-timeline",template:qR,styles:[$R]})],O9);var ZR=B(56850),XR=B(87288);let P9=class{constructor(e,t,r){this.modalService=e,this.aclService=t,this.orsService=r,this.persons=[],this.faLock=st.byT,this.faPlus=st.r8p,this.faSave=st.r6l}ngOnInit(){this.orsService.setActivity(this.observation._model.type),this.acl_persons=this.observation.acl.read.users.concat(this.observation.acl.write.users.filter(e=>this.observation.acl.read.users.indexOf(e)<0)),console.log("this.acl_persons",this.acl_persons)}save(){this.modalRef.close()}_message(e,t){this.message={msg:e,type:t},setTimeout(()=>{this.message=void 0},5e3)}toggleAcl(e,t,r){console.log("EVENT CHECKED?? ",r.target.checked),r.target.checked?this.orsService.addAclUser(this.observation._id,t,e).subscribe(l=>{this._message("Successfully added user","success"),console.log("Successfully added user",e)},l=>{this._message("Error adding user","danger"),console.log("Failure for ",e,l)}):r.target.checked||this.orsService.removeAclUser(this.observation._id,t,e).subscribe(l=>{this._message("Removed user","success"),console.log("Successfully removed user",e)},l=>{this._message("Error removing user","danger"),console.log("Failure for ",e,l)})}addPerson(){this.new_person&&(this.acl_persons.push(this.new_person.id),this.new_person=void 0)}openModal(e){this.aclService.getAclUserList(this.model+"_observations",this._id).subscribe(t=>{this.acl_list=t,this.persons=t.read.concat(t.write.filter(r=>t.read.indexOf(r)<0)),this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})},t=>console.log("ACL User list",t),()=>{})}};P9.ctorParameters=()=>[{type:Fr.FF},{type:A4},{type:zn.Z}],P9.propDecorators={model:[{type:i.IIB}],_id:[{type:i.IIB}],observation:[{type:i.IIB}]},P9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-users",template:ZR,styles:[XR]})],P9);var QR=B(34245),eN=B(43175);let z9=class{constructor(e){this.apiWorkflow=e,this.workflowColors={init:"b-primary",send_to_hi:"b-success",approve_hi:"b-success",reject_hi:"b-danger",approve_fs:"b-success",reject_fs:"b-danger",approve_su:"b-success",reject_su:"b-danger",withdraw:"b-dark",reopen:"b-warning",reopen_su:"b-warning"}}ngOnInit(){this.apiWorkflow.setActivity(this.activity),this.apiWorkflow.getMapping(this._id).subscribe(e=>{this.workflowActions=e,this.workflowActions.hasOwnProperty("init")||(this.workflowActions.init={title:"Opprettet",descr:"Ble Opprettet"})},e=>console.log(e),()=>{}),this.vlink||(this.vlink=!0)}};z9.ctorParameters=()=>[{type:Zf}],z9.propDecorators={workflow:[{type:i.IIB}],activity:[{type:i.IIB}],_id:[{type:i.IIB}],vlink:[{type:i.IIB}]},z9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-workflow-timeline",template:QR,styles:[eN]})],z9);var nN=B(47171),iN=B(45021);let R9=class{constructor(){this.askValues=[{key:"knowledge",label:"Kunnskaper",nick:"K"},{key:"skills",label:"Ferdigheter",nick:"F"},{key:"attitude",label:"Holdninger",nick:"H"}]}ngOnInit(){void 0===this.ask&&(this.ask={attitude:0,skills:0,knowledge:0,text:{}})}isPositive(e){return!!this.ask&&+this.ask[e]>0}isNegative(e){return!!this.ask&&+this.ask[e]<0}isNeutral(e){return!this.ask||0==+this.ask[e]}};R9.ctorParameters=()=>[],R9.propDecorators={ask:[{type:i.IIB}],verbose:[{type:i.IIB}]},R9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-ask",template:nN,styles:[iN]})],R9);var oN=B(90705),sN=B(88153);let N9=class{constructor(e,t,r){this.domSanitizer=e,this.router=t,this.configService=r,this.audit=[],this.excludes=[],this.checked=!1,this.person_mappings={},this.dataReady=!1}ngOnInit(){this.configService.observableConfig.subscribe(e=>{this.config=e;try{this.roles=this.config[this.activity].observation.stateRoles}catch(t){this.roles={draft:"Observat\xf8r"},console.log("ERR stateRoles ",t)}this.fixMapping()},e=>{})}fixMapping(){for(let e=0;e<this.audit.length;e++)null==this.audit[e].s&&"draft"===this.audit[e].d?this.person_mappings.draft=this.audit[e].u:Object.keys(this.person_mappings).indexOf(this.audit[e].s)<0&&(this.person_mappings[this.audit[e].s]=this.audit[e].u);this.dataReady=!0,console.log("Preererwer",this.person_mappings)}ngAfterContentChecked(){if(!this.checked){let e=document.getElementsByClassName("macrolink");for(let t=0;t<e.length;t++)e[t].attributes&&e[t].attributes["data-url"]&&e[t].addEventListener("click",r=>{r.originalTarget.attributes["data-url"].value&&this.router.navigate([r.originalTarget.attributes["data-url"].value])})}}};N9.ctorParameters=()=>[{type:i1.H7},{type:_r.F0},{type:Qa.F}],N9.propDecorators={comments:[{type:i.IIB}],audit:[{type:i.IIB}],activity:[{type:i.IIB}],excludes:[{type:i.IIB}]},N9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-ask-text",template:oN,styles:[sN]})],N9);var lN=B(67354),cN=B(76646);let H9=class{constructor(){this.format="horizontal"}ngOnInit(){}};H9.ctorParameters=()=>[],H9.propDecorators={actions:[{type:i.IIB}],format:[{type:i.IIB}]},H9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-actions",template:lN,styles:[cN]})],H9);var uN=B(82959),hN=B(84849);let B9=class{constructor(){}ngOnInit(){}};B9.ctorParameters=()=>[],B9.propDecorators={related:[{type:i.IIB}]},B9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-related",template:uN,styles:[hN]})],B9);var pN=B(70951),gN=B(10496);let j9=class{constructor(e){this.modalService=e,this.faCommenting=Qs.yfG}ngOnInit(){}openModal(e,t){this.modal={title:t,data:this.weather.auto[t]||[]},this.modalRef=this.modalService.open(e,{size:"lg"})}};j9.ctorParameters=()=>[{type:Fr.FF}],j9.propDecorators={weather:[{type:i.IIB}]},j9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-weather",template:pN,styles:[gN]})],j9);var vN=B(8033),_N=B(15112);let F9=class{constructor(e,t){this.apiFile=e,this.authDataSubject=t,this.doNotShowRestricted=!1,this.filelist=[],this.dataReady=!1,this.faDownload=st.q7m,this.faLock=st.byT,this.faUnlock=st.tAh,this.authDataSubject.observableAuthData.subscribe(r=>{r&&(this.token=r.token)},r=>console.log("Problem getting token: ",r))}ngOnInit(){this.doNotShowRestricted&&(console.log("Onlypublic"),this.files=this.files.filter(e=>!1===e.r)),this.files.length>0?this.getFiles():this.dataReady=!0}download(e){this.apiFile.downloadFile(e)}getFiles(){let e=0;this.dataReady=!1;const t={query:{projection:{file:0}}};this.files.forEach(r=>{this.apiFile.getFile(r.f,t).subscribe(l=>{l.r=r.r,l.download=this.apiFile.getDirectLink(l._id)+"?token="+this.token,this.filelist.push(l)},l=>e++,()=>{e++,e===this.files.length&&(console.log(e),this.dataReady=!0)})})}};F9.ctorParameters=()=>[{type:H8.t},{type:af.W}],F9.propDecorators={files:[{type:i.IIB}],state:[{type:i.IIB}],doNotShowRestricted:[{type:i.IIB}]},F9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-files",template:vN,styles:[_N]})],F9);var yN=B(16035),xN=B(18055);let V9=class{constructor(){this.componentCollapsed=!1,this.faRandom=st.V$d,this.faAmbulance=st.JUp,this.faGavel=st.JHj,this.faPlusSquare=st.CPW,this.faMinusSquare=st.El_}ngOnInit(){}_isEmpty(e){return!(""!=e.what&&e.what||""!=e.how&&e.how||0!=e.involved.length||!(0,qi.isEmpty)(e.attributes)||!(0,qi.isEmpty)(e.flags)||!(0,qi.isEmpty)(e.where))}filter_empty(e){return this.components.filter(t=>!this._isEmpty(t))}};V9.ctorParameters=()=>[],V9.propDecorators={components:[{type:i.IIB}],activity:[{type:i.IIB}],componentCollapsed:[{type:i.IIB}]},V9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-report-components-timeline",template:yN,styles:[xN]})],V9);var wN=B(38800),MN=B(75150);let U9=class{constructor(e,t,r){this.apiFile=e,this.domSanitizer=t,this.modalService=r,this.faChevronLeft=st.A35,this.faChevronRight=st._tD,this.faSpinner=st.LM3,this.thumbnails=[],this.dataReady=!1,this.viewImageLoading=!1,this.viewImageName="",this.viewImageData={idx:0,num:0}}ngOnInit(){this.size||(this.size="small"),this.filelist.length>0?this.getThumbnails():this.dataReady=!0}getThumbnails(){let e=0;this.filelist.forEach(t=>{(0,qi.has)(t,"content_type")&&null!=t.content_type.match(/image/g)?this.apiFile.getImage(t._id,this.size).subscribe(r=>{this.thumbnails.push({src:"data:"+r.mimetype+";charset=utf8;base64,"+r.src,_id:t._id,filename:t.name,filesize:t.size})},r=>{console.log("Error getting image "+t._id+" "+t.name)},()=>{e++,e===this.filelist.length&&(this.dataReady=!0)}):(e++,e===this.filelist.length&&(this.dataReady=!0))})}getModalImage(e){e<0?e=this.thumbnails.length-1:e>=this.thumbnails.length&&(e=0),this.viewImageData.idx=e,this.viewImageData.num=this.thumbnails.length,this.viewImageLoading=!0,this.viewImageName="Laster bilde...",this.apiFile.getImage(this.thumbnails[e]._id,"large").subscribe(t=>{this.viewimage={src:"data:"+t.mimetype+";charset=utf8;base64,"+t.src,name:this.thumbnails[e].filename,size:this.thumbnails[e].filesize},this.viewImageName=this.thumbnails[e].filename,this.viewImageLoading=!1},t=>console.log(t),()=>this.viewImageLoading=!1)}openModal(e,t,r){this.viewImageData.idx=r,this.viewImageData.num=this.thumbnails.length,this.viewImageLoading=!0,this.viewImageName="Laster bilde...",this.modalRef=this.modalService.open(e,{size:"lg"}),this.apiFile.getImage(t._id,"large").subscribe(l=>{this.viewimage={src:"data:"+l.mimetype+";charset=utf8;base64,"+l.src,name:t.filename,size:t.filesize},this.viewImageName=t.filename,this.viewImageLoading=!1},l=>console.log(l),()=>this.viewImageLoading=!1)}};U9.ctorParameters=()=>[{type:H8.t},{type:i1.H7},{type:Fr.FF}],U9.propDecorators={filelist:[{type:i.IIB}],size:[{type:i.IIB}]},U9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-files-thumbnails",template:wN,styles:[MN]})],U9);var SN=B(9895),kN=B(99499);let Y9=class{constructor(){this.mapOptions={drawControl:!1,layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12,center:(0,Zi.latLng)(59.9,10.9)},this.mapCenter=(0,Zi.latLng)(59.9,10.9),this.colors=["blue","orange","green","yellow","grey","black","red"]}ngOnInit(){}_mkIcon(e){return(0,Zi.icon)({iconUrl:"assets/leaflet/"+this._getColorFromAcIndex(e)+".png",shadowUrl:"leaf-shadow.png",iconSize:[25,39],shadowSize:[25,39],iconAnchor:[12.5,39],shadowAnchor:[4,39],popupAnchor:[0,-40]})}_getColorFromAcIndex(e){return this.colors[e]||this.colors[0]}_path2LatLng(e){let t=[];return e.forEach(r=>{t.push((0,Zi.latLng)(r[1],r[0]))}),t}onMapReady(e){this.map=e,this.layer=(0,Zi.featureGroup)(),this.aircraft.forEach((t,r)=>{this._getColorFromAcIndex(Math.floor(1e3*Math.random()));t.flight.forEach(M=>{console.log("Adding layers"),this.layer.addLayer((0,Zi.polyline)(this._path2LatLng(M.path),{color:this._getColorFromAcIndex(r),weight:2,opacity:1,smoothFactor:1}))});const u=t.flight.find(M=>void 0!==M);u&&u.path&&(this.layer.addLayer(new Zi.Marker((0,Zi.latLng)(u.path[0][1],u.path[0][0]),{icon:this._mkIcon(r)}).bindPopup("Take-off "+t.aircraft.callsign)),this.layer.addLayer(new Zi.Marker((0,Zi.latLng)(t.flight[t.flight.length-1].path[1][1],t.flight[t.flight.length-1].path[1][0]),{icon:this._mkIcon(r)}).bindPopup("Landing "+t.aircraft.callsign)))}),this.layer.addLayer(new Zi.Marker((0,Zi.latLng)(this.where[0],this.where[1]),{icon:this._mkIcon(6)}).bindPopup("Incident")),this.layer.addTo(this.map),this.map.fitBounds(this.layer.getBounds().pad(.5)),this.map.invalidateSize()}};Y9.ctorParameters=()=>[],Y9.propDecorators={aircraft:[{type:i.IIB}],where:[{type:i.IIB}]},Y9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-flight-map",template:SN,styles:[kN]})],Y9);var EN=B(96096),DN=B(42666);let W9=class{constructor(e){this.modalService=e,this.ENV=W2.N,this.faHistory=st.qO$,this.faDownload=st.q7m,this.faFileAlt=Qs.cwv}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}closeModal(){this.modalRef.close()}};W9.ctorParameters=()=>[{type:Fr.FF}],W9.propDecorators={observation:[{type:i.IIB}]},W9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-report-e5x",template:EN,styles:[DN]})],W9);var AN=B(49221),ON=B(82181);let G9=class{constructor(){}ngOnInit(){}};G9.ctorParameters=()=>[],G9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-main",template:AN,styles:[ON]})],G9);var zN=B(1420),RN=B(40729);let q9=class{constructor(e,t,r){this.subject=e,this.clubService=t,this.geoLocationService=r,this.isLocationICAOString=!1,this.locations=[],this.selected="",this.dataReady=!1,this.lines=[],this.faEdit=st.Xcf,this.userGeo={geo:{type:"Point",coordinates:[59.9,10.9]}},this.mapOptions={layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12},this.mapReady=!1}ngOnInit(){this.locationChooser=new yc.NI;const e={query:{projection:{locations:1}}};(0,Ha.D)([this.subject.observableObservation.subscribe(t=>{var r,l;if(this.observation&&(0,qi.isEqual)(null===(r=this.observation)||void 0===r?void 0:r.location,null==t?void 0:t.location))this.observation=t;else{t&&(this.observation=t),"string"==typeof(null===(l=null==t?void 0:t.location)||void 0===l?void 0:l.icao)&&(this.isLocationICAOString=!0),(0,qi.has)(t,"discipline")&&t.discipline&&this.clubService.getClub(t.discipline,e).subscribe(u=>{console.log("Club locations:"),console.log(u),this.locations=u.locations,(!t.location||!t.location.nickname)&&this.locations.length>0&&(this.observation.location=this.locations[0],this.subject.update(this.observation),this.selected=this.observation.location.nickname)},u=>{console.log("ERROR doing clubservice",u)},()=>{this.mapOptions.center=(0,Zi.latLng)(this.observation.location.geo.coordinates[0]||this.userGeo.geo.coordinates[0],this.observation.location.geo.coordinates[1]||this.userGeo.geo.coordinates[1])});try{this.selected=this.observation.location.nickname}catch(u){this.selected=void 0}try{this.mapOptions.center=(0,Zi.latLng)(this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1])}catch(u){}}}),this.dataReady=!0]),this.getClubLocations()}ngAfterViewInit(){this.locationChooser.valueChanges.subscribe(e=>{var t;this.selected=e;for(let r=0;r<this.locations.length;r++)if((null===(t=this.locations[r])||void 0===t?void 0:t.nickname)===e&&e!=this.observation.location.nickname){if(this.isLocationICAOString)try{"string"!=typeof this.locations[r].icao&&(this.locations[r].icao=this.locations[r].icao.icao)}catch(l){}this.observation.location=Object.assign({},this.locations[r]),this.subject.update(this.observation),this.goTo(this.observation.location)}})}hasMapCoordinates(){try{if(this.observation.location.geo.coordinates&&this.observation.location.geo.coordinates.length>0)return!0}catch(e){}return!1}getClubLocations(){}goTo(e){console.log("LOCATION",e);const t={title:e.name,riseOnHover:!0};try{this.marker.setLatLng((0,Zi.latLng)(e.geo.coordinates[0],e.geo.coordinates[1])),this.mapCenter=(0,Zi.latLng)(e.geo.coordinates[0],e.geo.coordinates[1]),this.marker.options=t}catch(r){this.marker.setLatLng((0,Zi.latLng)(this.userGeo.geo.coordinates[0],this.userGeo.geo.coordinates[1])),this.marker.options.title="Din plassering fra GPS",this.mapCenter=(0,Zi.latLng)(this.userGeo.geo.coordinates[0],this.userGeo.geo.coordinates[1])}}setDefault(){}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onMapReady(e){console.log("MAP READY"),this.map=e;const t={title:this.observation.location.name,riseOnHover:!0,draggable:!0};try{this.marker=new Zi.Marker((0,Zi.latLng)(this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1]),t)}catch(r){console.log("No location set")}this.marker.on("dragend",r=>{this.onDragEnd(r,t)}),this.marker.addTo(this.map)}onDragEnd(e,t){const{lat:r,lng:l}=e.target.getLatLng();console.log("DRAGEND",e),this.observation.location.geo={type:"Point",coordinates:[this.toFloat(r),this.toFloat(l)]},this.subject.update(this.observation),this.map.panTo((0,Zi.latLng)(r,l)),this.marker.remove(),this.marker=new Zi.Marker((0,Zi.latLng)(r,l),t),this.marker.on("dragend",u=>{this.onDragEnd(u,t)}),this.marker.addTo(this.map)}};q9.ctorParameters=()=>[{type:ws.j},{type:Jv.R},{type:og.u}],q9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-editor-location",template:zN,styles:[RN]})],q9);var HN=B(49347),BN=B(88818);let $9=class{constructor(e,t){this.subject=e,this.involvedSubject=t,this.devDebug=!1,this.faExclamation=st.WV2,this.involvedSubject.currentArr.subscribe(r=>{this.involved=r}),this.subject.observableObservation.subscribe(r=>{this.observation=r;try{this.updateInvolved()}catch(l){}})}ngOnInit(){}updateInvolved(){Object.keys(this.observation.organization).forEach(e=>{console.log("KEY",e),this.observation.organization[e]&&this.observation.organization[e].forEach(t=>{Number.isInteger(t)?this.involvedSubject.add(t):this.involvedSubject.add(t.id,t.full_name||t.tmp_name||void 0)})})}update(e){this.updateInvolved(),this.subject.update(this.observation)}add(e){console.log("Adding",e)}};$9.ctorParameters=()=>[{type:ws.j},{type:w2}],$9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-editor-organization",template:HN,styles:[BN]})],$9);var FN=B(16422),VN=B(21091);let K9=class{constructor(e,t,r,l){this.subject=e,this.involvedService=t,this.modalService=r,this.calendar=l,this.deleteExternal=!1,this.faCheck=st.LEp,this.faExclamation=st.WV2,this.faBan=st.gPx,this.faTimes=st.NBC,this.faEdit=st.Xcf,this.faCalendar=st.fT7,this.today=this.calendar.getToday(),this.subject.observableObservation.subscribe(u=>{this.observation=u,this.involved||(this.involved=[...this.observation.involved],this.involved.forEach(M=>{this.involvedService.add(M.id,M.full_name||M.tmp_name||void 0)}))})}ngOnInit(){}onChange(e){this.observation.involved.length>this.involved.length?this.involvedService.remove(this.observation.involved.map(t=>t.id).filter(t=>this.involved.map(r=>r.id).indexOf(t)<0)[0]):this.observation.involved.length<this.involved.length&&this.involvedService.add(this.involved.map(t=>t.id).filter(t=>this.observation.involved.map(r=>r.id).indexOf(t)<0)[0],this.involved.map(t=>t.tmp_name||void 0).filter(t=>this.observation.involved.map(r=>r.tmp_name||void 0).indexOf(t)<0)[0]),this.observation.involved=[...this.involved],this.observation.involved=this.observation.involved.filter(t=>(delete t.full_name,!0)),this.subject.update(this.observation)}onRemove(e){console.log("Removal index",e,this.observation.involved[e]),console.log(this.observation.involved.length),this.deleteExternal=!0,this.involvedService.remove(this.involved[e].id),this.involved.splice(e,1),this.involved=[...this.involved],this.onChange(!0)}openPersonModal(e,t){this.modalIndex=t,this.modalPerson=this.involved[t],this.modalPerson.hasOwnProperty("data")||(this.modalPerson.data={}),this.modalPerson.data.hasOwnProperty("gear")||(this.modalPerson.data.gear={}),this.modalRef=this.modalService.open(e,{size:"lg"})}modalInvolvedUpdate(e){this.involved[e]=this.modalPerson,this.onChange(!0),this.modalRef.close()}};K9.ctorParameters=()=>[{type:ws.j},{type:w2},{type:Fr.FF},{type:Fr.vL}],K9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-editor-involved",template:FN,styles:[VN]})],K9);var YN=B(78435),WN=B(55925);let lw=class{constructor(e,t,r,l){this.route=e,this.router=t,this.orsService=r,this.modalService=l,this.faSave=st.r6l,this.faFilter=st.G_j,this.faDownload=st.q7m,this.faPlane=st.wKO,this.faLongArrowRight=st.b1y,this.dataReady=!1,this.err=!1,this.searching=!1,this.query={where:{}},this.activity="fallskjerm",this.filter={id:void 0},this.filterOperator="$or",this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.orsService.setActivity(this.activity),this.route.queryParams.subscribe(u=>{if((0,qi.isEmpty)(this.query.where)&&u.where){this.query.where=JSON.parse(u.where);for(let M in this.query.where)if("$text"===M)this.text=this.query.where.$text.$search,console.log("Text",this.text);else if("$or"===M||"$and"===M)for(let F of this.query.where[M])for(let _e in F)this.filter[_e]=F[_e];else this.filter[M]=this.query.where[M];this.update()}})}ngOnInit(){this.update()}getQuery(){let e={};for(let t in this.query)e[t]=JSON.stringify(this.query[t]);return e}reset(){this.text=void 0;for(let e in this.filter)this.filter[e]=void 0;for(let e in this.query)this.query[e]={};this.router.navigate([],{relativeTo:this.route,queryParams:{}}),this.update()}exportTojson(){let e=this.result||[];return(0,Q3.saveAs)(new Blob([JSON.stringify(e,null,2)],{type:"JSON"}),"query.json")}update(){this.searching=!0;let e={query:{where:{}}};this.text&&""!=this.text.replace(/\W/g,"")?e.query.where=Object.assign(Object.assign(Object.assign({},e.query.where),this.query.where),{$text:{$search:this.text}}):!!this.query.where&&this.query.where.hasOwnProperty("$text")&&(delete this.query.where.$text,e.query.where=Object.assign(Object.assign({},e.query.where),this.query.where)),e.query.where.$or=[];for(let t in this.filter)this.filter[t]&&this.filter[t].length>0&&(0===this.filter[t].lastIndexOf("+",0)?e.query.where[t]=this.filter[t].slice(1):this.filter[t].length>0&&e.query.where.$or.push({[t]:this.filter[t]}));this.query=(0,Nr.sW)(e.query,!0),console.log("Cleaned before",(0,Nr.sW)(e.query,!0)),this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.err=!1,this.result=t},t=>{this.err=!0},()=>{this.dataReady=!0,this.router.navigate([],{relativeTo:this.route,queryParams:this.getQuery()}),this.searching=!1})}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg"})}};lw.ctorParameters=()=>[{type:_r.gz},{type:_r.F0},{type:zn.Z},{type:Fr.FF}],lw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-search",template:YN,styles:[WN]})],lw);var qN=B(13865),$N=B(30466);let Z9=class{constructor(e,t,r,l,u,M,F,_e){this.orsService=e,this.orgService=t,this.configService=r,this.modalService=l,this.router=u,this.ntfService=M,this.alertService=F,this.confirmService=_e,this.faTimes=st.NBC,this.faBell=st.qmU,this.faCommenting=Qs.yfG,this.faComments=Qs.lXL,this.faExchange=st.W2X,this._dateRange=[],this.dataReady=!1,this.filter={club:null,discipline:null,type:null,state:null},this.columns=[{key:"id",title:"ID",sort:!0},{key:"when",title:"Tid",sort:!0},{key:"tags",title:"Tittel",sort:!0},{key:"reporter",title:"Observat\xf8r",sort:!0},{key:"rating._rating",title:"Rating",sort:!0},{key:"workflow.state",title:"Status",sort:!0},{key:"type",title:"Type",sort:!0},{title:"Tools"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}],this.router.events.filter(Le=>Le instanceof _r.OD).subscribe(Le=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}set dateRange(e){this._dateRange=e;try{this.getData()}catch(t){}}ngOnInit(){this.tableConf=Object.assign({},x6.c),this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.orsService.setActivity(this.activity),this.filter.discipline=this.discipline,this.configService.observableConfig.subscribe(e=>{this.config=e,this.getData()})}eventEmitted(e){this.parseEvent(e)}openModal(e,t){this.modalObservation=t,this.modalRef=this.modalService.open(e,{size:"lg"})}closeModal(){this.modalObservation=void 0,this.modalRef.close()}notify(e){const t={title:"Vennligst bekreft",message:"Er du sikker p\xe5 at \xf8nsker sende en purring for <strong>#"+e.id+" "+e.tags.join("/")+"</strong>?",yes:"Ja",no:"Nei"};this.confirmService.confirm(t).then(()=>{this.ntfService.reminder({event_from:e._model.type+"_observations",event_from_id:e._id}).subscribe(r=>{console.log(r),this.alertService.success("Purringen ble sendt",!1,!0,10)},r=>{this.alertService.error(r.error._error,!1,!0,10)},()=>{})},()=>{console.log("NO")})}stateChooser(e){e.target.value&&""!=e.target.value?this.filter.state=e.target.value:this.filter.state=null,this.getData()}typeChooser(e){console.log("EVENT type",e),e.target.value&&""!=e.target.value?this.filter.type=e.target.value:this.filter.type=null,console.log("Filter Type",this.filter.type),this.getData()}getWhere(){let e={};return 2===this._dateRange.length&&(e={when:{$gte:this._dateRange[0].toISOString(),$lte:this._dateRange[1].toISOString()}}),Object.keys(this.filter).forEach(t=>{this.filter[t]&&null!==this.filter[t]&&("state"===t?e["workflow.state"]=this.filter[t]:e[t]=this.filter[t])}),e}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.getData()),"onOrder"===e.event&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.getData()}}getData(){this.tableConf.isLoading=!0;let e={query:{where:this.getWhere(),page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>{this.tableConf.isLoading=!1,this.dataReady=!0})}exportToCSV(){new zm.ExportToCsv({fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,showTitle:!1,useTextFile:!1,useBom:!0,useKeysAsHeaders:!0}).generateCsv(this.data)}};Z9.ctorParameters=()=>[{type:zn.Z},{type:Dh.u},{type:Qa.F},{type:Fr.FF},{type:_r.F0},{type:Su},{type:ul.u},{type:_c.zM}],Z9.propDecorators={activity:[{type:i.IIB}],discipline:[{type:i.IIB}],dateRange:[{type:i.IIB}]},Z9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-dashboard-table",template:qN,styles:[$N]})],Z9);var ZN=B(50393),XN=B(86919);let f_=class{constructor(){this.verbose=!0}ngOnInit(){}};f_.ctorParameters=()=>[],f_.propDecorators={involved:[{type:i.IIB}],model:[{type:i.IIB}],verbose:[{type:i.IIB}]},f_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-report-involved",template:ZN,styles:[XN]})],f_);var QN=B(83025),eH=B(26125);let p_=class{constructor(){}ngOnInit(){}};p_.ctorParameters=()=>[],p_.propDecorators={organization:[{type:i.IIB}]},p_=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-report-organization",template:QN,styles:[eH]})],p_);var nH=B(80709),iH=B(17673);let X9=class{constructor(){this.numberOfInvolved=0}ngOnInit(){!!this.observation.involved&&this.observation.involved instanceof Array&&(this.numberOfInvolved=this.observation.involved.length),this.observation.workflow.last_transition&&("closed"===this.observation.workflow.state?this.turnaround=ha.duration(+ha(this.observation.workflow.last_transition)-+ha(this.observation._created)).humanize():this.turnaround=ha.duration(+ha()-+ha(this.observation._created)).humanize())}};X9.ctorParameters=()=>[],X9.propDecorators={observation:[{type:i.IIB}]},X9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-fallskjerm-report-summary",template:nH,styles:[iH]})],X9);var oH=B(47852),sH=B(57251);let cw=class{constructor(){}ngOnInit(){}};cw.ctorParameters=()=>[],cw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-main",template:oH,styles:[sH]})],cw);var lH=B(7909),cH=B(97483);let dw=class{constructor(e,t,r){this.subject=e,this.clubService=t,this.geoLocationService=r,this.isLocationICAOString=!1,this.locations=[],this.selected="",this.dataReady=!1,this.lines=[],this.faEdit=st.Xcf,this.userGeo={geo:{type:"Point",coordinates:[59.9,10.9]}},this.mapOptions={layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12},this.mapReady=!1}ngOnInit(){this.locationChooser=new yc.NI;const e={query:{projection:{locations:1}}};(0,Ha.D)([this.subject.observableObservation.subscribe(t=>{var r,l;if(this.observation&&(0,qi.isEqual)(null===(r=this.observation)||void 0===r?void 0:r.location,null==t?void 0:t.location))this.observation=t;else{t&&(this.observation=t),"string"==typeof(null===(l=null==t?void 0:t.location)||void 0===l?void 0:l.icao)&&(this.isLocationICAOString=!0),(0,qi.has)(t,"discipline")&&t.discipline&&this.clubService.getClub(t.discipline,e).subscribe(u=>{console.log("Club locations:"),console.log(u),this.locations=u.locations,(!t.location||!t.location.nickname)&&this.locations.length>0&&(this.observation.location=this.locations[0],this.subject.update(this.observation),this.selected=this.observation.location.nickname)},u=>{console.log("ERROR doing clubservice",u)},()=>{this.mapOptions.center=(0,Zi.latLng)(this.observation.location.geo.coordinates[0]||this.userGeo.geo.coordinates[0],this.observation.location.geo.coordinates[1]||this.userGeo.geo.coordinates[1])});try{this.selected=this.observation.location.nickname}catch(u){this.selected=void 0}try{this.mapOptions.center=(0,Zi.latLng)(this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1])}catch(u){}}}),this.dataReady=!0]),this.getClubLocations()}ngAfterViewInit(){this.locationChooser.valueChanges.subscribe(e=>{var t;this.selected=e;for(let r=0;r<this.locations.length;r++)if((null===(t=this.locations[r])||void 0===t?void 0:t.nickname)===e&&e!=this.observation.location.nickname){if(this.isLocationICAOString)try{"string"!=typeof this.locations[r].icao&&(this.locations[r].icao=this.locations[r].icao.icao)}catch(l){}this.observation.location=Object.assign({},this.locations[r]),this.subject.update(this.observation),this.goTo(this.observation.location)}})}hasMapCoordinates(){try{if(this.observation.location.geo.coordinates)return!0}catch(e){}return!1}getClubLocations(){}goTo(e){console.log("LOCATION",e);const t={title:e.name,riseOnHover:!0};try{this.marker.setLatLng((0,Zi.latLng)(e.geo.coordinates[0],e.geo.coordinates[1])),this.mapCenter=(0,Zi.latLng)(e.geo.coordinates[0],e.geo.coordinates[1]),this.marker.options=t}catch(r){this.marker.setLatLng((0,Zi.latLng)(this.userGeo.geo.coordinates[0],this.userGeo.geo.coordinates[1])),this.marker.options.title="Din plassering fra GPS",this.mapCenter=(0,Zi.latLng)(this.userGeo.geo.coordinates[0],this.userGeo.geo.coordinates[1])}}setDefault(){}toFloat(e){return"number"==typeof e?e:parseFloat(e)}onMapReady(e){console.log("MAP READY"),this.map=e;const t={title:this.observation.location.name,riseOnHover:!0,draggable:!0};try{this.marker=new Zi.Marker((0,Zi.latLng)(this.observation.location.geo.coordinates[0],this.observation.location.geo.coordinates[1]),t)}catch(r){console.log("No location set")}this.marker.on("dragend",r=>{this.onDragEnd(r,t)}),this.map.on("click",r=>{console.log(r),this.marker.remove(),this.marker=new Zi.Marker(r.latlng,t),this.marker.on("dragend",l=>{this.onDragEnd(l,t)}),this.marker.addTo(this.map)}),this.marker.addTo(this.map)}onDragEnd(e,t){const{lat:r,lng:l}=e.target.getLatLng();console.log("DRAGEND",e),this.observation.location.geo={type:"Point",coordinates:[this.toFloat(r),this.toFloat(l)]},this.subject.update(this.observation),this.map.panTo((0,Zi.latLng)(r,l)),this.marker.remove(),this.marker=new Zi.Marker((0,Zi.latLng)(r,l),t),this.marker.on("dragend",u=>{this.onDragEnd(u,t)}),this.marker.addTo(this.map)}};dw.ctorParameters=()=>[{type:ws.j},{type:Jv.R},{type:og.u}],dw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor-location",template:lH,styles:[cH]})],dw);var uH=B(16206),hH=B(18699);let uw=class{constructor(e,t){this.subject=e,this.involvedSubject=t,this.devDebug=!1,this.faExclamation=st.WV2,this.involvedSubject.currentArr.subscribe(r=>{this.involved=r}),this.subject.observableObservation.subscribe(r=>{this.observation=r;try{this.updateInvolved()}catch(l){}})}ngOnInit(){}updateInvolved(){Object.keys(this.observation.organization).forEach(e=>{console.log("KEY",e),this.observation.organization[e]&&this.observation.organization[e].forEach(t=>{Number.isInteger(t)?this.involvedSubject.add(t):this.involvedSubject.add(t.id,t.full_name||t.tmp_name||void 0)})})}update(e){this.updateInvolved(),this.subject.update(this.observation)}add(e){console.log("Adding",e)}};uw.ctorParameters=()=>[{type:ws.j},{type:w2}],uw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor-organization",template:uH,styles:[hH]})],uw);var pH=B(62235),gH=B(33464);let hw=class{constructor(e,t,r,l,u){this.subject=e,this.involvedService=t,this.modalService=r,this.calendar=l,this.configService=u,this.deleteExternal=!1,this.faCheck=st.LEp,this.faExclamation=st.WV2,this.faBan=st.gPx,this.faTimes=st.NBC,this.faEdit=st.Xcf,this.faCalendar=st.fT7,this.faTruckMedical=st.exp,this.faHouseMedicalCircleExclamation=st.hL0,this.faPencil=st.TzT,this.today=this.calendar.getToday(),(0,Ha.D)([this.configService.observableConfig.subscribe(M=>{this.config=M}),this.subject.observableObservation.subscribe(M=>{this.observation=M,this.involved||(this.involved=[...this.observation.involved],this.involved.forEach(F=>{this.involvedService.add(F.id,F.full_name||F.tmp_name||void 0)}))})])}ngOnInit(){}onChange(e){var t;this.observation.involved.length>this.involved.length?this.involvedService.remove(this.observation.involved.map(r=>r.id).filter(r=>this.involved.map(l=>l.id).indexOf(r)<0)[0]):this.observation.involved.length<this.involved.length&&(this.involvedService.add(this.involved.map(r=>r.id).filter(r=>this.observation.involved.map(l=>l.id).indexOf(r)<0)[0],this.involved.map(r=>r.tmp_name||void 0).filter(r=>this.observation.involved.map(l=>l.tmp_name||void 0).indexOf(r)<0)[0]),(null===(t=this.involved)||void 0===t?void 0:t.data)||(this.involved.data={})),this.observation.involved=[...this.involved],this.observation.involved=this.observation.involved.filter(r=>(delete r.full_name,!0)),this.subject.update(this.observation)}onRemove(e){console.log("Removal index",e,this.observation.involved[e]),console.log(this.observation.involved.length),this.deleteExternal=!0,this.involvedService.remove(this.involved[e].id),this.involved.splice(e,1),this.involved=[...this.involved],this.onChange(!0)}openPersonModal(e,t){this.modalIndex=t,this.modalPerson=this.involved[t],this.modalPerson.hasOwnProperty("data")||(this.modalPerson.data={}),this.modalPerson.data.hasOwnProperty("gear")||(this.modalPerson.data.gear={}),this.modalRef=this.modalService.open(e,{size:"lg"})}modalInvolvedUpdate(e){this.involved[e]=this.modalPerson,this.onChange(!0),this.modalRef.close()}};hw.ctorParameters=()=>[{type:ws.j},{type:w2},{type:Fr.FF},{type:Fr.vL},{type:Qa.F}],hw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor-involved",template:pH,styles:[gH]})],hw);var vH=B(51838),_H=B(31909);let J9=class{constructor(e,t,r,l,u,M,F,_e){this.orsService=e,this.orgService=t,this.configService=r,this.modalService=l,this.router=u,this.ntfService=M,this.alertService=F,this.confirmService=_e,this.faTimes=st.NBC,this.faBell=st.qmU,this.faCommenting=Qs.yfG,this.faComments=Qs.lXL,this.faExchange=st.W2X,this._dateRange=[],this.dataReady=!1,this.filter={club:null,discipline:null,type:null,state:null},this.columns=[{key:"id",title:"ID",sort:!0},{key:"when",title:"Tid",sort:!0},{key:"tags",title:"Tittel",sort:!0},{key:"reporter",title:"Observat\xf8r",sort:!0},{key:"rating._rating",title:"Rating",sort:!0},{key:"workflow.state",title:"Status",sort:!0},{key:"type",title:"Type",sort:!0},{title:"Tools"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:-1}],this.router.events.filter(Le=>Le instanceof _r.OD).subscribe(Le=>{this.modalService.hasOpenModals()&&this.modalService.dismissAll()})}set dateRange(e){this._dateRange=e;try{this.getData()}catch(t){}}ngOnInit(){this.tableConf=Object.assign({},x6.c),this.tableConf.paginationRangeEnabled=!0,this.tableConf.orderEnabled=!0,this.tableConf.serverPagination=!0,this.tableConf.persistState=!0,this.orsService.setActivity(this.activity),this.filter.discipline=this.discipline,this.configService.observableConfig.subscribe(e=>{this.config=e,this.getData()})}eventEmitted(e){this.parseEvent(e)}openModal(e,t){this.modalObservation=t,this.modalRef=this.modalService.open(e,{size:"lg"})}closeModal(){this.modalObservation=void 0,this.modalRef.close()}notify(e){const t={title:"Vennligst bekreft",message:"Er du sikker p\xe5 at \xf8nsker sende en purring for <strong>#"+e.id+" "+e.tags.join("/")+"</strong>?",yes:"Ja",no:"Nei"};this.confirmService.confirm(t).then(()=>{this.ntfService.reminder({event_from:e._model.type+"_observations",event_from_id:e._id}).subscribe(r=>{console.log(r),this.alertService.success("Purringen ble sendt",!1,!0,10)},r=>{this.alertService.error(r.error._error,!1,!0,10)},()=>{})},()=>{console.log("NO")})}stateChooser(e){e.target.value&&""!=e.target.value?this.filter.state=e.target.value:this.filter.state=null,this.getData()}typeChooser(e){console.log("EVENT type",e),e.target.value&&""!=e.target.value?this.filter.type=e.target.value:this.filter.type=null,console.log("Filter Type",this.filter.type),this.getData()}getWhere(){let e={};return 2===this._dateRange.length&&(e={when:{$gte:this._dateRange[0].toISOString(),$lte:this._dateRange[1].toISOString()}}),Object.keys(this.filter).forEach(t=>{this.filter[t]&&null!==this.filter[t]&&("state"===t?e["workflow.state"]=this.filter[t]:e[t]=this.filter[t])}),e}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination),this.getData()),"onOrder"===e.event&&!0===this.columns[this.columns.findIndex(t=>t.key===e.value.key)].sort){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t),this.getData()}}getData(){this.tableConf.isLoading=!0;let e={query:{where:this.getWhere(),page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort}};this.orsService.getObservations((0,Nr.sW)(e)).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>{this.tableConf.isLoading=!1,this.dataReady=!0})}exportToCSV(){new zm.ExportToCsv({fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,showTitle:!1,useTextFile:!1,useBom:!0,useKeysAsHeaders:!0}).generateCsv(this.data)}};J9.ctorParameters=()=>[{type:zn.Z},{type:Dh.u},{type:Qa.F},{type:Fr.FF},{type:_r.F0},{type:Su},{type:ul.u},{type:_c.zM}],J9.propDecorators={activity:[{type:i.IIB}],discipline:[{type:i.IIB}],dateRange:[{type:i.IIB}]},J9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-dashboard-table",template:vH,styles:[_H]})],J9);var yH=B(17672),xH=B(61599);let Q9=class{constructor(e){this.configService=e,this.disable=!1,this.rpasTypeChange=new i.vpe,this.change=new i.vpe,this.configService.observableConfig.subscribe(t=>{this.config=t})}ngOnInit(){}onChange(e){this.rpasTypeChange.emit(this.rpasType),this.change.emit(!0)}};Q9.ctorParameters=()=>[{type:Qa.F}],Q9.propDecorators={rpasType:[{type:i.IIB}],disable:[{type:i.IIB}],rpasTypeChange:[{type:i.r_U}],change:[{type:i.r_U}]},Q9=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor-rpas-type",template:yH,styles:[xH]})],Q9);var wH=B(92569),MH=B(99054);let eb=class{constructor(e){this.configService=e,this.disable=!1,this.rpasFlightTypeChange=new i.vpe,this.change=new i.vpe,this.configService.observableConfig.subscribe(t=>{this.config=t})}ngOnInit(){}onChange(e){this.rpasFlightTypeChange.emit(this.rpasFlightType),this.change.emit(!0)}};eb.ctorParameters=()=>[{type:Qa.F}],eb.propDecorators={rpasFlightType:[{type:i.IIB}],disable:[{type:i.IIB}],rpasFlightTypeChange:[{type:i.r_U}],change:[{type:i.r_U}]},eb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-editor-rpas-flight-type",template:wH,styles:[MH]})],eb);var SH=B(14636),kH=B(84980);let tb=class{constructor(e){this.configService=e,this.verbose=!0,this.faTruckMedical=st.exp,this.faHouseMedicalCircleExclamation=st.hL0,this.configService.observableConfig.subscribe(t=>{this.config=t})}ngOnInit(){}};tb.ctorParameters=()=>[{type:Qa.F}],tb.propDecorators={involved:[{type:i.IIB}],model:[{type:i.IIB}],verbose:[{type:i.IIB}]},tb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-report-involved",template:SH,styles:[kH]})],tb);var EH=B(60415),DH=B(53280);let nb=class{constructor(){}ngOnInit(){}};nb.ctorParameters=()=>[],nb.propDecorators={organization:[{type:i.IIB}]},nb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-report-organization",template:EH,styles:[DH]})],nb);var AH=B(63947),OH=B(16640);let ib=class{constructor(){this.numberOfInvolved=0}ngOnInit(){!!this.observation.involved&&this.observation.involved instanceof Array&&(this.numberOfInvolved=this.observation.involved.length),this.observation.workflow.last_transition&&("closed"===this.observation.workflow.state?this.turnaround=ha.duration(+ha(this.observation.workflow.last_transition)-+ha(this.observation._created)).humanize():this.turnaround=ha.duration(+ha()-+ha(this.observation._created)).humanize())}};ib.ctorParameters=()=>[],ib.propDecorators={observation:[{type:i.IIB}]},ib=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-report-summary",template:AH,styles:[OH]})],ib);var zH=B(85550),RH=B(76422);let fw=class{constructor(e,t,r,l,u,M,F){this.modalService=e,this.subject=t,this.confirmService=r,this.e5xService=l,this.authSubject=u,this.apiFile=M,this.configService=F,this.generating=!1,this.e5xFile=!1,this.e5x_enabled=!0,this.ENV=W2.N,this.allowedReportStatus={2:"open",3:"closed"},this.allowedStatusKeys=[],this.faHistory=st.qO$,this.faDownload=st.q7m,this.faCheck=st.LEp,this.faFileAlt=Qs.cwv,this.faPaperPlane=Qs.XCy,this.faCogs=st.Kb6,this.faBan=st.gPx}ngOnInit(){this.allowedStatusKeys=Object.keys(this.allowedReportStatus).map(Number),(0,Ha.D)([this.authSubject.observableAuthData.subscribe(e=>{this.person_id=(null==e?void 0:e.person_id)||void 0;try{this.token=e.token}catch(t){this.token=void 0}}),this.subject.observableObservation.subscribe(e=>{this.observation=e}),this.configService.observableConfig.subscribe(e=>{this.config=e;try{this.e5x_enabled=this.config[this.observation._model.type].observation.e5x.enabled,this.config[this.observation._model.type].observation.e5x.enabled&&!this.observation.hasOwnProperty("e5x")&&(this.observation.e5x={},this.observation.e5x._status=this.allowedReportStatus[Object.keys(this.allowedReportStatus)[0]],this.observation.e5x.hasOwnProperty("audit")||(this.observation.e5x.audit=[]))}catch(t){}})])}_send(){if(this.generating=!0,this.e5xResult=void 0,("prod"!=this.ENV._name||781765===this.observation.club)&&(this.observation.eccairs2.attributes.headline=this.observation.eccairs2.attributes.headline+" TEST ["+this.ENV._name+"]"),this.observation.eccairs2.attributes.hasOwnProperty("uTCDate"))try{delete this.observation.eccairs2.attributes.uTCDate,this.observation.eccairs2.attributes.utcDate={value:void 0}}catch(t){}if(this.observation.eccairs2.attributes.hasOwnProperty("uTCTime"))try{delete this.observation.eccairs2.attributes.uTCTime,this.observation.eccairs2.attributes.utcTime={value:void 0}}catch(t){}let e=new Date(this.observation.when);this.observation.eccairs2.attributes.utcDate.value=[e.getUTCFullYear(),(0,Nr.vk)(e.getUTCMonth()+1),(0,Nr.vk)(e.getUTCDate())].join("-"),this.observation.eccairs2.attributes.utcTime.value=[(0,Nr.vk)(e.getUTCHours()),(0,Nr.vk)(e.getUTCMinutes()),(0,Nr.vk)(e.getUTCSeconds())].join(":"),this.observation.eccairs2.attributes.localDate.value=[e.getFullYear(),(0,Nr.vk)(e.getMonth()+1),(0,Nr.vk)(e.getDate())].join("-"),this.observation.eccairs2.attributes.localTime.value=[(0,Nr.vk)(e.getHours()),(0,Nr.vk)(e.getMinutes()),(0,Nr.vk)(e.getSeconds())].join(":"),this.e5xService.generate(this.observation._id,this.observation._etag,this.observation._model.type,this.observation.eccairs2,this.config[this.observation._model.type].observation.e5x.rit_version).subscribe(t=>{console.log("DATA E5X",t),this.observation.e5x.audit=t.e5x.audit,this.subject.update(this.observation)},t=>console.log("E5X ERR",t),()=>{this.generating=!1})}send(){if(this.observation.acl_user.x&&"pending_review_obsreg"===this.observation.workflow.state){const e={title:"Please confirm",message:"Er du sikker p\xe5 du vil sende rapporten til LT?",yes:"Ja, send inn",no:"Nei"};this.confirmService.confirm(e).then(()=>this._send(),()=>{})}}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}closeModal(e){this.subject.update(this.observation),this.modalRef.close()}};fw.ctorParameters=()=>[{type:Fr.FF},{type:ws.j},{type:_c.zM},{type:V_.H},{type:af.W},{type:H8.t},{type:Qa.F}],fw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-eccairs2",template:zH,styles:[RH]})],fw);var HH=B(27189),BH=B(13078);let rb=class{constructor(e,t,r){this.modalService=e,this.subject=t,this.authSubject=r,this.generating=!1,this.e5xFile=!1,this.e5x_enabled=!0,this.ENV=W2.N,this.allowedReportStatus={2:"open",3:"closed"},this.allowedStatusKeys=[],this.faHistory=st.qO$,this.faDownload=st.q7m,this.faCheck=st.LEp,this.faFileAlt=Qs.cwv,this.faPaperPlane=Qs.XCy,this.faCogs=st.Kb6,this.faBan=st.gPx,this.faTimes=st.NBC}ngOnInit(){(0,Ha.D)([this.authSubject.observableAuthData.subscribe(e=>{this.person_id=(null==e?void 0:e.person_id)||void 0;try{this.token=e.token}catch(t){this.token=void 0}}),this.subject.observableObservation.subscribe(e=>this.observation=e,e=>console.error("Could not get observation subject",e),()=>{})])}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}closeModal(e){this.modalRef.close()}};rb.ctorParameters=()=>[{type:Fr.FF},{type:ws.j},{type:af.W}],rb.propDecorators={showEmpty:[{type:i.IIB}]},rb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-modellfly-eccairs2-audit",template:HH,styles:[BH]})],rb);var FH=B(6603),VH=B(57149);let ob=class{constructor(){this.numberOfInvolved=0}ngOnInit(){!!this.observation.involved&&this.observation.involved instanceof Array&&(this.numberOfInvolved=this.observation.involved.length),this.observation.workflow.last_transition&&("closed"===this.observation.workflow.state?this.turnaround=ha.duration(+ha(this.observation.workflow.last_transition)-+ha(this.observation._created)).humanize():this.turnaround=ha.duration(+ha()-+ha(this.observation._created)).humanize())}};ob.ctorParameters=()=>[],ob.propDecorators={observation:[{type:i.IIB}]},ob=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-motorfly-report-summary",template:FH,styles:[VH]})],ob);var YH=B(94901),WH=B(14438);let pw=class{constructor(){}ngOnInit(){}};pw.ctorParameters=()=>[],pw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-stats",template:YH,styles:[WH]})],pw);var qH=B(9913),$H=B(50539);let sb=class{constructor(){this.numberOfInvolved=0}ngOnInit(){!!this.observation.involved&&this.observation.involved instanceof Array&&(this.numberOfInvolved=this.observation.involved.length),this.observation.workflow.last_transition&&("closed"===this.observation.workflow.state?this.turnaround=ha.duration(+ha(this.observation.workflow.last_transition)-+ha(this.observation._created)).humanize():this.turnaround=ha.duration(+ha()-+ha(this.observation._created)).humanize())}};sb.ctorParameters=()=>[],sb.propDecorators={observation:[{type:i.IIB}]},sb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-seilfly-report-summary",template:qH,styles:[$H]})],sb);var ZH=B(56356),XH=B(69118);let ab=class{constructor(){this.numberOfInvolved=0}ngOnInit(){!!this.observation.involved&&this.observation.involved instanceof Array&&(this.numberOfInvolved=this.observation.involved.length),this.observation.workflow.last_transition&&("closed"===this.observation.workflow.state?this.turnaround=ha.duration(+ha(this.observation.workflow.last_transition)-+ha(this.observation._created)).humanize():this.turnaround=ha.duration(+ha()-+ha(this.observation._created)).humanize())}};ab.ctorParameters=()=>[],ab.propDecorators={observation:[{type:i.IIB}]},ab=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-sportsfly-report-summary",template:ZH,styles:[XH]})],ab);var QH=B(97648),eB=B(5878);let lb=class{constructor(e){this.modalService=e,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjectEmpty=Nr.Z,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faBandcamp=zx}ngOnInit(){console.log("Wildlife",this.attr)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalUpdate(){this.attrChange.emit(this.attr),this.change.emit(!0),this.modalRef.close()}};lb.ctorParameters=()=>[{type:Fr.FF}],lb.propDecorators={attr:[{type:i.IIB}],callsign:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},lb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-ac-wildlife",template:QH,styles:[eB]})],lb);var nB=B(60877),iB=B(88749);let cb=class{constructor(e){this.modalService=e,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjEmpty=Nr.Z,this.faCheck=st.LEp,this.faTimes=st.NBC}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalUpdate(){this.attrChange.emit(this.attr),this.change.emit(!0),this.modalRef.close()}};cb.ctorParameters=()=>[{type:Fr.FF}],cb.propDecorators={attr:[{type:i.IIB}],callsign:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},cb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-ac-injuries",template:nB,styles:[iB]})],cb);var oB=B(87146),sB=B(74721);let db=class{constructor(e){this.modalService=e,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjectEmpty=Nr.Z,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalUpdate(){this.attrChange.emit(this.attr),this.change.emit(!0),this.modalRef.close()}};db.ctorParameters=()=>[{type:Fr.FF}],db.propDecorators={attr:[{type:i.IIB}],callsign:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},db=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-ac-weather",template:oB,styles:[sB]})],db);var lB=B(36220),cB=B(29044);let ub=class{constructor(e){this.modalService=e,this.showOnlyBtn=!0,this.modal=!0,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjectEmpty=Nr.Z,this.faTachometer=st.qA3,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){this.attr||(this.attr=(new as.T$).aircraft.attributes)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalUpdate(){this.attrChange.emit(this.attr),this.change.emit(!0),this.modalRef.close()}};ub.ctorParameters=()=>[{type:Fr.FF}],ub.propDecorators={attr:[{type:i.IIB}],callsign:[{type:i.IIB}],showOnlyBtn:[{type:i.IIB}],modal:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},ub=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-ac-flight",template:lB,styles:[cB]})],ub);var uB=B(37221),hB=B(19334);B(99684);let hb=class{constructor(e,t){this.configService=e,this.geoLocationService=t,this.flightChange=new i.vpe,this.change=new i.vpe,this.editable=!0,this.userGeo={geo:{type:"Point",coordinates:[59.9,10.9]}},this.mapOptions={drawControl:!1,layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12,center:(0,Zi.latLng)(59.9,10.9)},this.route=[],this.mapCenter=(0,Zi.latLng)(59.9,10.9),(0,Ha.D)([this.configService.observableConfig.subscribe(r=>{this.config=r}),this.geoLocationService.getLocation({enableHighAccuracy:!0}).subscribe(r=>{this.userGeo.geo.coordinates=[r.coords.latitude||59.9,r.coords.longitude||10.9],this.currentLocation=this.userGeo,console.log(r)},r=>{console.log("ERR Position",r)},()=>{})])}ngOnInit(){}ngOnChanges(e){console.log("ON CHANGE",e),this.map&&this.updatePolyline()}updatePolyline(){console.log("FLIGHT IN MAP COMPONENT",this.flight),this.route=[];try{this.markers.remove(),this.polylineRoute.remove()}catch(t){}for(let t=0;t<this.flight.length;t++)try{this.route.push([this.flight[t].path[0][1],this.flight[t].path[0][0]]),this.route.push([this.flight[t].path[1][1],this.flight[t].path[1][0]])}catch(r){}this.flight.length>0&&(this.markers=(0,Zi.featureGroup)([new Zi.Marker((0,Zi.latLng)(this.flight.find(t=>void 0!==t).path[0][1],this.flight.find(t=>void 0!==t).path[0][0])).bindPopup("Take-off"),new Zi.Marker((0,Zi.latLng)(this.flight[this.flight.length-1].path[1][1],this.flight[this.flight.length-1].path[1][0])).bindPopup("Landing")]).addTo(this.map)),console.log("ROUTE",this.route);let e=Zi.polyline(this.route,{color:"red",weight:2,opacity:1,smoothFactor:1});this.polylineRoute=Zi.featureGroup([e],{pmIgnore:!1,snapIgnore:!1}).addTo(this.map),this.map.fitBounds(this.polylineRoute.getBounds())}addMarker(e){console.log(e),null!=this.incidentMarker&&this.map.removeLayer(this.incidentMarker),this.incidentMarker=Zi.marker([e.latlng.lat,e.latlng.lng],{snapIgnore:!1}).addTo(this.map)}onMapReady(e){if(this.map=e,this.updatePolyline(),this.polylineRoute.on("pm:update",t=>{console.log("UPDATE",t,t.layer.getLatLngs())}),this.map.on("pm:create",t=>{Zi.PM.reInitLayer(t.layer)}),this.editable){const t={drawMarker:!1,drawPolygon:!1,drawPolyline:!1,drawCircle:!1,drawCircleMarker:!1,drawRectangle:!1,cutPolygon:!1,dragMode:!1,deleteLayer:!1,editMode:!0,rotateMode:!1,drawText:!1};this.map.pm.addControls(t)}}onDrawEdited(e){console.log("EDITED",e,this.polylineRoute.getLayers())}onDrawEditVertex(e){console.log("VERTEX",e,this.polylineRoute)}};hb.ctorParameters=()=>[{type:Qa.F},{type:og.u}],hb.propDecorators={flight:[{type:i.IIB}],flightChange:[{type:i.r_U}],change:[{type:i.r_U}],editable:[{type:i.IIB}]},hb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-flight-map",template:uB,styles:[hB]})],hb);var pB=B(67504),gB=B(59879);let fb=class{constructor(){this.disabled=!0,this.latChange=new i.vpe,this.lngChange=new i.vpe,this.change=new i.vpe,this.mapOptions={drawControl:!1,layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12,center:(0,Zi.latLng)(59.9,10.9)},this.mapCenter=(0,Zi.latLng)(59.9,10.9),this.colors=["blue","orange","green","yellow","grey","black","red"]}ngOnInit(){}ngOnChanges(e){this.map&&(e.hasOwnProperty("lng")&&(this.lng=e.lng.currentValue),e.hasOwnProperty("lat")&&(this.lat=e.lat.currentValue),this.marker.setLatLng((0,Zi.latLng)(this.lat,this.lng)),this.map.setView(this.marker.getLatLng()))}_getColorFromAcIndex(e){return this.colors[e]||this.colors[0]}_path2LatLng(e){let t=[];return e.forEach(r=>{t.push((0,Zi.latLng)(r[1],r[0]))}),t}_mkIcon(e){return(0,Zi.icon)({iconUrl:"assets/leaflet/"+this._getColorFromAcIndex(e)+".png",shadowUrl:"leaf-shadow.png",iconSize:[25,39],shadowSize:[25,39],iconAnchor:[12.5,39],shadowAnchor:[4,39],popupAnchor:[0,-40]})}onMapReady(e){this.map=e,this.layer=(0,Zi.featureGroup)(),this.aircraft.forEach((t,r)=>{var l,u;const M=null===(l=t.flight.find(_e=>void 0!==_e))||void 0===l?void 0:l.path,F=(null===(u=t.flight)||void 0===u?void 0:u.length)>=1?t.flight[t.flight.length-1].path:void 0;if(M&&F){this._getColorFromAcIndex(Math.floor(1e3*Math.random()));t.flight.forEach(Le=>{this.layer.addLayer((0,Zi.polyline)(this._path2LatLng(Le.path),{color:this._getColorFromAcIndex(r),weight:2,opacity:1,smoothFactor:1}))}),this.layer.addLayer(new Zi.Marker((0,Zi.latLng)(M[0][1],M[0][0]),{icon:this._mkIcon(r)}).bindPopup("Take-off "+t.aircraft.callsign)),this.layer.addLayer(new Zi.Marker((0,Zi.latLng)(F[1][1],F[1][0]),{icon:this._mkIcon(r)}).bindPopup("Landing "+t.aircraft.callsign))}}),this.lat&&this.lng?(this.marker=(0,Zi.marker)((0,Zi.latLng)(this.lat,this.lng),{snapIgnore:!1,draggable:!this.disabled,autoPan:!0,icon:this._mkIcon(6)}).bindPopup("Incident"),this.marker.addTo(this.map),this.marker.pm.enable({pinning:!0,snappable:!0}),this.marker.on("pm:dragend",t=>{this.markerDragEnd(t.target.getLatLng())}),0===this.aircraft.length&&this.map.setView(this.marker.getLatLng(),12)):this.map.on("click",t=>{this.disabled||this.addMarker(t)}),this.layer.addTo(this.map);try{this.map.fitBounds(this.layer.getBounds().pad(.5))}catch(t){}this.map.invalidateSize()}markerDragEnd(e){console.log("Marker ended",e),this.lat=e.lat,this.latChange.emit(this.lat),this.lng=e.lng,this.lngChange.emit(this.lng),this.change.emit(!0)}addMarker(e){console.log(e),null!=this.marker&&this.map.removeLayer(this.marker),this.marker=(0,Zi.marker)([e.latlng.lat,e.latlng.lng],{snapIgnore:!1,draggable:!this.disabled,autoPan:!0,icon:this._mkIcon(6)}).bindPopup("Incident"),this.markerDragEnd({lat:e.latlng.lat,lng:e.latlng.lng}),0===this.aircraft.length&&this.map.setView(this.marker.getLatLng(),12),this.marker.addTo(this.map),this.marker.pm.enable({pinning:!0,snappable:!0}),this.marker.on("remove",t=>{this.disabled||this.map.on("click",r=>{this.addMarker(r)})}),this.marker.on("pm:dragend",t=>{this.markerDragEnd(t.target.getLatLng())})}};fb.ctorParameters=()=>[],fb.propDecorators={aircraft:[{type:i.IIB}],lat:[{type:i.IIB}],lng:[{type:i.IIB}],disabled:[{type:i.IIB}],latChange:[{type:i.r_U}],lngChange:[{type:i.r_U}],change:[{type:i.r_U}]},fb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-where-map",template:pB,styles:[gB]})],fb);var vB=B(62950),_B=B(14343);let pb=class{constructor(e,t){this.modalService=e,this.subject=t,this.faTimes=st.NBC,this.faCheck=st.LEp,this.modal=!1,this.disabled=!1,this.showSimpleView=!1,this.debouncedUpdate=(0,Sl.D)(this.update,1e3),this.flightPaths=[],this.geoReady=!1,this.subject.observableObservation.subscribe(r=>{try{this.observation=r,this.updateFlightPaths()}catch(l){}})}ngOnInit(){}updateFlightPaths(){this.flightPaths=[];for(let e of this.observation.aircrafts)for(let t of e.flight)this.flightPaths.push(t.path);console.log("Paths",this.flightPaths)}isDraggable(){return!this.disabled}toFloat(e){return parseFloat(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.subject.update(this.observation)}modalUpdate(){this.update(),this.modalRef.close()}};pb.ctorParameters=()=>[{type:Fr.FF},{type:ws.j}],pb.propDecorators={modal:[{type:i.IIB}],disabled:[{type:i.IIB}],showSimpleView:[{type:i.IIB}]},pb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-occurrence",template:vB,styles:[_B]})],pb);var yB=B(10644),xB=B(37276);let gb=class{constructor(e){this.modalService=e,this.modal=!0,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.debouncedUpdate=(0,Sl.D)(this.update,500),this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){}update(){this.attrChange.emit(this.attr),this.change.emit(!0)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalUpdate(){this.update(),this.modalRef.close()}};gb.ctorParameters=()=>[{type:Fr.FF}],gb.propDecorators={attr:[{type:i.IIB}],modal:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},gb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-classification",template:yB,styles:[xB]})],gb);var wB=B(5066),MB=B(46323);let mb=class{constructor(e){this.modalService=e,this.modal=!1,this.showOnlyBtn=!0,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjectEmpty=Nr.Z,this.faCloud=st.uM9,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.attrChange.emit(this.attr),this.change.emit(!0)}modalUpdate(){this.update(),this.modalRef.close()}};mb.ctorParameters=()=>[{type:Fr.FF}],mb.propDecorators={attr:[{type:i.IIB}],modal:[{type:i.IIB}],showOnlyBtn:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},mb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-weather",template:wB,styles:[MB]})],mb);var SB=B(55582),kB=B(14279);let vb=class{constructor(e){this.modalService=e,this.showModal=!1,this.showOnlyBtn=!0,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjEmpty=Nr.Z,this.faMedkit=st.$b3,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.attrChange.emit(this.attr),this.change.emit(!0)}modalUpdate(){this.update(),this.modalRef.close()}};vb.ctorParameters=()=>[{type:Fr.FF}],vb.propDecorators={attr:[{type:i.IIB}],showModal:[{type:i.IIB}],showOnlyBtn:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},vb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-injuries",template:SB,styles:[kB]})],vb);var EB=B(32287),DB=B(7736);let _b=class{constructor(e){this.modalService=e,this.showModal=!1,this.showOnlyBtn=!0,this.attrChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faFire=st.Rpv,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){(!this.attr.damageNotToAC.value||[97,99].indexOf(this.attr.damageNotToAC.value)>-1)&&(this.attr.objectDamaged.value=void 0,this.attr.thirdPartyDamage.value=void 0),this.attrChange.emit(this.attr),this.change.emit(!0)}modalUpdate(){this.update(),this.modalRef.close()}};_b.ctorParameters=()=>[{type:Fr.FF}],_b.propDecorators={attr:[{type:i.IIB}],showModal:[{type:i.IIB}],showOnlyBtn:[{type:i.IIB}],attrChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},_b=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-damage",template:EB,styles:[DB]})],_b);var AB=B(4695),OB=B(63854);let bb=class{constructor(e,t,r,l){this.modalService=e,this.geoLocationService=t,this.geoAdminService=r,this.subject=l,this.showOnlyBtn=!0,this.disabled=!1,this.modal=!1,this.debouncedUpdate=(0,Sl.D)(this.update,500),this.geoReady=!1,this.faMapMarker=st.Mzo,this.faEdit=st.Xcf,this.faClose=st.YIN,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faLocation=st.iUi}ngOnInit(){this.subject.observableObservation.subscribe(e=>{console.log("[Observer] Got obseraviton update!",e._etag),this.observation=e,this.observation=Object.assign({},this.observation)}),this.geoLocationService.getLocation({enableHighAccuracy:!0}).subscribe(e=>{console.log(e),this.userGeo=e,!this.observation.occurrence.attributes.latitudeOfOcc.value&&this.observation.occurrence.attributes.longitudeOfOcc.value,this.geoReady=!0},e=>{this.geoReady=!0},()=>{this.observation.occurrence.attributes.stateAreaOfOcc.value||this.updateArea()})}useMyLocation(){this.observation.occurrence.attributes.latitudeOfOcc.value=this.userGeo.coords.latitude,this.observation.occurrence.attributes.longitudeOfOcc.value=this.userGeo.coords.longitude,this.observation.occurrence.attributes=Object.assign({},this.observation.occurrence.attributes),this.updateArea()}isDraggable(){return!this.observation.acl_user.w}updateLocation(e){this.disabled||(this.observation.occurrence.attributes.latitudeOfOcc.value=parseFloat(e.coords.lat),this.observation.occurrence.attributes.longitudeOfOcc.value=parseFloat(e.coords.lng),this.updateArea())}updateArea(){const e={query:{where:{type:"county",geometry:{$geoIntersects:{$geometry:{type:"Point",coordinates:[this.observation.occurrence.attributes.longitudeOfOcc.value,this.observation.occurrence.attributes.latitudeOfOcc.value]}}}},projection:{e5x:1}}};this.geoAdminService.get(e).subscribe(t=>{1==t._items.length?(console.log("UPDATE AREA",t._items[0].e5x),this.observation.occurrence.attributes.stateAreaOfOcc.value=t._items[0].e5x,this.observation.occurrence.attributes.stateAreaOfOcc=Object.assign({},this.observation.occurrence.attributes.stateAreaOfOcc)):this.observation.occurrence.attributes.stateAreaOfOcc.value=void 0},t=>{this.observation.occurrence.attributes.stateAreaOfOcc.value=void 0},()=>{console.log("UPDATING subject now..."),this.subject.update(this.observation)})}toFloat(e){return parseFloat(e)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.updateArea()}modalUpdate(){this.modalRef.close()}};bb.ctorParameters=()=>[{type:Fr.FF},{type:og.u},{type:z4},{type:ws.j}],bb.propDecorators={showOnlyBtn:[{type:i.IIB}],disabled:[{type:i.IIB}],modal:[{type:i.IIB}]},bb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-where",template:AB,styles:[OB]})],bb);var zB=B(93551),RB=B(90994);let gw=class{constructor(e){this.subject=e,this.subject.observableObservation.subscribe(t=>this.observation=t)}ngOnInit(){}update(){this.subject.update(this.observation)}};gw.ctorParameters=()=>[{type:ws.j}],gw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-entities",template:zB,styles:[RB]})],gw);var HB=B(63788),BB=B(36459);let yb=class{constructor(e){this.modalService=e,this.runwayChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.runway)||(this.runway=[])}add(){this.modalIdx=this.runway.length}delete(e){this.runway.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.runway.length?this.modalValue=(new as.LV).runwayIncursion:this.modalValue=this.runway[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.runwayChange.emit(this.runway),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.runway.length?this.runway.push(this.modalValue):this.runway[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};yb.ctorParameters=()=>[{type:Fr.FF}],yb.propDecorators={runway:[{type:i.IIB}],runwayChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},yb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-runway",template:HB,styles:[BB]})],yb);var FB=B(24456),VB=B(68558);let xb=class{constructor(e){this.modalService=e,this.aerodromeChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.aerodrome)||(this.aerodrome=[])}add(){this.modalIdx=this.aerodrome.length}delete(e){this.aerodrome.splice(e,1),this.update()}addRunway(){this.modalValue.entities.runway.push((new as.bc).runway)}deleteRunway(e){this.modalValue.entities.runway.splice(e,1)}addVehicle(){this.modalValue.entities.vehicle.push((new as.bc).vehicle)}deleteVehicle(e){this.modalValue.entities.vehicle.splice(e,1)}addNarrative(){0===this.modalValue.entities.narrative.length&&this.modalValue.entities.narrative.push((new as.bc).narrative)}deleteNarrative(e){this.modalValue.entities.narrative.splice(e,1)}openModal(e,t){this.modalIdx=t,this.modalIdx===this.aerodrome.length?this.modalValue=(new as.bc).aerodromeGeneral:this.modalValue=this.aerodrome[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.aerodromeChange.emit(this.aerodrome),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.aerodrome.length?this.aerodrome.push(this.modalValue):this.aerodrome[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};xb.ctorParameters=()=>[{type:Fr.FF}],xb.propDecorators={aerodrome:[{type:i.IIB}],aerodromeChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},xb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-aerodrome",template:FB,styles:[VB]})],xb);var YB=B(25611),WB=B(70441);let Cb=class{constructor(e){this.modalService=e,this.faPlane=st.wKO,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faClose=st.YIN,this.aerodromeChange=new i.vpe,this.change=new i.vpe,this.disabled=!1}ngOnInit(){this.aerodrome||(this.aerodrome=(new as.bc).aerodromeGeneral)}addRunway(){this.aerodrome.entities.runway.push((new as.bc).runway)}deleteRunway(e){this.aerodrome.entities.runway.splice(e,1)}addVehicle(){this.aerodrome.entities.vehicle.push((new as.bc).vehicle)}deleteVehicle(e){this.aerodrome.entities.vehicle.splice(e,1)}addNarrative(){0===this.aerodrome.entities.narrative.length&&this.aerodrome.entities.narrative.push((new as.bc).narrative)}deleteNarrative(e){this.aerodrome.entities.narrative.splice(e,1)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.aerodromeChange.emit(this.aerodrome),this.change.emit(!0)}modalUpdate(){console.log("Aerodrome update",this.aerodrome),this.update(),this.modalRef.close()}};Cb.ctorParameters=()=>[{type:Fr.FF}],Cb.propDecorators={aerodrome:[{type:i.IIB}],aerodromeChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Cb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-aerodrome-single",template:YB,styles:[WB]})],Cb);var qB=B(28893),$B=B(10763);let wb=class{constructor(e){this.modalService=e,this.wxPhenomenaChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this._isObjEmpty=Nr.Z,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.wxPhenomena)||(this.wxPhenomena=[])}add(){this.modalIdx=this.wxPhenomena.length}delete(e){this.wxPhenomena.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.wxPhenomena.length?this.modalValue=(new as.sQ).precipitationAndOtherWeatherPhenomena:this.modalValue=this.wxPhenomena[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.wxPhenomenaChange.emit(this.wxPhenomena),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.wxPhenomena.length?this.wxPhenomena.push(this.modalValue):this.wxPhenomena[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};wb.ctorParameters=()=>[{type:Fr.FF}],wb.propDecorators={wxPhenomena:[{type:i.IIB}],wxPhenomenaChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},wb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-wxphenomena",template:qB,styles:[$B]})],wb);var ZB=B(18690),XB=B(10474);let Mb=class{constructor(e){this.modalService=e,this.atmChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.atm)||(this.atm=[])}add(){this.modalIdx=this.atm.length}delete(e){this.atm.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.atm.length?this.modalValue=(new as.rW).airNavigationService:this.modalValue=this.atm[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.atmChange.emit(this.atm),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.atm.length?this.atm.push(this.modalValue):this.atm[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};Mb.ctorParameters=()=>[{type:Fr.FF}],Mb.propDecorators={atm:[{type:i.IIB}],atmChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Mb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-atm",template:ZB,styles:[XB]})],Mb);var QB=B(58382),ej=B(48919);let Tb=class{constructor(e){this.modalService=e,this.airspaceChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.airspace)||(this.airspace=[])}add(){this.modalIdx=this.airspace.length}delete(e){this.airspace.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.airspace.length?this.modalValue=(new as.Gp).airSpace:this.modalValue=this.airspace[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.airspaceChange.emit(this.airspace),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.airspace.length?this.airspace.push(this.modalValue):this.airspace[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};Tb.ctorParameters=()=>[{type:Fr.FF}],Tb.propDecorators={airspace:[{type:i.IIB}],airspaceChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Tb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-airspace",template:QB,styles:[ej]})],Tb);var nj=B(87613),ij=B(82261);let Sb=class{constructor(e){this.modalService=e,this.airspaceChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faCircle=Qs.diR,this.faTimes=st.NBC,this.faCheck=st.LEp}ngOnInit(){(0,qi.isEmpty)(this.airspace)&&(this.airspace=(new as.Gp).airSpace)}openModal(e){this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.airspaceChange.emit(this.airspace),this.change.emit(!0)}modalUpdate(){this.update(),this.modalRef.close()}};Sb.ctorParameters=()=>[{type:Fr.FF}],Sb.propDecorators={airspace:[{type:i.IIB}],airspaceChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Sb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-airspace-single",template:nj,styles:[ij]})],Sb);var oj=B(414),sj=B(21281),gI=B(59095),mI=B(55828);let kb=class{constructor(e,t,r,l){this.acService=e,this.subject=t,this.modalService=r,this.confirmService=l,this.showSimpleView=!1,this.showEngine=!1,this.showPropeller=!1,this.showPartsDamaged=!1,this.showWildlife=!1,this.showInjuries=!1,this.showMass=!1,this.aircraftInput$=new Tl.xQ,this.tagsLoading=!1,this.selectedAircrafts=[],this.faWarning=st.e7M,this.faExclamation=st.WV2,this.faCheck=st.LEp,this.faPlane=st.wKO,this.faHelicopter=st.vFF,this.faEdit=st.Xcf,this.faTimes=st.NBC,this.subject.observableObservation.subscribe(u=>{try{this.observation=u,this.observation.aircrafts||(this.observation.aircrafts=[]),this.observation.aircrafts.forEach(M=>{this.selectedAircrafts.push(M.aircraft)})}catch(M){}})}ngOnInit(){this.searchAircrafts()}updateObservation(){this.subject.update(this.observation)}onAdd(e){console.log("Aircraft add: ",e),this.observation.aircrafts.push({aircraft:{_id:e._id,callsign:e.callsign,manufacturer:e.manufacturer,model:e.model,msn:e.msn,status:e.status,type:e.type},crew:[],parts:[],flight:[],airspace:(new as.Gp).airSpace,aerodrome:(new as.bc).aerodromeGeneral,occurrence:(new as.T$).aircraft.attributes}),this.updateObservation()}onRemove(e){console.log("Aircraft remove: ",e);const t={title:"Please confirm",message:"Are you sure you want to delete "+e.value.callsign+"? All data will be lost.",yes:"Delete",no:"Cancel"};this.confirmService.confirm(t).then(()=>{this.observation.aircrafts.forEach((r,l)=>{r.aircraft.callsign===e.value.callsign&&this.observation.aircrafts.splice(l,1)}),this.updateObservation()},()=>{})}searchAircrafts(){let e;this.aircrafts$=(0,mI.z)((0,B1.of)([]),this.aircraftInput$.pipe((0,p9.b)(400),(0,SE.x)(),(0,I5.b)(()=>this.tagsLoading=!0),(0,gI.w)(t=>this.acService.getAircrafts({query:{where:{$text:{$search:t},status:{$ne:"DELETED"}},projection:{_score:{$meta:"textScore"}},sort:'[("_score", { "$meta": "textScore" })]',max_results:100}}).pipe((0,mh.U)(r=>e=r._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.tagsLoading=!1)))))}openAircraftModal(e,t){this.modalIndex=t,this.observation.aircrafts[t].hasOwnProperty("aircraft")||(this.observation.aircrafts[t].aircraft=void 0),this.observation.aircrafts[t].hasOwnProperty("crew")||(this.observation.aircrafts[t].crew=[]),this.observation.aircrafts[t].hasOwnProperty("parts")||(this.observation.aircrafts[t].parts=[]),this.observation.aircrafts[t].hasOwnProperty("flight")||(this.observation.aircrafts[t].flight=[]),this.modalAircraft=this.observation.aircrafts[t].aircraft,this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalEngines(e){return void 0!==e&&+e>0?Array.apply(null,Array(e)).map(function(t,r){return r}):[]}modalAircraftUpdate(e){this.observation.aircrafts[e].aircraft=Object.assign({},this.modalAircraft),this.observation.aircrafts[e].aircraft.hasOwnProperty("image")&&delete this.observation.aircrafts[e].aircraft.image,this.updateObservation(),this.modalRef.close()}openPersonModal(e,t){}};kb.ctorParameters=()=>[{type:ay.I},{type:ws.j},{type:Fr.FF},{type:_c.zM}],kb.propDecorators={showSimpleView:[{type:i.IIB}]},kb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-aircraft",template:oj,styles:[sj]})],kb);var lj=B(74854),cj=B(30347);let Lb=class{constructor(e){this.modalService=e,this.partinformationChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.partinformation)||(this.partinformation=[])}add(){this.modalIdx=this.partinformation.length}delete(e){this.partinformation.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.partinformation.length?this.modalValue=(new as.T$).partInformation:this.modalValue=this.partinformation[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.partinformationChange.emit(this.partinformation),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.partinformation.length?this.partinformation.push(this.modalValue):this.partinformation[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};Lb.ctorParameters=()=>[{type:Fr.FF}],Lb.propDecorators={partinformation:[{type:i.IIB}],callsign:[{type:i.IIB}],partinformationChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Lb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-aircraft-partinformation",template:lj,styles:[cj]})],Lb);var uj=B(4090),hj=B(93005);let Eb=class{constructor(e){this.modalService=e,this.eventsChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.events)||(this.events=[])}add(){this.modalIdx=this.events.length}delete(e){this.events.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.events.length?this.modalValue=(new as.m1).events:this.modalValue=this.events[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.eventsChange.emit(this.events),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.events.length?this.events.push(this.modalValue):this.events[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};Eb.ctorParameters=()=>[{type:Fr.FF}],Eb.propDecorators={events:[{type:i.IIB}],eventsChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Eb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-events",template:uj,styles:[hj]})],Eb);var pj=B(60271),gj=B(87436);let Db=class{constructor(){this.narrativeChange=new i.vpe(!0),this.change=new i.vpe(!0),this.disabled=!1,this.showLang=!0,this.capitalize=!1,this.debouncedUpdate=(0,Sl.D)(this.write,1e3)}ngOnInit(){0===this.narrative.length&&(this.narrative.push((new as.Sp).narrative),this.narrative[0].attributes.narrativeLanguage.value=43,this.update()),this.narrative[0].attributes.narrativeLanguage.value||(this.narrative[0].attributes.narrativeLanguage.value=43)}write(){this.capitalize&&(this.narrative[0].attributes.narrativeText.plainText=this.narrative[0].attributes.narrativeText.plainText.toUpperCase().replace(/!/g,".")),this.update()}update(){this.narrativeChange.emit(this.narrative),this.change.emit(!0)}};Db.ctorParameters=()=>[],Db.propDecorators={narrative:[{type:i.IIB}],narrativeChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}],showLang:[{type:i.IIB}],capitalize:[{type:i.IIB}]},Db=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-narrative",template:pj,styles:[gj]})],Db);var vj=B(1658),_j=B(39174);let Ib=class{constructor(){this.reportingHistoryChange=new i.vpe(!0),this.change=new i.vpe(!0),this.disabled=!1}ngOnInit(){0===this.reportingHistory.length&&(this.reportingHistory.push((new as.LR).reportingHistory),this.update())}update(){this.reportingHistoryChange.emit(this.reportingHistory),this.change.emit(!0)}};Ib.ctorParameters=()=>[],Ib.propDecorators={reportingHistory:[{type:i.IIB}],reportingHistoryChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Ib=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-reportinghistory",template:vj,styles:[_j]})],Ib);var yj=B(56103),xj=B(11278);let Ab=class{constructor(){this.narrativeChange=new i.vpe(!0),this.languageChange=new i.vpe(!0),this.change=new i.vpe(!0),this.disabled=!1,this.showLang=!0,this.capitalize=!1,this.debouncedUpdate=(0,Sl.D)(this.write,1e3)}ngOnInit(){this.language||(this.language={value:43},this.update()),(!this.language.value||this.language.value<1)&&(this.language.value=43),this.narrative||(this.narrative={plainText:""},this.update()),this.narrative.hasOwnProperty("plainText")||(this.narrative.plainText="",this.update())}write(){this.capitalize&&(this.narrative.plainText=this.narrative.plainText.toUpperCase().replace(/!/g,".")),this.update()}update(){this.narrativeChange.emit(this.narrative),this.languageChange.emit(this.language),this.change.emit(!0)}};Ab.ctorParameters=()=>[],Ab.propDecorators={narrative:[{type:i.IIB}],narrativeChange:[{type:i.r_U}],language:[{type:i.IIB}],languageChange:[{type:i.r_U}],change:[{type:i.r_U}],languages:[{type:i.IIB}],disabled:[{type:i.IIB}],showLang:[{type:i.IIB}],capitalize:[{type:i.IIB}]},Ab=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-reportinghistory-reporters-description",template:yj,styles:[xj]})],Ab);var wj=B(49566),Mj=B(70142);let Ob=class{constructor(){this.reportingHistoryChange=new i.vpe(!0),this.change=new i.vpe(!0),this.disabled=!1}ngOnInit(){console.log("Reporting History",this.reportingHistory),0===this.reportingHistory.length&&(this.reportingHistory.push((new as.LR).reportingHistory),this.update())}update(){this.reportingHistoryChange.emit(this.reportingHistory),this.change.emit(!0)}};Ob.ctorParameters=()=>[],Ob.propDecorators={reportingHistory:[{type:i.IIB}],reportingHistoryChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Ob=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-assessment",template:wj,styles:[Mj]})],Ob);var Sj=B(30009),kj=B(65376);let Pb=class{constructor(){this.occurrenceChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.riskMatrix=[{key:"none",name:"No Accident outcome",description:"No potential damage or injury could occur",effective:1,limited:1,minimal:1,notEffective:1},{key:"minor",name:"Minor Injuries or damage",description:"Minor injuries, minor damage to aircraft",effective:2,limited:3,minimal:20,notEffective:100},{key:"major",name:"Major Accident",description:"Serious injuries, major damage to the aircraft",effective:10,limited:21,minimal:101,notEffective:500},{key:"catastrophic",name:"Catastrophic Accident",description:"Loss of aircraft",effective:50,limited:102,minimal:502,notEffective:2500}],this.effectivenessMatrix=[{name:"Effective",key:"effective"},{name:"Limited",key:"limited"},{name:"Minimal",key:"minimal"},{name:"Not Effective",key:"notEffective"}],this.dataReady=!1}ngOnInit(){var e,t;if(!(null===(t=null===(e=this.occurrence.entities.reportingHistory[0].attributes)||void 0===e?void 0:e.riskClassification)||void 0===t?void 0:t.value))try{this.occurrence.entities.reportingHistory[0].attributes.riskClassification.value=void 0}catch(r){}this.loadEventRiskClassification()}update(){this.occurrenceChange.emit(this.occurrence),this.change.emit(!0)}setRisk(e){this.disabled||(this.riskValue=e.key,this.updateEventRiskClassification())}setEffectiveness(e){this.disabled||(this.effectivenessValue=e.key,this.updateEventRiskClassification())}updateEventRiskClassification(){if(this.disabled||!this.riskValue||!this.effectivenessValue&&"none"!==this.riskValue)return;const e=this.riskMatrix.filter(t=>t.key===this.riskValue)[0];"none"===e.key&&!this.effectivenessValue&&(this.effectivenessValue="effective"),this.occurrence.entities.reportingHistory[0].attributes.riskClassification.value=e[this.effectivenessValue],this.occurrence.entities.reportingHistory[0].attributes.riskMethodology.value="Event Risk Classification",this.update()}loadEventRiskClassification(){if(console.log("Loading..."),0===this.occurrence.entities.riskAssessment.length){const r=(new as.Rh).riskAssessment;this.occurrence.entities.riskAssessment.push(r)}if(!this.occurrence.entities.reportingHistory[0].attributes.riskClassification.value)return console.log("No riskClassification value set"),void(this.dataReady=!0);const e=this.occurrence.entities.reportingHistory[0].attributes.riskClassification.value;console.log("RISK LEVEL",e);const t=this.riskMatrix.filter(r=>r.effective===e||r.limited===e||r.minimal===e||r.notEffective===e);t&&0!==t.length?(console.log("MATCHING RISK LEVEL",t),this.riskValue=t[0].key,t[0].effective===e&&(this.effectivenessValue="effective"),t[0].limited===e&&(this.effectivenessValue="limited"),t[0].minimal===e&&(this.effectivenessValue="minimal"),t[0].notEffective===e&&(this.effectivenessValue="notEffective"),console.log("EFFECTIVE",this.effectivenessValue),this.dataReady=!0):console.log("No matching risk?")}};Pb.ctorParameters=()=>[],Pb.propDecorators={occurrence:[{type:i.IIB}],occurrenceChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Pb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-risk",template:Sj,styles:[kj]})],Pb);var Ej=B(38045),Dj=B(31575);let zb=class{constructor(e){this.modalService=e,this.separation=[],this.separationChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faTimes=st.NBC,this.faCheck=st.LEp,this.faEdit=st.Xcf,this.faClose=st.YIN}ngOnInit(){Array.isArray(this.separation)||(this.separation=[])}add(){this.modalIdx=this.separation.length}delete(e){this.separation.splice(e,1),this.update()}openModal(e,t){this.modalIdx=t,this.modalIdx===this.separation.length?this.modalValue=(new as.pw).separation:this.modalValue=this.separation[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}update(){this.separationChange.emit(this.separation),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.separation.length?this.separation.push(this.modalValue):this.separation[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};zb.ctorParameters=()=>[{type:Fr.FF}],zb.propDecorators={separation:[{type:i.IIB}],separationChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},zb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-e5x-separation",template:Ej,styles:[Dj]})],zb);var Aj=B(31241),Oj=B(87642),vI=B(78535);let Rb=class{constructor(e,t,r,l,u,M,F,_e){this.airportService=e,this.subject=t,this.geoLocationService=r,this.apiCache=l,this.modalService=u,this.confirmService=M,this.metService=F,this.e5xChoicesService=_e,this.showSimpleView=!1,this.aircraftChange=new i.vpe,this.change=new i.vpe,this._get=Nr.U2,this.airportsInput$=new Tl.xQ,this.airportsLoading=!1,this.selectedAirports=[],this.dataReady=!0,this.zoom=5,this.showRouteMap=!0,this.routeReady=!1,this.incident=[],this.from_airport_disable=!1,this.to_airport_disable=!1,this.route=[],this._init=!1,this.faTimes=st.NBC,this.faLongArrowRight=st.b1y,this.faPlane=st.wKO,this.faPlus=st.r8p,this.faMinus=st.Kl4,this.faEye=st.Mdf,this.faEyeSlash=st.Aq,this.mapOptions={layers:[(0,Zi.tileLayer)("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:"..."})],zoom:12},this.mapReady=!1,this.debouncedUpdate=(0,Sl.D)(this.update,600),this.subject.observableObservation.subscribe(Le=>{try{this.observation=Le,this.observation.acl_user.w||(this.from_airport_disable=!0,this.to_airport_disable=!0),(this.currentWhen&&this.observation.when!=this.currentWhen||!this.currentWhen&&!!this.observation.when)&&(this.currentWhen=this.observation.when,this.updateWx(!0)),this._init=!0}catch(Ge){}}),this.geoLocationService.getLocation({enableHighAccuracy:!0}).subscribe(Le=>{console.log(Le),this.location=Le.coords})}ngOnInit(){this.aircraft.flight?(this.route=this.aircraft.flight,setTimeout(()=>{this.routeReady=!0},700)):this.route=[],this.route.length>0&&(this.to_airport=void 0,this.from_airport_disable=!0,this.from_airport=Object.assign({},this.route[this.route.length-1].to),this.setFocus("to_airport")),console.log("Route nginit",this.route),this.searchAirports()}update(){console.log("updating",this.route),this.aircraft.flight=this.route,this.aircraftChange.emit(this.aircraft),this.change.emit(!0)}mapRoute(){}updateWx(e=!1){if(this.aircraft){(!this.aircraft.hasOwnProperty("wx")||!this.aircraft.wx)&&(this.aircraft.wx={});let t=[];for(let r of this.route)t.push(r.from.icao),t.push(r.to.icao);console.log("ICAOS",t,"ID",this.observation.id),t.forEach((r,l)=>{if(!(r in this.aircraft.wx)||e)try{this.metService.getTafMetar(r,this.currentWhen.toISOString().substr(0,10)).subscribe(u=>{this.aircraft.wx[r]=u})}catch(u){}})}}toFloat(e){return parseFloat(e)}exists(e,t,r){return(0,qi.has)(e,t+"."+r)}addSegment(){if(this.from_airport&&this.to_airport){const e=[this.from_airport.location.coordinates,this.to_airport.location.coordinates];if(console.log(e),this.to_airport.icao&&this.from_airport.icao){const t={query:{where:{key:"AerodromeGeneral.Airport",icao:{$in:[this.from_airport.icao,this.to_airport.icao]}},projection:{id:1,icao:1}}};this.e5xChoicesService.getChoices(t).subscribe(r=>{if(2==r._items.length)for(let l of r._items)l.icao==this.from_airport.icao?this.from_airport.e5x=l.id:l.icao==this.to_airport.icao&&(this.to_airport.e5x=l.id)},r=>{},()=>{this.route.push({from:this.from_airport,to:this.to_airport,path:e,occurrence:!1,weather:{from:{},to:{}}}),this.route=[...this.route],setTimeout(()=>{this.routeReady=!0},700),this.from_airport=Object.assign({},this.to_airport),this.to_airport=void 0,this.from_airport_disable=!0,this.setFocus("to_airport"),this.update(),this.updateWx()})}}}removeSegment(){this.confirmService.confirm({title:"Please confirm",message:"Are you sure you want to delete route?",yes:"Delete",no:"Cancel"}).then(()=>{this.route.length>0&&(this.hasSegmentIncident(this.route.length-1)&&this.removeIncident(this.route.length-1),this.route.pop(),0===this.route.length?(this.from_airport_disable=!1,this.to_airport=void 0,this.from_airport=void 0,this.setFocus("from_airport")):this.route.length>0&&(this.to_airport=void 0,this.from_airport=Object.assign({},this.route[this.route.length-1].to),this.setFocus("to_airport")),this.route=[...this.route],this.update())},()=>{})}hasIncident(){for(let e of this.route)if(e.occurrence)return!0;return!1}hasSegmentIncident(e){return!!this.route[e].occurrence}addSegmentIncident(e){this.route[e].occurrence=!0;try{this.aircraft.occurrence.lastDeparturePoint.value=this.route[e].from.e5x,this.aircraft.occurrence.plannedDestination.value=this.route[e].to.e5x}catch(t){console.log("ERR assigning from-to e5x",t)}this.update()}removeIncident(e){this.route[e].occurrence=!1;try{this.aircraft.occurrence=(0,qi.clone)((new as.T$).aircraft.attributes),this.aircraft.occurrence.lastDeparturePoint.value=void 0,this.aircraft.occurrence.plannedDestination.value=void 0}catch(t){console.log("ERR unassigning from-to e5x",t)}this.update()}removeSegmentIncident(e){this.confirmService.confirm({title:"Please confirm",message:"Are you sure you want to delete the incident?<br>This can not be undone.",yes:"Delete",no:"Cancel"}).then(()=>{try{this.removeIncident(e)}catch(r){console.log("Could not delete incident for index "+e)}},()=>{})}setFocus(e){try{setTimeout(()=>{try{document.querySelector("#"+e).querySelector("input").focus()}catch(t){}},100)}catch(t){}}onChange(e,t){if(!0===e)try{setTimeout(()=>{let r;r="add_airport"==t?document.querySelector("#"+t):document.querySelector("#"+t).querySelector("input"),r.focus()},100)}catch(r){}}onMapReady(e){console.log("Flight map: ",e)}zoomChanged(e){console.log("Zoom changed: ",e)}debouncedBoundsChange(e){console.log("Bounds changed: ",e)}markerMoved(e){console.log("Marker moved",e)}lineDragEnd(e){console.log("Line dragged end",e)}compareWith(e,t){return!1}onAdd(e){console.log("Airport add: ",e)}onRemove(e){console.log("Airport remove: ",e)}onPathChanged(e,t){console.log("Path changed",e);let r=[];for(let l of e.newArr)r.push([l.lng(),l.lat(),0]);this.route[t].path=r,this.update()}openRouteModal(e,t){this.modalIndex=t,this.modalRoute=this.route[t],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}modalRouteUpdate(e){this.modalRef.close()}searchAirports(){let e;this.airports$=(0,mI.z)((0,B1.of)([]),this.airportsInput$.pipe((0,p9.b)(400),(0,SE.x)(),(0,I5.b)(()=>this.airportsLoading=!0),(0,gI.w)(t=>this.apiCache.get(["ors-airports-search",t],this.airportService.getAirports({query:{where:{$text:{$search:t}},projection:{_score:{$meta:"textScore"}},sort:'[("_score", { "$meta": "textScore" })]',max_results:100}})).pipe((0,mh.U)(r=>e=r._items),(0,u_.K)(()=>(0,B1.of)([])),(0,I5.b)(()=>this.airportsLoading=!1)))))}};Rb.ctorParameters=()=>[{type:JE.A},{type:ws.j},{type:og.u},{type:X3.G},{type:Fr.FF},{type:_c.zM},{type:h_},{type:vI.h}],Rb.propDecorators={aircraft:[{type:i.IIB}],showSimpleView:[{type:i.IIB}],aircraftChange:[{type:i.r_U}],change:[{type:i.r_U}]},Rb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-flight",template:Aj,styles:[Oj]})],Rb);var zj=B(39071),Rj=B(69685);let Nb=class{constructor(e,t,r,l,u,M,F){this.http=e,this.observationSubject=t,this.involvedSubject=r,this.userLungoService=l,this.userService=u,this.apiCache=M,this.modalService=F,this.details=!0,this.disabled=!1,this.items=[],this.dataReady=!1,this.faCheck=st.LEp,this.faExclamation=st.WV2,this.faTimes=st.NBC,this.requestAutocompleteItems=_e=>this.apiCache.get(["lungo-user-search",_e,{}],this.userLungoService.search(_e,this.observation._model.type)).pipe((0,mh.U)(Le=>Le._items)),this.involvedSubject.currentArr.subscribe(_e=>this.involved=_e),this.observationSubject.observableObservation.subscribe(_e=>this.observation=_e)}ngOnInit(){this.who?this.who.forEach((e,t)=>{if(console.log(e),e.id<0&&e.tmp_name)this.items.push({id:e.id,full_name:e.tmp_name}),this.involved.push({id:e.id,tmp_name:e.tmp_name,full_name:e.tmp_name});else{const r={query:{where:{id:e.id},projection:{full_name:1}}};this.userLungoService.getUser(e.id,r).subscribe(l=>{this.items.push({id:e.id,full_name:l.full_name,tmp_name:e.tmp_name}),this.involved.push({id:e.id,full_name:l.full_name})},l=>{console.log(l),this.items.push({id:e.id,full_name:e.tmp_name,tmp_name:e.tmp_name}),this.involved.push({id:e.id,full_name:e.tmp_name,tmp_name:e.tmp_name})},()=>this.involvedSubject.changeArr(this.involved))}}):(this.who=[],this.items=[],this.involvedSubject.changeArr(this.involved)),this.dataReady=!0}onAdd(e){if(console.log("Add"),console.log(e),e.id===e.full_name){console.log("tmp_name",e);const r=-1*(new Date).getMilliseconds();this.who.push({id:r,tmp_name:e.full_name}),this.items.forEach((l,u)=>{l.id===e.id&&(this.items[u].id=r)})}else if(e.id<0){e.id,e.full_name,new Date}else{let t={id:e.id,data:{date:new Date}};this.userLungoService.getUser(e.id,{query:{projection:{functions:1,licenses:1}}}).subscribe(r=>{console.log("data.licenses"),t.data.licenses=r.licenses,t.data.functions=r.functions,this.userService.getUser(e.id,{query:{projection:{avatar:0,settings:1}}}).subscribe(l=>{t.data.private=l.settings},l=>console.log(l))},r=>console.log(r),()=>this.who.push(t))}this.involved.push({id:e.id,full_name:e.full_name}),this.involvedSubject.changeArr(this.involved),this.setObservation()}openPersonModal(e,t){this.modalIndex=t,this.modalPerson=this.who[t],this.modalPerson.hasOwnProperty("data")||(this.modalPerson.data={}),this.modalPerson.data.hasOwnProperty("gear")||(this.modalPerson.data.gear={}),this.modalRef=this.modalService.open(e,{size:"lg"})}modalInvolvedUpdate(e){this.who[e]=this.modalPerson,this.setObservation(),this.modalRef.close()}onRemove(e){this.who.forEach((t,r)=>{t.id===e.id&&(this.who.splice(r,1),this.who===[null,null]&&(this.who=[]))}),this.involved.forEach((t,r)=>{t.id===e.id&&(this.involved.splice(r,1),this.involved===[null,null]&&(this.involved=[]))}),this.items.forEach((t,r)=>{t.id===e.id&&(this.items.splice(r,1),this.items===[null,null]&&(this.items=[]))}),this.involvedSubject.changeArr(this.involved),this.setObservation()}setObservation(){const e=this.path.split(".");1===e.length?this.observation[e[0]]=this.who:2===e.length?this.observation[e[0]][e[1]]=this.who:3===e.length?this.observation[e[0]][e[1]][e[2]]=this.who:4===e.length?this.observation[e[0]][e[1]][e[2]][e[3]]=this.who:5===e.length&&(this.observation[e[0]][e[1]][e[2]][e[3]][e[4]]=this.who),this.observationSubject.update(this.observation)}};Nb.ctorParameters=()=>[{type:Mu.eN},{type:ws.j},{type:w2},{type:Zu.p},{type:jp._},{type:X3.G},{type:Fr.FF}],Nb.propDecorators={who:[{type:i.IIB}],path:[{type:i.IIB}],details:[{type:i.IIB}],disabled:[{type:i.IIB}],maxItems:[{type:i.IIB}]},Nb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-people-motorfly",template:zj,styles:[Rj]})],Nb);var Hj=B(4025),Bj=B(76845);let Hb=class{constructor(e,t){this.involvedSubject=e,this.modalService=t,this.activity="motorfly",this.crewChange=new i.vpe,this.change=new i.vpe,this.disabled=!1,this.faPlus=st.r8p,this.faUserSecret=st.BC0,this.faCheck=st.LEp,this.faTimes=st.NBC,this.faUser=Qs.ILF,this.faClose=st.YIN,this.faEdit=st.Xcf,this.involvedSubject.currentArr.subscribe(r=>this.involved=r)}ngOnInit(){Array.isArray(this.crew)||(this.crew=[]),this.updateInvolved()}add(){this.modalIdx=this.crew.length}delete(e){this.crew.splice(e,1),this.update()}setAnon(){this.modalValue&&(this.anon=!0,this.modalValue.person={id:-1*Math.floor(1e5*Math.random()),tmp_name:"Anonymisert person"})}unsetAnon(){this.modalValue.person={id:void 0,tmp_name:void 0,full_name:void 0},this.anon=!1}addLicense(){this.modalValue.flightCrewMember.entities.flightCrewLicenses.push((new as.T$).flightCrewLicenses)}deleteLicense(e){this.modalValue.flightCrewMember.entities.flightCrewLicenses.splice(e,1)}addIncapacitation(){this.modalValue.incapacitation.push((new as.T$).incapacitation)}deleteIncapacitation(e){this.modalValue.incapacitation.splice(e,1)}addHumanFactors(){this.modalValue.humanFactors={sleep:void 0,stress:void 0,pressure:void 0}}deleteHumanFactors(e){this.modalValue.humanFactors=void 0}openModal(e,t){this.modalIdx=t,this.modalIdx===this.crew.length?this.modalValue={person:{id:void 0,tmp_name:void 0,full_name:void 0},humanFactors:void 0,currency:{h90d:void 0,h365d:void 0},flightCrewMember:(new as.T$).flightCrewMember,incapacitation:[]}:this.modalValue=this.crew[this.modalIdx],this.modalRef=this.modalService.open(e,{size:"lg",backdrop:"static",keyboard:!1})}updateInvolved(){for(let e of this.crew)e.person.id<0?this.involvedSubject.add(e.person.id,e.person.tmp_name):this.involvedSubject.add(e.person.id,void 0)}update(){this.crewChange.emit(this.crew),this.change.emit(!0)}modalUpdate(){this.modalIdx===this.crew.length?(this.involvedSubject.add(this.modalValue.person.id,this.modalValue.person.tmp_name||!1),this.crew.push(this.modalValue)):this.crew[this.modalIdx]=Object.assign({},this.modalValue),this.update(),this.modalRef.close()}};Hb.ctorParameters=()=>[{type:w2},{type:Fr.FF}],Hb.propDecorators={crew:[{type:i.IIB}],callsign:[{type:i.IIB}],activity:[{type:i.IIB}],crewChange:[{type:i.r_U}],change:[{type:i.r_U}],disabled:[{type:i.IIB}]},Hb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-ors-editor-aircraft-person",template:Hj,styles:[Bj]})],Hb);var Fj=B(79185);let mw=class extends Cp.Q{constructor(e){super(e),this.relativeUrl="/distinct/"}get(e,t,r){return this.getItem(this.relativeUrl+e+"/",t,r)}};mw.ctorParameters=()=>[{type:Mu.eN}],mw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],mw);var Uj=B(39725),Yj=B(84615),Wj=B(79392),Gj=B(61297),qj=B(67018),$j=B(30770);let vw=class{constructor(e,t,r){this.userSubject=e,this.membership=t,this.alertService=r,this.hasLicenses=!1,this.render=!1,this.userSubject.observable.subscribe(l=>{l&&this.getuser(l.person_id)},l=>console.log("Error getting user data: ",l))}getuser(e){this.membership.getUser(e).subscribe(t=>{this.user=t,this.render=!0,t.licenses&&t.licenses.rights&&t.licenses.rights.length>0&&(this.hasLicenses=!0)},t=>{console.error(t),this.alertService.error("Kunne ikke finne medlemsskapsdata p\xe5 deg")})}ngOnInit(){}get diagnostic(){return JSON.stringify(this.user)}};vw.ctorParameters=()=>[{type:Ec.K},{type:Zv.d},{type:ul.u}],vw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-membership",template:qj,styles:[$j]})],vw);var Zj=B(66590),Xj=B(4767);let _w=class{constructor(e,t,r){this.userSubject=e,this.apiUserService=t,this.fb=r,this.model={},this.user={},this.render=!1,this.userSubject.observable.subscribe(l=>{l&&(this.getCurrentUser(l.person_id),this.createForm())})}getCurrentUser(e){this.apiUserService.getUser(this.user.id,{query:{projection:{avatar:0,acl:1}}}).subscribe(r=>{this.model=r,this.render=!0,console.log(this.model),this.populateForm()},r=>console.error(r),()=>{})}setClub(e){this.model.default_discipline=e}ngOnInit(){}createForm(){this.settingsForm=this.fb.group({harnessType:"",harnessExperience:"",mainCanopyType:"",mainCanopySize:"",mainCanopyExperience:"",reserveCanopyType:"",reserveCanopySize:"",aadType:"",rigger:"",total_jumps:""})}populateForm(){this.settingsForm.setValue({harnessType:this.model.settings.gear.harnessType,harnessExperience:this.model.settings.gear.harnessExperience,mainCanopyType:this.model.settings.gear.mainCanopyType,mainCanopySize:this.model.settings.gear.mainCanopySize,mainCanopyExperience:this.model.settings.gear.mainCanopyExperience,reserveCanopyType:this.model.settings.gear.reserveCanopyType,reserveCanopySize:this.model.settings.gear.reserveCanopySize,aadType:this.model.settings.gear.aadType,rigger:this.model.settings.gear.rigger,total_jumps:this.model.settings.total_jumps})}get diagnostic(){return JSON.stringify(this.model)}};_w.ctorParameters=()=>[{type:Ec.K},{type:jp._},{type:yc.qu}],_w=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-settings",template:Zj,styles:[Xj]})],_w);var Qj=B(74862),eF=B(66447);let bw=class{constructor(){}ngOnInit(){}};bw.ctorParameters=()=>[],bw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-notifications",template:Qj,styles:[eF]})],bw);var nF=B(14946),iF=B(12698);let Bb=class{constructor(e,t){this.userSubject=e,this.clubService=t,this.getSelected=new i.vpe(!0),this.dataReady=!1,this.something="",this.events=[],this.userSubject.observable.subscribe(r=>this.userData=r)}ngOnInit(){this.userClubChooser=new yc.NI}ngAfterViewInit(){this.getUserClubs(),this.userClubChooser.valueChanges.subscribe(e=>{this.getSelected.emit(e)})}getUserClubs(){this.clubService.getUser(this.userData.person_id,{query:{projection:{"membership.clubs":1}}}).subscribe(t=>{console.log("USER SELCTOR"),console.log(t.membership.clubs),this.userClubs=t.membership.clubs,""===this.defaultClub||void 0===this.defaultClub?this.userClubs.length>0&&(this.selected=this.userClubs[0]):this.selected=this.defaultClub,this.dataReady=!0},t=>console.error(t),()=>console.log("Done"))}};Bb.ctorParameters=()=>[{type:Ec.K},{type:Zv.d}],Bb.propDecorators={defaultClub:[{type:i.IIB}],getSelected:[{type:i.r_U}]},Bb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-club-selector",template:nF,styles:[iF]})],Bb);var oF=B(43466),sF=B(32707);let jb=class{constructor(e){this.userService=e,this.columns=[{key:"id",title:"ID"},{key:"fullname",title:"Name"},{key:"phone",title:"Phone"},{key:"email",title:"Email"}],this.pagination={limit:10,offset:0,count:null},this.sort=[{id:1}],this.configuration={searchEnabled:!1,headerEnabled:!0,orderEnabled:!0,globalSearchEnabled:!1,paginationEnabled:!0,exportEnabled:!0,clickEvent:!1,selectRow:!0,selectCol:!1,selectCell:!1,rows:10,additionalActions:!1,serverPagination:!1,isLoading:!1,detailsTemplate:!0,groupRows:!1}}ngOnInit(){this.getData()}eventEmitted(e){this.parseEvent(e)}parseEvent(e){if("onPagination"===e.event&&(this.pagination.limit=e.value.limit?e.value.limit:this.pagination.limit,this.pagination.offset=e.value.page?e.value.page:this.pagination.offset,this.pagination=Object.assign({},this.pagination)),"onOrder"===e.event){this.sort=[];let t={};"desc"===e.value.order?t[e.value.key]=-1:"asc"===e.value.order&&(t[e.value.key]=1),this.sort.push(t)}this.getData()}getData(){let e={query:{page:this.pagination.offset,max_results:this.pagination.limit,sort:this.sort},headers:{"X-Something-Stinks":"Have a fishy day!"}};this.userService.getUsers(e).subscribe(t=>{this.pagination.count=t._meta.total,this.pagination=Object.assign({},this.pagination),this.data=t._items},t=>console.error(t),()=>console.log("Done"))}};jb.ctorParameters=()=>[{type:Zv.d}],jb.propDecorators={detailsTemplateRef:[{type:i.i9L,args:["detailsTemplate",{static:!1}]}]},jb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-table",template:oF,styles:[sF]})],jb);let yw=class{constructor(e,t,r,l,u){this.router=e,this.alertService=t,this.injector=r,this.http=l,this.authDataSubject=u,this.cachedRequests=[],this.hasToken=!1,this.authDataSubject.observableAuth.subscribe(M=>{M&&M.hasOwnProperty("token")&&this.cachedRequests.length>0&&this.retryFailedRequests()},M=>console.log("Auth interceptor error getting login logout")),this.authDataSubject.observableAuthData.subscribe(M=>{M&&(this.token=M.token)},M=>console.log("Problem getting token: ",M))}collectFailedRequest(e){console.log("cached Request",e),this.cachedRequests.push(e)}retryFailedRequests(){this.cachedRequests.forEach(e=>{console.log("Retrying: ",e),this.http.request(e).subscribe(t=>{})})}intercept(e,t){return this.token&&(e=e.clone({setHeaders:{Authorization:"Basic "+this.token,"Cache-Control":"no-cache",Pragma:"no-cache"}})),t.handle(e).pipe((0,I5.b)(r=>{Mu.Zn},r=>{if(r instanceof Mu.UA&&401===r.status){const l=this.injector.get($g.$);this.collectFailedRequest(e),console.log("401"),console.log(this.cachedRequests),l.logout()}}))}};yw.ctorParameters=()=>[{type:_r.F0},{type:ul.u},{type:i.zs3},{type:Mu.eN},{type:af.W}],yw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.GSi)()],yw);var cF=B(41510),dF=B(86590);let xw=class{constructor(e,t,r,l,u,M,F){this.route=e,this.location=t,this.router=r,this.auth=l,this.authSubject=u,this.modalService=M,this.heartbeat=F,this.model={},this.loading=!1,this.isAuthenticated=!1,this.ENV=W2.N,this.faLock=st.byT,this.faCheck=st.LEp,this.faExclamationTriangle=st.eHv,this._return_uri=window.location.href,this.heartbeat.get().subscribe(_e=>this.status=_e,_e=>{this.status="_status"in _e?_e:{_status:!1,message:{mongo:0}}}),this.authSubject.observableAuth.subscribe(_e=>{console.log("Auth subject",_e),this.isAuthenticated=_e,!0===_e&&this.auth.firstLogin&&!this.modalService.hasOpenModals()?this.open():!1===_e&&this.close()},_e=>this.isAuthenticated=!1)}ngOnInit(){this.route.queryParamMap.subscribe(e=>{console.log("Params map",e.params),e.params.access_token?(this.access_token=e.params.access_token,this.id_token=e.params.id_token,console.log("Query params map access token",e.params),this.oauthLogin(this.access_token,this.id_token),this.removeOauthParams()):e.params.error&&(console.log("Query params map error",e.params),this.oauth_error=e.params.error,this.oauth_error_descr=e.params.error_description,this.removeOauthParams())},e=>console.log("Error retrieving query params: "+e))}open(){this.modalRef=this.modalService.open(E_.o,{backdrop:"static",keyboard:!1})}close(){this.modalService.hasOpenModals()&&this.modalService.dismissAll()}isAuth(){return console.log("Auth component isAuth"),this.isAuthenticated}oauthLogin(e,t,r){console.log("Doing the login",e,t),this.auth.login("access_token",e,t,r)}removeOauthParams(){this.router.navigate([],{queryParams:{access_token:null,token_type:null,expires_in:null,error:null,error_description:null,scope:null,id_token:null},queryParamsHandling:"merge",replaceUrl:!0}).then(e=>{console.log("PATH",this.location.path(),"Router",this.router.url,"URL",this.route.snapshot.url),this._return_uri=window.location.href})}};xw.ctorParameters=()=>[{type:_r.gz},{type:Zo.Ye},{type:_r.F0},{type:$g.$},{type:af.W},{type:Fr.FF},{type:J7}],xw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-auth",template:cF,styles:[dF]})],xw);var hF=B(88526),fF=B(20747);let Fb=class{constructor(e,t,r){this.alertService=e,this.groupsService=t,this.rolesService=r,this.acl={}}ngOnInit(){if(this.groups)for(let e of this.groups)this.acl[e]=[];if(this.clubs)for(let e of this.clubs){let t={query:{where:{ref:e}}};this.groupsService.getGroups(t).subscribe(r=>{r._items.length>0&&(this.acl[r._items[0]._id]=[])},r=>console.log(r))}if(this.roles)for(let e of this.roles)this.rolesService.getRole(e).subscribe(t=>{t.group&&(this.acl[t.group]?this.acl[t.group].push(e):this.acl[t.group]=[e])},t=>console.log(t));this.keys=Object.keys(this.acl)}getKeys(){return Object.keys(this.acl)}get diagnostic(){return JSON.stringify(this.acl)}};Fb.ctorParameters=()=>[{type:ul.u},{type:oy.h},{type:Xv.W}],Fb.propDecorators={groups:[{type:i.IIB}],roles:[{type:i.IIB}],clubs:[{type:i.IIB}]},Fb=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-user-acl",template:hF,styles:[fF]})],Fb);var gF=B(97126),mF=B(5015);let Cw=class{constructor(e,t,r){this.geoLocationService=e,this.airportService=t,this.metService=r,this.dataReady=!1,this._get=qi.get,this.geoLocationService.getLocation({enableHighAccuracy:!0}).subscribe(l=>{console.log(l),this.geo=l;const u={query:{where:{type:{$ne:"closed"},iata_code:{$ne:null},location:{$nearSphere:{$geometry:{type:"Point",coordinates:[this.geo.coords.longitude,this.geo.coords.latitude]},$maxDistance:1e6}}},max_results:1,projection:{icao:1}}};this.airportService.getAirports(u).subscribe(M=>{1===M._items.length&&this.metService.getLastMetar(M._items[0].icao).subscribe(F=>{this.metar=F,this.dataReady=!0},F=>{this.error=F,console.log(F)})})},l=>{console.log(l)})}ngOnInit(){}};Cw.ctorParameters=()=>[{type:og.u},{type:JE.A},{type:h_}],Cw=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.wA2)({selector:"nlf-met-metar",template:gF,styles:[mF]})],Cw);var QE;let Vb=QE=class{constructor(e,t){this.elementRef=e,this.renderer=t,this.propValueAccessor="textContent",this.disabled=!1}ngOnInit(){this.propValueAccessor=this.propValueAccesor||this.propValueAccessor,this.disabled&&this.setDisabledState(this.disabled)}callOnChange(){"function"==typeof this.onChange&&this.onChange(this.elementRef.nativeElement[this.propValueAccessor])}callOnTouched(){"function"==typeof this.onTouched&&this.onTouched()}writeValue(e){const t=null==e?"":e;this.renderer.setProperty(this.elementRef.nativeElement,this.propValueAccessor,t)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?(this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","true"),this.removeDisabledState=this.renderer.listen(this.elementRef.nativeElement,"keydown",this.listenerDisabledState)):this.removeDisabledState&&(this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled"),this.removeDisabledState())}listenerDisabledState(e){e.preventDefault()}};Vb.ctorParameters=()=>[{type:i.SBq},{type:i.Qsj}],Vb.propDecorators={propValueAccessor:[{type:i.IIB}],disabled:[{type:i.IIB}],propValueAccesor:[{type:i.IIB}],callOnChange:[{type:i.L6J,args:["input"]}],callOnTouched:[{type:i.L6J,args:["blur"]}]},Vb=QE=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.Xek)({selector:"[contenteditable]",providers:[{provide:yc.JU,useExisting:(0,i.Gpc)(()=>QE),multi:!0}]})],Vb);const bF=["treeContainer"];function yF(d,e){if(1&d&&i._UZ(0,"i",0),2&d){const t=i.oxw();i.Q6J("ngClass",t.getClassNames("arrowIcon"))}}function xF(d,e){1&d&&i.GkF(0)}function CF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,xF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",r.getArrowIconContext())}}function wF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"a",9),i.NdJ("click",function(){return i.CHM(t),i.oxw().toggleCollapse()}),i.YNc(1,CF,2,2,"ng-container",3),i.qZA()}if(2&d){const t=i.oxw(),r=i.MAs(2);i.Q6J("ngClass",t.getClassNames("arrowIconButton",t.data.collapsed?"collapsed":"")),i.xp6(1),i.Q6J("ngIf",t.getArrowIconTemplate())("ngIfElse",r)}}function MF(d,e){1&d&&i.GkF(0)}function TF(d,e){if(1&d&&(i.ynx(0),i.TgZ(1,"div",0),i.YNc(2,MF,1,0,"ng-container",10),i.qZA(),i.BQk()),2&d){const t=e.ngIf,r=i.oxw();i.xp6(1),i.Q6J("ngClass",r.getClassNames("buttonGroup","rightAlign")),i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",r.getButtonGroupContext())}}function SF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).addRuleSet()}),i._UZ(1,"i",0),i._uU(2," Ruleset "),i.qZA()}if(2&d){const t=i.oxw(2);i.Q6J("ngClass",t.getClassNames("button"))("disabled",t.disabled),i.xp6(1),i.Q6J("ngClass",t.getClassNames("addIcon"))}}function kF(d,e){if(1&d){const t=i.EpF();i.ynx(0),i.TgZ(1,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw(2).removeRuleSet()}),i._UZ(2,"i",0),i.qZA(),i.BQk()}if(2&d){const t=i.oxw(2);i.xp6(1),i.Q6J("ngClass",t.getClassNames("button","removeButton"))("disabled",t.disabled),i.xp6(1),i.Q6J("ngClass",t.getClassNames("removeIcon"))}}function LF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"button",11),i.NdJ("click",function(){return i.CHM(t),i.oxw().addRule()}),i._UZ(2,"i",0),i._uU(3," Rule "),i.qZA(),i.YNc(4,SF,3,3,"button",12),i.YNc(5,kF,3,3,"ng-container",13),i.qZA()}if(2&d){const t=i.oxw();i.Q6J("ngClass",t.getClassNames("buttonGroup","rightAlign")),i.xp6(1),i.Q6J("ngClass",t.getClassNames("button"))("disabled",t.disabled),i.xp6(1),i.Q6J("ngClass",t.getClassNames("addIcon")),i.xp6(2),i.Q6J("ngIf",t.allowRuleset),i.xp6(1),i.Q6J("ngIf",!!t.parentValue&&t.allowRuleset)}}function EF(d,e){1&d&&i.GkF(0)}function DF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,EF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",r.getSwitchGroupContext())}}function IF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"div",0)(2,"input",14,15),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(2).data.condition=l}),i.qZA(),i.TgZ(4,"label",9),i.NdJ("click",function(){i.CHM(t);const l=i.MAs(3);return i.oxw(2).changeCondition(l.value)}),i._uU(5,"AND"),i.qZA()(),i.TgZ(6,"div",0)(7,"input",16,17),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(2).data.condition=l}),i.qZA(),i.TgZ(9,"label",9),i.NdJ("click",function(){i.CHM(t);const l=i.MAs(8);return i.oxw(2).changeCondition(l.value)}),i._uU(10,"OR"),i.qZA()()()}if(2&d){const t=i.oxw(2);i.Q6J("ngClass",t.getClassNames("switchGroup","transition")),i.xp6(1),i.Q6J("ngClass",t.getClassNames("switchControl")),i.xp6(1),i.Q6J("ngClass",t.getClassNames("switchRadio"))("ngModel",t.data.condition)("disabled",t.disabled),i.xp6(2),i.Q6J("ngClass",t.getClassNames("switchLabel")),i.xp6(2),i.Q6J("ngClass",t.getClassNames("switchControl")),i.xp6(1),i.Q6J("ngClass",t.getClassNames("switchRadio"))("ngModel",t.data.condition)("disabled",t.disabled),i.xp6(2),i.Q6J("ngClass",t.getClassNames("switchLabel"))}}function AF(d,e){if(1&d&&i.YNc(0,IF,11,11,"div",8),2&d){const t=i.oxw();i.Q6J("ngIf",t.data)}}function OF(d,e){1&d&&i.GkF(0)}function PF(d,e){if(1&d&&(i.ynx(0),i.TgZ(1,"div",0),i.YNc(2,OF,1,0,"ng-container",10),i.qZA(),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(3).$implicit,l=i.oxw(2);i.xp6(1),i.Q6J("ngClass",l.getClassNames("buttonGroup","rightAlign")),i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",l.getRemoveButtonContext(r))}}function zF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"button",11),i.NdJ("click",function(){i.CHM(t);const l=i.oxw(3).$implicit,u=i.oxw(2);return u.removeRule(l,u.data)}),i._UZ(2,"i",0),i.qZA()()}if(2&d){const t=i.oxw(5);i.Q6J("ngClass",t.getClassNames("removeButtonSize","rightAlign")),i.xp6(1),i.Q6J("ngClass",t.getClassNames("button","removeButton"))("disabled",t.disabled),i.xp6(1),i.Q6J("ngClass",t.getClassNames("removeIcon"))}}function RF(d,e){1&d&&i.GkF(0)}function NF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,RF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(4).$implicit,l=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",l.getEntityContext(r))}}function HF(d,e){if(1&d&&(i.TgZ(0,"div",27),i.YNc(1,NF,2,2,"ng-container",3),i.qZA()),2&d){i.oxw();const t=i.MAs(6),r=i.oxw(4);i.xp6(1),i.Q6J("ngIf",r.getEntityTemplate())("ngIfElse",t)}}function BF(d,e){if(1&d&&(i.TgZ(0,"option",30),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.Q6J("ngValue",t.value),i.xp6(1),i.hij(" ",t.name," ")}}function jF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"select",28),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(3).$implicit.entity=l})("ngModelChange",function(l){i.CHM(t);const u=i.oxw(3),M=u.$implicit,F=u.index,_e=i.oxw(2);return _e.changeEntity(l,M,F,_e.data)}),i.YNc(2,BF,2,2,"option",29),i.qZA()()}if(2&d){const t=i.oxw(3).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("entityControlSize")),i.xp6(1),i.Q6J("ngClass",r.getClassNames("entityControl"))("ngModel",t.entity)("disabled",r.disabled),i.xp6(1),i.Q6J("ngForOf",r.entities)}}function FF(d,e){1&d&&i.GkF(0)}function VF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,FF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(3).$implicit,l=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",l.getFieldContext(r))}}function UF(d,e){if(1&d&&(i.TgZ(0,"option",30),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.Q6J("ngValue",t.value),i.xp6(1),i.hij(" ",t.name," ")}}function YF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"select",28),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(3).$implicit.field=l})("ngModelChange",function(l){i.CHM(t);const u=i.oxw(3).$implicit;return i.oxw(2).changeField(l,u)}),i.YNc(2,UF,2,2,"option",29),i.qZA()()}if(2&d){const t=i.oxw(3).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("fieldControlSize")),i.xp6(1),i.Q6J("ngClass",r.getClassNames("fieldControl"))("ngModel",t.field)("disabled",r.disabled),i.xp6(1),i.Q6J("ngForOf",r.getFields(t.entity))}}function WF(d,e){1&d&&i.GkF(0)}function GF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,WF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(3).$implicit,l=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",l.getOperatorContext(r))}}function qF(d,e){if(1&d&&(i.TgZ(0,"option",30),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.Q6J("ngValue",t),i.xp6(1),i.hij(" ",t," ")}}function $F(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"div",0)(1,"select",28),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(3).$implicit.operator=l})("ngModelChange",function(){i.CHM(t);const l=i.oxw(3).$implicit;return i.oxw(2).changeOperator(l)}),i.YNc(2,qF,2,2,"option",29),i.qZA()()}if(2&d){const t=i.oxw(3).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("operatorControlSize")),i.xp6(1),i.Q6J("ngClass",r.getClassNames("operatorControl"))("ngModel",t.operator)("disabled",r.disabled),i.xp6(1),i.Q6J("ngForOf",r.getOperators(t.field))}}function KF(d,e){1&d&&i.GkF(0)}function ZF(d,e){if(1&d&&(i.ynx(0),i.YNc(1,KF,1,0,"ng-container",10),i.BQk()),2&d){const t=e.ngIf,r=i.oxw(3).$implicit,l=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",l.getInputContext(r))}}function XF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"input",39),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled)}}function JF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"input",40),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled)}}function QF(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"input",41),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled)}}function eV(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"input",42),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled)}}function tV(d,e){if(1&d&&(i.TgZ(0,"option",30),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.Q6J("ngValue",t.value),i.xp6(1),i.hij(" ",t.name," ")}}function nV(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"select",28),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.YNc(1,tV,2,2,"option",29),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled),i.xp6(1),i.Q6J("ngForOf",r.getOptions(t.field))}}function iV(d,e){if(1&d&&(i.TgZ(0,"option",30),i._uU(1),i.qZA()),2&d){const t=e.$implicit;i.Q6J("ngValue",t.value),i.xp6(1),i.hij(" ",t.name," ")}}function rV(d,e){if(1&d){const t=i.EpF();i.ynx(0),i.TgZ(1,"select",43),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.YNc(2,iV,2,2,"option",29),i.qZA(),i.BQk()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.xp6(1),i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled),i.xp6(1),i.Q6J("ngForOf",r.getOptions(t.field))}}function oV(d,e){if(1&d){const t=i.EpF();i.TgZ(0,"input",44),i.NdJ("ngModelChange",function(l){i.CHM(t);return i.oxw(4).$implicit.value=l})("ngModelChange",function(){return i.CHM(t),i.oxw(6).changeInput()}),i.qZA()}if(2&d){const t=i.oxw(4).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControl"))("ngModel",t.value)("disabled",r.disabled)}}function sV(d,e){if(1&d&&(i.TgZ(0,"div",31),i.YNc(1,XF,1,3,"input",32),i.YNc(2,JF,1,3,"input",33),i.YNc(3,QF,1,3,"input",34),i.YNc(4,eV,1,3,"input",35),i.YNc(5,nV,2,4,"select",36),i.YNc(6,rV,3,4,"ng-container",37),i.YNc(7,oV,1,3,"input",38),i.qZA()),2&d){const t=i.oxw(3).$implicit,r=i.oxw(2);i.Q6J("ngClass",r.getClassNames("inputControlSize"))("ngSwitch",r.getInputType(t.field,t.operator)),i.xp6(1),i.Q6J("ngSwitchCase","string"),i.xp6(1),i.Q6J("ngSwitchCase","number"),i.xp6(1),i.Q6J("ngSwitchCase","date"),i.xp6(1),i.Q6J("ngSwitchCase","time"),i.xp6(1),i.Q6J("ngSwitchCase","category"),i.xp6(1),i.Q6J("ngSwitchCase","multiselect"),i.xp6(1),i.Q6J("ngSwitchCase","boolean")}}function aV(d,e){if(1&d&&(i.ynx(0),i.YNc(1,PF,3,3,"ng-container",3),i.YNc(2,zF,3,4,"ng-template",null,21,i.W1O),i.YNc(4,HF,2,2,"div",22),i.YNc(5,jF,3,5,"ng-template",null,23,i.W1O),i.YNc(7,VF,2,2,"ng-container",3),i.YNc(8,YF,3,5,"ng-template",null,24,i.W1O),i.YNc(10,GF,2,2,"ng-container",3),i.YNc(11,$F,3,5,"ng-template",null,25,i.W1O),i.YNc(13,ZF,2,2,"ng-container",3),i.YNc(14,sV,8,9,"ng-template",null,26,i.W1O),i.BQk()),2&d){const t=i.MAs(3),r=i.MAs(9),l=i.MAs(12),u=i.MAs(15),M=i.oxw(2).$implicit,F=i.oxw(2);i.xp6(1),i.Q6J("ngIf",F.getRemoveButtonTemplate())("ngIfElse",t),i.xp6(3),i.Q6J("ngIf",null==F.entities?null:F.entities.length),i.xp6(3),i.Q6J("ngIf",F.getFieldTemplate())("ngIfElse",r),i.xp6(3),i.Q6J("ngIf",F.getOperatorTemplate())("ngIfElse",l),i.xp6(3),i.Q6J("ngIf",F.findTemplateForRule(M))("ngIfElse",u)}}function lV(d,e){if(1&d&&i._UZ(0,"query-builder",45),2&d){const t=i.oxw(2).$implicit,r=i.oxw(2);i.Q6J("data",t)("disabled",r.disabled)("parentTouchedCallback",r.parentTouchedCallback||r.onTouchedCallback)("parentChangeCallback",r.parentChangeCallback||r.onChangeCallback)("parentInputTemplates",r.parentInputTemplates||r.inputTemplates)("parentOperatorTemplate",r.parentOperatorTemplate||r.operatorTemplate)("parentFieldTemplate",r.parentFieldTemplate||r.fieldTemplate)("parentEntityTemplate",r.parentEntityTemplate||r.entityTemplate)("parentSwitchGroupTemplate",r.parentSwitchGroupTemplate||r.switchGroupTemplate)("parentButtonGroupTemplate",r.parentButtonGroupTemplate||r.buttonGroupTemplate)("parentRemoveButtonTemplate",r.parentRemoveButtonTemplate||r.removeButtonTemplate)("parentEmptyWarningTemplate",r.parentEmptyWarningTemplate||r.emptyWarningTemplate)("parentArrowIconTemplate",r.parentArrowIconTemplate||r.arrowIconTemplate)("parentValue",r.data)("classNames",r.classNames)("config",r.config)("allowRuleset",r.allowRuleset)("allowCollapse",r.allowCollapse)("emptyMessage",r.emptyMessage)("operatorMap",r.operatorMap)}}function cV(d,e){1&d&&i.GkF(0)}function dV(d,e){if(1&d&&(i.ynx(0),i.YNc(1,cV,1,0,"ng-container",10),i.BQk()),2&d){const t=i.oxw().ngIf,r=i.oxw(4);i.xp6(1),i.Q6J("ngTemplateOutlet",t)("ngTemplateOutletContext",r.getEmptyWarningContext())}}function uV(d,e){if(1&d&&(i.ynx(0),i.YNc(1,dV,2,2,"ng-container",13),i.BQk()),2&d){const t=i.oxw().ngIf;i.xp6(1),i.Q6J("ngIf",t.invalid)}}function hV(d,e){if(1&d&&(i.TgZ(0,"p",0),i._uU(1),i.qZA()),2&d){const t=i.oxw(5);i.Q6J("ngClass",t.getClassNames("emptyWarning")),i.xp6(1),i.hij(" ",t.emptyMessage," ")}}function fV(d,e){if(1&d&&i.YNc(0,hV,2,2,"p",8),2&d){const t=i.oxw().ngIf;i.Q6J("ngIf",t.invalid)}}function pV(d,e){if(1&d&&(i.ynx(0),i.TgZ(1,"li",0),i.YNc(2,aV,16,9,"ng-container",13),i.YNc(3,lV,1,20,"query-builder",19),i.YNc(4,uV,2,1,"ng-container",3),i.YNc(5,fV,1,1,"ng-template",null,20,i.W1O),i.qZA(),i.BQk()),2&d){const t=e.ngIf,r=i.MAs(6),l=i.oxw(3);i.xp6(1),i.Q6J("ngClass",l.getQueryItemClassName(t)),i.xp6(1),i.Q6J("ngIf",!t.ruleset),i.xp6(1),i.Q6J("ngIf",t.ruleset),i.xp6(1),i.Q6J("ngIf",l.getEmptyWarningTemplate())("ngIfElse",r)}}const gV=function(d,e){return{ruleset:d,invalid:e}};function mV(d,e){if(1&d&&(i.ynx(0),i.YNc(1,pV,7,5,"ng-container",13),i.BQk()),2&d){const t=e.$implicit,r=i.oxw(2);i.xp6(1),i.Q6J("ngIf",i.WLB(1,gV,!!t.rules,!r.config.allowEmptyRulesets&&t.rules&&0===t.rules.length))}}function vV(d,e){if(1&d&&(i.TgZ(0,"ul",0),i.YNc(1,mV,2,4,"ng-container",18),i.qZA()),2&d){const t=i.oxw();i.Q6J("ngClass",t.getClassNames("tree")),i.xp6(1),i.Q6J("ngForOf",t.data.rules)}}class gv{constructor(e){this.template=e}}gv.\u0275fac=function(e){return new(e||gv)(i.Y36(i.Rgc))},gv.\u0275dir=i.lG2({type:gv,selectors:[["","queryOperator",""]]});class mv{constructor(e){this.template=e}}mv.\u0275fac=function(e){return new(e||mv)(i.Y36(i.Rgc))},mv.\u0275dir=i.lG2({type:mv,selectors:[["","queryField",""]]});class vv{constructor(e){this.template=e}}vv.\u0275fac=function(e){return new(e||vv)(i.Y36(i.Rgc))},vv.\u0275dir=i.lG2({type:vv,selectors:[["","queryEntity",""]]});class _v{constructor(e){this.template=e}}_v.\u0275fac=function(e){return new(e||_v)(i.Y36(i.Rgc))},_v.\u0275dir=i.lG2({type:_v,selectors:[["","querySwitchGroup",""]]});class bv{constructor(e){this.template=e}}bv.\u0275fac=function(e){return new(e||bv)(i.Y36(i.Rgc))},bv.\u0275dir=i.lG2({type:bv,selectors:[["","queryButtonGroup",""]]});class yv{constructor(e){this.template=e}get queryInputType(){return this._type}set queryInputType(e){!e||(this._type=e)}}yv.\u0275fac=function(e){return new(e||yv)(i.Y36(i.Rgc))},yv.\u0275dir=i.lG2({type:yv,selectors:[["","queryInput",""]],inputs:{queryInputType:"queryInputType"}});class xv{constructor(e){this.template=e}}xv.\u0275fac=function(e){return new(e||xv)(i.Y36(i.Rgc))},xv.\u0275dir=i.lG2({type:xv,selectors:[["","queryRemoveButton",""]]});class Cv{constructor(e){this.template=e}}Cv.\u0275fac=function(e){return new(e||Cv)(i.Y36(i.Rgc))},Cv.\u0275dir=i.lG2({type:Cv,selectors:[["","queryEmptyWarning",""]]});class wv{constructor(e){this.template=e}}wv.\u0275fac=function(e){return new(e||wv)(i.Y36(i.Rgc))},wv.\u0275dir=i.lG2({type:wv,selectors:[["","queryArrowIcon",""]]});const _V={provide:yc.JU,useExisting:(0,i.Gpc)(()=>A5),multi:!0},bV={provide:yc.Cf,useExisting:(0,i.Gpc)(()=>A5),multi:!0};class A5{constructor(e){this.changeDetectorRef=e,this.defaultClassNames={arrowIconButton:"q-arrow-icon-button",arrowIcon:"q-icon q-arrow-icon",removeIcon:"q-icon q-remove-icon",addIcon:"q-icon q-add-icon",button:"q-button",buttonGroup:"q-button-group",removeButton:"q-remove-button",switchGroup:"q-switch-group",switchLabel:"q-switch-label",switchRadio:"q-switch-radio",rightAlign:"q-right-align",transition:"q-transition",collapsed:"q-collapsed",treeContainer:"q-tree-container",tree:"q-tree",row:"q-row",connector:"q-connector",rule:"q-rule",ruleSet:"q-ruleset",invalidRuleSet:"q-invalid-ruleset",emptyWarning:"q-empty-warning",fieldControl:"q-field-control",fieldControlSize:"q-control-size",entityControl:"q-entity-control",entityControlSize:"q-control-size",operatorControl:"q-operator-control",operatorControlSize:"q-control-size",inputControl:"q-input-control",inputControlSize:"q-control-size"},this.defaultOperatorMap={string:["=","!=","contains","like"],number:["=","!=",">",">=","<","<="],time:["=","!=",">",">=","<","<="],date:["=","!=",">",">=","<","<="],category:["=","!=","in","not in"],boolean:["="]},this.disabled=!1,this.data={condition:"and",rules:[]},this.allowRuleset=!0,this.allowCollapse=!1,this.emptyMessage="A ruleset cannot be empty. Please add a rule or remove it all together.",this.classNames={},this.operatorMap={},this.config={fields:{}},this.persistValueOnFieldChange=!1,this.defaultTemplateTypes=["string","number","time","date","category","boolean","multiselect"],this.defaultPersistValueTypes=["string","number","time","date","boolean"],this.defaultEmptyList=[],this.operatorsCache={},this.inputContextCache=new Map,this.operatorContextCache=new Map,this.fieldContextCache=new Map,this.entityContextCache=new Map,this.removeButtonContextCache=new Map,this.getDisabledState=()=>this.disabled,this.fields=[],this.filterFields=[],this.entities=[]}get condintion(){var e;return null===(e=this.data)||void 0===e?void 0:e.condition}ngOnChanges(e){const t=this.config,r=typeof t;if("object"!==r)throw new Error(`Expected 'config' must be a valid object, got ${r} instead.`);this.fields=Object.keys(t.fields).map(l=>{const u=t.fields[l];return u.value=u.value||l,u}),t.entities?this.entities=Object.keys(t.entities).map(l=>{const u=t.entities?t.entities[l]:[];return u.value=u.value||l,u}):this.entities=[],this.operatorsCache={}}validate(e){const t={},r=[];let l=!1;return!this.config.allowEmptyRulesets&&this.checkEmptyRuleInRuleset(this.data)&&(t.empty="Empty rulesets are not allowed.",l=!0),this.validateRulesInRuleset(this.data,r),r.length&&(t.rules=r,l=!0),l?t:null}get value(){return this.data}set value(e){this.data=e||{condition:"and",rules:[]},this.handleDataChange()}writeValue(e){this.value=e}registerOnChange(e){this.onChangeCallback=()=>e(this.data)}registerOnTouched(e){this.onTouchedCallback=()=>e(this.data)}setDisabledState(e){this.disabled=e,this.changeDetectorRef.detectChanges()}findTemplateForRule(e){const t=this.getInputType(e.field,e.operator);if(t){const r=this.findQueryInput(t);return r?r.template:(-1===this.defaultTemplateTypes.indexOf(t)&&console.warn(`Could not find template for field with type: ${t}`),null)}}findQueryInput(e){return(this.parentInputTemplates||this.inputTemplates).find(r=>r.queryInputType===e)}getOperators(e){if(this.operatorsCache[e])return this.operatorsCache[e];let t=this.defaultEmptyList;const r=this.config.fields[e];if(this.config.getOperators)return this.config.getOperators(e,r);const l=r.type;return r&&r.operators?t=r.operators:l?(t=this.operatorMap&&this.operatorMap[l]||this.defaultOperatorMap[l]||this.defaultEmptyList,0===t.length&&console.warn(`No operators found for field '${e}' with type ${r.type}. Please define an 'operators' property on the field or use the 'operatorMap' binding to fix this.`),r.nullable&&(t=t.concat(["is null","is not null"]))):console.warn(`No 'type' property found on field: '${e}'`),this.operatorsCache[e]=t,t}getFields(e){return this.entities.length&&e?this.fields.filter(t=>t&&t.entity===e):this.fields}getInputType(e,t){if(this.config.getInputType)return this.config.getInputType(e,t);if(!this.config.fields[e])throw new Error(`No configuration for field '${e}' could be found! Please add it to config.fields.`);const r=this.config.fields[e].type;switch(t){case"is null":case"is not null":return null;case"in":case"not in":return"category"===r||"boolean"===r?"multiselect":r;default:return r}}getOptions(e){return this.config.getOptions?this.config.getOptions(e):this.config.fields[e].options||this.defaultEmptyList}getClassNames(...e){const t=this.classNames?this.classNames:this.defaultClassNames,r=this.defaultClassNames,l=e.map(u=>t[u]||r[u]).filter(u=>!!u);return l.length?l.join(" "):[]}getDefaultField(e){if(e){if(void 0!==e.defaultField)return this.getDefaultValue(e.defaultField);{const t=this.fields.filter(r=>r&&r.entity===e.value);return t&&t.length?t[0]:(console.warn(`No fields found for entity '${e.name}'. A 'defaultOperator' is also not specified on the field config. Operator value will default to null.`),null)}}return null}getDefaultOperator(e){if(e&&void 0!==e.defaultOperator)return this.getDefaultValue(e.defaultOperator);{const t=this.getOperators(e.value);return t&&t.length?t[0]:(console.warn(`No operators found for field '${e.value}'. A 'defaultOperator' is also not specified on the field config. Operator value will default to null.`),null)}}addRule(e){if(!this.disabled){if(e=e||this.data,this.config.addRule)this.config.addRule(e);else{const t=this.fields[0];e.rules=e.rules.concat([{field:t.value,operator:this.getDefaultOperator(t),value:this.getDefaultValue(t.defaultValue),entity:t.entity}])}this.handleTouched(),this.handleDataChange()}}removeRule(e,t){this.disabled||(t=t||this.data,this.config.removeRule?this.config.removeRule(e,t):t.rules=t.rules.filter(r=>r!==e),this.inputContextCache.delete(e),this.operatorContextCache.delete(e),this.fieldContextCache.delete(e),this.entityContextCache.delete(e),this.removeButtonContextCache.delete(e),this.handleTouched(),this.handleDataChange())}addRuleSet(e){this.disabled||(e=e||this.data,this.config.addRuleSet?this.config.addRuleSet(e):e.rules=e.rules.concat([{condition:"and",rules:[]}]),this.handleTouched(),this.handleDataChange())}removeRuleSet(e,t){this.disabled||(e=e||this.data,t=t||this.parentValue,this.config.removeRuleSet?this.config.removeRuleSet(e,t):t&&(t.rules=t.rules.filter(r=>r!==e)),this.handleTouched(),this.handleDataChange())}transitionEnd(e){this.treeContainer.nativeElement.style.maxHeight=null}toggleCollapse(){this.computedTreeContainerHeight(),setTimeout(()=>{this.data.collapsed=!this.data.collapsed},100)}computedTreeContainerHeight(){const e=this.treeContainer.nativeElement;e&&e.firstElementChild&&(e.style.maxHeight=e.firstElementChild.clientHeight+8+"px")}changeCondition(e){this.disabled||(this.data.condition=e,this.handleTouched(),this.handleDataChange())}changeOperator(e){this.disabled||(this.config.coerceValueForOperator?e.value=this.config.coerceValueForOperator(e.operator,e.value,e):e.value=this.coerceValueForOperator(e.operator,e.value,e),this.handleTouched(),this.handleDataChange())}coerceValueForOperator(e,t,r){return"multiselect"!==this.getInputType(r.field,e)||Array.isArray(t)?t:[t]}changeInput(){this.disabled||(this.handleTouched(),this.handleDataChange())}changeField(e,t){if(this.disabled)return;const r=this.inputContextCache.get(t),l=r&&r.field,u=this.config.fields[e],M=this.calculateFieldChangeValue(l,u,t.value);void 0!==M?t.value=M:delete t.value,t.operator=this.getDefaultOperator(u),this.inputContextCache.delete(t),this.operatorContextCache.delete(t),this.fieldContextCache.delete(t),this.entityContextCache.delete(t),this.getInputContext(t),this.getFieldContext(t),this.getOperatorContext(t),this.getEntityContext(t),this.handleTouched(),this.handleDataChange()}changeEntity(e,t,r,l){if(this.disabled)return;let u=r,M=l;const F=this.entities.find(Le=>Le.value===e),_e=this.getDefaultField(F);M||(M=this.data,u=M.rules.findIndex(Le=>Le===t)),t.field=_e.value,M.rules[u]=t,_e?this.changeField(_e.value,t):(this.handleTouched(),this.handleDataChange())}getDefaultValue(e){return"function"==typeof e?e():e}getOperatorTemplate(){const e=this.parentOperatorTemplate||this.operatorTemplate;return e?e.template:null}getFieldTemplate(){const e=this.parentFieldTemplate||this.fieldTemplate;return e?e.template:null}getEntityTemplate(){const e=this.parentEntityTemplate||this.entityTemplate;return e?e.template:null}getArrowIconTemplate(){const e=this.parentArrowIconTemplate||this.arrowIconTemplate;return e?e.template:null}getButtonGroupTemplate(){const e=this.parentButtonGroupTemplate||this.buttonGroupTemplate;return e?e.template:null}getSwitchGroupTemplate(){const e=this.parentSwitchGroupTemplate||this.switchGroupTemplate;return e?e.template:null}getRemoveButtonTemplate(){const e=this.parentRemoveButtonTemplate||this.removeButtonTemplate;return e?e.template:null}getEmptyWarningTemplate(){const e=this.parentEmptyWarningTemplate||this.emptyWarningTemplate;return e?e.template:null}getQueryItemClassName(e){let t=this.getClassNames("row","connector","transition");return t+=" "+this.getClassNames(e.ruleset?"ruleSet":"rule"),e.invalid&&(t+=" "+this.getClassNames("invalidRuleSet")),t}getButtonGroupContext(){return this.buttonGroupContext||(this.buttonGroupContext={addRule:this.addRule.bind(this),addRuleSet:this.allowRuleset&&this.addRuleSet.bind(this),removeRuleSet:this.allowRuleset&&this.parentValue&&this.removeRuleSet.bind(this),getDisabledState:this.getDisabledState,$implicit:this.data}),this.buttonGroupContext}getRemoveButtonContext(e){return this.removeButtonContextCache.has(e)||this.removeButtonContextCache.set(e,{removeRule:this.removeRule.bind(this),getDisabledState:this.getDisabledState,$implicit:e}),this.removeButtonContextCache.get(e)}getFieldContext(e){return this.fieldContextCache.has(e)||this.fieldContextCache.set(e,{onChange:this.changeField.bind(this),getFields:this.getFields.bind(this),getDisabledState:this.getDisabledState,fields:this.fields,$implicit:e}),this.fieldContextCache.get(e)}getEntityContext(e){return this.entityContextCache.has(e)||this.entityContextCache.set(e,{onChange:this.changeEntity.bind(this),getDisabledState:this.getDisabledState,entities:this.entities,$implicit:e}),this.entityContextCache.get(e)}getSwitchGroupContext(){return{onChange:this.changeCondition.bind(this),getDisabledState:this.getDisabledState,$implicit:this.data}}getArrowIconContext(){return{getDisabledState:this.getDisabledState,$implicit:this.data}}getEmptyWarningContext(){return{getDisabledState:this.getDisabledState,message:this.emptyMessage,$implicit:this.data}}getOperatorContext(e){return this.operatorContextCache.has(e)||this.operatorContextCache.set(e,{onChange:this.changeOperator.bind(this),getDisabledState:this.getDisabledState,operators:this.getOperators(e.field),$implicit:e}),this.operatorContextCache.get(e)}getInputContext(e){return this.inputContextCache.has(e)||this.inputContextCache.set(e,{onChange:this.changeInput.bind(this),getDisabledState:this.getDisabledState,options:this.getOptions(e.field),field:this.config.fields[e.field],$implicit:e}),this.inputContextCache.get(e)}calculateFieldChangeValue(e,t,r){if(null!=this.config.calculateFieldChangeValue)return this.config.calculateFieldChangeValue(e,t,r);return this.persistValueOnFieldChange&&(()=>null!=e&&null!=t&&(e.type===t.type&&-1!==this.defaultPersistValueTypes.indexOf(e.type)))()?r:t&&void 0!==t.defaultValue?this.getDefaultValue(t.defaultValue):void 0}checkEmptyRuleInRuleset(e){return!e||!e.rules||0===e.rules.length||e.rules.some(t=>!!t.rules&&this.checkEmptyRuleInRuleset(t))}validateRulesInRuleset(e,t){e&&e.rules&&e.rules.length>0&&e.rules.forEach(r=>{if(r.rules)return this.validateRulesInRuleset(r,t);if(r.field){const l=this.config.fields[r.field];if(l&&l.validator&&l.validator.apply){const u=l.validator(r,e);null!=u&&t.push(u)}}})}handleDataChange(){this.changeDetectorRef.markForCheck(),this.onChangeCallback&&this.onChangeCallback(),this.parentChangeCallback&&this.parentChangeCallback()}handleTouched(){this.onTouchedCallback&&this.onTouchedCallback(),this.parentTouchedCallback&&this.parentTouchedCallback()}}A5.\u0275fac=function(e){return new(e||A5)(i.Y36(i.sBO))},A5.\u0275cmp=i.Xpm({type:A5,selectors:[["query-builder"]],contentQueries:function(e,t,r){if(1&e&&(i.Suo(r,bv,5),i.Suo(r,_v,5),i.Suo(r,mv,5),i.Suo(r,vv,5),i.Suo(r,gv,5),i.Suo(r,xv,5),i.Suo(r,Cv,5),i.Suo(r,wv,5),i.Suo(r,yv,5)),2&e){let l;i.iGM(l=i.CRH())&&(t.buttonGroupTemplate=l.first),i.iGM(l=i.CRH())&&(t.switchGroupTemplate=l.first),i.iGM(l=i.CRH())&&(t.fieldTemplate=l.first),i.iGM(l=i.CRH())&&(t.entityTemplate=l.first),i.iGM(l=i.CRH())&&(t.operatorTemplate=l.first),i.iGM(l=i.CRH())&&(t.removeButtonTemplate=l.first),i.iGM(l=i.CRH())&&(t.emptyWarningTemplate=l.first),i.iGM(l=i.CRH())&&(t.arrowIconTemplate=l.first),i.iGM(l=i.CRH())&&(t.inputTemplates=l)}},viewQuery:function(e,t){if(1&e&&i.Gf(bF,7),2&e){let r;i.iGM(r=i.CRH())&&(t.treeContainer=r.first)}},hostVars:1,hostBindings:function(e,t){2&e&&i.uIk("query-builder-condition",t.condintion)},inputs:{disabled:"disabled",data:"data",allowRuleset:"allowRuleset",allowCollapse:"allowCollapse",emptyMessage:"emptyMessage",classNames:"classNames",operatorMap:"operatorMap",parentValue:"parentValue",config:"config",parentArrowIconTemplate:"parentArrowIconTemplate",parentInputTemplates:"parentInputTemplates",parentOperatorTemplate:"parentOperatorTemplate",parentFieldTemplate:"parentFieldTemplate",parentEntityTemplate:"parentEntityTemplate",parentSwitchGroupTemplate:"parentSwitchGroupTemplate",parentButtonGroupTemplate:"parentButtonGroupTemplate",parentRemoveButtonTemplate:"parentRemoveButtonTemplate",parentEmptyWarningTemplate:"parentEmptyWarningTemplate",parentChangeCallback:"parentChangeCallback",parentTouchedCallback:"parentTouchedCallback",persistValueOnFieldChange:"persistValueOnFieldChange",value:"value"},features:[i._Bn([_V,bV]),i.TTD],decls:13,vars:8,consts:[[3,"ngClass"],["defaultArrowIcon",""],[3,"ngClass","click",4,"ngIf"],[4,"ngIf","ngIfElse"],["defaultButtonGroup",""],["defaultSwitchGroup",""],[3,"ngClass","transitionend"],["treeContainer",""],[3,"ngClass",4,"ngIf"],[3,"ngClass","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"ngClass","disabled","click"],["type","button",3,"ngClass","disabled","click",4,"ngIf"],[4,"ngIf"],["type","radio","value","and",3,"ngClass","ngModel","disabled","ngModelChange"],["andOption",""],["type","radio","value","or",3,"ngClass","ngModel","disabled","ngModelChange"],["orOption",""],[4,"ngFor","ngForOf"],[3,"data","disabled","parentTouchedCallback","parentChangeCallback","parentInputTemplates","parentOperatorTemplate","parentFieldTemplate","parentEntityTemplate","parentSwitchGroupTemplate","parentButtonGroupTemplate","parentRemoveButtonTemplate","parentEmptyWarningTemplate","parentArrowIconTemplate","parentValue","classNames","config","allowRuleset","allowCollapse","emptyMessage","operatorMap",4,"ngIf"],["defaultEmptyWarning",""],["defaultRemoveButton",""],["class","q-inline-block-display",4,"ngIf"],["defaultEntity",""],["defaultField",""],["defaultOperator",""],["defaultInput",""],[1,"q-inline-block-display"],[3,"ngClass","ngModel","disabled","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"ngClass","ngSwitch"],["type","text",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","number",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","date",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","time",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],[3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["type","checkbox",3,"ngClass","ngModel","disabled","ngModelChange",4,"ngSwitchCase"],["type","text",3,"ngClass","ngModel","disabled","ngModelChange"],["type","number",3,"ngClass","ngModel","disabled","ngModelChange"],["type","date",3,"ngClass","ngModel","disabled","ngModelChange"],["type","time",3,"ngClass","ngModel","disabled","ngModelChange"],["multiple","",3,"ngClass","ngModel","disabled","ngModelChange"],["type","checkbox",3,"ngClass","ngModel","disabled","ngModelChange"],[3,"data","disabled","parentTouchedCallback","parentChangeCallback","parentInputTemplates","parentOperatorTemplate","parentFieldTemplate","parentEntityTemplate","parentSwitchGroupTemplate","parentButtonGroupTemplate","parentRemoveButtonTemplate","parentEmptyWarningTemplate","parentArrowIconTemplate","parentValue","classNames","config","allowRuleset","allowCollapse","emptyMessage","operatorMap"]],template:function(e,t){if(1&e&&(i.TgZ(0,"div",0),i.YNc(1,yF,1,1,"ng-template",null,1,i.W1O),i.YNc(3,wF,2,3,"a",2),i.YNc(4,TF,3,3,"ng-container",3),i.YNc(5,LF,6,6,"ng-template",null,4,i.W1O),i.YNc(7,DF,2,2,"ng-container",3),i.YNc(8,AF,1,1,"ng-template",null,5,i.W1O),i.qZA(),i.TgZ(10,"div",6,7),i.NdJ("transitionend",function(l){return t.transitionEnd(l)}),i.YNc(12,vV,2,2,"ul",8),i.qZA()),2&e){const r=i.MAs(6),l=i.MAs(9);i.Q6J("ngClass",t.getClassNames("switchRow")),i.xp6(3),i.Q6J("ngIf",t.allowCollapse),i.xp6(1),i.Q6J("ngIf",t.getButtonGroupTemplate())("ngIfElse",r),i.xp6(3),i.Q6J("ngIf",t.getSwitchGroupTemplate())("ngIfElse",l),i.xp6(3),i.Q6J("ngClass",t.getClassNames("treeContainer",t.data.collapsed?"collapsed":"")),i.xp6(2),i.Q6J("ngIf",t.data&&t.data.rules)}},directives:[A5,Zo.mk,Zo.O5,Zo.tP,yc._,yc.Fj,yc.JJ,yc.On,Zo.sg,yc.EJ,yc.YN,yc.Kr,Zo.RF,Zo.n9,yc.wV,yc.K7,yc.Wl],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%]   .q-icon[_ngcontent-%COMP%]{font-style:normal;font-size:12px}[_nghost-%COMP%]   .q-remove-icon[_ngcontent-%COMP%]:before{content:"\\274c"}[_nghost-%COMP%]   .q-arrow-icon-button[_ngcontent-%COMP%]{float:left;margin:4px 6px 4px 0;transform:rotate(90deg);transition:linear .25s transform;cursor:pointer}[_nghost-%COMP%]   .q-arrow-icon-button.q-collapsed[_ngcontent-%COMP%]{transform:rotate(0)}[_nghost-%COMP%]   .q-arrow-icon[_ngcontent-%COMP%]:before{content:"\\25b6"}[_nghost-%COMP%]   .q-add-icon[_ngcontent-%COMP%]{color:#555}[_nghost-%COMP%]   .q-add-icon[_ngcontent-%COMP%]:before{content:"\\2795"}[_nghost-%COMP%]   .q-remove-button[_ngcontent-%COMP%]{color:#b3415d;width:31px}[_nghost-%COMP%]   .q-switch-group[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-button-group[_ngcontent-%COMP%]{font-family:Lucida Grande,Tahoma,Verdana,sans-serif;overflow:hidden}[_nghost-%COMP%]   .q-right-align[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%]   .q-button[_ngcontent-%COMP%]{margin-left:8px;padding:0 8px;background-color:#fff}[_nghost-%COMP%]   .q-button[_ngcontent-%COMP%]:disabled{display:none}[_nghost-%COMP%]   .q-control-size[_ngcontent-%COMP%]{display:inline-block;vertical-align:top;padding-right:10px}[_nghost-%COMP%]   .q-input-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-operator-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-field-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-entity-control[_ngcontent-%COMP%]{display:inline-block;padding:5px 8px;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;width:auto;min-width:180px}[_nghost-%COMP%]   .q-input-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%]   .q-operator-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%]   .q-field-control[_ngcontent-%COMP%]:disabled, [_nghost-%COMP%]   .q-entity-control[_ngcontent-%COMP%]:disabled{border-color:transparent}[_nghost-%COMP%]   .q-operator-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-field-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-entity-control[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-input-control[_ngcontent-%COMP%]:not([type=checkbox]){min-height:32px;-webkit-appearance:none}[_nghost-%COMP%]   .q-switch-label[_ngcontent-%COMP%], [_nghost-%COMP%]   .q-button[_ngcontent-%COMP%]{float:left;margin-bottom:0;font-size:14px;line-height:30px;font-weight:400;text-align:center;text-shadow:none;border:1px solid rgba(0,0,0,.2);box-sizing:border-box}[_nghost-%COMP%]   .q-switch-label[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .q-button[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#f0f0f0}[_nghost-%COMP%]   .q-switch-label[_ngcontent-%COMP%]{background-color:#e4e4e4;padding:0 8px}[_nghost-%COMP%]   .q-switch-radio[_ngcontent-%COMP%]{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}[_nghost-%COMP%]   .q-switch-radio[_ngcontent-%COMP%]:checked + .q-switch-label[_ngcontent-%COMP%]{border:1px solid #619ed7;background:white;color:#3176b3}[_nghost-%COMP%]   .q-switch-radio[_ngcontent-%COMP%]:disabled + .q-switch-label[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .q-switch-radio[_ngcontent-%COMP%]:checked:disabled + .q-switch-label[_ngcontent-%COMP%]{display:initial;color:initial;cursor:default;border-color:transparent}[_nghost-%COMP%]   .q-invalid-ruleset[_ngcontent-%COMP%]{border:1px solid rgba(179,65,93,.5)!important;background:rgba(179,65,93,.1)!important}[_nghost-%COMP%]   .q-empty-warning[_ngcontent-%COMP%]{color:#8d252e;text-align:center}[_nghost-%COMP%]   .q-ruleset[_ngcontent-%COMP%]{border:1px solid #CCC}[_nghost-%COMP%]   .q-rule[_ngcontent-%COMP%]{border:1px solid #CCC;background:white}[_nghost-%COMP%]   .q-transition[_ngcontent-%COMP%]{transition:all .1s ease-in-out}[_nghost-%COMP%]   .q-tree-container[_ngcontent-%COMP%]{width:100%;overflow:hidden;transition:ease-in .25s max-height}[_nghost-%COMP%]   .q-tree-container.q-collapsed[_ngcontent-%COMP%]{max-height:0!important}[_nghost-%COMP%]   .q-tree[_ngcontent-%COMP%]{list-style:none;margin:4px 0 2px}[_nghost-%COMP%]   .q-row[_ngcontent-%COMP%]{padding:6px 8px;margin-top:6px}[_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]:before{top:-5px;border-width:0 0 2px 2px}[_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]:after{border-width:0 0 0 2px;top:50%}[_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]:before, [_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]:after{content:"";left:-12px;border-color:#ccc;border-style:solid;width:9px;height:calc(50% + 6px);position:absolute}[_nghost-%COMP%]   .q-connector[_ngcontent-%COMP%]:last-child:after{content:none}[_nghost-%COMP%]   .q-inline-block-display[_ngcontent-%COMP%]{display:inline-block;vertical-align:top}']});class g_{}g_.\u0275fac=function(e){return new(e||g_)},g_.\u0275mod=i.oAB({type:g_,declarations:[A5,yv,gv,mv,vv,bv,_v,xv,Cv,wv],imports:[Zo.ez,yc.u5],exports:[A5,yv,gv,mv,vv,bv,_v,xv,Cv,wv]}),g_.\u0275inj=i.cJS({imports:[[Zo.ez,yc.u5]]});let ww=class{constructor(e){}};ww.ctorParameters=()=>[{type:_r.F0}],ww=function(d,e,t,r){var M,l=arguments.length,u=l<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(d,e,t,r);else for(var F=d.length-1;F>=0;F--)(M=d[F])&&(u=(l<3?M(u):l>3?M(e,t,u):M(e,t))||u);return l>3&&u&&Object.defineProperty(e,t,u),u}([(0,i.LVF)({declarations:[b1,t_,Om,jb,c0,xw,bs,f,le,Gn,ct,Q7,B8,j8,Qv,e_,TC,vw,_w,bw,Bb,Fb,Z6,d_,w9,M9,T9,F8,$C,_9,rg,d_,vh,lw,K3,Z9,X9,G9,q2,f_,p_,q9,$9,K9,$u,S9,P4,f6,R4,J9,ib,cw,ku,tb,nb,dw,uw,hw,J3,fw,rb,Nb,g6,H4,L3,ob,N4,rm,om,C5,sb,x5,wh,ig,y5,ab,im,b9,y9,x9,C9,G9,q2,z9,M5,pw,R9,V9,N9,f_,p_,H9,B9,j9,Eh,F9,W9,_c.hQ,U9,ZC,k9,L9,XC,E9,JC,QC,ew,tw,nw,iw,D9,Rb,sw,aw,Fc,O9,P9,F1,O4,S3,q9,$9,K9,Xf,$u,rw,KC,ow,I9,A9,Q9,eb,Hb,lb,cb,db,ub,hb,Y9,pb,mb,gb,gw,wb,yb,vb,_b,bb,fb,Mb,xb,Cb,Db,Ab,Ob,zb,Tb,Sb,kb,Lb,Eb,Ib,Pb,am,Vb,_c.z5,Cw,gl,ag],entryComponents:[],imports:[Mu.JF,bm._t,l7.O,R_,Rm,i1.b2,g_,D8.U$,k5,$v.a4,kw.h.forRoot(),cv,q8,N8,Md.forRoot(),j4.forRoot(),Fm,Lw.o],providers:[Yf,Qa.F,yh,Kw.w,J7,jp._,Jv.R,Zv.d,Xw.S,iy.t,ry.t,Xv.W,oy.h,Jw.J,zn.Z,V_.H,Zf,H8.t,sy.N,X3.G,km.Z,Qw.l,C6,eM.u,ay.I,Su,z4,tM.T,i1.Dx,Uj.k,Zu.p,Dh.u,Yj.S,Wj.K,Gj.V,is.q,Fj.n,vI.h,mw,w5,ul.u,J5.D,E4,$g.$,af.W,Ec.K,F4,og.u,ws.j,w2,_c.zM,_c.we,{provide:Mu.TP,useClass:yw,multi:!0}],bootstrap:[b1]})],ww),W2.N.production&&((0,i.G48)(),window&&(window.console.log=function(){})),$5().bootstrapModule(ww).catch(d=>console.log(d))},99684:()=>{(()=>{var de={9705:(n,i,P)=>{"use strict";var m=P(1540);function s(o){var h=[1/0,1/0,-1/0,-1/0];return m.coordEach(o,function(v){h[0]>v[0]&&(h[0]=v[0]),h[1]>v[1]&&(h[1]=v[1]),h[2]<v[0]&&(h[2]=v[0]),h[3]<v[1]&&(h[3]=v[1])}),h}s.default=s,i.Z=s},4102:(n,i)=>{"use strict";function P(R,N,S){void 0===S&&(S={});var E={type:"Feature"};return(0===S.id||S.id)&&(E.id=S.id),S.bbox&&(E.bbox=S.bbox),E.properties=N||{},E.geometry=R,E}function m(R,N,S){if(void 0===S&&(S={}),!R)throw new Error("coordinates is required");if(!Array.isArray(R))throw new Error("coordinates must be an Array");if(R.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!z(R[0])||!z(R[1]))throw new Error("coordinates must contain numbers");return P({type:"Point",coordinates:R},N,S)}function s(R,N,S){void 0===S&&(S={});for(var E=0,O=R;E<O.length;E++){var H=O[E];if(H.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var U=0;U<H[H.length-1].length;U++)if(H[H.length-1][U]!==H[0][U])throw new Error("First and last Position are not equivalent.")}return P({type:"Polygon",coordinates:R},N,S)}function o(R,N,S){if(void 0===S&&(S={}),R.length<2)throw new Error("coordinates must be an array of two or more positions");return P({type:"LineString",coordinates:R},N,S)}function h(R,N){void 0===N&&(N={});var S={type:"FeatureCollection"};return N.id&&(S.id=N.id),N.bbox&&(S.bbox=N.bbox),S.features=R,S}function v(R,N,S){return void 0===S&&(S={}),P({type:"MultiLineString",coordinates:R},N,S)}function y(R,N,S){return void 0===S&&(S={}),P({type:"MultiPoint",coordinates:R},N,S)}function x(R,N,S){return void 0===S&&(S={}),P({type:"MultiPolygon",coordinates:R},N,S)}function C(R,N){void 0===N&&(N="kilometers");var S=i.factors[N];if(!S)throw new Error(N+" units is invalid");return R*S}function _(R,N){void 0===N&&(N="kilometers");var S=i.factors[N];if(!S)throw new Error(N+" units is invalid");return R/S}function w(R){return R%(2*Math.PI)*180/Math.PI}function z(R){return!isNaN(R)&&null!==R&&!Array.isArray(R)}Object.defineProperty(i,"__esModule",{value:!0}),i.earthRadius=6371008.8,i.factors={centimeters:100*i.earthRadius,centimetres:100*i.earthRadius,degrees:i.earthRadius/111325,feet:3.28084*i.earthRadius,inches:39.37*i.earthRadius,kilometers:i.earthRadius/1e3,kilometres:i.earthRadius/1e3,meters:i.earthRadius,metres:i.earthRadius,miles:i.earthRadius/1609.344,millimeters:1e3*i.earthRadius,millimetres:1e3*i.earthRadius,nauticalmiles:i.earthRadius/1852,radians:1,yards:1.0936*i.earthRadius},i.unitsFactors={centimeters:100,centimetres:100,degrees:8982708286548395e-21,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:.0006213711922373339,millimeters:1e3,millimetres:1e3,nauticalmiles:.0005399568034557236,radians:1/i.earthRadius,yards:1.0936133},i.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},i.feature=P,i.geometry=function(R,N,S){switch(void 0===S&&(S={}),R){case"Point":return m(N).geometry;case"LineString":return o(N).geometry;case"Polygon":return s(N).geometry;case"MultiPoint":return y(N).geometry;case"MultiLineString":return v(N).geometry;case"MultiPolygon":return x(N).geometry;default:throw new Error(R+" is invalid")}},i.point=m,i.points=function(R,N,S){return void 0===S&&(S={}),h(R.map(function(E){return m(E,N)}),S)},i.polygon=s,i.polygons=function(R,N,S){return void 0===S&&(S={}),h(R.map(function(E){return s(E,N)}),S)},i.lineString=o,i.lineStrings=function(R,N,S){return void 0===S&&(S={}),h(R.map(function(E){return o(E,N)}),S)},i.featureCollection=h,i.multiLineString=v,i.multiPoint=y,i.multiPolygon=x,i.geometryCollection=function(R,N,S){return void 0===S&&(S={}),P({type:"GeometryCollection",geometries:R},N,S)},i.round=function(R,N){if(void 0===N&&(N=0),N&&!(N>=0))throw new Error("precision must be a positive number");var S=Math.pow(10,N||0);return Math.round(R*S)/S},i.radiansToLength=C,i.lengthToRadians=_,i.lengthToDegrees=function(R,N){return w(_(R,N))},i.bearingToAzimuth=function(R){var N=R%360;return N<0&&(N+=360),N},i.radiansToDegrees=w,i.degreesToRadians=function(R){return R%360*Math.PI/180},i.convertLength=function(R,N,S){if(void 0===N&&(N="kilometers"),void 0===S&&(S="kilometers"),!(R>=0))throw new Error("length must be a positive number");return C(_(R,N),S)},i.convertArea=function(R,N,S){if(void 0===N&&(N="meters"),void 0===S&&(S="kilometers"),!(R>=0))throw new Error("area must be a positive number");var E=i.areaFactors[N];if(!E)throw new Error("invalid original units");var O=i.areaFactors[S];if(!O)throw new Error("invalid final units");return R/E*O},i.isNumber=z,i.isObject=function(R){return!!R&&R.constructor===Object},i.validateBBox=function(R){if(!R)throw new Error("bbox is required");if(!Array.isArray(R))throw new Error("bbox must be an Array");if(4!==R.length&&6!==R.length)throw new Error("bbox must be an Array of 4 or 6 numbers");R.forEach(function(N){if(!z(N))throw new Error("bbox must only contain numbers")})},i.validateId=function(R){if(!R)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof R))throw new Error("id must be a number or a string")}},1540:(n,i,P)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var m=P(4102);function s(_,w,z){if(null!==_)for(var R,N,S,E,O,H,U,X,W=0,re=0,pe=_.type,Ae="FeatureCollection"===pe,Se="Feature"===pe,De=Ae?_.features.length:1,qe=0;qe<De;qe++){O=(X=!!(U=Ae?_.features[qe].geometry:Se?_.geometry:_)&&"GeometryCollection"===U.type)?U.geometries.length:1;for(var rt=0;rt<O;rt++){var ot=0,vt=0;if(null!==(E=X?U.geometries[rt]:U)){H=E.coordinates;var rn=E.type;switch(W=!z||"Polygon"!==rn&&"MultiPolygon"!==rn?0:1,rn){case null:break;case"Point":if(!1===w(H,re,qe,ot,vt))return!1;re++,ot++;break;case"LineString":case"MultiPoint":for(R=0;R<H.length;R++){if(!1===w(H[R],re,qe,ot,vt))return!1;re++,"MultiPoint"===rn&&ot++}"LineString"===rn&&ot++;break;case"Polygon":case"MultiLineString":for(R=0;R<H.length;R++){for(N=0;N<H[R].length-W;N++){if(!1===w(H[R][N],re,qe,ot,vt))return!1;re++}"MultiLineString"===rn&&ot++,"Polygon"===rn&&vt++}"Polygon"===rn&&ot++;break;case"MultiPolygon":for(R=0;R<H.length;R++){for(vt=0,N=0;N<H[R].length;N++){for(S=0;S<H[R][N].length-W;S++){if(!1===w(H[R][N][S],re,qe,ot,vt))return!1;re++}vt++}ot++}break;case"GeometryCollection":for(R=0;R<E.geometries.length;R++)if(!1===s(E.geometries[R],w,z))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function o(_,w){var z;switch(_.type){case"FeatureCollection":for(z=0;z<_.features.length&&!1!==w(_.features[z].properties,z);z++);break;case"Feature":w(_.properties,0)}}function h(_,w){if("Feature"===_.type)w(_,0);else if("FeatureCollection"===_.type)for(var z=0;z<_.features.length&&!1!==w(_.features[z],z);z++);}function v(_,w){var z,R,N,S,E,O,H,U,X,W,re=0,pe="FeatureCollection"===_.type,Ae="Feature"===_.type,Se=pe?_.features.length:1;for(z=0;z<Se;z++){for(O=pe?_.features[z].geometry:Ae?_.geometry:_,U=pe?_.features[z].properties:Ae?_.properties:{},X=pe?_.features[z].bbox:Ae?_.bbox:void 0,W=pe?_.features[z].id:Ae?_.id:void 0,E=(H=!!O&&"GeometryCollection"===O.type)?O.geometries.length:1,N=0;N<E;N++)if(null!==(S=H?O.geometries[N]:O))switch(S.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===w(S,re,U,X,W))return!1;break;case"GeometryCollection":for(R=0;R<S.geometries.length;R++)if(!1===w(S.geometries[R],re,U,X,W))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===w(null,re,U,X,W))return!1;re++}}function y(_,w){v(_,function(z,R,N,S,E){var O,H=null===z?null:z.type;switch(H){case null:case"Point":case"LineString":case"Polygon":return!1!==w(m.feature(z,N,{bbox:S,id:E}),R,0)&&void 0}switch(H){case"MultiPoint":O="Point";break;case"MultiLineString":O="LineString";break;case"MultiPolygon":O="Polygon"}for(var U=0;U<z.coordinates.length;U++){var X={type:O,coordinates:z.coordinates[U]};if(!1===w(m.feature(X,N),R,U))return!1}})}function x(_,w){y(_,function(z,R,N){var S=0;if(z.geometry){var E=z.geometry.type;if("Point"!==E&&"MultiPoint"!==E){var O,H=0,U=0,X=0;return!1!==s(z,function(W,re,pe,Ae,Se){if(void 0===O||R>H||Ae>U||Se>X)return O=W,H=R,U=Ae,X=Se,void(S=0);var De=m.lineString([O,W],z.properties);if(!1===w(De,R,N,Se,S))return!1;S++,O=W})&&void 0}}})}function C(_,w){if(!_)throw new Error("geojson is required");y(_,function(z,R,N){if(null!==z.geometry){var S=z.geometry.type,E=z.geometry.coordinates;switch(S){case"LineString":if(!1===w(z,R,N,0,0))return!1;break;case"Polygon":for(var O=0;O<E.length;O++)if(!1===w(m.lineString(E[O],z.properties),R,N,O))return!1}}})}i.coordAll=function(_){var w=[];return s(_,function(z){w.push(z)}),w},i.coordEach=s,i.coordReduce=function(_,w,z,R){var N=z;return s(_,function(S,E,O,H,U){N=0===E&&void 0===z?S:w(N,S,E,O,H,U)},R),N},i.featureEach=h,i.featureReduce=function(_,w,z){var R=z;return h(_,function(N,S){R=0===S&&void 0===z?N:w(R,N,S)}),R},i.findPoint=function(_,w){if(w=w||{},!m.isObject(w))throw new Error("options is invalid");var z,R=w.featureIndex||0,N=w.multiFeatureIndex||0,S=w.geometryIndex||0,E=w.coordIndex||0,O=w.properties;switch(_.type){case"FeatureCollection":R<0&&(R=_.features.length+R),O=O||_.features[R].properties,z=_.features[R].geometry;break;case"Feature":O=O||_.properties,z=_.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":z=_;break;default:throw new Error("geojson is invalid")}if(null===z)return null;var H=z.coordinates;switch(z.type){case"Point":return m.point(H,O,w);case"MultiPoint":return N<0&&(N=H.length+N),m.point(H[N],O,w);case"LineString":return E<0&&(E=H.length+E),m.point(H[E],O,w);case"Polygon":return S<0&&(S=H.length+S),E<0&&(E=H[S].length+E),m.point(H[S][E],O,w);case"MultiLineString":return N<0&&(N=H.length+N),E<0&&(E=H[N].length+E),m.point(H[N][E],O,w);case"MultiPolygon":return N<0&&(N=H.length+N),S<0&&(S=H[N].length+S),E<0&&(E=H[N][S].length-E),m.point(H[N][S][E],O,w)}throw new Error("geojson is invalid")},i.findSegment=function(_,w){if(w=w||{},!m.isObject(w))throw new Error("options is invalid");var z,R=w.featureIndex||0,N=w.multiFeatureIndex||0,S=w.geometryIndex||0,E=w.segmentIndex||0,O=w.properties;switch(_.type){case"FeatureCollection":R<0&&(R=_.features.length+R),O=O||_.features[R].properties,z=_.features[R].geometry;break;case"Feature":O=O||_.properties,z=_.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":z=_;break;default:throw new Error("geojson is invalid")}if(null===z)return null;var H=z.coordinates;switch(z.type){case"Point":case"MultiPoint":return null;case"LineString":return E<0&&(E=H.length+E-1),m.lineString([H[E],H[E+1]],O,w);case"Polygon":return S<0&&(S=H.length+S),E<0&&(E=H[S].length+E-1),m.lineString([H[S][E],H[S][E+1]],O,w);case"MultiLineString":return N<0&&(N=H.length+N),E<0&&(E=H[N].length+E-1),m.lineString([H[N][E],H[N][E+1]],O,w);case"MultiPolygon":return N<0&&(N=H.length+N),S<0&&(S=H[N].length+S),E<0&&(E=H[N][S].length-E-1),m.lineString([H[N][S][E],H[N][S][E+1]],O,w)}throw new Error("geojson is invalid")},i.flattenEach=y,i.flattenReduce=function(_,w,z){var R=z;return y(_,function(N,S,E){R=0===S&&0===E&&void 0===z?N:w(R,N,S,E)}),R},i.geomEach=v,i.geomReduce=function(_,w,z){var R=z;return v(_,function(N,S,E,O,H){R=0===S&&void 0===z?N:w(R,N,S,E,O,H)}),R},i.lineEach=C,i.lineReduce=function(_,w,z){var R=z;return C(_,function(N,S,E,O){R=0===S&&void 0===z?N:w(R,N,S,E,O)}),R},i.propEach=o,i.propReduce=function(_,w,z){var R=z;return o(_,function(N,S){R=0===S&&void 0===z?N:w(R,N,S)}),R},i.segmentEach=x,i.segmentReduce=function(_,w,z){var R=z,N=!1;return x(_,function(S,E,O,H,U){R=!1===N&&void 0===z?S:w(R,S,E,O,H,U),N=!0}),R}},5975:(n,i,P)=>{"use strict";P(7107);var m=P(2492),s=P.n(m);const o=JSON.parse('{"tooltips":{"placeMarker":"Click to place marker","firstVertex":"Click to place first vertex","continueLine":"Click to continue drawing","finishLine":"Click any existing marker to finish","finishPoly":"Click first marker to finish","finishRect":"Click to finish","startCircle":"Click to place circle center","finishCircle":"Click to finish circle","placeCircleMarker":"Click to place circle marker","placeText":"Click to place text"},"actions":{"finish":"Finish","cancel":"Cancel","removeLastVertex":"Remove Last Vertex"},"buttonTitles":{"drawMarkerButton":"Draw Marker","drawPolyButton":"Draw Polygons","drawLineButton":"Draw Polyline","drawCircleButton":"Draw Circle","drawRectButton":"Draw Rectangle","editButton":"Edit Layers","dragButton":"Drag Layers","cutButton":"Cut Layers","deleteButton":"Remove Layers","drawCircleMarkerButton":"Draw Circle Marker","snappingButton":"Snap dragged marker to other layers and vertices","pinningButton":"Pin shared vertices together","rotateButton":"Rotate Layers","drawTextButton":"Draw Text","scaleButton":"Scale Layers","autoTracingButton":"Auto trace Line"},"measurements":{"totalLength":"Length","segmentLength":"Segment length","area":"Area","radius":"Radius","perimeter":"Perimeter","height":"Height","width":"Width","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),h=JSON.parse('{"tooltips":{"placeMarker":"Platziere den Marker mit Klick","firstVertex":"Platziere den ersten Marker mit Klick","continueLine":"Klicke, um weiter zu zeichnen","finishLine":"Beende mit Klick auf existierenden Marker","finishPoly":"Beende mit Klick auf ersten Marker","finishRect":"Beende mit Klick","startCircle":"Platziere das Kreiszentrum mit Klick","finishCircle":"Beende den Kreis mit Klick","placeCircleMarker":"Platziere den Kreismarker mit Klick","placeText":"Platziere den Text mit Klick"},"actions":{"finish":"Beenden","cancel":"Abbrechen","removeLastVertex":"Letzten Vertex l\xf6schen"},"buttonTitles":{"drawMarkerButton":"Marker zeichnen","drawPolyButton":"Polygon zeichnen","drawLineButton":"Polyline zeichnen","drawCircleButton":"Kreis zeichnen","drawRectButton":"Rechteck zeichnen","editButton":"Layer editieren","dragButton":"Layer bewegen","cutButton":"Layer schneiden","deleteButton":"Layer l\xf6schen","drawCircleMarkerButton":"Kreismarker zeichnen","snappingButton":"Bewegter Layer an andere Layer oder Vertexe einhacken","pinningButton":"Vertexe an der gleichen Position verkn\xfcpfen","rotateButton":"Layer drehen","drawTextButton":"Text zeichnen","scaleButton":"Layer skalieren","autoTracingButton":"Linie automatisch nachzeichen"},"measurements":{"totalLength":"L\xe4nge","segmentLength":"Segment L\xe4nge","area":"Fl\xe4che","radius":"Radius","perimeter":"Umfang","height":"H\xf6he","width":"Breite","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),v=JSON.parse('{"tooltips":{"placeMarker":"Clicca per posizionare un Marker","firstVertex":"Clicca per posizionare il primo vertice","continueLine":"Clicca per continuare a disegnare","finishLine":"Clicca qualsiasi marker esistente per terminare","finishPoly":"Clicca il primo marker per terminare","finishRect":"Clicca per terminare","startCircle":"Clicca per posizionare il punto centrale del cerchio","finishCircle":"Clicca per terminare il cerchio","placeCircleMarker":"Clicca per posizionare un Marker del cherchio"},"actions":{"finish":"Termina","cancel":"Annulla","removeLastVertex":"Rimuovi l\'ultimo vertice"},"buttonTitles":{"drawMarkerButton":"Disegna Marker","drawPolyButton":"Disegna Poligoni","drawLineButton":"Disegna Polilinea","drawCircleButton":"Disegna Cerchio","drawRectButton":"Disegna Rettangolo","editButton":"Modifica Livelli","dragButton":"Sposta Livelli","cutButton":"Ritaglia Livelli","deleteButton":"Elimina Livelli","drawCircleMarkerButton":"Disegna Marker del Cerchio","snappingButton":"Snap ha trascinato il pennarello su altri strati e vertici","pinningButton":"Pin condiviso vertici insieme"}}'),y=JSON.parse('{"tooltips":{"placeMarker":"Klik untuk menempatkan marker","firstVertex":"Klik untuk menempatkan vertex pertama","continueLine":"Klik untuk meneruskan digitasi","finishLine":"Klik pada sembarang marker yang ada untuk mengakhiri","finishPoly":"Klik marker pertama untuk mengakhiri","finishRect":"Klik untuk mengakhiri","startCircle":"Klik untuk menempatkan titik pusat lingkaran","finishCircle":"Klik untuk mengakhiri lingkaran","placeCircleMarker":"Klik untuk menempatkan penanda lingkarann"},"actions":{"finish":"Selesai","cancel":"Batal","removeLastVertex":"Hilangkan Vertex Terakhir"},"buttonTitles":{"drawMarkerButton":"Digitasi Marker","drawPolyButton":"Digitasi Polygon","drawLineButton":"Digitasi Polyline","drawCircleButton":"Digitasi Lingkaran","drawRectButton":"Digitasi Segi Empat","editButton":"Edit Layer","dragButton":"Geser Layer","cutButton":"Potong Layer","deleteButton":"Hilangkan Layer","drawCircleMarkerButton":"Digitasi Penanda Lingkaran","snappingButton":"Jepretkan penanda yang ditarik ke lapisan dan simpul lain","pinningButton":"Sematkan simpul bersama bersama"}}'),x=JSON.parse('{"tooltips":{"placeMarker":"Adaug\u0103 un punct","firstVertex":"Apas\u0103 aici pentru a ad\u0103uga primul Vertex","continueLine":"Apas\u0103 aici pentru a continua desenul","finishLine":"Apas\u0103 pe orice obiect pentru a finisa desenul","finishPoly":"Apas\u0103 pe primul obiect pentru a finisa","finishRect":"Apas\u0103 pentru a finisa","startCircle":"Apas\u0103 pentru a desena un cerc","finishCircle":"Apas\u0103 pentru a finisa un cerc","placeCircleMarker":"Adaug\u0103 un punct"},"actions":{"finish":"Termin\u0103","cancel":"Anuleaz\u0103","removeLastVertex":"\u0218terge ultimul Vertex"},"buttonTitles":{"drawMarkerButton":"Adaug\u0103 o bulin\u0103","drawPolyButton":"Deseneaz\u0103 un poligon","drawLineButton":"Deseneaz\u0103 o linie","drawCircleButton":"Deseneaz\u0103 un cerc","drawRectButton":"Deseneaz\u0103 un dreptunghi","editButton":"Editeaz\u0103 straturile","dragButton":"Mut\u0103 straturile","cutButton":"Taie straturile","deleteButton":"\u0218terge straturile","drawCircleMarkerButton":"Deseneaz\u0103 marcatorul cercului","snappingButton":"Fixa\u021bi marcatorul glisat pe alte straturi \u0219i v\xe2rfuri","pinningButton":"Fixa\u021bi v\xe2rfurile partajate \xeempreun\u0103"}}'),C=JSON.parse('{"tooltips":{"placeMarker":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043c\u0430\u0440\u043a\u0435\u0440","firstVertex":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442","continueLine":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435","finishLine":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043b\u044e\u0431\u043e\u0439 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f","finishPoly":"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u0435\u0440\u0432\u0443\u044e \u0442\u043e\u0447\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c","finishRect":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c","startCircle":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0446\u0435\u043d\u0442\u0440 \u043a\u0440\u0443\u0433\u0430","finishCircle":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u0434\u0438\u0443\u0441","placeCircleMarker":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043a\u0440\u0443\u0433\u043e\u0432\u043e\u0439 \u043c\u0430\u0440\u043a\u0435\u0440"},"actions":{"finish":"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c","cancel":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","removeLastVertex":"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435"},"buttonTitles":{"drawMarkerButton":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043c\u0430\u0440\u043a\u0435\u0440","drawPolyButton":"\u0420\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0438\u0433\u043e\u043d","drawLineButton":"\u0420\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0432\u0443\u044e","drawCircleButton":"\u0420\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0443\u0433","drawRectButton":"\u0420\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a","editButton":"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0439","dragButton":"\u041f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0441\u043b\u043e\u0439","cutButton":"\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c \u0441\u043b\u043e\u0439","deleteButton":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u043b\u043e\u0439","drawCircleMarkerButton":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0440\u0443\u0433\u043e\u0432\u043e\u0439 \u043c\u0430\u0440\u043a\u0435\u0440","snappingButton":"\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043c\u0430\u0440\u043a\u0435\u0440 \u043a \u0434\u0440\u0443\u0433\u0438\u043c \u0441\u043b\u043e\u044f\u043c \u0438 \u0432\u0435\u0440\u0448\u0438\u043d\u0430\u043c","pinningButton":"\u0421\u0432\u044f\u0437\u0430\u0442\u044c \u043e\u0431\u0449\u0438\u0435 \u0442\u043e\u0447\u043a\u0438 \u0432\u043c\u0435\u0441\u0442\u0435"}}'),_=JSON.parse('{"tooltips":{"placeMarker":"Presiona para colocar un marcador","firstVertex":"Presiona para colocar el primer v\xe9rtice","continueLine":"Presiona para continuar dibujando","finishLine":"Presiona cualquier marcador existente para finalizar","finishPoly":"Presiona el primer marcador para finalizar","finishRect":"Presiona para finalizar","startCircle":"Presiona para colocar el centro del c\xedrculo","finishCircle":"Presiona para finalizar el c\xedrculo","placeCircleMarker":"Presiona para colocar un marcador de c\xedrculo"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Eliminar \xfaltimo v\xe9rtice"},"buttonTitles":{"drawMarkerButton":"Dibujar Marcador","drawPolyButton":"Dibujar Pol\xedgono","drawLineButton":"Dibujar L\xednea","drawCircleButton":"Dibujar C\xedrculo","drawRectButton":"Dibujar Rect\xe1ngulo","editButton":"Editar Capas","dragButton":"Arrastrar Capas","cutButton":"Cortar Capas","deleteButton":"Eliminar Capas","drawCircleMarkerButton":"Dibujar Marcador de C\xedrculo","snappingButton":"El marcador de Snap arrastrado a otras capas y v\xe9rtices","pinningButton":"Fijar juntos los v\xe9rtices compartidos"}}'),w=JSON.parse('{"tooltips":{"placeMarker":"Klik om een marker te plaatsen","firstVertex":"Klik om het eerste punt te plaatsen","continueLine":"Klik om te blijven tekenen","finishLine":"Klik op een bestaand punt om te be\xebindigen","finishPoly":"Klik op het eerst punt om te be\xebindigen","finishRect":"Klik om te be\xebindigen","startCircle":"Klik om het middelpunt te plaatsen","finishCircle":"Klik om de cirkel te be\xebindigen","placeCircleMarker":"Klik om een marker te plaatsen"},"actions":{"finish":"Bewaar","cancel":"Annuleer","removeLastVertex":"Verwijder laatste punt"},"buttonTitles":{"drawMarkerButton":"Plaats Marker","drawPolyButton":"Teken een vlak","drawLineButton":"Teken een lijn","drawCircleButton":"Teken een cirkel","drawRectButton":"Teken een vierkant","editButton":"Bewerk","dragButton":"Verplaats","cutButton":"Knip","deleteButton":"Verwijder","drawCircleMarkerButton":"Plaats Marker","snappingButton":"Snap gesleepte marker naar andere lagen en hoekpunten","pinningButton":"Speld gedeelde hoekpunten samen"}}'),z=JSON.parse('{"tooltips":{"placeMarker":"Cliquez pour placer un marqueur","firstVertex":"Cliquez pour placer le premier sommet","continueLine":"Cliquez pour continuer \xe0 dessiner","finishLine":"Cliquez sur n\'importe quel marqueur pour terminer","finishPoly":"Cliquez sur le premier marqueur pour terminer","finishRect":"Cliquez pour terminer","startCircle":"Cliquez pour placer le centre du cercle","finishCircle":"Cliquez pour finir le cercle","placeCircleMarker":"Cliquez pour placer le marqueur circulaire"},"actions":{"finish":"Terminer","cancel":"Annuler","removeLastVertex":"Retirer le dernier sommet"},"buttonTitles":{"drawMarkerButton":"Placer des marqueurs","drawPolyButton":"Dessiner des polygones","drawLineButton":"Dessiner des polylignes","drawCircleButton":"Dessiner un cercle","drawRectButton":"Dessiner un rectangle","editButton":"\xc9diter des calques","dragButton":"D\xe9placer des calques","cutButton":"Couper des calques","deleteButton":"Supprimer des calques","drawCircleMarkerButton":"Dessiner un marqueur circulaire","snappingButton":"Glisser le marqueur vers d\'autres couches et sommets","pinningButton":"\xc9pingler ensemble les sommets partag\xe9s","rotateButton":"Tourner des calques"}}'),R=JSON.parse('{"tooltips":{"placeMarker":"\u5355\u51fb\u653e\u7f6e\u6807\u8bb0","firstVertex":"\u5355\u51fb\u653e\u7f6e\u9996\u4e2a\u9876\u70b9","continueLine":"\u5355\u51fb\u7ee7\u7eed\u7ed8\u5236","finishLine":"\u5355\u51fb\u4efb\u4f55\u5b58\u5728\u7684\u6807\u8bb0\u4ee5\u5b8c\u6210","finishPoly":"\u5355\u51fb\u7b2c\u4e00\u4e2a\u6807\u8bb0\u4ee5\u5b8c\u6210","finishRect":"\u5355\u51fb\u5b8c\u6210","startCircle":"\u5355\u51fb\u653e\u7f6e\u5706\u5fc3","finishCircle":"\u5355\u51fb\u5b8c\u6210\u5706\u5f62","placeCircleMarker":"\u70b9\u51fb\u653e\u7f6e\u5706\u5f62\u6807\u8bb0"},"actions":{"finish":"\u5b8c\u6210","cancel":"\u53d6\u6d88","removeLastVertex":"\u79fb\u9664\u6700\u540e\u7684\u9876\u70b9"},"buttonTitles":{"drawMarkerButton":"\u7ed8\u5236\u6807\u8bb0","drawPolyButton":"\u7ed8\u5236\u591a\u8fb9\u5f62","drawLineButton":"\u7ed8\u5236\u7ebf\u6bb5","drawCircleButton":"\u7ed8\u5236\u5706\u5f62","drawRectButton":"\u7ed8\u5236\u957f\u65b9\u5f62","editButton":"\u7f16\u8f91\u56fe\u5c42","dragButton":"\u62d6\u62fd\u56fe\u5c42","cutButton":"\u526a\u5207\u56fe\u5c42","deleteButton":"\u5220\u9664\u56fe\u5c42","drawCircleMarkerButton":"\u753b\u5706\u5708\u6807\u8bb0","snappingButton":"\u5c06\u62d6\u52a8\u7684\u6807\u8bb0\u6355\u6349\u5230\u5176\u4ed6\u56fe\u5c42\u548c\u9876\u70b9","pinningButton":"\u5c06\u5171\u4eab\u9876\u70b9\u56fa\u5b9a\u5728\u4e00\u8d77"}}'),N=JSON.parse('{"tooltips":{"placeMarker":"\u55ae\u64ca\u653e\u7f6e\u6a19\u8a18","firstVertex":"\u55ae\u64ca\u653e\u7f6e\u7b2c\u4e00\u500b\u9802\u9ede","continueLine":"\u55ae\u64ca\u7e7c\u7e8c\u7e6a\u88fd","finishLine":"\u55ae\u64ca\u4efb\u4f55\u5b58\u5728\u7684\u6a19\u8a18\u4ee5\u5b8c\u6210","finishPoly":"\u55ae\u64ca\u7b2c\u4e00\u500b\u6a19\u8a18\u4ee5\u5b8c\u6210","finishRect":"\u55ae\u64ca\u5b8c\u6210","startCircle":"\u55ae\u64ca\u653e\u7f6e\u5713\u5fc3","finishCircle":"\u55ae\u64ca\u5b8c\u6210\u5713\u5f62","placeCircleMarker":"\u9ede\u64ca\u653e\u7f6e\u5713\u5f62\u6a19\u8a18"},"actions":{"finish":"\u5b8c\u6210","cancel":"\u53d6\u6d88","removeLastVertex":"\u79fb\u9664\u6700\u5f8c\u4e00\u500b\u9802\u9ede"},"buttonTitles":{"drawMarkerButton":"\u653e\u7f6e\u6a19\u8a18","drawPolyButton":"\u7e6a\u88fd\u591a\u908a\u5f62","drawLineButton":"\u7e6a\u88fd\u7dda\u6bb5","drawCircleButton":"\u7e6a\u88fd\u5713\u5f62","drawRectButton":"\u7e6a\u88fd\u65b9\u5f62","editButton":"\u7de8\u8f2f\u5716\u5f62","dragButton":"\u79fb\u52d5\u5716\u5f62","cutButton":"\u88c1\u5207\u5716\u5f62","deleteButton":"\u522a\u9664\u5716\u5f62","drawCircleMarkerButton":"\u756b\u5713\u5708\u6a19\u8a18","snappingButton":"\u5c07\u62d6\u52d5\u7684\u6a19\u8a18\u5c0d\u9f4a\u5230\u5176\u4ed6\u5716\u5c64\u548c\u9802\u9ede","pinningButton":"\u5c07\u5171\u4eab\u9802\u9ede\u56fa\u5b9a\u5728\u4e00\u8d77"}}'),S={en:o,de:h,it:v,id:y,ro:x,ru:C,es:_,nl:w,fr:z,pt_br:JSON.parse('{"tooltips":{"placeMarker":"Clique para posicionar o marcador","firstVertex":"Clique para posicionar o primeiro v\xe9rtice","continueLine":"Clique para continuar desenhando","finishLine":"Clique em qualquer marcador existente para finalizar","finishPoly":"Clique no primeiro ponto para fechar o pol\xedgono","finishRect":"Clique para finalizar","startCircle":"Clique para posicionar o centro do c\xedrculo","finishCircle":"Clique para fechar o c\xedrculo","placeCircleMarker":"Clique para posicionar o marcador circular"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Remover \xfaltimo v\xe9rtice"},"buttonTitles":{"drawMarkerButton":"Desenhar um marcador","drawPolyButton":"Desenhar um pol\xedgono","drawLineButton":"Desenhar uma polilinha","drawCircleButton":"Desenhar um c\xedrculo","drawRectButton":"Desenhar um ret\xe2ngulo","editButton":"Editar camada(s)","dragButton":"Mover camada(s)","cutButton":"Recortar camada(s)","deleteButton":"Remover camada(s)","drawCircleMarkerButton":"Marcador de c\xedrculos de desenho","snappingButton":"Marcador arrastado para outras camadas e v\xe9rtices","pinningButton":"V\xe9rtices compartilhados de pinos juntos"}}'),zh:R,zh_tw:N,pl:JSON.parse('{"tooltips":{"placeMarker":"Kliknij, aby ustawi\u0107 znacznik","firstVertex":"Kliknij, aby ustawi\u0107 pierwszy punkt","continueLine":"Kliknij, aby kontynuowa\u0107 rysowanie","finishLine":"Kliknij dowolny punkt, aby zako\u0144czy\u0107","finishPoly":"Kliknij pierwszy punkt, aby zako\u0144czy\u0107","finishRect":"Kliknij, aby zako\u0144czy\u0107","startCircle":"Kliknij, aby ustawi\u0107 \u015brodek ko\u0142a","finishCircle":"Kliknij, aby zako\u0144czy\u0107 rysowanie ko\u0142a","placeCircleMarker":"Kliknij, aby ustawi\u0107 okr\u0105g\u0142y znacznik"},"actions":{"finish":"Zako\u0144cz","cancel":"Anuluj","removeLastVertex":"Usu\u0144 ostatni punkt"},"buttonTitles":{"drawMarkerButton":"Narysuj znacznik","drawPolyButton":"Narysuj wielok\u0105t","drawLineButton":"Narysuj \u015bcie\u017ck\u0119","drawCircleButton":"Narysuj ko\u0142o","drawRectButton":"Narysuj prostok\u0105t","editButton":"Edytuj","dragButton":"Przesu\u0144","cutButton":"Wytnij","deleteButton":"Usu\u0144","drawCircleMarkerButton":"Narysuj okr\u0105g\u0142y znacznik","snappingButton":"Snap przeci\u0105gni\u0119ty marker na inne warstwy i wierzcho\u0142ki","pinningButton":"Sworze\u0144 wsp\xf3lne wierzcho\u0142ki razem"}}'),sv:JSON.parse('{"tooltips":{"placeMarker":"Klicka f\xf6r att placera mark\xf6r","firstVertex":"Klicka f\xf6r att placera f\xf6rsta h\xf6rnet","continueLine":"Klicka f\xf6r att forts\xe4tta rita","finishLine":"Klicka p\xe5 en existerande punkt f\xf6r att slutf\xf6ra","finishPoly":"Klicka p\xe5 den f\xf6rsta punkten f\xf6r att slutf\xf6ra","finishRect":"Klicka f\xf6r att slutf\xf6ra","startCircle":"Klicka f\xf6r att placera cirkelns centrum","finishCircle":"Klicka f\xf6r att slutf\xf6ra cirkeln","placeCircleMarker":"Klicka f\xf6r att placera cirkelmark\xf6r"},"actions":{"finish":"Slutf\xf6r","cancel":"Avbryt","removeLastVertex":"Ta bort sista h\xf6rnet"},"buttonTitles":{"drawMarkerButton":"Rita Mark\xf6r","drawPolyButton":"Rita Polygoner","drawLineButton":"Rita Linje","drawCircleButton":"Rita Cirkel","drawRectButton":"Rita Rektangel","editButton":"Redigera Lager","dragButton":"Dra Lager","cutButton":"Klipp i Lager","deleteButton":"Ta bort Lager","drawCircleMarkerButton":"Rita Cirkelmark\xf6r","snappingButton":"Sn\xe4pp dra mark\xf6ren till andra lager och h\xf6rn","pinningButton":"F\xe4st delade h\xf6rn tillsammans"}}'),el:JSON.parse('{"tooltips":{"placeMarker":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03c4\u03b5 \u0394\u03b5\u03af\u03ba\u03c4\u03b7","firstVertex":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03c3\u03b7\u03bc\u03b5\u03af\u03bf","continueLine":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03c5\u03bd\u03b5\u03c7\u03af\u03c3\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03c3\u03c7\u03b5\u03b4\u03b9\u03ac\u03b6\u03b5\u03c4\u03b5","finishLine":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03b5 \u03bf\u03c0\u03bf\u03b9\u03bf\u03bd\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03c5\u03c0\u03ac\u03c1\u03c7\u03bf\u03bd \u03c3\u03b7\u03bc\u03b5\u03af\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03b8\u03b5\u03af","finishPoly":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03c3\u03c4\u03bf \u03c0\u03c1\u03ce\u03c4\u03bf \u03c3\u03b7\u03bc\u03b5\u03af\u03bf \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03c3\u03b5\u03c4\u03b5","finishRect":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03b5\u03bb\u03b5\u03b9\u03ce\u03c3\u03b5\u03c4\u03b5","startCircle":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03c4\u03b5 \u03ba\u03ad\u03bd\u03c4\u03c1\u03bf \u039a\u03cd\u03ba\u03bb\u03bf\u03c5","finishCircle":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03ce\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u039a\u03cd\u03ba\u03bb\u03bf","placeCircleMarker":"\u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c4\u03bf\u03c0\u03bf\u03b8\u03b5\u03c4\u03ae\u03c3\u03b5\u03c4\u03b5 \u039a\u03c5\u03ba\u03bb\u03b9\u03ba\u03cc \u0394\u03b5\u03af\u03ba\u03c4\u03b7"},"actions":{"finish":"\u03a4\u03ad\u03bb\u03bf\u03c2","cancel":"\u0391\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7","removeLastVertex":"\u039a\u03b1\u03c4\u03ac\u03c1\u03b3\u03b7\u03c3\u03b7 \u03c4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03bf\u03c5 \u03c3\u03b7\u03bc\u03b5\u03af\u03bf\u03c5"},"buttonTitles":{"drawMarkerButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u0394\u03b5\u03af\u03ba\u03c4\u03b7","drawPolyButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u03a0\u03bf\u03bb\u03c5\u03b3\u03ce\u03bd\u03bf\u03c5","drawLineButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u0393\u03c1\u03b1\u03bc\u03bc\u03ae\u03c2","drawCircleButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u039a\u03cd\u03ba\u03bb\u03bf\u03c5","drawRectButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u039f\u03c1\u03b8\u03bf\u03b3\u03c9\u03bd\u03af\u03bf\u03c5","editButton":"\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u0395\u03c0\u03b9\u03c0\u03ad\u03b4\u03c9\u03bd","dragButton":"\u039c\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac \u0395\u03c0\u03b9\u03c0\u03ad\u03b4\u03c9\u03bd","cutButton":"\u0391\u03c0\u03bf\u03ba\u03bf\u03c0\u03ae \u0395\u03c0\u03b9\u03c0\u03ad\u03b4\u03c9\u03bd","deleteButton":"\u039a\u03b1\u03c4\u03ac\u03c1\u03b3\u03b7\u03c3\u03b7 \u0395\u03c0\u03b9\u03c0\u03ad\u03b4\u03c9\u03bd","drawCircleMarkerButton":"\u03a3\u03c7\u03b5\u03b4\u03af\u03b1\u03c3\u03b7 \u039a\u03c5\u03ba\u03bb\u03b9\u03ba\u03bf\u03cd \u0394\u03b5\u03af\u03ba\u03c4\u03b7","snappingButton":"\u03a0\u03c1\u03bf\u03c3\u03ba\u03cc\u03bb\u03bb\u03b7\u03c3\u03b7 \u03c4\u03bf\u03c5 \u0394\u03b5\u03af\u03ba\u03c4\u03b7 \u03bc\u03b5\u03c4\u03b1\u03c6\u03bf\u03c1\u03ac\u03c2 \u03c3\u03b5 \u03ac\u03bb\u03bb\u03b1 \u0395\u03c0\u03af\u03c0\u03b5\u03b4\u03b1 \u03ba\u03b1\u03b9 \u039a\u03bf\u03c1\u03c5\u03c6\u03ad\u03c2","pinningButton":"\u03a0\u03b5\u03c1\u03b9\u03ba\u03bf\u03c0\u03ae \u03ba\u03bf\u03b9\u03bd\u03ce\u03bd \u03ba\u03bf\u03c1\u03c5\u03c6\u03ce\u03bd \u03bc\u03b1\u03b6\u03af"}}'),hu:JSON.parse('{"tooltips":{"placeMarker":"Kattintson a jel\xf6l\u0151 elhelyez\xe9s\xe9hez","firstVertex":"Kattintson az els\u0151 pont elhelyez\xe9s\xe9hez","continueLine":"Kattintson a k\xf6vetkez\u0151 pont elhelyez\xe9s\xe9hez","finishLine":"A befejez\xe9shez kattintson egy megl\xe9v\u0151 pontra","finishPoly":"A befejez\xe9shez kattintson az els\u0151 pontra","finishRect":"Kattintson a befejez\xe9shez","startCircle":"Kattintson a k\xf6r k\xf6z\xe9ppontj\xe1nak elhelyez\xe9s\xe9hez","finishCircle":"Kattintson a k\xf6r befejez\xe9s\xe9hez","placeCircleMarker":"Kattintson a k\xf6rjel\xf6l\u0151 elhelyez\xe9s\xe9hez"},"actions":{"finish":"Befejez\xe9s","cancel":"M\xe9gse","removeLastVertex":"Utols\xf3 pont elt\xe1vol\xedt\xe1sa"},"buttonTitles":{"drawMarkerButton":"Jel\xf6l\u0151 rajzol\xe1sa","drawPolyButton":"Poligon rajzol\xe1sa","drawLineButton":"Vonal rajzol\xe1sa","drawCircleButton":"K\xf6r rajzol\xe1sa","drawRectButton":"N\xe9gyzet rajzol\xe1sa","editButton":"Elemek szerkeszt\xe9se","dragButton":"Elemek mozgat\xe1sa","cutButton":"Elemek v\xe1g\xe1sa","deleteButton":"Elemek t\xf6rl\xe9se","drawCircleMarkerButton":"K\xf6r jel\xf6l\u0151 rajzol\xe1sa","snappingButton":"Kapcsolja a jel\xf6lt\u0151t m\xe1sik elemhez vagy ponthoz","pinningButton":"K\xf6z\xf6s pontok \xf6sszek\xf6t\xe9se"}}'),da:JSON.parse('{"tooltips":{"placeMarker":"Tryk for at placere en mark\xf8r","firstVertex":"Tryk for at placere det f\xf8rste punkt","continueLine":"Tryk for at forts\xe6tte linjen","finishLine":"Tryk p\xe5 et eksisterende punkt for at afslutte","finishPoly":"Tryk p\xe5 det f\xf8rste punkt for at afslutte","finishRect":"Tryk for at afslutte","startCircle":"Tryk for at placere cirklens center","finishCircle":"Tryk for at afslutte cirklen","placeCircleMarker":"Tryk for at placere en cirkelmark\xf8r"},"actions":{"finish":"Afslut","cancel":"Afbryd","removeLastVertex":"Fjern sidste punkt"},"buttonTitles":{"drawMarkerButton":"Placer mark\xf8r","drawPolyButton":"Tegn polygon","drawLineButton":"Tegn linje","drawCircleButton":"Tegn cirkel","drawRectButton":"Tegn firkant","editButton":"Rediger","dragButton":"Tr\xe6k","cutButton":"Klip","deleteButton":"Fjern","drawCircleMarkerButton":"Tegn cirkelmark\xf8r","snappingButton":"Fastg\xf8r trukket mark\xf8r til andre elementer","pinningButton":"Sammenl\xe6g delte elementer"}}'),no:JSON.parse('{"tooltips":{"placeMarker":"Klikk for \xe5 plassere punkt","firstVertex":"Klikk for \xe5 plassere f\xf8rste punkt","continueLine":"Klikk for \xe5 tegne videre","finishLine":"Klikk p\xe5 et eksisterende punkt for \xe5 fullf\xf8re","finishPoly":"Klikk f\xf8rste punkt for \xe5 fullf\xf8re","finishRect":"Klikk for \xe5 fullf\xf8re","startCircle":"Klikk for \xe5 sette sirkel midtpunkt","finishCircle":"Klikk for \xe5 fullf\xf8re sirkel","placeCircleMarker":"Klikk for \xe5 plassere sirkel"},"actions":{"finish":"Fullf\xf8r","cancel":"Kanseller","removeLastVertex":"Fjern forrige punkt"},"buttonTitles":{"drawMarkerButton":"Tegn Punkt","drawPolyButton":"Tegn Flate","drawLineButton":"Tegn Linje","drawCircleButton":"Tegn Sirkel","drawRectButton":"Tegn rektangel","editButton":"Rediger Objekter","dragButton":"Dra Objekter","cutButton":"Kutt Objekter","deleteButton":"Fjern Objekter","drawCircleMarkerButton":"Tegn sirkel-punkt","snappingButton":"Fest dratt punkt til andre objekter og punkt","pinningButton":"Pin delte punkt sammen"}}'),fa:JSON.parse('{"tooltips":{"placeMarker":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u062c\u0627\u0646\u0645\u0627\u06cc\u06cc \u0646\u0634\u0627\u0646","firstVertex":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0631\u0633\u0645 \u0627\u0648\u0644\u06cc\u0646 \u0631\u0623\u0633","continueLine":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0627\u062f\u0627\u0645\u0647 \u0631\u0633\u0645","finishLine":"\u06a9\u0644\u06cc\u06a9 \u0631\u0648\u06cc \u0647\u0631 \u0646\u0634\u0627\u0646 \u0645\u0648\u062c\u0648\u062f \u0628\u0631\u0627\u06cc \u067e\u0627\u06cc\u0627\u0646","finishPoly":"\u06a9\u0644\u06cc\u06a9 \u0631\u0648\u06cc \u0627\u0648\u0644\u06cc\u0646 \u0646\u0634\u0627\u0646 \u0628\u0631\u0627\u06cc \u067e\u0627\u06cc\u0627\u0646","finishRect":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u067e\u0627\u06cc\u0627\u0646","startCircle":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0631\u0633\u0645 \u0645\u0631\u06a9\u0632 \u062f\u0627\u06cc\u0631\u0647","finishCircle":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u067e\u0627\u06cc\u0627\u0646 \u0631\u0633\u0645 \u062f\u0627\u06cc\u0631\u0647","placeCircleMarker":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0631\u0633\u0645 \u0646\u0634\u0627\u0646 \u062f\u0627\u06cc\u0631\u0647","placeText":"\u06a9\u0644\u06cc\u06a9 \u0628\u0631\u0627\u06cc \u0646\u0648\u0634\u062a\u0646 \u0645\u062a\u0646"},"actions":{"finish":"\u067e\u0627\u06cc\u0627\u0646","cancel":"\u0644\u0641\u0648","removeLastVertex":"\u062d\u0630\u0641 \u0622\u062e\u0631\u06cc\u0646 \u0631\u0623\u0633"},"buttonTitles":{"drawMarkerButton":"\u062f\u0631\u062c \u0646\u0634\u0627\u0646","drawPolyButton":"\u0631\u0633\u0645 \u0686\u0646\u062f\u0636\u0644\u0639\u06cc","drawLineButton":"\u0631\u0633\u0645 \u062e\u0637","drawCircleButton":"\u0631\u0633\u0645 \u062f\u0627\u06cc\u0631\u0647","drawRectButton":"\u0631\u0633\u0645 \u0686\u0647\u0627\u0631\u0636\u0644\u0639\u06cc","editButton":"\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627","dragButton":"\u062c\u0627\u0628\u062c\u0627\u06cc\u06cc \u0644\u0627\u06cc\u0647\u200c\u0647\u0627","cutButton":"\u0628\u0631\u0634 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627","deleteButton":"\u062d\u0630\u0641 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627","drawCircleMarkerButton":"\u0631\u0633\u0645 \u0646\u0634\u0627\u0646 \u062f\u0627\u06cc\u0631\u0647","snappingButton":"\u0646\u0634\u0627\u0646\u06af\u0631 \u0631\u0627 \u0628\u0647 \u0644\u0627\u06cc\u0647\u200c\u0647\u0627 \u0648 \u0631\u0626\u0648\u0633 \u062f\u06cc\u06af\u0631 \u0628\u06a9\u0634\u06cc\u062f","pinningButton":"\u0631\u0626\u0648\u0633 \u0645\u0634\u062a\u0631\u06a9 \u0631\u0627 \u0628\u0627 \u0647\u0645 \u067e\u06cc\u0646 \u06a9\u0646\u06cc\u062f","rotateButton":"\u0686\u0631\u062e\u0634 \u0644\u0627\u06cc\u0647","drawTextButton":"\u0631\u0633\u0645 \u0645\u062a\u0646"}}'),ua:JSON.parse('{"tooltips":{"placeMarker":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043c\u0430\u0440\u043a\u0435\u0440","firstVertex":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043f\u0435\u0440\u0448\u0443 \u0432\u0435\u0440\u0448\u0438\u043d\u0443","continueLine":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u043c\u0430\u043b\u044e\u0432\u0430\u0442\u0438","finishLine":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u0439 \u0456\u0441\u043d\u0443\u044e\u0447\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f","finishPoly":"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u043f\u0435\u0440\u0448\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440, \u0449\u043e\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438","finishRect":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438","startCircle":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u0434\u043e\u0434\u0430\u0442\u0438 \u0446\u0435\u043d\u0442\u0440 \u043a\u043e\u043b\u0430","finishCircle":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u043a\u043e\u043b\u043e","placeCircleMarker":"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c, \u0449\u043e\u0431 \u043d\u0430\u043d\u0435\u0441\u0442\u0438 \u043a\u0440\u0443\u0433\u043e\u0432\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440"},"actions":{"finish":"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438","cancel":"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438","removeLastVertex":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044e \u0432\u0435\u0440\u0448\u0438\u043d\u0443"},"buttonTitles":{"drawMarkerButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043c\u0430\u0440\u043a\u0435\u0440","drawPolyButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043f\u043e\u043b\u0456\u0433\u043e\u043d","drawLineButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043a\u0440\u0438\u0432\u0443","drawCircleButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043a\u043e\u043b\u043e","drawRectButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043f\u0440\u044f\u043c\u043e\u043a\u0443\u0442\u043d\u0438\u043a","editButton":"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0448\u0430\u0440\u0438","dragButton":"\u041f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0448\u0430\u0440\u0438","cutButton":"\u0412\u0438\u0440\u0456\u0437\u0430\u0442\u0438 \u0448\u0430\u0440\u0438","deleteButton":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0448\u0430\u0440\u0438","drawCircleMarkerButton":"\u041c\u0430\u043b\u044e\u0432\u0430\u0442\u0438 \u043a\u0440\u0443\u0433\u043e\u0432\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440","snappingButton":"\u041f\u0440\u0438\u0432\u2019\u044f\u0437\u0430\u0442\u0438 \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0443\u0442\u0438\u0439 \u043c\u0430\u0440\u043a\u0435\u0440 \u0434\u043e \u0456\u043d\u0448\u0438\u0445 \u0448\u0430\u0440\u0456\u0432 \u0442\u0430 \u0432\u0435\u0440\u0448\u0438\u043d","pinningButton":"\u0417\u0432\'\u044f\u0437\u0430\u0442\u0438 \u0441\u043f\u0456\u043b\u044c\u043d\u0456 \u0432\u0435\u0440\u0448\u0438\u043d\u0438 \u0440\u0430\u0437\u043e\u043c"}}'),tr:JSON.parse('{"tooltips":{"placeMarker":"\u0130\u015faret\xe7i yerle\u015ftirmek i\xe7in t\u0131klay\u0131n","firstVertex":"\u0130lk tepe noktas\u0131n\u0131 yerle\u015ftirmek i\xe7in t\u0131klay\u0131n","continueLine":"\xc7izime devam etmek i\xe7in t\u0131klay\u0131n","finishLine":"Bitirmek i\xe7in mevcut herhangi bir i\u015faret\xe7iyi t\u0131klay\u0131n","finishPoly":"Bitirmek i\xe7in ilk i\u015faret\xe7iyi t\u0131klay\u0131n","finishRect":"Bitirmek i\xe7in t\u0131klay\u0131n","startCircle":"Daire merkezine yerle\u015ftirmek i\xe7in t\u0131klay\u0131n","finishCircle":"Daireyi bitirmek i\xe7in t\u0131klay\u0131n","placeCircleMarker":"Daire i\u015faret\xe7isi yerle\u015ftirmek i\xe7in t\u0131klay\u0131n"},"actions":{"finish":"Bitir","cancel":"\u0130ptal","removeLastVertex":"Son k\xf6\u015feyi kald\u0131r"},"buttonTitles":{"drawMarkerButton":"\xc7izim \u0130\u015faret\xe7isi","drawPolyButton":"\xc7okgenler \xe7iz","drawLineButton":"\xc7oklu \xe7izgi \xe7iz","drawCircleButton":"\xc7ember \xe7iz","drawRectButton":"Dikd\xf6rtgen \xe7iz","editButton":"Katmanlar\u0131 d\xfczenle","dragButton":"Katmanlar\u0131 s\xfcr\xfckle","cutButton":"Katmanlar\u0131 kes","deleteButton":"Katmanlar\u0131 kald\u0131r","drawCircleMarkerButton":"Daire i\u015faret\xe7isi \xe7iz","snappingButton":"S\xfcr\xfcklenen i\u015faret\xe7iyi di\u011fer katmanlara ve k\xf6\u015felere yap\u0131\u015ft\u0131r","pinningButton":"Payla\u015f\u0131lan k\xf6\u015feleri birbirine sabitle"}}'),cz:JSON.parse('{"tooltips":{"placeMarker":"Kliknut\xedm vytvo\u0159\xedte zna\u010dku","firstVertex":"Kliknut\xedm vytvo\u0159\xedte prvn\xed objekt","continueLine":"Kliknut\xedm pokra\u010dujte v kreslen\xed","finishLine":"Kliknut\xed na libovolnou existuj\xedc\xed zna\u010dku pro dokon\u010den\xed","finishPoly":"Vyberte prvn\xed bod pro dokon\u010den\xed","finishRect":"Klikn\u011bte pro dokon\u010den\xed","startCircle":"Kliknut\xedm p\u0159idejte st\u0159ed kruhu","finishCircle":"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u0440\u0430\u0434\u0438\u0443\u0441","placeCircleMarker":"Kliknut\xedm nastavte polom\u011br"},"actions":{"finish":"Dokon\u010dit","cancel":"Zru\u0161it","removeLastVertex":"Zru\u0161it posledn\xed akci"},"buttonTitles":{"drawMarkerButton":"P\u0159idat zna\u010dku","drawPolyButton":"Nakreslit polygon","drawLineButton":"Nakreslit k\u0159ivku","drawCircleButton":"Nakreslit kruh","drawRectButton":"Nakreslit obd\xe9ln\xedk","editButton":"Upravit vrstvu","dragButton":"P\u0159eneste vrstvu","cutButton":"Vyjmout vrstvu","deleteButton":"Smazat vrstvu","drawCircleMarkerButton":"P\u0159idat kruhovou zna\u010dku","snappingButton":"Nav\xe1zat ta\u017enou zna\u010dku k dal\u0161\xedm vrstv\xe1m a vrchol\u016fm","pinningButton":"Spojit spole\u010dn\xe9 body dohromady"}}'),ja:JSON.parse('{"tooltips":{"placeMarker":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u30de\u30fc\u30ab\u30fc\u3092\u914d\u7f6e","firstVertex":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u6700\u521d\u306e\u9802\u70b9\u3092\u914d\u7f6e","continueLine":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u63cf\u753b\u3092\u7d9a\u3051\u308b","finishLine":"\u4efb\u610f\u306e\u30de\u30fc\u30ab\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u7d42\u4e86","finishPoly":"\u6700\u521d\u306e\u30de\u30fc\u30ab\u30fc\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u7d42\u4e86","finishRect":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u7d42\u4e86","startCircle":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u5186\u306e\u4e2d\u5fc3\u3092\u914d\u7f6e","finishCircle":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u5186\u306e\u63cf\u753b\u3092\u7d42\u4e86","placeCircleMarker":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u5186\u30de\u30fc\u30ab\u30fc\u3092\u914d\u7f6e","placeText":"\u30af\u30ea\u30c3\u30af\u3057\u3066\u30c6\u30ad\u30b9\u30c8\u3092\u914d\u7f6e"},"actions":{"finish":"\u7d42\u4e86","cancel":"\u30ad\u30e3\u30f3\u30bb\u30eb","removeLastVertex":"\u6700\u5f8c\u306e\u9802\u70b9\u3092\u524a\u9664"},"buttonTitles":{"drawMarkerButton":"\u30de\u30fc\u30ab\u30fc\u3092\u63cf\u753b","drawPolyButton":"\u30dd\u30ea\u30b4\u30f3\u3092\u63cf\u753b","drawLineButton":"\u6298\u308c\u7dda\u3092\u63cf\u753b","drawCircleButton":"\u5186\u3092\u63cf\u753b","drawRectButton":"\u77e9\u5f62\u3092\u63cf\u753b","editButton":"\u30ec\u30a4\u30e4\u30fc\u3092\u7de8\u96c6","dragButton":"\u30ec\u30a4\u30e4\u30fc\u3092\u30c9\u30e9\u30c3\u30b0","cutButton":"\u30ec\u30a4\u30e4\u30fc\u3092\u5207\u308a\u53d6\u308a","deleteButton":"\u30ec\u30a4\u30e4\u30fc\u3092\u524a\u9664","drawCircleMarkerButton":"\u5186\u30de\u30fc\u30ab\u30fc\u3092\u63cf\u753b","snappingButton":"\u30c9\u30e9\u30c3\u30b0\u3057\u305f\u30de\u30fc\u30ab\u30fc\u3092\u4ed6\u306e\u30ec\u30a4\u30e4\u30fc\u3084\u9802\u70b9\u306b\u30b9\u30ca\u30c3\u30d7\u3059\u308b","pinningButton":"\u5171\u6709\u3059\u308b\u9802\u70b9\u3092\u540c\u6642\u306b\u52d5\u304b\u3059","rotateButton":"\u30ec\u30a4\u30e4\u30fc\u3092\u56de\u8ee2","drawTextButton":"\u30c6\u30ad\u30b9\u30c8\u3092\u63cf\u753b"}}'),fi:JSON.parse('{"tooltips":{"placeMarker":"Klikkaa asettaaksesi merkin","firstVertex":"Klikkaa asettaakseni ensimm\xe4isen osuuden","continueLine":"Klikkaa jatkaaksesi piirt\xe4mist\xe4","finishLine":"Klikkaa olemassa olevaa merkki\xe4 lopettaaksesi","finishPoly":"Klikkaa ensimm\xe4ist\xe4 merkki\xe4 lopettaaksesi","finishRect":"Klikkaa lopettaaksesi","startCircle":"Klikkaa asettaaksesi ympyr\xe4n keskipisteen","finishCircle":"Klikkaa lopettaaksesi ympyr\xe4n","placeCircleMarker":"Klikkaa asettaaksesi ympyr\xe4merkin","placeText":"Klikkaa asettaaksesi tekstin"},"actions":{"finish":"Valmis","cancel":"Peruuta","removeLastVertex":"Poista viimeinen osuus"},"buttonTitles":{"drawMarkerButton":"Piirr\xe4 merkkej\xe4","drawPolyButton":"Piirr\xe4 monikulmioita","drawLineButton":"Piirr\xe4 viivoja","drawCircleButton":"Piirr\xe4 ympyr\xe4","drawRectButton":"Piirr\xe4 neliskulmioita","editButton":"Muokkaa","dragButton":"Siirr\xe4","cutButton":"Leikkaa","deleteButton":"Poista","drawCircleMarkerButton":"Piirr\xe4 ympyr\xe4merkki","snappingButton":"Kiinnit\xe4 siirrett\xe4v\xe4 merkki toisiin muotoihin","pinningButton":"Kiinnit\xe4 jaetut muodot yhteen","rotateButton":"K\xe4\xe4nn\xe4","drawTextButton":"Piirr\xe4 teksti\xe4"}}'),ko:JSON.parse('{"tooltips":{"placeMarker":"\ub9c8\ucee4 \uc704\uce58\ub97c \ud074\ub9ad\ud558\uc138\uc694","firstVertex":"\uccab\ubc88\uc9f8 \uaf2d\uc9c0\uc810 \uc704\uce58\uc744 \ud074\ub9ad\ud558\uc138\uc694","continueLine":"\uacc4\uc18d \uadf8\ub9ac\ub824\uba74 \ud074\ub9ad\ud558\uc138\uc694","finishLine":"\ub05d\ub0b4\ub824\uba74 \uae30\uc874 \ub9c8\ucee4\ub97c \ud074\ub9ad\ud558\uc138\uc694","finishPoly":"\ub05d\ub0b4\ub824\uba74 \ucc98\uc74c \ub9c8\ucee4\ub97c \ud074\ub9ad\ud558\uc138\uc694","finishRect":"\ub05d\ub0b4\ub824\uba74 \ud074\ub9ad\ud558\uc138\uc694","startCircle":"\uc6d0\uc758 \uc911\uc2ec\uc774 \ub420 \uc704\uce58\ub97c \ud074\ub9ad\ud558\uc138\uc694","finishCircle":"\uc6d0\uc744 \ub05d\ub0b4\ub824\uba74 \ud074\ub9ad\ud558\uc138\uc694","placeCircleMarker":"\uc6d0 \ub9c8\ucee4 \uc704\uce58\ub97c \ud074\ub9ad\ud558\uc138\uc694","placeText":"\ud14d\uc2a4\ud2b8 \uc704\uce58\ub97c \ud074\ub9ad\ud558\uc138\uc694"},"actions":{"finish":"\ub05d\ub0b4\uae30","cancel":"\ucde8\uc18c","removeLastVertex":"\ub9c8\uc9c0\ub9c9 \uaf2d\uc9c0\uc810 \uc81c\uac70"},"buttonTitles":{"drawMarkerButton":"\ub9c8\ucee4 \uadf8\ub9ac\uae30","drawPolyButton":"\ub2e4\uac01\ud615 \uadf8\ub9ac\uae30","drawLineButton":"\ub2e4\uac01\uc120 \uadf8\ub9ac\uae30","drawCircleButton":"\uc6d0 \uadf8\ub9ac\uae30","drawRectButton":"\uc9c1\uc0ac\uac01\ud615 \uadf8\ub9ac\uae30","editButton":"\ub808\uc774\uc5b4 \ud3b8\uc9d1\ud558\uae30","dragButton":"\ub808\uc774\uc5b4 \ub04c\uae30","cutButton":"\ub808\uc774\uc5b4 \uc790\ub974\uae30","deleteButton":"\ub808\uc774\uc5b4 \uc81c\uac70\ud558\uae30","drawCircleMarkerButton":"\uc6d0 \ub9c8\ucee4 \uadf8\ub9ac\uae30","snappingButton":"\uc7a1\uc544\ub048 \ub9c8\ucee4\ub97c \ub2e4\ub978 \ub808\uc774\uc5b4 \ubc0f \uaf2d\uc9c0\uc810\uc5d0 \ub4e4\ub7ec\ubd99\uac8c \ud558\uae30","pinningButton":"\uacf5\uc720 \uaf2d\uc9c0\uc810\uc744 \ud568\uaed8 \ucc0d\uae30","rotateButton":"\ub808\uc774\uc5b4 \ud68c\uc804\ud558\uae30","drawTextButton":"\ud14d\uc2a4\ud2b8 \uadf8\ub9ac\uae30"}}')};function E(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function O(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?E(Object(me),!0).forEach(function(Be){H(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):E(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function H(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}const U={_globalEditModeEnabled:!1,enableGlobalEditMode:function(q){var ne=O({},q);this._globalEditModeEnabled=!0,this.Toolbar.toggleButton("editMode",this.globalEditModeEnabled()),L.PM.Utils.findLayers(this.map).forEach(function(me){me.pm.enable(ne)}),this.throttledReInitEdit||(this.throttledReInitEdit=L.Util.throttle(this.handleLayerAdditionInGlobalEditMode,100,this)),this._addedLayers={},this.map.on("layeradd",this._layerAdded,this),this.map.on("layeradd",this.throttledReInitEdit,this),this._fireGlobalEditModeToggled(!0)},disableGlobalEditMode:function(){this._globalEditModeEnabled=!1,L.PM.Utils.findLayers(this.map).forEach(function(q){q.pm.disable()}),this.map.off("layeradd",this.throttledReInitEdit,this),this.Toolbar.toggleButton("editMode",this.globalEditModeEnabled()),this._fireGlobalEditModeToggled(!1)},globalEditEnabled:function(){return this.globalEditModeEnabled()},globalEditModeEnabled:function(){return this._globalEditModeEnabled},toggleGlobalEditMode:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.globalOptions;this.globalEditModeEnabled()?this.disableGlobalEditMode():this.enableGlobalEditMode(q)},handleLayerAdditionInGlobalEditMode:function(){var q=this._addedLayers;for(var ne in this._addedLayers={},q){var me=q[ne];this._isRelevantForEdit(me)&&this.globalEditModeEnabled()&&me.pm.enable(O({},this.globalOptions))}},_layerAdded:function(q){var ne=q.layer;this._addedLayers[L.stamp(ne)]=ne},_isRelevantForEdit:function(q){return q.pm&&!(q instanceof L.LayerGroup)&&(!L.PM.optIn&&!q.options.pmIgnore||L.PM.optIn&&!1===q.options.pmIgnore)&&!q._pmTempLayer&&q.pm.options.allowEditing}},X={_globalDragModeEnabled:!1,enableGlobalDragMode:function(){var q=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!0,this._addedLayersDrag={},q.forEach(function(ne){ne.pm.enableLayerDrag()}),this.throttledReInitDrag||(this.throttledReInitDrag=L.Util.throttle(this.reinitGlobalDragMode,100,this)),this.map.on("layeradd",this._layerAddedDrag,this),this.map.on("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!0)},disableGlobalDragMode:function(){var q=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!1,q.forEach(function(ne){ne.pm.disableLayerDrag()}),this.map.off("layeradd",this._layerAddedDrag,this),this.map.off("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!1)},globalDragModeEnabled:function(){return!!this._globalDragModeEnabled},toggleGlobalDragMode:function(){this.globalDragModeEnabled()?this.disableGlobalDragMode():this.enableGlobalDragMode()},reinitGlobalDragMode:function(){var q=this._addedLayersDrag;for(var ne in this._addedLayersDrag={},q){var me=q[ne];this._isRelevantForDrag(me)&&this.globalDragModeEnabled()&&me.pm.enableLayerDrag()}},_layerAddedDrag:function(q){var ne=q.layer;this._addedLayersDrag[L.stamp(ne)]=ne},_isRelevantForDrag:function(q){return q.pm&&!(q instanceof L.LayerGroup)&&(!L.PM.optIn&&!q.options.pmIgnore||L.PM.optIn&&!1===q.options.pmIgnore)&&!q._pmTempLayer&&q.pm.options.draggable}},W={_globalRemovalModeEnabled:!1,enableGlobalRemovalMode:function(){var q=this;this._globalRemovalModeEnabled=!0,this.map.eachLayer(function(ne){q._isRelevantForRemoval(ne)&&(ne.pm.disable(),ne.on("click",q.removeLayer,q))}),this.throttledReInitRemoval||(this.throttledReInitRemoval=L.Util.throttle(this.reinitGlobalRemovalMode,100,this)),this.map.on("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!0)},disableGlobalRemovalMode:function(){var q=this;this._globalRemovalModeEnabled=!1,this.map.eachLayer(function(ne){ne.off("click",q.removeLayer,q)}),this.map.off("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!1)},globalRemovalEnabled:function(){return this.globalRemovalModeEnabled()},globalRemovalModeEnabled:function(){return!!this._globalRemovalModeEnabled},toggleGlobalRemovalMode:function(){this.globalRemovalModeEnabled()?this.disableGlobalRemovalMode():this.enableGlobalRemovalMode()},reinitGlobalRemovalMode:function(q){var ne=q.layer;this._isRelevantForRemoval(ne)&&this.globalRemovalModeEnabled()&&(this.disableGlobalRemovalMode(),this.enableGlobalRemovalMode())},removeLayer:function(q){var ne=q.target;this._isRelevantForRemoval(ne)&&!ne.pm.dragging()&&(ne.removeFrom(this.map.pm._getContainingLayer()),ne.remove(),ne instanceof L.LayerGroup?(this._fireRemoveLayerGroup(ne),this._fireRemoveLayerGroup(this.map,ne)):(ne.pm._fireRemove(ne),ne.pm._fireRemove(this.map,ne)))},_isRelevantForRemoval:function(q){return q.pm&&!(q instanceof L.LayerGroup)&&(!L.PM.optIn&&!q.options.pmIgnore||L.PM.optIn&&!1===q.options.pmIgnore)&&!q._pmTempLayer&&q.pm.options.allowRemoval}},re={_globalRotateModeEnabled:!1,enableGlobalRotateMode:function(){var q=this;this._globalRotateModeEnabled=!0,L.PM.Utils.findLayers(this.map).filter(function(ne){return ne instanceof L.Polyline}).forEach(function(ne){q._isRelevantForRotate(ne)&&ne.pm.enableRotate()}),this.throttledReInitRotate||(this.throttledReInitRotate=L.Util.throttle(this._reinitGlobalRotateMode,100,this)),this.map.on("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},disableGlobalRotateMode:function(){this._globalRotateModeEnabled=!1,L.PM.Utils.findLayers(this.map).filter(function(q){return q instanceof L.Polyline}).forEach(function(q){q.pm.disableRotate()}),this.map.off("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},globalRotateModeEnabled:function(){return!!this._globalRotateModeEnabled},toggleGlobalRotateMode:function(){this.globalRotateModeEnabled()?this.disableGlobalRotateMode():this.enableGlobalRotateMode()},_reinitGlobalRotateMode:function(q){var ne=q.layer;this._isRelevantForRotate(ne)&&this.globalRotateModeEnabled()&&(this.disableGlobalRotateMode(),this.enableGlobalRotateMode())},_isRelevantForRotate:function(q){return q.pm&&!(q instanceof L.LayerGroup)&&(!L.PM.optIn&&!q.options.pmIgnore||L.PM.optIn&&!1===q.options.pmIgnore)&&!q._pmTempLayer&&q.pm.options.allowRotation}};function pe(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function Ae(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?pe(Object(me),!0).forEach(function(Be){Se(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):pe(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function Se(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}const qe={_fireDrawStart:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Draw",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._map,"pm:drawstart",{shape:this._shape,workingLayer:this._layer},q,ne)},_fireDrawEnd:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Draw",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._map,"pm:drawend",{shape:this._shape},q,ne)},_fireCreate:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Draw",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this._map,"pm:create",{shape:this._shape,marker:q,layer:q},ne,me)},_fireCenterPlaced:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Draw",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},me="Draw"===q?this._layer:void 0,Be="Draw"!==q?this._layer:void 0;this.__fire(this._layer,"pm:centerplaced",{shape:this._shape,workingLayer:me,layer:Be,latlng:this._layer.getLatLng()},q,ne)},_fireCut:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Draw",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(q,"pm:cut",{shape:this._shape,layer:ne,originalLayer:me},Be,et)},_fireEdit:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._layer,ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Edit",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(q,"pm:edit",{layer:this._layer,shape:this.getShape()},ne,me)},_fireEnable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:enable",{layer:this._layer,shape:this.getShape()},q,ne)},_fireDisable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:disable",{layer:this._layer,shape:this.getShape()},q,ne)},_fireUpdate:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:update",{layer:this._layer,shape:this.getShape()},q,ne)},_fireMarkerDragStart:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._layer,"pm:markerdragstart",{layer:this._layer,markerEvent:q,shape:this.getShape(),indexPath:ne},me,Be)},_fireMarkerDrag:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._layer,"pm:markerdrag",{layer:this._layer,markerEvent:q,shape:this.getShape(),indexPath:ne},me,Be)},_fireMarkerDragEnd:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Edit",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(this._layer,"pm:markerdragend",{layer:this._layer,markerEvent:q,shape:this.getShape(),indexPath:ne,intersectionReset:me},Be,et)},_fireDragStart:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:dragstart",{layer:this._layer,shape:this.getShape()},q,ne)},_fireDrag:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Edit",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this._layer,"pm:drag",Ae(Ae({},q),{},{shape:this.getShape()}),ne,me)},_fireDragEnd:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:dragend",{layer:this._layer,shape:this.getShape()},q,ne)},_fireDragEnable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:dragenable",{layer:this._layer,shape:this.getShape()},q,ne)},_fireDragDisable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:dragdisable",{layer:this._layer,shape:this.getShape()},q,ne)},_fireRemove:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:remove",{layer:ne,shape:this.getShape()},me,Be)},_fireVertexAdded:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Edit",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(this._layer,"pm:vertexadded",{layer:this._layer,workingLayer:this._layer,marker:q,indexPath:ne,latlng:me,shape:this.getShape()},Be,et)},_fireVertexRemoved:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._layer,"pm:vertexremoved",{layer:this._layer,marker:q,indexPath:ne,shape:this.getShape()},me,Be)},_fireVertexClick:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._layer,"pm:vertexclick",{layer:this._layer,markerEvent:q,indexPath:ne,shape:this.getShape()},me,Be)},_fireIntersect:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Edit",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this._layer,"pm:intersect",{layer:this._layer,intersection:q,shape:this.getShape()},ne,me)},_fireLayerReset:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._layer,"pm:layerreset",{layer:this._layer,markerEvent:q,indexPath:ne,shape:this.getShape()},me,Be)},_fireChange:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Edit",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this._layer,"pm:change",{layer:this._layer,latlngs:q,shape:this.getShape()},ne,me)},_fireTextChange:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Edit",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this._layer,"pm:textchange",{layer:this._layer,text:q,shape:this.getShape()},ne,me)},_fireTextFocus:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:textfocus",{layer:this._layer,shape:this.getShape()},q,ne)},_fireTextBlur:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Edit",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._layer,"pm:textblur",{layer:this._layer,shape:this.getShape()},q,ne)},_fireSnapDrag:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Snapping",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:snapdrag",ne,me,Be)},_fireSnap:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Snapping",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:snap",ne,me,Be)},_fireUnsnap:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Snapping",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:unsnap",ne,me,Be)},_fireRotationEnable:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Rotation",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:rotateenable",{layer:this._layer,helpLayer:this._rotatePoly,shape:this.getShape()},me,Be)},_fireRotationDisable:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Rotation",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(q,"pm:rotatedisable",{layer:this._layer,shape:this.getShape()},ne,me)},_fireRotationStart:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Rotation",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:rotatestart",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:this._startAngle,originLatLngs:ne},me,Be)},_fireRotation:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this._rotationLayer,et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Rotation",It=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.__fire(q,"pm:rotate",{layer:Be,helpLayer:this._layer,startAngle:this._startAngle,angle:Be.pm.getAngle(),angleDiff:ne,oldLatLngs:me,newLatLngs:Be.getLatLngs()},et,It)},_fireRotationEnd:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Rotation",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(q,"pm:rotateend",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:ne,angle:this._rotationLayer.pm.getAngle(),originLatLngs:me,newLatLngs:this._rotationLayer.getLatLngs()},Be,et)},_fireActionClick:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Toolbar",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(this._map,"pm:actionclick",{text:q.text,action:q,btnName:ne,button:me},Be,et)},_fireButtonClick:function(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Toolbar",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(this._map,"pm:buttonclick",{btnName:q,button:ne},me,Be)},_fireLangChange:function(q,ne,me,Be){var et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Global",It=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.__fire(this.map,"pm:langchange",{oldLang:q,activeLang:ne,fallback:me,translations:Be},et,It)},_fireGlobalDragModeToggled:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Global",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this.map,"pm:globaldragmodetoggled",{enabled:q,map:this.map},ne,me)},_fireGlobalEditModeToggled:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Global",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this.map,"pm:globaleditmodetoggled",{enabled:q,map:this.map},ne,me)},_fireGlobalRemovalModeToggled:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Global",me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.__fire(this.map,"pm:globalremovalmodetoggled",{enabled:q,map:this.map},ne,me)},_fireGlobalCutModeToggled:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Global",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._map,"pm:globalcutmodetoggled",{enabled:!!this._enabled,map:this._map},q,ne)},_fireGlobalDrawModeToggled:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Global",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this._map,"pm:globaldrawmodetoggled",{enabled:this._enabled,shape:this._shape,map:this._map},q,ne)},_fireGlobalRotateModeToggled:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Global",ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.__fire(this.map,"pm:globalrotatemodetoggled",{enabled:this.globalRotateModeEnabled(),map:this.map},q,ne)},_fireRemoveLayerGroup:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Edit",Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.__fire(q,"pm:remove",{layer:ne,shape:void 0},me,Be)},_fireKeyeventEvent:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Global",et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.__fire(this.map,"pm:keyevent",{event:q,eventType:ne,focusOn:me},Be,et)},__fire:function(q,ne,me,Be){var et=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};me=s()(me,et,{source:Be}),L.PM.Utils._fireEvent(q,ne,me)}},rt={_lastEvents:{keydown:void 0,keyup:void 0,current:void 0},_initKeyListener:function(q){this.map=q,L.DomEvent.on(document,"keydown keyup",this._onKeyListener,this),L.DomEvent.on(window,"blur",this._onBlur,this)},_onKeyListener:function(q){var ne="document";this.map.getContainer().contains(q.target)&&(ne="map");var me={event:q,eventType:q.type,focusOn:ne};this._lastEvents[q.type]=me,this._lastEvents.current=me,this.map.pm._fireKeyeventEvent(q,q.type,ne)},_onBlur:function(q){q.altKey=!1;var ne={event:q,eventType:q.type,focusOn:"document"};this._lastEvents[q.type]=ne,this._lastEvents.current=ne},getLastKeyEvent:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"current";return this._lastEvents[q]},isShiftKeyPressed:function(){var q;return null===(q=this._lastEvents.current)||void 0===q?void 0:q.event.shiftKey},isAltKeyPressed:function(){var q;return null===(q=this._lastEvents.current)||void 0===q?void 0:q.event.altKey},isCtrlKeyPressed:function(){var q;return null===(q=this._lastEvents.current)||void 0===q?void 0:q.event.ctrlKey},isMetaKeyPressed:function(){var q;return null===(q=this._lastEvents.current)||void 0===q?void 0:q.event.metaKey},getPressedKey:function(){var q;return null===(q=this._lastEvents.current)||void 0===q?void 0:q.event.key}};var ot=P(7361),vt=P.n(ot),rn=P(8721),Xt=P.n(rn);function fn(q){var ne=L.PM.activeLang;return Xt()(S,ne)||(ne="en"),vt()(S[ne],q)}function _n(q){for(var ne=0;ne<q.length;ne+=1){var me=q[ne];if(Array.isArray(me)){if(_n(me))return!0}else if(null!=me&&""!==me)return!0}return!1}function hn(q){return q.reduce(function(ne,me){if(0!==me.length){var Be=Array.isArray(me)?hn(me):me;Array.isArray(Be)?0!==Be.length&&ne.push(Be):ne.push(Be)}return ne},[])}function vn(q,ne,me){for(var Be,et,It,Wt=6356752.3142,Pt=.0033528106647474805,Et=q.lng,Dn=q.lat,Ln=me,An=Math.PI,Qn=ne*An/180,ui=Math.sin(Qn),Ui=Math.cos(Qn),hr=(1-Pt)*Math.tan(Dn*An/180),kr=1/Math.sqrt(1+hr*hr),Ri=hr*kr,Yi=Math.atan2(hr,Ui),In=kr*ui,Pr=1-In*In,Ir=272331606681.9453*Pr/(Wt*Wt),ir=1+Ir/16384*(4096+Ir*(Ir*(320-175*Ir)-768)),ds=Ir/1024*(256+Ir*(Ir*(74-47*Ir)-128)),Go=Ln/(Wt*ir),ko=2*Math.PI;Math.abs(Go-ko)>1e-12;)Be=Math.cos(2*Yi+Go),ko=Go,Go=Ln/(Wt*ir)+ds*(et=Math.sin(Go))*(Be+ds/4*((It=Math.cos(Go))*(2*Be*Be-1)-ds/6*Be*(4*et*et-3)*(4*Be*Be-3)));var zo=Ri*et-kr*It*Ui,Cs=Math.atan2(Ri*It+kr*et*Ui,(1-Pt)*Math.sqrt(In*In+zo*zo)),Rr=Pt/16*Pr*(4+Pt*(4-3*Pr)),Qe=Et+180*(Math.atan2(et*ui,kr*It-Ri*et*Ui)-(1-Rr)*Pt*In*(Go+Rr*et*(Be+Rr*It*(2*Be*Be-1))))/An,Oe=180*Cs/An;return L.latLng(Qe,Oe)}function xn(q,ne,me,Be){for(var et,It,Ut=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],Wt=[],Pt=0;Pt<me;Pt+=1){if(Ut)et=vn(q,360*Pt/me+Be,ne),It=L.latLng(et.lng,et.lat);else{var Et=q.lat+Math.cos(2*Pt*Math.PI/me)*ne,Dn=q.lng+Math.sin(2*Pt*Math.PI/me)*ne;It=L.latLng(Et,Dn)}Wt.push(It)}return Wt}function dn(q,ne,me,Be){var It,Ut,Wt,Pt,Et,Dn;return function(It,Ut,Wt){Ut=(Ut+360)%360;var Pt=Math.PI/180,Et=180/Math.PI,Ln=It.lng*Pt,An=It.lat*Pt,Qn=Ut*Pt,ui=Math.sin(An),Ui=Math.cos(An),hr=Math.cos(Wt/6378137),kr=Math.sin(Wt/6378137),Ri=Math.asin(ui*hr+Ui*kr*Math.cos(Qn)),Yi=Ln+Math.atan2(Math.sin(Qn)*kr*Ui,hr-ui*Math.sin(Ri));return Yi=(Yi*=Et)>180?Yi-360:Yi<-180?Yi+360:Yi,L.latLng([Ri*Et,Yi])}(ne,(Ut=ne,Wt=me,Pt=(It=q).latLngToContainerPoint(Ut),Et=It.latLngToContainerPoint(Wt),(Dn=180*Math.atan2(Et.y-Pt.y,Et.x-Pt.x)/Math.PI+90)+(Dn<0?360:0)),Be)}function Sn(q,ne){var me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";if(!ne||0===Object.keys(ne).length)return function(Pt,Et){return Pt-Et};for(var Be,et=Object.keys(ne),It=et.length-1,Ut={};It>=0;)Be=et[It],Ut[Be.toLowerCase()]=ne[Be],It-=1;function Wt(Pt){return Pt instanceof L.Marker?"Marker":Pt instanceof L.Circle?"Circle":Pt instanceof L.CircleMarker?"CircleMarker":Pt instanceof L.Rectangle?"Rectangle":Pt instanceof L.Polygon?"Polygon":Pt instanceof L.Polyline?"Line":void 0}return function(Pt,Et){var Dn,Ln;if("instanceofShape"===q){if(Dn=Wt(Pt.layer).toLowerCase(),Ln=Wt(Et.layer).toLowerCase(),!Dn||!Ln)return 0}else{if(!Pt.hasOwnProperty(q)||!Et.hasOwnProperty(q))return 0;Dn=Pt[q].toLowerCase(),Ln=Et[q].toLowerCase()}var An=Dn in Ut?Ut[Dn]:Number.MAX_SAFE_INTEGER,Qn=Ln in Ut?Ut[Ln]:Number.MAX_SAFE_INTEGER,ui=0;return An<Qn?ui=-1:An>Qn&&(ui=1),"desc"===me?-1*ui:ui}}function si(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.getLatLngs();return q instanceof L.Polygon?L.polygon(ne).getLatLngs():L.polyline(ne).getLatLngs()}function cn(q,ne){var me,Be;if(null!==(me=ne.options.crs)&&void 0!==me&&null!==(Be=me.projection)&&void 0!==Be&&Be.MAX_LATITUDE){var et,It,Ut=null===(et=ne.options.crs)||void 0===et||null===(It=et.projection)||void 0===It?void 0:It.MAX_LATITUDE;q.lat=Math.max(Math.min(Ut,q.lat),-Ut)}return q}function yn(q){return q.options.renderer||q._map&&(q._map._getPaneRenderer(q.options.pane)||q._map.options.renderer||q._map._renderer)||q._renderer}const qn=L.Class.extend({includes:[U,X,W,re,qe],initialize:function(q){this.map=q,this.Draw=new L.PM.Draw(q),this.Toolbar=new L.PM.Toolbar(q),this.Keyboard=rt,this.globalOptions={snappable:!0,layerGroup:void 0,snappingOrder:["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],panes:{vertexPane:"markerPane",layerPane:"overlayPane",markerPane:"markerPane"},draggable:!0},this.Keyboard._initKeyListener(q)},setLang:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",ne=arguments.length>1?arguments[1]:void 0,me=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",Be=L.PM.activeLang;ne&&(S[q]=s()(S[me],ne)),L.PM.activeLang=q,this.map.pm.Toolbar.reinit(),this._fireLangChange(Be,q,me,S[q])},addControls:function(q){this.Toolbar.addControls(q)},removeControls:function(){this.Toolbar.removeControls()},toggleControls:function(){this.Toolbar.toggleControls()},controlsVisible:function(){return this.Toolbar.isVisible},enableDraw:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Polygon",ne=arguments.length>1?arguments[1]:void 0;"Poly"===q&&(q="Polygon"),this.Draw.enable(q,ne)},disableDraw:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Polygon";"Poly"===q&&(q="Polygon"),this.Draw.disable(q)},setPathOptions:function(q){var ne=this,me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Be=me.ignoreShapes||[],et=me.merge||!1;this.map.pm.Draw.shapes.forEach(function(It){-1===Be.indexOf(It)&&ne.map.pm.Draw[It].setPathOptions(q,et)})},getGlobalOptions:function(){return this.globalOptions},setGlobalOptions:function(q){var ne=this,me=s()(this.globalOptions,q),Be=!1;this.map.pm.Draw.CircleMarker.enabled()&&!!this.map.pm.Draw.CircleMarker.options.editable!=!!me.editable&&(this.map.pm.Draw.CircleMarker.disable(),Be=!0),this.map.pm.Draw.shapes.forEach(function(et){ne.map.pm.Draw[et].setOptions(me)}),Be&&this.map.pm.Draw.CircleMarker.enable(),L.PM.Utils.findLayers(this.map).forEach(function(et){et.pm.setOptions(me)}),this.map.fire("pm:globaloptionschanged"),this.globalOptions=me,this.applyGlobalOptions()},applyGlobalOptions:function(){L.PM.Utils.findLayers(this.map).forEach(function(q){q.pm.enabled()&&q.pm.applyOptions()})},globalDrawModeEnabled:function(){return!!this.Draw.getActiveShape()},globalCutModeEnabled:function(){return!!this.Draw.Cut.enabled()},enableGlobalCutMode:function(q){return this.Draw.Cut.enable(q)},toggleGlobalCutMode:function(q){return this.Draw.Cut.toggle(q)},disableGlobalCutMode:function(){return this.Draw.Cut.disable()},getGeomanLayers:function(){var q=arguments.length>0&&void 0!==arguments[0]&&arguments[0],ne=L.PM.Utils.findLayers(this.map);if(!q)return ne;var me=L.featureGroup();return me._pmTempLayer=!0,ne.forEach(function(Be){me.addLayer(Be)}),me},getGeomanDrawLayers:function(){var q=arguments.length>0&&void 0!==arguments[0]&&arguments[0],ne=L.PM.Utils.findLayers(this.map).filter(function(Be){return!0===Be._drawnByGeoman});if(!q)return ne;var me=L.featureGroup();return me._pmTempLayer=!0,ne.forEach(function(Be){me.addLayer(Be)}),me},_getContainingLayer:function(){return this.globalOptions.layerGroup&&this.globalOptions.layerGroup instanceof L.LayerGroup?this.globalOptions.layerGroup:this.map},_isCRSSimple:function(){return this.map.options.crs===L.CRS.Simple},_touchEventCounter:0,_addTouchEvents:function(q){0===this._touchEventCounter&&(L.DomEvent.on(q,"touchmove",this._canvasTouchMove,this),L.DomEvent.on(q,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter+=1},_removeTouchEvents:function(q){1===this._touchEventCounter&&(L.DomEvent.off(q,"touchmove",this._canvasTouchMove,this),L.DomEvent.off(q,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter=this._touchEventCounter<=1?0:this._touchEventCounter-1},_canvasTouchMove:function(q){yn(this.map)._onMouseMove(this._createMouseEvent("mousemove",q))},_canvasTouchClick:function(q){var ne="";"touchstart"===q.type||"pointerdown"===q.type?ne="mousedown":"touchend"===q.type||"pointerup"===q.type?ne="mouseup":"touchcancel"!==q.type&&"pointercancel"!==q.type||(ne="mouseup"),ne&&yn(this.map)._onClick(this._createMouseEvent(ne,q))},_createMouseEvent:function(q,ne){var me,Be=ne.touches[0]||ne.changedTouches[0];try{me=new MouseEvent(q,{bubbles:ne.bubbles,cancelable:ne.cancelable,view:ne.view,detail:Be.detail,screenX:Be.screenX,screenY:Be.screenY,clientX:Be.clientX,clientY:Be.clientY,ctrlKey:ne.ctrlKey,altKey:ne.altKey,shiftKey:ne.shiftKey,metaKey:ne.metaKey,button:ne.button,relatedTarget:ne.relatedTarget})}catch(et){(me=document.createEvent("MouseEvents")).initMouseEvent(q,ne.bubbles,ne.cancelable,ne.view,Be.detail,Be.screenX,Be.screenY,Be.clientX,Be.clientY,ne.ctrlKey,ne.altKey,ne.shiftKey,ne.metaKey,ne.button,ne.relatedTarget)}return me}}),oi=L.Control.extend({includes:[qe],options:{position:"topleft",disableByOtherButtons:!0},initialize:function(q){this._button=L.Util.extend({},this.options,q)},onAdd:function(q){return this._map=q,this._map.pm.Toolbar.options.oneBlock?this._container=this._map.pm.Toolbar._createContainer(this.options.position):"edit"===this._button.tool?this._container=this._map.pm.Toolbar.editContainer:"options"===this._button.tool?this._container=this._map.pm.Toolbar.optionsContainer:"custom"===this._button.tool?this._container=this._map.pm.Toolbar.customContainer:this._container=this._map.pm.Toolbar.drawContainer,this.buttonsDomNode=this._makeButton(this._button),this._container.appendChild(this.buttonsDomNode),this._container},onRemove:function(){return this.buttonsDomNode.remove(),this._container},getText:function(){return this._button.text},getIconUrl:function(){return this._button.iconUrl},destroy:function(){this._button={},this._update()},toggle:function(q){return this._button.toggleStatus="boolean"==typeof q?q:!this._button.toggleStatus,this._applyStyleClasses(),this._button.toggleStatus},toggled:function(){return this._button.toggleStatus},onCreate:function(){this.toggle(!1)},disable:function(){this.toggle(!1),this._button.disabled=!0,this._updateDisabled()},enable:function(){this._button.disabled=!1,this._updateDisabled()},_triggerClick:function(q){q&&q.preventDefault(),this._button.disabled||(this._button.onClick(q,{button:this,event:q}),this._clicked(q),this._button.afterClick(q,{button:this,event:q}))},_makeButton:function(q){var ne=this,me=this.options.position.indexOf("right")>-1?"pos-right":"",Be=L.DomUtil.create("div","button-container  ".concat(me),this._container);q.title&&Be.setAttribute("title",q.title);var et=L.DomUtil.create("a","leaflet-buttons-control-button",Be);et.setAttribute("role","button"),et.setAttribute("tabindex","0"),et.href="#";var It=L.DomUtil.create("div","leaflet-pm-actions-container ".concat(me),Be),Ut=q.actions,Wt={cancel:{text:fn("actions.cancel"),onClick:function(){this._triggerClick()}},finishMode:{text:fn("actions.finish"),onClick:function(){this._triggerClick()}},removeLastVertex:{text:fn("actions.removeLastVertex"),onClick:function(){this._map.pm.Draw[q.jsClass]._removeLastVertex()}},finish:{text:fn("actions.finish"),onClick:function(Et){this._map.pm.Draw[q.jsClass]._finishShape(Et)}}};Ut.forEach(function(Et){var Dn,Ln="string"==typeof Et?Et:Et.name;if(Wt[Ln])Dn=Wt[Ln];else{if(!Et.text)return;Dn=Et}var An=L.DomUtil.create("a","leaflet-pm-action ".concat(me," action-").concat(Ln),It);An.setAttribute("role","button"),An.setAttribute("tabindex","0"),An.href="#",An.innerHTML=Dn.text,L.DomEvent.disableClickPropagation(An),L.DomEvent.on(An,"click",L.DomEvent.stop),!q.disabled&&Dn.onClick&&(L.DomEvent.addListener(An,"click",function(Qn){Qn.preventDefault();var ui="",Ui=ne._map.pm.Toolbar.buttons;for(var hr in Ui)if(Ui[hr]._button===q){ui=hr;break}ne._fireActionClick(Dn,ui,q)},ne),L.DomEvent.addListener(An,"click",Dn.onClick,ne))}),q.toggleStatus&&L.DomUtil.addClass(Be,"active");var Pt=L.DomUtil.create("div","control-icon",et);return q.iconUrl&&Pt.setAttribute("src",q.iconUrl),q.className&&L.DomUtil.addClass(Pt,q.className),L.DomEvent.disableClickPropagation(et),L.DomEvent.on(et,"click",L.DomEvent.stop),q.disabled||(L.DomEvent.addListener(et,"click",this._onBtnClick,this),L.DomEvent.addListener(et,"click",this._triggerClick,this)),q.disabled&&(L.DomUtil.addClass(et,"pm-disabled"),et.setAttribute("aria-disabled","true")),Be},_applyStyleClasses:function(){this._container&&(this._button.toggleStatus&&!1!==this._button.cssToggle?(L.DomUtil.addClass(this.buttonsDomNode,"active"),L.DomUtil.addClass(this._container,"activeChild")):(L.DomUtil.removeClass(this.buttonsDomNode,"active"),L.DomUtil.removeClass(this._container,"activeChild")))},_onBtnClick:function(){this._button.disableOtherButtons&&this._map.pm.Toolbar.triggerClickOnToggledButtons(this);var q="",ne=this._map.pm.Toolbar.buttons;for(var me in ne)if(ne[me]._button===this._button){q=me;break}this._fireButtonClick(q,this._button)},_clicked:function(){this._button.doToggle&&this.toggle()},_updateDisabled:function(){if(this._container){var q="pm-disabled",ne=this.buttonsDomNode.children[0];this._button.disabled?(L.DomUtil.addClass(ne,q),ne.setAttribute("aria-disabled","true"),L.DomEvent.off(ne,"click",this._triggerClick,this),L.DomEvent.off(ne,"click",this._onBtnClick,this)):(L.DomUtil.removeClass(ne,q),ne.setAttribute("aria-disabled","false"),L.DomEvent.on(ne,"click",this._triggerClick,this),L.DomEvent.on(ne,"click",this._onBtnClick,this))}}});function Yn(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function Xn(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?Yn(Object(me),!0).forEach(function(Be){gi(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):Yn(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function gi(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}function Mt(q){return(Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ne){return typeof ne}:function(ne){return ne&&"function"==typeof Symbol&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne})(q)}L.Control.PMButton=oi;const pn=L.Class.extend({options:{drawMarker:!0,drawRectangle:!0,drawPolyline:!0,drawPolygon:!0,drawCircle:!0,drawCircleMarker:!0,drawText:!0,editMode:!0,dragMode:!0,cutPolygon:!0,removalMode:!0,rotateMode:!0,snappingOption:!0,drawControls:!0,editControls:!0,optionsControls:!0,customControls:!0,oneBlock:!1,position:"topleft",positions:{draw:"",edit:"",options:"",custom:""}},customButtons:[],initialize:function(q){this.init(q)},reinit:function(){var q=this.isVisible;this.removeControls(),this._defineButtons(),q&&this.addControls()},init:function(q){this.map=q,this.buttons={},this.isVisible=!1,this.drawContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-draw leaflet-bar leaflet-control"),this.editContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-edit leaflet-bar leaflet-control"),this.optionsContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-options leaflet-bar leaflet-control"),this.customContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-custom leaflet-bar leaflet-control"),this._defineButtons()},_createContainer:function(q){var ne="".concat(q,"Container");return this[ne]||(this[ne]=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-".concat(q," leaflet-bar leaflet-control"))),this[ne]},getButtons:function(){return this.buttons},addControls:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options;void 0!==q.editPolygon&&(q.editMode=q.editPolygon),void 0!==q.deleteLayer&&(q.removalMode=q.deleteLayer),L.Util.setOptions(this,q),this.applyIconStyle(),this.isVisible=!0,this._showHideButtons()},applyIconStyle:function(){var q=this.getButtons(),ne={geomanIcons:{drawMarker:"control-icon leaflet-pm-icon-marker",drawPolyline:"control-icon leaflet-pm-icon-polyline",drawRectangle:"control-icon leaflet-pm-icon-rectangle",drawPolygon:"control-icon leaflet-pm-icon-polygon",drawCircle:"control-icon leaflet-pm-icon-circle",drawCircleMarker:"control-icon leaflet-pm-icon-circle-marker",editMode:"control-icon leaflet-pm-icon-edit",dragMode:"control-icon leaflet-pm-icon-drag",cutPolygon:"control-icon leaflet-pm-icon-cut",removalMode:"control-icon leaflet-pm-icon-delete",drawText:"control-icon leaflet-pm-icon-text"}};for(var me in q){var Be=q[me];L.Util.setOptions(Be,{className:ne.geomanIcons[me]})}},removeControls:function(){var q=this.getButtons();for(var ne in q)q[ne].remove();this.isVisible=!1},toggleControls:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options;this.isVisible?this.removeControls():this.addControls(q)},_addButton:function(q,ne){return this.buttons[q]=ne,this.options[q]=this.options[q]||!1,this.buttons[q]},triggerClickOnToggledButtons:function(q){for(var ne in this.buttons){var me=this.buttons[ne];me._button.disableByOtherButtons&&me!==q&&me.toggled()&&me._triggerClick()}},toggleButton:function(q,ne){var me=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return"editPolygon"===q&&(q="editMode"),"deleteLayer"===q&&(q="removalMode"),me&&this.triggerClickOnToggledButtons(this.buttons[q]),!!this.buttons[q]&&this.buttons[q].toggle(ne)},_defineButtons:function(){var q=this,ne={className:"control-icon leaflet-pm-icon-marker",title:fn("buttonTitles.drawMarkerButton"),jsClass:"Marker",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},me={title:fn("buttonTitles.drawPolyButton"),className:"control-icon leaflet-pm-icon-polygon",jsClass:"Polygon",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},Be={className:"control-icon leaflet-pm-icon-polyline",title:fn("buttonTitles.drawLineButton"),jsClass:"Line",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},et={title:fn("buttonTitles.drawCircleButton"),className:"control-icon leaflet-pm-icon-circle",jsClass:"Circle",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},It={title:fn("buttonTitles.drawCircleMarkerButton"),className:"control-icon leaflet-pm-icon-circle-marker",jsClass:"CircleMarker",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},Ut={title:fn("buttonTitles.drawRectButton"),className:"control-icon leaflet-pm-icon-rectangle",jsClass:"Rectangle",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},Wt={title:fn("buttonTitles.editButton"),className:"control-icon leaflet-pm-icon-edit",onClick:function(){},afterClick:function(){q.map.pm.toggleGlobalEditMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},Pt={title:fn("buttonTitles.dragButton"),className:"control-icon leaflet-pm-icon-drag",onClick:function(){},afterClick:function(){q.map.pm.toggleGlobalDragMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},Et={title:fn("buttonTitles.cutButton"),className:"control-icon leaflet-pm-icon-cut",jsClass:"Cut",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle({snappable:!0,cursorMarker:!0,allowSelfIntersection:!1})},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finish","removeLastVertex","cancel"]},Dn={title:fn("buttonTitles.deleteButton"),className:"control-icon leaflet-pm-icon-delete",onClick:function(){},afterClick:function(){q.map.pm.toggleGlobalRemovalMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},Ln={title:fn("buttonTitles.rotateButton"),className:"control-icon leaflet-pm-icon-rotate",onClick:function(){},afterClick:function(){q.map.pm.toggleGlobalRotateMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},An={className:"control-icon leaflet-pm-icon-text",title:fn("buttonTitles.drawTextButton"),jsClass:"Text",onClick:function(){},afterClick:function(Qn,ui){q.map.pm.Draw[ui.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]};this._addButton("drawMarker",new L.Control.PMButton(ne)),this._addButton("drawPolyline",new L.Control.PMButton(Be)),this._addButton("drawRectangle",new L.Control.PMButton(Ut)),this._addButton("drawPolygon",new L.Control.PMButton(me)),this._addButton("drawCircle",new L.Control.PMButton(et)),this._addButton("drawCircleMarker",new L.Control.PMButton(It)),this._addButton("drawText",new L.Control.PMButton(An)),this._addButton("editMode",new L.Control.PMButton(Wt)),this._addButton("dragMode",new L.Control.PMButton(Pt)),this._addButton("cutPolygon",new L.Control.PMButton(Et)),this._addButton("removalMode",new L.Control.PMButton(Dn)),this._addButton("rotateMode",new L.Control.PMButton(Ln))},_showHideButtons:function(){if(this.isVisible){this.removeControls(),this.isVisible=!0;var q=this.getButtons(),ne=[];for(var me in!1===this.options.drawControls&&(ne=ne.concat(Object.keys(q).filter(function(et){return!q[et]._button.tool}))),!1===this.options.editControls&&(ne=ne.concat(Object.keys(q).filter(function(et){return"edit"===q[et]._button.tool}))),!1===this.options.optionsControls&&(ne=ne.concat(Object.keys(q).filter(function(et){return"options"===q[et]._button.tool}))),!1===this.options.customControls&&(ne=ne.concat(Object.keys(q).filter(function(et){return"custom"===q[et]._button.tool}))),q)if(this.options[me]&&-1===ne.indexOf(me)){var Be=q[me]._button.tool;Be||(Be="draw"),q[me].setPosition(this._getBtnPosition(Be)),q[me].addTo(this.map)}}},_getBtnPosition:function(q){return this.options.positions&&this.options.positions[q]?this.options.positions[q]:this.options.position},setBlockPosition:function(q,ne){this.options.positions[q]=ne,this._showHideButtons(),this.changeControlOrder()},getBlockPositions:function(){return this.options.positions},copyDrawControl:function(q,ne){if(!ne)throw new TypeError("Button has no name");"object"!==Mt(ne)&&(ne={name:ne});var me=this._btnNameMapping(q);if(!ne.name)throw new TypeError("Button has no name");if(this.buttons[ne.name])throw new TypeError("Button with this name already exists");var Be=this.map.pm.Draw.createNewDrawInstance(ne.name,me);return ne=Xn(Xn({},this.buttons[me]._button),ne),{drawInstance:Be,control:this.createCustomControl(ne)}},createCustomControl:function(q){var ne,me;if(!q.name)throw new TypeError("Button has no name");if(this.buttons[q.name])throw new TypeError("Button with this name already exists");q.onClick||(q.onClick=function(){}),q.afterClick||(q.afterClick=function(){}),!1!==q.toggle&&(q.toggle=!0),q.block&&(q.block=q.block.toLowerCase()),q.block&&"draw"!==q.block||(q.block=""),q.className?-1===q.className.indexOf("control-icon")&&(q.className="control-icon ".concat(q.className)):q.className="control-icon";var Be={tool:q.block,className:q.className,title:q.title||"",jsClass:q.name,onClick:q.onClick,afterClick:q.afterClick,doToggle:q.toggle,toggleStatus:!1,disableOtherButtons:null===(ne=q.disableOtherButtons)||void 0===ne||ne,disableByOtherButtons:null===(me=q.disableByOtherButtons)||void 0===me||me,cssToggle:q.toggle,position:this.options.position,actions:q.actions||[],disabled:!!q.disabled};!1!==this.options[q.name]&&(this.options[q.name]=!0);var et=this._addButton(q.name,new L.Control.PMButton(Be));return this.changeControlOrder(),et},changeControlOrder:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],ne=this._shapeMapping(),me=[];q.forEach(function(Et){ne[Et]?me.push(ne[Et]):me.push(Et)});var Be=this.getButtons(),et={};me.forEach(function(Et){Be[Et]&&(et[Et]=Be[Et])});var It=Object.keys(Be).filter(function(Et){return!Be[Et]._button.tool});It.forEach(function(Et){-1===me.indexOf(Et)&&(et[Et]=Be[Et])});var Ut=Object.keys(Be).filter(function(Et){return"edit"===Be[Et]._button.tool});Ut.forEach(function(Et){-1===me.indexOf(Et)&&(et[Et]=Be[Et])});var Wt=Object.keys(Be).filter(function(Et){return"options"===Be[Et]._button.tool});Wt.forEach(function(Et){-1===me.indexOf(Et)&&(et[Et]=Be[Et])});var Pt=Object.keys(Be).filter(function(Et){return"custom"===Be[Et]._button.tool});Pt.forEach(function(Et){-1===me.indexOf(Et)&&(et[Et]=Be[Et])}),Object.keys(Be).forEach(function(Et){-1===me.indexOf(Et)&&(et[Et]=Be[Et])}),this.map.pm.Toolbar.buttons=et,this._showHideButtons()},getControlOrder:function(){var q=this.getButtons(),ne=[];for(var me in q)ne.push(me);return ne},changeActionsOfControl:function(q,ne){var me=this._btnNameMapping(q);if(!me)throw new TypeError("No name passed");if(!ne)throw new TypeError("No actions passed");if(!this.buttons[me])throw new TypeError("Button with this name not exists");this.buttons[me]._button.actions=ne,this.changeControlOrder()},setButtonDisabled:function(q,ne){var me=this._btnNameMapping(q);ne?this.buttons[me].disable():this.buttons[me].enable()},_shapeMapping:function(){return{Marker:"drawMarker",Circle:"drawCircle",Polygon:"drawPolygon",Rectangle:"drawRectangle",Polyline:"drawPolyline",Line:"drawPolyline",CircleMarker:"drawCircleMarker",Edit:"editMode",Drag:"dragMode",Cut:"cutPolygon",Removal:"removalMode",Rotate:"rotateMode",Text:"drawText"}},_btnNameMapping:function(q){var ne=this._shapeMapping();return ne[q]?ne[q]:q}});function an(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function yt(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?an(Object(me),!0).forEach(function(Be){Je(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):an(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function Je(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}const xt={_initSnappableMarkers:function(){this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=void 0===this.options.snapSegment||this.options.snapSegment,this._assignEvents(this._markers),this._layer.off("pm:dragstart",this._unsnap,this),this._layer.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){this._layer.off("pm:dragstart",this._unsnap,this)},_assignEvents:function(q){var ne=this;q.forEach(function(me){Array.isArray(me)?ne._assignEvents(me):(me.off("drag",ne._handleSnapping,ne),me.on("drag",ne._handleSnapping,ne),me.off("dragend",ne._cleanupSnapping,ne),me.on("dragend",ne._cleanupSnapping,ne))})},_cleanupSnapping:function(q){q&&(q.target._snapped=!1),delete this._snapList,this.throttledList&&(this._map.off("layeradd",this.throttledList,this),this.throttledList=void 0),this._map.off("pm:remove",this._handleSnapLayerRemoval,this),this.debugIndicatorLines&&this.debugIndicatorLines.forEach(function(ne){ne.remove()})},_handleThrottleSnapping:function(){this.throttledList&&this._createSnapList()},_handleSnapping:function(q){var me=q.target;if(me._snapped=!1,this.throttledList||(this.throttledList=L.Util.throttle(this._handleThrottleSnapping,100,this)),this._map.pm.Keyboard.isAltKeyPressed()||(void 0===this._snapList&&(this._createSnapList(),this._map.off("layeradd",this.throttledList,this),this._map.on("layeradd",this.throttledList,this)),this._snapList.length<=0))return!1;var et,Be=this._calcClosestLayer(me.getLatLng(),this._snapList);if(0===Object.keys(Be).length)return!1;et=Be.layer instanceof L.Marker||Be.layer instanceof L.CircleMarker||!this.options.snapSegment?Be.latlng:this._checkPrioritiySnapping(Be);var Ut=this.options.snapDistance,Wt={marker:me,shape:this._shape,snapLatLng:et,segment:Be.segment,layer:this._layer,workingLayer:this._layer,layerInteractedWith:Be.layer,distance:Be.distance};if(this._fireSnapDrag(Wt.marker,Wt),this._fireSnapDrag(this._layer,Wt),Be.distance<Ut){me._orgLatLng=me.getLatLng(),me.setLatLng(et),me._snapped=!0,me._snapInfo=Wt;var Pt=this._snapLatLng||{},Et=et||{};Pt.lat===Et.lat&&Pt.lng===Et.lng||(this._snapLatLng=et,this._fireSnap(me,Wt),this._fireSnap(this._layer,Wt))}else this._snapLatLng&&(this._unsnap(Wt),me._snapped=!1,me._snapInfo=void 0,this._fireUnsnap(Wt.marker,Wt),this._fireUnsnap(this._layer,Wt));return!0},_createSnapList:function(){var q=this,ne=[],me=[],Be=this._map;Be.off("pm:remove",this._handleSnapLayerRemoval,this),Be.on("pm:remove",this._handleSnapLayerRemoval,this),Be.eachLayer(function(et){if((et instanceof L.Polyline||et instanceof L.Marker||et instanceof L.CircleMarker||et instanceof L.ImageOverlay)&&!0!==et.options.snapIgnore){if(void 0===et.options.snapIgnore&&(!L.PM.optIn&&!0===et.options.pmIgnore||L.PM.optIn&&!1!==et.options.pmIgnore))return;(et instanceof L.Circle||et instanceof L.CircleMarker)&&et.pm&&et.pm._hiddenPolyCircle?ne.push(et.pm._hiddenPolyCircle):et instanceof L.ImageOverlay&&(et=L.rectangle(et.getBounds())),ne.push(et);var It=L.polyline([],{color:"red",pmIgnore:!0});It._pmTempLayer=!0,me.push(It),(et instanceof L.Circle||et instanceof L.CircleMarker)&&me.push(It)}}),ne=(ne=(ne=ne.filter(function(et){return q._layer!==et})).filter(function(et){return et._latlng||et._latlngs&&_n(et._latlngs)})).filter(function(et){return!et._pmTempLayer}),this._otherSnapLayers?(this._otherSnapLayers.forEach(function(){var et=L.polyline([],{color:"red",pmIgnore:!0});et._pmTempLayer=!0,me.push(et)}),this._snapList=ne.concat(this._otherSnapLayers)):this._snapList=ne,this.debugIndicatorLines=me},_handleSnapLayerRemoval:function(q){var ne=q.layer,me=this._snapList.findIndex(function(Be){return Be._leaflet_id===ne._leaflet_id});this._snapList.splice(me,1)},_calcClosestLayer:function(q,ne){return this._calcClosestLayers(q,ne,1)[0]},_calcClosestLayers:function(q,ne){var me=this,Be=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,et=[],It={};ne.forEach(function(Wt,Pt){if(!Wt._parentCopy||Wt._parentCopy!==me._layer){var Et=me._calcLayerDistances(q,Wt);if(Et.distance=Math.floor(Et.distance),me.debugIndicatorLines){if(!me.debugIndicatorLines[Pt]){var Dn=L.polyline([],{color:"red",pmIgnore:!0});Dn._pmTempLayer=!0,me.debugIndicatorLines[Pt]=Dn}me.debugIndicatorLines[Pt].setLatLngs([q,Et.latlng])}1===Be&&(void 0===It.distance||Et.distance<=It.distance)?(Et.distance<It.distance&&(et=[]),(It=Et).layer=Wt,et.push(It)):1!==Be&&(It={},(It=Et).layer=Wt,et.push(It))}}),1!==Be&&(et=et.sort(function(Wt,Pt){return Wt.distance-Pt.distance})),-1===Be&&(Be=et.length);var Ut=this._getClosestLayerByPriority(et,Be);return L.Util.isArray(Ut)?Ut:[Ut]},_calcLayerDistances:function(q,ne){var me=this._map,Be=ne instanceof L.Marker||ne instanceof L.CircleMarker,et=ne instanceof L.Polygon,It=q;if(Be){var Ut=ne.getLatLng();return{latlng:yt({},Ut),distance:this._getDistance(me,Ut,It)}}return this._calcLatLngDistances(It,ne.getLatLngs(),me,et)},_calcLatLngDistances:function(q,ne,me){var Be,et,It,Ut=this,Wt=arguments.length>3&&void 0!==arguments[3]&&arguments[3],Pt=function Dn(Ln){Ln.forEach(function(An,Qn){if(Array.isArray(An))Dn(An);else if(Ut.options.snapSegment){var ui,Ui=An;ui=Wt?Qn+1===Ln.length?0:Qn+1:Qn+1===Ln.length?void 0:Qn+1;var hr=Ln[ui];if(hr){var kr=Ut._getDistanceToSegment(me,q,Ui,hr);(void 0===et||kr<et)&&(et=kr,It=[Ui,hr])}}else{var Ri=Ut._getDistance(me,q,An);(void 0===et||Ri<et)&&(et=Ri,Be=An)}})};if(Pt(ne),this.options.snapSegment){var Et=this._getClosestPointOnSegment(me,q,It[0],It[1]);return{latlng:yt({},Et),segment:It,distance:et}}return{latlng:Be,distance:et}},_getClosestLayerByPriority:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;q=q.sort(function(Ut,Wt){return Ut._leaflet_id-Wt._leaflet_id});var me=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],Be=this._map.pm.globalOptions.snappingOrder||[],et=0,It={};return Be.concat(me).forEach(function(Ut){It[Ut]||(et+=1,It[Ut]=et)}),q.sort(Sn("instanceofShape",It)),1===ne?q[0]||{}:q.slice(0,ne)},_checkPrioritiySnapping:function(q){var ne=this._map,me=q.segment[0],Be=q.segment[1],et=q.latlng,It=this._getDistance(ne,me,et),Ut=this._getDistance(ne,Be,et),Wt=It<Ut?me:Be,Pt=It<Ut?It:Ut;if(this.options.snapMiddle){var Et=L.PM.Utils.calcMiddleLatLng(ne,me,Be),Dn=this._getDistance(ne,Et,et);Dn<It&&Dn<Ut&&(Wt=Et,Pt=Dn)}return yt({},Pt<this.options.snapDistance?Wt:et)},_unsnap:function(){delete this._snapLatLng},_getClosestPointOnSegment:function(q,ne,me,Be){var et=q.getMaxZoom();et===1/0&&(et=q.getZoom());var It=q.project(ne,et),Ut=q.project(me,et),Wt=q.project(Be,et),Pt=L.LineUtil.closestPointOnSegment(It,Ut,Wt);return q.unproject(Pt,et)},_getDistanceToSegment:function(q,ne,me,Be){var et=q.latLngToLayerPoint(ne),It=q.latLngToLayerPoint(me),Ut=q.latLngToLayerPoint(Be);return L.LineUtil.pointToSegmentDistance(et,It,Ut)},_getDistance:function(q,ne,me){return q.latLngToLayerPoint(ne).distanceTo(q.latLngToLayerPoint(me))}},Ht=L.Class.extend({includes:[xt,qe],options:{snappable:!0,snapDistance:20,snapMiddle:!1,allowSelfIntersection:!0,tooltips:!0,templineStyle:{},hintlineStyle:{color:"#3388ff",dashArray:"5,5"},pathOptions:null,cursorMarker:!0,finishOn:null,markerStyle:{draggable:!0,icon:L.icon()},hideMiddleMarkers:!1,minRadiusCircle:null,maxRadiusCircle:null,minRadiusCircleMarker:null,maxRadiusCircleMarker:null,editable:!1,markerEditable:!0,continueDrawing:!1,snapSegment:!0,requireSnapToFinish:!1},setOptions:function(q){L.Util.setOptions(this,q),this.setStyle(this.options)},setStyle:function(){},getOptions:function(){return this.options},initialize:function(q){var ne=this,me=new L.Icon.Default;me.options.tooltipAnchor=[0,0],this.options.markerStyle.icon=me,this._map=q,this.shapes=["Marker","CircleMarker","Line","Polygon","Rectangle","Circle","Cut","Text"],this.shapes.forEach(function(Be){ne[Be]=new L.PM.Draw[Be](ne._map)}),this.Marker.setOptions({continueDrawing:!0}),this.CircleMarker.setOptions({continueDrawing:!0})},setPathOptions:function(q){var ne=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.options.pathOptions=ne?s()(this.options.pathOptions,q):q},getShapes:function(){return this.shapes},getShape:function(){return this._shape},enable:function(q,ne){if(!q)throw new Error("Error: Please pass a shape as a parameter. Possible shapes are: ".concat(this.getShapes().join(",")));this.disable(),this[q].enable(ne)},disable:function(){var q=this;this.shapes.forEach(function(ne){q[ne].disable()})},addControls:function(){var q=this;this.shapes.forEach(function(ne){q[ne].addButton()})},getActiveShape:function(){var q,ne=this;return this.shapes.forEach(function(me){ne[me]._enabled&&(q=me)}),q},_setGlobalDrawMode:function(){"Cut"===this._shape?this._fireGlobalCutModeToggled():this._fireGlobalDrawModeToggled();var q=L.PM.Utils.findLayers(this._map);this._enabled?q.forEach(function(ne){L.PM.Utils.disablePopup(ne)}):q.forEach(function(ne){L.PM.Utils.enablePopup(ne)})},createNewDrawInstance:function(q,ne){var me=this._getShapeFromBtnName(ne);if(this[q])throw new TypeError("Draw Type already exists");if(!L.PM.Draw[me])throw new TypeError("There is no class L.PM.Draw.".concat(me));return this[q]=new L.PM.Draw[me](this._map),this[q].toolbarButtonName=q,this[q]._shape=q,this.shapes.push(q),this[ne]&&this[q].setOptions(this[ne].options),this[q].setOptions(this[q].options),this[q]},_getShapeFromBtnName:function(q){var ne={drawMarker:"Marker",drawCircle:"Circle",drawPolygon:"Polygon",drawPolyline:"Line",drawRectangle:"Rectangle",drawCircleMarker:"CircleMarker",editMode:"Edit",dragMode:"Drag",cutPolygon:"Cut",removalMode:"Removal",rotateMode:"Rotate",drawText:"Text"};return ne[q]?ne[q]:this[q]?this[q]._shape:q},_finishLayer:function(q){q.pm&&(q.pm.setOptions(this.options),q.pm._shape=this._shape,q.pm._map=this._map),this._addDrawnLayerProp(q)},_addDrawnLayerProp:function(q){q._drawnByGeoman=!0},_setPane:function(q,ne){"layerPane"===ne?q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":"vertexPane"===ne?q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":"markerPane"===ne&&(q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},_isFirstLayer:function(){return 0===(this._map||this._layer._map).pm.getGeomanLayers().length}});Ht.Marker=Ht.extend({initialize:function(q){this._map=q,this._shape="Marker",this.toolbarButtonName="drawMarker"},enable:function(q){var ne=this;L.Util.setOptions(this,q),this._enabled=!0,this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),this.options.markerStyle),this._setPane(this._hintMarker,"markerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.placeMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this.options.markerEditable&&this._map.eachLayer(function(me){ne.isRelevantMarker(me)&&me.pm.enable()}),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){var q=this;this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.off("mousemove",this._syncHintMarker,this),this._map.eachLayer(function(ne){q.isRelevantMarker(ne)&&ne.pm.disable()}),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(q){this.enabled()?this.disable():this.enable(q)},isRelevantMarker:function(q){return q instanceof L.Marker&&q.pm&&!q._pmTempLayer&&!q.pm._initTextMarker},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}this._fireChange(this._hintMarker.getLatLng(),"Draw")},_createMarker:function(q){if(q.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng(),me=new L.Marker(ne,this.options.markerStyle);this._setPane(me,"markerPane"),this._finishLayer(me),me.pm||(me.options.draggable=!1),me.addTo(this._map.pm._getContainingLayer()),me.pm&&this.options.markerEditable?me.pm.enable():me.dragging&&me.dragging.disable(),this._fireCreate(me),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},setStyle:function(){var q,ne;null!==(q=this.options.markerStyle)&&void 0!==q&&q.icon&&(null===(ne=this._hintMarker)||void 0===ne||ne.setIcon(this.options.markerStyle.icon))}});var $t=6371008.8,Jt={centimeters:637100880,centimetres:637100880,degrees:57.22891354143274,feet:20902260.511392,inches:39.37*$t,kilometers:6371.0088,kilometres:6371.0088,meters:$t,metres:$t,miles:3958.761333810546,millimeters:6371008800,millimetres:6371008800,nauticalmiles:$t/1852,radians:1,yards:6967335.223679999};function lt(q,ne,me){void 0===me&&(me={});var Be={type:"Feature"};return(0===me.id||me.id)&&(Be.id=me.id),me.bbox&&(Be.bbox=me.bbox),Be.properties=ne||{},Be.geometry=q,Be}function Ft(q,ne,me){if(void 0===me&&(me={}),!q)throw new Error("coordinates is required");if(!Array.isArray(q))throw new Error("coordinates must be an Array");if(q.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Ki(q[0])||!Ki(q[1]))throw new Error("coordinates must contain numbers");return lt({type:"Point",coordinates:q},ne,me)}function ln(q,ne,me){if(void 0===me&&(me={}),q.length<2)throw new Error("coordinates must be an array of two or more positions");return lt({type:"LineString",coordinates:q},ne,me)}function Jn(q,ne){void 0===ne&&(ne={});var me={type:"FeatureCollection"};return ne.id&&(me.id=ne.id),ne.bbox&&(me.bbox=ne.bbox),me.features=q,me}function Ai(q){return q%(2*Math.PI)*180/Math.PI}function ki(q){return q%360*Math.PI/180}function Ki(q){return!isNaN(q)&&null!==q&&!Array.isArray(q)}function Hi(q){var ne,me,Be={type:"FeatureCollection",features:[]};if("LineString"===(me="Feature"===q.type?q.geometry:q).type)ne=[me.coordinates];else if("MultiLineString"===me.type)ne=me.coordinates;else if("MultiPolygon"===me.type)ne=[].concat.apply([],me.coordinates);else{if("Polygon"!==me.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");ne=me.coordinates}return ne.forEach(function(et){ne.forEach(function(It){for(var Ut=0;Ut<et.length-1;Ut++)for(var Wt=Ut;Wt<It.length-1;Wt++)if(et!==It||1!==Math.abs(Ut-Wt)&&(0!==Ut||Wt!==et.length-2||et[Ut][0]!==et[et.length-1][0]||et[Ut][1]!==et[et.length-1][1])){var Pt=_i(et[Ut][0],et[Ut][1],et[Ut+1][0],et[Ut+1][1],It[Wt][0],It[Wt][1],It[Wt+1][0],It[Wt+1][1]);Pt&&Be.features.push(Ft([Pt[0],Pt[1]]))}})}),Be}function _i(q,ne,me,Be,et,It,Ut,Wt){var Pt,Et,Dn,Ln,An={x:null,y:null,onLine1:!1,onLine2:!1};return 0==(Pt=(Wt-It)*(me-q)-(Ut-et)*(Be-ne))?null!==An.x&&null!==An.y&&An:(Ln=(me-q)*(Et=ne-It)-(Be-ne)*(Dn=q-et),Et=((Ut-et)*Et-(Wt-It)*Dn)/Pt,Dn=Ln/Pt,An.x=q+Et*(me-q),An.y=ne+Et*(Be-ne),Et>=0&&Et<=1&&(An.onLine1=!0),Dn>=0&&Dn<=1&&(An.onLine2=!0),!(!An.onLine1||!An.onLine2)&&[An.x,An.y])}function pi(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function $n(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?pi(Object(me),!0).forEach(function(Be){wr(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):pi(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function wr(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}function Pn(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function Bn(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?Pn(Object(me),!0).forEach(function(Be){ri(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):Pn(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function ri(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}function mi(q,ne){var me=Object.keys(q);if(Object.getOwnPropertySymbols){var Be=Object.getOwnPropertySymbols(q);ne&&(Be=Be.filter(function(et){return Object.getOwnPropertyDescriptor(q,et).enumerable})),me.push.apply(me,Be)}return me}function xi(q){for(var ne=1;ne<arguments.length;ne++){var me=null!=arguments[ne]?arguments[ne]:{};ne%2?mi(Object(me),!0).forEach(function(Be){Mr(q,Be,me[Be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(me)):mi(Object(me)).forEach(function(Be){Object.defineProperty(q,Be,Object.getOwnPropertyDescriptor(me,Be))})}return q}function Mr(q,ne,me){return ne in q?Object.defineProperty(q,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):q[ne]=me,q}function gr(q){if(!q)throw new Error("coord is required");if(!Array.isArray(q)){if("Feature"===q.type&&null!==q.geometry&&"Point"===q.geometry.type)return q.geometry.coordinates;if("Point"===q.type)return q.coordinates}if(Array.isArray(q)&&q.length>=2&&!Array.isArray(q[0])&&!Array.isArray(q[1]))return q;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Li(q){if(Array.isArray(q))return q;if("Feature"===q.type){if(null!==q.geometry)return q.geometry.coordinates}else if(q.coordinates)return q.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Sr(q){return"Feature"===q.type?q.geometry:q}function br(q,ne){return"FeatureCollection"===q.type?"FeatureCollection":"GeometryCollection"===q.type?"GeometryCollection":"Feature"===q.type&&null!==q.geometry?q.geometry.type:q.type}function Xr(q,ne,me){if(null!==q)for(var Be,et,It,Ut,Wt,Pt,Et,Dn,Ln=0,An=0,Qn=q.type,ui="FeatureCollection"===Qn,Ui="Feature"===Qn,hr=ui?q.features.length:1,kr=0;kr<hr;kr++){Wt=(Dn=!!(Et=ui?q.features[kr].geometry:Ui?q.geometry:q)&&"GeometryCollection"===Et.type)?Et.geometries.length:1;for(var Ri=0;Ri<Wt;Ri++){var Yi=0,In=0;if(null!==(Ut=Dn?Et.geometries[Ri]:Et)){Pt=Ut.coordinates;var Pr=Ut.type;switch(Ln=!me||"Polygon"!==Pr&&"MultiPolygon"!==Pr?0:1,Pr){case null:break;case"Point":if(!1===ne(Pt,An,kr,Yi,In))return!1;An++,Yi++;break;case"LineString":case"MultiPoint":for(Be=0;Be<Pt.length;Be++){if(!1===ne(Pt[Be],An,kr,Yi,In))return!1;An++,"MultiPoint"===Pr&&Yi++}"LineString"===Pr&&Yi++;break;case"Polygon":case"MultiLineString":for(Be=0;Be<Pt.length;Be++){for(et=0;et<Pt[Be].length-Ln;et++){if(!1===ne(Pt[Be][et],An,kr,Yi,In))return!1;An++}"MultiLineString"===Pr&&Yi++,"Polygon"===Pr&&In++}"Polygon"===Pr&&Yi++;break;case"MultiPolygon":for(Be=0;Be<Pt.length;Be++){for(In=0,et=0;et<Pt[Be].length;et++){for(It=0;It<Pt[Be][et].length-Ln;It++){if(!1===ne(Pt[Be][et][It],An,kr,Yi,In))return!1;An++}In++}Yi++}break;case"GeometryCollection":for(Be=0;Be<Ut.geometries.length;Be++)if(!1===Xr(Ut.geometries[Be],ne,me))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function uo(q,ne){if("Feature"===q.type)ne(q,0);else if("FeatureCollection"===q.type)for(var me=0;me<q.features.length&&!1!==ne(q.features[me],me);me++);}function ai(q,ne){!function fa(q,ne){var me,Be,et,It,Ut,Wt,Pt,Et,Dn,Ln,An=0,Qn="FeatureCollection"===q.type,ui="Feature"===q.type,Ui=Qn?q.features.length:1;for(me=0;me<Ui;me++){for(Wt=Qn?q.features[me].geometry:ui?q.geometry:q,Et=Qn?q.features[me].properties:ui?q.properties:{},Dn=Qn?q.features[me].bbox:ui?q.bbox:void 0,Ln=Qn?q.features[me].id:ui?q.id:void 0,Ut=(Pt=!!Wt&&"GeometryCollection"===Wt.type)?Wt.geometries.length:1,et=0;et<Ut;et++)if(null!==(It=Pt?Wt.geometries[et]:Wt))switch(It.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===ne(It,An,Et,Dn,Ln))return!1;break;case"GeometryCollection":for(Be=0;Be<It.geometries.length;Be++)if(!1===ne(It.geometries[Be],An,Et,Dn,Ln))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===ne(null,An,Et,Dn,Ln))return!1;An++}}(q,function(me,Be,et,It,Ut){var Wt,Pt=null===me?null:me.type;switch(Pt){case null:case"Point":case"LineString":case"Polygon":return!1!==ne(lt(me,et,{bbox:It,id:Ut}),Be,0)&&void 0}switch(Pt){case"MultiPoint":Wt="Point";break;case"MultiLineString":Wt="LineString";break;case"MultiPolygon":Wt="Polygon"}for(var Et=0;Et<me.coordinates.length;Et++){var Dn=me.coordinates[Et];if(!1===ne(lt({type:Wt,coordinates:Dn},et),Be,Et))return!1}})}Ht.Line=Ht.extend({initialize:function(q){this._map=q,this._shape="Line",this.toolbarButtonName="drawPolyline",this._doesSelfIntersect=!1},enable:function(q){L.Util.setOptions(this,q),this._enabled=!0,this._markers=[],this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.polyline([],$n($n({},this.options.templineStyle),{},{pmIgnore:!1})),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._layerGroup.addLayer(this._layer),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._hintMarker=L.marker(this._map.getCenter(),{interactive:!1,zIndexOffset:100,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._map._container.style.cursor="crosshair",this._map.on("click",this._createVertex,this),this.options.finishOn&&"snap"!==this.options.finishOn&&this._map.on(this.options.finishOn,this._finishShape,this),"dblclick"===this.options.finishOn&&(this.tempMapDoubleClickZoomState=this._map.doubleClickZoom._enabled,this.tempMapDoubleClickZoomState&&this._map.doubleClickZoom.disable()),this._map.on("mousemove",this._syncHintMarker,this),this._hintMarker.on("move",this._syncHintLine,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map._container.style.cursor="",this._map.off("click",this._createVertex,this),this._map.off("mousemove",this._syncHintMarker,this),this.options.finishOn&&"snap"!==this.options.finishOn&&this._map.off(this.options.finishOn,this._finishShape,this),this.tempMapDoubleClickZoomState&&this._map.doubleClickZoom.enable(),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(q){this.enabled()?this.disable():this.enable(q)},_syncHintLine:function(){var q=this._layer.getLatLngs();if(q.length>0){var ne=q[q.length-1];this._hintline.setLatLngs([ne,this._hintMarker.getLatLng()])}},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}this.options.allowSelfIntersection||this._handleSelfIntersection(!0,this._hintMarker.getLatLng());var me=this._layer._defaultShape().slice();me.push(this._hintMarker.getLatLng()),this._change(me)},hasSelfIntersection:function(){return Hi(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersection:function(q,ne){var me=L.polyline(this._layer.getLatLngs());q&&(ne||(ne=this._hintMarker.getLatLng()),me.addLatLng(ne));var Be=Hi(me.toGeoJSON(15));this._doesSelfIntersect=Be.features.length>0,this._doesSelfIntersect?this._hintline.setStyle({color:"#f00000ff"}):this._hintline.isEmpty()||this._hintline.setStyle(this.options.hintlineStyle)},_createVertex:function(q){if(this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,q.latlng),!this._doesSelfIntersect)){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng(),me=this._layer.getLatLngs(),Be=me[me.length-1];if(ne.equals(me[0])||me.length>0&&ne.equals(Be))this._finishShape();else{this._layer._latlngInfo=this._layer._latlngInfo||[],this._layer._latlngInfo.push({latlng:ne,snapInfo:this._hintMarker._snapInfo}),this._layer.addLatLng(ne);var et=this._createMarker(ne);this._setTooltipText(),this._setHintLineAfterNewVertex(ne),this._fireVertexAdded(et,void 0,ne,"Draw"),this._change(this._layer.getLatLngs()),"snap"===this.options.finishOn&&this._hintMarker._snapped&&this._finishShape(q)}}},_setHintLineAfterNewVertex:function(q){this._hintline.setLatLngs([q,q])},_removeLastVertex:function(){var q=this._markers;if(q.length<=1)this.disable();else{var ne=this._layer.getLatLngs(),me=q[q.length-1],Be=L.PM.Utils.findDeepMarkerIndex(q,me).indexPath;q.pop(),this._layerGroup.removeLayer(me);var et=q[q.length-1],It=ne.indexOf(et.getLatLng());ne=ne.slice(0,It+1),this._layer.setLatLngs(ne),this._layer._latlngInfo.pop(),this._syncHintLine(),this._setTooltipText(),this._fireVertexRemoved(me,Be,"Draw"),this._change(this._layer.getLatLngs())}},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!1),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var q=this._layer.getLatLngs();if(!(q.length<=1)){var ne=L.polyline(q,this.options.pathOptions);this._setPane(ne,"layerPane"),this._finishLayer(ne),ne.addTo(this._map.pm._getContainingLayer()),this._fireCreate(ne),this.options.snappable&&this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}}},_createMarker:function(q){var ne=new L.Marker(q,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(ne,"vertexPane"),ne._pmTempLayer=!0,this._layerGroup.addLayer(ne),this._markers.push(ne),ne.on("click",this._finishShape,this),ne},_setTooltipText:function(){var q;q=fn(this._layer.getLatLngs().flat().length<=1?"tooltips.continueLine":"tooltips.finishLine"),this._hintMarker.setTooltipContent(q)},_change:function(q){this._fireChange(q,"Draw")},setStyle:function(){var q,ne;null===(q=this._layer)||void 0===q||q.setStyle(this.options.templineStyle),null===(ne=this._hintline)||void 0===ne||ne.setStyle(this.options.hintlineStyle)}}),Ht.Polygon=Ht.Line.extend({initialize:function(q){this._map=q,this._shape="Polygon",this.toolbarButtonName="drawPolygon"},enable:function(q){L.PM.Draw.Line.prototype.enable.call(this,q),this._layer.pm._shape="Polygon"},_createMarker:function(q){var ne=new L.Marker(q,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(ne,"vertexPane"),ne._pmTempLayer=!0,this._layerGroup.addLayer(ne),this._markers.push(ne),1===this._layer.getLatLngs().flat().length?(ne.on("click",this._finishShape,this),this._tempSnapLayerIndex=this._otherSnapLayers.push(ne)-1,this.options.snappable&&this._cleanupSnapping()):ne.on("click",function(){return 1}),ne},_setTooltipText:function(){var q;q=fn(this._layer.getLatLngs().flat().length<=2?"tooltips.continueLine":"tooltips.finishPoly"),this._hintMarker.setTooltipContent(q)},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var q=this._layer.getLatLngs();if(!(q.length<=2)){var ne=L.polygon(q,this.options.pathOptions);this._setPane(ne,"layerPane"),this._finishLayer(ne),ne.addTo(this._map.pm._getContainingLayer()),this._fireCreate(ne),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this.disable(),this.options.continueDrawing&&this.enable()}}}}),Ht.Rectangle=Ht.extend({initialize:function(q){this._map=q,this._shape="Rectangle",this.toolbarButtonName="drawRectangle"},enable:function(q){if(L.Util.setOptions(this,q),this._enabled=!0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.rectangle([[0,0],[0,0]],this.options.pathOptions),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._startMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-start-marker"}),draggable:!1,zIndexOffset:-100,opacity:this.options.cursorMarker?1:0}),this._setPane(this._startMarker,"vertexPane"),this._startMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._startMarker),this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:150,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this.options.cursorMarker){this._styleMarkers=[];for(var ne=0;ne<2;ne+=1){var me=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-style-marker"}),draggable:!1,zIndexOffset:100});this._setPane(me,"vertexPane"),me._pmTempLayer=!0,this._layerGroup.addLayer(me),this._styleMarkers.push(me)}}this._map._container.style.cursor="crosshair",this._map.on("click",this._placeStartingMarkers,this),this._map.on("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeStartingMarkers,this),this._map.off("mousemove",this._syncHintMarker,this),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(q){this.enabled()?this.disable():this.enable(q)},_placeStartingMarkers:function(q){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng();L.DomUtil.addClass(this._startMarker._icon,"visible"),this._startMarker.setLatLng(ne),this.options.cursorMarker&&this._styleMarkers&&this._styleMarkers.forEach(function(me){L.DomUtil.addClass(me._icon,"visible"),me.setLatLng(ne)}),this._map.off("click",this._placeStartingMarkers,this),this._map.on("click",this._finishShape,this),this._hintMarker.setTooltipContent(fn("tooltips.finishRect")),this._setRectangleOrigin()},_setRectangleOrigin:function(){var q=this._startMarker.getLatLng();q&&(this._layerGroup.addLayer(this._layer),this._layer.setLatLngs([q,q]),this._hintMarker.on("move",this._syncRectangleSize,this))},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}var me=this._layerGroup&&this._layerGroup.hasLayer(this._layer)?this._layer.getLatLngs():[this._hintMarker.getLatLng()];this._fireChange(me,"Draw")},_syncRectangleSize:function(){var q=this,ne=cn(this._startMarker.getLatLng(),this._map),me=cn(this._hintMarker.getLatLng(),this._map),Be=L.PM.Utils._getRotatedRectangle(ne,me,this.options.rectangleAngle||0,this._map);if(this._layer.setLatLngs(Be),this.options.cursorMarker&&this._styleMarkers){var et=[];Be.forEach(function(It){It.equals(ne,1e-8)||It.equals(me,1e-8)||et.push(It)}),et.forEach(function(It,Ut){try{q._styleMarkers[Ut].setLatLng(It)}catch(Wt){}})}},_findCorners:function(){var q=this._layer.getBounds();return[q.getNorthWest(),q.getNorthEast(),q.getSouthEast(),q.getSouthWest()]},_finishShape:function(q){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng(),me=this._startMarker.getLatLng();if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){var Be=L.rectangle([me,ne],this.options.pathOptions);if(this.options.rectangleAngle){var et=L.PM.Utils._getRotatedRectangle(me,ne,this.options.rectangleAngle||0,this._map);Be.setLatLngs(et),Be.pm&&Be.pm._setAngle(this.options.rectangleAngle||0)}this._setPane(Be,"layerPane"),this._finishLayer(Be),Be.addTo(this._map.pm._getContainingLayer()),this._fireCreate(Be),this.disable(),this.options.continueDrawing&&this.enable()}},setStyle:function(){var q;null===(q=this._layer)||void 0===q||q.setStyle(this.options.pathOptions)}}),Ht.Circle=Ht.extend({initialize:function(q){this._map=q,this._shape="Circle",this.toolbarButtonName="drawCircle"},enable:function(q){L.Util.setOptions(this,q),this.options.radius=0,this._enabled=!0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.circle(this._map.getCenter(),Bn(Bn({},this.options.templineStyle),{},{radius:0})),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._centerMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon"}),draggable:!1,zIndexOffset:100}),this._setPane(this._centerMarker,"vertexPane"),this._centerMarker._pmTempLayer=!0,this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:110,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.startCircle"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._map._container.style.cursor="crosshair",this._map.on("click",this._placeCenterMarker,this),this._map.on("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeCenterMarker,this),this._map.off("mousemove",this._syncHintMarker,this),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(q){this.enabled()?this.disable():this.enable(q)},_syncHintLine:function(){var q=this._centerMarker.getLatLng(),ne=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([q,ne])},_syncCircleRadius:function(){var q,ne=this._centerMarker.getLatLng(),me=this._hintMarker.getLatLng();q=this._map.options.crs===L.CRS.Simple?this._map.distance(ne,me):ne.distanceTo(me),this.options.minRadiusCircle&&q<this.options.minRadiusCircle?this._layer.setRadius(this.options.minRadiusCircle):this.options.maxRadiusCircle&&q>this.options.maxRadiusCircle?this._layer.setRadius(this.options.maxRadiusCircle):this._layer.setRadius(q)},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}this._handleHintMarkerSnapping();var me=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(me,"Draw")},_placeCenterMarker:function(q){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(ne),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter:function(){var q=this._centerMarker.getLatLng();q&&(this._layer.setLatLng(q),this._hintMarker.on("move",this._syncHintLine,this),this._hintMarker.on("move",this._syncCircleRadius,this),this._hintMarker.setTooltipContent(fn("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_finishShape:function(q){if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne,me=this._centerMarker.getLatLng(),Be=this._hintMarker.getLatLng();ne=this._map.options.crs===L.CRS.Simple?this._map.distance(me,Be):me.distanceTo(Be),this.options.minRadiusCircle&&ne<this.options.minRadiusCircle?ne=this.options.minRadiusCircle:this.options.maxRadiusCircle&&ne>this.options.maxRadiusCircle&&(ne=this.options.maxRadiusCircle);var et=Bn(Bn({},this.options.pathOptions),{},{radius:ne}),It=L.circle(me,et);this._setPane(It,"layerPane"),this._finishLayer(It),It.addTo(this._map.pm._getContainingLayer()),It.pm&&It.pm._updateHiddenPolyCircle(),this._fireCreate(It),this.disable(),this.options.continueDrawing&&this.enable()}},_getNewDestinationOfHintMarker:function(){var q=this._hintMarker.getLatLng();if(!this._layerGroup.hasLayer(this._centerMarker))return q;var ne=this._centerMarker.getLatLng(),me=ne.distanceTo(q);return this.options.minRadiusCircle&&me<this.options.minRadiusCircle?q=dn(this._map,ne,q,this.options.minRadiusCircle):this.options.maxRadiusCircle&&me>this.options.maxRadiusCircle&&(q=dn(this._map,ne,q,this.options.maxRadiusCircle)),q},_handleHintMarkerSnapping:function(){if(this._hintMarker._snapped){var q=this._centerMarker.getLatLng(),ne=this._hintMarker.getLatLng(),me=q.distanceTo(ne);this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircle&&me<this.options.minRadiusCircle||this.options.maxRadiusCircle&&me>this.options.maxRadiusCircle)&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())},setStyle:function(){var q,ne;null===(q=this._layer)||void 0===q||q.setStyle(this.options.templineStyle),null===(ne=this._hintline)||void 0===ne||ne.setStyle(this.options.hintlineStyle)}}),Ht.CircleMarker=Ht.Marker.extend({initialize:function(q){this._map=q,this._shape="CircleMarker",this.toolbarButtonName="drawCircleMarker",this._layerIsDragging=!1},enable:function(q){var ne=this;if(L.Util.setOptions(this,q),this._enabled=!0,this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this.options.editable){var me={};L.extend(me,this.options.templineStyle),me.radius=0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.circleMarker(this._map.getCenter(),me),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._centerMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon"}),draggable:!1,zIndexOffset:100}),this._setPane(this._centerMarker,"vertexPane"),this._centerMarker._pmTempLayer=!0,this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:110,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.startCircle"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._map.on("click",this._placeCenterMarker,this),this._map._container.style.cursor="crosshair"}else this._map.on("click",this._createMarker,this),this._hintMarker=L.circleMarker(this._map.getCenter(),this.options.templineStyle),this._setPane(this._hintMarker,"layerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this._layer=this._hintMarker,this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.placeCircleMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip();this._map.on("mousemove",this._syncHintMarker,this),!this.options.editable&&this.options.markerEditable&&this._map.eachLayer(function(Be){ne.isRelevantMarker(Be)&&Be.pm.enable()}),this._layer.bringToBack(),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){var q=this;this._enabled&&(this._enabled=!1,this.options.editable?(this._map._container.style.cursor="",this._map.off("click",this._finishShape,this),this._map.off("click",this._placeCenterMarker,this),this._map.removeLayer(this._layerGroup)):(this._map.off("click",this._createMarker,this),this._map.eachLayer(function(ne){q.isRelevantMarker(ne)&&ne.pm.disable()}),this._hintMarker.remove()),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},_placeCenterMarker:function(q){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(ne),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter:function(){var q=this._centerMarker.getLatLng();q&&(this._layer.setLatLng(q),this._hintMarker.on("move",this._syncHintLine,this),this._hintMarker.on("move",this._syncCircleRadius,this),this._hintMarker.setTooltipContent(fn("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_syncHintLine:function(){var q=this._centerMarker.getLatLng(),ne=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([q,ne])},_syncCircleRadius:function(){var q=this._centerMarker.getLatLng(),ne=this._hintMarker.getLatLng(),me=this._map.project(q).distanceTo(this._map.project(ne));this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker?this._layer.setRadius(this.options.minRadiusCircleMarker):this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(me)},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}this._handleHintMarkerSnapping();var me=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(me,"Draw")},isRelevantMarker:function(q){return q instanceof L.CircleMarker&&!(q instanceof L.Circle)&&q.pm&&!q._pmTempLayer},_createMarker:function(q){if((!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())&&q.latlng&&!this._layerIsDragging){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._hintMarker.getLatLng(),me=L.circleMarker(ne,this.options.pathOptions);this._setPane(me,"layerPane"),this._finishLayer(me),me.addTo(this._map.pm._getContainingLayer()),me.pm&&this.options.markerEditable&&me.pm.enable(),this._fireCreate(me),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},_finishShape:function(q){if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var ne=this._centerMarker.getLatLng(),me=this._hintMarker.getLatLng(),Be=this._map.project(ne).distanceTo(this._map.project(me));this.options.editable&&(this.options.minRadiusCircleMarker&&Be<this.options.minRadiusCircleMarker?Be=this.options.minRadiusCircleMarker:this.options.maxRadiusCircleMarker&&Be>this.options.maxRadiusCircleMarker&&(Be=this.options.maxRadiusCircleMarker));var et=xi(xi({},this.options.pathOptions),{},{radius:Be}),It=L.circleMarker(ne,et);this._setPane(It,"layerPane"),this._finishLayer(It),It.addTo(this._map.pm._getContainingLayer()),It.pm&&It.pm._updateHiddenPolyCircle(),this._fireCreate(It),this.disable(),this.options.continueDrawing&&this.enable()}},_getNewDestinationOfHintMarker:function(){var q=this._hintMarker.getLatLng();if(this.options.editable){if(!this._layerGroup.hasLayer(this._centerMarker))return q;var ne=this._centerMarker.getLatLng(),me=this._map.project(ne).distanceTo(this._map.project(q));this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker?q=dn(this._map,ne,q,this._pxRadiusToMeter(this.options.minRadiusCircleMarker)):this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker&&(q=dn(this._map,ne,q,this._pxRadiusToMeter(this.options.maxRadiusCircleMarker)))}return q},_handleHintMarkerSnapping:function(){if(this.options.editable){if(this._hintMarker._snapped){var q=this._centerMarker.getLatLng(),ne=this._hintMarker.getLatLng(),me=this._map.project(q).distanceTo(this._map.project(ne));this._layerGroup.hasLayer(this._centerMarker)&&(this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker||this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker)&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())}},_pxRadiusToMeter:function(q){var ne=this._centerMarker.getLatLng(),me=this._map.project(ne),Be=L.point(me.x+q,me.y);return this._map.unproject(Be).distanceTo(ne)},setStyle:function(){var q,ne,me={};L.extend(me,this.options.templineStyle),this.options.editable&&(me.radius=0),null===(q=this._layer)||void 0===q||q.setStyle(me),null===(ne=this._hintline)||void 0===ne||ne.setStyle(this.options.hintlineStyle)}});const at=function(q){if(!q)throw new Error("geojson is required");var ne=[];return ai(q,function(me){!function(Be,et){var It=[],Ut=Be.geometry;if(null!==Ut){switch(Ut.type){case"Polygon":It=Li(Ut);break;case"LineString":It=[Li(Ut)]}It.forEach(function(Wt){var Et,Dn,Ln;(Et=Wt,Dn=Be.properties,Ln=[],Et.reduce(function(An,Qn){var ui,Ui,hr,kr,Ri,Yi,In=ln([An,Qn],Dn);return In.bbox=(Ui=Qn,hr=(ui=An)[0],kr=ui[1],[hr<(Ri=Ui[0])?hr:Ri,kr<(Yi=Ui[1])?kr:Yi,hr>Ri?hr:Ri,kr>Yi?kr:Yi]),Ln.push(In),Qn}),Ln).forEach(function(Et){Et.id=et.length,et.push(Et)})})}}(me,ne)}),Jn(ne)};var Ot=P(1787);function Nn(q,ne){var me=Li(q),Be=Li(ne);if(2!==me.length)throw new Error("<intersects> line1 must only contain 2 coordinates");if(2!==Be.length)throw new Error("<intersects> line2 must only contain 2 coordinates");var et=me[0][0],It=me[0][1],Ut=me[1][0],Wt=me[1][1],Pt=Be[0][0],Et=Be[0][1],Dn=Be[1][0],Ln=Be[1][1],An=(Ln-Et)*(Ut-et)-(Dn-Pt)*(Wt-It);if(0===An)return null;var Ui=((Dn-Pt)*(It-Et)-(Ln-Et)*(et-Pt))/An,hr=((Ut-et)*(It-Et)-(Wt-It)*(et-Pt))/An;return Ui>=0&&Ui<=1&&hr>=0&&hr<=1?Ft([et+Ui*(Ut-et),It+Ui*(Wt-It)]):null}const di=function(q,ne){var me={},Be=[];if("LineString"===q.type&&(q=lt(q)),"LineString"===ne.type&&(ne=lt(ne)),"Feature"===q.type&&"Feature"===ne.type&&null!==q.geometry&&null!==ne.geometry&&"LineString"===q.geometry.type&&"LineString"===ne.geometry.type&&2===q.geometry.coordinates.length&&2===ne.geometry.coordinates.length){var et=Nn(q,ne);return et&&Be.push(et),Jn(Be)}var It=Ot();return It.load(at(ne)),uo(at(q),function(Ut){uo(It.search(Ut),function(Wt){var Pt=Nn(Ut,Wt);if(Pt){var Et=Li(Pt).join(",");me[Et]||(me[Et]=!0,Be.push(Pt))}})}),Jn(Be)},$i=function(q,ne,me){void 0===me&&(me={});var Be=gr(q),et=gr(ne),It=ki(et[1]-Be[1]),Ut=ki(et[0]-Be[0]),Wt=ki(Be[1]),Pt=ki(et[1]),Et=Math.pow(Math.sin(It/2),2)+Math.pow(Math.sin(Ut/2),2)*Math.cos(Wt)*Math.cos(Pt);return function Mn(q,ne){void 0===ne&&(ne="kilometers");var me=Jt[ne];if(!me)throw new Error(ne+" units is invalid");return q*me}(2*Math.atan2(Math.sqrt(Et),Math.sqrt(1-Et)),me.units)};function Yr(q){var ne=[1/0,1/0,-1/0,-1/0];return Xr(q,function(me){ne[0]>me[0]&&(ne[0]=me[0]),ne[1]>me[1]&&(ne[1]=me[1]),ne[2]<me[0]&&(ne[2]=me[0]),ne[3]<me[1]&&(ne[3]=me[1])}),ne}Yr.default=Yr;const Mo=Yr;function Bi(q,ne,me){if(void 0===me&&(me={}),!0===me.final)return(Bi(ne,q)+180)%360;var Be=gr(q),et=gr(ne),It=ki(Be[0]),Ut=ki(et[0]),Wt=ki(Be[1]),Pt=ki(et[1]),Et=Math.sin(Ut-It)*Math.cos(Pt),Dn=Math.cos(Wt)*Math.sin(Pt)-Math.sin(Wt)*Math.cos(Pt)*Math.cos(Ut-It);return Ai(Math.atan2(Et,Dn))}function ks(q,ne,me,Be){void 0===Be&&(Be={});var et=gr(q),It=ki(et[0]),Ut=ki(et[1]),Wt=ki(me),Pt=function ti(q,ne){void 0===ne&&(ne="kilometers");var me=Jt[ne];if(!me)throw new Error(ne+" units is invalid");return q/me}(ne,Be.units),Et=Math.asin(Math.sin(Ut)*Math.cos(Pt)+Math.cos(Ut)*Math.sin(Pt)*Math.cos(Wt));return Ft([Ai(It+Math.atan2(Math.sin(Wt)*Math.sin(Pt)*Math.cos(Ut),Math.cos(Pt)-Math.sin(Ut)*Math.sin(Et))),Ai(Et)],Be.properties)}function Qo(q,ne){var me=[],Be=Ot();return ai(ne,function(et){if(me.forEach(function(Wt,Pt){Wt.id=Pt}),me.length){var It=Be.search(et);if(It.features.length){var Ut=Ti(et,It);me=me.filter(function(Wt){return Wt.id!==Ut.id}),Be.remove(Ut),uo(mr(Ut,et),function(Wt){me.push(Wt),Be.insert(Wt)})}}else(me=mr(q,et).features).forEach(function(Wt){Wt.bbox||(Wt.bbox=function(q){var ne=q[0],me=q[1],Be=q[2],et=q[3];if($i(q.slice(0,2),[Be,me])>=$i(q.slice(0,2),[ne,et])){var It=(me+et)/2;return[ne,It-(Be-ne)/2,Be,It+(Be-ne)/2]}var Ut=(ne+Be)/2;return[Ut-(et-me)/2,me,Ut+(et-me)/2,et]}(Mo(Wt)))}),Be.load(Jn(me))}),Jn(me)}function mr(q,ne){var me=[],Be=Li(q)[0],et=Li(q)[q.geometry.coordinates.length-1];if(Cr(Be,gr(ne))||Cr(et,gr(ne)))return Jn([q]);var It=Ot(),Ut=at(q);It.load(Ut);var Wt=It.search(ne);if(!Wt.features.length)return Jn([q]);var An,Qn,Pt=Ti(ne,Wt),Et=(Qn=An=[Be],uo(Ut,function(ui,Ui){Qn=0===Ui&&void 0===An?ui:function(Dn,Ln,An){var Qn=Li(Ln)[1],ui=gr(ne);return An===Pt.id?(Dn.push(ui),me.push(ln(Dn)),Cr(ui,Qn)?[ui]:[ui,Qn]):(Dn.push(Qn),Dn)}(Qn,ui,Ui)}),Qn);return Et.length>1&&me.push(ln(Et)),Jn(me)}function Ti(q,ne){if(!ne.features.length)throw new Error("lines must contain features");if(1===ne.features.length)return ne.features[0];var me,Be=1/0;return uo(ne,function(et){var It=function(q,ne,me){void 0===me&&(me={});var Be=Ft([1/0,1/0],{dist:1/0}),et=0;return ai(q,function(It){for(var Ut=Li(It),Wt=0;Wt<Ut.length-1;Wt++){var Pt=Ft(Ut[Wt]);Pt.properties.dist=$i(ne,Pt,me);var Et=Ft(Ut[Wt+1]);Et.properties.dist=$i(ne,Et,me);var Dn=$i(Pt,Et,me),Ln=Math.max(Pt.properties.dist,Et.properties.dist),An=Bi(Pt,Et),Qn=ks(ne,Ln,An+90,me),ui=ks(ne,Ln,An-90,me),Ui=di(ln([Qn.geometry.coordinates,ui.geometry.coordinates]),ln([Pt.geometry.coordinates,Et.geometry.coordinates])),hr=null;Ui.features.length>0&&((hr=Ui.features[0]).properties.dist=$i(ne,hr,me),hr.properties.location=et+$i(Pt,hr,me)),Pt.properties.dist<Be.properties.dist&&((Be=Pt).properties.index=Wt,Be.properties.location=et),Et.properties.dist<Be.properties.dist&&((Be=Et).properties.index=Wt+1,Be.properties.location=et+Dn),hr&&hr.properties.dist<Be.properties.dist&&((Be=hr).properties.index=Wt),et+=Dn}}),Be}(et,q).properties.dist;It<Be&&(me=et,Be=It)}),me}function Cr(q,ne){return q[0]===ne[0]&&q[1]===ne[1]}const Vi=function(q,ne){if(!q)throw new Error("line is required");if(!ne)throw new Error("splitter is required");var me=br(q),Be=br(ne);if("LineString"!==me)throw new Error("line must be LineString");if("FeatureCollection"===Be)throw new Error("splitter cannot be a FeatureCollection");if("GeometryCollection"===Be)throw new Error("splitter cannot be a GeometryCollection");var et=function(q,ne){void 0===ne&&(ne={});var me=ne.precision,Be=ne.coordinates,et=ne.mutate;if(me=null==me||isNaN(me)?6:me,Be=null==Be||isNaN(Be)?3:Be,!q)throw new Error("<geojson> is required");if("number"!=typeof me)throw new Error("<precision> must be a number");if("number"!=typeof Be)throw new Error("<coordinates> must be a number");!1!==et&&void 0!==et||(q=JSON.parse(JSON.stringify(q)));var It=Math.pow(10,me);return Xr(q,function(Ut){!function(Wt,Pt,Et){Wt.length>Et&&Wt.splice(Et,Wt.length);for(var Dn=0;Dn<Wt.length;Dn++)Wt[Dn]=Math.round(Wt[Dn]*Pt)/Pt}(Ut,It,Be)}),q}(ne,{precision:7});switch(Be){case"Point":return mr(q,et);case"MultiPoint":return Qo(q,et);case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":return Qo(q,di(q,et))}};function To(q,ne,me){if(void 0===me&&(me={}),!q)throw new Error("point is required");if(!ne)throw new Error("polygon is required");var An,Qn,Be=gr(q),et=Sr(ne),It=et.type,Ut=ne.bbox,Wt=et.coordinates;if(Ut&&!1==(An=Be,(Qn=Ut)[0]<=An[0]&&Qn[1]<=An[1]&&Qn[2]>=An[0]&&Qn[3]>=An[1]))return!1;"Polygon"===It&&(Wt=[Wt]);for(var Pt=!1,Et=0;Et<Wt.length&&!Pt;Et++)if(qr(Be,Wt[Et][0],me.ignoreBoundary)){for(var Dn=!1,Ln=1;Ln<Wt[Et].length&&!Dn;)qr(Be,Wt[Et][Ln],!me.ignoreBoundary)&&(Dn=!0),Ln++;Dn||(Pt=!0)}return Pt}function qr(q,ne,me){var Be=!1;ne[0][0]===ne[ne.length-1][0]&&ne[0][1]===ne[ne.length-1][1]&&(ne=ne.slice(0,ne.length-1));for(var et=0,It=ne.length-1;et<ne.length;It=et++){var Ut=ne[et][0],Wt=ne[et][1],Pt=ne[It][0],Et=ne[It][1];if(q[1]*(Ut-Pt)+Wt*(Pt-q[0])+Et*(q[0]-Ut)==0&&(Ut-q[0])*(Pt-q[0])<=0&&(Wt-q[1])*(Et-q[1])<=0)return!me;Wt>q[1]!=Et>q[1]&&q[0]<(Pt-Ut)*(q[1]-Wt)/(Et-Wt)+Ut&&(Be=!Be)}return Be}function _o(q,ne,me,Be,et){var It=me[0],Ut=me[1],Wt=q[0],Pt=q[1],Et=ne[0],Dn=ne[1],Ln=Et-Wt,An=Dn-Pt,Qn=(me[0]-Wt)*An-(me[1]-Pt)*Ln;if(null!==et){if(Math.abs(Qn)>et)return!1}else if(0!==Qn)return!1;return Be?"start"===Be?Math.abs(Ln)>=Math.abs(An)?Ln>0?Wt<It&&It<=Et:Et<=It&&It<Wt:An>0?Pt<Ut&&Ut<=Dn:Dn<=Ut&&Ut<Pt:"end"===Be?Math.abs(Ln)>=Math.abs(An)?Ln>0?Wt<=It&&It<Et:Et<It&&It<=Wt:An>0?Pt<=Ut&&Ut<Dn:Dn<Ut&&Ut<=Pt:"both"===Be&&(Math.abs(Ln)>=Math.abs(An)?Ln>0?Wt<It&&It<Et:Et<It&&It<Wt:An>0?Pt<Ut&&Ut<Dn:Dn<Ut&&Ut<Pt):Math.abs(Ln)>=Math.abs(An)?Ln>0?Wt<=It&&It<=Et:Et<=It&&It<=Wt:An>0?Pt<=Ut&&Ut<=Dn:Dn<=Ut&&Ut<=Pt}const jo=function(q,ne,me){void 0===me&&(me={});for(var Be=gr(q),et=Li(ne),It=0;It<et.length-1;It++){var Ut=!1;if(me.ignoreEndVertices&&(0===It&&(Ut="start"),It===et.length-2&&(Ut="end"),0===It&&It+1===et.length-1&&(Ut="both")),_o(et[It],et[It+1],Be,Ut,void 0===me.epsilon?null:me.epsilon))return!0}return!1};function gs(q,ne){return!(q[0]>ne[0]||q[2]<ne[2]||q[1]>ne[1]||q[3]<ne[3])}function Ho(q,ne){return q[0]===ne[0]&&q[1]===ne[1]}function Dr(q,ne){return[(q[0]+ne[0])/2,(q[1]+ne[1])/2]}var Os=P(2676),cs=P.n(Os);function li(q){var ne={type:"Feature"};return ne.geometry=q,ne}function Qr(q){return"Feature"===q.type?q.geometry:q}function ao(q){return q&&q.geometry&&q.geometry.coordinates?q.geometry.coordinates:q}function ys(q){return li({type:"Polygon",coordinates:q})}function _a(q){return li({type:"MultiPolygon",coordinates:q})}function Ps(q){return Array.isArray(q)?1+Ps(q[0]):-1}function ji(q){q instanceof L.Polyline&&(q=q.toGeoJSON(15));var ne=ao(q),me=Ps(ne),Be=[];return me>1?ne.forEach(function(et){Be.push(li({type:"LineString",coordinates:et}))}):Be.push(q),Be}function no(q,ne){(null==ne||ne>q.length)&&(ne=q.length);for(var me=0,Be=new Array(ne);me<ne;me++)Be[me]=q[me];return Be}function ra(q,ne){(null==ne||ne>q.length)&&(ne=q.length);for(var me=0,Be=new Array(ne);me<ne;me++)Be[me]=q[me];return Be}Ht.Cut=Ht.Polygon.extend({initialize:function(q){this._map=q,this._shape="Cut",this.toolbarButtonName="cutPolygon"},_finishShape:function(){var q=this;if(this._editedLayers=[],(this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var ne=this._layer.getLatLngs();if(!(ne.length<=2)){var me=L.polygon(ne,this.options.pathOptions);me._latlngInfos=this._layer._latlngInfo,this.cut(me),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this._editedLayers.forEach(function(Be){var et=Be.layer,It=Be.originalLayer;q._fireCut(It,et,It),q._fireCut(q._map,et,It),It.pm._fireEdit()}),this._editedLayers=[],this.disable(),this.options.continueDrawing&&this.enable()}}},cut:function(q){var ne=this,me=this._map._layers,Be=q._latlngInfos||[];Object.keys(me).map(function(et){return me[et]}).filter(function(et){return et.pm}).filter(function(et){return!et._pmTempLayer}).filter(function(et){return!L.PM.optIn&&!et.options.pmIgnore||L.PM.optIn&&!1===et.options.pmIgnore}).filter(function(et){return et instanceof L.Polyline}).filter(function(et){return et!==q}).filter(function(et){return et.pm.options.allowCutting}).filter(function(et){return!(ne.options.layersToCut&&L.Util.isArray(ne.options.layersToCut)&&ne.options.layersToCut.length>0)||ne.options.layersToCut.indexOf(et)>-1}).filter(function(et){return!ne._layerGroup.hasLayer(et)}).filter(function(et){try{var It=!!di(q.toGeoJSON(15),et.toGeoJSON(15)).features.length>0;return It||et instanceof L.Polyline&&!(et instanceof L.Polygon)?It:(Ut=q.toGeoJSON(15),Wt=et.toGeoJSON(15),Pt=Qr(Ut),Et=Qr(Wt),!(0===(Dn=cs().intersection(Pt.coordinates,Et.coordinates)).length||!(1===Dn.length?ys(Dn[0]):_a(Dn))))}catch(Ln){return et instanceof L.Polygon&&console.error("You can't cut polygons with self-intersections"),!1}var Ut,Wt,Pt,Et,Dn}).forEach(function(et){var It;if(et instanceof L.Polygon){var Ut=(It=L.polygon(et.getLatLngs())).getLatLngs();Be.forEach(function(An){if(An&&An.snapInfo){var Qn=An.latlng,ui=ne._calcClosestLayer(Qn,[It]);if(ui&&ui.segment&&ui.distance<ne.options.snapDistance){var Ui=ui.segment;if(Ui&&2===Ui.length){var hr=L.PM.Utils._getIndexFromSegment(Ut,Ui),kr=hr.indexPath,Ri=hr.parentPath,Yi=hr.newIndex;(kr.length>1?vt()(Ut,Ri):Ut).splice(Yi,0,Qn)}}}})}else It=et;var Wt=ne._cutLayer(q,It),Pt=L.geoJSON(Wt,et.options);if(1===Pt.getLayers().length){var Et=Pt.getLayers();Pt=function Us(q,ne){return function(me){if(Array.isArray(me))return me}(q)||function(me,Be){var et=null==me?null:"undefined"!=typeof Symbol&&me[Symbol.iterator]||me["@@iterator"];if(null!=et){var It,Ut,Wt=[],Pt=!0,Et=!1;try{for(et=et.call(me);!(Pt=(It=et.next()).done)&&(Wt.push(It.value),!Be||Wt.length!==Be);Pt=!0);}catch(Dn){Et=!0,Ut=Dn}finally{try{Pt||null==et.return||et.return()}finally{if(Et)throw Ut}}return Wt}}(q,ne)||function(me,Be){if(me){if("string"==typeof me)return no(me,Be);var et=Object.prototype.toString.call(me).slice(8,-1);if("Object"===et&&me.constructor&&(et=me.constructor.name),"Map"===et||"Set"===et)return Array.from(me);if("Arguments"===et||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return no(me,Be)}}(q,ne)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Et,1)[0]}ne._setPane(Pt,"layerPane");var Dn=Pt.addTo(ne._map.pm._getContainingLayer());if(Dn.pm.enable(et.pm.options),Dn.pm.disable(),et._pmTempLayer=!0,q._pmTempLayer=!0,et.remove(),et.removeFrom(ne._map.pm._getContainingLayer()),q.remove(),q.removeFrom(ne._map.pm._getContainingLayer()),Dn.getLayers&&0===Dn.getLayers().length&&ne._map.pm.removeLayer({target:Dn}),Dn instanceof L.LayerGroup&&Dn.eachLayer(function(An){ne._addDrawnLayerProp(An)}),ne._addDrawnLayerProp(Dn),ne.options.layersToCut&&L.Util.isArray(ne.options.layersToCut)&&ne.options.layersToCut.length>0){var Ln=ne.options.layersToCut.indexOf(et);Ln>-1&&ne.options.layersToCut.splice(Ln,1)}ne._editedLayers.push({layer:Dn,originalLayer:et})})},_cutLayer:function(q,ne){var me,Be,et,It,Ut,Wt,Pt=L.geoJSON();if(ne instanceof L.Polygon)Be=ne.toGeoJSON(15),et=q.toGeoJSON(15),It=Qr(Be),Ut=Qr(et),me=0===(Wt=cs().difference(It.coordinates,Ut.coordinates)).length?null:1===Wt.length?ys(Wt[0]):_a(Wt);else{var Et=ji(ne);Et.forEach(function(Dn){var Ln=Vi(Dn,q.toGeoJSON(15));(Ln&&Ln.features.length>0?L.geoJSON(Ln):L.geoJSON(Dn)).getLayers().forEach(function(An){(function Do(q,ne){var me=Sr(q),Be=Sr(ne),et=me.type,It=Be.type,Ut=me.coordinates,Wt=Be.coordinates;switch(et){case"Point":if("Point"===It)return Ho(Ut,Wt);throw new Error("feature2 "+It+" geometry not supported");case"MultiPoint":switch(It){case"Point":return function(Pt,Et){var Dn,Ln=!1;for(Dn=0;Dn<Pt.coordinates.length;Dn++)if(Ho(Pt.coordinates[Dn],Et.coordinates)){Ln=!0;break}return Ln}(me,Be);case"MultiPoint":return function(Pt,Et){for(var Dn=0,Ln=Et.coordinates;Dn<Ln.length;Dn++){for(var An=Ln[Dn],Qn=!1,ui=0,Ui=Pt.coordinates;ui<Ui.length;ui++)if(Ho(An,Ui[ui])){Qn=!0;break}if(!Qn)return!1}return!0}(me,Be);default:throw new Error("feature2 "+It+" geometry not supported")}case"LineString":switch(It){case"Point":return jo(Be,me,{ignoreEndVertices:!0});case"LineString":return function(Pt,Et){for(var Dn=!1,Ln=0,An=Et.coordinates;Ln<An.length;Ln++){var Qn=An[Ln];if(jo({type:"Point",coordinates:Qn},Pt,{ignoreEndVertices:!0})&&(Dn=!0),!jo({type:"Point",coordinates:Qn},Pt,{ignoreEndVertices:!1}))return!1}return Dn}(me,Be);case"MultiPoint":return function(Pt,Et){for(var Dn=!1,Ln=0,An=Et.coordinates;Ln<An.length;Ln++){var Qn=An[Ln];if(jo(Qn,Pt,{ignoreEndVertices:!0})&&(Dn=!0),!jo(Qn,Pt))return!1}return!!Dn}(me,Be);default:throw new Error("feature2 "+It+" geometry not supported")}case"Polygon":switch(It){case"Point":return To(Be,me,{ignoreBoundary:!0});case"LineString":return function(Pt,Et){var Dn=!1,Ln=0;if(!gs(Mo(Pt),Mo(Et)))return!1;for(;Ln<Et.coordinates.length-1;Ln++)if(To({type:"Point",coordinates:Dr(Et.coordinates[Ln],Et.coordinates[Ln+1])},Pt,{ignoreBoundary:!0})){Dn=!0;break}return Dn}(me,Be);case"Polygon":return function(Pt,Et){if("Feature"===Pt.type&&null===Pt.geometry||"Feature"===Et.type&&null===Et.geometry)return!1;if(!gs(Mo(Pt),Mo(Et)))return!1;for(var Qn=0,ui=Sr(Et).coordinates;Qn<ui.length;Qn++)for(var Ui=0,hr=ui[Qn];Ui<hr.length;Ui++)if(!To(hr[Ui],Pt))return!1;return!0}(me,Be);case"MultiPoint":return function(Pt,Et){for(var Dn=0,Ln=Et.coordinates;Dn<Ln.length;Dn++)if(!To(Ln[Dn],Pt,{ignoreBoundary:!0}))return!1;return!0}(me,Be);default:throw new Error("feature2 "+It+" geometry not supported")}default:throw new Error("feature1 "+et+" geometry not supported")}})(q.toGeoJSON(15),An.toGeoJSON(15))||An.addTo(Pt)})}),me=Et.length>1?function So(q){var ne=[];return q.eachLayer(function(me){ne.push(ao(me.toGeoJSON(15)))}),li({type:"MultiLineString",coordinates:ne})}(Pt):Pt.toGeoJSON(15)}return me},_change:L.Util.falseFn}),Ht.Text=Ht.extend({initialize:function(q){this._map=q,this._shape="Text",this.toolbarButtonName="drawText"},enable:function(q){L.Util.setOptions(this,q),this._enabled=!0,this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),{interactive:!1,zIndexOffset:100,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(fn("tooltips.placeText"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(q){this.enabled()?this.disable():this.enable(q)},_syncHintMarker:function(q){if(this._hintMarker.setLatLng(q.latlng),this.options.snappable){var ne=q;ne.target=this._hintMarker,this._handleSnapping(ne)}},_createMarker:function(q){var ne;if(q.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(q.latlng);var me=this._hintMarker.getLatLng();if(this.textArea=this._createTextArea(),null!==(ne=this.options.textOptions)&&void 0!==ne&&ne.className){var Be,et=this.options.textOptions.className.split(" ");(Be=this.textArea.classList).add.apply(Be,function ho(q){return function(ne){if(Array.isArray(ne))return ra(ne)}(q)||function(ne){if("undefined"!=typeof Symbol&&null!=ne[Symbol.iterator]||null!=ne["@@iterator"])return Array.from(ne)}(q)||function(ne,me){if(ne){if("string"==typeof ne)return ra(ne,void 0);var Be=Object.prototype.toString.call(ne).slice(8,-1);if("Object"===Be&&ne.constructor&&(Be=ne.constructor.name),"Map"===Be||"Set"===Be)return Array.from(ne);if("Arguments"===Be||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be))return ra(ne,void 0)}}(q)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(et))}var It=this._createTextIcon(this.textArea),Ut=new L.Marker(me,{textMarker:!0,_textMarkerOverPM:!0,icon:It});if(this._setPane(Ut,"markerPane"),this._finishLayer(Ut),Ut.pm||(Ut.options.draggable=!1),Ut.addTo(this._map.pm._getContainingLayer()),Ut.pm){var Wt,Pt,Et,Dn,Ln;Ut.pm.textArea=this.textArea,L.setOptions(Ut.pm,{removeIfEmpty:null===(Wt=null===(Pt=this.options.textOptions)||void 0===Pt?void 0:Pt.removeIfEmpty)||void 0===Wt||Wt});var An=null===(Et=null===(Dn=this.options.textOptions)||void 0===Dn?void 0:Dn.focusAfterDraw)||void 0===Et||Et;Ut.pm._createTextMarker(An),null!==(Ln=this.options.textOptions)&&void 0!==Ln&&Ln.text&&Ut.pm.setText(this.options.textOptions.text)}this._fireCreate(Ut),this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}},_createTextArea:function(){var q=document.createElement("textarea");return q.autofocus=!0,q.readOnly=!0,q.classList.add("pm-textarea","pm-disabled"),q},_createTextIcon:function(q){return L.divIcon({className:"pm-text-marker",html:q})}});const zs={enableLayerDrag:function(){if(this.options.draggable&&this._layer._map){this.disable(),this._layerDragEnabled=!0,this._map||(this._map=this._layer._map),(this._layer instanceof L.Marker||this._layer instanceof L.ImageOverlay)&&L.DomEvent.on(this._getDOMElem(),"dragstart",this._stopDOMImageDrag),this._layer.dragging&&this._layer.dragging.disable(),this._tempDragCoord=null,yn(this._layer)instanceof L.Canvas?(this._layer.on("mouseout",this.removeDraggingClass,this),this._layer.on("mouseover",this.addDraggingClass,this)):this.addDraggingClass(),this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!0;var q=this._getDOMElem();q&&(yn(this._layer)instanceof L.Canvas?(this._layer.on("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._addTouchEvents(q)):L.DomEvent.on(q,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._fireDragEnable()}},disableLayerDrag:function(){this._layerDragEnabled=!1,yn(this._layer)instanceof L.Canvas?(this._layer.off("mouseout",this.removeDraggingClass,this),this._layer.off("mouseover",this.addDraggingClass,this)):this.removeDraggingClass(),this._originalMapDragState&&this._dragging&&this._map.dragging.enable(),this._safeToCacheDragState=!1,this._layer.dragging&&this._layer.dragging.disable();var q=this._getDOMElem();q&&(yn(this._layer)instanceof L.Canvas?(this._layer.off("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._removeTouchEvents(q)):L.DomEvent.off(q,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._layerDragged&&this._fireUpdate(),this._layerDragged=!1,this._fireDragDisable()},dragging:function(){return this._dragging},layerDragEnabled:function(){return!!this._layerDragEnabled},_simulateMouseDownEvent:function(q){var ne=q.touches?q.touches[0]:q,me={originalEvent:ne,target:this._layer};return me.containerPoint=this._map.mouseEventToContainerPoint(ne),me.latlng=this._map.containerPointToLatLng(me.containerPoint),this._dragMixinOnMouseDown(me),!1},_simulateMouseMoveEvent:function(q){var ne=q.touches?q.touches[0]:q,me={originalEvent:ne,target:this._layer};return me.containerPoint=this._map.mouseEventToContainerPoint(ne),me.latlng=this._map.containerPointToLatLng(me.containerPoint),this._dragMixinOnMouseMove(me),!1},_simulateMouseUpEvent:function(q){var ne={originalEvent:q.touches?q.touches[0]:q,target:this._layer};return-1===q.type.indexOf("touch")&&(ne.containerPoint=this._map.mouseEventToContainerPoint(q),ne.latlng=this._map.containerPointToLatLng(ne.containerPoint)),this._dragMixinOnMouseUp(ne),!1},_dragMixinOnMouseDown:function(q){if(!(q.originalEvent.button>0)){this._overwriteEventIfItComesFromMarker(q);var ne=q._fromLayerSync,me=this._syncLayers("_dragMixinOnMouseDown",q);this._layer instanceof L.Marker&&(!this.options.snappable||ne||me?this._disableSnapping():this._initSnappableMarkers()),this._layer instanceof L.CircleMarker&&!(this._layer instanceof L.Circle)&&(!this.options.snappable||ne||me?this._layer.pm.options.editable?this._layer.pm._disableSnapping():this._layer.pm._disableSnappingDrag():this._layer.pm.options.editable||this._initSnappableMarkersDrag()),this._safeToCacheDragState&&(this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!1),this._tempDragCoord=q.latlng,L.DomEvent.on(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),L.DomEvent.on(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this)}},_dragMixinOnMouseMove:function(q){this._overwriteEventIfItComesFromMarker(q);var ne=this._getDOMElem();this._syncLayers("_dragMixinOnMouseMove",q),this._dragging||(this._dragging=!0,L.DomUtil.addClass(ne,"leaflet-pm-dragging"),this._layer instanceof L.Marker||this._layer.bringToFront(),this._originalMapDragState&&this._map.dragging.disable(),this._fireDragStart()),this._tempDragCoord||(this._tempDragCoord=q.latlng),this._onLayerDrag(q),this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle()},_dragMixinOnMouseUp:function(q){var ne=this,me=this._getDOMElem();return this._syncLayers("_dragMixinOnMouseUp",q),this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0,L.DomEvent.off(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this),L.DomEvent.off(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),!!this._dragging&&(this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle(),this._layerDragged=!0,window.setTimeout(function(){ne._dragging=!1,me&&L.DomUtil.removeClass(me,"leaflet-pm-dragging"),ne._fireDragEnd(),ne._fireEdit(),ne._layerEdited=!0},10),!0)},_onLayerDrag:function(q){var ne=q.latlng,me=ne.lat-this._tempDragCoord.lat,Be=ne.lng-this._tempDragCoord.lng,et=function Dn(Ln){return Ln.map(function(An){if(Array.isArray(An))return Dn(An);var Qn={lat:An.lat+me,lng:An.lng+Be};return(An.alt||0===An.alt)&&(Qn.alt=An.alt),Qn})};if(this._layer instanceof L.Circle||this._layer instanceof L.CircleMarker&&this._layer.options.editable){var It=et([this._layer.getLatLng()]);this._layer.setLatLng(It[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.CircleMarker||this._layer instanceof L.Marker){var Ut=this._layer.getLatLng();this._layer._snapped&&(Ut=this._layer._orgLatLng);var Wt=et([Ut]);this._layer.setLatLng(Wt[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.ImageOverlay){var Pt=et([this._layer.getBounds().getNorthWest(),this._layer.getBounds().getSouthEast()]);this._layer.setBounds(Pt),this._fireChange(this._layer.getBounds(),"Edit")}else{var Et=et(this._layer.getLatLngs());this._layer.setLatLngs(Et),this._fireChange(this._layer.getLatLngs(),"Edit")}this._tempDragCoord=ne,q.layer=this._layer,this._fireDrag(q)},addDraggingClass:function(){var q=this._getDOMElem();q&&L.DomUtil.addClass(q,"leaflet-pm-draggable")},removeDraggingClass:function(){var q=this._getDOMElem();q&&L.DomUtil.removeClass(q,"leaflet-pm-draggable")},_getDOMElem:function(){var q=null;return this._layer._path?q=this._layer._path:this._layer._renderer&&this._layer._renderer._container?q=this._layer._renderer._container:this._layer._image?q=this._layer._image:this._layer._icon&&(q=this._layer._icon),q},_overwriteEventIfItComesFromMarker:function(q){q.target.getLatLng&&(!q.target._radius||q.target._radius<=10)&&(q.containerPoint=this._map.mouseEventToContainerPoint(q.originalEvent),q.latlng=this._map.containerPointToLatLng(q.containerPoint))},_syncLayers:function(q,ne){var me=this;if(this.enabled())return!1;if(!ne._fromLayerSync&&this._layer===ne.target&&this.options.syncLayersOnDrag){ne._fromLayerSync=!0;var Be=[];if(L.Util.isArray(this.options.syncLayersOnDrag))Be=this.options.syncLayersOnDrag,this.options.syncLayersOnDrag.forEach(function(Ut){Ut instanceof L.LayerGroup&&(Be=Be.concat(Ut.pm.getLayers(!0)))});else if(!0===this.options.syncLayersOnDrag&&this._parentLayerGroup)for(var et in this._parentLayerGroup){var It=this._parentLayerGroup[et];It.pm&&(Be=It.pm.getLayers(!0))}return L.Util.isArray(Be)&&Be.length>0&&(Be=Be.filter(function(Ut){return!!Ut.pm}).filter(function(Ut){return!!Ut.pm.options.draggable})).forEach(function(Ut){Ut!==me._layer&&Ut.pm[q]&&(Ut._snapped=!1,Ut.pm[q](ne))}),Be.length>0}return!1},_stopDOMImageDrag:function(q){return q.preventDefault(),!1}};function bo(q,ne,me){var It,Ut,Wt,Pt,Be=me.getMaxZoom();if(Be===1/0&&(Be=me.getZoom()),L.Util.isArray(q)){var et=[];return q.forEach(function(It){et.push(bo(It,ne,me))}),et}return q instanceof L.LatLng?(It=q,Ut=ne,Pt=Be,(Wt=me).unproject(Ut.transform(Wt.project(It,Pt)),Pt)):null}function yr(q,ne){ne instanceof L.Layer&&(ne=ne.getLatLng());var me=q.getMaxZoom();return me===1/0&&(me=q.getZoom()),q.project(ne,me)}function yo(q,ne){var me=q.getMaxZoom();return me===1/0&&(me=q.getZoom()),q.unproject(ne,me)}const Po={_onRotateStart:function(q){this._preventRenderingMarkers(!0),this._rotationOriginLatLng=this._getRotationCenter().clone(),this._rotationOriginPoint=yr(this._map,this._rotationOriginLatLng),this._rotationStartPoint=yr(this._map,q.target.getLatLng()),this._initialRotateLatLng=si(this._layer),this._startAngle=this.getAngle();var ne=si(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._fireRotationStart(this._rotationLayer,ne),this._fireRotationStart(this._map,ne)},_onRotate:function(q){var ne=yr(this._map,q.target.getLatLng()),me=this._rotationStartPoint,Be=this._rotationOriginPoint,et=Math.atan2(ne.y-Be.y,ne.x-Be.x)-Math.atan2(me.y-Be.y,me.x-Be.x);this._layer.setLatLngs(this._rotateLayer(et,this._initialRotateLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var It=this;!function Et(Dn){var Ln=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],An=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;if(An>-1&&Ln.push(An),L.Util.isArray(Dn[0]))Dn.forEach(function(ui,Ui){return Et(ui,Ln.slice(),Ui)});else{var Qn=vt()(It._markers,Ln);Dn.forEach(function(ui,Ui){Qn[Ui].setLatLng(ui)})}}(this._layer.getLatLngs());var Ut=si(this._rotationLayer);this._rotationLayer.setLatLngs(this._rotateLayer(et,this._rotationLayer.pm._rotateOrgLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var Wt=180*et/Math.PI,Pt=(Wt=Wt<0?Wt+360:Wt)+this._startAngle;this._setAngle(Pt),this._rotationLayer.pm._setAngle(Pt),this._fireRotation(this._rotationLayer,Wt,Ut),this._fireRotation(this._map,Wt,Ut),this._rotationLayer.pm._fireChange(this._rotationLayer.getLatLngs(),"Rotation")},_onRotateEnd:function(){var q=this._startAngle;delete this._rotationOriginLatLng,delete this._rotationOriginPoint,delete this._rotationStartPoint,delete this._initialRotateLatLng,delete this._startAngle;var ne=si(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._rotationLayer.pm._rotateOrgLatLng=si(this._rotationLayer),this._fireRotationEnd(this._rotationLayer,q,ne),this._fireRotationEnd(this._map,q,ne),this._rotationLayer.pm._fireEdit(this._rotationLayer,"Rotation"),this._preventRenderingMarkers(!1),this._layerRotated=!0},_rotateLayer:function(q,ne,me,Be,et){var It=yr(et,me);return this._matrix=Be.clone().rotate(q,It).flip(),bo(ne,this._matrix,et)},_setAngle:function(q){q=q<0?q+360:q,this._angle=q%360},_getRotationCenter:function(){var q=L.polygon(this._layer.getLatLngs(),{stroke:!1,fill:!1,pmIgnore:!0}).addTo(this._layer._map),ne=q.getCenter();return q.removeFrom(this._layer._map),ne},enableRotate:function(){this.options.allowRotation?(this.rotateEnabled()&&this.disableRotate(),this._rotatePoly=L.polygon(this._layer.getLatLngs(),{fill:!1,stroke:!1,pmIgnore:!1,snapIgnore:!0}),this._rotatePoly._pmTempLayer=!0,this._rotatePoly.addTo(this._layer._map),this._rotatePoly.pm._setAngle(this.getAngle()),this._rotatePoly.pm.setOptions(this._layer._map.pm.getGlobalOptions()),this._rotatePoly.pm.setOptions({rotate:!0,snappable:!1,hideMiddleMarkers:!0}),this._rotatePoly.pm._rotationLayer=this._layer,this._rotatePoly.pm.enable(),this._rotateOrgLatLng=si(this._layer),this._rotateEnabled=!0,this._layer.on("remove",this.disableRotate,this),this._fireRotationEnable(this._layer),this._fireRotationEnable(this._layer._map)):this.disableRotate()},disableRotate:function(){this.rotateEnabled()&&(this._rotatePoly.pm._layerRotated&&this._fireUpdate(),this._rotatePoly.pm._layerRotated=!1,this._rotatePoly.pm.disable(),this._rotatePoly.remove(),this._rotatePoly.pm.setOptions({rotate:!1}),this._rotatePoly=void 0,this._rotateOrgLatLng=void 0,this._layer.off("remove",this.disableRotate,this),this._rotateEnabled=!1,this._fireRotationDisable(this._layer),this._fireRotationDisable(this._layer._map))},rotateEnabled:function(){return this._rotateEnabled},rotateLayer:function(q){var ne=this.getAngle(),me=this._layer.getLatLngs(),Be=q*(Math.PI/180);this._layer.setLatLngs(this._rotateLayer(Be,this._layer.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._layer._map)),this._rotateOrgLatLng=L.polygon(this._layer.getLatLngs()).getLatLngs(),this._setAngle(this.getAngle()+q),this.rotateEnabled()&&this._rotatePoly&&this._rotatePoly.pm.enabled()&&(this._rotatePoly.setLatLngs(this._rotateLayer(Be,this._rotatePoly.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._rotatePoly._map)),this._rotatePoly.pm._initMarkers());var et=this.getAngle()-ne;et=et<0?et+360:et,this._startAngle=ne,this._fireRotation(this._layer,et,me,this._layer),this._fireRotation(this._map||this._layer._map,et,me,this._layer),delete this._startAngle,this._fireChange(this._layer.getLatLngs(),"Rotation")},rotateLayerToAngle:function(q){var ne=q-this.getAngle();this.rotateLayer(ne)},getAngle:function(){return this._angle||0},setInitAngle:function(q){this._setAngle(q)}},Or=L.Class.extend({includes:[zs,xt,Po,qe],options:{snappable:!0,snapDistance:20,allowSelfIntersection:!0,allowSelfIntersectionEdit:!1,preventMarkerRemoval:!1,removeLayerBelowMinVertexCount:!0,limitMarkersToCount:-1,hideMiddleMarkers:!1,snapSegment:!0,syncLayersOnDrag:!1,draggable:!0,allowEditing:!0,allowRemoval:!0,allowCutting:!0,allowRotation:!0,addVertexOn:"click",removeVertexOn:"contextmenu",removeVertexValidation:void 0,addVertexValidation:void 0,moveVertexValidation:void 0},setOptions:function(q){L.Util.setOptions(this,q)},getOptions:function(){return this.options},applyOptions:function(){},isPolygon:function(){return this._layer instanceof L.Polygon},getShape:function(){return this._shape},_setPane:function(q,ne){"layerPane"===ne?q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":"vertexPane"===ne?q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":"markerPane"===ne&&(q.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},remove:function(){(this._map||this._layer._map).pm.removeLayer({target:this._layer})},_vertexValidation:function(q,ne){var me=ne.target,Be={layer:this._layer,marker:me,event:ne},et="";return"move"===q?et="moveVertexValidation":"add"===q?et="addVertexValidation":"remove"===q&&(et="removeVertexValidation"),this.options[et]&&"function"==typeof this.options[et]&&!this.options[et](Be)?("move"===q&&(me._cancelDragEventChain=me.getLatLng()),!1):(me._cancelDragEventChain=null,!0)},_vertexValidationDrag:function(q){return!q._cancelDragEventChain||(q._latlng=q._cancelDragEventChain,q.update(),!1)},_vertexValidationDragEnd:function(q){return!q._cancelDragEventChain||(q._cancelDragEventChain=null,!1)}});function rs(q){return function(ne){if(Array.isArray(ne))return Xo(ne)}(q)||function(ne){if("undefined"!=typeof Symbol&&null!=ne[Symbol.iterator]||null!=ne["@@iterator"])return Array.from(ne)}(q)||function(ne,me){if(ne){if("string"==typeof ne)return Xo(ne,undefined);var Be=Object.prototype.toString.call(ne).slice(8,-1);if("Object"===Be&&ne.constructor&&(Be=ne.constructor.name),"Map"===Be||"Set"===Be)return Array.from(ne);if("Arguments"===Be||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be))return Xo(ne,undefined)}}(q)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xo(q,ne){(null==ne||ne>q.length)&&(ne=q.length);for(var me=0,Be=new Array(ne);me<ne;me++)Be[me]=q[me];return Be}Or.LayerGroup=L.Class.extend({initialize:function(q){var ne=this;this._layerGroup=q,this._layers=this.getLayers(),this._getMap(),this._layers.forEach(function(me){return ne._initLayer(me)}),this._layerGroup.on("layeradd",L.Util.throttle(function(me){if(!me.layer._pmTempLayer){ne._layers=ne.getLayers();var Be=ne._layers.filter(function(et){return!et.pm._parentLayerGroup||!(ne._layerGroup._leaflet_id in et.pm._parentLayerGroup)});Be.forEach(function(et){ne._initLayer(et)}),Be.length>0&&ne._getMap()&&ne._getMap().pm.globalEditModeEnabled()&&ne.enabled()&&ne.enable(ne.getOptions())}},100,this),this),this._layerGroup.on("layerremove",function(me){ne._removeLayerFromGroup(me.target)},this),this._layerGroup.on("layerremove",L.Util.throttle(function(me){me.target._pmTempLayer||(ne._layers=ne.getLayers())},100,this),this)},enable:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];0===ne.length&&(this._layers=this.getLayers()),this._options=q,this._layers.forEach(function(me){me instanceof L.LayerGroup?-1===ne.indexOf(me._leaflet_id)&&(ne.push(me._leaflet_id),me.pm.enable(q,ne)):me.pm.enable(q)})},disable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];0===q.length&&(this._layers=this.getLayers()),this._layers.forEach(function(ne){ne instanceof L.LayerGroup?-1===q.indexOf(ne._leaflet_id)&&(q.push(ne._leaflet_id),ne.pm.disable(q)):ne.pm.disable()})},enabled:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];0===q.length&&(this._layers=this.getLayers());var ne=this._layers.find(function(me){return me instanceof L.LayerGroup?-1===q.indexOf(me._leaflet_id)&&(q.push(me._leaflet_id),me.pm.enabled(q)):me.pm.enabled()});return!!ne},toggleEdit:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];0===ne.length&&(this._layers=this.getLayers()),this._options=q,this._layers.forEach(function(me){me instanceof L.LayerGroup?-1===ne.indexOf(me._leaflet_id)&&(ne.push(me._leaflet_id),me.pm.toggleEdit(q,ne)):me.pm.toggleEdit(q)})},_initLayer:function(q){var ne=L.Util.stamp(this._layerGroup);q.pm._parentLayerGroup||(q.pm._parentLayerGroup={}),q.pm._parentLayerGroup[ne]=this._layerGroup},_removeLayerFromGroup:function(q){if(q.pm&&q.pm._layerGroup){var ne=L.Util.stamp(this._layerGroup);delete q.pm._layerGroup[ne]}},dragging:function(){return this._layers=this.getLayers(),!!this._layers&&!!this._layers.find(function(ne){return ne.pm.dragging()})},getOptions:function(){return this.options},_getMap:function(){var q;return this._map||(null===(q=this._layers.find(function(ne){return!!ne._map}))||void 0===q?void 0:q._map)||null},getLayers:function(){var q=arguments.length>0&&void 0!==arguments[0]&&arguments[0],ne=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],me=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],Be=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],et=[];return q?this._layerGroup.getLayers().forEach(function(It){et.push(It),It instanceof L.LayerGroup&&-1===Be.indexOf(It._leaflet_id)&&(Be.push(It._leaflet_id),et=et.concat(It.pm.getLayers(!0,!0,!0,Be)))}):et=this._layerGroup.getLayers(),me&&(et=et.filter(function(It){return!(It instanceof L.LayerGroup)})),ne&&(et=(et=(et=et.filter(function(It){return!!It.pm})).filter(function(It){return!It._pmTempLayer})).filter(function(It){return!L.PM.optIn&&!It.options.pmIgnore||L.PM.optIn&&!1===It.options.pmIgnore})),et},setOptions:function(q){var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];0===ne.length&&(this._layers=this.getLayers()),this.options=q,this._layers.forEach(function(me){me.pm&&(me instanceof L.LayerGroup?-1===ne.indexOf(me._leaflet_id)&&(ne.push(me._leaflet_id),me.pm.setOptions(q,ne)):me.pm.setOptions(q))})}}),Or.Marker=Or.extend({_shape:"Marker",initialize:function(q){this._layer=q,this._enabled=!1,this._layer.on("dragend",this._onDragEnd,this)},enable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{draggable:!0};L.Util.setOptions(this,q),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._fireEnable()):this.disable()},disable:function(){this.enabled()&&(this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this._layer.off("contextmenu",this._removeMarker,this),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1)},enabled:function(){return this._enabled},toggleEdit:function(q){this.enabled()?this.disable():this.enable(q)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this.options.draggable?this.enableLayerDrag():this.disableLayerDrag(),this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_removeMarker:function(q){var ne=q.target;ne.remove(),this._fireRemove(ne),this._fireRemove(this._map,ne)},_onDragEnd:function(){this._fireEdit(),this._layerEdited=!0},_initSnappableMarkers:function(){var q=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=void 0===this.options.snapSegment||this.options.snapSegment,q.off("pm:drag",this._handleSnapping,this),q.on("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.on("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this),q.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var q=this._layer;q.off("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this)}});const ba={filterMarkerGroup:function(){this.markerCache=[],this.createCache(),this._layer.on("pm:edit",this.createCache,this),this.applyLimitFilters({}),this.throttledApplyLimitFilters||(this.throttledApplyLimitFilters=L.Util.throttle(this.applyLimitFilters,100,this)),this._layer.on("pm:disable",this._removeMarkerLimitEvents,this),this.options.limitMarkersToCount>-1&&(this._layer.on("pm:vertexremoved",this._initMarkers,this),this._map.on("mousemove",this.throttledApplyLimitFilters,this))},_removeMarkerLimitEvents:function(){this._map.off("mousemove",this.throttledApplyLimitFilters,this),this._layer.off("pm:edit",this.createCache,this),this._layer.off("pm:disable",this._removeMarkerLimitEvents,this),this._layer.off("pm:vertexremoved",this._initMarkers,this)},createCache:function(){var q=[].concat(rs(this._markerGroup.getLayers()),rs(this.markerCache));this.markerCache=q.filter(function(ne,me,Be){return Be.indexOf(ne)===me})},renderLimits:function(q){var ne=this;this.markerCache.forEach(function(me){q.includes(me)?ne._markerGroup.addLayer(me):ne._markerGroup.removeLayer(me)})},applyLimitFilters:function(q){var ne=q.latlng,me=void 0===ne?{lat:0,lng:0}:ne;if(!this._preventRenderMarkers){var Be=rs(this._filterClosestMarkers(me));this.renderLimits(Be)}},_filterClosestMarkers:function(q){var ne=rs(this.markerCache),me=this.options.limitMarkersToCount;return-1===me?ne:(ne.sort(function(Be,et){return Be._latlng.distanceTo(q)-et._latlng.distanceTo(q)}),ne.filter(function(Be,et){return!(me>-1)||et<me}))},_preventRenderMarkers:!1,_preventRenderingMarkers:function(q){this._preventRenderMarkers=!!q}};function Ws(q,ne){(null==ne||ne>q.length)&&(ne=q.length);for(var me=0,Be=new Array(ne);me<ne;me++)Be[me]=q[me];return Be}function js(q,ne){(null==ne||ne>q.length)&&(ne=q.length);for(var me=0,Be=new Array(ne);me<ne;me++)Be[me]=q[me];return Be}Or.Line=Or.extend({includes:[ba],_shape:"Line",initialize:function(q){this._layer=q,this._enabled=!1},enable:function(q){L.Util.setOptions(this,q),this._map=this._layer._map,this._map&&(this.options.allowEditing?(this.enabled()&&this.disable(),this._enabled=!0,this._initMarkers(),this.applyOptions(),this._layer.on("remove",this.disable,this),this.options.allowSelfIntersection||this._layer.on("pm:vertexremoved",this._handleSelfIntersectionOnVertexRemoval,this),this.options.allowSelfIntersection?this.cachedColor=void 0:("#f00000ff"!==this._layer.options.color?(this.cachedColor=this._layer.options.color,this.isRed=!1):this.isRed=!0,this._handleLayerStyle()),this._fireEnable()):this.disable())},disable:function(){if(this.enabled()&&!this._dragging){this._enabled=!1,this._markerGroup.clearLayers(),this._markerGroup.removeFrom(this._map),this._layer.off("remove",this.disable,this),this.options.allowSelfIntersection||this._layer.off("pm:vertexremoved",this._handleSelfIntersectionOnVertexRemoval,this);var q=this._layer._path?this._layer._path:this._layer._renderer._container;L.DomUtil.removeClass(q,"leaflet-pm-draggable"),this._map.hasLayer(this._layer)&&!this.hasSelfIntersection()||L.DomUtil.removeClass(q,"leaflet-pm-invalid"),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()}},enabled:function(){return this._enabled},toggleEdit:function(q){return this.enabled()?this.disable():this.enable(q),this.enabled()},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping()},_initMarkers:function(){var q=this,ne=this._map,me=this._layer.getLatLngs();this._markerGroup&&this._markerGroup.clearLayers(),this._markerGroup=new L.FeatureGroup,this._markerGroup._pmTempLayer=!0,this._markers=function Be(et){if(Array.isArray(et[0]))return et.map(Be,q);var It=et.map(q._createMarker,q);return!0!==q.options.hideMiddleMarkers&&et.map(function(Ut,Wt){var Pt=q.isPolygon()?(Wt+1)%et.length:Wt+1;return q._createMiddleMarker(It[Wt],It[Pt])}),It}(me),this.filterMarkerGroup(),ne.addLayer(this._markerGroup)},_createMarker:function(q){var ne=new L.Marker(q,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(ne,"vertexPane"),ne._pmTempLayer=!0,this.options.rotate?(ne.on("dragstart",this._onRotateStart,this),ne.on("drag",this._onRotate,this),ne.on("dragend",this._onRotateEnd,this)):(ne.on("click",this._onVertexClick,this),ne.on("dragstart",this._onMarkerDragStart,this),ne.on("move",this._onMarkerDrag,this),ne.on("dragend",this._onMarkerDragEnd,this),this.options.preventMarkerRemoval||ne.on(this.options.removeVertexOn,this._removeMarker,this)),this._markerGroup.addLayer(ne),ne},_createMiddleMarker:function(q,ne){if(!q||!ne)return!1;var me=L.PM.Utils.calcMiddleLatLng(this._map,q.getLatLng(),ne.getLatLng()),Be=this._createMarker(me),et=L.divIcon({className:"marker-icon marker-icon-middle"});return Be.setIcon(et),Be.leftM=q,Be.rightM=ne,q._middleMarkerNext=Be,ne._middleMarkerPrev=Be,Be.on(this.options.addVertexOn,this._onMiddleMarkerClick,this),Be.on("movestart",this._onMiddleMarkerMoveStart,this),Be},_onMiddleMarkerClick:function(q){var ne=q.target;if(this._vertexValidation("add",q)){var me=L.divIcon({className:"marker-icon"});ne.setIcon(me),this._addMarker(ne,ne.leftM,ne.rightM)}},_onMiddleMarkerMoveStart:function(q){var ne=q.target;ne.on("moveend",this._onMiddleMarkerMoveEnd,this),this._vertexValidation("add",q)?(ne._dragging=!0,this._addMarker(ne,ne.leftM,ne.rightM)):ne.on("move",this._onMiddleMarkerMovePrevent,this)},_onMiddleMarkerMovePrevent:function(q){var ne=q.target;this._vertexValidationDrag(ne)},_onMiddleMarkerMoveEnd:function(q){var ne=q.target;if(ne.off("move",this._onMiddleMarkerMovePrevent,this),ne.off("moveend",this._onMiddleMarkerMoveEnd,this),this._vertexValidationDragEnd(ne)){var me=L.divIcon({className:"marker-icon"});ne.setIcon(me),setTimeout(function(){delete ne._dragging},100)}},_addMarker:function(q,ne,me){q.off("movestart",this._onMiddleMarkerMoveStart,this),q.off(this.options.addVertexOn,this._onMiddleMarkerClick,this);var Be=q.getLatLng(),et=this._layer._latlngs;delete q.leftM,delete q.rightM;var It=L.PM.Utils.findDeepMarkerIndex(this._markers,ne),Ut=It.indexPath,Wt=It.index,Pt=It.parentPath,Et=Ut.length>1?vt()(et,Pt):et,Dn=Ut.length>1?vt()(this._markers,Pt):this._markers;Et.splice(Wt+1,0,Be),Dn.splice(Wt+1,0,q),this._layer.setLatLngs(et),!0!==this.options.hideMiddleMarkers&&(this._createMiddleMarker(ne,q),this._createMiddleMarker(q,me)),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"),this._fireVertexAdded(q,L.PM.Utils.findDeepMarkerIndex(this._markers,q).indexPath,Be),this.options.snappable&&this._initSnappableMarkers()},hasSelfIntersection:function(){return Hi(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersectionOnVertexRemoval:function(){this._handleLayerStyle(!0),this.hasSelfIntersection()&&(this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers())},_handleLayerStyle:function(q){var ne=this._layer;if(this.hasSelfIntersection()){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!0),this.isRed)return;q?this._flashLayer():(ne.setStyle({color:"#f00000ff"}),this.isRed=!0),this._fireIntersect(Hi(this._layer.toGeoJSON(15)))}else ne.setStyle({color:this.cachedColor}),this.isRed=!1,!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!1)},_flashLayer:function(){var q=this;this.cachedColor||(this.cachedColor=this._layer.options.color),this._layer.setStyle({color:"#f00000ff"}),this.isRed=!0,window.setTimeout(function(){q._layer.setStyle({color:q.cachedColor}),q.isRed=!1},200)},_updateDisabledMarkerStyle:function(q,ne){var me=this;q.forEach(function(Be){Array.isArray(Be)?me._updateDisabledMarkerStyle(Be,ne):Be._icon&&(ne&&!me._checkMarkerAllowedToDrag(Be)?L.DomUtil.addClass(Be._icon,"vertexmarker-disabled"):L.DomUtil.removeClass(Be._icon,"vertexmarker-disabled"))})},_removeMarker:function(q){var ne=q.target;if(this._vertexValidation("remove",q)){this.options.allowSelfIntersection||(this._coordsBeforeEdit=si(this._layer,this._layer.getLatLngs()));var me=this._layer.getLatLngs(),Be=L.PM.Utils.findDeepMarkerIndex(this._markers,ne),et=Be.indexPath,It=Be.index,Ut=Be.parentPath;if(et){var Wt=et.length>1?vt()(me,Ut):me,Pt=et.length>1?vt()(this._markers,Ut):this._markers;if(this.options.removeLayerBelowMinVertexCount||!(Wt.length<=2||this.isPolygon()&&Wt.length<=3)){Wt.splice(It,1),this._layer.setLatLngs(me),this.isPolygon()&&Wt.length<=2&&Wt.splice(0,Wt.length);var Et=!1;if(Wt.length<=1&&(Wt.splice(0,Wt.length),Ut.length>1&&et.length>1&&(me=hn(me)),this._layer.setLatLngs(me),this._initMarkers(),Et=!0),_n(me)||this._layer.remove(),me=hn(me),this._layer.setLatLngs(me),this._markers=hn(this._markers),!Et&&(Pt=et.length>1?vt()(this._markers,Ut):this._markers,ne._middleMarkerPrev&&this._markerGroup.removeLayer(ne._middleMarkerPrev),ne._middleMarkerNext&&this._markerGroup.removeLayer(ne._middleMarkerNext),this._markerGroup.removeLayer(ne),Pt)){var Dn,Ln;if(this.isPolygon()?(Dn=(It+1)%Pt.length,Ln=(It+(Pt.length-1))%Pt.length):(Ln=It-1<0?void 0:It-1,Dn=It+1>=Pt.length?void 0:It+1),Dn!==Ln){var An=Pt[Ln],Qn=Pt[Dn];!0!==this.options.hideMiddleMarkers&&this._createMiddleMarker(An,Qn)}Pt.splice(It,1)}this._fireEdit(),this._layerEdited=!0,this._fireVertexRemoved(ne,et),this._fireChange(this._layer.getLatLngs(),"Edit")}else this._flashLayer()}}},updatePolygonCoordsFromMarkerDrag:function(q){var ne=this._layer.getLatLngs(),me=q.getLatLng(),Be=L.PM.Utils.findDeepMarkerIndex(this._markers,q),et=Be.indexPath,It=Be.index,Ut=Be.parentPath;(et.length>1?vt()(ne,Ut):ne).splice(It,1,me),this._layer.setLatLngs(ne)},_getNeighborMarkers:function(q){var ne=L.PM.Utils.findDeepMarkerIndex(this._markers,q),me=ne.indexPath,Be=ne.index,et=ne.parentPath,It=me.length>1?vt()(this._markers,et):this._markers,Ut=(Be+1)%It.length;return{prevMarker:It[(Be+(It.length-1))%It.length],nextMarker:It[Ut]}},_checkMarkerAllowedToDrag:function(q){var ne=this._getNeighborMarkers(q),me=ne.prevMarker,Be=ne.nextMarker,et=L.polyline([me.getLatLng(),q.getLatLng()]),It=L.polyline([q.getLatLng(),Be.getLatLng()]),Ut=di(this._layer.toGeoJSON(15),et.toGeoJSON(15)).features.length,Wt=di(this._layer.toGeoJSON(15),It.toGeoJSON(15)).features.length;return q.getLatLng()===this._markers[0][0].getLatLng()?Wt+=1:q.getLatLng()===this._markers[0][this._markers[0].length-1].getLatLng()&&(Ut+=1),!(Ut<=2&&Wt<=2)},_onMarkerDragStart:function(q){var ne=q.target;if(this.cachedColor||(this.cachedColor=this._layer.options.color),this._vertexValidation("move",q)){var me=L.PM.Utils.findDeepMarkerIndex(this._markers,ne).indexPath;this._fireMarkerDragStart(q,me),this.options.allowSelfIntersection||(this._coordsBeforeEdit=si(this._layer,this._layer.getLatLngs())),!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()?this._markerAllowedToDrag=this._checkMarkerAllowedToDrag(ne):this._markerAllowedToDrag=null}},_onMarkerDrag:function(q){var ne=q.target;if(this._vertexValidationDrag(ne)){var me=L.PM.Utils.findDeepMarkerIndex(this._markers,ne),Be=me.indexPath,et=me.index,It=me.parentPath;if(Be){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()&&!1===this._markerAllowedToDrag)return this._layer.setLatLngs(this._coordsBeforeEdit),this._initMarkers(),void this._handleLayerStyle();this.updatePolygonCoordsFromMarkerDrag(ne);var Ut=Be.length>1?vt()(this._markers,It):this._markers,Wt=(et+1)%Ut.length,Pt=(et+(Ut.length-1))%Ut.length,Et=ne.getLatLng(),Dn=Ut[Pt].getLatLng(),Ln=Ut[Wt].getLatLng();if(ne._middleMarkerNext){var An=L.PM.Utils.calcMiddleLatLng(this._map,Et,Ln);ne._middleMarkerNext.setLatLng(An)}if(ne._middleMarkerPrev){var Qn=L.PM.Utils.calcMiddleLatLng(this._map,Et,Dn);ne._middleMarkerPrev.setLatLng(Qn)}this.options.allowSelfIntersection||this._handleLayerStyle(),this._fireMarkerDrag(q,Be),this._fireChange(this._layer.getLatLngs(),"Edit")}}},_onMarkerDragEnd:function(q){var ne=q.target;if(this._vertexValidationDragEnd(ne)){var me=L.PM.Utils.findDeepMarkerIndex(this._markers,ne).indexPath,Be=this.hasSelfIntersection();Be&&this.options.allowSelfIntersectionEdit&&this._markerAllowedToDrag&&(Be=!1);var et=!this.options.allowSelfIntersection&&Be;if(this._fireMarkerDragEnd(q,me,et),et)return this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers(),this.options.snappable&&this._initSnappableMarkers(),this._handleLayerStyle(),void this._fireLayerReset(q,me);!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._handleLayerStyle(),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit")}},_onVertexClick:function(q){var ne=q.target;if(!ne._dragging){var me=L.PM.Utils.findDeepMarkerIndex(this._markers,ne).indexPath;this._fireVertexClick(q,me)}}}),Or.Polygon=Or.Line.extend({_shape:"Polygon",_checkMarkerAllowedToDrag:function(q){var ne=this._getNeighborMarkers(q),me=ne.prevMarker,Be=ne.nextMarker,et=L.polyline([me.getLatLng(),q.getLatLng()]),It=L.polyline([q.getLatLng(),Be.getLatLng()]),Ut=di(this._layer.toGeoJSON(15),et.toGeoJSON(15)).features.length,Wt=di(this._layer.toGeoJSON(15),It.toGeoJSON(15)).features.length;return!(Ut<=2&&Wt<=2)}}),Or.Rectangle=Or.Polygon.extend({_shape:"Rectangle",_initMarkers:function(){var q=this,ne=this._map,me=this._findCorners();this._markerGroup&&this._markerGroup.clearLayers(),this._markerGroup=new L.FeatureGroup,this._markerGroup._pmTempLayer=!0,ne.addLayer(this._markerGroup),this._markers=[],this._markers[0]=me.map(this._createMarker,this);var Be=function xs(q,ne){return function(me){if(Array.isArray(me))return me}(q)||function(me,Be){var et=null==me?null:"undefined"!=typeof Symbol&&me[Symbol.iterator]||me["@@iterator"];if(null!=et){var It,Ut,Wt=[],Pt=!0,Et=!1;try{for(et=et.call(me);!(Pt=(It=et.next()).done)&&(Wt.push(It.value),!Be||Wt.length!==Be);Pt=!0);}catch(Dn){Et=!0,Ut=Dn}finally{try{Pt||null==et.return||et.return()}finally{if(Et)throw Ut}}return Wt}}(q,ne)||function(me,Be){if(me){if("string"==typeof me)return Ws(me,Be);var et=Object.prototype.toString.call(me).slice(8,-1);if("Object"===et&&me.constructor&&(et=me.constructor.name),"Map"===et||"Set"===et)return Array.from(me);if("Arguments"===et||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(et))return Ws(me,Be)}}(q,ne)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this._markers,1);this._cornerMarkers=Be[0],this._layer.getLatLngs()[0].forEach(function(et,It){var Ut=q._cornerMarkers.find(function(Wt){return Wt._index===It});Ut&&Ut.setLatLng(et)})},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this._addMarkerEvents()},_createMarker:function(q,ne){var me=new L.Marker(q,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(me,"vertexPane"),me._origLatLng=q,me._index=ne,me._pmTempLayer=!0,this._markerGroup.addLayer(me),me},_addMarkerEvents:function(){var q=this;this._markers[0].forEach(function(ne){ne.on("dragstart",q._onMarkerDragStart,q),ne.on("drag",q._onMarkerDrag,q),ne.on("dragend",q._onMarkerDragEnd,q),q.options.preventMarkerRemoval||ne.on("contextmenu",q._removeMarker,q)})},_removeMarker:function(){return null},_onMarkerDragStart:function(q){if(this._vertexValidation("move",q)){var ne=q.target,me=this._cornerMarkers;ne._oppositeCornerLatLng=me.find(function(Be){return Be._index===(ne._index+2)%4}).getLatLng(),ne._snapped=!1,this._fireMarkerDragStart(q)}},_onMarkerDrag:function(q){var ne=q.target;this._vertexValidationDrag(ne)&&void 0!==ne._index&&(this._adjustRectangleForMarkerMove(ne),this._fireMarkerDrag(q),this._fireChange(this._layer.getLatLngs(),"Edit"))},_onMarkerDragEnd:function(q){var ne=q.target;this._vertexValidationDragEnd(ne)&&(this._cornerMarkers.forEach(function(me){delete me._oppositeCornerLatLng}),this._fireMarkerDragEnd(q),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"))},_adjustRectangleForMarkerMove:function(q){L.extend(q._origLatLng,q._latlng);var ne=L.PM.Utils._getRotatedRectangle(q.getLatLng(),q._oppositeCornerLatLng,this._angle||0,this._map);this._layer.setLatLngs(ne),this._adjustAllMarkers(),this._layer.redraw()},_adjustAllMarkers:function(){var q=this,ne=this._layer.getLatLngs()[0];ne&&4!==ne.length&&ne.length>0?(ne.forEach(function(me,Be){q._cornerMarkers[Be].setLatLng(me)}),this._cornerMarkers.slice(ne.length).forEach(function(me){me.setLatLng(ne[0])})):ne&&ne.length?this._cornerMarkers.forEach(function(me){me.setLatLng(ne[me._index])}):console.error("The layer has no LatLngs")},_findCorners:function(){var q=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(q[0],q[2],this._angle||0,this._map)}}),Or.Circle=Or.extend({_shape:"Circle",initialize:function(q){this._layer=q,this._enabled=!1,this._updateHiddenPolyCircle()},enable:function(q){L.Util.setOptions(this,q),this._map=this._layer._map,this.options.allowEditing?(this.enabled()||this.disable(),this._enabled=!0,this._initMarkers(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._updateHiddenPolyCircle(),this._fireEnable()):this.disable()},disable:function(){if(this.enabled()&&!this._dragging){this._centerMarker.off("dragstart",this._onCircleDragStart,this),this._centerMarker.off("drag",this._onCircleDrag,this),this._centerMarker.off("dragend",this._onCircleDragEnd,this),this._outerMarker.off("drag",this._handleOuterMarkerSnapping,this),this._layer.off("remove",this.disable,this),this._enabled=!1,this._helperLayers.clearLayers();var q=this._layer._path?this._layer._path:this._layer._renderer._container;L.DomUtil.removeClass(q,"leaflet-pm-draggable"),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()}},enabled:function(){return this._enabled},toggleEdit:function(q){this.enabled()?this.disable():this.enable(q)},_initMarkers:function(){var q=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(q);var ne=this._layer.getLatLng(),me=this._layer._radius,Be=this._getLatLngOnCircle(ne,me);this._centerMarker=this._createCenterMarker(ne),this._outerMarker=this._createOuterMarker(Be),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},applyOptions:function(){this.options.snappable?(this._initSnappableMarkers(),this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this),this._outerMarker.on("move",this._syncHintLine,this),this._outerMarker.on("move",this._syncCircleRadius,this),this._centerMarker.on("move",this._moveCircle,this)):this._disableSnapping()},_createHintLine:function(q,ne){var me=q.getLatLng(),Be=ne.getLatLng();this._hintline=L.polyline([me,Be],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker:function(q){var ne=this._createMarker(q);return L.DomUtil.addClass(ne._icon,"leaflet-pm-draggable"),ne.on("drag",this._moveCircle,this),ne.on("dragstart",this._onCircleDragStart,this),ne.on("drag",this._onCircleDrag,this),ne.on("dragend",this._onCircleDragEnd,this),ne},_createOuterMarker:function(q){var ne=this._createMarker(q);return ne.on("drag",this._resizeCircle,this),ne},_createMarker:function(q){var ne=new L.Marker(q,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(ne,"vertexPane"),ne._origLatLng=q,ne._pmTempLayer=!0,ne.on("dragstart",this._onMarkerDragStart,this),ne.on("drag",this._onMarkerDrag,this),ne.on("dragend",this._onMarkerDragEnd,this),this._helperLayers.addLayer(ne),ne},_resizeCircle:function(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_moveCircle:function(q){if(!q.target._cancelDragEventChain){var ne=q.latlng;this._layer.setLatLng(ne);var me=this._layer._radius,Be=this._getLatLngOnCircle(ne,me);this._outerMarker._latlng=Be,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")}},_syncCircleRadius:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.distance(q,ne);this.options.minRadiusCircle&&me<this.options.minRadiusCircle?this._layer.setRadius(this.options.minRadiusCircle):this.options.maxRadiusCircle&&me>this.options.maxRadiusCircle?this._layer.setRadius(this.options.maxRadiusCircle):this._layer.setRadius(me),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng();this._hintline.setLatLngs([q,ne])},_disableSnapping:function(){var q=this;this._markers.forEach(function(ne){ne.off("move",q._syncHintLine,q),ne.off("move",q._syncCircleRadius,q),ne.off("drag",q._handleSnapping,q),ne.off("dragend",q._cleanupSnapping,q)}),this._layer.off("pm:dragstart",this._unsnap,this)},_onMarkerDragStart:function(q){this._vertexValidation("move",q)&&this._fireMarkerDragStart(q)},_onMarkerDrag:function(q){var ne=q.target;this._vertexValidationDrag(ne)&&this._fireMarkerDrag(q)},_onMarkerDragEnd:function(q){var ne=q.target;this._vertexValidationDragEnd(ne)&&(this._fireEdit(),this._layerEdited=!0,this._fireMarkerDragEnd(q))},_onCircleDragStart:function(q){this._vertexValidationDrag(q.target)?(delete this._vertexValidationReset,this._fireDragStart()):this._vertexValidationReset=!0},_onCircleDrag:function(q){this._vertexValidationReset||this._fireDrag(q)},_onCircleDragEnd:function(){this._vertexValidationReset?delete this._vertexValidationReset:this._fireDragEnd()},_updateHiddenPolyCircle:function(){var q=this._map&&this._map.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(this._layer,200,!q).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(this._layer,200,!q),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)},_getLatLngOnCircle:function(q,ne){var me=this._map.project(q),Be=L.point(me.x+ne,me.y);return this._map.unproject(Be)},_getNewDestinationOfOuterMarker:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.distance(q,ne);return this.options.minRadiusCircle&&me<this.options.minRadiusCircle?ne=dn(this._map,q,ne,this.options.minRadiusCircle):this.options.maxRadiusCircle&&me>this.options.maxRadiusCircle&&(ne=dn(this._map,q,ne,this.options.maxRadiusCircle)),ne},_handleOuterMarkerSnapping:function(){if(this._outerMarker._snapped){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.distance(q,ne);(this.options.minRadiusCircle&&me<this.options.minRadiusCircle||this.options.maxRadiusCircle&&me>this.options.maxRadiusCircle)&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())}}),Or.CircleMarker=Or.extend({_shape:"CircleMarker",initialize:function(q){this._layer=q,this._enabled=!1,this._updateHiddenPolyCircle()},enable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,q),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._layer.on("pm:dragstart",this._onDragStart,this),this._layer.on("pm:drag",this._onMarkerDrag,this),this._layer.on("pm:dragend",this._onMarkerDragEnd,this),this._updateHiddenPolyCircle(),this._fireEnable()):this.disable()},disable:function(){this._dragging||(this._helperLayers&&this._helperLayers.clearLayers(),this._map||(this._map=this._layer._map),this._map||(this.options.editable?(this._map.off("move",this._syncMarkers,this),this._outerMarker&&this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this)):this._map.off("move",this._updateHiddenPolyCircle,this)),this.disableLayerDrag(),this._layer.off("contextmenu",this._removeMarker,this),this._layer.off("remove",this.disable,this),this.enabled()&&(this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()),this._enabled=!1)},enabled:function(){return this._enabled},toggleEdit:function(q){this.enabled()?this.disable():this.enable(q)},applyOptions:function(){!this.options.editable&&this.options.draggable?this.enableLayerDrag():this.disableLayerDrag(),this.options.editable?(this._initMarkers(),this._map.on("move",this._syncMarkers,this)):this._map.on("move",this._updateHiddenPolyCircle,this),this.options.snappable?this.options.editable?(this._initSnappableMarkers(),this._centerMarker.on("drag",this._moveCircle,this),this.options.editable&&this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this),this._outerMarker.on("move",this._syncHintLine,this),this._outerMarker.on("move",this._syncCircleRadius,this)):this._initSnappableMarkersDrag():this.options.editable?this._disableSnapping():this._disableSnappingDrag(),this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_initMarkers:function(){var q=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(q);var ne=this._layer.getLatLng(),me=this._layer._radius,Be=this._getLatLngOnCircle(ne,me);this._centerMarker=this._createCenterMarker(ne),this._outerMarker=this._createOuterMarker(Be),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},_getLatLngOnCircle:function(q,ne){var me=this._map.project(q),Be=L.point(me.x+ne,me.y);return this._map.unproject(Be)},_createHintLine:function(q,ne){var me=q.getLatLng(),Be=ne.getLatLng();this._hintline=L.polyline([me,Be],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker:function(q){var ne=this._createMarker(q);return this.options.draggable?L.DomUtil.addClass(ne._icon,"leaflet-pm-draggable"):ne.dragging.disable(),ne},_createOuterMarker:function(q){var ne=this._createMarker(q);return ne.on("drag",this._resizeCircle,this),ne},_createMarker:function(q){var ne=new L.Marker(q,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(ne,"vertexPane"),ne._origLatLng=q,ne._pmTempLayer=!0,ne.on("dragstart",this._onMarkerDragStart,this),ne.on("drag",this._onMarkerDrag,this),ne.on("dragend",this._onMarkerDragEnd,this),this._helperLayers.addLayer(ne),ne},_moveCircle:function(){var q=this._centerMarker.getLatLng();this._layer.setLatLng(q);var ne=this._layer._radius,me=this._getLatLngOnCircle(q,ne);this._outerMarker._latlng=me,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")},_syncMarkers:function(){var q=this._layer.getLatLng(),ne=this._layer._radius,me=this._getLatLngOnCircle(q,ne);this._outerMarker.setLatLng(me),this._centerMarker.setLatLng(q),this._syncHintLine(),this._updateHiddenPolyCircle()},_resizeCircle:function(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_syncCircleRadius:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.project(q).distanceTo(this._map.project(ne));this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker?this._layer.setRadius(this.options.minRadiusCircleMarker):this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker?this._layer.setRadius(this.options.maxRadiusCircleMarker):this._layer.setRadius(me),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng();this._hintline.setLatLngs([q,ne])},_removeMarker:function(){this.options.editable&&this.disable(),this._layer.remove(),this._fireRemove(this._layer),this._fireRemove(this._map,this._layer)},_onDragStart:function(){this._map.pm.Draw.CircleMarker._layerIsDragging=!0},_onMarkerDragStart:function(q){this._vertexValidation("move",q)&&this._fireMarkerDragStart(q)},_onMarkerDrag:function(q){var ne=q.target;ne instanceof L.Marker&&!this._vertexValidationDrag(ne)||this._fireMarkerDrag(q)},_onMarkerDragEnd:function(q){this._map.pm.Draw.CircleMarker._layerIsDragging=!1;var ne=q.target;this._vertexValidationDragEnd(ne)&&(this.options.editable&&(this._fireEdit(),this._layerEdited=!0),this._fireMarkerDragEnd(q))},_initSnappableMarkersDrag:function(){var q=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=void 0===this.options.snapSegment||this.options.snapSegment,q.off("pm:drag",this._handleSnapping,this),q.on("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.on("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this),q.on("pm:dragstart",this._unsnap,this)},_disableSnappingDrag:function(){var q=this._layer;q.off("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this)},_updateHiddenPolyCircle:function(){var q=this._layer._map||this._map;if(q){var ne=L.PM.Utils.pxRadiusToMeterRadius(this._layer.getRadius(),q,this._layer.getLatLng()),me=L.circle(this._layer.getLatLng(),this._layer.options);me.setRadius(ne);var Be=q&&q.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(me,200,!Be).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(me,200,!Be),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)}},_getNewDestinationOfOuterMarker:function(){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.project(q).distanceTo(this._map.project(ne));return this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker?ne=dn(this._map,q,ne,L.PM.Utils.pxRadiusToMeterRadius(this.options.minRadiusCircleMarker,this._map,q)):this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker&&(ne=dn(this._map,q,ne,L.PM.Utils.pxRadiusToMeterRadius(this.options.maxRadiusCircleMarker,this._map,q))),ne},_handleOuterMarkerSnapping:function(){if(this._outerMarker._snapped){var q=this._centerMarker.getLatLng(),ne=this._outerMarker.getLatLng(),me=this._map.project(q).distanceTo(this._map.project(ne));(this.options.minRadiusCircleMarker&&me<this.options.minRadiusCircleMarker||this.options.maxRadiusCircleMarker&&me>this.options.maxRadiusCircleMarker)&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())}}),Or.ImageOverlay=Or.extend({_shape:"ImageOverlay",initialize:function(q){this._layer=q,this._enabled=!1},toggleEdit:function(q){this.enabled()?this.disable():this.enable(q)},enabled:function(){return this._enabled},enable:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,q),this._map=this._layer._map,this._map&&(this.options.allowEditing?(this.enabled()||this.disable(),this.enableLayerDrag(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._otherSnapLayers=this._findCorners(),this._fireEnable()):this.disable())},disable:function(){this._dragging||(this._map||(this._map=this._layer._map),this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this.enabled()||(this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()),this._enabled=!1)},_findCorners:function(){var q=this._layer.getBounds();return[q.getNorthWest(),q.getNorthEast(),q.getSouthEast(),q.getSouthWest()]}}),Or.Text=Or.extend({_shape:"Text",initialize:function(q){this._layer=q,this._enabled=!1},enable:function(q){L.Util.setOptions(this,q),this.textArea&&(this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._safeToCacheDragState=!0,this._focusChange(),this.textArea.readOnly=!1,this.textArea.classList.remove("pm-disabled"),this._layer.on("remove",this.disable,this),L.DomEvent.on(this.textArea,"input",this._autoResize,this),L.DomEvent.on(this.textArea,"focus",this._focusChange,this),L.DomEvent.on(this.textArea,"blur",this._focusChange,this),this._layer.on("dblclick",L.DomEvent.stop),L.DomEvent.off(this.textArea,"mousedown",this._preventTextSelection),this._enabled=!0,this._fireEnable()):this.disable())},disable:function(){if(this.enabled()){this._layer.off("remove",this.disable,this),L.DomEvent.off(this.textArea,"input",this._autoResize,this),L.DomEvent.off(this.textArea,"focus",this._focusChange,this),L.DomEvent.off(this.textArea,"blur",this._focusChange,this),L.DomEvent.off(document,"click",this._documentClick,this),this._focusChange(),this.textArea.readOnly=!0,this.textArea.classList.add("pm-disabled");var q=document.activeElement;this.textArea.focus(),this.textArea.selectionStart=0,this.textArea.selectionEnd=0,L.DomEvent.on(this.textArea,"mousedown",this._preventTextSelection),q.focus(),this._disableOnBlurActive=!1,this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1}},enabled:function(){return this._enabled},toggleEdit:function(q){this.enabled()?this.disable():this.enable(q)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping()},_initSnappableMarkers:function(){var q=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=void 0===this.options.snapSegment||this.options.snapSegment,q.off("pm:drag",this._handleSnapping,this),q.on("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.on("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this),q.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var q=this._layer;q.off("pm:drag",this._handleSnapping,this),q.off("pm:dragend",this._cleanupSnapping,this),q.off("pm:dragstart",this._unsnap,this)},_autoResize:function(){this.textArea.style.height="1px",this.textArea.style.width="1px";var q=this.textArea.scrollHeight>21?this.textArea.scrollHeight:21,ne=this.textArea.scrollWidth>16?this.textArea.scrollWidth:16;this.textArea.style.height="".concat(q,"px"),this.textArea.style.width="".concat(ne,"px"),this._layer.options.text=this.getText(),this._fireTextChange(this.getText())},_disableOnBlur:function(){var q=this;this._disableOnBlurActive=!0,setTimeout(function(){q.enabled()&&L.DomEvent.on(document,"click",q._documentClick,q)},100)},_documentClick:function(q){q.target!==this.textArea&&(this.disable(),!this.getText()&&this.options.removeIfEmpty&&this.remove())},_focusChange:function(){var q=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ne=this._hasFocus;this._hasFocus="focus"===q.type,!ne!=!this._hasFocus&&(this._hasFocus?(this._applyFocus(),this._focusText=this.getText(),this._fireTextFocus()):(this._removeFocus(),this._fireTextBlur(),this._focusText!==this.getText()&&(this._fireEdit(),this._layerEdited=!0)))},_applyFocus:function(){this.textArea.classList.add("pm-hasfocus"),this._map.dragging&&(this._safeToCacheDragState&&(this._originalMapDragState=this._map.dragging._enabled,this._safeToCacheDragState=!1),this._map.dragging.disable())},_removeFocus:function(){this._map.dragging&&(this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0),this.textArea.classList.remove("pm-hasfocus")},focus:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.focus()},blur:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.blur(),this._disableOnBlurActive&&this.disable()},hasFocus:function(){return this._hasFocus},getElement:function(){return this.textArea},setText:function(q){this.textArea.value=q,this._autoResize()},getText:function(){return this.textArea.value},_initTextMarker:function(){if(this.textArea=L.PM.Draw.Text.prototype._createTextArea.call(this),this.options.className){var q,ne=this.options.className.split(" ");(q=this.textArea.classList).add.apply(q,function aa(q){return function(ne){if(Array.isArray(ne))return js(ne)}(q)||function(ne){if("undefined"!=typeof Symbol&&null!=ne[Symbol.iterator]||null!=ne["@@iterator"])return Array.from(ne)}(q)||function(ne,me){if(ne){if("string"==typeof ne)return js(ne,void 0);var Be=Object.prototype.toString.call(ne).slice(8,-1);if("Object"===Be&&ne.constructor&&(Be=ne.constructor.name),"Map"===Be||"Set"===Be)return Array.from(ne);if("Arguments"===Be||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be))return js(ne,void 0)}}(q)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(ne))}var me=L.PM.Draw.Text.prototype._createTextIcon.call(this,this.textArea);this._layer.setIcon(me),this._layer.once("add",this._createTextMarker,this)},_createTextMarker:function(){var q=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._layer.off("add",this._createTextMarker,this),this._layer.getElement().tabIndex=-1,this.textArea.wrap="off",this.textArea.style.overflow="hidden",this.textArea.style.height=L.DomUtil.getStyle(this.textArea,"font-size"),this.textArea.style.width="1px",this._layer.options.text&&this.setText(this._layer.options.text),this._autoResize(),!0===q&&(this.enable(),this.focus(),this._disableOnBlur())},_preventTextSelection:function(q){q.preventDefault()}});var Jo=function(q,ne,me,Be,et,It){this._matrix=[q,ne,me,Be,et,It]};Jo.init=function(){return new L.PM.Matrix(1,0,0,1,0,0)},Jo.prototype={transform:function(q){return this._transform(q.clone())},_transform:function(q){var ne=this._matrix,me=q.x,Be=q.y;return q.x=ne[0]*me+ne[1]*Be+ne[4],q.y=ne[2]*me+ne[3]*Be+ne[5],q},untransform:function(q){var ne=this._matrix;return new L.Point((q.x/ne[0]-ne[4])/ne[0],(q.y/ne[2]-ne[5])/ne[2])},clone:function(){var q=this._matrix;return new L.PM.Matrix(q[0],q[1],q[2],q[3],q[4],q[5])},translate:function(q){return void 0===q?new L.Point(this._matrix[4],this._matrix[5]):("number"==typeof q?(ne=q,me=q):(ne=q.x,me=q.y),this._add(1,0,0,1,ne,me));var ne,me},scale:function(q,ne){return void 0===q?new L.Point(this._matrix[0],this._matrix[3]):(ne=ne||L.point(0,0),"number"==typeof q?(me=q,Be=q):(me=q.x,Be=q.y),this._add(me,0,0,Be,ne.x,ne.y)._add(1,0,0,1,-ne.x,-ne.y));var me,Be},rotate:function(q,ne){var me=Math.cos(q),Be=Math.sin(q);return ne=ne||new L.Point(0,0),this._add(me,Be,-Be,me,ne.x,ne.y)._add(1,0,0,1,-ne.x,-ne.y)},flip:function(){return this._matrix[1]*=-1,this._matrix[2]*=-1,this},_add:function(q,ne,me,Be,et,It){var Ut,Wt=[[],[],[]],Pt=this._matrix,Et=[[Pt[0],Pt[2],Pt[4]],[Pt[1],Pt[3],Pt[5]],[0,0,1]],Dn=[[q,me,et],[ne,Be,It],[0,0,1]];q&&q instanceof L.PM.Matrix&&(Dn=[[(Pt=q._matrix)[0],Pt[2],Pt[4]],[Pt[1],Pt[3],Pt[5]],[0,0,1]]);for(var Ln=0;Ln<3;Ln+=1)for(var An=0;An<3;An+=1){Ut=0;for(var Qn=0;Qn<3;Qn+=1)Ut+=Et[Ln][Qn]*Dn[Qn][An];Wt[Ln][An]=Ut}return this._matrix=[Wt[0][0],Wt[1][0],Wt[0][1],Wt[1][1],Wt[0][2],Wt[1][2]],this}};const Vo=Jo;const or={calcMiddleLatLng:function(q,ne,me){var Be=q.project(ne),et=q.project(me);return q.unproject(Be._add(et)._divideBy(2))},findLayers:function(q){var ne=[];return q.eachLayer(function(me){(me instanceof L.Polyline||me instanceof L.Marker||me instanceof L.Circle||me instanceof L.CircleMarker||me instanceof L.ImageOverlay)&&ne.push(me)}),ne=(ne=(ne=ne.filter(function(me){return!!me.pm})).filter(function(me){return!me._pmTempLayer})).filter(function(me){return!L.PM.optIn&&!me.options.pmIgnore||L.PM.optIn&&!1===me.options.pmIgnore})},circleToPolygon:function(q){for(var ne=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,me=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],Be=q.getLatLng(),et=q.getRadius(),It=xn(Be,et,ne,0,me),Ut=[],Wt=0;Wt<It.length;Wt+=1){var Pt=[It[Wt].lat,It[Wt].lng];Ut.push(Pt)}return L.polygon(Ut,q.options)},disablePopup:function(q){q.getPopup()&&(q._tempPopupCopy=q.getPopup(),q.unbindPopup())},enablePopup:function(q){q._tempPopupCopy&&(q.bindPopup(q._tempPopupCopy),delete q._tempPopupCopy)},_fireEvent:function(q,ne,me){var Be=arguments.length>3&&void 0!==arguments[3]&&arguments[3];q.fire(ne,me,Be);var et=this.getAllParentGroups(q),It=et.groups;It.forEach(function(Ut){Ut.fire(ne,me,Be)})},getAllParentGroups:function(q){var ne=[],me=[];return!q._pmLastGroupFetch||!q._pmLastGroupFetch.time||(new Date).getTime()-q._pmLastGroupFetch.time>1e3?(function Be(et){for(var It in et._eventParents)if(-1===ne.indexOf(It)){ne.push(It);var Ut=et._eventParents[It];me.push(Ut),Be(Ut)}}(q),q._pmLastGroupFetch={time:(new Date).getTime(),groups:me,groupIds:ne},{groupIds:ne,groups:me}):{groups:q._pmLastGroupFetch.groups,groupIds:q._pmLastGroupFetch.groupIds}},createGeodesicPolygon:xn,getTranslation:fn,findDeepCoordIndex:function(q,ne){var me,Be=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],et=function Ut(Wt){return function(Pt,Et){var Dn=Wt.concat(Et);if(Be){if(Pt.lat&&Pt.lat===ne.lat&&Pt.lng===ne.lng)return me=Dn,!0}else if(Pt.lat&&L.latLng(Pt).equals(ne))return me=Dn,!0;return Array.isArray(Pt)&&Pt.some(Ut(Dn))}};q.some(et([]));var It={};return me&&(It={indexPath:me,index:me[me.length-1],parentPath:me.slice(0,me.length-1)}),It},findDeepMarkerIndex:function(q,ne){var me;q.some(function et(It){return function(Ut,Wt){var Pt=It.concat(Wt);return Ut._leaflet_id===ne._leaflet_id?(me=Pt,!0):Array.isArray(Ut)&&Ut.some(et(Pt))}}([]));var Be={};return me&&(Be={indexPath:me,index:me[me.length-1],parentPath:me.slice(0,me.length-1)}),Be},_getIndexFromSegment:function(q,ne){if(ne&&2===ne.length){var me=this.findDeepCoordIndex(q,ne[0]),Be=this.findDeepCoordIndex(q,ne[1]),et=Math.max(me.index,Be.index);return 0!==me.index&&0!==Be.index||1===et||(et+=1),{indexA:me,indexB:Be,newIndex:et,indexPath:me.indexPath,parentPath:me.parentPath}}return null},_getRotatedRectangle:function(q,ne,me,Be){var et=yr(Be,q),It=yr(Be,ne),Ut=me*Math.PI/180,Wt=Math.cos(Ut),Pt=Math.sin(Ut),Et=(It.x-et.x)*Wt+(It.y-et.y)*Pt,Dn=(It.y-et.y)*Wt-(It.x-et.x)*Pt,Ln=Et*Wt+et.x,An=Et*Pt+et.y,Qn=-Dn*Pt+et.x,ui=Dn*Wt+et.y;return[yo(Be,et),yo(Be,{x:Ln,y:An}),yo(Be,It),yo(Be,{x:Qn,y:ui})]},pxRadiusToMeterRadius:function(q,ne,me){var Be=ne.project(me),et=L.point(Be.x+q,Be.y);return ne.distance(ne.unproject(et),me)}};L.PM=L.PM||{version:"2.14.2",Map:qn,Toolbar:pn,Draw:Ht,Edit:Or,Utils:or,Matrix:Vo,activeLang:"en",optIn:!1,initialize:function(q){this.addInitHooks(q)},setOptIn:function(q){this.optIn=!!q},addInitHooks:function(){L.Map.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Map(this)):this.options.pmIgnore||(this.pm=new L.PM.Map(this)),this.pm&&this.pm.setGlobalOptions({})}),L.LayerGroup.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.LayerGroup(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.LayerGroup(this))}),L.Marker.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this)):this.options.pmIgnore||(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this))}),L.CircleMarker.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.CircleMarker(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.CircleMarker(this))}),L.Polyline.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.Line(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Line(this))}),L.Polygon.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.Polygon(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Polygon(this))}),L.Rectangle.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.Rectangle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Rectangle(this))}),L.Circle.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.Circle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Circle(this))}),L.ImageOverlay.addInitHook(function(){this.pm=void 0,L.PM.optIn?!1===this.options.pmIgnore&&(this.pm=new L.PM.Edit.ImageOverlay(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.ImageOverlay(this))})},reInitLayer:function(q){var ne=this;q instanceof L.LayerGroup&&q.eachLayer(function(me){ne.reInitLayer(me)}),q.pm||L.PM.optIn&&!1!==q.options.pmIgnore||q.options.pmIgnore||(q instanceof L.Map?q.pm=new L.PM.Map(q):q instanceof L.Marker?q.options.textMarker?(q.pm=new L.PM.Edit.Text(q),q.pm._initTextMarker(),q.pm._createTextMarker(!1)):q.pm=new L.PM.Edit.Marker(q):q instanceof L.Circle?q.pm=new L.PM.Edit.Circle(q):q instanceof L.CircleMarker?q.pm=new L.PM.Edit.CircleMarker(q):q instanceof L.Rectangle?q.pm=new L.PM.Edit.Rectangle(q):q instanceof L.Polygon?q.pm=new L.PM.Edit.Polygon(q):q instanceof L.Polyline?q.pm=new L.PM.Edit.Line(q):q instanceof L.LayerGroup?q.pm=new L.PM.Edit.LayerGroup(q):q instanceof L.ImageOverlay&&(q.pm=new L.PM.Edit.ImageOverlay(q)))}},"1.7.1"===L.version&&L.Canvas.include({_onClick:function(q){for(var ne,me,Be=this._map.mouseEventToLayerPoint(q),et=this._drawFirst;et;et=et.next)(ne=et.layer).options.interactive&&ne._containsPoint(Be)&&("click"!==q.type&&"preclick"!==q.type||!this._map._draggableMoved(ne))&&(me=ne);me&&(L.DomEvent.fakeStop(q),this._fireEvent([me],q))}}),L.PM.initialize()},7107:()=>{Array.prototype.findIndex=Array.prototype.findIndex||function(n){if(null===this)throw new TypeError("Array.prototype.findIndex called on null or undefined");if("function"!=typeof n)throw new TypeError("callback must be a function");for(var i=Object(this),P=i.length>>>0,m=arguments[1],s=0;s<P;s++)if(n.call(m,i[s],s,i))return s;return-1},Array.prototype.find=Array.prototype.find||function(n){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof n)throw new TypeError("callback must be a function");for(var i=Object(this),P=i.length>>>0,m=arguments[1],s=0;s<P;s++){var o=i[s];if(n.call(m,o,s,i))return o}},"function"!=typeof Object.assign&&(Object.assign=function(n){"use strict";if(null==n)throw new TypeError("Cannot convert undefined or null to object");n=Object(n);for(var i=1;i<arguments.length;i++){var P=arguments[i];if(null!=P)for(var m in P)Object.prototype.hasOwnProperty.call(P,m)&&(n[m]=P[m])}return n}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(n){n.hasOwnProperty("remove")||Object.defineProperty(n,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(n,i){if(null==this)throw new TypeError('"this" is null or not defined');var P=Object(this),m=P.length>>>0;if(0===m)return!1;for(var s,o,h=0|i,v=Math.max(h>=0?h:m-Math.abs(h),0);v<m;){if((s=P[v])===(o=n)||"number"==typeof s&&"number"==typeof o&&isNaN(s)&&isNaN(o))return!0;v++}return!1}})},1787:(n,i,P)=>{var m=P(2582),s=P(4102),o=P(1540),h=P(9705).Z,v=o.featureEach,y=(o.coordEach,s.polygon,s.featureCollection);function x(C){var _=new m(C);return _.insert=function(w){if("Feature"!==w.type)throw new Error("invalid feature");return w.bbox=w.bbox?w.bbox:h(w),m.prototype.insert.call(this,w)},_.load=function(w){var z=[];return Array.isArray(w)?w.forEach(function(R){if("Feature"!==R.type)throw new Error("invalid features");R.bbox=R.bbox?R.bbox:h(R),z.push(R)}):v(w,function(R){if("Feature"!==R.type)throw new Error("invalid features");R.bbox=R.bbox?R.bbox:h(R),z.push(R)}),m.prototype.load.call(this,z)},_.remove=function(w,z){if("Feature"!==w.type)throw new Error("invalid feature");return w.bbox=w.bbox?w.bbox:h(w),m.prototype.remove.call(this,w,z)},_.clear=function(){return m.prototype.clear.call(this)},_.search=function(w){var z=m.prototype.search.call(this,this.toBBox(w));return y(z)},_.collides=function(w){return m.prototype.collides.call(this,this.toBBox(w))},_.all=function(){var w=m.prototype.all.call(this);return y(w)},_.toJSON=function(){return m.prototype.toJSON.call(this)},_.fromJSON=function(w){return m.prototype.fromJSON.call(this,w)},_.toBBox=function(w){var z;if(w.bbox)z=w.bbox;else if(Array.isArray(w)&&4===w.length)z=w;else if(Array.isArray(w)&&6===w.length)z=[w[0],w[1],w[3],w[4]];else if("Feature"===w.type)z=h(w);else{if("FeatureCollection"!==w.type)throw new Error("invalid geojson");z=h(w)}return{minX:z[0],minY:z[1],maxX:z[2],maxY:z[3]}},_}n.exports=x,n.exports.default=x},1989:(n,i,P)=>{var m=P(1789),s=P(401),o=P(7667),h=P(1327),v=P(1866);function y(x){var C=-1,_=null==x?0:x.length;for(this.clear();++C<_;){var w=x[C];this.set(w[0],w[1])}}y.prototype.clear=m,y.prototype.delete=s,y.prototype.get=o,y.prototype.has=h,y.prototype.set=v,n.exports=y},8407:(n,i,P)=>{var m=P(7040),s=P(4125),o=P(2117),h=P(7518),v=P(4705);function y(x){var C=-1,_=null==x?0:x.length;for(this.clear();++C<_;){var w=x[C];this.set(w[0],w[1])}}y.prototype.clear=m,y.prototype.delete=s,y.prototype.get=o,y.prototype.has=h,y.prototype.set=v,n.exports=y},7071:(n,i,P)=>{var m=P(852)(P(5639),"Map");n.exports=m},3369:(n,i,P)=>{var m=P(4785),s=P(1285),o=P(6e3),h=P(9916),v=P(5265);function y(x){var C=-1,_=null==x?0:x.length;for(this.clear();++C<_;){var w=x[C];this.set(w[0],w[1])}}y.prototype.clear=m,y.prototype.delete=s,y.prototype.get=o,y.prototype.has=h,y.prototype.set=v,n.exports=y},6384:(n,i,P)=>{var m=P(8407),s=P(7465),o=P(3779),h=P(7599),v=P(4758),y=P(4309);function x(C){var _=this.__data__=new m(C);this.size=_.size}x.prototype.clear=s,x.prototype.delete=o,x.prototype.get=h,x.prototype.has=v,x.prototype.set=y,n.exports=x},2705:(n,i,P)=>{var m=P(5639).Symbol;n.exports=m},1149:(n,i,P)=>{var m=P(5639).Uint8Array;n.exports=m},6874:n=>{n.exports=function(i,P,m){switch(m.length){case 0:return i.call(P);case 1:return i.call(P,m[0]);case 2:return i.call(P,m[0],m[1]);case 3:return i.call(P,m[0],m[1],m[2])}return i.apply(P,m)}},4636:(n,i,P)=>{var m=P(2545),s=P(5694),o=P(1469),h=P(4144),v=P(5776),y=P(6719),x=Object.prototype.hasOwnProperty;n.exports=function(C,_){var w=o(C),z=!w&&s(C),R=!w&&!z&&h(C),N=!w&&!z&&!R&&y(C),S=w||z||R||N,E=S?m(C.length,String):[],O=E.length;for(var H in C)!_&&!x.call(C,H)||S&&("length"==H||R&&("offset"==H||"parent"==H)||N&&("buffer"==H||"byteLength"==H||"byteOffset"==H)||v(H,O))||E.push(H);return E}},9932:n=>{n.exports=function(i,P){for(var m=-1,s=null==i?0:i.length,o=Array(s);++m<s;)o[m]=P(i[m],m,i);return o}},6556:(n,i,P)=>{var m=P(9465),s=P(7813);n.exports=function(o,h,v){(void 0!==v&&!s(o[h],v)||void 0===v&&!(h in o))&&m(o,h,v)}},4865:(n,i,P)=>{var m=P(9465),s=P(7813),o=Object.prototype.hasOwnProperty;n.exports=function(h,v,y){var x=h[v];o.call(h,v)&&s(x,y)&&(void 0!==y||v in h)||m(h,v,y)}},8470:(n,i,P)=>{var m=P(7813);n.exports=function(s,o){for(var h=s.length;h--;)if(m(s[h][0],o))return h;return-1}},9465:(n,i,P)=>{var m=P(8777);n.exports=function(s,o,h){"__proto__"==o&&m?m(s,o,{configurable:!0,enumerable:!0,value:h,writable:!0}):s[o]=h}},3118:(n,i,P)=>{var m=P(3218),s=Object.create,o=function(){function h(){}return function(v){if(!m(v))return{};if(s)return s(v);h.prototype=v;var y=new h;return h.prototype=void 0,y}}();n.exports=o},8483:(n,i,P)=>{var m=P(5063)();n.exports=m},7786:(n,i,P)=>{var m=P(1811),s=P(327);n.exports=function(o,h){for(var v=0,y=(h=m(h,o)).length;null!=o&&v<y;)o=o[s(h[v++])];return v&&v==y?o:void 0}},4239:(n,i,P)=>{var m=P(2705),s=P(9607),o=P(2333),h=m?m.toStringTag:void 0;n.exports=function(v){return null==v?void 0===v?"[object Undefined]":"[object Null]":h&&h in Object(v)?s(v):o(v)}},8565:n=>{var i=Object.prototype.hasOwnProperty;n.exports=function(P,m){return null!=P&&i.call(P,m)}},9454:(n,i,P)=>{var m=P(4239),s=P(7005);n.exports=function(o){return s(o)&&"[object Arguments]"==m(o)}},8458:(n,i,P)=>{var m=P(3560),s=P(5346),o=P(3218),h=P(346),v=/^\[object .+?Constructor\]$/,y=Function.prototype,x=Object.prototype,C=y.toString,_=x.hasOwnProperty,w=RegExp("^"+C.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n.exports=function(z){return!(!o(z)||s(z))&&(m(z)?w:v).test(h(z))}},8749:(n,i,P)=>{var m=P(4239),s=P(1780),o=P(7005),h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h["[object Arguments]"]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h["[object Map]"]=h["[object Number]"]=h["[object Object]"]=h["[object RegExp]"]=h["[object Set]"]=h["[object String]"]=h["[object WeakMap]"]=!1,n.exports=function(v){return o(v)&&s(v.length)&&!!h[m(v)]}},313:(n,i,P)=>{var m=P(3218),s=P(5726),o=P(3498),h=Object.prototype.hasOwnProperty;n.exports=function(v){if(!m(v))return o(v);var y=s(v),x=[];for(var C in v)("constructor"!=C||!y&&h.call(v,C))&&x.push(C);return x}},2980:(n,i,P)=>{var m=P(6384),s=P(6556),o=P(8483),h=P(9783),v=P(3218),y=P(1704),x=P(6390);n.exports=function C(_,w,z,R,N){_!==w&&o(w,function(S,E){if(N||(N=new m),v(S))h(_,w,E,z,C,R,N);else{var O=R?R(x(_,E),S,E+"",_,w,N):void 0;void 0===O&&(O=S),s(_,E,O)}},y)}},9783:(n,i,P)=>{var m=P(6556),s=P(4626),o=P(7133),h=P(278),v=P(8517),y=P(5694),x=P(1469),C=P(9246),_=P(4144),w=P(3560),z=P(3218),R=P(8630),N=P(6719),S=P(6390),E=P(9881);n.exports=function(O,H,U,X,W,re,pe){var Ae=S(O,U),Se=S(H,U),De=pe.get(Se);if(De)m(O,U,De);else{var qe=re?re(Ae,Se,U+"",O,H,pe):void 0,rt=void 0===qe;if(rt){var ot=x(Se),vt=!ot&&_(Se),rn=!ot&&!vt&&N(Se);qe=Se,ot||vt||rn?x(Ae)?qe=Ae:C(Ae)?qe=h(Ae):vt?(rt=!1,qe=s(Se,!0)):rn?(rt=!1,qe=o(Se,!0)):qe=[]:R(Se)||y(Se)?(qe=Ae,y(Ae)?qe=E(Ae):z(Ae)&&!w(Ae)||(qe=v(Se))):rt=!1}rt&&(pe.set(Se,qe),W(qe,Se,X,re,pe),pe.delete(Se)),m(O,U,qe)}}},5976:(n,i,P)=>{var m=P(6557),s=P(5357),o=P(61);n.exports=function(h,v){return o(s(h,v,m),h+"")}},6560:(n,i,P)=>{var m=P(5703),s=P(8777),o=P(6557),h=s?function(v,y){return s(v,"toString",{configurable:!0,enumerable:!1,value:m(y),writable:!0})}:o;n.exports=h},2545:n=>{n.exports=function(i,P){for(var m=-1,s=Array(i);++m<i;)s[m]=P(m);return s}},531:(n,i,P)=>{var m=P(2705),s=P(9932),o=P(1469),h=P(3448),v=m?m.prototype:void 0,y=v?v.toString:void 0;n.exports=function x(C){if("string"==typeof C)return C;if(o(C))return s(C,x)+"";if(h(C))return y?y.call(C):"";var _=C+"";return"0"==_&&1/C==-1/0?"-0":_}},1717:n=>{n.exports=function(i){return function(P){return i(P)}}},1811:(n,i,P)=>{var m=P(1469),s=P(5403),o=P(5514),h=P(9833);n.exports=function(v,y){return m(v)?v:s(v,y)?[v]:o(h(v))}},4318:(n,i,P)=>{var m=P(1149);n.exports=function(s){var o=new s.constructor(s.byteLength);return new m(o).set(new m(s)),o}},4626:(n,i,P)=>{n=P.nmd(n);var m=P(5639),s=i&&!i.nodeType&&i,o=s&&n&&!n.nodeType&&n,h=o&&o.exports===s?m.Buffer:void 0,v=h?h.allocUnsafe:void 0;n.exports=function(y,x){if(x)return y.slice();var C=y.length,_=v?v(C):new y.constructor(C);return y.copy(_),_}},7133:(n,i,P)=>{var m=P(4318);n.exports=function(s,o){var h=o?m(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.length)}},278:n=>{n.exports=function(i,P){var m=-1,s=i.length;for(P||(P=Array(s));++m<s;)P[m]=i[m];return P}},8363:(n,i,P)=>{var m=P(4865),s=P(9465);n.exports=function(o,h,v,y){var x=!v;v||(v={});for(var C=-1,_=h.length;++C<_;){var w=h[C],z=y?y(v[w],o[w],w,v,o):void 0;void 0===z&&(z=o[w]),x?s(v,w,z):m(v,w,z)}return v}},4429:(n,i,P)=>{var m=P(5639)["__core-js_shared__"];n.exports=m},1463:(n,i,P)=>{var m=P(5976),s=P(6612);n.exports=function(o){return m(function(h,v){var y=-1,x=v.length,C=x>1?v[x-1]:void 0,_=x>2?v[2]:void 0;for(C=o.length>3&&"function"==typeof C?(x--,C):void 0,_&&s(v[0],v[1],_)&&(C=x<3?void 0:C,x=1),h=Object(h);++y<x;){var w=v[y];w&&o(h,w,y,C)}return h})}},5063:n=>{n.exports=function(i){return function(P,m,s){for(var o=-1,h=Object(P),v=s(P),y=v.length;y--;){var x=v[i?y:++o];if(!1===m(h[x],x,h))break}return P}}},8777:(n,i,P)=>{var m=P(852),s=function(){try{var o=m(Object,"defineProperty");return o({},"",{}),o}catch(h){}}();n.exports=s},1957:(n,i,P)=>{var m="object"==typeof P.g&&P.g&&P.g.Object===Object&&P.g;n.exports=m},5050:(n,i,P)=>{var m=P(7019);n.exports=function(s,o){var h=s.__data__;return m(o)?h["string"==typeof o?"string":"hash"]:h.map}},852:(n,i,P)=>{var m=P(8458),s=P(7801);n.exports=function(o,h){var v=s(o,h);return m(v)?v:void 0}},5924:(n,i,P)=>{var m=P(5569)(Object.getPrototypeOf,Object);n.exports=m},9607:(n,i,P)=>{var m=P(2705),s=Object.prototype,o=s.hasOwnProperty,h=s.toString,v=m?m.toStringTag:void 0;n.exports=function(y){var x=o.call(y,v),C=y[v];try{y[v]=void 0;var _=!0}catch(z){}var w=h.call(y);return _&&(x?y[v]=C:delete y[v]),w}},7801:n=>{n.exports=function(i,P){return null==i?void 0:i[P]}},222:(n,i,P)=>{var m=P(1811),s=P(5694),o=P(1469),h=P(5776),v=P(1780),y=P(327);n.exports=function(x,C,_){for(var w=-1,z=(C=m(C,x)).length,R=!1;++w<z;){var N=y(C[w]);if(!(R=null!=x&&_(x,N)))break;x=x[N]}return R||++w!=z?R:!!(z=null==x?0:x.length)&&v(z)&&h(N,z)&&(o(x)||s(x))}},1789:(n,i,P)=>{var m=P(4536);n.exports=function(){this.__data__=m?m(null):{},this.size=0}},401:n=>{n.exports=function(i){var P=this.has(i)&&delete this.__data__[i];return this.size-=P?1:0,P}},7667:(n,i,P)=>{var m=P(4536),s=Object.prototype.hasOwnProperty;n.exports=function(o){var h=this.__data__;if(m){var v=h[o];return"__lodash_hash_undefined__"===v?void 0:v}return s.call(h,o)?h[o]:void 0}},1327:(n,i,P)=>{var m=P(4536),s=Object.prototype.hasOwnProperty;n.exports=function(o){var h=this.__data__;return m?void 0!==h[o]:s.call(h,o)}},1866:(n,i,P)=>{var m=P(4536);n.exports=function(s,o){var h=this.__data__;return this.size+=this.has(s)?0:1,h[s]=m&&void 0===o?"__lodash_hash_undefined__":o,this}},8517:(n,i,P)=>{var m=P(3118),s=P(5924),o=P(5726);n.exports=function(h){return"function"!=typeof h.constructor||o(h)?{}:m(s(h))}},5776:n=>{var i=/^(?:0|[1-9]\d*)$/;n.exports=function(P,m){var s=typeof P;return!!(m=null==m?9007199254740991:m)&&("number"==s||"symbol"!=s&&i.test(P))&&P>-1&&P%1==0&&P<m}},6612:(n,i,P)=>{var m=P(7813),s=P(8612),o=P(5776),h=P(3218);n.exports=function(v,y,x){if(!h(x))return!1;var C=typeof y;return!!("number"==C?s(x)&&o(y,x.length):"string"==C&&y in x)&&m(x[y],v)}},5403:(n,i,P)=>{var m=P(1469),s=P(3448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,h=/^\w*$/;n.exports=function(v,y){if(m(v))return!1;var x=typeof v;return!("number"!=x&&"symbol"!=x&&"boolean"!=x&&null!=v&&!s(v))||h.test(v)||!o.test(v)||null!=y&&v in Object(y)}},7019:n=>{n.exports=function(i){var P=typeof i;return"string"==P||"number"==P||"symbol"==P||"boolean"==P?"__proto__"!==i:null===i}},5346:(n,i,P)=>{var m,s=P(4429),o=(m=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"";n.exports=function(h){return!!o&&o in h}},5726:n=>{var i=Object.prototype;n.exports=function(P){var m=P&&P.constructor;return P===("function"==typeof m&&m.prototype||i)}},7040:n=>{n.exports=function(){this.__data__=[],this.size=0}},4125:(n,i,P)=>{var m=P(8470),s=Array.prototype.splice;n.exports=function(o){var h=this.__data__,v=m(h,o);return!(v<0||(v==h.length-1?h.pop():s.call(h,v,1),--this.size,0))}},2117:(n,i,P)=>{var m=P(8470);n.exports=function(s){var o=this.__data__,h=m(o,s);return h<0?void 0:o[h][1]}},7518:(n,i,P)=>{var m=P(8470);n.exports=function(s){return m(this.__data__,s)>-1}},4705:(n,i,P)=>{var m=P(8470);n.exports=function(s,o){var h=this.__data__,v=m(h,s);return v<0?(++this.size,h.push([s,o])):h[v][1]=o,this}},4785:(n,i,P)=>{var m=P(1989),s=P(8407),o=P(7071);n.exports=function(){this.size=0,this.__data__={hash:new m,map:new(o||s),string:new m}}},1285:(n,i,P)=>{var m=P(5050);n.exports=function(s){var o=m(this,s).delete(s);return this.size-=o?1:0,o}},6e3:(n,i,P)=>{var m=P(5050);n.exports=function(s){return m(this,s).get(s)}},9916:(n,i,P)=>{var m=P(5050);n.exports=function(s){return m(this,s).has(s)}},5265:(n,i,P)=>{var m=P(5050);n.exports=function(s,o){var h=m(this,s),v=h.size;return h.set(s,o),this.size+=h.size==v?0:1,this}},4523:(n,i,P)=>{var m=P(8306);n.exports=function(s){var o=m(s,function(v){return 500===h.size&&h.clear(),v}),h=o.cache;return o}},4536:(n,i,P)=>{var m=P(852)(Object,"create");n.exports=m},3498:n=>{n.exports=function(i){var P=[];if(null!=i)for(var m in Object(i))P.push(m);return P}},1167:(n,i,P)=>{n=P.nmd(n);var m=P(1957),s=i&&!i.nodeType&&i,o=s&&n&&!n.nodeType&&n,h=o&&o.exports===s&&m.process,v=function(){try{return o&&o.require&&o.require("util").types||h&&h.binding&&h.binding("util")}catch(x){}}();n.exports=v},2333:n=>{var i=Object.prototype.toString;n.exports=function(P){return i.call(P)}},5569:n=>{n.exports=function(i,P){return function(m){return i(P(m))}}},5357:(n,i,P)=>{var m=P(6874),s=Math.max;n.exports=function(o,h,v){return h=s(void 0===h?o.length-1:h,0),function(){for(var y=arguments,x=-1,C=s(y.length-h,0),_=Array(C);++x<C;)_[x]=y[h+x];x=-1;for(var w=Array(h+1);++x<h;)w[x]=y[x];return w[h]=v(_),m(o,this,w)}}},5639:(n,i,P)=>{var m=P(1957),s="object"==typeof self&&self&&self.Object===Object&&self,o=m||s||Function("return this")();n.exports=o},6390:n=>{n.exports=function(i,P){if(("constructor"!==P||"function"!=typeof i[P])&&"__proto__"!=P)return i[P]}},61:(n,i,P)=>{var m=P(6560),s=P(1275)(m);n.exports=s},1275:n=>{var i=Date.now;n.exports=function(P){var m=0,s=0;return function(){var o=i(),h=16-(o-s);if(s=o,h>0){if(++m>=800)return arguments[0]}else m=0;return P.apply(void 0,arguments)}}},7465:(n,i,P)=>{var m=P(8407);n.exports=function(){this.__data__=new m,this.size=0}},3779:n=>{n.exports=function(i){var P=this.__data__,m=P.delete(i);return this.size=P.size,m}},7599:n=>{n.exports=function(i){return this.__data__.get(i)}},4758:n=>{n.exports=function(i){return this.__data__.has(i)}},4309:(n,i,P)=>{var m=P(8407),s=P(7071),o=P(3369);n.exports=function(h,v){var y=this.__data__;if(y instanceof m){var x=y.__data__;if(!s||x.length<199)return x.push([h,v]),this.size=++y.size,this;y=this.__data__=new o(x)}return y.set(h,v),this.size=y.size,this}},5514:(n,i,P)=>{var m=P(4523),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,h=m(function(v){var y=[];return 46===v.charCodeAt(0)&&y.push(""),v.replace(s,function(x,C,_,w){y.push(_?w.replace(o,"$1"):C||x)}),y});n.exports=h},327:(n,i,P)=>{var m=P(3448);n.exports=function(s){if("string"==typeof s||m(s))return s;var o=s+"";return"0"==o&&1/s==-1/0?"-0":o}},346:n=>{var i=Function.prototype.toString;n.exports=function(P){if(null!=P){try{return i.call(P)}catch(m){}try{return P+""}catch(m){}}return""}},5703:n=>{n.exports=function(i){return function(){return i}}},7813:n=>{n.exports=function(i,P){return i===P||i!=i&&P!=P}},7361:(n,i,P)=>{var m=P(7786);n.exports=function(s,o,h){var v=null==s?void 0:m(s,o);return void 0===v?h:v}},8721:(n,i,P)=>{var m=P(8565),s=P(222);n.exports=function(o,h){return null!=o&&s(o,h,m)}},6557:n=>{n.exports=function(i){return i}},5694:(n,i,P)=>{var m=P(9454),s=P(7005),o=Object.prototype,h=o.hasOwnProperty,v=o.propertyIsEnumerable,y=m(function(){return arguments}())?m:function(x){return s(x)&&h.call(x,"callee")&&!v.call(x,"callee")};n.exports=y},1469:n=>{var i=Array.isArray;n.exports=i},8612:(n,i,P)=>{var m=P(3560),s=P(1780);n.exports=function(o){return null!=o&&s(o.length)&&!m(o)}},9246:(n,i,P)=>{var m=P(8612),s=P(7005);n.exports=function(o){return s(o)&&m(o)}},4144:(n,i,P)=>{n=P.nmd(n);var m=P(5639),s=P(5062),o=i&&!i.nodeType&&i,h=o&&n&&!n.nodeType&&n,v=h&&h.exports===o?m.Buffer:void 0,y=(v?v.isBuffer:void 0)||s;n.exports=y},3560:(n,i,P)=>{var m=P(4239),s=P(3218);n.exports=function(o){if(!s(o))return!1;var h=m(o);return"[object Function]"==h||"[object GeneratorFunction]"==h||"[object AsyncFunction]"==h||"[object Proxy]"==h}},1780:n=>{n.exports=function(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},3218:n=>{n.exports=function(i){var P=typeof i;return null!=i&&("object"==P||"function"==P)}},7005:n=>{n.exports=function(i){return null!=i&&"object"==typeof i}},8630:(n,i,P)=>{var m=P(4239),s=P(5924),o=P(7005),h=Function.prototype,v=Object.prototype,y=h.toString,x=v.hasOwnProperty,C=y.call(Object);n.exports=function(_){if(!o(_)||"[object Object]"!=m(_))return!1;var w=s(_);if(null===w)return!0;var z=x.call(w,"constructor")&&w.constructor;return"function"==typeof z&&z instanceof z&&y.call(z)==C}},3448:(n,i,P)=>{var m=P(4239),s=P(7005);n.exports=function(o){return"symbol"==typeof o||s(o)&&"[object Symbol]"==m(o)}},6719:(n,i,P)=>{var m=P(8749),s=P(1717),o=P(1167),h=o&&o.isTypedArray,v=h?s(h):m;n.exports=v},1704:(n,i,P)=>{var m=P(4636),s=P(313),o=P(8612);n.exports=function(h){return o(h)?m(h,!0):s(h)}},8306:(n,i,P)=>{var m=P(3369);function s(o,h){if("function"!=typeof o||null!=h&&"function"!=typeof h)throw new TypeError("Expected a function");var v=function(){var y=arguments,x=h?h.apply(this,y):y[0],C=v.cache;if(C.has(x))return C.get(x);var _=o.apply(this,y);return v.cache=C.set(x,_)||C,_};return v.cache=new(s.Cache||m),v}s.Cache=m,n.exports=s},2492:(n,i,P)=>{var m=P(2980),s=P(1463)(function(o,h,v){m(o,h,v)});n.exports=s},5062:n=>{n.exports=function(){return!1}},9881:(n,i,P)=>{var m=P(8363),s=P(1704);n.exports=function(o){return m(o,s(o))}},9833:(n,i,P)=>{var m=P(531);n.exports=function(s){return null==s?"":m(s)}},2676:function(n){n.exports=function(){"use strict";function i(yt,Je){if(!(yt instanceof Je))throw new TypeError("Cannot call a class as a function")}function P(yt,Je){for(var ht=0;ht<Je.length;ht++){var xt=Je[ht];xt.enumerable=xt.enumerable||!1,xt.configurable=!0,"value"in xt&&(xt.writable=!0),Object.defineProperty(yt,xt.key,xt)}}function m(yt,Je,ht){return Je&&P(yt.prototype,Je),ht&&P(yt,ht),yt}var s=function yt(Je,ht){this.next=null,this.key=Je,this.data=ht,this.left=null,this.right=null};function o(yt,Je){return yt>Je?1:yt<Je?-1:0}function h(yt,Je,ht){for(var xt=new s(null,null),Ht=xt,$t=xt;;){var Jt=ht(yt,Je.key);if(Jt<0){if(null===Je.left)break;if(ht(yt,Je.left.key)<0){var lt=Je.left;if(Je.left=lt.right,lt.right=Je,null===(Je=lt).left)break}$t.left=Je,$t=Je,Je=Je.left}else{if(!(Jt>0)||null===Je.right||ht(yt,Je.right.key)>0&&(lt=Je.right,Je.right=lt.left,lt.left=Je,null===(Je=lt).right))break;Ht.right=Je,Ht=Je,Je=Je.right}}return Ht.right=Je.left,$t.left=Je.right,Je.left=xt.right,Je.right=xt.left,Je}function v(yt,Je,ht,xt){var Ht=new s(yt,Je);if(null===ht)return Ht.left=Ht.right=null,Ht;var $t=xt(yt,(ht=h(yt,ht,xt)).key);return $t<0?(Ht.left=ht.left,Ht.right=ht,ht.left=null):$t>=0&&(Ht.right=ht.right,Ht.left=ht,ht.right=null),Ht}function y(yt,Je,ht){var xt=null,Ht=null;if(Je){var $t=ht((Je=h(yt,Je,ht)).key,yt);0===$t?(xt=Je.left,Ht=Je.right):$t<0?(Ht=Je.right,Je.right=null,xt=Je):(xt=Je.left,Je.left=null,Ht=Je)}return{left:xt,right:Ht}}function C(yt,Je,ht,xt,Ht){if(yt){xt(Je+(ht?"\u2514\u2500\u2500 ":"\u251c\u2500\u2500 ")+Ht(yt)+"\n");var $t=Je+(ht?"    ":"\u2502   ");yt.left&&C(yt.left,$t,!1,xt,Ht),yt.right&&C(yt.right,$t,!0,xt,Ht)}}var _=function(){function yt(Je){void 0===Je&&(Je=o),this._root=null,this._size=0,this._comparator=Je}return yt.prototype.insert=function(Je,ht){return this._size++,this._root=v(Je,ht,this._root,this._comparator)},yt.prototype.add=function(Je,ht){var xt=new s(Je,ht);null===this._root&&(xt.left=xt.right=null,this._size++,this._root=xt);var Ht=this._comparator,$t=h(Je,this._root,Ht),Jt=Ht(Je,$t.key);return 0===Jt?this._root=$t:(Jt<0?(xt.left=$t.left,xt.right=$t,$t.left=null):Jt>0&&(xt.right=$t.right,xt.left=$t,$t.right=null),this._size++,this._root=xt),this._root},yt.prototype.remove=function(Je){this._root=this._remove(Je,this._root,this._comparator)},yt.prototype._remove=function(Je,ht,xt){var Ht;return null===ht?null:0===xt(Je,(ht=h(Je,ht,xt)).key)?(null===ht.left?Ht=ht.right:(Ht=h(Je,ht.left,xt)).right=ht.right,this._size--,Ht):ht},yt.prototype.pop=function(){var Je=this._root;if(Je){for(;Je.left;)Je=Je.left;return this._root=h(Je.key,this._root,this._comparator),this._root=this._remove(Je.key,this._root,this._comparator),{key:Je.key,data:Je.data}}return null},yt.prototype.findStatic=function(Je){for(var ht=this._root,xt=this._comparator;ht;){var Ht=xt(Je,ht.key);if(0===Ht)return ht;ht=Ht<0?ht.left:ht.right}return null},yt.prototype.find=function(Je){return this._root&&(this._root=h(Je,this._root,this._comparator),0!==this._comparator(Je,this._root.key))?null:this._root},yt.prototype.contains=function(Je){for(var ht=this._root,xt=this._comparator;ht;){var Ht=xt(Je,ht.key);if(0===Ht)return!0;ht=Ht<0?ht.left:ht.right}return!1},yt.prototype.forEach=function(Je,ht){for(var xt=this._root,Ht=[],$t=!1;!$t;)null!==xt?(Ht.push(xt),xt=xt.left):0!==Ht.length?(xt=Ht.pop(),Je.call(ht,xt),xt=xt.right):$t=!0;return this},yt.prototype.range=function(Je,ht,xt,Ht){for(var $t=[],Jt=this._comparator,lt=this._root;0!==$t.length||lt;)if(lt)$t.push(lt),lt=lt.left;else{if(Jt((lt=$t.pop()).key,ht)>0)break;if(Jt(lt.key,Je)>=0&&xt.call(Ht,lt))return this;lt=lt.right}return this},yt.prototype.keys=function(){var Je=[];return this.forEach(function(ht){var xt=ht.key;return Je.push(xt)}),Je},yt.prototype.values=function(){var Je=[];return this.forEach(function(ht){var xt=ht.data;return Je.push(xt)}),Je},yt.prototype.min=function(){return this._root?this.minNode(this._root).key:null},yt.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},yt.prototype.minNode=function(Je){if(void 0===Je&&(Je=this._root),Je)for(;Je.left;)Je=Je.left;return Je},yt.prototype.maxNode=function(Je){if(void 0===Je&&(Je=this._root),Je)for(;Je.right;)Je=Je.right;return Je},yt.prototype.at=function(Je){for(var ht=this._root,xt=!1,Ht=0,$t=[];!xt;)if(ht)$t.push(ht),ht=ht.left;else if($t.length>0){if(ht=$t.pop(),Ht===Je)return ht;Ht++,ht=ht.right}else xt=!0;return null},yt.prototype.next=function(Je){var ht=this._root,xt=null;if(Je.right){for(xt=Je.right;xt.left;)xt=xt.left;return xt}for(var Ht=this._comparator;ht;){var $t=Ht(Je.key,ht.key);if(0===$t)break;$t<0?(xt=ht,ht=ht.left):ht=ht.right}return xt},yt.prototype.prev=function(Je){var ht=this._root,xt=null;if(null!==Je.left){for(xt=Je.left;xt.right;)xt=xt.right;return xt}for(var Ht=this._comparator;ht;){var $t=Ht(Je.key,ht.key);if(0===$t)break;$t<0?ht=ht.left:(xt=ht,ht=ht.right)}return xt},yt.prototype.clear=function(){return this._root=null,this._size=0,this},yt.prototype.toList=function(){return function R(yt){for(var Je=yt,ht=[],xt=!1,Ht=new s(null,null),$t=Ht;!xt;)Je?(ht.push(Je),Je=Je.left):ht.length>0?Je=(Je=$t=$t.next=ht.pop()).right:xt=!0;return $t.next=null,Ht.next}(this._root)},yt.prototype.load=function(Je,ht,xt){void 0===ht&&(ht=[]),void 0===xt&&(xt=!1);var Ht=Je.length,$t=this._comparator;if(xt&&E(Je,ht,0,Ht-1,$t),null===this._root)this._root=w(Je,ht,0,Ht),this._size=Ht;else{var Jt=function S(yt,Je,ht){for(var xt=new s(null,null),Ht=xt,$t=yt,Jt=Je;null!==$t&&null!==Jt;)ht($t.key,Jt.key)<0?(Ht.next=$t,$t=$t.next):(Ht.next=Jt,Jt=Jt.next),Ht=Ht.next;return null!==$t?Ht.next=$t:null!==Jt&&(Ht.next=Jt),xt.next}(this.toList(),function z(yt,Je){for(var ht=new s(null,null),xt=ht,Ht=0;Ht<yt.length;Ht++)xt=xt.next=new s(yt[Ht],Je[Ht]);return xt.next=null,ht.next}(Je,ht),$t);Ht=this._size+Ht,this._root=N({head:Jt},0,Ht)}return this},yt.prototype.isEmpty=function(){return null===this._root},Object.defineProperty(yt.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(yt.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),yt.prototype.toString=function(Je){void 0===Je&&(Je=function(xt){return String(xt.key)});var ht=[];return C(this._root,"",!0,function(xt){return ht.push(xt)},Je),ht.join("")},yt.prototype.update=function(Je,ht,xt){var Ht=this._comparator,$t=y(Je,this._root,Ht),Jt=$t.left,lt=$t.right;Ht(Je,ht)<0?lt=v(ht,xt,lt,Ht):Jt=v(ht,xt,Jt,Ht),this._root=function x(yt,Je,ht){return null===Je?yt:(null===yt||((Je=h(yt.key,Je,ht)).left=yt),Je)}(Jt,lt,Ht)},yt.prototype.split=function(Je){return y(Je,this._root,this._comparator)},yt}();function w(yt,Je,ht,xt){var Ht=xt-ht;if(Ht>0){var $t=ht+Math.floor(Ht/2),Jt=yt[$t],lt=Je[$t],Ft=new s(Jt,lt);return Ft.left=w(yt,Je,ht,$t),Ft.right=w(yt,Je,$t+1,xt),Ft}return null}function N(yt,Je,ht){var xt=ht-Je;if(xt>0){var Ht=Je+Math.floor(xt/2),$t=N(yt,Je,Ht),Jt=yt.head;return Jt.left=$t,yt.head=yt.head.next,Jt.right=N(yt,Ht+1,ht),Jt}return null}function E(yt,Je,ht,xt,Ht){if(!(ht>=xt)){for(var $t=yt[ht+xt>>1],Jt=ht-1,lt=xt+1;;){do{Jt++}while(Ht(yt[Jt],$t)<0);do{lt--}while(Ht(yt[lt],$t)>0);if(Jt>=lt)break;var Ft=yt[Jt];yt[Jt]=yt[lt],yt[lt]=Ft,Ft=Je[Jt],Je[Jt]=Je[lt],Je[lt]=Ft}E(yt,Je,ht,lt,Ht),E(yt,Je,lt+1,xt,Ht)}}var O=function(yt,Je){return yt.ll.x<=Je.x&&Je.x<=yt.ur.x&&yt.ll.y<=Je.y&&Je.y<=yt.ur.y},H=function(yt,Je){if(Je.ur.x<yt.ll.x||yt.ur.x<Je.ll.x||Je.ur.y<yt.ll.y||yt.ur.y<Je.ll.y)return null;var ht=yt.ll.x<Je.ll.x?Je.ll.x:yt.ll.x,xt=yt.ur.x<Je.ur.x?yt.ur.x:Je.ur.x;return{ll:{x:ht,y:yt.ll.y<Je.ll.y?Je.ll.y:yt.ll.y},ur:{x:xt,y:yt.ur.y<Je.ur.y?yt.ur.y:Je.ur.y}}},U=Number.EPSILON;void 0===U&&(U=Math.pow(2,-52));var X=U*U,W=function(yt,Je){if(-U<yt&&yt<U&&-U<Je&&Je<U)return 0;var ht=yt-Je;return ht*ht<X*yt*Je?0:yt<Je?-1:1},re=function(){function yt(){i(this,yt),this.reset()}return m(yt,[{key:"reset",value:function(){this.xRounder=new pe,this.yRounder=new pe}},{key:"round",value:function(Je,ht){return{x:this.xRounder.round(Je),y:this.yRounder.round(ht)}}}]),yt}(),pe=function(){function yt(){i(this,yt),this.tree=new _,this.round(0)}return m(yt,[{key:"round",value:function(Je){var ht=this.tree.add(Je),xt=this.tree.prev(ht);if(null!==xt&&0===W(ht.key,xt.key))return this.tree.remove(Je),xt.key;var Ht=this.tree.next(ht);return null!==Ht&&0===W(ht.key,Ht.key)?(this.tree.remove(Je),Ht.key):Je}}]),yt}(),Ae=new re,Se=function(yt,Je){return yt.x*Je.y-yt.y*Je.x},De=function(yt,Je){return yt.x*Je.x+yt.y*Je.y},qe=function(yt,Je,ht){var xt={x:Je.x-yt.x,y:Je.y-yt.y},Ht={x:ht.x-yt.x,y:ht.y-yt.y},$t=Se(xt,Ht);return W($t,0)},rt=function(yt){return Math.sqrt(De(yt,yt))},ot=function(yt,Je,ht){var xt={x:Je.x-yt.x,y:Je.y-yt.y},Ht={x:ht.x-yt.x,y:ht.y-yt.y};return Se(Ht,xt)/rt(Ht)/rt(xt)},vt=function(yt,Je,ht){var xt={x:Je.x-yt.x,y:Je.y-yt.y},Ht={x:ht.x-yt.x,y:ht.y-yt.y};return De(Ht,xt)/rt(Ht)/rt(xt)},rn=function(yt,Je,ht){return 0===Je.y?null:{x:yt.x+Je.x/Je.y*(ht-yt.y),y:ht}},Xt=function(yt,Je,ht){return 0===Je.x?null:{x:ht,y:yt.y+Je.y/Je.x*(ht-yt.x)}},_n=function(){function yt(Je,ht){i(this,yt),void 0===Je.events?Je.events=[this]:Je.events.push(this),this.point=Je,this.isLeft=ht}return m(yt,null,[{key:"compare",value:function(Je,ht){var xt=yt.comparePoints(Je.point,ht.point);return 0!==xt?xt:(Je.point!==ht.point&&Je.link(ht),Je.isLeft!==ht.isLeft?Je.isLeft?1:-1:vn.compare(Je.segment,ht.segment))}},{key:"comparePoints",value:function(Je,ht){return Je.x<ht.x?-1:Je.x>ht.x?1:Je.y<ht.y?-1:Je.y>ht.y?1:0}}]),m(yt,[{key:"link",value:function(Je){if(Je.point===this.point)throw new Error("Tried to link already linked events");for(var ht=Je.point.events,xt=0,Ht=ht.length;xt<Ht;xt++){var $t=ht[xt];this.point.events.push($t),$t.point=this.point}this.checkForConsuming()}},{key:"checkForConsuming",value:function(){for(var Je=this.point.events.length,ht=0;ht<Je;ht++){var xt=this.point.events[ht];if(void 0===xt.segment.consumedBy)for(var Ht=ht+1;Ht<Je;Ht++){var $t=this.point.events[Ht];void 0===$t.consumedBy&&xt.otherSE.point.events===$t.otherSE.point.events&&xt.segment.consume($t.segment)}}}},{key:"getAvailableLinkedEvents",value:function(){for(var Je=[],ht=0,xt=this.point.events.length;ht<xt;ht++){var Ht=this.point.events[ht];Ht!==this&&!Ht.segment.ringOut&&Ht.segment.isInResult()&&Je.push(Ht)}return Je}},{key:"getLeftmostComparator",value:function(Je){var ht=this,xt=new Map,Ht=function($t){var Jt=$t.otherSE;xt.set($t,{sine:ot(ht.point,Je.point,Jt.point),cosine:vt(ht.point,Je.point,Jt.point)})};return function($t,Jt){xt.has($t)||Ht($t),xt.has(Jt)||Ht(Jt);var lt=xt.get($t),Ft=lt.sine,ln=lt.cosine,Jn=xt.get(Jt),Mn=Jn.sine,ti=Jn.cosine;return Ft>=0&&Mn>=0?ln<ti?1:ln>ti?-1:0:Ft<0&&Mn<0?ln<ti?-1:ln>ti?1:0:Mn<Ft?-1:Mn>Ft?1:0}}}]),yt}(),hn=0,vn=function(){function yt(Je,ht,xt,Ht){i(this,yt),this.id=++hn,this.leftSE=Je,Je.segment=this,Je.otherSE=ht,this.rightSE=ht,ht.segment=this,ht.otherSE=Je,this.rings=xt,this.windings=Ht}return m(yt,null,[{key:"compare",value:function(Je,ht){var xt=Je.leftSE.point.x,Ht=ht.leftSE.point.x,$t=Je.rightSE.point.x,Jt=ht.rightSE.point.x;if(Jt<xt)return 1;if($t<Ht)return-1;var lt=Je.leftSE.point.y,Ft=ht.leftSE.point.y,ln=Je.rightSE.point.y,Jn=ht.rightSE.point.y;if(xt<Ht){if(Ft<lt&&Ft<ln)return 1;if(Ft>lt&&Ft>ln)return-1;var Mn=Je.comparePoint(ht.leftSE.point);if(Mn<0)return 1;if(Mn>0)return-1;var ti=ht.comparePoint(Je.rightSE.point);return 0!==ti?ti:-1}if(xt>Ht){if(lt<Ft&&lt<Jn)return-1;if(lt>Ft&&lt>Jn)return 1;var Ai=ht.comparePoint(Je.leftSE.point);if(0!==Ai)return Ai;var ki=Je.comparePoint(ht.rightSE.point);return ki<0?1:ki>0?-1:1}if(lt<Ft)return-1;if(lt>Ft)return 1;if($t<Jt){var Ki=ht.comparePoint(Je.rightSE.point);if(0!==Ki)return Ki}if($t>Jt){var Hi=Je.comparePoint(ht.rightSE.point);if(Hi<0)return 1;if(Hi>0)return-1}if($t!==Jt){var _i=ln-lt,pi=$t-xt,$n=Jn-Ft,wr=Jt-Ht;if(_i>pi&&$n<wr)return 1;if(_i<pi&&$n>wr)return-1}return $t>Jt?1:$t<Jt||ln<Jn?-1:ln>Jn?1:Je.id<ht.id?-1:Je.id>ht.id?1:0}}]),m(yt,[{key:"replaceRightSE",value:function(Je){this.rightSE=Je,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}},{key:"bbox",value:function(){var Je=this.leftSE.point.y,ht=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:Je<ht?Je:ht},ur:{x:this.rightSE.point.x,y:Je>ht?Je:ht}}}},{key:"vector",value:function(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}},{key:"isAnEndpoint",value:function(Je){return Je.x===this.leftSE.point.x&&Je.y===this.leftSE.point.y||Je.x===this.rightSE.point.x&&Je.y===this.rightSE.point.y}},{key:"comparePoint",value:function(Je){if(this.isAnEndpoint(Je))return 0;var ht=this.leftSE.point,xt=this.rightSE.point,Ht=this.vector();if(ht.x===xt.x)return Je.x===ht.x?0:Je.x<ht.x?1:-1;var $t=(Je.y-ht.y)/Ht.y,Jt=ht.x+$t*Ht.x;if(Je.x===Jt)return 0;var lt=(Je.x-ht.x)/Ht.x,Ft=ht.y+lt*Ht.y;return Je.y===Ft?0:Je.y<Ft?-1:1}},{key:"getIntersection",value:function(Je){var ht=this.bbox(),xt=Je.bbox(),Ht=H(ht,xt);if(null===Ht)return null;var $t=this.leftSE.point,Jt=this.rightSE.point,lt=Je.leftSE.point,Ft=Je.rightSE.point,ln=O(ht,lt)&&0===this.comparePoint(lt),Jn=O(xt,$t)&&0===Je.comparePoint($t),Mn=O(ht,Ft)&&0===this.comparePoint(Ft),ti=O(xt,Jt)&&0===Je.comparePoint(Jt);if(Jn&&ln)return ti&&!Mn?Jt:!ti&&Mn?Ft:null;if(Jn)return Mn&&$t.x===Ft.x&&$t.y===Ft.y?null:$t;if(ln)return ti&&Jt.x===lt.x&&Jt.y===lt.y?null:lt;if(ti&&Mn)return null;if(ti)return Jt;if(Mn)return Ft;var Ai=function(yt,Je,ht,xt){if(0===Je.x)return Xt(ht,xt,yt.x);if(0===xt.x)return Xt(yt,Je,ht.x);if(0===Je.y)return rn(ht,xt,yt.y);if(0===xt.y)return rn(yt,Je,ht.y);var Ht=Se(Je,xt);if(0==Ht)return null;var $t={x:ht.x-yt.x,y:ht.y-yt.y},Jt=Se($t,Je)/Ht,lt=Se($t,xt)/Ht;return{x:(yt.x+lt*Je.x+(ht.x+Jt*xt.x))/2,y:(yt.y+lt*Je.y+(ht.y+Jt*xt.y))/2}}($t,this.vector(),lt,Je.vector());return null===Ai?null:O(Ht,Ai)?Ae.round(Ai.x,Ai.y):null}},{key:"split",value:function(Je){var ht=[],xt=void 0!==Je.events,Ht=new _n(Je,!0),$t=new _n(Je,!1),Jt=this.rightSE;this.replaceRightSE($t),ht.push($t),ht.push(Ht);var lt=new yt(Ht,Jt,this.rings.slice(),this.windings.slice());return _n.comparePoints(lt.leftSE.point,lt.rightSE.point)>0&&lt.swapEvents(),_n.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),xt&&(Ht.checkForConsuming(),$t.checkForConsuming()),ht}},{key:"swapEvents",value:function(){var Je=this.rightSE;this.rightSE=this.leftSE,this.leftSE=Je,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(var ht=0,xt=this.windings.length;ht<xt;ht++)this.windings[ht]*=-1}},{key:"consume",value:function(Je){for(var ht=this,xt=Je;ht.consumedBy;)ht=ht.consumedBy;for(;xt.consumedBy;)xt=xt.consumedBy;var Ht=yt.compare(ht,xt);if(0!==Ht){if(Ht>0){var $t=ht;ht=xt,xt=$t}if(ht.prev===xt){var Jt=ht;ht=xt,xt=Jt}for(var lt=0,Ft=xt.rings.length;lt<Ft;lt++){var ln=xt.rings[lt],Jn=xt.windings[lt],Mn=ht.rings.indexOf(ln);-1===Mn?(ht.rings.push(ln),ht.windings.push(Jn)):ht.windings[Mn]+=Jn}xt.rings=null,xt.windings=null,xt.consumedBy=ht,xt.leftSE.consumedBy=ht.leftSE,xt.rightSE.consumedBy=ht.rightSE}}},{key:"prevInResult",value:function(){return void 0!==this._prevInResult||(this.prev?this.prev.isInResult()?this._prevInResult=this.prev:this._prevInResult=this.prev.prevInResult():this._prevInResult=null),this._prevInResult}},{key:"beforeState",value:function(){if(void 0!==this._beforeState)return this._beforeState;if(this.prev){var Je=this.prev.consumedBy||this.prev;this._beforeState=Je.afterState()}else this._beforeState={rings:[],windings:[],multiPolys:[]};return this._beforeState}},{key:"afterState",value:function(){if(void 0!==this._afterState)return this._afterState;var Je=this.beforeState();this._afterState={rings:Je.rings.slice(0),windings:Je.windings.slice(0),multiPolys:[]};for(var ht=this._afterState.rings,xt=this._afterState.windings,Ht=this._afterState.multiPolys,$t=0,Jt=this.rings.length;$t<Jt;$t++){var lt=this.rings[$t],Ft=this.windings[$t],ln=ht.indexOf(lt);-1===ln?(ht.push(lt),xt.push(Ft)):xt[ln]+=Ft}for(var Jn=[],Mn=[],ti=0,Ai=ht.length;ti<Ai;ti++)if(0!==xt[ti]){var ki=ht[ti],Ki=ki.poly;if(-1===Mn.indexOf(Ki))if(ki.isExterior)Jn.push(Ki);else{-1===Mn.indexOf(Ki)&&Mn.push(Ki);var Hi=Jn.indexOf(ki.poly);-1!==Hi&&Jn.splice(Hi,1)}}for(var _i=0,pi=Jn.length;_i<pi;_i++){var $n=Jn[_i].multiPoly;-1===Ht.indexOf($n)&&Ht.push($n)}return this._afterState}},{key:"isInResult",value:function(){if(this.consumedBy)return!1;if(void 0!==this._isInResult)return this._isInResult;var Je=this.beforeState().multiPolys,ht=this.afterState().multiPolys;switch(Xn.type){case"union":var xt=0===Je.length,Ht=0===ht.length;this._isInResult=xt!==Ht;break;case"intersection":var $t,Jt;Je.length<ht.length?($t=Je.length,Jt=ht.length):($t=ht.length,Jt=Je.length),this._isInResult=Jt===Xn.numMultiPolys&&$t<Jt;break;case"xor":var lt=Math.abs(Je.length-ht.length);this._isInResult=lt%2==1;break;case"difference":var Ft=function(ln){return 1===ln.length&&ln[0].isSubject};this._isInResult=Ft(Je)!==Ft(ht);break;default:throw new Error("Unrecognized operation type found ".concat(Xn.type))}return this._isInResult}}],[{key:"fromRing",value:function(Je,ht,xt){var Ht,$t,Jt,lt=_n.comparePoints(Je,ht);if(lt<0)Ht=Je,$t=ht,Jt=1;else{if(!(lt>0))throw new Error("Tried to create degenerate segment at [".concat(Je.x,", ").concat(Je.y,"]"));Ht=ht,$t=Je,Jt=-1}return new yt(new _n(Ht,!0),new _n($t,!1),[xt],[Jt])}}]),yt}(),xn=function(){function yt(Je,ht,xt){if(i(this,yt),!Array.isArray(Je)||0===Je.length)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=ht,this.isExterior=xt,this.segments=[],"number"!=typeof Je[0][0]||"number"!=typeof Je[0][1])throw new Error("Input geometry is not a valid Polygon or MultiPolygon");var Ht=Ae.round(Je[0][0],Je[0][1]);this.bbox={ll:{x:Ht.x,y:Ht.y},ur:{x:Ht.x,y:Ht.y}};for(var $t=Ht,Jt=1,lt=Je.length;Jt<lt;Jt++){if("number"!=typeof Je[Jt][0]||"number"!=typeof Je[Jt][1])throw new Error("Input geometry is not a valid Polygon or MultiPolygon");var Ft=Ae.round(Je[Jt][0],Je[Jt][1]);Ft.x===$t.x&&Ft.y===$t.y||(this.segments.push(vn.fromRing($t,Ft,this)),Ft.x<this.bbox.ll.x&&(this.bbox.ll.x=Ft.x),Ft.y<this.bbox.ll.y&&(this.bbox.ll.y=Ft.y),Ft.x>this.bbox.ur.x&&(this.bbox.ur.x=Ft.x),Ft.y>this.bbox.ur.y&&(this.bbox.ur.y=Ft.y),$t=Ft)}Ht.x===$t.x&&Ht.y===$t.y||this.segments.push(vn.fromRing($t,Ht,this))}return m(yt,[{key:"getSweepEvents",value:function(){for(var Je=[],ht=0,xt=this.segments.length;ht<xt;ht++){var Ht=this.segments[ht];Je.push(Ht.leftSE),Je.push(Ht.rightSE)}return Je}}]),yt}(),dn=function(){function yt(Je,ht){if(i(this,yt),!Array.isArray(Je))throw new Error("Input geometry is not a valid Polygon or MultiPolygon");this.exteriorRing=new xn(Je[0],this,!0),this.bbox={ll:{x:this.exteriorRing.bbox.ll.x,y:this.exteriorRing.bbox.ll.y},ur:{x:this.exteriorRing.bbox.ur.x,y:this.exteriorRing.bbox.ur.y}},this.interiorRings=[];for(var xt=1,Ht=Je.length;xt<Ht;xt++){var $t=new xn(Je[xt],this,!1);$t.bbox.ll.x<this.bbox.ll.x&&(this.bbox.ll.x=$t.bbox.ll.x),$t.bbox.ll.y<this.bbox.ll.y&&(this.bbox.ll.y=$t.bbox.ll.y),$t.bbox.ur.x>this.bbox.ur.x&&(this.bbox.ur.x=$t.bbox.ur.x),$t.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=$t.bbox.ur.y),this.interiorRings.push($t)}this.multiPoly=ht}return m(yt,[{key:"getSweepEvents",value:function(){for(var Je=this.exteriorRing.getSweepEvents(),ht=0,xt=this.interiorRings.length;ht<xt;ht++)for(var Ht=this.interiorRings[ht].getSweepEvents(),$t=0,Jt=Ht.length;$t<Jt;$t++)Je.push(Ht[$t]);return Je}}]),yt}(),Sn=function(){function yt(Je,ht){if(i(this,yt),!Array.isArray(Je))throw new Error("Input geometry is not a valid Polygon or MultiPolygon");try{"number"==typeof Je[0][0][0]&&(Je=[Je])}catch(Jt){}this.polys=[],this.bbox={ll:{x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY},ur:{x:Number.NEGATIVE_INFINITY,y:Number.NEGATIVE_INFINITY}};for(var xt=0,Ht=Je.length;xt<Ht;xt++){var $t=new dn(Je[xt],this);$t.bbox.ll.x<this.bbox.ll.x&&(this.bbox.ll.x=$t.bbox.ll.x),$t.bbox.ll.y<this.bbox.ll.y&&(this.bbox.ll.y=$t.bbox.ll.y),$t.bbox.ur.x>this.bbox.ur.x&&(this.bbox.ur.x=$t.bbox.ur.x),$t.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=$t.bbox.ur.y),this.polys.push($t)}this.isSubject=ht}return m(yt,[{key:"getSweepEvents",value:function(){for(var Je=[],ht=0,xt=this.polys.length;ht<xt;ht++)for(var Ht=this.polys[ht].getSweepEvents(),$t=0,Jt=Ht.length;$t<Jt;$t++)Je.push(Ht[$t]);return Je}}]),yt}(),si=function(){function yt(Je){i(this,yt),this.events=Je;for(var ht=0,xt=Je.length;ht<xt;ht++)Je[ht].segment.ringOut=this;this.poly=null}return m(yt,null,[{key:"factory",value:function(Je){for(var ht=[],xt=0,Ht=Je.length;xt<Ht;xt++){var $t=Je[xt];if($t.isInResult()&&!$t.ringOut){for(var Jt=null,lt=$t.leftSE,Ft=$t.rightSE,ln=[lt],Jn=lt.point,Mn=[];Jt=lt,lt=Ft,ln.push(lt),lt.point!==Jn;)for(;;){var ti=lt.getAvailableLinkedEvents();if(0===ti.length){var Ai=ln[0].point,ki=ln[ln.length-1].point;throw new Error("Unable to complete output ring starting at [".concat(Ai.x,",")+" ".concat(Ai.y,"]. Last matching segment found ends at")+" [".concat(ki.x,", ").concat(ki.y,"]."))}if(1===ti.length){Ft=ti[0].otherSE;break}for(var Ki=null,Hi=0,_i=Mn.length;Hi<_i;Hi++)if(Mn[Hi].point===lt.point){Ki=Hi;break}if(null===Ki){Mn.push({index:ln.length,point:lt.point});var pi=lt.getLeftmostComparator(Jt);Ft=ti.sort(pi)[0].otherSE;break}var $n=Mn.splice(Ki)[0],wr=ln.splice($n.index);wr.unshift(wr[0].otherSE),ht.push(new yt(wr.reverse()))}ht.push(new yt(ln))}}return ht}}]),m(yt,[{key:"getGeom",value:function(){for(var Je=this.events[0].point,ht=[Je],xt=1,Ht=this.events.length-1;xt<Ht;xt++){var $t=this.events[xt].point,Jt=this.events[xt+1].point;0!==qe($t,Je,Jt)&&(ht.push($t),Je=$t)}if(1===ht.length)return null;var lt=ht[0],Ft=ht[1];0===qe(lt,Je,Ft)&&ht.shift(),ht.push(ht[0]);for(var ln=this.isExteriorRing()?1:-1,Jn=this.isExteriorRing()?0:ht.length-1,Mn=this.isExteriorRing()?ht.length:-1,ti=[],Ai=Jn;Ai!=Mn;Ai+=ln)ti.push([ht[Ai].x,ht[Ai].y]);return ti}},{key:"isExteriorRing",value:function(){if(void 0===this._isExteriorRing){var Je=this.enclosingRing();this._isExteriorRing=!Je||!Je.isExteriorRing()}return this._isExteriorRing}},{key:"enclosingRing",value:function(){return void 0===this._enclosingRing&&(this._enclosingRing=this._calcEnclosingRing()),this._enclosingRing}},{key:"_calcEnclosingRing",value:function(){for(var Je=this.events[0],ht=1,xt=this.events.length;ht<xt;ht++){var Ht=this.events[ht];_n.compare(Je,Ht)>0&&(Je=Ht)}for(var $t=Je.segment.prevInResult(),Jt=$t?$t.prevInResult():null;;){if(!$t)return null;if(!Jt)return $t.ringOut;if(Jt.ringOut!==$t.ringOut)return Jt.ringOut.enclosingRing()!==$t.ringOut?$t.ringOut:$t.ringOut.enclosingRing();$t=Jt.prevInResult(),Jt=$t?$t.prevInResult():null}}}]),yt}(),cn=function(){function yt(Je){i(this,yt),this.exteriorRing=Je,Je.poly=this,this.interiorRings=[]}return m(yt,[{key:"addInterior",value:function(Je){this.interiorRings.push(Je),Je.poly=this}},{key:"getGeom",value:function(){var Je=[this.exteriorRing.getGeom()];if(null===Je[0])return null;for(var ht=0,xt=this.interiorRings.length;ht<xt;ht++){var Ht=this.interiorRings[ht].getGeom();null!==Ht&&Je.push(Ht)}return Je}}]),yt}(),yn=function(){function yt(Je){i(this,yt),this.rings=Je,this.polys=this._composePolys(Je)}return m(yt,[{key:"getGeom",value:function(){for(var Je=[],ht=0,xt=this.polys.length;ht<xt;ht++){var Ht=this.polys[ht].getGeom();null!==Ht&&Je.push(Ht)}return Je}},{key:"_composePolys",value:function(Je){for(var ht=[],xt=0,Ht=Je.length;xt<Ht;xt++){var $t=Je[xt];if(!$t.poly)if($t.isExteriorRing())ht.push(new cn($t));else{var Jt=$t.enclosingRing();Jt.poly||ht.push(new cn(Jt)),Jt.poly.addInterior($t)}}return ht}}]),yt}(),qn=function(){function yt(Je){var ht=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vn.compare;i(this,yt),this.queue=Je,this.tree=new _(ht),this.segments=[]}return m(yt,[{key:"process",value:function(Je){var ht=Je.segment,xt=[];if(Je.consumedBy)return Je.isLeft?this.queue.remove(Je.otherSE):this.tree.remove(ht),xt;var Ht=Je.isLeft?this.tree.insert(ht):this.tree.find(ht);if(!Ht)throw new Error("Unable to find segment #".concat(ht.id," ")+"[".concat(ht.leftSE.point.x,", ").concat(ht.leftSE.point.y,"] -> ")+"[".concat(ht.rightSE.point.x,", ").concat(ht.rightSE.point.y,"] ")+"in SweepLine tree. Please submit a bug report.");for(var $t=Ht,Jt=Ht,lt=void 0,Ft=void 0;void 0===lt;)null===($t=this.tree.prev($t))?lt=null:void 0===$t.key.consumedBy&&(lt=$t.key);for(;void 0===Ft;)null===(Jt=this.tree.next(Jt))?Ft=null:void 0===Jt.key.consumedBy&&(Ft=Jt.key);if(Je.isLeft){var ln=null;if(lt){var Jn=lt.getIntersection(ht);if(null!==Jn&&(ht.isAnEndpoint(Jn)||(ln=Jn),!lt.isAnEndpoint(Jn)))for(var Mn=this._splitSafely(lt,Jn),ti=0,Ai=Mn.length;ti<Ai;ti++)xt.push(Mn[ti])}var ki=null;if(Ft){var Ki=Ft.getIntersection(ht);if(null!==Ki&&(ht.isAnEndpoint(Ki)||(ki=Ki),!Ft.isAnEndpoint(Ki)))for(var Hi=this._splitSafely(Ft,Ki),_i=0,pi=Hi.length;_i<pi;_i++)xt.push(Hi[_i])}if(null!==ln||null!==ki){var $n;$n=null===ln?ki:null===ki||_n.comparePoints(ln,ki)<=0?ln:ki,this.queue.remove(ht.rightSE),xt.push(ht.rightSE);for(var wr=ht.split($n),Pn=0,Bn=wr.length;Pn<Bn;Pn++)xt.push(wr[Pn])}xt.length>0?(this.tree.remove(ht),xt.push(Je)):(this.segments.push(ht),ht.prev=lt)}else{if(lt&&Ft){var ri=lt.getIntersection(Ft);if(null!==ri){if(!lt.isAnEndpoint(ri))for(var mi=this._splitSafely(lt,ri),xi=0,Mr=mi.length;xi<Mr;xi++)xt.push(mi[xi]);if(!Ft.isAnEndpoint(ri))for(var gr=this._splitSafely(Ft,ri),Li=0,Sr=gr.length;Li<Sr;Li++)xt.push(gr[Li])}}this.tree.remove(ht)}return xt}},{key:"_splitSafely",value:function(Je,ht){this.tree.remove(Je);var xt=Je.rightSE;this.queue.remove(xt);var Ht=Je.split(ht);return Ht.push(xt),void 0===Je.consumedBy&&this.tree.insert(Je),Ht}}]),yt}(),oi="undefined"!=typeof process&&process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE||1e6,Yn="undefined"!=typeof process&&process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS||1e6,Xn=new(function(){function yt(){i(this,yt)}return m(yt,[{key:"run",value:function(Je,ht,xt){Xn.type=Je,Ae.reset();for(var Ht=[new Sn(ht,!0)],$t=0,Jt=xt.length;$t<Jt;$t++)Ht.push(new Sn(xt[$t],!1));if(Xn.numMultiPolys=Ht.length,"difference"===Xn.type)for(var lt=Ht[0],Ft=1;Ft<Ht.length;)null!==H(Ht[Ft].bbox,lt.bbox)?Ft++:Ht.splice(Ft,1);if("intersection"===Xn.type)for(var ln=0,Jn=Ht.length;ln<Jn;ln++)for(var Mn=Ht[ln],ti=ln+1,Ai=Ht.length;ti<Ai;ti++)if(null===H(Mn.bbox,Ht[ti].bbox))return[];for(var ki=new _(_n.compare),Ki=0,Hi=Ht.length;Ki<Hi;Ki++)for(var _i=Ht[Ki].getSweepEvents(),pi=0,$n=_i.length;pi<$n;pi++)if(ki.insert(_i[pi]),ki.size>oi)throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");for(var wr=new qn(ki),Pn=ki.size,Bn=ki.pop();Bn;){var ri=Bn.key;if(ki.size===Pn){var mi=ri.segment;throw new Error("Unable to pop() ".concat(ri.isLeft?"left":"right"," SweepEvent ")+"[".concat(ri.point.x,", ").concat(ri.point.y,"] from segment #").concat(mi.id," ")+"[".concat(mi.leftSE.point.x,", ").concat(mi.leftSE.point.y,"] -> ")+"[".concat(mi.rightSE.point.x,", ").concat(mi.rightSE.point.y,"] from queue. ")+"Please file a bug report.")}if(ki.size>oi)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");if(wr.segments.length>Yn)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");for(var xi=wr.process(ri),Mr=0,gr=xi.length;Mr<gr;Mr++){var Li=xi[Mr];void 0===Li.consumedBy&&ki.insert(Li)}Pn=ki.size,Bn=ki.pop()}Ae.reset();var Sr=si.factory(wr.segments);return new yn(Sr).getGeom()}}]),yt}());return{union:function(yt){for(var Je=arguments.length,ht=new Array(Je>1?Je-1:0),xt=1;xt<Je;xt++)ht[xt-1]=arguments[xt];return Xn.run("union",yt,ht)},intersection:function(yt){for(var Je=arguments.length,ht=new Array(Je>1?Je-1:0),xt=1;xt<Je;xt++)ht[xt-1]=arguments[xt];return Xn.run("intersection",yt,ht)},xor:function(yt){for(var Je=arguments.length,ht=new Array(Je>1?Je-1:0),xt=1;xt<Je;xt++)ht[xt-1]=arguments[xt];return Xn.run("xor",yt,ht)},difference:function(yt){for(var Je=arguments.length,ht=new Array(Je>1?Je-1:0),xt=1;xt<Je;xt++)ht[xt-1]=arguments[xt];return Xn.run("difference",yt,ht)}}}()},2582:function(n){n.exports=function(){"use strict";function i(E,O,H,U,X){!function W(re,pe,Ae,Se,De){for(;Se>Ae;){if(Se-Ae>600){var qe=Se-Ae+1,rt=pe-Ae+1,ot=Math.log(qe),vt=.5*Math.exp(2*ot/3),rn=.5*Math.sqrt(ot*vt*(qe-vt)/qe)*(rt-qe/2<0?-1:1);W(re,pe,Math.max(Ae,Math.floor(pe-rt*vt/qe+rn)),Math.min(Se,Math.floor(pe+(qe-rt)*vt/qe+rn)),De)}var Xt=re[pe],fn=Ae,_n=Se;for(P(re,Ae,pe),De(re[Se],Xt)>0&&P(re,Ae,Se);fn<_n;){for(P(re,fn,_n),fn++,_n--;De(re[fn],Xt)<0;)fn++;for(;De(re[_n],Xt)>0;)_n--}0===De(re[Ae],Xt)?P(re,Ae,_n):P(re,++_n,Se),_n<=pe&&(Ae=_n+1),pe<=_n&&(Se=_n-1)}}(E,O,H||0,U||E.length-1,X||m)}function P(E,O,H){var U=E[O];E[O]=E[H],E[H]=U}function m(E,O){return E<O?-1:E>O?1:0}var s=function(E){void 0===E&&(E=9),this._maxEntries=Math.max(4,E),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function o(E,O,H){if(!H)return O.indexOf(E);for(var U=0;U<O.length;U++)if(H(E,O[U]))return U;return-1}function h(E,O){v(E,0,E.children.length,O,E)}function v(E,O,H,U,X){X||(X=N(null)),X.minX=1/0,X.minY=1/0,X.maxX=-1/0,X.maxY=-1/0;for(var W=O;W<H;W++){var re=E.children[W];y(X,E.leaf?U(re):re)}return X}function y(E,O){return E.minX=Math.min(E.minX,O.minX),E.minY=Math.min(E.minY,O.minY),E.maxX=Math.max(E.maxX,O.maxX),E.maxY=Math.max(E.maxY,O.maxY),E}function x(E,O){return E.minX-O.minX}function C(E,O){return E.minY-O.minY}function _(E){return(E.maxX-E.minX)*(E.maxY-E.minY)}function w(E){return E.maxX-E.minX+(E.maxY-E.minY)}function z(E,O){return E.minX<=O.minX&&E.minY<=O.minY&&O.maxX<=E.maxX&&O.maxY<=E.maxY}function R(E,O){return O.minX<=E.maxX&&O.minY<=E.maxY&&O.maxX>=E.minX&&O.maxY>=E.minY}function N(E){return{children:E,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function S(E,O,H,U,X){for(var W=[O,H];W.length;)if(!((H=W.pop())-(O=W.pop())<=U)){var re=O+Math.ceil((H-O)/U/2)*U;i(E,re,O,H,X),W.push(O,re,re,H)}}return s.prototype.all=function(){return this._all(this.data,[])},s.prototype.search=function(E){var O=this.data,H=[];if(!R(E,O))return H;for(var U=this.toBBox,X=[];O;){for(var W=0;W<O.children.length;W++){var re=O.children[W],pe=O.leaf?U(re):re;R(E,pe)&&(O.leaf?H.push(re):z(E,pe)?this._all(re,H):X.push(re))}O=X.pop()}return H},s.prototype.collides=function(E){var O=this.data;if(!R(E,O))return!1;for(var H=[];O;){for(var U=0;U<O.children.length;U++){var X=O.children[U],W=O.leaf?this.toBBox(X):X;if(R(E,W)){if(O.leaf||z(E,W))return!0;H.push(X)}}O=H.pop()}return!1},s.prototype.load=function(E){if(!E||!E.length)return this;if(E.length<this._minEntries){for(var O=0;O<E.length;O++)this.insert(E[O]);return this}var H=this._build(E.slice(),0,E.length-1,0);if(this.data.children.length)if(this.data.height===H.height)this._splitRoot(this.data,H);else{if(this.data.height<H.height){var U=this.data;this.data=H,H=U}this._insert(H,this.data.height-H.height-1,!0)}else this.data=H;return this},s.prototype.insert=function(E){return E&&this._insert(E,this.data.height-1),this},s.prototype.clear=function(){return this.data=N([]),this},s.prototype.remove=function(E,O){if(!E)return this;for(var H,U,X,W=this.data,re=this.toBBox(E),pe=[],Ae=[];W||pe.length;){if(W||(W=pe.pop(),U=pe[pe.length-1],H=Ae.pop(),X=!0),W.leaf){var Se=o(E,W.children,O);if(-1!==Se)return W.children.splice(Se,1),pe.push(W),this._condense(pe),this}X||W.leaf||!z(W,re)?U?(H++,W=U.children[H],X=!1):W=null:(pe.push(W),Ae.push(H),H=0,U=W,W=W.children[0])}return this},s.prototype.toBBox=function(E){return E},s.prototype.compareMinX=function(E,O){return E.minX-O.minX},s.prototype.compareMinY=function(E,O){return E.minY-O.minY},s.prototype.toJSON=function(){return this.data},s.prototype.fromJSON=function(E){return this.data=E,this},s.prototype._all=function(E,O){for(var H=[];E;)E.leaf?O.push.apply(O,E.children):H.push.apply(H,E.children),E=H.pop();return O},s.prototype._build=function(E,O,H,U){var X,W=H-O+1,re=this._maxEntries;if(W<=re)return h(X=N(E.slice(O,H+1)),this.toBBox),X;U||(U=Math.ceil(Math.log(W)/Math.log(re)),re=Math.ceil(W/Math.pow(re,U-1))),(X=N([])).leaf=!1,X.height=U;var pe=Math.ceil(W/re),Ae=pe*Math.ceil(Math.sqrt(re));S(E,O,H,Ae,this.compareMinX);for(var Se=O;Se<=H;Se+=Ae){var De=Math.min(Se+Ae-1,H);S(E,Se,De,pe,this.compareMinY);for(var qe=Se;qe<=De;qe+=pe){var rt=Math.min(qe+pe-1,De);X.children.push(this._build(E,qe,rt,U-1))}}return h(X,this.toBBox),X},s.prototype._chooseSubtree=function(E,O,H,U){for(;U.push(O),!O.leaf&&U.length-1!==H;){for(var X=1/0,W=1/0,re=void 0,pe=0;pe<O.children.length;pe++){var Ae=O.children[pe],Se=_(Ae),De=(qe=E,rt=Ae,(Math.max(rt.maxX,qe.maxX)-Math.min(rt.minX,qe.minX))*(Math.max(rt.maxY,qe.maxY)-Math.min(rt.minY,qe.minY))-Se);De<W?(W=De,X=Se<X?Se:X,re=Ae):De===W&&Se<X&&(X=Se,re=Ae)}O=re||O.children[0]}var qe,rt;return O},s.prototype._insert=function(E,O,H){var U=H?E:this.toBBox(E),X=[],W=this._chooseSubtree(U,this.data,O,X);for(W.children.push(E),y(W,U);O>=0&&X[O].children.length>this._maxEntries;)this._split(X,O),O--;this._adjustParentBBoxes(U,X,O)},s.prototype._split=function(E,O){var H=E[O],U=H.children.length,X=this._minEntries;this._chooseSplitAxis(H,X,U);var W=this._chooseSplitIndex(H,X,U),re=N(H.children.splice(W,H.children.length-W));re.height=H.height,re.leaf=H.leaf,h(H,this.toBBox),h(re,this.toBBox),O?E[O-1].children.push(re):this._splitRoot(H,re)},s.prototype._splitRoot=function(E,O){this.data=N([E,O]),this.data.height=E.height+1,this.data.leaf=!1,h(this.data,this.toBBox)},s.prototype._chooseSplitIndex=function(E,O,H){for(var U,X,W,re,pe,Ae,Se,De=1/0,qe=1/0,rt=O;rt<=H-O;rt++){var ot=v(E,0,rt,this.toBBox),vt=v(E,rt,H,this.toBBox),rn=(X=ot,W=vt,void 0,void 0,void 0,void 0,re=Math.max(X.minX,W.minX),pe=Math.max(X.minY,W.minY),Ae=Math.min(X.maxX,W.maxX),Se=Math.min(X.maxY,W.maxY),Math.max(0,Ae-re)*Math.max(0,Se-pe)),Xt=_(ot)+_(vt);rn<De?(De=rn,U=rt,qe=Xt<qe?Xt:qe):rn===De&&Xt<qe&&(qe=Xt,U=rt)}return U||H-O},s.prototype._chooseSplitAxis=function(E,O,H){var U=E.leaf?this.compareMinX:x,X=E.leaf?this.compareMinY:C;this._allDistMargin(E,O,H,U)<this._allDistMargin(E,O,H,X)&&E.children.sort(U)},s.prototype._allDistMargin=function(E,O,H,U){E.children.sort(U);for(var X=this.toBBox,W=v(E,0,O,X),re=v(E,H-O,H,X),pe=w(W)+w(re),Ae=O;Ae<H-O;Ae++){var Se=E.children[Ae];y(W,E.leaf?X(Se):Se),pe+=w(W)}for(var De=H-O-1;De>=O;De--){var qe=E.children[De];y(re,E.leaf?X(qe):qe),pe+=w(re)}return pe},s.prototype._adjustParentBBoxes=function(E,O,H){for(var U=H;U>=0;U--)y(O[U],E)},s.prototype._condense=function(E){for(var O=E.length-1,H=void 0;O>=0;O--)0===E[O].children.length?O>0?(H=E[O-1].children).splice(H.indexOf(E[O]),1):this.clear():h(E[O],this.toBBox)},s}()}},$e={};function B(n){var i=$e[n];if(void 0!==i)return i.exports;var P=$e[n]={id:n,loaded:!1,exports:{}};return de[n].call(P.exports,P,P.exports,B),P.loaded=!0,P.exports}B.n=n=>{var i=n&&n.__esModule?()=>n.default:()=>n;return B.d(i,{a:i}),i},B.d=(n,i)=>{for(var P in i)B.o(i,P)&&!B.o(n,P)&&Object.defineProperty(n,P,{enumerable:!0,get:i[P]})},B.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),B.o=(n,i)=>Object.prototype.hasOwnProperty.call(n,i),B.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),B(5975)})()},51957:(de,$e,B)=>{"use strict";B.d($e,{$2:()=>re,WO:()=>Ae,a3:()=>x,hX:()=>R});var z,Se,n=B(3184),i=B(36362),P=B(32425),m=B(36312),s=B(88623),o=B(59151),h=B(64398);class v{constructor(){this.idValue=new Date,this.idlingValue=!1}id(De){if(void 0!==De){if(!De)throw new Error("A value must be specified for the ID.");this.idValue=De}return this.idValue}idling(De){return void 0!==De&&(this.idlingValue=De),this.idlingValue}now(){return new Date}isExpired(){const De=this.last();return null!=De&&De<=this.now()}}class y{constructor(De,qe){this.source=De,De.initialize&&De.initialize(qe)}subscribe(De){this.sub=this.source.onInterrupt.subscribe(De)}unsubscribe(){this.sub.unsubscribe(),this.sub=null}resume(){this.source.attach()}pause(){this.source.detach()}}class x{}class C{constructor(){this.storageMap={}}get length(){return Object.keys(this.storageMap).length}clear(){this.storageMap={}}getItem(De){return void 0!==this.storageMap[De]?this.storageMap[De]:null}key(De){return Object.keys(this.storageMap)[De]||null}removeItem(De){this.storageMap[De]=void 0}setItem(De,qe){this.storageMap[De]=qe}}class _{constructor(){this.storage=this.getStorage()}getStorage(){try{const De=localStorage;return De.setItem("ng2IdleStorage",""),De.removeItem("ng2IdleStorage"),De}catch(De){return new C}}getItem(De){return this.storage.getItem("ng2Idle."+De)}removeItem(De){this.storage.removeItem("ng2Idle."+De)}setItem(De,qe){this.storage.setItem("ng2Idle."+De,qe)}_wrapped(){return this.storage}}_.\u0275fac=function(De){return new(De||_)},_.\u0275prov=n.Yz7({token:_,factory:_.\u0275fac}),_.ctorParameters=()=>[];class w extends v{constructor(De){super(),this.localStorage=De,this.idleName="main"}last(De){return void 0!==De&&this.setExpiry(De),this.getExpiry()}idling(De){return void 0!==De&&this.setIdling(De),this.getIdling()}getIdleName(){return this.idleName}setIdleName(De){De&&(this.idleName=De)}getExpiry(){const De=this.localStorage.getItem(this.idleName+".expiry");return De?new Date(parseInt(De,10)):null}setExpiry(De){De?this.localStorage.setItem(this.idleName+".expiry",De.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")}getIdling(){const De=this.localStorage.getItem(this.idleName+".idling");return!!De&&"true"===De}setIdling(De){De?this.localStorage.setItem(this.idleName+".idling",De.toString()):this.localStorage.setItem(this.idleName+".idling","false")}}w.\u0275fac=function(De){return new(De||w)(n.LFG(_))},w.\u0275prov=n.Yz7({token:w,factory:w.\u0275fac}),w.ctorParameters=()=>[{type:_}],(Se=z||(z={}))[Se.disabled=0]="disabled",Se[Se.idle=1]="idle",Se[Se.notIdle=2]="notIdle";class R{constructor(De,qe,rt,ot){this.expiry=De,this.zone=qe,this.platformId=ot,this.idle=1200,this.timeoutVal=30,this.autoResume=z.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new n.vpe,this.onIdleEnd=new n.vpe,this.onTimeoutWarning=new n.vpe,this.onTimeout=new n.vpe,this.onInterrupt=new n.vpe,rt&&(this.keepaliveSvc=rt,this.keepaliveEnabled=!0),this.setIdling(!1)}setIdleName(De){if(!(this.expiry instanceof w))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(De)}getKeepaliveEnabled(){return this.keepaliveEnabled}setKeepaliveEnabled(De){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=De}getTimeout(){return this.timeoutVal}setTimeout(De){if(!1===De)this.timeoutVal=0;else{if(!("number"==typeof De&&De>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=De}return this.timeoutVal}getIdle(){return this.idle}setIdle(De){if(De<=0)throw new Error("'seconds' must be greater zero");return this.idle=De}getAutoResume(){return this.autoResume}setAutoResume(De){return this.autoResume=De}setInterrupts(De){this.clearInterrupts();const qe=this;for(const rt of De){const ot={platformId:this.platformId},vt=new y(rt,ot);vt.subscribe(rn=>{qe.interrupt(rn.force,rn.innerArgs)}),this.interrupts.push(vt)}return this.interrupts}getInterrupts(){return this.interrupts}clearInterrupts(){for(const De of this.interrupts)De.pause(),De.unsubscribe();this.interrupts.length=0}isRunning(){return this.running}isIdling(){return this.idling}watch(De){this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");const qe=this.timeoutVal?this.timeoutVal:0;if(!De){const ot=new Date(this.expiry.now().getTime()+1e3*(this.idle+qe));this.expiry.last(ot)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0;const rt=()=>{this.zone.run(()=>{const ot=this.getExpiryDiff(qe);ot>0?(this.safeClearInterval("idleHandle"),this.setIdleIntervalOutsideOfZone(rt,ot)):this.toggleState()})};this.setIdleIntervalOutsideOfZone(rt,1e3*this.idle)}setIdleIntervalOutsideOfZone(De,qe){this.zone.runOutsideAngular(()=>{this.idleHandle=setInterval(De,qe)})}stop(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)}timeout(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)}interrupt(De,qe){if(this.running){if(this.timeoutVal&&this.expiry.isExpired())return void this.timeout();this.onInterrupt.emit(qe),(!0===De||this.autoResume===z.idle||this.autoResume===z.notIdle&&!this.expiry.idling())&&this.watch(De)}}setIdling(De){this.idling=De,this.expiry.idling(De)}toggleState(){this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimoutIntervalOutsideZone(()=>{this.doCountdownInZone()},1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")}setTimoutIntervalOutsideZone(De,qe){this.zone.runOutsideAngular(()=>{this.timeoutHandle=setInterval(()=>{De()},qe)})}toggleInterrupts(De){for(const qe of this.interrupts)De?qe.resume():qe.pause()}getExpiryDiff(De){const qe=this.expiry.now();return(this.expiry.last()||qe).getTime()-qe.getTime()-1e3*De}doCountdownInZone(){this.zone.run(()=>{this.doCountdown()})}doCountdown(){if(this.getExpiryDiff(this.timeoutVal)>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);if(this.idling){if(this.countdown<=0)return void this.timeout();this.onTimeoutWarning.emit(this.countdown),this.countdown--}}safeClearInterval(De){const qe=this[De];null!=qe&&(clearInterval(this[De]),this[De]=null)}startKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())}stopKeepalive(){!this.keepaliveSvc||!this.keepaliveEnabled||this.keepaliveSvc.stop()}ngOnDestroy(){this.stop(),this.clearInterrupts()}}R.\u0275fac=function(De){return new(De||R)(n.LFG(v),n.LFG(n.R0b),n.LFG(x,8),n.LFG(n.Lbi,8))},R.\u0275prov=n.Yz7({token:R,factory:R.\u0275fac}),R.ctorParameters=()=>[{type:v},{type:n.R0b},{type:x,decorators:[{type:n.FiY}]},{type:Object,decorators:[{type:n.FiY},{type:n.tBr,args:[n.Lbi]}]}];class N{constructor(De,qe,rt=!1){this.source=De,this.innerArgs=qe,this.force=rt}}class O extends class S{constructor(De,qe){this.attachFn=De,this.detachFn=qe,this.isAttached=!1,this.onInterrupt=new n.vpe}attach(){!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run(()=>this.attach())}detach(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1}}{constructor(De,qe,rt){super(null,null),this.target=De,this.events=qe,this.opts=rt,this.eventSubscription=new P.w,"number"==typeof this.opts&&(this.opts={throttleDelay:this.opts,passive:!1}),this.opts=this.opts||{passive:!1,throttleDelay:500},(void 0===this.opts.throttleDelay||null===this.opts.throttleDelay)&&(this.opts.throttleDelay=500),this.throttleDelay=this.opts.throttleDelay,this.passive=!!this.opts.passive}initialize(De){if((null==De?void 0:De.platformId)&&(0,i.PM)(De.platformId))return;const qe="function"==typeof this.target?this.target():this.target,rt=this.passive?{passive:!0}:null,ot=this.events.split(" ").map(rn=>(0,m.R)(qe,rn,rt));this.eventSrc=(0,s.T)(...ot),this.eventSrc=this.eventSrc.pipe((0,o.h)(rn=>!this.filterEvent(rn))),this.throttleDelay>0&&(this.eventSrc=this.eventSrc.pipe((0,h.p)(this.throttleDelay)));const vt=rn=>this.onInterrupt.emit(new N(this,rn));this.attachFn=()=>this.eventSubscription=this.eventSrc.subscribe(vt),this.detachFn=()=>this.eventSubscription.unsubscribe()}filterEvent(De){return!1}get options(){return{passive:this.passive,throttleDelay:this.throttleDelay}}}class H extends O{constructor(De,qe){super(()=>document.documentElement,De,qe)}filterEvent(De){return!("mousemove"!==De.type||!(De.originalEvent&&0===De.originalEvent.movementX&&0===De.originalEvent.movementY||void 0!==De.movementX&&!De.movementX)&&De.movementY)}}class U extends O{constructor(De,qe){super(()=>window,De,qe)}}class X extends U{constructor(De=500){super("storage",De)}filterEvent(De){return!(De.key&&De.key.indexOf("ng2Idle.")>=0&&De.key.indexOf(".expiry")>=0)}}class re{static forRoot(){return{ngModule:re,providers:[w,{provide:v,useExisting:w},R]}}}re.\u0275fac=function(De){return new(De||re)},re.\u0275mod=n.oAB({type:re}),re.\u0275inj=n.cJS({providers:[_]});const Ae=function pe(Se){return[new H("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",Se),new X(Se)]}()},6150:(de,$e,B)=>{"use strict";B.d($e,{A:()=>m,h:()=>s});var n=B(3184),i=B(28784),P=B(51957);class m extends P.a3{constructor(h,v){super(),this.http=h,this.zone=v,this.pingInterval=600,this.onPing=new n.vpe,this.onPingResponse=new n.vpe}request(h){return"string"==typeof h?this.pingRequest=new i.aW("GET",h):h instanceof i.aW?this.pingRequest=h:null===h&&(this.pingRequest=null),this.pingRequest}interval(h){if(!isNaN(h)&&h>0)this.pingInterval=h;else if(!isNaN(h)&&h<=0)throw new Error("Interval value must be greater than zero.");return this.pingInterval}ping(){this.onPing.emit(null),this.pingRequest&&this.http.request(this.pingRequest).subscribe(h=>{this.onPingResponse.emit(h)},h=>{this.onPingResponse.emit(h)})}start(){this.stop(),this.zone.runOutsideAngular(()=>{this.pingHandle=setInterval(()=>{this.zone.run(()=>{this.ping()})},1e3*this.pingInterval)})}stop(){this.hasPingHandle()&&(clearInterval(this.pingHandle),this.pingHandle=null)}ngOnDestroy(){this.stop()}isRunning(){return this.hasPingHandle()}hasPingHandle(){return null!==this.pingHandle&&void 0!==this.pingHandle}}m.\u0275fac=function(h){return new(h||m)(n.LFG(i.eN),n.LFG(n.R0b))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac}),m.ctorParameters=()=>[{type:i.eN},{type:n.R0b}];class s{static forRoot(){return{ngModule:s,providers:[m,{provide:P.a3,useExisting:m}]}}}s.\u0275fac=function(h){return new(h||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({imports:[[P.$2.forRoot()]]}),("undefined"==typeof ngJitMode||ngJitMode)&&n.kYT(s,{imports:[P.$2]})},27336:(de,$e)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var B=function(){function o(){}return o.EOL="\r\n",o.BOM="\ufeff",o.DEFAULT_FIELD_SEPARATOR=",",o.DEFAULT_DECIMAL_SEPARATOR=".",o.DEFAULT_QUOTE='"',o.DEFAULT_SHOW_TITLE=!1,o.DEFAULT_TITLE="My Generated Report",o.DEFAULT_FILENAME="generated",o.DEFAULT_SHOW_LABELS=!1,o.DEFAULT_USE_TEXT_FILE=!1,o.DEFAULT_USE_BOM=!0,o.DEFAULT_HEADER=[],o.DEFAULT_KEYS_AS_HEADERS=!1,o}();$e.CsvConfigConsts=B,$e.ConfigDefaults={filename:B.DEFAULT_FILENAME,fieldSeparator:B.DEFAULT_FIELD_SEPARATOR,quoteStrings:B.DEFAULT_QUOTE,decimalSeparator:B.DEFAULT_DECIMAL_SEPARATOR,showLabels:B.DEFAULT_SHOW_LABELS,showTitle:B.DEFAULT_SHOW_TITLE,title:B.DEFAULT_TITLE,useTextFile:B.DEFAULT_USE_TEXT_FILE,useBom:B.DEFAULT_USE_BOM,headers:B.DEFAULT_HEADER,useKeysAsHeaders:B.DEFAULT_KEYS_AS_HEADERS};var n=function(){function o(h){this._csv="";var v=h||{};this._options=s({},$e.ConfigDefaults,v),this._options.useKeysAsHeaders&&this._options.headers&&this._options.headers.length>0&&console.warn("Option to use object keys as headers was set, but headers were still passed!")}return Object.defineProperty(o.prototype,"options",{get:function(){return this._options},set:function(h){this._options=s({},$e.ConfigDefaults,h)},enumerable:!0,configurable:!0}),o.prototype.generateCsv=function(h,v){if(void 0===v&&(v=!1),this._csv="",this._parseData(h),this._options.useBom&&(this._csv+=B.BOM),this._options.showTitle&&(this._csv+=this._options.title+"\r\n\n"),this._getHeaders(),this._getBody(),""!=this._csv){if(v)return this._csv;var y=this._options.useTextFile?"plain":"csv",x=this._options.useTextFile?".txt":".csv",C=new Blob([this._csv],{type:"text/"+y+";charset=utf8;"});if(navigator.msSaveBlob){var _=this._options.filename.replace(/ /g,"_")+x;navigator.msSaveBlob(C,_)}else{this._options.useTextFile,encodeURI(this._csv);var R=document.createElement("a");R.href=URL.createObjectURL(C),R.setAttribute("visibility","hidden"),R.download=this._options.filename.replace(/ /g,"_")+x,document.body.appendChild(R),R.click(),document.body.removeChild(R)}}else console.log("Invalid data")},o.prototype._getHeaders=function(){if(this._options.showLabels||this._options.useKeysAsHeaders){var v=this._options.useKeysAsHeaders?Object.keys(this._data[0]):this._options.headers;if(v.length>0){for(var y="",x=0;x<v.length;x++)y+=v[x]+this._options.fieldSeparator;y=y.slice(0,-1),this._csv+=y+B.EOL}}},o.prototype._getBody=function(){for(var h=Object.keys(this._data[0]),v=0;v<this._data.length;v++){for(var y="",x=0;x<h.length;x++){var C=h[x];y+=this._formatData(this._data[v][C])+this._options.fieldSeparator}y=y.slice(0,-1),this._csv+=y+B.EOL}},o.prototype._formatData=function(h){return"locale"===this._options.decimalSeparator&&this._isFloat(h)?h.toLocaleString():"."!==this._options.decimalSeparator&&this._isFloat(h)?h.toString().replace(".",this._options.decimalSeparator):"string"==typeof h?(h=h.replace(/"/g,'""'),(this._options.quoteStrings||h.indexOf(",")>-1||h.indexOf("\n")>-1||h.indexOf("\r")>-1)&&(h=this._options.quoteStrings+h+this._options.quoteStrings),h):"boolean"==typeof h?h?"TRUE":"FALSE":h},o.prototype._isFloat=function(h){return+h===h&&(!isFinite(h)||Boolean(h%1))},o.prototype._parseData=function(h){return this._data="object"!=typeof h?JSON.parse(h):h,this._data},o}();$e.ExportToCsv=n;var i=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;function m(o){if(null==o)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function s(o){for(var h=[],v=1;v<arguments.length;v++)h[v-1]=arguments[v];for(var y,C,x=m(o),_=1;_<arguments.length;_++){for(var w in y=Object(arguments[_]))i.call(y,w)&&(x[w]=y[w]);if(Object.getOwnPropertySymbols){C=Object.getOwnPropertySymbols(y);for(var z=0;z<C.length;z++)P.call(y,C[z])&&(x[C[z]]=y[C[z]])}}return x}},41739:(de,$e,B)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0}),function n(i){for(var P in i)$e.hasOwnProperty(P)||($e[P]=i[P])}(B(27336))},65226:function(de,$e){var B,n,i;n=[],B=function(){"use strict";function P(x,C){return void 0===C?C={autoBom:!1}:"object"!=typeof C&&(console.warn("Deprecated: Expected third argument to be a object"),C={autoBom:!C}),C.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(x.type)?new Blob(["\ufeff",x],{type:x.type}):x}function m(x,C,_){var w=new XMLHttpRequest;w.open("GET",x),w.responseType="blob",w.onload=function(){y(w.response,C,_)},w.onerror=function(){console.error("could not download file")},w.send()}function s(x){var C=new XMLHttpRequest;C.open("HEAD",x,!1);try{C.send()}catch(_){}return 200<=C.status&&299>=C.status}function o(x){try{x.dispatchEvent(new MouseEvent("click"))}catch(_){var C=document.createEvent("MouseEvents");C.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),x.dispatchEvent(C)}}var h="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,v=h.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),y=h.saveAs||("object"!=typeof window||window!==h?function(){}:"download"in HTMLAnchorElement.prototype&&!v?function(x,C,_){var w=h.URL||h.webkitURL,z=document.createElement("a");C=C||x.name||"download",z.download=C,z.rel="noopener","string"==typeof x?(z.href=x,z.origin===location.origin?o(z):s(z.href)?m(x,C,_):o(z,z.target="_blank")):(z.href=w.createObjectURL(x),setTimeout(function(){w.revokeObjectURL(z.href)},4e4),setTimeout(function(){o(z)},0))}:"msSaveOrOpenBlob"in navigator?function(x,C,_){if(C=C||x.name||"download","string"!=typeof x)navigator.msSaveOrOpenBlob(P(x,_),C);else if(s(x))m(x,C,_);else{var w=document.createElement("a");w.href=x,w.target="_blank",setTimeout(function(){o(w)})}}:function(x,C,_,w){if((w=w||open("","_blank"))&&(w.document.title=w.document.body.innerText="downloading..."),"string"==typeof x)return m(x,C,_);var z="application/octet-stream"===x.type,R=/constructor/i.test(h.HTMLElement)||h.safari,N=/CriOS\/[\d]+/.test(navigator.userAgent);if((N||z&&R||v)&&"undefined"!=typeof FileReader){var S=new FileReader;S.onloadend=function(){var H=S.result;H=N?H:H.replace(/^data:[^;]*;/,"data:attachment/file;"),w?w.location.href=H:location=H,w=null},S.readAsDataURL(x)}else{var E=h.URL||h.webkitURL,O=E.createObjectURL(x);w?w.location=O:location.href=O,w=null,setTimeout(function(){E.revokeObjectURL(O)},4e4)}});h.saveAs=y.saveAs=y,de.exports=y},void 0!==(i="function"==typeof B?B.apply($e,n):B)&&(de.exports=i)},14545:de=>{self,de.exports=function(){var $e,B={90643:function(m){m.exports.default=["\u0625\u0628\u062f\u0623 \u0641\u064a \u0627\u0644\u0643\u062a\u0627\u0628\u0629...","\u062d\u0648\u0644 \u062c\u0648\u062f\u064a\u062a","\u0645\u062d\u0631\u0631 \u062c\u0648\u062f\u064a\u062a","\u062f\u0644\u064a\u0644 \u0645\u0633\u062a\u062e\u062f\u0645 \u062c\u0648\u062f\u064a\u062a","\u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0645\u0633\u0627\u0639\u062f\u0629 \u0645\u0641\u0635\u0644\u0629 \u0644\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645","\u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0627\u0644\u062a\u0631\u062e\u064a\u0635\u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0630\u0647\u0627\u0628 \u0644\u0645\u0648\u0642\u0639\u0646\u0627:","\u0634\u0631\u0627\u0621 \u0627\u0644\u0646\u0633\u062e\u0629 \u0627\u0644\u0643\u0627\u0645\u0644\u0629","\u062d\u0642\u0648\u0642 \u0627\u0644\u0637\u0628\u0639 \u0648\u0627\u0644\u0646\u0634\u0631 \xa9 XDSoft.net - Chupurnov Valeriy. \u0643\u0644 \u0627\u0644\u062d\u0642\u0648\u0642 \u0645\u062d\u0641\u0648\u0638\u0629.","\u0645\u0650\u0631\u0652\u0633\u0627\u0629","\u0641\u062a\u062d \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629","\u0641\u062a\u062d \u0627\u0644\u0645\u062d\u0631\u0631 \u0641\u064a \u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u0643\u0627\u0645\u0644","\u0645\u0633\u062d \u0627\u0644\u062a\u0646\u0633\u064a\u0642","\u0645\u0644\u0621 \u0627\u0644\u0644\u0648\u0646 \u0623\u0648 \u062a\u0639\u064a\u064a\u0646 \u0644\u0648\u0646 \u0627\u0644\u0646\u0635","\u0625\u0639\u0627\u062f\u0629","\u062a\u0631\u0627\u062c\u0639","\u0639\u0631\u064a\u0636","\u0645\u0627\u0626\u0644","\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u063a\u064a\u0631 \u0645\u0631\u062a\u0628\u0629","\u0625\u062f\u0631\u0627\u062c \u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u062a\u0628\u0629","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u0648\u0633\u0637","\u0645\u062d\u0627\u0630\u0627\u0629 \u0645\u062b\u0628\u062a\u0629","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0633\u0627\u0631","\u0645\u062d\u0627\u0630\u0627\u0629 \u0644\u0644\u064a\u0645\u064a\u0646","\u0625\u062f\u0631\u0627\u062c \u062e\u0637 \u0623\u0641\u0642\u064a","\u0625\u062f\u0631\u0627\u062c \u0635\u0648\u0631\u0629","\u0627\u062f\u062e\u0627\u0644 \u0627\u0644\u0645\u0644\u0641","\u0625\u062f\u0631\u0627\u062c \u0641\u064a\u062f\u064a\u0648 \u064a\u0648\u062a\u064a\u0648\u0628/\u0641\u064a\u0645\u064a\u0648 ","\u0625\u062f\u0631\u0627\u062c \u0631\u0627\u0628\u0637","\u062d\u062c\u0645 \u0627\u0644\u062e\u0637","\u0646\u0648\u0639 \u0627\u0644\u062e\u0637","\u0625\u062f\u0631\u0627\u062c \u0643\u062a\u0644\u0629 \u062a\u0646\u0633\u064a\u0642","\u0639\u0627\u062f\u064a","\u0639\u0646\u0648\u0627\u0646 1","\u0639\u0646\u0648\u0627\u0646 2","\u0639\u0646\u0648\u0627\u0646 3","\u0639\u0646\u0648\u0627\u0646 4","\u0625\u0642\u062a\u0628\u0627\u0633","\u0643\u0648\u062f","\u0625\u062f\u0631\u0627\u062c","\u0625\u062f\u0631\u0627\u062c \u062c\u062f\u0648\u0644","\u062a\u0642\u0644\u064a\u0644 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u0632\u064a\u0627\u062f\u0629 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u062a\u062d\u062f\u064a\u062f \u0623\u062d\u0631\u0641 \u062e\u0627\u0635\u0629","\u0625\u062f\u0631\u0627\u062c \u062d\u0631\u0641 \u062e\u0627\u0635","\u062a\u0646\u0633\u064a\u0642 \u0627\u0644\u0631\u0633\u0645","\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0648\u0636\u0639","\u0647\u0648\u0627\u0645\u0634","\u0623\u0639\u0644\u0649","\u064a\u0645\u064a\u0646","\u0623\u0633\u0641\u0644","\u064a\u0633\u0627\u0631","\u0627\u0644\u0623\u0646\u0645\u0627\u0637","\u0627\u0644\u0637\u0628\u0642\u0627\u062a","\u0645\u062d\u0627\u0630\u0627\u0629","\u0627\u0644\u064a\u0645\u064a\u0646","\u0627\u0644\u0648\u0633\u0637","\u0627\u0644\u064a\u0633\u0627\u0631","--\u063a\u064a\u0631 \u0645\u0636\u0628\u0648\u0637--","Src","\u0627\u0644\u0639\u0646\u0648\u0627\u0646","\u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u062f\u064a\u0644","\u0627\u0644\u0631\u0627\u0628\u0637","\u0627\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637 \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u062c\u062f\u064a\u062f\u0629","\u0627\u0644\u0635\u0648\u0631\u0629","\u0645\u0644\u0641","\u0645\u062a\u0642\u062f\u0645","\u062e\u0635\u0627\u0626\u0635 \u0627\u0644\u0635\u0648\u0631\u0629","\u0625\u0644\u063a\u0627\u0621","\u062d\u0633\u0646\u0627","\u0645\u062a\u0635\u0641\u062d \u0627\u0644\u0645\u0644\u0641\u0627\u062a","\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 ","\u062d\u062f\u062b \u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u062c\u0644\u062f\u0627\u062a","\u0647\u0644 \u0623\u0646\u062a \u0648\u0627\u062b\u0642\u061f","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u062c\u0644\u062f","\u0625\u0646\u0634\u0627\u0621 \u0645\u062c\u0644\u062f","\u0623\u0643\u062a\u0628 \u0625\u0633\u0645","\u0625\u0633\u0642\u0627\u0637 \u0635\u0648\u0631\u0629","\u0625\u0633\u0642\u0627\u0637 \u0627\u0644\u0645\u0644\u0641","\u0623\u0648 \u0623\u0646\u0642\u0631","\u0627\u0644\u0646\u0635 \u0627\u0644\u0628\u062f\u064a\u0644","\u0631\u0641\u0639","\u062a\u0635\u0641\u062d","\u0627\u0644\u062e\u0644\u0641\u064a\u0629","\u0646\u0635","\u0623\u0639\u0644\u0649","\u0627\u0644\u0648\u0633\u0637","\u0627\u0644\u0623\u0633\u0641\u0644","\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0642\u0628\u0644","\u0625\u062f\u0631\u0627\u062c \u0639\u0645\u0648\u062f \u0628\u0639\u062f","\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0639\u0644\u0649","\u0625\u062f\u0631\u0627\u062c \u0635\u0641 \u0623\u0633\u0641\u0644","\u062d\u0630\u0641 \u0627\u0644\u062c\u062f\u0648\u0644","\u062d\u0630\u0641 \u0627\u0644\u0635\u0641","\u062d\u0630\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","\u062e\u0644\u064a\u0629 \u0641\u0627\u0631\u063a\u0629","%d \u062d\u0631\u0641","%d \u0643\u0644\u0627\u0645","\u0627\u0636\u0631\u0628 \u0645\u0646 \u062e\u0644\u0627\u0644","\u0623\u0643\u062f","\u062d\u0631\u0641 \u0641\u0648\u0642\u064a","\u0645\u062e\u0637\u0648\u0637\u0629","\u0642\u0637\u0639 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631","\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644","\u0627\u0633\u062a\u0631\u0627\u062d\u0629","\u0627\u0644\u0628\u062d\u062b \u0639\u0646","\u0627\u0633\u062a\u0628\u062f\u0644 \u0628","\u0645\u062d\u0644","\u0645\u0639\u062c\u0648\u0646","\u0627\u062e\u062a\u0631 \u0645\u062d\u062a\u0648\u0649 \u0644\u0644\u0635\u0642","\u0645\u0635\u062f\u0631","\u0628\u0627\u0644\u062e\u0637 \u0627\u0644\u0639\u0631\u064a\u0636","\u0645\u0627\u0626\u0644","\u0634\u063a\u0644","\u0635\u0644\u0629","\u0625\u0644\u063a\u0627\u0621","\u0643\u0631\u0631","\u0637\u0627\u0648\u0644\u0629","\u0635\u0648\u0631\u0629","\u0646\u0638\u064a\u0641","\u0641\u0642\u0631\u0629","\u062d\u062c\u0645 \u0627\u0644\u062e\u0637","\u0641\u064a\u062f\u064a\u0648","\u0627\u0644\u062e\u0637","\u062d\u0648\u0644 \u0627\u0644\u0645\u062d\u0631\u0631","\u0637\u0628\u0627\u0639\u0629","\u0623\u0643\u062f","\u0634\u0637\u0628","\u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0628\u0627\u062f\u0626\u0629","\u0646\u062a\u0648\u0621","\u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","\u0627\u0644\u062d\u062c\u0645 \u0627\u0644\u062a\u0642\u0644\u064a\u062f\u064a","\u0627\u0644\u062e\u0637","\u0642\u0627\u0626\u0645\u0629","\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0642\u0645\u0629","\u0642\u0637\u0639","\u0627\u062e\u062a\u0631 \u0627\u0644\u0643\u0644","\u0642\u0627\u0646\u0648\u0646","\u0641\u062a\u062d \u0627\u0644\u0631\u0627\u0628\u0637","\u062a\u0639\u062f\u064a\u0644 \u0627\u0644\u0631\u0627\u0628\u0637","\u0633\u0645\u0629 Nofollow","\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0631\u0627\u0628\u0637","\u062a\u062d\u062f\u064a\u062b","\u0644\u062a\u062d\u0631\u064a\u0631","\u0645\u0631\u0627\u062c\u0639\u0629","URL","\u062a\u062d\u0631\u064a\u0631","\u0645\u062d\u0627\u0630\u0627\u0629 \u0623\u0641\u0642\u064a\u0629","\u0641\u0644\u062a\u0631","\u0639\u0646 \u0637\u0631\u064a\u0642 \u0627\u0644\u062a\u063a\u064a\u064a\u0631","\u0628\u0627\u0644\u0627\u0633\u0645","\u062d\u0633\u0628 \u0627\u0644\u062d\u062c\u0645","\u0625\u0636\u0627\u0641\u0629 \u0645\u062c\u0644\u062f","\u0625\u0639\u0627\u062f\u0629","\u0627\u062d\u062a\u0641\u0638","\u062d\u0641\u0638 \u0628\u0627\u0633\u0645","\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u062d\u062c\u0645","\u062d\u062c\u0645 \u0627\u0644\u0642\u0637\u0639","\u0639\u0631\u0636","\u0627\u0631\u062a\u0641\u0627\u0639","\u062d\u0627\u0641\u0638 \u0639\u0644\u0649 \u0627\u0644\u0646\u0633\u0628","\u0623\u0646","\u0644\u0627","\u062d\u0630\u0641","\u062a\u0645\u064a\u0632","\u062a\u0645\u064a\u0632 %s","\u0645\u062d\u0627\u0630\u0627\u0629 \u0639\u0645\u0648\u062f\u064a\u0629","\u0627\u0646\u0634\u0642\u060c \u0645\u0632\u0642","\u0627\u0630\u0647\u0628","\u0623\u0636\u0641 \u0627\u0644\u0639\u0645\u0648\u062f","\u0627\u0636\u0641 \u0633\u0637\u0631","\u0631\u062e\u0635\u0629 %s","\u062d\u0630\u0641","\u0627\u0646\u0642\u0633\u0627\u0645 \u0639\u0645\u0648\u062f\u064a","\u062a\u0642\u0633\u064a\u0645 \u0623\u0641\u0642\u064a","\u0627\u0644\u062d\u062f\u0648\u062f","\u064a\u0634\u0628\u0647 \u0627\u0644\u0643\u0648\u062f \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 HTML. \u062a\u0628\u0642\u064a \u0643\u0645\u0627 HTML\u061f","\u0627\u0644\u0635\u0642 \u0643 HTML","\u0627\u062d\u062a\u0641\u0638","\u0625\u062f\u0631\u0627\u062c \u0643\u0646\u0635","\u0625\u062f\u0631\u0627\u062c \u0627\u0644\u0646\u0635 \u0641\u0642\u0637","\u064a\u0645\u0643\u0646\u0643 \u0641\u0642\u0637 \u062a\u062d\u0631\u064a\u0631 \u0635\u0648\u0631\u0643 \u0627\u0644\u062e\u0627\u0635\u0629. \u062a\u062d\u0645\u064a\u0644 \u0647\u0630\u0647 \u0627\u0644\u0635\u0648\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u0645\u0636\u064a\u0641\u061f","\u062a\u0645 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0635\u0648\u0631\u0629 \u0628\u0646\u062c\u0627\u062d \u0639\u0644\u0649 \u0627\u0644\u062e\u0627\u062f\u0645!","\u0644\u0648\u062d\u0629","\u0644\u0627 \u062a\u0648\u062c\u062f \u0645\u0644\u0641\u0627\u062a \u0641\u064a \u0647\u0630\u0627 \u0627\u0644\u062f\u0644\u064a\u0644.","\u0625\u0639\u0627\u062f\u0629 \u062a\u0633\u0645\u064a\u0629","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u062c\u062f\u064a\u062f","\u0645\u0639\u0627\u064a\u0646\u0629","\u062a\u062d\u0645\u064a\u0644","\u0644\u0635\u0642 \u0645\u0646 \u0627\u0644\u062d\u0627\u0641\u0638\u0629","\u0645\u062a\u0635\u0641\u062d\u0643 \u0644\u0627 \u064a\u062f\u0639\u0645 \u0625\u0645\u0643\u0627\u0646\u064a\u0629 \u0627\u0644\u0648\u0635\u0648\u0644 \u0627\u0644\u0645\u0628\u0627\u0634\u0631 \u0625\u0644\u0649 \u0627\u0644\u062d\u0627\u0641\u0638\u0629.","\u0646\u0633\u062e \u0627\u0644\u062a\u062d\u062f\u064a\u062f","\u0646\u0633\u062e","\u062f\u0627\u0626\u0631\u0629 \u0646\u0635\u0641 \u0642\u0637\u0631\u0647\u0627 \u0627\u0644\u062d\u062f\u0648\u062f","\u0639\u0631\u0636 \u0643\u0644","\u062a\u0637\u0628\u064a\u0642","\u064a\u0631\u062c\u0649 \u0645\u0644\u0621 \u0647\u0630\u0627 \u0627\u0644\u0645\u062c\u0627\u0644","\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 \u0648\u064a\u0628","\u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a","\u062f\u0627\u0626\u0631\u0629","\u0646\u0642\u0637\u0629","\u0627\u0644\u0645\u0631\u0628\u0639\u0629","\u0627\u0644\u0628\u062d\u062b","\u062a\u062c\u062f \u0627\u0644\u0633\u0627\u0628\u0642\u0629","\u062a\u062c\u062f \u0627\u0644\u062a\u0627\u0644\u064a","\u0644\u0644\u0635\u0642 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u0642\u0627\u062f\u0645 \u0645\u0646 Microsoft Word/Excel \u0627\u0644\u0648\u062b\u064a\u0642\u0629. \u0647\u0644 \u062a\u0631\u064a\u062f \u0623\u0646 \u062a\u0628\u0642\u064a \u0634\u0643\u0644 \u0623\u0648 \u062a\u0646\u0638\u064a\u0641\u0647 \u061f ","\u0643\u0644\u0645\u0629 \u0644\u0635\u0642 \u0627\u0644\u0643\u0634\u0641 \u0639\u0646","\u0646\u0638\u064a\u0641\u0629","\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0641\u0635\u0644","\u0627\u0636\u063a\u0637 \u0627\u0644\u0628\u062f\u064a\u0644 \u0644\u062a\u063a\u064a\u064a\u0631 \u062d\u062c\u0645 \u0645\u062e\u0635\u0635"]},52532:function(m){m.exports.default=["Napi\u0161 n\u011bco","O Jodit","Editor Jodit","Jodit U\u017eivatelsk\xe1 p\u0159\xedru\u010dka","obsahuje detailn\xed n\xe1pov\u011bdu","Pro informace o licenci, pros\xedm, p\u0159ejd\u011bte na na\u0161i str\xe1nku:","Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. V\u0161echna pr\xe1va vyhrazena.","Anchor","Otev\u0159\xedt v nov\xe9 z\xe1lo\u017ece","Otev\u0159\xedt v celoobrazovkov\xe9m re\u017eimu","Vy\u010distit form\xe1tov\xe1n\xed","Barva v\xfdpln\u011b a p\xedsma","Vp\u0159ed","Zp\u011bt","Tu\u010dn\xe9","Kurz\xedva","Odr\xe1\u017eky","\u010c\xedslovan\xfd seznam","Zarovnat na st\u0159ed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vlo\u017eit horizont\xe1ln\xed linku","Vlo\u017eit obr\xe1zek","Vlo\u017eit soubor","Vlo\u017eit video (YT/Vimeo)","Vlo\u017eit odkaz","Velikost p\xedsma","Typ p\xedsma","Form\xe1tovat blok","Norm\xe1ln\xed text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Cit\xe1t","K\xf3d","Vlo\u017eit","Vlo\u017eit tabulku","Zmen\u0161it odsazen\xed","Zv\u011bt\u0161it odsazen\xed","Vybrat speci\xe1ln\xed symbol","Vlo\u017eit speci\xe1ln\xed symbol","Pou\u017e\xedt form\xe1t","Zm\u011bnit m\xf3d","Okraje","horn\xed","prav\xfd","spodn\xed","lev\xfd","Styly","T\u0159\xeddy","Zarovn\xe1n\xed","Vpravo","Na st\u0159ed","Vlevo","--nenastaveno--","src","Titulek","Alternativn\xed text (alt)","Link","Otev\u0159\xedt link v nov\xe9 z\xe1lo\u017ece","Obr\xe1zek","soubor","Roz\u0161\xed\u0159en\xe9","Vlastnosti obr\xe1zku","Zp\u011bt","Ok","Prohl\xed\u017ee\u010d soubor\u016f","Chyba p\u0159i na\u010d\xedt\xe1n\xed seznamu soubor\u016f","Chyba p\u0159i na\u010d\xedt\xe1n\xed slo\u017eek","Jste si jist\xfd(\xe1)?","N\xe1zev slo\u017eky","Vytvo\u0159it slo\u017eku","n\xe1zev","P\u0159et\xe1hn\u011bte sem obr\xe1zek","P\u0159et\xe1hn\u011bte sem soubor","nebo klikn\u011bte","Alternativn\xed text","Nahr\xe1t","Server","Pozad\xed","Text","Nahoru","Na st\u0159ed","Dolu","Vlo\u017eit sloupec p\u0159ed","Vlo\u017eit sloupec za","Vlo\u017eit \u0159\xe1dek nad","Vlo\u017eit \u0159\xe1dek pod","Vymazat tabulku","Vymazat \u0159\xe1dku","Vymazat sloupec","Vy\u010distit bu\u0148ku","Znaky: %d","Slova: %d","P\u0159e\u0161krtnuto","Podtr\u017eeno","Horn\xed index","Doln\xed index","Vyjmout ozna\u010den\xe9","Ozna\u010dit v\u0161e","Zalomen\xed","Najdi","Nahradit za","Vym\u011b\u0148te","Vlo\u017eit","Vyber obsah pro vlo\u017een\xed","HTML","tu\u010dn\u011b","kurz\xedva","\u0161t\u011btec","odkaz","zp\u011bt","vp\u0159ed","tabulka","obr\xe1zek","guma","odstavec","velikost p\xedsma","video","p\xedsmo","\u043e editoru","tisk","podtr\u017eeno","p\u0159e\u0161krtnuto","zv\u011bt\u0161it odsazen\xed","zmen\u0161it odsazen\xed","celoobrazovkov\xfd re\u017eim","smrsknout","Linka","Odr\xe1\u017eka","\u010c\xedslovan\xfd seznam","Vyjmout","Ozna\u010dit v\u0161e","K\xf3d","Otev\u0159\xedt odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Aktualizovat","Chcete-li upravit","Zobrazit","URL","Editovat","Horizont\xe1ln\xed zarovn\xe1n\xed","Filtr","Dle posledn\xed zm\u011bny","Dle n\xe1zvu","Dle velikosti","P\u0159idat slo\u017eku","Reset","Ulo\u017eit","Ulo\u017eit jako...","Zm\u011bnit rozm\u011br","O\u0159ezat","\u0160\xed\u0159ka","V\xfd\u0161ka","Ponechat pom\u011br","Ano","Ne","Vyjmout","Ozna\u010dit","Ozna\u010dit %s","Vertik\xe1ln\xed zarovn\xe1n\xed","Rozd\u011blit","Spojit","P\u0159idat sloupec","P\u0159idat \u0159\xe1dek","Licence: %s","Vymazat","Rozd\u011blit vertik\xe1ln\u011b","Rozd\u011blit horizont\xe1ln\u011b","Okraj","V\xe1\u0161 text se podob\xe1 HTML. Vlo\u017eit ho jako HTML?","Vlo\u017eit jako HTML","Ponechat origin\xe1l","Vlo\u017eit jako TEXT","Vlo\u017eit pouze TEXT","M\u016f\u017eete upravovat pouze sv\xe9 obr\xe1zky. Na\u010d\xedst obr\xe1zek?","Obr\xe1zek byl \xfasp\u011b\u0161n\u011b nahr\xe1n!","paleta","V tomto adres\xe1\u0159i nejsou \u017e\xe1dn\xe9 soubory.","p\u0159ejmenovat","Zadejte nov\xfd n\xe1zev","n\xe1hled","Sta\u017een\xed","Vlo\u017eit ze schr\xe1nky","V\xe1\u0161 prohl\xed\u017ee\u010d nepodporuje p\u0159\xedm\xfd p\u0159\xedstup do schr\xe1nky.","Kop\xedrovat v\xfdb\u011br","kop\xedrov\xe1n\xed","Border radius","Zobrazit v\u0161echny","Plat\xed","Pros\xedm, vypl\u0148te toto pole","Pros\xedm, zadejte webovou adresu","V\xfdchoz\xed","Kruh","Dot","Quadrate","Naj\xedt","Naj\xedt P\u0159edchoz\xed","Naj\xedt Dal\u0161\xed","Obsah, kter\xfd vkl\xe1d\xe1te, je pravd\u011bpodobn\u011b z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vlo\u017eit pouze text?","Detekov\xe1n fragment z Wordu nebo Excelu","Vy\u010distit","Vlo\u017ete n\xe1zev t\u0159\xeddy","Stiskn\u011bte Alt pro vlastn\xed zm\u011bnu velikosti"]},75178:function(m){m.exports.default=["Bitte geben Sie einen Text ein","\xdcber Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte \xf6ffnen","Editor in voller Gr\xf6\xdfe \xf6ffnen","Formatierung l\xf6schen","F\xfcllfarbe oder Textfarbe \xe4ndern","Wiederholen","R\xfcckg\xe4ngig machen","Fett","Kursiv","Unsortierte Liste einf\xfcgen","Nummerierte Liste einf\xfcgen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einf\xfcgen","Bild einf\xfcgen","Datei einf\xfcgen","Youtube/vimeo Video einf\xfcgen","Link einf\xfcgen","Schriftgr\xf6\xdfe","Schriftfamilie","Formatblock einf\xfcgen","Normal","\xdcberschrift 1","\xdcberschrift 2","\xdcberschrift 3","\xdcberschrift 4","Zitat","Code","Einf\xfcgen","Tabelle einf\xfcgen","Einzug verkleinern","Einzug vergr\xf6\xdfern","Sonderzeichen ausw\xe4hlen","Sonderzeichen einf\xfcgen","Format kopieren","\xc4nderungsmodus","R\xe4nder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab \xf6ffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei l\xf6schen","oder hier klicken","Alternativtext","Hochladen","Ausw\xe4hlen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einf\xfcgen","Spalte danach einf\xfcgen","Zeile oberhalb einf\xfcgen","Zeile unterhalb einf\xfcgen","Tabelle l\xf6schen","Zeile l\xf6schen","Spalte l\xf6schen","Zelle leeren","Zeichen: %d","W\xf6rter: %d","Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einf\xfcgen","W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","HTML","Fett gedruckt","Kursiv","B\xfcrste","Verkn\xfcpfung","R\xfcckg\xe4ngig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgr\xf6\xdfe","Video","Schriftart","\xdcber","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgr\xf6\xdfe","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","W\xe4hlen Sie Alle aus","Code einbetten","Link \xf6ffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach ge\xe4ndert","Nach Name sortieren","Nach Gr\xf6\xdfe sortiert","Ordner hinzuf\xfcgen","Wiederherstellen","Speichern","Speichern als","Gr\xf6\xdfe \xe4ndern","Gr\xf6\xdfe anpassen","Breite","H\xf6he","Seitenverh\xe4ltnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzuf\xfcgen","Zeile hinzuf\xfcgen",null,"L\xf6schen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Als HTML einf\xfcgen?","Original speichern","Als Text einf\xfcgen","Nur Text einf\xfcgen","Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einf\xfcgen","Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius f\xfcr abgerundete Ecken","Alle anzeigen","Anwenden","Bitte f\xfcllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","S\xe4ubern","className (CSS) einf\xfcgen","Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung"]},51048:function(m){m.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},22999:function(m){m.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor","Gu\xeda de usuario Jodit","contiene ayuda detallada para el uso.","Para informaci\xf3n sobre la licencia, por favor visite nuestro sitio:","Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pesta\xf1a","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar l\xednea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar v\xednculo","Tama\xf1o de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","C\xf3digo","Insertar","Insertar tabla","Disminuir sangr\xeda","Aumentar sangr\xeda","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","M\xe1rgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","T\xedtulo","Texto Alternativo","V\xednculo","Abrir v\xednculo en nueva pesta\xf1a","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","\xbfEst\xe1 seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Subir","Buscar","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna despu\xe9s","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","Caracteres: %d","Palabras: %d","Tachado","Subrayado","super\xedndice","sub\xedndice","Cortar selecci\xf3n","Seleccionar todo","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","HTML","negrita","cursiva","Brocha","V\xednculo","deshacer","rehacer","Tabla","Imagen","Borrar","P\xe1rrafo","Tama\xf1o de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangr\xeda","quitar sangr\xeda","Tama\xf1o completo","encoger","l\xednea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir c\xf3digo","Abrir v\xednculo","Editar v\xednculo","No seguir","Desvincular","Actualizar","Para editar","Ver","URL","Editar","Alineaci\xf3n horizontal","filtrar","Ordenar por fecha modificaci\xf3n","Ordenar por nombre","Ordenar por tama\xf1o","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relaci\xf3n de aspecto","Si","No","Quitar","Seleccionar","Seleccionar: %s","Alineaci\xf3n vertical","Dividir","Mezclar","Agregar columna","Agregar fila",null,"Borrar","Dividir vertical","Dividir horizontal","Borde","El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Pegar como HTML?","Mantener","Insertar como texto","Insertar solo texto","Solo puedes editar tus propias im\xe1genes. \xbfDescargar esta imagen en el servidor?","\xa1La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selecci\xf3n de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una direcci\xf3n web","Predeterminado","C\xedrculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","El contenido pegado proviene de un documento de Microsoft Word/Excel. \xbfDesea mantener el formato o limpiarlo?","Pegado desde Word detectado","Limpiar","Insertar nombre de clase","Presione Alt para cambiar el tama\xf1o personalizado"]},34145:function(m){m.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Guide de l'utilisateur","Aide d\xe9taill\xe9e \xe0 l'utilisation","Consulter la licence sur notre site web:","Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'\xe9diteur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","D\xe9faire","Gras","Italique","Liste non ordonn\xe9e","Liste ordonn\xe9e","Centrer","Justifier","Aligner \xe0 gauche ","Aligner \xe0 droite","Ins\xe9rer une ligne horizontale","Ins\xe9rer une image","Ins\xe9rer un fichier","Ins\xe9rer une vid\xe9o","Ins\xe9rer un lien","Taille des caract\xe8res","Famille des caract\xe8res","Bloc formatt\xe9","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Ins\xe9rer","Ins\xe9rer un tableau","Diminuer le retrait","Retrait plus","S\xe9lectionnez un caract\xe8re sp\xe9cial","Ins\xe9rer un caract\xe8re sp\xe9cial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avanc\xe9","Propri\xe9t\xe9s de l'image","Annuler","OK","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous s\xfbrs ?","Entrer le non de dossier","Cr\xe9er un dossier","type de fichier","Coller une image","D\xe9poser un fichier","ou cliquer","Texte de remplacemement","Charger","Chercher","Arri\xe8re-plan","Texte","Haut","Milieu","Bas","Ins\xe9rer une colonne avant","Ins\xe9rer une colonne apr\xe8s","Ins\xe9rer une ligne en dessus","Ins\xe9rer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Symboles: %d","Mots: %d","Frapper \xe0 travers","Souligner","exposant","indice","Couper la s\xe9lection","Tout s\xe9lectionner","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu \xe0 coller","la source","graisseux","italique","verser","lien","abolir","pr\xeat","graphique","Image","la gommen","clause","taille de police","Video","police","\xe0 propos de l'\xe9diteur","impression","soulign\xe9","barr\xe9","indentation","indiff\xe9rent","taille r\xe9elle","taille conventionnelle","la ligne","Liste des","Liste num\xe9rot\xe9e","Couper","S\xe9lectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre \xe0 jour","Pour \xe9diter","Voir","URL",null,"Alignement horizontal","Filtre","Trier par modifi\xe9","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en \xe9vidence","Mettre en \xe9vidence: %s","Alignement vertical","Split","aller","Ajouter une colonne","Ajouter une rang\xe9e",null,"Effacer","Split vertical","Split horizontal",null,"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Coller en tant que texte","Coller le texte seulement","Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!null","Palette","Il n'y a aucun fichier dans ce r\xe9pertoire.","renommer","Entrez un nouveau nom","Aper\xe7u","T\xe9l\xe9charger","Coller \xe0 partir du presse-papiers","Votre navigateur ne prend pas en charge l'acc\xe8s direct \xe0 la presse-papiers.","Copier la s\xe9lection","copie","Rayon des fronti\xe8res","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par d\xe9faut","Cercle","Dot","Quadrate","Trouver","Trouvez Pr\xe9c\xe9dente","Suivant","Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","C'est peut-\xeatre un fragment de Word ou Excel","Nettoyer","Ins\xe9rer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalis\xe9"]},40272:function(m){m.exports.default=["\u05d4\u05e7\u05dc\u05d3 \u05de\u05e9\u05d4\u05d5...","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","\u05de\u05e7\u05d5\u05dd \u05e2\u05d9\u05d2\u05d5\u05df","\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4","\u05e4\u05ea\u05d7 \u05d0\u05ea \u05d4\u05e2\u05d5\u05e8\u05da \u05d1\u05d7\u05dc\u05d5\u05df \u05d7\u05d3\u05e9","\u05e0\u05e7\u05d4 \u05e2\u05d9\u05e6\u05d5\u05d1","\u05e9\u05e0\u05d4 \u05e6\u05d1\u05e2 \u05d8\u05e7\u05e1\u05d8 \u05d0\u05d5 \u05e8\u05e7\u05e2","\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1","\u05d1\u05d8\u05dc","\u05de\u05d5\u05d3\u05d2\u05e9","\u05e0\u05d8\u05d5\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd","\u05d4\u05db\u05e0\u05e1 \u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u05ea","\u05de\u05e8\u05db\u05d6","\u05d9\u05e9\u05e8 ","\u05d9\u05e9\u05e8 \u05dc\u05e9\u05de\u05d0\u05dc","\u05d9\u05e9\u05e8 \u05dc\u05d9\u05de\u05d9\u05df","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05d4\u05db\u05e0\u05e1 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d5\u05d1\u05e5","\u05d4\u05db\u05e0\u05e1 \u05e1\u05e8\u05d8\u05d5\u05df \u05d5\u05d9\u05d3\u05d0\u05d5 \u05deYouTube/Vimeo","\u05d4\u05db\u05e0\u05e1 \u05e7\u05d9\u05e9\u05d5\u05e8","\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df","\u05d2\u05d5\u05e4\u05df","\u05de\u05e2\u05d5\u05e6\u05d1 \u05de\u05e8\u05d0\u05e9","\u05e8\u05d2\u05d9\u05dc","\u05db\u05d5\u05ea\u05e8\u05ea 1","\u05db\u05d5\u05ea\u05e8\u05ea 2","\u05db\u05d5\u05ea\u05e8\u05ea 3","\u05db\u05d5\u05ea\u05e8\u05ea 4","\u05e6\u05d9\u05d8\u05d5\u05d8","\u05e7\u05d5\u05d3","\u05d4\u05db\u05e0\u05e1","\u05d4\u05db\u05e0\u05e1 \u05d8\u05d1\u05dc\u05d4","\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4","\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4","\u05d1\u05d7\u05e8 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","\u05d4\u05db\u05e0\u05e1 \u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3","\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1","\u05d4\u05d7\u05dc\u05e3 \u05de\u05e6\u05d1","\u05e8\u05d9\u05d5\u05d5\u05d7","\u05e2\u05dc\u05d9\u05d5\u05df","\u05d9\u05de\u05d9\u05df","\u05ea\u05d7\u05ea\u05d5\u05df","\u05e9\u05de\u05d0\u05dc","\u05e2\u05d9\u05e6\u05d5\u05d1 CSS","\u05de\u05d7\u05dc\u05e7\u05ea CSS","\u05d9\u05d9\u05e9\u05d5\u05e8","\u05d9\u05de\u05d9\u05df","\u05de\u05e8\u05db\u05d6","\u05e9\u05de\u05d0\u05dc","--\u05dc\u05d0 \u05e0\u05e7\u05d1\u05e2--","\u05de\u05e7\u05d5\u05e8","\u05db\u05d5\u05ea\u05e8\u05ea","\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9","\u05e7\u05d9\u05e9\u05d5\u05e8","\u05e4\u05ea\u05d7 \u05d1\u05db\u05e8\u05d8\u05d9\u05e1\u05d9\u05d4 \u05d7\u05d3\u05e9\u05d4","\u05ea\u05de\u05d5\u05e0\u05d4","\u05e7\u05d5\u05d1\u05e5","\u05de\u05ea\u05e7\u05d3\u05dd","\u05de\u05d0\u05e4\u05d9\u05d9\u05e0\u05d9 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d1\u05d9\u05d8\u05d5\u05dc","\u05d0\u05d9\u05e9\u05d5\u05e8","\u05e1\u05d9\u05d9\u05e8 \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd","\u05e9\u05d2\u05d9\u05d0\u05d4  \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05e8\u05e9\u05d9\u05de\u05d4","\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d6\u05de\u05df \u05d8\u05e2\u05d9\u05e0\u05ea \u05ea\u05e7\u05d9\u05d5\u05ea","\u05d4\u05d0\u05dd \u05d0\u05ea\u05d4 \u05d1\u05d8\u05d5\u05d7?","\u05d4\u05db\u05e0\u05e1 \u05e9\u05dd \u05ea\u05e7\u05d9\u05d4","\u05e6\u05d5\u05e8 \u05ea\u05e7\u05d9\u05d4","\u05e1\u05d5\u05d2 \u05d4\u05e7\u05d5\u05d1\u05e5","\u05d4\u05e1\u05e8 \u05ea\u05de\u05d5\u05e0\u05d4","\u05d4\u05e1\u05e8 \u05e7\u05d5\u05d1\u05e5","\u05d0\u05d5 \u05dc\u05d7\u05e5","\u05db\u05d9\u05ea\u05d5\u05d1 \u05d7\u05dc\u05d5\u05e4\u05d9","\u05d4\u05e2\u05dc\u05d4","\u05e1\u05d9\u05d9\u05e8","\u05e8\u05e7\u05e2","\u05d8\u05e7\u05e1\u05d8","\u05e2\u05dc\u05d9\u05d5\u05df","\u05de\u05e8\u05db\u05d6","\u05ea\u05d7\u05ea\u05d5\u05df","\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05dc\u05e4\u05e0\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e2\u05de\u05d5\u05d3\u05d4 \u05d0\u05d7\u05e8\u05d9","\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05e2\u05dc","\u05d4\u05db\u05e0\u05e1 \u05e9\u05d5\u05e8\u05d4 \u05de\u05ea\u05d7\u05ea","\u05de\u05d7\u05e7 \u05d8\u05d1\u05dc\u05d4","\u05de\u05d7\u05e7 \u05e9\u05d5\u05e8\u05d4","\u05de\u05d7\u05e7 \u05e2\u05de\u05d5\u05d3\u05d4","\u05e8\u05d5\u05e7\u05df \u05ea\u05d0","\u05ea\u05d5\u05d5\u05d9\u05dd: %d","\u05de\u05d9\u05dc\u05d9\u05dd: %d","\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4","\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df","superscript","subscript","\u05d2\u05d6\u05d5\u05e8 \u05d1\u05d7\u05d9\u05e8\u05d4","\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc","\u05e9\u05d1\u05d9\u05e8\u05ea \u05e9\u05d5\u05e8\u05d4","\u05d7\u05e4\u05e9","\u05d4\u05d7\u05dc\u05e3 \u05d1","\u05dc\u05d4\u05d7\u05dc\u05d9\u05e3","\u05d4\u05d3\u05d1\u05e7","\u05d1\u05d7\u05e8 \u05ea\u05d5\u05db\u05df \u05dc\u05d4\u05d3\u05d1\u05e7\u05d4","HTML","\u05de\u05d5\u05d3\u05d2\u05e9","\u05e0\u05d8\u05d5\u05d9","\u05de\u05d1\u05e8\u05e9\u05ea","\u05e7\u05d9\u05e9\u05d5\u05e8","\u05d1\u05d8\u05dc","\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1","\u05d8\u05d1\u05dc\u05d4","\u05ea\u05de\u05d5\u05e0\u05d4","\u05de\u05d7\u05e7","\u05e4\u05e1\u05e7\u05d4","\u05d2\u05d5\u05d3\u05dc \u05d2\u05d5\u05e4\u05df","\u05d5\u05d9\u05d3\u05d0\u05d5","\u05d2\u05d5\u05e4\u05df","\u05e2\u05dc\u05d9\u05e0\u05d5","\u05d4\u05d3\u05e4\u05e1","\u05e7\u05d5 \u05ea\u05d7\u05ea\u05d5\u05df","\u05e7\u05d5 \u05d7\u05d5\u05e6\u05d4","\u05d4\u05d2\u05d3\u05dc \u05db\u05e0\u05d9\u05e1\u05d4","\u05d4\u05e7\u05d8\u05df \u05db\u05e0\u05d9\u05e1\u05d4","\u05d2\u05d5\u05d3\u05dc \u05de\u05dc\u05d0","\u05db\u05d5\u05d5\u05e5","\u05e7\u05d5 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05e8\u05e9\u05d9\u05de\u05ea \u05ea\u05d1\u05dc\u05d9\u05d8\u05d9\u05dd","\u05e8\u05e9\u05d9\u05de\u05d4 \u05de\u05de\u05d5\u05e1\u05e4\u05e8\u05ea","\u05d7\u05ea\u05d5\u05da","\u05d1\u05d7\u05e8 \u05d4\u05db\u05dc","\u05d4\u05d5\u05e1\u05e3 \u05e7\u05d5\u05d3","\u05e4\u05ea\u05d7 \u05e7\u05d9\u05e9\u05d5\u05e8","\u05e2\u05e8\u05d5\u05da \u05e7\u05d9\u05e9\u05d5\u05e8","\u05dc\u05dc\u05d0 \u05de\u05e2\u05e7\u05d1","\u05d1\u05d8\u05dc \u05e7\u05d9\u05e9\u05d5\u05e8","\u05e2\u05d3\u05db\u05df","\u05db\u05d3\u05d9 \u05dc\u05e2\u05e8\u05d5\u05da","\u05d4\u05e6\u05d2","\u05db\u05ea\u05d5\u05d1\u05ea","\u05e2\u05e8\u05d5\u05da","\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05d5\u05e4\u05e7\u05d9","\u05e1\u05e0\u05df","\u05de\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05d9\u05e0\u05d5\u05d9","\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05e9\u05dd","\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9 \u05d2\u05d5\u05d3\u05dc","\u05d4\u05d5\u05e1\u05e3 \u05ea\u05e7\u05d9\u05d9\u05d4","\u05d0\u05e4\u05e1","\u05e9\u05de\u05d5\u05e8","\u05e9\u05de\u05d5\u05e8 \u05d1\u05e9\u05dd...","\u05e9\u05e0\u05d4 \u05d2\u05d5\u05d3\u05dc","\u05d7\u05ea\u05d5\u05da","\u05e8\u05d5\u05d7\u05d1","\u05d2\u05d5\u05d1\u05d4","\u05e9\u05de\u05d5\u05e8 \u05d9\u05d7\u05e1","\u05db\u05df","\u05dc\u05d0","\u05d4\u05e1\u05e8","\u05d1\u05d7\u05e8","\u05e0\u05d1\u05d7\u05e8: %s","\u05d9\u05d9\u05e9\u05d5\u05e8 \u05d0\u05e0\u05db\u05d9","\u05e4\u05d9\u05e6\u05d5\u05dc","\u05de\u05d6\u05d2","\u05d4\u05d5\u05e1\u05e3 \u05e2\u05de\u05d5\u05d3\u05d4","\u05d4\u05d5\u05e1\u05e3 \u05e9\u05d5\u05e8\u05d4",null,"\u05de\u05d7\u05e7","\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05e0\u05db\u05d9","\u05e4\u05d9\u05e6\u05d5\u05dc \u05d0\u05d5\u05e4\u05e7\u05d9","\u05de\u05e1\u05d2\u05e8\u05ea","\u05d4\u05e7\u05d5\u05d3 \u05d3\u05d5\u05de\u05d4 \u05dcHTML, \u05d4\u05d0\u05dd \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05dbHTML","\u05d4\u05d3\u05d1\u05e7 \u05dbHTML","\u05d4\u05e9\u05d0\u05e8","\u05d4\u05db\u05e0\u05e1 \u05db\u05d8\u05e7\u05e1\u05d8","\u05d4\u05db\u05e0\u05e1 \u05d8\u05e7\u05e1\u05d8 \u05d1\u05dc\u05d1\u05d3","\u05e8\u05e7 \u05e7\u05d1\u05e6\u05d9\u05dd \u05d4\u05de\u05e9\u05d5\u05d9\u05d9\u05db\u05d9\u05dd \u05e9\u05dc\u05da \u05e0\u05d9\u05ea\u05e0\u05d9\u05dd \u05dc\u05e2\u05e8\u05d9\u05db\u05d4. \u05d4\u05d0\u05dd \u05dc\u05d4\u05d5\u05e8\u05d9\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5?","\u05d4\u05ea\u05de\u05d5\u05e0\u05d4 \u05e2\u05dc\u05ea\u05d4 \u05d1\u05d4\u05e6\u05dc\u05d7\u05d4!","\u05dc\u05d5\u05d7","\u05d0\u05d9\u05df \u05e7\u05d1\u05e6\u05d9\u05dd \u05d1\u05e1\u05e4\u05e8\u05d9\u05d4 \u05d6\u05d5.","\u05d4\u05d5\u05e0\u05d2\u05e8\u05d9\u05ea","\u05d4\u05d6\u05df \u05e9\u05dd \u05d7\u05d3\u05e9","\u05ea\u05e6\u05d5\u05d2\u05d4 \u05de\u05e7\u05d3\u05d9\u05de\u05d4","\u05d4\u05d5\u05e8\u05d3","\u05dc\u05d4\u05d3\u05d1\u05d9\u05e7 \u05de\u05d4\u05dc\u05d5\u05d7","\u05d4\u05d3\u05e4\u05d3\u05e4\u05df \u05e9\u05dc\u05da \u05dc\u05d0 \u05ea\u05d5\u05de\u05da \u05d2\u05d9\u05e9\u05d4 \u05d9\u05e9\u05d9\u05e8\u05d4 \u05dc\u05dc\u05d5\u05d7.","\u05d4\u05e2\u05ea\u05e7 \u05d1\u05d7\u05d9\u05e8\u05d4","\u05d4\u05e2\u05ea\u05e7","\u05e8\u05d3\u05d9\u05d5\u05e1 \u05d4\u05d2\u05d1\u05d5\u05dc","\u05d4\u05e6\u05d2 \u05d0\u05ea \u05db\u05dc","\u05d4\u05d7\u05dc","\u05e0\u05d0 \u05dc\u05de\u05dc\u05d0 \u05e9\u05d3\u05d4 \u05d6\u05d4","\u05d0\u05e0\u05d0 \u05d4\u05d6\u05df \u05db\u05ea\u05d5\u05d1\u05ea \u05d0\u05d9\u05e0\u05d8\u05e8\u05e0\u05d8","\u05d1\u05e8\u05d9\u05e8\u05ea \u05d4\u05de\u05d7\u05d3\u05dc","\u05de\u05e2\u05d2\u05dc","\u05e0\u05e7\u05d5\u05d3\u05d4","\u05d4\u05e8\u05d9\u05d1\u05d5\u05e2 \u05d4\u05d6\u05d4","\u05dc\u05de\u05e6\u05d5\u05d0","\u05de\u05e6\u05d0 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3\u05dd","\u05d7\u05e4\u05e9 \u05d0\u05ea \u05d4\u05d1\u05d0","\u05d4\u05ea\u05d5\u05db\u05df \u05d4\u05de\u05d5\u05d3\u05d1\u05e7 \u05de\u05d2\u05d9\u05e2 \u05de\u05de\u05e1\u05de\u05da \u05d5\u05d5\u05e8\u05d3/\u05d0\u05e7\u05e1\u05dc. \u05d4\u05d0\u05dd \u05d1\u05e8\u05e6\u05d5\u05e0\u05da \u05dc\u05d4\u05e9\u05d0\u05d9\u05e8 \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d0\u05d5 \u05dc\u05e0\u05e7\u05d5\u05ea\u05d5",'\u05d6\u05d5\u05d4\u05ea\u05d4 \u05d4\u05d3\u05d1\u05e7\u05d4 \u05de"\u05d5\u05d5\u05e8\u05d3"',"\u05e0\u05e7\u05d4","\u05d4\u05db\u05e0\u05e1 \u05d0\u05ea \u05e9\u05dd \u05d4\u05db\u05d9\u05ea\u05d4","\u05dc\u05d7\u05e5 \u05e2\u05dc \u05d0\u05dc\u05d8 \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d2\u05d5\u05d3\u05dc \u05de\u05d5\u05ea\u05d0\u05dd \u05d0\u05d9\u05e9\u05d9\u05ea"]},2978:function(m){m.exports.default=["\xcdrjon be valamit","Joditr\xf3l","Jodit Editor","Jodit \xfatmutat\xf3","tov\xe1bbi seg\xedts\xe9get tartalmaz","Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyit\xe1s \xfaj lapon","Megnyit\xe1s teljes m\xe9retben","Form\xe1z\xe1s t\xf6rl\xe9se","H\xe1tt\xe9r/sz\xf6veg sz\xedn","\xdajra","Visszavon","F\xe9lk\xf6v\xe9r","D\u0151lt","Pontozott lista","Sz\xe1mozott lista","K\xf6z\xe9pre z\xe1rt","Sorkiz\xe1rt","Balra z\xe1rt","Jobbra z\xe1rt","V\xedzszintes vonal besz\xfar\xe1sa","K\xe9p besz\xfar\xe1s","F\xe1jl besz\xfar\xe1s","Youtube vide\xf3 besz\xfar\xe1sa","Link besz\xfar\xe1s","Bet\u0171m\xe9ret","Bet\u0171t\xedpus","Form\xe1zott blokk besz\xfar\xe1sa","Norm\xe1l","Fejl\xe9c 1","Fejl\xe9c 2","Fejl\xe9c 3","Fejl\xe9c 4","Id\xe9zet","K\xf3d","Besz\xfar","T\xe1bl\xe1zat besz\xfar\xe1sa","Beh\xfaz\xe1s cs\xf6kkent\xe9se","Beh\xfaz\xe1s n\xf6vel\xe9se","Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Speci\xe1lis karakter besz\xfar\xe1sa","K\xe9p form\xe1z\xe1sa","N\xe9zet v\xe1lt\xe1sa","Szeg\xe9lyek","fels\u0151","jobb","als\xf3","bal","CSS st\xedlusok","CSS oszt\xe1lyok","Igaz\xedt\xe1s","Jobbra","K\xf6z\xe9pre","Balra","Nincs","Forr\xe1s","C\xedm","Helyettes\xedt\u0151 sz\xf6veg","Link","Link megnyit\xe1sa \xfaj lapon","K\xe9p","F\xe1jl","Halad\xf3","K\xe9p tulajdons\xe1gai","M\xe9gsem","OK","F\xe1jl tall\xf3z\xf3","Hiba a lista bet\xf6lt\xe9se k\xf6zben","Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Biztosan ezt szeretn\xe9?","\xcdrjon be egy mappanevet","Mappa l\xe9trehoz\xe1sa","\xedrjon be bevet","H\xfazza ide a k\xe9pet","H\xfazza ide a f\xe1jlt","vagy kattintson","Helyettes\xedt\u0151 sz\xf6veg","Felt\xf6lt","Tall\xf3z","H\xe1tt\xe9r","Sz\xf6veg","Fent","K\xf6z\xe9pen","Lent","Oszlop besz\xfar\xe1s el\xe9","Oszlop besz\xfar\xe1s ut\xe1na","Sor besz\xfar\xe1s f\xf6l\xe9","Sor besz\xfar\xe1s al\xe1","T\xe1bl\xe1zat t\xf6rl\xe9se","Sor t\xf6rl\xe9se","Oszlop t\xf6rl\xe9se","Cella tartalm\xe1nak t\xf6rl\xe9se","Karakterek sz\xe1ma: %d","Szavak sz\xe1ma: %d","\xc1th\xfazott","Al\xe1h\xfazott","Fels\u0151 index","Als\xf3 index","Kiv\xe1g\xe1s","\xd6sszes kijel\xf6l\xe9se","Sz\xfcnet","Keres\xe9s","Csere erre","Cser\xe9lje ki","Beilleszt\xe9s","V\xe1lasszon tartalmat a beilleszt\xe9shez","HTML","F\xe9lk\xf6v\xe9r","D\u0151lt","Ecset","Link","Visszavon","\xdajra","T\xe1bl\xe1zat","K\xe9p","T\xf6rl\xe9s","Paragr\xe1fus","Bet\u0171m\xe9ret","Vide\xf3","Bet\u0171","R\xf3lunk","Nyomtat","Al\xe1h\xfazott","\xc1th\xfazott","Beh\xfaz\xe1s","Aussenseiter","Teljes m\xe9ret","\xd6sszenyom","Egyenes vonal","Lista","Sz\xe1mozott lista","Kiv\xe1g","\xd6sszes kijel\xf6l\xe9se","Be\xe1gyazott k\xf3d","Link megnyit\xe1sa","Link szerkeszt\xe9se","Nincs k\xf6vet\xe9s","Link lev\xe1laszt\xe1sa","Friss\xedt","Szerkeszt\xe9s","fel\xfclvizsg\xe1lat","URL","Szerkeszt","V\xedzszintes igaz\xedt\xe1s","Sz\u0171r\u0151","Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Rendez\xe9s n\xe9v szerint","Rendez\xe9s m\xe9ret szerint","Mappa hozz\xe1ad\xe1s","Vissza\xe1ll\xedt","Ment\xe9s","Ment\xe9s m\xe1sk\xe9nt...","\xc1tm\xe9retez\xe9s","Kiv\xe1g","Sz\xe9less\xe9g","Magass\xe1g","K\xe9par\xe1ny megtart\xe1sa","Igen","Nem","Elt\xe1vol\xedt","Kijel\xf6l","Kijel\xf6l: %s","F\xfcgg\u0151leges igaz\xedt\xe1s","Feloszt\xe1s","\xd6sszevon\xe1s","Oszlop hozz\xe1ad\xe1s","Sor hozz\xe1ad\xe1s",null,"T\xf6rl\xe9s","F\xfcgg\u0151leges feloszt\xe1s","V\xedzszintes feloszt\xe1s","Szeg\xe9ly","A beillesztett sz\xf6veg HTML-nek t\u0171nik. Megtartsuk HTML-k\xe9nt?","Besz\xfar\xe1s HTML-k\xe9nt","Megtart\xe1s","Besz\xfar\xe1s sz\xf6vegk\xe9nt","Csak sz\xf6veg beilleszt\xe9se","Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","K\xe9p sikeresen felt\xf6ltve!","Palette","Er zijn geen bestanden in deze map.","\xe1tnevez\xe9s","Adja meg az \xfaj nevet","el\u0151n\xe9zet","Let\xf6lt\xe9s","Illessze be a v\xe1g\xf3lap","A b\xf6ng\xe9sz\u0151 nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","M\xe1sol\xe1s kiv\xe1laszt\xe1sa","m\xe1sol\xe1s","Hat\xe1r sug\xe1r","\xd6sszes","Alkalmazni","K\xe9rj\xfck, t\xf6ltse ki ezt a mez\u0151t,","K\xe9rj\xfck, \xedrja be a webc\xedmet","Alap\xe9rtelmezett","K\xf6r","Pont","Quadrate","Tal\xe1lni","Megtal\xe1lja El\u0151z\u0151","K\xf6vetkez\u0151 Keres\xe9se","A beillesztett tartalom Microsoft Word/Excel dokumentumb\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Word-b\u0151l m\xe1solt sz\xf6veg","Elvet\xe9s","Helyezze be az oszt\xe1ly nev\xe9t","Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s"]},99113:function(m){m.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Unggah","Jelajahi","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","Karakter: %d","Kata: %d","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Pilih semua","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Perbarui","pensil","Mata","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Pilih %s","Rata vertikal","Bagi","Gabungkan","Tambah kolom","tambah baris","Lisensi: %s","Hapus","Bagi secara vertikal","Bagi secara horizontal","Bingkai","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Sisipkan sebagai teks","Sisipkan hanya teks","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Terdeteksi paste dari Word","Bersih","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},51923:function(m){m.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor","Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","gi\xf9","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Propriet\xe0 dell'immagine","Annulla","Accetta","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Carica","Sfoglia","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","Caratteri: %d","Parole: %d","Barrato","Sottolineato","indice","deponente","Taglia la selezione","Seleziona tutto","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Aggiornare","Per modificare","Recensione"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Seleziona: %s","Allineamento verticala","Dividere","Fondi","Aggiungi colonna","Aggiungi riga",null,"Cancella","Dividere verticalmente","Diviso orizzontale","Bordo","Il codice \xe8 simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Inserisci come testo","Inserisci solo il testo","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine \xe8 stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Incollato da Word rilevato","Pulisci","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21268:function(m){m.exports.default=["\u306a\u306b\u304b\u30bf\u30a4\u30d7\u3057\u3066\u304f\u3060\u3055\u3044","Jodit\u306b\u3064\u3044\u3066","Jodit Editor","Jodit \u30e6\u30fc\u30b6\u30fc\u30ba\u30fb\u30ac\u30a4\u30c9","\u8a73\u3057\u3044\u4f7f\u3044\u65b9","\u30e9\u30a4\u30bb\u30f3\u30b9\u8a73\u7d30\u306b\u3064\u3044\u3066\u306fJodit Web\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d\u304f\u3060\u3055\u3044\uff1a","\u30d5\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8cfc\u5165","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f","\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30b5\u30a4\u30ba\uff08\u30d5\u30eb/\u30ce\u30fc\u30de\u30eb\uff09","\u66f8\u5f0f\u3092\u30af\u30ea\u30a2","\u30c6\u30ad\u30b9\u30c8\u306e\u8272","\u3084\u308a\u76f4\u3057","\u5143\u306b\u623b\u3059","\u592a\u5b57","\u659c\u4f53","\u7b87\u6761\u66f8\u304d","\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8","\u4e2d\u592e\u63c3\u3048","\u4e21\u7aef\u63c3\u3048","\u5de6\u63c3\u3048","\u53f3\u63c3\u3048","\u533a\u5207\u308a\u7dda\u3092\u633f\u5165","\u753b\u50cf\u3092\u633f\u5165","\u30d5\u30a1\u30a4\u30eb\u3092\u633f\u5165","Youtube/Vimeo \u52d5\u753b","\u30ea\u30f3\u30af\u3092\u633f\u5165","\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba","\u30d5\u30a9\u30f3\u30c8","\u30c6\u30ad\u30b9\u30c8\u306e\u30b9\u30bf\u30a4\u30eb","\u6307\u5b9a\u306a\u3057","\u30bf\u30a4\u30c8\u30eb1","\u30bf\u30a4\u30c8\u30eb2","\u30bf\u30a4\u30c8\u30eb3","\u30bf\u30a4\u30c8\u30eb4","\u5f15\u7528","\u30b3\u30fc\u30c9","\u633f\u5165","\u8868\u3092\u633f\u5165","\u30a4\u30f3\u30c7\u30f3\u30c8\u6e1b","\u30a4\u30f3\u30c7\u30f3\u30c8\u5897","\u7279\u6b8a\u6587\u5b57\u3092\u9078\u629e","\u7279\u6b8a\u6587\u5b57\u3092\u633f\u5165","\u66f8\u5f0f\u3092\u8cbc\u4ed8\u3051","\u7de8\u96c6\u30e2\u30fc\u30c9\u5207\u66ff\u3048","\u30de\u30fc\u30b8\u30f3","\u4e0a","\u53f3","\u4e0b","\u5de6","\u30b9\u30bf\u30a4\u30eb","\u30af\u30e9\u30b9","\u914d\u7f6e","\u53f3\u5bc4\u305b","\u4e2d\u592e\u5bc4\u305b","\u5de6\u5bc4\u305b","\u6307\u5b9a\u306a\u3057","\u30bd\u30fc\u30b9","\u30bf\u30a4\u30c8\u30eb","\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8","\u30ea\u30f3\u30af","\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f","\u753b\u50cf","\u30d5\u30a1\u30a4\u30eb","\u9ad8\u5ea6\u306a\u8a2d\u5b9a","\u753b\u50cf\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc","\u30ad\u30e3\u30f3\u30bb\u30eb","\u78ba\u5b9a","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","\u3053\u3053\u306b\u753b\u50cf\u3092\u30c9\u30ed\u30c3\u30d7","\u3053\u3053\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30ed\u30c3\u30d7","or \u30af\u30ea\u30c3\u30af","\u4ee3\u66ff\u30c6\u30ad\u30b9\u30c8","\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","\u30d6\u30e9\u30a6\u30ba","\u80cc\u666f","\u6587\u5b57","\u4e0a","\u4e2d\u592e","\u4e0b","\u5de6\u306b\u5217\u3092\u633f\u5165","\u53f3\u306b\u5217\u3092\u633f\u5165","\u4e0a\u306b\u884c\u3092\u633f\u5165","\u4e0b\u306b\u884c\u3092\u633f\u5165","\u8868\u3092\u524a\u9664","\u884c\u3092\u524a\u9664","\u5217\u3092\u524a\u9664","\u30bb\u30eb\u3092\u7a7a\u306b\u3059\u308b","\u6587\u5b57\u6570: %d","\u5358\u8a9e\u6570: %d","\u53d6\u308a\u6d88\u3057\u7dda","\u4e0b\u7dda","\u4e0a\u4ed8\u304d\u6587\u5b57","\u4e0b\u4ed8\u304d\u6587\u5b57","\u5207\u308a\u53d6\u308a","\u3059\u3079\u3066\u9078\u629e","Pause","\u691c\u7d22","\u7f6e\u63db","\u4ea4\u63db","\u8cbc\u4ed8\u3051","\u9078\u629e\u3057\u305f\u5185\u5bb9\u3092\u8cbc\u4ed8\u3051","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","\u5206\u5272\u7dda","\u7b87\u6761\u66f8\u304d","\u756a\u53f7\u4ed8\u304d\u30ea\u30b9\u30c8","\u5207\u308a\u53d6\u308a","\u3059\u3079\u3066\u9078\u629e","\u57cb\u3081\u8fbc\u307f\u30b3\u30fc\u30c9","\u30ea\u30f3\u30af\u3092\u958b\u304f","\u30ea\u30f3\u30af\u3092\u7de8\u96c6","No follow","\u30ea\u30f3\u30af\u89e3\u9664","\u66f4\u65b0","\u925b\u7b46","\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d","URL","\u7de8\u96c6","\u6c34\u5e73\u65b9\u5411\u306e\u914d\u7f6e","Filter","Sort by changed","Sort by name","Sort by size","Add folder","\u30ea\u30bb\u30c3\u30c8","\u4fdd\u5b58","Save as ...","\u30ea\u30b5\u30a4\u30ba","Crop","\u5e45","\u9ad8\u3055","\u7e26\u6a2a\u6bd4\u3092\u4fdd\u6301","\u306f\u3044","\u3044\u3044\u3048","\u79fb\u9664","\u9078\u629e","\u9078\u629e: %s","\u5782\u76f4\u65b9\u5411\u306e\u914d\u7f6e","\u5206\u5272","\u30bb\u30eb\u306e\u7d50\u5408","\u5217\u3092\u8ffd\u52a0","\u884c\u3092\u8ffd\u52a0",null,"\u524a\u9664","\u30bb\u30eb\u306e\u5206\u5272\uff08\u5782\u76f4\u65b9\u5411\uff09","\u30bb\u30eb\u306e\u5206\u5272\uff08\u6c34\u5e73\u65b9\u5411\uff09","\u5883\u754c\u7dda","HTML\u30b3\u30fc\u30c9\u3092\u4fdd\u6301\u3057\u307e\u3059\u304b\uff1f","HTML\u3067\u8cbc\u4ed8\u3051","HTML\u3092\u4fdd\u6301","HTML\u3092\u30c6\u30ad\u30b9\u30c8\u306b\u3059\u308b","\u30c6\u30ad\u30b9\u30c8\u3060\u3051","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","\u30d1\u30ec\u30c3\u30c8","There are no files","Rename","Enter new name","\u30d7\u30ec\u30d3\u30e5\u30fc","\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","\u8cbc\u308a\u4ed8\u3051","\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306f\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093","\u30b3\u30d4\u30fc","copy","\u89d2\u306e\u4e38\u307f","\u5168\u3066\u8868\u793a","\u9069\u7528","\u307e\u3060\u3053\u306e\u5206\u91ce","\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u30a6\u30a7\u30d6\u30a2\u30c9\u30ec\u30b9","\u30c7\u30d5\u30a9\u30eb\u30c8","\u767d\u4e38","\u9ed2\u4e38","\u56db\u89d2","\u898b","\u63a2\u524d","\u7531\u6765","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","\u30af\u30e9\u30b9\u540d\u3092\u633f\u5165","\u30ab\u30b9\u30bf\u30e0\u30b5\u30a4\u30ba\u5909\u66f4\u306e\u305f\u3081\u306eAlt\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059"]},11399:function(m){m.exports.default=["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing"]},37289:function(m){m.exports.default=["\ubb34\uc5c7\uc774\ub4e0 \uc785\ub825\ud558\uc138\uc694","Jodit\uc5d0 \ub300\ud558\uc5ec","Jodit Editor","Jodit \uc0ac\uc6a9\uc790 \uc548\ub0b4\uc11c","\uc790\uc138\ud55c \ub3c4\uc6c0\ub9d0\uc774 \ub4e4\uc5b4\uc788\uc5b4\uc694","\ub77c\uc774\uc13c\uc2a4\uc5d0 \uad00\ud574\uc11c\ub294 Jodit \uc6f9 \uc0ac\uc774\ud2b8\ub97c \ubc29\ubb38\ud574\uc8fc\uc138\uc694\uff1a","\ud480 \ubc84\uc804 \uad6c\uc785\ud558\uae30","\xa9 XDSoft.net - Chupurnov Valeriy. \uc5d0\uac8c \uc800\uc791\uad8c\uacfc \ubaa8\ub4e0 \uad8c\ub9ac\uac00 \uc788\uc2b5\ub2c8\ub2e4.","Anchor","\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30","\uc804\uccb4 \ud06c\uae30\ub85c \ubcf4\uae30","\uc11c\uc2dd \uc9c0\uc6b0\uae30","\uae00\uc528 \uc0c9\uc0c1","\uc7ac\uc2e4\ud589","\uc2e4\ud589 \ucde8\uc18c","\uad75\uac8c","\uae30\uc6b8\uc784","\uae00\uba38\ub9ac \ubaa9\ub85d","\ubc88\ud638 \ubaa9\ub85d","\uac00\uc6b4\ub370 \uc815\ub82c","\uc591\ucabd \uc815\ub82c","\uc67c\ucabd \uc815\ub82c","\uc624\ub978\ucabd \uc815\ub82c","\uc218\ud3c9 \uad6c\ubd84\uc120 \ub123\uae30","\uc774\ubbf8\uc9c0 \ub123\uae30","\ud30c\uc77c \ub123\uae30","Youtube/Vimeo \ub3d9\uc601\uc0c1","\ub9c1\ud06c \ub123\uae30","\uae00\uaf34 \ud06c\uae30","\uae00\uaf34","\ube14\ub85d \uc694\uc18c \ub123\uae30","\uc77c\ubc18 \ud14d\uc2a4\ud2b8","\uc81c\ubaa9 1","\uc81c\ubaa9 2","\uc81c\ubaa9 3","\uc81c\ubaa9 4","\uc778\uc6a9","\ucf54\ub4dc","\ubd99\uc5ec \ub123\uae30","\ud14c\uc774\ube14","\ub4e4\uc5ec\uc4f0\uae30 \uac10\uc18c","\ub4e4\uc5ec\uc4f0\uae30 \uc99d\uac00","\ud2b9\uc218\ubb38\uc790 \uc120\ud0dd","\ud2b9\uc218\ubb38\uc790 \uc785\ub825","\ud398\uc778\ud2b8 \ud615\uc2dd","\ud3b8\uc9d1\ubaa8\ub4dc \ubcc0\uacbd","\ub9c8\uc9c4","\uc704","\uc624\ub978\ucabd","\uc544\ub798","\uc67c\ucabd","\uc2a4\ud0c0\uc77c","\ud074\ub798\uc2a4","\uc815\ub82c","\uc624\ub978\ucabd\uc73c\ub85c","\uac00\uc6b4\ub370\ub85c","\uc67c\ucabd\uc73c\ub85c","--\uc9c0\uc815 \uc548 \ud568--","\uacbd\ub85c(src)","\uc81c\ubaa9","\ub300\uccb4 \ud14d\uc2a4\ud2b8(alt)","\ub9c1\ud06c","\uc0c8 \ud0ed\uc5d0\uc11c \uc5f4\uae30",null,"\ud30c\uc77c","\uace0\uae09","\uc774\ubbf8\uc9c0 \uc18d\uc131","\ucde8\uc18c","\ud655\uc778","\ud30c\uc77c \ud0d0\uc0c9\uae30","\ubaa9\ub85d \ubd88\ub7ec\uc624\uae30 \uc5d0\ub7ec","\ud3f4\ub354 \ubd88\ub7ec\uc624\uae30","\uc815\ub9d0 \uc9c4\ud589\ud560\uae4c\uc694?","\ub514\ub809\ud1a0\ub9ac \uc774\ub984 \uc785\ub825","\ub514\ub809\ud1a0\ub9ac \uc0dd\uc131","\uc774\ub984 \uc785\ub825","\uc774\ubbf8\uc9c0 \ub4dc\ub798\uadf8","\ud30c\uc77c \ub4dc\ub798\uadf8","\ud639\uc740 \ud074\ub9ad","\ub300\uccb4 \ud14d\uc2a4\ud2b8","\uc5c5\ub85c\ub4dc","\ud0d0\uc0c9","\ubc30\uacbd","\ud14d\uc2a4\ud2b8","\uc704","\uc911\uc559","\uc544\ub798","\uc774\uc804 \uc5f4\uc5d0 \uc0bd\uc785","\ub2e4\uc74c \uc5f4\uc5d0 \uc0bd\uc785","\uc704 \ud589\uc5d0 \uc0bd\uc785","\uc544\ub798 \ud589\uc5d0 \uc0bd\uc785","\ud14c\uc774\ube14 \uc0ad\uc81c","\ud589 \uc0ad\uc81c","\uc5f4 \uc0ad\uc81c","\ube48 \uc140","\ubb38\uc790\uc218: %d","\ub2e8\uc5b4\uc218: %d","\ucde8\uc18c\uc120","\ubc11\uc904","\uc717\ucca8\uc790","\uc544\ub798\ucca8\uc790","\uc120\ud0dd \uc798\ub77c\ub0b4\uae30","\ubaa8\ub450 \uc120\ud0dd","\uad6c\ubd84\uc790","\uac80\uc0c9","\ub300\uccb4\ud558\uae30","\ub300\uccb4","\ubd99\uc5ec\ub123\uae30","\ubd99\uc5ec\ub123\uc744 \ub0b4\uc6a9 \uc120\ud0dd","HTML \uc18c\uc2a4","\ubcfc\ub4dc","\uc774\ud0e4\ub9ad","\ube0c\ub7ec\uc2dc","\ub9c1\ud06c","\uc2e4\ud589 \ucde8\uc18c","\uc7ac\uc2e4\ud589","\ud14c\uc774\ube14","\uc774\ubbf8\uc9c0","\uc9c0\uc6b0\uac1c","\ubb38\ub2e8","\uae00\uaf34 \ud06c\uae30","\ube44\ub514\uc624","\uae00\uaf34","\ud3b8\uc9d1\uae30 \uc815\ubcf4","\ud504\ub9b0\ud2b8","\ubc11\uc904","\ucde8\uc18c\uc120","\ub4e4\uc5ec\uc4f0\uae30","\ub0b4\uc5b4\uc4f0\uae30","\uc804\uccb4 \ud654\uba74","\uc77c\ubc18 \ud654\uba74","\uad6c\ubd84\uc120","\uae00\uba38\ub9ac \ubaa9\ub85d","\ubc88\ud638 \ubaa9\ub85d","\uc798\ub77c\ub0b4\uae30","\ubaa8\ub450 \uc120\ud0dd","Embed \ucf54\ub4dc","\ub9c1\ud06c \uc5f4\uae30","\ub9c1\ud06c \ud3b8\uc9d1","No follow","\ub9c1\ud06c \uc81c\uac70","\uac31\uc2e0","\uc5f0\ud544","\uc0ac\uc774\ud2b8 \ud655\uc778","URL","\ud3b8\uc9d1","\uc218\ud3c9 \uc815\ub82c","\ud544\ud130","\ubcc0\uacbd\uc77c \uc815\ub82c","\uc774\ub984 \uc815\ub82c","\ud06c\uae30 \uc815\ub82c","\uc0c8 \ud3f4\ub354","\ucd08\uae30\ud654","\uc800\uc7a5","\uc0c8\ub85c \uc800\uc7a5\ud558\uae30 ...","\ub9ac\uc0ac\uc774\uc988","\ud06c\ub86d","\uac00\ub85c \uae38\uc774","\uc138\ub85c \ub192\uc774","\ube44\uc728 \uc720\uc9c0\ud558\uae30","\ub124","\uc544\ub2c8\uc624","\uc81c\uac70","\uc120\ud0dd","\uc120\ud0dd: %s","\uc218\uc9c1 \uc815\ub82c","\ubd84\ud560","\uc140 \ubcd1\ud569","\uc5f4 \ucd94\uac00","\ud589 \ucd94\uac00","\ub77c\uc774\uc13c\uc2a4: %s","\uc0ad\uc81c","\uc138\ub85c \uc140 \ubd84\ud560","\uac00\ub85c \uc140 \ubd84\ud560","\uc678\uacfd\uc120","HTML \ucf54\ub4dc\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \ucf54\ub4dc\uc778\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","HTML\ub85c \ubd99\uc5ec\ub123\uae30","\uc6d0\ubcf8 \uc720\uc9c0","\ud14d\uc2a4\ud2b8\ub85c \ub123\uae30","\ud14d\uc2a4\ud2b8\ub9cc \ub123\uae30","\uc678\ubd80 \uc774\ubbf8\uc9c0\ub294 \ud3b8\uc9d1\ud560 \uc218 \uc5c6\uc5b4\uc694. \uc678\ubd80 \uc774\ubbf8\uc9c0\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ud560\uae4c\uc694?","\uc774\ubbf8\uc9c0\ub97c \ubb34\uc0ac\ud788 \uc5c5\ub85c\ub4dc \ud588\uc5b4\uc694!","\ud314\ub808\ud2b8","\ud30c\uc77c\uc774 \uc5c6\uc5b4\uc694","\uc774\ub984 \ubcc0\uacbd","\uc0c8 \uc774\ub984 \uc785\ub825","\ubbf8\ub9ac\ubcf4\uae30","\ub2e4\uc6b4\ub85c\ub4dc","\ud074\ub9bd\ubcf4\ub4dc \ubd99\uc5ec\ub123\uae30","\uc0ac\uc6a9\uc911\uc778 \ube0c\ub77c\uc6b0\uc800\uac00 \ud074\ub9bd\ubcf4\ub4dc \uc811\uadfc\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc544\uc694.","\uc120\ud0dd \ubcf5\uc0ac","\ubcf5\uc0ac","\ub465\uadfc \ud14c\ub450\ub9ac","\ubaa8\ub450 \ubcf4\uae30","\uc801\uc6a9","\uc774 \ud56d\ubaa9\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694!","\uc6f9 URL\uc744 \uc785\ub825\ud574\uc8fc\uc138\uc694.","\uae30\ubcf8","\uc6d0","\uc810","\uc815\uc0ac\uac01\ud615","\ucc3e\uae30","\uc774\uc804 \ucc3e\uae30","\ub2e4\uc74c \ucc3e\uae30","Microsoft Word/Excel \ubb38\uc11c\ub85c \uac10\uc9c0\ud588\uc5b4\uc694. \uc11c\uc2dd\uc744 \uc720\uc9c0\ud55c\ucc44\ub85c \ubd99\uc5ec\ub123\uc744\uae4c\uc694?","Word \ubd99\uc5ec\ub123\uae30 \uac10\uc9c0","\uc9c0\uc6b0\uae30","className \uc785\ub825","\uc0ac\uc6a9\uc790 \uc9c0\uc815 \ud06c\uae30 \uc870\uc815\uc5d0 \ub300 \ud55c \uace0\ub3c4 \ub204\ub974\uc2ed\uc2dc\uc624"]},17084:function(m){m.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Uploaden","Bladeren","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Tekens: %d","Woorden: %d","Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Selecteer alles","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Updaten","Om te bewerken","Recensie"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Selecteer: %s","Verticaal uitlijnen","Splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen",null,"Verwijderen","Verticaal splitsen","Horizontaal splitsen","Rand","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Als tekst invoegen","Als onopgemaakte tekst invoegen","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol ge\xfcploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopi\xebren","kopi\xebren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Word-tekst gedetecteerd","Opschonen","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},96891:function(m){m.exports.default=["Napisz co\u015b","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczeg\xf3\u0142owe informacje dotycz\u0105ce u\u017cytkowania.","Odwied\u017a nasz\u0105 stron\u0119, aby uzyska\u0107 wi\u0119cej informacji na temat licencji:","Zakup pe\u0142nej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrze\u017cone.","Kotwica","Otw\xf3rz w nowej zak\u0142adce","Otw\xf3rz edytor w pe\u0142nym rozmiarze","Wyczy\u015b\u0107 formatowanie","Kolor wype\u0142nienia lub ustaw kolor tekstu","Pon\xf3w","Cofnij","Pogrubienie","Kursywa","Wstaw list\u0119 wypunktowan\u0105","Wstaw list\u0119 numeryczn\u0105","Wy\u015brodkuj","Wyjustuj","Wyr\xf3wnaj do lewej","Wyr\xf3wnaj do prawej","Wstaw lini\u0119 poziom\u0105","Wstaw grafik\u0119","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Kr\xf3j czcionki","Wstaw formatowanie","Normalne","Nag\u0142\xf3wek 1","Nag\u0142\xf3wek 2","Nag\u0142\xf3wek 3","Nag\u0142\xf3wek 4","Cytat","Kod","Wstaw","Wstaw tabel\u0119","Zmniejsz wci\u0119cie","Zwi\u0119ksz wci\u0119cie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz format\xf3w","Zmie\u0144 tryb","Marginesy","G\xf3rny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyr\xf3wnanie","Prawa","\u015brodek","Lewa","brak","\u0179r\xf3d\u0142o","Tytu\u0142","Tekst alternatywny","Link","Otw\xf3rz w nowej zak\u0142adce","Grafika","Plik","Zaawansowane","W\u0142a\u015bciwo\u015bci grafiki","Anuluj","OK","Przegl\u0105darka plik\xf3w","B\u0142\u0105d \u0142adowania listy plik\xf3w","B\u0142\u0105d \u0142adowania folder\xf3w","Czy jeste\u015b pewien?","Wprowad\u017a nazw\u0119 folderu","Utw\xf3rz folder","wprowad\u017a nazw\u0119","Upu\u015b\u0107 plik graficzny","Upu\u015b\u0107 plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przegl\u0105daj","T\u0142o","Tre\u015b\u0107","G\xf3ra","\u015arodek","D\xf3\u0142","Wstaw kolumn\u0119 przed","Wstaw kolumn\u0119 po","Wstaw wiersz przed","Wstaw wiersz po","Usu\u0144 tabel\u0119","Usu\u0144 wiersz","Usu\u0144 kolumn\u0119","Wyczy\u015b\u0107 kom\xf3rk\u0119","Znaki: %d","S\u0142owa: %d","Przekre\u015blenie","Podkre\u015blenie","indeks g\xf3rny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamie\u0144 na","Wymieni\u0107","Wklej","Wybierz zawarto\u015b\u0107 do wklejenia","HTML","pogrubienie","kursywa","p\u0119dzel","link","cofnij","pon\xf3w","tabela","grafika","wyczy\u015b\u0107","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkre\u015blenie","przekre\u015blenie","wci\u0119cie","wyci\u0119cie","pe\u0142en rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otw\xf3rz link","edytuj link","Atrybut no-follow","Usu\u0144 link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyr\xf3wnywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczy\u015b\u0107","zapisz","zapisz jako","Zmie\u0144 rozmiar","Przytnij","Szeroko\u015b\u0107","Wysoko\u015b\u0107","Zachowaj proporcje","Tak","Nie","Usu\u0144","Wybierz","Wybierz: %s","Wyr\xf3wnywanie w pionie","Podziel","Scal","Dodaj kolumn\u0119","Dodaj wiersz",null,"Usu\u0144","Podziel w pionie","Podziel w poziomie","Obramowanie","Tw\xf3j kod wygl\u0105da jak HTML. Zachowa\u0107 HTML?","Wklei\u0107 jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko tre\u015b\u0107","Mo\u017cesz edytowa\u0107 tylko swoje grafiki. Czy chcesz pobra\u0107 t\u0105 grafik\u0119?","Grafika zosta\u0142a pomy\u015blnienie dodana na serwer","Paleta","Brak plik\xf3w.","zmie\u0144 nazw\u0119","Wprowad\u017a now\u0105 nazw\u0119","podgl\u0105d","pobierz","Wklej ze schowka","Twoja przegl\u0105darka nie obs\u0142uguje schowka","Kopiuj zaznaczenie","kopiuj","Zaokr\u0105glenie kraw\u0119dzi","Poka\u017c wszystkie","Zastosuj","Prosz\u0119 wype\u0142ni\u0107 to pole","Prosz\u0119, wpisz adres sieci web","Domy\u015blnie","Ko\u0142o","Punkt","Kwadrat","Znale\u017a\u0107","Znale\u017a\u0107 Poprzednie","Znajd\u017a Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachowa\u0107 ten format czy wyczy\u015bci\u0107 go? ","Wykryto tekst w formacie Word","Wyczy\u015b\u0107","Wstaw nazw\u0119 zaj\u0119\u0107","Naci\u015bnij Alt, aby zmieni\u0107 rozmiar"]},31211:function(m){m.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usu\xe1rio Jodit","cont\xe9m ajuda detalhada para o uso.","Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formata\xe7\xe3o","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","It\xe1lico","Inserir lista n\xe3o ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar \xe0 Esquerda","Alinhar \xe0 Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir v\xeddeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabe\xe7alho 1","Cabe\xe7alho 2","Cabe\xe7alho 3","Cabe\xe7alho 4","Cita\xe7\xe3o","C\xf3digo","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--N\xe3o Estabelecido--","Fonte","T\xedtulo","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avan\xe7ado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Voc\xea tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar c\xe9lula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar sele\xe7\xe3o","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conte\xfado para colar","HTML","negrito","it\xe1lico","pincel","link","desfazer","refazer","tabela","imagem","apagar","par\xe1grafo","tamanho da letra","v\xeddeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista n\xe3o ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir c\xf3digo","Abrir link","Editar link","N\xe3o siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modifica\xe7\xe3o","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a propor\xe7\xe3o","Sim","N\xe3o","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha",null,"Excluir","Dividir vertical","Dividir horizontal","Borda","Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","N\xe3o h\xe1 arquivos nesse diret\xf3rio.","H\xfangara","Digite um novo nome","preview","Baixar","Colar da \xe1rea de transfer\xeancia","O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Selec\xe7\xe3o de c\xf3pia","c\xf3pia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endere\xe7o web","Padr\xe3o","C\xedrculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Pr\xf3xima","O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},31109:function(m){m.exports.default=["\u041d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0447\u0442\u043e-\u043b\u0438\u0431\u043e","\u041e Jodit","\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440 Jodit","Jodit \u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f","\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e","\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 , \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0430\u0448 \u0441\u0430\u0439\u0442:","\u041a\u0443\u043f\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e","\u0410\u0432\u0442\u043e\u0440\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0430 \xa9 XDSoft.net - \u0427\u0443\u043f\u0443\u0440\u043d\u043e\u0432 \u0412\u0430\u043b\u0435\u0440\u0438\u0439. \u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b.","\u0410\u043d\u043a\u043e\u0440","\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435","\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u0435","\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435","\u0426\u0432\u0435\u0442 \u0437\u0430\u043b\u0438\u0432\u043a\u0438 \u0438\u043b\u0438 \u0446\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430","\u041f\u043e\u0432\u0442\u043e\u0440","\u041e\u0442\u043c\u0435\u043d\u0430","\u0416\u0438\u0440\u043d\u044b\u0439","\u041d\u0430\u043a\u043b\u043e\u043d\u043d\u044b\u0439","\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u0448\u0438\u0440\u0438\u043d\u0435","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u0412\u044b\u0440\u043e\u0432\u043d\u044f\u0442\u044c \u043f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b","\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0438\u0434\u0435\u043e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","\u0428\u0440\u0438\u0444\u0442","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u043b\u043e\u0447\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442","\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4","\u0426\u0438\u0442\u0430\u0442\u0430","\u041a\u043e\u0434","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f","\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b","\u0424\u043e\u0440\u043c\u0430\u0442 \u043a\u0440\u0430\u0441\u043a\u0438","\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a","\u041e\u0442\u0441\u0442\u0443\u043f\u044b","\u0441\u0432\u0435\u0440\u0445\u0443","\u0441\u043f\u0440\u0430\u0432\u0430","\u0441\u043d\u0438\u0437\u0443","\u0441\u043b\u0435\u0432\u0430","\u0421\u0442\u0438\u043b\u0438","\u041a\u043b\u0430\u0441\u0441\u044b","\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443","\u041f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e","--\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c--","src","\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a","\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 (alt)","\u0421\u0441\u044b\u043b\u043a\u0430","\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435",null,"\u0424\u0430\u0439\u043b","\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435","\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f","\u041e\u0442\u043c\u0435\u043d\u0430","\u041e\u043a","\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u0444\u0430\u0439\u043b\u043e\u0432","\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439","\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439","\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b?","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438","\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e","\u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435","\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u041f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b","\u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435","\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442","\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430","\u0421\u0435\u0440\u0432\u0435\u0440","\u0424\u043e\u043d","\u0422\u0435\u043a\u0441\u0442"," \u041a \u0432\u0435\u0440\u0445\u0443","\u041f\u043e \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435","\u041a \u043d\u0438\u0437\u0443","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0434\u043e","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u043f\u043e\u0441\u043b\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u0432\u044b\u0448\u0435","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0440\u044f\u0434 \u043d\u0438\u0436\u0435","\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443","\u0423\u0434\u0430\u043b\u044f\u0442\u044c \u0440\u044f\u0434","\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0443","\u0421\u0438\u043c\u0432\u043e\u043b\u043e\u0432: %d","\u0421\u043b\u043e\u0432: %d","\u041f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044c","\u041f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u0435","\u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441","\u0438\u043d\u0434\u0435\u043a\u0441","\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c","\u041d\u0430\u0439\u0442\u0438","\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430","\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438","HTML","\u0436\u0438\u0440\u043d\u044b\u0439","\u043a\u0443\u0440\u0441\u0438\u0432","\u0437\u0430\u043b\u0438\u0432\u043a\u0430","\u0441\u0441\u044b\u043b\u043a\u0430","\u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c","\u0442\u0430\u0431\u043b\u0438\u0446\u0430","\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435","\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","\u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444","\u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430","\u0432\u0438\u0434\u0435\u043e","\u0448\u0440\u0438\u0444\u0442","\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435","\u043f\u0435\u0447\u0430\u0442\u044c","\u043f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439","\u043f\u0435\u0440\u0435\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439","\u043e\u0442\u0441\u0442\u0443\u043f","\u0432\u044b\u0441\u0442\u0443\u043f","\u0432\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d","\u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440","\u043b\u0438\u043d\u0438\u044f","\u0421\u043f\u0438\u0441\u043e\u043a","\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a","\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435","\u041a\u043e\u0434","\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u0410\u0442\u0440\u0438\u0431\u0443\u0442 nofollow","\u0423\u0431\u0440\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443","\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440","URL","\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c","\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u0424\u0438\u043b\u044c\u0442\u0440","\u041f\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e","\u041f\u043e \u0438\u043c\u0435\u043d\u0438","\u041f\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0443","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443","\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u0430\u043a","\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440","\u041e\u0431\u0440\u0435\u0437\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440","\u0428\u0438\u0440\u0438\u043d\u0430","\u0412\u044b\u0441\u043e\u0442\u0430","\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u0438","\u0414\u0430","\u041d\u0435\u0442","\u0423\u0434\u0430\u043b\u0438\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c","\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c: %s","\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c","\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0432 \u043e\u0434\u043d\u0443","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446","\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443","\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: %s","\u0423\u0434\u0430\u043b\u0438\u0442\u044c","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438","\u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438","\u0420\u0430\u043c\u043a\u0430","\u0412\u0430\u0448 \u0442\u0435\u043a\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 HTML. \u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u043a HTML?","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a HTML?","\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0441\u0442","\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044d\u0442\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440?","\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440!","\u043f\u0430\u043b\u0438\u0442\u0440\u0430","\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043d\u0435\u0442 \u0444\u0430\u0439\u043b\u043e\u0432","\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c","\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f","\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440","\u0421\u043a\u0430\u0447\u0430\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0430","\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0431\u0443\u0444\u0435\u0440\u0443 \u043e\u0431\u043c\u0435\u043d\u0430.","\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435","\u043a\u043e\u043f\u0438\u044f","\u0420\u0430\u0434\u0438\u0443\u0441 \u0433\u0440\u0430\u043d\u0438\u0446\u044b","\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0441\u0435","\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c","\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u0435","\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0435\u0431-\u0430\u0434\u0440\u0435\u0441","\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","\u041a\u0440\u0443\u0433","\u0422\u043e\u0447\u043a\u0430","\u041a\u0432\u0430\u0434\u0440\u0430\u0442","\u041d\u0430\u0439\u0442\u0438","\u041d\u0430\u0439\u0442\u0438 \u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435","\u041d\u0430\u0439\u0442\u0438 \u0414\u0430\u043b\u0435\u0435","\u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 Microsoft Word / Excel. \u0412\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442 \u0438\u043b\u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e?","\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044d\u0442\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 Word \u0438\u043b\u0438 Excel","\u041f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c","\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430","\u041d\u0430\u0436\u043c\u0438\u0442\u0435 Alt \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430"]},79375:function(m){m.exports.default=["Bir \u015feyler yaz","Jodit Hakk\u0131nda","Jodit Editor","Jodit Kullan\u0131m K\u0131lavuzu","kullan\u0131m i\xe7in detayl\u0131 bilgiler i\xe7erir","Lisans hakk\u0131nda bilgi i\xe7in l\xfctfen web sitemize gidin:","Tam versiyonunu sat\u0131n al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm haklar\u0131 sakl\u0131d\u0131r.","Ba\u011flant\u0131","Yeni sekmede a\xe7","Edit\xf6r\xfc tam ekranda a\xe7","Stili temizle","Renk doldur veya yaz\u0131 rengi se\xe7","Yinele","Geri Al","Kal\u0131n","\u0130talik","S\u0131ras\u0131z Liste Ekle","S\u0131ral\u0131 Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sa\u011fa Yasla","Yatay \xc7izgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Ba\u011flant\u0131 Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Ba\u015fl\u0131k 1","Ba\u015fl\u0131k 2","Ba\u015fl\u0131k 3","Ba\u015fl\u0131k 4","Al\u0131nt\u0131","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Artt\u0131r","\xd6zel Karakter Se\xe7","\xd6zel Karakter Ekle","Resim Bi\xe7imi","Mod De\u011fi\u015ftir","Bo\u015fluklar","\xdcst","Sa\u011f","Alt","Sol","CSS Stilleri","CSS S\u0131n\u0131flar\u0131","Hizalama","Sa\u011f","Ortal\u0131","Sol","Belirsiz","Kaynak","Ba\u015fl\u0131k","Alternatif Yaz\u0131","Link","Ba\u011flant\u0131y\u0131 yeni sekmede a\xe7","Resim","Dosya","Geli\u015fmi\u015f","Resim \xf6zellikleri","\u0130ptal","Tamam","Dosya Listeleyici","Liste y\xfcklenirken hata olu\u015ftu","Klas\xf6rler y\xfcklenirken hata olu\u015ftur","Emin misiniz?","Dizin yolu giriniz","Dizin olu\u015ftur","\u0130sim yaz","Resim b\u0131rak","Dosya b\u0131rak","veya t\u0131kla","Alternatif yaz\u0131","Y\xfckle","G\xf6zat","Arka plan","Yaz\u0131","\xdcst","Orta","A\u015fa\u011f\u0131","\xd6ncesine kolon ekle","Sonras\u0131na kolon ekle","\xdcst\xfcne sat\u0131r ekle","Alt\u0131na sat\u0131r ekle","Tabloyu sil","Sat\u0131r\u0131 sil","Kolonu sil","H\xfccreyi temizle","Harfler: %d","Kelimeler: %d","\xdcst\xfc \xe7izili","Alt \xe7izgi","\xdcst yaz\u0131","Alt yaz\u0131","Se\xe7ilimi kes","T\xfcm\xfcn\xfc se\xe7","Sat\u0131r sonu","Ara","\u015eununla de\u011fi\u015ftir","De\u011fi\u015ftir","Yap\u0131\u015ft\u0131r","Yap\u0131\u015ft\u0131r\u0131lacak i\xe7erik se\xe7","Kaynak","Kal\u0131n","italik","F\u0131r\xe7a","Ba\u011flant\u0131","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakk\u0131nda","Yazd\u0131r","Alt \xe7izgi","\xdcst\xfc \xe7izili","Girinti","\xc7\u0131k\u0131nt\u0131","Tam ekran","K\xfc\xe7\xfclt","Ayra\xe7","S\u0131ras\u0131z liste","S\u0131ral\u0131 liste","Kes","T\xfcm\xfcn\xfc se\xe7","Kod ekle","Ba\u011flant\u0131y\u0131 a\xe7","Ba\u011flant\u0131y\u0131 d\xfczenle","Nofollow \xf6zelli\u011fi","Ba\u011flant\u0131y\u0131 kald\u0131r","G\xfcncelle","D\xfczenlemek i\xe7in","Yorumu","URL","D\xfczenle","Yatay hizala","Filtre","De\u011fi\u015fime g\xf6re s\u0131rala","\u0130sme g\xf6re s\u0131rala","Boyuta g\xf6re s\u0131rala","Klas\xf6r ekle","S\u0131f\u0131rla","Kaydet","Farkl\u0131 kaydet","Boyutland\u0131r","K\u0131rp","Geni\u015flik","Y\xfckseklik","En boy oran\u0131n\u0131 koru","Evet","Hay\u0131r","Sil","Se\xe7","Se\xe7: %s","Dikey hizala","Ay\u0131r","Birle\u015ftir","Kolon ekle","Sat\u0131r ekle",null,"Sil","Dikey ay\u0131r","Yatay ay\u0131r","Kenarl\u0131k","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yap\u0131\u015ft\u0131r","Sakla","Yaz\u0131 olarak ekle","Sadece yaz\u0131y\u0131 ekle","Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","G\xf6rsel ba\u015far\u0131yla hostunuza y\xfcklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","\xd6n izleme","\u0130ndir","Panodan yap\u0131\u015ft\u0131r ","Taray\u0131c\u0131n\u0131z panoya do\u011frudan eri\u015fimi desteklemiyor.","Se\xe7imi kopyala","Kopyala","S\u0131n\u0131r yar\u0131\xe7ap\u0131","T\xfcm\xfcn\xfc G\xf6ster","Uygula","L\xfctfen bu alan\u0131 doldurun","L\xfctfen bir web adresi girin","Varsay\u0131lan","Daire","Nokta","Kare","Bul","\xd6ncekini Bul","Sonrakini Bul","Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Word bi\xe7iminde yap\u0131\u015ft\u0131rma alg\u0131land\u0131","Temizle","S\u0131n\u0131f ad\u0131 girin","\xd6zel yeniden boyutland\u0131rma i\xe7in Alt tu\u015funa bas\u0131n"]},21042:function(m){m.exports.default=["\u8f93\u5165\u4e00\u4e9b\u5185\u5bb9","\u5173\u4e8eJodit","Jodit Editor","\u5f00\u53d1\u8005\u6307\u5357","\u4f7f\u7528\u5e2e\u52a9","\u6709\u5173\u8bb8\u53ef\u8bc1\u7684\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee\u6211\u4eec\u7684\u7f51\u7ad9\uff1a","\u8d2d\u4e70\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. \u7248\u6743\u6240\u6709","Anchor","\u5728\u65b0\u7a97\u53e3\u6253\u5f00","\u5168\u5c4f\u7f16\u8f91","\u6e05\u9664\u6837\u5f0f","\u989c\u8272","\u91cd\u505a","\u64a4\u9500","\u7c97\u4f53","\u659c\u4f53","\u7b26\u53f7\u5217\u8868","\u7f16\u53f7","\u5c45\u4e2d","\u5bf9\u9f50\u6587\u672c","\u5de6\u5bf9\u9f50","\u53f3\u5bf9\u9f50","\u5206\u5272\u7ebf","\u56fe\u7247","\u6587\u4ef6","\u89c6\u9891","\u94fe\u63a5","\u5b57\u53f7","\u5b57\u4f53","\u683c\u5f0f\u5757","\u9ed8\u8ba4","\u6807\u98981","\u6807\u98982","\u6807\u98983","\u6807\u98984","\u5f15\u7528","\u4ee3\u7801","\u63d2\u5165","\u8868\u683c","\u51cf\u5c11\u7f29\u8fdb","\u589e\u52a0\u7f29\u8fdb","\u9009\u62e9\u7279\u6b8a\u7b26\u53f7","\u7279\u6b8a\u7b26\u53f7","\u683c\u5f0f\u590d\u5236","\u6539\u53d8\u6a21\u5f0f","\u5916\u8fb9\u8ddd\uff08Margins\uff09","top","right","bottom","left","\u6837\u5f0f","Classes","\u5bf9\u9f50\u65b9\u5f0f","\u5c45\u53f3","\u5c45\u4e2d","\u5c45\u5de6","\u65e0","Src","Title","Alternative","Link","\u5728\u65b0\u7a97\u53e3\u6253\u5f00\u94fe\u63a5","\u56fe\u7247","file","\u9ad8\u7ea7","\u56fe\u7247\u5c5e\u6027","\u53d6\u6d88","\u786e\u5b9a","\u6587\u4ef6\u7ba1\u7406","\u52a0\u8f7dlist\u9519\u8bef","\u52a0\u8f7dfolders\u9519\u8bef","\u4f60\u786e\u5b9a\u5417\uff1f","\u8f93\u5165\u8def\u5f84","\u521b\u5efa\u8def\u5f84","type name","\u62d6\u52a8\u56fe\u7247\u5230\u6b64","\u62d6\u52a8\u6587\u4ef6\u5230\u6b64","\u6216\u70b9\u51fb","Alternative text","\u4e0a\u4f20","\u6d4f\u89c8","\u80cc\u666f\u8272","\u6587\u5b57","\u9876\u90e8","\u4e2d\u95f4","\u5e95\u90e8","\u5728\u4e4b\u524d\u63d2\u5165\u5217","\u5728\u4e4b\u540e\u63d2\u5165\u5217","\u5728\u4e4b\u524d\u63d2\u5165\u884c","\u5728\u4e4b\u540e\u63d2\u5165\u884c","\u5220\u9664\u8868\u683c","\u5220\u9664\u884c","\u5220\u9664\u5217","\u6e05\u9664\u5185\u5bb9","\u5b57\u7b26\u6570: %d","\u5355\u8bcd\u6570: %d","\u5220\u9664\u7ebf","\u4e0b\u5212\u7ebf","\u4e0a\u6807","\u4e0b\u6807","\u526a\u5207","\u5168\u9009","Break","\u67e5\u627e","\u66ff\u6362\u4e3a","\u66ff\u6362","\u7c98\u8d34","\u9009\u62e9\u5185\u5bb9\u5e76\u7c98\u8d34","\u6e90\u7801","\u7c97\u4f53","\u659c\u4f53","\u989c\u8272","\u94fe\u63a5","\u64a4\u9500","\u91cd\u505a","\u8868\u683c","\u56fe\u7247","\u6a61\u76ae\u64e6","\u6bb5\u843d","\u5b57\u53f7","\u89c6\u9891","\u5b57\u4f53","\u5173\u4e8e","\u6253\u5370","\u4e0b\u5212\u7ebf","\u4e0a\u51fa\u73b0","\u589e\u52a0\u7f29\u8fdb","\u51cf\u5c11\u7f29\u8fdb","\u5168\u5c4f","\u6536\u7f29","\u5206\u5272\u7ebf","\u65e0\u5e8f\u5217\u8868","\u987a\u5e8f\u5217\u8868","\u526a\u5207","\u5168\u9009","\u5d4c\u5165\u4ee3\u7801","\u6253\u5f00\u94fe\u63a5","\u7f16\u8f91\u94fe\u63a5","No follow","\u53d6\u6d88\u94fe\u63a5","\u66f4\u65b0","\u94c5\u7b14","\u9884\u89c8","URL","\u7f16\u8f91","\u6c34\u5e73\u5bf9\u9f50","\u7b5b\u9009","\u4fee\u6539\u65f6\u95f4\u6392\u5e8f","\u540d\u79f0\u6392\u5e8f","\u5927\u5c0f\u6392\u5e8f","\u65b0\u5efa\u6587\u4ef6\u5939","\u91cd\u7f6e","\u4fdd\u5b58","\u4fdd\u5b58\u4e3a","\u8c03\u6574\u5927\u5c0f","\u526a\u5207","\u5bbd","\u9ad8","\u4fdd\u6301\u957f\u5bbd\u6bd4","\u662f","\u4e0d","\u79fb\u9664","\u9009\u62e9","\u9009\u62e9: %s","\u5782\u76f4\u5bf9\u9f50","\u62c6\u5206","\u5408\u5e76","\u6dfb\u52a0\u5217","\u6dfb\u52a0\u884c",null,"\u5220\u9664","\u5782\u76f4\u62c6\u5206","\u6c34\u5e73\u62c6\u5206","\u8fb9\u6846","\u4f60\u7c98\u8d34\u7684\u6587\u672c\u662f\u4e00\u6bb5html\u4ee3\u7801\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f","html\u7c98\u8d34","\u4fdd\u7559\u6e90\u683c\u5f0f","\u628ahtml\u4ee3\u7801\u89c6\u4e3a\u666e\u901a\u6587\u672c","\u53ea\u4fdd\u7559\u6587\u672c","\u4f60\u53ea\u80fd\u7f16\u8f91\u4f60\u81ea\u5df1\u7684\u56fe\u7247\u3002Download this image on the host?","\u56fe\u7247\u4e0a\u4f20\u6210\u529f","\u8c03\u8272\u677f","\u6b64\u76ee\u5f55\u4e2d\u6c92\u6709\u6587\u4ef6\u3002","\u91cd\u547d\u540d","\u8f93\u5165\u65b0\u540d\u79f0","\u9884\u89c8","\u4e0b\u8f7d","\u7c98\u8d34\u4ece\u526a\u8d34\u677f","\u4f60\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u76f4\u63a5\u8bbf\u95ee\u7684\u526a\u8d34\u677f\u3002","\u590d\u5236\u9009\u4e2d\u5185\u5bb9","\u590d\u5236","\u8fb9\u754c\u534a\u5f84","\u663e\u793a\u6240\u6709","\u5e94\u7528","\u8bf7\u586b\u5199\u8fd9\u4e2a\u5b57\u6bb5","\u8bf7\u8f93\u5165\u4e00\u4e2a\u7f51\u5740","\u9ed8\u8ba4","\u5706\u5708","\u70b9","\u65b9\u5f62","\u641c\u7d22","\u67e5\u627e\u4e0a\u4e00\u4e2a","\u67e5\u627e\u4e0b\u4e00\u4e2a","\u6b63\u5728\u7c98\u8d34 Word/Excel \u7684\u6587\u672c\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f\uff1f","\u6587\u672c\u7c98\u8d34","\u5339\u914d\u76ee\u6807\u683c\u5f0f","\u63d2\u5165\u73ed\u7ea7\u540d\u79f0","\u6309Alt\u81ea\u5b9a\u4e49\u8c03\u6574\u5927\u5c0f"]},73895:function(m){m.exports.default=["\u8f38\u5165\u4e00\u4e9b\u5167\u5bb9","\u95dc\u65bcJodit","Jodit Editor","\u958b\u767c\u8005\u6307\u5357","\u4f7f\u7528\u5e6b\u52a9","\u6709\u95dc\u8a31\u53ef\u8b49\u7684\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\uff1a","\u8cfc\u8cb7\u5b8c\u6574\u7248\u672c","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","\u5728\u65b0\u7a97\u53e3\u6253\u958b","\u5168\u5c4f\u7de8\u8f2f","\u6e05\u9664\u6a23\u5f0f","\u984f\u8272","\u91cd\u505a","\u64a4\u92b7","\u7c97\u9ad4","\u659c\u9ad4","\u7b26\u865f\u5217\u8868","\u7de8\u865f","\u5c45\u4e2d","\u5c0d\u9f4a\u6587\u672c","\u5de6\u5c0d\u9f4a","\u53f3\u5c0d\u9f4a","\u5206\u5272\u7dda","\u5716\u7247","\u6587\u4ef6","youtube/vimeo \u5f71\u7247","\u93c8\u63a5","\u5b57\u865f","\u5b57\u9ad4","\u683c\u5f0f\u584a","\u6587\u672c","\u6a19\u984c1","\u6a19\u984c2","\u6a19\u984c3","\u6a19\u984c4","\u5f15\u7528","\u4ee3\u78bc","\u63d2\u5165","\u8868\u683c","\u6e1b\u5c11\u7e2e\u9032","\u589e\u52a0\u7e2e\u9032","\u9078\u64c7\u7279\u6b8a\u7b26\u865f","\u7279\u6b8a\u7b26\u865f","\u683c\u5f0f\u8907\u88fd","\u6539\u8b8a\u6a21\u5f0f","\u5916\u908a\u8ddd\uff08Margins\uff09","top","right","bottom","left","\u6a23\u5f0f","Classes","\u5c0d\u9f4a\u65b9\u5f0f","\u5c45\u53f3","\u5c45\u4e2d","\u5c45\u5de6","\u7121","Src","Title","\u66ff\u4ee3","Link","\u5728\u65b0\u7a97\u53e3\u6253\u958b\u93c8\u63a5","\u5716\u7247","file","\u9ad8\u7d1a","\u5716\u7247\u5c6c\u6027","\u53d6\u6d88","\u78ba\u5b9a","\u6587\u4ef6\u7ba1\u7406","\u52a0\u8f09list\u932f\u8aa4","\u52a0\u8f09folders\u932f\u8aa4","\u4f60\u78ba\u5b9a\u55ce\uff1f","\u8f38\u5165\u8def\u5f91","\u5275\u5efa\u8def\u5f91","type name","\u62d6\u52d5\u5716\u7247\u5230\u6b64","\u62d6\u52d5\u6587\u4ef6\u5230\u6b64","\u6216\u9ede\u64ca","\u66ff\u4ee3\u6587\u5b57","\u4e0a\u50b3","\u700f\u89bd","\u80cc\u666f\u8272","\u6587\u5b57","\u9802\u90e8","\u4e2d\u9593","\u5e95\u90e8","\u5728\u4e4b\u524d\u63d2\u5165\u5217","\u5728\u4e4b\u5f8c\u63d2\u5165\u5217","\u5728\u4e4b\u524d\u63d2\u5165\u884c","\u5728\u4e4b\u5f8c\u63d2\u5165\u884c","\u522a\u9664\u8868\u683c","\u522a\u9664\u884c","\u522a\u9664\u5217","\u6e05\u9664\u5167\u5bb9","\u5b57\u7b26\u6578: %d","\u55ae\u8a5e\u6578: %d","\u522a\u9664\u7dda","\u4e0b\u5283\u7dda","\u4e0a\u6a19","\u4e0b\u6a19","\u526a\u5207","\u5168\u9078","Pause","\u67e5\u627e","\u66ff\u63db\u70ba","\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48","\u9ecf\u8cbc","\u9078\u64c7\u5167\u5bb9\u4e26\u9ecf\u8cbc","\u6e90\u78bc","\u7c97\u9ad4","\u659c\u9ad4","\u984f\u8272","\u93c8\u63a5","\u64a4\u92b7","\u91cd\u505a","\u8868\u683c","\u5716\u7247","\u6a61\u76ae\u64e6","\u6bb5\u843d","\u5b57\u865f","\u5f71\u7247","\u5b57\u9ad4","\u95dc\u65bc","\u6253\u5370","\u4e0b\u5283\u7dda","\u4e0a\u51fa\u73fe","\u589e\u52a0\u7e2e\u9032","\u6e1b\u5c11\u7e2e\u9032","\u5168\u5c4f","\u6536\u7e2e","\u5206\u5272\u7dda","\u7121\u5e8f\u5217\u8868","\u9806\u5e8f\u5217\u8868","\u526a\u5207","\u5168\u9078","\u5d4c\u5165\u4ee3\u78bc","\u6253\u958b\u93c8\u63a5","\u7de8\u8f2f\u93c8\u63a5","No follow","\u53d6\u6d88\u9023\u7d50","\u66f4\u65b0","\u925b\u7b46","\u56de\u9867","URL",null,"\u6c34\u5e73\u5c0d\u9f4a","\u7be9\u9078","\u4fee\u6539\u6642\u9593\u6392\u5e8f","\u540d\u7a31\u6392\u5e8f","\u5927\u5c0f\u6392\u5e8f","\u65b0\u5efa\u6587\u4ef6\u593e","\u91cd\u7f6e","\u4fdd\u5b58","\u4fdd\u5b58\u70ba","\u8abf\u6574\u5927\u5c0f","Crop","\u5bec","\u9ad8","\u4fdd\u5b58\u9577\u5bec\u6bd4","\u662f","\u4e0d","\u79fb\u9664","\u9078\u64c7","\u9078\u64c7: %s","\u5782\u76f4\u5c0d\u9f4a","\u62c6\u5206","\u5408\u4f75","\u6dfb\u52a0\u5217","\u6dfb\u52a0\u884c",null,"\u522a\u9664","\u5782\u76f4\u62c6\u5206","\u6c34\u5e73\u62c6\u5206","\u908a\u6846","\u4f60\u9ecf\u8cbc\u7684\u6587\u672c\u662f\u4e00\u6bb5html\u4ee3\u78bc\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f","html\u9ecf\u8cbc","\u4fdd\u7559\u6e90\u683c\u5f0f","\u628ahtml\u4ee3\u78bc\u8996\u70ba\u666e\u901a\u6587\u672c","\u53ea\u4fdd\u7559\u6587\u672c","\u4f60\u53ea\u80fd\u7de8\u8f2f\u4f60\u81ea\u5df1\u7684\u5716\u7247\u3002\u662f\u5426\u4e0b\u8f09\u6b64\u5716\u7247\u5230\u672c\u5730?","\u5716\u7247\u4e0a\u50b3\u6210\u529f","\u8abf\u8272\u677f","\u6b64\u76ee\u9304\u4e2d\u6c92\u6709\u6587\u4ef6\u3002","\u91cd\u547d\u540d","\u8f38\u5165\u65b0\u540d\u7a31","\u9810\u89bd","\u4e0b\u8f09","\u5f9e\u526a\u8cbc\u677f\u8cbc\u4e0a","\u700f\u89bd\u5668\u7121\u6cd5\u5b58\u53d6\u526a\u8d34\u677f\u3002","\u8907\u88fd\u5df2\u9078\u53d6\u9805\u76ee","\u8907\u88fd","\u908a\u6846\u5713\u89d2","\u986f\u793a\u6240\u6709","\u61c9\u7528","\u0e44\u0e14\u0e49\u0e42\u0e1b\u0e23\u0e14\u0e01\u0e23\u0e2d\u0e01\u0e0a\u0e48\u0e2d\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e19\u0e35\u0e49","\u0e42\u0e1b\u0e23\u0e14\u0e40\u0e15\u0e34\u0e21\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\u0e1a\u0e19\u0e40\u0e27\u0e47\u0e1a","\u0e04\u0e48\u0e32\u0e1b\u0e23\u0e34\u0e22\u0e32\u0e22","\u0e27\u0e07\u0e01\u0e25\u0e21","\u0e08\u0e38\u0e14","Quadrate","\u0e04\u0e49\u0e19\u0e2b\u0e32","\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e49","\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e16\u0e31\u0e14\u0e44\u0e1b","\u6b63\u5728\u9ecf\u8cbc Word/Excel \u7684\u6587\u672c\uff0c\u662f\u5426\u4fdd\u7559\u6e90\u683c\u5f0f\uff1f","\u6587\u672c\u9ecf\u8cbc","\u5339\u914d\u76ee\u6a19\u683c\u5f0f","\u0e43\u0e2a\u0e48\u0e0a\u0e37\u0e48\u0e2d\u0e04\u0e25\u0e32\u0e2a","\u0e01\u0e14\u0e2d\u0e31\u0e25\u0e17\u0e4c\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e31\u0e1a\u0e02\u0e19\u0e32\u0e14\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e40\u0e2d\u0e07"]},3610:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},56170:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},95331:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},84279:function(m){m.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},11257:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},25141:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},24557:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},10859:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},9813:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},93395:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},98213:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},20026:function(m){m.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},66911:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},50018:function(m){m.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},99738:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},9185:function(m){m.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},8619:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},73894:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},83301:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},84142:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},57292:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},18019:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},45146:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},53576:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},14655:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},53477:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},90053:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},72230:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},78321:function(m){m.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},77654:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},43371:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},44563:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},53183:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},18548:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},52242:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},87498:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},7986:function(m){m.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},23075:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},10655:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},15476:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},59403:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},22860:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},95600:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},76214:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},41197:function(m){m.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},9342:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},69546:function(m){m.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},43158:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},51716:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},49222:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},1755:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},74911:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},8805:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},16547:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},10856:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},98441:function(m){m.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},52488:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},9370:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},66543:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},608:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},42840:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},79096:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},33014:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},91677:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},8259:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},64467:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},86934:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},76133:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},45519:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},90265:function(m){m.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},81279:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},68899:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},70744:function(m){m.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},19201:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},84930:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},99704:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},2304:function(m){m.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},93330:function(m,s,o){"use strict";o.r(s)},45066:function(m,s,o){"use strict";o.r(s)},99895:function(m,s,o){"use strict";o.r(s)},87682:function(m,s,o){"use strict";o.r(s)},50905:function(m,s,o){"use strict";o.r(s)},70446:function(m,s,o){"use strict";o.r(s)},18984:function(m,s,o){"use strict";o.r(s)},4591:function(m,s,o){"use strict";o.r(s)},64194:function(m,s,o){"use strict";o.r(s)},70375:function(m,s,o){"use strict";o.r(s)},90235:function(m,s,o){"use strict";o.r(s)},88477:function(m,s,o){"use strict";o.r(s)},50197:function(m,s,o){"use strict";o.r(s)},39008:function(m,s,o){"use strict";o.r(s)},47086:function(m,s,o){"use strict";o.r(s)},16462:function(m,s,o){"use strict";o.r(s)},40692:function(m,s,o){"use strict";o.r(s)},27452:function(m,s,o){"use strict";o.r(s)},51422:function(m,s,o){"use strict";o.r(s)},62820:function(m,s,o){"use strict";o.r(s)},63421:function(m,s,o){"use strict";o.r(s)},32115:function(m,s,o){"use strict";o.r(s)},53362:function(m,s,o){"use strict";o.r(s)},48904:function(m,s,o){"use strict";o.r(s)},85796:function(m,s,o){"use strict";o.r(s)},28654:function(m,s,o){"use strict";o.r(s)},60819:function(m,s,o){"use strict";o.r(s)},96410:function(m,s,o){"use strict";o.r(s)},33126:function(m,s,o){"use strict";o.r(s)},30724:function(m,s,o){"use strict";o.r(s)},14320:function(m,s,o){"use strict";o.r(s)},9947:function(m,s,o){"use strict";o.r(s)},45109:function(m,s,o){"use strict";o.r(s)},71708:function(m,s,o){"use strict";o.r(s)},51629:function(m,s,o){"use strict";o.r(s)},54860:function(m,s,o){"use strict";o.r(s)},47818:function(m,s,o){"use strict";o.r(s)},6316:function(m,s,o){"use strict";o.r(s)},88582:function(m,s,o){"use strict";o.r(s)},30962:function(m,s,o){"use strict";o.r(s)},68197:function(m,s,o){"use strict";o.r(s)},60057:function(m,s,o){"use strict";o.r(s)},33393:function(m,s,o){"use strict";o.r(s)},51057:function(m,s,o){"use strict";o.r(s)},64618:function(m,s,o){"use strict";o.r(s)},90176:function(m,s,o){"use strict";o.r(s)},91147:function(m,s,o){"use strict";o.r(s)},70631:function(m,s){"use strict";function o(y){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(x){return typeof x}:function(x){return x&&"function"==typeof Symbol&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(y)}function h(y,x,C){var _=C.value;if("function"!=typeof _)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(_)));var w=!1;return{configurable:!0,get:function(){if(w||this===y.prototype||this.hasOwnProperty(x)||"function"!=typeof _)return _;var z=_.bind(this);return w=!0,Object.defineProperty(this,x,{configurable:!0,get:function(){return z},set:function(R){_=R,delete this[x]}}),w=!1,z},set:function(z){_=z}}}function v(y){var x;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?x=Reflect.ownKeys(y.prototype):(x=Object.getOwnPropertyNames(y.prototype),"function"==typeof Object.getOwnPropertySymbols&&(x=x.concat(Object.getOwnPropertySymbols(y.prototype)))),x.forEach(function(C){if("constructor"!==C){var _=Object.getOwnPropertyDescriptor(y.prototype,C);"function"==typeof _.value&&Object.defineProperty(y.prototype,C,h(y,C,_))}}),y}Object.defineProperty(s,"__esModule",{value:!0}),s.boundClass=s.boundMethod=void 0,s.boundMethod=h,s.boundClass=v,s.default=function(){return 1===arguments.length?v.apply(void 0,arguments):h.apply(void 0,arguments)}},61227:function(){"use strict";"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(m){if("Element"in m){var s="classList",o=m.Element.prototype,h=Object,v=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},y=Array.prototype.indexOf||function(N){for(var S=0,E=this.length;E>S;S++)if(S in this&&this[S]===N)return S;return-1},x=function(N,S){this.name=N,this.code=DOMException[N],this.message=S},C=function(N,S){if(""===S)throw new x("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(S))throw new x("INVALID_CHARACTER_ERR","String contains an invalid character");return y.call(N,S)},_=function(N){for(var S=v.call(N.getAttribute("class")||""),E=S?S.split(/\s+/):[],O=0,H=E.length;H>O;O++)this.push(E[O]);this._updateClassName=function(){N.setAttribute("class",this.toString())}},w=_.prototype=[],z=function(){return new _(this)};if(x.prototype=Error.prototype,w.item=function(N){return this[N]||null},w.contains=function(N){return-1!==C(this,N+="")},w.add=function(){var N,S=arguments,E=0,O=S.length,H=!1;do{-1===C(this,N=S[E]+"")&&(this.push(N),H=!0)}while(++E<O);H&&this._updateClassName()},w.remove=function(){var N,S,E=arguments,O=0,H=E.length,U=!1;do{for(S=C(this,N=E[O]+"");-1!==S;)this.splice(S,1),U=!0,S=C(this,N)}while(++O<H);U&&this._updateClassName()},w.toggle=function(N,S){var E=this.contains(N+=""),O=E?!0!==S&&"remove":!1!==S&&"add";return O&&this[O](N),!0===S||!1===S?S:!E},w.toString=function(){return this.join(" ")},h.defineProperty){var R={get:z,enumerable:!0,configurable:!0};try{h.defineProperty(o,s,R)}catch(N){void 0!==N.number&&-2146823252!==N.number||(R.enumerable=!1,h.defineProperty(o,s,R))}}else h.prototype.__defineGetter__&&o.__defineGetter__(s,z)}}(window.self),function(){var m=document.createElement("_");if(m.classList.add("c1","c2"),!m.classList.contains("c2")){var s=function(h){var v=DOMTokenList.prototype[h];DOMTokenList.prototype[h]=function(y){var x,C=arguments.length;for(x=0;C>x;x++)v.call(this,y=arguments[x])}};s("add"),s("remove")}if(m.classList.toggle("c3",!1),m.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(h,v){return 1 in arguments&&!this.contains(h)==!v?v:o.call(this,h)}}m=null}())},69220:function(m,s,o){"use strict";o(22513);var h=o(56599);m.exports=h("Array","findIndex")},10444:function(m,s,o){"use strict";o(52867),o(70057);var h=o(31116);m.exports=h.Array.from},66622:function(m,s,o){"use strict";o(54166),o(32044),o(95661),o(28424),o(64514),o(30733),o(40327),o(53639),o(6147),o(7290),o(95122),o(61322),o(39605),o(49341),o(28809),o(82658),o(43967),o(90217),o(73477),o(93697);var h=o(31116);m.exports=h.Symbol},98061:function(m,s,o){"use strict";var h=o(794),v=o(98418),y=TypeError;m.exports=function(x){if(h(x))return x;throw y(v(x)+" is not a function")}},75839:function(m,s,o){"use strict";var h=o(794),v=String,y=TypeError;m.exports=function(x){if("object"==typeof x||h(x))return x;throw y("Can't set "+v(x)+" as a prototype")}},15179:function(m,s,o){"use strict";var h=o(19517),v=o(93503),y=o(73252).f,x=h("unscopables"),C=Array.prototype;null==C[x]&&y(C,x,{configurable:!0,value:v(null)}),m.exports=function(_){C[x][_]=!0}},52313:function(m,s,o){"use strict";var h=o(8148),v=String,y=TypeError;m.exports=function(x){if(h(x))return x;throw y(v(x)+" is not an object")}},92707:function(m,s,o){"use strict";var h=o(40207),v=o(9093),y=o(68488),x=o(79665),C=o(84997),_=o(15333),w=o(15050),z=o(89476),R=o(27395),N=o(81058),S=Array;m.exports=function(E){var O=y(E),H=_(this),U=arguments.length,X=U>1?arguments[1]:void 0,W=void 0!==X;W&&(X=h(X,U>2?arguments[2]:void 0));var re,pe,Ae,Se,De,qe,rt=N(O),ot=0;if(!rt||this===S&&C(rt))for(re=w(O),pe=H?new this(re):S(re);re>ot;ot++)qe=W?X(O[ot],ot):O[ot],z(pe,ot,qe);else for(De=(Se=R(O,rt)).next,pe=H?new this:[];!(Ae=v(De,Se)).done;ot++)qe=W?x(Se,X,[Ae.value,ot],!0):Ae.value,z(pe,ot,qe);return pe.length=ot,pe}},79327:function(m,s,o){"use strict";var h=o(98651),v=o(10586),y=o(15050),x=function(C){return function(_,w,z){var R,N=h(_),S=y(N),E=v(z,S);if(C&&w!=w){for(;S>E;)if((R=N[E++])!=R)return!0}else for(;S>E;E++)if((C||E in N)&&N[E]===w)return C||E||0;return!C&&-1}};m.exports={includes:x(!0),indexOf:x(!1)}},56881:function(m,s,o){"use strict";var h=o(40207),v=o(90838),y=o(25049),x=o(68488),C=o(15050),_=o(6429),w=v([].push),z=function(R){var N=1==R,S=2==R,E=3==R,O=4==R,H=6==R,U=7==R,X=5==R||H;return function(W,re,pe,Ae){for(var Se,De,qe=x(W),rt=y(qe),ot=h(re,pe),vt=C(rt),rn=0,Xt=Ae||_,fn=N?Xt(W,vt):S||U?Xt(W,0):void 0;vt>rn;rn++)if((X||rn in rt)&&(De=ot(Se=rt[rn],rn,qe),R))if(N)fn[rn]=De;else if(De)switch(R){case 3:return!0;case 5:return Se;case 6:return rn;case 2:w(fn,Se)}else switch(R){case 4:return!1;case 7:w(fn,Se)}return H?-1:E||O?O:fn}};m.exports={forEach:z(0),map:z(1),filter:z(2),some:z(3),every:z(4),find:z(5),findIndex:z(6),filterReject:z(7)}},63833:function(m,s,o){"use strict";var h=o(75834),v=o(19517),y=o(65190),x=v("species");m.exports=function(C){return y>=51||!h(function(){var _=[];return(_.constructor={})[x]=function(){return{foo:1}},1!==_[C](Boolean).foo})}},57652:function(m,s,o){"use strict";var h=o(10586),v=o(15050),y=o(89476),x=Array,C=Math.max;m.exports=function(_,w,z){for(var R=v(_),N=h(w,R),S=h(void 0===z?R:z,R),E=x(C(S-N,0)),O=0;S>N;N++,O++)y(E,O,_[N]);return E.length=O,E}},54832:function(m,s,o){"use strict";var h=o(90838);m.exports=h([].slice)},22506:function(m,s,o){"use strict";var h=o(36222),v=o(15333),y=o(8148),x=o(19517)("species"),C=Array;m.exports=function(_){var w;return h(_)&&(v(w=_.constructor)&&(w===C||h(w.prototype))||y(w)&&null===(w=w[x]))&&(w=void 0),void 0===w?C:w}},6429:function(m,s,o){"use strict";var h=o(22506);m.exports=function(v,y){return new(h(v))(0===y?0:y)}},79665:function(m,s,o){"use strict";var h=o(52313),v=o(11274);m.exports=function(y,x,C,_){try{return _?x(h(C)[0],C[1]):x(C)}catch(w){v(y,"throw",w)}}},7581:function(m,s,o){"use strict";var h=o(19517)("iterator"),v=!1;try{var y=0,x={next:function(){return{done:!!y++}},return:function(){v=!0}};x[h]=function(){return this},Array.from(x,function(){throw 2})}catch(C){}m.exports=function(C,_){if(!_&&!v)return!1;var w=!1;try{var z={};z[h]=function(){return{next:function(){return{done:w=!0}}}},C(z)}catch(R){}return w}},6285:function(m,s,o){"use strict";var h=o(90838),v=h({}.toString),y=h("".slice);m.exports=function(x){return y(v(x),8,-1)}},8652:function(m,s,o){"use strict";var h=o(6424),v=o(794),y=o(6285),x=o(19517)("toStringTag"),C=Object,_="Arguments"==y(function(){return arguments}());m.exports=h?y:function(w){var z,R,N;return void 0===w?"Undefined":null===w?"Null":"string"==typeof(R=function(S,E){try{return S[E]}catch(O){}}(z=C(w),x))?R:_?y(z):"Object"==(N=y(z))&&v(z.callee)?"Arguments":N}},58392:function(m,s,o){"use strict";var h=o(14434),v=o(86671),y=o(36999),x=o(73252);m.exports=function(C,_,w){for(var z=v(_),R=x.f,N=y.f,S=0;z.length>S;S++){var E=z[S];h(C,E)||w&&h(w,E)||R(C,E,N(_,E))}}},27259:function(m,s,o){"use strict";var h=o(75834);m.exports=!h(function(){function v(){}return v.prototype.constructor=null,Object.getPrototypeOf(new v)!==v.prototype})},17427:function(m){"use strict";m.exports=function(s,o){return{value:s,done:o}}},45840:function(m,s,o){"use strict";var h=o(13873),v=o(73252),y=o(32500);m.exports=h?function(x,C,_){return v.f(x,C,y(1,_))}:function(x,C,_){return x[C]=_,x}},32500:function(m){"use strict";m.exports=function(s,o){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:o}}},89476:function(m,s,o){"use strict";var h=o(43836),v=o(73252),y=o(32500);m.exports=function(x,C,_){var w=h(C);w in x?v.f(x,w,y(0,_)):x[w]=_}},35065:function(m,s,o){"use strict";var h=o(794),v=o(73252),y=o(40846),x=o(25379);m.exports=function(C,_,w,z){z||(z={});var R=z.enumerable,N=void 0!==z.name?z.name:_;if(h(w)&&y(w,N,z),z.global)R?C[_]=w:x(_,w);else{try{z.unsafe?C[_]&&(R=!0):delete C[_]}catch(S){}R?C[_]=w:v.f(C,_,{value:w,enumerable:!1,configurable:!z.nonConfigurable,writable:!z.nonWritable})}return C}},25379:function(m,s,o){"use strict";var h=o(37042),v=Object.defineProperty;m.exports=function(y,x){try{v(h,y,{value:x,configurable:!0,writable:!0})}catch(C){h[y]=x}return x}},13873:function(m,s,o){"use strict";var h=o(75834);m.exports=!h(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},12062:function(m){"use strict";var s="object"==typeof document&&document.all;m.exports={all:s,IS_HTMLDDA:void 0===s&&void 0!==s}},15192:function(m,s,o){"use strict";var h=o(37042),v=o(8148),y=h.document,x=v(y)&&v(y.createElement);m.exports=function(C){return x?y.createElement(C):{}}},39505:function(m){"use strict";var s=TypeError;m.exports=function(o){if(o>9007199254740991)throw s("Maximum allowed index exceeded");return o}},21473:function(m,s,o){"use strict";var h=o(98945);m.exports=h("navigator","userAgent")||""},65190:function(m,s,o){"use strict";var h,v,y=o(37042),x=o(21473),C=y.process,_=y.Deno,w=C&&C.versions||_&&_.version,z=w&&w.v8;z&&(v=(h=z.split("."))[0]>0&&4>h[0]?1:+(h[0]+h[1])),!v&&x&&((h=x.match(/Edge\/(\d+)/))&&74>h[1]||(h=x.match(/Chrome\/(\d+)/))&&(v=+h[1])),m.exports=v},56599:function(m,s,o){"use strict";var h=o(37042),v=o(90838);m.exports=function(y,x){return v(h[y].prototype[x])}},64456:function(m){"use strict";m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50791:function(m,s,o){"use strict";var h=o(37042),v=o(36999).f,y=o(45840),x=o(35065),C=o(25379),_=o(58392),w=o(56930);m.exports=function(z,R){var N,S,E,O,H,U=z.target,X=z.global,W=z.stat;if(N=X?h:W?h[U]||C(U,{}):(h[U]||{}).prototype)for(S in R){if(O=R[S],E=z.dontCallGetSet?(H=v(N,S))&&H.value:N[S],!w(X?S:U+(W?".":"#")+S,z.forced)&&void 0!==E){if(typeof O==typeof E)continue;_(O,E)}(z.sham||E&&E.sham)&&y(O,"sham",!0),x(N,S,O,z)}}},75834:function(m){"use strict";m.exports=function(s){try{return!!s()}catch(o){return!0}}},55101:function(m,s,o){"use strict";var h=o(32610),v=Function.prototype,y=v.apply,x=v.call;m.exports="object"==typeof Reflect&&Reflect.apply||(h?x.bind(y):function(){return x.apply(y,arguments)})},40207:function(m,s,o){"use strict";var h=o(75114),v=o(98061),y=o(32610),x=h(h.bind);m.exports=function(C,_){return v(C),void 0===_?C:y?x(C,_):function(){return C.apply(_,arguments)}}},32610:function(m,s,o){"use strict";var h=o(75834);m.exports=!h(function(){var v=function(){}.bind();return"function"!=typeof v||v.hasOwnProperty("prototype")})},9093:function(m,s,o){"use strict";var h=o(32610),v=Function.prototype.call;m.exports=h?v.bind(v):function(){return v.apply(v,arguments)}},84521:function(m,s,o){"use strict";var h=o(13873),v=o(14434),y=Function.prototype,x=h&&Object.getOwnPropertyDescriptor,C=v(y,"name"),_=C&&"something"===function(){}.name,w=C&&(!h||h&&x(y,"name").configurable);m.exports={EXISTS:C,PROPER:_,CONFIGURABLE:w}},75114:function(m,s,o){"use strict";var h=o(6285),v=o(90838);m.exports=function(y){if("Function"===h(y))return v(y)}},90838:function(m,s,o){"use strict";var h=o(32610),v=Function.prototype,y=v.call,x=h&&v.bind.bind(y,y);m.exports=h?x:function(C){return function(){return y.apply(C,arguments)}}},98945:function(m,s,o){"use strict";var h=o(37042),v=o(794),y=function(x){return v(x)?x:void 0};m.exports=function(x,C){return 2>arguments.length?y(h[x]):h[x]&&h[x][C]}},81058:function(m,s,o){"use strict";var h=o(8652),v=o(20156),y=o(8140),x=o(84922),C=o(19517)("iterator");m.exports=function(_){if(!y(_))return v(_,C)||v(_,"@@iterator")||x[h(_)]}},27395:function(m,s,o){"use strict";var h=o(9093),v=o(98061),y=o(52313),x=o(98418),C=o(81058),_=TypeError;m.exports=function(w,z){var R=2>arguments.length?C(w):z;if(v(R))return y(h(R,w));throw _(x(w)+" is not iterable")}},20156:function(m,s,o){"use strict";var h=o(98061),v=o(8140);m.exports=function(y,x){var C=y[x];return v(C)?void 0:h(C)}},37042:function(m,s,o){"use strict";var h=function(v){return v&&v.Math==Math&&v};m.exports=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof o.g&&o.g)||function(){return this}()||Function("return this")()},14434:function(m,s,o){"use strict";var h=o(90838),v=o(68488),y=h({}.hasOwnProperty);m.exports=Object.hasOwn||function(x,C){return y(v(x),C)}},48889:function(m){"use strict";m.exports={}},36249:function(m,s,o){"use strict";var h=o(98945);m.exports=h("document","documentElement")},12816:function(m,s,o){"use strict";var h=o(13873),v=o(75834),y=o(15192);m.exports=!h&&!v(function(){return 7!=Object.defineProperty(y("div"),"a",{get:function(){return 7}}).a})},25049:function(m,s,o){"use strict";var h=o(90838),v=o(75834),y=o(6285),x=Object,C=h("".split);m.exports=v(function(){return!x("z").propertyIsEnumerable(0)})?function(_){return"String"==y(_)?C(_,""):x(_)}:x},92355:function(m,s,o){"use strict";var h=o(90838),v=o(794),y=o(45752),x=h(Function.toString);v(y.inspectSource)||(y.inspectSource=function(C){return x(C)}),m.exports=y.inspectSource},56113:function(m,s,o){"use strict";var h,v,y,x=o(95473),C=o(37042),_=o(8148),w=o(45840),z=o(14434),R=o(45752),N=o(85475),S=o(48889),E="Object already initialized",O=C.TypeError;if(x||R.state){var H=R.state||(R.state=new C.WeakMap);H.get=H.get,H.has=H.has,H.set=H.set,h=function(X,W){if(H.has(X))throw O(E);return W.facade=X,H.set(X,W),W},v=function(X){return H.get(X)||{}},y=function(X){return H.has(X)}}else{var U=N("state");S[U]=!0,h=function(X,W){if(z(X,U))throw O(E);return W.facade=X,w(X,U,W),W},v=function(X){return z(X,U)?X[U]:{}},y=function(X){return z(X,U)}}m.exports={set:h,get:v,has:y,enforce:function(X){return y(X)?v(X):h(X,{})},getterFor:function(X){return function(W){var re;if(!_(W)||(re=v(W)).type!==X)throw O("Incompatible receiver, "+X+" required");return re}}}},84997:function(m,s,o){"use strict";var h=o(19517),v=o(84922),y=h("iterator"),x=Array.prototype;m.exports=function(C){return void 0!==C&&(v.Array===C||x[y]===C)}},36222:function(m,s,o){"use strict";var h=o(6285);m.exports=Array.isArray||function(v){return"Array"==h(v)}},794:function(m,s,o){"use strict";var h=o(12062),v=h.all;m.exports=h.IS_HTMLDDA?function(y){return"function"==typeof y||y===v}:function(y){return"function"==typeof y}},15333:function(m,s,o){"use strict";var h=o(90838),v=o(75834),y=o(794),x=o(8652),C=o(98945),_=o(92355),w=function(){},z=[],R=C("Reflect","construct"),N=/^\s*(?:class|function)\b/,S=h(N.exec),E=!N.exec(w),O=function(U){if(!y(U))return!1;try{return R(w,z,U),!0}catch(X){return!1}},H=function(U){if(!y(U))return!1;switch(x(U)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!S(N,_(U))}catch(X){return!0}};H.sham=!0,m.exports=!R||v(function(){var U;return O(O.call)||!O(Object)||!O(function(){U=!0})||U})?H:O},56930:function(m,s,o){"use strict";var h=o(75834),v=o(794),y=/#|\.prototype\./,x=function(R,N){var S=_[C(R)];return S==z||S!=w&&(v(N)?h(N):!!N)},C=x.normalize=function(R){return String(R).replace(y,".").toLowerCase()},_=x.data={},w=x.NATIVE="N",z=x.POLYFILL="P";m.exports=x},8140:function(m){"use strict";m.exports=function(s){return null==s}},8148:function(m,s,o){"use strict";var h=o(794),v=o(12062),y=v.all;m.exports=v.IS_HTMLDDA?function(x){return"object"==typeof x?null!==x:h(x)||x===y}:function(x){return"object"==typeof x?null!==x:h(x)}},70852:function(m){"use strict";m.exports=!1},88253:function(m,s,o){"use strict";var h=o(98945),v=o(794),y=o(54671),x=o(57982),C=Object;m.exports=x?function(_){return"symbol"==typeof _}:function(_){var w=h("Symbol");return v(w)&&y(w.prototype,C(_))}},11274:function(m,s,o){"use strict";var h=o(9093),v=o(52313),y=o(20156);m.exports=function(x,C,_){var w,z;v(x);try{if(!(w=y(x,"return"))){if("throw"===C)throw _;return _}w=h(w,x)}catch(R){z=!0,w=R}if("throw"===C)throw _;if(z)throw w;return v(w),_}},60928:function(m,s,o){"use strict";var h=o(77831).IteratorPrototype,v=o(93503),y=o(32500),x=o(44532),C=o(84922),_=function(){return this};m.exports=function(w,z,R,N){var S=z+" Iterator";return w.prototype=v(h,{next:y(+!N,R)}),x(w,S,!1,!0),C[S]=_,w}},13759:function(m,s,o){"use strict";var h=o(50791),v=o(9093),y=o(70852),x=o(84521),C=o(794),_=o(60928),w=o(1074),z=o(482),R=o(44532),N=o(45840),S=o(35065),E=o(19517),O=o(84922),H=o(77831),U=x.PROPER,X=x.CONFIGURABLE,W=H.IteratorPrototype,re=H.BUGGY_SAFARI_ITERATORS,pe=E("iterator"),Ae="keys",Se="values",De="entries",qe=function(){return this};m.exports=function(rt,ot,vt,rn,Xt,fn,_n){_(vt,ot,rn);var hn,vn,xn,dn=function(Yn){if(Yn===Xt&&qn)return qn;if(!re&&Yn in cn)return cn[Yn];switch(Yn){case Ae:case Se:case De:return function(){return new vt(this,Yn)}}return function(){return new vt(this)}},Sn=ot+" Iterator",si=!1,cn=rt.prototype,yn=cn[pe]||cn["@@iterator"]||Xt&&cn[Xt],qn=!re&&yn||dn(Xt),oi="Array"==ot&&cn.entries||yn;if(oi&&(hn=w(oi.call(new rt)))!==Object.prototype&&hn.next&&(y||w(hn)===W||(z?z(hn,W):C(hn[pe])||S(hn,pe,qe)),R(hn,Sn,!0,!0),y&&(O[Sn]=qe)),U&&Xt==Se&&yn&&yn.name!==Se&&(!y&&X?N(cn,"name",Se):(si=!0,qn=function(){return v(yn,this)})),Xt)if(vn={values:dn(Se),keys:fn?qn:dn(Ae),entries:dn(De)},_n)for(xn in vn)(re||si||!(xn in cn))&&S(cn,xn,vn[xn]);else h({target:ot,proto:!0,forced:re||si},vn);return y&&!_n||cn[pe]===qn||S(cn,pe,qn,{name:Xt}),O[ot]=qn,vn}},77831:function(m,s,o){"use strict";var h,v,y,x=o(75834),C=o(794),_=o(8148),w=o(93503),z=o(1074),R=o(35065),N=o(19517),S=o(70852),E=N("iterator"),O=!1;[].keys&&("next"in(y=[].keys())?(v=z(z(y)))!==Object.prototype&&(h=v):O=!0),!_(h)||x(function(){var H={};return h[E].call(H)!==H})?h={}:S&&(h=w(h)),C(h[E])||R(h,E,function(){return this}),m.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:O}},84922:function(m){"use strict";m.exports={}},15050:function(m,s,o){"use strict";var h=o(24431);m.exports=function(v){return h(v.length)}},40846:function(m,s,o){"use strict";var h=o(75834),v=o(794),y=o(14434),x=o(13873),C=o(84521).CONFIGURABLE,_=o(92355),w=o(56113),z=w.enforce,R=w.get,N=Object.defineProperty,S=x&&!h(function(){return 8!==N(function(){},"length",{value:8}).length}),E=String(String).split("String"),O=m.exports=function(H,U,X){"Symbol("===String(U).slice(0,7)&&(U="["+String(U).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),X&&X.getter&&(U="get "+U),X&&X.setter&&(U="set "+U),(!y(H,"name")||C&&H.name!==U)&&(x?N(H,"name",{value:U,configurable:!0}):H.name=U),S&&X&&y(X,"arity")&&H.length!==X.arity&&N(H,"length",{value:X.arity});try{X&&y(X,"constructor")&&X.constructor?x&&N(H,"prototype",{writable:!1}):H.prototype&&(H.prototype=void 0)}catch(re){}var W=z(H);return y(W,"source")||(W.source=E.join("string"==typeof U?U:"")),H};Function.prototype.toString=O(function(){return v(this)&&R(this).source||_(this)},"toString")},43932:function(m){"use strict";var s=Math.ceil,o=Math.floor;m.exports=Math.trunc||function(h){var v=+h;return(v>0?o:s)(v)}},93503:function(m,s,o){"use strict";var h,v=o(52313),y=o(5770),x=o(64456),C=o(48889),_=o(36249),w=o(15192),z=o(85475)("IE_PROTO"),R=function(){},N=function(O){return"<script>"+O+"<\/script>"},S=function(O){O.write(N("")),O.close();var H=O.parentWindow.Object;return O=null,H},E=function(){try{h=new ActiveXObject("htmlfile")}catch(X){}var O,H;E="undefined"!=typeof document?document.domain&&h?S(h):((H=w("iframe")).style.display="none",_.appendChild(H),H.src=String("javascript:"),(O=H.contentWindow.document).open(),O.write(N("document.F=Object")),O.close(),O.F):S(h);for(var U=x.length;U--;)delete E.prototype[x[U]];return E()};C[z]=!0,m.exports=Object.create||function(O,H){var U;return null!==O?(R.prototype=v(O),U=new R,R.prototype=null,U[z]=O):U=E(),void 0===H?U:y.f(U,H)}},5770:function(m,s,o){"use strict";var h=o(13873),v=o(63142),y=o(73252),x=o(52313),C=o(98651),_=o(3385);s.f=h&&!v?Object.defineProperties:function(w,z){x(w);for(var R,N=C(z),S=_(z),E=S.length,O=0;E>O;)y.f(w,R=S[O++],N[R]);return w}},73252:function(m,s,o){"use strict";var h=o(13873),v=o(12816),y=o(63142),x=o(52313),C=o(43836),_=TypeError,w=Object.defineProperty,z=Object.getOwnPropertyDescriptor;s.f=h?y?function(R,N,S){if(x(R),N=C(N),x(S),"function"==typeof R&&"prototype"===N&&"value"in S&&"writable"in S&&!S.writable){var E=z(R,N);E&&E.writable&&(R[N]=S.value,S={configurable:"configurable"in S?S.configurable:E.configurable,enumerable:"enumerable"in S?S.enumerable:E.enumerable,writable:!1})}return w(R,N,S)}:w:function(R,N,S){if(x(R),N=C(N),x(S),v)try{return w(R,N,S)}catch(E){}if("get"in S||"set"in S)throw _("Accessors not supported");return"value"in S&&(R[N]=S.value),R}},36999:function(m,s,o){"use strict";var h=o(13873),v=o(9093),y=o(33244),x=o(32500),C=o(98651),_=o(43836),w=o(14434),z=o(12816),R=Object.getOwnPropertyDescriptor;s.f=h?R:function(N,S){if(N=C(N),S=_(S),z)try{return R(N,S)}catch(E){}if(w(N,S))return x(!v(y.f,N,S),N[S])}},53305:function(m,s,o){"use strict";var h=o(6285),v=o(98651),y=o(7792).f,x=o(57652),C="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];m.exports.f=function(_){return C&&"Window"==h(_)?function(w){try{return y(w)}catch(z){return x(C)}}(_):y(v(_))}},7792:function(m,s,o){"use strict";var h=o(84729),v=o(64456).concat("length","prototype");s.f=Object.getOwnPropertyNames||function(y){return h(y,v)}},23953:function(m,s){"use strict";s.f=Object.getOwnPropertySymbols},1074:function(m,s,o){"use strict";var h=o(14434),v=o(794),y=o(68488),x=o(85475),C=o(27259),_=x("IE_PROTO"),w=Object,z=w.prototype;m.exports=C?w.getPrototypeOf:function(R){var N=y(R);if(h(N,_))return N[_];var S=N.constructor;return v(S)&&N instanceof S?S.prototype:N instanceof w?z:null}},54671:function(m,s,o){"use strict";var h=o(90838);m.exports=h({}.isPrototypeOf)},84729:function(m,s,o){"use strict";var h=o(90838),v=o(14434),y=o(98651),x=o(79327).indexOf,C=o(48889),_=h([].push);m.exports=function(w,z){var R,N=y(w),S=0,E=[];for(R in N)!v(C,R)&&v(N,R)&&_(E,R);for(;z.length>S;)v(N,R=z[S++])&&(~x(E,R)||_(E,R));return E}},3385:function(m,s,o){"use strict";var h=o(84729),v=o(64456);m.exports=Object.keys||function(y){return h(y,v)}},33244:function(m,s){"use strict";var o={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,v=h&&!o.call({1:2},1);s.f=v?function(y){var x=h(this,y);return!!x&&x.enumerable}:o},482:function(m,s,o){"use strict";var h=o(90838),v=o(52313),y=o(75839);m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var x,C=!1,_={};try{(x=h(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(_,[]),C=_ instanceof Array}catch(w){}return function(w,z){return v(w),y(z),C?x(w,z):w.__proto__=z,w}}():void 0)},57555:function(m,s,o){"use strict";var h=o(6424),v=o(8652);m.exports=h?{}.toString:function(){return"[object "+v(this)+"]"}},82472:function(m,s,o){"use strict";var h=o(9093),v=o(794),y=o(8148),x=TypeError;m.exports=function(C,_){var w,z;if("string"===_&&v(w=C.toString)&&!y(z=h(w,C))||v(w=C.valueOf)&&!y(z=h(w,C))||"string"!==_&&v(w=C.toString)&&!y(z=h(w,C)))return z;throw x("Can't convert object to primitive value")}},86671:function(m,s,o){"use strict";var h=o(98945),v=o(90838),y=o(7792),x=o(23953),C=o(52313),_=v([].concat);m.exports=h("Reflect","ownKeys")||function(w){var z=y.f(C(w)),R=x.f;return R?_(z,R(w)):z}},31116:function(m,s,o){"use strict";var h=o(37042);m.exports=h},60265:function(m,s,o){"use strict";var h=o(8140),v=TypeError;m.exports=function(y){if(h(y))throw v("Can't call method on "+y);return y}},44532:function(m,s,o){"use strict";var h=o(73252).f,v=o(14434),y=o(19517)("toStringTag");m.exports=function(x,C,_){x&&!_&&(x=x.prototype),x&&!v(x,y)&&h(x,y,{configurable:!0,value:C})}},85475:function(m,s,o){"use strict";var h=o(95138),v=o(15257),y=h("keys");m.exports=function(x){return y[x]||(y[x]=v(x))}},45752:function(m,s,o){"use strict";var h=o(37042),v=o(25379),y="__core-js_shared__",x=h[y]||v(y,{});m.exports=x},95138:function(m,s,o){"use strict";var h=o(70852),v=o(45752);(m.exports=function(y,x){return v[y]||(v[y]=void 0!==x?x:{})})("versions",[]).push({version:"3.26.1",mode:h?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},41397:function(m,s,o){"use strict";var h=o(90838),v=o(27876),y=o(63046),x=o(60265),C=h("".charAt),_=h("".charCodeAt),w=h("".slice),z=function(R){return function(N,S){var E,O,H=y(x(N)),U=v(S),X=H.length;return 0>U||U>=X?R?"":void 0:55296>(E=_(H,U))||E>56319||U+1===X||56320>(O=_(H,U+1))||O>57343?R?C(H,U):E:R?w(H,U,U+2):O-56320+(E-55296<<10)+65536}};m.exports={codeAt:z(!1),charAt:z(!0)}},73800:function(m,s,o){"use strict";var h=o(65190),v=o(75834);m.exports=!!Object.getOwnPropertySymbols&&!v(function(){var y=Symbol();return!String(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&h&&41>h})},13829:function(m,s,o){"use strict";var h=o(9093),v=o(98945),y=o(19517),x=o(35065);m.exports=function(){var C=v("Symbol"),_=C&&C.prototype,w=_&&_.valueOf,z=y("toPrimitive");_&&!_[z]&&x(_,z,function(R){return h(w,this)},{arity:1})}},31948:function(m,s,o){"use strict";var h=o(73800);m.exports=h&&!!Symbol.for&&!!Symbol.keyFor},10586:function(m,s,o){"use strict";var h=o(27876),v=Math.max,y=Math.min;m.exports=function(x,C){var _=h(x);return 0>_?v(_+C,0):y(_,C)}},98651:function(m,s,o){"use strict";var h=o(25049),v=o(60265);m.exports=function(y){return h(v(y))}},27876:function(m,s,o){"use strict";var h=o(43932);m.exports=function(v){var y=+v;return y!=y||0===y?0:h(y)}},24431:function(m,s,o){"use strict";var h=o(27876),v=Math.min;m.exports=function(y){return y>0?v(h(y),9007199254740991):0}},68488:function(m,s,o){"use strict";var h=o(60265),v=Object;m.exports=function(y){return v(h(y))}},11261:function(m,s,o){"use strict";var h=o(9093),v=o(8148),y=o(88253),x=o(20156),C=o(82472),_=o(19517),w=TypeError,z=_("toPrimitive");m.exports=function(R,N){if(!v(R)||y(R))return R;var S,E=x(R,z);if(E){if(void 0===N&&(N="default"),S=h(E,R,N),!v(S)||y(S))return S;throw w("Can't convert object to primitive value")}return void 0===N&&(N="number"),C(R,N)}},43836:function(m,s,o){"use strict";var h=o(11261),v=o(88253);m.exports=function(y){var x=h(y,"string");return v(x)?x:x+""}},6424:function(m,s,o){"use strict";var h={};h[o(19517)("toStringTag")]="z",m.exports="[object z]"===String(h)},63046:function(m,s,o){"use strict";var h=o(8652),v=String;m.exports=function(y){if("Symbol"===h(y))throw TypeError("Cannot convert a Symbol value to a string");return v(y)}},98418:function(m){"use strict";var s=String;m.exports=function(o){try{return s(o)}catch(h){return"Object"}}},15257:function(m,s,o){"use strict";var h=o(90838),v=0,y=Math.random(),x=h(1..toString);m.exports=function(C){return"Symbol("+(void 0===C?"":C)+")_"+x(++v+y,36)}},57982:function(m,s,o){"use strict";var h=o(73800);m.exports=h&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},63142:function(m,s,o){"use strict";var h=o(13873),v=o(75834);m.exports=h&&v(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},95473:function(m,s,o){"use strict";var h=o(37042),v=o(794),y=h.WeakMap;m.exports=v(y)&&/native code/.test(String(y))},89633:function(m,s,o){"use strict";var h=o(31116),v=o(14434),y=o(96767),x=o(73252).f;m.exports=function(C){var _=h.Symbol||(h.Symbol={});v(_,C)||x(_,C,{value:y.f(C)})}},96767:function(m,s,o){"use strict";var h=o(19517);s.f=h},19517:function(m,s,o){"use strict";var h=o(37042),v=o(95138),y=o(14434),x=o(15257),C=o(73800),_=o(57982),w=v("wks"),z=h.Symbol,R=z&&z.for,N=_?z:z&&z.withoutSetter||x;m.exports=function(S){if(!y(w,S)||!C&&"string"!=typeof w[S]){var E="Symbol."+S;w[S]=C&&y(z,S)?z[S]:_&&R?R(E):N(E)}return w[S]}},54166:function(m,s,o){"use strict";var h=o(50791),v=o(75834),y=o(36222),x=o(8148),C=o(68488),_=o(15050),w=o(39505),z=o(89476),R=o(6429),N=o(63833),S=o(19517),E=o(65190),O=S("isConcatSpreadable"),H=E>=51||!v(function(){var W=[];return W[O]=!1,W.concat()[0]!==W}),U=N("concat"),X=function(W){if(!x(W))return!1;var re=W[O];return void 0!==re?!!re:y(W)};h({target:"Array",proto:!0,arity:1,forced:!H||!U},{concat:function(W){var re,pe,Ae,Se,De,qe=C(this),rt=R(qe,0),ot=0;for(re=-1,Ae=arguments.length;Ae>re;re++)if(X(De=-1===re?qe:arguments[re]))for(Se=_(De),w(ot+Se),pe=0;Se>pe;pe++,ot++)pe in De&&z(rt,ot,De[pe]);else w(ot+1),z(rt,ot++,De);return rt.length=ot,rt}})},22513:function(m,s,o){"use strict";var h=o(50791),v=o(56881).findIndex,y=o(15179),x="findIndex",C=!0;x in[]&&Array(1).findIndex(function(){C=!1}),h({target:"Array",proto:!0,forced:C},{findIndex:function(_){return v(this,_,arguments.length>1?arguments[1]:void 0)}}),y(x)},70057:function(m,s,o){"use strict";var h=o(50791),v=o(92707);h({target:"Array",stat:!0,forced:!o(7581)(function(y){Array.from(y)})},{from:v})},67507:function(m,s,o){"use strict";var h=o(50791),v=o(98945),y=o(55101),x=o(9093),C=o(90838),_=o(75834),w=o(36222),z=o(794),R=o(8148),N=o(88253),S=o(54832),E=o(73800),O=v("JSON","stringify"),H=C(/./.exec),U=C("".charAt),X=C("".charCodeAt),W=C("".replace),re=C(1..toString),pe=/[\uD800-\uDFFF]/g,Ae=/^[\uD800-\uDBFF]$/,Se=/^[\uDC00-\uDFFF]$/,De=!E||_(function(){var vt=v("Symbol")();return"[null]"!=O([vt])||"{}"!=O({a:vt})||"{}"!=O(Object(vt))}),qe=_(function(){return'"\\udf06\\ud834"'!==O("\udf06\ud834")||'"\\udead"'!==O("\udead")}),rt=function(vt,rn){var Xt=S(arguments),fn=rn;if((R(rn)||void 0!==vt)&&!N(vt))return w(rn)||(rn=function(_n,hn){if(z(fn)&&(hn=x(fn,this,_n,hn)),!N(hn))return hn}),Xt[1]=rn,y(O,null,Xt)},ot=function(vt,rn,Xt){var fn=U(Xt,rn-1),_n=U(Xt,rn+1);return H(Ae,vt)&&!H(Se,_n)||H(Se,vt)&&!H(Ae,fn)?"\\u"+re(X(vt,0),16):vt};O&&h({target:"JSON",stat:!0,arity:3,forced:De||qe},{stringify:function(vt,rn,Xt){var fn=S(arguments),_n=y(De?rt:O,null,fn);return qe&&"string"==typeof _n?W(_n,pe,ot):_n}})},90217:function(m,s,o){"use strict";var h=o(37042);o(44532)(h.JSON,"JSON",!0)},73477:function(m,s,o){"use strict";o(44532)(Math,"Math",!0)},30165:function(m,s,o){"use strict";var h=o(50791),v=o(73800),y=o(75834),x=o(23953),C=o(68488);h({target:"Object",stat:!0,forced:!v||y(function(){x.f(1)})},{getOwnPropertySymbols:function(_){var w=x.f;return w?w(C(_)):[]}})},32044:function(m,s,o){"use strict";var h=o(6424),v=o(35065),y=o(57555);h||v(Object.prototype,"toString",y,{unsafe:!0})},93697:function(m,s,o){"use strict";var h=o(50791),v=o(37042),y=o(44532);h({global:!0},{Reflect:{}}),y(v.Reflect,"Reflect",!0)},52867:function(m,s,o){"use strict";var h=o(41397).charAt,v=o(63046),y=o(56113),x=o(13759),C=o(17427),_="String Iterator",w=y.set,z=y.getterFor(_);x(String,"String",function(R){w(this,{type:_,string:v(R),index:0})},function(){var R,N=z(this),S=N.string,E=N.index;return S.length>E?(R=h(S,E),N.index+=R.length,C(R,!1)):C(void 0,!0)})},28424:function(m,s,o){"use strict";o(89633)("asyncIterator")},9656:function(m,s,o){"use strict";var h=o(50791),v=o(37042),y=o(9093),x=o(90838),C=o(70852),_=o(13873),w=o(73800),z=o(75834),R=o(14434),N=o(54671),S=o(52313),E=o(98651),O=o(43836),H=o(63046),U=o(32500),X=o(93503),W=o(3385),re=o(7792),pe=o(53305),Ae=o(23953),Se=o(36999),De=o(73252),qe=o(5770),rt=o(33244),ot=o(35065),vt=o(95138),rn=o(85475),Xt=o(48889),fn=o(15257),_n=o(19517),hn=o(96767),vn=o(89633),xn=o(13829),dn=o(44532),Sn=o(56113),si=o(56881).forEach,cn=rn("hidden"),yn="Symbol",qn=Sn.set,oi=Sn.getterFor(yn),Yn=Object.prototype,Xn=v.Symbol,gi=Xn&&Xn.prototype,Mt=v.TypeError,pn=v.QObject,an=Se.f,yt=De.f,Je=pe.f,ht=rt.f,xt=x([].push),Ht=vt("symbols"),$t=vt("op-symbols"),Jt=vt("wks"),lt=!pn||!pn.prototype||!pn.prototype.findChild,Ft=_&&z(function(){return 7!=X(yt({},"a",{get:function(){return yt(this,"a",{value:7}).a}})).a})?function(Hi,_i,pi){var $n=an(Yn,_i);$n&&delete Yn[_i],yt(Hi,_i,pi),$n&&Hi!==Yn&&yt(Yn,_i,$n)}:yt,ln=function(Hi,_i){var pi=Ht[Hi]=X(gi);return qn(pi,{type:yn,tag:Hi,description:_i}),_||(pi.description=_i),pi},Jn=function(Hi,_i,pi){Hi===Yn&&Jn($t,_i,pi),S(Hi);var $n=O(_i);return S(pi),R(Ht,$n)?(pi.enumerable?(R(Hi,cn)&&Hi[cn][$n]&&(Hi[cn][$n]=!1),pi=X(pi,{enumerable:U(0,!1)})):(R(Hi,cn)||yt(Hi,cn,U(1,{})),Hi[cn][$n]=!0),Ft(Hi,$n,pi)):yt(Hi,$n,pi)},Mn=function(Hi,_i){S(Hi);var pi=E(_i),$n=W(pi).concat(Ki(pi));return si($n,function(wr){_&&!y(ti,pi,wr)||Jn(Hi,wr,pi[wr])}),Hi},ti=function(Hi){var _i=O(Hi),pi=y(ht,this,_i);return!(this===Yn&&R(Ht,_i)&&!R($t,_i))&&(!(pi||!R(this,_i)||!R(Ht,_i)||R(this,cn)&&this[cn][_i])||pi)},Ai=function(Hi,_i){var pi=E(Hi),$n=O(_i);if(pi!==Yn||!R(Ht,$n)||R($t,$n)){var wr=an(pi,$n);return!wr||!R(Ht,$n)||R(pi,cn)&&pi[cn][$n]||(wr.enumerable=!0),wr}},ki=function(Hi){var _i=Je(E(Hi)),pi=[];return si(_i,function($n){R(Ht,$n)||R(Xt,$n)||xt(pi,$n)}),pi},Ki=function(Hi){var _i=Hi===Yn,pi=Je(_i?$t:E(Hi)),$n=[];return si(pi,function(wr){!R(Ht,wr)||_i&&!R(Yn,wr)||xt($n,Ht[wr])}),$n};w||(Xn=function(){if(N(gi,this))throw Mt("Symbol is not a constructor");var Hi=arguments.length&&void 0!==arguments[0]?H(arguments[0]):void 0,_i=fn(Hi),pi=function($n){this===Yn&&y(pi,$t,$n),R(this,cn)&&R(this[cn],_i)&&(this[cn][_i]=!1),Ft(this,_i,U(1,$n))};return _&&lt&&Ft(Yn,_i,{configurable:!0,set:pi}),ln(_i,Hi)},ot(gi=Xn.prototype,"toString",function(){return oi(this).tag}),ot(Xn,"withoutSetter",function(Hi){return ln(fn(Hi),Hi)}),rt.f=ti,De.f=Jn,qe.f=Mn,Se.f=Ai,re.f=pe.f=ki,Ae.f=Ki,hn.f=function(Hi){return ln(_n(Hi),Hi)},_&&(yt(gi,"description",{configurable:!0,get:function(){return oi(this).description}}),C||ot(Yn,"propertyIsEnumerable",ti,{unsafe:!0}))),h({global:!0,constructor:!0,wrap:!0,forced:!w,sham:!w},{Symbol:Xn}),si(W(Jt),function(Hi){vn(Hi)}),h({target:yn,stat:!0,forced:!w},{useSetter:function(){lt=!0},useSimple:function(){lt=!1}}),h({target:"Object",stat:!0,forced:!w,sham:!_},{create:function(Hi,_i){return void 0===_i?X(Hi):Mn(X(Hi),_i)},defineProperty:Jn,defineProperties:Mn,getOwnPropertyDescriptor:Ai}),h({target:"Object",stat:!0,forced:!w},{getOwnPropertyNames:ki}),xn(),dn(Xn,yn),Xt[cn]=!0},64514:function(m,s,o){"use strict";var h=o(50791),v=o(13873),y=o(37042),x=o(90838),C=o(14434),_=o(794),w=o(54671),z=o(63046),R=o(73252).f,N=o(58392),S=y.Symbol,E=S&&S.prototype;if(v&&_(S)&&(!("description"in E)||void 0!==S().description)){var O={},H=function(){var Se=1>arguments.length||void 0===arguments[0]?void 0:z(arguments[0]),De=w(E,this)?new S(Se):void 0===Se?S():S(Se);return""===Se&&(O[De]=!0),De};N(H,S),H.prototype=E,E.constructor=H;var U="Symbol(test)"==String(S("test")),X=x(E.valueOf),W=x(E.toString),re=/^Symbol\((.*)\)[^)]+$/,pe=x("".replace),Ae=x("".slice);R(E,"description",{configurable:!0,get:function(){var Se=X(this);if(C(O,Se))return"";var De=W(Se),qe=U?Ae(De,7,-1):pe(De,re,"$1");return""===qe?void 0:qe}}),h({global:!0,constructor:!0,forced:!0},{Symbol:H})}},56202:function(m,s,o){"use strict";var h=o(50791),v=o(98945),y=o(14434),x=o(63046),C=o(95138),_=o(31948),w=C("string-to-symbol-registry"),z=C("symbol-to-string-registry");h({target:"Symbol",stat:!0,forced:!_},{for:function(R){var N=x(R);if(y(w,N))return w[N];var S=v("Symbol")(N);return w[N]=S,z[S]=N,S}})},30733:function(m,s,o){"use strict";o(89633)("hasInstance")},40327:function(m,s,o){"use strict";o(89633)("isConcatSpreadable")},53639:function(m,s,o){"use strict";o(89633)("iterator")},95661:function(m,s,o){"use strict";o(9656),o(56202),o(71940),o(67507),o(30165)},71940:function(m,s,o){"use strict";var h=o(50791),v=o(14434),y=o(88253),x=o(98418),C=o(95138),_=o(31948),w=C("symbol-to-string-registry");h({target:"Symbol",stat:!0,forced:!_},{keyFor:function(z){if(!y(z))throw TypeError(x(z)+" is not a symbol");if(v(w,z))return w[z]}})},7290:function(m,s,o){"use strict";o(89633)("matchAll")},6147:function(m,s,o){"use strict";o(89633)("match")},95122:function(m,s,o){"use strict";o(89633)("replace")},61322:function(m,s,o){"use strict";o(89633)("search")},39605:function(m,s,o){"use strict";o(89633)("species")},49341:function(m,s,o){"use strict";o(89633)("split")},28809:function(m,s,o){"use strict";var h=o(89633),v=o(13829);h("toPrimitive"),v()},82658:function(m,s,o){"use strict";var h=o(98945),v=o(89633),y=o(44532);v("toStringTag"),y(h("Symbol"),"Symbol")},43967:function(m,s,o){"use strict";o(89633)("unscopables")},690:function(m,s,o){"use strict";m.exports=o(26002).polyfill()},26002:function(m,s,o){"use strict";m.exports=function(){function h(cn){return"function"==typeof cn}var v=Array.isArray?Array.isArray:function(cn){return"[object Array]"===Object.prototype.toString.call(cn)},y=0,x=void 0,C=void 0,_=function(cn,yn){O[y]=cn,O[y+1]=yn,2===(y+=2)&&(C?C(H):pe())},w="undefined"!=typeof window?window:void 0,z=w||{},R=z.MutationObserver||z.WebKitMutationObserver,N="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),S="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function E(){var cn=setTimeout;return function(){return cn(H,1)}}var O=new Array(1e3);function H(){for(var cn=0;y>cn;cn+=2)(0,O[cn])(O[cn+1]),O[cn]=void 0,O[cn+1]=void 0;y=0}var U,X,W,re,pe=void 0;function Ae(cn,yn){var qn=this,oi=new this.constructor(qe);void 0===oi[De]&&dn(oi);var Yn=qn._state;if(Yn){var Xn=arguments[Yn-1];_(function(){return vn(Yn,oi,Xn,qn._result)})}else _n(qn,oi,cn,yn);return oi}function Se(cn){if(cn&&"object"==typeof cn&&cn.constructor===this)return cn;var yn=new this(qe);return vt(yn,cn),yn}pe=N?function(){return process.nextTick(H)}:R?(X=0,W=new R(H),re=document.createTextNode(""),W.observe(re,{characterData:!0}),function(){re.data=X=++X%2}):S?((U=new MessageChannel).port1.onmessage=H,function(){return U.port2.postMessage(0)}):void 0===w?function(){try{var cn=Function("return this")().require("vertx");return void 0!==(x=cn.runOnLoop||cn.runOnContext)?function(){x(H)}:E()}catch(yn){return E()}}():E();var De=Math.random().toString(36).substring(2);function qe(){}var rt=void 0;function ot(cn,yn,qn){var oi,Yn;yn.constructor===cn.constructor&&qn===Ae&&yn.constructor.resolve===Se?(oi=cn,1===(Yn=yn)._state?Xt(oi,Yn._result):2===Yn._state?fn(oi,Yn._result):_n(Yn,void 0,function(Xn){return vt(oi,Xn)},function(Xn){return fn(oi,Xn)})):void 0===qn?Xt(cn,yn):h(qn)?function(oi,Yn,Xn){_(function(gi){var Mt=!1,pn=function(an,yt,Je,ht){try{an.call(yt,function(xt){Mt||(Mt=!0,Yn!==xt?vt(gi,xt):Xt(gi,xt))},function(xt){Mt||(Mt=!0,fn(gi,xt))})}catch(xt){return xt}}(Xn,Yn);!Mt&&pn&&(Mt=!0,fn(gi,pn))},oi)}(cn,yn,qn):Xt(cn,yn)}function vt(cn,yn){if(cn===yn)fn(cn,new TypeError("You cannot resolve a promise with itself"));else if(Yn=typeof(oi=yn),null===oi||"object"!==Yn&&"function"!==Yn)Xt(cn,yn);else{var qn=void 0;try{qn=yn.then}catch(Xn){return void fn(cn,Xn)}ot(cn,yn,qn)}var oi,Yn}function rn(cn){cn._onerror&&cn._onerror(cn._result),hn(cn)}function Xt(cn,yn){cn._state===rt&&(cn._result=yn,cn._state=1,0!==cn._subscribers.length&&_(hn,cn))}function fn(cn,yn){cn._state===rt&&(cn._state=2,cn._result=yn,_(rn,cn))}function _n(cn,yn,qn,oi){var Yn=cn._subscribers,Xn=Yn.length;cn._onerror=null,Yn[Xn]=yn,Yn[Xn+1]=qn,Yn[Xn+2]=oi,0===Xn&&cn._state&&_(hn,cn)}function hn(cn){var yn=cn._subscribers,qn=cn._state;if(0!==yn.length){for(var oi=void 0,Yn=void 0,Xn=cn._result,gi=0;yn.length>gi;gi+=3)Yn=yn[gi+qn],(oi=yn[gi])?vn(qn,oi,Yn,Xn):Yn(Xn);cn._subscribers.length=0}}function vn(cn,yn,qn,oi){var Yn=h(qn),Xn=void 0,gi=void 0,Mt=!0;if(Yn){try{Xn=qn(oi)}catch(pn){Mt=!1,gi=pn}if(yn===Xn)return void fn(yn,new TypeError("A promises callback cannot return that same promise."))}else Xn=oi;yn._state!==rt||(Yn&&Mt?vt(yn,Xn):!1===Mt?fn(yn,gi):1===cn?Xt(yn,Xn):2===cn&&fn(yn,Xn))}var xn=0;function dn(cn){cn[De]=xn++,cn._state=void 0,cn._result=void 0,cn._subscribers=[]}var Sn=function(){function cn(yn,qn){this._instanceConstructor=yn,this.promise=new yn(qe),this.promise[De]||dn(this.promise),v(qn)?(this.length=qn.length,this._remaining=qn.length,this._result=new Array(this.length),0===this.length?Xt(this.promise,this._result):(this.length=this.length||0,this._enumerate(qn),0===this._remaining&&Xt(this.promise,this._result))):fn(this.promise,new Error("Array Methods must be provided an Array"))}return cn.prototype._enumerate=function(yn){for(var qn=0;this._state===rt&&yn.length>qn;qn++)this._eachEntry(yn[qn],qn)},cn.prototype._eachEntry=function(yn,qn){var oi=this._instanceConstructor,Yn=oi.resolve;if(Yn===Se){var Xn=void 0,gi=void 0,Mt=!1;try{Xn=yn.then}catch(an){Mt=!0,gi=an}if(Xn===Ae&&yn._state!==rt)this._settledAt(yn._state,qn,yn._result);else if("function"!=typeof Xn)this._remaining--,this._result[qn]=yn;else if(oi===si){var pn=new oi(qe);Mt?fn(pn,gi):ot(pn,yn,Xn),this._willSettleAt(pn,qn)}else this._willSettleAt(new oi(function(an){return an(yn)}),qn)}else this._willSettleAt(Yn(yn),qn)},cn.prototype._settledAt=function(yn,qn,oi){var Yn=this.promise;Yn._state===rt&&(this._remaining--,2===yn?fn(Yn,oi):this._result[qn]=oi),0===this._remaining&&Xt(Yn,this._result)},cn.prototype._willSettleAt=function(yn,qn){var oi=this;_n(yn,void 0,function(Yn){return oi._settledAt(1,qn,Yn)},function(Yn){return oi._settledAt(2,qn,Yn)})},cn}(),si=function(){function cn(yn){this[De]=xn++,this._result=this._state=void 0,this._subscribers=[],qe!==yn&&("function"!=typeof yn&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof cn?function(qn,oi){try{oi(function(Yn){vt(qn,Yn)},function(Yn){fn(qn,Yn)})}catch(Yn){fn(qn,Yn)}}(this,yn):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return cn.prototype.catch=function(yn){return this.then(null,yn)},cn.prototype.finally=function(yn){var qn=this,oi=qn.constructor;return h(yn)?qn.then(function(Yn){return oi.resolve(yn()).then(function(){return Yn})},function(Yn){return oi.resolve(yn()).then(function(){throw Yn})}):qn.then(yn,yn)},cn}();return si.prototype.then=Ae,si.all=function(cn){return new Sn(this,cn).promise},si.race=function(cn){var yn=this;return v(cn)?new yn(function(qn,oi){for(var Yn=cn.length,Xn=0;Yn>Xn;Xn++)yn.resolve(cn[Xn]).then(qn,oi)}):new yn(function(qn,oi){return oi(new TypeError("You must pass an array to race."))})},si.resolve=Se,si.reject=function(cn){var yn=new this(qe);return fn(yn,cn),yn},si._setScheduler=function(cn){C=cn},si._setAsap=function(cn){_=cn},si._asap=_,si.polyfill=function(){var cn=void 0;if(void 0!==o.g)cn=o.g;else if("undefined"!=typeof self)cn=self;else try{cn=Function("return this")()}catch(oi){throw new Error("polyfill failed because global object is unavailable in this environment")}var yn=cn.Promise;if(yn){var qn=null;try{qn=Object.prototype.toString.call(yn.resolve())}catch(oi){}if("[object Promise]"===qn&&!yn.cast)return}cn.Promise=si},si.Promise=si,si}()},20255:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.__classPrivateFieldIn=s.__classPrivateFieldSet=s.__classPrivateFieldGet=s.__importDefault=s.__importStar=s.__makeTemplateObject=s.__asyncValues=s.__asyncDelegator=s.__asyncGenerator=s.__await=s.__spreadArray=s.__spreadArrays=s.__spread=s.__read=s.__values=s.__exportStar=s.__createBinding=s.__generator=s.__awaiter=s.__metadata=s.__param=s.__decorate=s.__rest=s.__assign=s.__extends=void 0;var o=function(C,_){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,z){w.__proto__=z}||function(w,z){for(var R in z)Object.prototype.hasOwnProperty.call(z,R)&&(w[R]=z[R])})(C,_)};function h(C){var _="function"==typeof Symbol&&Symbol.iterator,w=_&&C[_],z=0;if(w)return w.call(C);if(C&&"number"==typeof C.length)return{next:function(){return C&&z>=C.length&&(C=void 0),{value:C&&C[z++],done:!C}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(C,_){var w="function"==typeof Symbol&&C[Symbol.iterator];if(!w)return C;var z,R,N=w.call(C),S=[];try{for(;(void 0===_||_-- >0)&&!(z=N.next()).done;)S.push(z.value)}catch(E){R={error:E}}finally{try{z&&!z.done&&(w=N.return)&&w.call(N)}finally{if(R)throw R.error}}return S}function y(C){return this instanceof y?(this.v=C,this):new y(C)}s.__extends=function(C,_){if("function"!=typeof _&&null!==_)throw new TypeError("Class extends value "+String(_)+" is not a constructor or null");function w(){this.constructor=C}o(C,_),C.prototype=null===_?Object.create(_):(w.prototype=_.prototype,new w)},s.__assign=function(){return s.__assign=Object.assign||function(C){for(var _,w=1,z=arguments.length;z>w;w++)for(var R in _=arguments[w])Object.prototype.hasOwnProperty.call(_,R)&&(C[R]=_[R]);return C},s.__assign.apply(this,arguments)},s.__rest=function(C,_){var w={};for(var z in C)Object.prototype.hasOwnProperty.call(C,z)&&0>_.indexOf(z)&&(w[z]=C[z]);if(null!=C&&"function"==typeof Object.getOwnPropertySymbols){var R=0;for(z=Object.getOwnPropertySymbols(C);z.length>R;R++)0>_.indexOf(z[R])&&Object.prototype.propertyIsEnumerable.call(C,z[R])&&(w[z[R]]=C[z[R]])}return w},s.__decorate=function(C,_,w,z){var R,N=arguments.length,S=3>N?_:null===z?z=Object.getOwnPropertyDescriptor(_,w):z;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(C,_,w,z);else for(var E=C.length-1;E>=0;E--)(R=C[E])&&(S=(3>N?R(S):N>3?R(_,w,S):R(_,w))||S);return N>3&&S&&Object.defineProperty(_,w,S),S},s.__param=function(C,_){return function(w,z){_(w,z,C)}},s.__metadata=function(C,_){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(C,_)},s.__awaiter=function(C,_,w,z){return new(w||(w=Promise))(function(R,N){function S(H){try{O(z.next(H))}catch(U){N(U)}}function E(H){try{O(z.throw(H))}catch(U){N(U)}}function O(H){var U;H.done?R(H.value):(U=H.value,U instanceof w?U:new w(function(X){X(U)})).then(S,E)}O((z=z.apply(C,_||[])).next())})},s.__generator=function(C,_){var w,z,R,N,S={label:0,sent:function(){if(1&R[0])throw R[1];return R[1]},trys:[],ops:[]};return N={next:E(0),throw:E(1),return:E(2)},"function"==typeof Symbol&&(N[Symbol.iterator]=function(){return this}),N;function E(O){return function(H){return function(U){if(w)throw new TypeError("Generator is already executing.");for(;N&&(N=0,U[0]&&(S=0)),S;)try{if(w=1,z&&(R=2&U[0]?z.return:U[0]?z.throw||((R=z.return)&&R.call(z),0):z.next)&&!(R=R.call(z,U[1])).done)return R;switch(z=0,R&&(U=[2&U[0],R.value]),U[0]){case 0:case 1:R=U;break;case 4:return S.label++,{value:U[1],done:!1};case 5:S.label++,z=U[1],U=[0];continue;case 7:U=S.ops.pop(),S.trys.pop();continue;default:if(!((R=(R=S.trys).length>0&&R[R.length-1])||6!==U[0]&&2!==U[0])){S=0;continue}if(3===U[0]&&(!R||U[1]>R[0]&&R[3]>U[1])){S.label=U[1];break}if(6===U[0]&&R[1]>S.label){S.label=R[1],R=U;break}if(R&&R[2]>S.label){S.label=R[2],S.ops.push(U);break}R[2]&&S.ops.pop(),S.trys.pop();continue}U=_.call(C,S)}catch(X){U=[6,X],z=0}finally{w=R=0}if(5&U[0])throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}([O,H])}}},s.__createBinding=Object.create?function(C,_,w,z){void 0===z&&(z=w);var R=Object.getOwnPropertyDescriptor(_,w);R&&!("get"in R?!_.__esModule:R.writable||R.configurable)||(R={enumerable:!0,get:function(){return _[w]}}),Object.defineProperty(C,z,R)}:function(C,_,w,z){void 0===z&&(z=w),C[z]=_[w]},s.__exportStar=function(C,_){for(var w in C)"default"===w||Object.prototype.hasOwnProperty.call(_,w)||(0,s.__createBinding)(_,C,w)},s.__values=h,s.__read=v,s.__spread=function(){for(var C=[],_=0;arguments.length>_;_++)C=C.concat(v(arguments[_]));return C},s.__spreadArrays=function(){for(var C=0,_=0,w=arguments.length;w>_;_++)C+=arguments[_].length;var z=Array(C),R=0;for(_=0;w>_;_++)for(var N=arguments[_],S=0,E=N.length;E>S;S++,R++)z[R]=N[S];return z},s.__spreadArray=function(C,_,w){if(w||2===arguments.length)for(var z,R=0,N=_.length;N>R;R++)!z&&R in _||(z||(z=Array.prototype.slice.call(_,0,R)),z[R]=_[R]);return C.concat(z||Array.prototype.slice.call(_))},s.__await=y,s.__asyncGenerator=function(C,_,w){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,R=w.apply(C,_||[]),N=[];return z={},S("next"),S("throw"),S("return"),z[Symbol.asyncIterator]=function(){return this},z;function S(X){R[X]&&(z[X]=function(W){return new Promise(function(re,pe){N.push([X,W,re,pe])>1||E(X,W)})})}function E(X,W){try{(re=R[X](W)).value instanceof y?Promise.resolve(re.value.v).then(O,H):U(N[0][2],re)}catch(pe){U(N[0][3],pe)}var re}function O(X){E("next",X)}function H(X){E("throw",X)}function U(X,W){X(W),N.shift(),N.length&&E(N[0][0],N[0][1])}},s.__asyncDelegator=function(C){var _,w;return _={},z("next"),z("throw",function(R){throw R}),z("return"),_[Symbol.iterator]=function(){return this},_;function z(R,N){_[R]=C[R]?function(S){return(w=!w)?{value:y(C[R](S)),done:"return"===R}:N?N(S):S}:N}},s.__asyncValues=function(C){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _,w=C[Symbol.asyncIterator];return w?w.call(C):(C=h(C),_={},z("next"),z("throw"),z("return"),_[Symbol.asyncIterator]=function(){return this},_);function z(R){_[R]=C[R]&&function(N){return new Promise(function(S,E){var O,H,U,X;O=S,H=E,U=(N=C[R](N)).done,X=N.value,Promise.resolve(X).then(function(W){O({value:W,done:U})},H)})}}},s.__makeTemplateObject=function(C,_){return Object.defineProperty?Object.defineProperty(C,"raw",{value:_}):C.raw=_,C};var x=Object.create?function(C,_){Object.defineProperty(C,"default",{enumerable:!0,value:_})}:function(C,_){C.default=_};s.__importStar=function(C){if(C&&C.__esModule)return C;var _={};if(null!=C)for(var w in C)"default"!==w&&Object.prototype.hasOwnProperty.call(C,w)&&(0,s.__createBinding)(_,C,w);return x(_,C),_},s.__importDefault=function(C){return C&&C.__esModule?C:{default:C}},s.__classPrivateFieldGet=function(C,_,w,z){if("a"===w&&!z)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof _?C!==_||!z:!_.has(C))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===w?z:"a"===w?z.call(C):z?z.value:_.get(C)},s.__classPrivateFieldSet=function(C,_,w,z,R){if("m"===z)throw new TypeError("Private method is not writable");if("a"===z&&!R)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof _?C!==_||!R:!_.has(C))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===z?R.call(C,w):R?R.value=w:_.set(C,w),w},s.__classPrivateFieldIn=function(C,_){if(null===_||"object"!=typeof _&&"function"!=typeof _)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof C?_===C:C.has(_)}},93166:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Config=void 0;var h=o(86893),v=o(86893),y=function(){function x(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.editorCssClass=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=v.INSERT_AS_HTML,this.enter=h.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:h.PARAGRAPH,this.defaultMode=h.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(x,"defaultOptions",{get:function(){return x.__defaultOptions||(x.__defaultOptions=new x),x.__defaultOptions},enumerable:!1,configurable:!0}),x}();s.Config=y,y.prototype.controls={}},77536:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Async=void 0;var h=o(20255),v=o(4696),y=o(42096),x=o(79736),C=o(26335),_=o(24421),w=o(61817),z=(o(52378),function(){function R(){var N,S,E,O,H=this;this.timers=new Map,this.__callbacks=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(S=null===(N=window.requestIdleCallback)||void 0===N?void 0:N.bind(window))&&void 0!==S?S:function(U,X){var W,re=Date.now();return H.setTimeout(function(){U({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-re))}})},null!==(W=null==X?void 0:X.timeout)&&void 0!==W?W:1)},this.cancelIdleCallbackNative=null!==(O=null===(E=window.cancelIdleCallback)||void 0===E?void 0:E.bind(window))&&void 0!==O?O:function(U){H.clearTimeout(U)},this.isDestructed=!1}return R.prototype.delay=function(N){var S=this;return this.promise(function(E){return S.setTimeout(E,N)})},R.prototype.setTimeout=function(N,S){for(var E=[],O=2;arguments.length>O;O++)E[O-2]=arguments[O];if(this.isDestructed)return 0;var H={};(0,w.isNumber)(S)||(S=(H=S).timeout||0),H.label&&this.clearLabel(H.label);var U=v.setTimeout.apply(void 0,h.__spreadArray([N,S],h.__read(E),!1)),X=H.label||U;return this.timers.set(X,U),this.__callbacks.set(X,N),U},R.prototype.updateTimeout=function(N,S){if(!N||!this.timers.has(N))return null;var E=this.__callbacks.get(N);return this.setTimeout(E,{label:N,timeout:S})},R.prototype.clearLabel=function(N){N&&this.timers.has(N)&&((0,v.clearTimeout)(this.timers.get(N)),this.timers.delete(N),this.__callbacks.delete(N))},R.prototype.clearTimeout=function(N){if((0,_.isString)(N))return this.clearLabel(N);(0,v.clearTimeout)(N),this.timers.delete(N),this.__callbacks.delete(N)},R.prototype.debounce=function(N,S,E){var O=this;void 0===E&&(E=!1);var H=0,U=!1,X=[],W=function(){for(var pe=[],Ae=0;arguments.length>Ae;Ae++)pe[Ae]=arguments[Ae];if(!U){H=0;var Se=N.apply(void 0,h.__spreadArray([],h.__read(pe),!1));if(U=!0,X.length){var De=function(){X.forEach(function(qe){return qe()}),X.length=0};(0,C.isPromise)(Se)?Se.finally(De):De()}}},re=function(){for(var pe=[],Ae=0;arguments.length>Ae;Ae++)pe[Ae]=arguments[Ae];U=!1,S?(!H&&E&&W.apply(void 0,h.__spreadArray([],h.__read(pe),!1)),(0,v.clearTimeout)(H),H=O.setTimeout(function(){return W.apply(void 0,h.__spreadArray([],h.__read(pe),!1))},(0,y.isFunction)(S)?S():S),O.timers.set(N,H)):W.apply(void 0,h.__spreadArray([],h.__read(pe),!1))};return(0,x.isPlainObject)(S)&&S.promisify?function(){for(var pe=[],Ae=0;arguments.length>Ae;Ae++)pe[Ae]=arguments[Ae];var Se=O.promise(function(De){X.push(De)});return re.apply(void 0,h.__spreadArray([],h.__read(pe),!1)),Se}:re},R.prototype.throttle=function(N,S,E){var O=this;void 0===E&&(E=!1);var H,U,X,W=null;return function(){for(var re=[],pe=0;arguments.length>pe;pe++)re[pe]=arguments[pe];H=!0,X=re,S?W||(U=function(){H?(N.apply(void 0,h.__spreadArray([],h.__read(X),!1)),H=!1,W=O.setTimeout(U,(0,y.isFunction)(S)?S():S),O.timers.set(U,W)):W=null})():N.apply(void 0,h.__spreadArray([],h.__read(X),!1))}},R.prototype.promise=function(N){var S=this,E=function(){},O=new Promise(function(H,U){return S.promisesRejections.add(U),E=U,N(H,U)});return O.finally||(O.finally=function(H){return O.then(H).catch(H),O}),O.finally(function(){S.promisesRejections.delete(E)}).catch(function(){return null}),O.rejectCallback=E,O},R.prototype.promiseState=function(N){var S=this;if(N.status)return N.status;if(!Promise.race)return new Promise(function(O){N.then(function(H){return O("fulfilled"),H},function(H){throw O("rejected"),H}),S.setTimeout(function(){O("pending")},100)});var E={};return Promise.race([N,E]).then(function(O){return O===E?"pending":"fulfilled"},function(){return"rejected"})},R.prototype.requestIdleCallback=function(N,S){var E=this.requestIdleCallbackNative(N,S);return this.requestsIdle.add(E),E},R.prototype.requestIdlePromise=function(N){var S=this;return this.promise(function(E){var O=S.requestIdleCallback(function(){return E(O)},N)})},R.prototype.cancelIdleCallback=function(N){return this.requestsIdle.delete(N),this.cancelIdleCallbackNative(N)},R.prototype.requestAnimationFrame=function(N){var S=requestAnimationFrame(N);return this.requestsRaf.add(S),S},R.prototype.cancelAnimationFrame=function(N){this.requestsRaf.delete(N),cancelAnimationFrame(N)},R.prototype.clear=function(){var N=this;this.requestsIdle.forEach(function(S){return N.cancelIdleCallback(S)}),this.requestsRaf.forEach(function(S){return N.cancelAnimationFrame(S)}),this.timers.forEach(function(S){return(0,v.clearTimeout)(N.timers.get(S))}),this.timers.clear(),this.promisesRejections.forEach(function(S){return S()}),this.promisesRejections.clear()},R.prototype.destruct=function(){this.clear(),this.isDestructed=!0},R}());s.Async=z},22630:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(77536),s)},45113:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Component=void 0;var h=o(40332),v=o(17332),y=o(29411),x=o(22630),C=new Map,_=function(){function w(){this.async=new x.Async,this.ownerWindow=window,this.__componentStatus=y.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,v.uniqueUid)()}return Object.defineProperty(w.prototype,"componentName",{get:function(){return this.__componentName||(this.__componentName="jodit-"+(0,h.kebabCase)(((0,h.isFunction)(this.className)?this.className():"")||(0,h.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),w.prototype.getFullElName=function(z,R,N){var S=[this.componentName];return z&&(z=z.replace(/[^a-z0-9-]/gi,"-"),S.push("__".concat(z))),R&&(S.push("_",R),S.push("_",(0,h.isVoid)(N)?"true":N.toString())),S.join("")},Object.defineProperty(w.prototype,"ownerDocument",{get:function(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"od",{get:function(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"ow",{get:function(){return this.ownerWindow},enumerable:!1,configurable:!0}),w.prototype.get=function(z,R){return(0,h.get)(z,R||this)},Object.defineProperty(w.prototype,"isReady",{get:function(){return this.componentStatus===y.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isDestructed",{get:function(){return this.componentStatus===y.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(w.prototype,"isInDestruct",{get:function(){return y.STATUSES.beforeDestruct===this.componentStatus||y.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),w.prototype.bindDestruct=function(z){var R=this;return z.hookStatus(y.STATUSES.beforeDestruct,function(){return!R.isInDestruct&&R.destruct()}),this},w.prototype.destruct=function(){this.setStatus(y.STATUSES.destructed),this.async.destruct(),C.get(this)&&C.delete(this)},Object.defineProperty(w.prototype,"componentStatus",{get:function(){return this.__componentStatus},set:function(z){this.setStatus(z)},enumerable:!1,configurable:!0}),w.prototype.setStatus=function(z){return this.setStatusComponent(z,this)},w.prototype.setStatusComponent=function(z,R){if(z!==this.__componentStatus){R===this&&(this.__componentStatus=z);var N=Object.getPrototypeOf(this);N&&(0,h.isFunction)(N.setStatusComponent)&&N.setStatusComponent(z,R);var S=C.get(this),E=null==S?void 0:S[z];E&&E.length&&E.forEach(function(O){return O(R)})}},w.prototype.hookStatus=function(z,R){var N=C.get(this);N||C.set(this,N={}),N[z]||(N[z]=[]),N[z].push(R)},w.isInstanceOf=function(z,R){return z instanceof R},w.STATUSES=y.STATUSES,w}();s.Component=_},56562:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(29411),s),h.__exportStar(o(45113),s),h.__exportStar(o(39840),s)},29411:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.STATUSES=void 0,s.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},39840:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ViewComponent=void 0;var h=o(20255),v=function(y){function x(C){var _=y.call(this)||this;return _.setParentView(C),_}return h.__extends(x,y),Object.defineProperty(x.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(x.prototype,"defaultTimeout",{get:function(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),x.prototype.i18n=function(C){for(var _,w=[],z=1;arguments.length>z;z++)w[z-1]=arguments[z];return(_=this.j).i18n.apply(_,h.__spreadArray([C],h.__read(w),!1))},x.prototype.setParentView=function(C){return this.jodit=C,C.components.add(this),this},x.prototype.destruct=function(){return this.j.components.delete(this),y.prototype.destruct.call(this)},x}(o(45113).Component);s.ViewComponent=v},86893:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.CLIPBOARD_ID=s.lang=s.TEMP_ATTR=s.BASE_PATH=s.KEY_ALIASES=s.IS_MAC=s.SAFE_COUNT_CHANGE_CALL=s.INSERT_ONLY_TEXT=s.INSERT_AS_TEXT=s.INSERT_CLEAR_HTML=s.INSERT_AS_HTML=s.EMULATE_DBLCLICK_TIMEOUT=s.MARKER_CLASS=s.TEXT_RTF=s.TEXT_HTML=s.TEXT_PLAIN=s.IS_IE=s.MODE_SPLIT=s.MODE_SOURCE=s.MODE_WYSIWYG=s.PARAGRAPH=s.BR=s.COMMAND_KEYS=s.ACCURACY=s.NEARBY=s.KEY_F3=s.KEY_DELETE=s.KEY_SPACE=s.KEY_DOWN=s.KEY_RIGHT=s.KEY_UP=s.KEY_LEFT=s.KEY_ALT=s.KEY_ESC=s.KEY_ENTER=s.KEY_TAB=s.KEY_BACKSPACE=s.KEY_META=s.NO_EMPTY_TAGS=s.INSEPARABLE_TAGS=s.IS_INLINE=s.IS_BLOCK=s.SPACE_REG_EXP_END=s.SPACE_REG_EXP_START=s.SPACE_REG_EXP=s.INVISIBLE_SPACE_REG_EXP_START=s.INVISIBLE_SPACE_REG_EXP_END=s.INVISIBLE_SPACE_REG_EXP=s.NBSP_SPACE=s.INVISIBLE_SPACE=void 0,s.SOURCE_CONSUMER=void 0;var h=o(20255);s.INVISIBLE_SPACE="\ufeff",s.NBSP_SPACE="\xa0",s.INVISIBLE_SPACE_REG_EXP=function(){return/[\uFEFF]/g},s.INVISIBLE_SPACE_REG_EXP_END=function(){return/[\uFEFF]+$/g},s.INVISIBLE_SPACE_REG_EXP_START=function(){return/^[\uFEFF]+/g},s.SPACE_REG_EXP=function(){return/[\s\n\t\r\uFEFF\u200b]+/g},s.SPACE_REG_EXP_START=function(){return/^[\s\n\t\r\uFEFF\u200b]+/g},s.SPACE_REG_EXP_END=function(){return/[\s\n\t\r\uFEFF\u200b]+$/g},s.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,s.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i;var v=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"];s.INSEPARABLE_TAGS=new Set(h.__spreadArray(h.__spreadArray([],h.__read(v),!1),["br","hr"],!1)),s.NO_EMPTY_TAGS=new Set(v),s.KEY_META="Meta",s.KEY_BACKSPACE="Backspace",s.KEY_TAB="Tab",s.KEY_ENTER="Enter",s.KEY_ESC="Escape",s.KEY_ALT="Alt",s.KEY_LEFT="ArrowLeft",s.KEY_UP="ArrowUp",s.KEY_RIGHT="ArrowRight",s.KEY_DOWN="ArrowDown",s.KEY_SPACE="Space",s.KEY_DELETE="Delete",s.KEY_F3="F3",s.NEARBY=5,s.ACCURACY=10,s.COMMAND_KEYS=[s.KEY_META,s.KEY_BACKSPACE,s.KEY_DELETE,s.KEY_UP,s.KEY_DOWN,s.KEY_RIGHT,s.KEY_LEFT,s.KEY_ENTER,s.KEY_ESC,s.KEY_F3,s.KEY_TAB],s.BR="br",s.PARAGRAPH="p",s.MODE_WYSIWYG=1,s.MODE_SOURCE=2,s.MODE_SPLIT=3,s.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),s.TEXT_PLAIN=s.IS_IE?"text":"text/plain",s.TEXT_HTML=s.IS_IE?"html":"text/html",s.TEXT_RTF=s.IS_IE?"rtf":"text/rtf",s.MARKER_CLASS="jodit-selection_marker",s.EMULATE_DBLCLICK_TIMEOUT=300,s.INSERT_AS_HTML="insert_as_html",s.INSERT_CLEAR_HTML="insert_clear_html",s.INSERT_AS_TEXT="insert_as_text",s.INSERT_ONLY_TEXT="insert_only_text",s.SAFE_COUNT_CHANGE_CALL=10,s.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),s.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:s.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},s.BASE_PATH=function(){if("undefined"==typeof document)return"";var y=document.currentScript,x=function(_){var w=_.split("/");return/\.js/.test(w[w.length-1])?w.slice(0,w.length-1).join("/")+"/":_};if(y)return x(y.src);var C=document.querySelectorAll("script[src]");return C&&C.length?x(C[C.length-1].src):window.location.href}(),s.TEMP_ATTR="data-jodit-temp",s.lang={},s.CLIPBOARD_ID="clipboard",s.SOURCE_CONSUMER="source-consumer"},31897:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Create=void 0;var h=o(40332),v=(o(52378),o(64968)),y=o(86893),x=function(){function C(_,w){this.document=_,this.createAttributes=w}return Object.defineProperty(C.prototype,"doc",{get:function(){return(0,h.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),C.prototype.element=function(_,w,z){var R=this,N=this.doc.createElement(_.toLowerCase());return this.applyCreateAttributes(N),w&&((0,h.isPlainObject)(w)?(0,h.attr)(N,w):z=w),z&&(0,h.asArray)(z).forEach(function(S){return N.appendChild((0,h.isString)(S)?R.fromHTML(S):S)}),N},C.prototype.div=function(_,w,z){var R=this.element("div",w,z);return _&&(R.className=_),R},C.prototype.sandbox=function(){var _,w=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(w);var z=null===(_=w.contentWindow)||void 0===_?void 0:_.document;if(!z)throw Error("Iframe error");return z.open(),z.write("<!DOCTYPE html><html><head></head><body></body></html>"),z.close(),z.body},C.prototype.span=function(_,w,z){var R=this.element("span",w,z);return _&&(R.className=_),R},C.prototype.a=function(_,w,z){var R=this.element("a",w,z);return _&&(R.className=_),R},C.prototype.text=function(_){return this.doc.createTextNode(_)},C.prototype.fake=function(){return this.text(y.INVISIBLE_SPACE)},C.prototype.fragment=function(){return this.doc.createDocumentFragment()},C.prototype.fromHTML=function(_,w){var z=this.div();z.innerHTML=_.toString();var R=z.firstChild===z.lastChild&&z.firstChild?z.firstChild:z;if(v.Dom.safeRemove(R),w){var N=(0,h.refs)(R);Object.keys(w).forEach(function(S){var E=N[S];E&&!1===w[S]&&v.Dom.hide(E)})}return R},C.prototype.applyCreateAttributes=function(_){if(this.createAttributes){var w=this.createAttributes;if(w&&w[_.tagName.toLowerCase()]){var z=w[_.tagName.toLowerCase()];(0,h.isFunction)(z)?z(_):(0,h.isPlainObject)(z)&&(0,h.attr)(_,z)}}},C}();s.Create=x},42841:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(31897),s)},32358:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.cache=void 0;var h=o(40332);s.cache=function(v,y,x){var C=x.get;if(!C)throw(0,h.error)("Getter property descriptor expected");x.get=function(){var _=C.call(this);return _&&!0===_.noCache||Object.defineProperty(this,y,{configurable:x.configurable,enumerable:x.enumerable,writable:!1,value:_}),_}}},11441:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.component=void 0;var h=o(20255);s.component=function(v){var y=function(x){function C(){for(var _=[],w=0;arguments.length>w;w++)_[w]=arguments[w];var z=x.apply(this,h.__spreadArray([],h.__read(_),!1))||this;return z.constructor===C&&(z instanceof C||Object.setPrototypeOf(z,C.prototype),z.setStatus("ready")),z}return h.__extends(C,x),C}(v);return y}},55773:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.throttle=s.debounce=void 0;var h=o(10172),v=o(56562),y=o(56964);function x(C,_,w){return void 0===_&&(_=!1),void 0===w&&(w="debounce"),function(z,R){var N=z[R];if(!(0,h.isFunction)(N))throw(0,y.error)("Handler must be a Function");return z.hookStatus(v.STATUSES.ready,function(S){var E=S.async,O=(0,h.isFunction)(C)?C(S):C;Object.defineProperty(S,R,{configurable:!0,value:E[w](S[R].bind(S),(0,h.isNumber)(O)||(0,h.isPlainObject)(O)?O:S.defaultTimeout,_)})}),{configurable:!0,get:function(){return N.bind(this)}}}}o(52378),s.debounce=x,s.throttle=function(C,_){return void 0===_&&(_=!1),x(C,_,"throttle")}},70669:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.derive=void 0;var h=o(20255),v=o(10172);s.derive=function(){for(var y=[],x=0;arguments.length>x;x++)y[x]=arguments[x];return function(C){for(var _=C.prototype,w=0;y.length>w;w++)for(var z=y[w],R=Object.getOwnPropertyNames(z.prototype),N=function(E){var O=R[E],H=Object.getOwnPropertyDescriptor(z.prototype,O);null!=H&&(0,v.isFunction)(H.value)&&!(0,v.isFunction)(_[O])&&Object.defineProperty(_,O,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var U,X=[],W=0;arguments.length>W;W++)X[W]=arguments[W];return(U=H.value).call.apply(U,h.__spreadArray([this],h.__read(X),!1))}})},S=0;R.length>S;S++)N(S)}}},64522:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hook=void 0;var h=o(10172),v=o(56964);s.hook=function(y){return function(x,C){if(!(0,h.isFunction)(x[C]))throw(0,v.error)("Handler must be a Function");x.hookStatus(y,function(_){_[C].call(_)})}}},58682:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.idle=void 0;var h=o(20255),v=o(56562),y=o(40332);s.idle=function(){return function(x,C){if(!(0,y.isFunction)(x[C]))throw(0,y.error)("Handler must be a Function");x.hookStatus(v.STATUSES.ready,function(_){var w=_.async,z=_[C];_[C]=function(){for(var R=[],N=0;arguments.length>N;N++)R[N]=arguments[N];return w.requestIdleCallback(z.bind.apply(z,h.__spreadArray([_],h.__read(R),!1)))}})}}},43441:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.autobind=void 0;var h=o(20255);h.__exportStar(o(32358),s),h.__exportStar(o(11441),s),h.__exportStar(o(55773),s),h.__exportStar(o(58682),s),h.__exportStar(o(64522),s),h.__exportStar(o(91627),s),h.__exportStar(o(31418),s),h.__exportStar(o(67587),s),h.__exportStar(o(46163),s),h.__exportStar(o(70669),s);var v=o(70631);Object.defineProperty(s,"autobind",{enumerable:!0,get:function(){return v.default}})},91627:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.nonenumerable=void 0,s.nonenumerable=function(o,h){!1!==(Object.getOwnPropertyDescriptor(o,h)||{}).enumerable&&Object.defineProperty(o,h,{enumerable:!1,set:function(v){Object.defineProperty(this,h,{enumerable:!1,writable:!0,value:v})}})}},31418:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.persistent=void 0;var h=o(56562),v=o(96574);s.persistent=function(y,x){y.hookStatus(h.STATUSES.ready,function(C){var _=(0,v.isViewObject)(C)?C:C.jodit,w="".concat(_.options.namespace).concat(C.componentName,"_prop_").concat(x),z=C[x];Object.defineProperty(C,x,{get:function(){var R;return null!==(R=_.storage.get(w))&&void 0!==R?R:z},set:function(R){_.storage.set(w,R)}})})}},67587:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.wait=void 0;var h=o(20255),v=o(40332),y=o(56562);s.wait=function(x){return function(C,_){if(!(0,v.isFunction)(C[_]))throw(0,v.error)("Handler must be a Function");C.hookStatus(y.STATUSES.ready,function(w){var z=w.async,R=w[_],N=0;Object.defineProperty(w,_,{configurable:!0,value:function S(){for(var E=[],O=0;arguments.length>O;O++)E[O]=arguments[O];z.clearTimeout(N),x(w)?R.apply(w,E):N=z.setTimeout(function(){return S.apply(void 0,h.__spreadArray([],h.__read(E),!1))},10)}})})}}},46163:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.watch=s.getPropertyDescriptor=void 0;var h=o(20255),v=o(42096),y=o(79736),x=o(96574),C=o(88418),_=o(29411),w=o(14556),z=o(56964);function R(S,E){var O;do{O=Object.getOwnPropertyDescriptor(S,E),S=Object.getPrototypeOf(S)}while(!O&&S);return O}function N(S,E){return function(O,H){if(!(0,v.isFunction)(O[H]))throw(0,z.error)("Handler must be a Function");var U=function(X){var W=function(re){for(var pe,Ae=[],Se=1;arguments.length>Se;Se++)Ae[Se-1]=arguments[Se];if(!X.isInDestruct)return(pe=X)[H].apply(pe,h.__spreadArray([re],h.__read(Ae),!1))};(0,w.splitArray)(S).forEach(function(re){if(/:/.test(re)){var pe=h.__read(re.split(":"),2),Ae=pe[0],Se=pe[1],De=E,qe=(0,x.isViewObject)(X)?X:X.jodit;return Ae.length&&(De=X.get(Ae)),(0,v.isFunction)(De)&&(De=De(X)),qe.events.on(De||X,Se,W),De||qe.events.on(Se,W),void X.hookStatus("beforeDestruct",function(){qe.events.off(De||X,Se,W).off(Se,W)})}var rt=re.split("."),ot=h.__read(rt,1)[0],vt=rt.slice(1),rn=X[ot];(0,y.isPlainObject)(rn)&&(0,C.observable)(rn).on("change.".concat(vt.join(".")),W);var Xt=R(O,ot);Object.defineProperty(X,ot,{configurable:!0,set:function(fn){var _n=rn;_n!==fn&&(rn=fn,Xt&&Xt.set&&Xt.set.call(X,fn),(0,y.isPlainObject)(rn)&&(rn=(0,C.observable)(rn)).on("change.".concat(vt.join(".")),W),W(ot,_n,rn))},get:function(){return Xt&&Xt.get?Xt.get.call(X):rn}})})};(0,v.isFunction)(O.hookStatus)?O.hookStatus(_.STATUSES.ready,U):U(O)}}s.getPropertyDescriptor=R,s.watch=N,s.default=N},24263:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Dom=void 0;var h=o(20255),v=o(86893),y=o(10172),x=o(12557),C=o(19035),_=o(76502),w=o(37204),z=o(86893),R=function(){function N(){}return N.detach=function(S){for(;S.firstChild;)S.removeChild(S.firstChild)},N.wrapInline=function(S,E,O){var H,U=S,X=S;O.s.save();var W=!1;do{W=!1,(H=U.previousSibling)&&!N.isBlock(H)&&(W=!0,U=H)}while(W);do{W=!1,(H=X.nextSibling)&&!N.isBlock(H)&&(W=!0,X=H)}while(W);var re=(0,y.isString)(E)?O.createInside.element(E):E;U.parentNode&&U.parentNode.insertBefore(re,U);for(var pe=U;pe&&(pe=U.nextSibling,re.appendChild(U),U!==X&&pe);)U=pe;return O.s.restore(),re},N.wrap=function(S,E,O){var H=(0,y.isString)(E)?O.element(E):E;if(N.isNode(S)){if(!S.parentNode)throw(0,_.error)("Element should be in DOM");S.parentNode.insertBefore(H,S),H.appendChild(S)}else{var U=S.extractContents();S.insertNode(H),H.appendChild(U)}return H},N.unwrap=function(S){var E=S.parentNode;if(E){for(;S.firstChild;)E.insertBefore(S.firstChild,S);N.safeRemove(S)}},N.between=function(S,E,O){for(var H=S;H&&H!==E&&(S===H||!O(H));){var U=H.firstChild||H.nextSibling;if(!U){for(;H&&!H.nextSibling;)H=H.parentNode;U=null==H?void 0:H.nextSibling}H=U}},N.replace=function(S,E,O,H,U){void 0===H&&(H=!1),void 0===U&&(U=!1),(0,y.isHTML)(E)&&(E=O.fromHTML(E));var X=(0,y.isString)(E)?O.element(E):E;if(!U)for(;S.firstChild;)X.appendChild(S.firstChild);return H&&N.isElement(S)&&N.isElement(X)&&(0,x.toArray)(S.attributes).forEach(function(W){X.setAttribute(W.name,W.value)}),S.parentNode&&S.parentNode.replaceChild(X,S),X},N.isEmptyTextNode=function(S){return N.isText(S)&&(!S.nodeValue||0===S.nodeValue.replace(v.INVISIBLE_SPACE_REG_EXP(),"").trim().length)},N.isEmptyContent=function(S){return N.each(S,function(E){return N.isEmptyTextNode(E)})},N.isContentEditable=function(S,E){return N.isNode(S)&&!N.closest(S,function(O){return N.isElement(O)&&"false"===O.getAttribute("contenteditable")},E)},N.isEmpty=function(S,E){if(void 0===E&&(E=z.NO_EMPTY_TAGS),!S)return!0;var O;O=(0,y.isFunction)(E)?E:function(U){return E.has(U.nodeName.toLowerCase())};var H=function(U){return null==U.nodeValue||0===(0,C.trim)(U.nodeValue).length};return N.isText(S)?H(S):!(N.isElement(S)&&O(S))&&N.each(S,function(U){if(N.isText(U)&&!H(U)||N.isElement(U)&&O(U))return!1})},N.isNode=function(S){return Boolean(S&&(0,y.isString)(S.nodeName)&&"number"==typeof S.nodeType&&S.childNodes&&(0,y.isFunction)(S.appendChild))},N.isCell=function(S){return N.isNode(S)&&/^(td|th)$/i.test(S.nodeName)},N.isImage=function(S){return N.isNode(S)&&/^(img|svg|picture|canvas)$/i.test(S.nodeName)},N.isBlock=function(S){return!(0,y.isVoid)(S)&&"object"==typeof S&&N.isNode(S)&&v.IS_BLOCK.test(S.nodeName)},N.isText=function(S){return Boolean(S&&S.nodeType===Node.TEXT_NODE)},N.isElement=function(S){var E;if(!N.isNode(S))return!1;var O=null===(E=S.ownerDocument)||void 0===E?void 0:E.defaultView;return Boolean(O&&S.nodeType===Node.ELEMENT_NODE)},N.isFragment=function(S){var E;if(!N.isNode(S))return!1;var O=null===(E=S.ownerDocument)||void 0===E?void 0:E.defaultView;return Boolean(O&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE)},N.isHTMLElement=function(S){var E;if(!N.isNode(S))return!1;var O=null===(E=S.ownerDocument)||void 0===E?void 0:E.defaultView;return Boolean(O&&S instanceof O.HTMLElement)},N.isInlineBlock=function(S){return N.isElement(S)&&!/^(BR|HR)$/i.test(S.tagName)&&-1!==["inline","inline-block"].indexOf((0,_.css)(S,"display").toString())},N.canSplitBlock=function(S){return!(0,y.isVoid)(S)&&N.isHTMLElement(S)&&N.isBlock(S)&&!/^(TD|TH|CAPTION|FORM)$/.test(S.nodeName)&&void 0!==S.style&&!/^(fixed|absolute)/i.test(S.style.position)},N.last=function(S,E){var O=null==S?void 0:S.lastChild;if(!O)return null;do{if(E(O))return O;var H=O.lastChild;if(H||(H=O.previousSibling),!H&&O.parentNode!==S){do{O=O.parentNode}while(O&&!(null==O?void 0:O.previousSibling)&&O.parentNode!==S);H=null==O?void 0:O.previousSibling}O=H}while(O);return null},N.prev=function(S,E,O,H){return void 0===H&&(H=!0),N.find(S,E,O,!1,H)},N.next=function(S,E,O,H){return void 0===H&&(H=!0),N.find(S,E,O,!0,H)},N.prevWithClass=function(S,E){return N.prev(S,function(O){return N.isElement(O)&&O.classList.contains(E)},S.parentNode)},N.nextWithClass=function(S,E){return N.next(S,function(O){return N.isElement(O)&&O.classList.contains(E)},S.parentNode)},N.find=function(S,E,O,H,U){void 0===H&&(H=!0),void 0===U&&(U=!0);for(var X=this.nextGen(S,O,H,U),W=X.next();!W.done;){if(E(W.value))return W.value;W=X.next()}return null},N.nextGen=function(S,E,O,H){var U,X,W;return void 0===O&&(O=!0),void 0===H&&(H=!0),h.__generator(this,function(re){switch(re.label){case 0:U=[],X=S,re.label=1;case 1:for(W=O?X.nextSibling:X.previousSibling;W;)U.unshift(W),W=O?W.nextSibling:W.previousSibling;return[5,h.__values(this.runInStack(S,U,O,H))];case 2:re.sent(),X=X.parentNode,re.label=3;case 3:if(X&&X!==E)return[3,1];re.label=4;case 4:return[2,null]}})},N.each=function(S,E,O){void 0===O&&(O=!0);for(var H=this.eachGen(S,O),U=H.next();!U.done;){if(!1===E(U.value))return!1;U=H.next()}return!0},N.eachGen=function(S,E){return void 0===E&&(E=!0),this.runInStack(S,[S],E)},N.runInStack=function(S,E,O,H){var U,X;return void 0===H&&(H=!0),h.__generator(this,function(W){switch(W.label){case 0:if(!E.length)return[3,3];if(U=E.pop(),H)for(X=O?U.lastChild:U.firstChild;X;)E.push(X),X=O?X.previousSibling:X.nextSibling;return S===U?[3,2]:[4,U];case 1:W.sent(),W.label=2;case 2:return[3,0];case 3:return[2]}})},N.findWithCurrent=function(S,E,O,H,U){void 0===H&&(H="nextSibling"),void 0===U&&(U="firstChild");var X=S;do{if(E(X))return X||null;if(U&&X&&X[U]){var W=N.findWithCurrent(X[U],E,X,H,U);if(W)return W}for(;X&&!X[H]&&X!==O;)X=X.parentNode;X&&X[H]&&X!==O&&(X=X[H])}while(X&&X!==O);return null},N.findSibling=function(S,E,O){void 0===E&&(E=!0),void 0===O&&(O=function(U){return!N.isEmptyTextNode(U)});for(var H=N.sibling(S,E);H&&!O(H);)H=N.sibling(H,E);return H&&O(H)?H:null},N.findNotEmptySibling=function(S,E){return N.findSibling(S,E,function(O){var H;return!N.isEmptyTextNode(O)&&Boolean(!N.isText(O)||(null===(H=O.nodeValue)||void 0===H?void 0:H.length)&&(0,C.trim)(O.nodeValue))})},N.findNotEmptyNeighbor=function(S,E,O){return(0,_.call)(E?N.prev:N.next,S,function(H){return Boolean(H&&(!N.isText(H)||(0,C.trim)((null==H?void 0:H.nodeValue)||"").length))},O)},N.sibling=function(S,E){return E?S.previousSibling:S.nextSibling},N.up=function(S,E,O,H){void 0===H&&(H=!1);var U=S;if(!U)return null;do{if(E(U))return U;if(U===O||!U.parentNode)break;U=U.parentNode}while(U&&U!==O);return U===O&&H&&E(U)?U:null},N.closest=function(S,E,O){var H,U=function(W){return W.toLowerCase()};if((0,y.isFunction)(E))H=E;else if((0,y.isArray)(E)){var X=new Set(E.map(U));H=function(W){return Boolean(W&&X.has(U(W.nodeName)))}}else H=function(W){return Boolean(W&&U(E)===U(W.nodeName))};return N.up(S,H,O)},N.furthest=function(S,E,O){for(var H=null,U=null==S?void 0:S.parentElement;U&&U!==O;)E(U)&&(H=U),U=null==U?void 0:U.parentElement;return H},N.appendChildFirst=function(S,E){var O=S.firstChild;O?O!==E&&S.insertBefore(E,O):S.appendChild(E)},N.after=function(S,E){var O=S.parentNode;O&&(O.lastChild===S?O.appendChild(E):O.insertBefore(E,S.nextSibling))},N.before=function(S,E){var O=S.parentNode;O&&O.insertBefore(E,S)},N.prepend=function(S,E){S.insertBefore(E,S.firstChild)},N.append=function(S,E){var O=this;(0,y.isArray)(E)?E.forEach(function(H){O.append(S,H)}):S.appendChild(E)},N.moveContent=function(S,E,O,H){void 0===O&&(O=!1),void 0===H&&(H=function(){return!0});var U=(S.ownerDocument||document).createDocumentFragment();(0,x.toArray)(S.childNodes).filter(function(X){return!!H(X)||(N.safeRemove(X),!1)}).forEach(function(X){U.appendChild(X)}),O&&E.firstChild?E.insertBefore(U,E.firstChild):E.appendChild(U)},N.isOrContains=function(S,E,O){return void 0===O&&(O=!1),S===E?!O:Boolean(E&&S&&this.up(E,function(H){return H===S},S,!0))},N.safeRemove=function(){for(var S=[],E=0;arguments.length>E;E++)S[E]=arguments[E];S.forEach(function(O){return N.isNode(O)&&O.parentNode&&O.parentNode.removeChild(O)})},N.safeInsertNode=function(S,E){S.collapsed||S.deleteContents(),S.insertNode(E),[E.nextSibling,E.previousSibling].forEach(function(O){return N.isText(O)&&!O.nodeValue&&N.safeRemove(O)})},N.hide=function(S){S&&((0,_.dataBind)(S,"__old_display",S.style.display),S.style.display="none")},N.show=function(S){if(S){var E=(0,_.dataBind)(S,"__old_display");"none"===S.style.display&&(S.style.display=E||"")}},N.isTag=function(S,E){if(!this.isElement(S))return!1;var O=S.tagName.toLowerCase(),H=S.tagName.toUpperCase();if(E instanceof Set)return E.has(O)||E.has(H);for(var U=(0,x.asArray)(E).map(function(W){return String(W).toLowerCase()}),X=0;U.length>X;X+=1)if(O===U[X]||H===U[X])return!0;return!1},N.markTemporary=function(S,E){return E&&(0,_.attr)(S,E),(0,_.attr)(S,z.TEMP_ATTR,!0),S},N.isTemporary=function(S){return!!N.isElement(S)&&((0,w.isMarker)(S)||"true"===(0,_.attr)(S,z.TEMP_ATTR))},N.replaceTemporaryFromString=function(S){return S.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")},N.temporaryList=function(S){return(0,_.$$)("[".concat(z.TEMP_ATTR,"]"),S)},N}();s.Dom=R},64968:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(24263),s),h.__exportStar(o(33841),s)},33841:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.LazyWalker=void 0;var h=o(20255),v=o(73852),y=o(43441),x=o(24263),C=function(_){function w(z,R){void 0===R&&(R={});var N=_.call(this)||this;return N.async=z,N.options=R,N.workNodes=null,N.hadAffect=!1,N.isWorked=!1,N.isFinished=!1,N.idleId=0,N}return h.__extends(w,_),w.prototype.setWork=function(z){return this.isWorked&&this.break(),this.workNodes=x.Dom.eachGen(z,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},w.prototype.startIdleRequest=function(){var z;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(z=this.options.timeout)&&void 0!==z?z:10})},w.prototype.break=function(z){this.isWorked&&(this.stop(),this.emit("break",z))},w.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},w.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},w.prototype.destruct=function(){_.prototype.destruct.call(this),this.stop()},w.prototype.workPerform=function(z){var R;if(this.workNodes){this.isWorked=!0;for(var N=0,S=null!==(R=this.options.timeoutChunkSize)&&void 0!==R?R:50;!this.isFinished&&(z.timeRemaining()>0||z.didTimeout&&S>=N);){var E=this.workNodes.next();if(N+=1,this.visitNode(E.value)&&(this.hadAffect=!0),E.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},w.prototype.visitNode=function(z){var R;return!(!z||void 0!==this.options.whatToShow&&z.nodeType!==this.options.whatToShow)&&null!==(R=this.emit("visit",z))&&void 0!==R&&R},h.__decorate([y.autobind],w.prototype,"workPerform",null),w}(v.Eventify);s.LazyWalker=C},3808:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.EventEmitter=void 0;var h=o(20255),v=o(83611),y=o(24421),x=o(42096),C=o(49781),_=o(56964),w=o(14556),z=function(){function R(N){var S=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=function(E){E.cancelBubble||(E.composed&&(0,x.isFunction)(E.composedPath)&&E.composedPath()[0]&&Object.defineProperty(E,"target",{value:E.composedPath()[0],configurable:!0,enumerable:!0}),E.type.match(/^touch/)&&E.changedTouches&&E.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(O){Object.defineProperty(E,O,{value:E.changedTouches[0][O],configurable:!0,enumerable:!0})}),E.originalEvent||(E.originalEvent=E),"paste"===E.type&&void 0===E.clipboardData&&S.__doc.defaultView.clipboardData&&Object.defineProperty(E,"clipboardData",{get:function(){return S.__doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,N&&(this.__doc=N),this.__key+=(new Date).getTime()}return R.prototype.mute=function(N){return this.__mutedEvents.add(null!=N?N:"*"),this},R.prototype.isMuted=function(N){return!(!N||!this.__mutedEvents.has(N))||this.__mutedEvents.has("*")},R.prototype.unmute=function(N){return this.__mutedEvents.delete(null!=N?N:"*"),this},R.prototype.__eachEvent=function(N,S){var E=this;(0,w.splitArray)(N).map(function(O){return O.trim()}).forEach(function(O){var H=O.split(".");S.call(E,H[0],H[1]||v.defaultNameSpace)})},R.prototype.__getStore=function(N){if(!N)throw(0,_.error)("Need subject");if(void 0===N[this.__key]){var S=new v.EventHandlersStore;Object.defineProperty(N,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:S})}return N[this.__key]},R.prototype.__removeStoreFromSubject=function(N){void 0!==N[this.__key]&&Object.defineProperty(N,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},R.prototype.__triggerNativeEvent=function(N,S){var E=this.__doc.createEvent("HTMLEvents");(0,y.isString)(S)?E.initEvent(S,!0,!0):(E.initEvent(S.type,S.bubbles,S.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(function(O){Object.defineProperty(E,O,{value:S[O],enumerable:!0})}),Object.defineProperty(E,"originalEvent",{value:S,enumerable:!0})),N.dispatchEvent(E)},Object.defineProperty(R.prototype,"current",{get:function(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),R.prototype.on=function(N,S,E,O){var H,U,X,W,re=this;if((0,y.isString)(N)||(0,y.isStringArray)(N)?(H=this,U=N,X=S,W=E):(H=N,U=S,X=E,W=O),!(0,y.isString)(U)&&!(0,y.isStringArray)(U)||0===U.length)throw(0,_.error)("Need events names");if(!(0,x.isFunction)(X))throw(0,_.error)("Need event handler");if((0,C.isArray)(H))return H.forEach(function(rt){re.on(rt,U,X,W)}),this;var pe=H,Ae=this.__getStore(pe),Se=(0,x.isFunction)(pe.addEventListener),De=this,qe=function(rt){for(var ot=[],vt=1;arguments.length>vt;vt++)ot[vt-1]=arguments[vt];if(!De.isMuted(rt))return X&&X.call.apply(X,h.__spreadArray([this],h.__read(ot),!1))};return Se&&(qe=function(rt){if(!De.isMuted(rt.type))return De.__prepareEvent(rt),X&&!1===X.call(this,rt)?(rt.preventDefault(),rt.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(U,function(rt,ot){if(0===rt.length)throw(0,_.error)("Need event name");if(!1===Ae.indexOf(rt,ot,X)&&(Ae.set(rt,ot,{event:rt,originalCallback:X,syntheticCallback:qe},null==W?void 0:W.top),Se)){var vt=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(rt)&&{passive:!0};pe.addEventListener(rt,qe,vt)}}),this},R.prototype.one=function(N,S,E,O){var H,U,X,W,re=this;(0,y.isString)(N)||(0,y.isStringArray)(N)?(H=this,U=N,X=S,W=E):(H=N,U=S,X=E,W=O);var pe=function(){for(var Ae=[],Se=0;arguments.length>Se;Se++)Ae[Se]=arguments[Se];return re.off(H,U,pe),X.apply(void 0,h.__spreadArray([],h.__read(Ae),!1))};return this.on(H,U,pe,W),this},R.prototype.off=function(N,S,E){var O,H,U,X=this;if((0,y.isString)(N)||(0,y.isStringArray)(N)?(O=this,H=N,U=S):(O=N,H=S,U=E),(0,C.isArray)(O))return O.forEach(function(De){X.off(De,H,U)}),this;var W=O,re=this.__getStore(W);if(!(0,y.isString)(H)&&!(0,y.isStringArray)(H)||0===H.length)return re.namespaces().forEach(function(De){X.off(W,"."+De)}),this.__removeStoreFromSubject(W),this;var pe=(0,x.isFunction)(W.removeEventListener),Ae=function(De){pe&&W.removeEventListener(De.event,De.syntheticCallback,!1)},Se=function(De,qe){if(""!==De){var rt=re.get(De,qe);if(rt&&rt.length)if((0,x.isFunction)(U)){var ot=re.indexOf(De,qe,U);!1!==ot&&(Ae(rt[ot]),rt.splice(ot,1),rt.length||re.clearEvents(qe,De))}else rt.forEach(Ae),rt.length=0,re.clearEvents(qe,De)}else re.events(qe).forEach(function(vt){""!==vt&&Se(vt,qe)})};return this.__eachEvent(H,function(De,qe){qe===v.defaultNameSpace?re.namespaces().forEach(function(rt){Se(De,rt)}):Se(De,qe)}),re.isEmpty()&&this.__removeStoreFromSubject(W),this},R.prototype.stopPropagation=function(N,S){var E=this,O=(0,y.isString)(N)?this:N,H=(0,y.isString)(N)?N:S;if("string"!=typeof H)throw(0,_.error)("Need event names");var U=this.__getStore(O);this.__eachEvent(H,function(X,W){var re=U.get(X,W);re&&E.__stopped.push(re),W===v.defaultNameSpace&&U.namespaces(!0).forEach(function(pe){return E.stopPropagation(O,X+"."+pe)})})},R.prototype.__removeStop=function(N){if(N){var S=this.__stopped.indexOf(N);-1!==S&&this.__stopped.splice(0,S+1)}},R.prototype.__isStopped=function(N){return void 0!==N&&-1!==this.__stopped.indexOf(N)},R.prototype.fire=function(N,S){for(var E,O,H=this,U=[],X=2;arguments.length>X;X++)U[X-2]=arguments[X];var W=(0,y.isString)(N)?this:N,re=(0,y.isString)(N)?N:S,pe=(0,y.isString)(N)?h.__spreadArray([S],h.__read(U),!1):U,Ae=(0,x.isFunction)(W.dispatchEvent);if(!Ae&&!(0,y.isString)(re))throw(0,_.error)("Need events names");var Se=this.__getStore(W);return!(0,y.isString)(re)&&Ae?this.__triggerNativeEvent(W,S):this.__eachEvent(re,function(De,qe){if(Ae)H.__triggerNativeEvent(W,De);else{var rt=Se.get(De,qe);if(rt)try{h.__spreadArray([],h.__read(rt),!1).every(function(ot){var vt;return!H.__isStopped(rt)&&(H.currents.push(De),O=(vt=ot.syntheticCallback).call.apply(vt,h.__spreadArray([W,De],h.__read(pe),!1)),H.currents.pop(),void 0!==O&&(E=O),!0)})}finally{H.__removeStop(rt)}qe!==v.defaultNameSpace||Ae||Se.namespaces().filter(function(ot){return ot!==qe}).forEach(function(ot){var vt=H.fire.apply(H,h.__spreadArray([W,De+"."+ot],h.__read(pe),!1));void 0!==vt&&(E=vt)})}}),E},R.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},R}();s.EventEmitter=z},73852:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Eventify=void 0;var h=o(20255),v=function(){function y(){this.__map=new Map}return y.prototype.on=function(x,C){var _;return this.__map.has(x)||this.__map.set(x,new Set),null===(_=this.__map.get(x))||void 0===_||_.add(C),this},y.prototype.off=function(x,C){var _;return this.__map.has(x)&&(null===(_=this.__map.get(x))||void 0===_||_.delete(C)),this},y.prototype.destruct=function(){this.__map.clear()},y.prototype.emit=function(x){for(var C,_,w=[],z=1;arguments.length>z;z++)w[z-1]=arguments[z];return this.__map.has(x)&&(null===(C=this.__map.get(x))||void 0===C||C.forEach(function(R){_=R.apply(void 0,h.__spreadArray([],h.__read(w),!1))})),_},y}();s.Eventify=v},55395:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(3808),s),h.__exportStar(o(73852),s),h.__exportStar(o(88418),s),h.__exportStar(o(83611),s)},88418:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.observable=void 0;var h=o(20255),v=o(49781),y=o(32756),x=o(79736),C=o(46163),_=Symbol("observable-object");function w(z){return void 0!==z[_]}s.observable=function(z){if(w(z))return z;var R={},N={},S=function(H,U){return(0,v.isArray)(H)?(H.map(function(X){return S(X,U)}),z):(N[H]||(N[H]=[]),N[H].push(U),z)},E=function(H){for(var U=[],X=1;arguments.length>X;X++)U[X-1]=arguments[X];if((0,v.isArray)(H))H.map(function(W){return E.apply(void 0,h.__spreadArray([W],h.__read(U),!1))});else try{!R[H]&&N[H]&&(R[H]=!0,N[H].forEach(function(W){return W.call.apply(W,h.__spreadArray([z],h.__read(U),!1))}))}finally{R[H]=!1}},O=function(H,U){void 0===U&&(U=[]);var X={};w(H)||(Object.defineProperty(H,_,{enumerable:!1,value:!0}),Object.keys(H).forEach(function(W){var re=W,pe=U.concat(re).filter(function(Se){return Se.length});X[re]=H[re];var Ae=(0,C.getPropertyDescriptor)(H,re);Object.defineProperty(H,re,{set:function(Se){var De=X[re];if(!(0,y.isFastEqual)(X[re],Se)){E(["beforeChange","beforeChange.".concat(pe.join("."))],re,Se),(0,x.isPlainObject)(Se)&&O(Se,pe),Ae&&Ae.set?Ae.set.call(z,Se):X[re]=Se;var qe=[];E(h.__spreadArray(["change"],h.__read(pe.reduce(function(rt,ot){return qe.push(ot),rt.push("change.".concat(qe.join("."))),rt},[])),!1),pe.join("."),De,(null==Se?void 0:Se.valueOf)?Se.valueOf():Se)}},get:function(){return Ae&&Ae.get?Ae.get.call(z):X[re]},enumerable:!0,configurable:!0}),(0,x.isPlainObject)(X[re])&&O(X[re],pe)}),Object.defineProperty(z,"on",{value:S}))};return O(z),z}},83611:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.EventHandlersStore=s.defaultNameSpace=void 0,o(52378);var h=o(1853);s.defaultNameSpace="JoditEventDefaultNamespace";var v=function(){function y(){this.__store=new Map}return y.prototype.get=function(x,C){if(this.__store.has(C))return this.__store.get(C)[x]},y.prototype.indexOf=function(x,C,_){var w=this.get(x,C);if(w)for(var z=0;w.length>z;z+=1)if(w[z].originalCallback===_)return z;return!1},y.prototype.namespaces=function(x){void 0===x&&(x=!1);var C=(0,h.toArray)(this.__store.keys());return x?C.filter(function(_){return _!==s.defaultNameSpace}):C},y.prototype.events=function(x){var C=this.__store.get(x);return C?Object.keys(C):[]},y.prototype.set=function(x,C,_,w){void 0===w&&(w=!1);var z=this.__store.get(C);z||this.__store.set(C,z={}),void 0===z[x]&&(z[x]=[]),w?z[x].unshift(_):z[x].push(_)},y.prototype.clear=function(){this.__store.clear()},y.prototype.clearEvents=function(x,C){var _=this.__store.get(x);_&&_[C]&&(delete _[C],Object.keys(_).length||this.__store.delete(x))},y.prototype.isEmpty=function(){return 0===this.__store.size},y}();s.EventHandlersStore=v},17332:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.eventEmitter=s.getContainer=s.extendLang=s.modules=s.pluginSystem=s.uniqueUid=s.instances=void 0;var h=o(44540),v=o(64968),y=o(55395),x=o(77892),C=o(96574),_=o(87247),w=o(11278),z=o(86893);s.instances={};var R=1,N=new Set;s.uniqueUid=function(){function E(){return R+=10*(Math.random()+1),Math.round(R).toString(16)}for(var O=E();N.has(O);)O=E();return N.add(O),O},s.pluginSystem=new h.PluginSystem,s.modules={},s.extendLang=function(E){Object.keys(E).forEach(function(O){z.lang[O]?Object.assign(z.lang[O],E[O]):z.lang[O]=E[O]})};var S=new WeakMap;s.getContainer=function(E,O,H,U){void 0===H&&(H="div"),void 0===U&&(U=!1);var X=O?(0,_.getClassName)(O.prototype):"jodit-utils",W=S.get(E)||{},re=X+H,pe=(0,C.isViewObject)(E)?E:E.j;if(!W[re]){var Ae=pe.c,Se=(0,x.isJoditObject)(E)&&E.o.shadowRoot?E.o.shadowRoot:E.od.body;if(U&&(0,x.isJoditObject)(E)&&E.od!==E.ed){Ae=E.createInside;var De="style"===H?E.ed.head:E.ed.body;Se=(0,x.isJoditObject)(E)&&E.o.shadowRoot?E.o.shadowRoot:De}var qe=Ae.element(H,{className:"jodit jodit-".concat((0,w.kebabCase)(X),"-container jodit-box")});qe.classList.add("jodit_theme_".concat(pe.o.theme||"default")),Se.appendChild(qe),W[re]=qe,E.hookStatus("beforeDestruct",function(){v.Dom.safeRemove(qe),delete W[re],Object.keys(W).length&&S.delete(E)}),S.set(E,W)}return W[re].classList.remove("jodit_theme_default","jodit_theme_dark"),W[re].classList.add("jodit_theme_".concat(pe.o.theme||"default")),W[re]},s.eventEmitter=new y.EventEmitter},34578:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.asArray=void 0;var h=o(49781);s.asArray=function(v){return(0,h.isArray)(v)?v:[v]}},12557:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.toArray=s.splitArray=s.asArray=void 0;var h=o(34578);Object.defineProperty(s,"asArray",{enumerable:!0,get:function(){return h.asArray}});var v=o(14556);Object.defineProperty(s,"splitArray",{enumerable:!0,get:function(){return v.splitArray}});var y=o(1853);Object.defineProperty(s,"toArray",{enumerable:!0,get:function(){return y.toArray}})},14556:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.splitArray=void 0,s.splitArray=function(o){return Array.isArray(o)?o:o.split(/[,\s]+/)}},1853:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.toArray=void 0;var h=o(80861),v=o(28069);s.toArray=function(){for(var y,x=[],C=0;arguments.length>C;C++)x[C]=arguments[C];return((0,v.isNativeFunction)(Array.from)?Array.from:null!==(y=(0,h.reset)("Array.from"))&&void 0!==y?y:Array.from).apply(Array,x)}},4696:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(27512),s)},27512:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.clearTimeout=s.setTimeout=void 0;var h=o(20255);s.setTimeout=function(v,y){for(var x=[],C=2;arguments.length>C;C++)x[C-2]=arguments[C];return y?window.setTimeout.apply(window,h.__spreadArray([v,y],h.__read(x),!1)):(v.call.apply(v,h.__spreadArray([null],h.__read(x),!1)),0)},s.clearTimeout=function(v){window.clearTimeout(v)}},31553:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hasBrowserColorPicker=void 0,s.hasBrowserColorPicker=function(){var o=!0;try{var h=document.createElement("input");h.type="color",h.value="!",o="color"===h.type&&"!"!==h.value}catch(v){o=!1}return o}},10172:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(31553),s),h.__exportStar(o(49781),s),h.__exportStar(o(67749),s),h.__exportStar(o(32756),s),h.__exportStar(o(42096),s),h.__exportStar(o(66869),s),h.__exportStar(o(72543),s),h.__exportStar(o(33156),s),h.__exportStar(o(93578),s),h.__exportStar(o(77892),s),h.__exportStar(o(96574),s),h.__exportStar(o(60280),s),h.__exportStar(o(28069),s),h.__exportStar(o(61817),s),h.__exportStar(o(57649),s),h.__exportStar(o(79736),s),h.__exportStar(o(26335),s),h.__exportStar(o(24421),s),h.__exportStar(o(64350),s),h.__exportStar(o(19179),s),h.__exportStar(o(24021),s),h.__exportStar(o(85994),s),h.__exportStar(o(37204),s)},49781:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isArray=void 0,s.isArray=function(o){return Array.isArray(o)}},67749:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isBoolean=void 0,s.isBoolean=function(o){return"boolean"==typeof o}},32756:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isFastEqual=s.isEqual=void 0;var h=o(42554);s.isEqual=function(v,y){return v===y||(0,h.stringify)(v)===(0,h.stringify)(y)},s.isFastEqual=function(v,y){return v===y}},42096:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isFunction=void 0,s.isFunction=function(o){return"function"==typeof o}},72543:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isHtmlFromWord=void 0,s.isHtmlFromWord=function(o){return-1!==o.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==o.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==o.search(/style="[^"]*mso-/)&&-1!==o.search(/<font/)}},66869:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isHTML=void 0;var h=o(24421);s.isHTML=function(v){return(0,h.isString)(v)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(v.replace(/[\r\n]/g,""))}},33156:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hasContainer=s.isDestructable=s.isInitable=void 0;var h=o(42096),v=o(24263),y=o(24021);s.isInitable=function(x){return!(0,y.isVoid)(x)&&(0,h.isFunction)(x.init)},s.isDestructable=function(x){return!(0,y.isVoid)(x)&&(0,h.isFunction)(x.destruct)},s.hasContainer=function(x){return!(0,y.isVoid)(x)&&v.Dom.isElement(x.container)}},93578:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isInt=void 0;var h=o(57649),v=o(24421);s.isInt=function(y){return(0,v.isString)(y)&&(0,h.isNumeric)(y)&&(y=parseFloat(y)),"number"==typeof y&&Number.isFinite(y)&&!(y%1)}},77892:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isJoditObject=void 0;var h=o(42096);s.isJoditObject=function(v){return Boolean(v&&v instanceof Object&&(0,h.isFunction)(v.constructor)&&("undefined"!=typeof Jodit&&v instanceof Jodit||v.isJodit))}},60280:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isLicense=void 0;var h=o(24421);s.isLicense=function(v){return(0,h.isString)(v)&&23===v.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(v)}},37204:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isMarker=void 0;var h=o(24263),v=o(86893);s.isMarker=function(y){return h.Dom.isNode(y)&&h.Dom.isTag(y,"span")&&y.hasAttribute("data-"+v.MARKER_CLASS)}},28069:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isNativeFunction=void 0,s.isNativeFunction=function(o){return Boolean(o)&&"function"===(typeof o).toLowerCase()&&(o===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(o)))}},61817:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isNumber=void 0,s.isNumber=function(o){return"number"==typeof o&&!isNaN(o)&&isFinite(o)}},57649:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isNumeric=void 0;var h=o(24421);s.isNumeric=function(v){if((0,h.isString)(v)){if(!v.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;v=parseFloat(v)}return"number"==typeof v&&!isNaN(v)&&isFinite(v)}},79736:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isPlainObject=void 0;var h=o(85994);s.isPlainObject=function(v){return!(!v||"object"!=typeof v||v.nodeType||(0,h.isWindow)(v)||v.constructor&&!{}.hasOwnProperty.call(v.constructor.prototype,"isPrototypeOf"))}},26335:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isPromise=void 0,s.isPromise=function(o){return o&&"function"==typeof o.then}},24421:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isStringArray=s.isString=void 0;var h=o(49781);function v(y){return"string"==typeof y}s.isString=v,s.isStringArray=function(y){return(0,h.isArray)(y)&&v(y[0])}},64350:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isURL=void 0,s.isURL=function(o){if(o.includes(" "))return!1;if("undefined"!=typeof URL)try{var h=new URL(o);return["https:","http:","ftp:","file:","rtmp:"].includes(h.protocol)}catch(y){return!1}var v=document.createElement("a");return v.href=o,Boolean(v.hostname)}},19179:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isValidName=void 0,s.isValidName=function(o){return!!o.length&&!/[^0-9A-Za-z\u0430-\u044f\u0410-\u042f\u0401\u0451\w\-_.]/.test(o)}},96574:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isViewObject=void 0;var h=o(42096);s.isViewObject=function(v){return Boolean(v&&v instanceof Object&&(0,h.isFunction)(v.constructor)&&v.isView)}},24021:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isVoid=void 0,s.isVoid=function(o){return null==o}},85994:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isWindow=void 0,s.isWindow=function(o){return null!=o&&o===o.window}},13203:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.colorToHex=void 0,s.colorToHex=function(o){if("rgba(0, 0, 0, 0)"===o||""===o)return!1;if(!o)return"#000000";if("#"===o.substr(0,1))return o;var h=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(o)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(o);if(!h)return"#000000";for(var v=parseInt(h[2],10),y=parseInt(h[3],10),x=(parseInt(h[4],10)|y<<8|v<<16).toString(16).toUpperCase();6>x.length;)x="0"+x;return h[1]+"#"+x}},61354:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(13203),s)},66546:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.applyStyles=void 0;var h=o(24263),v=o(76502),y=o(33941);function x(C){return C.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,function(_,w,z){switch(z.toLowerCase()){case"pt":return(1.328*parseFloat(w)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(w)).toFixed(0)+"px"}return _})}s.applyStyles=function(C){if(-1===C.indexOf("<html "))return C;C=(C=C.substring(C.indexOf("<html "),C.length)).substring(0,C.lastIndexOf("</html>")+7);var _=document.createElement("iframe");_.style.display="none",document.body.appendChild(_);var w="";try{var z=_.contentDocument||(_.contentWindow?_.contentWindow.document:null);if(z){z.open(),z.write(C),z.close();try{for(var R=function(S){for(var E=z.styleSheets[S].cssRules,O=function(U){if(""===E[U].selectorText)return"continue";(0,v.$$)(E[U].selectorText,z.body).forEach(function(X){X.style.cssText=x(E[U].style.cssText+";"+X.style.cssText)})},H=0;E.length>H;H+=1)O(H)},N=0;z.styleSheets.length>N;N+=1)R(N)}catch(S){}h.Dom.each(z.body,function(S){if(h.Dom.isElement(S)){var E=S,O=E.getAttribute("style");O&&(E.style.cssText=x(O)),E.hasAttribute("style")&&!E.getAttribute("style")&&E.removeAttribute("style")}}),w=z.firstChild?(0,y.trim)(z.body.innerHTML):""}}catch(S){}finally{h.Dom.safeRemove(_)}return w&&(C=w),(0,y.trim)(C.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},33316:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.cleanFromWord=void 0;var h=o(24263),v=o(33941),y=o(1853);s.cleanFromWord=function(x){-1!==x.indexOf("<html ")&&(x=(x=x.substring(x.indexOf("<html "),x.length)).substring(0,x.lastIndexOf("</html>")+7));var C="";try{var _=document.createElement("div");_.innerHTML=x;var w=[];_.firstChild&&h.Dom.each(_,function(z){if(z)switch(z.nodeType){case Node.ELEMENT_NODE:switch(z.nodeName){case"STYLE":case"LINK":case"META":w.push(z);break;case"W:SDT":case"W:SDTPR":case"FONT":h.Dom.unwrap(z);break;default:(0,y.toArray)(z.attributes).forEach(function(R){-1===["src","href","rel","content"].indexOf(R.name.toLowerCase())&&z.removeAttribute(R.name)})}break;case Node.TEXT_NODE:break;default:w.push(z)}}),h.Dom.safeRemove.apply(null,w),C=_.innerHTML}catch(z){}return C&&(x=C),(x=x.split(/(\n)/).filter(v.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},46639:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.htmlspecialchars=void 0,s.htmlspecialchars=function(o){var h=document.createElement("div");return h.textContent=o,h.innerHTML}},13098:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(66546),s),h.__exportStar(o(33316),s),h.__exportStar(o(46639),s),h.__exportStar(o(11336),s),h.__exportStar(o(67128),s),h.__exportStar(o(86645),s)},86645:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.nl2br=void 0,s.nl2br=function(o){return o.replace(/\r\n|\r|\n/g,"<br/>")}},67128:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.sanitizeHTMLElement=s.safeHTML=void 0;var h=o(76502),v=o(24263);function y(x,C){var _=void 0===C?{safeJavaScriptLink:!0,removeOnError:!0}:C,w=_.safeJavaScriptLink,z=_.removeOnError;if(!v.Dom.isElement(x))return!1;var R=!1;z&&x.hasAttribute("onerror")&&((0,h.attr)(x,"onerror",null),R=!0);var N=x.getAttribute("href");return w&&N&&0===N.trim().indexOf("javascript")&&((0,h.attr)(x,"href",location.protocol+"//"+N),R=!0),R}s.safeHTML=function(x,C){(v.Dom.isElement(x)||v.Dom.isFragment(x))&&(C.removeOnError&&(y(x),(0,h.$$)("[onerror]",x).forEach(function(_){return y(_,C)})),C.safeJavaScriptLink&&(y(x),(0,h.$$)('a[href^="javascript"]',x).forEach(function(_){return y(_,C)})))},s.sanitizeHTMLElement=y},11336:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.stripTags=void 0;var h=o(24421),v=o(76502),y=o(33941),x=o(24263);s.stripTags=function(C,_){void 0===_&&(_=document);var w=_.createElement("div");return(0,h.isString)(C)?w.innerHTML=C:w.appendChild(C),(0,v.$$)("DIV, P, BR, H1, H2, H3, H4, H5, H6, HR",w).forEach(function(z){var R=z.parentNode;if(R){var N=z.nextSibling;x.Dom.isText(N)&&/^\s/.test(N.nodeValue||"")||N&&R.insertBefore(_.createTextNode(" "),N)}}),(0,y.trim)(w.innerText)||""}},40332:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(76502),s),h.__exportStar(o(12557),s),h.__exportStar(o(4696),s),h.__exportStar(o(10172),s),h.__exportStar(o(61354),s),h.__exportStar(o(13098),s),h.__exportStar(o(89693),s),h.__exportStar(o(90954),s),h.__exportStar(o(19035),s)},89693:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(48926),s),h.__exportStar(o(78648),s),h.__exportStar(o(74504),s),h.__exportStar(o(50870),s),h.__exportStar(o(76787),s),h.__exportStar(o(93251),s),h.__exportStar(o(91518),s),h.__exportStar(o(49353),s),h.__exportStar(o(64274),s)},64274:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeColor=void 0;var h=o(61354),v=o(19035);s.normalizeColor=function(y){var x=["#"],C=(0,h.colorToHex)(y);if(!C)return!1;if(3===(C=(C=(0,v.trim)(C.toUpperCase())).substr(1)).length){for(var _=0;3>_;_+=1)x.push(C[_]),x.push(C[_]);return x.join("")}return C.length>6&&(C=C.substr(0,6)),"#"+C}},49353:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeCssValue=s.normalizeCssNumericValue=s.NUMBER_FIELDS_REG=void 0;var h=o(57649),v=o(11278),y=o(13203),x=o(24021);s.NUMBER_FIELDS_REG=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i,s.normalizeCssNumericValue=function(C,_){return!(0,x.isVoid)(_)&&s.NUMBER_FIELDS_REG.test(C)&&(0,h.isNumeric)(_.toString())?parseInt(_.toString(),10)+"px":_},s.normalizeCssValue=function(C,_){if("font-weight"===(0,v.kebabCase)(C)){switch(_.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,h.isNumeric)(_)?Number(_):_}return/color/i.test(C)&&/^rgb/i.test(_.toString())&&(0,y.colorToHex)(_.toString())||_}},48926:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeKeyAliases=void 0;var h=o(33941),v=o(86893);s.normalizeKeyAliases=function(y){var x={},C={meta:1,ctrl:2,control:2,alt:3,shift:4};return y.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(function(_){return(0,h.trim)(_.toLowerCase())}).map(function(_){return v.KEY_ALIASES[_]||_}).sort(function(_,w){return C[_]&&!C[w]?-1:!C[_]&&C[w]?1:C[_]&&C[w]?C[_]-C[w]:_>w?1:-1}).filter(function(_){return!x[_]&&""!==_&&(x[_]=!0)}).join("+")}},78648:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeLicense=void 0,s.normalizeLicense=function(o,h){void 0===h&&(h=8);for(var v=[];o.length;)v.push(o.substr(0,h)),o=o.substr(h);return v[1]=v[1].replace(/./g,"*"),v[2]=v[2].replace(/./g,"*"),v.join("-")}},74504:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeNode=void 0;var h=o(86893),v=o(24263);s.normalizeNode=function y(x){if(x){if(v.Dom.isText(x)&&null!=x.nodeValue&&x.parentNode)for(;v.Dom.isText(x.nextSibling);)null!=x.nextSibling.nodeValue&&(x.nodeValue+=x.nextSibling.nodeValue),x.nodeValue=x.nodeValue.replace((0,h.INVISIBLE_SPACE_REG_EXP)(),""),v.Dom.safeRemove(x.nextSibling);else y(x.firstChild);y(x.nextSibling)}}},50870:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizePath=void 0;var h=o(19035);s.normalizePath=function(){for(var v=[],y=0;arguments.length>y;y++)v[y]=arguments[y];return v.filter(function(x){return(0,h.trim)(x).length}).map(function(x,C){return x=x.replace(/([^:])[\\/]+/g,"$1/"),C&&(x=x.replace(/^\//,"")),C!==v.length-1&&(x=x.replace(/\/$/,"")),x}).join("/")}},76787:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeRelativePath=void 0,s.normalizeRelativePath=function(o){return o.split("/").reduce(function(h,v){switch(v){case"":case".":break;case"..":h.pop();break;default:h.push(v)}return h},[]).join("/")+(o.endsWith("/")?"/":"")}},93251:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeSize=void 0,s.normalizeSize=function(o){return/^[0-9]+$/.test(o.toString())?o+"px":o.toString()}},91518:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.normalizeUrl=void 0,s.normalizeUrl=function(){for(var o=[],h=0;arguments.length>h;h++)o[h]=arguments[h];return o.filter(function(v){return v.length}).map(function(v){return v.replace(/\/$/,"")}).join("/").replace(/([^:])[\\/]+/g,"$1/")}},1684:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getContentWidth=void 0,s.getContentWidth=function(o,h){var v=function(x){return parseInt(x,10)},y=h.getComputedStyle(o);return o.offsetWidth-v(y.getPropertyValue("padding-left")||"0")-v(y.getPropertyValue("padding-right")||"0")}},73874:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getScrollParent=void 0;var h=o(76502),v=o(24263);s.getScrollParent=function y(x){if(!x)return null;var C=v.Dom.isHTMLElement(x),_=C&&(0,h.css)(x,"overflowY");return C&&"visible"!==_&&"hidden"!==_&&x.scrollHeight>=x.clientHeight?x:y(x.parentNode)||document.scrollingElement||document.body}},90954:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(1684),s),h.__exportStar(o(73874),s),h.__exportStar(o(83810),s),h.__exportStar(o(98701),s),h.__exportStar(o(81710),s),h.__exportStar(o(16492),s)},83810:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.innerWidth=void 0,s.innerWidth=function(o,h){var v=h.getComputedStyle(o);return o.clientWidth-(parseFloat(v.paddingLeft||"0")+parseFloat(v.paddingRight||"0"))}},16492:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.size=void 0;var h=o(10172);s.size=function(v){return(0,h.isString)(v)||(0,h.isArray)(v)?v.length:(0,h.isPlainObject)(v)?Object.keys(v).length:0}},98701:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.offset=void 0,s.offset=function(o,h,v,y){var x;void 0===y&&(y=!1);try{x=o.getBoundingClientRect()}catch(X){x={top:0,bottom:0,left:0,right:0,width:0,height:0}}var C,_,w=v.body,z=v.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},R=v.defaultView||v.parentWindow,N=R.pageYOffset||z.scrollTop||w.scrollTop,S=R.pageXOffset||z.scrollLeft||w.scrollLeft,E=z.clientTop||w.clientTop||0,O=z.clientLeft||w.clientLeft||0,H=h.iframe;if(!y&&h&&h.options&&h.o.iframe&&H){var U=(0,s.offset)(H,h,h.od,!0);C=x.top+U.top,_=x.left+U.left}else C=x.top+N-E,_=x.left+S-O;return{top:Math.round(C),left:Math.round(_),width:x.width,height:x.height}}},81710:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.position=void 0;var h=o(77892);s.position=function v(y,x,C){void 0===C&&(C=!1);var _=y.getBoundingClientRect(),w=_.left,z=_.top;if((0,h.isJoditObject)(x)&&x.iframe&&x.ed.body.contains(y)&&!C){var R=v(x.iframe,x,!0);w+=R.left,z+=R.top}return{left:Math.round(w),top:Math.round(z),width:Math.round(y.offsetWidth),height:Math.round(y.offsetHeight)}}},26596:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.camelCase=void 0,s.camelCase=function(o){return o.replace(/([-_])(.)/g,function(h,v,y){return y.toUpperCase()})}},93163:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.fuzzySearchIndex=void 0;var h=o(86893);s.fuzzySearchIndex=function(v,y,x,C){void 0===x&&(x=0),void 0===C&&(C=1);var _=0,w=0,z=-1,R=0,N=0;for(w=x;v.length>_&&y.length>w;)v[_].toLowerCase()===y[w].toLowerCase()?(_++,R++,N=0,-1===z&&(z=w)):_>0&&(C>N||y[w]===h.INVISIBLE_SPACE?(N++,R++):(_=0,z=-1,R=0,N=0,w--)),w++;return _===v.length?[z,R]:[-1,0]}},11625:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.i18n=s.sprintf=void 0;var h=o(93166),v=o(76502),y=o(24421),x=o(13449),C=o(86893);s.sprintf=function(_,w){if(!w||!w.length)return _;for(var z=/%([sd])/g,R=z.exec(_),N=_,S=0;R&&void 0!==w[S];)N=N.replace(R[0],w[S].toString()),S+=1,R=z.exec(_);return N},s.i18n=function(_,w,z){if(!(0,y.isString)(_))throw(0,v.error)("i18n: Need string in first argument");if(!_.length)return _;var R=Boolean(null==z?void 0:z.debugLanguage),N={},S=function(W){return w&&w.length?(0,s.sprintf)(W,w):W},E=(0,v.defaultLanguage)(h.Config.defaultOptions.language,h.Config.defaultOptions.language),O=(0,v.defaultLanguage)(null==z?void 0:z.language,E),H=function(W){if(W){if((0,y.isString)(W[_]))return S(W[_]);var re=_.toLowerCase();if((0,y.isString)(W[re]))return S(W[re]);var pe=(0,x.ucfirst)(_);return(0,y.isString)(W[pe])?S(W[pe]):void 0}};void 0!==C.lang[O]?N=C.lang[O]:R||(N=void 0!==C.lang[E]?C.lang[E]:C.lang.en);var U=null==z?void 0:z.i18n;if(U&&U[O]){var X=H(U[O]);if(X)return X}return H(N)||(!R&&C.lang.en&&(0,y.isString)(C.lang.en[_])&&C.lang.en[_]?S(C.lang.en[_]):R?"{"+_+"}":S(_))}},19035:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(26596),s),h.__exportStar(o(93163),s),h.__exportStar(o(11625),s),h.__exportStar(o(11278),s),h.__exportStar(o(42554),s),h.__exportStar(o(33941),s),h.__exportStar(o(13449),s)},11278:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.CamelCaseToKebabCase=s.kebabCase=void 0,s.kebabCase=function(o){return o.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},s.CamelCaseToKebabCase=function(o){return o.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},42554:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.stringify=void 0,s.stringify=function(o,h){if(void 0===h&&(h={}),"object"!=typeof o)return String(o);var v=new Set(h.excludeKeys),y=new WeakMap;return JSON.stringify(o,function(x,C){if(!v.has(x)){if("object"==typeof C&&null!=C){if(y.get(C))return"[refObject]";y.set(C,!0)}return C}},h.prettify)}},33941:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.trimInv=s.trim=void 0;var h=o(86893);s.trim=function(v){return v.replace((0,h.SPACE_REG_EXP_END)(),"").replace((0,h.SPACE_REG_EXP_START)(),"")},s.trimInv=function(v){return v.replace((0,h.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,h.INVISIBLE_SPACE_REG_EXP_START)(),"")}},13449:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ucfirst=void 0,s.ucfirst=function(o){return o.length?o[0].toUpperCase()+o.substr(1):""}},60303:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.alignElement=s.clearAlign=s.hAlignElement=void 0;var h=o(64968),v=o(26911);function y(x){h.Dom.each(x,function(C){h.Dom.isHTMLElement(C)&&C.style.textAlign&&(C.style.textAlign="",C.style.cssText.trim().length||C.removeAttribute("style"))})}s.hAlignElement=function(x,C){C&&"normal"!==C?"center"!==C?((0,v.css)(x,"float",C),(0,v.clearCenterAlign)(x)):(0,v.css)(x,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,v.css)(x,"float")&&-1!==["right","left"].indexOf((0,v.css)(x,"float").toString().toLowerCase())&&(0,v.css)(x,"float",""),(0,v.clearCenterAlign)(x))},s.clearAlign=y,s.alignElement=function(x,C){if(h.Dom.isNode(C)&&h.Dom.isElement(C))switch(y(C),x.toLowerCase()){case"justifyfull":C.style.textAlign="justify";break;case"justifyright":C.style.textAlign="right";break;case"justifyleft":C.style.textAlign="left";break;case"justifycenter":C.style.textAlign="center"}}},62462:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.loadNextStyle=s.loadNext=s.appendStyleAsync=s.appendScriptAsync=s.appendScript=void 0;var h=o(20255),v=o(48240),y=o(42096),x=o(24421),C=new Map,_=function(w){return function(z,R){return h.__awaiter(void 0,void 0,Promise,function(){var N;return h.__generator(this,function(S){return C.has(R)?[2,C.get(R)]:(N=w(z,R),C.set(R,N),[2,N])})})}};s.appendScript=function(w,z,R){var N=w.c.element("script");return N.type="text/javascript",N.async=!0,(0,y.isFunction)(R)&&!w.isInDestruct&&w.e.on(N,"load",R),N.src||(N.src=(0,v.completeUrl)(z)),w.od.body.appendChild(N),{callback:R,element:N}},s.appendScriptAsync=_(function(w,z){return new Promise(function(R,N){var S=(0,s.appendScript)(w,z,R).element;!w.isInDestruct&&w.e.on(S,"error",N)})}),s.appendStyleAsync=_(function(w,z){return new Promise(function(R,N){var S=w.c.element("link");S.rel="stylesheet",S.media="all",S.crossOrigin="anonymous",!w.isInDestruct&&w.e.on(S,"load",function(){return R(S)}).on(S,"error",N),S.href=(0,v.completeUrl)(z),w.o.shadowRoot?w.o.shadowRoot.appendChild(S):w.od.body.appendChild(S)})}),s.loadNext=function(w,z,R){return void 0===R&&(R=0),(0,x.isString)(z[R])?(0,s.appendScriptAsync)(w,z[R]).then(function(){return(0,s.loadNext)(w,z,R+1)}):Promise.resolve()},s.loadNextStyle=function(w,z,R){return void 0===R&&(R=0),(0,x.isString)(z[R])?(0,s.appendStyleAsync)(w,z[R]).then(function(){return(0,s.loadNextStyle)(w,z,R+1)}):Promise.resolve()}},603:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.assert=void 0;var h=o(20255),v=function(y){function x(C){var _=y.call(this,C)||this;return _.name="AssertionError",_}return h.__extends(x,y),x}(Error);s.assert=function(y,x){if(!y)throw new v("Assertion failed: ".concat(x))}},37682:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.browser=void 0,s.browser=function(o){var h=navigator.userAgent.toLowerCase(),v=/(firefox)[\s/]([\w.]+)/.exec(h)||/(chrome)[\s/]([\w.]+)/.exec(h)||/(webkit)[\s/]([\w.]+)/.exec(h)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(h)||/(msie)[\s]([\w.]+)/.exec(h)||/(trident)\/([\w.]+)/.exec(h)||0>h.indexOf("compatible")||[];return"version"===o?v[2]:"webkit"===o?"chrome"===v[1]||"webkit"===v[1]:"ff"===o?"firefox"===v[1]:"msie"===o?"trident"===v[1]||"msie"===v[1]:v[1]===o}},71567:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.buildQuery=void 0;var h=o(79736);s.buildQuery=function(v,y){var x=[],C=encodeURIComponent;for(var _ in v)if(Object.prototype.hasOwnProperty.call(v,_)){var w=y?y+"["+_+"]":_,z=v[_];x.push((0,h.isPlainObject)(z)?(0,s.buildQuery)(z,w):C(w)+"="+C(z))}return x.join("&")}},48240:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.completeUrl=void 0,s.completeUrl=function(o){return"file:"===window.location.protocol&&/^\/\//.test(o)&&(o="https:"+o),o}},64981:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ConfigFlatten=s.ConfigProto=void 0;var h=o(20255),v=o(7935),y=o(49781),x=o(79736),C=o(24421),_=o(24021),w=o(93166),z=o(67309);s.ConfigProto=function R(N,S,E){if(void 0===E&&(E=0),Object.getPrototypeOf(N)!==Object.prototype)return N;var O=w.Config.defaultOptions;if((0,C.isString)(N.preset)){if(void 0!==O.presets[N.preset]){var H=O.presets[N.preset];Object.keys(H).forEach(function(X){(0,_.isVoid)(N[X])&&(N[X]=H[X])})}delete N.preset}var U={};return Object.keys(N).forEach(function(X){var W=N[X],re=S?S[X]:null;U[X]=(0,x.isPlainObject)(W)&&(0,x.isPlainObject)(re)&&!(0,v.isAtom)(W)?R(W,re,E+1):0!==E&&(0,y.isArray)(W)&&!(0,v.isAtom)(W)&&(0,y.isArray)(re)?h.__spreadArray(h.__spreadArray([],h.__read(W),!1),h.__read(re.slice(W.length)),!1):W}),Object.setPrototypeOf(U,S),U},s.ConfigFlatten=function(R){return(0,z.keys)(R,!1).reduce(function(N,S){return N[S]=R[S],N},{})}},42051:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.convertMediaUrlToVideoEmbed=void 0;var h=o(64350),v=o(67285);s.convertMediaUrlToVideoEmbed=function(y,x,C){if(void 0===x&&(x=400),void 0===C&&(C=345),!(0,h.isURL)(y))return y;var _=document.createElement("a"),w=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;_.href=y,x||(x=400),C||(C=345);var z=_.protocol||"";switch(_.hostname){case"www.vimeo.com":case"vimeo.com":return w.test(y)?y.replace(w,'<iframe width="'+x+'" height="'+C+'" src="'+z+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):y;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var R=_.search?(0,v.parseQuery)(_.search):{v:_.pathname.substr(1)};return R.v?'<iframe width="'+x+'" height="'+C+'" src="'+z+"//www.youtube.com/embed/"+R.v+'" frameborder="0" allowfullscreen></iframe>':y}return y}},26911:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.clearCenterAlign=s.css=void 0;var h=o(79736),v=o(67749),y=o(49353),x=o(26596),C=o(11278);function _(w,z,R,N){if(void 0===N&&(N=!1),(0,v.isBoolean)(R)&&(N=R,R=void 0),(0,h.isPlainObject)(z)||void 0!==R){var S=function(pe,Ae,Se){void 0===(Se=(0,y.normalizeCssNumericValue)(Ae,Se))||null!=Se&&_(pe,Ae,!0)===(0,y.normalizeCssValue)(Ae,Se)||(pe.style[Ae]=Se)};if((0,h.isPlainObject)(z))for(var E=Object.keys(z),O=0;E.length>O;O+=1)S(w,(0,x.camelCase)(E[O]),z[E[O]]);else S(w,(0,x.camelCase)(z),R);return""}var H=(0,C.kebabCase)(z),U=w.ownerDocument||document,X=!!U&&(U.defaultView||U.parentWindow),W=w.style[z],re="";return void 0!==W&&""!==W?re=W:X&&!N&&(re=X.getComputedStyle(w).getPropertyValue(H)),y.NUMBER_FIELDS_REG.test(z)&&/^[-+]?[0-9.]+px$/.test(re.toString())&&(re=parseInt(re.toString(),10)),(0,y.normalizeCssValue)(z,re)}s.css=_,s.clearCenterAlign=function(w){"block"===_(w,"display")&&_(w,"display","");var z=w.style;"auto"===z.marginLeft&&"auto"===z.marginRight&&(z.marginLeft="",z.marginRight="")}},2522:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ctrlKey=void 0,s.ctrlKey=function(o){if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(o.metaKey&&!o.altKey)return!0}else if(o.ctrlKey&&!o.altKey)return!0;return!1}},63122:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.dataBind=void 0;var h=o(96574),v=new WeakMap;s.dataBind=function(y,x,C){var _=v.get(y);if(!_){v.set(y,_={});var w=null;(0,h.isViewObject)(y.j)&&(w=y.j.e),(0,h.isViewObject)(y)&&(w=y.e),w&&w.on("beforeDestruct",function(){v.delete(y)})}return void 0===C?_[x]:(_[x]=C,C)}},93351:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.defaultLanguage=void 0;var h=o(24421);s.defaultLanguage=function(v,y){return void 0===y&&(y="en"),"auto"!==v&&(0,h.isString)(v)?v:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):y}},41579:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isAbort=s.abort=s.options=s.connection=s.error=void 0;var h=o(45339);s.error=function(v){return new TypeError(v)},s.connection=function(v){return new h.ConnectionError(v)},s.options=function(v){return new h.OptionsError(v)},s.abort=function(v){return new h.AbortError(v)},s.isAbort=function(v){return v instanceof h.AbortError}},86768:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.AbortError=void 0;var h=o(20255),v=function(y){function x(C){var _=y.call(this,C)||this;return Object.setPrototypeOf(_,x.prototype),_}return h.__extends(x,y),x}(Error);s.AbortError=v},43380:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ConnectionError=void 0;var h=o(20255),v=function(y){function x(C){var _=y.call(this,C)||this;return Object.setPrototypeOf(_,x.prototype),_}return h.__extends(x,y),x}(Error);s.ConnectionError=v},45339:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(86768),s),h.__exportStar(o(43380),s),h.__exportStar(o(47403),s)},47403:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.OptionsError=void 0;var h=o(20255),v=function(y){function x(C){var _=y.call(this,C)||this;return Object.setPrototypeOf(_,x.prototype),_}return h.__extends(x,y),x}(TypeError);s.OptionsError=v},56964:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(41579),s),h.__exportStar(o(45339),s)},7935:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.fastClone=s.markAsAtomic=s.isAtom=void 0;var h=o(42554);s.isAtom=function(v){return v&&v.isAtom},s.markAsAtomic=function(v){return Object.defineProperty(v,"isAtom",{enumerable:!1,value:!0,configurable:!1}),v},s.fastClone=function(v){return JSON.parse((0,h.stringify)(v))}},87247:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getClassName=s.keepNames=void 0;var h=o(42096);s.keepNames=new Map,s.getClassName=function(v){var y;if((0,h.isFunction)(v.className))return v.className();var x=(null===(y=v.constructor)||void 0===y?void 0:y.originalConstructor)||v.constructor;if(s.keepNames.has(x))return s.keepNames.get(x);if(x.name)return x.name;var C=new RegExp(/^\s*function\s*(\S*)\s*\(/),_=x.toString().match(C);return _?_[1]:""}},69384:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.get=void 0;var h=o(20255),v=o(24421),y=o(24021);s.get=function(x,C){var _,w;if(!(0,v.isString)(x)||!x.length)return null;var z=x.split("."),R=C;try{try{for(var N=h.__values(z),S=N.next();!S.done;S=N.next()){var E=S.value;if((0,y.isVoid)(R[E]))return null;R=R[E]}}catch(O){_={error:O}}finally{try{S&&!S.done&&(w=N.return)&&w.call(N)}finally{if(_)throw _.error}}}catch(O){return null}return(0,y.isVoid)(R)?null:R}},6102:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.humanSizeToBytes=void 0,s.humanSizeToBytes=function(o){if(/^[0-9.]+$/.test(o.toString()))return parseFloat(o);var h=o.substr(-2,2).toUpperCase(),v=["KB","MB","GB","TB"],y=parseFloat(o.substr(0,o.length-2));return-1!==v.indexOf(h)?y*Math.pow(1024,v.indexOf(h)+1):parseInt(o,10)}},76502:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(60303),s),h.__exportStar(o(62462),s),h.__exportStar(o(52378),s),h.__exportStar(o(37682),s),h.__exportStar(o(71567),s),h.__exportStar(o(48240),s),h.__exportStar(o(64981),s),h.__exportStar(o(42051),s),h.__exportStar(o(26911),s),h.__exportStar(o(2522),s),h.__exportStar(o(63122),s),h.__exportStar(o(93351),s),h.__exportStar(o(56964),s),h.__exportStar(o(7935),s),h.__exportStar(o(69384),s),h.__exportStar(o(87247),s),h.__exportStar(o(6102),s),h.__exportStar(o(47580),s),h.__exportStar(o(67285),s),h.__exportStar(o(21498),s),h.__exportStar(o(80861),s),h.__exportStar(o(9005),s),h.__exportStar(o(54188),s),h.__exportStar(o(21518),s),h.__exportStar(o(37228),s),h.__exportStar(o(67309),s),h.__exportStar(o(22362),s)},47580:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.markDeprecated=s.cns=void 0;var h=o(20255);s.cns=console,s.markDeprecated=function(v,y,x){return void 0===y&&(y=[""]),void 0===x&&(x=null),function(){for(var C=[],_=0;arguments.length>_;_++)C[_]=arguments[_];return s.cns.warn('Method "'.concat(y[0],'" deprecated.')+(y[1]?' Use "'.concat(y[1],'" instead'):"")),v.call.apply(v,h.__spreadArray([x],h.__read(C),!1))}}},67285:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.parseQuery=void 0,s.parseQuery=function(o){for(var h={},v=o.substring(1).split("&"),y=0;v.length>y;y+=1){var x=v[y].split("=");h[decodeURIComponent(x[0])]=decodeURIComponent(x[1]||"")}return h}},21498:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.previewBox=void 0;var h=o(24421),v=o(24263),y=o(26911),x=o(67309),C=o(54188);s.previewBox=function(_,w,z,R){void 0===z&&(z="px"),void 0===R&&(R=null);var N=function(re,pe){var Ae=[];try{(0,C.$$)("img",re.editor).forEach(function(Se){var De=[(0,x.attr)(Se,"width"),(0,x.attr)(Se,"height"),Se.src];(0,x.attr)(Se,{width:Se.offsetWidth+pe,height:Se.offsetHeight+pe});var qe=re.createInside.a();re.ed.body.appendChild(qe),qe.href=Se.src,Se.src=qe.href,v.Dom.safeRemove(qe),Ae.push(function(){var rt;Se.src=null!==(rt=De[2])&&void 0!==rt?rt:"",(0,x.attr)(Se,{width:De[0]||null,height:De[1]||null})})})}catch(Se){throw Ae.forEach(function(De){return De()}),Ae.length=0,Se}return Ae}(_,z);try{var S=_.e.fire("beforePreviewBox",w,z);if(null!=S)return S;var E=_.c.div("jodit__preview-box jodit-context");R&&R.appendChild(E),(0,y.css)(E,{position:"relative",padding:16});var O=_.value||"<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(_.i18n("Empty"),"</div>");if(_.iframe){var H=_.create.element("iframe");(0,y.css)(H,{minWidth:800,minHeight:600,border:0}),E.appendChild(H);var U=H.contentWindow;if(U&&(_.e.fire("generateDocumentStructure.iframe",U.document,_),E=U.document.body,"function"==typeof ResizeObserver)){var X=new ResizeObserver(function(re){H.style.height=U.document.body.offsetHeight+20+"px"});X.observe(U.document.body),_.e.on("beforeDestruct",function(){X.unobserve(U.document.body)})}}else(0,y.css)(E,{minWidth:1024,minHeight:600,border:0});var W=function(re,pe){var Ae=(0,h.isString)(pe)?_.c.div():pe;(0,h.isString)(pe)&&(Ae.innerHTML=pe);for(var Se=0;Ae.childNodes.length>Se;Se+=1){var De=Ae.childNodes[Se];if(v.Dom.isElement(De)){for(var qe=re.ownerDocument.createElement(De.nodeName),rt=0;De.attributes.length>rt;rt+=1)(0,x.attr)(qe,De.attributes[rt].nodeName,De.attributes[rt].nodeValue);0===De.childNodes.length||v.Dom.isTag(De,["table"])?"SCRIPT"===De.nodeName?De.textContent&&(qe.textContent=De.textContent):De.innerHTML&&(qe.innerHTML=De.innerHTML):W(qe,De);try{re.appendChild(qe)}catch(ot){}}else try{re.appendChild(De.cloneNode(!0))}catch(ot){}}};return W(E,O),_.e.fire("afterPreviewBox",E),E}finally{N.forEach(function(re){return re()})}}},80861:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.reset=void 0;var h=o(69384),v=o(42096),y={};s.reset=function(x){var C,_;if(!(x in y)){var w=document.createElement("iframe");try{if(w.src="about:blank",document.body.appendChild(w),!w.contentWindow)return null;var z=(0,h.get)(x,w.contentWindow),R=(0,h.get)(x.split(".").slice(0,-1).join("."),w.contentWindow);(0,v.isFunction)(z)&&(y[x]=z.bind(R))}catch(N){}finally{null===(C=w.parentNode)||void 0===C||C.removeChild(w)}}return null!==(_=y[x])&&void 0!==_?_:null}},9005:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.scrollIntoViewIfNeeded=s.inView=void 0;var h=o(24263);s.inView=function(v,y,x){var C=v.getBoundingClientRect(),_=v,w=C.top,z=C.height;do{if(_&&_.parentNode&&((C=(_=_.parentNode).getBoundingClientRect()).bottom<w||C.top>=w+z))return!1}while(_&&_!==y&&_.parentNode);return(x.documentElement&&x.documentElement.clientHeight||0)>=w},s.scrollIntoViewIfNeeded=function(v,y,x){h.Dom.isHTMLElement(v)&&!(0,s.inView)(v,y,x)&&(y.clientHeight!==y.scrollHeight&&(y.scrollTop=v.offsetTop),(0,s.inView)(v,y,x)||v.scrollIntoView())}},54188:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.resolveElement=s.cssPath=s.refs=s.getXPathByElement=s.$$=void 0;var h=o(86893),v=o(24421),y=o(76502),x=o(24263),C=o(26596),_=o(1853),w=o(53929),z=o(45113),R=1;function N(S,E){var O;if(!/:scope/.test(S)||!h.IS_IE||E&&E.nodeType===Node.DOCUMENT_NODE)O=E.querySelectorAll(S);else{var H=E.id,U=H||"_selector_id_"+String(Math.random()).slice(2)+ ++R;S=S.replace(/:scope/g,"#"+U),!H&&E.setAttribute("id",U),O=E.parentNode.querySelectorAll(S),H||E.removeAttribute("id")}return[].slice.call(O)}s.$$=N,s.getXPathByElement=function(S,E){if(!S||S.nodeType!==Node.ELEMENT_NODE||!S.parentNode||E===S)return"";if(S.id)return"//*[@id='"+S.id+"']";var O=[].filter.call(S.parentNode.childNodes,function(H){return H.nodeName===S.nodeName});return(0,s.getXPathByElement)(S.parentNode,E)+"/"+S.nodeName.toLowerCase()+(O.length>1?"["+((0,_.toArray)(O).indexOf(S)+1)+"]":"")},s.refs=function(S){return z.Component.isInstanceOf(S,w.UIElement)&&(S=S.container),N("[ref],[data-ref]",S).reduce(function(E,O){var H=(0,y.attr)(O,"-ref");return H&&(0,v.isString)(H)&&(E[(0,C.camelCase)(H)]=O,E[H]=O),E},{})},s.cssPath=function(S){if(!x.Dom.isElement(S))return null;for(var E=[],O=S;O&&O.nodeType===Node.ELEMENT_NODE;){var H=O.nodeName.toLowerCase();if(O.id){E.unshift(H+="#"+O.id);break}var U=O,X=1;do{(U=U.previousElementSibling)&&U.nodeName.toLowerCase()===H&&X++}while(U);E.unshift(H+=":nth-of-type("+X+")"),O=O.parentNode}return E.join(" > ")},s.resolveElement=function(S,E){var O=S;if((0,v.isString)(S))try{O=E.querySelector(S)}catch(H){throw(0,y.error)('String "'+S+'" should be valid HTML selector')}if(!O||"object"!=typeof O||!x.Dom.isElement(O)||!O.cloneNode)throw(0,y.error)('Element "'+S+'" should be string or HTMLElement instance');return O}},21518:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.set=void 0;var h=o(24421),v=o(57649),y=o(49781),x=o(79736);s.set=function(C,_,w){if((0,h.isString)(C)&&C.length){for(var z=C.split("."),R=w,N=z[0],S=0;z.length-1>S;S+=1)(0,y.isArray)(R[N=z[S]])||(0,x.isPlainObject)(R[N])||(R[N]=(0,v.isNumeric)(z[S+1])?[]:{}),R=R[N];R&&(R[z[z.length-1]]=_)}}},37228:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.LimitedStack=void 0;var o=function(){function h(v){this.limit=v,this.stack=[]}return h.prototype.push=function(v){return this.stack.push(v),this.stack.length>this.limit&&this.stack.shift(),this},h.prototype.pop=function(){return this.stack.pop()},h.prototype.find=function(v){return this.stack.find(v)},h}();s.LimitedStack=o},67309:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getDataTransfer=s.memorizeExec=s.keys=s.loadImage=s.callPromise=s.markOwner=s.attr=s.call=void 0;var h=o(20255),v=o(42096),y=o(26335),x=o(24021),C=o(79736),_=o(24421),w=o(63122),z=o(26911),R=o(11278);function N(S,E,O){if(!S||!(0,v.isFunction)(S.getAttribute))return null;if(!(0,_.isString)(E))return Object.keys(E).forEach(function(X){var W=E[X];(0,C.isPlainObject)(W)&&"style"===X?(0,z.css)(S,W):("className"===X&&(X="class"),N(S,X,W))}),null;var H=(0,R.CamelCaseToKebabCase)(E);if(/^-/.test(H)){var U=N(S,"data".concat(H));if(U)return U;H=H.substr(1)}if(void 0!==O){if(null!=O)return S.setAttribute(H,O.toString()),O.toString();S.hasAttribute(H)&&S.removeAttribute(H)}return S.getAttribute(H)}s.call=function(S){for(var E=[],O=1;arguments.length>O;O++)E[O-1]=arguments[O];return S.apply(void 0,h.__spreadArray([],h.__read(E),!1))},s.attr=N,s.markOwner=function(S,E){N(E,"data-editor_id",S.id),!E.component&&Object.defineProperty(E,"jodit",{value:S})},s.callPromise=function(S,E){return(0,y.isPromise)(S)?S.finally(E):E()},s.loadImage=function(S,E){return E.async.promise(function(O,H){var U=new Image,X=function(){E.e.off(U),null==H||H()},W=function(){E.e.off(U),O(U)};E.e.one(U,"load",W).one(U,"error",X).one(U,"abort",X),U.src=S,U.complete&&W()})},s.keys=function(S,E){if(void 0===E&&(E=!0),E)return Object.keys(S);var O=[];for(var H in S)O.push(H);return O},s.memorizeExec=function(S,E,O,H){var U,X=O.control,W="button".concat(X.command),re=null!==(U=X.args&&X.args[0])&&void 0!==U?U:(0,w.dataBind)(S,W);if((0,x.isVoid)(re))return!1;(0,w.dataBind)(S,W,re),H&&(re=H(re)),S.execCommand(X.command,!1,null!=re?re:void 0)},s.getDataTransfer=function(S){if(S.clipboardData)return S.clipboardData;try{return S.dataTransfer||new DataTransfer}catch(E){return null}}},22362:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.val=void 0,s.val=function(o,h,v){var y=o.querySelector(h);return y?(v&&(y.value=v),y.value):""}},57549:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(44540),s),h.__exportStar(o(85605),s)},44540:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.PluginSystem=void 0;var h=o(20255),v=o(10172),y=o(62462),x=o(12557),C=o(19035),_=o(67309),w=o(17332),z=function(){function R(){this._items=new Map}return R.prototype.normalizeName=function(N){return(0,C.kebabCase)(N).toLowerCase()},R.prototype.items=function(N){var S=[];return this._items.forEach(function(E,O){S.push([O,E])}),S.filter(function(E){var O=h.__read(E,1);return!N||N.includes(O[0])})},R.prototype.add=function(N,S){this._items.set(this.normalizeName(N),S),w.eventEmitter.fire("plugin:".concat(N,":ready"))},R.prototype.get=function(N){return this._items.get(this.normalizeName(N))},R.prototype.remove=function(N){this._items.delete(this.normalizeName(N))},R.prototype.init=function(N){var S=this,E=N.o.extraPlugins.map(function(Ae){return(0,v.isString)(Ae)?{name:Ae}:Ae}),O=(0,x.splitArray)(N.o.disablePlugins).map(function(Ae){return S.normalizeName(Ae)}),H=[],U={},X=[],W={},re=function(Ae){var Se=h.__read(Ae,2),De=Se[0],qe=Se[1];if(!(O.includes(De)||H.includes(De)||U[De])){var rt=null==qe?void 0:qe.requires;if(!(rt&&(0,v.isArray)(rt)&&S.hasDisabledRequires(O,rt))){var ot=R.makePluginInstance(N,qe);ot&&(S.initOrWait(N,De,ot,H,U),X.push(ot),W[De]=ot)}}},pe=this.loadExtras(N,E);return(0,_.callPromise)(pe,function(){N.isInDestruct||(S.items(N.o.safeMode?N.o.safePluginsList.concat(E.map(function(Ae){return Ae.name})):null).forEach(re),S.addListenerOnBeforeDestruct(N,X),N.__plugins=W)})},R.prototype.wait=function(N){var S=this;return new Promise(function(E){if(S.get(N))return E();var O=function(){E(),w.eventEmitter.off("plugin:".concat(N,":ready"),O)};w.eventEmitter.on("plugin:".concat(N,":ready"),O)})},R.prototype.hasDisabledRequires=function(N,S){return Boolean((null==S?void 0:S.length)&&N.some(function(E){return S.includes(E)}))},R.makePluginInstance=function(N,S){try{try{return(0,v.isFunction)(S)?new S(N):S}catch(E){if((0,v.isFunction)(S)&&!S.prototype)return S(N)}}catch(E){}return null},R.prototype.initOrWait=function(N,S,E,O,H){var U=function(X,W){if((0,v.isInitable)(W)){var re=W.requires;if((null==re?void 0:re.length)&&!re.every(function(pe){return O.includes(pe)}))return H[X]=W,!1;try{W.init(N)}catch(pe){}O.push(X)}else O.push(X);return W.hasStyle&&R.loadStyle(N,X),!0};U(S,E),Object.keys(H).forEach(function(X){var W=H[X];W&&U(X,W)&&(H[X]=void 0,delete H[X])})},R.prototype.addListenerOnBeforeDestruct=function(N,S){N.e.on("beforeDestruct",function(){S.forEach(function(E){(0,v.isDestructable)(E)&&E.destruct(N)}),S.length=0,delete N.__plugins})},R.prototype.load=function(N,S){return Promise.all(S.map(function(E){var O=E.url||R.getFullUrl(N,E.name,!0);return(0,y.appendScriptAsync)(N,O).then(function(H){return{v:H,status:"fulfilled"}},function(H){return{e:H,status:"rejected"}})}))},R.loadStyle=function(N,S){return h.__awaiter(this,void 0,Promise,function(){var E;return h.__generator(this,function(O){return E=R.getFullUrl(N,S,!1),this.styles.has(E)?[2]:(this.styles.add(E),[2,(0,y.appendStyleAsync)(N,E)])})})},R.getFullUrl=function(N,S,E){return S=(0,C.kebabCase)(S),N.basePath+"plugins/"+S+"/"+S+"."+(E?"js":"css")},R.prototype.loadExtras=function(N,S){var E=this;if(S&&S.length)try{var O=S.filter(function(H){return!E._items.has(E.normalizeName(H.name))});if(O.length)return this.load(N,O)}catch(H){}},R.styles=new Set,R}();s.PluginSystem=z},85605:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Plugin=void 0;var h=o(20255),v=o(56562),y=o(43441),x=o(40332),C=function(_){function w(z){var R=_.call(this,z)||this;return R.requires=[],R.buttons=[],R.hasStyle=!1,z.e.on("afterPluginSystemInit",function(){var N;(0,x.isJoditObject)(z)&&(null===(N=R.buttons)||void 0===N||N.forEach(function(S){z.registerButton(S)}))}).on("afterInit",function(){R.setStatus(v.STATUSES.ready),R.afterInit(z)}).on("beforeDestruct",R.destruct),R}return h.__extends(w,_),w.prototype.className=function(){return""},w.prototype.init=function(z){},w.prototype.destruct=function(){var z,R,N;if(this.isReady){this.setStatus(v.STATUSES.beforeDestruct);var S=this.j;(0,x.isJoditObject)(S)&&(null===(z=this.buttons)||void 0===z||z.forEach(function(E){null==S||S.unregisterButton(E)})),null===(N=null===(R=this.j)||void 0===R?void 0:R.events)||void 0===N||N.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),_.prototype.destruct.call(this)}},h.__decorate([y.autobind],w.prototype,"destruct",null),w}(v.ViewComponent);s.Plugin=C},9917:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Ajax=void 0;var h=o(20255),v=o(93166),y=o(40332),x=o(56964),C=o(86101),_=o(22630),w=o(43441);o(12144);var z=function(){function R(N,S){void 0===S&&(S=v.Config.prototype.defaultAjaxOptions),this.__async=new _.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,y.ConfigProto)(N||{},S),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}return R.prototype.__buildParams=function(N,S){return(0,y.isPlainObject)(N)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(N):(0,y.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,N,S):(0,y.isString)(N)||N instanceof window.FormData||"object"==typeof N&&null!=N&&(0,y.isFunction)(N.append)?N:(0,y.buildQuery)(N)},Object.defineProperty(R.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),R.prototype.abort=function(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(N){}return this},R.prototype.send=function(){var N=this;this.__activated=!0;var S=this.xhr,E=this.o,O=this.prepareRequest();return this.__async.promise(function(H,U){return h.__awaiter(N,void 0,void 0,function(){var X,W,re,pe,Ae,Se=this;return h.__generator(this,function(De){switch(De.label){case 0:return X=function(){Se.__isFulfilled=!0,U(x.connection("Connection error"))},S.onload=W=function(){Se.__isFulfilled=!0,H(new C.Response(O,S.status,S.statusText,S.responseType?S.response:S.responseText))},S.onabort=function(){Se.__isFulfilled=!0,U(x.abort("Abort connection"))},S.onerror=X,S.ontimeout=X,E.responseType&&(S.responseType=E.responseType),S.onprogress=function(qe){var rt,ot,vt=0;qe.lengthComputable&&(vt=qe.loaded/qe.total*100),null===(ot=(rt=Se.options).onProgress)||void 0===ot||ot.call(rt,vt)},S.onreadystatechange=function(){var qe,rt;null===(rt=(qe=Se.options).onProgress)||void 0===rt||rt.call(qe,10),S.readyState===XMLHttpRequest.DONE&&(E.successStatuses.includes(S.status)?W():S.statusText&&(Se.__isFulfilled=!0,U(x.connection(S.statusText))))},S.withCredentials=null!==(Ae=E.withCredentials)&&void 0!==Ae&&Ae,re=O.data,S.open(O.method,O.url,!0),E.contentType&&S.setRequestHeader&&S.setRequestHeader("Content-type",E.contentType),(0,y.isFunction)(pe=E.headers)?[4,pe.call(this)]:[3,2];case 1:pe=De.sent(),De.label=2;case 2:return pe&&S.setRequestHeader&&Object.keys(pe).forEach(function(qe){S.setRequestHeader(qe,pe[qe])}),this.__async.setTimeout(function(){S.send(re?Se.__buildParams(re):void 0)},0),[2]}})})})},R.prototype.prepareRequest=function(){if(!this.o.url)throw x.error("Need URL for AJAX request");var N=this.o.url,S=this.o.data,E=(this.o.method||"get").toLowerCase();if("get"===E&&S&&(0,y.isPlainObject)(S)){var O=N.indexOf("?");if(-1!==O){var H=(0,y.parseQuery)(N);N=N.substring(0,O)+"?"+(0,y.buildQuery)(h.__assign(h.__assign({},H),S))}else N+="?"+(0,y.buildQuery)(this.o.data)}var U={url:N,method:E,data:S};return R.log.splice(100),R.log.push(U),U},R.prototype.destruct=function(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())},R.log=[],h.__decorate([w.autobind],R.prototype,"destruct",null),R}();s.Ajax=z},12144:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:function(){return new XMLHttpRequest}}},30056:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(9917),s),h.__exportStar(o(86101),s)},86101:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Response=void 0;var h=o(20255),v=function(){function y(x,C,_,w){this.request=x,this.status=C,this.statusText=_,this.body=w}return Object.defineProperty(y.prototype,"url",{get:function(){return this.request.url},enumerable:!1,configurable:!0}),y.prototype.json=function(){return h.__awaiter(this,void 0,Promise,function(){return h.__generator(this,function(x){return[2,JSON.parse(this.body)]})})},y.prototype.text=function(){return Promise.resolve(this.body)},y.prototype.blob=function(){return h.__awaiter(this,void 0,Promise,function(){return h.__generator(this,function(x){return[2,this.body]})})},y}();s.Response=v},10109:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(287),s),h.__exportStar(o(10264),s)},287:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.moveNodeInsideStart=void 0;var h=o(64968),v=o(86893);s.moveNodeInsideStart=function(y,x,C){for(var _=h.Dom.findSibling(x,C),w=h.Dom.findSibling(x,!C);h.Dom.isElement(_)&&!h.Dom.isTag(_,v.INSEPARABLE_TAGS)&&h.Dom.isContentEditable(_,y.editor)&&(!w||!h.Dom.closest(x,h.Dom.isElement,y.editor));)C||!_.firstChild?_.appendChild(x):h.Dom.before(_.firstChild,x),_=h.Dom.sibling(x,C),w=h.Dom.sibling(x,!C)}},10264:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.moveTheNodeAlongTheEdgeOutward=void 0;var h=o(64968);s.moveTheNodeAlongTheEdgeOutward=function(v,y,x){for(var C=v;C&&C!==x;){if(h.Dom.findSibling(C,y))return;(C=C.parentElement)&&C!==x&&(y?h.Dom.before(C,v):h.Dom.after(C,v))}}},2123:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(70851),s),h.__exportStar(o(77627),s)},2047:function(){},77627:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Select=void 0;var h=o(20255),v=o(86893),y=o(86893),x=o(64968),C=o(40332),_=o(70851),w=o(43441),z=o(10109),R=(o(52378),o(10172));o(2047);var N=function(){function S(E){var O=this;this.jodit=E,E.e.on("removeMarkers",function(){O.removeMarkers()})}return Object.defineProperty(S.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),S.prototype.errorNode=function(E){if(!x.Dom.isNode(E))throw(0,C.error)("Parameter node must be instance of Node")},Object.defineProperty(S.prototype,"area",{get:function(){return this.j.editor},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"win",{get:function(){return this.j.ew},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"doc",{get:function(){return this.j.ed},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"sel",{get:function(){return this.j.o.shadowRoot&&(0,R.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"range",{get:function(){var E=this.sel;return E&&E.rangeCount?E.getRangeAt(0):this.createRange()},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isInsideArea",{get:function(){var E=this.sel,O=(null==E?void 0:E.rangeCount)?E.getRangeAt(0):null;return!(!O||!x.Dom.isOrContains(this.area,O.startContainer))},enumerable:!1,configurable:!0}),S.prototype.createRange=function(E){void 0===E&&(E=!1);var O=this.doc.createRange();return E&&this.selectRange(O),O},S.prototype.remove=function(){var E=this.sel,O=this.current();if(E&&O)for(var H=0;E.rangeCount>H;H+=1)E.getRangeAt(H).deleteContents(),E.getRangeAt(H).collapse(!0)},S.prototype.clear=function(){var E,O;(null===(E=this.sel)||void 0===E?void 0:E.rangeCount)&&(null===(O=this.sel)||void 0===O||O.removeAllRanges())},S.prototype.removeNode=function(E){if(!x.Dom.isOrContains(this.j.editor,E,!0))throw(0,C.error)("Selection.removeNode can remove only editor's children");x.Dom.safeRemove(E),this.j.e.fire("afterRemoveNode",E)},S.prototype.insertCursorAtPoint=function(E,O){var H=this;this.removeMarkers();try{var U=this.createRange();return function(){if(H.doc.caretPositionFromPoint&&(X=H.doc.caretPositionFromPoint(E,O)))U.setStart(X.offsetNode,X.offset);else if(H.doc.caretRangeFromPoint){var X=H.doc.caretRangeFromPoint(E,O);U.setStart(X.startContainer,X.startOffset)}}(),U.collapse(!0),this.selectRange(U),!0}catch(X){}return!1},Object.defineProperty(S.prototype,"hasMarkers",{get:function(){return Boolean(this.markers.length)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"markers",{get:function(){return(0,C.$$)("span[data-"+v.MARKER_CLASS+"]",this.area)},enumerable:!1,configurable:!0}),S.prototype.removeMarkers=function(){x.Dom.safeRemove.apply(null,this.markers)},S.prototype.marker=function(E,O){void 0===E&&(E=!1);var H=null;O&&(H=O.cloneRange()).collapse(E);var U=this.j.createInside.span();return U.id=v.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),U.style.lineHeight="0",U.style.display="none",x.Dom.markTemporary(U),(0,C.attr)(U,"data-"+v.MARKER_CLASS,E?"start":"end"),U.appendChild(this.j.createInside.text(v.INVISIBLE_SPACE)),H&&x.Dom.isOrContains(this.area,E?H.startContainer:H.endContainer)&&H.insertNode(U),U},S.prototype.restore=function(){var E=!1,O=function(W){return"span[data-".concat(v.MARKER_CLASS,"=").concat(W?"start":"end","]")},H=this.area.querySelector(O(!0)),U=this.area.querySelector(O(!1));if(H){if(E=this.createRange(),U)E.setStartAfter(H),x.Dom.safeRemove(H),E.setEndBefore(U),x.Dom.safeRemove(U);else{var X=H.previousSibling;x.Dom.isText(X)?E.setStart(X,X.nodeValue?X.nodeValue.length:0):E.setStartBefore(H),x.Dom.safeRemove(H),E.collapse(!0)}E&&this.selectRange(E)}},S.prototype.save=function(E){if(void 0===E&&(E=!1),this.hasMarkers)return[];var O=this.sel;if(!O||!O.rangeCount)return[];for(var H=[],U=O.rangeCount,X=[],W=0;U>W;W+=1)if(X[W]=O.getRangeAt(W),X[W].collapsed){var re=this.marker(!0,X[W]);H[W]={startId:re.id,collapsed:!0,startMarker:re.outerHTML}}else{re=this.marker(!0,X[W]);var pe=this.marker(!1,X[W]);H[W]={startId:re.id,endId:pe.id,collapsed:!1,startMarker:re.outerHTML,endMarker:pe.outerHTML}}if(!E)for(O.removeAllRanges(),W=U-1;W>=0;--W){var Ae=this.doc.getElementById(H[W].startId);if(Ae)if(H[W].collapsed)X[W].setStartAfter(Ae),X[W].collapse(!0);else if(X[W].setStartBefore(Ae),H[W].endId){var Se=this.doc.getElementById(H[W].endId);Se&&X[W].setEndAfter(Se)}try{O.addRange(X[W].cloneRange())}catch(De){}}return H},S.prototype.focus=function(E){var O,H;if(void 0===E&&(E={preventScroll:!0}),!this.isFocused()){var U=(0,C.getScrollParent)(this.j.container),X=null==U?void 0:U.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(E),this.win.focus(),this.area.focus(E),X&&(null==U?void 0:U.scrollTo)&&U.scrollTo(0,X);var W=this.sel,re=(null==W?void 0:W.rangeCount)?null==W?void 0:W.getRangeAt(0):null;if(!re||!x.Dom.isOrContains(this.area,re.startContainer)){var pe=this.createRange();pe.setStart(this.area,0),pe.collapse(!0),this.selectRange(pe,!1)}return this.j.editorIsActive||null===(H=null===(O=this.j)||void 0===O?void 0:O.events)||void 0===H||H.fire("focus"),!0}return!1},S.prototype.isCollapsed=function(){for(var E=this.sel,O=0;E&&E.rangeCount>O;O+=1)if(!E.getRangeAt(O).collapsed)return!1;return!0},S.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},S.prototype.current=function(E){if(void 0===E&&(E=!0),this.j.getRealMode()===v.MODE_WYSIWYG){var O=this.sel;if(!O||0===O.rangeCount)return null;var H=O.getRangeAt(0),U=H.startContainer,X=!1,W=function(Se){return X?Se.lastChild:Se.firstChild};if(x.Dom.isTag(U,"br")&&O.isCollapsed)return U;if(!x.Dom.isText(U)){if((U=H.startContainer.childNodes[H.startOffset])||(U=H.startContainer.childNodes[H.startOffset-1],X=!0),U&&O.isCollapsed&&!x.Dom.isText(U))if(!X&&x.Dom.isText(U.previousSibling))U=U.previousSibling;else if(E)for(var re=W(U);re;){if(re&&x.Dom.isText(re)){U=re;break}re=W(re)}if(U&&!O.isCollapsed&&!x.Dom.isText(U)){var pe=U,Ae=U;do{pe=pe.firstChild,Ae=Ae.lastChild}while(pe&&Ae&&!x.Dom.isText(pe));pe===Ae&&pe&&x.Dom.isText(pe)&&(U=pe)}}if(U&&x.Dom.isOrContains(this.area,U))return U}return null},S.prototype.insertNode=function(E,O,H){var U=this;void 0===O&&(O=!0),void 0===H&&(H=!0),this.errorNode(E),this.j.e.fire("safeHTML",E),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());var X=this.sel;this.j.history.snapshot.transaction(function(){var W;if(U.isCollapsed()||U.j.execCommand("Delete"),U.j.e.fire("beforeInsertNode",E),X&&X.rangeCount){var re=X.getRangeAt(0);x.Dom.isOrContains(U.area,re.commonAncestorContainer)?x.Dom.isTag(re.startContainer,y.INSEPARABLE_TAGS)&&re.collapsed?null===(W=re.startContainer.parentNode)||void 0===W||W.insertBefore(E,re.startContainer):x.Dom.safeInsertNode(re,E):U.area.appendChild(E)}else U.area.appendChild(E);O&&(E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.lastChild&&U.setCursorAfter(E.lastChild):U.setCursorAfter(E))}),H&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",E)},S.prototype.insertHTML=function(E,O){if(void 0===O&&(O=!0),""!==E){var H,U=this.j.createInside.div(),X=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),x.Dom.isNode(E)?U.appendChild(E):U.innerHTML=E.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",U.innerHTML))&&(H=U.lastChild)){for(;U.firstChild;)H=U.firstChild,X.appendChild(U.firstChild);this.insertNode(X.firstChild&&X.firstChild===X.lastChild?X.lastChild:X,!1,!1),O&&(H?this.setCursorAfter(H):this.setCursorIn(X)),this.j.__imdSynchronizeValues()}}},S.prototype.insertImage=function(E,O,H){void 0===O&&(O=null),void 0===H&&(H=null);var U=(0,R.isString)(E)?this.j.createInside.element("img"):E;if((0,R.isString)(E)&&U.setAttribute("src",E),null!=H){var X=H.toString();X&&"auto"!==X&&0>String(X).indexOf("px")&&0>String(X).indexOf("%")&&(X+="px"),(0,C.call)(this.j.o.resizer.forImageChangeAttributes?C.attr:C.css,U,"width",X)}O&&"object"==typeof O&&(0,C.css)(U,O);var W=function(){(U.offsetHeight>U.naturalHeight||U.offsetWidth>U.naturalWidth)&&(U.style.width="",U.style.height=""),U.removeEventListener("load",W)};this.j.e.on(U,"load",W),U.complete&&W(),this.insertNode(U),this.j.e.fire("afterInsertImage",U)},S.prototype.eachSelection=function(E){var O,H=this,U=this.sel;if(U&&U.rangeCount){var X=U.getRangeAt(0),W=X.commonAncestorContainer;x.Dom.isHTMLElement(W)||(W=W.parentElement);var re=[],pe=X.startOffset,Ae=W.childNodes.length,Se=X.startContainer===this.area?W.childNodes[Ae>pe?pe:Ae-1]:X.startContainer,De=X.endContainer===this.area?W.childNodes[X.endOffset-1]:X.endContainer;x.Dom.isText(Se)&&Se===X.startContainer&&X.startOffset===(null===(O=Se.nodeValue)||void 0===O?void 0:O.length)&&Se.nextSibling&&(Se=Se.nextSibling),x.Dom.isText(De)&&De===X.endContainer&&0===X.endOffset&&De.previousSibling&&(De=De.previousSibling);var qe=function(ot){!ot||ot===W||x.Dom.isEmptyTextNode(ot)||(0,R.isMarker)(ot)||re.push(ot)};qe(Se),Se!==De&&x.Dom.isOrContains(W,Se,!0)&&x.Dom.find(Se,function(ot){return qe(ot),ot===De||ot&&ot.contains&&ot.contains(De)},W,!0,!1);var rt=function(ot){if(x.Dom.isOrContains(H.j.editor,ot,!0)){if(ot.nodeName.match(/^(UL|OL)$/))return(0,C.toArray)(ot.childNodes).forEach(rt);if(x.Dom.isTag(ot,"li"))if(ot.firstChild)ot=ot.firstChild;else{var vt=H.j.createInside.text(y.INVISIBLE_SPACE);ot.appendChild(vt),ot=vt}E(ot)}};0===re.length&&x.Dom.isEmptyTextNode(Se)&&re.push(Se),0===re.length&&Se.firstChild&&re.push(Se.firstChild),re.forEach(rt)}},S.prototype.cursorInTheEdge=function(E,O){var H,U,X=this,W=!E,re=null===(H=this.sel)||void 0===H?void 0:H.getRangeAt(0),pe=this.current(!1);if(!re||!pe||!x.Dom.isOrContains(O,pe,!0))return null;var Ae=E?re.startContainer:re.endContainer,Se=E?re.startOffset:re.endOffset,De=function(Xt){return Boolean(Xt&&!x.Dom.isTag(Xt,"br")&&!x.Dom.isEmptyTextNode(Xt)&&!x.Dom.isTemporary(Xt)&&!(x.Dom.isElement(Xt)&&!0===X.j.e.fire("isInvisibleForCursor",Xt)))};if(x.Dom.isText(Ae)){var qe=(null===(U=Ae.nodeValue)||void 0===U?void 0:U.length)?Ae.nodeValue:"";if(W&&qe.replace((0,y.INVISIBLE_SPACE_REG_EXP_END)(),"").length>Se)return!1;var rt=(0,y.INVISIBLE_SPACE_REG_EXP_START)().exec(qe);if(E&&(rt&&Se>rt[0].length||!rt&&Se>0))return!1}else{var ot=(0,C.toArray)(Ae.childNodes);if(W){if(ot.slice(Se).some(De))return!1}else if(ot.slice(0,Se).some(De))return!1}for(var vt=pe;vt&&vt!==O;){var rn=x.Dom.sibling(vt,E);if(rn){if((vt=rn)&&De(vt))return!1}else vt=vt.parentNode}return!0},S.prototype.cursorOnTheLeft=function(E){return this.cursorInTheEdge(!0,E)},S.prototype.cursorOnTheRight=function(E){return this.cursorInTheEdge(!1,E)},S.prototype.setCursorAfter=function(E){return this.setCursorNearWith(E,!1)},S.prototype.setCursorBefore=function(E){return this.setCursorNearWith(E,!0)},S.prototype.setCursorNearWith=function(E,O){var H,U,X=this;if(this.errorNode(E),!x.Dom.up(E,function(pe){return pe===X.area||pe&&pe.parentNode===X.area},this.area))throw(0,C.error)("Node element must be in editor");var W=this.createRange(),re=null;return x.Dom.isText(E)?O?W.setStart(E,0):W.setEnd(E,null!==(U=null===(H=E.nodeValue)||void 0===H?void 0:H.length)&&void 0!==U?U:0):(re=this.j.createInside.text(v.INVISIBLE_SPACE),O?W.setStartBefore(E):W.setEndAfter(E),W.collapse(O),x.Dom.safeInsertNode(W,re),W.selectNode(re)),W.collapse(O),this.selectRange(W),re},S.prototype.setCursorIn=function(E,O){var H=this;if(void 0===O&&(O=!1),this.errorNode(E),!x.Dom.up(E,function(pe){return pe===H.area||pe&&pe.parentNode===H.area},this.area))throw(0,C.error)("Node element must be in editor");var U=this.createRange(),X=E,W=E;do{if(x.Dom.isText(X))break;W=X,X=O?X.firstChild:X.lastChild}while(X);if(!X){var re=this.j.createInside.text(v.INVISIBLE_SPACE);/^(img|br|input)$/i.test(W.nodeName)?X=W:(W.appendChild(re),W=re)}return U.selectNodeContents(X||W),U.collapse(O),this.selectRange(U),W},S.prototype.selectRange=function(E,O){void 0===O&&(O=!0);var H=this.sel;return O&&!this.isFocused()&&this.focus(),H&&(H.removeAllRanges(),H.addRange(E)),this.j.e.fire("changeSelection"),this},S.prototype.select=function(E,O){var H=this;if(void 0===O&&(O=!1),this.errorNode(E),!x.Dom.up(E,function(X){return X===H.area||X&&X.parentNode===H.area},this.area))throw(0,C.error)("Node element must be in editor");var U=this.createRange();return U[O?"selectNodeContents":"selectNode"](E),this.selectRange(U)},Object.defineProperty(S.prototype,"html",{get:function(){var E=this.sel;if(E&&E.rangeCount>0){var O=E.getRangeAt(0).cloneContents(),H=this.j.createInside.div();return H.appendChild(O),H.innerHTML}return""},enumerable:!1,configurable:!0}),S.prototype.wrapInTagGen=function(){var E,O,H,U,X,W,re,pe,Ae,Se,De;return h.__generator(this,function(qe){switch(qe.label){case 0:return this.isCollapsed()?(W=this.jodit.createInside.element("font",y.INVISIBLE_SPACE),this.insertNode(W,!1,!1),E=h.__read(this.markers,1),(O=E[0])?W.appendChild(O):(this.setCursorIn(W),this.save()),[4,W]):[3,2];case 1:return qe.sent(),x.Dom.unwrap(W),[2];case 2:(0,C.$$)("*[style*=font-size]",this.area).forEach(function(rt){return(0,C.attr)(rt,"data-font-size",rt.style.fontSize.toString())}),this.isCollapsed()?(W=this.j.createInside.element("font"),(0,C.attr)(W,"size",7),this.insertNode(W,!1,!1)):this.j.nativeExecCommand("fontsize",!1,"7"),(0,C.$$)("*[data-font-size]",this.area).forEach(function(rt){var ot=(0,C.attr)(rt,"data-font-size");ot&&(rt.style.fontSize=ot,(0,C.attr)(rt,"data-font-size",null))}),H=(0,C.$$)('font[size="7"]',this.area),qe.label=3;case 3:qe.trys.push([3,8,9,10]),U=h.__values(H),X=U.next(),qe.label=4;case 4:return X.done?[3,7]:(pe=(W=X.value).lastChild,(re=W.firstChild)&&re===pe&&(0,R.isMarker)(re)?(x.Dom.unwrap(W),[3,6]):(re&&(0,R.isMarker)(re)&&x.Dom.before(W,re),pe&&(0,R.isMarker)(pe)&&x.Dom.after(W,pe),[4,W]));case 5:qe.sent(),x.Dom.unwrap(W),qe.label=6;case 6:return X=U.next(),[3,4];case 7:return[3,10];case 8:return Ae=qe.sent(),Se={error:Ae},[3,10];case 9:try{X&&!X.done&&(De=U.return)&&De.call(U)}finally{if(Se)throw Se.error}return[7];case 10:return[2]}})},S.prototype.wrapInTag=function(E){var O,H,U=[];try{for(var X=h.__values(this.wrapInTagGen()),W=X.next();!W.done;W=X.next()){var re=W.value;try{if(re.firstChild&&re.firstChild===re.lastChild&&(0,R.isMarker)(re.firstChild))continue;(0,R.isFunction)(E)?E(re):U.push(x.Dom.replace(re,E,this.j.createInside))}finally{var pe=re.parentNode;pe&&(x.Dom.unwrap(re),x.Dom.isEmpty(pe)&&x.Dom.unwrap(pe))}}}catch(Ae){O={error:Ae}}finally{try{W&&!W.done&&(H=X.return)&&H.call(X)}finally{if(O)throw O.error}}return U},S.prototype.commitStyle=function(E){new _.CommitStyle(E).apply(this.j)},S.prototype.applyStyle=function(E,O){void 0===O&&(O={}),this.commitStyle(h.__assign({style:E},O))},S.prototype.splitSelection=function(E){if(!this.isCollapsed())return null;var O=this.createRange(),H=this.range;O.setStartBefore(E);var U=this.cursorOnTheRight(E),X=this.cursorOnTheLeft(E),W=this.j.createInside.element("br"),re=this.j.createInside.text(y.INVISIBLE_SPACE),pe=re.cloneNode();try{if(U||X){x.Dom.safeInsertNode(H,W);var Ae=function(ot,vt){for(var rn=vt(ot);rn;){var Xt=vt(rn);if(!rn||!x.Dom.isTag(rn,"br")&&!x.Dom.isEmptyTextNode(rn))break;x.Dom.safeRemove(rn),rn=Xt}};Ae(W,function(ot){return ot.nextSibling}),Ae(W,function(ot){return ot.previousSibling}),x.Dom.after(W,pe),x.Dom.before(W,re),U?(O.setEndBefore(W),H.setEndBefore(W)):(O.setEndAfter(W),H.setEndAfter(W))}else O.setEnd(H.startContainer,H.startOffset);var Se=O.extractContents(),De=function(ot){return x.Dom.each(ot,function(vt){return x.Dom.isEmptyTextNode(vt)&&x.Dom.safeRemove(vt)})};if(E.parentNode)try{if(De(Se),De(E),E.parentNode.insertBefore(Se,E),U&&(null==W?void 0:W.parentNode)){var qe=this.createRange();qe.setStartBefore(W),this.selectRange(qe)}}catch(ot){}var rt=function(ot){var vt,rn,Xt;(null===(vt=null==ot?void 0:ot.parentNode)||void 0===vt?void 0:vt.firstChild)===(null===(rn=null==ot?void 0:ot.parentNode)||void 0===rn?void 0:rn.lastChild)&&(null===(Xt=null==ot?void 0:ot.parentNode)||void 0===Xt||Xt.appendChild(W.cloneNode()))};rt(re),rt(pe)}finally{x.Dom.safeRemove(re),x.Dom.safeRemove(pe)}return E.previousElementSibling},S.prototype.expandSelection=function(){var E=this;if(this.isCollapsed())return this;var O=this.range,H=O.cloneRange();if(!x.Dom.isOrContains(this.j.editor,O.commonAncestorContainer,!0))return this;var U=function(rt){var ot=E.j.createInside.fake(),vt=O.cloneRange();return vt.collapse(rt),x.Dom.safeInsertNode(vt,ot),(0,z.moveTheNodeAlongTheEdgeOutward)(ot,rt,E.j.editor),ot},X=U(!0),W=U(!1);H.setStartAfter(X),H.setEndBefore(W);var re=x.Dom.findSibling(X,!1),pe=x.Dom.findSibling(W,!0);if(re!==pe){var Ae=x.Dom.isElement(re)&&x.Dom.isOrContains(re,W),Se=!Ae&&x.Dom.isElement(pe)&&x.Dom.isOrContains(pe,X);if(Ae||Se){for(var De=Ae?re:pe,qe=De;x.Dom.isElement(De);)(De=Ae?De.firstElementChild:De.lastElementChild)&&x.Dom.isOrContains(De,Ae?W:X)&&(qe=De);Ae?H.setStart(qe,0):H.setEnd(qe,qe.childNodes.length)}}return this.selectRange(H),x.Dom.safeRemove(X,W),this},h.__decorate([w.autobind],S.prototype,"createRange",null),h.__decorate([w.autobind],S.prototype,"focus",null),h.__decorate([w.autobind],S.prototype,"setCursorAfter",null),h.__decorate([w.autobind],S.prototype,"setCursorBefore",null),h.__decorate([w.autobind],S.prototype,"setCursorIn",null),S}();s.Select=N},77846:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.extractSelectedPart=void 0;var h=o(67309),v=o(33941),y=o(24263),x=o(37204);function C(_,w,z){var R=w.extractContents();R.textContent&&(0,v.trim)(R.textContent).length||!R.firstChild||y.Dom.unwrap(R.firstChild),_.parentNode&&(0,h.call)(z?y.Dom.before:y.Dom.after,_,R)}s.extractSelectedPart=function(_,w,z){var R=z.s.createRange(),N=(0,x.isMarker)(w.previousSibling)?w.previousSibling:w;R.setStartBefore(_),R.setEndBefore(N),C(_,R,!0);var S=(0,x.isMarker)(w.nextSibling)?w.nextSibling:w;R.setStartAfter(S),R.setEndAfter(_),C(_,R,!1)}},95901:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.FiniteStateMachine=void 0,o(24421),o(603);var h=function(){function v(y,x){this.transitions=x,this.silent=!0,this.__previewsStates=new Set,this.setState(y)}return v.prototype.setState=function(y){this.__previewsStates.add(y),this.__state=y},v.prototype.getState=function(){return this.__state},v.prototype.disableSilent=function(){this.silent=!1},v.prototype.dispatch=function(y,x){var C=this.transitions[this.getState()][y];if(C){var _=C.call(this,x);return this.setState(_.next),_}throw new Error("invalid action: ".concat(this.getState(),".").concat(y.toString()))},v}();s.FiniteStateMachine=h},65774:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getSuitChild=void 0;var h=o(24263),v=o(63150),y=o(74477);s.getSuitChild=function(x,C){for(var _=C.firstChild;_&&!(0,v.isNormalNode)(_);)if(!(_=_.nextSibling))return null;return _&&!h.Dom.next(_,v.isNormalNode,C)&&(0,y.isSuitElement)(x,_,!1)?_:null}},66277:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getSuitParent=void 0;var h=o(24263),v=o(63150),y=o(74477);s.getSuitParent=function x(C,_,w){var z=_.parentNode;return z===w||!h.Dom.isHTMLElement(z)||h.Dom.next(_,v.isNormalNode,z)||h.Dom.prev(_,v.isNormalNode,z)?null:C.isElementCommit&&C.elementIsBlock&&!h.Dom.isBlock(z)?x(C,z,w):!(0,y.isSuitElement)(C,z,!1)||h.Dom.isBlock(z)&&!C.elementIsBlock?C.isElementCommit&&!h.Dom.isBlock(z)?x(C,z,w):null:z}},18387:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hasSameStyleKeys=s.hasSameStyle=void 0;var h=o(26911),v=o(24021),y=o(49353),x=o(24263);o(52378),s.hasSameStyle=function(C,_){return Boolean(!x.Dom.isTag(C,"font")&&x.Dom.isHTMLElement(C)&&Object.keys(_).every(function(w){var z=(0,h.css)(C,w,!0);return""===z&&(""===_[w]||null==_[w])||!(0,v.isVoid)(z)&&""!==z&&!(0,v.isVoid)(_[w])&&(0,y.normalizeCssValue)(w,_[w]).toString().toLowerCase()===z.toString().toLowerCase()}))},document.createElement("div").style.color="red",s.hasSameStyleKeys=function(C,_){return Boolean(!x.Dom.isTag(C,"font")&&x.Dom.isHTMLElement(C)&&Object.keys(_).every(function(w){var z=(0,h.css)(C,w,!0);return!(0,v.isVoid)(z)}))}},66162:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(93217),s),h.__exportStar(o(11651),s),h.__exportStar(o(29271),s),h.__exportStar(o(18387),s),h.__exportStar(o(77846),s),h.__exportStar(o(95901),s),h.__exportStar(o(65774),s),h.__exportStar(o(66277),s),h.__exportStar(o(76991),s),h.__exportStar(o(47508),s),h.__exportStar(o(63150),s),h.__exportStar(o(74477),s),h.__exportStar(o(26707),s),h.__exportStar(o(8298),s),h.__exportStar(o(6278),s)},76991:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isInsideInvisibleElement=void 0;var h=o(24263);s.isInsideInvisibleElement=function(v,y){return Boolean(h.Dom.closest(v,["style","script"],y))}},63150:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isNormalNode=void 0;var h=o(24263),v=o(37204);s.isNormalNode=function(y){return Boolean(y&&!h.Dom.isEmptyTextNode(y)&&!h.Dom.isTemporary(y)&&!(0,v.isMarker)(y))}},47508:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.elementsEqualAttributes=s.isSameAttributes=void 0;var h=o(76502),v=o(16492),y=(o(52378),o(18387));s.isSameAttributes=function(x,C){return!x.attributes.length&&!(0,v.size)(C)||!(0,v.size)(C)||Object.keys(C).every(function(_){return"class"===_?x.classList.contains(C[_]):"style"===_?(0,y.hasSameStyle)(x,C[_]):(0,h.attr)(x,_)===C[_]})},s.elementsEqualAttributes=function(x,C){return x.attributes.length===C.attributes.length&&Array.from(x.attributes).every(function(_){return C.hasAttribute(_.name)&&C.getAttribute(_.name)===_.value})}},74477:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isSameStyleChild=s.findSuitClosest=s.isSuitElement=void 0;var h=o(24263),v=o(63150),y=o(18387);function x(C,_,w){var z;if(!_)return!1;var R=C.element,N=C.elementIsDefault,S=C.options,E=Boolean((null===(z=S.attributes)||void 0===z?void 0:z.style)&&(0,y.hasSameStyle)(_,S.attributes.style)),O=_.nodeName.toLowerCase()===R||h.Dom.isTag(_,["ul","ol"])&&C.elementIsList;return!((N&&w||!O)&&(!E||!(0,v.isNormalNode)(_)||C.elementIsList))||Boolean(!O&&!w&&N&&h.Dom.isInlineBlock(_))}s.isSuitElement=x,s.findSuitClosest=function(C,_,w){return h.Dom.closest(_,function(z){return x(C,z,!0)},w)},s.isSameStyleChild=function(C,_){var w,z,R=C.element,N=C.options;if(!_||!(0,v.isNormalNode)(_))return!1;var S=_.nodeName.toLowerCase()===R,E=Boolean((null===(w=N.attributes)||void 0===w?void 0:w.style)&&(0,y.hasSameStyleKeys)(_,null===(z=N.attributes)||void 0===z?void 0:z.style));return S&&E}},11651:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.toggleOrderedList=void 0;var h=o(24263),v=(o(52378),o(77846)),y=o(70851),x=o(93217),C=o(66162);function _(w,z,R,N,S){return N.e.fire("".concat(y._PREFIX,"BeforeUnwrapList"),w,z,S)||((0,v.extractSelectedPart)(z,R,N),h.Dom.unwrap(R.parentElement),h.Dom.replace(R,N.o.enter,N.createInside))}s.toggleOrderedList=function(w,z,R,N){if(!z)return N;var S=z.parentElement;if(!S)return N;var E=R.e.fire("".concat(y._PREFIX,"BeforeToggleList"),N,w,S);if(void 0!==E)return E;var O=R.e.fire.bind(R.e,"".concat(y._PREFIX,"AfterToggleList"));if(N!==y.UNWRAP){var H=(0,x.toggleAttributes)(w,z.parentElement,R,y.INITIAL,!0)===y.CHANGE;if(N===y.REPLACE||H||S.tagName.toLowerCase()!==w.element){var U=_(y.REPLACE,S,z,R,w),X=(0,C.wrapList)(w,U,R);return O(y.REPLACE,X,w),y.REPLACE}}var W=_(y.UNWRAP,S,z,R,w);return O(y.UNWRAP,W,w),y.UNWRAP}},29271:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.wrapList=void 0;var h=o(64968),v=o(70851),y=o(66162);s.wrapList=function(x,C,_){var w=_.e.fire("".concat(v._PREFIX,"BeforeWrapList"),v.REPLACE,C,x),z=null!=w?w:h.Dom.replace(C,"li",_.createInside),R=z.previousElementSibling,N=z.nextElementSibling,S=h.Dom.isTag(R,x.element)?R:null;return null!=S||(S=h.Dom.isTag(N,x.element)?N:null),h.Dom.isTag(S,["ul","ol"])&&(0,y.isSameAttributes)(S,x.options.attributes)||(S=_.createInside.element(x.element),(0,y.toggleAttributes)(x,S,_,v.INITIAL),h.Dom.before(z,S)),R===S?h.Dom.append(S,z):h.Dom.prepend(S,z),h.Dom.isTag(S.nextElementSibling,x.element)&&(0,y.elementsEqualAttributes)(S,S.nextElementSibling)&&(h.Dom.append(S,Array.from(S.nextElementSibling.childNodes)),h.Dom.safeRemove(S.nextElementSibling)),_.e.fire("".concat(v._PREFIX,"AfterWrapList"),v.WRAP,S,x),S}},93217:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.toggleAttributes=void 0;var h=o(76502),v=o(26911),y=o(63122),x=o(11278),C=o(49353),_=o(16492),w=o(24263),z=o(70851),R=o(17332),N=(o(10172),"toggleAttributes");function S(E,O,H){return(0,h.attr)(O,"style")||((0,h.attr)(O,"style",null),O.tagName.toLowerCase()===E.defaultTag&&(w.Dom.unwrap(O),H=z.UNWRAP)),H}s.toggleAttributes=function(E,O,H,U,X){if(void 0===X&&(X=!1),!X&&E.isApplied(O,N))return U;!X&&E.setApplied(O,N);var W=E.options.attributes;return W&&(0,_.size)(W)>0&&Object.keys(W).forEach(function(re){var Ae,Se,De,qe,rt,ot,pe=W[re];switch(re){case"style":Ae=E,Se=H,De=pe,qe=O,rt=X,ot=U,Object.keys(De).forEach(function(vt){var rn=qe.style.getPropertyValue((0,x.kebabCase)(vt)),Xt=De[vt];if(""!==rn||null!=Xt){if(function(fn,_n,hn){var vn=fn.create.element(_n.tagName.toLowerCase());vn.style.cssText=_n.style.cssText,function(dn){var Sn;if(void 0!==(0,y.dataBind)(dn,"shadowRoot"))return(0,y.dataBind)(dn,"shadowRoot");var si=(0,R.getContainer)(dn),cn=document.createElement("iframe");(0,v.css)(cn,{width:0,height:0,position:"absolute",border:0}),cn.src="about:blank",si.appendChild(cn);var yn=null===(Sn=cn.contentWindow)||void 0===Sn?void 0:Sn.document,qn=yn?yn.body:dn.od.body;return(0,y.dataBind)(dn,"shadowRoot",qn),qn}(fn).appendChild(vn);var xn=(0,v.css)(vn,hn);return w.Dom.safeRemove(vn),xn}(Se,qe,vt)===(0,C.normalizeCssValue)(vt,Xt))return rn?(!rt&&(0,v.css)(qe,vt,null),void(ot=S(Ae,qe,ot=z.UNSET))):void 0;ot=z.CHANGE,rt||((0,v.css)(qe,vt,Xt),ot=S(Ae,qe,ot))}}),U=ot;break;case"class":U=function(Ae,Se,De,qe,rt){var ot=Ae.e.fire.bind(Ae.e,"".concat(z._PREFIX,"AfterToggleAttribute"));return De.classList.contains(Se.toString())?(qe=z.UNSET,rt||(De.classList.remove(Se),0===De.classList.length&&((0,h.attr)(De,"class",null),ot(qe,De,"class",null)))):(qe=z.CHANGE,rt||(De.classList.add(Se),ot(qe,De,"class",Se))),qe}(H,pe,O,U,X);break;default:U=function(Ae,Se,De,qe,rt,ot){var vt=Ae.e.fire.bind(Ae.e,"".concat(z._PREFIX,"AfterToggleAttribute"));return(0,h.attr)(De,qe)===Se?(!rt&&(0,h.attr)(De,qe,null),ot=z.UNSET,!rt&&vt(ot,De,qe,Se),ot):(ot=z.CHANGE,rt||((0,h.attr)(De,qe,Se),vt(ot,De,qe,Se)),ot)}(H,pe,O,re,X,U)}}),U}},26707:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.unwrapChildren=void 0;var h=o(24263),v=o(40332),y=o(18387),x=o(74477);s.unwrapChildren=function(C,_){var w,z,R=[],N=[],S=null===(w=C.options.attributes)||void 0===w?void 0:w.style;if(_.firstChild)for(var E=h.Dom.eachGen(_),O=E.next(),H=function(){var U=O.value;!(0,x.isSuitElement)(C,U,!0)||S&&!(0,y.hasSameStyleKeys)(U,S)?S&&(0,x.isSameStyleChild)(C,U)?(void 0===z&&(z=!1),N.push(function(){(0,v.css)(U,Object.keys(S).reduce(function(X,W){return X[W]=null,X},{})),(0,v.attr)(U,"style")||(0,v.attr)(U,"style",null),(0,v.attr)(U,"style")||U.nodeName.toLowerCase()!==C.element||R.push(U)})):h.Dom.isEmptyTextNode(U)||void 0===z&&(z=!1):(void 0===z&&(z=!0),R.push(U)),O=E.next()};!O.done;)H();return N.forEach(function(U){return U()}),R.forEach(h.Dom.unwrap),Boolean(z)}},6278:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.wrapUnwrappedText=void 0;var h=o(24263),v=o(37204);s.wrapUnwrappedText=function(y,x,C){var _=C.editor,w=C.createInside,z=function(H,U){void 0===U&&(U="previousSibling");for(var X=H,W=H;W&&!(0,v.isMarker)(W)&&!h.Dom.isTag(W,C.o.enter)&&(X=W,W=W[U]?W[U]:W.parentNode&&!h.Dom.isBlock(W.parentNode)&&W.parentNode!==_?W.parentNode:null,!h.Dom.isBlock(W)););return X},R=z(x),N=z(x,"nextSibling"),S=C.s.createRange();S.setStartBefore(R),S.setEndAfter(N);var E=S.extractContents(),O=w.element(y.element);return O.appendChild(E),h.Dom.safeInsertNode(S,O),y.elementIsBlock&&h.Dom.isEmpty(O)&&!h.Dom.isTag(O.firstElementChild,"br")&&O.appendChild(w.element("br")),O}},8298:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.wrap=void 0;var h=o(64968),v=o(6278),y=o(67309),x=o(29271);s.wrap=function(C,_,w){var R,N,S,z=(N=_,S=w,(R=C).elementIsBlock?h.Dom.up(N,function(E){return h.Dom.isBlock(E)&&!h.Dom.isTag(E,["td","th","tr","tbody","table","li","ul","ol"])},S.editor)||(0,v.wrapUnwrappedText)(R,N,S):((0,y.attr)(N,"size",null),N));return C.elementIsList?(0,x.wrapList)(C,z,w):h.Dom.replace(z,C.element,w.createInside,!0)}},3097:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ApplyStyle=void 0;var h=o(74504),v=o(66162),y=o(33090),x=o(70851);s.ApplyStyle=function(C,_){var w=C.s,z=C.editor;w.save(),(0,h.normalizeNode)(z.firstChild);for(var R=C.s.wrapInTagGen(),N=R.next(),S={mode:x.INITIAL,element:N.value,next:y.states.START,jodit:C,style:_};N&&!N.done;){var E=new v.FiniteStateMachine(y.states.START,y.transactions);for(S.element=N.value;E.getState()!==y.states.END;)S=E.dispatch("exec",S);N=R.next()}w.restore()}},70851:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.CommitStyle=s._PREFIX=s.REPLACE=s.INITIAL=s.UNSET=s.CHANGE=s.UNWRAP=s.WRAP=void 0;var h=o(86893),v=o(26596),y=o(3097);s.WRAP="wrap",s.UNWRAP="unwrap",s.CHANGE="change",s.UNSET="unset",s.INITIAL="initial",s.REPLACE="replace",s._PREFIX="commitStyle";var x=function(){function C(_){var w,z,R,N;this.options=_,this.__applyMap=new WeakMap,_.attributes=(w=_.attributes,N=(z=this.options).className,(R=z.style)&&(w?w.style=R:w={style:R},delete this.options.style),N&&(w?w.class=N:w={class:N},delete this.options.className),w)}return C.prototype.isApplied=function(_,w){var z=this.__applyMap.get(_);return!!z&&z[w]},C.prototype.setApplied=function(_,w){var z,R=null!==(z=this.__applyMap.get(_))&&void 0!==z?z:{};R[w]=!0,this.__applyMap.set(_,R)},Object.defineProperty(C.prototype,"elementIsList",{get:function(){return Boolean(this.options.element&&["ul","ol"].includes(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"element",{get:function(){return this.options.element||this.defaultTag},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"elementIsBlock",{get:function(){return Boolean(this.options.element&&h.IS_BLOCK.test(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"isElementCommit",{get:function(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"defaultTag",{get:function(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"elementIsDefault",{get:function(){return this.element===this.defaultTag},enumerable:!1,configurable:!0}),C.prototype.apply=function(_){var w=this.options.hooks;try{w&&Object.keys(w).forEach(function(z){_.e.on((0,v.camelCase)(s._PREFIX+"_"+z),w[z])}),(0,y.ApplyStyle)(_,this)}finally{w&&Object.keys(w).forEach(function(z){_.e.off((0,v.camelCase)(s._PREFIX+"_"+z),w[z])}),this.__applyMap=new WeakMap}},C}();s.CommitStyle=x},33090:function(m,s,o){"use strict";var h;Object.defineProperty(s,"__esModule",{value:!0}),s.transactions=s.states=void 0;var v=o(20255),y=o(2123),x=o(66162),C=o(64968),_=o(2123);o(52378),s.states={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},s.transactions=((h={})[s.states.START]={exec:function(w){var z=w.element,R=w.jodit,N=w.style,S=w.mode;if((0,x.isInsideInvisibleElement)(z,R.editor)||C.Dom.isEmptyContent(z))return v.__assign(v.__assign({},w),{next:s.states.END});var E=(0,x.getSuitParent)(N,z,R.editor)||(0,x.getSuitChild)(N,z);if(E)return v.__assign(v.__assign({},w),{next:s.states.ELEMENT,element:E});var O=(0,x.findSuitClosest)(N,z,R.editor);return N.elementIsList&&C.Dom.isTag(O,["ul","ol"])?v.__assign(v.__assign({},w),{next:s.states.LIST}):v.__assign(v.__assign({},w),O?{next:s.states.EXTRACT}:{next:S!==_.UNWRAP?s.states.UNWRAP_CHILDREN:s.states.END})}},h[s.states.LIST]={exec:function(w){var z=w.element,R=w.jodit,N=w.mode;if(N!==_.INITIAL&&N!==_.UNWRAP&&N!==y.REPLACE)return v.__assign(v.__assign({},w),{next:s.states.END});var S=C.Dom.closest(z,"li",R.editor);if(!S)return v.__assign(v.__assign({},w),{next:s.states.END});var E=C.Dom.closest(z,["ul","ol"],R.editor);return v.__assign(v.__assign({},w),E?{element:S,next:s.states.TOGGLE_LIST}:{next:s.states.END})}},h[s.states.TOGGLE_LIST]={exec:function(w){return v.__assign(v.__assign({},w),{mode:(0,x.toggleOrderedList)(w.style,w.element,w.jodit,w.mode),next:s.states.END})}},h[s.states.EXTRACT]={exec:function(w){var z=w.element,R=w.jodit,N=w.style,S=(0,x.findSuitClosest)(N,z,R.editor);return N.elementIsBlock||(0,x.extractSelectedPart)(S,z,R),v.__assign(v.__assign({},w),{element:S,next:s.states.ELEMENT})}},h[s.states.UNWRAP_CHILDREN]={exec:function(w){return(0,x.unwrapChildren)(w.style,w.element)?v.__assign(v.__assign({},w),{mode:_.UNWRAP,next:s.states.END}):v.__assign(v.__assign({},w),{next:s.states.WRAP})}},h[s.states.WRAP]={exec:function(w){var z=w.style,R=(0,x.wrap)(z,w.element,w.jodit);return v.__assign(v.__assign({},w),{next:z.elementIsList?s.states.END:s.states.CHANGE,mode:_.WRAP,element:R})}},h[s.states.ELEMENT]={exec:function(w){return(0,x.toggleAttributes)(w.style,w.element,w.jodit,_.INITIAL,!0)!==_.INITIAL?v.__assign(v.__assign({},w),{next:s.states.CHANGE}):v.__assign(v.__assign({},w),{next:s.states.UNWRAP})}},h[s.states.CHANGE]={exec:function(w){var z=w.style,R=w.element,N=w.mode,S=(0,x.toggleAttributes)(z,R,w.jodit,w.mode);return N!==_.WRAP&&S===_.UNSET&&!R.attributes.length&&C.Dom.isTag(R,z.element)?v.__assign(v.__assign({},w),{next:s.states.UNWRAP}):v.__assign(v.__assign({},w),{mode:S,next:s.states.END})}},h[s.states.UNWRAP]={exec:function(w){return w.element.attributes.length&&C.Dom.isTag(w.element,w.style.element)?v.__assign(v.__assign({},w),{next:s.states.REPLACE_DEFAULT}):(C.Dom.unwrap(w.element),v.__assign(v.__assign({},w),{mode:_.UNWRAP,next:s.states.END}))}},h[s.states.REPLACE_DEFAULT]={exec:function(w){return C.Dom.replace(w.element,w.style.defaultTag,w.jodit.createInside,!0),v.__assign(v.__assign({},w),{mode:y.REPLACE,next:s.states.END})}},h[s.states.END]={exec:function(w){return w}},h)},75764:function(m,s){"use strict";var o;Object.defineProperty(s,"__esModule",{value:!0}),s.LocalStorageProvider=s.canUsePersistentStorage=void 0,s.canUsePersistentStorage=function(){return void 0===o&&(o=function(){var v="___Jodit___"+Math.random().toString();try{localStorage.setItem(v,"1");var y="1"===localStorage.getItem(v);return localStorage.removeItem(v),y}catch(x){}return!1}()),o};var h=function(){function v(y){this.rootKey=y}return v.prototype.set=function(y,x){try{var C=localStorage.getItem(this.rootKey),_=C?JSON.parse(C):{};_[y]=x,localStorage.setItem(this.rootKey,JSON.stringify(_))}catch(w){}return this},v.prototype.delete=function(y){try{localStorage.removeItem(this.rootKey)}catch(x){}return this},v.prototype.get=function(y){try{var x=localStorage.getItem(this.rootKey),C=x?JSON.parse(x):{};return void 0!==C[y]?C[y]:null}catch(_){}},v.prototype.exists=function(y){return null!=this.get(y)},v.prototype.clear=function(){try{localStorage.removeItem(this.rootKey)}catch(y){}return this},v}();s.LocalStorageProvider=h},79905:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.MemoryStorageProvider=void 0;var o=function(){function h(){this.data=new Map}return h.prototype.set=function(v,y){return this.data.set(v,y),this},h.prototype.delete=function(v){return this.data.delete(v),this},h.prototype.get=function(v){return this.data.get(v)},h.prototype.exists=function(v){return this.data.has(v)},h.prototype.clear=function(){return this.data.clear(),this},h}();s.MemoryStorageProvider=o},77462:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(79905),s),h.__exportStar(o(75764),s),h.__exportStar(o(52015),s)},52015:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Storage=s.StorageKey=void 0;var h=o(40332),v=o(75764),y=o(79905);s.StorageKey="Jodit_";var x=function(){function C(_,w){this.provider=_,this.prefix=s.StorageKey,w&&(this.prefix+=w)}return C.prototype.set=function(_,w){return this.provider.set((0,h.camelCase)(this.prefix+_),w),this},C.prototype.delete=function(_){return this.provider.delete((0,h.camelCase)(this.prefix+_)),this},C.prototype.get=function(_){return this.provider.get((0,h.camelCase)(this.prefix+_))},C.prototype.exists=function(_){return this.provider.exists((0,h.camelCase)(this.prefix+_))},C.prototype.clear=function(){return this.provider.clear(),this},C.makeStorage=function(_,w){var z;return void 0===_&&(_=!1),_&&(0,v.canUsePersistentStorage)()&&(z=new v.LocalStorageProvider(s.StorageKey+w)),z||(z=new y.MemoryStorageProvider),new C(z,w)},C}();s.Storage=x},59363:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Dlgs=void 0;var h=o(20255),v=o(87837),y=o(40332),x=function(){function C(){}return C.prototype.dlg=function(_){var w=new v.Dialog(h.__assign({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize},_));return(0,y.markOwner)(this,w.container),w.parent=this,w.bindDestruct(this)},C.prototype.confirm=function(_,w,z){return(0,y.isString)(w)&&(w=this.i18n(w)),v.Confirm.call(this.dlg(),this.i18n(_),w,z)},C.prototype.prompt=function(_,w,z,R,N){return(0,y.isString)(w)&&(w=this.i18n(w)),(0,y.isString)(R)&&(R=this.i18n(R)),v.Prompt.call(this.dlg(),this.i18n(_),w,z,R,N)},C.prototype.alert=function(_,w,z,R){return(0,y.isString)(_)&&(_=this.i18n(_)),(0,y.isString)(w)&&(w=this.i18n(w)),v.Alert.call(this.dlg(),_,w,z,R)},C}();s.Dlgs=x},14089:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Elms=void 0;var h=o(1853),v=function(){function y(){}return y.prototype.getElm=function(x){return this.container.querySelector(".".concat(this.getFullElName(x)))},y.prototype.getElms=function(x){return(0,h.toArray)(this.container.querySelectorAll(".".concat(this.getFullElName(x))))},y}();s.Elms=v},59829:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(14089),s),h.__exportStar(o(41681),s),h.__exportStar(o(59363),s)},41681:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Mods=void 0;var h=o(1853),v=o(24021),y=function(){function x(){}return x.prototype.afterSetMod=function(C,_){},x.prototype.setMod=function(C,_,w){if(C=C.toLowerCase(),this.mods[C]===_)return this;var z="".concat(this.componentName,"_").concat(C),R=(w||this.container).classList;return(0,h.toArray)(R).forEach(function(N){0===N.indexOf(z)&&R.remove(N)}),!(0,v.isVoid)(_)&&""!==_&&R.add("".concat(z,"_").concat(_.toString().toLowerCase())),this.mods[C]=_,this.afterSetMod(C,_),this},x.prototype.getMod=function(C){var _;return null!==(_=this.mods[C])&&void 0!==_?_:null},x}();s.Mods=y},96031:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Button=s.UIButton=s.UIButtonState=void 0;var h=o(20255);o(93330);var v=o(53929),y=o(24263),x=o(76502),C=o(24421),_=o(42096),w=o(77904),z=o(47970),R=o(43441),N=o(29411);s.UIButtonState=function(){return{size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}};var S=function(E){function O(H,U){var X=E.call(this,H)||this;return X.isButton=!0,X.state=(0,s.UIButtonState)(),X.actionHandlers=[],X.updateSize(),X.onChangeSize(),X.onChangeStatus(),U&&X.hookStatus(N.STATUSES.ready,function(){X.setState(U)}),X}return h.__extends(O,E),O.prototype.className=function(){return"UIButton"},O.prototype.setState=function(H){return Object.assign(this.state,H),this},O.prototype.onChangeSize=function(){this.setMod("size",this.state.size)},O.prototype.onChangeType=function(){(0,x.attr)(this.container,"type",this.state.type)},O.prototype.updateSize=function(){var H=this.closest(z.UIList);H&&(this.state.size=H.buttonSize)},O.prototype.onChangeStatus=function(){this.setMod("variant",this.state.variant)},O.prototype.onChangeText=function(){this.text.textContent=this.jodit.i18n(this.state.text)},O.prototype.onChangeTextSetMode=function(){this.setMod("text-icons",Boolean(this.state.text.trim().length))},O.prototype.onChangeDisabled=function(){(0,x.attr)(this.container,"disabled",this.state.disabled||null)},O.prototype.onChangeActivated=function(){(0,x.attr)(this.container,"aria-pressed",this.state.activated)},O.prototype.onChangeName=function(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,(0,x.attr)(this.container,"data-ref",this.state.name),(0,x.attr)(this.container,"ref",this.state.name)},O.prototype.onChangeTooltip=function(){this.get("j.o.useNativeTooltip")&&(0,x.attr)(this.container,"title",this.state.tooltip),(0,x.attr)(this.container,"aria-label",this.state.tooltip)},O.prototype.onChangeTabIndex=function(){(0,x.attr)(this.container,"tabindex",this.state.tabIndex)},O.prototype.onChangeIcon=function(){var H=this.get("j.o.textIcons");if(!(!0===H||(0,_.isFunction)(H)&&H(this.state.name))){y.Dom.detach(this.icon);var U=w.Icon.makeIcon(this.j,this.state.icon);U&&this.icon.appendChild(U)}},O.prototype.focus=function(){this.container.focus()},O.prototype.isFocused=function(){var H=this.od.activeElement;return Boolean(H&&y.Dom.isOrContains(this.container,H))},O.prototype.createContainer=function(){var H=this.componentName,U=this.j.c.element("button",{class:H,type:"button",role:"button",ariaPressed:!1});return this.icon=this.j.c.span(H+"__icon"),this.text=this.j.c.span(H+"__text"),U.appendChild(this.icon),U.appendChild(this.text),this.j.e.on(U,"click",this.onActionFire),U},O.prototype.destruct=function(){return this.j.e.off(this.container),E.prototype.destruct.call(this)},O.prototype.onAction=function(H){return this.actionHandlers.push(H),this},O.prototype.onActionFire=function(H){var U=this;H.buffer={actionTrigger:this},this.actionHandlers.forEach(function(X){return X.call(U,H)})},h.__decorate([(0,R.watch)("state.size")],O.prototype,"onChangeSize",null),h.__decorate([(0,R.watch)("state.type")],O.prototype,"onChangeType",null),h.__decorate([(0,R.watch)("parentElement")],O.prototype,"updateSize",null),h.__decorate([(0,R.watch)("state.variant")],O.prototype,"onChangeStatus",null),h.__decorate([(0,R.watch)("state.text")],O.prototype,"onChangeText",null),h.__decorate([(0,R.watch)("state.text")],O.prototype,"onChangeTextSetMode",null),h.__decorate([(0,R.watch)("state.disabled")],O.prototype,"onChangeDisabled",null),h.__decorate([(0,R.watch)("state.activated")],O.prototype,"onChangeActivated",null),h.__decorate([(0,R.watch)("state.name")],O.prototype,"onChangeName",null),h.__decorate([(0,R.watch)("state.tooltip")],O.prototype,"onChangeTooltip",null),h.__decorate([(0,R.watch)("state.tabIndex")],O.prototype,"onChangeTabIndex",null),h.__decorate([(0,R.watch)("state.icon")],O.prototype,"onChangeIcon",null),h.__decorate([R.autobind],O.prototype,"onActionFire",null),h.__decorate([R.component],O)}(v.UIElement);s.UIButton=S,s.Button=function(E,O,H,U){var X=new S(E);return X.state.tabIndex=E.o.allowTabNavigation?0:-1,(0,C.isString)(O)?(X.state.icon.name=O,X.state.name=O,U&&(X.state.variant=U),H&&(X.state.text=H)):X.setState(O),X}},67252:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIButtonGroup=void 0;var h=o(20255);o(45066);var v=o(61479),y=o(11441),x=o(96031),C=(o(52378),function(_){function w(z,R){void 0===R&&(R={radio:!0});var N,S,E=this;return(E=_.call(this,z,null===(N=R.options)||void 0===N?void 0:N.map(function(O){var H=new x.UIButton(z,{text:O.text,value:O.value,variant:"primary"});return H.onAction(function(){E.select(O.value)}),H}),R)||this).options=R,E.select(null!==(S=R.value)&&void 0!==S?S:0),E}return h.__extends(w,_),w.prototype.className=function(){return"UIButtonGroup"},w.prototype.render=function(z){return'<div>\n\t\t\t<div class="&__label">~'.concat(z.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')},w.prototype.appendChildToContainer=function(z){this.getElm("options").appendChild(z)},w.prototype.select=function(z){var R,N,S=this;this.elements.forEach(function(O,H){H===z||O.state.value===z?O.state.activated=!0:S.options.radio&&(O.state.activated=!1)});var E=this.elements.filter(function(O){return O.state.activated}).map(function(O){return{text:O.state.text,value:O.state.value}});this.jodit.e.fire(this,"select",E),null===(N=(R=this.options).onChange)||void 0===N||N.call(R,E)},h.__decorate([y.component],w)}(v.UIGroup));s.UIButtonGroup=C},96516:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(96031),s),h.__exportStar(o(67252),s),h.__exportStar(o(33627),s)},33627:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UITooltip=void 0;var h=o(20255);o(99895);var v=o(40332),y=o(17332),x=o(43441),C=function(_){function w(z){var R=_.call(this,z)||this;R.__isOpened=!1,R.__useCount=1,R.__delayShowTimeout=0,(0,y.getContainer)(z,w).appendChild(R.container);var N=0;return z.e.off(".tooltip").on("showTooltip.tooltip",function(S,E){z.async.clearTimeout(N),R.__open(S,E)}).on("delayShowTooltip.tooltip",R.__delayOpen).on("escape.tooltip",R.__close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",function(){R.j.async.clearTimeout(R.__delayShowTimeout),N=z.async.setTimeout(R.__close,R.j.defaultTimeout)}),R}return h.__extends(w,_),w.prototype.className=function(){return"UITooltip"},w.make=function(z){var R=(0,v.dataBind)(z,"ui-tooltip");return R?(R.__useCount+=1,R):(R=new w(z),(0,v.dataBind)(z,"ui-tooltip",R),R)},w.prototype.__delayOpen=function(z,R){var N=this,S=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout(function(){return N.__open(z,R)},{timeout:S,label:"tooltip"})},w.prototype.__open=function(z,R){this.setMod("visible",!0),this.container.innerHTML=R,this.__isOpened=!0,this.__setPosition(z)},w.prototype.__setPosition=function(z){var R=z();(0,v.css)(this.container,{left:R.x,top:R.y})},w.prototype.__close=function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,v.css)(this.container,{left:-5e3}))},w.prototype.destruct=function(){var z;this.__useCount--,this.__useCount||(null===(z=this.j)||void 0===z||z.e.off(".tooltip"),this.__close(),_.prototype.destruct.call(this))},h.__decorate([x.autobind],w.prototype,"__delayOpen",null),h.__decorate([x.autobind],w.prototype,"__close",null),w}(o(53929).UIElement);s.UITooltip=C},53929:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIElement=void 0;var h=o(20255),v=o(56562),y=o(24263),x=o(59829),C=o(24421),_=o(77904),w=o(43441),z=function(R){function N(E,O){var H=R.call(this,E)||this;return H.name="",H.__parentElement=null,H.mods={},H.container=H.createContainer(O),Object.defineProperty(H.container,"component",{value:H,configurable:!0}),H}var S;return h.__extends(N,R),S=N,Object.defineProperty(N.prototype,"parentElement",{get:function(){return this.__parentElement},set:function(E){var O=this;this.__parentElement=E,E&&E.hookStatus("beforeDestruct",function(){return O.destruct()}),this.updateParentElement(this)},enumerable:!1,configurable:!0}),N.prototype.bubble=function(E){for(var O=this.parentElement;O;)E(O),O=O.parentElement;return this},N.prototype.updateParentElement=function(E){var O;return null===(O=this.__parentElement)||void 0===O||O.updateParentElement(E),this},N.prototype.get=function(E,O){return R.prototype.get.call(this,E,O)||this.getElm(E)},N.prototype.closest=function(E){for(var O="object"==typeof E?function(U){return U===E}:function(U){return v.Component.isInstanceOf(U,E)},H=this.__parentElement;H;){if(O(H))return H;H=!H.parentElement&&H.container.parentElement?S.closestElement(H.container.parentElement,S):H.parentElement}return null},N.closestElement=function(E,O){var H=y.Dom.up(E,function(U){if(U){var X=U.component;return X&&v.Component.isInstanceOf(X,O)}return!1});return H?null==H?void 0:H.component:null},N.prototype.update=function(){},N.prototype.appendTo=function(E){return E.appendChild(this.container),this},N.prototype.clearName=function(E){return E.replace(/[^a-zA-Z0-9]/g,"_")},N.prototype.render=function(E){return this.j.c.div(this.componentName)},N.prototype.createContainer=function(E){var O=this.render(E);if((0,C.isString)(O)){var H=this.parseTemplate(O);return H.classList.add(this.componentName),H}return O},N.prototype.parseTemplate=function(E){var O=this;return this.j.c.fromHTML(E.replace(/\*([^*]+?)\*/g,function(H,U){return _.Icon.get(U)||""}).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,function(H,U){return O.i18n(U)}))},N.prototype.destruct=function(){return y.Dom.safeRemove(this.container),this.parentElement=null,R.prototype.destruct.call(this)},S=h.__decorate([(0,w.derive)(x.Mods,x.Elms)],N)}(v.ViewComponent);s.UIElement=z},38318:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIBlock=void 0;var h=o(20255);o(87682);var v=o(61479),y=o(76502),x=o(11441),C=function(_){function w(z,R,N){void 0===N&&(N={align:"left"});var S=_.call(this,z,R)||this;return S.options=N,S.setMod("align",S.options.align||"left"),S.setMod("width",S.options.width||""),S.options.mod&&S.setMod(S.options.mod,!0),S.options.className&&S.container.classList.add(S.options.className),(0,y.attr)(S.container,"data-ref",N.ref),(0,y.attr)(S.container,"ref",N.ref),S}return h.__extends(w,_),w.prototype.className=function(){return"UIBlock"},h.__decorate([x.component],w)}(v.UIGroup);s.UIBlock=C},26207:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIForm=void 0;var h=o(20255),v=o(61479),y=o(30194),x=o(75840),C=o(76502),_=o(11441),w=o(45113),z=function(R){function N(){for(var S=[],E=0;arguments.length>E;E++)S[E]=arguments[E];var O,H,U=this;return(null===(O=(U=R.apply(this,h.__spreadArray([],h.__read(S),!1))||this).options)||void 0===O?void 0:O.className)&&U.container.classList.add(null===(H=U.options)||void 0===H?void 0:H.className),U}return h.__extends(N,R),N.prototype.className=function(){return"UIForm"},N.prototype.submit=function(){this.j.e.fire(this.container,"submit")},N.prototype.validate=function(){var S,E,O,H,U=this.allChildren.filter(function(Se){return w.Component.isInstanceOf(Se,y.UIInput)});try{for(var X=h.__values(U),W=X.next();!W.done;W=X.next())if(!W.value.validate())return!1}catch(Se){S={error:Se}}finally{try{W&&!W.done&&(E=X.return)&&E.call(X)}finally{if(S)throw S.error}}var re=this.allChildren.filter(function(Se){return w.Component.isInstanceOf(Se,x.UISelect)});try{for(var pe=h.__values(re),Ae=pe.next();!Ae.done;Ae=pe.next())if(!Ae.value.validate())return!1}catch(Se){O={error:Se}}finally{try{Ae&&!Ae.done&&(H=pe.return)&&H.call(pe)}finally{if(O)throw O.error}}return!0},N.prototype.onSubmit=function(S){var E=this;this.j.e.on(this.container,"submit",function(){var O=E.allChildren.filter(function(H){return w.Component.isInstanceOf(H,y.UIInput)});return!!E.validate()&&(S(O.reduce(function(H,U){return H[U.state.name]=U.value,H},{})),!1)})},N.prototype.createContainer=function(){var S=this.j.c.element("form");return S.classList.add(this.componentName),(0,C.attr)(S,"dir",this.j.o.direction||"auto"),S},h.__decorate([_.component],N)}(v.UIGroup);s.UIForm=z},95963:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(26207),s),h.__exportStar(o(63034),s),h.__exportStar(o(38318),s)},21639:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UITextArea=void 0;var h=o(20255);o(50905);var v=o(30194),y=o(11441),x=function(C){function _(z,R){var N=C.call(this,z,R)||this;return N.state=h.__assign({},w.defaultState),Object.assign(N.state,R),!1===N.state.resizable&&(N.nativeInput.style.resize="none"),N}var w;return h.__extends(_,C),w=_,_.prototype.className=function(){return"UITextArea"},_.prototype.createContainer=function(z){return this.nativeInput=this.j.create.element("textarea"),C.prototype.createContainer.call(this,z)},_.defaultState=h.__assign(h.__assign({},v.UIInput.defaultState),{size:5,resizable:!0}),w=h.__decorate([y.component],_)}(v.UIInput);s.UITextArea=x},63747:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UICheckbox=void 0;var h=o(20255);o(70446);var v=o(30194),y=o(43441),x=o(24263),C=function(_){function w(R,N){var S=_.call(this,R,h.__assign(h.__assign({},N),{type:"checkbox"}))||this;return S.state=h.__assign({},z.defaultState),Object.assign(S.state,N),S}var z;return h.__extends(w,_),z=w,w.prototype.className=function(){return"UICheckbox"},w.prototype.render=function(){return this.j.c.element("label",{className:this.componentName})},w.prototype.onChangeChecked=function(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)},w.prototype.onChangeNativeCheckBox=function(){this.state.checked=this.nativeInput.checked},w.prototype.onChangeSwitch=function(){this.setMod("switch",this.state.switch);var R=this.getElm("switch-slider");this.state.switch?(R||(R=this.j.c.div(this.getFullElName("switch-slider"))),x.Dom.after(this.nativeInput,R)):x.Dom.safeRemove(R)},w.defaultState=h.__assign(h.__assign({},v.UIInput.defaultState),{checked:!1,switch:!1}),h.__decorate([(0,y.watch)("state.checked"),(0,y.hook)("ready")],w.prototype,"onChangeChecked",null),h.__decorate([(0,y.watch)("nativeInput:change")],w.prototype,"onChangeNativeCheckBox",null),h.__decorate([(0,y.watch)("state.switch"),(0,y.hook)("ready")],w.prototype,"onChangeSwitch",null),z=h.__decorate([y.component],w)}(v.UIInput);s.UICheckbox=C},41374:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIFileInput=void 0;var h=o(20255);o(18984);var v=o(30194),y=o(11441),x=o(96031),C=function(_){function w(z,R){var N=_.call(this,z,h.__assign({type:"file"},R))||this;return N.state=h.__assign(h.__assign({},v.UIInput.defaultState),{type:"file",onlyImages:!0}),N}return h.__extends(w,_),w.prototype.className=function(){return"UIFileInput"},w.prototype.createContainer=function(z){this.button=new x.UIButton(this.j,{icon:{name:"plus"}});var R=this.button.container;this.nativeInput||(this.nativeInput=this.createNativeInput(z));var N=this.nativeInput;return N.classList.add(this.getFullElName("input")),R.classList.add(this.componentName),R.appendChild(N),R},w.prototype.createNativeInput=function(z){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(z.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))},h.__decorate([y.component],w)}(v.UIInput);s.UIFileInput=C},63034:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(30194),s),h.__exportStar(o(21639),s),h.__exportStar(o(63747),s),h.__exportStar(o(75840),s),h.__exportStar(o(41374),s)},30194:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIInput=void 0;var h=o(20255);o(4591);var v=o(53929),y=o(76502),x=o(1853),C=o(24263),_=o(43441),w=o(77904),z=o(60081),R=function(N){function S(O,H){var U=N.call(this,O,H)||this;return U.label=U.j.c.span(U.getFullElName("label")),U.icon=U.j.c.span(U.getFullElName("icon")),U.clearButton=U.j.c.span(U.getFullElName("clear"),w.Icon.get("cancel")),U.state=h.__assign({},E.defaultState),U.__errorBox=U.j.c.span(U.getFullElName("error")),U.validators=new Set([]),void 0!==(null==H?void 0:H.value)&&(H.value=H.value.toString()),Object.assign(U.state,H),void 0!==U.state.clearButton&&(U.j.e.on(U.clearButton,"click",function(X){X.preventDefault(),U.nativeInput.value="",U.j.e.fire(U.nativeInput,"input"),U.focus()}).on(U.nativeInput,"input",function(){U.state.clearButton=Boolean(U.value.length)}),U.state.clearButton=Boolean(U.value.length)),U.j.e.on(U.nativeInput,"focus blur",function(){U.onChangeFocus()}).on(U.nativeInput,"input change",U.onChangeValue),U.onChangeState(),U.onChangeClassName(),U.onChangeStateValue(),U}var E;return h.__extends(S,N),E=S,S.prototype.className=function(){return"UIInput"},S.prototype.onChangeClear=function(){this.state.clearButton?C.Dom.after(this.nativeInput,this.clearButton):C.Dom.safeRemove(this.clearButton)},S.prototype.onChangeClassName=function(O,H){H&&this.container.classList.remove(H),this.state.className&&this.container.classList.add(this.state.className)},S.prototype.onChangeState=function(){this.name=this.state.name;var O=this.nativeInput,H=this.state,U=H.name,X=H.icon,W=H.type,re=H.ref,pe=H.required,Ae=H.placeholder,Se=H.autocomplete,De=H.label;(0,y.attr)(O,"name",U),(0,y.attr)(O,"type",W),(0,y.attr)(O,"data-ref",re||U),(0,y.attr)(O,"ref",re||U),(0,y.attr)(O,"required",pe||null),(0,y.attr)(O,"autocomplete",Se?null:"off"),(0,y.attr)(O,"placeholder",Ae?this.j.i18n(Ae):""),X&&w.Icon.exists(X)?(C.Dom.before(O,this.icon),this.icon.innerHTML=w.Icon.get(X)):C.Dom.safeRemove(this.icon),De?(C.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(De)):C.Dom.safeRemove(this.label),this.updateValidators()},S.prototype.updateValidators=function(){var O,H=this;this.validators.clear(),this.state.required&&this.validators.add(z.inputValidators.required),null===(O=this.state.validators)||void 0===O||O.forEach(function(U){var X=z.inputValidators[U];X&&H.validators.add(X)})},Object.defineProperty(S.prototype,"error",{set:function(O){this.setMod("has-error",Boolean(O)),O?(this.__errorBox.innerText=this.j.i18n(O,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):C.Dom.safeRemove(this.__errorBox)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"value",{get:function(){return this.nativeInput.value},set:function(O){this.value!==O&&(this.nativeInput.value=O,this.onChangeValue())},enumerable:!1,configurable:!0}),S.prototype.onChangeStateValue=function(){var O=this.state.value.toString();O!==this.value&&(this.value=O)},S.prototype.onChangeValue=function(){var O,H,U=this.value;this.state.value!==U&&(this.state.value=U,this.j.e.fire(this,"change",U),null===(H=(O=this.state).onChange)||void 0===H||H.call(O,U))},S.prototype.validate=function(){var O=this;return this.error="",(0,x.toArray)(this.validators).every(function(H){return H(O)})},S.prototype.createContainer=function(O){var H=N.prototype.createContainer.call(this);this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());var U=this.nativeInput;return U.classList.add(this.getFullElName("input")),this.wrapper.appendChild(U),H.appendChild(this.wrapper),(0,y.attr)(U,"dir",this.j.o.direction||"auto"),H},S.prototype.createNativeInput=function(O){return this.j.create.element("input")},S.prototype.focus=function(){this.nativeInput.focus()},Object.defineProperty(S.prototype,"isFocused",{get:function(){return this.nativeInput===this.j.od.activeElement},enumerable:!1,configurable:!0}),S.prototype.onChangeFocus=function(){this.setMod("focused",this.isFocused)},S.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},h.__decorate([(0,_.watch)("state.clearButton")],S.prototype,"onChangeClear",null),h.__decorate([(0,_.watch)("state.className")],S.prototype,"onChangeClassName",null),h.__decorate([(0,_.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"]),(0,_.debounce)()],S.prototype,"onChangeState",null),h.__decorate([(0,_.watch)("state.value")],S.prototype,"onChangeStateValue",null),h.__decorate([_.autobind],S.prototype,"onChangeValue",null),E=h.__decorate([_.component],S)}(v.UIElement);s.UIInput=R},75840:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UISelect=void 0;var h=o(20255);o(64194);var v=o(67309),y=o(11441),x=o(30194),C=o(60081),_=function(w){function z(N,S){var E=w.call(this,N,S)||this;return E.state=h.__assign({},R.defaultState),Object.assign(E.state,S),E}var R;return h.__extends(z,w),R=z,z.prototype.className=function(){return"UISelect"},z.prototype.createContainer=function(N){var S,E=w.prototype.createContainer.call(this,N),O=this.j,H=this.nativeInput,U=function(){return O.create.element("option")};if(void 0!==N.placeholder){var X=U();X.value="",X.text=O.i18n(N.placeholder),H.add(X)}return null===(S=N.options)||void 0===S||S.forEach(function(W){var re=U();re.value=W.value.toString(),re.text=O.i18n(W.text),H.add(re)}),N.size&&N.size>0&&(0,v.attr)(H,"size",N.size),N.multiple&&(0,v.attr)(H,"multiple",""),E},z.prototype.createNativeInput=function(){return this.j.create.element("select")},z.prototype.updateValidators=function(){w.prototype.updateValidators.call(this),this.state.required&&(this.validators.delete(C.inputValidators.required),this.validators.add(C.selectValidators.required))},z.defaultState=h.__assign(h.__assign({},x.UIInput.defaultState),{options:[],size:1,multiple:!1}),R=h.__decorate([y.component],z)}(x.UIInput);s.UISelect=_},60081:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.selectValidators=s.inputValidators=void 0,s.inputValidators=o(63355),s.selectValidators=o(65935)},63355:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.url=s.required=void 0;var h=o(64350),v=o(33941);s.required=function(y){return!!(0,v.trim)(y.value).length||(y.error="Please fill out this field",!1)},s.url=function(y){return!!(0,h.isURL)((0,v.trim)(y.value))||(y.error="Please enter a web address",!1)}},65935:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.required=void 0;var h=o(33941);s.required=function(v){return!!(0,h.trim)(v.value).length||(v.error="Please fill out this field",!1)}},61479:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIGroup=void 0;var h=o(20255);o(70375);var v=o(53929),y=o(43441),x=o(40332),C=(o(52378),o(24263)),_=o(45113),w=function(z){function R(S,E,O){var H=z.call(this,S,O)||this;return H.options=O,H.syncMod=!1,H.elements=[],H.buttonSize="middle",null==E||E.forEach(function(U){return U&&H.append(U)}),(null==O?void 0:O.name)&&(H.name=O.name),H}var N;return h.__extends(R,z),N=R,R.prototype.className=function(){return"UIGroup"},Object.defineProperty(R.prototype,"allChildren",{get:function(){for(var S=[],E=h.__spreadArray([],h.__read(this.elements),!1);E.length;){var O=E.shift();(0,x.isArray)(O)?E.push.apply(E,h.__spreadArray([],h.__read(O),!1)):_.Component.isInstanceOf(O,N)?E.push.apply(E,h.__spreadArray([],h.__read(O.elements),!1)):O&&S.push(O)}return S},enumerable:!1,configurable:!0}),R.prototype.update=function(){this.elements.forEach(function(S){return S.update()}),this.setMod("size",this.buttonSize)},R.prototype.append=function(S,E){var O=this;return(0,x.isArray)(S)?(S.forEach(function(H){return O.append(H,E)}),this):(this.elements.push(S),S.name&&S.container.classList.add(this.getFullElName(S.name)),E?this.getElm(E).appendChild(S.container):this.appendChildToContainer(S.container),S.parentElement=this,S.update(),this)},R.prototype.afterSetMod=function(S,E){this.syncMod&&this.elements.forEach(function(O){return O.setMod(S,E)})},R.prototype.appendChildToContainer=function(S){this.container.appendChild(S)},R.prototype.remove=function(S){var E=this.elements.indexOf(S);return-1!==E&&(this.elements.splice(E,1),C.Dom.safeRemove(S.container),S.parentElement=null),this},R.prototype.clear=function(){return this.elements.forEach(function(S){return S.destruct()}),this.elements.length=0,this},R.prototype.destruct=function(){return this.clear(),z.prototype.destruct.call(this)},h.__decorate([(0,y.watch)("buttonSize")],R.prototype,"update",null),N=h.__decorate([y.component],R)}(v.UIElement);s.UIGroup=w},3249:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(61479),s),h.__exportStar(o(47970),s),h.__exportStar(o(75018),s),h.__exportStar(o(58495),s)},47970:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIList=void 0;var h=o(20255);o(90235);var v=o(32070),y=o(43441),x=o(61479),C=o(75018),_=o(58495),w=o(96031),z=o(97642),R=o(38546),N=o(14556),S=o(45113),E=function(O){function H(U){var X=O.call(this,U)||this;return X.mode="horizontal",X.removeButtons=[],X.onChangeMode(),X}return h.__extends(H,O),H.prototype.className=function(){return"UIList"},H.prototype.onChangeMode=function(){this.setMod("mode",this.mode)},H.prototype.makeGroup=function(){return new x.UIGroup(this.jodit)},Object.defineProperty(H.prototype,"buttons",{get:function(){return this.allChildren.filter(function(U){return S.Component.isInstanceOf(U,w.UIButton)})},enumerable:!1,configurable:!0}),H.prototype.getButtonsNames=function(){return this.buttons.map(function(U){return U instanceof w.UIButton&&U.state.name||""}).filter(function(U){return""!==U})},H.prototype.setRemoveButtons=function(U){return this.removeButtons=U||[],this},H.prototype.build=function(U,X){var W=this;void 0===X&&(X=null),U=(0,N.splitArray)(U),this.clear();var re,pe=!1,Ae=this.makeGroup();this.append(Ae),Ae.setMod("line",!0);var Se=function(qe){var rt=null;switch(qe.name){case"\n":(Ae=W.makeGroup()).setMod("line",!0),re=W.makeGroup(),Ae.append(re),W.append(Ae);break;case"|":pe||(pe=!0,rt=new C.UISeparator(W.j));break;case"---":re.setMod("before-spacer",!0);var ot=new _.UISpacer(W.j);Ae.append(ot),re=W.makeGroup(),Ae.append(re),pe=!1;break;default:pe=!1,rt=W.makeButton(qe,X)}rt&&(re||(re=W.makeGroup(),Ae.append(re)),re.append(rt))},De=function(qe){return!W.removeButtons.includes(qe.name)};return U.forEach(function(qe){if((0,z.isButtonGroup)(qe)){var rt=qe.buttons.filter(function(vt){return vt});rt.length&&((re=W.makeGroup()).setMod("separated",!0).setMod("group",qe.group),Ae.append(re),(0,v.getStrongControlTypes)(rt,W.j.o.controls).filter(De).forEach(Se))}else{re||(re=W.makeGroup(),Ae.append(re));var ot=(0,R.getControlType)(qe,W.j.o.controls);De(ot)&&Se(ot)}}),this.update(),this},H.prototype.makeButton=function(U,X){return new w.UIButton(this.j)},h.__decorate([(0,y.watch)("mode")],H.prototype,"onChangeMode",null),h.__decorate([y.component],H)}(x.UIGroup);s.UIList=E},75018:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UISeparator=void 0;var h=o(20255),v=o(53929),y=o(11441),x=function(C){function _(){return null!==C&&C.apply(this,arguments)||this}return h.__extends(_,C),_.prototype.className=function(){return"UISeparator"},h.__decorate([y.component],_)}(v.UIElement);s.UISeparator=x},58495:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UISpacer=void 0;var h=o(20255),v=o(53929),y=o(11441),x=function(C){function _(){return null!==C&&C.apply(this,arguments)||this}return h.__extends(_,C),_.prototype.className=function(){return"UISpacer"},h.__decorate([y.component],_)}(v.UIElement);s.UISpacer=x},97642:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.flatButtonsSet=s.isButtonGroup=void 0;var h=o(20255),v=o(49781);s.isButtonGroup=function(y){return(0,v.isArray)(y.buttons)},s.flatButtonsSet=function(y,x){var C=x.getRegisteredButtonGroups();return new Set(y.reduce(function(_,w){var z;return(0,s.isButtonGroup)(w)?_=_.concat(h.__spreadArray(h.__spreadArray([],h.__read(w.buttons),!1),h.__read(null!==(z=C[w.group])&&void 0!==z?z:[]),!1)):_.push(w),_},[]))}},38546:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.findControlType=s.getControlType=void 0;var h=o(20255),v=o(40332),y=o(93166);function x(C,_){var w=h.__read(C.split(/\./),2),z=w[0],R=w[1],N=_;return null!=R?void 0!==_[z]&&(N=_[z]):R=z,N[R]?h.__assign({name:R},(0,v.ConfigFlatten)(N[R])):void 0}s.getControlType=function(C,_){var w;return _||(_=y.Config.defaultOptions.controls),(0,v.isString)(C)?w=x(C,_)||{name:C,command:C,tooltip:C}:void 0!==_[(w=h.__assign({name:"empty"},(0,v.ConfigFlatten)(C))).name]&&(w=h.__assign(h.__assign({},(0,v.ConfigFlatten)(_[w.name])),(0,v.ConfigFlatten)(w))),w},s.findControlType=x},32070:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getStrongControlTypes=void 0;var h=o(38546),v=o(93166),y=o(49781),x=o(76502);s.getStrongControlTypes=function(C,_){return((0,y.isArray)(C)?C:(0,x.keys)(C,!1).map(function(w){return(0,x.ConfigProto)({name:w},C[w]||{})})).map(function(w){return(0,h.getControlType)(w,_||v.Config.defaultOptions.controls)})}},77904:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Icon=void 0;var h=o(26911),v=o(40332),y=function(){function x(){}return x.getIcon=function(C){return/<svg/i.test(C)?C:x.icons[C]||x.icons[C.replace(/-/g,"_")]||x.icons[C.replace(/_/g,"-")]||x.icons[(0,v.camelCase)(C)]||x.icons[(0,v.kebabCase)(C)]||x.icons[C.toLowerCase()]},x.exists=function(C){return void 0!==this.getIcon(C)},x.get=function(C,_){return void 0===_&&(_="<span></span>"),this.getIcon(C)||_},x.set=function(C,_){return this.icons[C.replace("_","-")]=_,this},x.makeIcon=function(C,_){var w,z;if(_){var R=_.name.replace(/[^a-zA-Z0-9]/g,"_");if(_.iconURL)z=C.c.span(),(0,h.css)(z,"backgroundImage","url("+_.iconURL.replace("{basePath}",(null==C?void 0:C.basePath)||"")+")");else{var N=C.e.fire("getIcon",_.name,_,R)||x.get(_.name,"")||(null===(w=C.o.extraIcons)||void 0===w?void 0:w[_.name]);N&&(z=C.c.fromHTML(N.trim()),/^<svg/i.test(_.name)||z.classList.add("jodit-icon_"+R))}}return z&&(z.classList.add("jodit-icon"),z.style.fill=_.fill),z},x.icons={},x}();s.Icon=y},2074:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(53929),s),h.__exportStar(o(96516),s),h.__exportStar(o(35799),s),h.__exportStar(o(3249),s),h.__exportStar(o(95963),s),h.__exportStar(o(77904),s),h.__exportStar(o(63682),s)},35799:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(12680),s)},12680:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Popup=void 0;var h=o(20255);o(88477);var v=o(24263),y=o(40332),x=(o(52378),o(53929)),C=o(43441),_=o(45113),w=o(17332),z=function(R){function N(S,E){void 0===E&&(E=!0);var O=R.call(this,S)||this;return O.smart=E,O.isOpened=!1,O.strategy="leftBottom",O.viewBound=function(){return{left:0,top:0,width:O.ow.innerWidth,height:O.ow.innerHeight}},O.childrenPopups=new Set,(0,y.attr)(O.container,"role","popup"),O}return h.__extends(N,R),N.prototype.className=function(){return"Popup"},N.prototype.updateParentElement=function(S){var E=this;return S!==this&&_.Component.isInstanceOf(S,N)&&(this.childrenPopups.forEach(function(O){!S.closest(O)&&O.isOpened&&O.close()}),this.childrenPopups.has(S)||this.j.e.on(S,"beforeClose",function(){E.childrenPopups.delete(S)}),this.childrenPopups.add(S)),R.prototype.updateParentElement.call(this,S)},N.prototype.setContent=function(S){v.Dom.detach(this.container);var E,O=this.j.c.div("".concat(this.componentName,"__content"));return _.Component.isInstanceOf(S,x.UIElement)?(E=S.container,S.parentElement=this):E=(0,y.isString)(S)?this.j.c.fromHTML(S):S,O.appendChild(E),this.container.appendChild(O),this.updatePosition(),this},N.prototype.open=function(S,E,O){if(void 0===E&&(E=!1),(0,y.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=E?this.getKeepBound(S):S,O)O.appendChild(this.container);else{var H=(0,w.getContainer)(this.jodit,N);O!==this.container.parentElement&&H.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this},N.prototype.calculateZIndex=function(){var S=this;if(!this.container.style.zIndex){var E=function(X){var W=X.container.style.zIndex||X.o.zIndex;return!!W&&(S.setZIndex(1+parseInt(W.toString(),10)),!0)},O=this.j;if(!E(O))for(var H=this.parentElement;H;){if(E(O))return;if(H.container.style.zIndex)return void this.setZIndex(1+parseInt(H.container.style.zIndex.toString(),10));if(!H.parentElement&&H.container.parentElement){var U=x.UIElement.closestElement(H.container.parentElement,x.UIElement);if(U){H=U;continue}}H=H.parentElement}}},N.prototype.getKeepBound=function(S){var E=this,O=S(),H=this.od.elementFromPoint(O.left,O.top);if(!H)return S;var U=v.Dom.isHTMLElement(H)?H:H.parentElement,X=(0,y.position)(U,this.j);return function(){var W=S(),re=(0,y.position)(U,E.j);return h.__assign(h.__assign({},W),{top:W.top+(re.top-X.top),left:W.left+(re.left-X.left)})}},N.prototype.updatePosition=function(){if(!this.isOpened)return this;var S=h.__read(this.calculatePosition(this.targetBound(),this.viewBound(),(0,y.position)(this.container,this.j)),2),E=S[0];return this.setMod("strategy",S[1]),(0,y.css)(this.container,{left:E.left,top:E.top}),this.childrenPopups.forEach(function(O){return O.updatePosition()}),this},N.prototype.throttleUpdatePosition=function(){this.updatePosition()},N.prototype.calculatePosition=function(S,E,O,H){void 0===H&&(H=this.strategy);var U={left:S.left,right:S.left-(O.width-S.width)},X={bottom:S.top+S.height,top:S.top-O.height},W=Object.keys(U).reduce(function(Se,De){return Se.concat(Object.keys(X).map(function(qe){return"".concat(De).concat((0,y.ucfirst)(qe))}))},[]),re=function(Se){var De=h.__read((0,y.kebabCase)(Se).split("-"),2);return{left:U[De[0]],top:X[De[1]],width:O.width,height:O.height}},pe=function(Se){return N.boxInView(re(H),Se)?H:W.find(function(De){if(N.boxInView(re(De),Se))return De})||null},Ae=pe((0,y.position)(this.j.container,this.j));return Ae&&N.boxInView(re(Ae),E)||(Ae=pe(E)||Ae||H),[re(Ae),Ae]},N.boxInView=function(S,E){return!(-2>S.top-E.top||-2>S.left-E.left||-2>E.top+E.height-(S.top+S.height)||-2>E.left+E.width-(S.left+S.width))},N.prototype.close=function(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach(function(S){return S.close()}),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),v.Dom.safeRemove(this.container),this):this},N.prototype.closeOnOutsideClick=function(S){this.isOpened&&!this.isOwnClick(S)&&this.close()},N.prototype.isOwnClick=function(S){if(!S.target)return!1;var E=x.UIElement.closestElement(S.target,N);return Boolean(E&&(this===E||E.closest(this)))},N.prototype.addGlobalListeners=function(){var S=this,E=this.throttleUpdatePosition,O=this.ow;w.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(O,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",E).on(this.container,"scroll mousewheel",E).on(O,"scroll",E).on(O,"resize",E),v.Dom.up(this.j.container,function(H){H&&S.j.e.on(H,"scroll mousewheel",E)})},N.prototype.removeGlobalListeners=function(){var S=this,E=this.throttleUpdatePosition,O=this.ow;w.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(O,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",E).off(this.container,"scroll mousewheel",E).off(O,"scroll",E).off(O,"resize",E),v.Dom.up(this.j.container,function(H){H&&S.j.e.off(H,"scroll mousewheel",E)})},N.prototype.setZIndex=function(S){this.container.style.zIndex=S.toString()},N.prototype.destruct=function(){return this.close(),R.prototype.destruct.call(this)},h.__decorate([C.autobind],N.prototype,"updatePosition",null),h.__decorate([(0,C.throttle)(10),C.autobind],N.prototype,"throttleUpdatePosition",null),h.__decorate([C.autobind],N.prototype,"close",null),h.__decorate([C.autobind],N.prototype,"closeOnOutsideClick",null),N}(x.UIElement);s.Popup=z},63682:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ProgressBar=void 0;var h=o(20255);o(50197);var v=o(24263),y=function(x){function C(){return null!==x&&x.apply(this,arguments)||this}return h.__extends(C,x),C.prototype.className=function(){return"ProgressBar"},C.prototype.render=function(){return"<div><div></div></div>"},C.prototype.show=function(){return(this.j.workplace||this.j.container).appendChild(this.container),this},C.prototype.hide=function(){return v.Dom.safeRemove(this.container),this},C.prototype.progress=function(_){return this.container.style.width=_.toFixed(2)+"%",this},C.prototype.destruct=function(){return this.hide(),x.prototype.destruct.call(this)},C}(o(53929).UIElement);s.ProgressBar=y},43608:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ViewWithToolbar=void 0;var h=o(20255);o(39008);var v=o(75902),y=o(40332),x=o(64968),C=o(81438),_=o(56562),w=o(97642),z=o(43441),R=function(N){function S(E,O){void 0===O&&(O=!1);var H=N.call(this,E,O)||this;return H.toolbar=(0,C.makeCollection)(H),H.defaultToolbarContainer=H.c.div("jodit-toolbar__box"),H.registeredButtons=new Set,H.groupToButtons={},H.isJodit=!1,H.isJodit=O,H.e.on("beforeToolbarBuild",H.beforeToolbarBuild),H}return h.__extends(S,N),Object.defineProperty(S.prototype,"toolbarContainer",{get:function(){return this.o.fullsize||!(0,y.isString)(this.o.toolbar)&&!x.Dom.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&x.Dom.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,y.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)},enumerable:!1,configurable:!0}),S.prototype.setPanel=function(E){this.o.toolbar=E,this.buildToolbar()},S.prototype.buildToolbar=function(){if(this.o.toolbar){var E=this.o.buttons?(0,y.splitArray)(this.o.buttons):[];this.toolbar.setRemoveButtons(this.o.removeButtons).build(E.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}},S.prototype.getRegisteredButtonGroups=function(){return this.groupToButtons},S.prototype.registerButton=function(E){var O;this.registeredButtons.add(E);var H=null!==(O=E.group)&&void 0!==O?O:"other";return this.groupToButtons[H]||(this.groupToButtons[H]=[]),null!=E.position?this.groupToButtons[H][E.position]=E.name:this.groupToButtons[H].push(E.name),this},S.prototype.unregisterButton=function(E){var O;this.registeredButtons.delete(E);var H=null!==(O=E.group)&&void 0!==O?O:"other",U=this.groupToButtons[H];if(U){var X=U.indexOf(E.name);-1!==X&&U.splice(X,1),0===U.length&&delete this.groupToButtons[H]}return this},S.prototype.beforeToolbarBuild=function(E){var O=this;if(Object.keys(this.groupToButtons).length)return E.map(function(H){return(0,w.isButtonGroup)(H)&&H.group&&O.groupToButtons[H.group]?{group:H.group,buttons:h.__spreadArray(h.__spreadArray([],h.__read(H.buttons),!1),h.__read(O.groupToButtons[H.group]),!1)}:H})},S.prototype.destruct=function(){this.isDestructed||(this.setStatus(_.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),N.prototype.destruct.call(this))},h.__decorate([z.autobind],S.prototype,"beforeToolbarBuild",null),S}(v.View);s.ViewWithToolbar=R},75902:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.View=void 0;var h=o(20255),v=o(77462),y=o(40332),x=o(86893),C=o(87837),_=o(17332),w=o(43441),z=o(59829),R=o(55395),N=o(71014),S=function(E){function O(U,X){void 0===X&&(X=!1);var W=E.call(this)||this;return W.isJodit=X,W.isView=!0,W.parent=null,W.mods={},W.components=new Set,W.version="3.24.2",W.buffer=v.Storage.makeStorage(),W.storage=v.Storage.makeStorage(!0,W.componentName),W.OPTIONS=H.defaultOptions,W.__isFullSize=!1,W.__whoLocked="",W.isLockedNotBy=function(re){return W.isLocked&&W.__whoLocked!==re},W.__modulesInstances=new Map,W.id=(new Date).getTime().toString(),W.buffer=v.Storage.makeStorage(),W.initOptions(U),W.initOwners(),W.events=new R.EventEmitter(W.od),W.create=new C.Create(W.od),W.container=W.c.div("jodit ".concat(W.componentName)),W.progressbar=new C.ProgressBar(W),W.message=new N.UIMessages(W,W.container),W}var H;return h.__extends(O,E),H=O,Object.defineProperty(O.prototype,"basePath",{get:function(){return this.o.basePath?this.o.basePath:x.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"defaultTimeout",{get:function(){return(0,y.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"c",{get:function(){return this.create},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"container",{get:function(){return this.__container},set:function(U){this.__container=U},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"e",{get:function(){return this.events},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"options",{get:function(){return this.__options},set:function(U){this.__options=U},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),O.prototype.i18n=function(U){for(var X=[],W=1;arguments.length>W;W++)X[W-1]=arguments[W];return(0,y.i18n)(U,X,this.options)},O.prototype.toggleFullSize=function(U){void 0===U&&(U=!this.__isFullSize),U!==this.__isFullSize&&(this.__isFullSize=U,this.e.fire("toggleFullSize",U))},Object.defineProperty(O.prototype,"isLocked",{get:function(){return""!==this.__whoLocked},enumerable:!1,configurable:!0}),O.prototype.lock=function(U){return void 0===U&&(U="any"),!this.isLocked&&(this.__whoLocked=U,!0)},O.prototype.unlock=function(){return!!this.isLocked&&(this.__whoLocked="",!0)},Object.defineProperty(O.prototype,"isFullSize",{get:function(){return this.__isFullSize},enumerable:!1,configurable:!0}),O.prototype.getVersion=function(){return"3.24.2"},O.getVersion=function(){return"3.24.2"},O.prototype.initOptions=function(U){this.options=(0,y.ConfigProto)(U||{},(0,y.ConfigProto)(this.options||{},H.defaultOptions))},O.prototype.initOwners=function(){var U;this.ownerWindow=null!==(U=this.o.ownerWindow)&&void 0!==U?U:window},O.prototype.attachEvents=function(U){var X=this;if(U){var W=null==U?void 0:U.events;W&&Object.keys(W).forEach(function(re){return X.e.on(re,W[re])})}},O.prototype.getInstance=function(U,X){var W=this.e.fire((0,y.camelCase)("getInstance_"+U),X);if(W)return W;var re=_.modules[U],pe=this.__modulesInstances;if(!(0,y.isFunction)(re))throw(0,y.error)("Need real module name");if(!pe.has(U)){var Ae=re.prototype instanceof C.ViewComponent?new re(this,X):new re(X);this.components.add(Ae),pe.set(U,Ae)}return pe.get(U)},O.prototype.addDisclaimer=function(U){this.container.appendChild(U)},O.prototype.beforeDestruct=function(){this.e.fire(C.STATUSES.beforeDestruct,this),this.components.forEach(function(U){(0,y.isDestructable)(U)&&!U.isInDestruct&&U.destruct()}),this.components.clear()},O.prototype.destruct=function(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.async&&this.async.destruct(),this.events&&this.e.destruct(),this.buffer&&this.buffer.clear(),C.Dom.safeRemove(this.container),E.prototype.destruct.call(this))},O.esNext=!1,h.__decorate([(0,w.hook)(C.STATUSES.beforeDestruct)],O.prototype,"beforeDestruct",null),H=h.__decorate([(0,w.derive)(z.Mods,z.Elms)],O)}(C.Component);s.View=S,S.defaultOptions={extraButtons:[],textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},37920:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Jodit=void 0;var h=o(20255),v=o(93166),y=o(86893),x=o(87837),C=o(40332),_=o(77462),w=o(86893),z=o(17332),R=o(43441),N=o(59829),S=o(30056),E="data-jodit-default-style-display",O="data-jodit-default-classes",H=function(X){function W(pe,Ae){var Se=X.call(this,Ae,!0)||this;Se.isJodit=!0,Se.commands=new Map,Se.__selectionLocked=null,Se.__wasReadOnly=!1,Se.createInside=new x.Create(function(){return Se.ed},Se.o.createAttributes),Se.editorIsActive=!1,Se.__mode=y.MODE_WYSIWYG,Se.__callChangeCount=0,Se.__isSilentChange=!1,Se.__elementToPlace=new Map;try{var De=(0,C.resolveElement)(pe,Se.o.shadowRoot||Se.od);if(re.isJoditAssigned(De))return De.component}catch(rt){throw Se.destruct(),rt}Se.setStatus(x.STATUSES.beforeInit),Se.id=(0,C.attr)((0,C.resolveElement)(pe,Se.o.shadowRoot||Se.od),"id")||(new Date).getTime().toString(),z.instances[Se.id]=Se,Se.storage=_.Storage.makeStorage(!0,Se.id),Se.attachEvents(Ae),Se.e.on(Se.ow,"resize",function(){Se.e&&Se.e.fire("resize")}),Se.e.on("prepareWYSIWYGEditor",Se.__prepareWYSIWYGEditor),Se.selection=new x.Select(Se);var qe=Se.beforeInitHook();return(0,C.callPromise)(qe,function(){Se.e.fire("beforeInit",Se);var rt=z.pluginSystem.init(Se);(0,C.callPromise)(rt,function(){Se.e.fire("afterPluginSystemInit",Se),Se.e.on("changePlace",function(){Se.setReadOnly(Se.o.readonly),Se.setDisabled(Se.o.disabled)}),Se.places.length=0;var ot=Se.addPlace(pe,Ae);z.instances[Se.id]=Se,(0,C.callPromise)(ot,function(){Se.e&&Se.e.fire("afterInit",Se),Se.afterInitHook(),Se.setStatus(x.STATUSES.ready),Se.e.fire("afterConstructor",Se)})})}),Se}var re;return h.__extends(W,X),re=W,W.prototype.className=function(){return"Jodit"},W.prototype.waitForReady=function(){var pe=this;return this.isReady?Promise.resolve(this):this.async.promise(function(Ae){pe.hookStatus("ready",function(){return Ae(pe)})})},Object.defineProperty(W,"ready",{get:function(){return new Promise(function(pe){z.eventEmitter.on("oditready",pe)})},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"text",{get:function(){if(this.editor)return this.editor.innerText||"";var pe=this.createInside.div();return pe.innerHTML=this.getElementValue(),pe.innerText||""},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"defaultTimeout",{get:function(){return(0,C.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:v.Config.defaultOptions.defaultTimeout},enumerable:!1,configurable:!0}),W.atom=function(pe){return(0,C.markAsAtomic)(pe)},W.make=function(pe,Ae){return new this(pe,Ae)},W.isJoditAssigned=function(pe){return pe&&(0,C.isJoditObject)(pe.component)&&!pe.component.isInDestruct},Object.defineProperty(W,"defaultOptions",{get:function(){return v.Config.defaultOptions},enumerable:!1,configurable:!0}),W.prototype.__setPlaceField=function(pe,Ae){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[pe]=Ae},Object.defineProperty(W.prototype,"element",{get:function(){return this.currentPlace.element},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"editor",{get:function(){return this.currentPlace.editor},set:function(pe){this.__setPlaceField("editor",pe)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"container",{get:function(){return this.currentPlace.container},set:function(pe){this.__setPlaceField("container",pe)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"workplace",{get:function(){return this.currentPlace.workplace},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"statusbar",{get:function(){return this.currentPlace.statusbar},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"iframe",{get:function(){return this.currentPlace.iframe},set:function(pe){this.__setPlaceField("iframe",pe)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"history",{get:function(){return this.currentPlace.history},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"observer",{get:function(){return this.history},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"editorWindow",{get:function(){return this.currentPlace.editorWindow},set:function(pe){this.__setPlaceField("editorWindow",pe)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"ew",{get:function(){return this.editorWindow},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"editorDocument",{get:function(){return this.currentPlace.editorWindow.document},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"ed",{get:function(){return this.editorDocument},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"options",{get:function(){return this.currentPlace.options},set:function(pe){this.__setPlaceField("options",pe)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"s",{get:function(){return this.selection},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"uploader",{get:function(){return this.getInstance("Uploader",this.o.uploader)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"filebrowser",{get:function(){var pe=this,Ae=(0,C.ConfigProto)({defaultTimeout:pe.defaultTimeout,uploader:pe.o.uploader,language:pe.o.language,license:pe.o.license,theme:pe.o.theme,shadowRoot:pe.o.shadowRoot,defaultCallback:function(Se){Se.files&&Se.files.length&&Se.files.forEach(function(De,qe){var rt=Se.baseurl+De;Se.isImages&&Se.isImages[qe]?pe.s.insertImage(rt,null,pe.o.imageDefaultWidth):pe.s.insertNode(pe.createInside.fromHTML("<a href='".concat(rt,"' title='").concat(rt,"'>").concat(rt,"</a>")))})}},this.o.filebrowser);return pe.getInstance("FileBrowser",Ae)},enumerable:!1,configurable:!0}),Object.defineProperty(W.prototype,"mode",{get:function(){return this.__mode},set:function(pe){this.setMode(pe)},enumerable:!1,configurable:!0}),W.prototype.getNativeEditorValue=function(){var pe=this.e.fire("beforeGetNativeEditorValue");return(0,C.isString)(pe)?pe:this.editor?this.editor.innerHTML:this.getElementValue()},W.prototype.setNativeEditorValue=function(pe){var Ae={value:pe};this.e.fire("beforeSetNativeEditorValue",Ae)||this.editor&&(this.editor.innerHTML=Ae.value)},Object.defineProperty(W.prototype,"value",{get:function(){return this.getEditorValue()},set:function(pe){this.setEditorValue(pe),this.history.__processChanges()},enumerable:!1,configurable:!0}),W.prototype.synchronizeValues=function(){this.__imdSynchronizeValues()},W.prototype.__imdSynchronizeValues=function(){this.setEditorValue()},W.prototype.getEditorValue=function(pe,Ae){var Se;if(void 0===pe&&(pe=!0),void 0!==(Se=this.e.fire("beforeGetValueFromEditor",Ae)))return Se;Se=this.getNativeEditorValue().replace(y.INVISIBLE_SPACE_REG_EXP(),""),pe&&(Se=Se.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===Se&&(Se="");var De={value:Se};return this.e.fire("afterGetValueFromEditor",De,Ae),De.value},W.prototype.setEditorValue=function(pe){var Ae=this.e.fire("beforeSetValueToEditor",pe);if(!1!==Ae)if((0,C.isString)(Ae)&&(pe=Ae),this.editor){if(!(0,C.isString)(pe)&&!(0,C.isVoid)(pe))throw(0,C.error)("value must be string");(0,C.isVoid)(pe)||this.getNativeEditorValue()===pe||this.setNativeEditorValue(pe),this.e.fire("postProcessSetEditorValue");var Se=this.getElementValue(),De=this.getEditorValue();if(!this.__isSilentChange&&Se!==De&&y.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(De),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",De,Se),this.e.fire(this.history,"change",De,Se)}finally{this.__callChangeCount=0}}}else void 0!==pe&&this.__setElementValue(pe)},W.prototype.updateElementValue=function(){this.__setElementValue(this.getEditorValue())},W.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},W.prototype.setElementValue=function(pe){var Ae=this.getElementValue();return(void 0===pe||(0,C.isString)(pe)&&pe!==Ae)&&(null!=pe||(pe=Ae),pe!==this.getEditorValue()&&this.setEditorValue(pe)),this.__setElementValue(pe)},W.prototype.__setElementValue=function(pe){var Ae=this;if(!(0,C.isString)(pe))throw(0,C.error)("value must be string");if(this.element!==this.container&&pe!==this.getElementValue()){var Se={value:pe},De=this.e.fire("beforeSetElementValue",Se);(0,C.callPromise)(De,function(){void 0!==Ae.element.value?Ae.element.value=Se.value:Ae.element.innerHTML=Se.value,Ae.e.fire("afterSetElementValue",Se)})}},W.prototype.registerCommand=function(pe,Ae,Se){var De=pe.toLowerCase(),qe=this.commands.get(De);if(void 0===qe&&this.commands.set(De,qe=[]),qe.push(Ae),!(0,C.isFunction)(Ae)){var rt=this.o.commandToHotkeys[De]||this.o.commandToHotkeys[pe]||Ae.hotkeys;rt&&this.registerHotkeyToCommand(rt,De,null==Se?void 0:Se.stopPropagation)}return this},W.prototype.registerHotkeyToCommand=function(pe,Ae,Se){var De=this;void 0===Se&&(Se=!0);var qe=(0,C.asArray)(pe).map(C.normalizeKeyAliases).map(function(rt){return rt+".hotkey"}).join(" ");this.e.off(qe).on(qe,function(rt,ot){return ot&&(ot.shouldStop=null==Se||Se),De.execCommand(Ae)})},W.prototype.execCommand=function(pe,Ae,Se){for(var De,qe=[],rt=3;arguments.length>rt;rt++)qe[rt-3]=arguments[rt];if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(pe)){var ot;if(pe=pe.toLowerCase(),!1!==(ot=(De=this.e).fire.apply(De,h.__spreadArray(["beforeCommand",pe,Ae,Se],h.__read(qe),!1)))&&(ot=this.__execCustomCommands.apply(this,h.__spreadArray([pe,Ae,Se],h.__read(qe),!1))),!1!==ot)if(this.s.focus(),"selectall"===pe)this.s.select(this.editor,!0),this.s.expandSelection();else try{ot=this.nativeExecCommand(pe,Ae,Se)}catch(vt){}return this.e.fire("afterCommand",pe,Ae,Se),this.setEditorValue(),ot}},W.prototype.nativeExecCommand=function(pe,Ae,Se){this.__isSilentChange=!0;try{return this.ed.execCommand(pe,Ae,Se)}finally{this.__isSilentChange=!1}},W.prototype.__execCustomCommands=function(pe,Ae,Se){for(var De=this,qe=[],rt=3;arguments.length>rt;rt++)qe[rt-3]=arguments[rt];pe=pe.toLowerCase();var ot,vt=this.commands.get(pe);if(void 0!==vt)return vt.forEach(function(rn){var Xt,fn=(Xt=(0,C.isFunction)(rn)?rn:rn.exec).call.apply(Xt,h.__spreadArray([De,pe,Ae,Se],h.__read(qe),!1));void 0!==fn&&(ot=fn)}),ot},W.prototype.lock=function(pe){return void 0===pe&&(pe="any"),!!X.prototype.lock.call(this,pe)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)},W.prototype.unlock=function(){return!!X.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)},W.prototype.getMode=function(){return this.mode},W.prototype.isEditorMode=function(){return this.getRealMode()===y.MODE_WYSIWYG},W.prototype.getRealMode=function(){if(this.getMode()!==y.MODE_SPLIT)return this.getMode();var pe=this.od.activeElement;return pe&&(pe===this.iframe||x.Dom.isOrContains(this.editor,pe)||x.Dom.isOrContains(this.toolbar.container,pe))?y.MODE_WYSIWYG:y.MODE_SOURCE},W.prototype.setMode=function(pe){var Ae=this,Se=this.getMode(),De={mode:parseInt(pe.toString(),10)},qe=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",De)&&(this.__mode=[y.MODE_SOURCE,y.MODE_WYSIWYG,y.MODE_SPLIT].includes(De.mode)?De.mode:y.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),qe.forEach(function(rt){Ae.container.classList.remove(rt)}),this.container.classList.add(qe[this.mode-1]),Se!==this.getMode()&&this.e.fire("afterSetMode"))},W.prototype.toggleMode=function(){var pe=this.getMode();[y.MODE_SOURCE,y.MODE_WYSIWYG,this.o.useSplitMode?y.MODE_SPLIT:9].includes(pe+1)?pe+=1:pe=y.MODE_WYSIWYG,this.setMode(pe)},W.prototype.setDisabled=function(pe){this.o.disabled=pe;var Ae=this.__wasReadOnly;this.setReadOnly(pe||Ae),this.__wasReadOnly=Ae,this.editor&&(this.editor.setAttribute("aria-disabled",pe.toString()),this.container.classList.toggle("jodit_disabled",pe),this.e.fire("disabled",pe))},W.prototype.getDisabled=function(){return this.o.disabled},W.prototype.setReadOnly=function(pe){this.__wasReadOnly!==pe&&(this.__wasReadOnly=pe,this.o.readonly=pe,pe?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",pe))},W.prototype.getReadOnly=function(){return this.o.readonly},W.prototype.focus=function(){this.getMode()!==y.MODE_SOURCE&&this.s.focus()},Object.defineProperty(W.prototype,"isFocused",{get:function(){return this.s.isFocused()},enumerable:!1,configurable:!0}),W.prototype.beforeInitHook=function(){},W.prototype.afterInitHook=function(){},W.prototype.initOptions=function(pe){this.options=(0,C.ConfigProto)(pe||{},v.Config.defaultOptions)},W.prototype.initOwners=function(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow},W.prototype.addPlace=function(pe,Ae){var Se=this,De=(0,C.resolveElement)(pe,this.o.shadowRoot||this.od);this.attachEvents(Ae),De.attributes&&(0,C.toArray)(De.attributes).forEach(function(hn){var vn=hn.name,xn=hn.value;void 0===v.Config.defaultOptions[vn]||Ae&&void 0!==Ae[vn]||(-1!==["readonly","disabled"].indexOf(vn)&&(xn=""===xn||"true"===xn),/^[0-9]+(\.)?([0-9]+)?$/.test(xn.toString())&&(xn=Number(xn)),Se.options[vn]=xn)});var qe=this.c.div("jodit-container");qe.classList.add("jodit"),qe.classList.add("jodit-container"),qe.classList.add("jodit_theme_".concat(this.o.theme||"default")),U(this.o.className,qe),this.o.containerStyle&&(0,C.css)(qe,this.o.containerStyle);var rt=this.o.styleValues;Object.keys(rt).forEach(function(hn){var vn=(0,C.kebabCase)(hn);qe.style.setProperty("--jd-".concat(vn),rt[hn])}),qe.setAttribute("contenteditable","false");var ot=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(De.nodeName)&&(qe=De,De.setAttribute(O,De.className.toString()),ot=qe.innerHTML,qe.innerHTML=""),qe.classList.add("jodit_inline"),qe.classList.add("jodit-container")),De!==qe&&(De.style.display&&De.setAttribute(E,De.style.display),De.style.display="none");var vt=this.c.div("jodit-workplace",{contenteditable:!1});qe.appendChild(vt),this.message.destruct(),this.message=new x.UIMessages(this,vt),De.parentNode&&De!==qe&&De.parentNode.insertBefore(qe,De),Object.defineProperty(De,"component",{enumerable:!1,configurable:!0,value:this});var rn=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});vt.appendChild(rn);var Xt={editor:rn,element:De,container:qe,workplace:vt,statusbar:new x.StatusBar(this,qe),options:this.isReady?(0,C.ConfigProto)(Ae||{},v.Config.defaultOptions):this.options,history:new x.History(this),editorWindow:this.ow};this.__elementToPlace.set(rn,Xt),this.setCurrentPlace(Xt),this.places.push(Xt),this.setNativeEditorValue(this.getElementValue());var fn=this.__initEditor(ot),_n=this.options;return(0,C.callPromise)(fn,function(){_n.enableDragAndDropFileToEditor&&_n.uploader&&(_n.uploader.url||_n.uploader.insertImageAsBase64URI)&&Se.uploader.bind(Se.editor),Se.__elementToPlace.get(Se.editor)||Se.__elementToPlace.set(Se.editor,Xt),Se.e.fire("afterAddPlace",Xt)})},W.prototype.addDisclaimer=function(pe){this.workplace.appendChild(pe)},W.prototype.setCurrentPlace=function(pe){this.currentPlace!==pe&&(this.isEditorMode()||this.setMode(y.MODE_WYSIWYG),this.currentPlace=pe,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",pe))},W.prototype.__initEditor=function(pe){var Ae=this,Se=this.__createEditor();return(0,C.callPromise)(Se,function(){if(!Ae.isInDestruct){if(Ae.element!==Ae.container){var De=Ae.getElementValue();De!==Ae.getEditorValue()&&Ae.setEditorValue(De)}else null!=pe&&Ae.setEditorValue(pe);var qe=Ae.o.defaultMode;if(Ae.o.saveModeInStorage){var rt=Ae.storage.get("jodit_default_mode");"string"==typeof rt&&(qe=parseInt(rt,10))}Ae.setMode(qe),Ae.o.readonly&&(Ae.__wasReadOnly=!1,Ae.setReadOnly(!0)),Ae.o.disabled&&Ae.setDisabled(!0);try{Ae.ed.execCommand("defaultParagraphSeparator",!1,Ae.o.enter.toLowerCase())}catch(ot){}try{Ae.ed.execCommand("enableObjectResizing",!1,"false")}catch(ot){}try{Ae.ed.execCommand("enableInlineTableEditing",!1,"false")}catch(ot){}}})},W.prototype.__createEditor=function(){var pe=this,Ae=this.editor,Se=this.e.fire("createEditor",this);return(0,C.callPromise)(Se,function(){if(!pe.isInDestruct){if((!1===Se||(0,C.isPromise)(Se))&&x.Dom.safeRemove(Ae),U(pe.o.editorClassName||pe.o.editorCssClass,pe.editor),pe.o.editorCssClass&&pe.editor.classList.add(pe.o.editorCssClass),pe.o.style&&(0,C.css)(pe.editor,pe.o.style),pe.e.on("synchro",function(){pe.setEditorValue()}).on("focus",function(){pe.editorIsActive=!0}).on("blur",function(){return pe.editorIsActive=!1}),pe.__prepareWYSIWYGEditor(),pe.o.direction){var De="rtl"===pe.o.direction.toLowerCase()?"rtl":"ltr";pe.container.style.direction=De,pe.container.setAttribute("dir",De),pe.toolbar.setDirection(De)}pe.o.triggerChangeEvent&&pe.e.on("change",pe.async.debounce(function(){pe.e&&pe.e.fire(pe.element,"change")},pe.defaultTimeout))}})},W.prototype.__prepareWYSIWYGEditor=function(){var pe=this,Ae=this.editor;if(this.o.direction){var Se="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=Se,this.editor.setAttribute("dir",Se)}this.e.on(Ae,"mousedown touchstart focus",function(){var De=pe.__elementToPlace.get(Ae);De&&pe.setCurrentPlace(De)}).on(Ae,"compositionend",this.synchronizeValues).on(Ae,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",function(De){if(!pe.o.readonly&&!pe.__isSilentChange&&!(De instanceof pe.ew.KeyboardEvent&&De.isComposing)&&pe.e&&pe.e.fire){if(!1===pe.e.fire(De.type,De))return!1;pe.synchronizeValues()}})},W.prototype.fetch=function(pe,Ae){var Se=this,De=new S.Ajax(h.__assign({url:pe},Ae),this.o.defaultAjaxOptions),qe=function(){Se.e.off("beforeDestruct",qe),Se.progressbar.progress(100).hide(),De.destruct()};this.e.one("beforeDestruct",qe),this.progressbar.show().progress(30);var rt=De.send();return rt.finally(qe).catch(function(){return null}),rt},W.prototype.destruct=function(){var pe=this;if(!this.isInDestruct&&(this.setStatus(x.STATUSES.beforeDestruct),this.__elementToPlace.clear(),this.editor)){var Ae=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach(function(Se){var De=Se.container,qe=Se.workplace,rt=Se.statusbar,ot=Se.element,vt=Se.iframe,rn=Se.editor,Xt=Se.history;if(ot!==De)if(ot.hasAttribute(E)){var fn=(0,C.attr)(ot,E);fn&&(ot.style.display=fn,ot.removeAttribute(E))}else ot.style.display="";else ot.hasAttribute(O)&&(ot.className=(0,C.attr)(ot,O)||"",ot.removeAttribute(O));ot.hasAttribute("style")&&!(0,C.attr)(ot,"style")&&ot.removeAttribute("style"),rt.destruct(),pe.e.off(De),pe.e.off(ot),pe.e.off(rn),x.Dom.safeRemove(qe),x.Dom.safeRemove(rn),De!==ot&&x.Dom.safeRemove(De),Object.defineProperty(ot,"component",{enumerable:!1,configurable:!0,value:null}),x.Dom.safeRemove(vt),De===ot&&(ot.innerHTML=Ae),Xt.destruct()}),this.places.length=0,this.currentPlace={},delete z.instances[this.id],X.prototype.destruct.call(this)}},W.fatMode=!1,W.plugins=z.pluginSystem,W.modules=z.modules,W.ns=z.modules,W.decorators={},W.constants=y,W.instances=z.instances,W.lang=w.lang,W.core={Plugin:x.Plugin},h.__decorate([R.cache],W.prototype,"uploader",null),h.__decorate([R.cache],W.prototype,"filebrowser",null),h.__decorate([(0,R.throttle)()],W.prototype,"synchronizeValues",null),h.__decorate([(0,R.watch)(":internalChange")],W.prototype,"updateElementValue",null),h.__decorate([R.autobind],W.prototype,"__prepareWYSIWYGEditor",null),re=h.__decorate([(0,R.derive)(N.Dlgs)],W)}(x.ViewWithToolbar);function U(X,W){X&&X.split(/\s+/).forEach(function(re){return W.classList.add(re)})}s.Jodit=H},26435:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(10172),v={},y=o(90643),x=o(52532),C=o(75178),_=o(51048),w=o(22999),z=o(34145),R=o(40272),N=o(2978),S=o(99113),E=o(51923),O=o(21268),H=o(37289),U=o(17084),X=o(96891),W=o(31211),re=o(31109),pe=o(79375),Ae=o(21042),Se=o(73895);v={ar:y,cs_cz:x,de:C,en:_,es:w,fr:z,he:R,hu:N,id:S,it:E,ja:O,ko:H,nl:U,pl:X,pt_br:W,ru:re,tr:pe,zh_cn:Ae,zh_tw:Se};var De=o(11399),qe=function(ot){return ot?ot.default||ot:{}},rt={};(0,h.isArray)(qe(De))&&qe(De).forEach(function(ot,vt){rt[vt]=ot}),Object.keys(v).forEach(function(ot){var vt=qe(v[ot]);(0,h.isArray)(vt)?(v[ot]={},vt.forEach(function(rn,Xt){v[ot][rt[Xt]]=rn})):v[ot]=vt}),s.default=v},60403:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ContextMenu=void 0;var h=o(20255);o(47086);var v=o(35799),y=o(96516),x=o(10172),C=o(11441),_=function(w){function z(){return null!==w&&w.apply(this,arguments)||this}return h.__extends(z,w),z.prototype.className=function(){return"ContextMenu"},z.prototype.show=function(R,N,S){var E=this,O=this,H=this.j.c.div(this.getFullElName("actions"));(0,x.isArray)(S)&&(S.forEach(function(U){if(U){var X=(0,y.Button)(E.jodit,U.icon||"empty",U.title);E.jodit&&X.setParentView(E.jodit),X.setMod("context","menu"),X.onAction(function(W){var re;return null===(re=U.exec)||void 0===re||re.call(O,W),O.close(),!1}),H.appendChild(X.container)}}),this.setContent(H).open(function(){return{left:R,top:N,width:0,height:0}},!0))},h.__decorate([C.component],z)}(v.Popup);s.ContextMenu=_},97528:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Alert=void 0;var h=o(6690),v=o(40332),y=o(64968),x=o(2074);s.Alert=function(C,_,w,z){void 0===z&&(z="jodit-dialog_alert"),(0,v.isFunction)(_)&&(w=_,_=void 0);var R=this instanceof h.Dialog?this:new h.Dialog,N=R.c.div(z),S=(0,x.Button)(R,"ok","Ok");return(0,v.asArray)(C).forEach(function(E){N.appendChild(y.Dom.isNode(E)?E:R.c.fromHTML(E))}),S.onAction(function(){w&&(0,v.isFunction)(w)&&!1===w(R)||R.close()}),R.setFooter([S]),R.open(N,_||"&nbsp;",!0,!0),S.focus(),R}},47360:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Confirm=void 0;var h=o(6690),v=o(42096),y=o(96031);s.Confirm=function(x,C,_){var w=this instanceof h.Dialog?this:new h.Dialog,z=w.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),R=w.c.element("label");(0,v.isFunction)(C)&&(_=C,C=void 0),R.appendChild(w.c.fromHTML(x)),z.appendChild(R);var N=function(O){return function(){_&&!1===_(O)||w.close()}},S=(0,y.Button)(w,"cancel","Cancel"),E=(0,y.Button)(w,"ok","Yes");return S.onAction(N(!1)),E.onAction(N(!0)),w.e.on(z,"submit",function(){return N(!0)(),!1}),w.setFooter([E,S]),w.open(z,C||"&nbsp;",!0,!0),E.focus(),w}},6690:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Dialog=void 0;var h=o(20255);o(16462);var v=o(93166),y=o(86893),x=o(40332),C=(o(52378),o(43608)),_=o(64968),w=o(56562),z=o(17332),R=o(43441),N=o(75902),S=o(2074),E=o(71014);v.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},v.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(H){H.close()}}};var O=function(H){function U(X){void 0===X&&(X={});var W=H.call(this,X)||this;W.destroyAfterClose=!1,W.moved=!1,W.resizable=!1,W.draggable=!1,W.startX=0,W.startY=0,W.startPoint={x:0,y:0,w:0,h:0},W.lockSelect=function(){W.setMod("moved",!0)},W.unlockSelect=function(){W.setMod("moved",!1)},W.onResize=function(){W.options&&W.o.resizable&&!W.moved&&W.isOpened&&!W.offsetX&&!W.offsetY&&W.setPosition()},W.isModal=!1,W.isOpened=!1;var re=W;re.options=(0,x.ConfigProto)(X,(0,x.ConfigProto)(v.Config.prototype.dialog,N.View.defaultOptions)),_.Dom.safeRemove(re.container);var pe=W.getFullElName.bind(W);re.container=W.c.fromHTML('<div class="jodit jodit-dialog '.concat(W.componentName,'">\n\t\t\t\t<div class="').concat(pe("overlay"),'"></div>\n\t\t\t\t<div class="').concat(W.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(pe("header"),'">\n\t\t\t\t\t\t<div class="').concat(pe("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(pe("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(pe("content"),'"></div>\n\t\t\t\t\t<div class="').concat(pe("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(pe("resizer"),'">').concat(S.Icon.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),W.o.zIndex&&(W.container.style.zIndex=W.o.zIndex.toString()),(0,x.attr)(re.container,"role","dialog"),Object.defineProperty(re.container,"component",{value:W}),re.setMod("theme",re.o.theme||"default").setMod("resizable",Boolean(re.o.resizable));var Ae=re.getElm("panel"),Se=re.getElm("resizer"),De=re.getElm("header-title"),qe=re.getElm("content"),rt=re.getElm("footer"),ot=re.getElm("header-toolbar");W.message.destruct(),W.message=new E.UIMessages(W,Ae),W.dialog=Ae,W.resizer=Se,W.dialogbox_header=De,W.dialogbox_content=qe,W.dialogbox_footer=rt,W.dialogbox_toolbar=ot,(0,x.css)(re.dialog,{maxWidth:re.options.maxWidth,minHeight:re.options.minHeight,minWidth:re.options.minWidth});var vt=re.getElm("header");vt&&re.e.on(vt,"pointerdown touchstart",re.onHeaderMouseDown),re.e.on(re.resizer,"mousedown touchstart",re.onResizerMouseDown);var rn=z.pluginSystem.get("fullsize");return(0,x.isFunction)(rn)&&rn(re),W.e.on(re.container,"close_dialog",re.close).on(W.ow,"keydown",W.onEsc).on(W.ow,"resize",W.onResize),W}return h.__extends(U,H),U.prototype.className=function(){return"Dialog"},Object.defineProperty(U.prototype,"destination",{get:function(){var X;return null!==(X=this.o.shadowRoot)&&void 0!==X?X:this.od.body},enumerable:!1,configurable:!0}),U.prototype.setElements=function(X,W){var re=this,pe=[];(0,x.asArray)(W).forEach(function(Ae){if((0,x.isArray)(Ae)){var Se=re.c.div(re.getFullElName("column"));return pe.push(Se),X.appendChild(Se),re.setElements(Se,Ae)}var De;De=(0,x.isString)(Ae)?re.c.fromHTML(Ae):(0,x.hasContainer)(Ae)?Ae.container:Ae,pe.push(De),De.parentNode!==X&&X.appendChild(De)}),(0,x.toArray)(X.childNodes).forEach(function(Ae){-1===pe.indexOf(Ae)&&X.removeChild(Ae)})},U.prototype.onMouseUp=function(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))},U.prototype.onHeaderMouseDown=function(X){var W=X.target;!this.o.draggable||W&&W.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=X.clientX,this.startY=X.clientY,this.startPoint.x=(0,x.css)(this.dialog,"left"),this.startPoint.y=(0,x.css)(this.dialog,"top"),this.setMaxZIndex(),X.cancelable&&X.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))},U.prototype.onMouseMove=function(X){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+X.clientX-this.startX,this.startPoint.y+X.clientY-this.startY),this.e&&this.e.fire(this,"move",X.clientX-this.startX,X.clientY-this.startY),X.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+X.clientX-this.startX,this.startPoint.h+X.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",X.clientX-this.startX,X.clientY-this.startY))},U.prototype.onEsc=function(X){if(this.isOpened&&X.key===y.KEY_ESC&&!0!==this.getMod("static")){var W=this.getMaxZIndexDialog();W?W.close():this.close(),X.stopImmediatePropagation()}},U.prototype.onResizerMouseDown=function(X){this.resizable=!0,this.startX=X.clientX,this.startY=X.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")},U.prototype.addGlobalResizeListeners=function(){var X=this;X.e.on(X.ow,"pointermove touchmove",X.onMouseMove).on(X.ow,"pointerup touchend",X.onMouseUp)},U.prototype.removeGlobalResizeListeners=function(){var X=this;X.e.off(X.ow,"mousemove pointermove",X.onMouseMove).off(X.ow,"mouseup pointerup",X.onMouseUp)},U.prototype.setSize=function(X,W){return null==X&&(X=this.dialog.offsetWidth),null==W&&(W=this.dialog.offsetHeight),(0,x.css)(this.dialog,{width:X,height:W}),this},U.prototype.calcAutoSize=function(){return this.setSize("auto","auto"),this.setSize(),this},U.prototype.setPosition=function(X,W){var re=this.ow.innerWidth/2-this.dialog.offsetWidth/2,pe=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>re&&(re=0),0>pe&&(pe=0),void 0!==X&&void 0!==W&&(this.offsetX=X,this.offsetY=W,this.moved=Math.abs(X-re)>100||Math.abs(W-pe)>100),this.dialog.style.left=(X||re)+"px",this.dialog.style.top=(W||pe)+"px",this},U.prototype.setHeader=function(X){return this.setElements(this.dialogbox_header,X),this},U.prototype.setContent=function(X){return this.setElements(this.dialogbox_content,X),this},U.prototype.setFooter=function(X){return this.setElements(this.dialogbox_footer,X),this.setMod("footer",Boolean(X)),this},U.prototype.getZIndex=function(){return parseInt((0,x.css)(this.container,"zIndex"),10)||0},U.prototype.getMaxZIndexDialog=function(){var X,W,re=0,pe=this;return(0,x.$$)(".jodit-dialog",this.destination).forEach(function(Ae){X=Ae.component,W=parseInt((0,x.css)(Ae,"zIndex"),10),X.isOpened&&!isNaN(W)&&W>re&&(pe=X,re=W)}),pe},U.prototype.setMaxZIndex=function(){if(!this.getMod("static")){var X=20000004,W=0;(0,x.$$)(".jodit-dialog",this.destination).forEach(function(re){W=parseInt((0,x.css)(re,"zIndex"),10),X=Math.max(isNaN(W)?0:W,X)}),this.container.style.zIndex=(X+1).toString()}},U.prototype.toggleFullSize=function(X){(0,x.isVoid)(X)&&(X=!this.getMod("fullsize")),this.setMod("fullsize",X),H.prototype.toggleFullSize.call(this,X)},U.prototype.open=function(X,W,re,pe){if(z.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,x.isBoolean)(X)&&(re=X),(0,x.isBoolean)(W)&&(pe=W),this.destroyAfterClose=!0===re;var Ae=(0,x.isBoolean)(X)?void 0:X,Se=(0,x.isBoolean)(W)?void 0:W;return void 0!==Se&&this.setHeader(Se),Ae&&this.setContent(Ae),this.setMod("active",!0),this.isOpened=!0,this.setModal(pe),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this},U.prototype.setModal=function(X){return this.isModal=Boolean(X),this.setMod("modal",this.isModal),this},U.prototype.close=function(){return this.isDestructed||!this.isOpened||!0===this.getMod("static")||!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),_.Dom.safeRemove(this.container),this.removeGlobalResizeListeners(),this.destroyAfterClose&&this.destruct(),this.e.fire(this,"afterClose"),this.e.fire(this.ow,"joditCloseDialog")),this},U.prototype.buildToolbar=function(){this.o.buttons&&this.toolbar.build((0,x.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)},U.prototype.destruct=function(){this.isInDestruct||(this.setStatus(w.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),H.prototype.destruct.call(this))},h.__decorate([R.autobind],U.prototype,"onMouseUp",null),h.__decorate([R.autobind],U.prototype,"onHeaderMouseDown",null),h.__decorate([R.autobind],U.prototype,"onMouseMove",null),h.__decorate([R.autobind],U.prototype,"onEsc",null),h.__decorate([R.autobind],U.prototype,"onResizerMouseDown",null),h.__decorate([R.autobind],U.prototype,"close",null),h.__decorate([(0,R.hook)("ready")],U.prototype,"buildToolbar",null),h.__decorate([R.component],U)}(C.ViewWithToolbar);s.Dialog=O},92080:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Confirm=s.Prompt=s.Alert=s.Dialog=void 0;var h=o(6690);Object.defineProperty(s,"Dialog",{enumerable:!0,get:function(){return h.Dialog}});var v=o(97528);Object.defineProperty(s,"Alert",{enumerable:!0,get:function(){return v.Alert}});var y=o(35789);Object.defineProperty(s,"Prompt",{enumerable:!0,get:function(){return y.Prompt}});var x=o(47360);Object.defineProperty(s,"Confirm",{enumerable:!0,get:function(){return x.Confirm}})},35789:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Prompt=void 0;var h=o(92080),v=o(2074),y=o(40332);s.Prompt=function(x,C,_,w,z){var R=this instanceof h.Dialog?this:new h.Dialog,N=(0,v.Button)(R,"cancel","Cancel"),S=(0,v.Button)(R,"ok","Ok"),E=R.c.element("form",{class:"jodit-dialog_prompt"}),O=R.c.element("input",{autofocus:!0,class:"jodit-input"}),H=R.c.element("label");(0,y.isFunction)(C)&&(_=C,C=void 0),w&&(0,y.attr)(O,"placeholder",w),H.appendChild(R.c.text(x)),E.appendChild(H),E.appendChild(O),N.onAction(R.close);var U=function(){_&&(0,y.isFunction)(_)&&!1===_(O.value)||R.close()};return S.onAction(U),R.e.on(E,"submit",function(){return U(),!1}),R.setFooter([S,N]),R.open(E,C||"&nbsp;",!0,!0),O.focus(),void 0!==z&&z.length&&(O.value=z,O.select()),R}},34468:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(64968),y=o(40332),x=o(46341),C=o(2074),_=o(21347),w=o(35503),z=o(66267),R=o(36303),N=o(48096),S="jodit-filebrowser-preview",E=function(O,H){return void 0===O&&(O="next"),void 0===H&&(H="right"),'<div class="'.concat(S,"__navigation ").concat(S,"__navigation_arrow_").concat(O,'">')+""+C.Icon.get("angle-"+H)+"</a>"};s.default=function(O){if(!O.o.contextMenu)return function(){};var H=(0,x.makeContextMenu)(O);return function(U){var X=(0,_.getItem)(U.target,O.container);if(X){var W=X,re=O.options,pe=function(Ae){return(0,y.attr)(W,Ae)||""};return O.async.setTimeout(function(){var Ae=(0,_.elementToItem)(X,(0,z.elementsMap)(O));Ae&&(O.state.activeElements=[Ae],H.show(U.clientX,U.clientY,[!("1"===pe("data-is-file")||!re.editImage||!O.dataProvider.canI("ImageResize")&&!O.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){return w.openImageEditor.call(O,pe("href"),pe("data-name"),pe("data-path"),pe("data-source"))}},!!O.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){O.e.fire("fileRename.filebrowser",pe("data-name"),pe("data-path"),pe("data-source"))}},!!O.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){return h.__awaiter(void 0,void 0,Promise,function(){var Se;return h.__generator(this,function(De){switch(De.label){case 0:return De.trys.push([0,2,,3]),[4,(0,N.deleteFile)(O,pe("data-name"),pe("data-source"))];case 1:return De.sent(),[3,3];case 2:return Se=De.sent(),[2,O.status(Se)];case 3:return O.state.activeElements=[],[2,(0,R.loadTree)(O).catch(O.status)]}})})}},!!re.preview&&{icon:"eye",title:"Preview",exec:function(){var Se=O.dlg({buttons:["fullsize","dialog.close"]}),De=O.c.div(S,'<div class="jodit-icon_loader"></div>'),qe=O.c.div(S+"__box"),rt=O.c.fromHTML(E()),ot=O.c.fromHTML(E("prev","left")),vt=function(rn){var Xt=O.c.element("img");Xt.setAttribute("src",rn);var fn=function(){var _n;O.isInDestruct||(O.e.off(Xt,"load"),v.Dom.detach(De),re.showPreviewNavigation&&(v.Dom.prevWithClass(W,O.files.getFullElName("item"))&&De.appendChild(ot),v.Dom.nextWithClass(W,O.files.getFullElName("item"))&&De.appendChild(rt)),De.appendChild(qe),qe.appendChild(Xt),Se.setPosition(),null===(_n=null==O?void 0:O.events)||void 0===_n||_n.fire("previewOpenedAndLoaded"))};O.e.on(Xt,"load",fn),Xt.complete&&fn()};O.e.on([rt,ot],"click",function(){if(!(W=this===rt?v.Dom.nextWithClass(W,O.files.getFullElName("item")):v.Dom.prevWithClass(W,O.files.getFullElName("item"))))throw(0,y.error)("Need element");v.Dom.detach(De),v.Dom.detach(qe),De.innerHTML='<div class="jodit-icon_loader"></div>',vt(pe("href"))}),O.e.on("beforeDestruct",function(){Se.destruct()}),Se.container.classList.add(S+"__dialog"),Se.setContent(De),Se.setPosition(),Se.open(),vt(pe("href")),O.events.on("beforeDestruct",function(){Se.destruct()}).fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var Se=pe("href");Se&&O.ow.open(Se)}}]))},O.defaultTimeout),O.e.on("beforeClose",function(){return H.close()}).on("beforeDestruct",function(){return H.destruct()}),U.stopPropagation(),U.preventDefault(),!1}}}},66267:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.elementsMap=void 0;var o=new WeakMap;s.elementsMap=function(h){var v=o.get(h);return v||o.set(h,v={}),v}},63511:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.FileBrowserItem=void 0;var h=o(40332),v=function(){function y(x){var C=this;this.data=x,Object.keys(x).forEach(function(_){C[_]=x[_]})}return y.create=function(x){return x instanceof y?x:new y(x)},Object.defineProperty(y.prototype,"path",{get:function(){return(0,h.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"imageURL",{get:function(){var x=this.time||(new Date).getTime().toString(),C=this.data,_=C.source,w=C.thumb||C.file;return C.thumbIsAbsolute&&w?w:(0,h.normalizeUrl)(_.baseurl,_.path,w||"")+"?_tmst="+encodeURIComponent(x)},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"fileURL",{get:function(){var x=this.data.name,C=this.data,_=C.file,w=C.source;return void 0!==_&&(x=_),C.fileIsAbsolute&&x?x:(0,h.normalizeUrl)(w.baseurl,w.path,x||"")},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"time",{get:function(){var x=this.data.changed;return x&&("number"==typeof x?new Date(x).toLocaleString():x)||""},enumerable:!1,configurable:!0}),Object.defineProperty(y.prototype,"uniqueHashKey",{get:function(){var x=this.data;return[x.sourceName,x.name,x.file,this.time,x.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")},enumerable:!1,configurable:!0}),y.prototype.toJSON=function(){return this.data},y}();s.FileBrowserItem=v},38097:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(93166),y=o(10172),x=o(41374),C=o(6102);v.Config.prototype.filebrowser={namespace:"",extraButtons:[],filter:function(_,w){return w=w.toLowerCase(),(0,y.isString)(_)?-1!==_.toLowerCase().indexOf(w):(0,y.isString)(_.name)?-1!==_.name.toLowerCase().indexOf(w):!(0,y.isString)(_.file)||-1!==_.file.toLowerCase().indexOf(w)},sortBy:"changed-desc",sort:function(_,w,z){var R=h.__read(z.toLowerCase().split("-"),2),N=R[0],S="asc"===R[1],E=function(U,X){return X>U?S?-1:1:U>X?S?1:-1:0};if((0,y.isString)(_))return E(_.toLowerCase(),w.toLowerCase());if(void 0===_[N]||"name"===N)return(0,y.isString)(_.name)?E(_.name.toLowerCase(),w.name.toLowerCase()):(0,y.isString)(_.file)?E(_.file.toLowerCase(),w.file.toLowerCase()):0;switch(N){case"changed":var O=new Date(_.changed).getTime(),H=new Date(w.changed).getTime();return S?O-H:H-O;case"size":return O=(0,C.humanSizeToBytes)(_.size),H=(0,C.humanSizeToBytes)(w.size),S?O-H:H-O}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(_){return _.success},getMessage:function(_){return void 0!==_.data.messages&&(0,y.isArray)(_.data.messages)?_.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate:function(_,w,z){var R=this.options,N=this.files.getFullElName("item"),S=R.showFileName,E=R.showFileSize&&_.size,O=R.showFileChangeTime&&_.time,H="";void 0!==_.file&&(H=_.file);var U='<div class="'.concat(N,'-info">').concat(S?'<span class="'.concat(N,'-info-filename">').concat(H,"</span>"):"").concat(E?'<span class="'.concat(N,'-info-filesize">').concat(_.size,"</span>"):"").concat(O?'<span class="'.concat(N,'-info-filechanged">').concat(O,"</span>"):"","</div>");return'<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="'.concat(_.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(N,'"\n\t\t\thref="').concat(_.fileURL,'"\n\t\t\tdata-source="').concat(z,'"\n\t\t\tdata-path="').concat(_.path,'"\n\t\t\tdata-name="').concat(H,'"\n\t\t\ttitle="').concat(H,'"\n\t\t\tdata-url="').concat(_.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(_.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(_.fileURL,'"\n\t\t\t\t\tsrc="').concat(_.imageURL,'"\n\t\t\t\t\talt="').concat(H,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(S||E||O?U:"","\n\t\t\t</a>")},ajax:h.__assign(h.__assign({},v.Config.prototype.defaultAjaxOptions),{url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:function(_){return _},process:function(_){return _}}),create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},v.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:function(_){return!_.dataProvider.canI("FileUpload")},getContent:function(_){var w=new x.UIFileInput(_,{onlyImages:_.state.onlyImages});return _.e.fire("bindUploader.filebrowser",w.container),w.container}},remove:{icon:"bin",isDisabled:function(_){return!_.state.activeElements.length||!_.dataProvider.canI("FileRemove")},exec:function(_){_.e.fire("fileRemove.filebrowser")}},update:{exec:function(_){_.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:function(_){return!_.state.activeElements.length},exec:function(_){_.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled:function(_){var w=_.state.activeElements;return 1!==w.length||!w[0].isImage||!(_.dataProvider.canI("ImageCrop")||_.dataProvider.canI("ImageResize"))},exec:function(_){_.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(_){return"tiles"===_.state.view},exec:function(_){_.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(_){return"list"===_.state.view},exec:function(_){_.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(_,w,z){var R=z.container.querySelector(".jodit-input");if(R)return R;var N=_.c.element("input",{class:"jodit-input",placeholder:_.i18n("Filter")});return N.value=_.state.filterWord,_.e.on(N,"keydown mousedown",_.async.debounce(function(){_.e.fire("filter.filebrowser",N.value)},_.defaultTimeout)),N}},sort:{isInput:!0,getContent:function(_){var w=_.c.fromHTML('<select class="jodit-input jodit-select">'+'<option value="changed-asc">'.concat(_.i18n("Sort by changed")," (\u2b06)</option>")+'<option value="changed-desc">'.concat(_.i18n("Sort by changed")," (\u2b07)</option>")+'<option value="name-asc">'.concat(_.i18n("Sort by name")," (\u2b06)</option>")+'<option value="name-desc">'.concat(_.i18n("Sort by name")," (\u2b07)</option>")+'<option value="size-asc">'.concat(_.i18n("Sort by size")," (\u2b06)</option>")+'<option value="size-desc">'.concat(_.i18n("Sort by size")," (\u2b07)</option>")+"</select>");return w.value=_.state.sortBy,_.e.on("sort.filebrowser",function(z){w.value!==z&&(w.value=z)}).on(w,"change",function(){_.e.fire("sort.filebrowser",w.value)}),w}}}},82530:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.DEFAULT_SOURCE_NAME=void 0;var h=o(20255),v=o(40332),y=o(30056),x=o(43441),C=o(63511);s.DEFAULT_SOURCE_NAME="default";var _=function(){function w(z,R){this.parent=z,this.options=R,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=function(N){}}return Object.defineProperty(w.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),w.prototype.get=function(z){var R=this,N=this.ajaxInstances;if(N.has(z)){var S=N.get(z);null==S||S.abort(),N.delete(z)}var E=(0,v.ConfigProto)(void 0!==this.options[z]?this.options[z]:{},(0,v.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));E.prepareData&&(E.data=E.prepareData.call(this,E.data));var O=new y.Ajax(E);N.set(z,O);var H=O.send();return H.finally(function(){O.destruct(),N.delete(z),R.progressHandler(100)}).catch(function(){return null}),H.then(function(U){return U.json()}).then(function(U){if(U&&!R.isSuccess(U))throw new Error(R.getMessage(U));return U})},w.prototype.onProgress=function(z){this.progressHandler=z},w.prototype.permissions=function(z,R){return h.__awaiter(this,void 0,Promise,function(){var N=this;return h.__generator(this,function(S){return this.o.permissions?(this.o.permissions.data.path=z,this.o.permissions.data.source=R,this.o.permissions.url?[2,this.get("permissions").then(function(E){var O=N.o.permissions.process;if(O||(O=N.o.ajax.process),O){var H=O.call(self,E);H.data.permissions&&(N.__currentPermissions=H.data.permissions)}return N.__currentPermissions})]:[2,null]):[2,null]})})},w.prototype.canI=function(z){var R="allow"+z;return null==this.__currentPermissions||void 0===this.__currentPermissions[R]||this.__currentPermissions[R]},w.prototype.__items=function(z,R,N,S){var E=this,O=this.options;return O.items?(O.items.data.path=z,O.items.data.source=R,O.items.data.mods=N,this.get("items").then(function(H){var U=E.o.items.process;return U||(U=E.o.ajax.process),U&&(H=U.call(self,H)),S(H)})):Promise.reject("Set Items api options")},w.prototype.items=function(z,R,N){var S=this;return void 0===N&&(N={}),this.__items(z,R,N,function(E){return S.generateItemsList(E.data.sources,N)})},w.prototype.itemsEx=function(z,R,N){var S=this;return void 0===N&&(N={}),this.__items(z,R,N,function(E){return{items:S.generateItemsList(E.data.sources,N),loadedTotal:(O=E.data.sources,O.reduce(function(H,U){return H+U.files.length},0))};var O})},w.prototype.generateItemsList=function(z,R){var N=this;void 0===R&&(R={});var S=[];return z.forEach(function(E){if(E.files&&E.files.length){var O=N.o.sort;(0,v.isFunction)(O)&&R.sortBy&&E.files.sort(function(H,U){return O(H,U,R.sortBy)}),E.files.forEach(function(H){var U,X;U=H,(!(null===(X=R.filterWord)||void 0===X?void 0:X.length)||void 0===N.o.filter||N.o.filter(U,R.filterWord))&&function(U){return"folder"===U.type||!R.onlyImages||void 0===U.isImage||U.isImage}(H)&&S.push(C.FileBrowserItem.create(h.__assign(h.__assign({},H),{sourceName:E.name,source:E})))})}}),S},w.prototype.tree=function(z,R){return h.__awaiter(this,void 0,Promise,function(){var N=this;return h.__generator(this,function(S){switch(S.label){case 0:return z=(0,v.normalizeRelativePath)(z),this.o.folder?[4,this.permissions(z,R)]:[2,Promise.reject("Set Folder Api options")];case 1:return S.sent(),this.o.folder.data.path=z,this.o.folder.data.source=R,[2,this.get("folder").then(function(E){var O=N.o.folder.process;return O||(O=N.o.ajax.process),O&&(E=O.call(self,E)),E.data.sources})]}})})},w.prototype.getPathByUrl=function(z){var R=this;return(0,v.set)("options.getLocalFileByUrl.data.url",z,this),this.get("getLocalFileByUrl").then(function(N){if(R.isSuccess(N))return N.data;throw(0,v.error)(R.getMessage(N))})},w.prototype.createFolder=function(z,R,N){var S=this,E=this.o.create;if(!E)throw(0,v.error)("Set Create api options");return E.data.source=N,E.data.path=R,E.data.name=z,this.get("create").then(function(O){if(S.isSuccess(O))return!0;throw(0,v.error)(S.getMessage(O))})},w.prototype.move=function(z,R,N,S){var E=this,O=S?"fileMove":"folderMove",H=this.options[O];if(!H)throw(0,v.error)("Set Move api options");return H.data.from=z,H.data.path=R,H.data.source=N,this.get(O).then(function(U){if(E.isSuccess(U))return!0;throw(0,v.error)(E.getMessage(U))})},w.prototype.remove=function(z,R,N,S){var E=this,O=this.o[z];if(!O)throw(0,v.error)('Set "'.concat(z,'" api options'));return O.data.path=R,O.data.name=N,O.data.source=S,this.get(z).then(function(H){return O.process&&(H=O.process.call(E,H)),E.getMessage(H)})},w.prototype.fileRemove=function(z,R,N){return this.remove("fileRemove",z,R,N)},w.prototype.folderRemove=function(z,R,N){return this.remove("folderRemove",z,R,N)},w.prototype.rename=function(z,R,N,S,E){var O=this,H=this.o[z];if(!H)throw(0,v.error)('Set "'.concat(z,'" api options'));return H.data.path=R,H.data.name=N,H.data.newname=S,H.data.source=E,this.get(z).then(function(U){return H.process&&(U=H.process.call(self,U)),O.getMessage(U)})},w.prototype.folderRename=function(z,R,N,S){return this.rename("folderRename",z,R,N,S)},w.prototype.fileRename=function(z,R,N,S){return this.rename("fileRename",z,R,N,S)},w.prototype.changeImage=function(z,R,N,S,E,O){this.o[z]||(this.o[z]={data:{}});var H=this.o[z];return void 0===H.data&&(H.data={action:z}),H.data.newname=E||S,O&&(H.data.box=O),H.data.path=R,H.data.name=S,H.data.source=N,this.get(z).then(function(){return!0})},w.prototype.crop=function(z,R,N,S,E){return this.changeImage("crop",z,R,N,S,E)},w.prototype.resize=function(z,R,N,S,E){return this.changeImage("resize",z,R,N,S,E)},w.prototype.getMessage=function(z){return this.options.getMessage(z)},w.prototype.isSuccess=function(z){return this.options.isSuccess(z)},w.prototype.destruct=function(){this.ajaxInstances.forEach(function(z){return z.destruct()}),this.ajaxInstances.clear()},h.__decorate([x.autobind],w)}();s.default=_},46341:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.makeContextMenu=s.makeDataProvider=void 0;var h=o(82530),v=o(60403);s.makeDataProvider=function(y,x){return new h.default(y,x)},s.makeContextMenu=function(y){return new v.ContextMenu(y)}},48096:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.deleteFile=void 0,s.deleteFile=function(o,h,v){return o.dataProvider.fileRemove(o.state.currentPath,h,v).then(function(y){o.status(y||o.i18n('File "%s" was deleted',h),!0)}).catch(o.status)}},4253:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.loadItems=void 0,s.loadItems=function(o){return o.files.setMod("active",!0),o.files.setMod("loading",!0),o.dataProvider.items(o.state.currentPath,o.state.currentSource,{sortBy:o.state.sortBy,onlyImages:o.state.onlyImages,filterWord:o.state.filterWord}).then(function(h){h&&(o.state.elements=h,o.state.activeElements=[])}).catch(o.status).finally(function(){return o.files.setMod("loading",!1)})}},36303:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.loadTree=void 0;var h=o(20255),v=o(64968),y=o(4253);s.loadTree=function(x){return h.__awaiter(this,void 0,Promise,function(){var C,_;return h.__generator(this,function(w){return x.tree.setMod("active",!0),v.Dom.detach(x.tree.container),C=(0,y.loadItems)(x),x.o.showFoldersPanel?(x.tree.setMod("loading",!0),_=x.dataProvider.tree(x.state.currentPath,x.state.currentSource).then(function(z){x.state.sources=z}).catch(x.status).finally(function(){return x.tree.setMod("loading",!1)}),[2,Promise.all([_,C])]):(x.tree.setMod("active",!1),[2,C])})})}},50885:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isFileBrowserFilesItem=s.FileBrowser=void 0;var h=o(20255);o(40692);var v=o(93166),y=o(86893),x=o(77462),C=o(40332),_=o(64968),w=o(46341),z=o(86774),R=o(21347),N=o(44734),S=o(82530),E=o(43441),O=o(98782),H=o(55395),U=o(36303),X=o(4253),W=o(56562),re=o(59829),pe=o(43608);o(38097);var Ae=function(Se){function De(qe){var rt,ot=this;(ot=Se.call(this,qe)||this).browser=ot.c.div(ot.componentName),ot.status_line=ot.c.div(ot.getFullElName("status")),ot.tree=new O.FileBrowserTree(ot),ot.files=new O.FileBrowserFiles(ot),ot.state=(0,H.observable)({currentPath:"",currentSource:S.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),ot.errorHandler=function(Sn){(0,C.isAbort)(Sn)||(Sn instanceof Error?ot.status(ot.i18n(Sn.message)):ot.status(ot.dataProvider.getMessage(Sn)))},ot.close=function(){ot._dialog.close()},ot.attachEvents(qe);var vt=ot;vt.options=(0,C.ConfigProto)(qe||{},v.Config.defaultOptions.filebrowser),vt.storage=x.Storage.makeStorage(Boolean(ot.o.saveStateInStorage),ot.componentName),vt.dataProvider=(0,w.makeDataProvider)(vt,vt.options),vt._dialog=ot.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(rt=ot.o.headerButtons)&&void 0!==rt?rt:["fullsize","dialog.close"]}),ot.proxyDialogEvents(vt),vt.browser.component=ot,vt.container=vt.browser,vt.o.showFoldersPanel&&vt.browser.appendChild(vt.tree.container),vt.browser.appendChild(vt.files.container),vt.browser.appendChild(vt.status_line),N.selfListeners.call(vt),R.nativeListeners.call(vt),z.stateListeners.call(vt),vt._dialog.setSize(vt.o.width,vt.o.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(function(Sn){null!=ot.options[Sn]&&(ot.options[Sn]=(0,C.ConfigProto)(ot.options[Sn],ot.o.ajax))});var rn=ot.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},Xt=rn.storeSortBy,fn=rn.storeLastOpenedFolder,_n=rn.storeView&&ot.storage.get("view");vt.state.view=_n&&null==ot.o.view?"list"===_n?"list":"tiles":"list"===vt.o.view?"list":"tiles",vt.files.setMod("view",vt.state.view);var hn=Xt&&vt.storage.get("sortBy");if(hn){var vn=hn.split("-");vt.state.sortBy=["changed","name","size"].includes(vn[0])?hn:"changed-desc"}else vt.state.sortBy=vt.o.sortBy||"changed-desc";if(fn){var xn=vt.storage.get("currentPath"),dn=vt.storage.get("currentSource");vt.state.currentPath=null!=xn?xn:"",vt.state.currentSource=null!=dn?dn:""}return vt.initUploader(vt),vt.setStatus(W.STATUSES.ready),ot}return h.__extends(De,Se),De.prototype.className=function(){return"Filebrowser"},De.prototype.onSelect=function(qe){var rt=this;return function(){if(rt.state.activeElements.length){var ot=[],vt=[];rt.state.activeElements.forEach(function(Xt){var fn=Xt.fileURL;fn&&(ot.push(fn),vt.push(Xt.isImage||!1))}),rt.close();var rn={baseurl:"",files:ot,isImages:vt};(0,C.isFunction)(qe)&&qe(rn),rt.close()}return!1}},Object.defineProperty(De.prototype,"isOpened",{get:function(){return this._dialog.isOpened&&"none"!==this.browser.style.display},enumerable:!1,configurable:!0}),De.prototype.status=function(qe,rt){qe&&!(0,C.isAbort)(qe)&&((0,C.isString)(qe)||(qe=qe.message),(0,C.isString)(qe)&&(0,C.trim)(qe).length&&this.message.message(qe,rt?"success":"error",this.o.howLongShowMsg))},De.prototype.open=function(qe,rt){var ot=this;return void 0===qe&&(qe=this.o.defaultCallback),void 0===rt&&(rt=!1),this.state.onlyImages=rt,this.async.promise(function(vt,rn){var Xt;if(!ot.o.items||!ot.o.items.url)throw(0,C.error)("Need set options.filebrowser.ajax.url");var fn=0;ot.e.off(ot.files.container,"dblclick").on(ot.files.container,"dblclick",ot.onSelect(qe)).on(ot.files.container,"touchstart",function(){var hn=(new Date).getTime();y.EMULATE_DBLCLICK_TIMEOUT>hn-fn&&ot.onSelect(qe)(),fn=hn}).off("select.filebrowser").on("select.filebrowser",ot.onSelect(qe));var _n=ot.c.div();ot.toolbar.build(null!==(Xt=ot.o.buttons)&&void 0!==Xt?Xt:[]).appendTo(_n),ot._dialog.open(ot.browser,_n),ot.e.fire("sort.filebrowser",ot.state.sortBy),(0,U.loadTree)(ot).then(vt,rn)})},De.prototype.initUploader=function(qe){var rt,ot=this,vt=this,rn=null===(rt=null==qe?void 0:qe.options)||void 0===rt?void 0:rt.uploader,Xt=(0,C.ConfigProto)(rn||{},v.Config.defaultOptions.uploader),fn=function(){return(0,X.loadItems)(ot)};vt.uploader=vt.getInstance("Uploader",Xt),vt.uploader.setPath(vt.state.currentPath).setSource(vt.state.currentSource).bind(vt.browser,fn,vt.errorHandler),this.state.on(["change.currentPath","change.currentSource"],function(){ot.uploader.setPath(ot.state.currentPath).setSource(ot.state.currentSource)}),vt.e.on("bindUploader.filebrowser",function(_n){vt.uploader.bind(_n,fn,vt.errorHandler)})},De.prototype.proxyDialogEvents=function(qe){var rt=this;["afterClose","beforeOpen"].forEach(function(ot){qe._dialog.events.on(qe.dlg,ot,function(){rt.e.fire(ot)})})},De.prototype.destruct=function(){this.isInDestruct||(Se.prototype.destruct.call(this),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())},h.__decorate([E.autobind],De.prototype,"status",null),h.__decorate([E.autobind],De.prototype,"open",null),h.__decorate([(0,E.derive)(re.Dlgs)],De)}(pe.ViewWithToolbar);s.FileBrowser=Ae,s.isFileBrowserFilesItem=function(Se){return _.Dom.isElement(Se)&&Se.classList.contains(O.FileBrowserFiles.prototype.getFullElName("item"))}},63463:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(50885),s)},21347:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.nativeListeners=s.elementToItem=s.getItem=void 0;var h=o(20255),v=o(40332),y=o(34468),x=o(64968),C=o(66267),_=o(36303);s.getItem=function(w,z,R){return void 0===R&&(R="a"),x.Dom.closest(w,function(N){return x.Dom.isTag(N,R)},z)},s.elementToItem=function(w,z){return z[w.dataset.key||""].item},s.nativeListeners=function(){var w=this,z=!1,R=(0,C.elementsMap)(this),N=this;N.e.on(N.tree.container,"dragstart",function(S){var E=(0,s.getItem)(S.target,N.container);E&&N.o.moveFolder&&(z=E)}).on(N.tree.container,"drop",function(S){if((N.o.moveFile||N.o.moveFolder)&&z){var E=(0,v.attr)(z,"-path")||"";if(!N.o.moveFolder&&z.classList.contains(w.tree.getFullElName("item"))||z.classList.contains(w.files.getFullElName("item"))&&(E+=(0,v.attr)(z,"-name"),!N.o.moveFile))return!1;var O=(0,s.getItem)(S.target,N.container);if(!O)return;N.dataProvider.move(E,(0,v.attr)(O,"-path")||"",(0,v.attr)(O,"-source")||"",z.classList.contains(w.files.getFullElName("item"))).then(function(){return(0,_.loadTree)(w)}).catch(N.status),z=!1}}).on(N.files.container,"contextmenu",(0,y.default)(N)).on(N.files.container,"click",function(S){(0,v.ctrlKey)(S)||(w.state.activeElements=[])}).on(N.files.container,"click",function(S){var E=(0,s.getItem)(S.target,N.container);if(E){var O=(0,s.elementToItem)(E,R);if(O)return N.state.activeElements=(0,v.ctrlKey)(S)?h.__spreadArray(h.__spreadArray([],h.__read(N.state.activeElements),!1),[O],!1):[O],S.stopPropagation(),!1}}).on(N.files.container,"dragstart",function(S){if(N.o.moveFile){var E=(0,s.getItem)(S.target,N.container);if(!E)return;z=E}}).on(N.container,"drop",function(S){return S.preventDefault()})}},44734:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.selfListeners=void 0;var h=o(20255),v=o(10172),y=o(40332),x=o(82530),C=o(35503),_=o(36303),w=o(4253),z=o(48096);s.selfListeners=function(){var R=this,N=this.state,S=this.dataProvider,E=this;E.e.on("view.filebrowser",function(O){O!==N.view&&(N.view=O)}).on("sort.filebrowser",function(O){O!==N.sortBy&&(N.sortBy=O,(0,w.loadItems)(E))}).on("filter.filebrowser",function(O){O!==N.filterWord&&(N.filterWord=O,(0,w.loadItems)(E))}).on("openFolder.filebrowser",function(O){var H;H=".."===O.name?O.path.split("/").filter(function(U){return U.length}).slice(0,-1).join("/"):(0,y.normalizePath)(O.path,O.name),E.state.currentPath=H,E.state.currentSource="."===O.name?x.DEFAULT_SOURCE_NAME:O.source}).on("removeFolder.filebrowser",function(O){E.confirm("Are you sure?","Delete",function(H){H&&S.folderRemove(O.path,O.name,O.source).then(function(U){return E.status(U,!0),(0,_.loadTree)(E)}).catch(E.status)})}).on("renameFolder.filebrowser",function(O){E.prompt("Enter new name","Rename",function(H){if(!(0,v.isValidName)(H))return E.status(E.i18n("Enter new name")),!1;S.folderRename(O.path,O.name,H,O.source).then(function(U){return E.state.activeElements=[],E.status(U,!0),(0,_.loadTree)(E)}).catch(E.status)},"type name",O.name)}).on("addFolder.filebrowser",function(O){E.prompt("Enter Directory name","Create directory",function(H){S.createFolder(H,O.path,O.source).then(function(){return(0,_.loadTree)(E)}).catch(E.status)},"type name")}).on("fileRemove.filebrowser",function(){E.state.activeElements.length&&E.confirm("Are you sure?","",function(O){if(O){var H=[];E.state.activeElements.forEach(function(U){H.push((0,z.deleteFile)(E,U.file||U.name||"",U.sourceName))}),E.state.activeElements=[],Promise.all(H).then(function(){return(0,_.loadTree)(E).catch(E.status)},E.status)}})}).on("edit.filebrowser",function(){if(1===E.state.activeElements.length){var O=h.__read(R.state.activeElements,1)[0];C.openImageEditor.call(E,O.fileURL,O.file||"",O.path,O.sourceName)}}).on("fileRename.filebrowser",function(O,H,U){1===E.state.activeElements.length&&E.prompt("Enter new name","Rename",function(X){if(!(0,v.isValidName)(X))return E.status(E.i18n("Enter new name")),!1;S.fileRename(H,O,X,U).then(function(W){E.state.activeElements=[],E.status(W,!0),(0,w.loadItems)(E)}).catch(E.status)},"type name",O)}).on("update.filebrowser",function(){(0,_.loadTree)(R).then(R.status,R.status)})}},86774:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.stateListeners=void 0;var h=o(64968),v=o(89693),y=o(2074),x=o(66267),C=o(36303);s.stateListeners=function(){var _=this,w=(0,x.elementsMap)(this),z=this,R=z.state,N=z.files,S=z.create,E=z.options;R.on(["change.currentPath","change.currentSource"],this.async.debounce(function(){_.o.saveStateInStorage&&_.o.saveStateInStorage.storeLastOpenedFolder&&_.storage.set("currentPath",_.state.currentPath).set("currentSource",_.state.currentSource),(0,C.loadTree)(_).catch(_.status)},this.defaultTimeout)).on("beforeChange.activeElements",function(){R.activeElements.forEach(function(O){var H=w[O.uniqueHashKey].elm;H&&H.classList.remove(N.getFullElName("item","active",!0))})}).on("change.activeElements",function(){_.e.fire("changeSelection"),R.activeElements.forEach(function(O){var H=w[O.uniqueHashKey].elm;H&&H.classList.add(N.getFullElName("item","active",!0))})}).on("change.view",function(){N.setMod("view",R.view),_.o.saveStateInStorage&&_.o.saveStateInStorage.storeView&&_.storage.set("view",R.view)}).on("change.sortBy",function(){_.o.saveStateInStorage&&_.o.saveStateInStorage.storeSortBy&&_.storage.set("sortBy",R.sortBy)}).on("change.elements",this.async.debounce(function(){h.Dom.detach(N.container),R.elements.length?R.elements.forEach(function(O){_.files.container.appendChild(function(H){var U=H.uniqueHashKey;if(w[U])return w[U].elm;var X=S.fromHTML(E.getThumbTemplate.call(_,H,H.source,H.sourceName.toString()));return X.dataset.key=U,w[U]={item:H,elm:X},w[U].elm}(O))}):N.container.appendChild(S.div(_.componentName+"_no-files_true",_.i18n("There are no files")))},this.defaultTimeout)).on("change.sources",this.async.debounce(function(){h.Dom.detach(_.tree.container),R.sources.forEach(function(O){var H=O.name;if(H&&"default"!==H&&_.tree.container.appendChild(S.div(_.tree.getFullElName("source-title"),H)),O.folders.forEach(function(X){var W,re=S.a(_.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,v.normalizePath)(O.path,X+"/"),"data-name":X,"data-source":H,"data-source-path":O.path},S.span(_.tree.getFullElName("item-title"),X)),pe=function(Ae){return function(Se){_.e.fire("".concat(Ae,".filebrowser"),{name:X,path:(0,v.normalizePath)(O.path+"/"),source:H}),Se.stopPropagation(),Se.preventDefault()}};_.e.on(re,"click",pe("openFolder")),_.tree.container.appendChild(re),".."!==X&&"."!==X&&(E.renameFolder&&_.dataProvider.canI("FolderRename")&&((W=(0,y.Button)(_,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"})).onAction(pe("renameFolder")),re.appendChild(W.container)),E.deleteFolder&&_.dataProvider.canI("FolderRemove")&&((W=(0,y.Button)(_,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"})).onAction(pe("removeFolder")),re.appendChild(W.container)))}),E.createNewFolder&&_.dataProvider.canI("FolderCreate")){var U=(0,y.Button)(_,"plus","Add folder","secondary");U.onAction(function(){_.e.fire("addFolder",{path:(0,v.normalizePath)(O.path+"/"),source:H})}),_.tree.append(U)}})},this.defaultTimeout))}},21505:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.FileBrowserFiles=void 0;var h=o(20255);o(27452);var v=function(y){function x(){return null!==y&&y.apply(this,arguments)||this}return h.__extends(x,y),x.prototype.className=function(){return"FilebrowserFiles"},x}(o(2074).UIGroup);s.FileBrowserFiles=v},98782:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(21505),s),h.__exportStar(o(42472),s)},42472:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.FileBrowserTree=void 0;var h=o(20255);o(51422);var v=function(y){function x(){return null!==y&&y.apply(this,arguments)||this}return h.__extends(x,y),x.prototype.className=function(){return"FilebrowserTree"},x}(o(2074).UIGroup);s.FileBrowserTree=v},3107:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Command=void 0;var o=function(){function h(v,y,x,C){this.oldValue=v,this.newValue=y,this.history=x,this.tick=C}return h.prototype.undo=function(){this.history.snapshot.restore(this.oldValue)},h.prototype.redo=function(){this.history.snapshot.restore(this.newValue)},h}();s.Command=o},15432:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.History=void 0;var h=o(20255),v=o(93166),y=o(56562),x=o(31648),C=o(3621),_=o(3107),w=o(43441);v.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3},v.Config.prototype.observer=v.Config.prototype.history;var z=function(R){function N(S,E,O){void 0===E&&(E=new C.Stack(S.o.history.maxHistoryLength)),void 0===O&&(O=new x.Snapshot(S));var H=R.call(this,S)||this;return H.updateTick=0,H.__stack=E,H.snapshot=O,S.o.history.enable&&S.e.on("afterAddPlace.history",function(){H.isInDestruct||(H.startValue=H.snapshot.make(),S.events.on("internalChange internalUpdate",function(){H.startValue=H.snapshot.make()}).on(S.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(function(U){return U+".history"}).join(" "),function(){H.startValue.html===H.j.getNativeEditorValue()&&(H.startValue=H.snapshot.make())}).on(H,"change.history",H.onChange))}),H}return h.__extends(N,R),N.prototype.className=function(){return"History"},Object.defineProperty(N.prototype,"startValue",{get:function(){return this.__startValue},set:function(S){this.__startValue=S},enumerable:!1,configurable:!0}),N.prototype.__upTick=function(){this.updateTick+=1},N.prototype.onChange=function(){this.__processChanges()},N.prototype.__processChanges=function(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()},N.prototype.updateStack=function(S){void 0===S&&(S=!1);var E=this.snapshot.make();if(!x.Snapshot.equal(E,this.startValue)){var O=new _.Command(this.startValue,E,this,this.updateTick);if(S){var H=this.__stack.current();H&&this.updateTick===H.tick&&this.__stack.replace(O)}else this.__stack.push(O);this.startValue=E,this.fireChangeStack()}},N.prototype.redo=function(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},N.prototype.canRedo=function(){return this.__stack.canRedo()},N.prototype.undo=function(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},N.prototype.canUndo=function(){return this.__stack.canUndo()},N.prototype.clear=function(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()},Object.defineProperty(N.prototype,"length",{get:function(){return this.__stack.length},enumerable:!1,configurable:!0}),N.prototype.fireChangeStack=function(){var S;this.j&&!this.j.isInDestruct&&(null===(S=this.j.events)||void 0===S||S.fire("changeStack"))},N.prototype.destruct=function(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),R.prototype.destruct.call(this))},h.__decorate([(0,w.debounce)()],N.prototype,"onChange",null),N}(y.ViewComponent);s.History=z},31648:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Snapshot=void 0;var h=o(20255),v=o(56562),y=o(64968),x=o(86893),C=function(_){function w(){var z=null!==_&&_.apply(this,arguments)||this;return z.__isBlocked=!1,z}return h.__extends(w,_),w.prototype.className=function(){return"Snapshot"},w.equal=function(z,R){return z.html===R.html&&JSON.stringify(z.range)===JSON.stringify(R.range)},w.countNodesBeforeInParent=function(z){if(!z.parentNode)return 0;for(var R=z.parentNode.childNodes,N=0,S=null,E=0;R.length>E;E+=1){if(!S||this.isIgnoredNode(R[E])||y.Dom.isText(S)&&y.Dom.isText(R[E])||(N+=1),R[E]===z)return N;S=R[E]}return 0},w.strokeOffset=function(z,R){for(;y.Dom.isText(z);)y.Dom.isText(z=z.previousSibling)&&z.nodeValue&&(R+=z.nodeValue.length);return R},w.prototype.calcHierarchyLadder=function(z){var R=[];if(!z||!z.parentNode||!y.Dom.isOrContains(this.j.editor,z))return[];for(;z&&z!==this.j.editor;)z&&!w.isIgnoredNode(z)&&R.push(w.countNodesBeforeInParent(z)),z=z.parentNode;return R.reverse()},w.prototype.getElementByLadder=function(z){var R,N=this.j.editor;for(R=0;N&&z.length>R;R+=1)N=N.childNodes[z[R]];return N},Object.defineProperty(w.prototype,"isBlocked",{get:function(){return this.__isBlocked},enumerable:!1,configurable:!0}),w.prototype.__block=function(z){this.__isBlocked=z},w.prototype.transaction=function(z){this.__block(!0);try{z()}catch(R){}this.__block(!1)},w.prototype.make=function(){var z={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};z.html=this.removeJoditSelection(this.j.editor);var R=this.j.s.sel;if(R&&R.rangeCount){var N=R.getRangeAt(0),S=this.calcHierarchyLadder(N.startContainer),E=this.calcHierarchyLadder(N.endContainer),O=w.strokeOffset(N.startContainer,N.startOffset),H=w.strokeOffset(N.endContainer,N.endOffset);S.length||N.startContainer===this.j.editor||(O=0),E.length||N.endContainer===this.j.editor||(H=0),z.range={startContainer:S,startOffset:O,endContainer:E,endOffset:H}}return z},w.prototype.restore=function(z){var R=this;this.transaction(function(){var N=R.storeScrollState();R.j.getNativeEditorValue()!==z.html&&(R.j.value=z.html),R.restoreOnlySelection(z),R.restoreScrollState(N)})},w.prototype.storeScrollState=function(){return[this.j.ow.scrollY,this.j.editor.scrollTop]},w.prototype.restoreScrollState=function(z){var R=this.j,N=R.ow;N.scrollTo(N.scrollX,z[0]),R.editor.scrollTop=z[1]},w.prototype.restoreOnlySelection=function(z){try{if(z.range){var R=this.j.ed.createRange();R.setStart(this.getElementByLadder(z.range.startContainer),z.range.startOffset),R.setEnd(this.getElementByLadder(z.range.endContainer),z.range.endOffset),this.j.s.selectRange(R)}}catch(N){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}},w.prototype.destruct=function(){this.__block(!1),_.prototype.destruct.call(this)},w.isIgnoredNode=function(z){return y.Dom.isText(z)&&!z.nodeValue||y.Dom.isTemporary(z)},w.prototype.removeJoditSelection=function(z){var R=z.cloneNode(!0);return R.querySelectorAll("[".concat(x.TEMP_ATTR,"]")).forEach(y.Dom.unwrap),R.innerHTML},w}(v.ViewComponent);s.Snapshot=C},3621:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Stack=void 0;var o=function(){function h(v){this.size=v,this.commands=[],this.stackPosition=-1}return Object.defineProperty(h.prototype,"length",{get:function(){return this.commands.length},enumerable:!1,configurable:!0}),h.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},h.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},h.prototype.push=function(v){this.clearRedo(),this.commands.push(v),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)},h.prototype.replace=function(v){this.commands[this.stackPosition]=v},h.prototype.current=function(){return this.commands[this.stackPosition]},h.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},h.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},h.prototype.canUndo=function(){return this.stackPosition>=0},h.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},h}();s.Stack=o},95356:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},v.Icon.set("crop",o(3610)).set("resize",o(56170))},35503:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.openImageEditor=s.ImageEditor=void 0;var h=o(20255);o(62820);var v=o(93166),y=o(56562),x=o(40332),C=o(64968),_=o(96516),w=o(9249),z=o(43441);o(95356);var R="jodit-image-editor",N="resize",S="crop",E=function(O){function H(X){var W=O.call(this,X)||this;W.resizeUseRatio=!0,W.cropUseRatio=!0,W.clicked=!1,W.start_x=0,W.start_y=0,W.top_x=0,W.top_y=0,W.width=0,W.height=0,W.activeTab=N,W.naturalWidth=0,W.naturalHeight=0,W.ratio=0,W.new_h=0,W.new_w=0,W.diff_x=0,W.diff_y=0,W.cropBox={x:0,y:0,w:0,h:0},W.resizeBox={w:0,h:0},W.calcCropBox=function(){var Se=W.crop_box.parentNode,De=.8*Se.offsetWidth,qe=.8*Se.offsetHeight,rt=De,ot=qe,vt=W.naturalWidth,rn=W.naturalHeight;De>vt&&qe>rn?(rt=vt,ot=rn):W.ratio>De/qe?(rt=De,ot=rn*(De/vt)):(rt=vt*(qe/rn),ot=qe),(0,x.css)(W.crop_box,{width:rt,height:ot})},W.showCrop=function(){if(W.cropImage){W.calcCropBox();var Se=W.cropImage.offsetWidth||W.image.offsetWidth||W.image.naturalWidth;W.new_w=U.calcValueByPercent(Se,W.o.cropDefaultWidth);var De=W.cropImage.offsetHeight||W.image.offsetHeight||W.image.naturalHeight;W.new_h=W.cropUseRatio?W.new_w/W.ratio:U.calcValueByPercent(De,W.o.cropDefaultHeight),(0,x.css)(W.cropHandler,{backgroundImage:"url("+(0,x.attr)(W.cropImage,"src")+")",width:W.new_w,height:W.new_h,left:Se/2-W.new_w/2,top:De/2-W.new_h/2}),W.j.e.fire(W.cropHandler,"updatesize")}},W.updateCropBox=function(){if(W.cropImage){var Se=W.cropImage.offsetWidth/W.naturalWidth,De=W.cropImage.offsetHeight/W.naturalHeight;W.cropBox.x=(0,x.css)(W.cropHandler,"left")/Se,W.cropBox.y=(0,x.css)(W.cropHandler,"top")/De,W.cropBox.w=W.cropHandler.offsetWidth/Se,W.cropBox.h=W.cropHandler.offsetHeight/De,W.sizes.textContent=W.cropBox.w.toFixed(0)+"x"+W.cropBox.h.toFixed(0)}},W.updateResizeBox=function(){W.resizeBox.w=W.image.offsetWidth||W.naturalWidth,W.resizeBox.h=W.image.offsetHeight||W.naturalHeight},W.setHandlers=function(){var Se=W,De=(0,x.refs)(W.editor),qe=De.widthInput,rt=De.heightInput;Se.j.e.on([Se.editor.querySelector(".jodit_bottomright"),Se.cropHandler],"mousedown.".concat(R),W.onResizeHandleMouseDown).on(W.j.ow,"resize.".concat(R),function(){W.j.e.fire(Se.resizeHandler,"updatesize"),Se.showCrop(),W.j.e.fire(Se.cropHandler,"updatesize")}),Se.j.e.on((0,x.toArray)(W.editor.querySelectorAll(".".concat(R,"__slider-title"))),"click",W.onTitleModeClick).on([qe,rt],"input",W.onChangeSizeInput);var ot=(0,x.refs)(W.editor),vt=ot.keepAspectRatioResize,rn=ot.keepAspectRatioCrop;vt&&vt.addEventListener("change",function(){W.resizeUseRatio=vt.checked}),rn&&rn.addEventListener("change",function(){W.cropUseRatio=rn.checked}),Se.j.e.on(Se.resizeHandler,"updatesize",function(){(0,x.css)(Se.resizeHandler,{top:0,left:0,width:Se.image.offsetWidth||Se.naturalWidth,height:Se.image.offsetHeight||Se.naturalHeight}),W.updateResizeBox()}).on(Se.cropHandler,"updatesize",function(){if(Se.cropImage){var Xt=(0,x.css)(Se.cropHandler,"left"),fn=(0,x.css)(Se.cropHandler,"top"),_n=Se.cropHandler.offsetWidth,hn=Se.cropHandler.offsetHeight;0>Xt&&(Xt=0),0>fn&&(fn=0),Xt+_n>Se.cropImage.offsetWidth&&(_n=Se.cropImage.offsetWidth-Xt,Se.cropUseRatio&&(hn=_n/Se.ratio)),fn+hn>Se.cropImage.offsetHeight&&(hn=Se.cropImage.offsetHeight-fn,Se.cropUseRatio&&(_n=hn*Se.ratio)),(0,x.css)(Se.cropHandler,{width:_n,height:hn,left:Xt,top:fn,backgroundPosition:-Xt-1+"px "+(-fn-1)+"px",backgroundSize:Se.cropImage.offsetWidth+"px "+Se.cropImage.offsetHeight+"px"}),Se.updateCropBox()}}),Object.values(Se.buttons).forEach(function(Xt){Xt.onAction(function(){var fn={action:Se.activeTab,box:Se.activeTab===N?Se.resizeBox:Se.cropBox};switch(Xt){case Se.buttons.saveas:Se.j.prompt("Enter new name","Save in new file",function(_n){if(!(0,x.trim)(_n))return Se.j.alert("The name should not be empty"),!1;Se.onSave(_n,fn,Se.hide,function(hn){Se.j.alert(hn.message)})});break;case Se.buttons.save:Se.onSave(void 0,fn,Se.hide,function(_n){Se.j.alert(_n.message)});break;case Se.buttons.reset:Se.activeTab===N?((0,x.css)(Se.image,{width:null,height:null}),qe.value=Se.naturalWidth.toString(),rt.value=Se.naturalHeight.toString(),Se.j.e.fire(Se.resizeHandler,"updatesize")):Se.showCrop()}})})},W.options=X&&X.o&&X.o.imageeditor?X.o.imageeditor:v.Config.defaultOptions.imageeditor;var re=W.options;W.resizeUseRatio=re.resizeUseRatio,W.cropUseRatio=re.cropUseRatio,W.buttons={reset:(0,_.Button)(W.j,"update","Reset"),save:(0,_.Button)(W.j,"save","Save"),saveas:(0,_.Button)(W.j,"save","Save as ...")},W.activeTab=re.resize?N:S,W.editor=(0,w.form)(W.j,W.options);var pe=(0,x.refs)(W.editor),Ae=pe.cropBox;return W.resize_box=pe.resizeBox,W.crop_box=Ae,W.sizes=W.editor.querySelector(".".concat(R,"__area.").concat(R,"__area_crop .jodit-image-editor__sizes")),W.resizeHandler=W.editor.querySelector(".".concat(R,"__resizer")),W.cropHandler=W.editor.querySelector(".".concat(R,"__croper")),W._dialog=W.j.dlg({buttons:["fullsize","dialog.close"]}),W._dialog.setContent(W.editor),W._dialog.setSize(W.o.width,W.o.height),W._dialog.setHeader([W.buttons.reset,W.buttons.save,W.buttons.saveas]),W.setHandlers(),W}var U;return h.__extends(H,O),U=H,H.prototype.className=function(){return"ImageEditor"},H.prototype.onTitleModeClick=function(X){var W=this,re=X.target,pe=null==re?void 0:re.parentElement;if(pe){(0,x.$$)(".".concat(R,"__slider,.").concat(R,"__area"),W.editor).forEach(function(Se){return Se.classList.remove("".concat(R,"_active"))}),pe.classList.add("".concat(R,"_active")),this.activeTab=(0,x.attr)(pe,"-area")||N;var Ae=W.editor.querySelector(".".concat(R,"__area.").concat(R,"__area_")+W.activeTab);Ae&&Ae.classList.add("".concat(R,"_active")),W.activeTab===S&&W.showCrop()}},H.prototype.onChangeSizeInput=function(X){var W,re=this,pe=X.target,Ae=(0,x.refs)(this.editor),Se=Ae.widthInput,De=Ae.heightInput,qe="widthInput"===(0,x.attr)(pe,"data-ref"),rt=parseInt(pe.value,10),ot=qe?re.o.min_height:re.o.min_width;rt>(qe?re.o.min_width:re.o.min_height)&&((0,x.css)(re.image,qe?"width":"height",rt),re.resizeUseRatio&&(W=Math.round(qe?rt/re.ratio:rt*re.ratio))>ot&&((0,x.css)(re.image,qe?"height":"width",W),qe?De.value=W.toString():Se.value=W.toString())),this.j.e.fire(re.resizeHandler,"updatesize")},H.prototype.onResizeHandleMouseDown=function(X){var W=this;W.target=X.target,X.preventDefault(),X.stopImmediatePropagation(),W.clicked=!0,W.start_x=X.clientX,W.start_y=X.clientY,W.activeTab===S?(W.top_x=(0,x.css)(W.cropHandler,"left"),W.top_y=(0,x.css)(W.cropHandler,"top"),W.width=W.cropHandler.offsetWidth,W.height=W.cropHandler.offsetHeight):(W.width=W.image.offsetWidth,W.height=W.image.offsetHeight),W.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)},H.prototype.onGlobalMouseUp=function(X){this.clicked&&(this.clicked=!1,X.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))},H.prototype.onGlobalMouseMove=function(X){var W=this;if(W.clicked){var re=(0,x.refs)(this.editor),pe=re.widthInput,Ae=re.heightInput;W.diff_x=X.clientX-W.start_x,W.diff_y=X.clientY-W.start_y,W.activeTab===N&&W.resizeUseRatio||W.activeTab===S&&W.cropUseRatio?W.diff_x?(W.new_w=W.width+W.diff_x,W.new_h=Math.round(W.new_w/W.ratio)):(W.new_h=W.height+W.diff_y,W.new_w=Math.round(W.new_h*W.ratio)):(W.new_w=W.width+W.diff_x,W.new_h=W.height+W.diff_y),W.activeTab===N?(W.new_w>W.o.resizeMinWidth&&((0,x.css)(W.image,"width",W.new_w+"px"),pe.value=W.new_w.toString()),W.new_h>W.o.resizeMinHeight&&((0,x.css)(W.image,"height",W.new_h+"px"),Ae.value=W.new_h.toString()),this.j.e.fire(W.resizeHandler,"updatesize")):(W.target!==W.cropHandler?(W.top_x+W.new_w>W.cropImage.offsetWidth&&(W.new_w=W.cropImage.offsetWidth-W.top_x),W.top_y+W.new_h>W.cropImage.offsetHeight&&(W.new_h=W.cropImage.offsetHeight-W.top_y),(0,x.css)(W.cropHandler,{width:W.new_w,height:W.new_h})):(W.top_x+W.diff_x+W.cropHandler.offsetWidth>W.cropImage.offsetWidth&&(W.diff_x=W.cropImage.offsetWidth-W.top_x-W.cropHandler.offsetWidth),(0,x.css)(W.cropHandler,"left",W.top_x+W.diff_x),W.top_y+W.diff_y+W.cropHandler.offsetHeight>W.cropImage.offsetHeight&&(W.diff_y=W.cropImage.offsetHeight-W.top_y-W.cropHandler.offsetHeight),(0,x.css)(W.cropHandler,"top",W.top_y+W.diff_y)),this.j.e.fire(W.cropHandler,"updatesize"))}},Object.defineProperty(H.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),H.prototype.hide=function(){this._dialog.close()},H.prototype.open=function(X,W){var re=this;return this.j.async.promise(function(pe){var Ae=(new Date).getTime();re.image=re.j.c.element("img"),(0,x.$$)("img,.jodit-icon_loader",re.resize_box).forEach(C.Dom.safeRemove),(0,x.$$)("img,.jodit-icon_loader",re.crop_box).forEach(C.Dom.safeRemove),(0,x.css)(re.cropHandler,"background","transparent"),re.onSave=W,re.resize_box.appendChild(re.j.c.element("i",{class:"jodit-icon_loader"})),re.crop_box.appendChild(re.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(X)?X+="&_tst="+Ae:X+="?_tst="+Ae,re.image.setAttribute("src",X),re._dialog.open();var Se=(0,x.refs)(re.editor),De=Se.widthInput,qe=Se.heightInput,rt=function(){re.isDestructed||(re.image.removeEventListener("load",rt),re.naturalWidth=re.image.naturalWidth,re.naturalHeight=re.image.naturalHeight,De.value=re.naturalWidth.toString(),qe.value=re.naturalHeight.toString(),re.ratio=re.naturalWidth/re.naturalHeight,re.resize_box.appendChild(re.image),re.cropImage=re.image.cloneNode(!0),re.crop_box.appendChild(re.cropImage),C.Dom.safeRemove.apply(null,(0,x.$$)(".jodit-icon_loader",re.editor)),re.activeTab===S&&re.showCrop(),re.j.e.fire(re.resizeHandler,"updatesize"),re.j.e.fire(re.cropHandler,"updatesize"),re._dialog.setPosition(),re.j.e.fire("afterImageEditor"),pe(re._dialog))};re.image.addEventListener("load",rt),re.image.complete&&rt()})},H.prototype.destruct=function(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),C.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".".concat(R)).off(".".concat(R)),O.prototype.destruct.call(this))},H.calcValueByPercent=function(X,W){var re,pe=W.toString(),Ae=parseFloat(X.toString());return(re=/^[-+]?[0-9]+(px)?$/.exec(pe))?parseInt(pe,10):(re=/^([-+]?[0-9.]+)%$/.exec(pe))?Math.round(Ae*(parseFloat(re[1])/100)):Ae||0},h.__decorate([z.autobind],H.prototype,"onTitleModeClick",null),h.__decorate([(0,z.debounce)(),z.autobind],H.prototype,"onChangeSizeInput",null),h.__decorate([z.autobind],H.prototype,"onResizeHandleMouseDown",null),h.__decorate([z.autobind],H.prototype,"onGlobalMouseUp",null),h.__decorate([(0,z.throttle)(10)],H.prototype,"onGlobalMouseMove",null),h.__decorate([z.autobind],H.prototype,"hide",null),h.__decorate([z.autobind],H.prototype,"open",null),U=h.__decorate([z.component],H)}(y.ViewComponent);s.ImageEditor=E,s.openImageEditor=function(O,H,U,X,W,re){var pe=this;return this.getInstance("ImageEditor",this.o).open(O,function(Ae,Se,De,qe){return(0,x.call)("resize"===Se.action?pe.dataProvider.resize:pe.dataProvider.crop,U,X,H,Ae,Se.box).then(function(rt){rt&&(De(),W&&W())}).catch(function(rt){qe(rt),re&&re(rt)})})}},9249:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.form=void 0;var h=o(2074),v="jodit-image-editor",y=h.Icon.get.bind(h.Icon),x=function(C,_){return void 0===_&&(_="jodti-image-editor_active"),C?_:""};s.form=function(C,_){var w=C.i18n.bind(C),z=function(R,N,S){return void 0===S&&(S=!0),'<div class="jodit-form__group">\n\t\t\t<label>'.concat(w(R),"</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ").concat(x(S,"checked"),' data-ref="').concat(N,'" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>')};return C.create.fromHTML('<form class="'.concat(v,' jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t').concat(_.resize?'<div class="'.concat(v,"__area ").concat(v,"__area_resize ").concat(v,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(v,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(v,'__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"","\n\t\t\t").concat(_.crop?'<div class="'.concat(v,"__area ").concat(v,"__area_crop ").concat(x(!_.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(v,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(v,'__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="').concat(v,'__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"",'\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t').concat(_.resize?'<div data-area="resize" class="'.concat(v,"__slider ").concat(v,'_active">\n\t\t\t\t\t\t\t<div class="').concat(v,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(y("resize"),"\n\t\t\t\t\t\t\t\t").concat(w("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(v,'__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(w("Width"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(w("Height"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t').concat(z("Keep Aspect Ratio","keepAspectRatioResize"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t").concat(_.crop?'<div data-area="crop" class="'.concat(v,"__slider ").concat(x(!_.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(v,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(y("crop"),"\n\t\t\t\t\t\t\t\t").concat(w("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(v,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(z("Keep Aspect Ratio","keepAspectRatioCrop"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</div>\n\t\t</div>\n\t</form>"))}},87837:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.PluginSystem=s.UIMessages=s.Uploader=s.ToolbarCollection=s.ToolbarEditorCollection=s.Table=s.StatusBar=s.CommitStyle=s.Select=s.Snapshot=s.History=s.ImageEditor=s.Helpers=s.ViewWithToolbar=s.View=s.Icon=s.ProgressBar=s.UIBlock=s.UICheckbox=s.UITextArea=s.UIInput=s.UIForm=s.UIList=s.UIGroup=s.UISeparator=s.Popup=s.UIButton=s.UIElement=s.Create=s.Plugin=s.LazyWalker=s.Dom=s.ContextMenu=s.STATUSES=s.ViewComponent=s.Component=s.Async=void 0;var h=o(20255);h.__exportStar(o(55395),s);var v=o(22630);Object.defineProperty(s,"Async",{enumerable:!0,get:function(){return v.Async}}),h.__exportStar(o(30056),s);var y=o(56562);Object.defineProperty(s,"Component",{enumerable:!0,get:function(){return y.Component}}),Object.defineProperty(s,"ViewComponent",{enumerable:!0,get:function(){return y.ViewComponent}}),Object.defineProperty(s,"STATUSES",{enumerable:!0,get:function(){return y.STATUSES}});var x=o(60403);Object.defineProperty(s,"ContextMenu",{enumerable:!0,get:function(){return x.ContextMenu}}),h.__exportStar(o(92080),s);var C=o(64968);Object.defineProperty(s,"Dom",{enumerable:!0,get:function(){return C.Dom}}),Object.defineProperty(s,"LazyWalker",{enumerable:!0,get:function(){return C.LazyWalker}});var _=o(57549);Object.defineProperty(s,"Plugin",{enumerable:!0,get:function(){return _.Plugin}});var w=o(42841);Object.defineProperty(s,"Create",{enumerable:!0,get:function(){return w.Create}});var z=o(2074);Object.defineProperty(s,"UIElement",{enumerable:!0,get:function(){return z.UIElement}}),Object.defineProperty(s,"UIButton",{enumerable:!0,get:function(){return z.UIButton}}),Object.defineProperty(s,"Popup",{enumerable:!0,get:function(){return z.Popup}}),Object.defineProperty(s,"UISeparator",{enumerable:!0,get:function(){return z.UISeparator}}),Object.defineProperty(s,"UIGroup",{enumerable:!0,get:function(){return z.UIGroup}}),Object.defineProperty(s,"UIList",{enumerable:!0,get:function(){return z.UIList}}),Object.defineProperty(s,"UIForm",{enumerable:!0,get:function(){return z.UIForm}}),Object.defineProperty(s,"UIInput",{enumerable:!0,get:function(){return z.UIInput}}),Object.defineProperty(s,"UITextArea",{enumerable:!0,get:function(){return z.UITextArea}}),Object.defineProperty(s,"UICheckbox",{enumerable:!0,get:function(){return z.UICheckbox}}),Object.defineProperty(s,"UIBlock",{enumerable:!0,get:function(){return z.UIBlock}}),Object.defineProperty(s,"ProgressBar",{enumerable:!0,get:function(){return z.ProgressBar}}),Object.defineProperty(s,"Icon",{enumerable:!0,get:function(){return z.Icon}});var R=o(75902);Object.defineProperty(s,"View",{enumerable:!0,get:function(){return R.View}});var N=o(43608);Object.defineProperty(s,"ViewWithToolbar",{enumerable:!0,get:function(){return N.ViewWithToolbar}}),h.__exportStar(o(63463),s);var S=o(40332);s.Helpers=S;var E=o(35503);Object.defineProperty(s,"ImageEditor",{enumerable:!0,get:function(){return E.ImageEditor}});var O=o(15432);Object.defineProperty(s,"History",{enumerable:!0,get:function(){return O.History}});var H=o(31648);Object.defineProperty(s,"Snapshot",{enumerable:!0,get:function(){return H.Snapshot}});var U=o(2123);Object.defineProperty(s,"Select",{enumerable:!0,get:function(){return U.Select}}),Object.defineProperty(s,"CommitStyle",{enumerable:!0,get:function(){return U.CommitStyle}});var X=o(38603);Object.defineProperty(s,"StatusBar",{enumerable:!0,get:function(){return X.StatusBar}});var W=o(25120);Object.defineProperty(s,"Table",{enumerable:!0,get:function(){return W.Table}});var re=o(81698);Object.defineProperty(s,"ToolbarEditorCollection",{enumerable:!0,get:function(){return re.ToolbarEditorCollection}});var pe=o(72719);Object.defineProperty(s,"ToolbarCollection",{enumerable:!0,get:function(){return pe.ToolbarCollection}}),h.__exportStar(o(3890),s);var Ae=o(50454);Object.defineProperty(s,"Uploader",{enumerable:!0,get:function(){return Ae.Uploader}});var Se=o(71014);Object.defineProperty(s,"UIMessages",{enumerable:!0,get:function(){return Se.UIMessages}});var De=o(44540);Object.defineProperty(s,"PluginSystem",{enumerable:!0,get:function(){return De.PluginSystem}})},37762:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIMessage=void 0;var h=o(20255),v=o(2074),y=o(11441),x=function(C){function _(w,z){var R=C.call(this,w)||this;return R.setMod("active",!0),R.setMod("variant",z.variant),R.container.textContent=z.text,R}return h.__extends(_,C),_.prototype.className=function(){return"UIMessage"},h.__decorate([y.component],_)}(v.UIElement);s.UIMessage=x},71014:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UIMessages=void 0;var h=o(20255);o(63421);var v=o(26911),y=o(61479),x=o(11441),C=o(46163),_=o(37762),w=function(z){function R(N,S,E){void 0===E&&(E={defaultTimeout:3e3,defaultOffset:5});var O=z.call(this,N)||this;return O.__box=S,O.options=E,O.__messages=new Set,O}return h.__extends(R,z),R.prototype.className=function(){return"UIMessages"},R.prototype.info=function(N,S){this.__message(N,"info",S)},R.prototype.success=function(N,S){this.__message(N,"success",S)},R.prototype.error=function(N,S){this.__message(N,"error",S)},R.prototype.message=function(N,S,E){this.__message(N,S,E)},R.prototype.__message=function(N,S,E){void 0===S&&(S="info");var O=N+":"+S;if(this.__messages.has(O))this.async.updateTimeout(O,E||this.options.defaultTimeout);else{this.__box.appendChild(this.container);var H=new _.UIMessage(this.j,{text:N,variant:S});this.append(H),this.__calcOffsets(),this.__messages.add(O);var U=this.__getRemoveCallback(H,O);this.j.e.on(H.container,"pointerdown",U),this.async.setTimeout(U,{label:O,timeout:E||this.options.defaultTimeout})}},R.prototype.__getRemoveCallback=function(N,S){var E=this,O=function(H){H&&H.preventDefault(),N.isInDestruct||(E.async.clearTimeout(S),E.j.e.off(N.container,"pointerdown",O),E.__messages.delete(S),N.setMod("active",!1),E.async.setTimeout(function(){E.remove(N),N.destruct(),E.__calcOffsets()},300))};return O},R.prototype.__calcOffsets=function(){var N=this,S=5;this.elements.forEach(function(E){(0,v.css)(E.container,"bottom",S+"px"),S+=E.container.offsetHeight+N.options.defaultOffset})},h.__decorate([(0,C.watch)(":errorMessage")],R.prototype,"__message",null),h.__decorate([x.component],R)}(y.UIGroup);s.UIMessages=w},38603:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.StatusBar=void 0;var h=o(20255);o(32115);var v=o(56562),y=o(64968),x=o(59829),C=o(43441),_=function(w){function z(R,N){var S=w.call(this,R)||this;return S.target=N,S.mods={},S.container=R.c.div("jodit-status-bar"),N.appendChild(S.container),S.hide(),S}return h.__extends(z,w),z.prototype.className=function(){return"StatusBar"},z.prototype.hide=function(){this.container.classList.add("jodit_hidden")},z.prototype.show=function(){this.container.classList.remove("jodit_hidden")},Object.defineProperty(z.prototype,"isShown",{get:function(){return!this.container.classList.contains("jodit_hidden")},enumerable:!1,configurable:!0}),z.prototype.getHeight=function(){var R,N;return null!==(N=null===(R=this.container)||void 0===R?void 0:R.offsetHeight)&&void 0!==N?N:0},z.prototype.findEmpty=function(R){void 0===R&&(R=!1);for(var N=this.getElms(R?"item-right":"item"),S=0;N.length>S;S+=1)if(!N[S].innerHTML.trim().length)return N[S]},z.prototype.append=function(R,N){var S;void 0===N&&(N=!1);var E=this.findEmpty(N)||this.j.c.div(this.getFullElName("item"));N&&E.classList.add(this.getFullElName("item-right")),E.appendChild(R),null===(S=this.container)||void 0===S||S.appendChild(E),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")},z.prototype.destruct=function(){this.isInDestruct||(this.setStatus(v.STATUSES.beforeDestruct),y.Dom.safeRemove(this.container),w.prototype.destruct.call(this))},h.__decorate([C.component,(0,C.derive)(x.Mods,x.Elms)],z)}(v.ViewComponent);s.StatusBar=_},25120:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Table=void 0;var h=o(20255),v=o(86893),y=o(64968),x=o(40332),C=o(56562),_=o(17332),w=o(43441),z=new WeakMap,R=function(S){function E(){var O=null!==S&&S.apply(this,arguments)||this;return O.selected=new Set,O}return h.__extends(E,S),E.prototype.className=function(){return"Table"},E.prototype.recalculateStyles=function(){var O=(0,_.getContainer)(this.j,E,"style",!0),H=[];this.selected.forEach(function(U){var X=(0,x.cssPath)(U);X&&H.push(X)}),O.innerHTML=H.length?H.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""},E.prototype.addSelection=function(O){this.selected.add(O),this.recalculateStyles();var H=y.Dom.closest(O,"table",this.j.editor);if(H){var U=E.selectedByTable.get(H)||new Set;U.add(O),E.selectedByTable.set(H,U)}},E.prototype.removeSelection=function(O){this.selected.delete(O),this.recalculateStyles();var H=y.Dom.closest(O,"table",this.j.editor);if(H){var U=E.selectedByTable.get(H);U&&(U.delete(O),U.size||E.selectedByTable.delete(H))}},E.prototype.getAllSelectedCells=function(){return(0,x.toArray)(this.selected)},E.getSelectedCellsByTable=function(O){var H=E.selectedByTable.get(O);return H?(0,x.toArray)(H):[]},E.prototype.destruct=function(){return this.selected.clear(),S.prototype.destruct.call(this)},E.getRowsCount=function(O){return O.rows.length},E.getColumnsCount=function(O){return E.formalMatrix(O).reduce(function(H,U){return Math.max(H,U.length)},0)},E.formalMatrix=function(O,H){for(var U=[[]],X=(0,x.toArray)(O.rows),W=function(Se,De){void 0===U[De]&&(U[De]=[]);for(var qe,rt,ot=Se.colSpan,vt=Se.rowSpan,rn=0;U[De][rn];)rn+=1;for(rt=0;vt>rt;rt+=1)for(qe=0;ot>qe;qe+=1){if(void 0===U[De+rt]&&(U[De+rt]=[]),H&&!1===H(Se,De+rt,rn+qe,ot,vt))return!1;U[De+rt][rn+qe]=Se}},re=0;X.length>re;re+=1)for(var pe=(0,x.toArray)(X[re].cells),Ae=0;pe.length>Ae;Ae+=1)if(!1===W(pe[Ae],re))return U;return U},E.formalCoordinate=function(O,H,U){void 0===U&&(U=!1);var X=0,W=0,re=1,pe=1;return E.formalMatrix(O,function(Ae,Se,De,qe,rt){if(H===Ae)return X=Se,W=De,re=qe||1,pe=rt||1,U&&(W+=(qe||1)-1,X+=(rt||1)-1),!1}),[X,W,re,pe]},E.appendRow=function(O,H,U,X){var W,re;if(H)re=H.cloneNode(!0),(0,x.$$)("td,th",H).forEach(function(Se){var De=(0,x.attr)(Se,"rowspan");if(De&&parseInt(De,10)>1){var qe=parseInt(De,10)-1;(0,x.attr)(Se,"rowspan",qe>1?qe:null)}}),(0,x.$$)("td,th",re).forEach(function(Se){Se.innerHTML=""});else{var pe=E.getColumnsCount(O);re=X.element("tr");for(var Ae=0;pe>Ae;Ae+=1)re.appendChild(X.element("td"))}U&&H&&H.nextSibling?H.parentNode&&H.parentNode.insertBefore(re,H.nextSibling):!U&&H?H.parentNode&&H.parentNode.insertBefore(re,H):((null===(W=O.getElementsByTagName("tbody"))||void 0===W?void 0:W[0])||O).appendChild(re)},E.removeRow=function(O,H){var U,X=E.formalMatrix(O),W=O.rows[H];X[H].forEach(function(re,pe){if(U=!1,0>H-1||X[H-1][pe]!==re)if(X[H+1]&&X[H+1][pe]===re){if(re.parentNode===W&&re.parentNode.nextSibling){U=!0;for(var Ae=pe+1;X[H+1][Ae]===re;)Ae+=1;var Se=y.Dom.next(re.parentNode,function(qe){return y.Dom.isTag(qe,"tr")},O);Se&&(X[H+1][Ae]?Se.insertBefore(re,X[H+1][Ae]):Se.appendChild(re))}}else y.Dom.safeRemove(re);else U=!0;if(U&&(re.parentNode===W||re!==X[H][pe-1])){var De=re.rowSpan;(0,x.attr)(re,"rowspan",De-1>1?De-1:null)}}),y.Dom.safeRemove(W)},E.appendColumn=function(O,H,U,X){var W,re=E.formalMatrix(O);for((void 0===H||0>H)&&(H=E.getColumnsCount(O)-1),W=0;re.length>W;W+=1){var pe=X.element("td"),Ae=re[W][H],Se=!1;U?(re[W]&&Ae&&H+1>=re[W].length||Ae!==re[W][H+1])&&(Ae.nextSibling?y.Dom.before(Ae.nextSibling,pe):Ae.parentNode&&Ae.parentNode.appendChild(pe),Se=!0):(0>H-1||re[W][H]!==re[W][H-1]&&re[W][H].parentNode)&&(y.Dom.before(re[W][H],pe),Se=!0),Se||(0,x.attr)(re[W][H],"colspan",parseInt((0,x.attr)(re[W][H],"colspan")||"1",10)+1)}},E.removeColumn=function(O,H){var U,X=E.formalMatrix(O);X.forEach(function(W,re){var pe=W[H];if(U=!1,0>H-1||X[re][H-1]!==pe?W.length>H+1&&X[re][H+1]===pe?U=!0:y.Dom.safeRemove(pe):U=!0,U&&(0>re-1||pe!==X[re-1][H])){var Ae=pe.colSpan;(0,x.attr)(pe,"colspan",Ae-1>1?(Ae-1).toString():null)}})},E.getSelectedBound=function(O,H){var U,X,W,re=[[1/0,1/0],[0,0]],pe=E.formalMatrix(O);for(U=0;pe.length>U;U+=1)for(X=0;pe[U]&&pe[U].length>X;X+=1)H.includes(pe[U][X])&&(re[0][0]=Math.min(U,re[0][0]),re[0][1]=Math.min(X,re[0][1]),re[1][0]=Math.max(U,re[1][0]),re[1][1]=Math.max(X,re[1][1]));for(U=re[0][0];re[1][0]>=U;U+=1)for(W=1,X=re[0][1];re[1][1]>=X;X+=1){for(;pe[U]&&pe[U][X-W]&&pe[U][X]===pe[U][X-W];)re[0][1]=Math.min(X-W,re[0][1]),re[1][1]=Math.max(X-W,re[1][1]),W+=1;for(W=1;pe[U]&&pe[U][X+W]&&pe[U][X]===pe[U][X+W];)re[0][1]=Math.min(X+W,re[0][1]),re[1][1]=Math.max(X+W,re[1][1]),W+=1;for(W=1;pe[U-W]&&pe[U][X]===pe[U-W][X];)re[0][0]=Math.min(U-W,re[0][0]),re[1][0]=Math.max(U-W,re[1][0]),W+=1;for(W=1;pe[U+W]&&pe[U][X]===pe[U+W][X];)re[0][0]=Math.min(U+W,re[0][0]),re[1][0]=Math.max(U+W,re[1][0]),W+=1}return re},E.normalizeTable=function(O){var H,U,X,W,re=[],pe=E.formalMatrix(O);for(U=0;pe[0].length>U;U+=1){for(X=1e6,W=!1,H=0;pe.length>H;H+=1)if(void 0!==pe[H][U]){if(2>pe[H][U].colSpan){W=!0;break}X=Math.min(X,pe[H][U].colSpan)}if(!W)for(H=0;pe.length>H;H+=1)void 0!==pe[H][U]&&E.mark(pe[H][U],"colspan",pe[H][U].colSpan-X+1,re)}for(H=0;pe.length>H;H+=1){for(X=1e6,W=!1,U=0;pe[H].length>U;U+=1)if(void 0!==pe[H][U]){if(2>pe[H][U].rowSpan){W=!0;break}X=Math.min(X,pe[H][U].rowSpan)}if(!W)for(U=0;pe[H].length>U;U+=1)void 0!==pe[H][U]&&E.mark(pe[H][U],"rowspan",pe[H][U].rowSpan-X+1,re)}for(H=0;pe.length>H;H+=1)for(U=0;pe[H].length>U;U+=1)void 0!==pe[H][U]&&(pe[H][U].hasAttribute("rowspan")&&1===pe[H][U].rowSpan&&(0,x.attr)(pe[H][U],"rowspan",null),pe[H][U].hasAttribute("colspan")&&1===pe[H][U].colSpan&&(0,x.attr)(pe[H][U],"colspan",null),pe[H][U].hasAttribute("class")&&!(0,x.attr)(pe[H][U],"class")&&(0,x.attr)(pe[H][U],"class",null));E.unmark(re)},E.mergeSelected=function(O,H){var U,X=[],W=E.getSelectedBound(O,E.getSelectedCellsByTable(O)),re=0,pe=null,Ae=0,Se=0,De=0,qe=new Set,rt=[];W&&(W[0][0]-W[1][0]||W[0][1]-W[1][1])&&(E.formalMatrix(O,function(ot,vt,rn,Xt,fn){if(!(W[0][0]>vt||vt>W[1][0]||W[0][1]>rn||rn>W[1][1])){if(qe.has(U=ot))return;qe.add(U),vt===W[0][0]&&U.style.width&&(re+=U.offsetWidth),""!==(0,x.trim)(ot.innerHTML.replace(/<br(\/)?>/g,""))&&X.push(ot.innerHTML),Xt>1&&(Se+=Xt-1),fn>1&&(De+=fn-1),pe?(E.mark(U,"remove",1,rt),N(H).removeSelection(U)):(pe=ot,Ae=rn)}}),Se=W[1][1]-W[0][1]+1,De=W[1][0]-W[0][0]+1,pe&&(Se>1&&E.mark(pe,"colspan",Se,rt),De>1&&E.mark(pe,"rowspan",De,rt),re&&(E.mark(pe,"width",(re/O.offsetWidth*100).toFixed(v.ACCURACY)+"%",rt),Ae&&E.setColumnWidthByDelta(O,Ae,0,!0,rt)),pe.innerHTML=X.join("<br/>"),N(H).addSelection(pe),qe.delete(pe),E.unmark(rt),E.normalizeTable(O),(0,x.toArray)(O.rows).forEach(function(ot,vt){ot.cells.length||y.Dom.safeRemove(ot)})))},E.splitHorizontal=function(O,H){var U,X,W,re,pe,Ae=[];E.getSelectedCellsByTable(O).forEach(function(Se){(X=H.createInside.element("td")).appendChild(H.createInside.element("br")),W=H.createInside.element("tr"),U=E.formalCoordinate(O,Se),2>Se.rowSpan?(E.formalMatrix(O,function(De,qe,rt){U[0]===qe&&U[1]!==rt&&De!==Se&&E.mark(De,"rowspan",De.rowSpan+1,Ae)}),y.Dom.after(y.Dom.closest(Se,"tr",O),W),W.appendChild(X)):(E.mark(Se,"rowspan",Se.rowSpan-1,Ae),E.formalMatrix(O,function(De,qe,rt){qe>U[0]&&U[0]+Se.rowSpan>qe&&U[1]>rt&&De.parentNode.rowIndex===qe&&(pe=De),qe>U[0]&&De===Se&&(re=O.rows[qe])}),pe?y.Dom.after(pe,X):re.insertBefore(X,re.firstChild)),Se.colSpan>1&&E.mark(X,"colspan",Se.colSpan,Ae),E.unmark(Ae),N(H).removeSelection(Se)}),this.normalizeTable(O)},E.splitVertical=function(O,H){var U,X,W,re=[];E.getSelectedCellsByTable(O).forEach(function(pe){U=E.formalCoordinate(O,pe),2>pe.colSpan?E.formalMatrix(O,function(Se,De,qe){U[1]===qe&&U[0]!==De&&Se!==pe&&E.mark(Se,"colspan",Se.colSpan+1,re)}):E.mark(pe,"colspan",pe.colSpan-1,re),(X=H.createInside.element("td")).appendChild(H.createInside.element("br")),pe.rowSpan>1&&E.mark(X,"rowspan",pe.rowSpan,re);var Ae=pe.offsetWidth;y.Dom.after(pe,X),E.mark(pe,"width",(100*(W=Ae/O.offsetWidth/2)).toFixed(v.ACCURACY)+"%",re),E.mark(X,"width",(100*W).toFixed(v.ACCURACY)+"%",re),E.unmark(re),N(H).removeSelection(pe)}),E.normalizeTable(O)},E.setColumnWidthByDelta=function(O,H,U,X,W){for(var re=E.formalMatrix(O),pe=0,Ae=0;re.length>Ae;Ae+=1)if(1>=(Se=re[Ae][H]).colSpan||1>=re.length){E.mark(Se,"width",((Se.offsetWidth+U)/O.offsetWidth*100).toFixed(v.ACCURACY)+"%",W),pe=Ae;break}for(Ae=pe+1;re.length>Ae;Ae+=1){var Se;E.mark(Se=re[Ae][H],"width",null,W)}X||E.unmark(W)},E.mark=function(O,H,U,X){var W;X.push(O);var re=null!==(W=z.get(O))&&void 0!==W?W:{};re[H]=void 0===U?1:U,z.set(O,re)},E.unmark=function(O){O.forEach(function(H){var U=z.get(H);U&&(Object.keys(U).forEach(function(X){var W=U[X];switch(X){case"remove":y.Dom.safeRemove(H);break;case"rowspan":(0,x.attr)(H,"rowspan",(0,x.isNumber)(W)&&W>1?W:null);break;case"colspan":(0,x.attr)(H,"colspan",(0,x.isNumber)(W)&&W>1?W:null);break;case"width":null==W?(H.style.removeProperty("width"),(0,x.attr)(H,"style")||(0,x.attr)(H,"style",null)):H.style.width=W.toString()}delete U[X]}),z.delete(H))})},E.selectedByTable=new WeakMap,h.__decorate([(0,w.debounce)()],E.prototype,"recalculateStyles",null),E}(C.ViewComponent);s.Table=R;var N=function(S){return S.getInstance("Table",S.o)}},48197:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ToolbarButton=void 0;var h=o(20255);o(53362);var v=o(96516),y=o(43441),x=o(64968),C=o(12680),_=o(81438),w=o(40332),z=o(77904),R=o(72719),N=o(29411),S=o(38546),E=function(O){function H(U,X,W){void 0===W&&(W=null);var re=O.call(this,U)||this;return re.control=X,re.target=W,re.state=h.__assign(h.__assign({},(0,v.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),re.openedPopup=null,U.e.on([re.button,re.trigger],"mousedown",function(pe){return pe.preventDefault()}),re.onAction(re.onClick),re.hookStatus(N.STATUSES.ready,function(){re.initFromControl(),re.initTooltip(),re.update()}),X.mods&&Object.keys(X.mods).forEach(function(pe){X.mods&&re.setMod(pe,X.mods[pe])}),re}return h.__extends(H,O),H.prototype.className=function(){return"ToolbarButton"},Object.defineProperty(H.prototype,"toolbar",{get:function(){return this.closest(R.ToolbarCollection)},enumerable:!1,configurable:!0}),Object.defineProperty(H.prototype,"button",{get:function(){return this.container.querySelector("button.".concat(this.componentName,"__button"))},enumerable:!1,configurable:!0}),H.prototype.update=function(){var U=this.control,X=this.state,W=this.closest(R.ToolbarCollection);X.disabled=this.calculateDisabledStatus(W),X.activated=this.calculateActivatedStatus(W),(0,w.isFunction)(U.update)&&W&&U.update(this,W.jodit),O.prototype.update.call(this)},H.prototype.calculateActivatedStatus=function(U){return!((0,w.isJoditObject)(this.j)&&!this.j.editorIsActive)&&(!(!(0,w.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))||Boolean(U&&U.shouldBeActive(this)))},H.prototype.calculateDisabledStatus=function(U){return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!(!(0,w.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))||Boolean(U&&U.shouldBeDisabled(this))},H.prototype.onChangeActivated=function(){(0,w.attr)(this.button,"aria-pressed",this.state.activated),O.prototype.onChangeActivated.call(this)},H.prototype.onChangeText=function(){(0,w.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):O.prototype.onChangeText.call(this),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))},H.prototype.onChangeTabIndex=function(){(0,w.attr)(this.button,"tabindex",this.state.tabIndex)},H.prototype.onChangeTooltip=function(){(0,w.attr)(this.button,"aria-label",this.state.tooltip),O.prototype.onChangeTooltip.call(this)},H.prototype.createContainer=function(){var U=this.componentName,X=this.j.c.span(U),W=O.prototype.createContainer.call(this);return(0,w.attr)(X,"role","listitem"),W.classList.remove(U),W.classList.add(U+"__button"),Object.defineProperty(W,"component",{value:this}),X.appendChild(W),this.trigger=this.j.c.fromHTML('<span role="trigger" class="'.concat(U,'__trigger">').concat(z.Icon.get("chevron"),"</span>")),X},H.prototype.focus=function(){var U;null===(U=this.container.querySelector("button"))||void 0===U||U.focus()},H.prototype.onChangeHasTrigger=function(){this.state.hasTrigger?this.container.appendChild(this.trigger):x.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)},H.prototype.onChangeDisabled=function(){var U=this.state.disabled?"disabled":null;(0,w.attr)(this.trigger,"disabled",U),(0,w.attr)(this.button,"disabled",U),(0,w.attr)(this.container,"disabled",U)},H.prototype.initTooltip=function(){var U=this;this.j.o.textIcons||!this.j.o.showTooltip||this.j.o.useNativeTooltip||this.j.e.off(this.container,"mouseenter mouseleave").on(this.container,"mousemove",function(X){U.state.tooltip&&!U.state.disabled&&U.j.e.fire("delayShowTooltip",function(){return{x:X.clientX+10,y:X.clientY+10}},U.state.tooltip)}).on(this.container,"mouseleave",function(){U.j.e.fire("hideTooltip")})},H.prototype.initFromControl=function(){var U,X=this.control,W=this.state;this.updateSize(),W.name=X.name;var re=this.j.o.textIcons;if(!0===re||(0,w.isFunction)(re)&&re(X.name)||X.template)W.icon=(0,v.UIButtonState)().icon,W.text=X.text||X.name;else{if(X.iconURL)W.icon.iconURL=X.iconURL;else{var pe=X.icon||X.name;W.icon.name=z.Icon.exists(pe)||(null===(U=this.j.o.extraIcons)||void 0===U?void 0:U[pe])?pe:""}X.iconURL||W.icon.name||(W.text=X.text||X.name)}X.tooltip&&(W.tooltip=this.j.i18n((0,w.isFunction)(X.tooltip)?X.tooltip(this.j,X,this):X.tooltip)),W.hasTrigger=Boolean(X.list||X.popup&&X.exec)},H.prototype.onTriggerClick=function(U){var X,W,re,pe=this;if(this.openedPopup)this.closePopup();else{var Ae=this.control;if(U.buffer={actionTrigger:this},Ae.list)return this.openControlList(Ae);if((0,w.isFunction)(Ae.popup)){var Se=this.openPopup();if(Se.parentElement=this,!1!==this.j.e.fire((0,w.camelCase)("before-".concat(Ae.name,"-open-popup")),this.target,Ae,Se)){var De=null!==(re=null!==(W=null===(X=this.toolbar)||void 0===X?void 0:X.getTarget(this))&&void 0!==W?W:this.target)&&void 0!==re?re:null,qe=Ae.popup(this.j,De,Ae,this.closePopup,this);qe&&Se.setContent((0,w.isString)(qe)?this.j.c.fromHTML(qe):qe).open(function(){return(0,w.position)(pe.container)},!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,w.camelCase)("after-".concat(Ae.name,"-open-popup")),Se.container)}}},H.prototype.openControlList=function(U){var X,W=this,re=null!==(X=this.jodit.options.controls)&&void 0!==X?X:{},pe=function(rt){return(0,S.findControlType)(rt,re)},Ae=U.list,Se=this.openPopup(),De=(0,_.makeCollection)(this.j);Se.parentElement=this,De.parentElement=Se,De.mode="vertical";var qe=function(rt,ot){if((0,w.isString)(ot)&&pe(ot))return h.__assign({name:ot.toString()},pe(ot));if((0,w.isString)(rt)&&pe(rt))return h.__assign(h.__assign({name:rt.toString()},pe(rt)),"object"==typeof ot?ot:{});var Xt;Xt=rt,(0,w.isPlainObject)(Xt)&&"title"in Xt&&"value"in Xt&&(ot=rt.value,rt=rt.title);var vt=U.childTemplate,rn={name:rt.toString(),template:vt&&function(Xt,fn,_n){return vt(Xt,fn,_n,W)},exec:U.childExec?function(Xt,fn,_n){var hn;return null===(hn=U.childExec)||void 0===hn?void 0:hn.call(U,Xt,fn,h.__assign(h.__assign({},_n),{parentControl:U}))}:U.exec,data:U.data,command:U.command,isActive:U.isChildActive,isDisabled:U.isChildDisabled,mode:U.mode,args:h.__spreadArray(h.__spreadArray([],h.__read(U.args?U.args:[]),!1),[rt,ot],!1)};return(0,w.isString)(ot)&&(rn.text=ot),rn};De.build((0,w.isArray)(Ae)?Ae.map(qe):(0,w.keys)(Ae,!1).map(function(rt){return qe(rt,Ae[rt])}),this.target),Se.setContent(De.container).open(function(){return(0,w.position)(W.container)},!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0},H.prototype.onOutsideClick=function(U){this.openedPopup&&(U&&x.Dom.isNode(U.target)&&(x.Dom.isOrContains(this.container,U.target)||this.openedPopup.isOwnClick(U))||this.closePopup())},H.prototype.openPopup=function(){return this.closePopup(),this.openedPopup=new C.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup},H.prototype.closePopup=function(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)},H.prototype.onClick=function(U){var X,W,re,pe,Ae,Se,De,qe=this.control;if((0,w.isFunction)(qe.exec)){var rt=null!==(re=null!==(W=null===(X=this.toolbar)||void 0===X?void 0:X.getTarget(this))&&void 0!==W?W:this.target)&&void 0!==re?re:null,ot=qe.exec(this.j,rt,{control:qe,originalEvent:U,button:this});if(!1!==ot&&!0!==ot&&(null===(Ae=null===(pe=this.j)||void 0===pe?void 0:pe.e)||void 0===Ae||Ae.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(De=null===(Se=this.j)||void 0===Se?void 0:Se.e)||void 0===De||De.fire("closeAllPopups afterExec")),!1!==ot)return}return qe.list?this.openControlList(qe):(0,w.isFunction)(qe.popup)?this.onTriggerClick(U):void((qe.command||qe.name)&&((0,w.call)((0,w.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),qe.command||qe.name,!1,qe.args&&qe.args[0]),this.j.e.fire("closeAllPopups")))},H.prototype.destruct=function(){return this.closePopup(),O.prototype.destruct.call(this)},h.__decorate([(0,y.watch)("state.tooltip")],H.prototype,"onChangeTooltip",null),h.__decorate([(0,y.watch)("state.hasTrigger")],H.prototype,"onChangeHasTrigger",null),h.__decorate([(0,y.watch)("trigger:click")],H.prototype,"onTriggerClick",null),h.__decorate([y.autobind],H.prototype,"onOutsideClick",null),h.__decorate([y.autobind],H.prototype,"closePopup",null),h.__decorate([y.component],H)}(v.UIButton);s.ToolbarButton=E},34375:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ToolbarContent=void 0;var h=o(20255);o(48904);var v=o(96516),y=o(64968),x=o(40332),C=o(43441),_=function(w){function z(R,N,S){void 0===S&&(S=null);var E=w.call(this,R)||this;return E.control=N,E.target=S,E.container.classList.add("".concat(E.componentName,"_").concat(E.clearName(N.name))),(0,x.attr)(E.container,"role","content"),E}return h.__extends(z,w),z.prototype.className=function(){return"ToolbarContent"},z.prototype.update=function(){var R=this.control.getContent(this.j,this.control,this);((0,x.isString)(R)||R.parentNode!==this.container)&&(y.Dom.detach(this.container),this.container.appendChild((0,x.isString)(R)?this.j.create.fromHTML(R):R)),w.prototype.update.call(this)},z.prototype.createContainer=function(){return this.j.c.span(this.componentName)},h.__decorate([C.component],z)}(v.UIButton);s.ToolbarContent=_},3890:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(48197),s),h.__exportStar(o(34375),s)},72719:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ToolbarCollection=void 0;var h=o(20255);o(85796);var v=o(40332),y=o(2074),x=o(81438),C=o(43441),_=function(w){function z(R){var N=w.call(this,R)||this;return N.listenEvents="updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",N.update=N.j.async.debounce(N.immediateUpdate,function(){return N.j.defaultTimeout}),N.__tooltip=null,N.initEvents(),N.__tooltip=y.UITooltip.make(R),N}return h.__extends(z,w),z.prototype.className=function(){return"ToolbarCollection"},Object.defineProperty(z.prototype,"firstButton",{get:function(){return h.__read(this.buttons,1)[0]||null},enumerable:!1,configurable:!0}),z.prototype.makeButton=function(R,N){return void 0===N&&(N=null),(0,x.makeButton)(this.j,R,N)},z.prototype.shouldBeActive=function(R){},z.prototype.shouldBeDisabled=function(R){},z.prototype.getTarget=function(R){return R.target||null},z.prototype.immediateUpdate=function(){this.isDestructed||this.j.isLocked||(w.prototype.update.call(this),this.j.e.fire("afterUpdateToolbar"))},z.prototype.setDirection=function(R){this.container.style.direction=R,this.container.setAttribute("dir",R)},z.prototype.initEvents=function(){this.j.e.on(this.listenEvents,this.update).on("afterSetMode focus",this.immediateUpdate)},z.prototype.hide=function(){this.container.remove()},z.prototype.show=function(){this.appendTo(this.j.toolbarContainer)},z.prototype.showInline=function(R){throw(0,v.error)("The method is not implemented for this class.")},z.prototype.build=function(R,N){void 0===N&&(N=null);var S=this.j.e.fire("beforeToolbarBuild",R);return S&&(R=S),w.prototype.build.call(this,R,N),this},z.prototype.destruct=function(){var R;this.isDestructed||(null===(R=this.__tooltip)||void 0===R||R.destruct(),this.j.e.off(this.listenEvents,this.update).off("afterSetMode focus",this.immediateUpdate),w.prototype.destruct.call(this))},h.__decorate([C.autobind],z.prototype,"immediateUpdate",null),h.__decorate([C.component],z)}(y.UIList);s.ToolbarCollection=_},81698:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ToolbarEditorCollection=void 0;var h=o(20255),v=o(72719),y=o(86893),x=o(64968),C=o(40332),_=o(43441),w=function(z){function R(N){var S=z.call(this,N)||this;return S.checkActiveStatus=function(E,O){var H=0,U=0;return Object.keys(E).forEach(function(X){var W=E[X];(0,C.isFunction)(W)?W(S.j,(0,C.css)(O,X).toString())&&(H+=1):-1!==W.indexOf((0,C.css)(O,X).toString())&&(H+=1),U+=1}),U===H},S.prependInvisibleInput(S.container),S}return h.__extends(R,z),R.prototype.className=function(){return"ToolbarEditorCollection"},R.prototype.shouldBeDisabled=function(N){var S=z.prototype.shouldBeDisabled.call(this,N);if(void 0!==S)return S;var E=void 0===N.control.mode?y.MODE_WYSIWYG:N.control.mode;return!(E===y.MODE_SPLIT||E===this.j.getRealMode())},R.prototype.shouldBeActive=function(N){var S=this,E=z.prototype.shouldBeActive.call(this,N);if(void 0!==E)return E;var O=this.j.selection?this.j.s.current():null;if(!O)return!1;if(N.control.tags){var H=N.control.tags;if(x.Dom.up(O,function(X){if(X&&-1!==H.indexOf(X.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(N.control.css){var U=N.control.css;if(x.Dom.up(O,function(X){if(X&&!x.Dom.isText(X))return S.checkActiveStatus(U,X)},this.j.editor))return!0}return!1},R.prototype.getTarget=function(N){return N.target||this.j.s.current()||null},R.prototype.prependInvisibleInput=function(N){var S=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});x.Dom.appendChildFirst(N,S)},R.prototype.showInline=function(N){this.jodit.e.fire("showInlineToolbar",N)},R.prototype.hide=function(){this.jodit.e.fire("hidePopup"),z.prototype.hide.call(this),this.jodit.e.fire("toggleToolbar")},R.prototype.show=function(){z.prototype.show.call(this),this.jodit.e.fire("toggleToolbar")},h.__decorate([_.component],R)}(v.ToolbarCollection);s.ToolbarEditorCollection=w},81438:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.makeButton=s.makeCollection=void 0;var h=o(40332),v=o(72719),y=o(81698),x=o(48197),C=o(34375);s.makeCollection=function(_,w){var z=(0,h.isJoditObject)(_)?new y.ToolbarEditorCollection(_):new v.ToolbarCollection(_);return _.o.textIcons&&z.container.classList.add("jodit_text_icons"),w&&(z.parentElement=w),_.o.toolbarButtonSize&&(z.buttonSize=_.o.toolbarButtonSize),z},s.makeButton=function(_,w,z){if(void 0===z&&(z=null),(0,h.isFunction)(w.getContent))return new C.ToolbarContent(_,w,z);var R=new x.ToolbarButton(_,w,z);return R.state.tabIndex=_.o.allowTabNavigation?0:-1,R}},36262:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(93166),y=o(49781),x=o(77892);v.Config.prototype.enableDragAndDropFileToEditor=!0,v.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(C){return"files[".concat(C,"]")},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:function(C){return C},isSuccess:function(C){return C.success},getMessage:function(C){return void 0!==C.data.messages&&(0,y.isArray)(C.data.messages)?C.data.messages.join(" "):""},processFileName:function(C,_,w){return[C,_,w]},process:function(C){return C.data},error:function(C){this.j.e.fire("errorMessage",C.message,"error",4e3)},getDisplayName:function(C,_){return C+_},defaultHandlerSuccess:function(C){var _=this,w=this.j||this;(0,x.isJoditObject)(w)&&C.files&&C.files.length&&C.files.forEach(function(z,R){var N=h.__read(C.isImages&&C.isImages[R]?["img","src"]:["a","href"],2),S=N[0],E=N[1],O=w.createInside.element(S);O.setAttribute(E,C.baseurl+z),"a"===S&&(O.textContent=w.o.uploader.getDisplayName.call(_,C.baseurl,z)),"img"===S?w.s.insertImage(O,null,w.o.imageDefaultWidth):w.s.insertNode(O)})},defaultHandlerError:function(C){this.j.e.fire("errorMessage",C.message)},contentType:function(C){return(void 0===this.ow.FormData||"string"==typeof C)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},55778:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.buildData=void 0;var h=o(40332);s.buildData=function(v,y){if((0,h.isFunction)(v.o.buildData))return v.o.buildData.call(v,y);var x=v.ow.FormData;if(void 0!==x){if(y instanceof x||(0,h.isString)(y))return y;var C=new x;return Object.keys(y).forEach(function(_){C.append(_,y[_])}),C}return y}},98099:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.dataURItoBlob=void 0,s.dataURItoBlob=function(o){for(var h=atob(o.split(",")[1]),v=o.split(",")[0].split(":")[1].split(";")[0],y=new ArrayBuffer(h.length),x=new Uint8Array(y),C=0;h.length>C;C+=1)x[C]=h.charCodeAt(C);return new Blob([x],{type:v})}},41566:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hasItems=s.hasFiles=void 0;var h=o(20255);h.__exportStar(o(32937),s),h.__exportStar(o(98099),s),h.__exportStar(o(55778),s),h.__exportStar(o(30863),s),h.__exportStar(o(20704),s),s.hasFiles=function(v){return Boolean(v&&v.files&&v.files.length>0)},s.hasItems=function(v){return Boolean(v&&v.items&&v.items.length>0)}},32937:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.processOldBrowserDrag=void 0;var h=o(86893),v=o(17332),y=o(40332),x=o(64968),C=o(41566);s.processOldBrowserDrag=function(_,w,z,R,N){if(w&&(!w.types.length||w.types[0]!==h.TEXT_PLAIN)){var S=_.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,v.getContainer)(_.j,_.constructor).appendChild(S);var E=(0,y.isJoditObject)(_.j)?_.j.s.save():null;S.focus(),_.j.async.setTimeout(function(){var O=S.firstChild;if(x.Dom.safeRemove(S),O&&O.hasAttribute("src")){var H=(0,y.attr)(O,"src")||"";E&&(0,y.isJoditObject)(_.j)&&_.j.s.restore(),(0,C.sendFiles)(_,[(0,C.dataURItoBlob)(H)],z,R).finally(N)}},_.j.defaultTimeout)}}},20704:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.sendFiles=void 0;var h=o(20255),v=o(40332),y=o(30863);s.sendFiles=function(x,C,_,w,z){if(!C)return Promise.reject((0,v.error)("Need files"));var R=x.o,N=(0,v.toArray)(C);if(!N.length)return Promise.reject((0,v.error)("Need files"));var S=[];if(R.insertImageAsBase64URI){var E,O=void 0,H=function(){if((E=N[O])&&E.type){var qe=E.type.match(/\/([a-z0-9]+)/i),rt=qe[1]?qe[1].toLowerCase():"";if(R.imagesExtensions.includes(rt)){var ot=new FileReader;S.push(x.j.async.promise(function(vt,rn){ot.onerror=rn,ot.onloadend=function(){var Xt={baseurl:"",files:[ot.result],isImages:[!0]};((0,v.isFunction)(_)?_:R.defaultHandlerSuccess).call(x,Xt),vt(Xt)},ot.readAsDataURL(E)})),N[O]=null}}};for(O=0;N.length>O;O+=1)H()}if((N=N.filter(function(qe){return qe})).length){var U=new FormData;U.append(R.pathVariableName,x.path),U.append("source",x.source);var X=void 0;for(O=0;N.length>O;O+=1)if(X=N[O]){var W=/\.[\d\w]+$/.test(X.name),re=X.type.match(/\/([a-z0-9]+)/i),pe=re&&re[1]?re[1].toLowerCase():"",Ae=N[O].name||Math.random().toString().replace(".","");if(!W&&pe){var Se=pe;["jpeg","jpg"].includes(Se)&&(Se="jpeg|jpg"),new RegExp(".("+Se+")$","i").test(Ae)||(Ae+="."+pe)}var De=h.__read(R.processFileName.call(x,R.filesVariableName(O),N[O],Ae),3);U.append(De[0],De[1],De[2])}z&&z(U),R.data&&(0,v.isPlainObject)(R.data)&&Object.keys(R.data).forEach(function(qe){U.append(qe,R.data[qe])}),R.prepareData.call(x,U),S.push((0,y.send)(x,U).then(function(qe){return R.isSuccess.call(x,qe)?(((0,v.isFunction)(_)?_:R.defaultHandlerSuccess).call(x,R.process.call(x,qe)),qe):(((0,v.isFunction)(w)?w:R.defaultHandlerError).call(x,(0,v.error)(R.getMessage.call(x,qe))),qe)}).then(function(){x.j.events&&x.j.e.fire("filesWereUploaded")}))}return Promise.all(S)}},30863:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.send=s.ajaxInstances=void 0;var h=o(30056),v=o(40332),y=o(55778);s.ajaxInstances=new WeakMap,s.send=function(x,C){var _=(0,y.buildData)(x,C),w=function(z){var R=new h.Ajax({xhr:function(){var S=new XMLHttpRequest;return void 0!==x.j.ow.FormData&&S.upload?(x.j.progressbar.show().progress(10),S.upload.addEventListener("progress",function(E){if(E.lengthComputable){var O=E.loaded/E.total;O*=100,x.j.progressbar.show().progress(O),100>O||x.j.progressbar.hide()}},!1)):x.j.progressbar.hide(),S},method:x.o.method||"POST",data:z,url:(0,v.isFunction)(x.o.url)?x.o.url(z):x.o.url,headers:x.o.headers,queryBuild:x.o.queryBuild,contentType:x.o.contentType.call(x,z),withCredentials:x.o.withCredentials||!1}),N=s.ajaxInstances.get(x);return N||(N=new Set,s.ajaxInstances.set(x,N)),N.add(R),x.j.e.one("beforeDestruct",R.destruct),R.send().then(function(S){return S.json()}).catch(function(S){x.o.error.call(x,S)}).finally(function(){R.destruct(),null==N||N.delete(R)})};return(0,v.isPromise)(_)?_.then(w).catch(function(z){x.o.error.call(x,z)}):w(_)}},50454:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.Uploader=void 0;var h=o(20255);o(28654);var v=o(93166),y=o(86893),x=o(40332),C=o(56562),_=o(41566);o(36262);var w=function(z){function R(N,S){var E=z.call(this,N)||this;return E.path="",E.source="default",E.options=(0,x.ConfigProto)(S||{},(0,x.ConfigProto)(v.Config.defaultOptions.uploader,(0,x.isJoditObject)(N)?N.o.uploader:{})),E}return h.__extends(R,z),Object.defineProperty(R.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),R.prototype.className=function(){return"Uploader"},Object.defineProperty(R.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),R.prototype.setPath=function(N){return this.path=N,this},R.prototype.setSource=function(N){return this.source=N,this},R.prototype.bind=function(N,S,E){var O=function(){N.classList.remove("jodit_drag_hover")},H=this,U=function(X){var W,re,pe,Ae=X.clipboardData,Se=function(rt){re&&(rt.append("extension",pe),rt.append("mimetype",re.type))};if(!y.IS_IE&&(0,_.hasFiles)(Ae))return(0,_.sendFiles)(H,Ae.files,S,E).finally(O),!1;if(y.IS_IE)return(0,_.processOldBrowserDrag)(H,Ae,S,E,O);if((0,_.hasItems)(Ae)){var De=Ae.items;for(W=0;De.length>W;W+=1)if("file"===De[W].kind&&"image/png"===De[W].type){if(re=De[W].getAsFile()){var qe=re.type.match(/\/([a-z0-9]+)/i);pe=qe[1]?qe[1].toLowerCase():"",(0,_.sendFiles)(H,[re],S,E,Se).finally(O)}X.preventDefault();break}}};H.j&&H.j.editor!==N?H.j.e.on(N,"paste",U):H.j.e.on("beforePaste",U),this.attachEvents(N,S,E,O)},R.prototype.attachEvents=function(N,S,E,O){var H=this;H.j.e.on(N,"dragend dragover dragenter dragleave drop",function(X){X.preventDefault()}).on(N,"dragover",function(X){((0,_.hasFiles)(X.dataTransfer)||(0,_.hasItems)(X.dataTransfer))&&(N.classList.add("jodit_drag_hover"),X.preventDefault())}).on(N,"dragend dragleave",function(X){N.classList.remove("jodit_drag_hover"),(0,_.hasFiles)(X.dataTransfer)&&X.preventDefault()}).on(N,"drop",function(X){N.classList.remove("jodit_drag_hover"),(0,_.hasFiles)(X.dataTransfer)&&(X.preventDefault(),X.stopImmediatePropagation(),(0,_.sendFiles)(H,X.dataTransfer.files,S,E).finally(O))});var U=N.querySelector("input[type=file]");U&&H.j.e.on(U,"change",function(){(0,_.sendFiles)(H,U.files,S,E).then(function(){U.value="",/safari/i.test(navigator.userAgent)||(U.type="",U.type="file")}).finally(O)})},R.prototype.uploadRemoteImage=function(N,S,E){var O=this,H=O.o,U=(0,x.isFunction)(E)?E:H.defaultHandlerError;(0,_.send)(O,{action:"fileUploadRemote",url:N}).then(function(X){H.isSuccess.call(O,X)?((0,x.isFunction)(S)?S:H.defaultHandlerSuccess).call(O,H.process.call(O,X)):U.call(O,(0,x.error)(H.getMessage.call(O,X)))}).catch(function(X){return U.call(O,X)})},R.prototype.destruct=function(){this.setStatus(C.STATUSES.beforeDestruct);var N=_.ajaxInstances.get(this);N&&(N.forEach(function(S){try{S.destruct()}catch(E){}}),N.clear()),z.prototype.destruct.call(this)},R}(C.ViewComponent);s.Uploader=w},75243:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.ColorPickerWidget=void 0,o(60819);var h=o(40332),v=o(2074),y=o(64968);v.Icon.set("palette",o(95331)),s.ColorPickerWidget=function(x,C,_){var w="jodit-color-picker",z=(0,h.normalizeColor)(_),R=x.c.div(w),N=x.o.textIcons?"<span>".concat(x.i18n("palette"),"</span>"):v.Icon.get("palette"),S=function(O){var H=[];return(0,h.isPlainObject)(O)?Object.keys(O).forEach(function(U){H.push('<div class="'.concat(w,"__group ").concat(w,"__group-").concat(U,'">')),H.push(S(O[U])),H.push("</div>")}):(0,h.isArray)(O)&&O.forEach(function(U){H.push("<span class='".concat(w,"__color-item ").concat(z===U?w+"__color-item_active_true":"","' title=\"").concat(U,'" style="background-color:').concat(U,'" data-color="').concat(U,'"></span>'))}),H.join("")};R.appendChild(x.c.fromHTML('<div class="'.concat(w,'__groups">').concat(S(x.o.colors),"</div>"))),R.appendChild(x.c.fromHTML('<div data-ref="extra" class="'.concat(w,'__extra"></div>')));var E=(0,h.refs)(R).extra;return x.o.showBrowserColorPicker&&(0,h.hasBrowserColorPicker)()&&(E.appendChild(x.c.fromHTML('<div class="'.concat(w,'__native">').concat(N,'<input type="color" value="#ffffff"/></div>'))),x.e.on(R,"change",function(O){O.stopPropagation();var H=O.target;if(H&&H.tagName&&y.Dom.isTag(H,"input")){var U=H.value||"";(0,h.isFunction)(C)&&C(U),O.preventDefault()}})),x.e.on(R,"mousedown touchend",function(O){O.stopPropagation(),O.preventDefault();var H=O.target;if(H&&H.tagName&&!y.Dom.isTag(H,"svg")&&!y.Dom.isTag(H,"path")||!H.parentNode||(H=y.Dom.closest(H.parentNode,"span",x.editor)),y.Dom.isTag(H,"span")&&H.classList.contains(w+"__color-item")){var U=(0,h.attr)(H,"-color")||"";C&&(0,h.isFunction)(C)&&C(U)}}),x.e.fire("afterGenerateColorPicker",R,E,C,z),R}},83029:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.FileSelectorWidget=void 0;var h=o(40332),v=o(64968),y=o(2074),x=o(60929);s.FileSelectorWidget=function(C,_,w,z,R){var N;void 0===R&&(R=!0);var S=[];if(_.upload&&C.o.uploader&&(C.o.uploader.url||C.o.uploader.insertImageAsBase64URI)){var E=C.c.fromHTML('<div class="jodit-drag-and-drop__file-box">'+"<strong>".concat(C.i18n(R?"Drop image":"Drop file"),"</strong>")+"<span><br>".concat(C.i18n("or click"),"</span>")+'<input type="file" accept="'.concat(R?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/>')+"</div>");C.uploader.bind(E,function(U){var X=(0,h.isFunction)(_.upload)?_.upload:C.o.uploader.defaultHandlerSuccess;(0,h.isFunction)(X)&&X.call(C,U),C.e.fire("closeAllPopups")},function(U){C.e.fire("errorMessage",U.message),C.e.fire("closeAllPopups")}),S.push({icon:"upload",name:"Upload",content:E})}if(_.filebrowser&&(C.o.filebrowser.ajax.url||C.o.filebrowser.items.url)&&S.push({icon:"folder",name:"Browse",content:function(){z&&z(),_.filebrowser&&C.filebrowser.open(_.filebrowser,R)}}),_.url){var O=new y.UIButton(C,{type:"submit",variant:"primary",text:"Insert"}),H=new y.UIForm(C,[new y.UIInput(C,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new y.UIInput(C,{name:"text",label:"Alternative text"}),new y.UIBlock(C,[O])]);N=null,w&&!v.Dom.isText(w)&&(v.Dom.isTag(w,"img")||(0,h.$$)("img",w).length)&&(N="IMG"===w.tagName?w:(0,h.$$)("img",w)[0],(0,h.val)(H.container,"input[name=url]",(0,h.attr)(N,"src")),(0,h.val)(H.container,"input[name=text]",(0,h.attr)(N,"alt")),O.state.text="Update"),w&&v.Dom.isTag(w,"a")&&((0,h.val)(H.container,"input[name=url]",(0,h.attr)(w,"href")),(0,h.val)(H.container,"input[name=text]",(0,h.attr)(w,"title")),O.state.text="Update"),H.onSubmit(function(U){(0,h.isFunction)(_.url)&&_.url.call(C,U.url,U.text)}),S.push({icon:"link",name:"URL",content:H.container})}return(0,x.TabsWidget)(C,S)}},718:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(75243),s),h.__exportStar(o(60929),s),h.__exportStar(o(83029),s)},60929:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.TabsWidget=void 0,o(96410);var h=o(40332),v=o(42096),y=o(2074),x=o(56562),C=o(24263);s.TabsWidget=function(_,w,z){var R=_.c.div("jodit-tabs"),N=_.c.div("jodit-tabs__wrapper"),S=_.c.div("jodit-tabs__buttons"),E={},O=[],H="",U=0;R.appendChild(S),R.appendChild(N);var X=function(re){E[re]&&(O.forEach(function(pe){pe.state.activated=!1}),(0,h.$$)(".jodit-tab",N).forEach(function(pe){pe.classList.remove("jodit-tab_active")}),E[re].button.state.activated=!0,E[re].tab.classList.add("jodit-tab_active"))};if(w.forEach(function(re){var pe=re.icon,Ae=re.name,Se=re.content,De=_.c.div("jodit-tab"),qe=(0,y.Button)(_,pe||Ae,Ae);_.e.on(qe.container,"mousedown",function(rt){return rt.preventDefault()}),H||(H=Ae),S.appendChild(qe.container),O.push(qe),qe.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+w.length),(0,v.isFunction)(Se)?De.appendChild(_.c.div("jodit-tab_empty")):De.appendChild(x.Component.isInstanceOf(Se,y.UIElement)?Se.container:Se),N.appendChild(De),qe.onAction(function(){return X(Ae),(0,v.isFunction)(Se)&&!C.Dom.isElement(Se)&&Se.call(_),z&&(z.__activeTab=Ae),!1}),E[Ae]={button:qe,tab:De},U+=1}),!U)return R;if((0,h.$$)("a",S).forEach(function(re){re.style.width=(100/U).toFixed(10)+"%"}),X(z&&z.__activeTab&&E[z.__activeTab]?z.__activeTab:H),z){var W=z.__activeTab;Object.defineProperty(z,"__activeTab",{configurable:!0,enumerable:!1,get:function(){return W},set:function(re){W=re,X(re)}})}return R}},55692:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(33126);var h=o(93166),v=o(40332),y=o(86893),x=o(17332),C=o(77904);h.Config.prototype.controls.about={exec:function(_){var w=_.dlg(),z=_.i18n.bind(_);w.setMod("theme",_.o.theme).setHeader(z("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(z("Jodit Editor")," v.").concat(_.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(z("License: %s",(0,v.isLicense)(_.o.license)?(0,v.normalizeLicense)(_.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat("https://xdsoft.net/jodit/",'" target="_blank">').concat("https://xdsoft.net/jodit/",'</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/doc/" target="_blank">').concat(z("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(z("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(z("Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),(0,v.css)(w.dialog,{minHeight:200,minWidth:420}),w.open(!0)},tooltip:"About Jodit",mode:y.MODE_SOURCE+y.MODE_WYSIWYG},x.pluginSystem.add("about",function(_){_.registerButton({name:"about",group:"info"})}),C.Icon.set("about",o(84279))},66031:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.addNewLine=void 0;var h=o(20255);o(30724);var v=o(87837),y=o(40332),x=o(43441),C=o(17332);o(46360);var _="addnewline",w=function(z){function R(){var N=null!==z&&z.apply(this,arguments)||this;return N.line=N.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(N.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(v.Icon.get("enter"),"</span></div>")),N.isMatchedTag=function(S){return Boolean(S&&N.j.o.addNewLineTagsTriggers.includes(S.nodeName.toLowerCase()))},N.preview=!1,N.lineInFocus=!1,N.isShown=!1,N.hideForce=function(){N.isShown&&(N.isShown=!1,N.j.async.clearTimeout(N.timeout),N.lineInFocus=!1,v.Dom.safeRemove(N.line),N.line.style.setProperty("--jd-offset-handle","0"))},N.canGetFocus=function(S){return null!=S&&v.Dom.isBlock(S)&&!/^(img|table|iframe|hr)$/i.test(S.nodeName)},N.onClickLine=function(S){var E=N.j,O=E.createInside.element(E.o.enter);N.preview&&N.current&&N.current.parentNode?N.current===E.editor?v.Dom.prepend(E.editor,O):N.current.parentNode.insertBefore(O,N.current):E.editor.appendChild(O),E.s.setCursorIn(O),(0,y.scrollIntoViewIfNeeded)(O,E.editor,E.ed),E.synchronizeValues(),N.hideForce(),S.preventDefault()},N}return h.__extends(R,z),R.prototype.show=function(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.container.clientWidth+"px")},R.prototype.onLock=function(N){N&&this.isShown&&this.hideForce()},R.prototype.hide=function(){this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))},R.prototype.afterInit=function(N){var S=this;N.o.addNewLine&&(N.e.on(this.line,"mousemove",function(E){E.stopPropagation()}).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",function(){S.j.async.clearTimeout(S.timeout),S.lineInFocus=!0}).on(this.line,"mouseleave",function(){S.lineInFocus=!1}).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())},R.prototype.addEventListeners=function(){var N=this.j;N.e.off(N.editor,"."+_).off(N.container,"."+_).on([N.ow,N.ew,N.editor],"scroll."+_,this.hideForce).on(N.editor,"click."+_,this.hide).on(N.container,"mouseleave."+_,this.hide).on(N.editor,"mousemove."+_,this.onMouseMove)},R.prototype.onDblClickEditor=function(N){var S=this.j;if(!S.o.readonly&&S.o.addNewLineOnDBLClick&&N.target===S.editor&&S.s.isCollapsed()){var E=(0,y.offset)(S.editor,S,S.ed),O=N.pageY-S.ew.pageYOffset,H=S.createInside.element(S.o.enter);Math.abs(O-E.top)<Math.abs(O-(E.height+E.top))&&S.editor.firstChild?S.editor.insertBefore(H,S.editor.firstChild):S.editor.appendChild(H),S.s.setCursorIn(H),S.synchronizeValues(),this.hideForce(),N.preventDefault()}},R.prototype.onMouseMove=function(N){var S=this.j,E=S.ed.elementFromPoint(N.clientX,N.clientY);if(v.Dom.isHTMLElement(E)&&!v.Dom.isOrContains(this.line,E)&&v.Dom.isOrContains(S.editor,E))if(S.editor===E||this.isMatchedTag(E)||(E=v.Dom.closest(E,this.isMatchedTag,S.editor)),E){if(this.isMatchedTag(E)){var O=v.Dom.up(E,v.Dom.isBlock,S.editor);O&&O!==S.editor&&(E=O)}var H=(0,y.position)(E,this.j),U=!1,X=N.clientY,W=N.clientX;if(this.j.iframe){var re=(0,y.position)(this.j.iframe,this.j,!0);X+=re.top,W+=re.left}var pe=this.j.o.addNewLineDeltaShow;Math.abs(X-H.top)>pe||(U=H.top,this.preview=!0),Math.abs(X-(H.top+H.height))>pe||(U=H.top+H.height,this.preview=!1),!1===U||(S.editor!==E||this.preview)&&(0,y.call)(this.preview?v.Dom.prev:v.Dom.next,E,this.canGetFocus,S.editor)?(this.current=!1,this.hide()):(this.line.style.top=U+"px",this.current=E,this.show(),this.line.style.setProperty("--jd-offset-handle",W-H.left-10+"px"))}else this.hide()},R.prototype.beforeDestruct=function(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),v.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+_).off(this.j.container,"."+_)},h.__decorate([(0,x.watch)(":lock")],R.prototype,"onLock",null),h.__decorate([x.autobind],R.prototype,"hide",null),h.__decorate([(0,x.watch)(":dblclick")],R.prototype,"onDblClickEditor",null),h.__decorate([(0,x.debounce)(function(N){return 5*N.defaultTimeout})],R.prototype,"onMouseMove",null),R}(v.Plugin);s.addNewLine=w,C.pluginSystem.add("addNewLine",w)},46360:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(2074);h.Config.prototype.addNewLine=!0,h.Config.prototype.addNewLineOnDBLClick=!0,h.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],h.Config.prototype.addNewLineDeltaShow=20,v.Icon.set("enter",o(11257))},91241:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.backspace=void 0;var h=o(20255),v=o(57549),y=o(64968),x=o(86893),C=o(40332),_=o(10109),w=o(17332),z=o(90089),R=o(95441);o(48229);var N=function(S){function E(){var O=null!==S&&S.apply(this,arguments)||this;return O.requires=["hotkeys"],O}return h.__extends(E,S),E.prototype.afterInit=function(O){var H=this;O.e.on("afterCommand.delete",function(U){"delete"===U&&H.afterDeleteCommand()}),O.registerCommand("deleteButton",{exec:function(){return H.onDelete(!1)},hotkeys:O.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:function(){return H.onDelete(!0)},hotkeys:O.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:function(){return H.onDelete(!1,"word")},hotkeys:O.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:function(){return H.onDelete(!0,"word")},hotkeys:O.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:function(){return H.onDelete(!1,"sentence")},hotkeys:O.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:function(){return H.onDelete(!0,"sentence")},hotkeys:O.o.delete.hotkeys.backspaceSentence})},E.prototype.beforeDestruct=function(O){O.e.off("afterCommand.delete")},E.prototype.afterDeleteCommand=function(){var O=this.j,H=O.s.current();if(H&&y.Dom.isTag(H.firstChild,"br")&&O.s.removeNode(H.firstChild),!((0,C.trim)(O.editor.textContent||"")||O.editor.querySelector("img,table,jodit,iframe,hr")||H&&y.Dom.closest(H,"table",O.editor))){O.editor.innerHTML="";var U=O.s.setCursorIn(O.editor);O.s.removeNode(U)}},E.prototype.onDelete=function(O,H){void 0===H&&(H="char");var U=this.j,X=U.selection;if(X.isFocused()||X.focus(),(0,R.checkNotCollapsed)(U))return!1;var W=X.range,re=U.createInside.text(x.INVISIBLE_SPACE);try{if(y.Dom.safeInsertNode(W,re),!y.Dom.isOrContains(U.editor,re))return;if(U.e.fire("backSpaceBeforeCases",O,re)||((0,_.moveNodeInsideStart)(U,re,O),z.cases.some(function(pe){if((0,C.isFunction)(pe)&&pe(U,re,O,H))return!0})))return!1}catch(pe){throw pe}finally{U.e.fire("backSpaceAfterDelete",O,re),this.safeRemoveEmptyNode(re)}return!1},E.prototype.safeRemoveEmptyNode=function(O){var H,U,X=this.j.s.range;X.startContainer===O&&(O.previousSibling?y.Dom.isText(O.previousSibling)?X.setStart(O.previousSibling,null!==(U=null===(H=O.previousSibling.nodeValue)||void 0===H?void 0:H.length)&&void 0!==U?U:0):X.setStartAfter(O.previousSibling):O.nextSibling&&(y.Dom.isText(O.nextSibling)?X.setStart(O.nextSibling,0):X.setStartBefore(O.nextSibling)),X.collapse(!0),this.j.s.selectRange(X)),y.Dom.safeRemove(O)},E}(v.Plugin);s.backspace=N,w.pluginSystem.add("backspace",N)},31078:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkJoinNeighbors=void 0;var h=o(24263),v=o(30861);function y(x,C,_,w){if(C&&h.Dom.isElement(_)){h.Dom.moveContent(C,_,!w,(0,v.getMoveFilter)(x));for(var z=C;z&&z!==x.editor&&h.Dom.isEmpty(z);){var R=z.parentElement;h.Dom.safeRemove(z),z=R}return!0}return!1}s.checkJoinNeighbors=function(x,C,_){for(var w=C,z=w;w&&!h.Dom.findNotEmptySibling(w,_)&&w.parentElement!==x.editor;)z=w=w.parentElement;if(h.Dom.isElement(z)&&h.Dom.isContentEditable(z,x.editor)){var R=h.Dom.findNotEmptySibling(z,_);if(R&&(N=x,S=z,E=R,O=_,H=h.Dom.isTag(E,["ol","ul"]),U=h.Dom.isTag(S,["ol","ul"]),X=function(W,re){return re?W.firstElementChild:W.lastElementChild},(U?(E=N.createInside.element(N.o.enterBlock),h.Dom.before(S,E),y(N,X(S,O),E,O)):E&&H&&!U&&y(N,S,X(E,!O),O))||y(x,z,R,_)))return x.s.setCursorBefore(C),!0}var N,S,E,O,H,U,X;return!1}},92156:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkJoinTwoLists=void 0;var h=o(24263),v=o(67309),y=o(30861);s.checkJoinTwoLists=function(x,C,_){var w=h.Dom.findSibling(C,_),z=h.Dom.findSibling(C,!_);if(!h.Dom.closest(C,h.Dom.isElement,x.editor)&&h.Dom.isTag(w,["ul","ol"])&&h.Dom.isTag(z,["ul","ol"])&&h.Dom.isTag(w.lastElementChild,"li")&&h.Dom.isTag(z.firstElementChild,"li")){var R=x.s,N=R.setCursorBefore,S=R.setCursorAfter,E=w.lastElementChild;return(0,v.call)(_?h.Dom.prepend:h.Dom.append,z.firstElementChild,C),h.Dom.moveContent(z,w,!_,(0,y.getMoveFilter)(x)),h.Dom.safeRemove(z),(0,v.call)(_?h.Dom.append:h.Dom.prepend,E,C),(0,v.call)(_?N:S,C),!0}return!1}},95441:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkNotCollapsed=void 0,s.checkNotCollapsed=function(o){return!o.s.isCollapsed()&&(o.execCommand("Delete"),!0)}},13116:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkRemoveChar=void 0;var h=o(64968),v=o(40332),y=o(86893),x=o(30861);s.checkRemoveChar=function C(_,w,z,R){var N,S,E,O,ot,vt,H=z?-1:1,U=h.Dom.sibling(w,!z),X=h.Dom.sibling(w,z),W=null,re=!1,pe=function(ot){var vt=h.Dom.sibling(ot,z);return!vt&&ot.parentNode&&ot.parentNode!==_.editor&&(vt=(0,x.findMostNestedNeighbor)(ot,!z,_.editor,!0)),vt};for(X||(X=pe(w));X&&(h.Dom.isText(X)||h.Dom.isInlineBlock(X));){for(;h.Dom.isInlineBlock(X);)X=z?null==X?void 0:X.lastChild:null==X?void 0:X.firstChild;if(!X)break;if(null===(N=X.nodeValue)||void 0===N?void 0:N.length){var Ae=(0,v.toArray)(X.nodeValue),Se=Ae.length,De=z?Se-1:0;if(Ae[De]===y.INVISIBLE_SPACE)for(;Ae[De]===y.INVISIBLE_SPACE;)De+=H;if(O=Ae[De],Ae[De+H]===y.INVISIBLE_SPACE){for(De+=H;Ae[De]===y.INVISIBLE_SPACE;)De+=H;De+=z?1:-1}if(Ae=z&&0>De?[]:Ae.slice(z?0:De+1,z?De:Se),!U||!h.Dom.isText(U)||(z?/^ /:/ $/).test(null!==(S=U.nodeValue)&&void 0!==S?S:"")||!(0,v.trimInv)(U.nodeValue||"").length)for(var qe=z?Ae.length-1:0;(z?qe>=0:Ae.length>qe)&&" "===Ae[qe];qe+=z?-1:1)Ae[qe]=y.NBSP_SPACE;X.nodeValue=Ae.join("")}if((null===(E=X.nodeValue)||void 0===E?void 0:E.length)||(W=X),!(0,v.isVoid)(O)&&O!==y.INVISIBLE_SPACE){re=!0,(0,v.call)(z?h.Dom.after:h.Dom.before,X,w),("sentence"===R||"word"===R&&" "!==O&&O!==y.NBSP_SPACE)&&C(_,w,z,R);break}var rt=pe(X);W&&(h.Dom.safeRemove(W),W=null),X=rt}return W&&(h.Dom.safeRemove(W),W=null),re&&(function(ot){for(var vt=ot.parentElement;vt&&h.Dom.isInlineBlock(vt);){var rn=vt.parentElement;h.Dom.isEmpty(vt)&&(h.Dom.after(vt,ot),h.Dom.safeRemove(vt)),vt=rn}}(w),ot=_,(vt=w).parentElement!==ot.editor&&h.Dom.isBlock(vt.parentElement)&&h.Dom.each(vt.parentElement,h.Dom.isEmptyTextNode)&&h.Dom.after(vt,ot.createInside.element("br")),_.s.setCursorBefore(w),h.Dom.isTag(w.previousSibling,"br")&&!h.Dom.findNotEmptySibling(w,!1)&&h.Dom.after(w,_.createInside.element("br"))),re}},74217:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkRemoveContentNotEditable=void 0;var h=o(64968),v=o(40332),y=o(10109);s.checkRemoveContentNotEditable=function(x,C,_){var w=h.Dom.findSibling(C,_);return!w&&C.parentElement&&C.parentElement!==x.editor&&(w=h.Dom.findSibling(C.parentElement,_)),!(!h.Dom.isElement(w)||h.Dom.isContentEditable(w,x.editor)||((0,v.call)(_?h.Dom.before:h.Dom.after,w,C),h.Dom.safeRemove(w),(0,y.moveNodeInsideStart)(x,C,_),(0,v.call)(_?x.s.setCursorBefore:x.s.setCursorAfter,C),0))}},34181:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkRemoveEmptyNeighbor=void 0;var h=o(24263);s.checkRemoveEmptyNeighbor=function(v,y,x){var C=h.Dom.closest(y,h.Dom.isElement,v.editor);if(!C)return!1;var _=h.Dom.findNotEmptySibling(C,x);return!(!_||!h.Dom.isEmpty(_)||(h.Dom.safeRemove(_),v.s.setCursorBefore(y),0))}},13890:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkRemoveEmptyParent=void 0;var h=o(64968),v=o(86893),y=o(92156);s.checkRemoveEmptyParent=function(x,C,_){var w=!1,z=x.s,R=z.setCursorBefore,N=z.setCursorIn,S=h.Dom.closest(C,h.Dom.isElement,x.editor);if(!S||!h.Dom.isEmpty(S))return!1;var E=h.Dom.findNotEmptyNeighbor(C,_,x.editor);do{if(!S||!h.Dom.isEmpty(S)||h.Dom.isCell(S))break;h.Dom.after(S,C);var O=h.Dom.closest(S,function(H){return h.Dom.isElement(H)&&H!==S},x.editor);h.Dom.safeRemove(S),w=!0,S=O}while(S);return!(!w||!(0,y.checkJoinTwoLists)(x,C,_))||(!E||h.Dom.isText(E)||h.Dom.isTag(E,v.INSEPARABLE_TAGS)?R(C):N(E,!_),w)}},8249:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkRemoveUnbreakableElement=void 0;var h=o(24263),v=o(86893),y=o(13890);s.checkRemoveUnbreakableElement=function(x,C,_){var w=h.Dom.findSibling(C,_);return!(!h.Dom.isElement(w)||!h.Dom.isTag(w,v.INSEPARABLE_TAGS)&&!h.Dom.isEmpty(w)||(h.Dom.safeRemove(w),h.Dom.isTag(w,"br")&&!h.Dom.findNotEmptySibling(C,!1)&&h.Dom.after(C,x.createInside.element("br")),x.s.setCursorBefore(C),h.Dom.isTag(w,"br")&&(0,y.checkRemoveEmptyParent)(x,C,_),0))}},58368:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkTableCell=void 0;var h=o(24263);s.checkTableCell=function(v,y){return!!h.Dom.isCell(y.parentElement)}},6028:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkUnwrapFirstListItem=void 0;var h=o(24263),v=o(76502);s.checkUnwrapFirstListItem=function(y,x,C){var _,w=h.Dom.closest(x,h.Dom.isElement,y.editor),z=y.s;if(h.Dom.isTag(w,"li")&&(null===(_=null==w?void 0:w.parentElement)||void 0===_?void 0:_[C?"firstElementChild":"lastElementChild"])===w&&z.cursorInTheEdge(C,w)){var R=w.parentElement,N=y.createInside.element(y.o.enterBlock);return(0,v.call)(C?h.Dom.before:h.Dom.after,R,N),h.Dom.moveContent(w,N),h.Dom.safeRemove(w),h.Dom.isEmpty(R)&&h.Dom.safeRemove(R),(0,v.call)(C?z.setCursorBefore:z.setCursorAfter,x),!0}return!1}},90089:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.cases=void 0;var h=o(8249),v=o(74217),y=o(13116),x=o(58368),C=o(13890),_=o(34181),w=o(92156),z=o(31078),R=o(6028);s.cases=[h.checkRemoveUnbreakableElement,v.checkRemoveContentNotEditable,y.checkRemoveChar,x.checkTableCell,C.checkRemoveEmptyParent,_.checkRemoveEmptyNeighbor,w.checkJoinTwoLists,z.checkJoinNeighbors,R.checkUnwrapFirstListItem]},48229:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},30861:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getMoveFilter=s.findMostNestedNeighbor=void 0;var h=o(64968);s.findMostNestedNeighbor=function(v,y,x,C){void 0===C&&(C=!1);var _=function(z){return y?z.firstChild:z.lastChild},w=h.Dom.findNotEmptyNeighbor(v,!y,x);if(C&&h.Dom.isElement(w)&&!h.Dom.isInlineBlock(w))return null;if(w)do{if(!_(w))return w;w=_(w)}while(w);return null},s.getMoveFilter=function(v){return function(y){return!0!==v.e.fire("backSpaceIsMovedIgnore",y)}}},87565:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.bold=void 0;var h=o(20255),v=o(93166),y=o(40332),x=o(17332),C=o(77904);function _(w){var z=function(R){var N,S=v.Config.defaultOptions.controls[R],E=h.__assign({},S.css);return Object.keys(E).forEach(function(O){N||(N={}),N[O]=(0,y.isArray)(E[O])?E[O][0]:E[O]}),w.s.applyStyle(N,{element:S.tags?S.tags[0]:void 0}),w.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(function(R){w.registerButton({name:R,group:"font-style"})}),["superscript","subscript"].forEach(function(R){w.registerButton({name:R,group:"script"})}),w.registerCommand("bold",{exec:z,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:z,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:z,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:z}).registerCommand("subscript",{exec:z}).registerCommand("superscript",{exec:z})}o(58334),o(90740),s.bold=_,x.pluginSystem.add("bold",_),C.Icon.set("bold",o(25141)).set("italic",o(24557)).set("strikethrough",o(10859)).set("subscript",o(9813)).set("superscript",o(93395)).set("underline",o(98213))},90740:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},h.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},h.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},h.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},h.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},h.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},58334:function(){},60894:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.classSpan=void 0;var h=o(20255),v=o(57549),y=o(93166),x=o(64968),C=o(40332),_=o(17332),w=o(2074);y.Config.prototype.controls.classSpan={command:"applyClassName",exec:C.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:function(R,N){var S=R.s.current();if(S){var E=x.Dom.closest(S,x.Dom.isElement,R.editor)||R.editor;return Boolean(N.args&&E.classList.contains(N.args[0].toString()))}return!1},isActive:function(R,N){var S=R.s.current();if(S){var E=x.Dom.closest(S,x.Dom.isElement,R.editor)||R.editor,O=!1;return N.list&&Object.keys(N.list).forEach(function(H){E.classList.contains(H)&&(O=!0)}),Boolean(E&&E!==R.editor&&void 0!==N.list&&O)}return!1},childTemplate:function(R,N,S){return'<span class="'.concat(N,'">').concat(R.i18n(S),"</span>")},tooltip:"Insert className"};var z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.buttons=[{name:"classSpan",group:"font"}],S}return h.__extends(N,R),N.prototype.afterInit=function(S){S.registerCommand("applyClassName",function(E,O,H){return S.s.applyStyle(void 0,{className:H}),!1})},N.prototype.beforeDestruct=function(){},N}(v.Plugin);s.classSpan=z,_.pluginSystem.add("classSpan",z),w.Icon.set("class-span",o(20026))},90302:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.cleanHtml=void 0;var h=o(20255),v=o(67128),y=o(85605),x=o(43441),C=o(33841),_=o(17332),w=o(24263),z=o(57713);o(98889);var R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.buttons=[{name:"eraser",group:"font-style"}],E.currentSelectionNode=null,E.walker=new C.LazyWalker(E.j.async,{timeout:E.j.o.cleanHTML.timeout}),E}return h.__extends(S,N),S.prototype.afterInit=function(E){},Object.defineProperty(S.prototype,"isEditMode",{get:function(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())},enumerable:!1,configurable:!0}),S.prototype.onChangeCleanHTML=function(){if(this.isEditMode){var E=this.j;this.walker.setWork(E.editor),this.currentSelectionNode=E.s.current()}},S.prototype.startWalker=function(){var E=this,O=this.jodit,H=(0,z.getHash)(this.j.o.cleanHTML.allowTags),U=(0,z.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",function(X){return(0,z.visitNodeWalker)(O,X,H,U,E.currentSelectionNode)}).on("end",function(X){E.j.e.fire(X?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})},S.prototype.beforeCommand=function(E){if("removeformat"===E.toLowerCase())return this.j.s.isCollapsed()?(0,z.removeFormatForCollapsedSelection)(this.j):(0,z.removeFormatForSelection)(this.j),!1},S.prototype.onBeforeSetNativeEditorValue=function(E){var O=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():this.j.createInside.div();return O.innerHTML=E.value,this.onSafeHTML(O),E.value=O.innerHTML,(0,v.safeHTML)(O,{safeJavaScriptLink:!0,removeOnError:!0}),w.Dom.safeRemove(O),!1},S.prototype.onSafeHTML=function(E){(0,v.safeHTML)(E,this.j.o.cleanHTML)},S.prototype.beforeDestruct=function(){this.walker.destruct()},h.__decorate([(0,x.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],S.prototype,"onChangeCleanHTML",null),h.__decorate([(0,x.hook)("ready")],S.prototype,"startWalker",null),h.__decorate([(0,x.watch)(":beforeCommand")],S.prototype,"beforeCommand",null),h.__decorate([(0,x.watch)(":beforeSetNativeEditorValue")],S.prototype,"onBeforeSetNativeEditorValue",null),h.__decorate([(0,x.watch)(":safeHTML")],S.prototype,"onSafeHTML",null),S}(y.Plugin);s.cleanHtml=R,_.pluginSystem.add("cleanHtml",R)},98889:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},h.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},v.Icon.set("eraser",o(66911))},38655:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getHash=void 0;var h=o(33941),v=o(24421);s.getHash=function(y){var x=/([^[]*)\[([^\]]+)]/,C=/[\s]*,[\s]*/,_=/^(.*)[\s]*=[\s]*(.*)$/,w={};return(0,v.isString)(y)?(y.split(C).map(function(z){z=(0,h.trim)(z);var R=x.exec(z),N={};if(R){var S=R[2].split(C);R[1]&&(S.forEach(function(E){E=(0,h.trim)(E);var O=_.exec(E);O?N[O[1]]=O[2]:N[E]=!0}),w[R[1].toUpperCase()]=N)}else w[z.toUpperCase()]=!0}),w):!!y&&(Object.keys(y).forEach(function(z){w[z.toUpperCase()]=y[z]}),w)}},57713:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(38655),s),h.__exportStar(o(72170),s),h.__exportStar(o(87783),s),h.__exportStar(o(88972),s)},72170:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isInlineBlock=s.removeFormatForCollapsedSelection=void 0;var h=o(24263),v=o(86893);function y(x){return h.Dom.isInlineBlock(x)&&!h.Dom.isTag(x,v.INSEPARABLE_TAGS)}s.removeFormatForCollapsedSelection=function(x,C){var _=x.s,w=C;if(!w){w=x.createInside.fake();var z=_.range;h.Dom.safeInsertNode(z,w),z.collapse()}var R=h.Dom.furthest(w,y,x.editor);if(R)if(_.cursorOnTheLeft(R))h.Dom.before(R,w);else if(_.cursorOnTheRight(R))h.Dom.after(R,w);else{var N=_.splitSelection(R);N&&h.Dom.after(N,w)}C||(_.setCursorBefore(w),h.Dom.safeRemove(w))},s.isInlineBlock=y},87783:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.removeFormatForSelection=void 0;var h=o(24263),v=o(76502),y=o(72170);s.removeFormatForSelection=function(x){var C=x.s,_=x.editor,w=x.createInside,z=C.range,R=z.cloneRange(),N=z.cloneRange(),S=w.fake(),E=w.fake();R.collapse(!0),N.collapse(!1),h.Dom.safeInsertNode(R,S),h.Dom.safeInsertNode(N,E),z.setStartBefore(S),z.collapse(!0),C.selectRange(z),(0,y.removeFormatForCollapsedSelection)(x,S),z.setEndAfter(E),z.collapse(!1),C.selectRange(z),(0,y.removeFormatForCollapsedSelection)(x,E);var O=[];h.Dom.between(S,E,function(U){(0,y.isInlineBlock)(U)&&!h.Dom.isTag(U,["a"])&&O.push(U),h.Dom.isElement(U)&&(0,v.attr)(U,"style")&&(0,v.attr)(U,"style",null)}),O.forEach(function(U){return h.Dom.unwrap(U)});var H=function(U,X){if(!h.Dom.findNotEmptySibling(U,X)){var W=U.parentNode;if(W&&W!==_&&(0,v.attr)(W,"style"))return(0,v.attr)(W,"style",null),H(W,X),!0}};H(S,!0)&&H(E,!1),z.setStartAfter(S),z.setEndBefore(E),C.selectRange(z),h.Dom.safeRemove(S),h.Dom.safeRemove(E)}},9948:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.allowAttributes=void 0;var h=o(24263);s.allowAttributes=function(v,y,x,C){if(C&&h.Dom.isElement(y)&&!0!==C[y.nodeName]){var _=y.attributes;if(_&&_.length){for(var w=[],z=0;_.length>z;z+=1){var R=C[y.nodeName][_[z].name];(!R||!0!==R&&R!==_[z].value)&&w.push(_[z].name)}w.length&&(x=!0),w.forEach(function(N){y.removeAttribute(N)})}}return x}},74722:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.fillEmptyParagraph=void 0;var h=o(24263),v=o(86893);s.fillEmptyParagraph=function(y,x,C){if(y.o.cleanHTML.fillEmptyParagraph&&h.Dom.isBlock(x)&&h.Dom.isEmpty(x,v.INSEPARABLE_TAGS)){var _=y.createInside.element("br");return x.appendChild(_),!0}return C}},2549:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(55901),s),h.__exportStar(o(9948),s),h.__exportStar(o(74722),s),h.__exportStar(o(75096),s),h.__exportStar(o(28194),s),h.__exportStar(o(94254),s),h.__exportStar(o(64701),s)},28194:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.removeEmptyTextNode=void 0;var h=o(24263);s.removeEmptyTextNode=function(v,y,x,C,_,w){return h.Dom.isText(y)&&!y.nodeValue?(y===w&&v.s.isCollapsed()&&v.s.setCursorAfter(y),h.Dom.safeRemove(y),!0):x}},94254:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.removeInvTextNodes=void 0;var h=o(86893),v=o(24263);s.removeInvTextNodes=function(y,x,C,_,w,z){return z!==x&&v.Dom.isText(x)&&null!=x.nodeValue&&(0,h.INVISIBLE_SPACE_REG_EXP)().test(x.nodeValue)?(x.nodeValue=x.nodeValue.replace((0,h.INVISIBLE_SPACE_REG_EXP)(),""),x===z&&y.s.isCollapsed()&&y.s.setCursorAfter(x),x.nodeValue||v.Dom.safeRemove(x),!0):C}},55901:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.replaceOldTags=void 0;var h=o(24263);s.replaceOldTags=function(v,y,x){var C=function(_,w,z){if(!z||!h.Dom.isHTMLElement(w))return w;var R=z[w.nodeName.toLowerCase()]||z[w.nodeName];return R?h.Dom.replace(w,R,_.createInside,!0,!1):w}(v,y,v.o.cleanHTML.replaceOldTags);return y!==C?(y=C,!0):x}},64701:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.sanitizeAttributes=void 0;var h=o(24263),v=o(40332);s.sanitizeAttributes=function(y,x,C){return!(!h.Dom.isElement(x)||!(0,v.sanitizeHTMLElement)(x,{safeJavaScriptLink:y.options.cleanHTML.safeJavaScriptLink,removeOnError:y.options.cleanHTML.removeOnError}))||C}},75096:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.tryRemoveNode=void 0;var h=o(24263),v=o(86893),y=o(33941);s.tryRemoveNode=function(x,C,_,w,z,R){return N=x,S=C,E=R,O=w,H=z,!h.Dom.isText(S)&&(O&&!O[S.nodeName]||H&&H[S.nodeName])||N.o.cleanHTML.removeEmptyElements&&h.Dom.isElement(S)&&null!=S.nodeName.match(v.IS_INLINE)&&!h.Dom.isTemporary(S)&&0===(0,y.trim)(S.innerHTML).length&&(null==E||!h.Dom.isOrContains(S,E))?(h.Dom.safeRemove(C),!0):_;var N,S,E,O,H}},88972:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.visitNodeWalker=void 0;var h=o(20255),v=o(2549),y=Object.keys(v);s.visitNodeWalker=function(x,C,_,w,z){var R,N,S=!1,E=x.o.cleanHTML.disableCleanFilter;try{for(var O=h.__values(y),H=O.next();!H.done;H=O.next()){var U=H.value;if(!(E&&E.has(U)||(S=(0,v[U])(x,C,S,_,w,z),C.isConnected)))return!0}}catch(X){R={error:X}}finally{try{H&&!H.done&&(N=O.return)&&N.call(O)}finally{if(R)throw R.error}}return S}},92138:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.clipboard=void 0;var h=o(86893),v=o(40332),y=o(17332);o(31473);var x=function(){function C(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}return C.prototype.init=function(_){var w;null===(w=this.buttons)||void 0===w||w.forEach(function(z){return _.registerButton(z)}),_.e.off("copy.".concat(h.CLIPBOARD_ID," cut.").concat(h.CLIPBOARD_ID)).on("copy.".concat(h.CLIPBOARD_ID," cut.").concat(h.CLIPBOARD_ID),function(z){var R,N=_.s.html,S=(0,v.getDataTransfer)(z)||(0,v.getDataTransfer)(_.ew)||(0,v.getDataTransfer)(z.originalEvent);S&&(S.setData(h.TEXT_PLAIN,(0,v.stripTags)(N)),S.setData(h.TEXT_HTML,N)),_.buffer.set(h.CLIPBOARD_ID,N),_.e.fire("pasteStack",{html:N,action:_.o.defaultActionOnPaste||h.INSERT_AS_HTML}),"cut"===z.type&&(_.s.remove(),_.s.focus()),z.preventDefault(),null===(R=null==_?void 0:_.events)||void 0===R||R.fire("afterCopy",N)})},C.prototype.destruct=function(_){var w,z;null===(w=null==_?void 0:_.buffer)||void 0===w||w.set(h.CLIPBOARD_ID,""),null===(z=null==_?void 0:_.events)||void 0===z||z.off("."+h.CLIPBOARD_ID)},C}();s.clipboard=x,y.pluginSystem.add("clipboard",x)},31473:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.controls.cut={command:"cut",isDisabled:function(y){return y.s.isCollapsed()},tooltip:"Cut selection"},h.Config.prototype.controls.copy={command:"copy",isDisabled:function(y){return y.s.isCollapsed()},tooltip:"Copy selection"},h.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},v.Icon.set("copy",o(50018)).set("cut",o(99738)).set("paste",o(9185)).set("select-all",o(8619))},88412:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.color=void 0;var h=o(40332),v=o(17332);function y(x){x.registerButton({name:"brush",group:"color"});var C=function(_,w,z){var R=(0,h.normalizeColor)(z);switch(_){case"background":x.s.applyStyle({backgroundColor:R||""});break;case"forecolor":x.s.applyStyle({color:R||""})}return x.synchronizeValues(),!1};x.registerCommand("forecolor",C).registerCommand("background",C)}o(21924),s.color=y,v.pluginSystem.add("color",y)},21924:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(40332),y=o(718),x=o(77904),C=o(24263);x.Icon.set("brush",o(73894)),h.Config.prototype.controls.brush={update:function(_,w){var z=(0,v.dataBind)(_,"color"),R=function(O,H){H&&H!==(0,v.css)(w.editor,O).toString()&&(_.state.icon.fill=H)};if(z){var N=(0,v.dataBind)(_,"color");R("color"===N?N:"background-color",z)}else{var S=w.s.current();if(S&&!_.state.disabled){var E=C.Dom.closest(S,C.Dom.isElement,w.editor)||w.editor;R("color",(0,v.css)(E,"color").toString()),R("background-color",(0,v.css)(E,"background-color").toString())}_.state.icon.fill="",_.state.activated=!1}},popup:function(_,w,z,R,N){var S="",E="",O=[],H=null;return w&&w!==_.editor&&C.Dom.isNode(w)&&(C.Dom.isElement(w)&&_.s.isCollapsed()&&!C.Dom.isTag(w,["br","hr"])&&(H=w),C.Dom.up(w,function(U){if(C.Dom.isHTMLElement(U)){var X=(0,v.css)(U,"color",!0),W=(0,v.css)(U,"background-color",!0);if(X)return S=X.toString(),!0;if(W)return E=W.toString(),!0}},_.editor)),O=[{name:"Background",content:(0,y.ColorPickerWidget)(_,function(U){H?H.style.backgroundColor=U:_.execCommand("background",!1,U),(0,v.dataBind)(N,"color",U),(0,v.dataBind)(N,"color-mode","background"),R()},E)},{name:"Text",content:(0,y.ColorPickerWidget)(_,function(U){H?H.style.color=U:_.execCommand("forecolor",!1,U),(0,v.dataBind)(N,"color",U),(0,v.dataBind)(N,"color-mode","color"),R()},S)}],"background"!==_.o.colorPickerDefaultTab&&(O=O.reverse()),(0,y.TabsWidget)(_,O,H)},exec:function(_,w,z){var R=z.button,N=(0,v.dataBind)(R,"color-mode"),S=(0,v.dataBind)(R,"color");if(!N)return!1;if(w&&w!==_.editor&&C.Dom.isNode(w)&&C.Dom.isElement(w))switch(N){case"color":w.style.color=S;break;case"background":w.style.backgroundColor=S}else _.execCommand("background"===N?N:"forecolor",!1,S)},tooltip:"Fill color or set the text color"}},79308:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.copyFormat=void 0;var h=o(93166),v=o(24263),y=o(26911),x=o(17332),C=o(77904),_="copy-format",w=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],z=function(N,S,E,O){var H=(0,y.css)(E,S);return H===O[S]&&(H=E.parentNode&&E!==N.editor&&E.parentNode!==N.editor?z(N,S,E.parentNode,O):void 0),H};function R(N){N.registerButton({name:"copyformat",group:"clipboard"}),(0,x.extendLang)(o(9188))}h.Config.prototype.controls.copyformat={exec:function(N,S,E){var re,pe,Ae,Se,O=E.button;if(S){if(N.buffer.exists(_))N.buffer.delete(_),N.e.off(N.editor,"mouseup."+_);else{var H={},U=v.Dom.up(S,function(re){return re&&!v.Dom.isText(re)},N.editor)||N.editor,X=N.createInside.span();N.editor.appendChild(X),w.forEach(function(re){H[re]=(0,y.css)(X,re)}),X!==N.editor&&v.Dom.safeRemove(X);var W=(re=N,Ae=H,Se={},(pe=U)&&w.forEach(function(De){Se[De]=z(re,De,pe,Ae),De.match(/border(Style|Color)/)&&!Se.borderWidth&&(Se[De]=void 0)}),Se);N.e.on(N.editor,"mouseup."+_,function(){N.buffer.delete(_);var re=N.s.current();re&&(v.Dom.isTag(re,"img")?(0,y.css)(re,W):N.s.applyStyle(W)),N.e.off(N.editor,"mouseup."+_)}),N.buffer.set(_,!0)}O.update()}},isActive:function(N){return N.buffer.exists(_)},tooltip:"Paint format"},s.copyFormat=R,x.pluginSystem.add("copyformat",R),C.Icon.set("copyformat",o(83301))},9188:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.zh_tw=s.zh_cn=s.tr=s.ru=s.pt_br=s.pl=s.nl=s.ko=s.ja=s.it=s.id=s.hu=s.he=s.fr=s.fa=s.es=s.de=s.cs_cz=s.ar=void 0;var h=o(80078);s.ar=h;var v=o(16986);s.cs_cz=v;var y=o(59347);s.de=y;var x=o(63640);s.es=x;var C=o(53434);s.fa=C;var _=o(85638);s.fr=_;var w=o(31743);s.he=w;var z=o(66219);s.hu=z;var R=o(50331);s.id=R;var N=o(25582);s.it=N;var S=o(82066);s.ja=S;var E=o(71925);s.ko=E;var O=o(65274);s.nl=O;var H=o(58548);s.pl=H;var U=o(82958);s.pt_br=U;var X=o(52315);s.ru=X;var W=o(87727);s.tr=W;var re=o(9396);s.zh_cn=re;var pe=o(28765);s.zh_tw=pe},9412:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.draggableTags=["img","jodit-media","jodit"]},30598:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.dragAndDropElement=void 0;var h,R,v=o(20255),y=o(40332),x=o(57549),C=o(64968),_=o(17332),w=o(43441);o(9412),(R=h||(h={}))[R.IDLE=0]="IDLE",R[R.WAIT_DRAGGING=1]="WAIT_DRAGGING",R[R.DRAGGING=2]="DRAGGING";var z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.dragList=[],S.draggable=null,S.isCopyMode=!1,S.diffStep=10,S.startX=0,S.startY=0,S.state=h.IDLE,S}return v.__extends(N,R),N.prototype.afterInit=function(){this.dragList=this.j.o.draggableTags?(0,y.splitArray)(this.j.o.draggableTags).filter(Boolean).map(function(S){return S.toLowerCase()}):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)},N.prototype.onDragStart=function(S){var E=this;if("dragstart"===S.type&&this.draggable)return!1;if(h.IDLE>=this.state){var O=S.target;if(this.dragList.length&&O){var H=function(X){return Boolean(X&&E.dragList.includes(X.nodeName.toLowerCase()))},U=C.Dom.furthest(O,H,this.j.editor)||(H(O)?O:null);U&&(C.Dom.isTag(U.parentElement,"a")&&U.parentElement.firstChild===U&&U.parentElement.lastChild===U&&(U=U.parentElement),this.startX=S.clientX,this.startY=S.clientY,this.isCopyMode=(0,y.ctrlKey)(S),this.draggable=U.cloneNode(!0),(0,y.dataBind)(this.draggable,"target",U),this.state=h.WAIT_DRAGGING,this.addDragListeners())}}},N.prototype.onDrag=function(S){var E,O;if(this.draggable&&this.state!==h.IDLE){var H=S.clientY;if(this.state!==h.WAIT_DRAGGING||Math.sqrt(Math.pow(S.clientX-this.startX,2)+Math.pow(H-this.startY,2))>=this.diffStep){if(this.state===h.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=h.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){var U=(0,y.dataBind)(this.draggable,"target");(0,y.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:S.clientX,top:S.clientY,width:null!==(E=null==U?void 0:U.offsetWidth)&&void 0!==E?E:100,height:null!==(O=null==U?void 0:U.offsetHeight)&&void 0!==O?O:100}),(0,_.getContainer)(this.j,N).appendChild(this.draggable)}(0,y.css)(this.draggable,{left:S.clientX,top:S.clientY}),this.j.s.insertCursorAtPoint(S.clientX,S.clientY)}}},N.prototype.onDragEnd=function(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=h.IDLE,this.draggable&&(C.Dom.safeRemove(this.draggable),this.draggable=null))},N.prototype.onDrop=function(){if(this.draggable&&this.state>=h.DRAGGING){var S=(0,y.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(S=S.cloneNode(!0));var E=S.parentElement;this.j.s.insertNode(S,!0,!1),E&&C.Dom.isEmpty(E)&&!C.Dom.isTag(E,["td","th"])&&C.Dom.safeRemove(E),C.Dom.isTag(S,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",S),this.j.e.fire("synchro")}else this.onDragEnd()},N.prototype.addDragListeners=function(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)},N.prototype.removeDragListeners=function(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)},N.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()},v.__decorate([w.autobind],N.prototype,"onDragStart",null),v.__decorate([(0,w.throttle)(function(S){return S.defaultTimeout/10})],N.prototype,"onDrag",null),v.__decorate([w.autobind],N.prototype,"onDragEnd",null),v.__decorate([w.autobind],N.prototype,"onDrop",null),N}(x.Plugin);s.dragAndDropElement=z,_.pluginSystem.add("dragAndDropElement",z)},19268:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.dragAndDrop=void 0;var h=o(20255),v=o(86893),y=o(24263),x=o(40332),C=o(57549),_=o(43441),w=o(63463),z=o(17332),R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.isFragmentFromEditor=!1,E.isCopyMode=!1,E.startDragPoint={x:0,y:0},E.draggable=null,E.bufferRange=null,E.getText=function(O){var H=(0,x.getDataTransfer)(O);return H?H.getData(v.TEXT_HTML)||H.getData(v.TEXT_PLAIN):null},E}return h.__extends(S,N),S.prototype.afterInit=function(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},S.prototype.onDragStart=function(E){var O=E.target;if(this.onDragEnd(),this.isFragmentFromEditor=y.Dom.isOrContains(this.j.editor,O,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,x.ctrlKey)(E),this.isFragmentFromEditor){var H=this.j.s.sel,U=H&&H.rangeCount?H.getRangeAt(0):null;U&&(this.bufferRange=U.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=E.clientX,this.startDragPoint.y=E.clientY,(0,w.isFileBrowserFilesItem)(O)&&(O=O.querySelector("img")),y.Dom.isTag(O,"img")&&(this.draggable=O.cloneNode(!0),(0,x.dataBind)(this.draggable,"target",O)),this.addDragListeners()},S.prototype.addDragListeners=function(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},S.prototype.removeDragListeners=function(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},S.prototype.onDrag=function(E){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(E.clientX,E.clientY),E.preventDefault(),E.stopPropagation())},S.prototype.onDragEnd=function(){this.draggable&&(y.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()},S.prototype.onDrop=function(E){if(!E.dataTransfer||!E.dataTransfer.files||!E.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",E),E.preventDefault(),E.stopPropagation(),!1;var O=this.j.s.sel,H=this.bufferRange||(O&&O.rangeCount?O.getRangeAt(0):null),U=null;if(!this.draggable&&H)U=this.isCopyMode?H.cloneContents():H.extractContents();else if(this.draggable)if(this.isCopyMode){var X=h.__read("1"===(0,x.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"],2),W=X[0],re=X[1];(U=this.j.createInside.element(W)).setAttribute(re,(0,x.attr)(this.draggable,"data-src")||(0,x.attr)(this.draggable,"src")||""),"a"===W&&(U.textContent=(0,x.attr)(U,re)||"")}else U=(0,x.dataBind)(this.draggable,"target");else this.getText(E)&&(U=this.j.createInside.fromHTML(this.getText(E)));O&&O.removeAllRanges(),this.j.s.insertCursorAtPoint(E.clientX,E.clientY),U&&(this.j.s.insertNode(U,!1,!1),H&&U.firstChild&&U.lastChild&&(H.setStartBefore(U.firstChild),H.setEndAfter(U.lastChild),this.j.s.selectRange(H),this.j.e.fire("synchro")),y.Dom.isTag(U,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",U)),E.preventDefault(),E.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()},S.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},h.__decorate([_.autobind],S.prototype,"onDragStart",null),h.__decorate([(0,_.throttle)(function(E){return E.defaultTimeout/10})],S.prototype,"onDrag",null),h.__decorate([_.autobind],S.prototype,"onDragEnd",null),h.__decorate([_.autobind],S.prototype,"onDrop",null),S}(C.Plugin);s.dragAndDrop=R,z.pluginSystem.add("dragAndDrop",R)},95049:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(69516),s)},69516:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.removeExtraBr=void 0;var h=o(24263);s.removeExtraBr=function(v,y){if(v.o.dtd.removeExtraBr&&!h.Dom.isTag(y,"br")){var x=h.Dom.furthest(y,h.Dom.isBlock,v.editor);if(x&&!h.Dom.isTag(x,["table","pre","blockquote","code"])){var C=h.Dom.isTag(y,"br")?y:h.Dom.findNotEmptySibling(y,!1);if(!h.Dom.isTag(C,"br"))return;v.s.setCursorBefore(C),h.Dom.safeRemove(C)}}}},73967:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkBlockNesting=void 0;var h=o(24263);s.checkBlockNesting=function(v,y){if(h.Dom.isFragment(y)&&(y=y.firstChild),v.o.dtd.checkBlockNesting&&h.Dom.isBlock(y)){var x=h.Dom.furthest(v.s.current(),h.Dom.isBlock,v.editor);x&&!v.o.dtd.blockLimits[x.tagName.toLowerCase()]&&(v.s.setCursorAfter(x),h.Dom.isEmpty(x)&&h.Dom.safeRemove(x))}}},73690:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(73967),s)},20173:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},96899:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(57549),y=o(17332),x=o(46163);o(20173);var C=o(73690),_=o(95049),w=function(z){function R(){return null!==z&&z.apply(this,arguments)||this}return h.__extends(R,z),R.prototype.afterInit=function(N){},R.prototype.beforeDestruct=function(N){},R.prototype.__onBeforeInsertNode=function(N){var S=this;Object.keys(C).forEach(function(E){C[E](S.j,N)})},R.prototype.__onAfterInsertNode=function(N){var S=this;Object.keys(_).forEach(function(E){_[E](S.j,N)})},h.__decorate([(0,x.watch)(":beforeInsertNode")],R.prototype,"__onBeforeInsertNode",null),h.__decorate([(0,x.watch)(":afterInsertNode")],R.prototype,"__onAfterInsertNode",null),R}(v.Plugin);y.pluginSystem.add("dtd",w)},33122:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.enter=void 0;var h=o(20255),v=o(24263),y=o(85605),x=o(86893),C=o(43441),_=o(67749),w=o(23217),z=o(17332);o(26231);var R=function(N){function S(){return null!==N&&N.apply(this,arguments)||this}return h.__extends(S,N),S.prototype.afterInit=function(E){var O=this,H=E.o.enter.toLowerCase(),U=H===x.BR.toLowerCase();E.o.enterBlock||(E.o.enterBlock=U?x.PARAGRAPH:H),E.registerCommand("enter",function(X,W,re){return void 0===re&&(re={}),O.onEnter(re)})},S.prototype.onEnterKeyDown=function(E){if(E.key===x.KEY_ENTER){var O=this.j,H=O.e.fire("beforeEnter",E);return void 0!==H?H:(O.s.isCollapsed()||O.execCommand("Delete"),O.s.focus(),this.onEnter(E),O.e.fire("afterEnter",E),O.synchronizeValues(),!1)}},S.prototype.onEnter=function(E){var O=this.j,H=this.getCurrentOrFillEmpty(O);(0,w.moveCursorOutFromSpecialTags)(O,H,["a"]);var U=(0,w.getBlockWrapper)(O,H),X=v.Dom.isTag(U,"li");return!!(X&&!(null==E?void 0:E.shiftKey)||(0,w.checkBR)(O,H,null==E?void 0:E.shiftKey))&&(U||(0,w.hasPreviousBlock)(O,H)||(U=(0,w.wrapText)(O,H)),U&&U!==H?!!(0,w.checkUnsplittableBox)(O,U)&&(X&&this.__isEmptyListLeaf(U)?((0,w.processEmptyLILeaf)(O,U),!1):void(0,w.splitFragment)(O,U)):((0,w.insertParagraph)(O,null,X?"li":O.o.enter),!1))},S.prototype.__isEmptyListLeaf=function(E){var O=this.j.e.fire("enterIsEmptyListLeaf",E);return(0,_.isBoolean)(O)?O:v.Dom.isEmpty(E)},S.prototype.getCurrentOrFillEmpty=function(E){var O=E.s,H=O.current(!1);return H&&H!==E.editor||(H=E.createInside.text(x.INVISIBLE_SPACE),O.insertNode(H,!1,!1),O.select(H)),H},S.prototype.beforeDestruct=function(E){E.e.off("keydown.enter")},h.__decorate([(0,C.watch)(":keydown.enter")],S.prototype,"onEnterKeyDown",null),S}(y.Plugin);s.enter=R,z.pluginSystem.add("enter",R)},94149:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkBR=void 0;var h=o(24263),v=o(9005),y=o(86893);s.checkBR=function(x,C,_){var w=h.Dom.closest(C,["pre","blockquote"],x.editor);if(x.o.enter.toLowerCase()===y.BR.toLowerCase()||_&&!w||!_&&w){var z=x.createInside.element("br");x.s.insertNode(z,!1,!1),h.Dom.findNotEmptySibling(z,!1)||h.Dom.after(z,z.cloneNode());var R=x.s.range;return R.setStartAfter(z),R.collapse(!0),x.s.selectRange(R),(0,v.scrollIntoViewIfNeeded)(z,x.editor,x.ed),!1}return!0}},58921:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.checkUnsplittableBox=void 0;var h=o(24263);s.checkUnsplittableBox=function(v,y){var x=v.s;if(!h.Dom.canSplitBlock(y)){var C=v.createInside.element("br");return x.insertNode(C,!1,!1),x.setCursorAfter(C),!1}return!0}},70638:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getBlockWrapper=void 0;var h=o(86893),v=o(24263);s.getBlockWrapper=function y(x,C,_){void 0===_&&(_=h.IS_BLOCK);var w=C,z=x.editor;do{if(!w||w===z)break;if(_.test(w.nodeName))return v.Dom.isTag(w,"li")?w:y(x,w.parentNode,/^li$/i)||w;w=w.parentNode}while(w&&w!==z);return null}},50781:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hasPreviousBlock=void 0;var h=o(24263);s.hasPreviousBlock=function(v,y){return Boolean(h.Dom.prev(y,function(x){return h.Dom.isBlock(x)||h.Dom.isImage(x)},v.editor))}},23217:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(94149),s),h.__exportStar(o(58921),s),h.__exportStar(o(92291),s),h.__exportStar(o(70638),s),h.__exportStar(o(50781),s),h.__exportStar(o(90443),s),h.__exportStar(o(52521),s),h.__exportStar(o(81512),s),h.__exportStar(o(29575),s)},90443:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.insertParagraph=void 0;var h=o(24263),v=o(9005);s.insertParagraph=function(y,x,C,_){var w,z,R=y.s,N=y.createInside,S=N.element(C),E=N.element("br");S.appendChild(E),_&&_.cssText&&S.setAttribute("style",_.cssText),x&&x.isConnected?(h.Dom.before(x,S),h.Dom.safeRemove(x)):R.insertNode(S,!1,!1);var O=R.createRange();return O.setStartBefore("br"!==C.toLowerCase()?E:S),O.collapse(!0),null===(w=R.sel)||void 0===w||w.removeAllRanges(),null===(z=R.sel)||void 0===z||z.addRange(O),(0,v.scrollIntoViewIfNeeded)(S,y.editor,y.ed),S}},29575:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.moveCursorOutFromSpecialTags=void 0;var h=o(24263);s.moveCursorOutFromSpecialTags=function(v,y,x){var C=v.s,_=h.Dom.closest(y,x,v.editor);_&&(C.cursorOnTheRight(_)?C.setCursorAfter(_):C.cursorOnTheLeft(_)&&C.setCursorBefore(_))}},92291:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.processEmptyLILeaf=void 0;var h=o(24263),v=o(54188),y=o(90443);s.processEmptyLILeaf=function(x,C){var _=h.Dom.closest(C,["ol","ul"],x.editor);if(_){var w=_.parentElement,z=h.Dom.isTag(w,"li"),R=z?w:_,N=x.s.createRange();N.setStartAfter(C),N.setEndAfter(_);var S=N.extractContents(),E=x.createInside.fake();h.Dom.after(R,E),h.Dom.safeRemove(C),(0,v.$$)("li",_).length||h.Dom.safeRemove(_);var O=(0,y.insertParagraph)(x,E,z?"li":x.o.enter);S.querySelector("li")&&(z?O.appendChild(S):h.Dom.after(O,S))}}},52521:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.splitFragment=void 0;var h=o(9005),v=o(24263),y=o(90443);s.splitFragment=function(x,C){var _,w=x.s,z=x.o.enter.toLowerCase(),R=v.Dom.isTag(C,"li"),N=C.tagName.toLowerCase()===z||R,S=w.cursorOnTheRight(C),E=w.cursorOnTheLeft(C);if(!N&&(S||E))return _=S?w.setCursorAfter(C):w.setCursorBefore(C),(0,y.insertParagraph)(x,_,z),void(E&&!S&&w.setCursorIn(C,!0));var O=w.splitSelection(C);(0,h.scrollIntoViewIfNeeded)(O,x.editor,x.ed)}},81512:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.wrapText=void 0;var h=o(24263);s.wrapText=function(v,y){var x=y;h.Dom.up(x,function(w){w&&w.hasChildNodes()&&w!==v.editor&&(x=w)},v.editor);var C=h.Dom.wrapInline(x,v.o.enter,v);if(h.Dom.isEmpty(C)){var _=v.createInside.element("br");C.appendChild(_),v.s.setCursorBefore(_)}return C}},26231:function(){},10135:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.file=void 0;var h=o(93166),v=o(24263),y=o(718),x=o(17332);function C(_){_.registerButton({name:"file",group:"media"})}h.Config.prototype.controls.file={popup:function(_,w,z,R){var N=function(E,O){void 0===O&&(O=""),_.s.insertNode(_.createInside.fromHTML('<a href="'.concat(E,'" title="').concat(O,'">').concat(O||E,"</a>")))},S=null;return w&&(v.Dom.isTag(w,"a")||v.Dom.closest(w,"a",_.editor))&&(S=v.Dom.isTag(w,"a")?w:v.Dom.closest(w,"a",_.editor)),(0,y.FileSelectorWidget)(_,{filebrowser:function(E){E.files&&E.files.forEach(function(O){return N(E.baseurl+O)}),R()},upload:!0,url:function(E,O){S?(S.setAttribute("href",E),S.setAttribute("title",O)):N(E,O),R()}},S,R,!1)},tags:["a"],tooltip:"Insert file"},s.file=C,x.pluginSystem.add("file",C)},66994:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.focus=void 0;var h=o(93166),v=o(64968),y=o(17332);function x(C){C.o.saveSelectionOnBlur&&C.e.on("blur",function(){C.isEditorMode()&&C.s.save(!0)}).on("focus",function(){C.s.restore()});var _=function(){if(C.s.focus(),"end"===C.o.cursorAfterAutofocus){var w=v.Dom.last(C.editor,function(z){return v.Dom.isText(z)});w&&C.s.setCursorIn(w,!1)}};C.e.on("afterInit",function(){C.o.autofocus&&(C.defaultTimeout?C.async.setTimeout(_,300):_())}),C.e.on("afterInit afterAddPlace",function(){C.e.off(C.editor,"mousedown.autofocus").on(C.editor,"mousedown.autofocus",function(w){C.isEditorMode()&&w.target&&v.Dom.isBlock(w.target)&&!w.target.childNodes.length&&(C.editor===w.target?C.s.focus():C.s.setCursorIn(w.target))})})}h.Config.prototype.autofocus=!1,h.Config.prototype.cursorAfterAutofocus="end",h.Config.prototype.saveSelectionOnBlur=!0,s.focus=x,y.pluginSystem.add("focus",x)},8082:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(93166),y=o(24263),x=o(76502),C=o(77904);v.Config.prototype.defaultFontSizePoints="px",C.Icon.set("font",o(84142)).set("fontsize",o(57292)),v.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec:function(_,w,z){var R=z.control;return(0,x.memorizeExec)(_,w,{control:R},function(N){var S;return"fontsize"===(null===(S=R.command)||void 0===S?void 0:S.toLowerCase())?"".concat(N).concat(_.o.defaultFontSizePoints):N})},childTemplate:function(_,w,z){return"".concat(z).concat(_.o.defaultFontSizePoints)},tooltip:"Font size",isChildActive:function(_,w){var z,R,N=_.s.current(),S=(null===(z=w.data)||void 0===z?void 0:z.cssRule)||"font-size",E=(null===(R=w.data)||void 0===R?void 0:R.normalize)||function(U){return/pt$/i.test(U)&&"pt"===_.o.defaultFontSizePoints?U.replace(/pt$/i,""):U};if(N){var O=y.Dom.closest(N,y.Dom.isElement,_.editor)||_.editor,H=(0,x.css)(O,S);return Boolean(H&&w.args&&E(w.args[0].toString())===E(H.toString()))}return!1}},v.Config.prototype.controls.font=h.__assign(h.__assign({},v.Config.prototype.controls.fontsize),{command:"fontname",list:{"":"Default","helvetica,sans-serif":"Helvetica","arial,helvetica,sans-serif":"Arial","georgia,palatino,serif":"Georgia","impact,charcoal,sans-serif":"Impact","tahoma,geneva,sans-serif":"Tahoma","times new roman,times,serif":"Times New Roman","verdana,geneva,sans-serif":"Verdana"},childTemplate:function(_,w,z){var R=!1;try{R=-1===w.indexOf("dings")&&document.fonts.check("16px ".concat(w),z)}catch(N){}return'<span data-style="'.concat(w,'" style="').concat(R?"font-family: ".concat(w,"!important;"):"",'">').concat(z,"</span>")},data:{cssRule:"font-family",normalize:function(_){return _.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}},tooltip:"Font family"})},54798:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.font=void 0;var h=o(40332),v=o(17332);function y(x){x.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});var C=function(_,w,z){switch(_){case"fontsize":x.s.applyStyle({fontSize:(0,h.normalizeSize)(z)});break;case"fontname":x.s.applyStyle({fontFamily:z})}return x.synchronizeValues(),!1};x.registerCommand("fontsize",C).registerCommand("fontname",C)}o(8082),s.font=y,v.pluginSystem.add("font",y)},12908:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.formatBlock=void 0;var h=o(93166),v=o(87837),y=o(40332),x=o(17332);function C(_){_.registerButton({name:"paragraph",group:"font"}),_.registerCommand("formatblock",function(w,z,R){return _.s.applyStyle(void 0,{element:R}),_.synchronizeValues(),!1})}o(77904).Icon.set("paragraph",o(18019)),h.Config.prototype.controls.paragraph={command:"formatBlock",update:function(_,w){var z=_.control,R=w.s.current();if(R&&w.o.textIcons){var N=(v.Dom.closest(R,v.Dom.isBlock,w.editor)||w.editor).nodeName.toLowerCase(),S=z.list;_&&z.data&&z.data.currentValue!==N&&S&&S[N]&&(w.o.textIcons?_.state.text=N:_.state.icon.name=N,z.data.currentValue=N)}return!1},exec:y.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:function(_,w){var z=_.s.current();if(z){var R=v.Dom.closest(z,v.Dom.isBlock,_.editor);return Boolean(R&&R!==_.editor&&void 0!==w.args&&R.nodeName.toLowerCase()===w.args[0])}return!1},isActive:function(_,w){var z=_.s.current();if(z){var R=v.Dom.closest(z,v.Dom.isBlock,_.editor);return Boolean(R&&R!==_.editor&&void 0!==w.list&&!v.Dom.isTag(R,"p")&&void 0!==w.list[R.nodeName.toLowerCase()])}return!1},childTemplate:function(_,w,z){return"<".concat(w,' style="margin:0;padding:0"><span>').concat(_.i18n(z),"</span></").concat(w,">")},tooltip:"Insert format block"},s.formatBlock=C,x.pluginSystem.add("formatBlock",C)},15045:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(14320);var h=o(93166),v=o(86893),y=o(77904);h.Config.prototype.fullsize=!1,h.Config.prototype.globalFullSize=!0,y.Icon.set("fullsize",o(45146)).set("shrink",o(53576)),h.Config.prototype.controls.fullsize={exec:function(x){x.toggleFullSize()},update:function(x,C){var _=C.isFullSize?"shrink":"fullsize";x.state.activated=C.isFullSize,C.o.textIcons?x.state.text=_:x.state.icon.name=_},tooltip:"Open in fullsize",mode:v.MODE_SOURCE+v.MODE_WYSIWYG}},65123:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.fullsize=void 0,o(14320);var h=o(26911),v=o(77892),y=o(17332);o(15045);var x=new Set;function C(_){_.registerButton({name:"fullsize"});var w=!1,z=0,R=0,N=!1,S=function(){var O=_.container;_.events&&(w?(z=(0,h.css)(O,"height",!0),R=(0,h.css)(O,"width",!0),(0,h.css)(O,{height:_.ow.innerHeight,width:_.ow.innerWidth}),N=!0):N&&(0,h.css)(O,{height:z||"auto",width:R||"auto"}))},E=function(O){var H=_.container,U=_.events;if(H){if(void 0===O&&(O=!H.classList.contains("jodit_fullsize")),_.setMod("fullsize",O),_.o.fullsize=O,w=O,H.classList.toggle("jodit_fullsize",O),_.toolbar&&((0,v.isJoditObject)(_)&&_.toolbarContainer.appendChild(_.toolbar.container),(0,h.css)(_.toolbar.container,"width","auto")),O?x.add(H):x.delete(H),_.o.globalFullSize&&(1===x.size&&O||0===x.size&&!O)){for(var X=H.parentNode;X&&X.nodeType!==Node.DOCUMENT_NODE&&X.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)X.classList.toggle("jodit_fullsize-box_true",O),X=X.parentNode;S()}U.fire("afterResize")}};_.o.globalFullSize&&_.e.on(_.ow,"resize",S),_.e.on("afterInit afterOpen",function(){var O;_.toggleFullSize(null===(O=null==_?void 0:_.options)||void 0===O?void 0:O.fullsize)}).on("toggleFullSize",E).on("beforeDestruct",function(){w&&E(!1)}).on("beforeDestruct",function(){_.events&&_.e.off(_.ow,"resize",S)})}s.fullsize=C,y.pluginSystem.add("fullsize",C)},16829:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},83228:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hotkeys=void 0;var h=o(20255),v=o(57549),y=o(40332),x=o(86893),C=o(17332);o(16829);var _=function(w){function z(){var R=null!==w&&w.apply(this,arguments)||this;return R.onKeyPress=function(N){var S=R.specialKeys[N.which],E=(N.key||String.fromCharCode(N.which)).toLowerCase(),O=[S||E];return["alt","ctrl","shift","meta"].forEach(function(H){N[H+"Key"]&&S!==H&&O.push(H)}),(0,y.normalizeKeyAliases)(O.join("+"))},R.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},R}return h.__extends(z,w),z.prototype.afterInit=function(R){var N=this;(0,y.keys)(R.o.commandToHotkeys,!1).forEach(function(E){var O=R.o.commandToHotkeys[E];O&&((0,y.isArray)(O)||(0,y.isString)(O))&&R.registerHotkeyToCommand(O,E)});var S=!1;R.e.off(".hotkeys").on([R.ow,R.ew],"keydown.hotkeys",function(E){if(E.key===x.KEY_ESC)return N.j.e.fire("escape",E)}).on("keydown.hotkeys",function(E){var O=N.onKeyPress(E),H={shouldStop:!0};if(!1===N.j.e.fire(O+".hotkey",E.type,H)){if(H.shouldStop)return S=!0,R.e.stopPropagation("keydown"),!1;E.preventDefault()}},{top:!0}).on("keyup.hotkeys",function(){if(S)return S=!1,R.e.stopPropagation("keyup"),!1},{top:!0})},z.prototype.beforeDestruct=function(R){R.events&&R.e.off(".hotkeys")},z}(v.Plugin);s.hotkeys=_,C.pluginSystem.add("hotkeys",_)},43889:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.hr=void 0;var h=o(93166),v=o(64968),y=o(17332);function x(C){C.registerButton({name:"hr",group:"insert"}),C.registerCommand("insertHorizontalRule",function(){var _=C.createInside.element("hr");C.s.insertNode(_,!1,!1);var w=v.Dom.closest(_.parentElement,v.Dom.isBlock,C.editor);w&&v.Dom.isEmpty(w)&&w!==C.editor&&(v.Dom.after(w,_),v.Dom.safeRemove(w));var z=v.Dom.next(_,v.Dom.isBlock,C.editor,!1);return z||(z=C.createInside.element(C.o.enter),v.Dom.after(_,z)),C.s.setCursorIn(z),!1})}o(77904).Icon.set("hr",o(14655)),h.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},s.hr=x,y.pluginSystem.add("hr",x)},2509:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.iframeBaseUrl="",h.Config.prototype.iframeTitle="Jodit Editor",h.Config.prototype.iframeDoctype="<!DOCTYPE html>",h.Config.prototype.iframeDefaultSrc="about:blank",h.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',h.Config.prototype.iframeCSSLinks=[]},93300:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.iframe=void 0;var h=o(40332),v=o(40332),y=o(86893),x=o(17332);function C(_){var w=_.options;_.e.on("afterSetMode",function(){_.isEditorMode()&&_.s.focus()}).on("generateDocumentStructure.iframe",function(z,R){var N=z||R.iframe.contentWindow.document;if(N.open(),N.write(w.iframeDoctype+'<html dir="'.concat(w.direction,'" class="jodit" lang="').concat((0,h.defaultLanguage)(w.language),'">')+"<head>"+"<title>".concat(w.iframeTitle,"</title>")+(w.iframeBaseUrl?'<base href="'.concat(w.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),N.close(),w.iframeCSSLinks&&w.iframeCSSLinks.forEach(function(E){var O=N.createElement("link");O.setAttribute("rel","stylesheet"),O.setAttribute("href",E),N.head&&N.head.appendChild(O)}),w.iframeStyle){var S=N.createElement("style");S.innerHTML=w.iframeStyle,N.head&&N.head.appendChild(S)}}).on("createEditor",function(){if(w.iframe){var z=_.c.element("iframe");z.style.display="block",z.src="about:blank",z.className="jodit-wysiwyg_iframe",z.setAttribute("allowtransparency","true"),z.setAttribute("tabindex",w.tabIndex.toString()),z.setAttribute("frameborder","0"),_.workplace.appendChild(z),_.iframe=z;var R=_.e.fire("generateDocumentStructure.iframe",null,_);return(0,h.callPromise)(R,function(){if(!_.iframe)return!1;var N=_.iframe.contentWindow.document;_.editorWindow=_.iframe.contentWindow;var S=function(){(0,h.attr)(N.body,"contenteditable",_.getMode()!==y.MODE_SOURCE&&!_.getReadOnly()||null)},E=function(X){var W=/<body.*<\/body>/im,re="{%%BODY%%}",pe=W.exec(X);return pe&&(X=X.replace(W,re).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(re,pe[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),X};if(w.editHTMLDocumentMode){var O=_.element.tagName;if("TEXTAREA"!==O&&"INPUT"!==O)throw(0,v.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");_.e.on("beforeGetNativeEditorValue",function(){return E(_.o.iframeDoctype+N.documentElement.outerHTML)}).on("beforeSetNativeEditorValue",function(X){var W=X.value;return!_.isLocked&&(/<(html|body)/i.test(W)?E(N.documentElement.outerHTML)!==E(W)&&(N.open(),N.write(_.o.iframeDoctype+E(W)),N.close(),_.editor=N.body,_.e.fire("safeHTML",_.editor),S(),_.e.fire("prepareWYSIWYGEditor"),_.e.stopPropagation("beforeSetNativeEditorValue")):N.body.innerHTML=W,!0)},{top:!0})}if(_.editor=N.body,_.e.on("afterSetMode afterInit afterAddPlace",S),"auto"===w.height){N.documentElement&&(N.documentElement.style.overflowY="hidden");var H=_.async.throttle(function(){if(_.editor&&_.iframe&&"auto"===w.height){var X=_.ew.getComputedStyle(_.editor),W=parseInt(X.marginTop||"0",10)+parseInt(X.marginBottom||"0",10);(0,h.css)(_.iframe,"height",_.editor.offsetHeight+W)}},_.defaultTimeout/2);if(_.e.on("change afterInit afterSetMode resize",H).on([_.iframe,_.ew,N.documentElement],"load",H).on(N,"readystatechange DOMContentLoaded",H),"function"==typeof ResizeObserver){var U=new ResizeObserver(H);U.observe(N.body),_.e.on("beforeDestruct",function(){U.unobserve(N.body)})}}return N.documentElement&&_.e.on(N.documentElement,"mousedown touchend",function(){_.s.isFocused()||(_.s.focus(),_.editor===N.body&&_.s.setCursorIn(N.body))}).on(_.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",function(X){var W;null===(W=_.events)||void 0===W||W.fire(_.ow,X)}),!1})}})}o(2509),s.iframe=C,x.pluginSystem.add("iframe",C)},18226:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},92575:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.imageProcessor=void 0;var h=o(20255),v=o(40332),y=o(57549),x=o(43441),C=o(86893),_=o(17332);o(18226);var w="__jodit_imageprocessor_binded",z="__jodit_imageprocessor_bindedblob-id",R=function(N){function S(){return null!==N&&N.apply(this,arguments)||this}return h.__extends(S,N),S.prototype.afterInit=function(E){},S.prototype.beforeDestruct=function(E){var O,H,U=E.buffer.get(z);if(U){var X=Object.keys(U);try{for(var W=h.__values(X),re=W.next();!re.done;re=W.next())URL.revokeObjectURL(re.value)}catch(pe){O={error:pe}}finally{try{re&&!re.done&&(H=W.return)&&H.call(W)}finally{if(O)throw O.error}}E.buffer.delete(z)}},S.prototype.onAfterGetValueFromEditor=function(E,O){if(O!==C.SOURCE_CONSUMER)return this.onBeforeSetElementValue(E)},S.prototype.onBeforeSetElementValue=function(E){var O,H,U=this.jodit;if(U.o.imageProcessor.replaceDataURIToBlobIdInView){var X=U.buffer.get(z);if(X){var W=Object.keys(X);try{for(var re=h.__values(W),pe=re.next();!pe.done;pe=re.next())for(var Ae=pe.value;E.value.includes(Ae);)E.value=E.value.replace(Ae,X[Ae])}catch(Se){O={error:Se}}finally{try{pe&&!pe.done&&(H=re.return)&&H.call(re)}finally{if(O)throw O.error}}}}},S.prototype.afterChange=function(E){return h.__awaiter(this,void 0,Promise,function(){var O;return h.__generator(this,function(H){return(O=this.jodit).editor?((0,v.$$)("img",O.editor).forEach(function(U){(0,v.dataBind)(U,w)||((0,v.dataBind)(U,w,!0),U.complete||O.e.on(U,"load",function X(){var W;!O.isInDestruct&&(null===(W=O.e)||void 0===W||W.fire("resize")),O.e.off(U,"load",X)}),U.src&&/^data:/.test(U.src)&&function(X,W){if(X.o.imageProcessor.replaceDataURIToBlobIdInView&&"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof URL){var re=W.src,pe=function(Se){for(var De=atob(Se.split(",")[1]),qe=Se.split(",")[0].split(":")[1].split(";")[0],rt=new ArrayBuffer(De.length),ot=new Uint8Array(rt),vt=0;De.length>vt;vt++)ot[vt]=De.charCodeAt(vt);return new Blob([rt],{type:qe})}(re);W.src=URL.createObjectURL(pe),X.e.fire("internalUpdate");var Ae=X.buffer.get(z)||{};Ae[W.src]=re,X.buffer.set(z,Ae)}}(O,U),O.e.on(U,"mousedown touchstart",function(){O.s.select(U)}))}),[2]):[2]})})},h.__decorate([(0,x.watch)(":afterGetValueFromEditor")],S.prototype,"onAfterGetValueFromEditor",null),h.__decorate([(0,x.watch)(":beforeSetElementValue")],S.prototype,"onBeforeSetElementValue",null),h.__decorate([(0,x.watch)([":change",":afterInit",":changePlace"]),(0,x.debounce)()],S.prototype,"afterChange",null),S}(y.Plugin);s.imageProcessor=R,_.pluginSystem.add("imageProcessor",R)},1601:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},15747:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.imageProperties=void 0;var h=o(20255);o(9947);var v=o(87837),y=o(40332),x=o(718),C=o(96516),_=o(43441),w=o(35503),z=o(17332),R=o(49391),N=o(27506),S=o(50109);o(1601);var E=function(U){return U=(0,y.trim)(U),/^[0-9]+$/.test(U)?U+"px":U},O=function(U){return/^[-+]?[0-9.]+px$/.test(U.toString())?parseFloat(U.toString()):U},H=function(U){function X(){var W=null!==U&&U.apply(this,arguments)||this;return W.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0},W.activeTabState={__activeTab:"Image"},W}return h.__extends(X,U),X.prototype.onChangeMarginIsLocked=function(){var W=this;if(this.form){var re=(0,y.refs)(this.form),pe=re.lockMargin;[re.marginRight,re.marginBottom,re.marginLeft].forEach(function(Ae){(0,y.attr)(Ae,"disabled",W.state.marginIsLocked||null)}),pe.innerHTML=v.Icon.get(this.state.marginIsLocked?"lock":"unlock")}},X.prototype.onChangeSizeIsLocked=function(){if(this.form){var W=(0,y.refs)(this.form),re=W.lockSize,pe=W.imageWidth;re.innerHTML=v.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),re.classList.remove("jodit-properties__lock"),re.classList.remove("jodit-properties__unlock"),re.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(pe,"change")}},X.prototype.open=function(){return this.makeForm(),this.activeTabState.__activeTab="Image",this.j.e.fire("hidePopup"),(0,y.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1},X.prototype.makeForm=function(){var W=this;if(!this.dialog){this.dialog=this.j.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]});var re=this.j,pe=re.o,Ae=re.i18n.bind(re),Se={check:(0,C.Button)(re,"ok","Apply","primary"),remove:(0,C.Button)(re,"bin","Delete")};re.e.on(this.dialog,"afterClose",function(){W.state.image.parentNode&&pe.image.selectImageAfterClose&&re.s.select(W.state.image)}),Se.remove.onAction(function(){re.s.removeNode(W.state.image),W.dialog.close()});var De=this.dialog;De.setHeader(Ae("Image properties"));var qe=(0,R.form)(re);this.form=qe,De.setContent(qe);var rt=(0,y.refs)(this.form).tabsBox;rt&&rt.appendChild((0,x.TabsWidget)(re,[{name:"Image",content:(0,N.mainTab)(re)},{name:"Advanced",content:(0,S.positionTab)(re)}],this.activeTabState)),Se.check.onAction(this.onApply);var ot=(0,y.refs)(this.form),vt=ot.editImage;re.e.on(ot.changeImage,"click",this.openImagePopup),pe.image.useImageEditor&&re.e.on(vt,"click",this.openImageEditor);var rn=(0,y.refs)(qe),Xt=rn.lockSize,fn=rn.lockMargin,_n=rn.imageWidth,hn=rn.imageHeight;Xt&&re.e.on(Xt,"click",function(){W.state.sizeIsLocked=!W.state.sizeIsLocked}),re.e.on(fn,"click",function(xn){W.state.marginIsLocked=!W.state.marginIsLocked,xn.preventDefault()});var vn=function(xn){if((0,y.isNumeric)(_n.value)&&(0,y.isNumeric)(hn.value)){var dn=parseFloat(_n.value),Sn=parseFloat(hn.value);xn.target===_n?hn.value=Math.round(dn/W.state.ratio).toString():_n.value=Math.round(Sn*W.state.ratio).toString()}};re.e.on([_n,hn],"change keydown mousedown paste",function(xn){W.state.sizeIsLocked&&re.async.setTimeout(vn.bind(W,xn),{timeout:re.defaultTimeout,label:"image-properties-changeSize"})}),De.setFooter([Se.remove,Se.check]),De.setSize(this.j.o.image.dialogWidth)}},X.prototype.updateValues=function(){var W,re,pe=this,Ae=this.j.o,Se=this.state.image,De=(0,y.refs)(this.form),qe=De.marginTop,rt=De.marginRight,ot=De.marginBottom,vt=De.marginLeft,rn=De.imageSrc,Xt=De.id,fn=De.classes,_n=De.align,hn=De.style,vn=De.imageTitle,xn=De.imageAlt,dn=De.borderRadius,Sn=De.imageLink,si=De.imageWidth,cn=De.imageHeight,yn=De.imageLinkOpenInNewTab,qn=De.imageViewSrc,oi=De.lockSize;De.lockMargin.checked=pe.state.marginIsLocked,oi.checked=pe.state.sizeIsLocked,rn.value=(0,y.attr)(Se,"src")||"",qn&&(0,y.attr)(qn,"src",(0,y.attr)(Se,"src")||""),function(){vn.value=(0,y.attr)(Se,"title")||"",xn.value=(0,y.attr)(Se,"alt")||"";var Yn=v.Dom.closest(Se,"a",pe.j.editor);Yn?(Sn.value=(0,y.attr)(Yn,"href")||"",yn.checked="_blank"===(0,y.attr)(Yn,"target")):(Sn.value="",yn.checked=!1)}(),W=(0,y.attr)(Se,"width")||(0,y.css)(Se,"width",!0)||!1,re=(0,y.attr)(Se,"height")||(0,y.css)(Se,"height",!0)||!1,si.value=!1!==W?O(W).toString():Se.offsetWidth.toString(),cn.value=!1!==re?O(re).toString():Se.offsetHeight.toString(),pe.state.sizeIsLocked=function(){if(!(0,y.isNumeric)(si.value)||!(0,y.isNumeric)(cn.value))return!1;var Yn=parseFloat(si.value),Xn=parseFloat(cn.value);return 1>Math.abs(Yn-Xn*pe.state.ratio)}(),function(){if(Ae.image.editMargins){var Yn=!0,Xn=!1;[qe,rt,ot,vt].forEach(function(gi){var Mt=(0,y.attr)(gi,"data-ref")||"",pn=Se.style.getPropertyValue((0,y.kebabCase)(Mt));if(!pn)return Xn=!0,void(gi.value="");/^[0-9]+(px)?$/.test(pn)&&(pn=parseInt(pn,10)),gi.value=pn.toString()||"",(Xn&&gi.value||Yn&&"marginTop"!==Mt&&gi.value!==qe.value)&&(Yn=!1)}),pe.state.marginIsLocked=Yn}}(),fn.value=((0,y.attr)(Se,"class")||"").replace(/jodit_focused_image[\s]*/,""),Xt.value=(0,y.attr)(Se,"id")||"",dn.value=(parseInt(Se.style.borderRadius||"0",10)||"0").toString(),Se.style.cssFloat&&-1!==["left","right"].indexOf(Se.style.cssFloat.toLowerCase())?_n.value=(0,y.css)(Se,"float"):"block"===(0,y.css)(Se,"display")&&"auto"===Se.style.marginLeft&&"auto"===Se.style.marginRight&&(_n.value="center"),hn.value=(0,y.attr)(Se,"style")||""},X.prototype.onApply=function(){var W=(0,y.refs)(this.form),re=W.imageSrc,pe=W.borderRadius,Ae=W.imageTitle,Se=W.imageAlt,De=W.imageLink,qe=W.imageWidth,rt=W.imageHeight,ot=W.marginTop,vt=W.marginRight,rn=W.marginBottom,Xt=W.marginLeft,fn=W.imageLinkOpenInNewTab,_n=W.align,hn=W.classes,vn=W.id,xn=this.j.o,dn=this.state.image;if(xn.image.editStyle&&(0,y.attr)(dn,"style",W.style.value||null),!re.value)return v.Dom.safeRemove(dn),void this.dialog.close();(0,y.attr)(dn,"src",re.value),dn.style.borderRadius="0"!==pe.value&&/^[0-9]+$/.test(pe.value)?pe.value+"px":"",(0,y.attr)(dn,"title",Ae.value||null),(0,y.attr)(dn,"alt",Se.value||null);var Sn=v.Dom.closest(dn,"a",this.j.editor);if(De.value?(Sn||(Sn=v.Dom.wrap(dn,"a",this.j.createInside)),(0,y.attr)(Sn,"href",De.value),(0,y.attr)(Sn,"target",fn.checked?"_blank":null)):Sn&&Sn.parentNode&&Sn.parentNode.replaceChild(dn,Sn),qe.value!==dn.offsetWidth.toString()||rt.value!==dn.offsetHeight.toString()){var si=(0,y.trim)(qe.value)?E(qe.value):null,cn=(0,y.trim)(rt.value)?E(rt.value):null;(0,y.css)(dn,{width:si,height:cn}),(0,y.attr)(dn,"width",(0,y.attr)(dn,"width")?si:null),(0,y.attr)(dn,"height",(0,y.attr)(dn,"height")?cn:null)}var yn=[ot,vt,rn,Xt];xn.image.editMargins&&(this.state.marginIsLocked?(0,y.css)(dn,"margin",E(ot.value)):yn.forEach(function(qn){var oi=(0,y.attr)(qn,"data-ref")||"";(0,y.css)(dn,oi,E(qn.value))})),xn.image.editClass&&(0,y.attr)(dn,"class",hn.value||null),xn.image.editId&&(0,y.attr)(dn,"id",vn.value||null),xn.image.editAlign&&(0,y.hAlignElement)(dn,_n.value),this.j.synchronizeValues(),this.dialog.close()},X.prototype.openImageEditor=function(){var W=this,re=(0,y.attr)(this.state.image,"src")||"",pe=this.j.c.element("a"),Ae=function(){pe.host===location.host||W.j.confirm("You can only edit your own images. Download this image on the host?",function(Se){Se&&W.j.uploader&&W.j.uploader.uploadRemoteImage(pe.href.toString(),function(De){W.j.alert("The image has been successfully uploaded to the host!",function(){(0,y.isString)(De.newfilename)&&((0,y.attr)(W.state.image,"src",De.baseurl+De.newfilename),W.updateValues())})},function(De){W.j.alert("There was an error loading %s",De.message)})})};pe.href=re,this.j.filebrowser.dataProvider.getPathByUrl(pe.href.toString()).then(function(Se){w.openImageEditor.call(W.j.filebrowser,pe.href,Se.name,Se.path,Se.source,function(){var De=(new Date).getTime();(0,y.attr)(W.state.image,"src",re+(-1!==re.indexOf("?")?"":"?")+"&_tmp="+De.toString()),W.updateValues()},function(De){W.j.alert(De.message)})}).catch(function(Se){W.j.alert(Se.message,Ae)})},X.prototype.openImagePopup=function(W){var re=this,pe=new v.Popup(this.j),Ae=(0,y.refs)(this.form).changeImage;pe.setZIndex(this.dialog.getZIndex()+1),pe.setContent((0,x.FileSelectorWidget)(this.j,{upload:function(Se){Se.files&&Se.files.length&&(0,y.attr)(re.state.image,"src",Se.baseurl+Se.files[0]),re.updateValues(),pe.close()},filebrowser:function(Se){Se&&(0,y.isArray)(Se.files)&&Se.files.length&&((0,y.attr)(re.state.image,"src",Se.files[0]),pe.close(),re.updateValues())}},this.state.image,pe.close)).open(function(){return(0,y.position)(Ae)}),W.stopPropagation()},X.prototype.afterInit=function(W){var re=this,pe=this;W.e.on("afterConstructor changePlace",function(){W.e.off(W.editor,".imageproperties").on(W.editor,"dblclick.imageproperties",function(Ae){var Se=Ae.target;if(v.Dom.isTag(Se,"img"))if(W.o.image.openOnDblClick){if(!1===re.j.e.fire("openOnDblClick",Se))return;pe.state.image=Se,W.o.readonly||(Ae.stopImmediatePropagation(),Ae.preventDefault(),pe.open())}else Ae.stopImmediatePropagation(),W.s.select(Se)})}).on("openImageProperties.imageproperties",function(Ae){re.state.image=Ae,re.open()})},X.prototype.beforeDestruct=function(W){this.dialog&&this.dialog.destruct(),W.e.off(W.editor,".imageproperties").off(".imageproperties")},h.__decorate([(0,_.watch)("state.marginIsLocked")],X.prototype,"onChangeMarginIsLocked",null),h.__decorate([(0,_.watch)("state.sizeIsLocked")],X.prototype,"onChangeSizeIsLocked",null),h.__decorate([_.autobind],X.prototype,"onApply",null),h.__decorate([_.autobind],X.prototype,"openImageEditor",null),h.__decorate([_.autobind],X.prototype,"openImagePopup",null),X}(v.Plugin);s.imageProperties=H,z.pluginSystem.add("imageProperties",H)},49391:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.form=void 0;var h=o(77904);s.form=function(v){var y=v.o.image,x=y.showPreview,C=y.editSize,_=h.Icon.get.bind(h.Icon);return v.c.fromHTML('<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="'.concat(x?"":"display:none",'" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="').concat(C?"":"display:none",'" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">').concat(_("lock"),'</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>'))}},27506:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.mainTab=void 0;var h=o(77904);s.mainTab=function(v){var y=v.o,x=v.i18n.bind(v),C=h.Icon.get.bind(h.Icon),_=y.filebrowser.ajax.url||y.uploader.url,w=y.image.useImageEditor;return v.c.fromHTML('<div style="'.concat(y.image.editSrc?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Src"),'</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="').concat(_?"":"display: none",'"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>').concat(C("image"),'</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="').concat(w?"":"display: none",'"\n\t\t\t\t\t\t>').concat(C("crop"),'</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="').concat(y.image.editTitle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Title"),'</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(y.image.editAlt?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Alternative"),'</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(y.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Link"),'</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(y.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>').concat(x("Open link in new tab"),"</span>\n\t\t\t</label>\n\t\t</div>"))}},50109:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.positionTab=void 0;var h=o(77904);s.positionTab=function(v){var y=v.o,x=v.i18n.bind(v),C=h.Icon.get.bind(h.Icon),_=[];return y.image.availableClasses.length>0?(_.push('<select data-ref="classes" class="jodit-input jodit-select">'),y.image.availableClasses.forEach(function(w){_.push("string"==typeof w?'<option value="'.concat(w,'">').concat(w,"</option>"):'<option value="'.concat(w[0],'">').concat(w[1],"</option>"))}),_.push("</select>")):_.push('<input data-ref="classes" type="text" class="jodit-input"/>'),v.c.fromHTML('<div style="'.concat(y.image.editMargins?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Margins"),'</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="').concat(x("top"),'"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">').concat(C("lock"),'</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="').concat(x("right"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="').concat(x("bottom"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="').concat(x("left"),'"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(y.image.editAlign?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(x("Align"),'</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">').concat(x("--Not Set--"),'</option>\n\t\t\t\t<option value="left">').concat(x("Left"),'</option>\n\t\t\t\t<option value="center">').concat(x("Center"),'</option>\n\t\t\t\t<option value="right">').concat(x("Right"),'</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div style="').concat(y.image.editStyle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Styles"),'</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(y.image.editClass?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(x("Classes"),"</label>\n\t\t\t").concat(_.join(""),'\n\t\t</div>\n\t\t<div style="').concat(y.image.editId?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(y.image.editBorderRadius?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(x("Border radius"),'</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>'))}},67547:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.image=void 0;var h=o(20255),v=o(64968),y=o(40332),x=o(718),C=o(93166),_=o(17332);function w(z){z.registerButton({name:"image",group:"media"})}o(77904).Icon.set("image",o(53477)),C.Config.prototype.controls.image={popup:function(z,R,N,S){var E=null;return R&&!v.Dom.isText(R)&&v.Dom.isHTMLElement(R)&&(v.Dom.isTag(R,"img")||(0,y.$$)("img",R).length)&&(E=v.Dom.isTag(R,"img")?R:(0,y.$$)("img",R)[0]),z.s.save(),(0,x.FileSelectorWidget)(z,{filebrowser:function(O){z.s.restore(),O.files&&O.files.forEach(function(H){return z.s.insertImage(O.baseurl+H,null,z.o.imageDefaultWidth)}),S()},upload:!0,url:function(O,H){return h.__awaiter(void 0,void 0,void 0,function(){var U;return h.__generator(this,function(X){switch(X.label){case 0:return z.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(O)&&(O="//"+O),(U=E||z.createInside.element("img")).setAttribute("src",O),U.setAttribute("alt",H),E?[3,2]:[4,z.s.insertImage(U,null,z.o.imageDefaultWidth)];case 1:X.sent(),X.label=2;case 2:return S(),[2]}})})}},E,S)},tags:["img"],tooltip:"Insert Image"},s.image=w,_.pluginSystem.add("image",w)},2916:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(64968),y=o(77904),x=o(26011);y.Icon.set("indent",o(90053)).set("outdent",o(72230)),h.Config.prototype.controls.indent={tooltip:"Increase Indent"},h.Config.prototype.controls.outdent={isDisabled:function(C){var _=C.s.current();if(_){var w=v.Dom.closest(_,v.Dom.isBlock,C.editor);if(w){var z=(0,x.getKey)(C.o.direction,w);return!w.style[z]||0>=parseInt(w.style[z],10)}}return!0},tooltip:"Decrease Indent"},h.Config.prototype.indentMargin=10},26011:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.getKey=void 0;var h=o(24263);s.getKey=function(v,y){return"".concat(h.Dom.isCell(y)?"padding":"margin").concat("rtl"===v?"Right":"Left")}},71838:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.indent=void 0;var h=o(86893),v=o(64968),y=o(40332),x=o(17332);o(2916);var C=o(26011);function _(w){w.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});var z=function(R){var N=[];return w.s.eachSelection(function(S){w.s.save();var E=!!S&&v.Dom.up(S,v.Dom.isBlock,w.editor),O=w.o.enter;if(!E&&S&&(E=v.Dom.wrapInline(S,O!==h.BR?O:h.PARAGRAPH,w)),!E)return w.s.restore(),!1;var H=N.includes(E);if(E&&!H){var U=(0,C.getKey)(w.o.direction,E);N.push(E);var X=E.style[U]?parseInt(E.style[U],10):0;E.style[U]=(X+=w.o.indentMargin*("outdent"===R?-1:1))>0?X+"px":"",(0,y.attr)(E,"style")||(0,y.attr)(E,"style",null)}w.s.restore()}),w.synchronizeValues(),!1};w.registerCommand("indent",{exec:z,hotkeys:["ctrl+]","cmd+]"]}),w.registerCommand("outdent",{exec:z,hotkeys:["ctrl+[","cmd+["]})}s.indent=_,x.pluginSystem.add("indent",_)},70022:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(55692),o(66031),o(91241),o(87565),o(60894),o(90302),o(92138),o(88412),o(79308),o(19268),o(30598),o(33122),o(10135),o(66994),o(54798),o(12908),o(65123),o(83228),o(43889),o(93300),o(67547),o(92575),o(15747),o(71838),o(54752),o(54452),o(46324),o(27738),o(61421),o(27582),o(76303),o(19806),o(52598),o(19483),o(15428),o(47224),o(83211),o(88297),o(72930),o(51197),o(2327),o(47608),o(90523),o(69257),o(14889),o(95323),o(37458),o(71003),o(86030),o(17002),o(1557),o(82808),o(48560),o(32246),o(45842),o(23308),o(19889),o(20728),o(96899),o(18238)},35387:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.toolbarInline=!0,h.Config.prototype.toolbarInlineForSelection=!1,h.Config.prototype.toolbarInlineDisableFor=[],h.Config.prototype.toolbarInlineDisabledButtons=["source"],v.Icon.set("addcolumn",o(78321)).set("addrow",o(77654)).set("merge",o(43371)).set("th",o(52242)).set("splitg",o(44563)).set("splitv",o(53183)).set("th-list",o(18548)),h.Config.prototype.popup={a:o(27487).Z,img:o(97425).default,cells:o(59500).Z,toolbar:o(55350).Z,jodit:o(66686).Z,iframe:o(66686).Z,"jodit-media":o(66686).Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},27487:function(m,s,o){"use strict";var h=o(76502);s.Z=[{name:"eye",tooltip:"Open link",exec:function(v,y){var x=(0,h.attr)(y,"href");y&&x&&v.ow.open(x)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},59500:function(m,s,o){"use strict";var h=o(10172),v=o(26911),y=o(718),x=function(C){return C.args&&(0,h.isString)(C.args[0])?C.args[0].toLowerCase():""};s.Z=[{name:"brush",popup:function(C,_,w,z){if((0,h.isJoditObject)(C)){var R=C.getInstance("Table",C.o).getAllSelectedCells();if(!R.length)return!1;var N=function(S){return(0,y.ColorPickerWidget)(C,function(E){R.forEach(function(O){(0,v.css)(O,S,E)}),C.lock(),C.synchronizeValues(),z(),C.unlock()},(0,v.css)(R[0],S))};return(0,y.TabsWidget)(C,[{name:"Background",content:N("background-color")},{name:"Text",content:N("color")},{name:"Border",content:N("border-color")}])}},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:function(C,_,w){return w},exec:function(C,_,w){var z=x(w.control);C.getInstance("Table",C.o).getAllSelectedCells().forEach(function(R){(0,v.css)(R,"vertical-align","normal"===z?"":z)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(C,_,w){var z=w.control;if((0,h.isJoditObject)(C)){var R=x(z);C.execCommand(R,!1,_)}},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(C,_,w){var z=w.control;if((0,h.isJoditObject)(C)){var R=x(z);C.execCommand(R,!1,_)}},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(C,_,w){var z=w.control;if((0,h.isJoditObject)(C)){var R=x(z);C.execCommand(R,!1,_),C.e.fire("hidePopup")}},tooltip:"Delete"}]},66686:function(m,s,o){"use strict";var h=o(97425);s.Z=[{name:"bin",tooltip:"Delete",exec:function(v,y){y&&v.s.removeNode(y)}},h.align]},97425:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.align=void 0;var h=o(64968),v=o(24421),y=o(26911),x=o(60303);s.align={name:"left",childTemplate:function(C,_,w){return w},list:["Left","Right","Center","Normal"],exec:function(C,_,w){var z=w.control;if(h.Dom.isTag(_,["img","jodit","jodit-media"])){var R=z.args&&(0,v.isString)(z.args[0])?z.args[0].toLowerCase():"";if(!R)return!1;(0,x.hAlignElement)(_,R),h.Dom.isTag(_,["jodit","jodit-media"])&&_.firstElementChild&&(0,x.hAlignElement)(_.firstElementChild,R),C.synchronizeValues(),C.e.fire("recalcPositionPopup")}},tooltip:"Horizontal align"},s.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(C,_){_&&C.s.removeNode(_)}},{name:"pencil",exec:function(C,_){"img"===_.tagName.toLowerCase()&&C.e.fire("openImageProperties",_)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:function(C,_,w){var z=w.control;if(h.Dom.isTag(_,"img")){var R=z.args&&(0,v.isString)(z.args[0])?z.args[0].toLowerCase():"";if(!R)return!1;(0,y.css)(_,"vertical-align","normal"===R?"":R),C.e.fire("recalcPositionPopup")}}},s.align]},55350:function(m,s){"use strict";s.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},54752:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.inlinePopup=void 0;var h=o(20255);o(45109);var v=o(57549),y=o(81438),x=o(35799),C=o(40332),_=o(64968),w=o(2074),z=o(43441),R=o(17332);o(35387);var N=function(S){function E(){var O=null!==S&&S.apply(this,arguments)||this;return O.requires=["select"],O.type=null,O.popup=new x.Popup(O.jodit,!1),O.toolbar=(0,y.makeCollection)(O.jodit,O.popup),O.snapRange=null,O.elmsList=(0,C.keys)(O.j.o.popup,!1).filter(function(H){return!O.isExcludedTarget(H)}),O}return h.__extends(E,S),E.prototype.onClick=function(O){var H=this,U=this.elmsList,X=_.Dom.isTag(O,"img")?O:_.Dom.closest(O,U,this.j.editor);if(X&&this.canShowPopupForType(X.nodeName.toLowerCase()))return this.showPopup(function(){return(0,C.position)(X,H.j)},X.nodeName.toLowerCase(),X),!1},E.prototype.showPopup=function(O,H,U){if(H=H.toLowerCase(),!this.canShowPopupForType(H))return!1;if(this.type!==H||U!==this.previousTarget){this.previousTarget=U;var X=this.j.o.popup[H],W=void 0;W=(0,C.isFunction)(X)?X(this.j,U,this.popup.close):X,(0,C.isArray)(W)&&(this.toolbar.build(W,U),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,W=this.toolbar.container),this.popup.setContent(W),this.type=H}return this.popup.open(O),!0},E.prototype.hidePopup=function(O){(0,C.isString)(O)&&O!==this.type||this.popup.close()},E.prototype.onOutsideClick=function(){this.popup.close()},E.prototype.canShowPopupForType=function(O){var H=this.j.o.popup[O.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!H||this.isExcludedTarget(O))},E.prototype.isExcludedTarget=function(O){return(0,C.splitArray)(this.j.o.toolbarInlineDisableFor).map(function(H){return H.toLowerCase()}).includes(O.toLowerCase())},E.prototype.afterInit=function(O){var H=this;this.j.e.on("getDiffButtons.mobile",function(U){if(H.toolbar===U){var X=H.toolbar.getButtonsNames();return(0,C.toArray)(O.registeredButtons).filter(function(W){return!H.j.o.toolbarInlineDisabledButtons.includes(W.name)}).filter(function(W){var re=(0,C.isString)(W)?W:W.name;return re&&"|"!==re&&"\n"!==re&&!X.includes(re)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",function(U,X,W){H.showPopup(X,W||((0,C.isString)(U)?U:U.nodeName),(0,C.isString)(U)?void 0:U)}).on("mousedown keydown",this.onSelectionStart).on("change",function(){H.popup.isOpened&&H.previousTarget&&!H.previousTarget.parentNode&&(H.hidePopup(),H.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()},E.prototype.onSelectionStart=function(){this.snapRange=this.j.s.range.cloneRange()},E.prototype.onSelectionEnd=function(O){if(!(O&&O.target&&w.UIElement.closestElement(O.target,x.Popup))){var H=this.snapRange,U=this.j.s.range;H&&!U.collapsed&&U.startContainer===H.startContainer&&U.startOffset===H.startOffset&&U.endContainer===H.endContainer&&U.endOffset===H.endOffset||this.onSelectionChange()}},E.prototype.onSelectionChange=function(){if(this.j.o.toolbarInlineForSelection){var O="selection",H=this.j.s.sel,U=this.j.s.range;(null==H?void 0:H.isCollapsed)||this.isSelectedTarget(U)||this.tableModule.getAllSelectedCells().length?this.type===O&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup(function(){return U.getBoundingClientRect()},O)}},E.prototype.isSelectedTarget=function(O){var H=O.startContainer;return _.Dom.isElement(H)&&H===O.endContainer&&_.Dom.isTag(H.childNodes[O.startOffset],(0,C.keys)(this.j.o.popup,!1))&&O.startOffset===O.endOffset-1},Object.defineProperty(E.prototype,"tableModule",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),E.prototype.beforeDestruct=function(O){O.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()},E.prototype._eventsList=function(){var O=this.elmsList;return O.map(function(H){return(0,C.camelCase)("click_".concat(H))}).concat(O.map(function(H){return(0,C.camelCase)("touchstart_".concat(H))})).join(" ")},E.prototype.addListenersForElements=function(){this.j.e.on(this._eventsList(),this.onClick)},E.prototype.removeListenersForElements=function(){this.j.e.off(this._eventsList(),this.onClick)},E.prototype.showInlineToolbar=function(O){var H=this;this.showPopup(function(){return O||H.j.s.range.getBoundingClientRect()},"toolbar")},h.__decorate([z.autobind],E.prototype,"onClick",null),h.__decorate([(0,z.wait)(function(O){return!O.j.isLocked})],E.prototype,"showPopup",null),h.__decorate([(0,z.watch)(":clickEditor"),z.autobind],E.prototype,"hidePopup",null),h.__decorate([(0,z.watch)(":outsideClick")],E.prototype,"onOutsideClick",null),h.__decorate([z.autobind],E.prototype,"onSelectionStart",null),h.__decorate([z.autobind],E.prototype,"onSelectionEnd",null),h.__decorate([(0,z.debounce)(function(O){return O.defaultTimeout})],E.prototype,"onSelectionChange",null),h.__decorate([z.autobind],E.prototype,"showInlineToolbar",null),E}(v.Plugin);s.inlinePopup=N,R.pluginSystem.add("inlinePopup",N)},54452:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.justify=void 0;var h=o(93166),v=o(24263),y=o(26911),x=o(60303),C=o(17332);function _(w){w.registerButton({name:"align",group:"indent"});var z=function(R){return w.s.focus(),w.s.eachSelection(function(N){if(N){var S=v.Dom.up(N,v.Dom.isBlock,w.editor);S||(S=v.Dom.wrapInline(N,w.o.enterBlock,w)),(0,x.alignElement)(R,S)}}),!1};w.registerCommand("justifyfull",z),w.registerCommand("justifyright",z),w.registerCommand("justifyleft",z),w.registerCommand("justifycenter",z)}o(77904).Icon.set("justify",o(87498)),h.Config.prototype.controls.align={name:"left",tooltip:"Align",update:function(w,z){var R=w.control,N=z.s.current();if(N){var S=v.Dom.closest(N,v.Dom.isBlock,z.editor)||z.editor,E=(0,y.css)(S,"text-align").toString();R.defaultValue&&-1!==R.defaultValue.indexOf(E)&&(E="left"),R.data&&R.data.currentValue!==E&&R.list&&-1!==R.list.indexOf(E)&&(z.o.textIcons?w.state.text=E:w.state.icon.name=E,R.data.currentValue=E)}},isActive:function(w,z){var R=w.s.current();if(R&&z.defaultValue){var N=v.Dom.closest(R,v.Dom.isBlock,w.editor)||w.editor;return-1===z.defaultValue.indexOf((0,y.css)(N,"text-align").toString())}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},h.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},h.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},h.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},h.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},s.justify=_,C.pluginSystem.add("justify",_)},46324:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.keyArrowOutside=void 0;var h=o(20255),v=o(57549),y=o(43441),x=o(86893),C=o(24263),_=o(17332),w=function(z){function R(){return null!==z&&z.apply(this,arguments)||this}return h.__extends(R,z),R.prototype.afterInit=function(N){},R.prototype.beforeDestruct=function(N){},R.prototype.onKeyDownArrow=function(N){var S;if(N.key===x.KEY_RIGHT&&this.j.selection.isCollapsed()){var E=this.j.selection.range,O=E.endContainer,H=E.endOffset;if(C.Dom.isText(O)&&(null===(S=O.nodeValue)||void 0===S?void 0:S.length)===H){var U=O.parentNode;C.Dom.isInlineBlock(U)&&!C.Dom.findNotEmptyNeighbor(U,!1,this.j.editor)&&C.Dom.after(U,this.j.createInside.text(x.NBSP_SPACE))}}},h.__decorate([(0,y.watch)(":keydown")],R.prototype,"onKeyDownArrow",null),R}(v.Plugin);s.keyArrowOutside=w,_.pluginSystem.add("keyArrowOutside",w)},19250:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.limitWords=!1,h.Config.prototype.limitChars=!1,h.Config.prototype.limitHTML=!1},27738:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.limit=void 0;var h=o(20255),v=o(57549),y=o(86893),x=o(43441),C=o(17332);o(19250);var _=function(z){function R(){return null!==z&&z.apply(this,arguments)||this}return h.__extends(R,z),R.prototype.afterInit=function(N){var S=this,E=N.o;if(N&&(E.limitWords||E.limitChars)){var O=null;N.e.off(".limit").on("beforePaste.limit",function(){O=N.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",function(){if(S.__shouldDenyInput(!0)&&O)return N.history.snapshot.restore(O),N.e.fire("denyPaste.limit"),!1})}},R.prototype.shouldPreventInsertHTML=function(N){return(!N||!(y.COMMAND_KEYS.includes(N.key)||N.ctrlKey||N.metaKey))&&this.__shouldDenyInput(!1)},R.prototype.__shouldDenyInput=function(N){var S=this.jodit,E=S.o,O=E.limitWords,H=E.limitChars,U=this.__splitWords(S.o.limitHTML?S.value:S.text);if(O&&w(U.length,O,N))return S.e.fire("denyWords.limit limit.limit"),!0;var X=Boolean(H&&w(U.join("").length,H,N));return X&&S.e.fire("denyChars.limit limit.limit"),X},R.prototype.checkPreventKeyPressOrPaste=function(N){if(this.shouldPreventInsertHTML(N))return!1},R.prototype.checkPreventChanging=function(N,S){var E=this.jodit;this.__shouldDenyInput(!0)&&(E.value=S)},R.prototype.__splitWords=function(N){return N.replace((0,y.INVISIBLE_SPACE_REG_EXP)(),"").split((0,y.SPACE_REG_EXP)()).filter(function(S){return S.length})},R.prototype.beforeDestruct=function(N){N.e.off(".limit")},h.__decorate([x.autobind],R.prototype,"checkPreventKeyPressOrPaste",null),h.__decorate([x.autobind],R.prototype,"checkPreventChanging",null),R}(v.Plugin);function w(z,R,N){return N?z>R:z>=R}s.limit=_,C.pluginSystem.add("limit",_)},29490:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(40332),y=o(77904);h.Config.prototype.defaultLineHeight=null,y.Icon.set("line-height",o(7986)),h.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:function(x,C,_){return(0,v.memorizeExec)(x,C,{control:_.control},function(w){return w})}}},26752:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.zh_tw=s.zh_cn=s.tr=s.ru=s.pt_br=s.pl=s.nl=s.ko=s.ja=s.it=s.id=s.hu=s.he=s.fr=s.fa=s.es=s.de=s.cs_cz=s.ar=void 0;var h=o(47762);s.ar=h;var v=o(97495);s.cs_cz=v;var y=o(80131);s.de=y;var x=o(1201);s.es=x;var C=o(89912);s.fa=C;var _=o(3405);s.fr=_;var w=o(14129);s.he=w;var z=o(93729);s.hu=z;var R=o(16106);s.id=R;var N=o(89690);s.it=N;var S=o(33216);s.ja=S;var E=o(17282);s.ko=E;var O=o(91761);s.nl=O;var H=o(61675);s.pl=H;var U=o(69709);s.pt_br=U;var X=o(82591);s.ru=X;var W=o(87649);s.tr=W;var re=o(60268);s.zh_cn=re;var pe=o(58214);s.zh_tw=pe},61421:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.lineHeight=void 0;var h=o(20255),v=o(57549),y=o(40332),x=o(43441),C=o(24263),_=o(17332);o(29490);var w=function(z){function R(N){var S=z.call(this,N)||this;return S.buttons=[{name:"lineHeight",group:"font"}],(0,_.extendLang)(o(26752)),S}return h.__extends(R,z),R.prototype.afterInit=function(N){(0,y.css)(N.editor,{lineHeight:N.o.defaultLineHeight}),N.registerCommand("applyLineHeight",this.applyLineHeight)},R.prototype.applyLineHeight=function(N,S,E){var O,H=this.j,U=H.s,X=H.createInside,W=H.editor,re=H.o;U.isFocused()||U.focus(),U.save();var pe=function(Se){var De=C.Dom.closest(Se,C.Dom.isBlock,W);De||(De=C.Dom.wrap(Se,re.enter,X));var qe=(0,y.css)(De,"lineHeight");void 0===O&&(O=qe.toString()!==E.toString()),(0,y.css)(De,"lineHeight",O?E:null)};try{if(U.isCollapsed()){var Ae=X.fake();U.insertNode(Ae,!1,!1),pe(Ae),C.Dom.safeRemove(Ae)}else U.eachSelection(pe)}finally{U.restore()}},R.prototype.beforeDestruct=function(N){(0,y.css)(N.editor,{lineHeight:null})},h.__decorate([x.autobind],R.prototype,"applyLineHeight",null),R}(v.Plugin);s.lineHeight=w,_.pluginSystem.add("lineHeight",w)},56367:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(54238),y=o(24263),x=o(77904);h.Config.prototype.link={formTemplate:v.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},x.Icon.set("link",o(23075)).set("unlink",o(10655)),h.Config.prototype.controls.unlink={exec:function(C,_){var w=y.Dom.closest(_,"a",C.editor);w&&y.Dom.unwrap(w),C.synchronizeValues(),C.e.fire("hidePopup")},tooltip:"Unlink"},h.Config.prototype.controls.link={isActive:function(C){var _=C.s.current();return Boolean(_&&y.Dom.closest(_,"a",C.editor))},popup:function(C,_,w,z){return C.e.fire("generateLinkForm.link",_,z)},tags:["a"],tooltip:"Insert link"}},27582:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.link=void 0;var h=o(20255),v=o(64968),y=o(40332),x=o(57549),C=o(43441),_=o(17332);o(56367);var w=function(z){function R(){var N=null!==z&&z.apply(this,arguments)||this;return N.buttons=[{name:"link",group:"insert"}],N}return h.__extends(R,z),R.prototype.afterInit=function(N){var S=this;N.o.link.followOnDblClick&&N.e.on("dblclick.link",this.onDblClickOnLink),N.o.link.processPastedLink&&N.e.on("processPaste.link",this.onProcessPasteLink),N.e.on("generateLinkForm.link",this.__generateForm),N.registerCommand("openLinkDialog",{exec:function(){var E=N.dlg({resizable:!1}),O=S.__generateForm(N.s.current(),function(){E.close()});O.container.classList.add("jodit-dialog_alert"),E.setContent(O),E.open(),N.async.requestIdleCallback(function(){var H=(0,y.refs)(O.container).url_input;null==H||H.focus()})},hotkeys:N.o.link.hotkeys})},R.prototype.onDblClickOnLink=function(N){if(v.Dom.isTag(N.target,"a")){var S=(0,y.attr)(N.target,"href");S&&(location.href=S,N.preventDefault())}},R.prototype.onProcessPasteLink=function(N,S){var E=this.jodit;if((0,y.isURL)(S)&&E.o.link.processPastedLink){if(E.e.stopPropagation("processPaste"),E.o.link.processVideoLink){var O=(0,y.convertMediaUrlToVideoEmbed)(S);if(O!==S)return E.createInside.fromHTML(O)}if(E.s.isCollapsed()){var H=E.createInside.element("a");return H.setAttribute("href",S),H.textContent=S,E.e.fire("applyLink",E,H,null),H}return E.s.applyStyle(void 0,{element:"a",attributes:{href:S}}),!0}},R.prototype.__generateForm=function(N,S){var E,O=this.jodit,H=O.i18n.bind(O),U=O.o.link,X=U.openInNewTabCheckbox,W=U.noFollowCheckbox,re=U.formClassName,pe=U.modeClassName,Ae=(0,U.formTemplate)(O),Se=(0,y.isString)(Ae)?O.c.fromHTML(Ae,{target_checkbox_box:X,nofollow_checkbox_box:W}):Ae,De=v.Dom.isElement(Se)?Se:Se.container,qe=(0,y.refs)(De),rt=qe.insert,ot=qe.unlink,vt=qe.content_input_box,rn=qe.target_checkbox,Xt=qe.nofollow_checkbox,fn=qe.url_input,_n=v.Dom.isImage(N),hn=qe.content_input,vn=qe.className_input,xn=qe.className_select;hn||(hn=O.c.element("input",{type:"hidden",ref:"content_input"})),re&&De.classList.add(re),_n&&v.Dom.hide(vt);var dn=function(){return E?E.innerText:(0,y.stripTags)(O.s.range.cloneContents(),O.ed)};if(E=!(!N||!v.Dom.closest(N,"a",O.editor))&&v.Dom.closest(N,"a",O.editor),!_n&&N&&(hn.value=dn()),E){if(fn.value=(0,y.attr)(E,"href")||"",pe)switch(pe){case"input":vn&&(vn.value=(0,y.attr)(E,"class")||"");break;case"select":if(xn){for(var Sn=0;xn.selectedOptions.length>Sn;Sn++){var si=xn.options.item(Sn);si&&(si.selected=!1)}((0,y.attr)(E,"class")||"").split(" ").forEach(function(qn){if(qn)for(var oi=0;xn.options.length>oi;oi++){var Yn=xn.options.item(oi);(null==Yn?void 0:Yn.value)&&Yn.value===qn&&(Yn.selected=!0)}})}}X&&rn&&(rn.checked="_blank"===(0,y.attr)(E,"target")),W&&Xt&&(Xt.checked="nofollow"===(0,y.attr)(E,"rel")),rt.textContent=H("Update")}else v.Dom.hide(ot);O.editor.normalize();var cn=O.history.snapshot.make();ot&&O.e.on(ot,"click",function(qn){O.s.restore(),O.history.snapshot.restore(cn),E&&v.Dom.unwrap(E),O.synchronizeValues(),S(),qn.preventDefault()});var yn=function(){if(!fn.value.trim().length)return fn.focus(),fn.classList.add("jodit_error"),!1;var qn;O.s.restore(),O.s.removeMarkers(),O.editor.normalize(),O.history.snapshot.restore(cn);var oi=dn()!==hn.value.trim(),Yn=O.createInside;if(E)qn=[E];else{if(O.s.isCollapsed()){var Xn=Yn.element("a");O.s.insertNode(Xn,!1,!1),qn=[Xn]}else{var gi=O.s.current();qn=v.Dom.isTag(gi,["img"])?[v.Dom.wrap(gi,"a",Yn)]:O.s.wrapInTag("a")}qn.forEach(function(Mt){return O.s.select(Mt)})}return qn.forEach(function(Mt){var pn;if((0,y.attr)(Mt,"href",fn.value),pe&&(null!=vn?vn:xn))if("input"===pe)""===vn.value&&Mt.hasAttribute("class")&&(0,y.attr)(Mt,"class",null),""!==vn.value&&(0,y.attr)(Mt,"class",vn.value);else if("select"===pe){Mt.hasAttribute("class")&&(0,y.attr)(Mt,"class",null);for(var an=0;xn.selectedOptions.length>an;an++){var yt=null===(pn=xn.selectedOptions.item(an))||void 0===pn?void 0:pn.value;yt&&Mt.classList.add(yt)}}if(!_n){var Je=Mt.textContent;hn.value.trim().length?oi&&(Je=hn.value):Je=fn.value,Je!==Mt.textContent&&(Mt.textContent=Je)}X&&rn&&(0,y.attr)(Mt,"target",rn.checked?"_blank":null),W&&Xt&&(0,y.attr)(Mt,"rel",Xt.checked?"nofollow":null),O.e.fire("applyLink",O,Mt,Se)}),O.synchronizeValues(),S(),!1};return v.Dom.isElement(Se)?O.e.on(Se,"submit",function(qn){return qn.preventDefault(),qn.stopImmediatePropagation(),yn(),!1}):Se.onSubmit(yn),Se},R.prototype.beforeDestruct=function(N){N.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)},h.__decorate([C.autobind],R.prototype,"onDblClickOnLink",null),h.__decorate([C.autobind],R.prototype,"onProcessPasteLink",null),h.__decorate([C.autobind],R.prototype,"__generateForm",null),R}(x.Plugin);s.link=w,_.pluginSystem.add("link",w)},54238:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.formTemplate=void 0;var h=o(95963),v=o(96516);s.formTemplate=function(y){var x=y.o.link,C=x.openInNewTabCheckbox,_=x.noFollowCheckbox,w=x.modeClassName,z=x.selectSizeClassName,R=x.selectMultipleClassName,N=x.selectOptionsClassName;return new h.UIForm(y,[new h.UIBlock(y,[new h.UIInput(y,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new h.UIBlock(y,[new h.UIInput(y,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),w?new h.UIBlock(y,["input"===w?new h.UIInput(y,{name:"className",ref:"className_input",label:"Class name"}):"select"===w?new h.UISelect(y,{name:"className",ref:"className_select",label:"Class name",size:z,multiple:R,options:N}):null]):null,C?new h.UICheckbox(y,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,_?new h.UICheckbox(y,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new h.UIBlock(y,[new v.UIButton(y,{name:"unlink",variant:"default",text:"Unlink"}),new v.UIButton(y,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},11737:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.mediaFakeTag="jodit-media",h.Config.prototype.mediaInFakeBlock=!0,h.Config.prototype.mediaBlocks=["video","audio"]},76303:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.media=void 0;var h=o(86893),v=o(76502),y=o(17332);function x(C){var _="jodit_fake_wrapper",w=C.options,z=w.mediaFakeTag,R=w.mediaBlocks;w.mediaInFakeBlock&&C.e.on("afterGetValueFromEditor",function(N){var S=new RegExp("<".concat(z,"[^>]+data-").concat(_,"[^>]+>([^]+?)</").concat(z,">"),"ig");S.test(N.value)&&(N.value=N.value.replace(S,"$1"))}).on("change afterInit afterSetMode changePlace",C.async.debounce(function(){C.isDestructed||C.getMode()===h.MODE_SOURCE||(0,v.$$)(R.join(","),C.editor).forEach(function(N){(0,v.dataBind)(N,_)||((0,v.dataBind)(N,_,!0),function(S){var E;if(S.parentNode&&(0,v.attr)(S.parentNode,"data-jodit_iframe_wrapper"))S=S.parentNode;else{var O=C.createInside.element(z,((E={"data-jodit-temp":1,contenteditable:!1,draggable:!0})["data-".concat(_)]=1,E));(0,v.attr)(O,"style",(0,v.attr)(S,"style")),O.style.display="inline-block"===S.style.display?"inline-block":"block",O.style.width=S.offsetWidth+"px",O.style.height=S.offsetHeight+"px",S.parentNode&&S.parentNode.insertBefore(O,S),O.appendChild(S),S=O}C.e.off(S,"mousedown.select touchstart.select").on(S,"mousedown.select touchstart.select",function(){C.s.setCursorAfter(S)})}(N))})},C.defaultTimeout))}o(11737),s.media=x,y.pluginSystem.add("media",x)},8860:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(86893),y=o(81438),x=o(40332),C=o(72719);h.Config.prototype.mobileTapTimeout=300,h.Config.prototype.toolbarAdaptive=!0,h.Config.prototype.controls.dots={mode:v.MODE_SOURCE+v.MODE_WYSIWYG,popup:function(_,w,z,R,N){var S=z.data;return void 0===S&&(S={toolbar:(0,y.makeCollection)(_),rebuild:function(){var E;if(N){var O=_.e.fire("getDiffButtons.mobile",N.closest(C.ToolbarCollection));if(O&&S){S.toolbar.build((0,x.splitArray)(O));var H=(null===(E=_.toolbar.firstButton)||void 0===E?void 0:E.container.offsetWidth)||36;S.toolbar.container.style.width=3*(H+4)+"px"}}}},z.data=S),S.rebuild(),S.toolbar},tooltip:"Show all"}},19806:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.mobile=void 0;var h=o(40332),v=o(97642),y=o(17332);function x(C){var _=0,w=(0,h.splitArray)(C.o.buttons);C.o.mobileTapTimeout&&C.e.on("touchend",function(z){if(z.changedTouches&&z.changedTouches.length){var R=(new Date).getTime(),N=R-_;N>C.o.mobileTapTimeout&&(_=R,1.5*C.o.mobileTapTimeout>N&&C.s.insertCursorAtPoint(z.clientX,z.clientY))}}),C.e.on("getDiffButtons.mobile",function(z){if(z===C.toolbar){var R=(0,v.flatButtonsSet)((0,h.splitArray)(C.o.buttons),C),N=(0,v.flatButtonsSet)(w,C);return(0,h.toArray)(R).reduce(function(S,E){return N.has(E)||S.push(E),S},[])}}),C.o.toolbarAdaptive&&C.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",function(){var z;if(C.o.toolbar){var R=(null!==(z=C.container.parentElement)&&void 0!==z?z:C.container).offsetWidth,N=(0,h.splitArray)(C.isFullSize||R>=C.o.sizeLG?C.o.buttons:C.o.sizeMD>R?C.o.sizeSM>R?C.o.buttonsXS:C.o.buttonsSM:C.o.buttonsMD);N.toString()!==w.toString()&&(w=N,C.e.fire("closeAllPopups"),C.toolbar.setRemoveButtons(C.o.removeButtons).build(w.concat(C.o.extraButtons)))}}).on(C.ow,"load resize",function(){return C.e.fire("recalcAdaptive")})}o(8860),s.mobile=x,y.pluginSystem.add("mobile",x)},73013:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(63122),y=function(x,C,_){var w,z=_.control,R="button".concat(z.command),N=null!==(w=z.args&&z.args[0])&&void 0!==w?w:(0,v.dataBind)(x,R);(0,v.dataBind)(x,R,N),x.execCommand(z.command,!1,"default"===N?null:N)};o(77904).Icon.set("ol",o(15476)).set("ul",o(59403)),h.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:y},h.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:y}},52598:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.orderedList=void 0;var h=o(20255),v=o(57549),y=o(43441),x=o(17332);o(73013);var C=function(_){function w(){var z=null!==_&&_.apply(this,arguments)||this;return z.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}],z}return h.__extends(w,_),w.prototype.afterInit=function(z){z.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)},w.prototype.onCommand=function(z,R,N){return this.jodit.s.applyStyle({listStyleType:null!=N?N:null},{element:"insertunorderedlist"===z?"ul":"ol"}),this.jodit.synchronizeValues(),!1},w.prototype.beforeDestruct=function(z){},h.__decorate([y.autobind],w.prototype,"onCommand",null),w}(v.Plugin);s.orderedList=C,x.pluginSystem.add("orderedList",C)},47470:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(86893);h.Config.prototype.askBeforePasteFromWord=!0,h.Config.prototype.processPasteFromWord=!0,h.Config.prototype.defaultActionOnPasteFromWord=null,h.Config.prototype.pasteFromWordActionList=[{value:v.INSERT_AS_HTML,text:"Keep"},{value:v.INSERT_AS_TEXT,text:"Clean"},{value:v.INSERT_ONLY_TEXT,text:"Insert only Text"}]},15428:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.pasteFromWord=void 0;var h=o(20255),v=o(57549),y=o(40332),x=o(86893),C=o(43441),_=o(64280),w=o(17332);o(47470);var z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.requires=["paste"],S}return h.__extends(N,R),N.prototype.afterInit=function(S){},N.prototype.beforeDestruct=function(S){},N.prototype.processWordHTML=function(S,E,O){var H=this,U=this.j,X=U.o,W=X.askBeforePasteFromWord,re=X.defaultActionOnPasteFromWord,pe=X.defaultActionOnPaste,Ae=X.pasteFromWordActionList;return!(!X.processPasteFromWord||!(0,y.isHtmlFromWord)(E)||(W?(0,_.askInsertTypeDialog)(U,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",function(Se){H.insertFromWordByType(S,E,Se,O)},Ae):this.insertFromWordByType(S,E,re||pe,O),0))},N.prototype.insertFromWordByType=function(S,E,O,H){var U;switch(O){case x.INSERT_AS_HTML:E=(0,y.applyStyles)(E);var X=null===(U=this.j.events)||void 0===U?void 0:U.fire("beautifyHTML",E);(0,y.isString)(X)&&(E=X);break;case x.INSERT_AS_TEXT:E=(0,y.cleanFromWord)(E);break;case x.INSERT_ONLY_TEXT:E=(0,y.stripTags)((0,y.cleanFromWord)(E))}(0,_.pasteInsertHtml)(S,this.j,E)},h.__decorate([(0,C.watch)(":processHTML")],N.prototype,"processWordHTML",null),N}(v.Plugin);s.pasteFromWord=z,w.pluginSystem.add("pasteFromWord",z)},47224:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.pasteStorage=void 0;var h=o(20255);o(71708);var v=o(86893),y=o(85605),x=o(24263),C=o(40332),_=o(96031),w=o(17332),z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.currentIndex=0,S.list=[],S.container=null,S.listBox=null,S.previewBox=null,S.dialog=null,S.paste=function(){if(S.j.s.focus(),S.j.s.insertHTML(S.list[S.currentIndex]),0!==S.currentIndex){var E=S.list[0];S.list[0]=S.list[S.currentIndex],S.list[S.currentIndex]=E}S.dialog&&S.dialog.close(),S.j.synchronizeValues(),S.j.e.fire("afterPaste")},S.onKeyDown=function(E){var O=S.currentIndex;-1!==[v.KEY_UP,v.KEY_DOWN,v.KEY_ENTER].indexOf(E.key)&&(E.key===v.KEY_UP&&(0===O?O=S.list.length-1:O-=1),E.key===v.KEY_DOWN&&(O===S.list.length-1?O=0:O+=1),E.key!==v.KEY_ENTER?(O!==S.currentIndex&&S.selectIndex(O),E.stopImmediatePropagation(),E.preventDefault()):S.paste())},S.selectIndex=function(E){S.listBox&&(0,C.toArray)(S.listBox.childNodes).forEach(function(O,H){O.classList.remove("jodit_active"),E===H&&S.previewBox&&(O.classList.add("jodit_active"),S.previewBox.innerHTML=S.list[E],O.focus())}),S.currentIndex=E},S.showDialog=function(){2>S.list.length||(S.dialog||S.createDialog(),S.listBox&&(S.listBox.innerHTML=""),S.previewBox&&(S.previewBox.innerHTML=""),S.list.forEach(function(E,O){var H=S.j.c.element("a");H.textContent=O+1+". "+E.replace((0,v.SPACE_REG_EXP)(),""),S.j.e.on(H,"keydown",S.onKeyDown),(0,C.attr)(H,"href","#"),(0,C.attr)(H,"data-index",O.toString()),(0,C.attr)(H,"tab-index","-1"),S.listBox&&S.listBox.appendChild(H)}),S.dialog&&S.dialog.open(),S.j.async.setTimeout(function(){S.selectIndex(0)},100))},S}return h.__extends(N,R),N.prototype.createDialog=function(){var S=this;this.dialog=this.j.dlg();var E=(0,_.Button)(this.j,"paste","Paste","primary");E.onAction(this.paste);var O=(0,_.Button)(this.j,"","Cancel");O.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([E,O]),this.j.e.on(this.listBox,"click dblclick",function(H){var U=H.target;return x.Dom.isTag(U,"a")&&U.hasAttribute("data-index")&&S.selectIndex(parseInt((0,C.attr)(U,"-index")||"0",10)),"dblclick"===H.type&&S.paste(),!1})},N.prototype.afterInit=function(){var S=this;this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",function(){return S.list.length}).on("afterCopy.paste-storage",function(E){-1!==S.list.indexOf(E)&&S.list.splice(S.list.indexOf(E),1),S.list.unshift(E),S.list.length>5&&(S.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},N.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),x.Dom.safeRemove(this.previewBox),x.Dom.safeRemove(this.listBox),x.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},N}(y.Plugin);s.pasteStorage=z,w.pluginSystem.add("pasteStorage",z)},24703:function(m,s,o){"use strict";var h;Object.defineProperty(s,"__esModule",{value:!0});var v=o(20255),y=o(86893),x=o(93166),C=o(64280);x.Config.prototype.askBeforePasteHTML=!0,x.Config.prototype.processPasteHTML=!0,x.Config.prototype.pasteHTMLActionList=[{value:y.INSERT_AS_HTML,text:"Keep"},{value:y.INSERT_AS_TEXT,text:"Insert as Text"},{value:y.INSERT_ONLY_TEXT,text:"Insert only Text"}],x.Config.prototype.memorizeChoiceWhenPasteFragment=!1,x.Config.prototype.nl2brInPlainText=!0;var _="pasteStorage";x.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(w,z,R){var N=R.control;return v.__awaiter(this,void 0,void 0,function(){var S,E,O,H,U;return v.__generator(this,function(X){switch(X.label){case 0:if(N.name===_)return w.execCommand("showPasteStorage"),[2];if(w.s.focus(),S="",E=!0,!navigator.clipboard)return[3,11];X.label=1;case 1:return X.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(O=X.sent())&&O.length?[4,O[0].getType(y.TEXT_PLAIN)]:[3,5];case 3:return H=X.sent(),[4,new Response(H).text()];case 4:S=X.sent(),X.label=5;case 5:return E=!1,[3,7];case 6:return X.sent(),[3,7];case 7:if(!E)return[3,11];X.label=8;case 8:return X.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return S=X.sent(),E=!1,[3,11];case 10:return X.sent(),[3,11];case 11:return E&&(S=w.buffer.get(y.CLIPBOARD_ID)||"",E=0===S.length),U=w.value,E?(w.ed.execCommand("paste"),!(E=U===w.value)&&w.e.fire("afterPaste")):S.length?((0,C.pasteInsertHtml)(null,w,S),w.e.fire("afterPaste")):E&&w.alert("Your browser doesn't support direct access to the clipboard.",function(){w.s.focus()}),[2]}})})},list:(h={},h[_]="Paste Storage",h),isChildDisabled:function(w){return 2>w.e.fire("pasteStorageList")}}},64280:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.askInsertTypeDialog=s.getAllTypes=s.pasteInsertHtml=void 0;var h=o(20255),v=o(10172),y=o(24263),x=o(86893),C=o(96031);s.pasteInsertHtml=function(_,w,z){if(!w.isInDestruct){N=_,Boolean(N&&"drop"===N.type)&&w.s.insertCursorAtPoint(_.clientX,_.clientY);var R=w.e.fire("beforePasteInsert",z);!(0,v.isVoid)(R)&&((0,v.isString)(R)||(0,v.isNumber)(R)||y.Dom.isNode(R))&&(z=R),(0,v.isString)(z)&&(z=function(N){var S=(N=N.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==S&&(N=N.substring(S+20));var E=N.search(/<!--EndFragment-->/i);return-1!==E&&(N=N.substring(0,E)),N}(z)),w.s.insertHTML(z)}var N},s.getAllTypes=function(_){var w=_.types,z="";if((0,v.isArray)(w)||"[object DOMStringList]"==={}.toString.call(w))for(var R=0;w.length>R;R+=1)z+=w[R]+";";else z=(w||x.TEXT_PLAIN).toString()+";";return z},s.askInsertTypeDialog=function(_,w,z,R,N){if(!1!==_.e.fire("beforeOpenPasteDialog",w,z,R,N)){var S=_.confirm('<div style="word-break: normal; white-space: normal">'.concat(_.i18n(w),"</div>"),_.i18n(z)),E=N.map(function(H){var U=H.text,X=H.value;return(0,C.Button)(_,{text:U,name:U.toLowerCase(),tabIndex:0}).onAction(function(){S.close(),R(X)})});S.e.one(S,"afterClose",function(){_.s.isFocused()||_.s.focus()});var O=(0,C.Button)(_,{text:"Cancel",tabIndex:0}).onAction(function(){S.close()});return S.setFooter(h.__spreadArray(h.__spreadArray([],h.__read(E),!1),[O],!1)),E[0].focus(),E[0].state.variant="primary",_.e.fire("afterOpenPasteDialog",S,w,z,R,N),S}}},19483:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.paste=void 0;var h=o(20255),v=o(85605),y=o(86893),x=o(24263),C=o(43441),_=o(40332),w=o(17332),z=o(64280);o(24703);var R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.pasteStack=new _.LimitedStack(20),E._isDialogOpened=!1,E}return h.__extends(S,N),S.prototype.afterInit=function(E){var O=this;E.e.on("paste.paste",this.onPaste).on("pasteStack.paste",function(H){return O.pasteStack.push(H)}),E.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},S.prototype.beforeDestruct=function(E){E.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},S.prototype.onPaste=function(E){try{if(!1===this.customPasteProcess(E)||!1===this.j.e.fire("beforePaste",E))return E.preventDefault(),!1;this.defaultPasteProcess(E)}finally{this.j.e.fire("afterPaste",E)}},S.prototype.customPasteProcess=function(E){if(this.j.o.processPasteHTML){var O,H=(0,_.getDataTransfer)(E),U={html:null==H?void 0:H.getData(y.TEXT_HTML),plain:null==H?void 0:H.getData(y.TEXT_PLAIN),rtf:null==H?void 0:H.getData(y.TEXT_RTF)};for(O in U){var X=U[O];if((0,_.isHTML)(X)&&(this.j.e.fire("processHTML",E,X,U)||this.processHTML(E,X)))return!1}}},S.prototype.defaultPasteProcess=function(E){var O=(0,_.getDataTransfer)(E),H=(null==O?void 0:O.getData(y.TEXT_HTML))||(null==O?void 0:O.getData(y.TEXT_PLAIN));if(O&&H&&""!==(0,_.trim)(H)){var U=this.j.e.fire("processPaste",E,H,(0,z.getAllTypes)(O));void 0!==U&&(H=U),((0,_.isString)(H)||x.Dom.isNode(H))&&this.insertByType(E,H,this.j.o.defaultActionOnPaste),E.preventDefault(),E.stopPropagation()}},S.prototype.processHTML=function(E,O){var H=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var U=this.pasteStack.find(function(W){return W.html===O});if(U)return this.insertByType(E,O,U.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var X=(0,z.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",function(W){H._isDialogOpened=!1,H.insertByType(E,O,W)},this.j.o.pasteHTMLActionList);return X&&(this._isDialogOpened=!0,X.e.on("beforeClose",function(){H._isDialogOpened=!1})),!0}return!1},S.prototype.insertByType=function(E,O,H){if(this.pasteStack.push({html:O,action:H}),(0,_.isString)(O))switch(this.j.buffer.set(y.CLIPBOARD_ID,O),H){case y.INSERT_CLEAR_HTML:O=(0,_.cleanFromWord)(O);break;case y.INSERT_ONLY_TEXT:O=(0,_.stripTags)(O);break;case y.INSERT_AS_TEXT:O=(0,_.htmlspecialchars)(O)}(0,z.pasteInsertHtml)(E,this.j,O)},S.prototype.onProcessPasteReplaceNl2Br=function(E,O,H){if(H===y.TEXT_PLAIN+";"&&!(0,_.isHTML)(O))return(0,_.nl2br)(O)},h.__decorate([C.autobind],S.prototype,"onPaste",null),h.__decorate([C.autobind],S.prototype,"onProcessPasteReplaceNl2Br",null),S}(v.Plugin);s.paste=R,w.pluginSystem.add("paste",R)},76952:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.showPlaceholder=!0,h.Config.prototype.placeholder="Type something",h.Config.prototype.useInputsPlaceholder=!0},83211:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.placeholder=s.isEditorEmpty=void 0;var h=o(20255);o(51629);var v=o(86893),y=o(67309),x=o(26911),C=o(37204),_=o(24263),w=o(85605),z=o(86893),R=o(43441),N=o(17332);function S(O){var H;if(!O.firstChild)return!0;var U=O.firstChild;if(z.INSEPARABLE_TAGS.has(null===(H=U.nodeName)||void 0===H?void 0:H.toLowerCase())||/^(TABLE)$/i.test(U.nodeName))return!1;var X=_.Dom.next(U,function(W){return W&&!_.Dom.isEmptyTextNode(W)},O);return _.Dom.isText(U)&&!X?_.Dom.isEmptyTextNode(U):!X&&_.Dom.each(U,function(W){return!_.Dom.isTag(W,["ul","li","ol"])&&(_.Dom.isEmpty(W)||_.Dom.isTag(W,"br"))})}o(76952),s.isEditorEmpty=S;var E=function(O){function H(){var U=null!==O&&O.apply(this,arguments)||this;return U.addNativeListeners=function(){U.j.e.off(U.j.editor,"input.placeholder keydown.placeholder").on(U.j.editor,"input.placeholder keydown.placeholder",U.toggle)},U.addEvents=function(){var X=U.j;X.o.useInputsPlaceholder&&X.element.hasAttribute("placeholder")&&(U.placeholderElm.innerHTML=(0,y.attr)(X.element,"placeholder")||""),X.e.fire("placeholder",U.placeholderElm.innerHTML),X.e.off(".placeholder").on("changePlace.placeholder",U.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",U.toggle).on(window,"load",U.toggle),U.addNativeListeners(),U.toggle()},U}return h.__extends(H,O),H.prototype.afterInit=function(U){var X=this;U.o.showPlaceholder&&(this.placeholderElm=U.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(U.i18n(U.o.placeholder),"</span>")),"rtl"===U.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),U.e.on("readonly",function(W){W?X.hide():X.toggle()}).on("changePlace",this.addEvents),this.addEvents())},H.prototype.show=function(){var U=this.j;if(!U.o.readonly){var X=0,W=0,re=U.s.current(),pe=re&&_.Dom.closest(re,_.Dom.isBlock,U.editor)||U.editor,Ae=U.ew.getComputedStyle(pe),Se=U.ew.getComputedStyle(U.editor);U.workplace.appendChild(this.placeholderElm);var De=U.editor.firstChild;if(_.Dom.isElement(De)&&!(0,C.isMarker)(De)){var qe=U.ew.getComputedStyle(De);X=parseInt(qe.getPropertyValue("margin-top"),10),W=parseInt(qe.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(qe.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=qe.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(Ae.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=Ae.getPropertyValue("line-height");(0,x.css)(this.placeholderElm,{display:"block",textAlign:Ae.getPropertyValue("text-align"),paddingTop:parseInt(Se.paddingTop,10)+"px",paddingLeft:parseInt(Se.paddingLeft,10)+"px",paddingRight:parseInt(Se.paddingRight,10)+"px",marginTop:Math.max(parseInt(Ae.getPropertyValue("margin-top"),10),X),marginLeft:Math.max(parseInt(Ae.getPropertyValue("margin-left"),10),W)})}},H.prototype.hide=function(){_.Dom.safeRemove(this.placeholderElm)},H.prototype.toggle=function(){var U=this.j;U.editor&&!U.isInDestruct&&(U.getRealMode()===v.MODE_WYSIWYG&&S(U.editor)?this.show():this.hide())},H.prototype.beforeDestruct=function(U){this.hide(),U.e.off(".placeholder").off(window,"load",this.toggle)},h.__decorate([(0,R.debounce)(function(U){return U.defaultTimeout/10},!0)],H.prototype,"toggle",null),H}(w.Plugin);s.placeholder=E,N.pluginSystem.add("placeholder",E)},88297:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.poweredByJodit=void 0;var h=o(17332);function v(y){var x=y.o;x.hidePoweredByJodit||x.inline||!(x.showCharsCounter||x.showWordsCounter||x.showXPathInStatusbar)||y.hookStatus("ready",function(){y.statusbar.append(y.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)})}s.poweredByJodit=v,h.pluginSystem.add("poweredByJodit",v)},72930:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.preview=void 0,o(54860);var h=o(93166),v=o(86893),y=o(21498),x=o(17332);function C(_){_.registerButton({name:"preview"}),_.registerCommand("preview",function(w,z,R){var N=_.dlg();N.setSize(1024,600).open("",_.i18n("Preview")).setModal(!0),(0,y.previewBox)(_,R,"px",N.getElm("content"))})}h.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:v.MODE_SOURCE+v.MODE_WYSIWYG,tooltip:"Preview"},s.preview=C,x.pluginSystem.add("preview",C)},20137:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.generateCriticalCSS=void 0;var h=o(20255),v=o(1853);s.generateCriticalCSS=function(y){var x=function(_,w){return void 0===w&&(w=_.ownerDocument.styleSheets),(0,v.toArray)(w).map(function(z){try{return(0,v.toArray)(z.cssRules)}catch(R){}return[]}).flat().filter(function(z){try{return Boolean(z&&_.matches(z.selectorText))}catch(R){}return!1})},C=function(){function _(w,z,R){var N=this;this.css={};var S=R||{},E=function(O){var H=O.selectorText.split(",").map(function(re){return re.trim()}).sort().join(",");!1===Boolean(N.css[H])&&(N.css[H]={});for(var U=O.style.cssText.split(/;(?![A-Za-z0-9])/),X=0;U.length>X;X++)if(U[X]){var W=U[X].split(":");W[0]=W[0].trim(),W[1]=W[1].trim(),N.css[H][W[0]]=W[1].replace(/var\(([^)]+)\)/g,function(re,pe){var Ae=h.__read(pe.split(","),2),Se=Ae[0],De=Ae[1];return(y.ew.getComputedStyle(y.editor).getPropertyValue(Se.trim())||De||re).trim()})}};!function(){for(var O=w.innerHeight,H=z.createTreeWalker(y.editor,NodeFilter.SHOW_ELEMENT,function(){return NodeFilter.FILTER_ACCEPT});H.nextNode();){var U=H.currentNode;if(O>U.getBoundingClientRect().top||S.scanFullPage){var X=x(U);if(X)for(var W=0;X.length>W;W++)E(X[W])}}}()}return _.prototype.generateCSS=function(){var w="";for(var z in this.css)if(!/:not\(/.test(z)){for(var R in w+=z+" { ",this.css[z])w+=R+": "+this.css[z][R]+"; ";w+="}\n"}return w},_}();try{return new C(y.ew,y.ed,{scanFullPage:!0}).generateCSS()}catch(_){}return""}},51197:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.print=void 0;var h=o(93166),v=o(17332),y=o(64968),x=o(93351),C=o(86893),_=o(17332),w=o(77904),z=o(20137),R=o(21498);function N(S){S.registerButton({name:"print"})}w.Icon.set("print",o(22860)),h.Config.prototype.controls.print={exec:function(S){var E=S.create.element("iframe");Object.assign(E.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,v.getContainer)(S,h.Config).appendChild(E);var O=function(){S.e.off(S.ow,"mousemove",O),y.Dom.safeRemove(E)},H=E.contentWindow;if(H){S.e.on(H,"onbeforeunload onafterprint",O).on(S.ow,"mousemove",O),S.o.iframe?(S.e.fire("generateDocumentStructure.iframe",H.document,S),H.document.body.innerHTML=S.value):(H.document.write('<!doctype html><html lang="'+(0,x.defaultLanguage)(S.o.language)+'"><head><title></title></head><style>'+(0,z.generateCriticalCSS)(S)+"</style><body></body></html>"),H.document.close(),(0,R.previewBox)(S,void 0,"px",H.document.body));var U=H.document.createElement("style");U.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",H.document.head.appendChild(U),H.focus(),H.print()}},mode:C.MODE_SOURCE+C.MODE_WYSIWYG,tooltip:"Print"},s.print=N,_.pluginSystem.add("print",N)},2327:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.redoUndo=void 0;var h=o(20255),v=o(93166),y=o(86893),x=o(85605),C=o(17332);o(77904).Icon.set("redo",o(95600)).set("undo",o(76214)),v.Config.prototype.controls.redo={mode:y.MODE_SPLIT,isDisabled:function(w){return!w.history.canRedo()},tooltip:"Redo"},v.Config.prototype.controls.undo={mode:y.MODE_SPLIT,isDisabled:function(w){return!w.history.canUndo()},tooltip:"Undo"};var _=function(w){function z(){var R=null!==w&&w.apply(this,arguments)||this;return R.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],R}return h.__extends(z,w),z.prototype.beforeDestruct=function(){},z.prototype.afterInit=function(R){var N=function(S){return R.history[S](),!1};R.registerCommand("redo",{exec:N,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),R.registerCommand("undo",{exec:N,hotkeys:["ctrl+z","cmd+z"]})},z}(x.Plugin);s.redoUndo=_,C.pluginSystem.add("redoUndo",_)},52444:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.tableAllowCellResize=!0},47608:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.resizeCells=void 0;var h=o(20255);o(47818);var v=o(86893),y=o(87837),x=o(40332),C=o(43441),_=o(24263),w=o(17332);o(52444);var z="table_processor_observer-resize",R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.selectMode=!1,E.resizeDelta=0,E.createResizeHandle=function(){E.resizeHandler||(E.resizeHandler=E.j.c.div("jodit-table-resizer"),E.j.e.on(E.resizeHandler,"mousedown.table touchstart.table",E.onHandleMouseDown).on(E.resizeHandler,"mouseenter.table",function(){E.j.async.clearTimeout(E.hideTimeout)}))},E.hideTimeout=0,E.drag=!1,E.minX=0,E.maxX=0,E.startX=0,E}return h.__extends(S,N),Object.defineProperty(S.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"isRTL",{get:function(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),S.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},S.prototype.hideResizeHandle=function(){var E=this;this.hideTimeout=this.j.async.setTimeout(function(){_.Dom.safeRemove(E.resizeHandler)},{timeout:this.j.defaultTimeout,label:"hideResizer"})},S.prototype.onHandleMouseDown=function(E){var O=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=E.clientX,this.j.lock(z),this.resizeHandler.classList.add("jodit-table-resizer_moved");var H,U=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)U=this.workTable.parentNode.getBoundingClientRect(),this.minX=U.left,this.maxX=this.minX+U.width;else{var X=y.Table.formalCoordinate(this.workTable,this.workCell,!0);y.Table.formalMatrix(this.workTable,function(W,re,pe){X[1]===pe&&(H=W.getBoundingClientRect(),O.minX=Math.max(H.left+v.NEARBY/2,O.minX)),X[1]+(O.isRTL?-1:1)===pe&&(H=W.getBoundingClientRect(),O.maxX=Math.min(H.left+H.width-v.NEARBY/2,O.maxX))})}return!1}},S.prototype.onMouseMove=function(E){if(this.drag){this.j.e.fire("closeAllPopups");var O=E.clientX,H=(0,x.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>O&&(O=this.minX),O>this.maxX&&(O=this.maxX),this.resizeDelta=O-this.startX+(this.j.o.iframe?H.left:0),this.resizeHandler.style.left=O-(this.j.o.iframe?0:H.left)+"px";var U=this.j.s.sel;U&&U.removeAllRanges()}},S.prototype.onMouseUp=function(E){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==E.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},S.prototype.resizeColumns=function(){var E=this.resizeDelta,O=[];y.Table.setColumnWidthByDelta(this.workTable,y.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],E,!0,O);var H=(0,x.call)(this.isRTL?_.Dom.prev:_.Dom.next,this.workCell,_.Dom.isCell,this.workCell.parentNode);y.Table.setColumnWidthByDelta(this.workTable,y.Table.formalCoordinate(this.workTable,H)[1],-E,!1,O)},S.prototype.resizeTable=function(){var E=this.resizeDelta*(this.isRTL?-1:1),O=this.workTable.offsetWidth,H=(0,x.getContentWidth)(this.workTable.parentNode,this.j.ew),U=!this.wholeTable;if(this.isRTL?!U:U)this.workTable.style.width=(O+E)/H*100+"%";else{var X=this.isRTL?"marginRight":"marginLeft",W=parseInt(this.j.ew.getComputedStyle(this.workTable)[X]||"0",10);this.workTable.style.width=(O-E)/H*100+"%",this.workTable.style[X]=(W+E)/H*100+"%"}},S.prototype.setWorkCell=function(E,O){void 0===O&&(O=null),this.wholeTable=O,this.workCell=E,this.workTable=_.Dom.up(E,function(H){return _.Dom.isTag(H,"table")},this.j.editor)},S.prototype.calcHandlePosition=function(E,O,H,U){void 0===H&&(H=0),void 0===U&&(U=0);var X=(0,x.offset)(O,this.j,this.j.ed);if(H>v.NEARBY&&X.width-v.NEARBY>H)this.hideResizeHandle();else{var W=(0,x.offset)(this.j.workplace,this.j,this.j.od,!0),re=(0,x.offset)(E,this.j,this.j.ed);if(this.resizeHandler.style.left=(H>v.NEARBY?X.left+X.width:X.left)-W.left+U+"px",Object.assign(this.resizeHandler.style,{height:re.height+"px",top:re.top-W.top+"px"}),this.showResizeHandle(),H>v.NEARBY){var pe=(0,x.call)(this.isRTL?_.Dom.prev:_.Dom.next,O,_.Dom.isCell,O.parentNode);this.setWorkCell(O,!!pe&&null)}else{var Ae=(0,x.call)(this.isRTL?_.Dom.next:_.Dom.prev,O,_.Dom.isCell,O.parentNode);this.setWorkCell(Ae||O,!Ae||null)}}},S.prototype.afterInit=function(E){var O=this;E.o.tableAllowCellResize&&E.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",function(){(0,x.$$)("table",E.editor).forEach(O.observe)}).on(this.j.ow,"scroll.resize-cells",function(){if(O.drag){var H=_.Dom.up(O.workCell,function(X){return _.Dom.isTag(X,"table")},E.editor);if(H){var U=H.getBoundingClientRect();O.resizeHandler.style.top=U.top+"px"}}}).on("beforeSetMode.resize-cells",function(){O.module.getAllSelectedCells().forEach(function(H){O.module.removeSelection(H),y.Table.normalizeTable(_.Dom.closest(H,"table",E.editor))})})},S.prototype.observe=function(E){var O=this;(0,x.dataBind)(E,z)||((0,x.dataBind)(E,z,!0),this.j.e.on(E,"mouseleave.resize-cells",function(H){O.resizeHandler&&O.resizeHandler!==H.relatedTarget&&O.hideResizeHandle()}).on(E,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle(function(H){if(!O.j.isLocked){var U=_.Dom.up(H.target,_.Dom.isCell,E);U&&O.calcHandlePosition(E,U,H.offsetX)}},{timeout:this.j.defaultTimeout})),this.createResizeHandle())},S.prototype.beforeDestruct=function(E){E.events&&(E.e.off(this.j.ow,".resize-cells"),E.e.off(".resize-cells"))},h.__decorate([C.autobind],S.prototype,"onHandleMouseDown",null),h.__decorate([C.autobind],S.prototype,"onMouseMove",null),h.__decorate([C.autobind],S.prototype,"onMouseUp",null),h.__decorate([C.autobind],S.prototype,"observe",null),S}(y.Plugin);s.resizeCells=R,w.pluginSystem.add("resizeCells",R)},91637:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.allowResizeX=!1,h.Config.prototype.allowResizeY=!0},90523:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.resizeHandler=void 0;var h=o(20255),v=o(57549),y=o(64968),x=o(43441),C=o(2074),_=o(17332);o(91637);var w=function(z){function R(){var N=null!==z&&z.apply(this,arguments)||this;return N.isResized=!1,N.start={x:0,y:0,w:0,h:0},N.handle=N.j.c.div("jodit-editor__resize",C.Icon.get("resize_handler")),N}return h.__extends(R,z),R.prototype.afterInit=function(N){var S=this,E=N.o,O=E.height,H=E.width,U=N.o.allowResizeY;"auto"===O&&"auto"!==H&&(U=!1),"auto"===O&&"auto"===H||!E.allowResizeX&&!U||(N.statusbar.setMod("resize-handle",!0),N.e.on("toggleFullSize.resizeHandler",function(){S.handle.style.display=N.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(N.ow,"mouseup touchend",this.onHandleResizeEnd),N.container.appendChild(this.handle))},R.prototype.onHandleResizeStart=function(N){this.isResized=!0,this.start.x=N.clientX,this.start.y=N.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),N.preventDefault()},R.prototype.onHandleResize=function(N){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+N.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+N.clientX-this.start.x),this.j.e.fire("resize"))},R.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},R.prototype.beforeDestruct=function(){y.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},R.requires=["size"],h.__decorate([x.autobind],R)}(v.Plugin);s.resizeHandler=w,_.pluginSystem.add("resizeHandler",w)},36560:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],h.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},69257:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.resizer=void 0;var h=o(20255);o(6316);var v=o(86893),y=o(86893),x=o(24263),C=o(40332),_=o(85605),w=o(17332),z=o(43441),R=o(17332);o(36560);var N="__jodit-resizer_binded",S=function(E){function O(){var H=null!==E&&E.apply(this,arguments)||this;return H.LOCK_KEY="resizer",H.element=null,H.isResizeMode=!1,H.isShown=!1,H.startX=0,H.startY=0,H.width=0,H.height=0,H.ratio=0,H.rect=H.j.c.fromHTML('<div title="'.concat(H.j.i18n("Press Alt for custom resizing"),'" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>')),H.sizeViewer=H.rect.getElementsByTagName("span")[0],H.pointerX=0,H.pointerY=0,H.isAltMode=!1,H.onClickElement=function(U){H.isResizeMode||H.element===U&&H.isShown||(H.element=U,H.show(),x.Dom.isTag(H.element,"img")&&!H.element.complete&&H.j.e.one(H.element,"load",H.updateSize))},H.updateSize=function(){if(!H.isInDestruct&&H.isShown&&H.element&&H.rect){var U=H.getWorkplacePosition(),X=(0,C.offset)(H.element,H.j,H.j.ed),W=parseInt(H.rect.style.left||"0",10),re=parseInt(H.rect.style.top||"0",10),pe=X.top-U.top,Ae=X.left-U.left;re===pe&&W===Ae&&H.rect.offsetWidth===H.element.offsetWidth&&H.rect.offsetHeight===H.element.offsetHeight||((0,C.css)(H.rect,{top:pe,left:Ae,width:H.element.offsetWidth,height:H.element.offsetHeight}),H.j.events&&(H.j.e.fire(H.element,"changesize"),isNaN(W)||H.j.e.fire("resize")))}},H.hideSizeViewer=function(){H.sizeViewer.style.opacity="0"},H}return h.__extends(O,E),O.prototype.afterInit=function(H){var U=this;(0,C.$$)("div",this.rect).forEach(function(X){H.e.on(X,"mousedown.resizer touchstart.resizer",U.onStartResizing.bind(U,X))}),w.eventEmitter.on("hideHelpers",this.hide),H.e.on("readonly",function(X){X&&U.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",function(X){var W=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;W.test(X.value)&&(X.value=X.value.replace(W,"$1"))}).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()},O.prototype.onEditorClick=function(H){for(var U=H.target,X=this.j,W=X.editor,re=X.options.allowResizeTags;U&&U!==W;){if(x.Dom.isTag(U,re))return this.bind(U),void this.onClickElement(U);U=U.parentNode}},O.prototype.addEventListeners=function(){var H=this,U=this.j;U.e.off(U.editor,".resizer").off(U.ow,".resizer").on(U.editor,"keydown.resizer",function(X){H.isShown&&X.key===v.KEY_DELETE&&H.element&&!x.Dom.isTag(H.element,"table")&&H.onDelete(X)}).on(U.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([U.ow,U.editor],"scroll.resizer",function(){H.isShown&&!H.isResizeMode&&H.hide()}).on(U.ow,"keydown.resizer",this.onKeyDown).on(U.ow,"keyup.resizer",this.onKeyUp).on(U.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)},O.prototype.onStartResizing=function(H,U){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=H,U.cancelable&&U.preventDefault(),U.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=U.clientX,this.startY=U.clientY,this.pointerX=U.clientX,this.pointerY=U.clientY;var X=this.j;X.e.fire("hidePopup"),X.lock(this.LOCK_KEY),X.e.on(X.ow,"mousemove.resizer touchmove.resizer",this.onResize)},O.prototype.onEndResizing=function(){var H=this.j;H.unlock(),this.isResizeMode=!1,this.isAltMode=!1,H.synchronizeValues(),H.e.off(H.ow,"mousemove.resizer touchmove.resizer",this.onResize)},O.prototype.onResize=function(H){if(this.isResizeMode){if(!this.element)return;this.pointerX=H.clientX,this.pointerY=H.clientY;var U=void 0,X=void 0;if(this.j.options.iframe){var W=this.getWorkplacePosition();U=H.clientX+W.left-this.startX,X=H.clientY+W.top-this.startY}else U=this.pointerX-this.startX,X=this.pointerY-this.startY;var re=this.handle.className,pe=0,Ae=0,Se=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===Se||Array.isArray(Se)&&x.Dom.isTag(this.element,Se))?(U?(pe=this.width+(re.match(/left/)?-1:1)*U,Ae=Math.round(pe/this.ratio)):(Ae=this.height+(re.match(/top/)?-1:1)*X,pe=Math.round(Ae*this.ratio)),pe>(0,C.innerWidth)(this.j.editor,this.j.ow)&&(pe=(0,C.innerWidth)(this.j.editor,this.j.ow),Ae=Math.round(pe/this.ratio))):(pe=this.width+(re.match(/left/)?-1:1)*U,Ae=this.height+(re.match(/top/)?-1:1)*X),pe>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>pe?pe:"100%"),Ae>this.j.o.resizer.min_height&&this.applySize(this.element,"height",Ae),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),H.stopImmediatePropagation()}},O.prototype.onKeyDown=function(H){this.isAltMode=H.key===y.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()},O.prototype.onKeyUp=function(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1},O.prototype.onClickOutside=function(H){if(this.isShown){if(!this.isResizeMode)return this.hide();H.stopImmediatePropagation(),this.onEndResizing()}},O.prototype.getWorkplacePosition=function(){return(0,C.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)},O.prototype.applySize=function(H,U,X){var W=x.Dom.isImage(H)&&this.j.o.resizer.forImageChangeAttributes;W&&(0,C.attr)(H,U,X),W&&!H.style[U]||(0,C.css)(H,U,X)},O.prototype.onDelete=function(H){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(x.Dom.safeRemove(this.element),this.hide(),H.preventDefault()))},O.prototype.onChangeEditor=function(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,C.$$)("iframe",this.j.editor).forEach(this.bind)},O.prototype.bind=function(H){var U=this;if(x.Dom.isHTMLElement(H)&&this.j.o.allowResizeTags.includes(H.tagName.toLowerCase())&&!(0,C.dataBind)(H,N)){var X;if((0,C.dataBind)(H,N,!0),x.Dom.isTag(H,"iframe")){var W=H;x.Dom.isHTMLElement(H.parentNode)&&(0,C.attr)(H.parentNode,"-jodit_iframe_wrapper")?H=H.parentNode:(X=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,C.attr)(X,"style",(0,C.attr)(H,"style")),(0,C.css)(X,{display:"inline-block"===H.style.display?"inline-block":"block",width:H.offsetWidth,height:H.offsetHeight}),H.parentNode&&H.parentNode.insertBefore(X,H),X.appendChild(H),this.j.e.on(X,"click",function(){(0,C.attr)(X,"data-jodit-wrapper_active",!0)}),H=X),this.j.e.off(H,"mousedown.select touchstart.select").on(H,"mousedown.select touchstart.select",function(){U.j.s.select(H)}).off(H,"changesize").on(H,"changesize",function(){W.setAttribute("width",H.offsetWidth+"px"),W.setAttribute("height",H.offsetHeight+"px")})}this.j.e.on(H,"dragstart",this.hide),y.IS_IE&&this.j.e.on(H,"mousedown",function(re){x.Dom.isTag(H,"img")&&re.preventDefault()})}},O.prototype.showSizeViewer=function(H,U){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>H||this.sizeViewer.offsetHeight>U?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(H," x ").concat(U),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))},O.prototype.show=function(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,C.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,C.css)(this.j.container,"zIndex").toString()),this.updateSize())},O.prototype.hide=function(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,x.Dom.safeRemove(this.rect),(0,C.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(function(H){return(0,C.attr)(H,"data-jodit-wrapper_active",!1)}))},O.prototype.beforeDestruct=function(H){this.hide(),w.eventEmitter.off("hideHelpers",this.hide),H.e.off(this.j.ow,".resizer").off(".resizer")},h.__decorate([(0,z.watch)(":click")],O.prototype,"onEditorClick",null),h.__decorate([z.autobind],O.prototype,"onStartResizing",null),h.__decorate([z.autobind],O.prototype,"onEndResizing",null),h.__decorate([z.autobind],O.prototype,"onResize",null),h.__decorate([z.autobind],O.prototype,"onKeyDown",null),h.__decorate([z.autobind],O.prototype,"onKeyUp",null),h.__decorate([z.autobind],O.prototype,"onClickOutside",null),h.__decorate([(0,z.debounce)()],O.prototype,"onChangeEditor",null),h.__decorate([z.autobind],O.prototype,"bind",null),h.__decorate([z.autobind],O.prototype,"hide",null),O}(_.Plugin);s.resizer=S,R.pluginSystem.add("resizer",S)},61975:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);o(59535),h.Config.prototype.useSearch=!0,h.Config.prototype.search={lazyIdleTimeout:0},v.Icon.set("search",o(41197)),h.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec:function(y,x,C){var _=C.control;switch(_.args&&_.args[0]){case"findPrevious":y.e.fire("searchPrevious");break;case"findNext":y.e.fire("searchNext");break;case"replace":y.execCommand("openReplaceDialog");break;default:y.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:function(y,x,C){return C}}},73934:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(18562),s),h.__exportStar(o(3928),s)},18562:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.SentenceFinder=void 0;var h=o(20255),v=o(93163),y=function(){function x(C){void 0===C&&(C=v.fuzzySearchIndex),this.searchIndex=C,this.queue=[],this.value=""}return x.prototype.add=function(C){var _,w=(null!==(_=C.nodeValue)&&void 0!==_?_:"").toLowerCase();if(w.length){var z=this.value.length;this.queue.push({startIndex:z,endIndex:z+w.length,node:C}),this.value+=w}},x.prototype.ranges=function(C,_){var w;void 0===_&&(_=0);var z=[],R=_,N=0,S=0;do{if(N=(w=h.__read(this.searchIndex(C,this.value,R),2))[1],-1!==(R=w[0])){for(var E=void 0,O=0,H=void 0,U=0,X=S;this.queue.length>X;X+=1)if(!E&&this.queue[X].endIndex>R&&(E=this.queue[X].node,O=R-this.queue[X].startIndex),E&&this.queue[X].endIndex>=R+N){H=this.queue[X].node,U=R+N-this.queue[X].startIndex,S=X;break}E&&H&&z.push({startContainer:E,startOffset:O,endContainer:H,endOffset:U}),R+=N}}while(-1!==R);return 0===z.length?null:z},x}();s.SentenceFinder=y},3928:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.isSelectionWrapper=s.clearSelectionWrappersFromHTML=s.clearSelectionWrappers=s.getSelectionWrappers=s.wrapRangesTextsInTmpSpan=void 0;var h=o(20255),v=o(24263),y=o(54188),x="jd-tmp-selection";function C(w){return(0,y.$$)("[".concat(x,"]"),w)}function _(w){return v.Dom.isElement(w)&&w.hasAttribute(x)}s.wrapRangesTextsInTmpSpan=function(w,z,R,N){var S,E,O;if(null!=w.startContainer.nodeValue&&null!=w.endContainer.nodeValue){var H=R.element("span",((S={})[x]=!0,S));v.Dom.markTemporary(H);var U=w.startContainer.nodeValue,X=0;if(0!==w.startOffset){var W=R.text(U.substring(0,w.startOffset));w.startContainer.nodeValue=U.substring(w.startOffset),v.Dom.before(w.startContainer,W),w.startContainer===w.endContainer&&(w.endOffset-=X=w.startOffset),w.startOffset=0}var re=w.endContainer.nodeValue;if(w.endOffset!==re.length){W=R.text(re.substring(w.endOffset)),w.endContainer.nodeValue=re.substring(0,w.endOffset),v.Dom.after(w.endContainer,W);try{for(var pe=h.__values(z),Ae=pe.next();!Ae.done;Ae=pe.next()){var Se=Ae.value;if(Se.startContainer!==w.endContainer)break;Se.startContainer=W,Se.startOffset=Se.startOffset-w.endOffset-X,Se.endContainer===w.endContainer&&(Se.endContainer=W,Se.endOffset=Se.endOffset-w.endOffset-X)}}catch(rt){E={error:rt}}finally{try{Ae&&!Ae.done&&(O=pe.return)&&O.call(pe)}finally{if(E)throw E.error}}w.endOffset=w.endContainer.nodeValue.length}var De=w.startContainer;do{if(!De||(v.Dom.isText(De)&&!_(De.parentNode)&&v.Dom.wrap(De,H.cloneNode(),R),De===w.endContainer))break;var qe=De.firstChild||De.nextSibling;if(!qe){for(;De&&!De.nextSibling&&De!==N;)De=De.parentNode;qe=null==De?void 0:De.nextSibling}De=qe}while(De&&De!==N)}},s.getSelectionWrappers=C,s.clearSelectionWrappers=function(w){C(w).forEach(function(z){return v.Dom.unwrap(z)})},s.clearSelectionWrappersFromHTML=function(w){return w.replace(RegExp("<span[^>]+".concat(x,"[^>]+>(.*?)</span>"),"g"),"$1")},s.isSelectionWrapper=_},59535:function(){},14889:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.search=void 0;var h=o(20255),v=o(64968),y=o(57549),x=o(43441),C=o(72235),_=o(40332),w=o(17332),z=o(73934);o(61975);var R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.buttons=[{name:"find",group:"search"}],E.previousQuery="",E.drawPromise=null,E.walker=null,E.walkerCount=null,E.cache={},E.wrapFrameRequest=0,E}return h.__extends(S,N),Object.defineProperty(S.prototype,"ui",{get:function(){return new C.UISearch(this.j)},enumerable:!1,configurable:!0}),S.prototype.updateCounters=function(){return h.__awaiter(this,void 0,Promise,function(){var E;return h.__generator(this,function(O){switch(O.label){case 0:return this.ui.isOpened?(E=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return E.count=O.sent(),[2]}})})},S.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},S.prototype.tryScrollToElement=function(E){var O=v.Dom.closest(E,v.Dom.isElement,this.j.editor);O||(O=v.Dom.prev(E,v.Dom.isElement,this.j.editor)),O&&O!==this.j.editor&&(0,_.scrollIntoViewIfNeeded)(O,this.j.editor,this.j.ed)},S.prototype.calcCounts=function(E){return h.__awaiter(this,void 0,Promise,function(){return h.__generator(this,function(O){switch(O.label){case 0:return[4,this.findQueryBounds(E,"walkerCount")];case 1:return[2,O.sent().length]}})})},S.prototype.findQueryBounds=function(E,O){return h.__awaiter(this,void 0,Promise,function(){var H;return h.__generator(this,function(U){return(H=this[O])&&H.break(),H=new v.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[O]=H,[2,this.find(H,E).catch(function(X){return[]})]})})},S.prototype.findAndReplace=function(E){return h.__awaiter(this,void 0,Promise,function(){var O,H,U,X,W;return h.__generator(this,function(re){switch(re.label){case 0:return[4,this.findQueryBounds(E,"walker")];case 1:if(!(O=re.sent()).length)return[2,!1];if(-1===(H=this.findCurrentIndexInRanges(O,this.j.s.range))&&(H=0),!(U=O[H]))return[3,6];re.label=2;case 2:return re.trys.push([2,,4,5]),(X=this.j.ed.createRange()).setStart(U.startContainer,U.startOffset),X.setEnd(U.endContainer,U.endOffset),X.deleteContents(),W=this.j.createInside.text(this.ui.replace),v.Dom.safeInsertNode(X,W),(0,z.clearSelectionWrappers)(this.j.editor),this.j.s.setCursorAfter(W),this.tryScrollToElement(W),this.cache={},this.ui.currentIndex=H,[4,this.findAndSelect(E,!0).catch(function(pe){return null})];case 3:return re.sent(),[3,5];case 4:return this.j.synchronizeValues(),[7];case 5:return this.j.e.fire("afterFindAndReplace"),[2,!0];case 6:return[2,!1]}})})},S.prototype.findAndSelect=function(E,O){var H;return h.__awaiter(this,void 0,Promise,function(){var U,X,W,re;return h.__generator(this,function(pe){switch(pe.label){case 0:return[4,this.findQueryBounds(E,"walker")];case 1:if(!(U=pe.sent()).length)return[2,!1];if(this.previousQuery===E&&(0,z.getSelectionWrappers)(this.j.editor).length||(null===(H=this.drawPromise)||void 0===H||H.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,z.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(U)),this.previousQuery=E,this.ui.currentIndex=(X=-1==(X=this.ui.currentIndex-1)?0:O?X===U.length-1?0:X+1:0===X?U.length-1:X-1)+1,!(W=U[X]))return[3,4];re=this.j.ed.createRange();try{re.setStart(W.startContainer,W.startOffset),re.setEnd(W.endContainer,W.endOffset),this.j.s.selectRange(re)}catch(Ae){}return this.tryScrollToElement(W.startContainer),[4,this.updateCounters()];case 2:return pe.sent(),[4,this.drawPromise];case 3:return pe.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}})})},S.prototype.findCurrentIndexInRanges=function(E,O){return E.findIndex(function(H){return H.startContainer===O.startContainer&&H.startOffset===O.startOffset&&H.endContainer===O.startContainer&&H.endOffset===O.endOffset})},S.prototype.isValidCache=function(E){return h.__awaiter(this,void 0,Promise,function(){return h.__generator(this,function(O){switch(O.label){case 0:return[4,E];case 1:return[2,O.sent().every(function(H){var U,X,W,re;return H.startContainer.isConnected&&H.startOffset<=(null!==(X=null===(U=H.startContainer.nodeValue)||void 0===U?void 0:U.length)&&void 0!==X?X:0)&&H.endContainer.isConnected&&H.endOffset<=(null!==(re=null===(W=H.endContainer.nodeValue)||void 0===W?void 0:W.length)&&void 0!==re?re:0)})]}})})},S.prototype.find=function(E,O){return h.__awaiter(this,void 0,Promise,function(){var H,U,X=this;return h.__generator(this,function(W){switch(W.label){case 0:return O.length?(U=H=this.cache[O])?[4,this.isValidCache(H)]:[3,2]:[2,[]];case 1:U=W.sent(),W.label=2;case 2:return U?[2,H]:(this.cache[O]=this.j.async.promise(function(re){var pe=new z.SentenceFinder(X.j.o.search.fuzzySearch);E.on("break",function(){re([])}).on("visit",function(Ae){return v.Dom.isText(Ae)&&pe.add(Ae),!1}).on("end",function(){var Ae;re(null!==(Ae=pe.ranges(O))&&void 0!==Ae?Ae:[])}).setWork(X.j.editor)}),[2,this.cache[O]])}})})},S.prototype.drawSelectionRanges=function(E){var O=this,H=this.j,U=H.async,X=H.createInside,W=H.editor;U.cancelAnimationFrame(this.wrapFrameRequest);var re,pe=h.__spreadArray([],h.__read(E),!1),Ae=0;return U.promise(function(Se){var De=function(){do{(re=pe.shift())&&(0,z.wrapRangesTextsInTmpSpan)(re,pe,X,W),Ae+=1}while(re&&5>=Ae);pe.length?O.wrapFrameRequest=U.requestAnimationFrame(De):Se()};De()})},S.prototype.onAfterGetValueFromEditor=function(E){E.value=(0,z.clearSelectionWrappersFromHTML)(E.value)},S.prototype.afterInit=function(E){var O=this;if(E.o.useSearch){var H=this;E.e.on("beforeSetMode.search",function(){O.ui.close()}).on(this.ui,"afterClose",function(){(0,z.clearSelectionWrappers)(E.editor),O.ui.currentIndex=0,O.ui.count=0,O.cache={}}).on("click",function(){O.ui.currentIndex=0,(0,z.clearSelectionWrappers)(E.editor)}).on("change.search",function(){O.cache={}}).on("keydown.search mousedown.search",E.async.debounce(function(){O.ui.selInfo&&(E.s.removeMarkers(),O.ui.selInfo=null),O.ui.isOpened&&O.updateCounters()},E.defaultTimeout)).on("searchNext.search searchPrevious.search",function(){return O.ui.isOpened||O.ui.open(),H.findAndSelect(H.ui.query,"searchNext"===E.e.current).catch(function(U){})}).on("search.search",function(U,X){return void 0===X&&(X=!0),O.ui.currentIndex=0,H.findAndSelect(U||"",X).catch(function(W){})}),E.registerCommand("search",{exec:function(U,X,W){return void 0===W&&(W=!0),X&&H.findAndSelect(X,W).catch(function(re){}),!1}}).registerCommand("openSearchDialog",{exec:function(U,X){return H.ui.open(X),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:function(U,X,W){return E.o.readonly||H.ui.open(X,W,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},S.prototype.beforeDestruct=function(E){this.ui.destruct(),E.e.off(".search")},h.__decorate([x.cache],S.prototype,"ui",null),h.__decorate([(0,x.watch)("ui:needUpdateCounters")],S.prototype,"updateCounters",null),h.__decorate([(0,x.watch)("ui:pressReplaceButton")],S.prototype,"onPressReplaceButton",null),h.__decorate([x.autobind],S.prototype,"findQueryBounds",null),h.__decorate([x.autobind],S.prototype,"findAndReplace",null),h.__decorate([x.autobind],S.prototype,"findAndSelect",null),h.__decorate([x.autobind],S.prototype,"find",null),h.__decorate([(0,x.watch)(":afterGetValueFromEditor")],S.prototype,"onAfterGetValueFromEditor",null),S}(y.Plugin);s.search=R,w.pluginSystem.add("search",R)},72235:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.UISearch=void 0;var h=o(20255);o(88582);var v=o(2074),y=o(40332),x=o(86893),C=o(86893),_=o(43441),w=o(64968),z=function(R){function N(S){var E=R.call(this,S)||this;E.selInfo=null,E._currentIndex=0,E.isOpened=!1;var O=(0,y.refs)(E.container),H=O.replace,U=O.cancel,X=O.next,W=O.prev,re=O.replaceBtn,pe=O.current,Ae=O.count;return E.queryInput=O.query,E.replaceInput=H,E.closeButton=U,E.replaceButton=re,E.currentBox=pe,E.countBox=Ae,S.e.on(E.closeButton,"pointerdown",function(){return E.close(),!1}).on(E.queryInput,"input",function(){E.currentIndex=0}).on(E.queryInput,"pointerdown",function(){S.s.isFocused()&&(S.s.removeMarkers(),E.selInfo=S.s.save())}).on(E.replaceButton,"pointerdown",function(){return S.e.fire(E,"pressReplaceButton"),!1}).on(X,"pointerdown",function(){return S.e.fire("searchNext"),!1}).on(W,"pointerdown",function(){return S.e.fire("searchPrevious"),!1}).on(E.queryInput,"input",function(){E.setMod("empty-query",!(0,y.trim)(E.queryInput.value).length)}).on(E.queryInput,"keydown",E.j.async.debounce(function(Se){Se.key===C.KEY_ENTER?(Se.preventDefault(),Se.stopImmediatePropagation(),S.e.fire("searchNext")&&E.close()):S.e.fire(E,"needUpdateCounters")},E.j.defaultTimeout)),E}return h.__extends(N,R),N.prototype.className=function(){return"UISearch"},N.prototype.render=function(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(v.Icon.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(v.Icon.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">').concat(v.Icon.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')},Object.defineProperty(N.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(S){this._currentIndex=S,this.currentBox.innerText=S.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"count",{set:function(S){this.countBox.innerText=S.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"query",{get:function(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(N.prototype,"replace",{get:function(){return this.replaceInput.value},enumerable:!1,configurable:!0}),N.prototype.onEditorKeyDown=function(S){if(this.isOpened){var E=this.j;if(E.getRealMode()===x.MODE_WYSIWYG)switch(S.key){case C.KEY_ESC:this.close();break;case C.KEY_F3:this.queryInput.value&&(E.e.fire(S.shiftKey?"searchPrevious":"searchNext"),S.preventDefault())}}},N.prototype.open=function(S,E,O){void 0===O&&(O=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",O);var H=null!=S?S:(this.j.s.sel||"").toString();H&&(this.queryInput.value=H),E&&(this.replaceInput.value=E),this.setMod("empty-query",!H.length),this.j.e.fire(this,"needUpdateCounters"),H?this.queryInput.select():this.queryInput.focus()},N.prototype.close=function(){this.isOpened&&(this.j.s.restore(),w.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},N.prototype.calcSticky=function(S){if(this.isOpened)if(this.setMod("sticky",S),S){var E=(0,y.position)(this.j.toolbarContainer);(0,y.css)(this.container,{top:E.top+E.height,left:E.left+E.width})}else(0,y.css)(this.container,{top:null,left:null})},h.__decorate([(0,_.watch)([":keydown","queryInput:keydown"])],N.prototype,"onEditorKeyDown",null),h.__decorate([_.autobind],N.prototype,"open",null),h.__decorate([_.autobind],N.prototype,"close",null),h.__decorate([(0,_.watch)(":toggleSticky")],N.prototype,"calcSticky",null),h.__decorate([_.component],N)}(v.UIElement);s.UISearch=z},14189:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.tableAllowCellSelection=!0},37458:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.selectCells=void 0;var h=o(20255),v=o(57549),y=o(87837),x=o(24263),C=o(40332),_=o(86893),w=o(43441),z=o(17332);o(14189);var R="table_processor_observer",N="onMoveTableSelectCell",S=function(E){function O(){var H=null!==E&&E.apply(this,arguments)||this;return H.requires=["select"],H.selectedCell=null,H.isSelectionMode=!1,H}return h.__extends(O,E),Object.defineProperty(O.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),O.prototype.afterInit=function(H){var U=this;H.o.tableAllowCellSelection&&H.e.on("keydown.select-cells",function(X){X.key===_.KEY_TAB&&U.unselectCells()}).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map(function(X){return X+".select-cells"}).join(" "),this.onStartSelection).on("clickTr clickTbody",function(){var X,W=U.module.getAllSelectedCells().length;if(W)return W>1&&(null===(X=U.j.s.sel)||void 0===X||X.removeAllRanges()),!1})},O.prototype.onStartSelection=function(H){if(!this.j.o.readonly&&(this.unselectCells(),H!==this.j.editor)){var U=x.Dom.closest(H,"table",this.j.editor);if(H&&U)return H.firstChild||H.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=H,this.module.addSelection(H),this.j.e.on(U,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,U),{label:N,timeout:this.j.defaultTimeout/2})).on(U,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,U)),!1}},O.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},O.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},O.prototype.onMove=function(H,U){var X,W=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(R)){var re=this.j.ed.elementFromPoint(U.clientX,U.clientY);if(re){var pe=x.Dom.closest(re,["td","th"],H);if(pe&&this.selectedCell){pe!==this.selectedCell&&this.j.lock(R),this.unselectCells();for(var Ae=y.Table.getSelectedBound(H,[pe,this.selectedCell]),Se=y.Table.formalMatrix(H),De=Ae[0][0];Ae[1][0]>=De;De+=1)for(var qe=Ae[0][1];Ae[1][1]>=qe;qe+=1)this.module.addSelection(Se[De][qe]);var rt;this.module.getAllSelectedCells().length>1&&(null===(X=this.j.s.sel)||void 0===X||X.removeAllRanges()),this.j.e.fire("hidePopup"),U.stopPropagation(),rt=W.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),pe.appendChild(rt),W.j.async.setTimeout(function(){var ot;null===(ot=rt.parentNode)||void 0===ot||ot.removeChild(rt)},W.j.defaultTimeout/5)}}}},O.prototype.onRemoveSelection=function(H){var U;if(!(null===(U=null==H?void 0:H.buffer)||void 0===U?void 0:U.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},O.prototype.onStopSelection=function(H,U){var X=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var W=this.j.ed.elementFromPoint(U.clientX,U.clientY);if(W){var re=x.Dom.closest(W,["td","th"],H);if(re){var pe=x.Dom.closest(re,"table",H);if(!pe||pe===H){var Ae=y.Table.getSelectedBound(H,[re,this.selectedCell]),Se=y.Table.formalMatrix(H),De=Se[Ae[1][0]][Ae[1][1]],qe=Se[Ae[0][0]][Ae[0][1]];this.j.e.fire("showPopup",H,function(){var rt=(0,C.position)(qe,X.j),ot=(0,C.position)(De,X.j);return{left:rt.left,top:rt.top,width:ot.left-rt.left+ot.width,height:ot.top-rt.top+ot.height}},"cells"),(0,C.$$)("table",this.j.editor).forEach(function(rt){X.j.e.off(rt,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(N)}}}}},O.prototype.unselectCells=function(H){var U=this.module,X=U.getAllSelectedCells();X.length&&X.forEach(function(W){H&&H===W||U.removeSelection(W)})},O.prototype.onExecCommand=function(H){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(H)){H=H.replace("table","");var U=this.module.getAllSelectedCells();if(U.length){var X=h.__read(U,1)[0];if(!X)return;var W=x.Dom.closest(X,"table",this.j.editor);if(!W)return;switch(H){case"splitv":y.Table.splitVertical(W,this.j);break;case"splitg":y.Table.splitHorizontal(W,this.j);break;case"merge":y.Table.mergeSelected(W,this.j);break;case"empty":U.forEach(function(pe){return x.Dom.detach(pe)});break;case"bin":x.Dom.safeRemove(W);break;case"binrow":new Set(U.map(function(pe){return pe.parentNode})).forEach(function(pe){y.Table.removeRow(W,pe.rowIndex)});break;case"bincolumn":var re=new Set;U.reduce(function(pe,Ae){return re.has(Ae.cellIndex)||(pe.push(Ae),re.add(Ae.cellIndex)),pe},[]).forEach(function(pe){y.Table.removeColumn(W,pe.cellIndex)});break;case"addcolumnafter":case"addcolumnbefore":y.Table.appendColumn(W,X.cellIndex,"addcolumnafter"===H,this.j.createInside);break;case"addrowafter":case"addrowbefore":y.Table.appendRow(W,X.parentNode,"addrowafter"===H,this.j.createInside)}}return!1}},O.prototype.onAfterCommand=function(H){/^justify/.test(H)&&this.module.getAllSelectedCells().forEach(function(U){return(0,C.alignElement)(H,U)})},O.prototype.beforeDestruct=function(H){this.onRemoveSelection(),H.e.off(".select-cells")},h.__decorate([w.autobind],O.prototype,"onStartSelection",null),h.__decorate([(0,w.watch)(":outsideClick")],O.prototype,"onOutsideClick",null),h.__decorate([(0,w.watch)(":change")],O.prototype,"onChange",null),h.__decorate([w.autobind],O.prototype,"onRemoveSelection",null),h.__decorate([w.autobind],O.prototype,"onStopSelection",null),h.__decorate([w.autobind],O.prototype,"onExecCommand",null),h.__decorate([w.autobind],O.prototype,"onAfterCommand",null),O}(v.Plugin);s.selectCells=S,z.pluginSystem.add("selectCells",S)},33100:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},95323:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.select=void 0;var h=o(20255),v=o(57549),y=o(43441),x=o(26596),C=o(24263),_=o(2074),w=o(17332);o(33100);var z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],S}return h.__extends(N,R),N.prototype.afterInit=function(S){var E=this;this.proxyEventsList.forEach(function(O){S.e.on(O+".select",E.onStartSelection)})},N.prototype.beforeDestruct=function(S){var E=this;this.proxyEventsList.forEach(function(O){S.e.on(O+".select",E.onStartSelection)})},N.prototype.onStartSelection=function(S){for(var E,O=this.j,H=S.target;void 0===E&&H&&H!==O.editor;)E=O.e.fire((0,x.camelCase)(S.type+"_"+H.nodeName.toLowerCase()),H,S),H=H.parentElement;"click"===S.type&&void 0===E&&H===O.editor&&O.e.fire(S.type+"Editor",H,S)},N.prototype.onOutsideClick=function(S){var E=this,O=S.target;C.Dom.up(O,function(H){return H===E.j.editor})||_.UIElement.closestElement(O,_.Popup)||this.j.e.fire("outsideClick",S)},N.prototype.beforeCommandCut=function(S){var E=this.j.s;if("cut"===S&&!E.isCollapsed()){var O=E.current();O&&C.Dom.isOrContains(this.j.editor,O)&&this.onCopyNormalizeSelectionBound()}},N.prototype.onCopyNormalizeSelectionBound=function(S){var E=this.j,O=E.editor;E.o.select.normalizeSelectionBeforeCutAndCopy&&!E.s.isCollapsed()&&(!S||S.isTrusted&&C.Dom.isNode(S.target)&&C.Dom.isOrContains(O,S.target))&&this.jodit.s.expandSelection()},h.__decorate([y.autobind],N.prototype,"onStartSelection",null),h.__decorate([(0,y.watch)("ow:click")],N.prototype,"onOutsideClick",null),h.__decorate([(0,y.watch)([":beforeCommand"])],N.prototype,"beforeCommandCut",null),h.__decorate([(0,y.watch)([":copy",":cut"])],N.prototype,"onCopyNormalizeSelectionBound",null),N}(v.Plugin);s.select=z,w.pluginSystem.add("select",z)},53387:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.minWidth=200,h.Config.prototype.maxWidth="100%",h.Config.prototype.minHeight=200,h.Config.prototype.maxHeight="auto",h.Config.prototype.saveHeightInStorage=!1},71003:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.size=void 0;var h=o(20255);o(30962);var v=o(40332),y=o(85605),x=o(43441),C=o(17332);o(53387);var _=function(w){function z(){var R=null!==w&&w.apply(this,arguments)||this;return R.resizeWorkspaces=R.j.async.debounce(R.resizeWorkspaceImd,R.j.defaultTimeout,!0),R}return h.__extends(z,w),z.prototype.afterInit=function(R){R.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(R.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},z.prototype.initialize=function(){var R=this.j;if(!R.o.inline){var N=R.o.height;if(R.o.saveHeightInStorage&&"auto"!==N){var S=R.storage.get("height");S&&(N=S)}(0,v.css)(R.editor,{minHeight:"100%"}),(0,v.css)(R.container,{minHeight:R.o.minHeight,maxHeight:R.o.maxHeight,minWidth:R.o.minWidth,maxWidth:R.o.maxWidth}),this.setHeight(N),this.setWidth(R.o.width)}},z.prototype.setHeight=function(R){if((0,v.isNumber)(R)){var N=this.j.o,S=N.minHeight,E=N.maxHeight;(0,v.isNumber)(S)&&S>R&&(R=S),(0,v.isNumber)(E)&&R>E&&(R=E)}(0,v.css)(this.j.container,"height",R),this.j.o.saveHeightInStorage&&this.j.storage.set("height",R),this.resizeWorkspaceImd()},z.prototype.setWidth=function(R){if((0,v.isNumber)(R)){var N=this.j.o,S=N.minWidth,E=N.maxWidth;(0,v.isNumber)(S)&&S>R&&(R=S),(0,v.isNumber)(E)&&R>E&&(R=E)}(0,v.css)(this.j.container,"width",R),this.resizeWorkspaceImd()},z.prototype.getNotWorkHeight=function(){var R,N;return((null===(R=this.j.toolbarContainer)||void 0===R?void 0:R.offsetHeight)||0)+((null===(N=this.j.statusbar)||void 0===N?void 0:N.getHeight())||0)+2},z.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var R=((0,v.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,v.isNumber)(R)&&R>0&&([this.j.workplace,this.j.iframe,this.j.editor].map(function(S){S&&(0,v.css)(S,"minHeight",R)}),this.j.e.fire("setMinHeight",R)),(0,v.isNumber)(this.j.o.maxHeight)){var N=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map(function(S){S&&(0,v.css)(S,"maxHeight",N)}),this.j.e.fire("setMaxHeight",N)}this.j.container&&(0,v.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},z.prototype.beforeDestruct=function(R){R.e.off(R.ow,"load.size",this.resizeWorkspaces).off(".size")},h.__decorate([x.autobind],z.prototype,"resizeWorkspaceImd",null),h.__decorate([x.autobind],z)}(y.Plugin);s.size=_,C.pluginSystem.add("size",_)},13985:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(86893),y=o(77904);h.Config.prototype.beautifyHTML=!v.IS_IE,h.Config.prototype.sourceEditor="ace",h.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},h.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],h.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],y.Icon.set("source",o(9342)),h.Config.prototype.controls.source={mode:v.MODE_SPLIT,exec:function(x){x.toggleMode()},isActive:function(x){return x.getRealMode()===v.MODE_SOURCE},tooltip:"Change mode"}},34186:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.AceEditor=void 0;var h=o(20255),v=o(86893),y=o(40332),x=function(C){function _(){var w=null!==C&&C.apply(this,arguments)||this;return w.className="jodit_ace_editor",w.proxyOnBlur=function(z){w.j.e.fire("blur",z)},w.proxyOnFocus=function(z){w.j.e.fire("focus",z)},w.proxyOnMouseDown=function(z){w.j.e.fire("mousedown",z)},w}return h.__extends(_,C),_.prototype.aceExists=function(){return void 0!==this.j.ow.ace},_.prototype.getLastColumnIndex=function(w){return this.instance.session.getLine(w).length},_.prototype.getLastColumnIndices=function(){for(var w=this.instance.session.getLength(),z=[],R=0,N=0;w>N;N++)R+=this.getLastColumnIndex(N),N>0&&(R+=1),z[N]=R;return z},_.prototype.getRowColumnIndices=function(w){var z=this.getLastColumnIndices();if(z[0]>=w)return{row:0,column:w};for(var R=1,N=1;z.length>N;N++)w>z[N]&&(R=N+1);return{row:R,column:w-z[R-1]-1}},_.prototype.setSelectionRangeIndices=function(w,z){var R=this.getRowColumnIndices(w),N=this.getRowColumnIndices(z);this.instance.getSelection().setSelectionRange({start:R,end:N})},_.prototype.getIndexByRowColumn=function(w,z){return this.getLastColumnIndices()[w]-this.getLastColumnIndex(w)+z},_.prototype.init=function(w){var z=this,R=function(){if(void 0===z.instance&&z.aceExists()){var N=z.j.c.div("jodit-source__mirror-fake");z.container.appendChild(N),z.instance=w.ow.ace.edit(N),z.instance.setTheme(w.o.sourceEditorNativeOptions.theme),z.instance.renderer.setShowGutter(w.o.sourceEditorNativeOptions.showGutter),z.instance.getSession().setMode(w.o.sourceEditorNativeOptions.mode),z.instance.setHighlightActiveLine(w.o.sourceEditorNativeOptions.highlightActiveLine),z.instance.getSession().setUseWrapMode(!0),z.instance.setOption("indentedSoftWrap",!1),z.instance.setOption("wrap",w.o.sourceEditorNativeOptions.wrap),z.instance.getSession().setUseWorker(!1),z.instance.$blockScrolling=1/0,z.instance.on("change",z.toWYSIWYG),z.instance.on("focus",z.proxyOnFocus),z.instance.on("mousedown",z.proxyOnMouseDown),z.instance.on("blur",z.proxyOnBlur),w.getRealMode()!==v.MODE_WYSIWYG&&z.setValue(z.getValue());var S=z.j.async.debounce(function(){w.isInDestruct||(z.instance.setOption("maxLines","auto"!==w.o.height?w.workplace.offsetHeight/z.instance.renderer.lineHeight:1/0),z.instance.resize())},2*z.j.defaultTimeout);w.e.on("afterResize afterSetMode",S),S(),z.onReady()}};w.e.on("afterSetMode",function(){w.getRealMode()!==v.MODE_SOURCE&&w.getMode()!==v.MODE_SPLIT||(z.fromWYSIWYG(),R())}),R(),this.aceExists()||(0,y.loadNext)(w,w.o.sourceEditorCDNUrlsJS).then(function(){w.isInDestruct||R()}).catch(function(){return null})},_.prototype.destruct=function(){var w,z;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(z=null===(w=this.j)||void 0===w?void 0:w.events)||void 0===z||z.off("aceInited.source")},_.prototype.setValue=function(w){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var z=this.j.e.fire("beautifyHTML",w);(0,y.isString)(z)&&(w=z)}this.instance.setValue(w),this.instance.clearSelection()},_.prototype.getValue=function(){return this.instance.getValue()},_.prototype.setReadOnly=function(w){this.instance.setReadOnly(w)},Object.defineProperty(_.prototype,"isFocused",{get:function(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),_.prototype.focus=function(){this.instance.focus()},_.prototype.blur=function(){this.instance.blur()},_.prototype.getSelectionStart=function(){var w=this.instance.selection.getRange();return this.getIndexByRowColumn(w.start.row,w.start.column)},_.prototype.getSelectionEnd=function(){var w=this.instance.selection.getRange();return this.getIndexByRowColumn(w.end.row,w.end.column)},_.prototype.selectAll=function(){this.instance.selection.selectAll()},_.prototype.insertRaw=function(w){var z=this.instance.selection.getCursor(),R=this.instance.session.insert(z,w);this.instance.selection.setRange({start:z,end:R},!1)},_.prototype.setSelectionRange=function(w,z){this.setSelectionRangeIndices(w,z)},_.prototype.setPlaceHolder=function(w){},_.prototype.replaceUndoManager=function(){var w=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:function(){w.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:function(){w.redo()}})},_}(o(36729).SourceEditor);s.AceEditor=x},58633:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.TextAreaEditor=void 0;var h=o(20255),v=o(26911),y=o(24263),x=function(C){function _(){var w=null!==C&&C.apply(this,arguments)||this;return w.autosize=w.j.async.debounce(function(){w.instance.style.height="auto",w.instance.style.height=w.instance.scrollHeight+"px"},w.j.defaultTimeout),w}return h.__extends(_,C),_.prototype.init=function(w){var z=this;this.instance=w.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),w.e.on(this.instance,"mousedown keydown touchstart input",w.async.debounce(this.toWYSIWYG,w.defaultTimeout)).on("setMinHeight.source",function(R){(0,v.css)(z.instance,"minHeight",R)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",function(R){w.e.fire(R.type,R)}),this.autosize(),this.onReady()},_.prototype.destruct=function(){y.Dom.safeRemove(this.instance)},_.prototype.getValue=function(){return this.instance.value},_.prototype.setValue=function(w){this.instance.value=w},_.prototype.insertRaw=function(w){var z=this.getValue();if(0>this.getSelectionStart())this.setValue(z+w);else{var R=this.getSelectionStart(),N=this.getSelectionEnd();this.setValue(z.substring(0,R)+w+z.substring(N,z.length))}},_.prototype.getSelectionStart=function(){return this.instance.selectionStart},_.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},_.prototype.setSelectionRange=function(w,z){void 0===z&&(z=w),this.instance.setSelectionRange(w,z)},Object.defineProperty(_.prototype,"isFocused",{get:function(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),_.prototype.focus=function(){this.instance.focus()},_.prototype.blur=function(){this.instance.blur()},_.prototype.setPlaceHolder=function(w){this.instance.setAttribute("placeholder",w)},_.prototype.setReadOnly=function(w){w?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},_.prototype.selectAll=function(){this.instance.select()},_.prototype.replaceUndoManager=function(){var w=this,z=this.jodit.history;this.j.e.on(this.instance,"keydown",function(R){if((R.ctrlKey||R.metaKey)&&"z"===R.key)return R.shiftKey?z.redo():z.undo(),w.setSelectionRange(w.getValue().length),!1})},_}(o(36729).SourceEditor);s.TextAreaEditor=x},52834:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);h.__exportStar(o(58633),s),h.__exportStar(o(34186),s)},94785:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.createSourceEditor=void 0;var h=o(40332),v=o(52834);s.createSourceEditor=function(y,x,C,_,w){var z;if((0,h.isFunction)(y))z=y(x);else switch(y){case"ace":if(!x.o.shadowRoot){z=new v.AceEditor(x,C,_,w);break}default:z=new v.TextAreaEditor(x,C,_,w)}return z.init(x),z.onReadyAlways(function(){z.setReadOnly(x.o.readonly)}),z}},36729:function(m,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.SourceEditor=void 0;var o=function(){function h(v,y,x,C){this.jodit=v,this.container=y,this.toWYSIWYG=x,this.fromWYSIWYG=C,this.className="",this.isReady=!1}return Object.defineProperty(h.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),h.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},h.prototype.onReadyAlways=function(v){var y;this.isReady?v():null===(y=this.j.events)||void 0===y||y.on(this,"ready",v)},h}();s.SourceEditor=o},86030:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.source=void 0;var h=o(20255);o(68197);var v=o(86893),y=o(86893),x=o(57549),C=o(24263),_=o(40332),w=o(43441),z=o(17332),R=o(94785);o(13985);var N=function(S){function E(){var O=null!==S&&S.apply(this,arguments)||this;return O.buttons=[{name:"source",group:"source"}],O.__lock=!1,O.__oldMirrorValue="",O.tempMarkerStart="{start-jodit-selection}",O.tempMarkerStartReg=/{start-jodit-selection}/g,O.tempMarkerEnd="{end-jodit-selection}",O.tempMarkerEndReg=/{end-jodit-selection}/g,O.getSelectionStart=function(){var H,U;return null!==(U=null===(H=O.sourceEditor)||void 0===H?void 0:H.getSelectionStart())&&void 0!==U?U:0},O.getSelectionEnd=function(){var H,U;return null!==(U=null===(H=O.sourceEditor)||void 0===H?void 0:H.getSelectionEnd())&&void 0!==U?U:0},O}return h.__extends(E,S),E.prototype.onInsertHTML=function(O){var H;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(H=this.sourceEditor)||void 0===H||H.insertRaw(O),this.toWYSIWYG(),!1},E.prototype.fromWYSIWYG=function(O){if(void 0===O&&(O=!1),!this.__lock||!0===O){this.__lock=!0;var H=this.j.getEditorValue(!1,y.SOURCE_CONSUMER);H!==this.getMirrorValue()&&this.setMirrorValue(H),this.__lock=!1}},E.prototype.toWYSIWYG=function(){if(!this.__lock){var O=this.getMirrorValue();O!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=O,this.__lock=!1,this.__oldMirrorValue=O)}},E.prototype.getNormalPosition=function(O,H){for(H=H.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,function(X){for(var W="",re=0;X.length>re;re+=1)W+=y.INVISIBLE_SPACE;return W});O>0&&H[O]===y.INVISIBLE_SPACE;)O--;for(var U=O;U>0;){if("<"===H[--U]&&void 0!==H[U+1]&&H[U+1].match(/[\w/]+/i))return U;if(">"===H[U])return O}return O},E.prototype.clnInv=function(O){return O.replace(v.INVISIBLE_SPACE_REG_EXP(),"")},E.prototype.onSelectAll=function(O){var H;if("selectall"===O.toLowerCase()&&this.j.getRealMode()===y.MODE_SOURCE)return null===(H=this.sourceEditor)||void 0===H||H.selectAll(),!1},E.prototype.getMirrorValue=function(){var O;return(null===(O=this.sourceEditor)||void 0===O?void 0:O.getValue())||""},E.prototype.setMirrorValue=function(O){var H;null===(H=this.sourceEditor)||void 0===H||H.setValue(O)},E.prototype.setFocusToMirror=function(){var O;null===(O=this.sourceEditor)||void 0===O||O.focus()},E.prototype.saveSelection=function(){if(this.j.getRealMode()===v.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var O=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var H=this.j.s.marker(!0),U=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(O.substring(0,U)+this.clnInv(H.outerHTML)+O.substring(U))}else{var X=this.j.s.marker(!0),W=this.j.s.marker(!1),re=(U=this.getNormalPosition(this.getSelectionStart(),O),this.getNormalPosition(this.getSelectionEnd(),O));this.setMirrorValue(O.substring(0,U)+this.clnInv(X.outerHTML)+O.substring(U,re-U)+this.clnInv(W.outerHTML)+O.substring(re))}this.toWYSIWYG()}},E.prototype.removeSelection=function(){if(this.j.getRealMode()===v.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var O=this.getMirrorValue(),H=0,U=0;try{if(O=O.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var X=this.j.e.fire("beautifyHTML",O);(0,_.isString)(X)&&(O=X)}if(U=H=O.indexOf(this.tempMarkerStart),O=O.replace(this.tempMarkerStartReg,""),-1!==H){var W=O.indexOf(this.tempMarkerEnd);-1!==W&&(U=W)}O=O.replace(this.tempMarkerEndReg,"")}finally{O=O.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(O),this.setMirrorSelectionRange(H,U),this.toWYSIWYG(),this.setFocusToMirror()},E.prototype.setMirrorSelectionRange=function(O,H){var U;null===(U=this.sourceEditor)||void 0===U||U.setSelectionRange(O,H)},E.prototype.onReadonlyReact=function(){var O;null===(O=this.sourceEditor)||void 0===O||O.setReadOnly(this.j.o.readonly)},E.prototype.afterInit=function(O){var H=this;if(this.mirrorContainer=O.c.div("jodit-source"),O.workplace.appendChild(this.mirrorContainer),O.e.on("afterAddPlace changePlace afterInit",function(){O.workplace.appendChild(H.mirrorContainer)}),this.sourceEditor=(0,R.createSourceEditor)("area",O,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),O.e.on(O.ow,"keydown",function(X){var W;X.key===y.KEY_ESC&&(null===(W=H.sourceEditor)||void 0===W?void 0:W.isFocused)&&H.sourceEditor.blur()}),this.onReadonlyReact(),O.e.on("placeholder.source",function(X){var W;null===(W=H.sourceEditor)||void 0===W||W.setPlaceHolder(X)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",function(X){return X}),O.o.beautifyHTML){var U=function(){var X,W=O.ow.html_beautify;return!(!W||O.isInDestruct||(null===(X=O.events)||void 0===X||X.off("beautifyHTML").on("beautifyHTML",function(re){return W(re)}),0))};U()||(0,_.loadNext)(O,O.o.beautifyHTMLCDNUrlsJS).then(U)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(O)},E.prototype.syncValueFromWYSIWYG=function(O){void 0===O&&(O=!1);var H=this.j;H.getMode()!==y.MODE_SPLIT&&H.getMode()!==y.MODE_SOURCE||this.fromWYSIWYG(O)},E.prototype.initSourceEditor=function(O){var H,U=this;if("area"!==O.o.sourceEditor){var X=(0,R.createSourceEditor)(O.o.sourceEditor,O,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);X.onReadyAlways(function(){var W,re;null===(W=U.sourceEditor)||void 0===W||W.destruct(),U.sourceEditor=X,U.syncValueFromWYSIWYG(!0),null===(re=O.events)||void 0===re||re.fire("sourceEditorReady",O)})}else null===(H=this.sourceEditor)||void 0===H||H.onReadyAlways(function(){var W;U.syncValueFromWYSIWYG(!0),null===(W=O.events)||void 0===W||W.fire("sourceEditorReady",O)})},E.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),C.Dom.safeRemove(this.mirrorContainer)},h.__decorate([(0,w.watch)(":insertHTML.source")],E.prototype,"onInsertHTML",null),h.__decorate([w.autobind],E.prototype,"fromWYSIWYG",null),h.__decorate([w.autobind],E.prototype,"toWYSIWYG",null),h.__decorate([w.autobind],E.prototype,"getNormalPosition",null),h.__decorate([(0,w.watch)(":beforeCommand.source")],E.prototype,"onSelectAll",null),h.__decorate([(0,w.watch)(":beforeSetMode.source")],E.prototype,"saveSelection",null),h.__decorate([(0,w.watch)(":afterSetMode.source")],E.prototype,"removeSelection",null),h.__decorate([w.autobind],E.prototype,"setMirrorSelectionRange",null),h.__decorate([(0,w.watch)(":readonly.source")],E.prototype,"onReadonlyReact",null),h.__decorate([w.autobind],E.prototype,"syncValueFromWYSIWYG",null),E}(x.Plugin);s.source=N,z.pluginSystem.add("source",N)},50876:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.spellcheck=!1,v.Icon.set("spellcheck",o(69546)),h.Config.prototype.controls.spellcheck={isActive:function(y){return y.o.spellcheck},icon:o(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},87882:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.zh_tw=s.zh_cn=s.tr=s.ru=s.pt_br=s.pl=s.nl=s.ko=s.ja=s.it=s.id=s.hu=s.he=s.fr=s.fa=s.es=s.de=s.cs_cz=s.ar=void 0;var h=o(5586);s.ar=h;var v=o(66023);s.cs_cz=v;var y=o(65860);s.de=y;var x=o(86055);s.es=x;var C=o(50037);s.fa=C;var _=o(7118);s.fr=_;var w=o(30298);s.he=w;var z=o(52107);s.hu=z;var R=o(31240);s.id=R;var N=o(4101);s.it=N;var S=o(69286);s.ja=S;var E=o(13402);s.ko=E;var O=o(89574);s.nl=O;var H=o(63630);s.pl=H;var U=o(72212);s.pt_br=U;var X=o(82570);s.ru=X;var W=o(19323);s.tr=W;var re=o(50279);s.zh_cn=re;var pe=o(98364);s.zh_tw=pe},17002:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.spellcheck=void 0;var h=o(20255),v=o(57549),y=o(67309),x=o(43441),C=o(17332);o(50876);var _=function(w){function z(R){var N=w.call(this,R)||this;return N.buttons=[{group:"state",name:"spellcheck"}],(0,C.extendLang)(o(87882)),N}return h.__extends(z,w),z.prototype.afterInit=function(R){var N=this;R.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),R.registerCommand("toggleSpellcheck",function(){N.jodit.o.spellcheck=!N.jodit.o.spellcheck,N.toggleSpellcheck(),N.j.e.fire("updateToolbar")})},z.prototype.toggleSpellcheck=function(){(0,y.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},z.prototype.beforeDestruct=function(R){},h.__decorate([x.autobind],z.prototype,"toggleSpellcheck",null),z}(v.Plugin);s.spellcheck=_,C.pluginSystem.add("spellcheck",_)},59818:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.showCharsCounter=!0,h.Config.prototype.countHTMLChars=!1,h.Config.prototype.showWordsCounter=!0},1557:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.stat=void 0;var h=o(20255),v=o(86893),y=o(85605),x=o(24263),C=o(17332);o(59818);var _=function(w){function z(){var R=null!==w&&w.apply(this,arguments)||this;return R.charCounter=null,R.wordCounter=null,R.reInit=function(){R.j.o.showCharsCounter&&R.charCounter&&R.j.statusbar.append(R.charCounter,!0),R.j.o.showWordsCounter&&R.wordCounter&&R.j.statusbar.append(R.wordCounter,!0),R.j.e.off("change keyup",R.calc).on("change keyup",R.calc),R.calc()},R.calc=R.j.async.throttle(function(){var N=R.j.text;if(R.j.o.showCharsCounter&&R.charCounter){var S=R.j.o.countHTMLChars?R.j.value:N.replace((0,v.SPACE_REG_EXP)(),"");R.charCounter.textContent=R.j.i18n("Chars: %d",S.length)}R.j.o.showWordsCounter&&R.wordCounter&&(R.wordCounter.textContent=R.j.i18n("Words: %d",N.replace((0,v.INVISIBLE_SPACE_REG_EXP)(),"").split((0,v.SPACE_REG_EXP)()).filter(function(E){return E.length}).length))},R.j.defaultTimeout),R}return h.__extends(z,w),z.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},z.prototype.beforeDestruct=function(){x.Dom.safeRemove(this.charCounter),x.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},z}(y.Plugin);s.stat=_,C.pluginSystem.add("stat",_)},40790:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166);h.Config.prototype.toolbarSticky=!0,h.Config.prototype.toolbarDisableStickyForMobile=!0,h.Config.prototype.toolbarStickyOffset=0},82808:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.sticky=void 0;var h=o(20255);o(60057);var v=o(86893),y=o(85605),x=o(24263),C=o(40332),_=o(43441),w=o(17332);o(40790);var z=function(R){function N(){var S=null!==R&&R.apply(this,arguments)||this;return S.isToolbarSticked=!1,S.createDummy=function(E){v.IS_IE&&!S.dummyBox&&(S.dummyBox=S.j.c.div(),S.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),S.j.container.insertBefore(S.dummyBox,E))},S.addSticky=function(E){S.isToolbarSticked||(S.createDummy(E),S.j.container.classList.add("jodit_sticky"),S.isToolbarSticked=!0),(0,C.css)(E,{top:S.j.o.toolbarStickyOffset||null,width:S.j.container.offsetWidth-2}),v.IS_IE&&S.dummyBox&&(0,C.css)(S.dummyBox,{height:E.offsetHeight})},S.removeSticky=function(E){S.isToolbarSticked&&((0,C.css)(E,{width:"",top:""}),S.j.container.classList.remove("jodit_sticky"),S.isToolbarSticked=!1)},S}return h.__extends(N,R),N.prototype.afterInit=function(S){var E=this;S.e.on(S.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",function(){return E.isToolbarSticked})},N.prototype.onScroll=function(){var S=this.jodit,E=S.ow.pageYOffset||S.od.documentElement&&S.od.documentElement.scrollTop||0,O=(0,C.offset)(S.container,S,S.od,!0),H=S.getMode()===v.MODE_WYSIWYG&&E+S.o.toolbarStickyOffset>O.top&&O.top+O.height>E+S.o.toolbarStickyOffset&&!(S.o.toolbarDisableStickyForMobile&&this.isMobile());if(S.o.toolbarSticky&&!0===S.o.toolbar&&this.isToolbarSticked!==H){var U=S.toolbarContainer;U&&(H?this.addSticky(U):this.removeSticky(U)),S.e.fire("toggleSticky",H)}},N.prototype.isMobile=function(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth},N.prototype.beforeDestruct=function(S){this.dummyBox&&x.Dom.safeRemove(this.dummyBox),S.e.off(S.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")},h.__decorate([(0,_.throttle)()],N.prototype,"onScroll",null),N}(y.Plugin);s.sticky=z,w.pluginSystem.add("sticky",z)},31750:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(77904);h.Config.prototype.usePopupForSpecialCharacters=!1,h.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],v.Icon.set("symbols",o(43158)),h.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(y,x,C,_){var w=y.e.fire("generateSpecialCharactersTable.symbols");if(w){if(y.o.usePopupForSpecialCharacters){var z=y.c.div();return z.classList.add("jodit-symbols"),z.appendChild(w),y.e.on(w,"close_dialog",_),z}y.alert(w,"Select Special Character",void 0,"jodit-symbols").bindDestruct(y);var R=w.querySelector("a");R&&R.focus()}}}},21236:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.zh_tw=s.zh_cn=s.tr=s.ru=s.pt_br=s.pl=s.nl=s.ko=s.ja=s.it=s.id=s.hu=s.he=s.fr=s.fa=s.es=s.de=s.cs_cz=s.ar=void 0;var h=o(54261);s.ar=h;var v=o(60425);s.cs_cz=v;var y=o(7057);s.de=y;var x=o(48356);s.es=x;var C=o(11428);s.fa=C;var _=o(29084);s.fr=_;var w=o(22876);s.he=w;var z=o(20890);s.hu=z;var R=o(75987);s.id=R;var N=o(60379);s.it=N;var S=o(99950);s.ja=S;var E=o(60934);s.ko=E;var O=o(21994);s.nl=O;var H=o(38128);s.pl=H;var U=o(71515);s.pt_br=U;var X=o(58194);s.ru=X;var W=o(65802);s.tr=W;var re=o(86628);s.zh_cn=re;var pe=o(32210);s.zh_tw=pe},48560:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.symbols=void 0;var h=o(20255);o(33393);var v=o(86893),y=o(85605),x=o(24263),C=o(76502),_=o(17332);o(31750);var w=function(z){function R(N){var S=z.call(this,N)||this;return S.buttons=[{name:"symbols",group:"insert"}],S.countInRow=17,(0,_.extendLang)(o(21236)),S}return h.__extends(R,z),R.prototype.afterInit=function(N){var S=this;N.e.on("generateSpecialCharactersTable.symbols",function(){for(var E=N.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),O=E.querySelector(".jodit-symbols__preview"),H=E.querySelector("table").tBodies[0],U=[],X=0;N.o.specialCharacters.length>X;){for(var W=N.c.element("tr"),re=0;S.countInRow>re&&N.o.specialCharacters.length>X;re+=1,X+=1){var pe=N.c.element("td"),Ae=N.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(X,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(re,'"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>').concat(N.o.specialCharacters[X],"</a>"));U.push(Ae),pe.appendChild(Ae),W.appendChild(pe)}H.appendChild(W)}var Se=S;return N.e.on(U,"focus",function(){O.innerHTML=this.innerHTML}).on(U,"mousedown",function(De){x.Dom.isTag(this,"a")&&(N.s.focus(),N.s.insertHTML(this.innerHTML),N.e.fire(this,"close_dialog"),De&&De.preventDefault(),De&&De.stopImmediatePropagation())}).on(U,"mouseenter",function(){x.Dom.isTag(this,"a")&&this.focus()}).on(U,"keydown",function(De){var qe=De.target;if(x.Dom.isTag(qe,"a")){var rt=parseInt((0,C.attr)(qe,"-index")||"0",10),ot=parseInt((0,C.attr)(qe,"data-index-j")||"0",10),vt=void 0;switch(De.key){case v.KEY_UP:case v.KEY_DOWN:void 0===U[vt=De.key===v.KEY_UP?rt-Se.countInRow:rt+Se.countInRow]&&(vt=De.key===v.KEY_UP?Math.floor(U.length/Se.countInRow)*Se.countInRow+ot:ot)>U.length-1&&(vt-=Se.countInRow),U[vt]&&U[vt].focus();break;case v.KEY_RIGHT:case v.KEY_LEFT:void 0===U[vt=De.key===v.KEY_LEFT?rt-1:rt+1]&&(vt=De.key===v.KEY_LEFT?U.length-1:0),U[vt]&&U[vt].focus();break;case v.KEY_ENTER:N.e.fire(qe,"mousedown"),De.stopImmediatePropagation(),De.preventDefault()}}}),E})},R.prototype.beforeDestruct=function(N){N.e.off("generateSpecialCharactersTable.symbols")},R}(y.Plugin);s.symbols=w,_.pluginSystem.add("symbols",w)},15797:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(20255).__exportStar(o(41170),s)},41170:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.onTabInsideLi=void 0;var h=o(20255),v=o(24263);o(603),s.onTabInsideLi=function(y,x){if(void 0===x&&(x=!1),!y.o.tab.tabInsideLiInsertNewList)return!1;var S,E,O,H,C=h.__read(function(S){var E=S.createInside.fake(),O=S.createInside.fake(),H=S.s.range.cloneRange();H.collapse(!0),H.insertNode(E);var U=S.s.range.cloneRange();return U.collapse(!1),U.insertNode(O),[E,O]}(y),2),_=C[0],w=C[1];try{var z=(S=y,E=_,O=x,!!(H=v.Dom.closest(E,"li",S.editor))&&!(!O&&!v.Dom.isTag(H.previousElementSibling,"li"))&&!(O&&!v.Dom.closest(H,"li",S.editor))&&H);if(!z||!function(S,E,O){var H=v.Dom.closest(O,"li",E.editor);return!(!H||H!==S&&!S.contains(H))}(z,y,_))return!1;var R=v.Dom.closest(z,["ol","ul"],y.editor);return!(!R||x&&!v.Dom.closest(R,"li",y.editor)||(x?function(S,E,O){var H=v.Dom.closest(E,"li",S.editor),U=Array.from(E.children).filter(function(pe){return v.Dom.isTag(pe,"li")});v.Dom.after(H,O);var X=U.indexOf(O);if(0!==X&&1!==U.length||v.Dom.safeRemove(E),X!==U.length-1){var W=E.cloneNode();v.Dom.append(O,W);for(var re=X+1;U.length>re;re+=1)v.Dom.append(W,U[re])}}(y,R,z):function(S,E,O){var H=O.previousElementSibling,U=H.lastElementChild,X=v.Dom.isTag(U,E.tagName)?U:S.createInside.element(E.tagName,Array.from(E.attributes).reduce(function(W,re){return W[re.name]=re.value,W},{}));X.appendChild(O),U!==X&&H.appendChild(X)}(y,R,z),0))}finally{var N=y.s.createRange();N.setStartAfter(_),N.setEndBefore(w),y.s.selectRange(N),v.Dom.safeRemove(_),v.Dom.safeRemove(w)}return!1}},56198:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.tab={tabInsideLiInsertNewList:!0}},32246:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(57549),y=o(43441),x=o(86893),C=o(17332),_=o(15797);o(56198);var w=function(z){function R(){return null!==z&&z.apply(this,arguments)||this}return h.__extends(R,z),R.prototype.afterInit=function(N){},R.prototype.__onTab=function(N){if(N.key===x.KEY_TAB&&this.__onShift(N.shiftKey))return!1},R.prototype.__onCommand=function(N){if(("indent"===N||"outdent"===N)&&this.__onShift("outdent"===N))return!1},R.prototype.__onShift=function(N){var S=(0,_.onTabInsideLi)(this.j,N);return S&&this.j.e.fire("afterTab",N),S},R.prototype.beforeDestruct=function(N){},h.__decorate([(0,y.watch)(":keydown.tab")],R.prototype,"__onTab",null),h.__decorate([(0,y.watch)(":beforeCommand.tab")],R.prototype,"__onCommand",null),R}(v.Plugin);C.pluginSystem.add("tab",w)},23308:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.tableKeyboardNavigation=void 0;var h=o(86893),v=o(24263),y=o(25120),x=o(17332);function C(_){_.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",function(w){var z,R;if((w.key===h.KEY_TAB||w.key===h.KEY_LEFT||w.key===h.KEY_RIGHT||w.key===h.KEY_UP||w.key===h.KEY_DOWN)&&(z=_.s.current(),R=v.Dom.up(z,function(re){return re&&re.nodeName&&/^td|th$/i.test(re.nodeName)},_.editor))){var N=_.s.range;if(w.key===h.KEY_TAB||z===R||(w.key!==h.KEY_LEFT&&w.key!==h.KEY_UP||!(v.Dom.prev(z,function(re){return w.key===h.KEY_UP?v.Dom.isTag(re,"br"):Boolean(re)},R)||w.key!==h.KEY_UP&&v.Dom.isText(z)&&0!==N.startOffset))&&(w.key!==h.KEY_RIGHT&&w.key!==h.KEY_DOWN||!(v.Dom.next(z,function(re){return w.key===h.KEY_DOWN?v.Dom.isTag(re,"br"):Boolean(re)},R)||w.key!==h.KEY_DOWN&&v.Dom.isText(z)&&z.nodeValue&&N.startOffset!==z.nodeValue.length))){var S=v.Dom.up(R,function(re){return re&&/^table$/i.test(re.nodeName)},_.editor),E=null;switch(w.key){case h.KEY_TAB:case h.KEY_LEFT:var O=w.key===h.KEY_LEFT||w.shiftKey?"prev":"next";(E=v.Dom[O](R,function(re){return re&&/^td|th$/i.test(re.tagName)},S))||(y.Table.appendRow(S,"next"!==O&&S.querySelector("tr"),"next"===O,_.createInside),E=v.Dom[O](R,v.Dom.isCell,S));break;case h.KEY_UP:case h.KEY_DOWN:var H=0,U=0,X=y.Table.formalMatrix(S,function(re,pe,Ae){re===R&&(H=pe,U=Ae)});w.key===h.KEY_UP?void 0!==X[H-1]&&(E=X[H-1][U]):void 0!==X[H+1]&&(E=X[H+1][U])}if(E){if(E.firstChild)w.key===h.KEY_TAB?_.s.select(E,!0):_.s.setCursorIn(E,w.key===h.KEY_RIGHT||w.key===h.KEY_DOWN);else{var W=_.createInside.element("br");E.appendChild(W),_.s.setCursorBefore(W)}return!1}}}})}s.tableKeyboardNavigation=C,x.pluginSystem.add("tableKeyboardNavigation",C)},30739:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(64968),y=o(76502),x=o(40332),C=o(77904);h.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},C.Icon.set("table",o(51716)),h.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(_,w,z,R,N){for(var S=z.data&&z.data.rows?z.data.rows:10,E=z.data&&z.data.cols?z.data.cols:10,O=_.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+function(){if(!_.o.table.useExtraClassesOptions)return"";var qe=[];if(z.data){var rt=z.data.classList;Object.keys(rt).forEach(function(ot){qe.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(ot,'" type="checkbox"/>').concat(rt[ot],"</label>"))})}return qe.join("")}()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),H=O.querySelectorAll("span")[0],U=O.querySelectorAll("span")[1],X=O.querySelector(".jodit-form__container"),W=O.querySelector(".jodit-form__options"),re=[],pe=S*E,Ae=0;pe>Ae;Ae+=1)re[Ae]||re.push(_.c.element("span",{dataIndex:Ae}));if(_.e.on(X,"mousemove",function(qe,rt){var ot=qe.target;if(v.Dom.isTag(ot,"span")){for(var vt=void 0===rt||isNaN(rt)?parseInt((0,y.attr)(ot,"-index")||"0",10):rt||0,rn=Math.ceil((vt+1)/E),Xt=vt%E+1,fn=0;re.length>fn;fn+=1)re[fn].className=fn%E+1>Xt||rn<Math.ceil((fn+1)/E)?"":"jodit_hovered";U.textContent=Xt.toString(),H.textContent=rn.toString()}}).on(X,"touchstart mousedown",function(qe){var rt=qe.target;if(qe.preventDefault(),qe.stopImmediatePropagation(),v.Dom.isTag(rt,"span")){var ot=parseInt((0,y.attr)(rt,"-index")||"0",10),vt=Math.ceil((ot+1)/E),rn=ot%E+1,Xt=_.createInside,fn=Xt.element("tbody"),_n=Xt.element("table");_n.appendChild(fn);for(var hn,vn,xn=null,dn=1;vt>=dn;dn+=1){hn=Xt.element("tr");for(var Sn=1;rn>=Sn;Sn+=1)vn=Xt.element("td"),xn||(xn=vn),(0,x.css)(vn,"width",(100/rn).toFixed(4)+"%"),vn.appendChild(Xt.element("br")),hn.appendChild(Xt.text("\n")),hn.appendChild(Xt.text("\t")),hn.appendChild(vn);fn.appendChild(Xt.text("\n")),fn.appendChild(hn)}(0,x.$$)("input[type=checkbox]:checked",W).forEach(function(si){si.value.split(/[\s]+/).forEach(function(cn){_n.classList.add(cn)})}),_.editor.firstChild&&_.s.insertNode(Xt.text("\n"),!1,!1),_.s.insertNode(_n,!1),xn&&(_.s.setCursorIn(xn),(0,x.scrollIntoViewIfNeeded)(xn,_.editor,_.ed)),R()}}),N&&N.parentElement){for(Ae=0;S>Ae;Ae+=1){for(var Se=_.c.div(),De=0;E>De;De+=1)Se.appendChild(re[Ae*E+De]);X.appendChild(Se)}re[0]&&(re[0].className="hovered")}return O},tooltip:"Insert table"}},45842:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.table=void 0,o(51057);var h=o(17332);function v(y){y.registerButton({name:"table",group:"insert"})}o(30739),s.table=v,h.pluginSystem.add("table",v)},79114:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(93166),v=o(718),y=o(40332),x=o(95963),C=o(96516);o(77904).Icon.set("video",o(49222)),h.Config.prototype.controls.video={popup:function(_,w,z,R){var N=new x.UIForm(_,[new x.UIBlock(_,[new x.UIInput(_,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new x.UIBlock(_,[(0,C.Button)(_,"","Insert","primary").onAction(function(){return N.submit()})])]),S=new x.UIForm(_,[new x.UIBlock(_,[new x.UITextArea(_,{name:"code",required:!0,label:"Embed code"})]),new x.UIBlock(_,[(0,C.Button)(_,"","Insert","primary").onAction(function(){return S.submit()})])]),E=[],O=function(H){_.s.restore(),_.s.insertHTML(H),R()};return _.s.save(),E.push({icon:"link",name:"Link",content:N.container},{icon:"source",name:"Code",content:S.container}),N.onSubmit(function(H){O((0,y.convertMediaUrlToVideoEmbed)(H.url))}),S.onSubmit(function(H){O(H.code)}),(0,v.TabsWidget)(_,E)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},19889:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(17332);o(79114),h.pluginSystem.add("video",function(v){v.registerButton({name:"video",group:"media"})})},64401:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.wrapNodes={exclude:["hr","style","br"],emptyBlockAfterInit:!0}},20728:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255),v=o(57549),y=o(64968),x=o(24421),C=o(43441),_=o(17332);o(64401);var w=function(z){function R(){var N=null!==z&&z.apply(this,arguments)||this;return N.isSuitableStart=function(S){return y.Dom.isText(S)&&(0,x.isString)(S.nodeValue)&&/[^\s]/.test(S.nodeValue)||N.isNotClosed(S)&&!y.Dom.isTemporary(S)},N.isSuitable=function(S){return y.Dom.isText(S)||N.isNotClosed(S)},N.isNotClosed=function(S){return y.Dom.isElement(S)&&!(y.Dom.isBlock(S)||y.Dom.isTag(S,N.j.o.wrapNodes.exclude))},N}return h.__extends(R,z),R.prototype.afterInit=function(N){"br"!==N.o.enter.toLowerCase()&&N.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},R.prototype.beforeDestruct=function(N){N.e.off(".wtn")},R.prototype.postProcessSetEditorValue=function(){var N=this.jodit;if(N.isEditorMode()){for(var S=N.editor.firstChild,E=!1;S;){if(S=this.checkAloneListLeaf(S,N),this.isSuitableStart(S)){E||N.s.save(),E=!0;var O=N.createInside.element(N.o.enter);for(y.Dom.before(S,O);S&&this.isSuitable(S);){var H=S.nextSibling;O.appendChild(S),S=H}O.normalize(),S=O}S=S&&S.nextSibling}E&&(N.s.restore(),"afterInit"===N.e.current&&N.e.fire("internalChange"))}},R.prototype.checkAloneListLeaf=function(N,S){var E=N,O=N;do{if(!y.Dom.isElement(O)||!y.Dom.isTag(O,"li")||y.Dom.isTag(O.parentElement,["ul","ol"]))break;var H=y.Dom.findNotEmptySibling(O,!1);y.Dom.isTag(E,"ul")?E.appendChild(O):E=y.Dom.wrap(O,"ul",S.createInside),O=H}while(O);return E},R.prototype.preprocessInput=function(){var N=this.jodit,S="afterInit"===N.e.current;if(N.isEditorMode()&&!N.editor.firstChild&&(N.o.wrapNodes.emptyBlockAfterInit||!S)){var E=N.createInside.element(N.o.enter),O=N.createInside.element("br");y.Dom.append(E,O),y.Dom.append(N.editor,E),N.s.isFocused()&&N.s.setCursorBefore(O),N.e.fire("internalChange")}},h.__decorate([C.autobind],R.prototype,"postProcessSetEditorValue",null),h.__decorate([C.autobind],R.prototype,"preprocessInput",null),R}(v.Plugin);_.pluginSystem.add("wrapNodes",w)},71707:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(93166).Config.prototype.showXPathInStatusbar=!0},18238:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var h=o(20255);o(64618);var v=o(86893),y=o(60403),x=o(64968),C=o(40332),_=o(57549),w=o(81438),z=o(17332);o(71707);var R=function(N){function S(){var E=null!==N&&N.apply(this,arguments)||this;return E.onContext=function(O,H){return E.menu||(E.menu=new y.ContextMenu(E.j)),E.menu.show(H.clientX,H.clientY,[{icon:"bin",title:O===E.j.editor?"Clear":"Remove",exec:function(){O!==E.j.editor?x.Dom.safeRemove(O):E.j.value="",E.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:function(){E.j.s.select(O)}}]),!1},E.onSelectPath=function(O,H){E.j.s.focus();var U=(0,C.attr)(H.target,"-path")||"/";if("/"===U)return E.j.execCommand("selectall"),!1;try{var X=E.j.ed.evaluate(U,E.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(X)return E.j.s.select(X),!1}catch(W){}return E.j.s.select(O),!1},E.tpl=function(O,H,U,X){var W=E.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(H,'" title="').concat(X,'" tabindex="-1"\'>').concat((0,C.trim)(U),"</a></span>")),re=W.firstChild;return E.j.e.on(re,"click",E.onSelectPath.bind(E,O)).on(re,"contextmenu",E.onContext.bind(E,O)),W},E.removeSelectAll=function(){E.selectAllButton&&(E.selectAllButton.destruct(),delete E.selectAllButton)},E.appendSelectAll=function(){E.removeSelectAll(),E.selectAllButton=(0,w.makeButton)(E.j,h.__assign({name:"selectall"},E.j.o.controls.selectall)),E.selectAllButton.state.size="tiny",E.container&&E.container.insertBefore(E.selectAllButton.container,E.container.firstChild)},E.calcPathImd=function(){if(!E.isDestructed){var O,H,U,X=E.j.s.current();E.container&&(E.container.innerHTML=v.INVISIBLE_SPACE),X&&x.Dom.up(X,function(W){W&&E.j.editor!==W&&!x.Dom.isText(W)&&(O=W.nodeName.toLowerCase(),H=(0,C.getXPathByElement)(W,E.j.editor).replace(/^\//,""),U=E.tpl(W,H,O,E.j.i18n("Select %s",O)),E.container&&E.container.insertBefore(U,E.container.firstChild))},E.j.editor),E.appendSelectAll()}},E.calcPath=E.j.async.debounce(E.calcPathImd,2*E.j.defaultTimeout),E}return h.__extends(S,N),S.prototype.afterInit=function(){var E=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",function(){E.j.o.showXPathInStatusbar&&E.container&&(E.j.statusbar.append(E.container),E.j.getRealMode()===v.MODE_WYSIWYG?E.calcPath():(E.container&&(E.container.innerHTML=v.INVISIBLE_SPACE),E.appendSelectAll()))}),this.calcPath())},S.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),x.Dom.safeRemove(this.container),delete this.menu,delete this.container},S}(_.Plugin);z.pluginSystem.add("xpath",R)},89019:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o(61227),o(690),o(66622),o(69220),o(10444),Array.prototype.includes||(Array.prototype.includes=function(h){return this.indexOf(h)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(h,v){if(null==h)throw new TypeError("Cannot convert undefined or null to object");for(var y=Object(h),x=1;arguments.length>x;x++){var C=arguments[x];if(null!=C)for(var _ in C)Object.prototype.hasOwnProperty.call(C,_)&&(y[_]=C[_])}return y},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(h){return this.indexOf(h)>-1?h:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(h){return this[this.length-1]===h})},15261:function(m,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.valign=s.upload=s.update=s.unlock=s.settings=s.save=s.right=s.resize_handler=s.plus=s.pencil=s.ok=s.lock=s.left=s.info_circle=s.folder=s.file=s.eye=s.dots=s.chevron=s.check=s.center=s.cancel=s.bin=s.angle_up=s.angle_right=s.angle_left=s.angle_down=void 0;var h=o(1755);s.angle_down=h;var v=o(74911);s.angle_left=v;var y=o(8805);s.angle_right=y;var x=o(16547);s.angle_up=x;var C=o(10856);s.bin=C;var _=o(98441);s.cancel=_;var w=o(52488);s.center=w;var z=o(9370);s.check=z;var R=o(66543);s.chevron=R;var N=o(608);s.dots=N;var S=o(42840);s.eye=S;var E=o(79096);s.file=E;var O=o(33014);s.folder=O;var H=o(91677);s.info_circle=H;var U=o(8259);s.left=U;var X=o(64467);s.lock=X;var W=o(86934);s.ok=W;var re=o(76133);s.pencil=re;var pe=o(45519);s.plus=pe;var Ae=o(90265);s.resize_handler=Ae;var Se=o(81279);s.right=Se;var De=o(68899);s.save=De;var qe=o(70744);s.settings=qe;var rt=o(19201);s.unlock=rt;var ot=o(84930);s.update=ot;var vt=o(99704);s.upload=vt;var rn=o(2304);s.valign=rn},80078:function(m){m.exports={"copy-format":"\u0646\u0633\u062e \u0627\u0644\u062a\u0646\u0633\u064a\u0642"}},16986:function(m){m.exports={"copy-format":"Kop\xedrovat form\xe1t"}},59347:function(m){m.exports={"copy-format":"Format kopieren\u0442"}},63640:function(m){m.exports={"copy-format":"Copiar formato"}},53434:function(m){m.exports={"copy-format":"\u06a9\u067e\u06cc \u06a9\u0631\u062f\u0646 \u0642\u0627\u0644\u0628"}},85638:function(m){m.exports={"copy-format":"Format de copie"}},31743:function(m){m.exports={"copy-format":"\u05d4\u05e2\u05ea\u05e7 \u05e2\u05d9\u05e6\u05d5\u05d1"}},66219:function(m){m.exports={"copy-format":"Form\xe1tum m\xe1sol\xe1s"}},50331:function(m){m.exports={"copy-format":"salin format"}},25582:function(m){m.exports={"copy-format":"Copia il formato"}},82066:function(m){m.exports={"copy-format":"copyformat"}},71925:function(m){m.exports={"copy-format":"\ubcf5\uc0ac \ud615\uc2dd"}},65274:function(m){m.exports={"copy-format":"opmaak kopi\xebren"}},58548:function(m){m.exports={"copy-format":"format kopii"}},82958:function(m){m.exports={"copy-format":"Copiar formato"}},52315:function(m){m.exports={"copy-format":"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442"}},87727:function(m){m.exports={"copy-format":"Kopyalama Bi\xe7imi"}},9396:function(m){m.exports={"copy-format":"\u590d\u5236\u683c\u5f0f"}},28765:function(m){m.exports={"copy-format":"\u8907\u88fd\u683c\u5f0f"}},47762:function(m){m.exports={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u0627\u0644\u062e\u0637"}},97495:function(m){m.exports={"Line height":"V\xfd\u0161ka \u010d\xe1ry"}},80131:function(m){m.exports={"Line height":"Zeilenh\xf6he"}},1201:function(m){m.exports={"Line height":"Altura de la l\xednea"}},89912:function(m){m.exports={"Line height":"\u0627\u0631\u062a\u0641\u0627\u0639 \u062e\u0637"}},3405:function(m){m.exports={"Line height":"Hauteur de ligne"}},14129:function(m){m.exports={"Line height":"\u05d2\u05d5\u05d1\u05d4 \u05e9\u05d5\u05e8\u05d4"}},93729:function(m){m.exports={"Line height":"Vonal magass\xe1ga"}},16106:function(m){m.exports={"Line height":"Tinggi baris"}},89690:function(m){m.exports={"Line height":"Altezza linea"}},33216:function(m){m.exports={"Line height":"\u30e9\u30a4\u30f3\u306e\u9ad8\u3055"}},17282:function(m){m.exports={"Line height":"\uc120 \ub192\uc774"}},91761:function(m){m.exports={"Line height":"Lijnhoogte"}},61675:function(m){m.exports={"Line height":"Wysoko\u015b\u0107 linii"}},69709:function(m){m.exports={"Line height":"Altura da linha"}},82591:function(m){m.exports={"Line height":"\u0412\u044b\u0441\u043e\u0442\u0430 \u043b\u0438\u043d\u0438\u0438"}},87649:function(m){m.exports={"Line height":"\xc7izgi y\xfcksekli\u011fi"}},60268:function(m){m.exports={"Line height":"\u7ebf\u9ad8"}},58214:function(m){m.exports={"Line height":"\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e39\u0e07\u0e40\u0e2a\u0e49\u0e19"}},5586:function(m){m.exports={Spellcheck:"\u0627\u0644\u062a\u062f\u0642\u064a\u0642 \u0627\u0644\u0625\u0645\u0644\u0627\u0626\u064a"}},66023:function(m){m.exports={Spellcheck:"Kontrola pravopisu"}},65860:function(m){m.exports={Spellcheck:"Rechtschreibpr\xfcfung"}},86055:function(m){m.exports={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},50037:function(m){m.exports={Spellcheck:"\u063a\u0644\u0637\u06cc\u0627\u0628\u06cc \u0627\u0645\u0644\u0627\u06cc\u06cc"}},7118:function(m){m.exports={Spellcheck:"V\xe9rification Orthographique"}},30298:function(m){m.exports={Spellcheck:"\u05d1\u05d3\u05d9\u05e7\u05ea \u05d0\u05d9\u05d5\u05ea"}},52107:function(m){m.exports={Spellcheck:"Helyes\xedr\xe1s-ellen\u0151rz\xe9s"}},31240:function(m){m.exports={Spellcheck:"Spellchecking"}},4101:function(m){m.exports={Spellcheck:"Controllo ortografico"}},69286:function(m){m.exports={Spellcheck:"\u30b9\u30da\u30eb\u30c1\u30a7\u30c3\u30af"}},13402:function(m){m.exports={Spellcheck:"\ub9de\ucda4\ubc95 \uac80\uc0ac"}},89574:function(m){m.exports={Spellcheck:"Spellingcontrole"}},63630:function(m){m.exports={Spellcheck:"Sprawdzanie pisowni"}},72212:function(m){m.exports={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},82570:function(m){m.exports={Spellcheck:"\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043e\u0440\u0444\u043e\u0433\u0440\u0430\u0444\u0438\u0438"}},19323:function(m){m.exports={Spellcheck:"Yaz\u0131m denetimi"}},50279:function(m){m.exports={Spellcheck:"\u62fc\u5199\u68c0\u67e5"}},98364:function(m){m.exports={Spellcheck:"\u0e2a\u0e30\u0e01\u0e14\u0e04\u0e33"}},54261:function(m){m.exports={symbols:"\u0631\u0645\u0632"}},60425:function(m){m.exports={symbols:"symbol"}},7057:function(m){m.exports={symbols:"Symbol"}},48356:function(m){m.exports={symbols:"S\xedmbolo"}},11428:function(m){m.exports={symbols:"\u0633\u0645\u0628\u0644"}},29084:function(m){m.exports={symbols:"caract\xe8re"}},22876:function(m){m.exports={symbols:"\u05ea\u05d5 \u05de\u05d9\u05d5\u05d7\u05d3"}},20890:function(m){m.exports={symbols:"Szimb\xf3lum"}},75987:function(m){m.exports={symbols:"simbol"}},60379:function(m){m.exports={symbols:"Simbolo"}},99950:function(m){m.exports={symbols:"symbol"}},60934:function(m){m.exports={symbols:"\uae30\ud638"}},21994:function(m){m.exports={symbols:"symbool"}},38128:function(m){m.exports={symbols:"symbol"}},71515:function(m){m.exports={symbols:"S\xedmbolo"}},58194:function(m){m.exports={symbols:"\u0441\u0438\u043c\u0432\u043e\u043b"}},65802:function(m){m.exports={symbols:"Sembol"}},86628:function(m){m.exports={symbols:"\u7b26\u53f7"}},32210:function(m){m.exports={symbols:"\u7b26\u865f"}},52378:function(m){"use strict";m.exports={assert(){}}}},n={};function i(m){var s=n[m];if(void 0!==s)return s.exports;var o=n[m]={exports:{}};return B[m].call(o.exports,o,o.exports,i),o.exports}i.m=B,$e=[],i.O=function(m,s,o,h){if(!s){var v=1/0;for(_=0;$e.length>_;_++){s=$e[_][0],o=$e[_][1],h=$e[_][2];for(var y=!0,x=0;s.length>x;x++)(!1&h||v>=h)&&Object.keys(i.O).every(function(w){return i.O[w](s[x])})?s.splice(x--,1):(y=!1,v>h&&(v=h));if(y){$e.splice(_--,1);var C=o();void 0!==C&&(m=C)}}return m}h=h||0;for(var _=$e.length;_>0&&$e[_-1][2]>h;_--)$e[_]=$e[_-1];$e[_]=[s,o,h]},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(m){if("object"==typeof window)return window}}(),i.o=function(m,s){return Object.prototype.hasOwnProperty.call(m,s)},i.r=function(m){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},function(){var m={670:0};i.O.j=function(h){return 0===m[h]};var s=function(h,v){var y,x,C=v[0],_=v[1],w=v[2],z=0;if(C.some(function(N){return 0!==m[N]})){for(y in _)i.o(_,y)&&(i.m[y]=_[y]);if(w)var R=w(i)}for(h&&h(v);C.length>z;z++)i.o(m,x=C[z])&&m[x]&&m[x][0](),m[x]=0;return i.O(R)},o=self.webpackChunkjodit=self.webpackChunkjodit||[];o.forEach(s.bind(null,0)),o.push=s.bind(null,o.push.bind(o))}();var P={};return function(){"use strict";var m=P;Object.defineProperty(m,"__esModule",{value:!0}),m.CommitMode=m.Jodit=void 0,i(90176),"undefined"!=typeof window&&i(89019);var s=i(37920);Object.defineProperty(m,"Jodit",{enumerable:!0,get:function(){return s.Jodit}});var o=i(26435),h=i(43441),v=i(86893),y=i(87837),x=i(15261);i(70022),i(91147),Object.keys(v).forEach(function(_){s.Jodit[_]=v[_]});var C=function(_){return"__esModule"!==_};Object.keys(x).filter(C).forEach(function(_){y.Icon.set(_.replace("_","-"),x[_])}),Object.keys(y).filter(C).forEach(function(_){s.Jodit.modules[_]=y[_]}),Object.keys(h).filter(C).forEach(function(_){s.Jodit.decorators[_]=h[_]}),["Confirm","Alert","Prompt"].forEach(function(_){s.Jodit[_]=y[_]}),Object.keys(o.default).filter(C).forEach(function(_){s.Jodit.lang[_]=o.default[_]}),m.CommitMode=function(){}}(),i.O(P)}()},91234:()=>{var de,$e,i;de=window,$e=document,L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"},clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(i,P){this._map=i,this._container=i._container,this._overlayPane=i._panes.overlayPane,this._popupPane=i._panes.popupPane,P&&P.shapeOptions&&(P.shapeOptions=L.Util.extend({},this.options.shapeOptions,P.shapeOptions)),L.setOptions(this,P);var m=L.version.split(".");1===parseInt(m[0],10)&&parseInt(m[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(L.DomUtil.disableTextSelection(),i.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(i){L.setOptions(this,i)},_fireCreatedEvent:function(i){this._map.fire(L.Draw.Event.CREATED,{layer:i,layerType:this.type})},_cancelDrawing:function(i){27===i.keyCode&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(i,P){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,P&&P.drawError&&(P.drawError=L.Util.extend({},this.options.drawError,P.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,i,P)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var i=this._markers.pop(),P=this._poly,m=P.getLatLngs(),s=m.splice(-1,1)[0];this._poly.setLatLngs(m),this._markerGroup.removeLayer(i),P.getLatLngs().length<2&&this._map.removeLayer(P),this._vertexChanged(s,!1)}},addVertex:function(i){this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(i)?this._showErrorTooltip():(this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(i)),this._poly.addLatLng(i),2===this._poly.getLatLngs().length&&this._map.addLayer(this._poly),this._vertexChanged(i,!0))},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var i=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),P=this._poly.newLatLngIntersects(i[i.length-1]);!this.options.allowIntersection&&P||!this._shapeIsValid()?this._showErrorTooltip():(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_shapeIsValid:function(){return!0},_onZoomEnd:function(){null!==this._markers&&this._updateGuide()},_onMouseMove:function(i){var P=this._map.mouseEventToLayerPoint(i.originalEvent),m=this._map.layerPointToLatLng(P);this._currentLatLng=m,this._updateTooltip(m),this._updateGuide(P),this._mouseMarker.setLatLng(m),L.DomEvent.preventDefault(i.originalEvent)},_vertexChanged:function(i,P){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(i,P),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(i){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(i),this._clickHandled=!0,this._disableNewMarkers();var P=i.originalEvent,m=P.clientX,s=P.clientY;this._startPoint.call(this,m,s)}},_startPoint:function(i,P){this._mouseDownOrigin=L.point(i,P)},_onMouseUp:function(i){var P=i.originalEvent,m=P.clientX,s=P.clientY;this._endPoint.call(this,m,s,i),this._clickHandled=null},_endPoint:function(i,P,m){if(this._mouseDownOrigin){var s=L.point(i,P).distanceTo(this._mouseDownOrigin),o=this._calculateFinishDistance(m.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(m.latlng),this._finishShape()):o<10&&L.Browser.touch?this._finishShape():Math.abs(s)<9*(de.devicePixelRatio||1)&&this.addVertex(m.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(i){var P,m,s=i.originalEvent;!s.touches||!s.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(P=s.touches[0].clientX,m=s.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,P,m),this._endPoint.call(this,P,m,i),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(i){var P;if(this._markers.length>0){var m;if(this.type===L.Draw.Polyline.TYPE)m=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;m=this._markers[0]}var s=this._map.latLngToContainerPoint(m.getLatLng()),o=new L.Marker(i,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),h=this._map.latLngToContainerPoint(o.getLatLng());P=s.distanceTo(h)}else P=1/0;return P},_updateFinishHandler:function(){var i=this._markers.length;i>1&&this._markers[i-1].on("click",this._finishShape,this),i>2&&this._markers[i-2].off("click",this._finishShape,this)},_createMarker:function(i){var P=new L.Marker(i,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(P),P},_updateGuide:function(i){var P=this._markers?this._markers.length:0;P>0&&(i=i||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[P-1].getLatLng()),i))},_updateTooltip:function(i){var P=this._getTooltipText();i&&this._tooltip.updatePosition(i),this._errorShown||this._tooltip.updateContent(P)},_drawGuide:function(i,P){var m,s,o,h=Math.floor(Math.sqrt(Math.pow(P.x-i.x,2)+Math.pow(P.y-i.y,2))),v=this.options.guidelineDistance,y=this.options.maxGuideLineLength,x=h>y?h-y:v;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));x<h;x+=this.options.guidelineDistance)m=x/h,s={x:Math.floor(i.x*(1-m)+m*P.x),y:Math.floor(i.y*(1-m)+m*P.y)},(o=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer)).style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(o,s)},_updateGuideColor:function(i){if(this._guidesContainer)for(var P=0,m=this._guidesContainer.childNodes.length;P<m;P++)this._guidesContainer.childNodes[P].style.backgroundColor=i},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var i,P,m=this.options.showLength;return 0===this._markers.length?i={text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(P=m?this._getMeasurementString():"",i=1===this._markers.length?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:P}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:P}),i},_updateRunningMeasure:function(i,P){var m,s,o=this._markers.length;1===this._markers.length?this._measurementRunningTotal=0:(m=o-(P?2:1),s=L.GeometryUtil.isVersion07x()?i.distanceTo(this._markers[m].getLatLng())*(this.options.factor||1):this._map.distance(i,this._markers[m].getLatLng())*(this.options.factor||1),this._measurementRunningTotal+=s*(P?1:-1))},_getMeasurementString:function(){var i,P=this._currentLatLng,m=this._markers[this._markers.length-1].getLatLng();return i=L.GeometryUtil.isVersion07x()?m&&P&&P.distanceTo?this._measurementRunningTotal+P.distanceTo(m)*(this.options.factor||1):this._measurementRunningTotal||0:m&&P?this._measurementRunningTotal+this._map.distance(P,m)*(this.options.factor||1):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(i,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout(function(){this._disableMarkers=!1}.bind(this),50)},_cleanUpShape:function(){this._markers.length>1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var i=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(i,P){L.Draw.Polyline.prototype.initialize.call(this,i,P),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var i=this._markers.length;1===i&&this._markers[0].on("click",this._finishShape,this),i>2&&(this._markers[i-1].on("dblclick",this._finishShape,this),i>3&&this._markers[i-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var i,P;return 0===this._markers.length?i=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(i=L.drawLocal.draw.handlers.polygon.tooltip.cont,P=this._getMeasurementString()):(i=L.drawLocal.draw.handlers.polygon.tooltip.end,P=this._getMeasurementString()),{text:i,subtext:P}},_getMeasurementString:function(){var i=this._area,P="";return i||this.options.showLength?(this.options.showLength&&(P=L.Draw.Polyline.prototype._getMeasurementString.call(this)),i&&(P+="<br>"+L.GeometryUtil.readableArea(i,this.options.metric,this.options.precision)),P):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(i,P){var m;!this.options.allowIntersection&&this.options.showArea&&(m=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(m)),L.Draw.Polyline.prototype._vertexChanged.call(this,i,P)},_cleanUpShape:function(){var i=this._markers.length;i>0&&(this._markers[0].off("click",this._finishShape,this),i>2&&this._markers[i-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(i,P){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,i,P)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),$e.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off($e,"mouseup",this._onMouseUp,this),L.DomEvent.off($e,"touchend",this._onMouseUp,this),$e.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(i){this._isDrawing=!0,this._startLatLng=i.latlng,L.DomEvent.on($e,"mouseup",this._onMouseUp,this).on($e,"touchend",this._onMouseUp,this).preventDefault(i.originalEvent)},_onMouseMove:function(i){var P=i.latlng;this._tooltip.updatePosition(P),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(P))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(i,P){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,i,P)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(i){this._shape||this._isCurrentlyTwoClickDrawing?this._isCurrentlyTwoClickDrawing&&!function n(i,P){for(;(i=i.parentElement)&&!i.classList.contains(P););return i}(i.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this):this._isCurrentlyTwoClickDrawing=!0},_drawShape:function(i){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,i)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,i),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var i=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,i)},_getTooltipText:function(){var i,P,m,s=L.Draw.SimpleShape.prototype._getTooltipText.call(this),o=this._shape,h=this.options.showArea;return o&&(i=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),P=L.GeometryUtil.geodesicArea(i),m=h?L.GeometryUtil.readableArea(P,this.options.metric):""),{text:s.text,subtext:m}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(i,P){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,i,P)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(i){var P=i.latlng;this._tooltip.updatePosition(P),this._mouseMarker.setLatLng(P),this._marker?(P=this._mouseMarker.getLatLng(),this._marker.setLatLng(P)):(this._marker=this._createMarker(P),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(i){return new L.Marker(i,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(i){this._onMouseMove(i),this._onClick()},_fireCreatedEvent:function(){var i=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(i,P){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,i,P)},_fireCreatedEvent:function(){var i=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,i)},_createMarker:function(i){return new L.CircleMarker(i,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(i,P){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,i,P)},_drawShape:function(i){if(L.GeometryUtil.isVersion07x())var P=this._startLatLng.distanceTo(i);else P=this._map.distance(this._startLatLng,i);this._shape?this._shape.setRadius(P):(this._shape=new L.Circle(this._startLatLng,P,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var i=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,i)},_onMouseMove:function(i){var P,m=i.latlng,s=this.options.showRadius,o=this.options.metric;if(this._tooltip.updatePosition(m),this._isDrawing){this._drawShape(m),P=this._shape.getRadius().toFixed(1);var h="";s&&(h=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(P,o,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:h})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(i,P){this._marker=i,L.setOptions(this,P)},addHooks:function(){var i=this._marker;i.dragging.enable(),i.on("dragend",this._onDragEnd,i),this._toggleMarkerHighlight()},removeHooks:function(){var i=this._marker;i.dragging.disable(),i.off("dragend",this._onDragEnd,i),this._toggleMarkerHighlight()},_onDragEnd:function(i){var P=i.target;P.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:P})},_toggleMarkerHighlight:function(){var i=this._marker._icon;i&&(i.style.display="none",L.DomUtil.hasClass(i,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(i,"leaflet-edit-marker-selected"),this._offsetMarker(i,-4)):(L.DomUtil.addClass(i,"leaflet-edit-marker-selected"),this._offsetMarker(i,4)),i.style.display="")},_offsetMarker:function(i,P){var m=parseInt(i.style.marginTop,10)-P,s=parseInt(i.style.marginLeft,10)-P;i.style.marginTop=m+"px",i.style.marginLeft=s+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(i){this.latlngs=[i._latlngs],i._holes&&(this.latlngs=this.latlngs.concat(i._holes)),this._poly=i,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(i){for(var P=0;P<this._verticesHandlers.length;P++)i(this._verticesHandlers[P])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(i){i.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(i){i.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(i){i.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var i=0;i<this.latlngs.length;i++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[i],this._poly.options.poly))},_updateLatLngs:function(i){this.latlngs=[i.layer._latlngs],i.layer._holes&&(this.latlngs=this.latlngs.concat(i.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(i,P,m){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=i,m&&m.drawError&&(m.drawError=L.Util.extend({},this.options.drawError,m.drawError)),this._latlngs=P,L.setOptions(this,m)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var i=this._poly,P=i._path;i instanceof L.Polygon||(i.options.fill=!1,i.options.editing&&(i.options.editing.fill=!1)),P&&i.options.editing&&i.options.editing.className&&(i.options.original.className&&i.options.original.className.split(" ").forEach(function(m){L.DomUtil.removeClass(P,m)}),i.options.editing.className.split(" ").forEach(function(m){L.DomUtil.addClass(P,m)})),i.setStyle(i.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var i=this._poly,P=i._path;P&&i.options.editing&&i.options.editing.className&&(i.options.editing.className.split(" ").forEach(function(m){L.DomUtil.removeClass(P,m)}),i.options.original.className&&i.options.original.className.split(" ").forEach(function(m){L.DomUtil.addClass(P,m)})),i.setStyle(i.options.original),i._map&&(i._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var i,P,m,s,h,v,o=this._defaultShape();for(i=0,m=o.length;i<m;i++)(s=this._createMarker(o[i],i)).on("click",this._onMarkerClick,this),s.on("contextmenu",this._onContextMenu,this),this._markers.push(s);for(i=0,P=m-1;i<m;P=i++)(0!==i||L.Polygon&&this._poly instanceof L.Polygon)&&(h=this._markers[P],v=this._markers[i],this._createMiddleMarker(h,v),this._updatePrevNext(h,v))},_createMarker:function(i,P){var m=new L.Marker.Touch(i,{draggable:!0,icon:this.options.icon});return m._origLatLng=i,m._index=P,m.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(m),m},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var i=this._defaultShape(),P=[].splice.apply(i,arguments);return this._poly._convertLatLngs(i,!0),this._poly.redraw(),P},_removeMarker:function(i){var P=i._index;this._markerGroup.removeLayer(i),this._markers.splice(P,1),this._spliceLatLngs(P,1),this._updateIndexes(P,-1),i.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(i){var P=i.target,m=this._poly,s=L.LatLngUtil.cloneLatLng(P._origLatLng);if(L.extend(P._origLatLng,P._latlng),m.options.poly){var o=m._map._editTooltip;if(!m.options.poly.allowIntersection&&m.intersects()){L.extend(P._origLatLng,s),P.setLatLng(s);var h=m.options.color;m.setStyle({color:this.options.drawError.color}),o&&o.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){m.setStyle({color:h}),o&&o.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}P._middleLeft&&P._middleLeft.setLatLng(this._getMiddleLatLng(P._prev,P)),P._middleRight&&P._middleRight.setLatLng(this._getMiddleLatLng(P,P._next)),this._poly._bounds._southWest=L.latLng(1/0,1/0),this._poly._bounds._northEast=L.latLng(-1/0,-1/0);var v=this._poly.getLatLngs();this._poly._convertLatLngs(v,!0),this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(i){var P=L.Polygon&&this._poly instanceof L.Polygon?4:3,m=i.target;this._defaultShape().length<P||(this._removeMarker(m),this._updatePrevNext(m._prev,m._next),m._middleLeft&&this._markerGroup.removeLayer(m._middleLeft),m._middleRight&&this._markerGroup.removeLayer(m._middleRight),m._prev&&m._next?this._createMiddleMarker(m._prev,m._next):m._prev?m._next||(m._prev._middleRight=null):m._next._middleLeft=null,this._fireEdit())},_onContextMenu:function(i){var P=i.target;this._poly,this._poly._map.fire(L.Draw.Event.MARKERCONTEXT,{marker:P,layers:this._markerGroup,poly:this._poly}),L.DomEvent.stopPropagation},_onTouchMove:function(i){var P=this._map.mouseEventToLayerPoint(i.originalEvent.touches[0]),m=this._map.layerPointToLatLng(P),s=i.target;L.extend(s._origLatLng,m),s._middleLeft&&s._middleLeft.setLatLng(this._getMiddleLatLng(s._prev,s)),s._middleRight&&s._middleRight.setLatLng(this._getMiddleLatLng(s,s._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(i,P){this._markerGroup.eachLayer(function(m){m._index>i&&(m._index+=P)})},_createMiddleMarker:function(i,P){var m,s,o,h=this._getMiddleLatLng(i,P),v=this._createMarker(h);v.setOpacity(.6),i._middleRight=P._middleLeft=v,s=function(){v.off("touchmove",s,this);var y=P._index;v._index=y,v.off("click",m,this).on("click",this._onMarkerClick,this),h.lat=v.getLatLng().lat,h.lng=v.getLatLng().lng,this._spliceLatLngs(y,0,h),this._markers.splice(y,0,v),v.setOpacity(1),this._updateIndexes(y,1),P._index++,this._updatePrevNext(i,v),this._updatePrevNext(v,P),this._poly.fire("editstart")},o=function(){v.off("dragstart",s,this),v.off("dragend",o,this),v.off("touchmove",s,this),this._createMiddleMarker(i,v),this._createMiddleMarker(v,P)},m=function(){s.call(this),o.call(this),this._fireEdit()},v.on("click",m,this).on("dragstart",s,this).on("dragend",o,this).on("touchmove",s,this),this._markerGroup.addLayer(v)},_updatePrevNext:function(i,P){i&&(i._next=P),P&&(P._prev=i)},_getMiddleLatLng:function(i,P){var m=this._poly._map,s=m.project(i.getLatLng()),o=m.project(P.getLatLng());return m.unproject(s._add(o)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(i,P){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=i,L.Util.setOptions(this,P)},addHooks:function(){var i=this._shape;this._shape._map&&(this._map=this._shape._map,i.setStyle(i.options.editing),i._map&&(this._map=i._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var i=this._shape;if(i.setStyle(i.options.original),i._map){this._unbindMarker(this._moveMarker);for(var P=0,m=this._resizeMarkers.length;P<m;P++)this._unbindMarker(this._resizeMarkers[P]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(i,P){var m=new L.Marker.Touch(i,{draggable:!0,icon:P,zIndexOffset:10});return this._bindMarker(m),this._markerGroup.addLayer(m),m},_bindMarker:function(i){i.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(i){i.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(i){i.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(i){var P=i.target,m=P.getLatLng();P===this._moveMarker?this._move(m):this._resize(m),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(i){i.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(i){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,i),"function"==typeof this._getCorners){var P=this._getCorners(),m=i.target,s=m._cornerIndex;m.setOpacity(0),this._oppositeCorner=P[(s+2)%4],this._toggleCornerMarkers(0,s)}this._shape.fire("editstart")},_onTouchMove:function(i){var P=this._map.mouseEventToLayerPoint(i.originalEvent.touches[0]),m=this._map.layerPointToLatLng(P);return i.target===this._moveMarker?this._move(m):this._resize(m),this._shape.redraw(),!1},_onTouchEnd:function(i){i.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var P=this._shape.getBounds().getCenter();this._moveMarker=this._createMarker(P,this.options.moveIcon)},_createResizeMarker:function(){var i=this._getCorners();this._resizeMarkers=[];for(var P=0,m=i.length;P<m;P++)this._resizeMarkers.push(this._createMarker(i[P],this.options.resizeIcon)),this._resizeMarkers[P]._cornerIndex=P},_onMarkerDragStart:function(i){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,i);var P=this._getCorners(),s=i.target._cornerIndex;this._oppositeCorner=P[(s+2)%4],this._toggleCornerMarkers(0,s)},_onMarkerDragEnd:function(i){var m,s=i.target;s===this._moveMarker&&(m=this._shape.getBounds().getCenter(),s.setLatLng(m)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,i)},_move:function(i){for(var P,m=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),o=this._shape.getBounds().getCenter(),h=[],v=0,y=m.length;v<y;v++)P=[m[v].lat-o.lat,m[v].lng-o.lng],h.push([i.lat+P[0],i.lng+P[1]]);this._shape.setLatLngs(h),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(i){var P;this._shape.setBounds(L.latLngBounds(i,this._oppositeCorner)),P=this._shape.getBounds(),this._moveMarker.setLatLng(P.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var i=this._shape.getBounds();return[i.getNorthWest(),i.getNorthEast(),i.getSouthEast(),i.getSouthWest()]},_toggleCornerMarkers:function(i){for(var P=0,m=this._resizeMarkers.length;P<m;P++)this._resizeMarkers[P].setOpacity(i)},_repositionCornerMarkers:function(){for(var i=this._getCorners(),P=0,m=this._resizeMarkers.length;P<m;P++)this._resizeMarkers[P].setLatLng(i[P])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.CircleMarker=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var i=this._shape.getLatLng();this._moveMarker=this._createMarker(i,this.options.moveIcon)},_createResizeMarker:function(){this._resizeMarkers=[]},_move:function(i){if(this._resizeMarkers.length){var P=this._getResizeMarkerPoint(i);this._resizeMarkers[0].setLatLng(P)}this._shape.setLatLng(i),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})}}),L.CircleMarker.addInitHook(function(){L.Edit.CircleMarker&&(this.editing=new L.Edit.CircleMarker(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.CircleMarker.extend({_createResizeMarker:function(){var i=this._shape.getLatLng(),P=this._getResizeMarkerPoint(i);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(P,this.options.resizeIcon))},_getResizeMarkerPoint:function(i){var P=this._shape._radius*Math.cos(Math.PI/4),m=this._map.project(i);return this._map.unproject([m.x+P,m.y-P])},_resize:function(i){var P=this._moveMarker.getLatLng();L.GeometryUtil.isVersion07x()?radius=P.distanceTo(i):radius=this._map.distance(P,i),this._shape.setRadius(radius),this._map.editTooltip&&this._map._editTooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.subtext+"<br />"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(i){this._map=i,this._container=i._container,this._pane=i._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(i,P){var m={};if(void 0!==i.touches){if(!i.touches.length)return;m=i.touches[0]}else if("touch"!==i.pointerType||(m=i,!this._filterClick(i)))return;var s=this._map.mouseEventToContainerPoint(m),o=this._map.mouseEventToLayerPoint(m),h=this._map.layerPointToLatLng(o);this._map.fire(P,{latlng:h,layerPoint:o,containerPoint:s,pageX:m.pageX,pageY:m.pageY,originalEvent:i})},_filterClick:function(i){var P=i.timeStamp||i.originalEvent.timeStamp,m=L.DomEvent._lastClick&&P-L.DomEvent._lastClick;return m&&m>100&&m<500||i.target._simulatedClick&&!i._simulated?(L.DomEvent.stop(i),!1):(L.DomEvent._lastClick=P,!0)},_onTouchStart:function(i){this._map._loaded&&this._touchEvent(i,"touchstart")},_onTouchEnd:function(i){this._map._loaded&&this._touchEvent(i,"touchend")},_onTouchCancel:function(i){if(this._map._loaded){var P="touchcancel";this._detectIE()&&(P="pointercancel"),this._touchEvent(i,P)}},_onTouchLeave:function(i){this._map._loaded&&this._touchEvent(i,"touchleave")},_onTouchMove:function(i){this._map._loaded&&this._touchEvent(i,"touchmove")},_detectIE:function(){var i=de.navigator.userAgent,P=i.indexOf("MSIE ");if(P>0)return parseInt(i.substring(P+5,i.indexOf(".",P)),10);if(i.indexOf("Trident/")>0){var m=i.indexOf("rv:");return parseInt(i.substring(m+3,i.indexOf(".",m)),10)}var s=i.indexOf("Edge/");return s>0&&parseInt(i.substring(s+5,i.indexOf(".",s)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var i=this._icon,P=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?P.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):P.concat(["touchcancel"]),L.DomUtil.addClass(i,"leaflet-clickable"),L.DomEvent.on(i,"click",this._onMouseClick,this),L.DomEvent.on(i,"keypress",this._onKeyPress,this);for(var m=0;m<P.length;m++)L.DomEvent.on(i,P[m],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var i=de.navigator.userAgent,P=i.indexOf("MSIE ");if(P>0)return parseInt(i.substring(P+5,i.indexOf(".",P)),10);if(i.indexOf("Trident/")>0){var m=i.indexOf("rv:");return parseInt(i.substring(m+3,i.indexOf(".",m)),10)}var s=i.indexOf("Edge/");return s>0&&parseInt(i.substring(s+5,i.indexOf(".",s)),10)}}),L.LatLngUtil={cloneLatLngs:function(i){for(var P=[],m=0,s=i.length;m<s;m++)Array.isArray(i[m])?P.push(L.LatLngUtil.cloneLatLngs(i[m])):P.push(this.cloneLatLng(i[m]));return P},cloneLatLng:function(i){return L.latLng(i.lat,i.lng)}},i={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2},L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(P){var m,s,o=P.length,h=0,v=Math.PI/180;if(o>2){for(var y=0;y<o;y++)m=P[y],h+=((s=P[(y+1)%o]).lng-m.lng)*v*(2+Math.sin(m.lat*v)+Math.sin(s.lat*v));h=6378137*h*6378137/2}return Math.abs(h)},formattedNumber:function(P,m){var s=parseFloat(P).toFixed(m),o=L.drawLocal.format&&L.drawLocal.format.numeric,h=o&&o.delimiters,v=h&&h.thousands,y=h&&h.decimal;if(v||y){var x=s.split(".");s=v?x[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+v):x[0],y=y||".",x.length>1&&(s=s+y+x[1])}return s},readableArea:function(P,m,v){var o,h;return v=L.Util.extend({},i,v),m?(h=["ha","m"],type=typeof m,"string"===type?h=[m]:"boolean"!==type&&(h=m),o=P>=1e6&&-1!==h.indexOf("km")?L.GeometryUtil.formattedNumber(1e-6*P,v.km)+" km\xb2":P>=1e4&&-1!==h.indexOf("ha")?L.GeometryUtil.formattedNumber(1e-4*P,v.ha)+" ha":L.GeometryUtil.formattedNumber(P,v.m)+" m\xb2"):o=(P/=.836127)>=3097600?L.GeometryUtil.formattedNumber(P/3097600,v.mi)+" mi\xb2":P>=4840?L.GeometryUtil.formattedNumber(P/4840,v.ac)+" acres":L.GeometryUtil.formattedNumber(P,v.yd)+" yd\xb2",o},readableDistance:function(P,m,s,o,y){var v;switch(y=L.Util.extend({},i,y),m?"string"==typeof m?m:"metric":s?"feet":o?"nauticalMile":"yards"){case"metric":v=P>1e3?L.GeometryUtil.formattedNumber(P/1e3,y.km)+" km":L.GeometryUtil.formattedNumber(P,y.m)+" m";break;case"feet":P*=3.28083,v=L.GeometryUtil.formattedNumber(P,y.ft)+" ft";break;case"nauticalMile":P*=.53996,v=L.GeometryUtil.formattedNumber(P/1e3,y.nm)+" nm";break;default:v=(P*=1.09361)>1760?L.GeometryUtil.formattedNumber(P/1760,y.mi)+" miles":L.GeometryUtil.formattedNumber(P,y.yd)+" yd"}return v},isVersion07x:function(){var P=L.version.split(".");return 0===parseInt(P[0],10)&&7===parseInt(P[1],10)}}),L.Util.extend(L.LineUtil,{segmentsIntersect:function(i,P,m,s){return this._checkCounterclockwise(i,m,s)!==this._checkCounterclockwise(P,m,s)&&this._checkCounterclockwise(i,P,m)!==this._checkCounterclockwise(i,P,s)},_checkCounterclockwise:function(i,P,m){return(m.y-i.y)*(P.x-i.x)>(P.y-i.y)*(m.x-i.x)}}),L.Polyline.include({intersects:function(){var i,P,m,s=this._getProjectedPoints(),o=s?s.length:0;if(this._tooFewPointsForIntersection())return!1;for(i=o-1;i>=3;i--)if(P=s[i-1],m=s[i],this._lineSegmentsIntersectsRange(P,m,i-2))return!0;return!1},newLatLngIntersects:function(i,P){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(i),P)},newPointIntersects:function(i,P){var m=this._getProjectedPoints(),s=m?m.length:0,o=m?m[s-1]:null,h=s-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(o,i,h,P?1:0)},_tooFewPointsForIntersection:function(i){var P=this._getProjectedPoints(),m=P?P.length:0;return!P||(m+=i||0)<=3},_lineSegmentsIntersectsRange:function(i,P,m,s){var o,h,v=this._getProjectedPoints();s=s||0;for(var y=m;y>s;y--)if(o=v[y-1],h=v[y],L.LineUtil.segmentsIntersect(i,P,o,h))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var i=[],P=this._defaultShape(),m=0;m<P.length;m++)i.push(this._map.latLngToLayerPoint(P[m]));return i}}),L.Polygon.include({intersects:function(){var i,P,m,s,o=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(i=o.length,P=o[0],m=o[i-1],s=i-2,this._lineSegmentsIntersectsRange(m,P,s,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(i){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");var P;L.Control.prototype.initialize.call(this,i),this._toolbars={},L.DrawToolbar&&this.options.draw&&(P=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=P,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(P=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=P,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(i){var P,m=L.DomUtil.create("div","leaflet-draw"),s=!1;for(var o in this._toolbars)this._toolbars.hasOwnProperty(o)&&(P=this._toolbars[o].addToolbar(i))&&(s||(L.DomUtil.hasClass(P,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(P.childNodes[0],"leaflet-draw-toolbar-top"),s=!0),m.appendChild(P));return m},onRemove:function(){for(var i in this._toolbars)this._toolbars.hasOwnProperty(i)&&this._toolbars[i].removeToolbar()},setDrawingOptions:function(i){for(var P in this._toolbars)this._toolbars[P]instanceof L.DrawToolbar&&this._toolbars[P].setOptions(i)},_toolbarEnabled:function(i){var P=i.target;for(var m in this._toolbars)this._toolbars[m]!==P&&this._toolbars[m].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({initialize:function(i){L.setOptions(this,i),this._modes={},this._actionButtons=[],this._activeMode=null;var P=L.version.split(".");1===parseInt(P[0],10)&&parseInt(P[1],10)>=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return null!==this._activeMode},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(i){var P,m=L.DomUtil.create("div","leaflet-draw-section"),s=0,o=this._toolbarClass||"",h=this.getModeHandlers(i);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=i,P=0;P<h.length;P++)h[P].enabled&&this._initModeHandler(h[P].handler,this._toolbarContainer,s++,o,h[P].title);if(s)return this._lastButtonIndex=--s,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),m.appendChild(this._toolbarContainer),m.appendChild(this._actionsContainer),m},removeToolbar:function(){for(var i in this._modes)this._modes.hasOwnProperty(i)&&(this._disposeButton(this._modes[i].button,this._modes[i].handler.enable,this._modes[i].handler),this._modes[i].handler.disable(),this._modes[i].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var P=0,m=this._actionButtons.length;P<m;P++)this._disposeButton(this._actionButtons[P].button,this._actionButtons[P].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(i,P,m,s,o){var h=i.type;this._modes[h]={},this._modes[h].handler=i,this._modes[h].button=this._createButton({type:h,title:o,className:s+"-"+h,container:P,callback:this._modes[h].handler.enable,context:this._modes[h].handler}),this._modes[h].buttonIndex=m,this._modes[h].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_detectIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!de.MSStream},_createButton:function(i){var P=L.DomUtil.create("a",i.className||"",i.container),m=L.DomUtil.create("span","sr-only",i.container);P.href="#",P.appendChild(m),i.title&&(P.title=i.title,m.innerHTML=i.title),i.text&&(P.innerHTML=i.text,m.innerHTML=i.text);var s=this._detectIOS()?"touchstart":"click";return L.DomEvent.on(P,"click",L.DomEvent.stopPropagation).on(P,"mousedown",L.DomEvent.stopPropagation).on(P,"dblclick",L.DomEvent.stopPropagation).on(P,"touchstart",L.DomEvent.stopPropagation).on(P,"click",L.DomEvent.preventDefault).on(P,s,i.callback,i.context),P},_disposeButton:function(i,P){var m=this._detectIOS()?"touchstart":"click";L.DomEvent.off(i,"click",L.DomEvent.stopPropagation).off(i,"mousedown",L.DomEvent.stopPropagation).off(i,"dblclick",L.DomEvent.stopPropagation).off(i,"touchstart",L.DomEvent.stopPropagation).off(i,"click",L.DomEvent.preventDefault).off(i,m,P)},_handlerActivated:function(i){this.disable(),this._activeMode=this._modes[i.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(i){var P,m,s,o,h=this._actionsContainer,v=this.getActions(i),y=v.length;for(m=0,s=this._actionButtons.length;m<s;m++)this._disposeButton(this._actionButtons[m].button,this._actionButtons[m].callback);for(this._actionButtons=[];h.firstChild;)h.removeChild(h.firstChild);for(var x=0;x<y;x++)"enabled"in v[x]&&!v[x].enabled||(P=L.DomUtil.create("li","",h),o=this._createButton({title:v[x].title,text:v[x].text,container:P,callback:v[x].callback,context:v[x].context}),this._actionButtons.push({button:o,callback:v[x].callback}))},_showActionsToolbar:function(){var i=this._activeMode.buttonIndex,P=this._lastButtonIndex,m=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=m+"px",0===i&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),i===P&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block",this._map.fire(L.Draw.Event.TOOLBAROPENED)},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom"),this._map.fire(L.Draw.Event.TOOLBARCLOSED)}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(i){this._map=i,this._popupPane=i._panes.popupPane,this._visible=!1,this._container=i.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(i){return this._container?(i.subtext=i.subtext||"",0!==i.subtext.length||this._singleLineLabel?i.subtext.length>0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(i.subtext.length>0?'<span class="leaflet-draw-tooltip-subtext">'+i.subtext+"</span><br />":"")+"<span>"+i.text+"</span>",i.text||i.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(i){var P=this._map.latLngToLayerPoint(i),m=this._container;return this._container&&(this._visible&&(m.style.visibility="inherit"),L.DomUtil.setPosition(m,P)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(i){for(var P in this.options)this.options.hasOwnProperty(P)&&i[P]&&(i[P]=L.extend({},this.options[P],i[P]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,i)},getModeHandlers:function(i){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(i,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(i,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(i,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(i,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(i,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(i,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(i){return[{enabled:i.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:i.completeShape,context:i},{enabled:i.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:i.deleteLastVertex,context:i},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(i){for(var P in L.setOptions(this,i),this._modes)this._modes.hasOwnProperty(P)&&i.hasOwnProperty(P)&&this._modes[P].handler.setOptions(i[P])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(i){i.edit&&(void 0===i.edit.selectedPathOptions&&(i.edit.selectedPathOptions=this.options.edit.selectedPathOptions),i.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,i.edit.selectedPathOptions)),i.remove&&(i.remove=L.extend({},this.options.remove,i.remove)),i.poly&&(i.poly=L.extend({},this.options.poly,i.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,i),this._selectedFeatureCount=0},getModeHandlers:function(i){var P=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(i,{featureGroup:P,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(i,{featureGroup:P}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(i){var P=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return i.removeAllLayers&&P.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),P},addToolbar:function(i){var P=L.Toolbar.prototype.addToolbar.call(this,i);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),P},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var i,m=0!==this.options.featureGroup.getLayers().length;this.options.edit&&(i=this._modes[L.EditToolbar.Edit.TYPE].button,m?L.DomUtil.removeClass(i,"leaflet-disabled"):L.DomUtil.addClass(i,"leaflet-disabled"),i.setAttribute("title",m?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(i=this._modes[L.EditToolbar.Delete.TYPE].button,m?L.DomUtil.removeClass(i,"leaflet-disabled"):L.DomUtil.addClass(i,"leaflet-disabled"),i.setAttribute("title",m?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(i,P){if(L.Handler.prototype.initialize.call(this,i),L.setOptions(this,P),this._featureGroup=P.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var m=L.version.split(".");1===parseInt(m[0],10)&&parseInt(m[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(i.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),i._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(i){this._revertLayer(i)},this)},save:function(){var i=new L.LayerGroup;this._featureGroup.eachLayer(function(P){P.edited&&(i.addLayer(P),P.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:i})},_backupLayer:function(i){var P=L.Util.stamp(i);this._uneditedLayerProps[P]||(i instanceof L.Polyline||i instanceof L.Polygon||i instanceof L.Rectangle?this._uneditedLayerProps[P]={latlngs:L.LatLngUtil.cloneLatLngs(i.getLatLngs())}:i instanceof L.Circle?this._uneditedLayerProps[P]={latlng:L.LatLngUtil.cloneLatLng(i.getLatLng()),radius:i.getRadius()}:(i instanceof L.Marker||i instanceof L.CircleMarker)&&(this._uneditedLayerProps[P]={latlng:L.LatLngUtil.cloneLatLng(i.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(i){var P=L.Util.stamp(i);i.edited=!1,this._uneditedLayerProps.hasOwnProperty(P)&&(i instanceof L.Polyline||i instanceof L.Polygon||i instanceof L.Rectangle?i.setLatLngs(this._uneditedLayerProps[P].latlngs):i instanceof L.Circle?(i.setLatLng(this._uneditedLayerProps[P].latlng),i.setRadius(this._uneditedLayerProps[P].radius)):(i instanceof L.Marker||i instanceof L.CircleMarker)&&i.setLatLng(this._uneditedLayerProps[P].latlng),i.fire("revert-edited",{layer:i}))},_enableLayerEdit:function(i){var P,m,s=i.layer||i.target||i;this._backupLayer(s),this.options.poly&&(m=L.Util.extend({},this.options.poly),s.options.poly=m),this.options.selectedPathOptions&&((P=L.Util.extend({},this.options.selectedPathOptions)).maintainColor&&(P.color=s.options.color,P.fillColor=s.options.fillColor),s.options.original=L.extend({},s.options),s.options.editing=P),s instanceof L.Marker?(s.editing&&s.editing.enable(),s.dragging.enable(),s.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):s.editing.enable()},_disableLayerEdit:function(i){var P=i.layer||i.target||i;P.edited=!1,P.editing&&P.editing.disable(),delete P.options.editing,delete P.options.original,this._selectedPathOptions&&(P instanceof L.Marker?this._toggleMarkerHighlight(P):(P.setStyle(P.options.previousOptions),delete P.options.previousOptions)),P instanceof L.Marker?(P.dragging.disable(),P.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):P.editing.disable()},_onMouseMove:function(i){this._tooltip.updatePosition(i.latlng)},_onMarkerDragEnd:function(i){var P=i.target;P.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:P})},_onTouchMove:function(i){var P=i.originalEvent.changedTouches[0],m=this._map.mouseEventToLayerPoint(P),s=this._map.layerPointToLatLng(m);i.target.setLatLng(s)},_hasAvailableLayers:function(){return 0!==this._featureGroup.getLayers().length}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(i,P){if(L.Handler.prototype.initialize.call(this,i),L.Util.setOptions(this,P),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var m=L.version.split(".");1===parseInt(m[0],10)&&parseInt(m[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var i=this._map;i&&(i.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(i){this._deletableLayers.addLayer(i),i.fire("revert-deleted",{layer:i})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(i){this._removeLayer({layer:i})},this),this.save()},_enableLayerDelete:function(i){(i.layer||i.target||i).on("click",this._removeLayer,this)},_disableLayerDelete:function(i){var P=i.layer||i.target||i;P.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(P)},_removeLayer:function(i){var P=i.layer||i.target||i;this._deletableLayers.removeLayer(P),this._deletedLayers.addLayer(P),P.fire("deleted")},_onMouseMove:function(i){this._tooltip.updatePosition(i.latlng)},_hasAvailableLayers:function(){return 0!==this._deletableLayers.getLayers().length}})},12337:function(de,$e){!function(B){"use strict";var n=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(P){L.Util.setOptions(this,P),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var m=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,m?this._withAnimation:this._noAnimation),this._markerCluster=m?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(P){if(P instanceof L.LayerGroup)return this.addLayers([P]);if(!P.getLatLng)return this._nonPointGroup.addLayer(P),this.fire("layeradd",{layer:P}),this;if(!this._map)return this._needsClustering.push(P),this.fire("layeradd",{layer:P}),this;if(this.hasLayer(P))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(P,this._maxZoom),this.fire("layeradd",{layer:P}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var m=P,s=this._zoom;if(P.__parent)for(;m.__parent._zoom>=s;)m=m.__parent;return this._currentShownBounds.contains(m.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(P,m):this._animationAddLayerNonAnimated(P,m)),this},removeLayer:function(P){return P instanceof L.LayerGroup?this.removeLayers([P]):P.getLatLng?this._map?P.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(P)),this._removeLayer(P,!0),this.fire("layerremove",{layer:P}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),P.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(P)&&(this._featureGroup.removeLayer(P),P.clusterShow&&P.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,P)&&this.hasLayer(P)&&this._needsRemoving.push({layer:P,latlng:P._latlng}),this.fire("layerremove",{layer:P}),this):(this._nonPointGroup.removeLayer(P),this.fire("layerremove",{layer:P}),this)},addLayers:function(P,m){if(!L.Util.isArray(P))return this.addLayer(P);var w,s=this._featureGroup,o=this._nonPointGroup,h=this.options.chunkedLoading,v=this.options.chunkInterval,y=this.options.chunkProgress,x=P.length,C=0,_=!0;if(this._map){var z=(new Date).getTime(),R=L.bind(function(){var S=(new Date).getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();C<x&&!(h&&C%200==0&&(new Date).getTime()-S>v);C++)if((w=P[C])instanceof L.LayerGroup)_&&(P=P.slice(),_=!1),this._extractNonGroupLayers(w,P),x=P.length;else if(w.getLatLng){if(!this.hasLayer(w)&&(this._addLayer(w,this._maxZoom),m||this.fire("layeradd",{layer:w}),w.__parent&&2===w.__parent.getChildCount())){var O=w.__parent.getAllChildMarkers(),H=O[0]===w?O[1]:O[0];s.removeLayer(H)}}else o.addLayer(w),m||this.fire("layeradd",{layer:w});y&&y(C,x,(new Date).getTime()-z),C===x?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(R,this.options.chunkDelay)},this);R()}else for(var N=this._needsClustering;C<x;C++)(w=P[C])instanceof L.LayerGroup?(_&&(P=P.slice(),_=!1),this._extractNonGroupLayers(w,P),x=P.length):w.getLatLng?this.hasLayer(w)||N.push(w):o.addLayer(w);return this},removeLayers:function(P){var m,s,o=P.length,h=this._featureGroup,v=this._nonPointGroup,y=!0;if(!this._map){for(m=0;m<o;m++)(s=P[m])instanceof L.LayerGroup?(y&&(P=P.slice(),y=!1),this._extractNonGroupLayers(s,P),o=P.length):(this._arraySplice(this._needsClustering,s),v.removeLayer(s),this.hasLayer(s)&&this._needsRemoving.push({layer:s,latlng:s._latlng}),this.fire("layerremove",{layer:s}));return this}if(this._unspiderfy){this._unspiderfy();var x=P.slice(),C=o;for(m=0;m<C;m++)(s=x[m])instanceof L.LayerGroup?(this._extractNonGroupLayers(s,x),C=x.length):this._unspiderfyLayer(s)}for(m=0;m<o;m++)(s=P[m])instanceof L.LayerGroup?(y&&(P=P.slice(),y=!1),this._extractNonGroupLayers(s,P),o=P.length):s.__parent?(this._removeLayer(s,!0,!0),this.fire("layerremove",{layer:s}),h.hasLayer(s)&&(h.removeLayer(s),s.clusterShow&&s.clusterShow())):(v.removeLayer(s),this.fire("layerremove",{layer:s}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(P){P.off(this._childMarkerEventHandlers,this),delete P.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var P=new L.LatLngBounds;this._topClusterLevel&&P.extend(this._topClusterLevel._bounds);for(var m=this._needsClustering.length-1;m>=0;m--)P.extend(this._needsClustering[m].getLatLng());return P.extend(this._nonPointGroup.getBounds()),P},eachLayer:function(P,m){var h,v,y,s=this._needsClustering.slice(),o=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),v=s.length-1;v>=0;v--){for(h=!0,y=o.length-1;y>=0;y--)if(o[y].layer===s[v]){h=!1;break}h&&P.call(m,s[v])}this._nonPointGroup.eachLayer(P,m)},getLayers:function(){var P=[];return this.eachLayer(function(m){P.push(m)}),P},getLayer:function(P){var m=null;return P=parseInt(P,10),this.eachLayer(function(s){L.stamp(s)===P&&(m=s)}),m},hasLayer:function(P){if(!P)return!1;var m,s=this._needsClustering;for(m=s.length-1;m>=0;m--)if(s[m]===P)return!0;for(m=(s=this._needsRemoving).length-1;m>=0;m--)if(s[m].layer===P)return!1;return!(!P.__parent||P.__parent._group!==this)||this._nonPointGroup.hasLayer(P)},zoomToShowLayer:function(P,m){var s=this._map;"function"!=typeof m&&(m=function(){});var o=function(){(s.hasLayer(P)||s.hasLayer(P.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",o,this),this.off("animationend",o,this),s.hasLayer(P)?m():P.__parent._icon&&(this.once("spiderfied",m,this),P.__parent.spiderfy()))};P._icon&&this._map.getBounds().contains(P.getLatLng())?m():P.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",o,this),this._map.panTo(P.getLatLng())):(this._map.on("moveend",o,this),this.on("animationend",o,this),P.__parent.zoomToBounds())},onAdd:function(P){var m,s,o;if(this._map=P,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(P),this._nonPointGroup.addTo(P),this._gridClusters||this._generateInitialClusters(),this._maxLat=P.options.crs.projection.MAX_LATITUDE,m=0,s=this._needsRemoving.length;m<s;m++)(o=this._needsRemoving[m]).newlatlng=o.layer._latlng,o.layer._latlng=o.latlng;for(m=0,s=this._needsRemoving.length;m<s;m++)o=this._needsRemoving[m],this._removeLayer(o.layer,!0),o.layer._latlng=o.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),s=this._needsClustering,this._needsClustering=[],this.addLayers(s,!0)},onRemove:function(P){P.off("zoomend",this._zoomEnd,this),P.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(P){for(var m=P;m&&!m._icon;)m=m.__parent;return m||null},_arraySplice:function(P,m){for(var s=P.length-1;s>=0;s--)if(P[s]===m)return P.splice(s,1),!0},_removeFromGridUnclustered:function(P,m){for(var s=this._map,o=this._gridUnclustered,h=Math.floor(this._map.getMinZoom());m>=h&&o[m].removeObject(P,s.project(P.getLatLng(),m));m--);},_childMarkerDragStart:function(P){P.target.__dragStart=P.target._latlng},_childMarkerMoved:function(P){if(!this._ignoreMove&&!P.target.__dragStart){var m=P.target._popup&&P.target._popup.isOpen();this._moveChild(P.target,P.oldLatLng,P.latlng),m&&P.target.openPopup()}},_moveChild:function(P,m,s){P._latlng=m,this.removeLayer(P),P._latlng=s,this.addLayer(P)},_childMarkerDragEnd:function(P){var m=P.target.__dragStart;delete P.target.__dragStart,m&&this._moveChild(P.target,m,P.target._latlng)},_removeLayer:function(P,m,s){var o=this._gridClusters,h=this._gridUnclustered,v=this._featureGroup,y=this._map,x=Math.floor(this._map.getMinZoom());m&&this._removeFromGridUnclustered(P,this._maxZoom);var w,C=P.__parent,_=C._markers;for(this._arraySplice(_,P);C&&(C._childCount--,C._boundsNeedUpdate=!0,!(C._zoom<x));)m&&C._childCount<=1?(w=C._markers[0]===P?C._markers[1]:C._markers[0],o[C._zoom].removeObject(C,y.project(C._cLatLng,C._zoom)),h[C._zoom].addObject(w,y.project(w.getLatLng(),C._zoom)),this._arraySplice(C.__parent._childClusters,C),C.__parent._markers.push(w),w.__parent=C.__parent,C._icon&&(v.removeLayer(C),s||v.addLayer(w))):C._iconNeedsUpdate=!0,C=C.__parent;delete P.__parent},_isOrIsParent:function(P,m){for(;m;){if(P===m)return!0;m=m.parentNode}return!1},fire:function(P,m,s){if(m&&m.layer instanceof L.MarkerCluster){if(m.originalEvent&&this._isOrIsParent(m.layer._icon,m.originalEvent.relatedTarget))return;P="cluster"+P}L.FeatureGroup.prototype.fire.call(this,P,m,s)},listens:function(P,m){return L.FeatureGroup.prototype.listens.call(this,P,m)||L.FeatureGroup.prototype.listens.call(this,"cluster"+P,m)},_defaultIconCreateFunction:function(P){var m=P.getChildCount(),s=" marker-cluster-";return s+=m<10?"small":m<100?"medium":"large",new L.DivIcon({html:"<div><span>"+m+"</span></div>",className:"marker-cluster"+s,iconSize:new L.Point(40,40)})},_bindEvents:function(){var P=this._map,m=this.options.spiderfyOnMaxZoom,s=this.options.showCoverageOnHover,o=this.options.zoomToBoundsOnClick,h=this.options.spiderfyOnEveryZoom;(m||o||h)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),s&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),P.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(P){var m=P.layer,s=m;if("clusterkeypress"!==P.type||!P.originalEvent||13===P.originalEvent.keyCode){for(;1===s._childClusters.length;)s=s._childClusters[0];s._zoom===this._maxZoom&&s._childCount===m._childCount&&this.options.spiderfyOnMaxZoom?m.spiderfy():this.options.zoomToBoundsOnClick&&m.zoomToBounds(),this.options.spiderfyOnEveryZoom&&m.spiderfy(),P.originalEvent&&13===P.originalEvent.keyCode&&this._map._container.focus()}},_showCoverage:function(P){var m=this._map;this._inZoomAnimation||(this._shownPolygon&&m.removeLayer(this._shownPolygon),P.layer.getChildCount()>2&&P.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(P.layer.getConvexHull(),this.options.polygonOptions),m.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var P=this.options.spiderfyOnMaxZoom,m=this.options.showCoverageOnHover,s=this.options.zoomToBoundsOnClick,o=this.options.spiderfyOnEveryZoom,h=this._map;(P||s||o)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),m&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),h.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){!this._map||(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var P=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,P),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),P),this._currentShownBounds=P}},_generateInitialClusters:function(){var P=Math.ceil(this._map.getMaxZoom()),m=Math.floor(this._map.getMinZoom()),s=this.options.maxClusterRadius,o=s;"function"!=typeof s&&(o=function(){return s}),null!==this.options.disableClusteringAtZoom&&(P=this.options.disableClusteringAtZoom-1),this._maxZoom=P,this._gridClusters={},this._gridUnclustered={};for(var h=P;h>=m;h--)this._gridClusters[h]=new L.DistanceGrid(o(h)),this._gridUnclustered[h]=new L.DistanceGrid(o(h));this._topClusterLevel=new this._markerCluster(this,m-1)},_addLayer:function(P,m){var v,y,s=this._gridClusters,o=this._gridUnclustered,h=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(P),P.on(this._childMarkerEventHandlers,this);m>=h;m--){v=this._map.project(P.getLatLng(),m);var x=s[m].getNearObject(v);if(x)return x._addChild(P),void(P.__parent=x);if(x=o[m].getNearObject(v)){var C=x.__parent;C&&this._removeLayer(x,!1);var _=new this._markerCluster(this,m,x,P);s[m].addObject(_,this._map.project(_._cLatLng,m)),x.__parent=_,P.__parent=_;var w=_;for(y=m-1;y>C._zoom;y--)w=new this._markerCluster(this,y,w),s[y].addObject(w,this._map.project(x.getLatLng(),y));return C._addChild(w),void this._removeFromGridUnclustered(x,m)}o[m].addObject(P,v)}this._topClusterLevel._addChild(P),P.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(P){P instanceof L.MarkerCluster&&P._iconNeedsUpdate&&P._updateIcon()})},_enqueue:function(P){this._queue.push(P),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var P=0;P<this._queue.length;P++)this._queue[P].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var P=Math.round(this._map._zoom);this._processQueue(),this._zoom<P&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,P)):this._zoom>P?(this._animationStart(),this._animationZoomOut(this._zoom,P)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(P){var m=this._maxLat;return void 0!==m&&(P.getNorth()>=m&&(P._northEast.lat=1/0),P.getSouth()<=-m&&(P._southWest.lat=-1/0)),P},_animationAddLayerNonAnimated:function(P,m){if(m===P)this._featureGroup.addLayer(P);else if(2===m._childCount){m._addToMap();var s=m.getAllChildMarkers();this._featureGroup.removeLayer(s[0]),this._featureGroup.removeLayer(s[1])}else m._updateIcon()},_extractNonGroupLayers:function(P,m){var h,s=P.getLayers(),o=0;for(m=m||[];o<s.length;o++)(h=s[o])instanceof L.LayerGroup?this._extractNonGroupLayers(h,m):m.push(h);return m},_overrideMarkerIcon:function(P){return P.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[P]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(P,m){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),P),this._topClusterLevel._recursivelyAddChildrenToMap(null,m,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(P,m){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),P),this._topClusterLevel._recursivelyAddChildrenToMap(null,m,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(P,m){this._animationAddLayerNonAnimated(P,m)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(P,m){var v,s=this._getExpandedVisibleBounds(),o=this._featureGroup,h=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(s,P,h,function(y){var _,x=y._latlng,C=y._markers;for(s.contains(x)||(x=null),y._isSingleParent()&&P+1===m?(o.removeLayer(y),y._recursivelyAddChildrenToMap(null,m,s)):(y.clusterHide(),y._recursivelyAddChildrenToMap(x,m,s)),v=C.length-1;v>=0;v--)_=C[v],s.contains(_._latlng)||o.removeLayer(_)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(s,m),o.eachLayer(function(y){!(y instanceof L.MarkerCluster)&&y._icon&&y.clusterShow()}),this._topClusterLevel._recursively(s,P,m,function(y){y._recursivelyRestoreChildPositions(m)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(s,P,h,function(y){o.removeLayer(y),y.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(P,m){this._animationZoomOutSingle(this._topClusterLevel,P-1,m),this._topClusterLevel._recursivelyAddChildrenToMap(null,m,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),P,this._getExpandedVisibleBounds())},_animationAddLayer:function(P,m){var s=this,o=this._featureGroup;o.addLayer(P),m!==P&&(m._childCount>2?(m._updateIcon(),this._forceLayout(),this._animationStart(),P._setPos(this._map.latLngToLayerPoint(m.getLatLng())),P.clusterHide(),this._enqueue(function(){o.removeLayer(P),P.clusterShow(),s._animationEnd()})):(this._forceLayout(),s._animationStart(),s._animationZoomOutSingle(m,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(P,m,s){var o=this._getExpandedVisibleBounds(),h=Math.floor(this._map.getMinZoom());P._recursivelyAnimateChildrenInAndAddSelfToMap(o,h,m+1,s);var v=this;this._forceLayout(),P._recursivelyBecomeVisible(o,s),this._enqueue(function(){if(1===P._childCount){var y=P._markers[0];this._ignoreMove=!0,y.setLatLng(y.getLatLng()),this._ignoreMove=!1,y.clusterShow&&y.clusterShow()}else P._recursively(o,s,h,function(x){x._recursivelyRemoveChildrenFromMap(o,h,m+1)});v._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(P){return new L.MarkerClusterGroup(P)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(P,m,s,o){L.Marker.prototype.initialize.call(this,s?s._cLatLng||s.getLatLng():new L.LatLng(0,0),{icon:this,pane:P.options.clusterPane}),this._group=P,this._zoom=m,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,s&&this._addChild(s),o&&this._addChild(o)},getAllChildMarkers:function(P,m){P=P||[];for(var s=this._childClusters.length-1;s>=0;s--)this._childClusters[s].getAllChildMarkers(P,m);for(var o=this._markers.length-1;o>=0;o--)m&&this._markers[o].__dragStart||P.push(this._markers[o]);return P},getChildCount:function(){return this._childCount},zoomToBounds:function(P){for(var y,m=this._childClusters.slice(),s=this._group._map,o=s.getBoundsZoom(this._bounds),h=this._zoom+1,v=s.getZoom();m.length>0&&o>h;){h++;var x=[];for(y=0;y<m.length;y++)x=x.concat(m[y]._childClusters);m=x}o>h?this._group._map.setView(this._latlng,h):o<=v?this._group._map.setView(this._latlng,v+1):this._group._map.fitBounds(this._bounds,P)},getBounds:function(){var P=new L.LatLngBounds;return P.extend(this._bounds),P},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(P,m){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(P),P instanceof L.MarkerCluster?(m||(this._childClusters.push(P),P.__parent=this),this._childCount+=P._childCount):(m||this._markers.push(P),this._childCount++),this.__parent&&this.__parent._addChild(P,!0)},_setClusterCenter:function(P){this._cLatLng||(this._cLatLng=P._cLatLng||P._latlng)},_resetBounds:function(){var P=this._bounds;P._southWest&&(P._southWest.lat=1/0,P._southWest.lng=1/0),P._northEast&&(P._northEast.lat=-1/0,P._northEast.lng=-1/0)},_recalculateBounds:function(){var v,y,x,C,P=this._markers,m=this._childClusters,s=0,o=0,h=this._childCount;if(0!==h){for(this._resetBounds(),v=0;v<P.length;v++)x=P[v]._latlng,this._bounds.extend(x),s+=x.lat,o+=x.lng;for(v=0;v<m.length;v++)(y=m[v])._boundsNeedUpdate&&y._recalculateBounds(),this._bounds.extend(y._bounds),x=y._wLatLng,C=y._childCount,s+=x.lat*C,o+=x.lng*C;this._latlng=this._wLatLng=new L.LatLng(s/h,o/h),this._boundsNeedUpdate=!1}},_addToMap:function(P){P&&(this._backupLatlng=this._latlng,this.setLatLng(P)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(P,m,s){this._recursively(P,this._group._map.getMinZoom(),s-1,function(o){var v,y,h=o._markers;for(v=h.length-1;v>=0;v--)(y=h[v])._icon&&(y._setPos(m),y.clusterHide())},function(o){var v,y,h=o._childClusters;for(v=h.length-1;v>=0;v--)(y=h[v])._icon&&(y._setPos(m),y.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(P,m,s,o){this._recursively(P,o,m,function(h){h._recursivelyAnimateChildrenIn(P,h._group._map.latLngToLayerPoint(h.getLatLng()).round(),s),h._isSingleParent()&&s-1===o?(h.clusterShow(),h._recursivelyRemoveChildrenFromMap(P,m,s)):h.clusterHide(),h._addToMap()})},_recursivelyBecomeVisible:function(P,m){this._recursively(P,this._group._map.getMinZoom(),m,null,function(s){s.clusterShow()})},_recursivelyAddChildrenToMap:function(P,m,s){this._recursively(s,this._group._map.getMinZoom()-1,m,function(o){if(m!==o._zoom)for(var h=o._markers.length-1;h>=0;h--){var v=o._markers[h];!s.contains(v._latlng)||(P&&(v._backupLatlng=v.getLatLng(),v.setLatLng(P),v.clusterHide&&v.clusterHide()),o._group._featureGroup.addLayer(v))}},function(o){o._addToMap(P)})},_recursivelyRestoreChildPositions:function(P){for(var m=this._markers.length-1;m>=0;m--){var s=this._markers[m];s._backupLatlng&&(s.setLatLng(s._backupLatlng),delete s._backupLatlng)}if(P-1===this._zoom)for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._restorePosition();else for(var h=this._childClusters.length-1;h>=0;h--)this._childClusters[h]._recursivelyRestoreChildPositions(P)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(P,m,s,o){var h,v;this._recursively(P,m-1,s-1,function(y){for(v=y._markers.length-1;v>=0;v--)h=y._markers[v],(!o||!o.contains(h._latlng))&&(y._group._featureGroup.removeLayer(h),h.clusterShow&&h.clusterShow())},function(y){for(v=y._childClusters.length-1;v>=0;v--)h=y._childClusters[v],(!o||!o.contains(h._latlng))&&(y._group._featureGroup.removeLayer(h),h.clusterShow&&h.clusterShow())})},_recursively:function(P,m,s,o,h){var x,C,v=this._childClusters,y=this._zoom;if(m<=y&&(o&&o(this),h&&y===s&&h(this)),y<m||y<s)for(x=v.length-1;x>=0;x--)(C=v[x])._boundsNeedUpdate&&C._recalculateBounds(),P.intersects(C._bounds)&&C._recursively(P,m,s,o,h)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var P=this.options.opacity;return this.setOpacity(0),this.options.opacity=P,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(P){this._cellSize=P,this._sqCellSize=P*P,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(P,m){var s=this._getCoord(m.x),o=this._getCoord(m.y),h=this._grid,v=h[o]=h[o]||{},y=v[s]=v[s]||[],x=L.Util.stamp(P);this._objectPoint[x]=m,y.push(P)},updateObject:function(P,m){this.removeObject(P),this.addObject(P,m)},removeObject:function(P,m){var x,C,s=this._getCoord(m.x),o=this._getCoord(m.y),h=this._grid,v=h[o]=h[o]||{},y=v[s]=v[s]||[];for(delete this._objectPoint[L.Util.stamp(P)],x=0,C=y.length;x<C;x++)if(y[x]===P)return y.splice(x,1),1===C&&delete v[s],!0},eachObject:function(P,m){var s,o,h,v,y,x,_=this._grid;for(s in _)for(o in y=_[s])for(h=0,v=(x=y[o]).length;h<v;h++)P.call(m,x[h])&&(h--,v--)},getNearObject:function(P){var o,h,v,y,x,C,_,w,m=this._getCoord(P.x),s=this._getCoord(P.y),z=this._objectPoint,R=this._sqCellSize,N=null;for(o=s-1;o<=s+1;o++)if(y=this._grid[o])for(h=m-1;h<=m+1;h++)if(x=y[h])for(v=0,C=x.length;v<C;v++)_=x[v],((w=this._sqDist(z[L.Util.stamp(_)],P))<R||w<=R&&null===N)&&(R=w,N=_);return N},_getCoord:function(P){var m=Math.floor(P/this._cellSize);return isFinite(m)?m:P},_sqDist:function(P,m){var s=m.x-P.x,o=m.y-P.y;return s*s+o*o}},L.QuickHull={getDistant:function(P,m){var s=m[1].lat-m[0].lat;return(m[0].lng-m[1].lng)*(P.lat-m[0].lat)+s*(P.lng-m[0].lng)},findMostDistantPointFromBaseLine:function(P,m){var v,y,x,s=0,o=null,h=[];for(v=m.length-1;v>=0;v--)y=m[v],(x=this.getDistant(y,P))>0&&(h.push(y),x>s&&(s=x,o=y));return{maxPoint:o,newPoints:h}},buildConvexHull:function(P,m){var s=[],o=this.findMostDistantPointFromBaseLine(P,m);return o.maxPoint?s=(s=s.concat(this.buildConvexHull([P[0],o.maxPoint],o.newPoints))).concat(this.buildConvexHull([o.maxPoint,P[1]],o.newPoints)):[P[0]]},getConvexHull:function(P){var z,m=!1,s=!1,o=!1,h=!1,v=null,y=null,x=null,C=null,_=null,w=null;for(z=P.length-1;z>=0;z--){var R=P[z];(!1===m||R.lat>m)&&(v=R,m=R.lat),(!1===s||R.lat<s)&&(y=R,s=R.lat),(!1===o||R.lng>o)&&(x=R,o=R.lng),(!1===h||R.lng<h)&&(C=R,h=R.lng)}return s!==m?(w=y,_=v):(w=C,_=x),[].concat(this.buildConvexHull([w,_],P),this.buildConvexHull([_,w],P))}},L.MarkerCluster.include({getConvexHull:function(){var s,o,P=this.getAllChildMarkers(),m=[];for(o=P.length-1;o>=0;o--)s=P[o].getLatLng(),m.push(s);return L.QuickHull.getConvexHull(m)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var h,P=this.getAllChildMarkers(null,!0),o=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?h=this._group.options.spiderfyShapePositions(P.length,o):P.length>=this._circleSpiralSwitchover?h=this._generatePointsSpiral(P.length,o):(o.y+=10,h=this._generatePointsCircle(P.length,o)),this._animationSpiderfy(P,h)}},unspiderfy:function(P){this._group._inZoomAnimation||(this._animationUnspiderfy(P),this._group._spiderfied=null)},_generatePointsCircle:function(P,m){var y,x,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+P)/this._2PI,h=this._2PI/P,v=[];for(o=Math.max(o,35),v.length=P,y=0;y<P;y++)x=this._circleStartAngle+y*h,v[y]=new L.Point(m.x+o*Math.cos(x),m.y+o*Math.sin(x))._round();return v},_generatePointsSpiral:function(P,m){var C,s=this._group.options.spiderfyDistanceMultiplier,o=s*this._spiralLengthStart,h=s*this._spiralFootSeparation,v=s*this._spiralLengthFactor*this._2PI,y=0,x=[];for(x.length=P,C=P;C>=0;C--)C<P&&(x[C]=new L.Point(m.x+o*Math.cos(y),m.y+o*Math.sin(y))._round()),o+=v/(y+=h/o+5e-4*C);return x},_noanimationUnspiderfy:function(){var h,v,P=this._group,m=P._map,s=P._featureGroup,o=this.getAllChildMarkers(null,!0);for(P._ignoreMove=!0,this.setOpacity(1),v=o.length-1;v>=0;v--)h=o[v],s.removeLayer(h),h._preSpiderfyLatlng&&(h.setLatLng(h._preSpiderfyLatlng),delete h._preSpiderfyLatlng),h.setZIndexOffset&&h.setZIndexOffset(0),h._spiderLeg&&(m.removeLayer(h._spiderLeg),delete h._spiderLeg);P.fire("unspiderfied",{cluster:this,markers:o}),P._ignoreMove=!1,P._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(P,m){var y,x,C,_,s=this._group,o=s._map,h=s._featureGroup,v=this._group.options.spiderLegPolylineOptions;for(s._ignoreMove=!0,y=0;y<P.length;y++)_=o.layerPointToLatLng(m[y]),x=P[y],C=new L.Polyline([this._latlng,_],v),o.addLayer(C),x._spiderLeg=C,x._preSpiderfyLatlng=x._latlng,x.setLatLng(_),x.setZIndexOffset&&x.setZIndexOffset(1e6),h.addLayer(x);this.setOpacity(.3),s._ignoreMove=!1,s.fire("spiderfied",{cluster:this,markers:P})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(P,m){var z,R,N,S,E,O,s=this,o=this._group,h=o._map,v=o._featureGroup,y=this._latlng,x=h.latLngToLayerPoint(y),C=L.Path.SVG,_=L.extend({},this._group.options.spiderLegPolylineOptions),w=_.opacity;for(void 0===w&&(w=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),C?(_.opacity=0,_.className=(_.className||"")+" leaflet-cluster-spider-leg"):_.opacity=w,o._ignoreMove=!0,z=0;z<P.length;z++)R=P[z],O=h.layerPointToLatLng(m[z]),N=new L.Polyline([y,O],_),h.addLayer(N),R._spiderLeg=N,C&&(E=(S=N._path).getTotalLength()+.1,S.style.strokeDasharray=E,S.style.strokeDashoffset=E),R.setZIndexOffset&&R.setZIndexOffset(1e6),R.clusterHide&&R.clusterHide(),v.addLayer(R),R._setPos&&R._setPos(x);for(o._forceLayout(),o._animationStart(),z=P.length-1;z>=0;z--)O=h.layerPointToLatLng(m[z]),(R=P[z])._preSpiderfyLatlng=R._latlng,R.setLatLng(O),R.clusterShow&&R.clusterShow(),C&&((S=(N=R._spiderLeg)._path).style.strokeDashoffset=0,N.setStyle({opacity:w}));this.setOpacity(.3),o._ignoreMove=!1,setTimeout(function(){o._animationEnd(),o.fire("spiderfied",{cluster:s,markers:P})},200)},_animationUnspiderfy:function(P){var C,_,w,z,R,N,m=this,s=this._group,o=s._map,h=s._featureGroup,v=P?o._latLngToNewLayerPoint(this._latlng,P.zoom,P.center):o.latLngToLayerPoint(this._latlng),y=this.getAllChildMarkers(null,!0),x=L.Path.SVG;for(s._ignoreMove=!0,s._animationStart(),this.setOpacity(1),_=y.length-1;_>=0;_--)(C=y[_])._preSpiderfyLatlng&&(C.closePopup(),C.setLatLng(C._preSpiderfyLatlng),delete C._preSpiderfyLatlng,N=!0,C._setPos&&(C._setPos(v),N=!1),C.clusterHide&&(C.clusterHide(),N=!1),N&&h.removeLayer(C),x&&(R=(z=(w=C._spiderLeg)._path).getTotalLength()+.1,z.style.strokeDashoffset=R,w.setStyle({opacity:0})));s._ignoreMove=!1,setTimeout(function(){var S=0;for(_=y.length-1;_>=0;_--)(C=y[_])._spiderLeg&&S++;for(_=y.length-1;_>=0;_--)(C=y[_])._spiderLeg&&(C.clusterShow&&C.clusterShow(),C.setZIndexOffset&&C.setZIndexOffset(0),S>1&&h.removeLayer(C),o.removeLayer(C._spiderLeg),delete C._spiderLeg);s._animationEnd(),s.fire("unspiderfied",{cluster:m,markers:y})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){!this._map||this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(P){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(P))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(P){this._spiderfied&&this._spiderfied.unspiderfy(P)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(P){P._spiderLeg&&(this._featureGroup.removeLayer(P),P.clusterShow&&P.clusterShow(),P.setZIndexOffset&&P.setZIndexOffset(0),this._map.removeLayer(P._spiderLeg),delete P._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(P){return P?P instanceof L.MarkerClusterGroup?P=P._topClusterLevel.getAllChildMarkers():P instanceof L.LayerGroup?P=P._layers:P instanceof L.MarkerCluster?P=P.getAllChildMarkers():P instanceof L.Marker&&(P=[P]):P=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(P),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(P),this},_flagParentsIconsNeedUpdate:function(P){var m,s;for(m in P)for(s=P[m].__parent;s;)s._iconNeedsUpdate=!0,s=s.__parent},_refreshSingleMarkerModeMarkers:function(P){var m,s;for(m in P)s=P[m],this.hasLayer(s)&&s.setIcon(this._overrideMarkerIcon(s))}}),L.Marker.include({refreshIconOptions:function(P,m){var s=this.options.icon;return L.setOptions(s,P),this.setIcon(s),m&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),B.MarkerClusterGroup=n,B.MarkerCluster=i,Object.defineProperty(B,"__esModule",{value:!0})}($e)},5836:function(de,$e){!function(B){"use strict";var n="1.9.3";function i(D){var K,he,Ee,We;for(he=1,Ee=arguments.length;he<Ee;he++)for(K in We=arguments[he])D[K]=We[K];return D}var P=Object.create||function(){function D(){}return function(K){return D.prototype=K,new D}}();function m(D,K){var he=Array.prototype.slice;if(D.bind)return D.bind.apply(D,he.call(arguments,1));var Ee=he.call(arguments,2);return function(){return D.apply(K,Ee.length?Ee.concat(he.call(arguments)):arguments)}}var s=0;function o(D){return"_leaflet_id"in D||(D._leaflet_id=++s),D._leaflet_id}function h(D,K,he){var Ee,We,wt,Zt;return Zt=function(){Ee=!1,We&&(wt.apply(he,We),We=!1)},wt=function(){Ee?We=arguments:(D.apply(he,arguments),setTimeout(Zt,K),Ee=!0)},wt}function v(D,K,he){var Ee=K[1],We=K[0],wt=Ee-We;return D===Ee&&he?D:((D-We)%wt+wt)%wt+We}function y(){return!1}function x(D,K){if(!1===K)return D;var he=Math.pow(10,void 0===K?6:K);return Math.round(D*he)/he}function C(D){return D.trim?D.trim():D.replace(/^\s+|\s+$/g,"")}function _(D){return C(D).split(/\s+/)}function w(D,K){for(var he in Object.prototype.hasOwnProperty.call(D,"options")||(D.options=D.options?P(D.options):{}),K)D.options[he]=K[he];return D.options}function z(D,K,he){var Ee=[];for(var We in D)Ee.push(encodeURIComponent(he?We.toUpperCase():We)+"="+encodeURIComponent(D[We]));return(K&&-1!==K.indexOf("?")?"&":"?")+Ee.join("&")}var R=/\{ *([\w_ -]+) *\}/g;function N(D,K){return D.replace(R,function(he,Ee){var We=K[Ee];if(void 0===We)throw new Error("No value provided for variable "+he);return"function"==typeof We&&(We=We(K)),We})}var S=Array.isArray||function(D){return"[object Array]"===Object.prototype.toString.call(D)};function E(D,K){for(var he=0;he<D.length;he++)if(D[he]===K)return he;return-1}var O="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function H(D){return window["webkit"+D]||window["moz"+D]||window["ms"+D]}var U=0;function X(D){var K=+new Date,he=Math.max(0,16-(K-U));return U=K+he,window.setTimeout(D,he)}var W=window.requestAnimationFrame||H("RequestAnimationFrame")||X,re=window.cancelAnimationFrame||H("CancelAnimationFrame")||H("CancelRequestAnimationFrame")||function(D){window.clearTimeout(D)};function pe(D,K,he){if(!he||W!==X)return W.call(window,m(D,K));D.call(K)}function Ae(D){D&&re.call(window,D)}var Se={__proto__:null,extend:i,create:P,bind:m,get lastId(){return s},stamp:o,throttle:h,wrapNum:v,falseFn:y,formatNum:x,trim:C,splitWords:_,setOptions:w,getParamString:z,template:N,isArray:S,indexOf:E,emptyImageUrl:O,requestFn:W,cancelFn:re,requestAnimFrame:pe,cancelAnimFrame:Ae};function De(){}function qe(D){if("undefined"!=typeof L&&L&&L.Mixin){D=S(D)?D:[D];for(var K=0;K<D.length;K++)D[K]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}De.extend=function(D){var K=function(){w(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},he=K.__super__=this.prototype,Ee=P(he);for(var We in Ee.constructor=K,K.prototype=Ee,this)Object.prototype.hasOwnProperty.call(this,We)&&"prototype"!==We&&"__super__"!==We&&(K[We]=this[We]);return D.statics&&i(K,D.statics),D.includes&&(qe(D.includes),i.apply(null,[Ee].concat(D.includes))),i(Ee,D),delete Ee.statics,delete Ee.includes,Ee.options&&(Ee.options=he.options?P(he.options):{},i(Ee.options,D.options)),Ee._initHooks=[],Ee.callInitHooks=function(){if(!this._initHooksCalled){he.callInitHooks&&he.callInitHooks.call(this),this._initHooksCalled=!0;for(var wt=0,Zt=Ee._initHooks.length;wt<Zt;wt++)Ee._initHooks[wt].call(this)}},K},De.include=function(D){var K=this.prototype.options;return i(this.prototype,D),D.options&&(this.prototype.options=K,this.mergeOptions(D.options)),this},De.mergeOptions=function(D){return i(this.prototype.options,D),this},De.addInitHook=function(D){var K=Array.prototype.slice.call(arguments,1),he="function"==typeof D?D:function(){this[D].apply(this,K)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(he),this};var rt={on:function(D,K,he){if("object"==typeof D)for(var Ee in D)this._on(Ee,D[Ee],K);else for(var We=0,wt=(D=_(D)).length;We<wt;We++)this._on(D[We],K,he);return this},off:function(D,K,he){if(arguments.length)if("object"==typeof D)for(var Ee in D)this._off(Ee,D[Ee],K);else{D=_(D);for(var We=1===arguments.length,wt=0,Zt=D.length;wt<Zt;wt++)We?this._off(D[wt]):this._off(D[wt],K,he)}else delete this._events;return this},_on:function(D,K,he,Ee){if("function"==typeof K){if(!1===this._listens(D,K,he)){he===this&&(he=void 0);var We={fn:K,ctx:he};Ee&&(We.once=!0),this._events=this._events||{},this._events[D]=this._events[D]||[],this._events[D].push(We)}}else console.warn("wrong listener type: "+typeof K)},_off:function(D,K,he){var Ee,We,wt;if(this._events&&(Ee=this._events[D])){if(1===arguments.length){if(this._firingCount)for(We=0,wt=Ee.length;We<wt;We++)Ee[We].fn=y;return void delete this._events[D]}if("function"!=typeof K)return void console.warn("wrong listener type: "+typeof K);var Zt=this._listens(D,K,he);if(!1!==Zt){var wn=Ee[Zt];this._firingCount&&(wn.fn=y,this._events[D]=Ee=Ee.slice()),Ee.splice(Zt,1)}}},fire:function(D,K,he){if(!this.listens(D,he))return this;var Ee=i({},K,{type:D,target:this,sourceTarget:K&&K.sourceTarget||this});if(this._events){var We=this._events[D];if(We){this._firingCount=this._firingCount+1||1;for(var wt=0,Zt=We.length;wt<Zt;wt++){var wn=We[wt],Rn=wn.fn;wn.once&&this.off(D,Rn,wn.ctx),Rn.call(wn.ctx||this,Ee)}this._firingCount--}}return he&&this._propagateEvent(Ee),this},listens:function(D,K,he,Ee){"string"!=typeof D&&console.warn('"string" type argument expected');var We=K;"function"!=typeof K&&(Ee=!!K,We=void 0,he=void 0);var wt=this._events&&this._events[D];if(wt&&wt.length&&!1!==this._listens(D,We,he))return!0;if(Ee)for(var Zt in this._eventParents)if(this._eventParents[Zt].listens(D,K,he,Ee))return!0;return!1},_listens:function(D,K,he){if(!this._events)return!1;var Ee=this._events[D]||[];if(!K)return!!Ee.length;he===this&&(he=void 0);for(var We=0,wt=Ee.length;We<wt;We++)if(Ee[We].fn===K&&Ee[We].ctx===he)return We;return!1},once:function(D,K,he){if("object"==typeof D)for(var Ee in D)this._on(Ee,D[Ee],K,!0);else for(var We=0,wt=(D=_(D)).length;We<wt;We++)this._on(D[We],K,he,!0);return this},addEventParent:function(D){return this._eventParents=this._eventParents||{},this._eventParents[o(D)]=D,this},removeEventParent:function(D){return this._eventParents&&delete this._eventParents[o(D)],this},_propagateEvent:function(D){for(var K in this._eventParents)this._eventParents[K].fire(D.type,i({layer:D.target,propagatedFrom:D.target},D),!0)}};rt.addEventListener=rt.on,rt.removeEventListener=rt.clearAllEventListeners=rt.off,rt.addOneTimeEventListener=rt.once,rt.fireEvent=rt.fire,rt.hasEventListeners=rt.listens;var ot=De.extend(rt);function vt(D,K,he){this.x=he?Math.round(D):D,this.y=he?Math.round(K):K}var rn=Math.trunc||function(D){return D>0?Math.floor(D):Math.ceil(D)};function Xt(D,K,he){return D instanceof vt?D:S(D)?new vt(D[0],D[1]):null==D?D:"object"==typeof D&&"x"in D&&"y"in D?new vt(D.x,D.y):new vt(D,K,he)}function fn(D,K){if(D)for(var he=K?[D,K]:D,Ee=0,We=he.length;Ee<We;Ee++)this.extend(he[Ee])}function _n(D,K){return!D||D instanceof fn?D:new fn(D,K)}function hn(D,K){if(D)for(var he=K?[D,K]:D,Ee=0,We=he.length;Ee<We;Ee++)this.extend(he[Ee])}function vn(D,K){return D instanceof hn?D:new hn(D,K)}function xn(D,K,he){if(isNaN(D)||isNaN(K))throw new Error("Invalid LatLng object: ("+D+", "+K+")");this.lat=+D,this.lng=+K,void 0!==he&&(this.alt=+he)}function dn(D,K,he){return D instanceof xn?D:S(D)&&"object"!=typeof D[0]?3===D.length?new xn(D[0],D[1],D[2]):2===D.length?new xn(D[0],D[1]):null:null==D?D:"object"==typeof D&&"lat"in D?new xn(D.lat,"lng"in D?D.lng:D.lon,D.alt):void 0===K?null:new xn(D,K,he)}vt.prototype={clone:function(){return new vt(this.x,this.y)},add:function(D){return this.clone()._add(Xt(D))},_add:function(D){return this.x+=D.x,this.y+=D.y,this},subtract:function(D){return this.clone()._subtract(Xt(D))},_subtract:function(D){return this.x-=D.x,this.y-=D.y,this},divideBy:function(D){return this.clone()._divideBy(D)},_divideBy:function(D){return this.x/=D,this.y/=D,this},multiplyBy:function(D){return this.clone()._multiplyBy(D)},_multiplyBy:function(D){return this.x*=D,this.y*=D,this},scaleBy:function(D){return new vt(this.x*D.x,this.y*D.y)},unscaleBy:function(D){return new vt(this.x/D.x,this.y/D.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=rn(this.x),this.y=rn(this.y),this},distanceTo:function(D){var K=(D=Xt(D)).x-this.x,he=D.y-this.y;return Math.sqrt(K*K+he*he)},equals:function(D){return(D=Xt(D)).x===this.x&&D.y===this.y},contains:function(D){return D=Xt(D),Math.abs(D.x)<=Math.abs(this.x)&&Math.abs(D.y)<=Math.abs(this.y)},toString:function(){return"Point("+x(this.x)+", "+x(this.y)+")"}},fn.prototype={extend:function(D){var K,he;if(!D)return this;if(D instanceof vt||"number"==typeof D[0]||"x"in D)K=he=Xt(D);else if(K=(D=_n(D)).min,he=D.max,!K||!he)return this;return this.min||this.max?(this.min.x=Math.min(K.x,this.min.x),this.max.x=Math.max(he.x,this.max.x),this.min.y=Math.min(K.y,this.min.y),this.max.y=Math.max(he.y,this.max.y)):(this.min=K.clone(),this.max=he.clone()),this},getCenter:function(D){return Xt((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,D)},getBottomLeft:function(){return Xt(this.min.x,this.max.y)},getTopRight:function(){return Xt(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(D){var K,he;return(D="number"==typeof D[0]||D instanceof vt?Xt(D):_n(D))instanceof fn?(K=D.min,he=D.max):K=he=D,K.x>=this.min.x&&he.x<=this.max.x&&K.y>=this.min.y&&he.y<=this.max.y},intersects:function(D){D=_n(D);var K=this.min,he=this.max,Ee=D.min,We=D.max,wt=We.x>=K.x&&Ee.x<=he.x,Zt=We.y>=K.y&&Ee.y<=he.y;return wt&&Zt},overlaps:function(D){D=_n(D);var K=this.min,he=this.max,Ee=D.min,We=D.max,wt=We.x>K.x&&Ee.x<he.x,Zt=We.y>K.y&&Ee.y<he.y;return wt&&Zt},isValid:function(){return!(!this.min||!this.max)},pad:function(D){var K=this.min,he=this.max,Ee=Math.abs(K.x-he.x)*D,We=Math.abs(K.y-he.y)*D;return _n(Xt(K.x-Ee,K.y-We),Xt(he.x+Ee,he.y+We))},equals:function(D){return!!D&&(D=_n(D),this.min.equals(D.getTopLeft())&&this.max.equals(D.getBottomRight()))}},hn.prototype={extend:function(D){var Ee,We,K=this._southWest,he=this._northEast;if(D instanceof xn)Ee=D,We=D;else{if(!(D instanceof hn))return D?this.extend(dn(D)||vn(D)):this;if(Ee=D._southWest,We=D._northEast,!Ee||!We)return this}return K||he?(K.lat=Math.min(Ee.lat,K.lat),K.lng=Math.min(Ee.lng,K.lng),he.lat=Math.max(We.lat,he.lat),he.lng=Math.max(We.lng,he.lng)):(this._southWest=new xn(Ee.lat,Ee.lng),this._northEast=new xn(We.lat,We.lng)),this},pad:function(D){var K=this._southWest,he=this._northEast,Ee=Math.abs(K.lat-he.lat)*D,We=Math.abs(K.lng-he.lng)*D;return new hn(new xn(K.lat-Ee,K.lng-We),new xn(he.lat+Ee,he.lng+We))},getCenter:function(){return new xn((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new xn(this.getNorth(),this.getWest())},getSouthEast:function(){return new xn(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(D){D="number"==typeof D[0]||D instanceof xn||"lat"in D?dn(D):vn(D);var Ee,We,K=this._southWest,he=this._northEast;return D instanceof hn?(Ee=D.getSouthWest(),We=D.getNorthEast()):Ee=We=D,Ee.lat>=K.lat&&We.lat<=he.lat&&Ee.lng>=K.lng&&We.lng<=he.lng},intersects:function(D){D=vn(D);var K=this._southWest,he=this._northEast,Ee=D.getSouthWest(),We=D.getNorthEast(),wt=We.lat>=K.lat&&Ee.lat<=he.lat,Zt=We.lng>=K.lng&&Ee.lng<=he.lng;return wt&&Zt},overlaps:function(D){D=vn(D);var K=this._southWest,he=this._northEast,Ee=D.getSouthWest(),We=D.getNorthEast(),wt=We.lat>K.lat&&Ee.lat<he.lat,Zt=We.lng>K.lng&&Ee.lng<he.lng;return wt&&Zt},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(D,K){return!!D&&(D=vn(D),this._southWest.equals(D.getSouthWest(),K)&&this._northEast.equals(D.getNorthEast(),K))},isValid:function(){return!(!this._southWest||!this._northEast)}},xn.prototype={equals:function(D,K){return!!D&&(D=dn(D),Math.max(Math.abs(this.lat-D.lat),Math.abs(this.lng-D.lng))<=(void 0===K?1e-9:K))},toString:function(D){return"LatLng("+x(this.lat,D)+", "+x(this.lng,D)+")"},distanceTo:function(D){return si.distance(this,dn(D))},wrap:function(){return si.wrapLatLng(this)},toBounds:function(D){var K=180*D/40075017,he=K/Math.cos(Math.PI/180*this.lat);return vn([this.lat-K,this.lng-he],[this.lat+K,this.lng+he])},clone:function(){return new xn(this.lat,this.lng,this.alt)}};var D,Sn={latLngToPoint:function(D,K){var he=this.projection.project(D),Ee=this.scale(K);return this.transformation._transform(he,Ee)},pointToLatLng:function(D,K){var he=this.scale(K),Ee=this.transformation.untransform(D,he);return this.projection.unproject(Ee)},project:function(D){return this.projection.project(D)},unproject:function(D){return this.projection.unproject(D)},scale:function(D){return 256*Math.pow(2,D)},zoom:function(D){return Math.log(D/256)/Math.LN2},getProjectedBounds:function(D){if(this.infinite)return null;var K=this.projection.bounds,he=this.scale(D);return new fn(this.transformation.transform(K.min,he),this.transformation.transform(K.max,he))},infinite:!1,wrapLatLng:function(D){var K=this.wrapLng?v(D.lng,this.wrapLng,!0):D.lng;return new xn(this.wrapLat?v(D.lat,this.wrapLat,!0):D.lat,K,D.alt)},wrapLatLngBounds:function(D){var K=D.getCenter(),he=this.wrapLatLng(K),Ee=K.lat-he.lat,We=K.lng-he.lng;if(0===Ee&&0===We)return D;var wt=D.getSouthWest(),Zt=D.getNorthEast();return new hn(new xn(wt.lat-Ee,wt.lng-We),new xn(Zt.lat-Ee,Zt.lng-We))}},si=i({},Sn,{wrapLng:[-180,180],R:6371e3,distance:function(D,K){var he=Math.PI/180,Ee=D.lat*he,We=K.lat*he,wt=Math.sin((K.lat-D.lat)*he/2),Zt=Math.sin((K.lng-D.lng)*he/2),wn=wt*wt+Math.cos(Ee)*Math.cos(We)*Zt*Zt,Rn=2*Math.atan2(Math.sqrt(wn),Math.sqrt(1-wn));return this.R*Rn}}),cn=6378137,yn={R:cn,MAX_LATITUDE:85.0511287798,project:function(D){var K=Math.PI/180,he=this.MAX_LATITUDE,Ee=Math.max(Math.min(he,D.lat),-he),We=Math.sin(Ee*K);return new vt(this.R*D.lng*K,this.R*Math.log((1+We)/(1-We))/2)},unproject:function(D){var K=180/Math.PI;return new xn((2*Math.atan(Math.exp(D.y/this.R))-Math.PI/2)*K,D.x*K/this.R)},bounds:(D=cn*Math.PI,new fn([-D,-D],[D,D]))};function qn(D,K,he,Ee){if(S(D))return this._a=D[0],this._b=D[1],this._c=D[2],void(this._d=D[3]);this._a=D,this._b=K,this._c=he,this._d=Ee}function oi(D,K,he,Ee){return new qn(D,K,he,Ee)}qn.prototype={transform:function(D,K){return this._transform(D.clone(),K)},_transform:function(D,K){return K=K||1,D.x=K*(this._a*D.x+this._b),D.y=K*(this._c*D.y+this._d),D},untransform:function(D,K){return K=K||1,new vt((D.x/K-this._b)/this._a,(D.y/K-this._d)/this._c)}};var Yn=i({},si,{code:"EPSG:3857",projection:yn,transformation:function(){var D=.5/(Math.PI*yn.R);return oi(D,.5,-D,.5)}()}),Xn=i({},Yn,{code:"EPSG:900913"});function gi(D){return document.createElementNS("http://www.w3.org/2000/svg",D)}function Mt(D,K){var Ee,We,wt,Zt,wn,Rn,he="";for(Ee=0,wt=D.length;Ee<wt;Ee++){for(We=0,Zt=(wn=D[Ee]).length;We<Zt;We++)he+=(We?"L":"M")+(Rn=wn[We]).x+" "+Rn.y;he+=K?Ot.svg?"z":"x":""}return he||"M0 0"}var pn=document.documentElement.style,an="ActiveXObject"in window,yt=an&&!document.addEventListener,Je="msLaunchUri"in navigator&&!("documentMode"in document),ht=at("webkit"),xt=at("android"),Ht=at("android 2")||at("android 3"),$t=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Jt=xt&&at("Google")&&$t<537&&!("AudioNode"in window),lt=!!window.opera,Ft=!Je&&at("chrome"),ln=at("gecko")&&!ht&&!lt&&!an,Jn=!Ft&&at("safari"),Mn=at("phantom"),ti="OTransition"in pn,Ai=0===navigator.platform.indexOf("Win"),ki=an&&"transition"in pn,Ki="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Ht,Hi="MozPerspective"in pn,_i=!window.L_DISABLE_3D&&(ki||Ki||Hi)&&!ti&&!Mn,pi="undefined"!=typeof orientation||at("mobile"),$n=pi&&ht,wr=pi&&Ki,Pn=!window.PointerEvent&&window.MSPointerEvent,Bn=!(!window.PointerEvent&&!Pn),ri="ontouchstart"in window||!!window.TouchEvent,mi=!window.L_NO_TOUCH&&(ri||Bn),xi=pi&&lt,Mr=pi&&ln,gr=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Li=function(){var D=!1;try{var K=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("testPassiveEventSupport",y,K),window.removeEventListener("testPassiveEventSupport",y,K)}catch(he){}return D}(),Sr=!!document.createElement("canvas").getContext,br=!(!document.createElementNS||!gi("svg").createSVGRect),Xr=!!br&&function(){var D=document.createElement("div");return D.innerHTML="<svg/>","http://www.w3.org/2000/svg"===(D.firstChild&&D.firstChild.namespaceURI)}(),uo=!br&&function(){try{var D=document.createElement("div");D.innerHTML='<v:shape adj="1"/>';var K=D.firstChild;return K.style.behavior="url(#default#VML)",K&&"object"==typeof K.adj}catch(he){return!1}}(),fa=0===navigator.platform.indexOf("Mac"),ai=0===navigator.platform.indexOf("Linux");function at(D){return navigator.userAgent.toLowerCase().indexOf(D)>=0}var Ot={ie:an,ielt9:yt,edge:Je,webkit:ht,android:xt,android23:Ht,androidStock:Jt,opera:lt,chrome:Ft,gecko:ln,safari:Jn,phantom:Mn,opera12:ti,win:Ai,ie3d:ki,webkit3d:Ki,gecko3d:Hi,any3d:_i,mobile:pi,mobileWebkit:$n,mobileWebkit3d:wr,msPointer:Pn,pointer:Bn,touch:mi,touchNative:ri,mobileOpera:xi,mobileGecko:Mr,retina:gr,passiveEvents:Li,canvas:Sr,svg:br,vml:uo,inlineSvg:Xr,mac:fa,linux:ai},Nn=Ot.msPointer?"MSPointerDown":"pointerdown",di=Ot.msPointer?"MSPointerMove":"pointermove",$i=Ot.msPointer?"MSPointerUp":"pointerup",Fi=Ot.msPointer?"MSPointerCancel":"pointercancel",Yr={touchstart:Nn,touchmove:di,touchend:$i,touchcancel:Fi},Mo={touchstart:To,touchmove:Vi,touchend:Vi,touchcancel:Vi},Jr={},Bi=!1;function ks(D,K,he){return"touchstart"===K&&Cr(),Mo[K]?(he=Mo[K].bind(this,he),D.addEventListener(Yr[K],he,!1),he):(console.warn("wrong event specified:",K),y)}function so(D,K,he){Yr[K]?D.removeEventListener(Yr[K],he,!1):console.warn("wrong event specified:",K)}function Qo(D){Jr[D.pointerId]=D}function mr(D){Jr[D.pointerId]&&(Jr[D.pointerId]=D)}function Ti(D){delete Jr[D.pointerId]}function Cr(){Bi||(document.addEventListener(Nn,Qo,!0),document.addEventListener(di,mr,!0),document.addEventListener($i,Ti,!0),document.addEventListener(Fi,Ti,!0),Bi=!0)}function Vi(D,K){if(K.pointerType!==(K.MSPOINTER_TYPE_MOUSE||"mouse")){for(var he in K.touches=[],Jr)K.touches.push(Jr[he]);K.changedTouches=[K],D(K)}}function To(D,K){K.MSPOINTER_TYPE_TOUCH&&K.pointerType===K.MSPOINTER_TYPE_TOUCH&&Et(K),Vi(D,K)}function qr(D){var he,Ee,K={};for(Ee in D)he=D[Ee],K[Ee]=he&&he.bind?he.bind(D):he;return D=K,K.type="dblclick",K.detail=2,K.isTrusted=!1,K._simulated=!0,K}var _o=200;function jo(D,K){D.addEventListener("dblclick",K);var Ee,he=0;function We(wt){if(1===wt.detail){if("mouse"!==wt.pointerType&&(!wt.sourceCapabilities||wt.sourceCapabilities.firesTouchEvents)){var Zt=Ln(wt);if(!Zt.some(function(Rn){return Rn instanceof HTMLLabelElement&&Rn.attributes.for})||Zt.some(function(Rn){return Rn instanceof HTMLInputElement||Rn instanceof HTMLSelectElement})){var wn=Date.now();wn-he<=_o?2==++Ee&&K(qr(wt)):Ee=1,he=wn}}}else Ee=wt.detail}return D.addEventListener("click",We),{dblclick:K,simDblclick:We}}function Do(D,K){D.removeEventListener("dblclick",K.dblclick),D.removeEventListener("click",K.simDblclick)}var Fo,Po,Or,xs,Ws,gs=zs(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ho=zs(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Dr="webkitTransition"===Ho||"OTransition"===Ho?Ho+"End":"transitionend";function Os(D){return"string"==typeof D?document.getElementById(D):D}function cs(D,K){var he=D.style[K]||D.currentStyle&&D.currentStyle[K];if((!he||"auto"===he)&&document.defaultView){var Ee=document.defaultView.getComputedStyle(D,null);he=Ee?Ee[K]:null}return"auto"===he?null:he}function li(D,K,he){var Ee=document.createElement(D);return Ee.className=K||"",he&&he.appendChild(Ee),Ee}function Qr(D){var K=D.parentNode;K&&K.removeChild(D)}function ao(D){for(;D.firstChild;)D.removeChild(D.firstChild)}function ys(D){var K=D.parentNode;K&&K.lastChild!==D&&K.appendChild(D)}function _a(D){var K=D.parentNode;K&&K.firstChild!==D&&K.insertBefore(D,K.firstChild)}function Ps(D,K){if(void 0!==D.classList)return D.classList.contains(K);var he=no(D);return he.length>0&&new RegExp("(^|\\s)"+K+"(\\s|$)").test(he)}function ji(D,K){if(void 0!==D.classList)for(var he=_(K),Ee=0,We=he.length;Ee<We;Ee++)D.classList.add(he[Ee]);else if(!Ps(D,K)){var wt=no(D);Us(D,(wt?wt+" ":"")+K)}}function So(D,K){void 0!==D.classList?D.classList.remove(K):Us(D,C((" "+no(D)+" ").replace(" "+K+" "," ")))}function Us(D,K){void 0===D.className.baseVal?D.className=K:D.className.baseVal=K}function no(D){return D.correspondingElement&&(D=D.correspondingElement),void 0===D.className.baseVal?D.className:D.className.baseVal}function ho(D,K){"opacity"in D.style?D.style.opacity=K:"filter"in D.style&&ra(D,K)}function ra(D,K){var he=!1,Ee="DXImageTransform.Microsoft.Alpha";try{he=D.filters.item(Ee)}catch(We){if(1===K)return}K=Math.round(100*K),he?(he.Enabled=100!==K,he.Opacity=K):D.style.filter+=" progid:"+Ee+"(opacity="+K+")"}function zs(D){for(var K=document.documentElement.style,he=0;he<D.length;he++)if(D[he]in K)return D[he];return!1}function bo(D,K,he){var Ee=K||new vt(0,0);D.style[gs]=(Ot.ie3d?"translate("+Ee.x+"px,"+Ee.y+"px)":"translate3d("+Ee.x+"px,"+Ee.y+"px,0)")+(he?" scale("+he+")":"")}function yr(D,K){D._leaflet_pos=K,Ot.any3d?bo(D,K):(D.style.left=K.x+"px",D.style.top=K.y+"px")}function yo(D){return D._leaflet_pos||new vt(0,0)}if("onselectstart"in document)Fo=function(){or(window,"selectstart",Et)},Po=function(){ne(window,"selectstart",Et)};else{var rs=zs(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Fo=function(){if(rs){var D=document.documentElement.style;Or=D[rs],D[rs]="none"}},Po=function(){rs&&(document.documentElement.style[rs]=Or,Or=void 0)}}function Xo(){or(window,"dragstart",Et)}function ba(){ne(window,"dragstart",Et)}function aa(D){for(;-1===D.tabIndex;)D=D.parentNode;!D.style||(js(),xs=D,Ws=D.style.outline,D.style.outline="none",or(window,"keydown",js))}function js(){!xs||(xs.style.outline=Ws,xs=void 0,Ws=void 0,ne(window,"keydown",js))}function Jo(D){do{D=D.parentNode}while(!(D.offsetWidth&&D.offsetHeight||D===document.body));return D}function Vo(D){var K=D.getBoundingClientRect();return{x:K.width/D.offsetWidth||1,y:K.height/D.offsetHeight||1,boundingClientRect:K}}var Io={__proto__:null,TRANSFORM:gs,TRANSITION:Ho,TRANSITION_END:Dr,get:Os,getStyle:cs,create:li,remove:Qr,empty:ao,toFront:ys,toBack:_a,hasClass:Ps,addClass:ji,removeClass:So,setClass:Us,getClass:no,setOpacity:ho,testProp:zs,setTransform:bo,setPosition:yr,getPosition:yo,get disableTextSelection(){return Fo},get enableTextSelection(){return Po},disableImageDrag:Xo,enableImageDrag:ba,preventOutline:aa,restoreOutline:js,getSizedParentNode:Jo,getScale:Vo};function or(D,K,he,Ee){if(K&&"object"==typeof K)for(var We in K)et(D,We,K[We],he);else for(var wt=0,Zt=(K=_(K)).length;wt<Zt;wt++)et(D,K[wt],he,Ee);return this}var q="_leaflet_events";function ne(D,K,he,Ee){if(1===arguments.length)me(D),delete D[q];else if(K&&"object"==typeof K)for(var We in K)It(D,We,K[We],he);else if(K=_(K),2===arguments.length)me(D,function(wn){return-1!==E(K,wn)});else for(var wt=0,Zt=K.length;wt<Zt;wt++)It(D,K[wt],he,Ee);return this}function me(D,K){for(var he in D[q]){var Ee=he.split(/\d/)[0];(!K||K(Ee))&&It(D,Ee,null,null,he)}}var Be={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function et(D,K,he,Ee){var We=K+o(he)+(Ee?"_"+o(Ee):"");if(D[q]&&D[q][We])return this;var wt=function(wn){return he.call(Ee||D,wn||window.event)},Zt=wt;!Ot.touchNative&&Ot.pointer&&0===K.indexOf("touch")?wt=ks(D,K,wt):Ot.touch&&"dblclick"===K?wt=jo(D,wt):"addEventListener"in D?"touchstart"===K||"touchmove"===K||"wheel"===K||"mousewheel"===K?D.addEventListener(Be[K]||K,wt,!!Ot.passiveEvents&&{passive:!1}):"mouseenter"===K||"mouseleave"===K?(wt=function(wn){wn=wn||window.event,Ui(D,wn)&&Zt(wn)},D.addEventListener(Be[K],wt,!1)):D.addEventListener(K,Zt,!1):D.attachEvent("on"+K,wt),D[q]=D[q]||{},D[q][We]=wt}function It(D,K,he,Ee,We){We=We||K+o(he)+(Ee?"_"+o(Ee):"");var wt=D[q]&&D[q][We];if(!wt)return this;!Ot.touchNative&&Ot.pointer&&0===K.indexOf("touch")?so(D,K,wt):Ot.touch&&"dblclick"===K?Do(D,wt):"removeEventListener"in D?D.removeEventListener(Be[K]||K,wt,!1):D.detachEvent("on"+K,wt),D[q][We]=null}function Ut(D){return D.stopPropagation?D.stopPropagation():D.originalEvent?D.originalEvent._stopped=!0:D.cancelBubble=!0,this}function Wt(D){return et(D,"wheel",Ut),this}function Pt(D){return or(D,"mousedown touchstart dblclick contextmenu",Ut),D._leaflet_disable_click=!0,this}function Et(D){return D.preventDefault?D.preventDefault():D.returnValue=!1,this}function Dn(D){return Et(D),Ut(D),this}function Ln(D){if(D.composedPath)return D.composedPath();for(var K=[],he=D.target;he;)K.push(he),he=he.parentNode;return K}function An(D,K){if(!K)return new vt(D.clientX,D.clientY);var he=Vo(K),Ee=he.boundingClientRect;return new vt((D.clientX-Ee.left)/he.x-K.clientLeft,(D.clientY-Ee.top)/he.y-K.clientTop)}var Qn=Ot.linux&&Ot.chrome?window.devicePixelRatio:Ot.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function ui(D){return Ot.edge?D.wheelDeltaY/2:D.deltaY&&0===D.deltaMode?-D.deltaY/Qn:D.deltaY&&1===D.deltaMode?20*-D.deltaY:D.deltaY&&2===D.deltaMode?60*-D.deltaY:D.deltaX||D.deltaZ?0:D.wheelDelta?(D.wheelDeltaY||D.wheelDelta)/2:D.detail&&Math.abs(D.detail)<32765?20*-D.detail:D.detail?D.detail/-32765*60:0}function Ui(D,K){var he=K.relatedTarget;if(!he)return!0;try{for(;he&&he!==D;)he=he.parentNode}catch(Ee){return!1}return he!==D}var hr={__proto__:null,on:or,off:ne,stopPropagation:Ut,disableScrollPropagation:Wt,disableClickPropagation:Pt,preventDefault:Et,stop:Dn,getPropagationPath:Ln,getMousePosition:An,getWheelDelta:ui,isExternalTarget:Ui,addListener:or,removeListener:ne},kr=ot.extend({run:function(D,K,he,Ee){this.stop(),this._el=D,this._inProgress=!0,this._duration=he||.25,this._easeOutPower=1/Math.max(Ee||.5,.2),this._startPos=yo(D),this._offset=K.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){!this._inProgress||(this._step(!0),this._complete())},_animate:function(){this._animId=pe(this._animate,this),this._step()},_step:function(D){var K=+new Date-this._startTime,he=1e3*this._duration;K<he?this._runFrame(this._easeOut(K/he),D):(this._runFrame(1),this._complete())},_runFrame:function(D,K){var he=this._startPos.add(this._offset.multiplyBy(D));K&&he._round(),yr(this._el,he),this.fire("step")},_complete:function(){Ae(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(D){return 1-Math.pow(1-D,this._easeOutPower)}}),Ri=ot.extend({options:{crs:Yn,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(D,K){K=w(this,K),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(D),this._initLayout(),this._onResize=m(this._onResize,this),this._initEvents(),K.maxBounds&&this.setMaxBounds(K.maxBounds),void 0!==K.zoom&&(this._zoom=this._limitZoom(K.zoom)),K.center&&void 0!==K.zoom&&this.setView(dn(K.center),K.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Ho&&Ot.any3d&&!Ot.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),or(this._proxy,Dr,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(D,K,he){return K=void 0===K?this._zoom:this._limitZoom(K),D=this._limitCenter(dn(D),K,this.options.maxBounds),he=he||{},this._stop(),this._loaded&&!he.reset&&!0!==he&&(void 0!==he.animate&&(he.zoom=i({animate:he.animate},he.zoom),he.pan=i({animate:he.animate,duration:he.duration},he.pan)),this._zoom!==K?this._tryAnimatedZoom&&this._tryAnimatedZoom(D,K,he.zoom):this._tryAnimatedPan(D,he.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(D,K,he.pan&&he.pan.noMoveStart),this)},setZoom:function(D,K){return this._loaded?this.setView(this.getCenter(),D,{zoom:K}):(this._zoom=D,this)},zoomIn:function(D,K){return D=D||(Ot.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+D,K)},zoomOut:function(D,K){return D=D||(Ot.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-D,K)},setZoomAround:function(D,K,he){var Ee=this.getZoomScale(K),We=this.getSize().divideBy(2),Zt=(D instanceof vt?D:this.latLngToContainerPoint(D)).subtract(We).multiplyBy(1-1/Ee),wn=this.containerPointToLatLng(We.add(Zt));return this.setView(wn,K,{zoom:he})},_getBoundsCenterZoom:function(D,K){K=K||{},D=D.getBounds?D.getBounds():vn(D);var he=Xt(K.paddingTopLeft||K.padding||[0,0]),Ee=Xt(K.paddingBottomRight||K.padding||[0,0]),We=this.getBoundsZoom(D,!1,he.add(Ee));if((We="number"==typeof K.maxZoom?Math.min(K.maxZoom,We):We)===1/0)return{center:D.getCenter(),zoom:We};var wt=Ee.subtract(he).divideBy(2),Zt=this.project(D.getSouthWest(),We),wn=this.project(D.getNorthEast(),We);return{center:this.unproject(Zt.add(wn).divideBy(2).add(wt),We),zoom:We}},fitBounds:function(D,K){if(!(D=vn(D)).isValid())throw new Error("Bounds are not valid.");var he=this._getBoundsCenterZoom(D,K);return this.setView(he.center,he.zoom,K)},fitWorld:function(D){return this.fitBounds([[-90,-180],[90,180]],D)},panTo:function(D,K){return this.setView(D,this._zoom,{pan:K})},panBy:function(D,K){if(K=K||{},!(D=Xt(D).round()).x&&!D.y)return this.fire("moveend");if(!0!==K.animate&&!this.getSize().contains(D))return this._resetView(this.unproject(this.project(this.getCenter()).add(D)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new kr,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),K.noMoveStart||this.fire("movestart"),!1!==K.animate){ji(this._mapPane,"leaflet-pan-anim");var he=this._getMapPanePos().subtract(D).round();this._panAnim.run(this._mapPane,he,K.duration||.25,K.easeLinearity)}else this._rawPanBy(D),this.fire("move").fire("moveend");return this},flyTo:function(D,K,he){if(!1===(he=he||{}).animate||!Ot.any3d)return this.setView(D,K,he);this._stop();var Ee=this.project(this.getCenter()),We=this.project(D),wt=this.getSize(),Zt=this._zoom;D=dn(D),K=void 0===K?Zt:K;var wn=Math.max(wt.x,wt.y),Rn=wn*this.getZoomScale(Zt,K),Si=We.distanceTo(Ee)||1,tr=1.42,Wr=tr*tr;function po(Ds){var kt=(Rn*Rn-wn*wn+(Ds?-1:1)*Wr*Wr*Si*Si)/(2*(Ds?Rn:wn)*Wr*Si),Jl=Math.sqrt(kt*kt+1)-kt;return Jl<1e-9?-18:Math.log(Jl)}function Aa(Ds){return(Math.exp(Ds)-Math.exp(-Ds))/2}function sl(Ds){return(Math.exp(Ds)+Math.exp(-Ds))/2}function Xl(Ds){return Aa(Ds)/sl(Ds)}var ga=po(0);function h1(Ds){return wn*(sl(ga)/sl(ga+tr*Ds))}function tu(Ds){return wn*(sl(ga)*Xl(ga+tr*Ds)-Aa(ga))/Wr}function xc(Ds){return 1-Math.pow(1-Ds,1.5)}var uc=Date.now(),kd=(po(1)-ga)/tr,K2=he.duration?1e3*he.duration:1e3*kd*.8;function n2(){var Ds=(Date.now()-uc)/K2,f1=xc(Ds)*kd;Ds<=1?(this._flyToFrame=pe(n2,this),this._move(this.unproject(Ee.add(We.subtract(Ee).multiplyBy(tu(f1)/Si)),Zt),this.getScaleZoom(wn/h1(f1),Zt),{flyTo:!0})):this._move(D,K)._moveEnd(!0)}return this._moveStart(!0,he.noMoveStart),n2.call(this),this},flyToBounds:function(D,K){var he=this._getBoundsCenterZoom(D,K);return this.flyTo(he.center,he.zoom,K)},setMaxBounds:function(D){return D=vn(D),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),D.isValid()?(this.options.maxBounds=D,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(D){var K=this.options.minZoom;return this.options.minZoom=D,this._loaded&&K!==D&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(D):this},setMaxZoom:function(D){var K=this.options.maxZoom;return this.options.maxZoom=D,this._loaded&&K!==D&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(D):this},panInsideBounds:function(D,K){this._enforcingBounds=!0;var he=this.getCenter(),Ee=this._limitCenter(he,this._zoom,vn(D));return he.equals(Ee)||this.panTo(Ee,K),this._enforcingBounds=!1,this},panInside:function(D,K){var he=Xt((K=K||{}).paddingTopLeft||K.padding||[0,0]),Ee=Xt(K.paddingBottomRight||K.padding||[0,0]),We=this.project(this.getCenter()),wt=this.project(D),Zt=this.getPixelBounds(),wn=_n([Zt.min.add(he),Zt.max.subtract(Ee)]),Rn=wn.getSize();if(!wn.contains(wt)){this._enforcingBounds=!0;var Si=wt.subtract(wn.getCenter()),tr=wn.extend(wt).getSize().subtract(Rn);We.x+=Si.x<0?-tr.x:tr.x,We.y+=Si.y<0?-tr.y:tr.y,this.panTo(this.unproject(We),K),this._enforcingBounds=!1}return this},invalidateSize:function(D){if(!this._loaded)return this;D=i({animate:!1,pan:!0},!0===D?{animate:!0}:D);var K=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var he=this.getSize(),Ee=K.divideBy(2).round(),We=he.divideBy(2).round(),wt=Ee.subtract(We);return wt.x||wt.y?(D.animate&&D.pan?this.panBy(wt):(D.pan&&this._rawPanBy(wt),this.fire("move"),D.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(m(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:K,newSize:he})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(D){if(D=this._locateOptions=i({timeout:1e4,watch:!1},D),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var K=m(this._handleGeolocationResponse,this),he=m(this._handleGeolocationError,this);return D.watch?this._locationWatchId=navigator.geolocation.watchPosition(K,he,D):navigator.geolocation.getCurrentPosition(K,he,D),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(D){if(this._container._leaflet_id){var K=D.code,he=D.message||(1===K?"permission denied":2===K?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:K,message:"Geolocation error: "+he+"."})}},_handleGeolocationResponse:function(D){if(this._container._leaflet_id){var Ee=new xn(D.coords.latitude,D.coords.longitude),We=Ee.toBounds(2*D.coords.accuracy),wt=this._locateOptions;if(wt.setView){var Zt=this.getBoundsZoom(We);this.setView(Ee,wt.maxZoom?Math.min(Zt,wt.maxZoom):Zt)}var wn={latlng:Ee,bounds:We,timestamp:D.timestamp};for(var Rn in D.coords)"number"==typeof D.coords[Rn]&&(wn[Rn]=D.coords[Rn]);this.fire("locationfound",wn)}},addHandler:function(D,K){if(!K)return this;var he=this[D]=new K(this);return this._handlers.push(he),this.options[D]&&he.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(K){this._container._leaflet_id=void 0,this._containerId=void 0}var D;for(D in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),Qr(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Ae(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[D].remove();for(D in this._panes)Qr(this._panes[D]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(D,K){var Ee=li("div","leaflet-pane"+(D?" leaflet-"+D.replace("Pane","")+"-pane":""),K||this._mapPane);return D&&(this._panes[D]=Ee),Ee},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var D=this.getPixelBounds();return new hn(this.unproject(D.getBottomLeft()),this.unproject(D.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(D,K,he){D=vn(D),he=Xt(he||[0,0]);var Ee=this.getZoom()||0,We=this.getMinZoom(),wt=this.getMaxZoom(),Zt=D.getNorthWest(),wn=D.getSouthEast(),Rn=this.getSize().subtract(he),Si=_n(this.project(wn,Ee),this.project(Zt,Ee)).getSize(),tr=Ot.any3d?this.options.zoomSnap:1,Wr=Rn.x/Si.x,po=Rn.y/Si.y,Aa=K?Math.max(Wr,po):Math.min(Wr,po);return Ee=this.getScaleZoom(Aa,Ee),tr&&(Ee=Math.round(Ee/(tr/100))*(tr/100),Ee=K?Math.ceil(Ee/tr)*tr:Math.floor(Ee/tr)*tr),Math.max(We,Math.min(wt,Ee))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new vt(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(D,K){var he=this._getTopLeftPoint(D,K);return new fn(he,he.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(D){return this.options.crs.getProjectedBounds(void 0===D?this.getZoom():D)},getPane:function(D){return"string"==typeof D?this._panes[D]:D},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(D,K){var he=this.options.crs;return K=void 0===K?this._zoom:K,he.scale(D)/he.scale(K)},getScaleZoom:function(D,K){var he=this.options.crs;K=void 0===K?this._zoom:K;var Ee=he.zoom(D*he.scale(K));return isNaN(Ee)?1/0:Ee},project:function(D,K){return K=void 0===K?this._zoom:K,this.options.crs.latLngToPoint(dn(D),K)},unproject:function(D,K){return K=void 0===K?this._zoom:K,this.options.crs.pointToLatLng(Xt(D),K)},layerPointToLatLng:function(D){var K=Xt(D).add(this.getPixelOrigin());return this.unproject(K)},latLngToLayerPoint:function(D){return this.project(dn(D))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(D){return this.options.crs.wrapLatLng(dn(D))},wrapLatLngBounds:function(D){return this.options.crs.wrapLatLngBounds(vn(D))},distance:function(D,K){return this.options.crs.distance(dn(D),dn(K))},containerPointToLayerPoint:function(D){return Xt(D).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(D){return Xt(D).add(this._getMapPanePos())},containerPointToLatLng:function(D){var K=this.containerPointToLayerPoint(Xt(D));return this.layerPointToLatLng(K)},latLngToContainerPoint:function(D){return this.layerPointToContainerPoint(this.latLngToLayerPoint(dn(D)))},mouseEventToContainerPoint:function(D){return An(D,this._container)},mouseEventToLayerPoint:function(D){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(D))},mouseEventToLatLng:function(D){return this.layerPointToLatLng(this.mouseEventToLayerPoint(D))},_initContainer:function(D){var K=this._container=Os(D);if(!K)throw new Error("Map container not found.");if(K._leaflet_id)throw new Error("Map container is already initialized.");or(K,"scroll",this._onScroll,this),this._containerId=o(K)},_initLayout:function(){var D=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ot.any3d,ji(D,"leaflet-container"+(Ot.touch?" leaflet-touch":"")+(Ot.retina?" leaflet-retina":"")+(Ot.ielt9?" leaflet-oldie":"")+(Ot.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var K=cs(D,"position");"absolute"!==K&&"relative"!==K&&"fixed"!==K&&"sticky"!==K&&(D.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var D=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),yr(this._mapPane,new vt(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ji(D.markerPane,"leaflet-zoom-hide"),ji(D.shadowPane,"leaflet-zoom-hide"))},_resetView:function(D,K,he){yr(this._mapPane,new vt(0,0));var Ee=!this._loaded;this._loaded=!0,K=this._limitZoom(K),this.fire("viewprereset");var We=this._zoom!==K;this._moveStart(We,he)._move(D,K)._moveEnd(We),this.fire("viewreset"),Ee&&this.fire("load")},_moveStart:function(D,K){return D&&this.fire("zoomstart"),K||this.fire("movestart"),this},_move:function(D,K,he,Ee){void 0===K&&(K=this._zoom);var We=this._zoom!==K;return this._zoom=K,this._lastCenter=D,this._pixelOrigin=this._getNewPixelOrigin(D),Ee?he&&he.pinch&&this.fire("zoom",he):((We||he&&he.pinch)&&this.fire("zoom",he),this.fire("move",he)),this},_moveEnd:function(D){return D&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Ae(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(D){yr(this._mapPane,this._getMapPanePos().subtract(D))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(D){this._targets={},this._targets[o(this._container)]=this;var K=D?ne:or;K(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&K(window,"resize",this._onResize,this),Ot.any3d&&this.options.transform3DLimit&&(D?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Ae(this._resizeRequest),this._resizeRequest=pe(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var D=this._getMapPanePos();Math.max(Math.abs(D.x),Math.abs(D.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(D,K){for(var Ee,he=[],We="mouseout"===K||"mouseover"===K,wt=D.target||D.srcElement,Zt=!1;wt;){if((Ee=this._targets[o(wt)])&&("click"===K||"preclick"===K)&&this._draggableMoved(Ee)){Zt=!0;break}if(Ee&&Ee.listens(K,!0)&&(We&&!Ui(wt,D)||(he.push(Ee),We))||wt===this._container)break;wt=wt.parentNode}return!he.length&&!Zt&&!We&&this.listens(K,!0)&&(he=[this]),he},_isClickDisabled:function(D){for(;D&&D!==this._container;){if(D._leaflet_disable_click)return!0;D=D.parentNode}},_handleDOMEvent:function(D){var K=D.target||D.srcElement;if(!(!this._loaded||K._leaflet_disable_events||"click"===D.type&&this._isClickDisabled(K))){var he=D.type;"mousedown"===he&&aa(K),this._fireDOMEvent(D,he)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(D,K,he){if("click"===D.type){var Ee=i({},D);Ee.type="preclick",this._fireDOMEvent(Ee,Ee.type,he)}var We=this._findEventTargets(D,K);if(he){for(var wt=[],Zt=0;Zt<he.length;Zt++)he[Zt].listens(K,!0)&&wt.push(he[Zt]);We=wt.concat(We)}if(We.length){"contextmenu"===K&&Et(D);var wn=We[0],Rn={originalEvent:D};if("keypress"!==D.type&&"keydown"!==D.type&&"keyup"!==D.type){var Si=wn.getLatLng&&(!wn._radius||wn._radius<=10);Rn.containerPoint=Si?this.latLngToContainerPoint(wn.getLatLng()):this.mouseEventToContainerPoint(D),Rn.layerPoint=this.containerPointToLayerPoint(Rn.containerPoint),Rn.latlng=Si?wn.getLatLng():this.layerPointToLatLng(Rn.layerPoint)}for(Zt=0;Zt<We.length;Zt++)if(We[Zt].fire(K,Rn,!0),Rn.originalEvent._stopped||!1===We[Zt].options.bubblingMouseEvents&&-1!==E(this._mouseEvents,K))return}},_draggableMoved:function(D){return(D=D.dragging&&D.dragging.enabled()?D:this).dragging&&D.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var D=0,K=this._handlers.length;D<K;D++)this._handlers[D].disable()},whenReady:function(D,K){return this._loaded?D.call(K||this,{target:this}):this.on("load",D,K),this},_getMapPanePos:function(){return yo(this._mapPane)||new vt(0,0)},_moved:function(){var D=this._getMapPanePos();return D&&!D.equals([0,0])},_getTopLeftPoint:function(D,K){return(D&&void 0!==K?this._getNewPixelOrigin(D,K):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(D,K){var he=this.getSize()._divideBy(2);return this.project(D,K)._subtract(he)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(D,K,he){var Ee=this._getNewPixelOrigin(he,K);return this.project(D,K)._subtract(Ee)},_latLngBoundsToNewLayerBounds:function(D,K,he){var Ee=this._getNewPixelOrigin(he,K);return _n([this.project(D.getSouthWest(),K)._subtract(Ee),this.project(D.getNorthWest(),K)._subtract(Ee),this.project(D.getSouthEast(),K)._subtract(Ee),this.project(D.getNorthEast(),K)._subtract(Ee)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(D){return this.latLngToLayerPoint(D).subtract(this._getCenterLayerPoint())},_limitCenter:function(D,K,he){if(!he)return D;var Ee=this.project(D,K),We=this.getSize().divideBy(2),wt=new fn(Ee.subtract(We),Ee.add(We)),Zt=this._getBoundsOffset(wt,he,K);return Math.abs(Zt.x)<=1&&Math.abs(Zt.y)<=1?D:this.unproject(Ee.add(Zt),K)},_limitOffset:function(D,K){if(!K)return D;var he=this.getPixelBounds(),Ee=new fn(he.min.add(D),he.max.add(D));return D.add(this._getBoundsOffset(Ee,K))},_getBoundsOffset:function(D,K,he){var Ee=_n(this.project(K.getNorthEast(),he),this.project(K.getSouthWest(),he)),We=Ee.min.subtract(D.min),wt=Ee.max.subtract(D.max);return new vt(this._rebound(We.x,-wt.x),this._rebound(We.y,-wt.y))},_rebound:function(D,K){return D+K>0?Math.round(D-K)/2:Math.max(0,Math.ceil(D))-Math.max(0,Math.floor(K))},_limitZoom:function(D){var K=this.getMinZoom(),he=this.getMaxZoom(),Ee=Ot.any3d?this.options.zoomSnap:1;return Ee&&(D=Math.round(D/Ee)*Ee),Math.max(K,Math.min(he,D))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){So(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(D,K){var he=this._getCenterOffset(D)._trunc();return!(!0!==(K&&K.animate)&&!this.getSize().contains(he)||(this.panBy(he,K),0))},_createAnimProxy:function(){var D=this._proxy=li("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(D),this.on("zoomanim",function(K){var he=gs,Ee=this._proxy.style[he];bo(this._proxy,this.project(K.center,K.zoom),this.getZoomScale(K.zoom,1)),Ee===this._proxy.style[he]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Qr(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var D=this.getCenter(),K=this.getZoom();bo(this._proxy,this.project(D,K),this.getZoomScale(K,1))},_catchTransitionEnd:function(D){this._animatingZoom&&D.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(D,K,he){if(this._animatingZoom)return!0;if(he=he||{},!this._zoomAnimated||!1===he.animate||this._nothingToAnimate()||Math.abs(K-this._zoom)>this.options.zoomAnimationThreshold)return!1;var Ee=this.getZoomScale(K),We=this._getCenterOffset(D)._divideBy(1-1/Ee);return!(!0!==he.animate&&!this.getSize().contains(We)||(pe(function(){this._moveStart(!0,!1)._animateZoom(D,K,!0)},this),0))},_animateZoom:function(D,K,he,Ee){!this._mapPane||(he&&(this._animatingZoom=!0,this._animateToCenter=D,this._animateToZoom=K,ji(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:D,zoom:K,noUpdate:Ee}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(m(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){!this._animatingZoom||(this._mapPane&&So(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Yi(D,K){return new Ri(D,K)}var In=De.extend({options:{position:"topright"},initialize:function(D){w(this,D)},getPosition:function(){return this.options.position},setPosition:function(D){var K=this._map;return K&&K.removeControl(this),this.options.position=D,K&&K.addControl(this),this},getContainer:function(){return this._container},addTo:function(D){this.remove(),this._map=D;var K=this._container=this.onAdd(D),he=this.getPosition(),Ee=D._controlCorners[he];return ji(K,"leaflet-control"),-1!==he.indexOf("bottom")?Ee.insertBefore(K,Ee.firstChild):Ee.appendChild(K),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Qr(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(D){this._map&&D&&D.screenX>0&&D.screenY>0&&this._map.getContainer().focus()}}),Pr=function(D){return new In(D)};Ri.include({addControl:function(D){return D.addTo(this),this},removeControl:function(D){return D.remove(),this},_initControlPos:function(){var D=this._controlCorners={},K="leaflet-",he=this._controlContainer=li("div",K+"control-container",this._container);function Ee(We,wt){var Zt=K+We+" "+K+wt;D[We+wt]=li("div",Zt,he)}Ee("top","left"),Ee("top","right"),Ee("bottom","left"),Ee("bottom","right")},_clearControlPos:function(){for(var D in this._controlCorners)Qr(this._controlCorners[D]);Qr(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Ir=In.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(D,K,he,Ee){return he<Ee?-1:Ee<he?1:0}},initialize:function(D,K,he){for(var Ee in w(this,he),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,D)this._addLayer(D[Ee],Ee);for(Ee in K)this._addLayer(K[Ee],Ee,!0)},onAdd:function(D){this._initLayout(),this._update(),this._map=D,D.on("zoomend",this._checkDisabledLayers,this);for(var K=0;K<this._layers.length;K++)this._layers[K].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(D){return In.prototype.addTo.call(this,D),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var D=0;D<this._layers.length;D++)this._layers[D].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(D,K){return this._addLayer(D,K),this._map?this._update():this},addOverlay:function(D,K){return this._addLayer(D,K,!0),this._map?this._update():this},removeLayer:function(D){D.off("add remove",this._onLayerChange,this);var K=this._getLayer(o(D));return K&&this._layers.splice(this._layers.indexOf(K),1),this._map?this._update():this},expand:function(){ji(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var D=this._map.getSize().y-(this._container.offsetTop+50);return D<this._section.clientHeight?(ji(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=D+"px"):So(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return So(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var D="leaflet-control-layers",K=this._container=li("div",D),he=this.options.collapsed;K.setAttribute("aria-haspopup",!0),Pt(K),Wt(K);var Ee=this._section=li("section",D+"-list");he&&(this._map.on("click",this.collapse,this),or(K,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var We=this._layersLink=li("a",D+"-toggle",K);We.href="#",We.title="Layers",We.setAttribute("role","button"),or(We,{keydown:function(wt){13===wt.keyCode&&this._expandSafely()},click:function(wt){Et(wt),this._expandSafely()}},this),he||this.expand(),this._baseLayersList=li("div",D+"-base",Ee),this._separator=li("div",D+"-separator",Ee),this._overlaysList=li("div",D+"-overlays",Ee),K.appendChild(Ee)},_getLayer:function(D){for(var K=0;K<this._layers.length;K++)if(this._layers[K]&&o(this._layers[K].layer)===D)return this._layers[K]},_addLayer:function(D,K,he){this._map&&D.on("add remove",this._onLayerChange,this),this._layers.push({layer:D,name:K,overlay:he}),this.options.sortLayers&&this._layers.sort(m(function(Ee,We){return this.options.sortFunction(Ee.layer,We.layer,Ee.name,We.name)},this)),this.options.autoZIndex&&D.setZIndex&&(this._lastZIndex++,D.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ao(this._baseLayersList),ao(this._overlaysList),this._layerControlInputs=[];var D,K,he,Ee,We=0;for(he=0;he<this._layers.length;he++)Ee=this._layers[he],this._addItem(Ee),K=K||Ee.overlay,D=D||!Ee.overlay,We+=Ee.overlay?0:1;return this.options.hideSingleBase&&(D=D&&We>1,this._baseLayersList.style.display=D?"":"none"),this._separator.style.display=K&&D?"":"none",this},_onLayerChange:function(D){this._handlingClick||this._update();var K=this._getLayer(o(D.target)),he=K.overlay?"add"===D.type?"overlayadd":"overlayremove":"add"===D.type?"baselayerchange":null;he&&this._map.fire(he,K)},_createRadioElement:function(D,K){var he='<input type="radio" class="leaflet-control-layers-selector" name="'+D+'"'+(K?' checked="checked"':"")+"/>",Ee=document.createElement("div");return Ee.innerHTML=he,Ee.firstChild},_addItem:function(D){var Ee,K=document.createElement("label"),he=this._map.hasLayer(D.layer);D.overlay?((Ee=document.createElement("input")).type="checkbox",Ee.className="leaflet-control-layers-selector",Ee.defaultChecked=he):Ee=this._createRadioElement("leaflet-base-layers_"+o(this),he),this._layerControlInputs.push(Ee),Ee.layerId=o(D.layer),or(Ee,"click",this._onInputClick,this);var We=document.createElement("span");We.innerHTML=" "+D.name;var wt=document.createElement("span");return K.appendChild(wt),wt.appendChild(Ee),wt.appendChild(We),(D.overlay?this._overlaysList:this._baseLayersList).appendChild(K),this._checkDisabledLayers(),K},_onInputClick:function(){var K,he,D=this._layerControlInputs,Ee=[],We=[];this._handlingClick=!0;for(var wt=D.length-1;wt>=0;wt--)K=D[wt],he=this._getLayer(K.layerId).layer,K.checked?Ee.push(he):K.checked||We.push(he);for(wt=0;wt<We.length;wt++)this._map.hasLayer(We[wt])&&this._map.removeLayer(We[wt]);for(wt=0;wt<Ee.length;wt++)this._map.hasLayer(Ee[wt])||this._map.addLayer(Ee[wt]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var K,he,D=this._layerControlInputs,Ee=this._map.getZoom(),We=D.length-1;We>=0;We--)K=D[We],he=this._getLayer(K.layerId).layer,K.disabled=void 0!==he.options.minZoom&&Ee<he.options.minZoom||void 0!==he.options.maxZoom&&Ee>he.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var D=this._section;or(D,"click",Et),this.expand(),setTimeout(function(){ne(D,"click",Et)})}}),ir=function(D,K,he){return new Ir(D,K,he)},ds=In.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(D){var K="leaflet-control-zoom",he=li("div",K+" leaflet-bar"),Ee=this.options;return this._zoomInButton=this._createButton(Ee.zoomInText,Ee.zoomInTitle,K+"-in",he,this._zoomIn),this._zoomOutButton=this._createButton(Ee.zoomOutText,Ee.zoomOutTitle,K+"-out",he,this._zoomOut),this._updateDisabled(),D.on("zoomend zoomlevelschange",this._updateDisabled,this),he},onRemove:function(D){D.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(D){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(D.shiftKey?3:1))},_zoomOut:function(D){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(D.shiftKey?3:1))},_createButton:function(D,K,he,Ee,We){var wt=li("a",he,Ee);return wt.innerHTML=D,wt.href="#",wt.title=K,wt.setAttribute("role","button"),wt.setAttribute("aria-label",K),Pt(wt),or(wt,"click",Dn),or(wt,"click",We,this),or(wt,"click",this._refocusOnMap,this),wt},_updateDisabled:function(){var D=this._map,K="leaflet-disabled";So(this._zoomInButton,K),So(this._zoomOutButton,K),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||D._zoom===D.getMinZoom())&&(ji(this._zoomOutButton,K),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||D._zoom===D.getMaxZoom())&&(ji(this._zoomInButton,K),this._zoomInButton.setAttribute("aria-disabled","true"))}});Ri.mergeOptions({zoomControl:!0}),Ri.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ds,this.addControl(this.zoomControl))});var Go=function(D){return new ds(D)},ko=In.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(D){var K="leaflet-control-scale",he=li("div",K),Ee=this.options;return this._addScales(Ee,K+"-line",he),D.on(Ee.updateWhenIdle?"moveend":"move",this._update,this),D.whenReady(this._update,this),he},onRemove:function(D){D.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(D,K,he){D.metric&&(this._mScale=li("div",K,he)),D.imperial&&(this._iScale=li("div",K,he))},_update:function(){var D=this._map,K=D.getSize().y/2,he=D.distance(D.containerPointToLatLng([0,K]),D.containerPointToLatLng([this.options.maxWidth,K]));this._updateScales(he)},_updateScales:function(D){this.options.metric&&D&&this._updateMetric(D),this.options.imperial&&D&&this._updateImperial(D)},_updateMetric:function(D){var K=this._getRoundNum(D),he=K<1e3?K+" m":K/1e3+" km";this._updateScale(this._mScale,he,K/D)},_updateImperial:function(D){var he,Ee,We,K=3.2808399*D;K>5280?(he=K/5280,Ee=this._getRoundNum(he),this._updateScale(this._iScale,Ee+" mi",Ee/he)):(We=this._getRoundNum(K),this._updateScale(this._iScale,We+" ft",We/K))},_updateScale:function(D,K,he){D.style.width=Math.round(this.options.maxWidth*he)+"px",D.innerHTML=K},_getRoundNum:function(D){var K=Math.pow(10,(Math.floor(D)+"").length-1),he=D/K;return K*(he=he>=10?10:he>=5?5:he>=3?3:he>=2?2:1)}}),zo=function(D){return new ko(D)},Cs='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Rr=In.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ot.inlineSvg?Cs+" ":"")+"Leaflet</a>"},initialize:function(D){w(this,D),this._attributions={}},onAdd:function(D){for(var K in D.attributionControl=this,this._container=li("div","leaflet-control-attribution"),Pt(this._container),D._layers)D._layers[K].getAttribution&&this.addAttribution(D._layers[K].getAttribution());return this._update(),D.on("layeradd",this._addAttribution,this),this._container},onRemove:function(D){D.off("layeradd",this._addAttribution,this)},_addAttribution:function(D){D.layer.getAttribution&&(this.addAttribution(D.layer.getAttribution()),D.layer.once("remove",function(){this.removeAttribution(D.layer.getAttribution())},this))},setPrefix:function(D){return this.options.prefix=D,this._update(),this},addAttribution:function(D){return D?(this._attributions[D]||(this._attributions[D]=0),this._attributions[D]++,this._update(),this):this},removeAttribution:function(D){return D?(this._attributions[D]&&(this._attributions[D]--,this._update()),this):this},_update:function(){if(this._map){var D=[];for(var K in this._attributions)this._attributions[K]&&D.push(K);var he=[];this.options.prefix&&he.push(this.options.prefix),D.length&&he.push(D.join(", ")),this._container.innerHTML=he.join(' <span aria-hidden="true">|</span> ')}}});Ri.mergeOptions({attributionControl:!0}),Ri.addInitHook(function(){this.options.attributionControl&&(new Rr).addTo(this)});var Qe=function(D){return new Rr(D)};In.Layers=Ir,In.Zoom=ds,In.Scale=ko,In.Attribution=Rr,Pr.layers=ir,Pr.zoom=Go,Pr.scale=zo,Pr.attribution=Qe;var Oe=De.extend({initialize:function(D){this._map=D},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Oe.addTo=function(D,K){return D.addHandler(K,this),this};var En,gt={Events:rt},Nt=Ot.touch?"touchstart mousedown":"mousedown",Cn=ot.extend({options:{clickTolerance:3},initialize:function(D,K,he,Ee){w(this,Ee),this._element=D,this._dragStartTarget=K||D,this._preventOutline=he},enable:function(){this._enabled||(or(this._dragStartTarget,Nt,this._onDown,this),this._enabled=!0)},disable:function(){!this._enabled||(Cn._dragging===this&&this.finishDrag(!0),ne(this._dragStartTarget,Nt,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(D){if(this._enabled&&(this._moved=!1,!Ps(this._element,"leaflet-zoom-anim"))){if(D.touches&&1!==D.touches.length)return void(Cn._dragging===this&&this.finishDrag());if(!(Cn._dragging||D.shiftKey||1!==D.which&&1!==D.button&&!D.touches||(Cn._dragging=this,this._preventOutline&&aa(this._element),Xo(),Fo(),this._moving))){this.fire("down");var K=D.touches?D.touches[0]:D,he=Jo(this._element);this._startPoint=new vt(K.clientX,K.clientY),this._startPos=yo(this._element),this._parentScale=Vo(he);var Ee="mousedown"===D.type;or(document,Ee?"mousemove":"touchmove",this._onMove,this),or(document,Ee?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(D){if(this._enabled){if(D.touches&&D.touches.length>1)return void(this._moved=!0);var K=D.touches&&1===D.touches.length?D.touches[0]:D,he=new vt(K.clientX,K.clientY)._subtract(this._startPoint);!he.x&&!he.y||Math.abs(he.x)+Math.abs(he.y)<this.options.clickTolerance||(he.x/=this._parentScale.x,he.y/=this._parentScale.y,Et(D),this._moved||(this.fire("dragstart"),this._moved=!0,ji(document.body,"leaflet-dragging"),this._lastTarget=D.target||D.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),ji(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(he),this._moving=!0,this._lastEvent=D,this._updatePosition())}},_updatePosition:function(){var D={originalEvent:this._lastEvent};this.fire("predrag",D),yr(this._element,this._newPos),this.fire("drag",D)},_onUp:function(){!this._enabled||this.finishDrag()},finishDrag:function(D){So(document.body,"leaflet-dragging"),this._lastTarget&&(So(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ne(document,"mousemove touchmove",this._onMove,this),ne(document,"mouseup touchend touchcancel",this._onUp,this),ba(),Po(),this._moved&&this._moving&&this.fire("dragend",{noInertia:D,distance:this._newPos.distanceTo(this._startPos)}),this._moving=!1,Cn._dragging=!1}});function ze(D,K){if(!K||!D.length)return D.slice();var he=K*K;return D=pt(D=Dt(D,he),he)}function ke(D,K,he){return Math.sqrt(ye(D,K,he,!0))}function oe(D,K,he){return ye(D,K,he)}function pt(D,K){var he=D.length,We=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(he);We[0]=We[he-1]=1,zt(D,We,K,0,he-1);var wt,Zt=[];for(wt=0;wt<he;wt++)We[wt]&&Zt.push(D[wt]);return Zt}function zt(D,K,he,Ee,We){var Zt,wn,Rn,wt=0;for(wn=Ee+1;wn<=We-1;wn++)(Rn=ye(D[wn],D[Ee],D[We],!0))>wt&&(Zt=wn,wt=Rn);wt>he&&(K[Zt]=1,zt(D,K,he,Ee,Zt),zt(D,K,he,Zt,We))}function Dt(D,K){for(var he=[D[0]],Ee=1,We=0,wt=D.length;Ee<wt;Ee++)ft(D[Ee],D[We])>K&&(he.push(D[Ee]),We=Ee);return We<wt-1&&he.push(D[wt-1]),he}function ci(D,K,he,Ee,We){var wn,Rn,Si,wt=Ee?En:xr(D,he),Zt=xr(K,he);for(En=Zt;;){if(!(wt|Zt))return[D,K];if(wt&Zt)return!1;Si=xr(Rn=Ei(D,K,wn=wt||Zt,he,We),he),wn===wt?(D=Rn,wt=Si):(K=Rn,Zt=Si)}}function Ei(D,K,he,Ee,We){var Si,tr,wt=K.x-D.x,Zt=K.y-D.y,wn=Ee.min,Rn=Ee.max;return 8&he?(Si=D.x+wt*(Rn.y-D.y)/Zt,tr=Rn.y):4&he?(Si=D.x+wt*(wn.y-D.y)/Zt,tr=wn.y):2&he?(Si=Rn.x,tr=D.y+Zt*(Rn.x-D.x)/wt):1&he&&(Si=wn.x,tr=D.y+Zt*(wn.x-D.x)/wt),new vt(Si,tr,We)}function xr(D,K){var he=0;return D.x<K.min.x?he|=1:D.x>K.max.x&&(he|=2),D.y<K.min.y?he|=4:D.y>K.max.y&&(he|=8),he}function ft(D,K){var he=K.x-D.x,Ee=K.y-D.y;return he*he+Ee*Ee}function ye(D,K,he,Ee){var Si,We=K.x,wt=K.y,Zt=he.x-We,wn=he.y-wt,Rn=Zt*Zt+wn*wn;return Rn>0&&((Si=((D.x-We)*Zt+(D.y-wt)*wn)/Rn)>1?(We=he.x,wt=he.y):Si>0&&(We+=Zt*Si,wt+=wn*Si)),Zt=D.x-We,wn=D.y-wt,Ee?Zt*Zt+wn*wn:new vt(We,wt)}function Xe(D){return!S(D[0])||"object"!=typeof D[0][0]&&void 0!==D[0][0]}function tn(D){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Xe(D)}function hi(D,K){var he,Ee,We,wt,Zt,wn,Rn,Si;if(!D||0===D.length)throw new Error("latlngs not passed");Xe(D)||(console.warn("latlngs are not flat! Only the first ring will be used"),D=D[0]);var tr=[];for(var Wr in D)tr.push(K.project(dn(D[Wr])));var po=tr.length;for(he=0,Ee=0;he<po-1;he++)Ee+=tr[he].distanceTo(tr[he+1])/2;if(0===Ee)Si=tr[0];else for(he=0,wt=0;he<po-1;he++)if(Zt=tr[he],wn=tr[he+1],(wt+=We=Zt.distanceTo(wn))>Ee){Rn=(wt-Ee)/We,Si=[wn.x-Rn*(wn.x-Zt.x),wn.y-Rn*(wn.y-Zt.y)];break}return K.unproject(Xt(Si))}var zr={__proto__:null,simplify:ze,pointToSegmentDistance:ke,closestPointOnSegment:oe,clipSegment:ci,_getEdgeIntersection:Ei,_getBitCode:xr,_sqClosestPointOnSegment:ye,isFlat:Xe,_flat:tn,polylineCenter:hi};function io(D,K,he){var Ee,wt,Zt,wn,Rn,Si,tr,Wr,po,We=[1,4,2,8];for(wt=0,tr=D.length;wt<tr;wt++)D[wt]._code=xr(D[wt],K);for(wn=0;wn<4;wn++){for(Wr=We[wn],Ee=[],wt=0,Zt=(tr=D.length)-1;wt<tr;Zt=wt++)Rn=D[wt],Si=D[Zt],Rn._code&Wr?Si._code&Wr||((po=Ei(Si,Rn,Wr,K,he))._code=xr(po,K),Ee.push(po)):(Si._code&Wr&&((po=Ei(Si,Rn,Wr,K,he))._code=xr(po,K),Ee.push(po)),Ee.push(Rn));D=Ee}return D}function $l(D,K){var he,Ee,We,wt,Zt,wn,Rn,Si,tr;if(!D||0===D.length)throw new Error("latlngs not passed");Xe(D)||(console.warn("latlngs are not flat! Only the first ring will be used"),D=D[0]);var Wr=[];for(var po in D)Wr.push(K.project(dn(D[po])));var Aa=Wr.length;for(wn=Rn=Si=0,he=0,Ee=Aa-1;he<Aa;Ee=he++)We=Wr[he],wt=Wr[Ee],Zt=We.y*wt.x-wt.y*We.x,Rn+=(We.x+wt.x)*Zt,Si+=(We.y+wt.y)*Zt,wn+=3*Zt;return tr=0===wn?Wr[0]:[Rn/wn,Si/wn],K.unproject(Xt(tr))}var pa={__proto__:null,clipPolygon:io,polygonCenter:$l},nl={project:function(D){return new vt(D.lng,D.lat)},unproject:function(D){return new xn(D.y,D.x)},bounds:new fn([-180,-90],[180,90])},Bl={R:6378137,R_MINOR:6356752.314245179,bounds:new fn([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(D){var K=Math.PI/180,he=this.R,Ee=D.lat*K,We=this.R_MINOR/he,wt=Math.sqrt(1-We*We),Zt=wt*Math.sin(Ee),wn=Math.tan(Math.PI/4-Ee/2)/Math.pow((1-Zt)/(1+Zt),wt/2);return Ee=-he*Math.log(Math.max(wn,1e-10)),new vt(D.lng*K*he,Ee)},unproject:function(D){for(var Si,K=180/Math.PI,he=this.R,Ee=this.R_MINOR/he,We=Math.sqrt(1-Ee*Ee),wt=Math.exp(-D.y/he),Zt=Math.PI/2-2*Math.atan(wt),wn=0,Rn=.1;wn<15&&Math.abs(Rn)>1e-7;wn++)Si=We*Math.sin(Zt),Si=Math.pow((1-Si)/(1+Si),We/2),Zt+=Rn=Math.PI/2-2*Math.atan(wt*Si)-Zt;return new xn(Zt*K,D.x*K/he)}},bi={__proto__:null,LonLat:nl,Mercator:Bl,SphericalMercator:yn},qo=i({},si,{code:"EPSG:3395",projection:Bl,transformation:function(){var D=.5/(Math.PI*Bl.R);return oi(D,.5,-D,.5)}()}),La=i({},si,{code:"EPSG:4326",projection:nl,transformation:oi(1/180,1,-1/180,.5)}),Gs=i({},Sn,{projection:nl,transformation:oi(1,0,-1,0),scale:function(D){return Math.pow(2,D)},zoom:function(D){return Math.log(D)/Math.LN2},distance:function(D,K){var he=K.lng-D.lng,Ee=K.lat-D.lat;return Math.sqrt(he*he+Ee*Ee)},infinite:!0});Sn.Earth=si,Sn.EPSG3395=qo,Sn.EPSG3857=Yn,Sn.EPSG900913=Xn,Sn.EPSG4326=La,Sn.Simple=Gs;var Na=ot.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(D){return D.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(D){return D&&D.removeLayer(this),this},getPane:function(D){return this._map.getPane(D?this.options[D]||D:this.options.pane)},addInteractiveTarget:function(D){return this._map._targets[o(D)]=this,this},removeInteractiveTarget:function(D){return delete this._map._targets[o(D)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(D){var K=D.target;if(K.hasLayer(this)){if(this._map=K,this._zoomAnimated=K._zoomAnimated,this.getEvents){var he=this.getEvents();K.on(he,this),this.once("remove",function(){K.off(he,this)},this)}this.onAdd(K),this.fire("add"),K.fire("layeradd",{layer:this})}}});Ri.include({addLayer:function(D){if(!D._layerAdd)throw new Error("The provided object is not a Layer.");var K=o(D);return this._layers[K]||(this._layers[K]=D,D._mapToAdd=this,D.beforeAdd&&D.beforeAdd(this),this.whenReady(D._layerAdd,D)),this},removeLayer:function(D){var K=o(D);return this._layers[K]?(this._loaded&&D.onRemove(this),delete this._layers[K],this._loaded&&(this.fire("layerremove",{layer:D}),D.fire("remove")),D._map=D._mapToAdd=null,this):this},hasLayer:function(D){return o(D)in this._layers},eachLayer:function(D,K){for(var he in this._layers)D.call(K,this._layers[he]);return this},_addLayers:function(D){for(var K=0,he=(D=D?S(D)?D:[D]:[]).length;K<he;K++)this.addLayer(D[K])},_addZoomLimit:function(D){(!isNaN(D.options.maxZoom)||!isNaN(D.options.minZoom))&&(this._zoomBoundLayers[o(D)]=D,this._updateZoomLevels())},_removeZoomLimit:function(D){var K=o(D);this._zoomBoundLayers[K]&&(delete this._zoomBoundLayers[K],this._updateZoomLevels())},_updateZoomLevels:function(){var D=1/0,K=-1/0,he=this._getZoomSpan();for(var Ee in this._zoomBoundLayers){var We=this._zoomBoundLayers[Ee].options;D=void 0===We.minZoom?D:Math.min(D,We.minZoom),K=void 0===We.maxZoom?K:Math.max(K,We.maxZoom)}this._layersMaxZoom=K===-1/0?void 0:K,this._layersMinZoom=D===1/0?void 0:D,he!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var ja=Na.extend({initialize:function(D,K){var he,Ee;if(w(this,K),this._layers={},D)for(he=0,Ee=D.length;he<Ee;he++)this.addLayer(D[he])},addLayer:function(D){var K=this.getLayerId(D);return this._layers[K]=D,this._map&&this._map.addLayer(D),this},removeLayer:function(D){var K=D in this._layers?D:this.getLayerId(D);return this._map&&this._layers[K]&&this._map.removeLayer(this._layers[K]),delete this._layers[K],this},hasLayer:function(D){return("number"==typeof D?D:this.getLayerId(D))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(D){var he,Ee,K=Array.prototype.slice.call(arguments,1);for(he in this._layers)(Ee=this._layers[he])[D]&&Ee[D].apply(Ee,K);return this},onAdd:function(D){this.eachLayer(D.addLayer,D)},onRemove:function(D){this.eachLayer(D.removeLayer,D)},eachLayer:function(D,K){for(var he in this._layers)D.call(K,this._layers[he]);return this},getLayer:function(D){return this._layers[D]},getLayers:function(){var D=[];return this.eachLayer(D.push,D),D},setZIndex:function(D){return this.invoke("setZIndex",D)},getLayerId:function(D){return o(D)}}),Fs=function(D,K){return new ja(D,K)},Ro=ja.extend({addLayer:function(D){return this.hasLayer(D)?this:(D.addEventParent(this),ja.prototype.addLayer.call(this,D),this.fire("layeradd",{layer:D}))},removeLayer:function(D){return this.hasLayer(D)?(D in this._layers&&(D=this._layers[D]),D.removeEventParent(this),ja.prototype.removeLayer.call(this,D),this.fire("layerremove",{layer:D})):this},setStyle:function(D){return this.invoke("setStyle",D)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var D=new hn;for(var K in this._layers){var he=this._layers[K];D.extend(he.getBounds?he.getBounds():he.getLatLng())}return D}}),ml=function(D,K){return new Ro(D,K)},Uo=De.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(D){w(this,D)},createIcon:function(D){return this._createIcon("icon",D)},createShadow:function(D){return this._createIcon("shadow",D)},_createIcon:function(D,K){var he=this._getIconUrl(D);if(!he){if("icon"===D)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var Ee=this._createImg(he,K&&"IMG"===K.tagName?K:null);return this._setIconStyles(Ee,D),(this.options.crossOrigin||""===this.options.crossOrigin)&&(Ee.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),Ee},_setIconStyles:function(D,K){var he=this.options,Ee=he[K+"Size"];"number"==typeof Ee&&(Ee=[Ee,Ee]);var We=Xt(Ee),wt=Xt("shadow"===K&&he.shadowAnchor||he.iconAnchor||We&&We.divideBy(2,!0));D.className="leaflet-marker-"+K+" "+(he.className||""),wt&&(D.style.marginLeft=-wt.x+"px",D.style.marginTop=-wt.y+"px"),We&&(D.style.width=We.x+"px",D.style.height=We.y+"px")},_createImg:function(D,K){return(K=K||document.createElement("img")).src=D,K},_getIconUrl:function(D){return Ot.retina&&this.options[D+"RetinaUrl"]||this.options[D+"Url"]}});function c1(D){return new Uo(D)}var Ea=Uo.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(D){return"string"!=typeof Ea.imagePath&&(Ea.imagePath=this._detectIconPath()),(this.options.imagePath||Ea.imagePath)+Uo.prototype._getIconUrl.call(this,D)},_stripUrl:function(D){var K=function(he,Ee,We){var wt=Ee.exec(he);return wt&&wt[We]};return(D=K(D,/^url\((['"])?(.+)\1\)$/,2))&&K(D,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var D=li("div","leaflet-default-icon-path",document.body),K=cs(D,"background-image")||cs(D,"backgroundImage");if(document.body.removeChild(D),K=this._stripUrl(K))return K;var he=document.querySelector('link[href$="leaflet.css"]');return he?he.href.substring(0,he.href.length-11-1):""}}),Ls=Oe.extend({initialize:function(D){this._marker=D},addHooks:function(){var D=this._marker._icon;this._draggable||(this._draggable=new Cn(D,D,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),ji(D,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&So(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(D){var K=this._marker,he=K._map,Ee=this._marker.options.autoPanSpeed,We=this._marker.options.autoPanPadding,wt=yo(K._icon),Zt=he.getPixelBounds(),wn=he.getPixelOrigin(),Rn=_n(Zt.min._subtract(wn).add(We),Zt.max._subtract(wn).subtract(We));if(!Rn.contains(wt)){var Si=Xt((Math.max(Rn.max.x,wt.x)-Rn.max.x)/(Zt.max.x-Rn.max.x)-(Math.min(Rn.min.x,wt.x)-Rn.min.x)/(Zt.min.x-Rn.min.x),(Math.max(Rn.max.y,wt.y)-Rn.max.y)/(Zt.max.y-Rn.max.y)-(Math.min(Rn.min.y,wt.y)-Rn.min.y)/(Zt.min.y-Rn.min.y)).multiplyBy(Ee);he.panBy(Si,{animate:!1}),this._draggable._newPos._add(Si),this._draggable._startPos._add(Si),yr(K._icon,this._draggable._newPos),this._onDrag(D),this._panRequest=pe(this._adjustPan.bind(this,D))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(D){this._marker.options.autoPan&&(Ae(this._panRequest),this._panRequest=pe(this._adjustPan.bind(this,D)))},_onDrag:function(D){var K=this._marker,he=K._shadow,Ee=yo(K._icon),We=K._map.layerPointToLatLng(Ee);he&&yr(he,Ee),K._latlng=We,D.latlng=We,D.oldLatLng=this._oldLatLng,K.fire("move",D).fire("drag",D)},_onDragEnd:function(D){Ae(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",D)}}),us=Na.extend({options:{icon:new Ea,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(D,K){w(this,K),this._latlng=dn(D)},onAdd:function(D){this._zoomAnimated=this._zoomAnimated&&D.options.markerZoomAnimation,this._zoomAnimated&&D.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(D){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&D.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(D){var K=this._latlng;return this._latlng=dn(D),this.update(),this.fire("move",{oldLatLng:K,latlng:this._latlng})},setZIndexOffset:function(D){return this.options.zIndexOffset=D,this.update()},getIcon:function(){return this.options.icon},setIcon:function(D){return this.options.icon=D,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var D=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(D)}return this},_initIcon:function(){var D=this.options,K="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),he=D.icon.createIcon(this._icon),Ee=!1;he!==this._icon&&(this._icon&&this._removeIcon(),Ee=!0,D.title&&(he.title=D.title),"IMG"===he.tagName&&(he.alt=D.alt||"")),ji(he,K),D.keyboard&&(he.tabIndex="0",he.setAttribute("role","button")),this._icon=he,D.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&or(he,"focus",this._panOnFocus,this);var We=D.icon.createShadow(this._shadow),wt=!1;We!==this._shadow&&(this._removeShadow(),wt=!0),We&&(ji(We,K),We.alt=""),this._shadow=We,D.opacity<1&&this._updateOpacity(),Ee&&this.getPane().appendChild(this._icon),this._initInteraction(),We&&wt&&this.getPane(D.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ne(this._icon,"focus",this._panOnFocus,this),Qr(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Qr(this._shadow),this._shadow=null},_setPos:function(D){this._icon&&yr(this._icon,D),this._shadow&&yr(this._shadow,D),this._zIndex=D.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(D){this._icon&&(this._icon.style.zIndex=this._zIndex+D)},_animateZoom:function(D){var K=this._map._latLngToNewLayerPoint(this._latlng,D.zoom,D.center).round();this._setPos(K)},_initInteraction:function(){if(this.options.interactive&&(ji(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ls)){var D=this.options.draggable;this.dragging&&(D=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ls(this),D&&this.dragging.enable()}},setOpacity:function(D){return this.options.opacity=D,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var D=this.options.opacity;this._icon&&ho(this._icon,D),this._shadow&&ho(this._shadow,D)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var D=this._map;if(D){var K=this.options.icon.options,he=K.iconSize?Xt(K.iconSize):Xt(0,0),Ee=K.iconAnchor?Xt(K.iconAnchor):Xt(0,0);D.panInside(this._latlng,{paddingTopLeft:Ee,paddingBottomRight:he.subtract(Ee)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Ll(D,K){return new us(D,K)}var il=Na.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(D){this._renderer=D.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(D){return w(this,D),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&D&&Object.prototype.hasOwnProperty.call(D,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),vl=il.extend({options:{fill:!0,radius:10},initialize:function(D,K){w(this,K),this._latlng=dn(D),this._radius=this.options.radius},setLatLng:function(D){var K=this._latlng;return this._latlng=dn(D),this.redraw(),this.fire("move",{oldLatLng:K,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(D){return this.options.radius=this._radius=D,this.redraw()},getRadius:function(){return this._radius},setStyle:function(D){var K=D&&D.radius||this._radius;return il.prototype.setStyle.call(this,D),this.setRadius(K),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var D=this._radius,K=this._radiusY||D,he=this._clickTolerance(),Ee=[D+he,K+he];this._pxBounds=new fn(this._point.subtract(Ee),this._point.add(Ee))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(D){return D.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Da(D,K){return new vl(D,K)}var d1=vl.extend({initialize:function(D,K,he){if("number"==typeof K&&(K=i({},he,{radius:K})),w(this,K),this._latlng=dn(D),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(D){return this._mRadius=D,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var D=[this._radius,this._radiusY||this._radius];return new hn(this._map.layerPointToLatLng(this._point.subtract(D)),this._map.layerPointToLatLng(this._point.add(D)))},setStyle:il.prototype.setStyle,_project:function(){var D=this._latlng.lng,K=this._latlng.lat,he=this._map,Ee=he.options.crs;if(Ee.distance===si.distance){var We=Math.PI/180,wt=this._mRadius/si.R/We,Zt=he.project([K+wt,D]),wn=he.project([K-wt,D]),Rn=Zt.add(wn).divideBy(2),Si=he.unproject(Rn).lat,tr=Math.acos((Math.cos(wt*We)-Math.sin(K*We)*Math.sin(Si*We))/(Math.cos(K*We)*Math.cos(Si*We)))/We;(isNaN(tr)||0===tr)&&(tr=wt/Math.cos(Math.PI/180*K)),this._point=Rn.subtract(he.getPixelOrigin()),this._radius=isNaN(tr)?0:Rn.x-he.project([Si,D-tr]).x,this._radiusY=Rn.y-Zt.y}else{var Wr=Ee.unproject(Ee.project(this._latlng).subtract([this._mRadius,0]));this._point=he.latLngToLayerPoint(this._latlng),this._radius=this._point.x-he.latLngToLayerPoint(Wr).x}this._updateBounds()}});function x1(D,K,he){return new d1(D,K,he)}var Rs=il.extend({options:{smoothFactor:1,noClip:!1},initialize:function(D,K){w(this,K),this._setLatLngs(D)},getLatLngs:function(){return this._latlngs},setLatLngs:function(D){return this._setLatLngs(D),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(D){for(var We,wt,K=1/0,he=null,Ee=ye,Zt=0,wn=this._parts.length;Zt<wn;Zt++)for(var Rn=this._parts[Zt],Si=1,tr=Rn.length;Si<tr;Si++){var Wr=Ee(D,We=Rn[Si-1],wt=Rn[Si],!0);Wr<K&&(K=Wr,he=Ee(D,We,wt))}return he&&(he.distance=Math.sqrt(K)),he},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return hi(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(D,K){return K=K||this._defaultShape(),D=dn(D),K.push(D),this._bounds.extend(D),this.redraw()},_setLatLngs:function(D){this._bounds=new hn,this._latlngs=this._convertLatLngs(D)},_defaultShape:function(){return Xe(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(D){for(var K=[],he=Xe(D),Ee=0,We=D.length;Ee<We;Ee++)he?(K[Ee]=dn(D[Ee]),this._bounds.extend(K[Ee])):K[Ee]=this._convertLatLngs(D[Ee]);return K},_project:function(){var D=new fn;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,D),this._bounds.isValid()&&D.isValid()&&(this._rawPxBounds=D,this._updateBounds())},_updateBounds:function(){var D=this._clickTolerance(),K=new vt(D,D);!this._rawPxBounds||(this._pxBounds=new fn([this._rawPxBounds.min.subtract(K),this._rawPxBounds.max.add(K)]))},_projectLatlngs:function(D,K,he){var wt,Zt,Ee=D[0]instanceof xn,We=D.length;if(Ee){for(Zt=[],wt=0;wt<We;wt++)Zt[wt]=this._map.latLngToLayerPoint(D[wt]),he.extend(Zt[wt]);K.push(Zt)}else for(wt=0;wt<We;wt++)this._projectLatlngs(D[wt],K,he)},_clipPoints:function(){var D=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(D)){if(this.options.noClip)return void(this._parts=this._rings);var he,Ee,We,wt,Zt,wn,Rn,K=this._parts;for(he=0,We=0,wt=this._rings.length;he<wt;he++)for(Ee=0,Zt=(Rn=this._rings[he]).length;Ee<Zt-1;Ee++)(wn=ci(Rn[Ee],Rn[Ee+1],D,Ee,!0))&&(K[We]=K[We]||[],K[We].push(wn[0]),(wn[1]!==Rn[Ee+1]||Ee===Zt-2)&&(K[We].push(wn[1]),We++))}},_simplifyPoints:function(){for(var D=this._parts,K=this.options.smoothFactor,he=0,Ee=D.length;he<Ee;he++)D[he]=ze(D[he],K)},_update:function(){!this._map||(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(D,K){var he,Ee,We,wt,Zt,wn,Rn=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(D))return!1;for(he=0,wt=this._parts.length;he<wt;he++)for(Ee=0,We=(Zt=(wn=this._parts[he]).length)-1;Ee<Zt;We=Ee++)if((K||0!==Ee)&&ke(D,wn[We],wn[Ee])<=Rn)return!0;return!1}});function u1(D,K){return new Rs(D,K)}Rs._flat=tn;var oa=Rs.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return $l(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(D){var K=Rs.prototype._convertLatLngs.call(this,D),he=K.length;return he>=2&&K[0]instanceof xn&&K[0].equals(K[he-1])&&K.pop(),K},_setLatLngs:function(D){Rs.prototype._setLatLngs.call(this,D),Xe(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Xe(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var D=this._renderer._bounds,K=this.options.weight,he=new vt(K,K);if(D=new fn(D.min.subtract(he),D.max.add(he)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(D)){if(this.options.noClip)return void(this._parts=this._rings);for(var wt,Ee=0,We=this._rings.length;Ee<We;Ee++)(wt=io(this._rings[Ee],D,!0)).length&&this._parts.push(wt)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(D){var he,Ee,We,wt,Zt,wn,Rn,Si,K=!1;if(!this._pxBounds||!this._pxBounds.contains(D))return!1;for(wt=0,Rn=this._parts.length;wt<Rn;wt++)for(Zt=0,wn=(Si=(he=this._parts[wt]).length)-1;Zt<Si;wn=Zt++)Ee=he[Zt],We=he[wn],Ee.y>D.y!=We.y>D.y&&D.x<(We.x-Ee.x)*(D.y-Ee.y)/(We.y-Ee.y)+Ee.x&&(K=!K);return K||Rs.prototype._containsPoint.call(this,D,!0)}});function jl(D,K){return new oa(D,K)}var Ia=Ro.extend({initialize:function(D,K){w(this,K),this._layers={},D&&this.addData(D)},addData:function(D){var he,Ee,We,K=S(D)?D:D.features;if(K){for(he=0,Ee=K.length;he<Ee;he++)((We=K[he]).geometries||We.geometry||We.features||We.coordinates)&&this.addData(We);return this}var wt=this.options;if(wt.filter&&!wt.filter(D))return this;var Zt=Fl(D,wt);return Zt?(Zt.feature=Oi(D),Zt.defaultOptions=Zt.options,this.resetStyle(Zt),wt.onEachFeature&&wt.onEachFeature(D,Zt),this.addLayer(Zt)):this},resetStyle:function(D){return void 0===D?this.eachLayer(this.resetStyle,this):(D.options=i({},D.defaultOptions),this._setLayerStyle(D,this.options.style),this)},setStyle:function(D){return this.eachLayer(function(K){this._setLayerStyle(K,D)},this)},_setLayerStyle:function(D,K){D.setStyle&&("function"==typeof K&&(K=K(D.feature)),D.setStyle(K))}});function Fl(D,K){var wn,Rn,Si,tr,he="Feature"===D.type?D.geometry:D,Ee=he?he.coordinates:null,We=[],wt=K&&K.pointToLayer,Zt=K&&K.coordsToLatLng||jt;if(!Ee&&!he)return null;switch(he.type){case"Point":return Kl(wt,D,wn=Zt(Ee),K);case"MultiPoint":for(Si=0,tr=Ee.length;Si<tr;Si++)wn=Zt(Ee[Si]),We.push(Kl(wt,D,wn,K));return new Ro(We);case"LineString":case"MultiLineString":return Rn=Ie(Ee,"LineString"===he.type?0:1,Zt),new Rs(Rn,K);case"Polygon":case"MultiPolygon":return Rn=Ie(Ee,"Polygon"===he.type?1:2,Zt),new oa(Rn,K);case"GeometryCollection":for(Si=0,tr=he.geometries.length;Si<tr;Si++){var Wr=Fl({geometry:he.geometries[Si],type:"Feature",properties:D.properties},K);Wr&&We.push(Wr)}return new Ro(We);case"FeatureCollection":for(Si=0,tr=he.features.length;Si<tr;Si++){var po=Fl(he.features[Si],K);po&&We.push(po)}return new Ro(We);default:throw new Error("Invalid GeoJSON object.")}}function Kl(D,K,he,Ee){return D?D(K,he):new us(he,Ee&&Ee.markersInheritOptions&&Ee)}function jt(D){return new xn(D[1],D[0],D[2])}function Ie(D,K,he){for(var Zt,Ee=[],We=0,wt=D.length;We<wt;We++)Zt=K?Ie(D[We],K-1,he):(he||jt)(D[We]),Ee.push(Zt);return Ee}function Ze(D,K){return void 0!==(D=dn(D)).alt?[x(D.lng,K),x(D.lat,K),x(D.alt,K)]:[x(D.lng,K),x(D.lat,K)]}function Vt(D,K,he,Ee){for(var We=[],wt=0,Zt=D.length;wt<Zt;wt++)We.push(K?Vt(D[wt],Xe(D[wt])?0:K-1,he,Ee):Ze(D[wt],Ee));return!K&&he&&We.push(We[0].slice()),We}function Zn(D,K){return D.feature?i({},D.feature,{geometry:K}):Oi(K)}function Oi(D){return"Feature"===D.type||"FeatureCollection"===D.type?D:{type:"Feature",properties:{},geometry:D}}var cr={toGeoJSON:function(D){return Zn(this,{type:"Point",coordinates:Ze(this.getLatLng(),D)})}};function es(D,K){return new Ia(D,K)}us.include(cr),d1.include(cr),vl.include(cr),Rs.include({toGeoJSON:function(D){var K=!Xe(this._latlngs);return Zn(this,{type:(K?"Multi":"")+"LineString",coordinates:Vt(this._latlngs,K?1:0,!1,D)})}}),oa.include({toGeoJSON:function(D){var K=!Xe(this._latlngs),he=K&&!Xe(this._latlngs[0]),Ee=Vt(this._latlngs,he?2:K?1:0,!0,D);return K||(Ee=[Ee]),Zn(this,{type:(he?"Multi":"")+"Polygon",coordinates:Ee})}}),ja.include({toMultiPoint:function(D){var K=[];return this.eachLayer(function(he){K.push(he.toGeoJSON(D).geometry.coordinates)}),Zn(this,{type:"MultiPoint",coordinates:K})},toGeoJSON:function(D){var K=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===K)return this.toMultiPoint(D);var he="GeometryCollection"===K,Ee=[];return this.eachLayer(function(We){if(We.toGeoJSON){var wt=We.toGeoJSON(D);if(he)Ee.push(wt.geometry);else{var Zt=Oi(wt);"FeatureCollection"===Zt.type?Ee.push.apply(Ee,Zt.features):Ee.push(Zt)}}}),he?Zn(this,{geometries:Ee,type:"GeometryCollection"}):{type:"FeatureCollection",features:Ee}}});var ya=es,un=Na.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(D,K,he){this._url=D,this._bounds=vn(K),w(this,he)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ji(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Qr(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(D){return this.options.opacity=D,this._image&&this._updateOpacity(),this},setStyle:function(D){return D.opacity&&this.setOpacity(D.opacity),this},bringToFront:function(){return this._map&&ys(this._image),this},bringToBack:function(){return this._map&&_a(this._image),this},setUrl:function(D){return this._url=D,this._image&&(this._image.src=D),this},setBounds:function(D){return this._bounds=vn(D),this._map&&this._reset(),this},getEvents:function(){var D={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(D.zoomanim=this._animateZoom),D},setZIndex:function(D){return this.options.zIndex=D,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var D="IMG"===this._url.tagName,K=this._image=D?this._url:li("img");ji(K,"leaflet-image-layer"),this._zoomAnimated&&ji(K,"leaflet-zoom-animated"),this.options.className&&ji(K,this.options.className),K.onselectstart=y,K.onmousemove=y,K.onload=m(this.fire,this,"load"),K.onerror=m(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(K.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),D?this._url=K.src:(K.src=this._url,K.alt=this.options.alt)},_animateZoom:function(D){var K=this._map.getZoomScale(D.zoom),he=this._map._latLngBoundsToNewLayerBounds(this._bounds,D.zoom,D.center).min;bo(this._image,he,K)},_reset:function(){var D=this._image,K=new fn(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),he=K.getSize();yr(D,K.min),D.style.width=he.x+"px",D.style.height=he.y+"px"},_updateOpacity:function(){ho(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var D=this.options.errorOverlayUrl;D&&this._url!==D&&(this._url=D,this._image.src=D)},getCenter:function(){return this._bounds.getCenter()}}),Wn=function(D,K,he){return new un(D,K,he)},kn=un.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var D="VIDEO"===this._url.tagName,K=this._image=D?this._url:li("video");if(ji(K,"leaflet-image-layer"),this._zoomAnimated&&ji(K,"leaflet-zoom-animated"),this.options.className&&ji(K,this.options.className),K.onselectstart=y,K.onmousemove=y,K.onloadeddata=m(this.fire,this,"load"),D){for(var he=K.getElementsByTagName("source"),Ee=[],We=0;We<he.length;We++)Ee.push(he[We].src);this._url=he.length>0?Ee:[K.src]}else{S(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(K.style,"objectFit")&&(K.style.objectFit="fill"),K.autoplay=!!this.options.autoplay,K.loop=!!this.options.loop,K.muted=!!this.options.muted,K.playsInline=!!this.options.playsInline;for(var wt=0;wt<this._url.length;wt++){var Zt=li("source");Zt.src=this._url[wt],K.appendChild(Zt)}}}});function Wi(D,K,he){return new kn(D,K,he)}var Br=un.extend({_initImage:function(){var D=this._image=this._url;ji(D,"leaflet-image-layer"),this._zoomAnimated&&ji(D,"leaflet-zoom-animated"),this.options.className&&ji(D,this.options.className),D.onselectstart=y,D.onmousemove=y}});function fo(D,K,he){return new Br(D,K,he)}var eo=Na.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(D,K){D&&(D instanceof xn||S(D))?(this._latlng=dn(D),w(this,K)):(w(this,D),this._source=K),this.options.content&&(this._content=this.options.content)},openOn:function(D){return(D=arguments.length?D:this._source._map).hasLayer(this)||D.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(D){return this._map?this.close():(arguments.length?this._source=D:D=this._source,this._prepareOpen(),this.openOn(D._map)),this},onAdd:function(D){this._zoomAnimated=D._zoomAnimated,this._container||this._initLayout(),D._fadeAnimated&&ho(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),D._fadeAnimated&&ho(this._container,1),this.bringToFront(),this.options.interactive&&(ji(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(D){D._fadeAnimated?(ho(this._container,0),this._removeTimeout=setTimeout(m(Qr,void 0,this._container),200)):Qr(this._container),this.options.interactive&&(So(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(D){return this._latlng=dn(D),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(D){return this._content=D,this.update(),this},getElement:function(){return this._container},update:function(){!this._map||(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var D={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(D.zoomanim=this._animateZoom),D},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&ys(this._container),this},bringToBack:function(){return this._map&&_a(this._container),this},_prepareOpen:function(D){var K=this._source;if(!K._map)return!1;if(K instanceof Ro){K=null;var he=this._source._layers;for(var Ee in he)if(he[Ee]._map){K=he[Ee];break}if(!K)return!1;this._source=K}if(!D)if(K.getCenter)D=K.getCenter();else if(K.getLatLng)D=K.getLatLng();else{if(!K.getBounds)throw new Error("Unable to get source layer LatLng.");D=K.getBounds().getCenter()}return this.setLatLng(D),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var D=this._contentNode,K="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof K)D.innerHTML=K;else{for(;D.hasChildNodes();)D.removeChild(D.firstChild);D.appendChild(K)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var D=this._map.latLngToLayerPoint(this._latlng),K=Xt(this.options.offset),he=this._getAnchor();this._zoomAnimated?yr(this._container,D.add(he)):K=K.add(D).add(he);var Ee=this._containerBottom=-K.y,We=this._containerLeft=-Math.round(this._containerWidth/2)+K.x;this._container.style.bottom=Ee+"px",this._container.style.left=We+"px"}},_getAnchor:function(){return[0,0]}});Ri.include({_initOverlay:function(D,K,he,Ee){var We=K;return We instanceof D||(We=new D(Ee).setContent(K)),he&&We.setLatLng(he),We}}),Na.include({_initOverlay:function(D,K,he,Ee){var We=he;return We instanceof D?(w(We,Ee),We._source=this):(We=K&&!Ee?K:new D(Ee,this)).setContent(he),We}});var Ao=eo.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(D){return!(D=arguments.length?D:this._source._map).hasLayer(this)&&D._popup&&D._popup.options.autoClose&&D.removeLayer(D._popup),D._popup=this,eo.prototype.openOn.call(this,D)},onAdd:function(D){eo.prototype.onAdd.call(this,D),D.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof il||this._source.on("preclick",Ut))},onRemove:function(D){eo.prototype.onRemove.call(this,D),D.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof il||this._source.off("preclick",Ut))},getEvents:function(){var D=eo.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(D.preclick=this.close),this.options.keepInView&&(D.moveend=this._adjustPan),D},_initLayout:function(){var D="leaflet-popup",K=this._container=li("div",D+" "+(this.options.className||"")+" leaflet-zoom-animated"),he=this._wrapper=li("div",D+"-content-wrapper",K);if(this._contentNode=li("div",D+"-content",he),Pt(K),Wt(this._contentNode),or(K,"contextmenu",Ut),this._tipContainer=li("div",D+"-tip-container",K),this._tip=li("div",D+"-tip",this._tipContainer),this.options.closeButton){var Ee=this._closeButton=li("a",D+"-close-button",K);Ee.setAttribute("role","button"),Ee.setAttribute("aria-label","Close popup"),Ee.href="#close",Ee.innerHTML='<span aria-hidden="true">&#215;</span>',or(Ee,"click",function(We){Et(We),this.close()},this)}},_updateLayout:function(){var D=this._contentNode,K=D.style;K.width="",K.whiteSpace="nowrap";var he=D.offsetWidth;he=Math.min(he,this.options.maxWidth),he=Math.max(he,this.options.minWidth),K.width=he+1+"px",K.whiteSpace="",K.height="";var Ee=D.offsetHeight,We=this.options.maxHeight,wt="leaflet-popup-scrolled";We&&Ee>We?(K.height=We+"px",ji(D,wt)):So(D,wt),this._containerWidth=this._container.offsetWidth},_animateZoom:function(D){var K=this._map._latLngToNewLayerPoint(this._latlng,D.zoom,D.center),he=this._getAnchor();yr(this._container,K.add(he))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)return void(this._autopanning=!1);var D=this._map,K=parseInt(cs(this._container,"marginBottom"),10)||0,he=this._container.offsetHeight+K,Ee=this._containerWidth,We=new vt(this._containerLeft,-he-this._containerBottom);We._add(yo(this._container));var wt=D.layerPointToContainerPoint(We),Zt=Xt(this.options.autoPanPadding),wn=Xt(this.options.autoPanPaddingTopLeft||Zt),Rn=Xt(this.options.autoPanPaddingBottomRight||Zt),Si=D.getSize(),tr=0,Wr=0;wt.x+Ee+Rn.x>Si.x&&(tr=wt.x+Ee-Si.x+Rn.x),wt.x-tr-wn.x<0&&(tr=wt.x-wn.x),wt.y+he+Rn.y>Si.y&&(Wr=wt.y+he-Si.y+Rn.y),wt.y-Wr-wn.y<0&&(Wr=wt.y-wn.y),(tr||Wr)&&(this.options.keepInView&&(this._autopanning=!0),D.fire("autopanstart").panBy([tr,Wr]))}},_getAnchor:function(){return Xt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),la=function(D,K){return new Ao(D,K)};Ri.mergeOptions({closePopupOnClick:!0}),Ri.include({openPopup:function(D,K,he){return this._initOverlay(Ao,D,K,he).openOn(this),this},closePopup:function(D){return(D=arguments.length?D:this._popup)&&D.close(),this}}),Na.include({bindPopup:function(D,K){return this._popup=this._initOverlay(Ao,this._popup,D,K),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(D){return this._popup&&(this instanceof Ro||(this._popup._source=this),this._popup._prepareOpen(D||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(D){return this._popup&&this._popup.setContent(D),this},getPopup:function(){return this._popup},_openPopup:function(D){if(this._popup&&this._map){Dn(D);var K=D.layer||D.target;if(this._popup._source===K&&!(K instanceof il))return void(this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(D.latlng));this._popup._source=K,this.openPopup(D.latlng)}},_movePopup:function(D){this._popup.setLatLng(D.latlng)},_onKeyPress:function(D){13===D.originalEvent.keyCode&&this._openPopup(D)}});var qs=eo.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(D){eo.prototype.onAdd.call(this,D),this.setOpacity(this.options.opacity),D.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(D){eo.prototype.onRemove.call(this,D),D.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var D=eo.prototype.getEvents.call(this);return this.options.permanent||(D.preclick=this.close),D},_initLayout:function(){var K="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=li("div",K),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+o(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(D){var K,he,Ee=this._map,We=this._container,wt=Ee.latLngToContainerPoint(Ee.getCenter()),Zt=Ee.layerPointToContainerPoint(D),wn=this.options.direction,Rn=We.offsetWidth,Si=We.offsetHeight,tr=Xt(this.options.offset),Wr=this._getAnchor();"top"===wn?(K=Rn/2,he=Si):"bottom"===wn?(K=Rn/2,he=0):"center"===wn?(K=Rn/2,he=Si/2):"right"===wn?(K=0,he=Si/2):"left"===wn?(K=Rn,he=Si/2):Zt.x<wt.x?(wn="right",K=0,he=Si/2):(wn="left",K=Rn+2*(tr.x+Wr.x),he=Si/2),D=D.subtract(Xt(K,he,!0)).add(tr).add(Wr),So(We,"leaflet-tooltip-right"),So(We,"leaflet-tooltip-left"),So(We,"leaflet-tooltip-top"),So(We,"leaflet-tooltip-bottom"),ji(We,"leaflet-tooltip-"+wn),yr(We,D)},_updatePosition:function(){var D=this._map.latLngToLayerPoint(this._latlng);this._setPosition(D)},setOpacity:function(D){this.options.opacity=D,this._container&&ho(this._container,D)},_animateZoom:function(D){var K=this._map._latLngToNewLayerPoint(this._latlng,D.zoom,D.center);this._setPosition(K)},_getAnchor:function(){return Xt(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),Fa=function(D,K){return new qs(D,K)};Ri.include({openTooltip:function(D,K,he){return this._initOverlay(qs,D,K,he).openOn(this),this},closeTooltip:function(D){return D.close(),this}}),Na.include({bindTooltip:function(D,K){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(qs,this._tooltip,D,K),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(D){if(D||!this._tooltipHandlersAdded){var K=D?"off":"on",he={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?he.add=this._openTooltip:(he.mouseover=this._openTooltip,he.mouseout=this.closeTooltip,he.click=this._openTooltip,this._map?this._addFocusListeners():he.add=this._addFocusListeners),this._tooltip.options.sticky&&(he.mousemove=this._moveTooltip),this[K](he),this._tooltipHandlersAdded=!D}},openTooltip:function(D){return this._tooltip&&(this instanceof Ro||(this._tooltip._source=this),this._tooltip._prepareOpen(D)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(D){return this._tooltip&&this._tooltip.setContent(D),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(D){var K=D.getElement();K&&(or(K,"focus",function(){this._tooltip._source=D,this.openTooltip()},this),or(K,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(D){var K=D.getElement();K&&K.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(D){!this._tooltip||!this._map||this._map.dragging&&this._map.dragging.moving()||(this._tooltip._source=D.layer||D.target,this.openTooltip(this._tooltip.options.sticky?D.latlng:void 0))},_moveTooltip:function(D){var he,Ee,K=D.latlng;this._tooltip.options.sticky&&D.originalEvent&&(he=this._map.mouseEventToContainerPoint(D.originalEvent),Ee=this._map.containerPointToLayerPoint(he),K=this._map.layerPointToLatLng(Ee)),this._tooltip.setLatLng(K)}});var ts=Uo.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(D){var K=D&&"DIV"===D.tagName?D:document.createElement("div"),he=this.options;if(he.html instanceof Element?(ao(K),K.appendChild(he.html)):K.innerHTML=!1!==he.html?he.html:"",he.bgPos){var Ee=Xt(he.bgPos);K.style.backgroundPosition=-Ee.x+"px "+-Ee.y+"px"}return this._setIconStyles(K,"icon"),K},createShadow:function(){return null}});function rl(D){return new ts(D)}Uo.Default=Ea;var ol=Na.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ot.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(D){w(this,D)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(D){D._addZoomLimit(this)},onRemove:function(D){this._removeAllTiles(),Qr(this._container),D._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(ys(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(_a(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(D){return this.options.opacity=D,this._updateOpacity(),this},setZIndex:function(D){return this.options.zIndex=D,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var D=this._clampZoom(this._map.getZoom());D!==this._tileZoom&&(this._tileZoom=D,this._updateLevels()),this._update()}return this},getEvents:function(){var D={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=h(this._onMoveEnd,this.options.updateInterval,this)),D.move=this._onMove),this._zoomAnimated&&(D.zoomanim=this._animateZoom),D},createTile:function(){return document.createElement("div")},getTileSize:function(){var D=this.options.tileSize;return D instanceof vt?D:new vt(D,D)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(D){for(var wt,K=this.getPane().children,he=-D(-1/0,1/0),Ee=0,We=K.length;Ee<We;Ee++)wt=K[Ee].style.zIndex,K[Ee]!==this._container&&wt&&(he=D(he,+wt));isFinite(he)&&(this.options.zIndex=he+D(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Ot.ielt9){ho(this._container,this.options.opacity);var D=+new Date,K=!1,he=!1;for(var Ee in this._tiles){var We=this._tiles[Ee];if(We.current&&We.loaded){var wt=Math.min(1,(D-We.loaded)/200);ho(We.el,wt),wt<1?K=!0:(We.active?he=!0:this._onOpaqueTile(We),We.active=!0)}}he&&!this._noPrune&&this._pruneTiles(),K&&(Ae(this._fadeFrame),this._fadeFrame=pe(this._updateOpacity,this))}},_onOpaqueTile:y,_initContainer:function(){this._container||(this._container=li("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var D=this._tileZoom,K=this.options.maxZoom;if(void 0!==D){for(var he in this._levels)he=Number(he),this._levels[he].el.children.length||he===D?(this._levels[he].el.style.zIndex=K-Math.abs(D-he),this._onUpdateLevel(he)):(Qr(this._levels[he].el),this._removeTilesAtZoom(he),this._onRemoveLevel(he),delete this._levels[he]);var Ee=this._levels[D],We=this._map;return Ee||((Ee=this._levels[D]={}).el=li("div","leaflet-tile-container leaflet-zoom-animated",this._container),Ee.el.style.zIndex=K,Ee.origin=We.project(We.unproject(We.getPixelOrigin()),D).round(),Ee.zoom=D,this._setZoomTransform(Ee,We.getCenter(),We.getZoom()),y(Ee.el.offsetWidth),this._onCreateLevel(Ee)),this._level=Ee,Ee}},_onUpdateLevel:y,_onRemoveLevel:y,_onCreateLevel:y,_pruneTiles:function(){if(this._map){var D,K,he=this._map.getZoom();if(he>this.options.maxZoom||he<this.options.minZoom)return void this._removeAllTiles();for(D in this._tiles)(K=this._tiles[D]).retain=K.current;for(D in this._tiles)if((K=this._tiles[D]).current&&!K.active){var Ee=K.coords;this._retainParent(Ee.x,Ee.y,Ee.z,Ee.z-5)||this._retainChildren(Ee.x,Ee.y,Ee.z,Ee.z+2)}for(D in this._tiles)this._tiles[D].retain||this._removeTile(D)}},_removeTilesAtZoom:function(D){for(var K in this._tiles)this._tiles[K].coords.z===D&&this._removeTile(K)},_removeAllTiles:function(){for(var D in this._tiles)this._removeTile(D)},_invalidateAll:function(){for(var D in this._levels)Qr(this._levels[D].el),this._onRemoveLevel(Number(D)),delete this._levels[D];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(D,K,he,Ee){var We=Math.floor(D/2),wt=Math.floor(K/2),Zt=he-1,wn=new vt(+We,+wt);wn.z=+Zt;var Rn=this._tileCoordsToKey(wn),Si=this._tiles[Rn];return Si&&Si.active?(Si.retain=!0,!0):(Si&&Si.loaded&&(Si.retain=!0),Zt>Ee&&this._retainParent(We,wt,Zt,Ee))},_retainChildren:function(D,K,he,Ee){for(var We=2*D;We<2*D+2;We++)for(var wt=2*K;wt<2*K+2;wt++){var Zt=new vt(We,wt);Zt.z=he+1;var wn=this._tileCoordsToKey(Zt),Rn=this._tiles[wn];Rn&&Rn.active?Rn.retain=!0:(Rn&&Rn.loaded&&(Rn.retain=!0),he+1<Ee&&this._retainChildren(We,wt,he+1,Ee))}},_resetView:function(D){var K=D&&(D.pinch||D.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),K,K)},_animateZoom:function(D){this._setView(D.center,D.zoom,!0,D.noUpdate)},_clampZoom:function(D){var K=this.options;return void 0!==K.minNativeZoom&&D<K.minNativeZoom?K.minNativeZoom:void 0!==K.maxNativeZoom&&K.maxNativeZoom<D?K.maxNativeZoom:D},_setView:function(D,K,he,Ee){var We=Math.round(K);We=void 0!==this.options.maxZoom&&We>this.options.maxZoom||void 0!==this.options.minZoom&&We<this.options.minZoom?void 0:this._clampZoom(We);var wt=this.options.updateWhenZooming&&We!==this._tileZoom;(!Ee||wt)&&(this._tileZoom=We,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==We&&this._update(D),he||this._pruneTiles(),this._noPrune=!!he),this._setZoomTransforms(D,K)},_setZoomTransforms:function(D,K){for(var he in this._levels)this._setZoomTransform(this._levels[he],D,K)},_setZoomTransform:function(D,K,he){var Ee=this._map.getZoomScale(he,D.zoom),We=D.origin.multiplyBy(Ee).subtract(this._map._getNewPixelOrigin(K,he)).round();Ot.any3d?bo(D.el,We,Ee):yr(D.el,We)},_resetGrid:function(){var D=this._map,K=D.options.crs,he=this._tileSize=this.getTileSize(),Ee=this._tileZoom,We=this._map.getPixelWorldBounds(this._tileZoom);We&&(this._globalTileRange=this._pxBoundsToTileRange(We)),this._wrapX=K.wrapLng&&!this.options.noWrap&&[Math.floor(D.project([0,K.wrapLng[0]],Ee).x/he.x),Math.ceil(D.project([0,K.wrapLng[1]],Ee).x/he.y)],this._wrapY=K.wrapLat&&!this.options.noWrap&&[Math.floor(D.project([K.wrapLat[0],0],Ee).y/he.x),Math.ceil(D.project([K.wrapLat[1],0],Ee).y/he.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(D){var K=this._map,he=K._animatingZoom?Math.max(K._animateToZoom,K.getZoom()):K.getZoom(),Ee=K.getZoomScale(he,this._tileZoom),We=K.project(D,this._tileZoom).floor(),wt=K.getSize().divideBy(2*Ee);return new fn(We.subtract(wt),We.add(wt))},_update:function(D){var K=this._map;if(K){var he=this._clampZoom(K.getZoom());if(void 0===D&&(D=K.getCenter()),void 0!==this._tileZoom){var Ee=this._getTiledPixelBounds(D),We=this._pxBoundsToTileRange(Ee),wt=We.getCenter(),Zt=[],wn=this.options.keepBuffer,Rn=new fn(We.getBottomLeft().subtract([wn,-wn]),We.getTopRight().add([wn,-wn]));if(!(isFinite(We.min.x)&&isFinite(We.min.y)&&isFinite(We.max.x)&&isFinite(We.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var Si in this._tiles){var tr=this._tiles[Si].coords;(tr.z!==this._tileZoom||!Rn.contains(new vt(tr.x,tr.y)))&&(this._tiles[Si].current=!1)}if(Math.abs(he-this._tileZoom)>1)return void this._setView(D,he);for(var Wr=We.min.y;Wr<=We.max.y;Wr++)for(var po=We.min.x;po<=We.max.x;po++){var Aa=new vt(po,Wr);if(Aa.z=this._tileZoom,this._isValidTile(Aa)){var sl=this._tiles[this._tileCoordsToKey(Aa)];sl?sl.current=!0:Zt.push(Aa)}}if(Zt.sort(function(ga,h1){return ga.distanceTo(wt)-h1.distanceTo(wt)}),0!==Zt.length){this._loading||(this._loading=!0,this.fire("loading"));var Xl=document.createDocumentFragment();for(po=0;po<Zt.length;po++)this._addTile(Zt[po],Xl);this._level.el.appendChild(Xl)}}}},_isValidTile:function(D){var K=this._map.options.crs;if(!K.infinite){var he=this._globalTileRange;if(!K.wrapLng&&(D.x<he.min.x||D.x>he.max.x)||!K.wrapLat&&(D.y<he.min.y||D.y>he.max.y))return!1}if(!this.options.bounds)return!0;var Ee=this._tileCoordsToBounds(D);return vn(this.options.bounds).overlaps(Ee)},_keyToBounds:function(D){return this._tileCoordsToBounds(this._keyToTileCoords(D))},_tileCoordsToNwSe:function(D){var K=this._map,he=this.getTileSize(),Ee=D.scaleBy(he),We=Ee.add(he);return[K.unproject(Ee,D.z),K.unproject(We,D.z)]},_tileCoordsToBounds:function(D){var K=this._tileCoordsToNwSe(D),he=new hn(K[0],K[1]);return this.options.noWrap||(he=this._map.wrapLatLngBounds(he)),he},_tileCoordsToKey:function(D){return D.x+":"+D.y+":"+D.z},_keyToTileCoords:function(D){var K=D.split(":"),he=new vt(+K[0],+K[1]);return he.z=+K[2],he},_removeTile:function(D){var K=this._tiles[D];!K||(Qr(K.el),delete this._tiles[D],this.fire("tileunload",{tile:K.el,coords:this._keyToTileCoords(D)}))},_initTile:function(D){ji(D,"leaflet-tile");var K=this.getTileSize();D.style.width=K.x+"px",D.style.height=K.y+"px",D.onselectstart=y,D.onmousemove=y,Ot.ielt9&&this.options.opacity<1&&ho(D,this.options.opacity)},_addTile:function(D,K){var he=this._getTilePos(D),Ee=this._tileCoordsToKey(D),We=this.createTile(this._wrapCoords(D),m(this._tileReady,this,D));this._initTile(We),this.createTile.length<2&&pe(m(this._tileReady,this,D,null,We)),yr(We,he),this._tiles[Ee]={el:We,coords:D,current:!0},K.appendChild(We),this.fire("tileloadstart",{tile:We,coords:D})},_tileReady:function(D,K,he){K&&this.fire("tileerror",{error:K,tile:he,coords:D});var Ee=this._tileCoordsToKey(D);(he=this._tiles[Ee])&&(he.loaded=+new Date,this._map._fadeAnimated?(ho(he.el,0),Ae(this._fadeFrame),this._fadeFrame=pe(this._updateOpacity,this)):(he.active=!0,this._pruneTiles()),K||(ji(he.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:he.el,coords:D})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ot.ielt9||!this._map._fadeAnimated?pe(this._pruneTiles,this):setTimeout(m(this._pruneTiles,this),250)))},_getTilePos:function(D){return D.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(D){var K=new vt(this._wrapX?v(D.x,this._wrapX):D.x,this._wrapY?v(D.y,this._wrapY):D.y);return K.z=D.z,K},_pxBoundsToTileRange:function(D){var K=this.getTileSize();return new fn(D.min.unscaleBy(K).floor(),D.max.unscaleBy(K).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var D in this._tiles)if(!this._tiles[D].loaded)return!1;return!0}});function dc(D){return new ol(D)}var Hr=ol.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(D,K){this._url=D,(K=w(this,K)).detectRetina&&Ot.retina&&K.maxZoom>0?(K.tileSize=Math.floor(K.tileSize/2),K.zoomReverse?(K.zoomOffset--,K.minZoom=Math.min(K.maxZoom,K.minZoom+1)):(K.zoomOffset++,K.maxZoom=Math.max(K.minZoom,K.maxZoom-1)),K.minZoom=Math.max(0,K.minZoom)):K.zoomReverse?K.minZoom=Math.min(K.maxZoom,K.minZoom):K.maxZoom=Math.max(K.minZoom,K.maxZoom),"string"==typeof K.subdomains&&(K.subdomains=K.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(D,K){return this._url===D&&void 0===K&&(K=!0),this._url=D,K||this.redraw(),this},createTile:function(D,K){var he=document.createElement("img");return or(he,"load",m(this._tileOnLoad,this,K,he)),or(he,"error",m(this._tileOnError,this,K,he)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(he.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(he.referrerPolicy=this.options.referrerPolicy),he.alt="",he.src=this.getTileUrl(D),he},getTileUrl:function(D){var K={r:Ot.retina?"@2x":"",s:this._getSubdomain(D),x:D.x,y:D.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var he=this._globalTileRange.max.y-D.y;this.options.tms&&(K.y=he),K["-y"]=he}return N(this._url,i(K,this.options))},_tileOnLoad:function(D,K){Ot.ielt9?setTimeout(m(D,this,null,K),0):D(null,K)},_tileOnError:function(D,K,he){var Ee=this.options.errorTileUrl;Ee&&K.getAttribute("src")!==Ee&&(K.src=Ee),D(he,K)},_onTileRemove:function(D){D.tile.onload=null},_getZoomForUrl:function(){var D=this._tileZoom,K=this.options.maxZoom;return this.options.zoomReverse&&(D=K-D),D+this.options.zoomOffset},_getSubdomain:function(D){var K=Math.abs(D.x+D.y)%this.options.subdomains.length;return this.options.subdomains[K]},_abortLoading:function(){var D,K;for(D in this._tiles)if(this._tiles[D].coords.z!==this._tileZoom&&((K=this._tiles[D].el).onload=y,K.onerror=y,!K.complete)){K.src=O;var he=this._tiles[D].coords;Qr(K),delete this._tiles[D],this.fire("tileabort",{tile:K,coords:he})}},_removeTile:function(D){var K=this._tiles[D];if(K)return K.el.setAttribute("src",O),ol.prototype._removeTile.call(this,D)},_tileReady:function(D,K,he){if(this._map&&(!he||he.getAttribute("src")!==O))return ol.prototype._tileReady.call(this,D,K,he)}});function Ji(D,K){return new Hr(D,K)}var El=Hr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(D,K){this._url=D;var he=i({},this.defaultWmsParams);for(var Ee in K)Ee in this.options||(he[Ee]=K[Ee]);var We=(K=w(this,K)).detectRetina&&Ot.retina?2:1,wt=this.getTileSize();he.width=wt.x*We,he.height=wt.y*We,this.wmsParams=he},onAdd:function(D){this._crs=this.options.crs||D.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var K=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[K]=this._crs.code,Hr.prototype.onAdd.call(this,D)},getTileUrl:function(D){var K=this._tileCoordsToNwSe(D),he=this._crs,Ee=_n(he.project(K[0]),he.project(K[1])),We=Ee.min,wt=Ee.max,Zt=(this._wmsVersion>=1.3&&this._crs===La?[We.y,We.x,wt.y,wt.x]:[We.x,We.y,wt.x,wt.y]).join(","),wn=Hr.prototype.getTileUrl.call(this,D);return wn+z(this.wmsParams,wn,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+Zt},setParams:function(D,K){return i(this.wmsParams,D),K||this.redraw(),this}});function Zl(D,K){return new El(D,K)}Hr.WMS=El,Ji.wms=Zl;var Es=Na.extend({options:{padding:.1},initialize:function(D){w(this,D),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&ji(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var D={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(D.zoomanim=this._onAnimZoom),D},_onAnimZoom:function(D){this._updateTransform(D.center,D.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(D,K){var he=this._map.getZoomScale(K,this._zoom),Ee=this._map.getSize().multiplyBy(.5+this.options.padding),We=this._map.project(this._center,K),wt=Ee.multiplyBy(-he).add(We).subtract(this._map._getNewPixelOrigin(D,K));Ot.any3d?bo(this._container,wt,he):yr(this._container,wt)},_reset:function(){for(var D in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[D]._reset()},_onZoomEnd:function(){for(var D in this._layers)this._layers[D]._project()},_updatePaths:function(){for(var D in this._layers)this._layers[D]._update()},_update:function(){var D=this.options.padding,K=this._map.getSize(),he=this._map.containerPointToLayerPoint(K.multiplyBy(-D)).round();this._bounds=new fn(he,he.add(K.multiplyBy(1+2*D)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),_l=Es.extend({options:{tolerance:0},getEvents:function(){var D=Es.prototype.getEvents.call(this);return D.viewprereset=this._onViewPreReset,D},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Es.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var D=this._container=document.createElement("canvas");or(D,"mousemove",this._onMouseMove,this),or(D,"click dblclick mousedown mouseup contextmenu",this._onClick,this),or(D,"mouseout",this._handleMouseOut,this),D._leaflet_disable_events=!0,this._ctx=D.getContext("2d")},_destroyContainer:function(){Ae(this._redrawRequest),delete this._ctx,Qr(this._container),ne(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var K in this._redrawBounds=null,this._layers)this._layers[K]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){Es.prototype._update.call(this);var D=this._bounds,K=this._container,he=D.getSize(),Ee=Ot.retina?2:1;yr(K,D.min),K.width=Ee*he.x,K.height=Ee*he.y,K.style.width=he.x+"px",K.style.height=he.y+"px",Ot.retina&&this._ctx.scale(2,2),this._ctx.translate(-D.min.x,-D.min.y),this.fire("update")}},_reset:function(){Es.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(D){this._updateDashArray(D),this._layers[o(D)]=D;var K=D._order={layer:D,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=K),this._drawLast=K,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(D){this._requestRedraw(D)},_removePath:function(D){var K=D._order,he=K.next,Ee=K.prev;he?he.prev=Ee:this._drawLast=Ee,Ee?Ee.next=he:this._drawFirst=he,delete D._order,delete this._layers[o(D)],this._requestRedraw(D)},_updatePath:function(D){this._extendRedrawBounds(D),D._project(),D._update(),this._requestRedraw(D)},_updateStyle:function(D){this._updateDashArray(D),this._requestRedraw(D)},_updateDashArray:function(D){if("string"==typeof D.options.dashArray){var Ee,We,K=D.options.dashArray.split(/[, ]+/),he=[];for(We=0;We<K.length;We++){if(Ee=Number(K[We]),isNaN(Ee))return;he.push(Ee)}D.options._dashArray=he}else D.options._dashArray=D.options.dashArray},_requestRedraw:function(D){!this._map||(this._extendRedrawBounds(D),this._redrawRequest=this._redrawRequest||pe(this._redraw,this))},_extendRedrawBounds:function(D){if(D._pxBounds){var K=(D.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new fn,this._redrawBounds.extend(D._pxBounds.min.subtract([K,K])),this._redrawBounds.extend(D._pxBounds.max.add([K,K]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var D=this._redrawBounds;if(D){var K=D.getSize();this._ctx.clearRect(D.min.x,D.min.y,K.x,K.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var D,K=this._redrawBounds;if(this._ctx.save(),K){var he=K.getSize();this._ctx.beginPath(),this._ctx.rect(K.min.x,K.min.y,he.x,he.y),this._ctx.clip()}this._drawing=!0;for(var Ee=this._drawFirst;Ee;Ee=Ee.next)D=Ee.layer,(!K||D._pxBounds&&D._pxBounds.intersects(K))&&D._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(D,K){if(this._drawing){var he,Ee,We,wt,Zt=D._parts,wn=Zt.length,Rn=this._ctx;if(wn){for(Rn.beginPath(),he=0;he<wn;he++){for(Ee=0,We=Zt[he].length;Ee<We;Ee++)wt=Zt[he][Ee],Rn[Ee?"lineTo":"moveTo"](wt.x,wt.y);K&&Rn.closePath()}this._fillStroke(Rn,D)}}},_updateCircle:function(D){if(this._drawing&&!D._empty()){var K=D._point,he=this._ctx,Ee=Math.max(Math.round(D._radius),1),We=(Math.max(Math.round(D._radiusY),1)||Ee)/Ee;1!==We&&(he.save(),he.scale(1,We)),he.beginPath(),he.arc(K.x,K.y/We,Ee,0,2*Math.PI,!1),1!==We&&he.restore(),this._fillStroke(he,D)}},_fillStroke:function(D,K){var he=K.options;he.fill&&(D.globalAlpha=he.fillOpacity,D.fillStyle=he.fillColor||he.color,D.fill(he.fillRule||"evenodd")),he.stroke&&0!==he.weight&&(D.setLineDash&&D.setLineDash(K.options&&K.options._dashArray||[]),D.globalAlpha=he.opacity,D.lineWidth=he.weight,D.strokeStyle=he.color,D.lineCap=he.lineCap,D.lineJoin=he.lineJoin,D.stroke())},_onClick:function(D){for(var he,Ee,K=this._map.mouseEventToLayerPoint(D),We=this._drawFirst;We;We=We.next)(he=We.layer).options.interactive&&he._containsPoint(K)&&("click"!==D.type&&"preclick"!==D.type||!this._map._draggableMoved(he))&&(Ee=he);this._fireEvent(!!Ee&&[Ee],D)},_onMouseMove:function(D){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var K=this._map.mouseEventToLayerPoint(D);this._handleMouseHover(D,K)}},_handleMouseOut:function(D){var K=this._hoveredLayer;K&&(So(this._container,"leaflet-interactive"),this._fireEvent([K],D,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(D,K){if(!this._mouseHoverThrottled){for(var he,Ee,We=this._drawFirst;We;We=We.next)(he=We.layer).options.interactive&&he._containsPoint(K)&&(Ee=he);Ee!==this._hoveredLayer&&(this._handleMouseOut(D),Ee&&(ji(this._container,"leaflet-interactive"),this._fireEvent([Ee],D,"mouseover"),this._hoveredLayer=Ee)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],D),this._mouseHoverThrottled=!0,setTimeout(m(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(D,K,he){this._map._fireDOMEvent(K,he||K.type,D)},_bringToFront:function(D){var K=D._order;if(K){var he=K.next,Ee=K.prev;if(!he)return;he.prev=Ee,Ee?Ee.next=he:he&&(this._drawFirst=he),K.prev=this._drawLast,this._drawLast.next=K,K.next=null,this._drawLast=K,this._requestRedraw(D)}},_bringToBack:function(D){var K=D._order;if(K){var he=K.next,Ee=K.prev;if(!Ee)return;Ee.next=he,he?he.prev=Ee:Ee&&(this._drawLast=Ee),K.prev=null,K.next=this._drawFirst,this._drawFirst.prev=K,this._drawFirst=K,this._requestRedraw(D)}}});function xo(D){return Ot.canvas?new _l(D):null}var Yo=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(D){return document.createElement("<lvml:"+D+' class="lvml">')}}catch(D){}return function(D){return document.createElement("<"+D+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),$r={_initContainer:function(){this._container=li("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Es.prototype._update.call(this),this.fire("update"))},_initPath:function(D){var K=D._container=Yo("shape");ji(K,"leaflet-vml-shape "+(this.options.className||"")),K.coordsize="1 1",D._path=Yo("path"),K.appendChild(D._path),this._updateStyle(D),this._layers[o(D)]=D},_addPath:function(D){var K=D._container;this._container.appendChild(K),D.options.interactive&&D.addInteractiveTarget(K)},_removePath:function(D){var K=D._container;Qr(K),D.removeInteractiveTarget(K),delete this._layers[o(D)]},_updateStyle:function(D){var K=D._stroke,he=D._fill,Ee=D.options,We=D._container;We.stroked=!!Ee.stroke,We.filled=!!Ee.fill,Ee.stroke?(K||(K=D._stroke=Yo("stroke")),We.appendChild(K),K.weight=Ee.weight+"px",K.color=Ee.color,K.opacity=Ee.opacity,Ee.dashArray?K.dashStyle=S(Ee.dashArray)?Ee.dashArray.join(" "):Ee.dashArray.replace(/( *, *)/g," "):K.dashStyle="",K.endcap=Ee.lineCap.replace("butt","flat"),K.joinstyle=Ee.lineJoin):K&&(We.removeChild(K),D._stroke=null),Ee.fill?(he||(he=D._fill=Yo("fill")),We.appendChild(he),he.color=Ee.fillColor||Ee.color,he.opacity=Ee.fillOpacity):he&&(We.removeChild(he),D._fill=null)},_updateCircle:function(D){var K=D._point.round(),he=Math.round(D._radius),Ee=Math.round(D._radiusY||he);this._setPath(D,D._empty()?"M0 0":"AL "+K.x+","+K.y+" "+he+","+Ee+" 0,23592600")},_setPath:function(D,K){D._path.v=K},_bringToFront:function(D){ys(D._container)},_bringToBack:function(D){_a(D._container)}},$s=Ot.vml?Yo:gi,Ks=Es.extend({_initContainer:function(){this._container=$s("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=$s("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Qr(this._container),ne(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){Es.prototype._update.call(this);var D=this._bounds,K=D.getSize(),he=this._container;(!this._svgSize||!this._svgSize.equals(K))&&(this._svgSize=K,he.setAttribute("width",K.x),he.setAttribute("height",K.y)),yr(he,D.min),he.setAttribute("viewBox",[D.min.x,D.min.y,K.x,K.y].join(" ")),this.fire("update")}},_initPath:function(D){var K=D._path=$s("path");D.options.className&&ji(K,D.options.className),D.options.interactive&&ji(K,"leaflet-interactive"),this._updateStyle(D),this._layers[o(D)]=D},_addPath:function(D){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(D._path),D.addInteractiveTarget(D._path)},_removePath:function(D){Qr(D._path),D.removeInteractiveTarget(D._path),delete this._layers[o(D)]},_updatePath:function(D){D._project(),D._update()},_updateStyle:function(D){var K=D._path,he=D.options;!K||(he.stroke?(K.setAttribute("stroke",he.color),K.setAttribute("stroke-opacity",he.opacity),K.setAttribute("stroke-width",he.weight),K.setAttribute("stroke-linecap",he.lineCap),K.setAttribute("stroke-linejoin",he.lineJoin),he.dashArray?K.setAttribute("stroke-dasharray",he.dashArray):K.removeAttribute("stroke-dasharray"),he.dashOffset?K.setAttribute("stroke-dashoffset",he.dashOffset):K.removeAttribute("stroke-dashoffset")):K.setAttribute("stroke","none"),he.fill?(K.setAttribute("fill",he.fillColor||he.color),K.setAttribute("fill-opacity",he.fillOpacity),K.setAttribute("fill-rule",he.fillRule||"evenodd")):K.setAttribute("fill","none"))},_updatePoly:function(D,K){this._setPath(D,Mt(D._parts,K))},_updateCircle:function(D){var K=D._point,he=Math.max(Math.round(D._radius),1),We="a"+he+","+(Math.max(Math.round(D._radiusY),1)||he)+" 0 1,0 ",wt=D._empty()?"M0 0":"M"+(K.x-he)+","+K.y+We+2*he+",0 "+We+2*-he+",0 ";this._setPath(D,wt)},_setPath:function(D,K){D._path.setAttribute("d",K)},_bringToFront:function(D){ys(D._path)},_bringToBack:function(D){_a(D._path)}});function nn(D){return Ot.svg||Ot.vml?new Ks(D):null}Ot.vml&&Ks.include($r),Ri.include({getRenderer:function(D){var K=D.options.renderer||this._getPaneRenderer(D.options.pane)||this.options.renderer||this._renderer;return K||(K=this._renderer=this._createRenderer()),this.hasLayer(K)||this.addLayer(K),K},_getPaneRenderer:function(D){if("overlayPane"===D||void 0===D)return!1;var K=this._paneRenderers[D];return void 0===K&&(K=this._createRenderer({pane:D}),this._paneRenderers[D]=K),K},_createRenderer:function(D){return this.options.preferCanvas&&xo(D)||nn(D)}});var Me=oa.extend({initialize:function(D,K){oa.prototype.initialize.call(this,this._boundsToLatLngs(D),K)},setBounds:function(D){return this.setLatLngs(this._boundsToLatLngs(D))},_boundsToLatLngs:function(D){return[(D=vn(D)).getSouthWest(),D.getNorthWest(),D.getNorthEast(),D.getSouthEast()]}});function Fe(D,K){return new Me(D,K)}Ks.create=$s,Ks.pointsToPath=Mt,Ia.geometryToLayer=Fl,Ia.coordsToLatLng=jt,Ia.coordsToLatLngs=Ie,Ia.latLngToCoords=Ze,Ia.latLngsToCoords=Vt,Ia.getFeature=Zn,Ia.asFeature=Oi,Ri.mergeOptions({boxZoom:!0});var ge=Oe.extend({initialize:function(D){this._map=D,this._container=D._container,this._pane=D._panes.overlayPane,this._resetStateTimeout=0,D.on("unload",this._destroy,this)},addHooks:function(){or(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ne(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Qr(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(D){if(!D.shiftKey||1!==D.which&&1!==D.button)return!1;this._clearDeferredResetState(),this._resetState(),Fo(),Xo(),this._startPoint=this._map.mouseEventToContainerPoint(D),or(document,{contextmenu:Dn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(D){this._moved||(this._moved=!0,this._box=li("div","leaflet-zoom-box",this._container),ji(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(D);var K=new fn(this._point,this._startPoint),he=K.getSize();yr(this._box,K.min),this._box.style.width=he.x+"px",this._box.style.height=he.y+"px"},_finish:function(){this._moved&&(Qr(this._box),So(this._container,"leaflet-crosshair")),Po(),ba(),ne(document,{contextmenu:Dn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(D){if((1===D.which||1===D.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(m(this._resetState,this),0);var K=new hn(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(K).fire("boxzoomend",{boxZoomBounds:K})}},_onKeyDown:function(D){27===D.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Ri.addInitHook("addHandler","boxZoom",ge),Ri.mergeOptions({doubleClickZoom:!0});var ae=Oe.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(D){var K=this._map,he=K.getZoom(),Ee=K.options.zoomDelta,We=D.originalEvent.shiftKey?he-Ee:he+Ee;"center"===K.options.doubleClickZoom?K.setZoom(We):K.setZoomAround(D.containerPoint,We)}});Ri.addInitHook("addHandler","doubleClickZoom",ae),Ri.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var xe=Oe.extend({addHooks:function(){if(!this._draggable){var D=this._map;this._draggable=new Cn(D._mapPane,D._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),D.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),D.on("zoomend",this._onZoomEnd,this),D.whenReady(this._onZoomEnd,this))}ji(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){So(this._map._container,"leaflet-grab"),So(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var D=this._map;if(D._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var K=vn(this._map.options.maxBounds);this._offsetLimit=_n(this._map.latLngToContainerPoint(K.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(K.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;D.fire("movestart").fire("dragstart"),D.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(D){if(this._map.options.inertia){var K=this._lastTime=+new Date,he=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(he),this._times.push(K),this._prunePositions(K)}this._map.fire("move",D).fire("drag",D)},_prunePositions:function(D){for(;this._positions.length>1&&D-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var D=this._map.getSize().divideBy(2),K=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=K.subtract(D).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(D,K){return D-(D-K)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var D=this._draggable._newPos.subtract(this._draggable._startPos),K=this._offsetLimit;D.x<K.min.x&&(D.x=this._viscousLimit(D.x,K.min.x)),D.y<K.min.y&&(D.y=this._viscousLimit(D.y,K.min.y)),D.x>K.max.x&&(D.x=this._viscousLimit(D.x,K.max.x)),D.y>K.max.y&&(D.y=this._viscousLimit(D.y,K.max.y)),this._draggable._newPos=this._draggable._startPos.add(D)}},_onPreDragWrap:function(){var D=this._worldWidth,K=Math.round(D/2),he=this._initialWorldOffset,Ee=this._draggable._newPos.x,We=(Ee-K+he)%D+K-he,wt=(Ee+K+he)%D-K-he,Zt=Math.abs(We+he)<Math.abs(wt+he)?We:wt;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=Zt},_onDragEnd:function(D){var K=this._map,he=K.options,Ee=!he.inertia||D.noInertia||this._times.length<2;if(K.fire("dragend",D),Ee)K.fire("moveend");else{this._prunePositions(+new Date);var We=this._lastPos.subtract(this._positions[0]),wt=(this._lastTime-this._times[0])/1e3,Zt=he.easeLinearity,wn=We.multiplyBy(Zt/wt),Rn=wn.distanceTo([0,0]),Si=Math.min(he.inertiaMaxSpeed,Rn),tr=wn.multiplyBy(Si/Rn),Wr=Si/(he.inertiaDeceleration*Zt),po=tr.multiplyBy(-Wr/2).round();po.x||po.y?(po=K._limitOffset(po,K.options.maxBounds),pe(function(){K.panBy(po,{duration:Wr,easeLinearity:Zt,noMoveStart:!0,animate:!0})})):K.fire("moveend")}}});Ri.addInitHook("addHandler","dragging",xe),Ri.mergeOptions({keyboard:!0,keyboardPanDelta:80});var He=Oe.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(D){this._map=D,this._setPanDelta(D.options.keyboardPanDelta),this._setZoomDelta(D.options.zoomDelta)},addHooks:function(){var D=this._map._container;D.tabIndex<=0&&(D.tabIndex="0"),or(D,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ne(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var D=document.body,K=document.documentElement,he=D.scrollTop||K.scrollTop,Ee=D.scrollLeft||K.scrollLeft;this._map._container.focus(),window.scrollTo(Ee,he)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(D){var Ee,We,K=this._panKeys={},he=this.keyCodes;for(Ee=0,We=he.left.length;Ee<We;Ee++)K[he.left[Ee]]=[-1*D,0];for(Ee=0,We=he.right.length;Ee<We;Ee++)K[he.right[Ee]]=[D,0];for(Ee=0,We=he.down.length;Ee<We;Ee++)K[he.down[Ee]]=[0,D];for(Ee=0,We=he.up.length;Ee<We;Ee++)K[he.up[Ee]]=[0,-1*D]},_setZoomDelta:function(D){var Ee,We,K=this._zoomKeys={},he=this.keyCodes;for(Ee=0,We=he.zoomIn.length;Ee<We;Ee++)K[he.zoomIn[Ee]]=D;for(Ee=0,We=he.zoomOut.length;Ee<We;Ee++)K[he.zoomOut[Ee]]=-D},_addHooks:function(){or(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ne(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(D){if(!(D.altKey||D.ctrlKey||D.metaKey)){var Ee,K=D.keyCode,he=this._map;if(K in this._panKeys){if(!he._panAnim||!he._panAnim._inProgress)if(Ee=this._panKeys[K],D.shiftKey&&(Ee=Xt(Ee).multiplyBy(3)),he.options.maxBounds&&(Ee=he._limitOffset(Xt(Ee),he.options.maxBounds)),he.options.worldCopyJump){var We=he.wrapLatLng(he.unproject(he.project(he.getCenter()).add(Ee)));he.panTo(We)}else he.panBy(Ee)}else if(K in this._zoomKeys)he.setZoom(he.getZoom()+(D.shiftKey?3:1)*this._zoomKeys[K]);else{if(27!==K||!he._popup||!he._popup.options.closeOnEscapeKey)return;he.closePopup()}Dn(D)}}});Ri.addInitHook("addHandler","keyboard",He),Ri.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Ke=Oe.extend({addHooks:function(){or(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ne(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(D){var K=ui(D),he=this._map.options.wheelDebounceTime;this._delta+=K,this._lastMousePos=this._map.mouseEventToContainerPoint(D),this._startTime||(this._startTime=+new Date);var Ee=Math.max(he-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(m(this._performZoom,this),Ee),Dn(D)},_performZoom:function(){var D=this._map,K=D.getZoom(),he=this._map.options.zoomSnap||0;D._stop();var Ee=this._delta/(4*this._map.options.wheelPxPerZoomLevel),We=4*Math.log(2/(1+Math.exp(-Math.abs(Ee))))/Math.LN2,wt=he?Math.ceil(We/he)*he:We,Zt=D._limitZoom(K+(this._delta>0?wt:-wt))-K;this._delta=0,this._startTime=null,Zt&&("center"===D.options.scrollWheelZoom?D.setZoom(K+Zt):D.setZoomAround(this._lastMousePos,K+Zt))}});Ri.addInitHook("addHandler","scrollWheelZoom",Ke);var bt=600;Ri.mergeOptions({tapHold:Ot.touchNative&&Ot.safari&&Ot.mobile,tapTolerance:15});var Tt=Oe.extend({addHooks:function(){or(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ne(this._map._container,"touchstart",this._onDown,this)},_onDown:function(D){if(clearTimeout(this._holdTimeout),1===D.touches.length){var K=D.touches[0];this._startPos=this._newPos=new vt(K.clientX,K.clientY),this._holdTimeout=setTimeout(m(function(){this._cancel(),this._isTapValid()&&(or(document,"touchend",Et),or(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",K))},this),bt),or(document,"touchend touchcancel contextmenu",this._cancel,this),or(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function D(){ne(document,"touchend",Et),ne(document,"touchend touchcancel",D)},_cancel:function(){clearTimeout(this._holdTimeout),ne(document,"touchend touchcancel contextmenu",this._cancel,this),ne(document,"touchmove",this._onMove,this)},_onMove:function(D){var K=D.touches[0];this._newPos=new vt(K.clientX,K.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(D,K){var he=new MouseEvent(D,{bubbles:!0,cancelable:!0,view:window,screenX:K.screenX,screenY:K.screenY,clientX:K.clientX,clientY:K.clientY});he._simulated=!0,K.target.dispatchEvent(he)}});Ri.addInitHook("addHandler","tapHold",Tt),Ri.mergeOptions({touchZoom:Ot.touch,bounceAtZoomLimits:!0});var gn=Oe.extend({addHooks:function(){ji(this._map._container,"leaflet-touch-zoom"),or(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){So(this._map._container,"leaflet-touch-zoom"),ne(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(D){var K=this._map;if(D.touches&&2===D.touches.length&&!K._animatingZoom&&!this._zooming){var he=K.mouseEventToContainerPoint(D.touches[0]),Ee=K.mouseEventToContainerPoint(D.touches[1]);this._centerPoint=K.getSize()._divideBy(2),this._startLatLng=K.containerPointToLatLng(this._centerPoint),"center"!==K.options.touchZoom&&(this._pinchStartLatLng=K.containerPointToLatLng(he.add(Ee)._divideBy(2))),this._startDist=he.distanceTo(Ee),this._startZoom=K.getZoom(),this._moved=!1,this._zooming=!0,K._stop(),or(document,"touchmove",this._onTouchMove,this),or(document,"touchend touchcancel",this._onTouchEnd,this),Et(D)}},_onTouchMove:function(D){if(D.touches&&2===D.touches.length&&this._zooming){var K=this._map,he=K.mouseEventToContainerPoint(D.touches[0]),Ee=K.mouseEventToContainerPoint(D.touches[1]),We=he.distanceTo(Ee)/this._startDist;if(this._zoom=K.getScaleZoom(We,this._startZoom),!K.options.bounceAtZoomLimits&&(this._zoom<K.getMinZoom()&&We<1||this._zoom>K.getMaxZoom()&&We>1)&&(this._zoom=K._limitZoom(this._zoom)),"center"===K.options.touchZoom){if(this._center=this._startLatLng,1===We)return}else{var wt=he._add(Ee)._divideBy(2)._subtract(this._centerPoint);if(1===We&&0===wt.x&&0===wt.y)return;this._center=K.unproject(K.project(this._pinchStartLatLng,this._zoom).subtract(wt),this._zoom)}this._moved||(K._moveStart(!0,!1),this._moved=!0),Ae(this._animRequest);var Zt=m(K._move,K,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=pe(Zt,this,!0),Et(D)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,Ae(this._animRequest),ne(document,"touchmove",this._onTouchMove,this),ne(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ri.addInitHook("addHandler","touchZoom",gn),Ri.BoxZoom=ge,Ri.DoubleClickZoom=ae,Ri.Drag=xe,Ri.Keyboard=He,Ri.ScrollWheelZoom=Ke,Ri.TapHold=Tt,Ri.TouchZoom=gn,B.Bounds=fn,B.Browser=Ot,B.CRS=Sn,B.Canvas=_l,B.Circle=d1,B.CircleMarker=vl,B.Class=De,B.Control=In,B.DivIcon=ts,B.DivOverlay=eo,B.DomEvent=hr,B.DomUtil=Io,B.Draggable=Cn,B.Evented=ot,B.FeatureGroup=Ro,B.GeoJSON=Ia,B.GridLayer=ol,B.Handler=Oe,B.Icon=Uo,B.ImageOverlay=un,B.LatLng=xn,B.LatLngBounds=hn,B.Layer=Na,B.LayerGroup=ja,B.LineUtil=zr,B.Map=Ri,B.Marker=us,B.Mixin=gt,B.Path=il,B.Point=vt,B.PolyUtil=pa,B.Polygon=oa,B.Polyline=Rs,B.Popup=Ao,B.PosAnimation=kr,B.Projection=bi,B.Rectangle=Me,B.Renderer=Es,B.SVG=Ks,B.SVGOverlay=Br,B.TileLayer=Hr,B.Tooltip=qs,B.Transformation=qn,B.Util=Se,B.VideoOverlay=kn,B.bind=m,B.bounds=_n,B.canvas=xo,B.circle=x1,B.circleMarker=Da,B.control=Pr,B.divIcon=rl,B.extend=i,B.featureGroup=ml,B.geoJSON=es,B.geoJson=ya,B.gridLayer=dc,B.icon=c1,B.imageOverlay=Wn,B.latLng=dn,B.latLngBounds=vn,B.layerGroup=Fs,B.map=Yi,B.marker=Ll,B.point=Xt,B.polygon=jl,B.polyline=u1,B.popup=la,B.rectangle=Fe,B.setOptions=w,B.stamp=o,B.svg=nn,B.svgOverlay=fo,B.tileLayer=Ji,B.tooltip=Fa,B.transformation=oi,B.version=n,B.videoOverlay=Wi;var yi=window.L;B.noConflict=function(){return window.L=yi,this},window.L=B}($e)},92938:function(de,$e,B){var n;de=B.nmd(de),function(){var i,o="Expected a function",v="__lodash_hash_undefined__",x="__lodash_placeholder__",H=16,U=32,X=64,W=128,rn=1/0,Xt=9007199254740991,hn=4294967295,dn=[["ary",W],["bind",1],["bindKey",2],["curry",8],["curryRight",H],["flip",512],["partial",U],["partialRight",X],["rearg",256]],Sn="[object Arguments]",si="[object Array]",yn="[object Boolean]",qn="[object Date]",Yn="[object Error]",Xn="[object Function]",gi="[object GeneratorFunction]",Mt="[object Map]",pn="[object Number]",yt="[object Object]",Je="[object Promise]",xt="[object RegExp]",Ht="[object Set]",$t="[object String]",Jt="[object Symbol]",Ft="[object WeakMap]",Jn="[object ArrayBuffer]",Mn="[object DataView]",ti="[object Float32Array]",Ai="[object Float64Array]",ki="[object Int8Array]",Ki="[object Int16Array]",Hi="[object Int32Array]",_i="[object Uint8Array]",pi="[object Uint8ClampedArray]",$n="[object Uint16Array]",wr="[object Uint32Array]",Pn=/\b__p \+= '';/g,Bn=/\b(__p \+=) '' \+/g,ri=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mi=/&(?:amp|lt|gt|quot|#39);/g,xi=/[&<>"']/g,Mr=RegExp(mi.source),gr=RegExp(xi.source),Li=/<%-([\s\S]+?)%>/g,Sr=/<%([\s\S]+?)%>/g,br=/<%=([\s\S]+?)%>/g,Xr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uo=/^\w*$/,fa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ai=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ai.source),Ot=/^\s+/,Nn=/\s/,di=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,$i=/\{\n\/\* \[wrapped with (.+)\] \*/,Fi=/,? & /,Yr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mo=/[()=,{}\[\]\/\s]/,Jr=/\\(\\)?/g,Bi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ks=/\w*$/,so=/^[-+]0x[0-9a-f]+$/i,Qo=/^0b[01]+$/i,mr=/^\[object .+?Constructor\]$/,Ti=/^0o[0-7]+$/i,Cr=/^(?:0|[1-9]\d*)$/,Vi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,To=/($^)/,qr=/['\n\r\u2028\u2029\\]/g,_o="\\ud800-\\udfff",Ho="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Dr="\\u2700-\\u27bf",Os="a-z\\xdf-\\xf6\\xf8-\\xff",ys="A-Z\\xc0-\\xd6\\xd8-\\xde",_a="\\ufe0e\\ufe0f",Ps="\\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",ji="['\u2019]",So="["+_o+"]",Us="["+Ps+"]",no="["+Ho+"]",ho="\\d+",ra="["+Dr+"]",zs="["+Os+"]",bo="[^"+_o+Ps+ho+Dr+Os+ys+"]",yr="\\ud83c[\\udffb-\\udfff]",Fo="[^"+_o+"]",Po="(?:\\ud83c[\\udde6-\\uddff]){2}",Or="[\\ud800-\\udbff][\\udc00-\\udfff]",rs="["+ys+"]",ba="(?:"+zs+"|"+bo+")",xs="(?:"+rs+"|"+bo+")",Ws="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",aa="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",js="(?:"+no+"|"+yr+")"+"?",Jo="["+_a+"]?",q=Jo+js+("(?:\\u200d(?:"+[Fo,Po,Or].join("|")+")"+Jo+js+")*"),ne="(?:"+[ra,Po,Or].join("|")+")"+q,me="(?:"+[Fo+no+"?",no,Po,Or,So].join("|")+")",Be=RegExp(ji,"g"),et=RegExp(no,"g"),It=RegExp(yr+"(?="+yr+")|"+me+q,"g"),Ut=RegExp([rs+"?"+zs+"+"+Ws+"(?="+[Us,rs,"$"].join("|")+")",xs+"+"+aa+"(?="+[Us,rs+ba,"$"].join("|")+")",rs+"?"+ba+"+"+Ws,rs+"+"+aa,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ho,ne].join("|"),"g"),Wt=RegExp("[\\u200d"+_o+Ho+_a+"]"),Pt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Et=["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"],Dn=-1,Ln={};Ln[ti]=Ln[Ai]=Ln[ki]=Ln[Ki]=Ln[Hi]=Ln[_i]=Ln[pi]=Ln[$n]=Ln[wr]=!0,Ln[Sn]=Ln[si]=Ln[Jn]=Ln[yn]=Ln[Mn]=Ln[qn]=Ln[Yn]=Ln[Xn]=Ln[Mt]=Ln[pn]=Ln[yt]=Ln[xt]=Ln[Ht]=Ln[$t]=Ln[Ft]=!1;var An={};An[Sn]=An[si]=An[Jn]=An[Mn]=An[yn]=An[qn]=An[ti]=An[Ai]=An[ki]=An[Ki]=An[Hi]=An[Mt]=An[pn]=An[yt]=An[xt]=An[Ht]=An[$t]=An[Jt]=An[_i]=An[pi]=An[$n]=An[wr]=!0,An[Yn]=An[Xn]=An[Ft]=!1;var hr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kr=parseFloat,Ri=parseInt,Yi="object"==typeof global&&global&&global.Object===Object&&global,In="object"==typeof self&&self&&self.Object===Object&&self,Pr=Yi||In||Function("return this")(),Ir=$e&&!$e.nodeType&&$e,ir=Ir&&de&&!de.nodeType&&de,ds=ir&&ir.exports===Ir,Go=ds&&Yi.process,ko=function(){try{return ir&&ir.require&&ir.require("util").types||Go&&Go.binding&&Go.binding("util")}catch(Wn){}}(),zo=ko&&ko.isArrayBuffer,Cs=ko&&ko.isDate,Rr=ko&&ko.isMap,Qe=ko&&ko.isRegExp,Oe=ko&&ko.isSet,gt=ko&&ko.isTypedArray;function Nt(un,Wn,kn){switch(kn.length){case 0:return un.call(Wn);case 1:return un.call(Wn,kn[0]);case 2:return un.call(Wn,kn[0],kn[1]);case 3:return un.call(Wn,kn[0],kn[1],kn[2])}return un.apply(Wn,kn)}function Cn(un,Wn,kn,Wi){for(var Br=-1,fo=null==un?0:un.length;++Br<fo;){var eo=un[Br];Wn(Wi,eo,kn(eo),un)}return Wi}function ze(un,Wn){for(var kn=-1,Wi=null==un?0:un.length;++kn<Wi&&!1!==Wn(un[kn],kn,un););return un}function ke(un,Wn){for(var kn=null==un?0:un.length;kn--&&!1!==Wn(un[kn],kn,un););return un}function oe(un,Wn){for(var kn=-1,Wi=null==un?0:un.length;++kn<Wi;)if(!Wn(un[kn],kn,un))return!1;return!0}function pt(un,Wn){for(var kn=-1,Wi=null==un?0:un.length,Br=0,fo=[];++kn<Wi;){var eo=un[kn];Wn(eo,kn,un)&&(fo[Br++]=eo)}return fo}function zt(un,Wn){return!!(null==un?0:un.length)&&io(un,Wn,0)>-1}function Dt(un,Wn,kn){for(var Wi=-1,Br=null==un?0:un.length;++Wi<Br;)if(kn(Wn,un[Wi]))return!0;return!1}function En(un,Wn){for(var kn=-1,Wi=null==un?0:un.length,Br=Array(Wi);++kn<Wi;)Br[kn]=Wn(un[kn],kn,un);return Br}function ci(un,Wn){for(var kn=-1,Wi=Wn.length,Br=un.length;++kn<Wi;)un[Br+kn]=Wn[kn];return un}function Ei(un,Wn,kn,Wi){var Br=-1,fo=null==un?0:un.length;for(Wi&&fo&&(kn=un[++Br]);++Br<fo;)kn=Wn(kn,un[Br],Br,un);return kn}function xr(un,Wn,kn,Wi){var Br=null==un?0:un.length;for(Wi&&Br&&(kn=un[--Br]);Br--;)kn=Wn(kn,un[Br],Br,un);return kn}function ft(un,Wn){for(var kn=-1,Wi=null==un?0:un.length;++kn<Wi;)if(Wn(un[kn],kn,un))return!0;return!1}var ye=Bl("length");function hi(un,Wn,kn){var Wi;return kn(un,function(Br,fo,eo){if(Wn(Br,fo,eo))return Wi=fo,!1}),Wi}function zr(un,Wn,kn,Wi){for(var Br=un.length,fo=kn+(Wi?1:-1);Wi?fo--:++fo<Br;)if(Wn(un[fo],fo,un))return fo;return-1}function io(un,Wn,kn){return Wn==Wn?function Fl(un,Wn,kn){for(var Wi=kn-1,Br=un.length;++Wi<Br;)if(un[Wi]===Wn)return Wi;return-1}(un,Wn,kn):zr(un,pa,kn)}function $l(un,Wn,kn,Wi){for(var Br=kn-1,fo=un.length;++Br<fo;)if(Wi(un[Br],Wn))return Br;return-1}function pa(un){return un!=un}function nl(un,Wn){var kn=null==un?0:un.length;return kn?Gs(un,Wn)/kn:NaN}function Bl(un){return function(Wn){return null==Wn?i:Wn[un]}}function bi(un){return function(Wn){return null==un?i:un[Wn]}}function qo(un,Wn,kn,Wi,Br){return Br(un,function(fo,eo,Ao){kn=Wi?(Wi=!1,fo):Wn(kn,fo,eo,Ao)}),kn}function Gs(un,Wn){for(var kn,Wi=-1,Br=un.length;++Wi<Br;){var fo=Wn(un[Wi]);fo!==i&&(kn=kn===i?fo:kn+fo)}return kn}function Na(un,Wn){for(var kn=-1,Wi=Array(un);++kn<un;)Wi[kn]=Wn(kn);return Wi}function Fs(un){return un&&un.slice(0,Ze(un)+1).replace(Ot,"")}function Ro(un){return function(Wn){return un(Wn)}}function ml(un,Wn){return En(Wn,function(kn){return un[kn]})}function Uo(un,Wn){return un.has(Wn)}function c1(un,Wn){for(var kn=-1,Wi=un.length;++kn<Wi&&io(Wn,un[kn],0)>-1;);return kn}function Ea(un,Wn){for(var kn=un.length;kn--&&io(Wn,un[kn],0)>-1;);return kn}function Ls(un,Wn){for(var kn=un.length,Wi=0;kn--;)un[kn]===Wn&&++Wi;return Wi}var us=bi({\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"}),Ll=bi({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function il(un){return"\\"+hr[un]}function Da(un){return Wt.test(un)}function Rs(un){var Wn=-1,kn=Array(un.size);return un.forEach(function(Wi,Br){kn[++Wn]=[Br,Wi]}),kn}function u1(un,Wn){return function(kn){return un(Wn(kn))}}function oa(un,Wn){for(var kn=-1,Wi=un.length,Br=0,fo=[];++kn<Wi;){var eo=un[kn];(eo===Wn||eo===x)&&(un[kn]=x,fo[Br++]=kn)}return fo}function jl(un){var Wn=-1,kn=Array(un.size);return un.forEach(function(Wi){kn[++Wn]=Wi}),kn}function jt(un){return Da(un)?function Zn(un){for(var Wn=It.lastIndex=0;It.test(un);)++Wn;return Wn}(un):ye(un)}function Ie(un){return Da(un)?function Oi(un){return un.match(It)||[]}(un):function Xe(un){return un.split("")}(un)}function Ze(un){for(var Wn=un.length;Wn--&&Nn.test(un.charAt(Wn)););return Wn}var Vt=bi({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var ya=function un(Wn){var V,kn=(Wn=null==Wn?Pr:ya.defaults(Pr.Object(),Wn,ya.pick(Pr,Et))).Array,Wi=Wn.Date,Br=Wn.Error,fo=Wn.Function,eo=Wn.Math,Ao=Wn.Object,la=Wn.RegExp,qs=Wn.String,Fa=Wn.TypeError,ts=kn.prototype,rl=fo.prototype,ol=Ao.prototype,dc=Wn["__core-js_shared__"],Hr=rl.toString,Ji=ol.hasOwnProperty,El=0,Zl=(V=/[^.]+$/.exec(dc&&dc.keys&&dc.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",Es=ol.toString,_l=Hr.call(Ao),xo=Pr._,Yo=la("^"+Hr.call(Ji).replace(ai,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$r=ds?Wn.Buffer:i,$s=Wn.Symbol,Ks=Wn.Uint8Array,nn=$r?$r.allocUnsafe:i,Me=u1(Ao.getPrototypeOf,Ao),Fe=Ao.create,ge=ol.propertyIsEnumerable,ae=ts.splice,xe=$s?$s.isConcatSpreadable:i,He=$s?$s.iterator:i,Ke=$s?$s.toStringTag:i,bt=function(){try{var V=Rd(Ao,"defineProperty");return V({},"",{}),V}catch(ee){}}(),Tt=Wn.clearTimeout!==Pr.clearTimeout&&Wn.clearTimeout,gn=Wi&&Wi.now!==Pr.Date.now&&Wi.now,yi=Wn.setTimeout!==Pr.setTimeout&&Wn.setTimeout,D=eo.ceil,K=eo.floor,he=Ao.getOwnPropertySymbols,Ee=$r?$r.isBuffer:i,We=Wn.isFinite,wt=ts.join,Zt=u1(Ao.keys,Ao),wn=eo.max,Rn=eo.min,Si=Wi.now,tr=Wn.parseInt,Wr=eo.random,po=ts.reverse,Aa=Rd(Wn,"DataView"),sl=Rd(Wn,"Map"),Xl=Rd(Wn,"Promise"),ga=Rd(Wn,"Set"),h1=Rd(Wn,"WeakMap"),tu=Rd(Ao,"create"),xc=h1&&new h1,uc={},kd=oc(Aa),K2=oc(sl),n2=oc(Xl),Ds=oc(ga),f1=oc(h1),Cc=$s?$s.prototype:i,Ac=Cc?Cc.valueOf:i,C1=Cc?Cc.toString:i;function kt(V){if(e1(V)&&!Lo(V)&&!(V instanceof hs)){if(V instanceof to)return V;if(Ji.call(V,"__wrapped__"))return gu(V)}return new to(V)}var Jl=function(){function V(){}return function(ee){if(!ac(ee))return{};if(Fe)return Fe(ee);V.prototype=ee;var Ce=new V;return V.prototype=i,Ce}}();function D3(){}function to(V,ee){this.__wrapped__=V,this.__actions__=[],this.__chain__=!!ee,this.__index__=0,this.__values__=i}function hs(V){this.__wrapped__=V,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=hn,this.__views__=[]}function Dl(V){var ee=-1,Ce=null==V?0:V.length;for(this.clear();++ee<Ce;){var Ye=V[ee];this.set(Ye[0],Ye[1])}}function w1(V){var ee=-1,Ce=null==V?0:V.length;for(this.clear();++ee<Ce;){var Ye=V[ee];this.set(Ye[0],Ye[1])}}function X2(V){var ee=-1,Ce=null==V?0:V.length;for(this.clear();++ee<Ce;){var Ye=V[ee];this.set(Ye[0],Ye[1])}}function E2(V){var ee=-1,Ce=null==V?0:V.length;for(this.__data__=new X2;++ee<Ce;)this.add(V[ee])}function da(V){var ee=this.__data__=new w1(V);this.size=ee.size}function e3(V,ee){var Ce=Lo(V),Ye=!Ce&&g3(V),mt=!Ce&&!Ye&&xd(V),Rt=!Ce&&!Ye&&!mt&&Gd(V),en=Ce||Ye||mt||Rt,Tn=en?Na(V.length,qs):[],Fn=Tn.length;for(var Ii in V)(ee||Ji.call(V,Ii))&&(!en||!("length"==Ii||mt&&("offset"==Ii||"parent"==Ii)||Rt&&("buffer"==Ii||"byteLength"==Ii||"byteOffset"==Ii)||fc(Ii,Fn)))&&Tn.push(Ii);return Tn}function ou(V){var ee=V.length;return ee?V[Pu(0,ee-1)]:i}function su(V,ee){return Xc(wa(V),Ya(ee,0,V.length))}function Is(V){return Xc(wa(V))}function U1(V,ee,Ce){(Ce!==i&&!p3(V[ee],Ce)||Ce===i&&!(ee in V))&&Ql(V,ee,Ce)}function Il(V,ee,Ce){var Ye=V[ee];(!Ji.call(V,ee)||!p3(Ye,Ce)||Ce===i&&!(ee in V))&&Ql(V,ee,Ce)}function M1(V,ee){for(var Ce=V.length;Ce--;)if(p3(V[Ce][0],ee))return Ce;return-1}function Y1(V,ee,Ce,Ye){return ed(V,function(mt,Rt,en){ee(Ye,mt,Ce(mt),en)}),Ye}function T1(V,ee){return V&&cl(ee,gc(ee),V)}function Ql(V,ee,Ce){"__proto__"==ee&&bt?bt(V,ee,{configurable:!0,enumerable:!0,value:Ce,writable:!0}):V[ee]=Ce}function Dd(V,ee){for(var Ce=-1,Ye=ee.length,mt=kn(Ye),Rt=null==V;++Ce<Ye;)mt[Ce]=Rt?i:e0(V,ee[Ce]);return mt}function Ya(V,ee,Ce){return V==V&&(Ce!==i&&(V=V<=Ce?V:Ce),ee!==i&&(V=V>=ee?V:ee)),V}function ec(V,ee,Ce,Ye,mt,Rt){var en,Tn=1&ee,Fn=2&ee,Ii=4&ee;if(Ce&&(en=mt?Ce(V,Ye,mt,Rt):Ce(V)),en!==i)return en;if(!ac(V))return V;var Mi=Lo(V);if(Mi){if(en=function Hc(V){var ee=V.length,Ce=new V.constructor(ee);return ee&&"string"==typeof V[0]&&Ji.call(V,"index")&&(Ce.index=V.index,Ce.input=V.input),Ce}(V),!Tn)return wa(V,en)}else{var Ni=Cl(V),vr=Ni==Xn||Ni==gi;if(xd(V))return Ru(V,Tn);if(Ni==yt||Ni==Sn||vr&&!mt){if(en=Fn||vr?{}:Hd(V),!Tn)return Fn?function Od(V,ee){return cl(V,Nd(V),ee)}(V,function Du(V,ee){return V&&cl(ee,$a(ee),V)}(en,V)):function Nu(V,ee){return cl(V,Bu(V),ee)}(V,T1(en,V))}else{if(!An[Ni])return mt?V:{};en=function Tc(V,ee,Ce){var Ye=V.constructor;switch(ee){case Jn:return Ol(V);case yn:case qn:return new Ye(+V);case Mn:return function cu(V,ee){var Ce=ee?Ol(V.buffer):V.buffer;return new V.constructor(Ce,V.byteOffset,V.byteLength)}(V,Ce);case ti:case Ai:case ki:case Ki:case Hi:case _i:case pi:case $n:case wr:return Hs(V,Ce);case Mt:return new Ye;case pn:case $t:return new Ye(V);case xt:return function Ad(V){var ee=new V.constructor(V.source,ks.exec(V));return ee.lastIndex=V.lastIndex,ee}(V);case Ht:return new Ye;case Jt:return function Ca(V){return Ac?Ao(Ac.call(V)):{}}(V)}}(V,Ni,Tn)}}Rt||(Rt=new da);var J=Rt.get(V);if(J)return J;Rt.set(V,en),bu(V)?V.forEach(function(te){en.add(ec(te,ee,Ce,te,V,Rt))}):b4(V)&&V.forEach(function(te,fe){en.set(fe,ec(te,ee,Ce,fe,V,Rt))});var j=Mi?i:(Ii?Fn?xl:a4:Fn?$a:gc)(V);return ze(j||V,function(te,fe){j&&(te=V[fe=te]),Il(en,fe,ec(te,ee,Ce,fe,V,Rt))}),en}function Q2(V,ee,Ce){var Ye=Ce.length;if(null==V)return!Ye;for(V=Ao(V);Ye--;){var mt=Ce[Ye],Rt=ee[mt],en=V[mt];if(en===i&&!(mt in V)||!Rt(en))return!1}return!0}function g1(V,ee,Ce){if("function"!=typeof V)throw new Fa(o);return O1(function(){V.apply(i,Ce)},ee)}function Iu(V,ee,Ce,Ye){var mt=-1,Rt=zt,en=!0,Tn=V.length,Fn=[],Ii=ee.length;if(!Tn)return Fn;Ce&&(ee=En(ee,Ro(Ce))),Ye?(Rt=Dt,en=!1):ee.length>=200&&(Rt=Uo,en=!1,ee=new E2(ee));e:for(;++mt<Tn;){var Mi=V[mt],Ni=null==Ce?Mi:Ce(Mi);if(Mi=Ye||0!==Mi?Mi:0,en&&Ni==Ni){for(var vr=Ii;vr--;)if(ee[vr]===Ni)continue e;Fn.push(Mi)}else Rt(ee,Ni,Ye)||Fn.push(Mi)}return Fn}kt.templateSettings={escape:Li,evaluate:Sr,interpolate:br,variable:"",imports:{_:kt}},kt.prototype=D3.prototype,kt.prototype.constructor=kt,to.prototype=Jl(D3.prototype),to.prototype.constructor=to,hs.prototype=Jl(D3.prototype),hs.prototype.constructor=hs,Dl.prototype.clear=function n4(){this.__data__=tu?tu(null):{},this.size=0},Dl.prototype.delete=function Z2(V){var ee=this.has(V)&&delete this.__data__[V];return this.size-=ee?1:0,ee},Dl.prototype.get=function ll(V){var ee=this.__data__;if(tu){var Ce=ee[V];return Ce===v?i:Ce}return Ji.call(ee,V)?ee[V]:i},Dl.prototype.has=function nu(V){var ee=this.__data__;return tu?ee[V]!==i:Ji.call(ee,V)},Dl.prototype.set=function Va(V,ee){var Ce=this.__data__;return this.size+=this.has(V)?0:1,Ce[V]=tu&&ee===i?v:ee,this},w1.prototype.clear=function Ju(){this.__data__=[],this.size=0},w1.prototype.delete=function ap(V){var ee=this.__data__,Ce=M1(ee,V);return!(Ce<0)&&(Ce==ee.length-1?ee.pop():ae.call(ee,Ce,1),--this.size,!0)},w1.prototype.get=function bf(V){var ee=this.__data__,Ce=M1(ee,V);return Ce<0?i:ee[Ce][1]},w1.prototype.has=function p1(V){return M1(this.__data__,V)>-1},w1.prototype.set=function Ld(V,ee){var Ce=this.__data__,Ye=M1(Ce,V);return Ye<0?(++this.size,Ce.push([V,ee])):Ce[Ye][1]=ee,this},X2.prototype.clear=function iu(){this.size=0,this.__data__={hash:new Dl,map:new(sl||w1),string:new Dl}},X2.prototype.delete=function Ua(V){var ee=s3(this,V).delete(V);return this.size-=ee?1:0,ee},X2.prototype.get=function Gc(V){return s3(this,V).get(V)},X2.prototype.has=function k2(V){return s3(this,V).has(V)},X2.prototype.set=function L2(V,ee){var Ce=s3(this,V),Ye=Ce.size;return Ce.set(V,ee),this.size+=Ce.size==Ye?0:1,this},E2.prototype.add=E2.prototype.push=function Pi(V){return this.__data__.set(V,v),this},E2.prototype.has=function ru(V){return this.__data__.has(V)},da.prototype.clear=function Ed(){this.__data__=new w1,this.size=0},da.prototype.delete=function ns(V){var ee=this.__data__,Ce=ee.delete(V);return this.size=ee.size,Ce},da.prototype.get=function Qu(V){return this.__data__.get(V)},da.prototype.has=function J2(V){return this.__data__.has(V)},da.prototype.set=function r2(V,ee){var Ce=this.__data__;if(Ce instanceof w1){var Ye=Ce.__data__;if(!sl||Ye.length<199)return Ye.push([V,ee]),this.size=++Ce.size,this;Ce=this.__data__=new X2(Ye)}return Ce.set(V,ee),this.size=Ce.size,this};var ed=ld(Vl),Ja=ld(wc,!0);function D2(V,ee){var Ce=!0;return ed(V,function(Ye,mt,Rt){return Ce=!!ee(Ye,mt,Rt)}),Ce}function td(V,ee,Ce){for(var Ye=-1,mt=V.length;++Ye<mt;){var Rt=V[Ye],en=ee(Rt);if(null!=en&&(Tn===i?en==en&&!Yu(en):Ce(en,Tn)))var Tn=en,Fn=Rt}return Fn}function I2(V,ee){var Ce=[];return ed(V,function(Ye,mt,Rt){ee(Ye,mt,Rt)&&Ce.push(Ye)}),Ce}function Wa(V,ee,Ce,Ye,mt){var Rt=-1,en=V.length;for(Ce||(Ce=ju),mt||(mt=[]);++Rt<en;){var Tn=V[Rt];ee>0&&Ce(Tn)?ee>1?Wa(Tn,ee-1,Ce,Ye,mt):ci(mt,Tn):Ye||(mt[mt.length]=Tn)}return mt}var Au=du(),A2=du(!0);function Vl(V,ee){return V&&Au(V,ee,gc)}function wc(V,ee){return V&&A2(V,ee,gc)}function bl(V,ee){return pt(ee,function(Ce){return Bc(V[Ce])})}function As(V,ee){for(var Ce=0,Ye=(ee=l2(ee,V)).length;null!=V&&Ce<Ye;)V=V[H2(ee[Ce++])];return Ce&&Ce==Ye?V:i}function ms(V,ee,Ce){var Ye=ee(V);return Lo(V)?Ye:ci(Ye,Ce(V))}function ea(V){return null==V?V===i?"[object Undefined]":"[object Null]":Ke&&Ke in Ao(V)?function fu(V){var ee=Ji.call(V,Ke),Ce=V[Ke];try{V[Ke]=i;var Ye=!0}catch(Rt){}var mt=Es.call(V);return Ye&&(ee?V[Ke]=Ce:delete V[Ke]),mt}(V):function A1(V){return Es.call(V)}(V)}function nd(V,ee){return V>ee}function S1(V,ee){return null!=V&&Ji.call(V,ee)}function W1(V,ee){return null!=V&&ee in Ao(V)}function Mc(V,ee,Ce){for(var Ye=Ce?Dt:zt,mt=V[0].length,Rt=V.length,en=Rt,Tn=kn(Rt),Fn=1/0,Ii=[];en--;){var Mi=V[en];en&&ee&&(Mi=En(Mi,Ro(ee))),Fn=Rn(Mi.length,Fn),Tn[en]=!Ce&&(ee||mt>=120&&Mi.length>=120)?new E2(en&&Mi):i}Mi=V[0];var Ni=-1,vr=Tn[0];e:for(;++Ni<mt&&Ii.length<Fn;){var J=Mi[Ni],b=ee?ee(J):J;if(J=Ce||0!==J?J:0,!(vr?Uo(vr,b):Ye(Ii,b,Ce))){for(en=Rt;--en;){var j=Tn[en];if(!(j?Uo(j,b):Ye(V[en],b,Ce)))continue e}vr&&vr.push(b),Ii.push(J)}}return Ii}function Oc(V,ee,Ce){var Ye=null==(V=J1(V,ee=l2(ee,V)))?V:V[H2(Di(ee))];return null==Ye?i:Nt(Ye,V,Ce)}function rd(V){return e1(V)&&ea(V)==Sn}function $c(V,ee,Ce,Ye,mt){return V===ee||(null==V||null==ee||!e1(V)&&!e1(ee)?V!=V&&ee!=ee:function od(V,ee,Ce,Ye,mt,Rt){var en=Lo(V),Tn=Lo(ee),Fn=en?si:Cl(V),Ii=Tn?si:Cl(ee),Mi=(Fn=Fn==Sn?yt:Fn)==yt,Ni=(Ii=Ii==Sn?yt:Ii)==yt,vr=Fn==Ii;if(vr&&xd(V)){if(!xd(ee))return!1;en=!0,Mi=!1}if(vr&&!Mi)return Rt||(Rt=new da),en||Gd(V)?f2(V,ee,Ce,Ye,mt,Rt):function K1(V,ee,Ce,Ye,mt,Rt,en){switch(Ce){case Mn:if(V.byteLength!=ee.byteLength||V.byteOffset!=ee.byteOffset)return!1;V=V.buffer,ee=ee.buffer;case Jn:return!(V.byteLength!=ee.byteLength||!Rt(new Ks(V),new Ks(ee)));case yn:case qn:case pn:return p3(+V,+ee);case Yn:return V.name==ee.name&&V.message==ee.message;case xt:case $t:return V==ee+"";case Mt:var Tn=Rs;case Ht:var Fn=1&Ye;if(Tn||(Tn=jl),V.size!=ee.size&&!Fn)return!1;var Ii=en.get(V);if(Ii)return Ii==ee;Ye|=2,en.set(V,ee);var Mi=f2(Tn(V),Tn(ee),Ye,mt,Rt,en);return en.delete(V),Mi;case Jt:if(Ac)return Ac.call(V)==Ac.call(ee)}return!1}(V,ee,Fn,Ce,Ye,mt,Rt);if(!(1&Ce)){var J=Mi&&Ji.call(V,"__wrapped__"),b=Ni&&Ji.call(ee,"__wrapped__");if(J||b){var j=J?V.value():V,te=b?ee.value():ee;return Rt||(Rt=new da),mt(j,te,Ce,Ye,Rt)}}return!!vr&&(Rt||(Rt=new da),function z2(V,ee,Ce,Ye,mt,Rt){var en=1&Ce,Tn=a4(V),Fn=Tn.length,Mi=a4(ee).length;if(Fn!=Mi&&!en)return!1;for(var Ni=Fn;Ni--;){var vr=Tn[Ni];if(!(en?vr in ee:Ji.call(ee,vr)))return!1}var J=Rt.get(V),b=Rt.get(ee);if(J&&b)return J==ee&&b==V;var j=!0;Rt.set(V,ee),Rt.set(ee,V);for(var te=en;++Ni<Fn;){var fe=V[vr=Tn[Ni]],ue=ee[vr];if(Ye)var je=en?Ye(ue,fe,vr,ee,V,Rt):Ye(fe,ue,vr,V,ee,Rt);if(!(je===i?fe===ue||mt(fe,ue,Ce,Ye,Rt):je)){j=!1;break}te||(te="constructor"==vr)}if(j&&!te){var nt=V.constructor,Un=ee.constructor;nt!=Un&&"constructor"in V&&"constructor"in ee&&!("function"==typeof nt&&nt instanceof nt&&"function"==typeof Un&&Un instanceof Un)&&(j=!1)}return Rt.delete(V),Rt.delete(ee),j}(V,ee,Ce,Ye,mt,Rt))}(V,ee,Ce,Ye,$c,mt))}function O2(V,ee,Ce,Ye){var mt=Ce.length,Rt=mt,en=!Ye;if(null==V)return!Rt;for(V=Ao(V);mt--;){var Tn=Ce[mt];if(en&&Tn[2]?Tn[1]!==V[Tn[0]]:!(Tn[0]in V))return!1}for(;++mt<Rt;){var Fn=(Tn=Ce[mt])[0],Ii=V[Fn],Mi=Tn[1];if(en&&Tn[2]){if(Ii===i&&!(Fn in V))return!1}else{var Ni=new da;if(Ye)var vr=Ye(Ii,Mi,Fn,V,ee,Ni);if(!(vr===i?$c(Mi,Ii,3,Ye,Ni):vr))return!1}}return!0}function Ns(V){return!(!ac(V)||function Bd(V){return!!Zl&&Zl in V}(V))&&(Bc(V)?Yo:mr).test(oc(V))}function it(V){return"function"==typeof V?V:null==V?mc:"object"==typeof V?Lo(V)?fs(V[0],V[1]):Wo(V):Z0(V)}function Lt(V){if(!fd(V))return Zt(V);var ee=[];for(var Ce in Ao(V))Ji.call(V,Ce)&&"constructor"!=Ce&&ee.push(Ce);return ee}function mn(V){if(!ac(V))return function Fd(V){var ee=[];if(null!=V)for(var Ce in Ao(V))ee.push(Ce);return ee}(V);var ee=fd(V),Ce=[];for(var Ye in V)"constructor"==Ye&&(ee||!Ji.call(V,Ye))||Ce.push(Ye);return Ce}function ii(V,ee){return V<ee}function Tr(V,ee){var Ce=-1,Ye=Wd(V)?kn(V.length):[];return ed(V,function(mt,Rt,en){Ye[++Ce]=ee(mt,Rt,en)}),Ye}function Wo(V){var ee=l4(V);return 1==ee.length&&ee[0][2]?X1(ee[0][0],ee[0][1]):function(Ce){return Ce===V||O2(Ce,V,ee)}}function fs(V,ee){return Sc(V)&&Zc(ee)?X1(H2(V),ee):function(Ce){var Ye=e0(Ce,V);return Ye===i&&Ye===ee?Wu(Ce,V):$c(ee,Ye,3)}}function ta(V,ee,Ce,Ye,mt){V!==ee&&Au(ee,function(Rt,en){if(mt||(mt=new da),ac(Rt))!function os(V,ee,Ce,Ye,mt,Rt,en){var Tn=l3(V,Ce),Fn=l3(ee,Ce),Ii=en.get(Fn);if(Ii)return void U1(V,Ce,Ii);var Mi=Rt?Rt(Tn,Fn,Ce+"",V,ee,en):i,Ni=Mi===i;if(Ni){var vr=Lo(Fn),J=!vr&&xd(Fn),b=!vr&&!J&&Gd(Fn);Mi=Fn,vr||J||b?Lo(Tn)?Mi=Tn:Lc(Tn)?Mi=wa(Tn):J?(Ni=!1,Mi=Ru(Fn,!0)):b?(Ni=!1,Mi=Hs(Fn,!0)):Mi=[]:Uu(Fn)||g3(Fn)?(Mi=Tn,g3(Tn)?Mi=N0(Tn):(!ac(Tn)||Bc(Tn))&&(Mi=Hd(Fn))):Ni=!1}Ni&&(en.set(Fn,Mi),mt(Mi,Fn,Ye,Rt,en),en.delete(Fn)),U1(V,Ce,Mi)}(V,ee,en,Ce,ta,Ye,mt);else{var Tn=Ye?Ye(l3(V,en),Rt,en+"",V,ee,mt):i;Tn===i&&(Tn=Rt),U1(V,en,Tn)}},$a)}function Vs(V,ee){var Ce=V.length;if(Ce)return fc(ee+=ee<0?Ce:0,Ce)?V[ee]:i}function i4(V,ee,Ce){ee=ee.length?En(ee,function(Rt){return Lo(Rt)?function(en){return As(en,1===Rt.length?Rt[0]:Rt)}:Rt}):[mc];var Ye=-1;return ee=En(ee,Ro(go())),function La(un,Wn){var kn=un.length;for(un.sort(Wn);kn--;)un[kn]=un[kn].value;return un}(Tr(V,function(Rt,en,Tn){return{criteria:En(ee,function(Ii){return Ii(Rt)}),index:++Ye,value:Rt}}),function(Rt,en){return function jr(V,ee,Ce){for(var Ye=-1,mt=V.criteria,Rt=ee.criteria,en=mt.length,Tn=Ce.length;++Ye<en;){var Fn=hc(mt[Ye],Rt[Ye]);if(Fn)return Ye>=Tn?Fn:Fn*("desc"==Ce[Ye]?-1:1)}return V.index-ee.index}(Rt,en,Ce)})}function lp(V,ee,Ce){for(var Ye=-1,mt=ee.length,Rt={};++Ye<mt;){var en=ee[Ye],Tn=As(V,en);Ce(Tn,en)&&o4(Rt,l2(en,V),Tn)}return Rt}function cp(V,ee,Ce,Ye){var mt=Ye?$l:io,Rt=-1,en=ee.length,Tn=V;for(V===ee&&(ee=wa(ee)),Ce&&(Tn=En(V,Ro(Ce)));++Rt<en;)for(var Fn=0,Ii=ee[Rt],Mi=Ce?Ce(Ii):Ii;(Fn=mt(Tn,Mi,Fn,Ye))>-1;)Tn!==V&&ae.call(Tn,Fn,1),ae.call(V,Fn,1);return V}function Ou(V,ee){for(var Ce=V?ee.length:0,Ye=Ce-1;Ce--;){var mt=ee[Ce];if(Ce==Ye||mt!==Rt){var Rt=mt;fc(mt)?ae.call(V,mt,1):a2(V,mt)}}return V}function Pu(V,ee){return V+K(Wr()*(ee-V+1))}function Ih(V,ee){var Ce="";if(!V||ee<1||ee>Xt)return Ce;do{ee%2&&(Ce+=V),(ee=K(ee/2))&&(V+=V)}while(ee);return Ce}function Zs(V,ee){return Ga(pd(V,ee,mc),V+"")}function Vp(V){return ou(qh(V))}function xf(V,ee){var Ce=qh(V);return Xc(Ce,Ya(ee,0,Ce.length))}function o4(V,ee,Ce,Ye){if(!ac(V))return V;for(var mt=-1,Rt=(ee=l2(ee,V)).length,en=Rt-1,Tn=V;null!=Tn&&++mt<Rt;){var Fn=H2(ee[mt]),Ii=Ce;if("__proto__"===Fn||"constructor"===Fn||"prototype"===Fn)return V;if(mt!=en){var Mi=Tn[Fn];(Ii=Ye?Ye(Mi,Fn,Tn):i)===i&&(Ii=ac(Mi)?Mi:fc(ee[mt+1])?[]:{})}Il(Tn,Fn,Ii),Tn=Tn[Fn]}return V}var Ah=xc?function(V,ee){return xc.set(V,ee),V}:mc,zu=bt?function(V,ee){return bt(V,"toString",{configurable:!0,enumerable:!1,value:Cd(ee),writable:!0})}:mc;function n3(V){return Xc(qh(V))}function zc(V,ee,Ce){var Ye=-1,mt=V.length;ee<0&&(ee=-ee>mt?0:mt+ee),(Ce=Ce>mt?mt:Ce)<0&&(Ce+=mt),mt=ee>Ce?0:Ce-ee>>>0,ee>>>=0;for(var Rt=kn(mt);++Ye<mt;)Rt[Ye]=V[Ye+ee];return Rt}function i3(V,ee){var Ce;return ed(V,function(Ye,mt,Rt){return!(Ce=ee(Ye,mt,Rt))}),!!Ce}function I3(V,ee,Ce){var Ye=0,mt=null==V?Ye:V.length;if("number"==typeof ee&&ee==ee&&mt<=2147483647){for(;Ye<mt;){var Rt=Ye+mt>>>1,en=V[Rt];null!==en&&!Yu(en)&&(Ce?en<=ee:en<ee)?Ye=Rt+1:mt=Rt}return mt}return sd(V,ee,mc,Ce)}function sd(V,ee,Ce,Ye){var mt=0,Rt=null==V?0:V.length;if(0===Rt)return 0;for(var en=(ee=Ce(ee))!=ee,Tn=null===ee,Fn=Yu(ee),Ii=ee===i;mt<Rt;){var Mi=K((mt+Rt)/2),Ni=Ce(V[Mi]),vr=Ni!==i,J=null===Ni,b=Ni==Ni,j=Yu(Ni);if(en)var te=Ye||b;else te=Ii?b&&(Ye||vr):Tn?b&&vr&&(Ye||!J):Fn?b&&vr&&!J&&(Ye||!j):!J&&!j&&(Ye?Ni<=ee:Ni<ee);te?mt=Mi+1:Rt=Mi}return Rn(Rt,4294967294)}function s2(V,ee){for(var Ce=-1,Ye=V.length,mt=0,Rt=[];++Ce<Ye;){var en=V[Ce],Tn=ee?ee(en):en;if(!Ce||!p3(Tn,Fn)){var Fn=Tn;Rt[mt++]=0===en?0:en}}return Rt}function tc(V){return"number"==typeof V?V:Yu(V)?NaN:+V}function ua(V){if("string"==typeof V)return V;if(Lo(V))return En(V,ua)+"";if(Yu(V))return C1?C1.call(V):"";var ee=V+"";return"0"==ee&&1/V==-rn?"-0":ee}function xa(V,ee,Ce){var Ye=-1,mt=zt,Rt=V.length,en=!0,Tn=[],Fn=Tn;if(Ce)en=!1,mt=Dt;else if(Rt>=200){var Ii=ee?null:m1(V);if(Ii)return jl(Ii);en=!1,mt=Uo,Fn=new E2}else Fn=ee?[]:Tn;e:for(;++Ye<Rt;){var Mi=V[Ye],Ni=ee?ee(Mi):Mi;if(Mi=Ce||0!==Mi?Mi:0,en&&Ni==Ni){for(var vr=Fn.length;vr--;)if(Fn[vr]===Ni)continue e;ee&&Fn.push(Ni),Tn.push(Mi)}else mt(Fn,Ni,Ce)||(Fn!==Tn&&Fn.push(Ni),Tn.push(Mi))}return Tn}function a2(V,ee){return null==(V=J1(V,ee=l2(ee,V)))||delete V[H2(Di(ee))]}function za(V,ee,Ce,Ye){return o4(V,ee,Ce(As(V,ee)),Ye)}function ad(V,ee,Ce,Ye){for(var mt=V.length,Rt=Ye?mt:-1;(Ye?Rt--:++Rt<mt)&&ee(V[Rt],Rt,V););return Ce?zc(V,Ye?0:Rt,Ye?Rt+1:mt):zc(V,Ye?Rt+1:0,Ye?mt:Rt)}function P2(V,ee){var Ce=V;return Ce instanceof hs&&(Ce=Ce.value()),Ei(ee,function(Ye,mt){return mt.func.apply(mt.thisArg,ci([Ye],mt.args))},Ce)}function G1(V,ee,Ce){var Ye=V.length;if(Ye<2)return Ye?xa(V[0]):[];for(var mt=-1,Rt=kn(Ye);++mt<Ye;)for(var en=V[mt],Tn=-1;++Tn<Ye;)Tn!=mt&&(Rt[mt]=Iu(Rt[mt]||en,V[Tn],ee,Ce));return xa(Wa(Rt,1),ee,Ce)}function Id(V,ee,Ce){for(var Ye=-1,mt=V.length,Rt=ee.length,en={};++Ye<mt;){var Tn=Ye<Rt?ee[Ye]:i;Ce(en,V[Ye],Tn)}return en}function nc(V){return Lc(V)?V:[]}function k1(V){return"function"==typeof V?V:mc}function l2(V,ee){return Lo(V)?V:Sc(V,ee)?[V]:Fu(Ma(V))}var L1=Zs;function Al(V,ee,Ce){var Ye=V.length;return Ce=Ce===i?Ye:Ce,!ee&&Ce>=Ye?V:zc(V,ee,Ce)}var ic=Tt||function(V){return Pr.clearTimeout(V)};function Ru(V,ee){if(ee)return V.slice();var Ce=V.length,Ye=nn?nn(Ce):new V.constructor(Ce);return V.copy(Ye),Ye}function Ol(V){var ee=new V.constructor(V.byteLength);return new Ks(ee).set(new Ks(V)),ee}function Hs(V,ee){var Ce=ee?Ol(V.buffer):V.buffer;return new V.constructor(Ce,V.byteOffset,V.length)}function hc(V,ee){if(V!==ee){var Ce=V!==i,Ye=null===V,mt=V==V,Rt=Yu(V),en=ee!==i,Tn=null===ee,Fn=ee==ee,Ii=Yu(ee);if(!Tn&&!Ii&&!Rt&&V>ee||Rt&&en&&Fn&&!Tn&&!Ii||Ye&&en&&Fn||!Ce&&Fn||!mt)return 1;if(!Ye&&!Rt&&!Ii&&V<ee||Ii&&Ce&&mt&&!Ye&&!Rt||Tn&&Ce&&mt||!en&&mt||!Fn)return-1}return 0}function yl(V,ee,Ce,Ye){for(var mt=-1,Rt=V.length,en=Ce.length,Tn=-1,Fn=ee.length,Ii=wn(Rt-en,0),Mi=kn(Fn+Ii),Ni=!Ye;++Tn<Fn;)Mi[Tn]=ee[Tn];for(;++mt<en;)(Ni||mt<Rt)&&(Mi[Ce[mt]]=V[mt]);for(;Ii--;)Mi[Tn++]=V[mt++];return Mi}function r3(V,ee,Ce,Ye){for(var mt=-1,Rt=V.length,en=-1,Tn=Ce.length,Fn=-1,Ii=ee.length,Mi=wn(Rt-Tn,0),Ni=kn(Mi+Ii),vr=!Ye;++mt<Mi;)Ni[mt]=V[mt];for(var J=mt;++Fn<Ii;)Ni[J+Fn]=ee[Fn];for(;++en<Tn;)(vr||mt<Rt)&&(Ni[J+Ce[en]]=V[mt++]);return Ni}function wa(V,ee){var Ce=-1,Ye=V.length;for(ee||(ee=kn(Ye));++Ce<Ye;)ee[Ce]=V[Ce];return ee}function cl(V,ee,Ce,Ye){var mt=!Ce;Ce||(Ce={});for(var Rt=-1,en=ee.length;++Rt<en;){var Tn=ee[Rt],Fn=Ye?Ye(Ce[Tn],V[Tn],Tn,Ce,V):i;Fn===i&&(Fn=V[Tn]),mt?Ql(Ce,Tn,Fn):Il(Ce,Tn,Fn)}return Ce}function Rc(V,ee){return function(Ce,Ye){var mt=Lo(Ce)?Cn:Y1,Rt=ee?ee():{};return mt(Ce,V,go(Ye,2),Rt)}}function q1(V){return Zs(function(ee,Ce){var Ye=-1,mt=Ce.length,Rt=mt>1?Ce[mt-1]:i,en=mt>2?Ce[2]:i;for(Rt=V.length>3&&"function"==typeof Rt?(mt--,Rt):i,en&&wl(Ce[0],Ce[1],en)&&(Rt=mt<3?i:Rt,mt=1),ee=Ao(ee);++Ye<mt;){var Tn=Ce[Ye];Tn&&V(ee,Tn,Ye,Rt)}return ee})}function ld(V,ee){return function(Ce,Ye){if(null==Ce)return Ce;if(!Wd(Ce))return V(Ce,Ye);for(var mt=Ce.length,Rt=ee?mt:-1,en=Ao(Ce);(ee?Rt--:++Rt<mt)&&!1!==Ye(en[Rt],Rt,en););return Ce}}function du(V){return function(ee,Ce,Ye){for(var mt=-1,Rt=Ao(ee),en=Ye(ee),Tn=en.length;Tn--;){var Fn=en[V?Tn:++mt];if(!1===Ce(Rt[Fn],Fn,Rt))break}return ee}}function A3(V){return function(ee){var Ce=Da(ee=Ma(ee))?Ie(ee):i,Ye=Ce?Ce[0]:ee.charAt(0),mt=Ce?Al(Ce,1).join(""):ee.slice(1);return Ye[V]()+mt}}function $1(V){return function(ee){return Ei(t1(M4(ee).replace(Be,"")),V,"")}}function E1(V){return function(){var ee=arguments;switch(ee.length){case 0:return new V;case 1:return new V(ee[0]);case 2:return new V(ee[0],ee[1]);case 3:return new V(ee[0],ee[1],ee[2]);case 4:return new V(ee[0],ee[1],ee[2],ee[3]);case 5:return new V(ee[0],ee[1],ee[2],ee[3],ee[4]);case 6:return new V(ee[0],ee[1],ee[2],ee[3],ee[4],ee[5]);case 7:return new V(ee[0],ee[1],ee[2],ee[3],ee[4],ee[5],ee[6])}var Ce=Jl(V.prototype),Ye=V.apply(Ce,ee);return ac(Ye)?Ye:Ce}}function o3(V){return function(ee,Ce,Ye){var mt=Ao(ee);if(!Wd(ee)){var Rt=go(Ce,3);ee=gc(ee),Ce=function(Tn){return Rt(mt[Tn],Tn,mt)}}var en=V(ee,Ce,Ye);return en>-1?mt[Rt?ee[en]:en]:i}}function W4(V){return rc(function(ee){var Ce=ee.length,Ye=Ce,mt=to.prototype.thru;for(V&&ee.reverse();Ye--;){var Rt=ee[Ye];if("function"!=typeof Rt)throw new Fa(o);if(mt&&!en&&"wrapper"==Pd(Rt))var en=new to([],!0)}for(Ye=en?Ye:Ce;++Ye<Ce;){var Tn=Pd(Rt=ee[Ye]),Fn="wrapper"==Tn?Z1(Rt):i;en=Fn&&a3(Fn[0])&&424==Fn[1]&&!Fn[4].length&&1==Fn[9]?en[Pd(Fn[0])].apply(en,Fn[3]):1==Rt.length&&a3(Rt)?en[Tn]():en.thru(Rt)}return function(){var Ii=arguments,Mi=Ii[0];if(en&&1==Ii.length&&Lo(Mi))return en.plant(Mi).value();for(var Ni=0,vr=Ce?ee[Ni].apply(this,Ii):Mi;++Ni<Ce;)vr=ee[Ni].call(this,vr);return vr}})}function G4(V,ee,Ce,Ye,mt,Rt,en,Tn,Fn,Ii){var Mi=ee&W,Ni=1&ee,vr=2&ee,J=24&ee,b=512&ee,j=vr?i:E1(V);return function te(){for(var fe=arguments.length,ue=kn(fe),je=fe;je--;)ue[je]=arguments[je];if(J)var nt=zd(te),Un=Ls(ue,nt);if(Ye&&(ue=yl(ue,Ye,mt,J)),Rt&&(ue=r3(ue,Rt,en,J)),fe-=Un,J&&fe<Ii){var ei=oa(ue,nt);return uu(V,ee,G4,te.placeholder,Ce,ue,ei,Tn,Fn,Ii-fe)}var vi=Ni?Ce:this,Gi=vr?vi[V]:V;return fe=ue.length,Tn?ue=g2(ue,Tn):b&&fe>1&&ue.reverse(),Mi&&Fn<fe&&(ue.length=Fn),this&&this!==Pr&&this instanceof te&&(Gi=j||E1(Gi)),Gi.apply(vi,ue)}}function cd(V,ee){return function(Ce,Ye){return function o2(V,ee,Ce,Ye){return Vl(V,function(mt,Rt,en){ee(Ye,Ce(mt),Rt,en)}),Ye}(Ce,V,ee(Ye),{})}}function dd(V,ee){return function(Ce,Ye){var mt;if(Ce===i&&Ye===i)return ee;if(Ce!==i&&(mt=Ce),Ye!==i){if(mt===i)return Ye;"string"==typeof Ce||"string"==typeof Ye?(Ce=ua(Ce),Ye=ua(Ye)):(Ce=tc(Ce),Ye=tc(Ye)),mt=V(Ce,Ye)}return mt}}function D1(V){return rc(function(ee){return ee=En(ee,Ro(go())),Zs(function(Ce){var Ye=this;return V(ee,function(mt){return Nt(mt,Ye,Ce)})})})}function c2(V,ee){var Ce=(ee=ee===i?" ":ua(ee)).length;if(Ce<2)return Ce?Ih(ee,V):ee;var Ye=Ih(ee,D(V/jt(ee)));return Da(ee)?Al(Ie(Ye),0,V).join(""):Ye.slice(0,V)}function O3(V){return function(ee,Ce,Ye){return Ye&&"number"!=typeof Ye&&wl(ee,Ce,Ye)&&(Ce=Ye=i),ee=yu(ee),Ce===i?(Ce=ee,ee=0):Ce=yu(Ce),function yf(V,ee,Ce,Ye){for(var mt=-1,Rt=wn(D((ee-V)/(Ce||1)),0),en=kn(Rt);Rt--;)en[Ye?Rt:++mt]=V,V+=Ce;return en}(ee,Ce,Ye=Ye===i?ee<Ce?1:-1:yu(Ye),V)}}function Kc(V){return function(ee,Ce){return"string"==typeof ee&&"string"==typeof Ce||(ee=_s(ee),Ce=_s(Ce)),V(ee,Ce)}}function uu(V,ee,Ce,Ye,mt,Rt,en,Tn,Fn,Ii){var Mi=8&ee;ee|=Mi?U:X,4&(ee&=~(Mi?X:U))||(ee&=-4);var j=[V,ee,mt,Mi?Rt:i,Mi?en:i,Mi?i:Rt,Mi?i:en,Tn,Fn,Ii],te=Ce.apply(i,j);return a3(V)&&R2(te,j),te.placeholder=Ye,N2(te,V,ee)}function hu(V){var ee=eo[V];return function(Ce,Ye){if(Ce=_s(Ce),(Ye=null==Ye?0:Rn(Js(Ye),292))&&We(Ce)){var mt=(Ma(Ce)+"e").split("e");return+((mt=(Ma(ee(mt[0]+"e"+(+mt[1]+Ye)))+"e").split("e"))[0]+"e"+(+mt[1]-Ye))}return ee(Ce)}}var m1=ga&&1/jl(new ga([,-0]))[1]==rn?function(V){return new ga(V)}:Y3;function d2(V){return function(ee){var Ce=Cl(ee);return Ce==Mt?Rs(ee):Ce==Ht?function Ia(un){var Wn=-1,kn=Array(un.size);return un.forEach(function(Wi){kn[++Wn]=[Wi,Wi]}),kn}(ee):function ja(un,Wn){return En(Wn,function(kn){return[kn,un[kn]]})}(ee,V(ee))}}function No(V,ee,Ce,Ye,mt,Rt,en,Tn){var Fn=2&ee;if(!Fn&&"function"!=typeof V)throw new Fa(o);var Ii=Ye?Ye.length:0;if(Ii||(ee&=-97,Ye=mt=i),en=en===i?en:wn(Js(en),0),Tn=Tn===i?Tn:Js(Tn),Ii-=mt?mt.length:0,ee&X){var Mi=Ye,Ni=mt;Ye=mt=i}var vr=Fn?i:Z1(V),J=[V,ee,Ce,Ye,mt,Mi,Ni,Rt,en,Tn];if(vr&&function q4(V,ee){var Ce=V[1],Ye=ee[1],mt=Ce|Ye,Rt=mt<131,en=Ye==W&&8==Ce||Ye==W&&256==Ce&&V[7].length<=ee[8]||384==Ye&&ee[7].length<=ee[8]&&8==Ce;if(!Rt&&!en)return V;1&Ye&&(V[2]=ee[2],mt|=1&Ce?0:4);var Tn=ee[3];if(Tn){var Fn=V[3];V[3]=Fn?yl(Fn,Tn,ee[4]):Tn,V[4]=Fn?oa(V[3],x):ee[4]}return(Tn=ee[5])&&(Fn=V[5],V[5]=Fn?r3(Fn,Tn,ee[6]):Tn,V[6]=Fn?oa(V[5],x):ee[6]),(Tn=ee[7])&&(V[7]=Tn),Ye&W&&(V[8]=null==V[8]?ee[8]:Rn(V[8],ee[8])),null==V[9]&&(V[9]=ee[9]),V[0]=ee[0],V[1]=mt,V}(J,vr),V=J[0],ee=J[1],Ce=J[2],Ye=J[3],mt=J[4],!(Tn=J[9]=J[9]===i?Fn?0:V.length:wn(J[9]-Ii,0))&&24&ee&&(ee&=-25),ee&&1!=ee)b=8==ee||ee==H?function Ul(V,ee,Ce){var Ye=E1(V);return function mt(){for(var Rt=arguments.length,en=kn(Rt),Tn=Rt,Fn=zd(mt);Tn--;)en[Tn]=arguments[Tn];var Ii=Rt<3&&en[0]!==Fn&&en[Rt-1]!==Fn?[]:oa(en,Fn);return(Rt-=Ii.length)<Ce?uu(V,ee,G4,mt.placeholder,i,en,Ii,i,i,Ce-Rt):Nt(this&&this!==Pr&&this instanceof mt?Ye:V,this,en)}}(V,ee,Tn):ee!=U&&33!=ee||mt.length?G4.apply(i,J):function s4(V,ee,Ce,Ye){var mt=1&ee,Rt=E1(V);return function en(){for(var Tn=-1,Fn=arguments.length,Ii=-1,Mi=Ye.length,Ni=kn(Mi+Fn),vr=this&&this!==Pr&&this instanceof en?Rt:V;++Ii<Mi;)Ni[Ii]=Ye[Ii];for(;Fn--;)Ni[Ii++]=arguments[++Tn];return Nt(vr,mt?Ce:this,Ni)}}(V,ee,Ce,Ye);else var b=function Hu(V,ee,Ce){var Ye=1&ee,mt=E1(V);return function Rt(){return(this&&this!==Pr&&this instanceof Rt?mt:V).apply(Ye?Ce:this,arguments)}}(V,ee,Ce);return N2((vr?Ah:R2)(b,J),V,ee)}function u2(V,ee,Ce,Ye){return V===i||p3(V,ol[Ce])&&!Ji.call(Ye,Ce)?ee:V}function h2(V,ee,Ce,Ye,mt,Rt){return ac(V)&&ac(ee)&&(Rt.set(ee,V),ta(V,ee,i,h2,Rt),Rt.delete(ee)),V}function Xs(V){return Uu(V)?i:V}function f2(V,ee,Ce,Ye,mt,Rt){var en=1&Ce,Tn=V.length,Fn=ee.length;if(Tn!=Fn&&!(en&&Fn>Tn))return!1;var Ii=Rt.get(V),Mi=Rt.get(ee);if(Ii&&Mi)return Ii==ee&&Mi==V;var Ni=-1,vr=!0,J=2&Ce?new E2:i;for(Rt.set(V,ee),Rt.set(ee,V);++Ni<Tn;){var b=V[Ni],j=ee[Ni];if(Ye)var te=en?Ye(j,b,Ni,ee,V,Rt):Ye(b,j,Ni,V,ee,Rt);if(te!==i){if(te)continue;vr=!1;break}if(J){if(!ft(ee,function(fe,ue){if(!Uo(J,ue)&&(b===fe||mt(b,fe,Ce,Ye,Rt)))return J.push(ue)})){vr=!1;break}}else if(b!==j&&!mt(b,j,Ce,Ye,Rt)){vr=!1;break}}return Rt.delete(V),Rt.delete(ee),vr}function rc(V){return Ga(pd(V,i,ie),V+"")}function a4(V){return ms(V,gc,Bu)}function xl(V){return ms(V,$a,Nd)}var Z1=xc?function(V){return xc.get(V)}:Y3;function Pd(V){for(var ee=V.name+"",Ce=uc[ee],Ye=Ji.call(uc,ee)?Ce.length:0;Ye--;){var mt=Ce[Ye],Rt=mt.func;if(null==Rt||Rt==V)return mt.name}return ee}function zd(V){return(Ji.call(kt,"placeholder")?kt:V).placeholder}function go(){var V=kt.iteratee||S4;return V=V===S4?it:V,arguments.length?V(arguments[0],arguments[1]):V}function s3(V,ee){var Ce=V.__data__;return function I1(V){var ee=typeof V;return"string"==ee||"number"==ee||"symbol"==ee||"boolean"==ee?"__proto__"!==V:null===V}(ee)?Ce["string"==typeof ee?"string":"hash"]:Ce.map}function l4(V){for(var ee=gc(V),Ce=ee.length;Ce--;){var Ye=ee[Ce],mt=V[Ye];ee[Ce]=[Ye,mt,Zc(mt)]}return ee}function Rd(V,ee){var Ce=function vl(un,Wn){return null==un?i:un[Wn]}(V,ee);return Ns(Ce)?Ce:i}var Bu=he?function(V){return null==V?[]:(V=Ao(V),pt(he(V),function(ee){return ge.call(V,ee)}))}:o0,Nd=he?function(V){for(var ee=[];V;)ci(ee,Bu(V)),V=Me(V);return ee}:o0,Cl=ea;function hd(V,ee,Ce){for(var Ye=-1,mt=(ee=l2(ee,V)).length,Rt=!1;++Ye<mt;){var en=H2(ee[Ye]);if(!(Rt=null!=V&&Ce(V,en)))break;V=V[en]}return Rt||++Ye!=mt?Rt:!!(mt=null==V?0:V.length)&&If(mt)&&fc(en,mt)&&(Lo(V)||g3(V))}function Hd(V){return"function"!=typeof V.constructor||fd(V)?{}:Jl(Me(V))}function ju(V){return Lo(V)||g3(V)||!!(xe&&V&&V[xe])}function fc(V,ee){var Ce=typeof V;return!!(ee=null==ee?Xt:ee)&&("number"==Ce||"symbol"!=Ce&&Cr.test(V))&&V>-1&&V%1==0&&V<ee}function wl(V,ee,Ce){if(!ac(Ce))return!1;var Ye=typeof ee;return!!("number"==Ye?Wd(Ce)&&fc(ee,Ce.length):"string"==Ye&&ee in Ce)&&p3(Ce[ee],V)}function Sc(V,ee){if(Lo(V))return!1;var Ce=typeof V;return!("number"!=Ce&&"symbol"!=Ce&&"boolean"!=Ce&&null!=V&&!Yu(V))||(uo.test(V)||!Xr.test(V)||null!=ee&&V in Ao(ee))}function a3(V){var ee=Pd(V),Ce=kt[ee];if("function"!=typeof Ce||!(ee in hs.prototype))return!1;if(V===Ce)return!0;var Ye=Z1(Ce);return!!Ye&&V===Ye[0]}(Aa&&Cl(new Aa(new ArrayBuffer(1)))!=Mn||sl&&Cl(new sl)!=Mt||Xl&&Cl(Xl.resolve())!=Je||ga&&Cl(new ga)!=Ht||h1&&Cl(new h1)!=Ft)&&(Cl=function(V){var ee=ea(V),Ce=ee==yt?V.constructor:i,Ye=Ce?oc(Ce):"";if(Ye)switch(Ye){case kd:return Mn;case K2:return Mt;case n2:return Je;case Ds:return Ht;case f1:return Ft}return ee});var p2=dc?Bc:yp;function fd(V){var ee=V&&V.constructor;return V===("function"==typeof ee&&ee.prototype||ol)}function Zc(V){return V==V&&!ac(V)}function X1(V,ee){return function(Ce){return null!=Ce&&(Ce[V]===ee&&(ee!==i||V in Ao(Ce)))}}function pd(V,ee,Ce){return ee=wn(ee===i?V.length-1:ee,0),function(){for(var Ye=arguments,mt=-1,Rt=wn(Ye.length-ee,0),en=kn(Rt);++mt<Rt;)en[mt]=Ye[ee+mt];mt=-1;for(var Tn=kn(ee+1);++mt<ee;)Tn[mt]=Ye[mt];return Tn[ee]=Ce(en),Nt(V,this,Tn)}}function J1(V,ee){return ee.length<2?V:As(V,zc(ee,0,-1))}function g2(V,ee){for(var Ce=V.length,Ye=Rn(ee.length,Ce),mt=wa(V);Ye--;){var Rt=ee[Ye];V[Ye]=fc(Rt,Ce)?mt[Rt]:i}return V}function l3(V,ee){if(("constructor"!==ee||"function"!=typeof V[ee])&&"__proto__"!=ee)return V[ee]}var R2=pu(Ah),O1=yi||function(V,ee){return Pr.setTimeout(V,ee)},Ga=pu(zu);function N2(V,ee,Ce){var Ye=ee+"";return Ga(V,function Yl(V,ee){var Ce=ee.length;if(!Ce)return V;var Ye=Ce-1;return ee[Ye]=(Ce>1?"& ":"")+ee[Ye],ee=ee.join(Ce>2?", ":" "),V.replace(di,"{\n/* [wrapped with "+ee+"] */\n")}(Ye,function B2(V,ee){return ze(dn,function(Ce){var Ye="_."+Ce[0];ee&Ce[1]&&!zt(V,Ye)&&V.push(Ye)}),V.sort()}(function ud(V){var ee=V.match($i);return ee?ee[1].split(Fi):[]}(Ye),Ce)))}function pu(V){var ee=0,Ce=0;return function(){var Ye=Si(),mt=16-(Ye-Ce);if(Ce=Ye,mt>0){if(++ee>=800)return arguments[0]}else ee=0;return V.apply(i,arguments)}}function Xc(V,ee){var Ce=-1,Ye=V.length,mt=Ye-1;for(ee=ee===i?Ye:ee;++Ce<ee;){var Rt=Pu(Ce,mt),en=V[Rt];V[Rt]=V[Ce],V[Ce]=en}return V.length=ee,V}var Fu=function jd(V){var ee=R3(V,function(Ye){return 500===Ce.size&&Ce.clear(),Ye}),Ce=ee.cache;return ee}(function(V){var ee=[];return 46===V.charCodeAt(0)&&ee.push(""),V.replace(fa,function(Ce,Ye,mt,Rt){ee.push(mt?Rt.replace(Jr,"$1"):Ye||Ce)}),ee});function H2(V){if("string"==typeof V||Yu(V))return V;var ee=V+"";return"0"==ee&&1/V==-rn?"-0":ee}function oc(V){if(null!=V){try{return Hr.call(V)}catch(ee){}try{return V+""}catch(ee){}}return""}function gu(V){if(V instanceof hs)return V.clone();var ee=new to(V.__wrapped__,V.__chain__);return ee.__actions__=wa(V.__actions__),ee.__index__=V.__index__,ee.__values__=V.__values__,ee}var P1=Zs(function(V,ee){return Lc(V)?Iu(V,Wa(ee,1,Lc,!0)):[]}),_d=Zs(function(V,ee){var Ce=Di(ee);return Lc(Ce)&&(Ce=i),Lc(V)?Iu(V,Wa(ee,1,Lc,!0),go(Ce,2)):[]}),c4=Zs(function(V,ee){var Ce=Di(ee);return Lc(Ce)&&(Ce=i),Lc(V)?Iu(V,Wa(ee,1,Lc,!0),i,Ce):[]});function d4(V,ee,Ce){var Ye=null==V?0:V.length;if(!Ye)return-1;var mt=null==Ce?0:Js(Ce);return mt<0&&(mt=wn(Ye+mt,0)),zr(V,go(ee,3),mt)}function bd(V,ee,Ce){var Ye=null==V?0:V.length;if(!Ye)return-1;var mt=Ye-1;return Ce!==i&&(mt=Js(Ce),mt=Ce<0?wn(Ye+mt,0):Rn(mt,Ye-1)),zr(V,go(ee,3),mt,!0)}function ie(V){return(null==V?0:V.length)?Wa(V,1):[]}function Re(V){return V&&V.length?V[0]:i}var Qt=Zs(function(V){var ee=En(V,nc);return ee.length&&ee[0]===V[0]?Mc(ee):[]}),sn=Zs(function(V){var ee=Di(V),Ce=En(V,nc);return ee===Di(Ce)?ee=i:Ce.pop(),Ce.length&&Ce[0]===V[0]?Mc(Ce,go(ee,2)):[]}),Vn=Zs(function(V){var ee=Di(V),Ce=En(V,nc);return(ee="function"==typeof ee?ee:i)&&Ce.pop(),Ce.length&&Ce[0]===V[0]?Mc(Ce,i,ee):[]});function Di(V){var ee=null==V?0:V.length;return ee?V[ee-1]:i}var Co=Zs(Kr);function Kr(V,ee){return V&&V.length&&ee&&ee.length?cp(V,ee):V}var Bo=rc(function(V,ee){var Ce=null==V?0:V.length,Ye=Dd(V,ee);return Ou(V,En(ee,function(mt){return fc(mt,Ce)?+mt:mt}).sort(hc)),Ye});function ss(V){return null==V?V:po.call(V)}var u4=Zs(function(V){return xa(Wa(V,1,Lc,!0))}),mu=Zs(function(V){var ee=Di(V);return Lc(ee)&&(ee=i),xa(Wa(V,1,Lc,!0),go(ee,2))}),Qc=Zs(function(V){var ee=Di(V);return ee="function"==typeof ee?ee:i,xa(Wa(V,1,Lc,!0),i,ee)});function sc(V){if(!V||!V.length)return[];var ee=0;return V=pt(V,function(Ce){if(Lc(Ce))return ee=wn(Ce.length,ee),!0}),Na(ee,function(Ce){return En(V,Bl(Ce))})}function kc(V,ee){if(!V||!V.length)return[];var Ce=sc(V);return null==ee?Ce:En(Ce,function(Ye){return Nt(ee,i,Ye)})}var K4=Zs(function(V,ee){return Lc(V)?Iu(V,ee):[]}),yd=Zs(function(V){return G1(pt(V,Lc))}),f4=Zs(function(V){var ee=Di(V);return Lc(ee)&&(ee=i),G1(pt(V,Lc),go(ee,2))}),Up=Zs(function(V){var ee=Di(V);return ee="function"==typeof ee?ee:i,G1(pt(V,Lc),i,ee)}),Yp=Zs(sc);var pc=Zs(function(V){var ee=V.length,Ce=ee>1?V[ee-1]:i;return Ce="function"==typeof Ce?(V.pop(),Ce):i,kc(V,Ce)});function c3(V){var ee=kt(V);return ee.__chain__=!0,ee}function Z4(V,ee){return ee(V)}var Yd=rc(function(V){var ee=V.length,Ce=ee?V[0]:0,Ye=this.__wrapped__,mt=function(Rt){return Dd(Rt,V)};return!(ee>1||this.__actions__.length)&&Ye instanceof hs&&fc(Ce)?((Ye=Ye.slice(Ce,+Ce+(ee?1:0))).__actions__.push({func:Z4,args:[mt],thisArg:i}),new to(Ye,this.__chain__).thru(function(Rt){return ee&&!Rt.length&&Rt.push(i),Rt})):this.thru(mt)});var up=Rc(function(V,ee,Ce){Ji.call(V,Ce)?++V[Ce]:Ql(V,Ce,1)});var J4=o3(d4),um=o3(bd);function k6(V,ee){return(Lo(V)?ze:ed)(V,go(ee,3))}function gg(V,ee){return(Lo(V)?ke:Ja)(V,go(ee,3))}var mg=Rc(function(V,ee,Ce){Ji.call(V,Ce)?V[Ce].push(ee):Ql(V,Ce,[ee])});var hp=Zs(function(V,ee,Ce){var Ye=-1,mt="function"==typeof ee,Rt=Wd(V)?kn(V.length):[];return ed(V,function(en){Rt[++Ye]=mt?Nt(ee,en,Ce):Oc(en,ee,Ce)}),Rt}),Vu=Rc(function(V,ee,Ce){Ql(V,Ce,ee)});function u3(V,ee){return(Lo(V)?En:Tr)(V,go(ee,3))}var _g=Rc(function(V,ee,Ce){V[Ce?0:1].push(ee)},function(){return[[],[]]});var $p=Zs(function(V,ee){if(null==V)return[];var Ce=ee.length;return Ce>1&&wl(V,ee[0],ee[1])?ee=[]:Ce>2&&wl(ee[0],ee[1],ee[2])&&(ee=[ee[0]]),i4(V,Wa(ee,1),[])}),Tf=gn||function(){return Pr.Date.now()};function zh(V,ee,Ce){return ee=Ce?i:ee,ee=V&&null==ee?V.length:ee,No(V,W,i,i,i,i,ee)}function T0(V,ee){var Ce;if("function"!=typeof ee)throw new Fa(o);return V=Js(V),function(){return--V>0&&(Ce=ee.apply(this,arguments)),V<=1&&(ee=i),Ce}}var Rh=Zs(function(V,ee,Ce){var Ye=1;if(Ce.length){var mt=oa(Ce,zd(Rh));Ye|=U}return No(V,Ye,ee,Ce,mt)}),z3=Zs(function(V,ee,Ce){var Ye=3;if(Ce.length){var mt=oa(Ce,zd(z3));Ye|=U}return No(ee,Ye,V,Ce,mt)});function th(V,ee,Ce){var Ye,mt,Rt,en,Tn,Fn,Ii=0,Mi=!1,Ni=!1,vr=!0;if("function"!=typeof V)throw new Fa(o);function J(ei){var vi=Ye,Gi=mt;return Ye=mt=i,Ii=ei,en=V.apply(Gi,vi)}function b(ei){return Ii=ei,Tn=O1(fe,ee),Mi?J(ei):en}function te(ei){var vi=ei-Fn;return Fn===i||vi>=ee||vi<0||Ni&&ei-Ii>=Rt}function fe(){var ei=Tf();if(te(ei))return ue(ei);Tn=O1(fe,function j(ei){var mo=ee-(ei-Fn);return Ni?Rn(mo,Rt-(ei-Ii)):mo}(ei))}function ue(ei){return Tn=i,vr&&Ye?J(ei):(Ye=mt=i,en)}function Un(){var ei=Tf(),vi=te(ei);if(Ye=arguments,mt=this,Fn=ei,vi){if(Tn===i)return b(Fn);if(Ni)return ic(Tn),Tn=O1(fe,ee),J(Fn)}return Tn===i&&(Tn=O1(fe,ee)),en}return ee=_s(ee)||0,ac(Ce)&&(Mi=!!Ce.leading,Rt=(Ni="maxWait"in Ce)?wn(_s(Ce.maxWait)||0,ee):Rt,vr="trailing"in Ce?!!Ce.trailing:vr),Un.cancel=function je(){Tn!==i&&ic(Tn),Ii=0,Ye=Fn=mt=Tn=i},Un.flush=function nt(){return Tn===i?en:ue(Tf())},Un}var nh=Zs(function(V,ee){return g1(V,1,ee)}),_u=Zs(function(V,ee,Ce){return g1(V,_s(ee)||0,Ce)});function R3(V,ee){if("function"!=typeof V||null!=ee&&"function"!=typeof ee)throw new Fa(o);var Ce=function(){var Ye=arguments,mt=ee?ee.apply(this,Ye):Ye[0],Rt=Ce.cache;if(Rt.has(mt))return Rt.get(mt);var en=V.apply(this,Ye);return Ce.cache=Rt.set(mt,en)||Rt,en};return Ce.cache=new(R3.Cache||X2),Ce}function N3(V){if("function"!=typeof V)throw new Fa(o);return function(){var ee=arguments;switch(ee.length){case 0:return!V.call(this);case 1:return!V.call(this,ee[0]);case 2:return!V.call(this,ee[0],ee[1]);case 3:return!V.call(this,ee[0],ee[1],ee[2])}return!V.apply(this,ee)}}R3.Cache=X2;var ih=L1(function(V,ee){var Ce=(ee=1==ee.length&&Lo(ee[0])?En(ee[0],Ro(go())):En(Wa(ee,1),Ro(go()))).length;return Zs(function(Ye){for(var mt=-1,Rt=Rn(Ye.length,Ce);++mt<Rt;)Ye[mt]=ee[mt].call(this,Ye[mt]);return Nt(V,this,Ye)})}),Sf=Zs(function(V,ee){var Ce=oa(ee,zd(Sf));return No(V,U,i,ee,Ce)}),k0=Zs(function(V,ee){var Ce=oa(ee,zd(k0));return No(V,X,i,ee,Ce)}),L0=rc(function(V,ee){return No(V,256,i,i,i,ee)});function p3(V,ee){return V===ee||V!=V&&ee!=ee}var Ef=Kc(nd),pp=Kc(function(V,ee){return V>=ee}),g3=rd(function(){return arguments}())?rd:function(V){return e1(V)&&Ji.call(V,"callee")&&!ge.call(V,"callee")},Lo=kn.isArray,Df=zo?Ro(zo):function qc(V){return e1(V)&&ea(V)==Jn};function Wd(V){return null!=V&&If(V.length)&&!Bc(V)}function Lc(V){return e1(V)&&Wd(V)}var xd=Ee||yp,D0=Cs?Ro(Cs):function t3(V){return e1(V)&&ea(V)==qn};function F2(V){if(!e1(V))return!1;var ee=ea(V);return ee==Yn||"[object DOMException]"==ee||"string"==typeof V.message&&"string"==typeof V.name&&!Uu(V)}function Bc(V){if(!ac(V))return!1;var ee=ea(V);return ee==Xn||ee==gi||"[object AsyncFunction]"==ee||"[object Proxy]"==ee}function m3(V){return"number"==typeof V&&V==Js(V)}function If(V){return"number"==typeof V&&V>-1&&V%1==0&&V<=Xt}function ac(V){var ee=typeof V;return null!=V&&("object"==ee||"function"==ee)}function e1(V){return null!=V&&"object"==typeof V}var b4=Rr?Ro(Rr):function Pc(V){return e1(V)&&Cl(V)==Mt};function v3(V){return"number"==typeof V||e1(V)&&ea(V)==pn}function Uu(V){if(!e1(V)||ea(V)!=yt)return!1;var ee=Me(V);if(null===ee)return!0;var Ce=Ji.call(ee,"constructor")&&ee.constructor;return"function"==typeof Ce&&Ce instanceof Ce&&Hr.call(Ce)==_l}var B3=Qe?Ro(Qe):function se(V){return e1(V)&&ea(V)==xt};var bu=Oe?Ro(Oe):function Te(V){return e1(V)&&Cl(V)==Ht};function Fh(V){return"string"==typeof V||!Lo(V)&&e1(V)&&ea(V)==$t}function Yu(V){return"symbol"==typeof V||e1(V)&&ea(V)==Jt}var Gd=gt?Ro(gt):function Ue(V){return e1(V)&&If(V.length)&&!!Ln[ea(V)]};var R0=Kc(ii),sh=Kc(function(V,ee){return V<=ee});function Jp(V){if(!V)return[];if(Wd(V))return Fh(V)?Ie(V):wa(V);if(He&&V[He])return function x1(un){for(var Wn,kn=[];!(Wn=un.next()).done;)kn.push(Wn.value);return kn}(V[He]());var ee=Cl(V);return(ee==Mt?Rs:ee==Ht?jl:qh)(V)}function yu(V){return V?(V=_s(V))===rn||V===-rn?17976931348623157e292*(V<0?-1:1):V==V?V:0:0===V?V:0}function Js(V){var ee=yu(V),Ce=ee%1;return ee==ee?Ce?ee-Ce:ee:0}function _2(V){return V?Ya(Js(V),0,hn):0}function _s(V){if("number"==typeof V)return V;if(Yu(V))return NaN;if(ac(V)){var ee="function"==typeof V.valueOf?V.valueOf():V;V=ac(ee)?ee+"":ee}if("string"!=typeof V)return 0===V?V:+V;V=Fs(V);var Ce=Qo.test(V);return Ce||Ti.test(V)?Ri(V.slice(2),Ce?2:8):so.test(V)?NaN:+V}function N0(V){return cl(V,$a(V))}function Ma(V){return null==V?"":ua(V)}var Qp=q1(function(V,ee){if(fd(ee)||Wd(ee))cl(ee,gc(ee),V);else for(var Ce in ee)Ji.call(ee,Ce)&&Il(V,Ce,ee[Ce])}),Uh=q1(function(V,ee){cl(ee,$a(ee),V)}),_3=q1(function(V,ee,Ce,Ye){cl(ee,$a(ee),V,Ye)}),qd=q1(function(V,ee,Ce,Ye){cl(ee,gc(ee),V,Ye)}),V2=rc(Dd);var H0=Zs(function(V,ee){V=Ao(V);var Ce=-1,Ye=ee.length,mt=Ye>2?ee[2]:i;for(mt&&wl(ee[0],ee[1],mt)&&(Ye=1);++Ce<Ye;)for(var Rt=ee[Ce],en=$a(Rt),Tn=-1,Fn=en.length;++Tn<Fn;){var Ii=en[Tn],Mi=V[Ii];(Mi===i||p3(Mi,ol[Ii])&&!Ji.call(V,Ii))&&(V[Ii]=Rt[Ii])}return V}),b3=Zs(function(V){return V.push(i,h2),Nt(B0,i,V)});function e0(V,ee,Ce){var Ye=null==V?i:As(V,ee);return Ye===i?Ce:Ye}function Wu(V,ee){return null!=V&&hd(V,ee,W1)}var I6=cd(function(V,ee,Ce){null!=ee&&"function"!=typeof ee.toString&&(ee=Es.call(ee)),V[ee]=Ce},Cd(mc)),Yh=cd(function(V,ee,Ce){null!=ee&&"function"!=typeof ee.toString&&(ee=Es.call(ee)),Ji.call(V,ee)?V[ee].push(Ce):V[ee]=[Ce]},go),Wh=Zs(Oc);function gc(V){return Wd(V)?e3(V):Lt(V)}function $a(V){return Wd(V)?e3(V,!0):mn(V)}var t0=q1(function(V,ee,Ce){ta(V,ee,Ce)}),B0=q1(function(V,ee,Ce,Ye){ta(V,ee,Ce,Ye)}),Gh=rc(function(V,ee){var Ce={};if(null==V)return Ce;var Ye=!1;ee=En(ee,function(Rt){return Rt=l2(Rt,V),Ye||(Ye=Rt.length>1),Rt}),cl(V,xl(V),Ce),Ye&&(Ce=ec(Ce,7,Xs));for(var mt=ee.length;mt--;)a2(Ce,ee[mt]);return Ce});var zf=rc(function(V,ee){return null==V?{}:function r4(V,ee){return lp(V,ee,function(Ce,Ye){return Wu(V,Ye)})}(V,ee)});function gp(V,ee){if(null==V)return{};var Ce=En(xl(V),function(Ye){return[Ye]});return ee=go(ee),lp(V,Ce,function(Ye,mt){return ee(Ye,mt[0])})}var F0=d2(gc),C4=d2($a);function qh(V){return null==V?[]:ml(V,gc(V))}var w4=$1(function(V,ee,Ce){return ee=ee.toLowerCase(),V+(Ce?Nf(ee):ee)});function Nf(V){return y2(Ma(V).toLowerCase())}function M4(V){return(V=Ma(V))&&V.replace(Vi,us).replace(et,"")}var A6=$1(function(V,ee,Ce){return V+(Ce?"-":"")+ee.toLowerCase()}),O6=$1(function(V,ee,Ce){return V+(Ce?" ":"")+ee.toLowerCase()}),V0=A3("toLowerCase");var Xh=$1(function(V,ee,Ce){return V+(Ce?"_":"")+ee.toLowerCase()});var Hf=$1(function(V,ee,Ce){return V+(Ce?" ":"")+y2(ee)});var w3=$1(function(V,ee,Ce){return V+(Ce?" ":"")+ee.toUpperCase()}),y2=A3("toUpperCase");function t1(V,ee,Ce){return V=Ma(V),(ee=Ce?i:ee)===i?function d1(un){return Pt.test(un)}(V)?function cr(un){return un.match(Ut)||[]}(V):function tn(un){return un.match(Yr)||[]}(V):V.match(ee)||[]}var M3=Zs(function(V,ee){try{return Nt(V,i,ee)}catch(Ce){return F2(Ce)?Ce:new Br(Ce)}}),xu=rc(function(V,ee){return ze(ee,function(Ce){Ce=H2(Ce),Ql(V,Ce,Rh(V[Ce],V))}),V});function Cd(V){return function(){return V}}var uh=W4(),Qh=W4(!0);function mc(V){return V}function S4(V){return it("function"==typeof V?V:ec(V,1))}var hh=Zs(function(V,ee){return function(Ce){return Oc(Ce,V,ee)}}),fh=Zs(function(V,ee){return function(Ce){return Oc(V,Ce,ee)}});function ph(V,ee,Ce){var Ye=gc(ee),mt=bl(ee,Ye);null==Ce&&(!ac(ee)||!mt.length&&Ye.length)&&(Ce=ee,ee=V,V=this,mt=bl(ee,gc(ee)));var Rt=!(ac(Ce)&&"chain"in Ce&&!Ce.chain),en=Bc(V);return ze(mt,function(Tn){var Fn=ee[Tn];V[Tn]=Fn,en&&(V.prototype[Tn]=function(){var Ii=this.__chain__;if(Rt||Ii){var Mi=V(this.__wrapped__),Ni=Mi.__actions__=wa(this.__actions__);return Ni.push({func:Fn,args:arguments,thisArg:V}),Mi.__chain__=Ii,Mi}return Fn.apply(V,ci([this.value()],arguments))})}),V}function Y3(){}var k4=D1(En),Sg=D1(oe),z6=D1(ft);function Z0(V){return Sc(V)?Bl(H2(V)):function Y4(V){return function(ee){return As(ee,V)}}(V)}var R6=O3(),N6=O3(!0);function o0(){return[]}function yp(){return!1}var s0=dd(function(V,ee){return V+ee},0),J0=hu("ceil"),j6=dd(function(V,ee){return V/ee},1),gh=hu("floor");var G3=dd(function(V,ee){return V*ee},1),Dg=hu("round"),tf=dd(function(V,ee){return V-ee},0);return kt.after=function M0(V,ee){if("function"!=typeof ee)throw new Fa(o);return V=Js(V),function(){if(--V<1)return ee.apply(this,arguments)}},kt.ary=zh,kt.assign=Qp,kt.assignIn=Uh,kt.assignInWith=_3,kt.assignWith=qd,kt.at=V2,kt.before=T0,kt.bind=Rh,kt.bindAll=xu,kt.bindKey=z3,kt.castArray=function yg(){if(!arguments.length)return[];var V=arguments[0];return Lo(V)?V:[V]},kt.chain=c3,kt.chunk=function gd(V,ee,Ce){ee=(Ce?wl(V,ee,Ce):ee===i)?1:wn(Js(ee),0);var Ye=null==V?0:V.length;if(!Ye||ee<1)return[];for(var mt=0,Rt=0,en=kn(D(Ye/ee));mt<Ye;)en[Rt++]=zc(V,mt,mt+=ee);return en},kt.compact=function md(V){for(var ee=-1,Ce=null==V?0:V.length,Ye=0,mt=[];++ee<Ce;){var Rt=V[ee];Rt&&(mt[Ye++]=Rt)}return mt},kt.concat=function vd(){var V=arguments.length;if(!V)return[];for(var ee=kn(V-1),Ce=arguments[0],Ye=V;Ye--;)ee[Ye-1]=arguments[Ye];return ci(Lo(Ce)?wa(Ce):[Ce],Wa(ee,1))},kt.cond=function V3(V){var ee=null==V?0:V.length,Ce=go();return V=ee?En(V,function(Ye){if("function"!=typeof Ye[1])throw new Fa(o);return[Ce(Ye[0]),Ye[1]]}):[],Zs(function(Ye){for(var mt=-1;++mt<ee;){var Rt=V[mt];if(Nt(Rt[0],this,Ye))return Nt(Rt[1],this,Ye)}})},kt.conforms=function x2(V){return function au(V){var ee=gc(V);return function(Ce){return Q2(Ce,V,ee)}}(ec(V,1))},kt.constant=Cd,kt.countBy=up,kt.create=function j3(V,ee){var Ce=Jl(V);return null==ee?Ce:T1(Ce,ee)},kt.curry=function eh(V,ee,Ce){var Ye=No(V,8,i,i,i,i,i,ee=Ce?i:ee);return Ye.placeholder=eh.placeholder,Ye},kt.curryRight=function Nh(V,ee,Ce){var Ye=No(V,H,i,i,i,i,i,ee=Ce?i:ee);return Ye.placeholder=Nh.placeholder,Ye},kt.debounce=th,kt.defaults=H0,kt.defaultsDeep=b3,kt.defer=nh,kt.delay=_u,kt.difference=P1,kt.differenceBy=_d,kt.differenceWith=c4,kt.drop=function vs(V,ee,Ce){var Ye=null==V?0:V.length;return Ye?zc(V,(ee=Ce||ee===i?1:Js(ee))<0?0:ee,Ye):[]},kt.dropRight=function j2(V,ee,Ce){var Ye=null==V?0:V.length;return Ye?zc(V,0,(ee=Ye-(ee=Ce||ee===i?1:Js(ee)))<0?0:ee):[]},kt.dropRightWhile=function Vd(V,ee){return V&&V.length?ad(V,go(ee,3),!0,!0):[]},kt.dropWhile=function z1(V,ee){return V&&V.length?ad(V,go(ee,3),!0):[]},kt.fill=function R1(V,ee,Ce,Ye){var mt=null==V?0:V.length;return mt?(Ce&&"number"!=typeof Ce&&wl(V,ee,Ce)&&(Ce=0,Ye=mt),function lu(V,ee,Ce,Ye){var mt=V.length;for((Ce=Js(Ce))<0&&(Ce=-Ce>mt?0:mt+Ce),(Ye=Ye===i||Ye>mt?mt:Js(Ye))<0&&(Ye+=mt),Ye=Ce>Ye?0:_2(Ye);Ce<Ye;)V[Ce++]=ee;return V}(V,ee,Ce,Ye)):[]},kt.filter=function wf(V,ee){return(Lo(V)?pt:I2)(V,go(ee,3))},kt.flatMap=function pg(V,ee){return Wa(u3(V,ee),1)},kt.flatMapDeep=function C0(V,ee){return Wa(u3(V,ee),rn)},kt.flatMapDepth=function Gp(V,ee,Ce){return Ce=Ce===i?1:Js(Ce),Wa(u3(V,ee),Ce)},kt.flatten=ie,kt.flattenDeep=function I(V){return(null==V?0:V.length)?Wa(V,rn):[]},kt.flattenDepth=function $(V,ee){return(null==V?0:V.length)?Wa(V,ee=ee===i?1:Js(ee)):[]},kt.flip=function Kp(V){return No(V,512)},kt.flow=uh,kt.flowRight=Qh,kt.fromPairs=function be(V){for(var ee=-1,Ce=null==V?0:V.length,Ye={};++ee<Ce;){var mt=V[ee];Ye[mt[0]]=mt[1]}return Ye},kt.functions=function Of(V){return null==V?[]:bl(V,gc(V))},kt.functionsIn=function lh(V){return null==V?[]:bl(V,$a(V))},kt.groupBy=mg,kt.initial=function Gt(V){return(null==V?0:V.length)?zc(V,0,-1):[]},kt.intersection=Qt,kt.intersectionBy=sn,kt.intersectionWith=Vn,kt.invert=I6,kt.invertBy=Yh,kt.invokeMap=hp,kt.iteratee=S4,kt.keyBy=Vu,kt.keys=gc,kt.keysIn=$a,kt.map=u3,kt.mapKeys=function ch(V,ee){var Ce={};return ee=go(ee,3),Vl(V,function(Ye,mt,Rt){Ql(Ce,ee(Ye,mt,Rt),Ye)}),Ce},kt.mapValues=function Pf(V,ee){var Ce={};return ee=go(ee,3),Vl(V,function(Ye,mt,Rt){Ql(Ce,mt,ee(Ye,mt,Rt))}),Ce},kt.matches=function q0(V){return Wo(ec(V,1))},kt.matchesProperty=function $0(V,ee){return fs(V,ec(ee,1))},kt.memoize=R3,kt.merge=t0,kt.mergeWith=B0,kt.method=hh,kt.methodOf=fh,kt.mixin=ph,kt.negate=N3,kt.nthArg=function K0(V){return V=Js(V),Zs(function(ee){return Vs(ee,V)})},kt.omit=Gh,kt.omitBy=function j0(V,ee){return gp(V,N3(go(ee)))},kt.once=function S0(V){return T0(2,V)},kt.orderBy=function Q4(V,ee,Ce,Ye){return null==V?[]:(Lo(ee)||(ee=null==ee?[]:[ee]),Lo(Ce=Ye?i:Ce)||(Ce=null==Ce?[]:[Ce]),i4(V,ee,Ce))},kt.over=k4,kt.overArgs=ih,kt.overEvery=Sg,kt.overSome=z6,kt.partial=Sf,kt.partialRight=k0,kt.partition=_g,kt.pick=zf,kt.pickBy=gp,kt.property=Z0,kt.propertyOf=function ef(V){return function(ee){return null==V?i:As(V,ee)}},kt.pull=Co,kt.pullAll=Kr,kt.pullAllBy=function fr(V,ee,Ce){return V&&V.length&&ee&&ee.length?cp(V,ee,go(Ce,2)):V},kt.pullAllWith=function ps(V,ee,Ce){return V&&V.length&&ee&&ee.length?cp(V,ee,i,Ce):V},kt.pullAt=Bo,kt.range=R6,kt.rangeRight=N6,kt.rearg=L0,kt.reject=function w0(V,ee){return(Lo(V)?pt:I2)(V,N3(go(ee,3)))},kt.remove=function na(V,ee){var Ce=[];if(!V||!V.length)return Ce;var Ye=-1,mt=[],Rt=V.length;for(ee=go(ee,3);++Ye<Rt;){var en=V[Ye];ee(en,Ye,V)&&(Ce.push(en),mt.push(Ye))}return Ou(V,mt),Ce},kt.rest=function kf(V,ee){if("function"!=typeof V)throw new Fa(o);return Zs(V,ee=ee===i?ee:Js(ee))},kt.reverse=ss,kt.sampleSize=function Mf(V,ee,Ce){return ee=(Ce?wl(V,ee,Ce):ee===i)?1:Js(ee),(Lo(V)?su:xf)(V,ee)},kt.set=function n0(V,ee,Ce){return null==V?V:o4(V,ee,Ce)},kt.setWith=function hm(V,ee,Ce,Ye){return Ye="function"==typeof Ye?Ye:i,null==V?V:o4(V,ee,Ce,Ye)},kt.shuffle=function f3(V){return(Lo(V)?Is:n3)(V)},kt.slice=function $o(V,ee,Ce){var Ye=null==V?0:V.length;return Ye?(Ce&&"number"!=typeof Ce&&wl(V,ee,Ce)?(ee=0,Ce=Ye):(ee=null==ee?0:Js(ee),Ce=Ce===i?Ye:Js(Ce)),zc(V,ee,Ce)):[]},kt.sortBy=$p,kt.sortedUniq=function Ko(V){return V&&V.length?s2(V):[]},kt.sortedUniqBy=function m2(V,ee){return V&&V.length?s2(V,go(ee,2)):[]},kt.split=function Mg(V,ee,Ce){return Ce&&"number"!=typeof Ce&&wl(V,ee,Ce)&&(ee=Ce=i),(Ce=Ce===i?hn:Ce>>>0)?(V=Ma(V))&&("string"==typeof ee||null!=ee&&!B3(ee))&&(!(ee=ua(ee))&&Da(V))?Al(Ie(V),0,Ce):V.split(ee,Ce):[]},kt.spread=function Hh(V,ee){if("function"!=typeof V)throw new Fa(o);return ee=null==ee?0:wn(Js(ee),0),Zs(function(Ce){var Ye=Ce[ee],mt=Al(Ce,0,ee);return Ye&&ci(mt,Ye),Nt(V,this,mt)})},kt.tail=function v2(V){var ee=null==V?0:V.length;return ee?zc(V,1,ee):[]},kt.take=function P3(V,ee,Ce){return V&&V.length?zc(V,0,(ee=Ce||ee===i?1:Js(ee))<0?0:ee):[]},kt.takeRight=function lo(V,ee,Ce){var Ye=null==V?0:V.length;return Ye?zc(V,(ee=Ye-(ee=Ce||ee===i?1:Js(ee)))<0?0:ee,Ye):[]},kt.takeRightWhile=function Jc(V,ee){return V&&V.length?ad(V,go(ee,3),!1,!0):[]},kt.takeWhile=function Oh(V,ee){return V&&V.length?ad(V,go(ee,3)):[]},kt.tap=function Ud(V,ee){return ee(V),V},kt.throttle=function bg(V,ee,Ce){var Ye=!0,mt=!0;if("function"!=typeof V)throw new Fa(o);return ac(Ce)&&(Ye="leading"in Ce?!!Ce.leading:Ye,mt="trailing"in Ce?!!Ce.trailing:mt),th(V,ee,{leading:Ye,maxWait:ee,trailing:mt})},kt.thru=Z4,kt.toArray=Jp,kt.toPairs=F0,kt.toPairsIn=C4,kt.toPath=function B6(V){return Lo(V)?En(V,H2):Yu(V)?[V]:wa(Fu(Ma(V)))},kt.toPlainObject=N0,kt.transform=function vp(V,ee,Ce){var Ye=Lo(V),mt=Ye||xd(V)||Gd(V);if(ee=go(ee,4),null==Ce){var Rt=V&&V.constructor;Ce=mt?Ye?new Rt:[]:ac(V)&&Bc(Rt)?Jl(Me(V)):{}}return(mt?ze:Vl)(V,function(en,Tn,Fn){return ee(Ce,en,Tn,Fn)}),Ce},kt.unary=function Lf(V){return zh(V,1)},kt.union=u4,kt.unionBy=mu,kt.unionWith=Qc,kt.uniq=function $4(V){return V&&V.length?xa(V):[]},kt.uniqBy=function h4(V,ee){return V&&V.length?xa(V,go(ee,2)):[]},kt.uniqWith=function vu(V,ee){return ee="function"==typeof ee?ee:i,V&&V.length?xa(V,i,ee):[]},kt.unset=function _p(V,ee){return null==V||a2(V,ee)},kt.unzip=sc,kt.unzipWith=kc,kt.update=function wg(V,ee,Ce){return null==V?V:za(V,ee,k1(Ce))},kt.updateWith=function Rf(V,ee,Ce,Ye){return Ye="function"==typeof Ye?Ye:i,null==V?V:za(V,ee,k1(Ce),Ye)},kt.values=qh,kt.valuesIn=function $h(V){return null==V?[]:ml(V,$a(V))},kt.without=K4,kt.words=t1,kt.wrap=function Bs(V,ee){return Sf(k1(ee),V)},kt.xor=yd,kt.xorBy=f4,kt.xorWith=Up,kt.zip=Yp,kt.zipObject=function p4(V,ee){return Id(V||[],ee||[],Il)},kt.zipObjectDeep=function g4(V,ee){return Id(V||[],ee||[],o4)},kt.zipWith=pc,kt.entries=F0,kt.entriesIn=C4,kt.extend=Uh,kt.extendWith=_3,ph(kt,kt),kt.add=s0,kt.attempt=M3,kt.camelCase=w4,kt.capitalize=Nf,kt.ceil=J0,kt.clamp=function i0(V,ee,Ce){return Ce===i&&(Ce=ee,ee=i),Ce!==i&&(Ce=(Ce=_s(Ce))==Ce?Ce:0),ee!==i&&(ee=(ee=_s(ee))==ee?ee:0),Ya(_s(V),ee,Ce)},kt.clone=function rh(V){return ec(V,4)},kt.cloneDeep=function E0(V){return ec(V,5)},kt.cloneDeepWith=function fp(V,ee){return ec(V,5,ee="function"==typeof ee?ee:i)},kt.cloneWith=function N1(V,ee){return ec(V,4,ee="function"==typeof ee?ee:i)},kt.conformsTo=function oh(V,ee){return null==ee||Q2(V,ee,gc(ee))},kt.deburr=M4,kt.defaultTo=function U3(V,ee){return null==V||V!=V?ee:V},kt.divide=j6,kt.endsWith=function Kh(V,ee,Ce){V=Ma(V),ee=ua(ee);var Ye=V.length,mt=Ce=Ce===i?Ye:Ya(Js(Ce),0,Ye);return(Ce-=ee.length)>=0&&V.slice(Ce,mt)==ee},kt.eq=p3,kt.escape=function x3(V){return(V=Ma(V))&&gr.test(V)?V.replace(xi,Ll):V},kt.escapeRegExp=function qu(V){return(V=Ma(V))&&at.test(V)?V.replace(ai,"\\$&"):V},kt.every=function _4(V,ee,Ce){var Ye=Lo(V)?oe:D2;return Ce&&wl(V,ee,Ce)&&(ee=i),Ye(V,go(ee,3))},kt.find=J4,kt.findIndex=d4,kt.findKey=function y3(V,ee){return hi(V,go(ee,3),Vl)},kt.findLast=um,kt.findLastIndex=bd,kt.findLastKey=function $d(V,ee){return hi(V,go(ee,3),wc)},kt.floor=gh,kt.forEach=k6,kt.forEachRight=gg,kt.forIn=function b2(V,ee){return null==V?V:Au(V,go(ee,3),$a)},kt.forInRight=function F3(V,ee){return null==V?V:A2(V,go(ee,3),$a)},kt.forOwn=function ah(V,ee){return V&&Vl(V,go(ee,3))},kt.forOwnRight=function Af(V,ee){return V&&wc(V,go(ee,3))},kt.get=e0,kt.gt=Ef,kt.gte=pp,kt.has=function Cg(V,ee){return null!=V&&hd(V,ee,S1)},kt.hasIn=Wu,kt.head=Re,kt.identity=mc,kt.includes=function vg(V,ee,Ce,Ye){V=Wd(V)?V:qh(V),Ce=Ce&&!Ye?Js(Ce):0;var mt=V.length;return Ce<0&&(Ce=wn(mt+Ce,0)),Fh(V)?Ce<=mt&&V.indexOf(ee,Ce)>-1:!!mt&&io(V,ee,Ce)>-1},kt.indexOf=function dt(V,ee,Ce){var Ye=null==V?0:V.length;if(!Ye)return-1;var mt=null==Ce?0:Js(Ce);return mt<0&&(mt=wn(Ye+mt,0)),io(V,ee,mt)},kt.inRange=function bp(V,ee,Ce){return ee=yu(ee),Ce===i?(Ce=ee,ee=0):Ce=yu(Ce),function id(V,ee,Ce){return V>=Rn(ee,Ce)&&V<wn(ee,Ce)}(V=_s(V),ee,Ce)},kt.invoke=Wh,kt.isArguments=g3,kt.isArray=Lo,kt.isArrayBuffer=Df,kt.isArrayLike=Wd,kt.isArrayLikeObject=Lc,kt.isBoolean=function xg(V){return!0===V||!1===V||e1(V)&&ea(V)==yn},kt.isBuffer=xd,kt.isDate=D0,kt.isElement=function Bh(V){return e1(V)&&1===V.nodeType&&!Uu(V)},kt.isEmpty=function D6(V){if(null==V)return!0;if(Wd(V)&&(Lo(V)||"string"==typeof V||"function"==typeof V.splice||xd(V)||Gd(V)||g3(V)))return!V.length;var ee=Cl(V);if(ee==Mt||ee==Ht)return!V.size;if(fd(V))return!Lt(V).length;for(var Ce in V)if(Ji.call(V,Ce))return!1;return!0},kt.isEqual=function jh(V,ee){return $c(V,ee)},kt.isEqualWith=function I0(V,ee,Ce){var Ye=(Ce="function"==typeof Ce?Ce:i)?Ce(V,ee):i;return Ye===i?$c(V,ee,i,Ce):!!Ye},kt.isError=F2,kt.isFinite=function A0(V){return"number"==typeof V&&We(V)},kt.isFunction=Bc,kt.isInteger=m3,kt.isLength=If,kt.isMap=b4,kt.isMatch=function Ml(V,ee){return V===ee||O2(V,ee,l4(ee))},kt.isMatchWith=function O0(V,ee,Ce){return Ce="function"==typeof Ce?Ce:i,O2(V,ee,l4(ee),Ce)},kt.isNaN=function P0(V){return v3(V)&&V!=+V},kt.isNative=function H3(V){if(p2(V))throw new Br("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ns(V)},kt.isNil=function z0(V){return null==V},kt.isNull=function v1(V){return null===V},kt.isNumber=v3,kt.isObject=ac,kt.isObjectLike=e1,kt.isPlainObject=Uu,kt.isRegExp=B3,kt.isSafeInteger=function Zp(V){return m3(V)&&V>=-Xt&&V<=Xt},kt.isSet=bu,kt.isString=Fh,kt.isSymbol=Yu,kt.isTypedArray=Gd,kt.isUndefined=function y4(V){return V===i},kt.isWeakMap=function Xp(V){return e1(V)&&Cl(V)==Ft},kt.isWeakSet=function Vh(V){return e1(V)&&"[object WeakSet]"==ea(V)},kt.join=function ni(V,ee){return null==V?"":wt.call(V,ee)},kt.kebabCase=A6,kt.last=Di,kt.lastIndexOf=function sr(V,ee,Ce){var Ye=null==V?0:V.length;if(!Ye)return-1;var mt=Ye;return Ce!==i&&(mt=(mt=Js(Ce))<0?wn(Ye+mt,0):Rn(mt,Ye-1)),ee==ee?function Kl(un,Wn,kn){for(var Wi=kn+1;Wi--;)if(un[Wi]===Wn)return Wi;return Wi}(V,ee,mt):zr(V,pa,mt,!0)},kt.lowerCase=O6,kt.lowerFirst=V0,kt.lt=R0,kt.lte=sh,kt.max=function Lg(V){return V&&V.length?td(V,mc,nd):i},kt.maxBy=function Q0(V,ee){return V&&V.length?td(V,go(ee,2),nd):i},kt.mean=function Ff(V){return nl(V,mc)},kt.meanBy=function e2(V,ee){return nl(V,go(ee,2))},kt.min=function e6(V){return V&&V.length?td(V,mc,ii):i},kt.minBy=function Eg(V,ee){return V&&V.length?td(V,go(ee,2),ii):i},kt.stubArray=o0,kt.stubFalse=yp,kt.stubObject=function jf(){return{}},kt.stubString=function X0(){return""},kt.stubTrue=function H6(){return!0},kt.multiply=G3,kt.nth=function dr(V,ee){return V&&V.length?Vs(V,Js(ee)):i},kt.noConflict=function Bf(){return Pr._===this&&(Pr._=xo),this},kt.noop=Y3,kt.now=Tf,kt.pad=function P6(V,ee,Ce){V=Ma(V);var Ye=(ee=Js(ee))?jt(V):0;if(!ee||Ye>=ee)return V;var mt=(ee-Ye)/2;return c2(K(mt),Ce)+V+c2(D(mt),Ce)},kt.padEnd=function U0(V,ee,Ce){V=Ma(V);var Ye=(ee=Js(ee))?jt(V):0;return ee&&Ye<ee?V+c2(ee-Ye,Ce):V},kt.padStart=function Zh(V,ee,Ce){V=Ma(V);var Ye=(ee=Js(ee))?jt(V):0;return ee&&Ye<ee?c2(ee-Ye,Ce)+V:V},kt.parseInt=function Y0(V,ee,Ce){return Ce||null==ee?ee=0:ee&&(ee=+ee),tr(Ma(V).replace(Ot,""),ee||0)},kt.random=function Gu(V,ee,Ce){if(Ce&&"boolean"!=typeof Ce&&wl(V,ee,Ce)&&(ee=Ce=i),Ce===i&&("boolean"==typeof ee?(Ce=ee,ee=i):"boolean"==typeof V&&(Ce=V,V=i)),V===i&&ee===i?(V=0,ee=1):(V=yu(V),ee===i?(ee=V,V=0):ee=yu(ee)),V>ee){var Ye=V;V=ee,ee=Ye}if(Ce||V%1||ee%1){var mt=Wr();return Rn(V+mt*(ee-V+kr("1e-"+((mt+"").length-1))),ee)}return Pu(V,ee)},kt.reduce=function L6(V,ee,Ce){var Ye=Lo(V)?Ei:qo,mt=arguments.length<3;return Ye(V,go(ee,4),Ce,mt,ed)},kt.reduceRight=function qp(V,ee,Ce){var Ye=Lo(V)?xr:qo,mt=arguments.length<3;return Ye(V,go(ee,4),Ce,mt,Ja)},kt.repeat=function r0(V,ee,Ce){return ee=(Ce?wl(V,ee,Ce):ee===i)?1:Js(ee),Ih(Ma(V),ee)},kt.replace=function W0(){var V=arguments,ee=Ma(V[0]);return V.length<3?ee:ee.replace(V[1],V[2])},kt.result=function mp(V,ee,Ce){var Ye=-1,mt=(ee=l2(ee,V)).length;for(mt||(mt=1,V=i);++Ye<mt;){var Rt=null==V?i:V[H2(ee[Ye])];Rt===i&&(Ye=mt,Rt=Ce),V=Bc(Rt)?Rt.call(V):Rt}return V},kt.round=Dg,kt.runInContext=un,kt.sample=function h3(V){return(Lo(V)?ou:Vp)(V)},kt.size=function E6(V){if(null==V)return 0;if(Wd(V))return Fh(V)?jt(V):V.length;var ee=Cl(V);return ee==Mt||ee==Ht?V.size:Lt(V).length},kt.snakeCase=Xh,kt.some=function Ph(V,ee,Ce){var Ye=Lo(V)?ft:i3;return Ce&&wl(V,ee,Ce)&&(ee=i),Ye(V,go(ee,3))},kt.sortedIndex=function pr(V,ee){return I3(V,ee)},kt.sortedIndexBy=function ma(V,ee,Ce){return sd(V,ee,go(Ce,2))},kt.sortedIndexOf=function qa(V,ee){var Ce=null==V?0:V.length;if(Ce){var Ye=I3(V,ee);if(Ye<Ce&&p3(V[Ye],ee))return Ye}return-1},kt.sortedLastIndex=function dl(V,ee){return I3(V,ee,!0)},kt.sortedLastIndexBy=function Wl(V,ee,Ce){return sd(V,ee,go(Ce,2),!0)},kt.sortedLastIndexOf=function Pl(V,ee){if(null==V?0:V.length){var Ye=I3(V,ee,!0)-1;if(p3(V[Ye],ee))return Ye}return-1},kt.startCase=Hf,kt.startsWith=function dh(V,ee,Ce){return V=Ma(V),Ce=null==Ce?0:Ya(Js(Ce),0,V.length),ee=ua(ee),V.slice(Ce,Ce+ee.length)==ee},kt.subtract=tf,kt.sum=function Ig(V){return V&&V.length?Gs(V,mc):0},kt.sumBy=function t6(V,ee){return V&&V.length?Gs(V,go(ee,2)):0},kt.template=function G0(V,ee,Ce){var Ye=kt.templateSettings;Ce&&wl(V,ee,Ce)&&(ee=i),V=Ma(V),ee=_3({},ee,Ye,u2);var Tn,Fn,mt=_3({},ee.imports,Ye.imports,u2),Rt=gc(mt),en=ml(mt,Rt),Ii=0,Mi=ee.interpolate||To,Ni="__p += '",vr=la((ee.escape||To).source+"|"+Mi.source+"|"+(Mi===br?Bi:To).source+"|"+(ee.evaluate||To).source+"|$","g"),J="//# sourceURL="+(Ji.call(ee,"sourceURL")?(ee.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Dn+"]")+"\n";V.replace(vr,function(te,fe,ue,je,nt,Un){return ue||(ue=je),Ni+=V.slice(Ii,Un).replace(qr,il),fe&&(Tn=!0,Ni+="' +\n__e("+fe+") +\n'"),nt&&(Fn=!0,Ni+="';\n"+nt+";\n__p += '"),ue&&(Ni+="' +\n((__t = ("+ue+")) == null ? '' : __t) +\n'"),Ii=Un+te.length,te}),Ni+="';\n";var b=Ji.call(ee,"variable")&&ee.variable;if(b){if(Mo.test(b))throw new Br("Invalid `variable` option passed into `_.template`")}else Ni="with (obj) {\n"+Ni+"\n}\n";Ni=(Fn?Ni.replace(Pn,""):Ni).replace(Bn,"$1").replace(ri,"$1;"),Ni="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Tn?", __e = _.escape":"")+(Fn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ni+"return __p\n}";var j=M3(function(){return fo(Rt,J+"return "+Ni).apply(i,en)});if(j.source=Ni,F2(j))throw j;return j},kt.times=function kg(V,ee){if((V=Js(V))<1||V>Xt)return[];var Ce=hn,Ye=Rn(V,hn);ee=go(ee),V-=hn;for(var mt=Na(Ye,ee);++Ce<V;)ee(Ce);return mt},kt.toFinite=yu,kt.toInteger=Js,kt.toLength=_2,kt.toLower=function T4(V){return Ma(V).toLowerCase()},kt.toNumber=_s,kt.toSafeInteger=function x4(V){return V?Ya(Js(V),-Xt,Xt):0===V?V:0},kt.toString=Ma,kt.toUpper=function Tg(V){return Ma(V).toUpperCase()},kt.trim=function Jh(V,ee,Ce){if((V=Ma(V))&&(Ce||ee===i))return Fs(V);if(!V||!(ee=ua(ee)))return V;var Ye=Ie(V),mt=Ie(ee);return Al(Ye,c1(Ye,mt),Ea(Ye,mt)+1).join("")},kt.trimEnd=function U2(V,ee,Ce){if((V=Ma(V))&&(Ce||ee===i))return V.slice(0,Ze(V)+1);if(!V||!(ee=ua(ee)))return V;var Ye=Ie(V);return Al(Ye,0,Ea(Ye,Ie(ee))+1).join("")},kt.trimStart=function C3(V,ee,Ce){if((V=Ma(V))&&(Ce||ee===i))return V.replace(Ot,"");if(!V||!(ee=ua(ee)))return V;var Ye=Ie(V);return Al(Ye,c1(Ye,Ie(ee))).join("")},kt.truncate=function Kd(V,ee){var Ce=30,Ye="...";if(ac(ee)){var mt="separator"in ee?ee.separator:mt;Ce="length"in ee?Js(ee.length):Ce,Ye="omission"in ee?ua(ee.omission):Ye}var Rt=(V=Ma(V)).length;if(Da(V)){var en=Ie(V);Rt=en.length}if(Ce>=Rt)return V;var Tn=Ce-jt(Ye);if(Tn<1)return Ye;var Fn=en?Al(en,0,Tn).join(""):V.slice(0,Tn);if(mt===i)return Fn+Ye;if(en&&(Tn+=Fn.length-Tn),B3(mt)){if(V.slice(Tn).search(mt)){var Ii,Mi=Fn;for(mt.global||(mt=la(mt.source,Ma(ks.exec(mt))+"g")),mt.lastIndex=0;Ii=mt.exec(Mi);)var Ni=Ii.index;Fn=Fn.slice(0,Ni===i?Tn:Ni)}}else if(V.indexOf(ua(mt),Tn)!=Tn){var vr=Fn.lastIndexOf(mt);vr>-1&&(Fn=Fn.slice(0,vr))}return Fn+Ye},kt.unescape=function Q1(V){return(V=Ma(V))&&Mr.test(V)?V.replace(mi,Vt):V},kt.uniqueId=function W3(V){var ee=++El;return Ma(V)+ee},kt.upperCase=w3,kt.upperFirst=y2,kt.each=k6,kt.eachRight=gg,kt.first=Re,ph(kt,function(){var V={};return Vl(kt,function(ee,Ce){Ji.call(kt.prototype,Ce)||(V[Ce]=ee)}),V}(),{chain:!1}),kt.VERSION="4.17.21",ze(["bind","bindKey","curry","curryRight","partial","partialRight"],function(V){kt[V].placeholder=kt}),ze(["drop","take"],function(V,ee){hs.prototype[V]=function(Ce){Ce=Ce===i?1:wn(Js(Ce),0);var Ye=this.__filtered__&&!ee?new hs(this):this.clone();return Ye.__filtered__?Ye.__takeCount__=Rn(Ce,Ye.__takeCount__):Ye.__views__.push({size:Rn(Ce,hn),type:V+(Ye.__dir__<0?"Right":"")}),Ye},hs.prototype[V+"Right"]=function(Ce){return this.reverse()[V](Ce).reverse()}}),ze(["filter","map","takeWhile"],function(V,ee){var Ce=ee+1,Ye=1==Ce||3==Ce;hs.prototype[V]=function(mt){var Rt=this.clone();return Rt.__iteratees__.push({iteratee:go(mt,3),type:Ce}),Rt.__filtered__=Rt.__filtered__||Ye,Rt}}),ze(["head","last"],function(V,ee){var Ce="take"+(ee?"Right":"");hs.prototype[V]=function(){return this[Ce](1).value()[0]}}),ze(["initial","tail"],function(V,ee){var Ce="drop"+(ee?"":"Right");hs.prototype[V]=function(){return this.__filtered__?new hs(this):this[Ce](1)}}),hs.prototype.compact=function(){return this.filter(mc)},hs.prototype.find=function(V){return this.filter(V).head()},hs.prototype.findLast=function(V){return this.reverse().find(V)},hs.prototype.invokeMap=Zs(function(V,ee){return"function"==typeof V?new hs(this):this.map(function(Ce){return Oc(Ce,V,ee)})}),hs.prototype.reject=function(V){return this.filter(N3(go(V)))},hs.prototype.slice=function(V,ee){V=Js(V);var Ce=this;return Ce.__filtered__&&(V>0||ee<0)?new hs(Ce):(V<0?Ce=Ce.takeRight(-V):V&&(Ce=Ce.drop(V)),ee!==i&&(Ce=(ee=Js(ee))<0?Ce.dropRight(-ee):Ce.take(ee-V)),Ce)},hs.prototype.takeRightWhile=function(V){return this.reverse().takeWhile(V).reverse()},hs.prototype.toArray=function(){return this.take(hn)},Vl(hs.prototype,function(V,ee){var Ce=/^(?:filter|find|map|reject)|While$/.test(ee),Ye=/^(?:head|last)$/.test(ee),mt=kt[Ye?"take"+("last"==ee?"Right":""):ee],Rt=Ye||/^find/.test(ee);!mt||(kt.prototype[ee]=function(){var en=this.__wrapped__,Tn=Ye?[1]:arguments,Fn=en instanceof hs,Ii=Tn[0],Mi=Fn||Lo(en),Ni=function(fe){var ue=mt.apply(kt,ci([fe],Tn));return Ye&&vr?ue[0]:ue};Mi&&Ce&&"function"==typeof Ii&&1!=Ii.length&&(Fn=Mi=!1);var vr=this.__chain__,J=!!this.__actions__.length,b=Rt&&!vr,j=Fn&&!J;if(!Rt&&Mi){en=j?en:new hs(this);var te=V.apply(en,Tn);return te.__actions__.push({func:Z4,args:[Ni],thisArg:i}),new to(te,vr)}return b&&j?V.apply(this,Tn):(te=this.thru(Ni),b?Ye?te.value()[0]:te.value():te)})}),ze(["pop","push","shift","sort","splice","unshift"],function(V){var ee=ts[V],Ce=/^(?:push|sort|unshift)$/.test(V)?"tap":"thru",Ye=/^(?:pop|shift)$/.test(V);kt.prototype[V]=function(){var mt=arguments;if(Ye&&!this.__chain__){var Rt=this.value();return ee.apply(Lo(Rt)?Rt:[],mt)}return this[Ce](function(en){return ee.apply(Lo(en)?en:[],mt)})}}),Vl(hs.prototype,function(V,ee){var Ce=kt[ee];if(Ce){var Ye=Ce.name+"";Ji.call(uc,Ye)||(uc[Ye]=[]),uc[Ye].push({name:ee,func:Ce})}}),uc[G4(i,2).name]=[{name:"wrapper",func:i}],hs.prototype.clone=function i2(){var V=new hs(this.__wrapped__);return V.__actions__=wa(this.__actions__),V.__dir__=this.__dir__,V.__filtered__=this.__filtered__,V.__iteratees__=wa(this.__iteratees__),V.__takeCount__=this.__takeCount__,V.__views__=wa(this.__views__),V},hs.prototype.reverse=function al(){if(this.__filtered__){var V=new hs(this);V.__dir__=-1,V.__filtered__=!0}else(V=this.clone()).__dir__*=-1;return V},hs.prototype.value=function ca(){var V=this.__wrapped__.value(),ee=this.__dir__,Ce=Lo(V),Ye=ee<0,mt=Ce?V.length:0,Rt=function Nc(V,ee,Ce){for(var Ye=-1,mt=Ce.length;++Ye<mt;){var Rt=Ce[Ye],en=Rt.size;switch(Rt.type){case"drop":V+=en;break;case"dropRight":ee-=en;break;case"take":ee=Rn(ee,V+en);break;case"takeRight":V=wn(V,ee-en)}}return{start:V,end:ee}}(0,mt,this.__views__),en=Rt.start,Tn=Rt.end,Fn=Tn-en,Ii=Ye?Tn:en-1,Mi=this.__iteratees__,Ni=Mi.length,vr=0,J=Rn(Fn,this.__takeCount__);if(!Ce||!Ye&&mt==Fn&&J==Fn)return P2(V,this.__actions__);var b=[];e:for(;Fn--&&vr<J;){for(var j=-1,te=V[Ii+=ee];++j<Ni;){var fe=Mi[j],ue=fe.iteratee,je=fe.type,nt=ue(te);if(2==je)te=nt;else if(!nt){if(1==je)continue e;break e}}b[vr++]=te}return b},kt.prototype.at=Yd,kt.prototype.chain=function X4(){return c3(this)},kt.prototype.commit=function m4(){return new to(this.value(),this.__chain__)},kt.prototype.next=function v4(){this.__values__===i&&(this.__values__=Jp(this.value()));var V=this.__index__>=this.__values__.length;return{done:V,value:V?i:this.__values__[this.__index__++]}},kt.prototype.plant=function Wp(V){for(var ee,Ce=this;Ce instanceof D3;){var Ye=gu(Ce);Ye.__index__=0,Ye.__values__=i,ee?mt.__wrapped__=Ye:ee=Ye;var mt=Ye;Ce=Ce.__wrapped__}return mt.__wrapped__=V,ee},kt.prototype.reverse=function d3(){var V=this.__wrapped__;if(V instanceof hs){var ee=V;return this.__actions__.length&&(ee=new hs(this)),(ee=ee.reverse()).__actions__.push({func:Z4,args:[ss],thisArg:i}),new to(ee,this.__chain__)}return this.thru(ss)},kt.prototype.toJSON=kt.prototype.valueOf=kt.prototype.value=function dp(){return P2(this.__wrapped__,this.__actions__)},kt.prototype.first=kt.prototype.head,He&&(kt.prototype[He]=function Cf(){return this}),kt}();Pr._=ya,(n=function(){return ya}.call($e,B,$e,de))!==i&&(de.exports=n)}.call(this)},58685:function(de,$e,B){!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(P){return/^nm$/i.test(P)},meridiem:function(P,m,s){return P<12?s?"vm":"VM":s?"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(P){return P+(1===P||8===P||P>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(56908))},4312:function(de,$e,B){!function(n){"use strict";var i=function(h){return 0===h?0:1===h?1:2===h?2:h%100>=3&&h%100<=10?3:h%100>=11?4:5},P={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(h){return function(v,y,x,C){var _=i(v),w=P[h][i(v)];return 2===_&&(w=w[y?0:1]),w.replace(/%d/i,v)}},s=["\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:s,monthsShort:s,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(h){return"\u0645"===h},meridiem:function(h,v,y){return h<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(h){return h.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(B(56908))},32614:function(de,$e,B){!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}})}(B(56908))},18630:function(de,$e,B){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},P=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%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"]},s=function(v){return function(y,x,C,_){var w=P(y),z=m[v][P(y)];return 2===w&&(z=z[x?0:1]),z.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(v){return"\u0645"===v},meridiem:function(v,y,x){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(v){return v.replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(y){return i[y]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(56908))},28674:function(de,$e,B){!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}})}(B(56908))},49032:function(de,$e,B){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},P={"\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(s){return"\u0645"===s},meridiem:function(s,o,h){return s<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(s){return s.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(o){return P[o]}).replace(/\u060c/g,",")},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(B(56908))},24730:function(de,$e,B){!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}})}(B(56908))},254:function(de,$e,B){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},P={"\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},s={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(x,C,_,w){var z=m(x),R=s[y][m(x)];return 2===z&&(R=R[C?0:1]),R.replace(/%d/i,x)}},h=["\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:h,monthsShort:h,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,x,C){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(x){return P[x]}).replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(x){return i[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(56908))},53052:function(de,$e,B){!function(n){"use strict";var i={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,s,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 s=m%10,o=m%100-s,h=m>=100?100:null;return m+(i[s]||i[o]||i[h])},week:{dow:1,doy:7}})}(B(56908))},60150:function(de,$e,B){!function(n){"use strict";function i(s,o){var h=s.split("_");return o%10==1&&o%100!=11?h[0]:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?h[1]:h[2]}function P(s,o,h){return"m"===h?o?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===h?o?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":s+" "+i({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"}[h],+s)}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:P,mm:P,h:P,hh:P,d:"\u0434\u0437\u0435\u043d\u044c",dd:P,M:"\u043c\u0435\u0441\u044f\u0446",MM:P,y:"\u0433\u043e\u0434",yy:P},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(s){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(s)},meridiem:function(s,o,h){return s<4?"\u043d\u043e\u0447\u044b":s<12?"\u0440\u0430\u043d\u0456\u0446\u044b":s<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(s,o){switch(o){case"M":case"d":case"DDD":case"w":case"W":return s%10!=2&&s%10!=3||s%100==12||s%100==13?s+"-\u044b":s+"-\u0456";case"D":return s+"-\u0433\u0430";default:return s}},week:{dow:1,doy:7}})}(B(56908))},63069:function(de,$e,B){!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(P){var m=P%10,s=P%100;return 0===P?P+"-\u0435\u0432":0===s?P+"-\u0435\u043d":s>10&&s<20?P+"-\u0442\u0438":1===m?P+"-\u0432\u0438":2===m?P+"-\u0440\u0438":7===m||8===m?P+"-\u043c\u0438":P+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(56908))},13466:function(de,$e,B){!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}})}(B(56908))},90557:function(de,$e,B){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},P={"\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(s){return s.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[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(s,o){return 12===s&&(s=0),"\u09b0\u09be\u09a4"===o?s<4?s:s+12:"\u09ad\u09cb\u09b0"===o||"\u09b8\u0995\u09be\u09b2"===o?s:"\u09a6\u09c1\u09aa\u09c1\u09b0"===o?s>=3?s:s+12:"\u09ac\u09bf\u0995\u09be\u09b2"===o||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===o?s+12:void 0},meridiem:function(s,o,h){return s<4?"\u09b0\u09be\u09a4":s<6?"\u09ad\u09cb\u09b0":s<12?"\u09b8\u0995\u09be\u09b2":s<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":s<18?"\u09ac\u09bf\u0995\u09be\u09b2":s<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(B(56908))},18516:function(de,$e,B){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},P={"\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(s){return s.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(s,o){return 12===s&&(s=0),"\u09b0\u09be\u09a4"===o&&s>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===o&&s<5||"\u09ac\u09bf\u0995\u09be\u09b2"===o?s+12:s},meridiem:function(s,o,h){return s<4?"\u09b0\u09be\u09a4":s<10?"\u09b8\u0995\u09be\u09b2":s<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":s<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(B(56908))},26273:function(de,$e,B){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},P={"\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(s){return s.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[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(s,o){return 12===s&&(s=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===o&&s>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===o&&s<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===o?s+12:s},meridiem:function(s,o,h){return s<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":s<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":s<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":s<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(B(56908))},9588:function(de,$e,B){!function(n){"use strict";function i(R,N,S){return R+" "+s({mm:"munutenn",MM:"miz",dd:"devezh"}[S],R)}function P(R){switch(m(R)){case 1:case 3:case 4:case 5:case 9:return R+" bloaz";default:return R+" vloaz"}}function m(R){return R>9?m(R%10):R}function s(R,N){return 2===N?o(R):R}function o(R){var N={m:"v",b:"v",d:"z"};return void 0===N[R.charAt(0)]?R:N[R.charAt(0)]+R.substring(1)}var h=[/^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],v=/^(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,y=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,x=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,C=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],_=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],w=[/^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:w,fullWeekdaysParse:C,shortWeekdaysParse:_,minWeekdaysParse:w,monthsRegex:v,monthsShortRegex:v,monthsStrictRegex:y,monthsShortStrictRegex:x,monthsParse:h,longMonthsParse:h,shortMonthsParse:h,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:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:P},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(R){return R+(1===R?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(R){return"g.m."===R},meridiem:function(R,N,S){return R<12?"a.m.":"g.m."}})}(B(56908))},19815:function(de,$e,B){!function(n){"use strict";function i(m,s,o){var h=m+" ";switch(o){case"ss":return h+=1===m?"sekunda":2===m||3===m||4===m?"sekunde":"sekundi";case"m":return s?"jedna minuta":"jedne minute";case"mm":return h+=1===m?"minuta":2===m||3===m||4===m?"minute":"minuta";case"h":return s?"jedan sat":"jednog sata";case"hh":return h+=1===m?"sat":2===m||3===m||4===m?"sata":"sati";case"dd":return h+=1===m?"dan":"dana";case"MM":return h+=1===m?"mjesec":2===m||3===m||4===m?"mjeseca":"mjeseci";case"yy":return h+=1===m?"godina":2===m||3===m||4===m?"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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},83331:function(de,$e,B){!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(P,m){var s=1===P?"r":2===P?"n":3===P?"r":4===P?"t":"\xe8";return("w"===m||"W"===m)&&(s="a"),P+s},week:{dow:1,doy:4}})}(B(56908))},21320:function(de,$e,B){!function(n){"use strict";var i={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},P="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],s=/^(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 h(y,x,C,_){var w=y+" ";switch(C){case"s":return x||_?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return x||_?w+(o(y)?"sekundy":"sekund"):w+"sekundami";case"m":return x?"minuta":_?"minutu":"minutou";case"mm":return x||_?w+(o(y)?"minuty":"minut"):w+"minutami";case"h":return x?"hodina":_?"hodinu":"hodinou";case"hh":return x||_?w+(o(y)?"hodiny":"hodin"):w+"hodinami";case"d":return x||_?"den":"dnem";case"dd":return x||_?w+(o(y)?"dny":"dn\xed"):w+"dny";case"M":return x||_?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return x||_?w+(o(y)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):w+"m\u011bs\xedci";case"y":return x||_?"rok":"rokem";case"yy":return x||_?w+(o(y)?"roky":"let"):w+"lety"}}n.defineLocale("cs",{months:i,monthsShort:P,monthsRegex:s,monthsShortRegex:s,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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},72219:function(de,$e,B){!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(P){return P+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(P)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(P)?"\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}})}(B(56908))},68266:function(de,$e,B){!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(P){var s="";return P>20?s=40===P||50===P||60===P||80===P||100===P?"fed":"ain":P>0&&(s=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][P]),P+s},week:{dow:1,doy:4}})}(B(56908))},66427:function(de,$e,B){!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}})}(B(56908))},52871:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 s?v[o][0]:v[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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},12994:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 s?v[o][0]:v[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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},67435:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 s?v[o][0]:v[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:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},82357:function(de,$e,B){!function(n){"use strict";var i=["\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"],P=["\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:i,monthsShort:i,weekdays:P,weekdaysShort:P,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(s){return"\u0789\u078a"===s},meridiem:function(s,o,h){return s<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(s){return s.replace(/\u060c/g,",")},postformat:function(s){return s.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(B(56908))},95649:function(de,$e,B){!function(n){"use strict";function i(m){return"undefined"!=typeof Function&&m instanceof Function||"[object Function]"===Object.prototype.toString.call(m)}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,s){return m?"string"==typeof s&&/D/.test(s.substring(0,s.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,s,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,s){var o=this._calendarEl[m],h=s&&s.hours();return i(o)&&(o=o.apply(s)),o.replace("{}",h%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}})}(B(56908))},59961:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:0,doy:4}})}(B(56908))},19878:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}})}(B(56908))},3924:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},70864:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},91579:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")}})}(B(56908))},30940:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:0,doy:6}})}(B(56908))},16181:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},44301:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},85291:function(de,$e,B){!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(P){return"p"===P.charAt(0).toLowerCase()},meridiem:function(P,m,s){return P>11?s?"p.t.m.":"P.T.M.":s?"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}})}(B(56908))},53764:function(de,$e,B){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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}})}(B(56908))},12584:function(de,$e,B){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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"})}(B(56908))},63425:function(de,$e,B){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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}})}(B(56908))},54529:function(de,$e,B){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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"})}(B(56908))},35203:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 s?v[o][2]?v[o][2]:v[o][1]:h?v[o][0]:v[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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},70678:function(de,$e,B){!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}})}(B(56908))},83483:function(de,$e,B){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},P={"\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(s){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(s)},meridiem:function(s,o,h){return s<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(s){return s.replace(/[\u06f0-\u06f9]/g,function(o){return P[o]}).replace(/\u060c/g,",")},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(B(56908))},96262:function(de,$e,B){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),P=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function m(h,v,y,x){var C="";switch(y){case"s":return x?"muutaman sekunnin":"muutama sekunti";case"ss":C=x?"sekunnin":"sekuntia";break;case"m":return x?"minuutin":"minuutti";case"mm":C=x?"minuutin":"minuuttia";break;case"h":return x?"tunnin":"tunti";case"hh":C=x?"tunnin":"tuntia";break;case"d":return x?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":C=x?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return x?"kuukauden":"kuukausi";case"MM":C=x?"kuukauden":"kuukautta";break;case"y":return x?"vuoden":"vuosi";case"yy":C=x?"vuoden":"vuotta"}return C=s(h,x)+" "+C}function s(h,v){return h<10?v?P[h]:i[h]:h}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}})}(B(56908))},52521:function(de,$e,B){!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(P){return P},week:{dow:1,doy:4}})}(B(56908))},34555:function(de,$e,B){!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}})}(B(56908))},88239:function(de,$e,B){!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(P,m){switch(m){default:case"M":case"Q":case"D":case"DDD":case"d":return P+(1===P?"er":"e");case"w":case"W":return P+(1===P?"re":"e")}}})}(B(56908))},21702:function(de,$e,B){!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(P,m){switch(m){default:case"M":case"Q":case"D":case"DDD":case"d":return P+(1===P?"er":"e");case"w":case"W":return P+(1===P?"re":"e")}},week:{dow:1,doy:4}})}(B(56908))},63131:function(de,$e,B){!function(n){"use strict";var i=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,P=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,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,s=[/^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:i,monthsShortStrictRegex:P,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,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(h,v){switch(v){case"D":return h+(1===h?"er":"");default:case"M":case"Q":case"DDD":case"d":return h+(1===h?"er":"e");case"w":case"W":return h+(1===h?"re":"e")}},week:{dow:1,doy:4}})}(B(56908))},267:function(de,$e,B){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),P="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(s,o){return s?/-MMM-/.test(o)?P[s.month()]:i[s.month()]:i},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(s){return s+(1===s||8===s||s>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(56908))},23821:function(de,$e,B){!function(n){"use strict";var i=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],P=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],m=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],s=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],o=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];n.defineLocale("ga",{months:i,monthsShort:P,monthsParseExact:!0,weekdays:m,weekdaysShort:s,weekdaysMin:o,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(v){return v+(1===v?"d":v%10==2?"na":"mh")},week:{dow:1,doy:4}})}(B(56908))},71753:function(de,$e,B){!function(n){"use strict";var i=["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"],P=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],m=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],s=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];n.defineLocale("gd",{months:i,monthsShort:P,monthsParseExact:!0,weekdays:m,weekdaysShort:s,weekdaysMin:o,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(v){return v+(1===v?"d":v%10==2?"na":"mh")},week:{dow:1,doy:4}})}(B(56908))},4074:function(de,$e,B){!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(P){return 0===P.indexOf("un")?"n"+P:"en "+P},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}})}(B(56908))},92762:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 h?v[o][0]:v[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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(m,s){return"D"===s?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,s){return 12===m&&(m=0),"\u0930\u093e\u0924\u0940"===s?m<4?m:m+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===s?m:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===s?m>12?m:m+12:"\u0938\u093e\u0902\u091c\u0947"===s?m+12:void 0},meridiem:function(m,s,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"}})}(B(56908))},5969:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v={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 h?v[o][0]:v[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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(m,s){return"D"===s?m+"er":m},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(m,s){return 12===m&&(m=0),"rati"===s?m<4?m:m+12:"sokallim"===s?m:"donparam"===s?m>12?m:m+12:"sanje"===s?m+12:void 0},meridiem:function(m,s,o){return m<4?"rati":m<12?"sokallim":m<16?"donparam":m<20?"sanje":"rati"}})}(B(56908))},82809:function(de,$e,B){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},P={"\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(s){return s.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(s,o){return 12===s&&(s=0),"\u0ab0\u0abe\u0aa4"===o?s<4?s:s+12:"\u0ab8\u0ab5\u0abe\u0ab0"===o?s:"\u0aac\u0aaa\u0acb\u0ab0"===o?s>=10?s:s+12:"\u0ab8\u0abe\u0a82\u0a9c"===o?s+12:void 0},meridiem:function(s,o,h){return s<4?"\u0ab0\u0abe\u0aa4":s<10?"\u0ab8\u0ab5\u0abe\u0ab0":s<17?"\u0aac\u0aaa\u0acb\u0ab0":s<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(B(56908))},45402:function(de,$e,B){!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(P){return 2===P?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":P+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(P){return 2===P?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":P+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(P){return 2===P?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":P+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(P){return 2===P?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":P%10==0&&10!==P?P+" \u05e9\u05e0\u05d4":P+" \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(P){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(P)},meridiem:function(P,m,s){return P<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":P<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":P<12?s?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":P<18?s?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(B(56908))},315:function(de,$e,B){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},P={"\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],s=[/^\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];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:s,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(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(v){return P[v]})},postformat:function(h){return h.replace(/\d/g,function(v){return i[v]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,v){return 12===h&&(h=0),"\u0930\u093e\u0924"===v?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===v?h:"\u0926\u094b\u092a\u0939\u0930"===v?h>=10?h:h+12:"\u0936\u093e\u092e"===v?h+12:void 0},meridiem:function(h,v,y){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(B(56908))},10410:function(de,$e,B){!function(n){"use strict";function i(m,s,o){var h=m+" ";switch(o){case"ss":return h+=1===m?"sekunda":2===m||3===m||4===m?"sekunde":"sekundi";case"m":return s?"jedna minuta":"jedne minute";case"mm":return h+=1===m?"minuta":2===m||3===m||4===m?"minute":"minuta";case"h":return s?"jedan sat":"jednog sata";case"hh":return h+=1===m?"sat":2===m||3===m||4===m?"sata":"sati";case"dd":return h+=1===m?"dan":"dana";case"MM":return h+=1===m?"mjesec":2===m||3===m||4===m?"mjeseca":"mjeseci";case"yy":return h+=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:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},38288:function(de,$e,B){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function P(o,h,v,y){var x=o;switch(v){case"s":return y||h?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return x+(y||h)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(y||h?" perc":" perce");case"mm":return x+(y||h?" perc":" perce");case"h":return"egy"+(y||h?" \xf3ra":" \xf3r\xe1ja");case"hh":return x+(y||h?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(y||h?" nap":" napja");case"dd":return x+(y||h?" nap":" napja");case"M":return"egy"+(y||h?" h\xf3nap":" h\xf3napja");case"MM":return x+(y||h?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(y||h?" \xe9v":" \xe9ve");case"yy":return x+(y||h?" \xe9v":" \xe9ve")}return""}function m(o){return(o?"":"[m\xfalt] ")+"["+i[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,h,v){return o<12?!0===v?"de":"DE":!0===v?"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:P,ss:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},67928:function(de,$e,B){!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(P){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(P)},meridiem:function(P){return P<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":P<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":P<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(P,m){switch(m){case"DDD":case"w":case"W":case"DDDo":return 1===P?P+"-\u056b\u0576":P+"-\u0580\u0564";default:return P}},week:{dow:1,doy:7}})}(B(56908))},71334:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"pagi"===m?P:"siang"===m?P>=11?P:P+12:"sore"===m||"malam"===m?P+12:void 0},meridiem:function(P,m,s){return P<11?"pagi":P<15?"siang":P<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}})}(B(56908))},86959:function(de,$e,B){!function(n){"use strict";function i(s){return s%100==11||s%10!=1}function P(s,o,h,v){var y=s+" ";switch(h){case"s":return o||v?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(s)?y+(o||v?"sek\xfandur":"sek\xfandum"):y+"sek\xfanda";case"m":return o?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(s)?y+(o||v?"m\xedn\xfatur":"m\xedn\xfatum"):o?y+"m\xedn\xfata":y+"m\xedn\xfatu";case"hh":return i(s)?y+(o||v?"klukkustundir":"klukkustundum"):y+"klukkustund";case"d":return o?"dagur":v?"dag":"degi";case"dd":return i(s)?o?y+"dagar":y+(v?"daga":"d\xf6gum"):o?y+"dagur":y+(v?"dag":"degi");case"M":return o?"m\xe1nu\xf0ur":v?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(s)?o?y+"m\xe1nu\xf0ir":y+(v?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):o?y+"m\xe1nu\xf0ur":y+(v?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return o||v?"\xe1r":"\xe1ri";case"yy":return i(s)?y+(o||v?"\xe1r":"\xe1rum"):y+(o||v?"\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:P,ss:P,m:P,mm:P,h:"klukkustund",hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},51124:function(de,$e,B){!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(P){return(/^[0-9].+$/.test(P)?"tra":"in")+" "+P},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}})}(B(56908))},34864:function(de,$e,B){!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}})}(B(56908))},36141:function(de,$e,B){!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(P,m){return"\u5143"===m[1]?1:parseInt(m[1]||P,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(P){return"\u5348\u5f8c"===P},meridiem:function(P,m,s){return P<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(P){return P.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(P){return this.week()!==P.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(P,m){switch(m){case"y":return 1===P?"\u5143\u5e74":P+"\u5e74";case"d":case"D":case"DDD":return P+"\u65e5";default:return P}},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"}})}(B(56908))},29187:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"enjing"===m?P:"siyang"===m?P>=11?P:P+12:"sonten"===m||"ndalu"===m?P+12:void 0},meridiem:function(P,m,s){return P<11?"enjing":P<15?"siyang":P<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}})}(B(56908))},42136:function(de,$e,B){!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(P){return P.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(m,s,o){return"\u10d8"===o?s+"\u10e8\u10d8":s+o+"\u10e8\u10d8"})},past:function(P){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(P)?P.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(P)?P.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):P},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(P){return 0===P?P:1===P?P+"-\u10da\u10d8":P<20||P<=100&&P%20==0||P%100==0?"\u10db\u10d4-"+P:P+"-\u10d4"},week:{dow:1,doy:7}})}(B(56908))},94332:function(de,$e,B){!function(n){"use strict";var i={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){var s=m%10,o=m>=100?100:null;return m+(i[m]||i[s]||i[o])},week:{dow:1,doy:7}})}(B(56908))},18607:function(de,$e,B){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},P={"\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(s){return"\u179b\u17d2\u1784\u17b6\u1785"===s},meridiem:function(s,o,h){return s<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(s){return s.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},week:{dow:1,doy:4}})}(B(56908))},84305:function(de,$e,B){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},P={"\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(s){return s.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[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(s,o){return 12===s&&(s=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===o?s<4?s:s+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===o?s:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===o?s>=10?s:s+12:"\u0cb8\u0c82\u0c9c\u0cc6"===o?s+12:void 0},meridiem:function(s,o,h){return s<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":s<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":s<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":s<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(s){return s+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(B(56908))},70234:function(de,$e,B){!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(P,m){switch(m){case"d":case"D":case"DDD":return P+"\uc77c";case"M":return P+"\uc6d4";case"w":case"W":return P+"\uc8fc";default:return P}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(P){return"\uc624\ud6c4"===P},meridiem:function(P,m,s){return P<12?"\uc624\uc804":"\uc624\ud6c4"}})}(B(56908))},16003:function(de,$e,B){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},P={"\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,h,v){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(h){return P[h]}).replace(/\u060c/g,",")},postformat:function(o){return o.replace(/\d/g,function(h){return i[h]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(56908))},75061:function(de,$e,B){!function(n){"use strict";var i={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){var s=m%10,o=m>=100?100:null;return m+(i[m]||i[s]||i[o])},week:{dow:1,doy:7}})}(B(56908))},32786:function(de,$e,B){!function(n){"use strict";function i(h,v,y,x){var C={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 v?C[y][0]:C[y][1]}function P(h){return s(h.substr(0,h.indexOf(" ")))?"a "+h:"an "+h}function m(h){return s(h.substr(0,h.indexOf(" ")))?"viru "+h:"virun "+h}function s(h){if(h=parseInt(h,10),isNaN(h))return!1;if(h<0)return!0;if(h<10)return 4<=h&&h<=7;if(h<100){var v=h%10;return s(0===v?h/10:v)}if(h<1e4){for(;h>=10;)h/=10;return s(h)}return s(h/=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:P,past:m,s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},66183:function(de,$e,B){!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(P){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===P},meridiem:function(P,m,s){return P<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(P){return"\u0e97\u0eb5\u0ec8"+P}})}(B(56908))},50029:function(de,$e,B){!function(n){"use strict";var i={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 P(y,x,C,_){return x?"kelios sekund\u0117s":_?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function m(y,x,C,_){return x?o(C)[0]:_?o(C)[1]:o(C)[2]}function s(y){return y%10==0||y>10&&y<20}function o(y){return i[y].split("_")}function h(y,x,C,_){var w=y+" ";return 1===y?w+m(y,x,C[0],_):x?w+(s(y)?o(C)[1]:o(C)[0]):_?w+o(C)[1]:w+(s(y)?o(C)[1]:o(C)[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:P,ss:h,m,mm:h,h:m,hh:h,d:m,dd:h,M:m,MM:h,y:m,yy:h},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(y){return y+"-oji"},week:{dow:1,doy:4}})}(B(56908))},24169:function(de,$e,B){!function(n){"use strict";var i={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 P(v,y,x){return x?y%10==1&&y%100!=11?v[2]:v[3]:y%10==1&&y%100!=11?v[0]:v[1]}function m(v,y,x){return v+" "+P(i[x],v,y)}function s(v,y,x){return P(i[x],v,y)}function o(v,y){return y?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}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:o,ss:m,m:s,mm:m,h:s,hh:m,d:s,dd:m,M:s,MM:m,y:s,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},68577:function(de,$e,B){!function(n){"use strict";var i={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,s){return 1===m?s[0]:m>=2&&m<=4?s[1]:s[2]},translate:function(m,s,o){var h=i.words[o];return 1===o.length?s?h[0]:h[1]:m+" "+i.correctGrammaticalCase(m,h)}};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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},68177:function(de,$e,B){!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}})}(B(56908))},50337:function(de,$e,B){!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(P){var m=P%10,s=P%100;return 0===P?P+"-\u0435\u0432":0===s?P+"-\u0435\u043d":s>10&&s<20?P+"-\u0442\u0438":1===m?P+"-\u0432\u0438":2===m?P+"-\u0440\u0438":7===m||8===m?P+"-\u043c\u0438":P+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(56908))},65260:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===m&&P>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===m||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===m?P+12:P},meridiem:function(P,m,s){return P<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":P<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":P<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":P<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(B(56908))},52325:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){switch(o){case"s":return s?"\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+(s?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return m+(s?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return m+(s?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return m+(s?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return m+(s?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return m+(s?" \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,s,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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(m,s){switch(s){case"d":case"D":case"DDD":return m+" \u04e9\u0434\u04e9\u0440";default:return m}}})}(B(56908))},14695:function(de,$e,B){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},P={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function m(o,h,v,y){var x="";if(h)switch(v){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":x="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":x="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":x="%d \u0924\u093e\u0938";break;case"d":x="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":x="%d \u0926\u093f\u0935\u0938";break;case"M":x="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":x="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u0947"}else switch(v){case"s":x="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":x="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":x="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":x="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":x="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":x="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":x="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":x="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":x="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":x="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":x="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":x="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return x.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(h){return P[h]})},postformat:function(o){return o.replace(/\d/g,function(h){return i[h]})},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,h){return 12===o&&(o=0),"\u092a\u0939\u093e\u091f\u0947"===h||"\u0938\u0915\u093e\u0933\u0940"===h?o:"\u0926\u0941\u092a\u093e\u0930\u0940"===h||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h||"\u0930\u093e\u0924\u094d\u0930\u0940"===h?o>=12?o:o+12:void 0},meridiem:function(o,h,v){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}})}(B(56908))},37151:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"pagi"===m?P:"tengahari"===m?P>=11?P:P+12:"petang"===m||"malam"===m?P+12:void 0},meridiem:function(P,m,s){return P<11?"pagi":P<15?"tengahari":P<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}})}(B(56908))},75334:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"pagi"===m?P:"tengahari"===m?P>=11?P:P+12:"petang"===m||"malam"===m?P+12:void 0},meridiem:function(P,m,s){return P<11?"pagi":P<15?"tengahari":P<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}})}(B(56908))},63570:function(de,$e,B){!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}})}(B(56908))},97963:function(de,$e,B){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},P={"\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(s){return s.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},week:{dow:1,doy:4}})}(B(56908))},88028:function(de,$e,B){!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:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},86638:function(de,$e,B){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},P={"\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(s){return s.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(s,o){return 12===s&&(s=0),"\u0930\u093e\u0924\u093f"===o?s<4?s:s+12:"\u092c\u093f\u0939\u093e\u0928"===o?s:"\u0926\u093f\u0909\u0901\u0938\u094b"===o?s>=10?s:s+12:"\u0938\u093e\u0901\u091d"===o?s+12:void 0},meridiem:function(s,o,h){return s<3?"\u0930\u093e\u0924\u093f":s<12?"\u092c\u093f\u0939\u093e\u0928":s<16?"\u0926\u093f\u0909\u0901\u0938\u094b":s<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}})}(B(56908))},66782:function(de,$e,B){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(56908))},50302:function(de,$e,B){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),P="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],s=/^(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(h,v){return h?/-MMM-/.test(v)?P[h.month()]:i[h.month()]:i},monthsRegex:s,monthsShortRegex:s,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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(56908))},33501:function(de,$e,B){!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}})}(B(56908))},50563:function(de,$e,B){!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(P,m){var s=1===P?"r":2===P?"n":3===P?"r":4===P?"t":"\xe8";return("w"===m||"W"===m)&&(s="a"),P+s},week:{dow:1,doy:4}})}(B(56908))},50869:function(de,$e,B){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},P={"\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(s){return s.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[o]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(s,o){return 12===s&&(s=0),"\u0a30\u0a3e\u0a24"===o?s<4?s:s+12:"\u0a38\u0a35\u0a47\u0a30"===o?s:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===o?s>=10?s:s+12:"\u0a38\u0a3c\u0a3e\u0a2e"===o?s+12:void 0},meridiem:function(s,o,h){return s<4?"\u0a30\u0a3e\u0a24":s<10?"\u0a38\u0a35\u0a47\u0a30":s<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":s<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(B(56908))},65302:function(de,$e,B){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),P="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 s(v){return v%10<5&&v%10>1&&~~(v/10)%10!=1}function o(v,y,x){var C=v+" ";switch(x){case"ss":return C+(s(v)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return C+(s(v)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return C+(s(v)?"godziny":"godzin");case"ww":return C+(s(v)?"tygodnie":"tygodni");case"MM":return C+(s(v)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return C+(s(v)?"lata":"lat")}}n.defineLocale("pl",{months:function(v,y){return v?/D MMMM/.test(y)?P[v.month()]:i[v.month()]:i},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}})}(B(56908))},74884:function(de,$e,B){!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"})}(B(56908))},49687:function(de,$e,B){!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}})}(B(56908))},79107:function(de,$e,B){!function(n){"use strict";function i(m,s,o){var v=" ";return(m%100>=20||m>=100&&m%100==0)&&(v=" de "),m+v+{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:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(B(56908))},33627:function(de,$e,B){!function(n){"use strict";function i(o,h){var v=o.split("_");return h%10==1&&h%100!=11?v[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?v[1]:v[2]}function P(o,h,v){return"m"===v?h?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":o+" "+i({ss:h?"\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:h?"\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"}[v],+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:P,m:P,mm:P,h:"\u0447\u0430\u0441",hh:P,d:"\u0434\u0435\u043d\u044c",dd:P,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:P,M:"\u043c\u0435\u0441\u044f\u0446",MM:P,y:"\u0433\u043e\u0434",yy:P},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,h,v){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,h){switch(h){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}})}(B(56908))},30355:function(de,$e,B){!function(n){"use strict";var i=["\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"],P=["\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:i,monthsShort:i,weekdays:P,weekdaysShort:P,weekdaysMin:P,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(s){return"\u0634\u0627\u0645"===s},meridiem:function(s,o,h){return s<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(s){return s.replace(/\u060c/g,",")},postformat:function(s){return s.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(56908))},83427:function(de,$e,B){!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}})}(B(56908))},11848:function(de,$e,B){!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(P){return P+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(P){return"\u0db4.\u0dc0."===P||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===P},meridiem:function(P,m,s){return P>11?s?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":s?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(B(56908))},54590:function(de,$e,B){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),P="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function m(h){return h>1&&h<5}function s(h,v,y,x){var C=h+" ";switch(y){case"s":return v||x?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return v||x?C+(m(h)?"sekundy":"sek\xfand"):C+"sekundami";case"m":return v?"min\xfata":x?"min\xfatu":"min\xfatou";case"mm":return v||x?C+(m(h)?"min\xfaty":"min\xfat"):C+"min\xfatami";case"h":return v?"hodina":x?"hodinu":"hodinou";case"hh":return v||x?C+(m(h)?"hodiny":"hod\xedn"):C+"hodinami";case"d":return v||x?"de\u0148":"d\u0148om";case"dd":return v||x?C+(m(h)?"dni":"dn\xed"):C+"d\u0148ami";case"M":return v||x?"mesiac":"mesiacom";case"MM":return v||x?C+(m(h)?"mesiace":"mesiacov"):C+"mesiacmi";case"y":return v||x?"rok":"rokom";case"yy":return v||x?C+(m(h)?"roky":"rokov"):C+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:P,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,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},20184:function(de,$e,B){!function(n){"use strict";function i(m,s,o,h){var v=m+" ";switch(o){case"s":return s||h?"nekaj sekund":"nekaj sekundami";case"ss":return v+=1===m?s?"sekundo":"sekundi":2===m?s||h?"sekundi":"sekundah":m<5?s||h?"sekunde":"sekundah":"sekund";case"m":return s?"ena minuta":"eno minuto";case"mm":return v+=1===m?s?"minuta":"minuto":2===m?s||h?"minuti":"minutama":m<5?s||h?"minute":"minutami":s||h?"minut":"minutami";case"h":return s?"ena ura":"eno uro";case"hh":return v+=1===m?s?"ura":"uro":2===m?s||h?"uri":"urama":m<5?s||h?"ure":"urami":s||h?"ur":"urami";case"d":return s||h?"en dan":"enim dnem";case"dd":return v+=1===m?s||h?"dan":"dnem":2===m?s||h?"dni":"dnevoma":s||h?"dni":"dnevi";case"M":return s||h?"en mesec":"enim mesecem";case"MM":return v+=1===m?s||h?"mesec":"mesecem":2===m?s||h?"meseca":"mesecema":m<5?s||h?"mesece":"meseci":s||h?"mesecev":"meseci";case"y":return s||h?"eno leto":"enim letom";case"yy":return v+=1===m?s||h?"leto":"letom":2===m?s||h?"leti":"letoma":m<5?s||h?"leta":"leti":s||h?"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:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},56361:function(de,$e,B){!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(P){return"M"===P.charAt(0)},meridiem:function(P,m,s){return P<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}})}(B(56908))},81287:function(de,$e,B){!function(n){"use strict";var i={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,s){return m%10>=1&&m%10<=4&&(m%100<10||m%100>=20)?m%10==1?s[0]:s[1]:s[2]},translate:function(m,s,o,h){var y,v=i.words[o];return 1===o.length?"y"===o&&s?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":h||s?v[0]:v[1]:(y=i.correctGrammaticalCase(m,v),"yy"===o&&s&&"\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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},78965:function(de,$e,B){!function(n){"use strict";var i={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,s){return m%10>=1&&m%10<=4&&(m%100<10||m%100>=20)?m%10==1?s[0]:s[1]:s[2]},translate:function(m,s,o,h){var y,v=i.words[o];return 1===o.length?"y"===o&&s?"jedna godina":h||s?v[0]:v[1]:(y=i.correctGrammaticalCase(m,v),"yy"===o&&s&&"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:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(56908))},25456:function(de,$e,B){!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(P,m,s){return P<11?"ekuseni":P<15?"emini":P<19?"entsambama":"ebusuku"},meridiemHour:function(P,m){return 12===P&&(P=0),"ekuseni"===m?P:"emini"===m?P>=11?P:P+12:"entsambama"===m||"ebusuku"===m?0===P?0:P+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(B(56908))},70451:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?":e":1===m||2===m?":a":":e")},week:{dow:1,doy:4}})}(B(56908))},77558:function(de,$e,B){!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}})}(B(56908))},51356:function(de,$e,B){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},P={"\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(s){return s+"\u0bb5\u0ba4\u0bc1"},preparse:function(s){return s.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(o){return P[o]})},postformat:function(s){return s.replace(/\d/g,function(o){return i[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(s,o,h){return s<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":s<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":s<10?" \u0b95\u0bbe\u0bb2\u0bc8":s<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":s<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":s<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(s,o){return 12===s&&(s=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===o?s<2?s:s+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===o||"\u0b95\u0bbe\u0bb2\u0bc8"===o||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===o&&s>=10?s:s+12},week:{dow:0,doy:6}})}(B(56908))},73693:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===m?P<4?P:P+12:"\u0c09\u0c26\u0c2f\u0c02"===m?P:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===m?P>=10?P:P+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===m?P+12:void 0},meridiem:function(P,m,s){return P<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":P<10?"\u0c09\u0c26\u0c2f\u0c02":P<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":P<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(B(56908))},21243:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},42500:function(de,$e,B){!function(n){"use strict";var i={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,s){return 12===m&&(m=0),"\u0448\u0430\u0431"===s?m<4?m:m+12:"\u0441\u0443\u0431\u04b3"===s?m:"\u0440\u04ef\u0437"===s?m>=11?m:m+12:"\u0431\u0435\u0433\u043e\u04b3"===s?m+12:void 0},meridiem:function(m,s,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){var s=m%10,o=m>=100?100:null;return m+(i[m]||i[s]||i[o])},week:{dow:1,doy:7}})}(B(56908))},55768:function(de,$e,B){!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(P){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===P},meridiem:function(P,m,s){return P<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"}})}(B(56908))},77761:function(de,$e,B){!function(n){"use strict";var i={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,s){switch(s){case"d":case"D":case"Do":case"DD":return m;default:if(0===m)return m+"'unjy";var o=m%10,h=m%100-o,v=m>=100?100:null;return m+(i[o]||i[h]||i[v])}},week:{dow:1,doy:7}})}(B(56908))},35780:function(de,$e,B){!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(P){return P},week:{dow:1,doy:4}})}(B(56908))},29590:function(de,$e,B){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function P(v){var y=v;return y=-1!==v.indexOf("jaj")?y.slice(0,-3)+"leS":-1!==v.indexOf("jar")?y.slice(0,-3)+"waQ":-1!==v.indexOf("DIS")?y.slice(0,-3)+"nem":y+" pIq"}function m(v){var y=v;return y=-1!==v.indexOf("jaj")?y.slice(0,-3)+"Hu\u2019":-1!==v.indexOf("jar")?y.slice(0,-3)+"wen":-1!==v.indexOf("DIS")?y.slice(0,-3)+"ben":y+" ret"}function s(v,y,x,C){var _=o(v);switch(x){case"ss":return _+" lup";case"mm":return _+" tup";case"hh":return _+" rep";case"dd":return _+" jaj";case"MM":return _+" jar";case"yy":return _+" DIS"}}function o(v){var y=Math.floor(v%1e3/100),x=Math.floor(v%100/10),C=v%10,_="";return y>0&&(_+=i[y]+"vatlh"),x>0&&(_+=(""!==_?" ":"")+i[x]+"maH"),C>0&&(_+=(""!==_?" ":"")+i[C]),""===_?"pagh":_}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:P,past:m,s:"puS lup",ss:s,m:"wa\u2019 tup",mm:s,h:"wa\u2019 rep",hh:s,d:"wa\u2019 jaj",dd:s,M:"wa\u2019 jar",MM:s,y:"wa\u2019 DIS",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},33807:function(de,$e,B){!function(n){"use strict";var i={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,s,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,s){switch(s){case"d":case"D":case"Do":case"DD":return m;default:if(0===m)return m+"'\u0131nc\u0131";var o=m%10,h=m%100-o,v=m>=100?100:null;return m+(i[o]||i[h]||i[v])}},week:{dow:1,doy:7}})}(B(56908))},93857:function(de,$e,B){!function(n){"use strict";function P(m,s,o,h){var v={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 h||s?v[o][0]:v[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,s,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:P,ss:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(56908))},8806:function(de,$e,B){!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}})}(B(56908))},60654:function(de,$e,B){!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}})}(B(56908))},30845:function(de,$e,B){!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(P,m){return 12===P&&(P=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?P:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===m||"\u0643\u06d5\u0686"===m?P+12:P>=11?P:P+12},meridiem:function(P,m,s){var o=100*P+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(P,m){switch(m){case"d":case"D":case"DDD":return P+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return P+"-\u06be\u06d5\u067e\u062a\u06d5";default:return P}},preparse:function(P){return P.replace(/\u060c/g,",")},postformat:function(P){return P.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(B(56908))},19232:function(de,$e,B){!function(n){"use strict";function i(h,v){var y=h.split("_");return v%10==1&&v%100!=11?y[0]:v%10>=2&&v%10<=4&&(v%100<10||v%100>=20)?y[1]:y[2]}function P(h,v,y){return"m"===y?v?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===y?v?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":h+" "+i({ss:v?"\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:v?"\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:v?"\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],+h)}function m(h,v){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===h?y.nominative.slice(1,7).concat(y.nominative.slice(0,1)):h?y[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(v)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(v)?"genitive":"nominative"][h.day()]:y.nominative}function s(h){return function(){return h+"\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:m,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:s("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:s("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:s("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:s("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return s("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return s("[\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:P,m:P,mm:P,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:P,d:"\u0434\u0435\u043d\u044c",dd:P,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:P,y:"\u0440\u0456\u043a",yy:P},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,v,y){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,v){switch(v){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(B(56908))},47052:function(de,$e,B){!function(n){"use strict";var i=["\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"],P=["\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:i,monthsShort:i,weekdays:P,weekdaysShort:P,weekdaysMin:P,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(s){return"\u0634\u0627\u0645"===s},meridiem:function(s,o,h){return s<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(s){return s.replace(/\u060c/g,",")},postformat:function(s){return s.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(56908))},32233:function(de,$e,B){!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}})}(B(56908))},77967:function(de,$e,B){!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}})}(B(56908))},98615:function(de,$e,B){!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(P){return/^ch$/i.test(P)},meridiem:function(P,m,s){return P<12?s?"sa":"SA":s?"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(P){return P},week:{dow:1,doy:4}})}(B(56908))},12320:function(de,$e,B){!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(P){var m=P%10;return P+(1==~~(P%100/10)?"th":1===m?"st":2===m?"nd":3===m?"rd":"th")},week:{dow:1,doy:4}})}(B(56908))},31313:function(de,$e,B){!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}})}(B(56908))},64490:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?P:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?P+12:P>=11?P:P+12},meridiem:function(P,m,s){var o=100*P+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(P){return P.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(P){return this.week()!==P.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(P,m){switch(m){case"d":case"D":case"DDD":return P+"\u65e5";case"M":return P+"\u6708";case"w":case"W":return P+"\u5468";default:return P}},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}})}(B(56908))},55910:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?P:"\u4e2d\u5348"===m?P>=11?P:P+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?P+12:void 0},meridiem:function(P,m,s){var o=100*P+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(P,m){switch(m){case"d":case"D":case"DDD":return P+"\u65e5";case"M":return P+"\u6708";case"w":case"W":return P+"\u9031";default:return P}},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"}})}(B(56908))},98262:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?P:"\u4e2d\u5348"===m?P>=11?P:P+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?P+12:void 0},meridiem:function(P,m,s){var o=100*P+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(P,m){switch(m){case"d":case"D":case"DDD":return P+"\u65e5";case"M":return P+"\u6708";case"w":case"W":return P+"\u9031";default:return P}},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"}})}(B(56908))},44223:function(de,$e,B){!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(P,m){return 12===P&&(P=0),"\u51cc\u6668"===m||"\u65e9\u4e0a"===m||"\u4e0a\u5348"===m?P:"\u4e2d\u5348"===m?P>=11?P:P+12:"\u4e0b\u5348"===m||"\u665a\u4e0a"===m?P+12:void 0},meridiem:function(P,m,s){var o=100*P+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(P,m){switch(m){case"d":case"D":case"DDD":return P+"\u65e5";case"M":return P+"\u6708";case"w":case"W":return P+"\u9031";default:return P}},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"}})}(B(56908))},56908:function(de,$e,B){(de=B.nmd(de)).exports=function(){"use strict";var n,N;function i(){return n.apply(null,arguments)}function P(se){n=se}function m(se){return se instanceof Array||"[object Array]"===Object.prototype.toString.call(se)}function s(se){return null!=se&&"[object Object]"===Object.prototype.toString.call(se)}function o(se,Te){return Object.prototype.hasOwnProperty.call(se,Te)}function h(se){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(se).length;var Te;for(Te in se)if(o(se,Te))return!1;return!0}function v(se){return void 0===se}function y(se){return"number"==typeof se||"[object Number]"===Object.prototype.toString.call(se)}function x(se){return se instanceof Date||"[object Date]"===Object.prototype.toString.call(se)}function C(se,Te){var it,Ue=[],Lt=se.length;for(it=0;it<Lt;++it)Ue.push(Te(se[it],it));return Ue}function _(se,Te){for(var Ue in Te)o(Te,Ue)&&(se[Ue]=Te[Ue]);return o(Te,"toString")&&(se.toString=Te.toString),o(Te,"valueOf")&&(se.valueOf=Te.valueOf),se}function w(se,Te,Ue,it){return ml(se,Te,Ue,it,!0).utc()}function z(){return{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}}function R(se){return null==se._pf&&(se._pf=z()),se._pf}function S(se){if(null==se._isValid){var Te=R(se),Ue=N.call(Te.parsedDateParts,function(Lt){return null!=Lt}),it=!isNaN(se._d.getTime())&&Te.overflow<0&&!Te.empty&&!Te.invalidEra&&!Te.invalidMonth&&!Te.invalidWeekday&&!Te.weekdayMismatch&&!Te.nullInput&&!Te.invalidFormat&&!Te.userInvalidated&&(!Te.meridiem||Te.meridiem&&Ue);if(se._strict&&(it=it&&0===Te.charsLeftOver&&0===Te.unusedTokens.length&&void 0===Te.bigHour),null!=Object.isFrozen&&Object.isFrozen(se))return it;se._isValid=it}return se._isValid}function E(se){var Te=w(NaN);return null!=se?_(R(Te),se):R(Te).userInvalidated=!0,Te}N=Array.prototype.some?Array.prototype.some:function(se){var it,Te=Object(this),Ue=Te.length>>>0;for(it=0;it<Ue;it++)if(it in Te&&se.call(this,Te[it],it,Te))return!0;return!1};var O=i.momentProperties=[],H=!1;function U(se,Te){var Ue,it,Lt,mn=O.length;if(v(Te._isAMomentObject)||(se._isAMomentObject=Te._isAMomentObject),v(Te._i)||(se._i=Te._i),v(Te._f)||(se._f=Te._f),v(Te._l)||(se._l=Te._l),v(Te._strict)||(se._strict=Te._strict),v(Te._tzm)||(se._tzm=Te._tzm),v(Te._isUTC)||(se._isUTC=Te._isUTC),v(Te._offset)||(se._offset=Te._offset),v(Te._pf)||(se._pf=R(Te)),v(Te._locale)||(se._locale=Te._locale),mn>0)for(Ue=0;Ue<mn;Ue++)v(Lt=Te[it=O[Ue]])||(se[it]=Lt);return se}function X(se){U(this,se),this._d=new Date(null!=se._d?se._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===H&&(H=!0,i.updateOffset(this),H=!1)}function W(se){return se instanceof X||null!=se&&null!=se._isAMomentObject}function re(se){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+se)}function pe(se,Te){var Ue=!0;return _(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,se),Ue){var Lt,mn,ii,it=[],Tr=arguments.length;for(mn=0;mn<Tr;mn++){if(Lt="","object"==typeof arguments[mn]){for(ii in Lt+="\n["+mn+"] ",arguments[0])o(arguments[0],ii)&&(Lt+=ii+": "+arguments[0][ii]+", ");Lt=Lt.slice(0,-2)}else Lt=arguments[mn];it.push(Lt)}re(se+"\nArguments: "+Array.prototype.slice.call(it).join("")+"\n"+(new Error).stack),Ue=!1}return Te.apply(this,arguments)},Te)}var vt,Ae={};function Se(se,Te){null!=i.deprecationHandler&&i.deprecationHandler(se,Te),Ae[se]||(re(Te),Ae[se]=!0)}function De(se){return"undefined"!=typeof Function&&se instanceof Function||"[object Function]"===Object.prototype.toString.call(se)}function qe(se){var Te,Ue;for(Ue in se)o(se,Ue)&&(De(Te=se[Ue])?this[Ue]=Te:this["_"+Ue]=Te);this._config=se,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function rt(se,Te){var it,Ue=_({},se);for(it in Te)o(Te,it)&&(s(se[it])&&s(Te[it])?(Ue[it]={},_(Ue[it],se[it]),_(Ue[it],Te[it])):null!=Te[it]?Ue[it]=Te[it]:delete Ue[it]);for(it in se)o(se,it)&&!o(Te,it)&&s(se[it])&&(Ue[it]=_({},Ue[it]));return Ue}function ot(se){null!=se&&this.set(se)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,vt=Object.keys?Object.keys:function(se){var Te,Ue=[];for(Te in se)o(se,Te)&&Ue.push(Te);return Ue};var rn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Xt(se,Te,Ue){var it=this._calendar[se]||this._calendar.sameElse;return De(it)?it.call(Te,Ue):it}function fn(se,Te,Ue){var it=""+Math.abs(se),Lt=Te-it.length;return(se>=0?Ue?"+":"":"-")+Math.pow(10,Math.max(0,Lt)).toString().substr(1)+it}var _n=/(\[[^\[]*\])|(\\)?([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,hn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vn={},xn={};function dn(se,Te,Ue,it){var Lt=it;"string"==typeof it&&(Lt=function(){return this[it]()}),se&&(xn[se]=Lt),Te&&(xn[Te[0]]=function(){return fn(Lt.apply(this,arguments),Te[1],Te[2])}),Ue&&(xn[Ue]=function(){return this.localeData().ordinal(Lt.apply(this,arguments),se)})}function Sn(se){return se.match(/\[[\s\S]/)?se.replace(/^\[|\]$/g,""):se.replace(/\\/g,"")}function si(se){var Ue,it,Te=se.match(_n);for(Ue=0,it=Te.length;Ue<it;Ue++)xn[Te[Ue]]?Te[Ue]=xn[Te[Ue]]:Te[Ue]=Sn(Te[Ue]);return function(Lt){var ii,mn="";for(ii=0;ii<it;ii++)mn+=De(Te[ii])?Te[ii].call(Lt,se):Te[ii];return mn}}function cn(se,Te){return se.isValid()?(Te=yn(Te,se.localeData()),vn[Te]=vn[Te]||si(Te),vn[Te](se)):se.localeData().invalidDate()}function yn(se,Te){var Ue=5;function it(Lt){return Te.longDateFormat(Lt)||Lt}for(hn.lastIndex=0;Ue>=0&&hn.test(se);)se=se.replace(hn,it),hn.lastIndex=0,Ue-=1;return se}var qn={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"};function oi(se){var Te=this._longDateFormat[se],Ue=this._longDateFormat[se.toUpperCase()];return Te||!Ue?Te:(this._longDateFormat[se]=Ue.match(_n).map(function(it){return"MMMM"===it||"MM"===it||"DD"===it||"dddd"===it?it.slice(1):it}).join(""),this._longDateFormat[se])}var Yn="Invalid date";function Xn(){return this._invalidDate}var gi="%d",Mt=/\d{1,2}/;function pn(se){return this._ordinal.replace("%d",se)}var an={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"};function yt(se,Te,Ue,it){var Lt=this._relativeTime[Ue];return De(Lt)?Lt(se,Te,Ue,it):Lt.replace(/%d/i,se)}function Je(se,Te){var Ue=this._relativeTime[se>0?"future":"past"];return De(Ue)?Ue(Te):Ue.replace(/%s/i,Te)}var ht={};function xt(se,Te){var Ue=se.toLowerCase();ht[Ue]=ht[Ue+"s"]=ht[Te]=se}function Ht(se){return"string"==typeof se?ht[se]||ht[se.toLowerCase()]:void 0}function $t(se){var Ue,it,Te={};for(it in se)o(se,it)&&(Ue=Ht(it))&&(Te[Ue]=se[it]);return Te}var Jt={};function lt(se,Te){Jt[se]=Te}function Ft(se){var Ue,Te=[];for(Ue in se)o(se,Ue)&&Te.push({unit:Ue,priority:Jt[Ue]});return Te.sort(function(it,Lt){return it.priority-Lt.priority}),Te}function ln(se){return se%4==0&&se%100!=0||se%400==0}function Jn(se){return se<0?Math.ceil(se)||0:Math.floor(se)}function Mn(se){var Te=+se,Ue=0;return 0!==Te&&isFinite(Te)&&(Ue=Jn(Te)),Ue}function ti(se,Te){return function(Ue){return null!=Ue?(ki(this,se,Ue),i.updateOffset(this,Te),this):Ai(this,se)}}function Ai(se,Te){return se.isValid()?se._d["get"+(se._isUTC?"UTC":"")+Te]():NaN}function ki(se,Te,Ue){se.isValid()&&!isNaN(Ue)&&("FullYear"===Te&&ln(se.year())&&1===se.month()&&29===se.date()?(Ue=Mn(Ue),se._d["set"+(se._isUTC?"UTC":"")+Te](Ue,se.month(),_o(Ue,se.month()))):se._d["set"+(se._isUTC?"UTC":"")+Te](Ue))}function Ki(se){return De(this[se=Ht(se)])?this[se]():this}function Hi(se,Te){if("object"==typeof se){var it,Ue=Ft(se=$t(se)),Lt=Ue.length;for(it=0;it<Lt;it++)this[Ue[it].unit](se[Ue[it].unit])}else if(De(this[se=Ht(se)]))return this[se](Te);return this}var ai,_i=/\d/,pi=/\d\d/,$n=/\d{3}/,wr=/\d{4}/,Pn=/[+-]?\d{6}/,Bn=/\d\d?/,ri=/\d\d\d\d?/,mi=/\d\d\d\d\d\d?/,xi=/\d{1,3}/,Mr=/\d{1,4}/,gr=/[+-]?\d{1,6}/,Li=/\d+/,Sr=/[+-]?\d+/,br=/Z|[+-]\d\d:?\d\d/gi,Xr=/Z|[+-]\d\d(?::?\d\d)?/gi,uo=/[+-]?\d+(\.\d{1,3})?/,fa=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function at(se,Te,Ue){ai[se]=De(Te)?Te:function(it,Lt){return it&&Ue?Ue:Te}}function Ot(se,Te){return o(ai,se)?ai[se](Te._strict,Te._locale):new RegExp(Nn(se))}function Nn(se){return di(se.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Te,Ue,it,Lt,mn){return Ue||it||Lt||mn}))}function di(se){return se.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ai={};var $i={};function Fi(se,Te){var Ue,Lt,it=Te;for("string"==typeof se&&(se=[se]),y(Te)&&(it=function(mn,ii){ii[Te]=Mn(mn)}),Lt=se.length,Ue=0;Ue<Lt;Ue++)$i[se[Ue]]=it}function Yr(se,Te){Fi(se,function(Ue,it,Lt,mn){Lt._w=Lt._w||{},Te(Ue,Lt._w,Lt,mn)})}function Mo(se,Te,Ue){null!=Te&&o($i,se)&&$i[se](Te,Ue._a,Ue,se)}var qr,Jr=0,Bi=1,ks=2,so=3,Qo=4,mr=5,Ti=6,Cr=7,Vi=8;function To(se,Te){return(se%Te+Te)%Te}function _o(se,Te){if(isNaN(se)||isNaN(Te))return NaN;var Ue=To(Te,12);return se+=(Te-Ue)/12,1===Ue?ln(se)?29:28:31-Ue%7%2}qr=Array.prototype.indexOf?Array.prototype.indexOf:function(se){var Te;for(Te=0;Te<this.length;++Te)if(this[Te]===se)return Te;return-1},dn("M",["MM",2],"Mo",function(){return this.month()+1}),dn("MMM",0,0,function(se){return this.localeData().monthsShort(this,se)}),dn("MMMM",0,0,function(se){return this.localeData().months(this,se)}),xt("month","M"),lt("month",8),at("M",Bn),at("MM",Bn,pi),at("MMM",function(se,Te){return Te.monthsShortRegex(se)}),at("MMMM",function(se,Te){return Te.monthsRegex(se)}),Fi(["M","MM"],function(se,Te){Te[Bi]=Mn(se)-1}),Fi(["MMM","MMMM"],function(se,Te,Ue,it){var Lt=Ue._locale.monthsParse(se,it,Ue._strict);null!=Lt?Te[Bi]=Lt:R(Ue).invalidMonth=se});var jo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Do="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),gs=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ho=fa,Dr=fa;function Os(se,Te){return se?m(this._months)?this._months[se.month()]:this._months[(this._months.isFormat||gs).test(Te)?"format":"standalone"][se.month()]:m(this._months)?this._months:this._months.standalone}function cs(se,Te){return se?m(this._monthsShort)?this._monthsShort[se.month()]:this._monthsShort[gs.test(Te)?"format":"standalone"][se.month()]:m(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function li(se,Te,Ue){var it,Lt,mn,ii=se.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],it=0;it<12;++it)mn=w([2e3,it]),this._shortMonthsParse[it]=this.monthsShort(mn,"").toLocaleLowerCase(),this._longMonthsParse[it]=this.months(mn,"").toLocaleLowerCase();return Ue?"MMM"===Te?-1!==(Lt=qr.call(this._shortMonthsParse,ii))?Lt:null:-1!==(Lt=qr.call(this._longMonthsParse,ii))?Lt:null:"MMM"===Te?-1!==(Lt=qr.call(this._shortMonthsParse,ii))||-1!==(Lt=qr.call(this._longMonthsParse,ii))?Lt:null:-1!==(Lt=qr.call(this._longMonthsParse,ii))||-1!==(Lt=qr.call(this._shortMonthsParse,ii))?Lt:null}function Qr(se,Te,Ue){var it,Lt,mn;if(this._monthsParseExact)return li.call(this,se,Te,Ue);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),it=0;it<12;it++){if(Lt=w([2e3,it]),Ue&&!this._longMonthsParse[it]&&(this._longMonthsParse[it]=new RegExp("^"+this.months(Lt,"").replace(".","")+"$","i"),this._shortMonthsParse[it]=new RegExp("^"+this.monthsShort(Lt,"").replace(".","")+"$","i")),!Ue&&!this._monthsParse[it]&&(mn="^"+this.months(Lt,"")+"|^"+this.monthsShort(Lt,""),this._monthsParse[it]=new RegExp(mn.replace(".",""),"i")),Ue&&"MMMM"===Te&&this._longMonthsParse[it].test(se))return it;if(Ue&&"MMM"===Te&&this._shortMonthsParse[it].test(se))return it;if(!Ue&&this._monthsParse[it].test(se))return it}}function ao(se,Te){var Ue;if(!se.isValid())return se;if("string"==typeof Te)if(/^\d+$/.test(Te))Te=Mn(Te);else if(!y(Te=se.localeData().monthsParse(Te)))return se;return Ue=Math.min(se.date(),_o(se.year(),Te)),se._d["set"+(se._isUTC?"UTC":"")+"Month"](Te,Ue),se}function ys(se){return null!=se?(ao(this,se),i.updateOffset(this,!0),this):Ai(this,"Month")}function _a(){return _o(this.year(),this.month())}function Ps(se){return this._monthsParseExact?(o(this,"_monthsRegex")||So.call(this),se?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ho),this._monthsShortStrictRegex&&se?this._monthsShortStrictRegex:this._monthsShortRegex)}function ji(se){return this._monthsParseExact?(o(this,"_monthsRegex")||So.call(this),se?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Dr),this._monthsStrictRegex&&se?this._monthsStrictRegex:this._monthsRegex)}function So(){function se(ii,Tr){return Tr.length-ii.length}var Lt,mn,Te=[],Ue=[],it=[];for(Lt=0;Lt<12;Lt++)mn=w([2e3,Lt]),Te.push(this.monthsShort(mn,"")),Ue.push(this.months(mn,"")),it.push(this.months(mn,"")),it.push(this.monthsShort(mn,""));for(Te.sort(se),Ue.sort(se),it.sort(se),Lt=0;Lt<12;Lt++)Te[Lt]=di(Te[Lt]),Ue[Lt]=di(Ue[Lt]);for(Lt=0;Lt<24;Lt++)it[Lt]=di(it[Lt]);this._monthsRegex=new RegExp("^("+it.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Ue.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+Te.join("|")+")","i")}function Us(se){return ln(se)?366:365}dn("Y",0,0,function(){var se=this.year();return se<=9999?fn(se,4):"+"+se}),dn(0,["YY",2],0,function(){return this.year()%100}),dn(0,["YYYY",4],0,"year"),dn(0,["YYYYY",5],0,"year"),dn(0,["YYYYYY",6,!0],0,"year"),xt("year","y"),lt("year",1),at("Y",Sr),at("YY",Bn,pi),at("YYYY",Mr,wr),at("YYYYY",gr,Pn),at("YYYYYY",gr,Pn),Fi(["YYYYY","YYYYYY"],Jr),Fi("YYYY",function(se,Te){Te[Jr]=2===se.length?i.parseTwoDigitYear(se):Mn(se)}),Fi("YY",function(se,Te){Te[Jr]=i.parseTwoDigitYear(se)}),Fi("Y",function(se,Te){Te[Jr]=parseInt(se,10)}),i.parseTwoDigitYear=function(se){return Mn(se)+(Mn(se)>68?1900:2e3)};var no=ti("FullYear",!0);function ho(){return ln(this.year())}function ra(se,Te,Ue,it,Lt,mn,ii){var Tr;return se<100&&se>=0?(Tr=new Date(se+400,Te,Ue,it,Lt,mn,ii),isFinite(Tr.getFullYear())&&Tr.setFullYear(se)):Tr=new Date(se,Te,Ue,it,Lt,mn,ii),Tr}function zs(se){var Te,Ue;return se<100&&se>=0?((Ue=Array.prototype.slice.call(arguments))[0]=se+400,Te=new Date(Date.UTC.apply(null,Ue)),isFinite(Te.getUTCFullYear())&&Te.setUTCFullYear(se)):Te=new Date(Date.UTC.apply(null,arguments)),Te}function bo(se,Te,Ue){var it=7+Te-Ue;return-(7+zs(se,0,it).getUTCDay()-Te)%7+it-1}function yr(se,Te,Ue,it,Lt){var Wo,fs,Tr=1+7*(Te-1)+(7+Ue-it)%7+bo(se,it,Lt);return Tr<=0?fs=Us(Wo=se-1)+Tr:Tr>Us(se)?(Wo=se+1,fs=Tr-Us(se)):(Wo=se,fs=Tr),{year:Wo,dayOfYear:fs}}function yo(se,Te,Ue){var mn,ii,it=bo(se.year(),Te,Ue),Lt=Math.floor((se.dayOfYear()-it-1)/7)+1;return Lt<1?mn=Lt+Fo(ii=se.year()-1,Te,Ue):Lt>Fo(se.year(),Te,Ue)?(mn=Lt-Fo(se.year(),Te,Ue),ii=se.year()+1):(ii=se.year(),mn=Lt),{week:mn,year:ii}}function Fo(se,Te,Ue){var it=bo(se,Te,Ue),Lt=bo(se+1,Te,Ue);return(Us(se)-it+Lt)/7}function Po(se){return yo(se,this._week.dow,this._week.doy).week}dn("w",["ww",2],"wo","week"),dn("W",["WW",2],"Wo","isoWeek"),xt("week","w"),xt("isoWeek","W"),lt("week",5),lt("isoWeek",5),at("w",Bn),at("ww",Bn,pi),at("W",Bn),at("WW",Bn,pi),Yr(["w","ww","W","WW"],function(se,Te,Ue,it){Te[it.substr(0,1)]=Mn(se)});var Or={dow:0,doy:6};function rs(){return this._week.dow}function Xo(){return this._week.doy}function ba(se){var Te=this.localeData().week(this);return null==se?Te:this.add(7*(se-Te),"d")}function xs(se){var Te=yo(this,1,4).week;return null==se?Te:this.add(7*(se-Te),"d")}function Ws(se,Te){return"string"!=typeof se?se:isNaN(se)?"number"==typeof(se=Te.weekdaysParse(se))?se:null:parseInt(se,10)}function aa(se,Te){return"string"==typeof se?Te.weekdaysParse(se)%7||7:isNaN(se)?null:se}function js(se,Te){return se.slice(Te,7).concat(se.slice(0,Te))}dn("d",0,"do","day"),dn("dd",0,0,function(se){return this.localeData().weekdaysMin(this,se)}),dn("ddd",0,0,function(se){return this.localeData().weekdaysShort(this,se)}),dn("dddd",0,0,function(se){return this.localeData().weekdays(this,se)}),dn("e",0,0,"weekday"),dn("E",0,0,"isoWeekday"),xt("day","d"),xt("weekday","e"),xt("isoWeekday","E"),lt("day",11),lt("weekday",11),lt("isoWeekday",11),at("d",Bn),at("e",Bn),at("E",Bn),at("dd",function(se,Te){return Te.weekdaysMinRegex(se)}),at("ddd",function(se,Te){return Te.weekdaysShortRegex(se)}),at("dddd",function(se,Te){return Te.weekdaysRegex(se)}),Yr(["dd","ddd","dddd"],function(se,Te,Ue,it){var Lt=Ue._locale.weekdaysParse(se,it,Ue._strict);null!=Lt?Te.d=Lt:R(Ue).invalidWeekday=se}),Yr(["d","e","E"],function(se,Te,Ue,it){Te[it]=Mn(se)});var Jo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Io="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),or=fa,q=fa,ne=fa;function me(se,Te){var Ue=m(this._weekdays)?this._weekdays:this._weekdays[se&&!0!==se&&this._weekdays.isFormat.test(Te)?"format":"standalone"];return!0===se?js(Ue,this._week.dow):se?Ue[se.day()]:Ue}function Be(se){return!0===se?js(this._weekdaysShort,this._week.dow):se?this._weekdaysShort[se.day()]:this._weekdaysShort}function et(se){return!0===se?js(this._weekdaysMin,this._week.dow):se?this._weekdaysMin[se.day()]:this._weekdaysMin}function It(se,Te,Ue){var it,Lt,mn,ii=se.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],it=0;it<7;++it)mn=w([2e3,1]).day(it),this._minWeekdaysParse[it]=this.weekdaysMin(mn,"").toLocaleLowerCase(),this._shortWeekdaysParse[it]=this.weekdaysShort(mn,"").toLocaleLowerCase(),this._weekdaysParse[it]=this.weekdays(mn,"").toLocaleLowerCase();return Ue?"dddd"===Te?-1!==(Lt=qr.call(this._weekdaysParse,ii))?Lt:null:"ddd"===Te?-1!==(Lt=qr.call(this._shortWeekdaysParse,ii))?Lt:null:-1!==(Lt=qr.call(this._minWeekdaysParse,ii))?Lt:null:"dddd"===Te?-1!==(Lt=qr.call(this._weekdaysParse,ii))||-1!==(Lt=qr.call(this._shortWeekdaysParse,ii))||-1!==(Lt=qr.call(this._minWeekdaysParse,ii))?Lt:null:"ddd"===Te?-1!==(Lt=qr.call(this._shortWeekdaysParse,ii))||-1!==(Lt=qr.call(this._weekdaysParse,ii))||-1!==(Lt=qr.call(this._minWeekdaysParse,ii))?Lt:null:-1!==(Lt=qr.call(this._minWeekdaysParse,ii))||-1!==(Lt=qr.call(this._weekdaysParse,ii))||-1!==(Lt=qr.call(this._shortWeekdaysParse,ii))?Lt:null}function Ut(se,Te,Ue){var it,Lt,mn;if(this._weekdaysParseExact)return It.call(this,se,Te,Ue);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),it=0;it<7;it++){if(Lt=w([2e3,1]).day(it),Ue&&!this._fullWeekdaysParse[it]&&(this._fullWeekdaysParse[it]=new RegExp("^"+this.weekdays(Lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[it]=new RegExp("^"+this.weekdaysShort(Lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[it]=new RegExp("^"+this.weekdaysMin(Lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[it]||(mn="^"+this.weekdays(Lt,"")+"|^"+this.weekdaysShort(Lt,"")+"|^"+this.weekdaysMin(Lt,""),this._weekdaysParse[it]=new RegExp(mn.replace(".",""),"i")),Ue&&"dddd"===Te&&this._fullWeekdaysParse[it].test(se))return it;if(Ue&&"ddd"===Te&&this._shortWeekdaysParse[it].test(se))return it;if(Ue&&"dd"===Te&&this._minWeekdaysParse[it].test(se))return it;if(!Ue&&this._weekdaysParse[it].test(se))return it}}function Wt(se){if(!this.isValid())return null!=se?this:NaN;var Te=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=se?(se=Ws(se,this.localeData()),this.add(se-Te,"d")):Te}function Pt(se){if(!this.isValid())return null!=se?this:NaN;var Te=(this.day()+7-this.localeData()._week.dow)%7;return null==se?Te:this.add(se-Te,"d")}function Et(se){if(!this.isValid())return null!=se?this:NaN;if(null!=se){var Te=aa(se,this.localeData());return this.day(this.day()%7?Te:Te-7)}return this.day()||7}function Dn(se){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Qn.call(this),se?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=or),this._weekdaysStrictRegex&&se?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ln(se){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Qn.call(this),se?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=q),this._weekdaysShortStrictRegex&&se?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function An(se){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Qn.call(this),se?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ne),this._weekdaysMinStrictRegex&&se?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qn(){function se(ta,os){return os.length-ta.length}var mn,ii,Tr,Wo,fs,Te=[],Ue=[],it=[],Lt=[];for(mn=0;mn<7;mn++)ii=w([2e3,1]).day(mn),Tr=di(this.weekdaysMin(ii,"")),Wo=di(this.weekdaysShort(ii,"")),fs=di(this.weekdays(ii,"")),Te.push(Tr),Ue.push(Wo),it.push(fs),Lt.push(Tr),Lt.push(Wo),Lt.push(fs);Te.sort(se),Ue.sort(se),it.sort(se),Lt.sort(se),this._weekdaysRegex=new RegExp("^("+Lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+it.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ue.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Te.join("|")+")","i")}function ui(){return this.hours()%12||12}function Ui(){return this.hours()||24}function hr(se,Te){dn(se,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Te)})}function kr(se,Te){return Te._meridiemParse}function Ri(se){return"p"===(se+"").toLowerCase().charAt(0)}dn("H",["HH",2],0,"hour"),dn("h",["hh",2],0,ui),dn("k",["kk",2],0,Ui),dn("hmm",0,0,function(){return""+ui.apply(this)+fn(this.minutes(),2)}),dn("hmmss",0,0,function(){return""+ui.apply(this)+fn(this.minutes(),2)+fn(this.seconds(),2)}),dn("Hmm",0,0,function(){return""+this.hours()+fn(this.minutes(),2)}),dn("Hmmss",0,0,function(){return""+this.hours()+fn(this.minutes(),2)+fn(this.seconds(),2)}),hr("a",!0),hr("A",!1),xt("hour","h"),lt("hour",13),at("a",kr),at("A",kr),at("H",Bn),at("h",Bn),at("k",Bn),at("HH",Bn,pi),at("hh",Bn,pi),at("kk",Bn,pi),at("hmm",ri),at("hmmss",mi),at("Hmm",ri),at("Hmmss",mi),Fi(["H","HH"],so),Fi(["k","kk"],function(se,Te,Ue){var it=Mn(se);Te[so]=24===it?0:it}),Fi(["a","A"],function(se,Te,Ue){Ue._isPm=Ue._locale.isPM(se),Ue._meridiem=se}),Fi(["h","hh"],function(se,Te,Ue){Te[so]=Mn(se),R(Ue).bigHour=!0}),Fi("hmm",function(se,Te,Ue){var it=se.length-2;Te[so]=Mn(se.substr(0,it)),Te[Qo]=Mn(se.substr(it)),R(Ue).bigHour=!0}),Fi("hmmss",function(se,Te,Ue){var it=se.length-4,Lt=se.length-2;Te[so]=Mn(se.substr(0,it)),Te[Qo]=Mn(se.substr(it,2)),Te[mr]=Mn(se.substr(Lt)),R(Ue).bigHour=!0}),Fi("Hmm",function(se,Te,Ue){var it=se.length-2;Te[so]=Mn(se.substr(0,it)),Te[Qo]=Mn(se.substr(it))}),Fi("Hmmss",function(se,Te,Ue){var it=se.length-4,Lt=se.length-2;Te[so]=Mn(se.substr(0,it)),Te[Qo]=Mn(se.substr(it,2)),Te[mr]=Mn(se.substr(Lt))});var Yi=/[ap]\.?m?\.?/i,In=ti("Hours",!0);function Pr(se,Te,Ue){return se>11?Ue?"pm":"PM":Ue?"am":"AM"}var Go,Ir={calendar:rn,longDateFormat:qn,invalidDate:Yn,ordinal:gi,dayOfMonthOrdinalParse:Mt,relativeTime:an,months:jo,monthsShort:Do,week:Or,weekdays:Jo,weekdaysMin:Io,weekdaysShort:Vo,meridiemParse:Yi},ir={},ds={};function ko(se,Te){var Ue,it=Math.min(se.length,Te.length);for(Ue=0;Ue<it;Ue+=1)if(se[Ue]!==Te[Ue])return Ue;return it}function zo(se){return se&&se.toLowerCase().replace("_","-")}function Cs(se){for(var Ue,it,Lt,mn,Te=0;Te<se.length;){for(Ue=(mn=zo(se[Te]).split("-")).length,it=(it=zo(se[Te+1]))?it.split("-"):null;Ue>0;){if(Lt=Qe(mn.slice(0,Ue).join("-")))return Lt;if(it&&it.length>=Ue&&ko(mn,it)>=Ue-1)break;Ue--}Te++}return Go}function Rr(se){return null!=se.match("^[^/\\\\]*$")}function Qe(se){var Te=null;if(void 0===ir[se]&&de&&de.exports&&Rr(se))try{Te=Go._abbr,B(46700)("./"+se),Oe(Te)}catch(it){ir[se]=null}return ir[se]}function Oe(se,Te){var Ue;return se&&((Ue=v(Te)?Cn(se):gt(se,Te))?Go=Ue:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+se+" not found. Did you forget to load it?")),Go._abbr}function gt(se,Te){if(null!==Te){var Ue,it=Ir;if(Te.abbr=se,null!=ir[se])Se("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."),it=ir[se]._config;else if(null!=Te.parentLocale)if(null!=ir[Te.parentLocale])it=ir[Te.parentLocale]._config;else{if(null==(Ue=Qe(Te.parentLocale)))return ds[Te.parentLocale]||(ds[Te.parentLocale]=[]),ds[Te.parentLocale].push({name:se,config:Te}),null;it=Ue._config}return ir[se]=new ot(rt(it,Te)),ds[se]&&ds[se].forEach(function(Lt){gt(Lt.name,Lt.config)}),Oe(se),ir[se]}return delete ir[se],null}function Nt(se,Te){if(null!=Te){var Ue,it,Lt=Ir;null!=ir[se]&&null!=ir[se].parentLocale?ir[se].set(rt(ir[se]._config,Te)):(null!=(it=Qe(se))&&(Lt=it._config),Te=rt(Lt,Te),null==it&&(Te.abbr=se),(Ue=new ot(Te)).parentLocale=ir[se],ir[se]=Ue),Oe(se)}else null!=ir[se]&&(null!=ir[se].parentLocale?(ir[se]=ir[se].parentLocale,se===Oe()&&Oe(se)):null!=ir[se]&&delete ir[se]);return ir[se]}function Cn(se){var Te;if(se&&se._locale&&se._locale._abbr&&(se=se._locale._abbr),!se)return Go;if(!m(se)){if(Te=Qe(se))return Te;se=[se]}return Cs(se)}function ze(){return vt(ir)}function ke(se){var Te,Ue=se._a;return Ue&&-2===R(se).overflow&&(Te=Ue[Bi]<0||Ue[Bi]>11?Bi:Ue[ks]<1||Ue[ks]>_o(Ue[Jr],Ue[Bi])?ks:Ue[so]<0||Ue[so]>24||24===Ue[so]&&(0!==Ue[Qo]||0!==Ue[mr]||0!==Ue[Ti])?so:Ue[Qo]<0||Ue[Qo]>59?Qo:Ue[mr]<0||Ue[mr]>59?mr:Ue[Ti]<0||Ue[Ti]>999?Ti:-1,R(se)._overflowDayOfYear&&(Te<Jr||Te>ks)&&(Te=ks),R(se)._overflowWeeks&&-1===Te&&(Te=Cr),R(se)._overflowWeekday&&-1===Te&&(Te=Vi),R(se).overflow=Te),se}var oe=/^\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)?)?$/,pt=/^\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)?)?$/,zt=/Z|[+-]\d\d(?::?\d\d)?/,Dt=[["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]],En=[["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/]],ci=/^\/?Date\((-?\d+)/i,Ei=/^(?:(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}))$/,xr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ft(se){var Te,Ue,mn,ii,Tr,Wo,it=se._i,Lt=oe.exec(it)||pt.exec(it),fs=Dt.length,ta=En.length;if(Lt){for(R(se).iso=!0,Te=0,Ue=fs;Te<Ue;Te++)if(Dt[Te][1].exec(Lt[1])){ii=Dt[Te][0],mn=!1!==Dt[Te][2];break}if(null==ii)return void(se._isValid=!1);if(Lt[3]){for(Te=0,Ue=ta;Te<Ue;Te++)if(En[Te][1].exec(Lt[3])){Tr=(Lt[2]||" ")+En[Te][0];break}if(null==Tr)return void(se._isValid=!1)}if(!mn&&null!=Tr)return void(se._isValid=!1);if(Lt[4]){if(!zt.exec(Lt[4]))return void(se._isValid=!1);Wo="Z"}se._f=ii+(Tr||"")+(Wo||""),qo(se)}else se._isValid=!1}function ye(se,Te,Ue,it,Lt,mn){var ii=[Xe(se),Do.indexOf(Te),parseInt(Ue,10),parseInt(it,10),parseInt(Lt,10)];return mn&&ii.push(parseInt(mn,10)),ii}function Xe(se){var Te=parseInt(se,10);return Te<=49?2e3+Te:Te<=999?1900+Te:Te}function tn(se){return se.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function hi(se,Te,Ue){return!se||Vo.indexOf(se)===new Date(Te[0],Te[1],Te[2]).getDay()||(R(Ue).weekdayMismatch=!0,Ue._isValid=!1,!1)}function zr(se,Te,Ue){if(se)return xr[se];if(Te)return 0;var it=parseInt(Ue,10),Lt=it%100;return(it-Lt)/100*60+Lt}function io(se){var Ue,Te=Ei.exec(tn(se._i));if(Te){if(Ue=ye(Te[4],Te[3],Te[2],Te[5],Te[6],Te[7]),!hi(Te[1],Ue,se))return;se._a=Ue,se._tzm=zr(Te[8],Te[9],Te[10]),se._d=zs.apply(null,se._a),se._d.setUTCMinutes(se._d.getUTCMinutes()-se._tzm),R(se).rfc2822=!0}else se._isValid=!1}function $l(se){var Te=ci.exec(se._i);null===Te?(ft(se),!1===se._isValid&&(delete se._isValid,io(se),!1===se._isValid&&(delete se._isValid,se._strict?se._isValid=!1:i.createFromInputFallback(se)))):se._d=new Date(+Te[1])}function pa(se,Te,Ue){return null!=se?se:null!=Te?Te:Ue}function nl(se){var Te=new Date(i.now());return se._useUTC?[Te.getUTCFullYear(),Te.getUTCMonth(),Te.getUTCDate()]:[Te.getFullYear(),Te.getMonth(),Te.getDate()]}function Bl(se){var Te,Ue,Lt,mn,ii,it=[];if(!se._d){for(Lt=nl(se),se._w&&null==se._a[ks]&&null==se._a[Bi]&&bi(se),null!=se._dayOfYear&&(ii=pa(se._a[Jr],Lt[Jr]),(se._dayOfYear>Us(ii)||0===se._dayOfYear)&&(R(se)._overflowDayOfYear=!0),Ue=zs(ii,0,se._dayOfYear),se._a[Bi]=Ue.getUTCMonth(),se._a[ks]=Ue.getUTCDate()),Te=0;Te<3&&null==se._a[Te];++Te)se._a[Te]=it[Te]=Lt[Te];for(;Te<7;Te++)se._a[Te]=it[Te]=null==se._a[Te]?2===Te?1:0:se._a[Te];24===se._a[so]&&0===se._a[Qo]&&0===se._a[mr]&&0===se._a[Ti]&&(se._nextDay=!0,se._a[so]=0),se._d=(se._useUTC?zs:ra).apply(null,it),mn=se._useUTC?se._d.getUTCDay():se._d.getDay(),null!=se._tzm&&se._d.setUTCMinutes(se._d.getUTCMinutes()-se._tzm),se._nextDay&&(se._a[so]=24),se._w&&void 0!==se._w.d&&se._w.d!==mn&&(R(se).weekdayMismatch=!0)}}function bi(se){var Te,Ue,it,Lt,mn,ii,Tr,Wo,fs;null!=(Te=se._w).GG||null!=Te.W||null!=Te.E?(mn=1,ii=4,Ue=pa(Te.GG,se._a[Jr],yo(Uo(),1,4).year),it=pa(Te.W,1),((Lt=pa(Te.E,1))<1||Lt>7)&&(Wo=!0)):(mn=se._locale._week.dow,ii=se._locale._week.doy,fs=yo(Uo(),mn,ii),Ue=pa(Te.gg,se._a[Jr],fs.year),it=pa(Te.w,fs.week),null!=Te.d?((Lt=Te.d)<0||Lt>6)&&(Wo=!0):null!=Te.e?(Lt=Te.e+mn,(Te.e<0||Te.e>6)&&(Wo=!0)):Lt=mn),it<1||it>Fo(Ue,mn,ii)?R(se)._overflowWeeks=!0:null!=Wo?R(se)._overflowWeekday=!0:(Tr=yr(Ue,it,Lt,mn,ii),se._a[Jr]=Tr.year,se._dayOfYear=Tr.dayOfYear)}function qo(se){if(se._f!==i.ISO_8601)if(se._f!==i.RFC_2822){se._a=[],R(se).empty=!0;var Ue,it,Lt,mn,ii,fs,ta,Te=""+se._i,Tr=Te.length,Wo=0;for(ta=(Lt=yn(se._f,se._locale).match(_n)||[]).length,Ue=0;Ue<ta;Ue++)mn=Lt[Ue],(it=(Te.match(Ot(mn,se))||[])[0])&&((ii=Te.substr(0,Te.indexOf(it))).length>0&&R(se).unusedInput.push(ii),Te=Te.slice(Te.indexOf(it)+it.length),Wo+=it.length),xn[mn]?(it?R(se).empty=!1:R(se).unusedTokens.push(mn),Mo(mn,it,se)):se._strict&&!it&&R(se).unusedTokens.push(mn);R(se).charsLeftOver=Tr-Wo,Te.length>0&&R(se).unusedInput.push(Te),se._a[so]<=12&&!0===R(se).bigHour&&se._a[so]>0&&(R(se).bigHour=void 0),R(se).parsedDateParts=se._a.slice(0),R(se).meridiem=se._meridiem,se._a[so]=La(se._locale,se._a[so],se._meridiem),null!==(fs=R(se).era)&&(se._a[Jr]=se._locale.erasConvertYear(fs,se._a[Jr])),Bl(se),ke(se)}else io(se);else ft(se)}function La(se,Te,Ue){var it;return null==Ue?Te:null!=se.meridiemHour?se.meridiemHour(Te,Ue):(null!=se.isPM&&((it=se.isPM(Ue))&&Te<12&&(Te+=12),!it&&12===Te&&(Te=0)),Te)}function Gs(se){var Te,Ue,it,Lt,mn,ii,Tr=!1,Wo=se._f.length;if(0===Wo)return R(se).invalidFormat=!0,void(se._d=new Date(NaN));for(Lt=0;Lt<Wo;Lt++)mn=0,ii=!1,Te=U({},se),null!=se._useUTC&&(Te._useUTC=se._useUTC),Te._f=se._f[Lt],qo(Te),S(Te)&&(ii=!0),mn+=R(Te).charsLeftOver,mn+=10*R(Te).unusedTokens.length,R(Te).score=mn,Tr?mn<it&&(it=mn,Ue=Te):(null==it||mn<it||ii)&&(it=mn,Ue=Te,ii&&(Tr=!0));_(se,Ue||Te)}function Na(se){if(!se._d){var Te=$t(se._i),Ue=void 0===Te.day?Te.date:Te.day;se._a=C([Te.year,Te.month,Ue,Te.hour,Te.minute,Te.second,Te.millisecond],function(it){return it&&parseInt(it,10)}),Bl(se)}}function ja(se){var Te=new X(ke(Fs(se)));return Te._nextDay&&(Te.add(1,"d"),Te._nextDay=void 0),Te}function Fs(se){var Te=se._i,Ue=se._f;return se._locale=se._locale||Cn(se._l),null===Te||void 0===Ue&&""===Te?E({nullInput:!0}):("string"==typeof Te&&(se._i=Te=se._locale.preparse(Te)),W(Te)?new X(ke(Te)):(x(Te)?se._d=Te:m(Ue)?Gs(se):Ue?qo(se):Ro(se),S(se)||(se._d=null),se))}function Ro(se){var Te=se._i;v(Te)?se._d=new Date(i.now()):x(Te)?se._d=new Date(Te.valueOf()):"string"==typeof Te?$l(se):m(Te)?(se._a=C(Te.slice(0),function(Ue){return parseInt(Ue,10)}),Bl(se)):s(Te)?Na(se):y(Te)?se._d=new Date(Te):i.createFromInputFallback(se)}function ml(se,Te,Ue,it,Lt){var mn={};return(!0===Te||!1===Te)&&(it=Te,Te=void 0),(!0===Ue||!1===Ue)&&(it=Ue,Ue=void 0),(s(se)&&h(se)||m(se)&&0===se.length)&&(se=void 0),mn._isAMomentObject=!0,mn._useUTC=mn._isUTC=Lt,mn._l=Ue,mn._i=se,mn._f=Te,mn._strict=it,ja(mn)}function Uo(se,Te,Ue,it){return ml(se,Te,Ue,it,!1)}i.createFromInputFallback=pe("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(se){se._d=new Date(se._i+(se._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var c1=pe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var se=Uo.apply(null,arguments);return this.isValid()&&se.isValid()?se<this?this:se:E()}),Ea=pe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var se=Uo.apply(null,arguments);return this.isValid()&&se.isValid()?se>this?this:se:E()});function Ls(se,Te){var Ue,it;if(1===Te.length&&m(Te[0])&&(Te=Te[0]),!Te.length)return Uo();for(Ue=Te[0],it=1;it<Te.length;++it)(!Te[it].isValid()||Te[it][se](Ue))&&(Ue=Te[it]);return Ue}function us(){return Ls("isBefore",[].slice.call(arguments,0))}function Ll(){return Ls("isAfter",[].slice.call(arguments,0))}var il=function(){return Date.now?Date.now():+new Date},vl=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Da(se){var Te,it,Ue=!1,Lt=vl.length;for(Te in se)if(o(se,Te)&&(-1===qr.call(vl,Te)||null!=se[Te]&&isNaN(se[Te])))return!1;for(it=0;it<Lt;++it)if(se[vl[it]]){if(Ue)return!1;parseFloat(se[vl[it]])!==Mn(se[vl[it]])&&(Ue=!0)}return!0}function d1(){return this._isValid}function x1(){return eo(NaN)}function Rs(se){var Te=$t(se),Ue=Te.year||0,it=Te.quarter||0,Lt=Te.month||0,mn=Te.week||Te.isoWeek||0,ii=Te.day||0,Tr=Te.hour||0,Wo=Te.minute||0,fs=Te.second||0,ta=Te.millisecond||0;this._isValid=Da(Te),this._milliseconds=+ta+1e3*fs+6e4*Wo+1e3*Tr*60*60,this._days=+ii+7*mn,this._months=+Lt+3*it+12*Ue,this._data={},this._locale=Cn(),this._bubble()}function u1(se){return se instanceof Rs}function oa(se){return se<0?-1*Math.round(-1*se):Math.round(se)}function jl(se,Te,Ue){var ii,it=Math.min(se.length,Te.length),Lt=Math.abs(se.length-Te.length),mn=0;for(ii=0;ii<it;ii++)(Ue&&se[ii]!==Te[ii]||!Ue&&Mn(se[ii])!==Mn(Te[ii]))&&mn++;return mn+Lt}function Ia(se,Te){dn(se,0,0,function(){var Ue=this.utcOffset(),it="+";return Ue<0&&(Ue=-Ue,it="-"),it+fn(~~(Ue/60),2)+Te+fn(~~Ue%60,2)})}Ia("Z",":"),Ia("ZZ",""),at("Z",Xr),at("ZZ",Xr),Fi(["Z","ZZ"],function(se,Te,Ue){Ue._useUTC=!0,Ue._tzm=Kl(Xr,se)});var Fl=/([\+\-]|\d\d)/gi;function Kl(se,Te){var Lt,mn,Ue=(Te||"").match(se);return null===Ue?null:0===(mn=60*(Lt=((Ue[Ue.length-1]||[])+"").match(Fl)||["-",0,0])[1]+Mn(Lt[2]))?0:"+"===Lt[0]?mn:-mn}function jt(se,Te){var Ue,it;return Te._isUTC?(Ue=Te.clone(),it=(W(se)||x(se)?se.valueOf():Uo(se).valueOf())-Ue.valueOf(),Ue._d.setTime(Ue._d.valueOf()+it),i.updateOffset(Ue,!1),Ue):Uo(se).local()}function Ie(se){return-Math.round(se._d.getTimezoneOffset())}function Ze(se,Te,Ue){var Lt,it=this._offset||0;if(!this.isValid())return null!=se?this:NaN;if(null!=se){if("string"==typeof se){if(null===(se=Kl(Xr,se)))return this}else Math.abs(se)<16&&!Ue&&(se*=60);return!this._isUTC&&Te&&(Lt=Ie(this)),this._offset=se,this._isUTC=!0,null!=Lt&&this.add(Lt,"m"),it!==se&&(!Te||this._changeInProgress?ts(this,eo(se-it,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?it:Ie(this)}function Vt(se,Te){return null!=se?("string"!=typeof se&&(se=-se),this.utcOffset(se,Te),this):-this.utcOffset()}function Zn(se){return this.utcOffset(0,se)}function Oi(se){return this._isUTC&&(this.utcOffset(0,se),this._isUTC=!1,se&&this.subtract(Ie(this),"m")),this}function cr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var se=Kl(br,this._i);null!=se?this.utcOffset(se):this.utcOffset(0,!0)}return this}function es(se){return!!this.isValid()&&(se=se?Uo(se).utcOffset():0,(this.utcOffset()-se)%60==0)}function ya(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function un(){if(!v(this._isDSTShifted))return this._isDSTShifted;var Te,se={};return U(se,this),(se=Fs(se))._a?(Te=se._isUTC?w(se._a):Uo(se._a),this._isDSTShifted=this.isValid()&&jl(se._a,Te.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Wn(){return!!this.isValid()&&!this._isUTC}function kn(){return!!this.isValid()&&this._isUTC}function Wi(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Br=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function eo(se,Te){var Lt,mn,ii,Ue=se,it=null;return u1(se)?Ue={ms:se._milliseconds,d:se._days,M:se._months}:y(se)||!isNaN(+se)?(Ue={},Te?Ue[Te]=+se:Ue.milliseconds=+se):(it=Br.exec(se))?(Lt="-"===it[1]?-1:1,Ue={y:0,d:Mn(it[ks])*Lt,h:Mn(it[so])*Lt,m:Mn(it[Qo])*Lt,s:Mn(it[mr])*Lt,ms:Mn(oa(1e3*it[Ti]))*Lt}):(it=fo.exec(se))?(Lt="-"===it[1]?-1:1,Ue={y:Ao(it[2],Lt),M:Ao(it[3],Lt),w:Ao(it[4],Lt),d:Ao(it[5],Lt),h:Ao(it[6],Lt),m:Ao(it[7],Lt),s:Ao(it[8],Lt)}):null==Ue?Ue={}:"object"==typeof Ue&&("from"in Ue||"to"in Ue)&&(ii=qs(Uo(Ue.from),Uo(Ue.to)),(Ue={}).ms=ii.milliseconds,Ue.M=ii.months),mn=new Rs(Ue),u1(se)&&o(se,"_locale")&&(mn._locale=se._locale),u1(se)&&o(se,"_isValid")&&(mn._isValid=se._isValid),mn}function Ao(se,Te){var Ue=se&&parseFloat(se.replace(",","."));return(isNaN(Ue)?0:Ue)*Te}function la(se,Te){var Ue={};return Ue.months=Te.month()-se.month()+12*(Te.year()-se.year()),se.clone().add(Ue.months,"M").isAfter(Te)&&--Ue.months,Ue.milliseconds=+Te-+se.clone().add(Ue.months,"M"),Ue}function qs(se,Te){var Ue;return se.isValid()&&Te.isValid()?(Te=jt(Te,se),se.isBefore(Te)?Ue=la(se,Te):((Ue=la(Te,se)).milliseconds=-Ue.milliseconds,Ue.months=-Ue.months),Ue):{milliseconds:0,months:0}}function Fa(se,Te){return function(Ue,it){var mn;return null!==it&&!isNaN(+it)&&(Se(Te,"moment()."+Te+"(period, number) is deprecated. Please use moment()."+Te+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),mn=Ue,Ue=it,it=mn),ts(this,eo(Ue,it),se),this}}function ts(se,Te,Ue,it){var Lt=Te._milliseconds,mn=oa(Te._days),ii=oa(Te._months);!se.isValid()||(it=null==it||it,ii&&ao(se,Ai(se,"Month")+ii*Ue),mn&&ki(se,"Date",Ai(se,"Date")+mn*Ue),Lt&&se._d.setTime(se._d.valueOf()+Lt*Ue),it&&i.updateOffset(se,mn||ii))}eo.fn=Rs.prototype,eo.invalid=x1;var rl=Fa(1,"add"),ol=Fa(-1,"subtract");function dc(se){return"string"==typeof se||se instanceof String}function Hr(se){return W(se)||x(se)||dc(se)||y(se)||El(se)||Ji(se)||null==se}function Ji(se){var Lt,mn,Te=s(se)&&!h(se),Ue=!1,it=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ii=it.length;for(Lt=0;Lt<ii;Lt+=1)mn=it[Lt],Ue=Ue||o(se,mn);return Te&&Ue}function El(se){var Te=m(se),Ue=!1;return Te&&(Ue=0===se.filter(function(it){return!y(it)&&dc(se)}).length),Te&&Ue}function Zl(se){var Lt,mn,Te=s(se)&&!h(se),Ue=!1,it=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Lt=0;Lt<it.length;Lt+=1)mn=it[Lt],Ue=Ue||o(se,mn);return Te&&Ue}function Es(se,Te){var Ue=se.diff(Te,"days",!0);return Ue<-6?"sameElse":Ue<-1?"lastWeek":Ue<0?"lastDay":Ue<1?"sameDay":Ue<2?"nextDay":Ue<7?"nextWeek":"sameElse"}function _l(se,Te){1===arguments.length&&(arguments[0]?Hr(arguments[0])?(se=arguments[0],Te=void 0):Zl(arguments[0])&&(Te=arguments[0],se=void 0):(se=void 0,Te=void 0));var Ue=se||Uo(),it=jt(Ue,this).startOf("day"),Lt=i.calendarFormat(this,it)||"sameElse",mn=Te&&(De(Te[Lt])?Te[Lt].call(this,Ue):Te[Lt]);return this.format(mn||this.localeData().calendar(Lt,this,Uo(Ue)))}function xo(){return new X(this)}function Yo(se,Te){var Ue=W(se)?se:Uo(se);return!(!this.isValid()||!Ue.isValid())&&("millisecond"===(Te=Ht(Te)||"millisecond")?this.valueOf()>Ue.valueOf():Ue.valueOf()<this.clone().startOf(Te).valueOf())}function $r(se,Te){var Ue=W(se)?se:Uo(se);return!(!this.isValid()||!Ue.isValid())&&("millisecond"===(Te=Ht(Te)||"millisecond")?this.valueOf()<Ue.valueOf():this.clone().endOf(Te).valueOf()<Ue.valueOf())}function $s(se,Te,Ue,it){var Lt=W(se)?se:Uo(se),mn=W(Te)?Te:Uo(Te);return!!(this.isValid()&&Lt.isValid()&&mn.isValid())&&("("===(it=it||"()")[0]?this.isAfter(Lt,Ue):!this.isBefore(Lt,Ue))&&(")"===it[1]?this.isBefore(mn,Ue):!this.isAfter(mn,Ue))}function Ks(se,Te){var it,Ue=W(se)?se:Uo(se);return!(!this.isValid()||!Ue.isValid())&&("millisecond"===(Te=Ht(Te)||"millisecond")?this.valueOf()===Ue.valueOf():(it=Ue.valueOf(),this.clone().startOf(Te).valueOf()<=it&&it<=this.clone().endOf(Te).valueOf()))}function nn(se,Te){return this.isSame(se,Te)||this.isAfter(se,Te)}function Me(se,Te){return this.isSame(se,Te)||this.isBefore(se,Te)}function Fe(se,Te,Ue){var it,Lt,mn;if(!this.isValid())return NaN;if(!(it=jt(se,this)).isValid())return NaN;switch(Lt=6e4*(it.utcOffset()-this.utcOffset()),Te=Ht(Te)){case"year":mn=ge(this,it)/12;break;case"month":mn=ge(this,it);break;case"quarter":mn=ge(this,it)/3;break;case"second":mn=(this-it)/1e3;break;case"minute":mn=(this-it)/6e4;break;case"hour":mn=(this-it)/36e5;break;case"day":mn=(this-it-Lt)/864e5;break;case"week":mn=(this-it-Lt)/6048e5;break;default:mn=this-it}return Ue?mn:Jn(mn)}function ge(se,Te){if(se.date()<Te.date())return-ge(Te,se);var mn,Ue=12*(Te.year()-se.year())+(Te.month()-se.month()),it=se.clone().add(Ue,"months");return mn=Te-it<0?(Te-it)/(it-se.clone().add(Ue-1,"months")):(Te-it)/(se.clone().add(Ue+1,"months")-it),-(Ue+mn)||0}function ae(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xe(se){if(!this.isValid())return null;var Te=!0!==se,Ue=Te?this.clone().utc():this;return Ue.year()<0||Ue.year()>9999?cn(Ue,Te?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):De(Date.prototype.toISOString)?Te?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",cn(Ue,"Z")):cn(Ue,Te?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function He(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var Ue,it,Lt,mn,se="moment",Te="";return this.isLocal()||(se=0===this.utcOffset()?"moment.utc":"moment.parseZone",Te="Z"),Ue="["+se+'("]',it=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",Lt="-MM-DD[T]HH:mm:ss.SSS",mn=Te+'[")]',this.format(Ue+it+Lt+mn)}function Ke(se){se||(se=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var Te=cn(this,se);return this.localeData().postformat(Te)}function bt(se,Te){return this.isValid()&&(W(se)&&se.isValid()||Uo(se).isValid())?eo({to:this,from:se}).locale(this.locale()).humanize(!Te):this.localeData().invalidDate()}function Tt(se){return this.from(Uo(),se)}function gn(se,Te){return this.isValid()&&(W(se)&&se.isValid()||Uo(se).isValid())?eo({from:this,to:se}).locale(this.locale()).humanize(!Te):this.localeData().invalidDate()}function yi(se){return this.to(Uo(),se)}function D(se){var Te;return void 0===se?this._locale._abbr:(null!=(Te=Cn(se))&&(this._locale=Te),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var K=pe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(se){return void 0===se?this.localeData():this.locale(se)});function he(){return this._locale}var Ee=1e3,We=60*Ee,wt=60*We,Zt=3506328*wt;function wn(se,Te){return(se%Te+Te)%Te}function Rn(se,Te,Ue){return se<100&&se>=0?new Date(se+400,Te,Ue)-Zt:new Date(se,Te,Ue).valueOf()}function Si(se,Te,Ue){return se<100&&se>=0?Date.UTC(se+400,Te,Ue)-Zt:Date.UTC(se,Te,Ue)}function tr(se){var Te,Ue;if(void 0===(se=Ht(se))||"millisecond"===se||!this.isValid())return this;switch(Ue=this._isUTC?Si:Rn,se){case"year":Te=Ue(this.year(),0,1);break;case"quarter":Te=Ue(this.year(),this.month()-this.month()%3,1);break;case"month":Te=Ue(this.year(),this.month(),1);break;case"week":Te=Ue(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":Te=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":Te=Ue(this.year(),this.month(),this.date());break;case"hour":Te=this._d.valueOf(),Te-=wn(Te+(this._isUTC?0:this.utcOffset()*We),wt);break;case"minute":Te=this._d.valueOf(),Te-=wn(Te,We);break;case"second":Te=this._d.valueOf(),Te-=wn(Te,Ee)}return this._d.setTime(Te),i.updateOffset(this,!0),this}function Wr(se){var Te,Ue;if(void 0===(se=Ht(se))||"millisecond"===se||!this.isValid())return this;switch(Ue=this._isUTC?Si:Rn,se){case"year":Te=Ue(this.year()+1,0,1)-1;break;case"quarter":Te=Ue(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":Te=Ue(this.year(),this.month()+1,1)-1;break;case"week":Te=Ue(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":Te=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":Te=Ue(this.year(),this.month(),this.date()+1)-1;break;case"hour":Te=this._d.valueOf(),Te+=wt-wn(Te+(this._isUTC?0:this.utcOffset()*We),wt)-1;break;case"minute":Te=this._d.valueOf(),Te+=We-wn(Te,We)-1;break;case"second":Te=this._d.valueOf(),Te+=Ee-wn(Te,Ee)-1}return this._d.setTime(Te),i.updateOffset(this,!0),this}function po(){return this._d.valueOf()-6e4*(this._offset||0)}function Aa(){return Math.floor(this.valueOf()/1e3)}function sl(){return new Date(this.valueOf())}function Xl(){var se=this;return[se.year(),se.month(),se.date(),se.hour(),se.minute(),se.second(),se.millisecond()]}function ga(){var se=this;return{years:se.year(),months:se.month(),date:se.date(),hours:se.hours(),minutes:se.minutes(),seconds:se.seconds(),milliseconds:se.milliseconds()}}function h1(){return this.isValid()?this.toISOString():null}function tu(){return S(this)}function xc(){return _({},R(this))}function uc(){return R(this).overflow}function kd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function K2(se,Te){var Ue,it,Lt,mn=this._eras||Cn("en")._eras;for(Ue=0,it=mn.length;Ue<it;++Ue)switch("string"==typeof mn[Ue].since&&(Lt=i(mn[Ue].since).startOf("day"),mn[Ue].since=Lt.valueOf()),typeof mn[Ue].until){case"undefined":mn[Ue].until=1/0;break;case"string":Lt=i(mn[Ue].until).startOf("day").valueOf(),mn[Ue].until=Lt.valueOf()}return mn}function n2(se,Te,Ue){var it,Lt,ii,Tr,Wo,mn=this.eras();for(se=se.toUpperCase(),it=0,Lt=mn.length;it<Lt;++it)if(ii=mn[it].name.toUpperCase(),Tr=mn[it].abbr.toUpperCase(),Wo=mn[it].narrow.toUpperCase(),Ue)switch(Te){case"N":case"NN":case"NNN":if(Tr===se)return mn[it];break;case"NNNN":if(ii===se)return mn[it];break;case"NNNNN":if(Wo===se)return mn[it]}else if([ii,Tr,Wo].indexOf(se)>=0)return mn[it]}function Ds(se,Te){var Ue=se.since<=se.until?1:-1;return void 0===Te?i(se.since).year():i(se.since).year()+(Te-se.offset)*Ue}function f1(){var se,Te,Ue,it=this.localeData().eras();for(se=0,Te=it.length;se<Te;++se)if(Ue=this.clone().startOf("day").valueOf(),it[se].since<=Ue&&Ue<=it[se].until||it[se].until<=Ue&&Ue<=it[se].since)return it[se].name;return""}function Cc(){var se,Te,Ue,it=this.localeData().eras();for(se=0,Te=it.length;se<Te;++se)if(Ue=this.clone().startOf("day").valueOf(),it[se].since<=Ue&&Ue<=it[se].until||it[se].until<=Ue&&Ue<=it[se].since)return it[se].narrow;return""}function Ac(){var se,Te,Ue,it=this.localeData().eras();for(se=0,Te=it.length;se<Te;++se)if(Ue=this.clone().startOf("day").valueOf(),it[se].since<=Ue&&Ue<=it[se].until||it[se].until<=Ue&&Ue<=it[se].since)return it[se].abbr;return""}function C1(){var se,Te,Ue,it,Lt=this.localeData().eras();for(se=0,Te=Lt.length;se<Te;++se)if(Ue=Lt[se].since<=Lt[se].until?1:-1,it=this.clone().startOf("day").valueOf(),Lt[se].since<=it&&it<=Lt[se].until||Lt[se].until<=it&&it<=Lt[se].since)return(this.year()-i(Lt[se].since).year())*Ue+Lt[se].offset;return this.year()}function kt(se){return o(this,"_erasNameRegex")||ca.call(this),se?this._erasNameRegex:this._erasRegex}function Jl(se){return o(this,"_erasAbbrRegex")||ca.call(this),se?this._erasAbbrRegex:this._erasRegex}function D3(se){return o(this,"_erasNarrowRegex")||ca.call(this),se?this._erasNarrowRegex:this._erasRegex}function to(se,Te){return Te.erasAbbrRegex(se)}function hs(se,Te){return Te.erasNameRegex(se)}function i2(se,Te){return Te.erasNarrowRegex(se)}function al(se,Te){return Te._eraYearOrdinalRegex||Li}function ca(){var Lt,mn,se=[],Te=[],Ue=[],it=[],ii=this.eras();for(Lt=0,mn=ii.length;Lt<mn;++Lt)Te.push(di(ii[Lt].name)),se.push(di(ii[Lt].abbr)),Ue.push(di(ii[Lt].narrow)),it.push(di(ii[Lt].name)),it.push(di(ii[Lt].abbr)),it.push(di(ii[Lt].narrow));this._erasRegex=new RegExp("^("+it.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+Te.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+se.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Ue.join("|")+")","i")}function Dl(se,Te){dn(0,[se,se.length],0,Te)}function n4(se){return Ju.call(this,se,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Z2(se){return Ju.call(this,se,this.isoWeek(),this.isoWeekday(),1,4)}function ll(){return Fo(this.year(),1,4)}function nu(){return Fo(this.isoWeekYear(),1,4)}function Va(){var se=this.localeData()._week;return Fo(this.year(),se.dow,se.doy)}function w1(){var se=this.localeData()._week;return Fo(this.weekYear(),se.dow,se.doy)}function Ju(se,Te,Ue,it,Lt){var mn;return null==se?yo(this,it,Lt).year:(Te>(mn=Fo(se,it,Lt))&&(Te=mn),ap.call(this,se,Te,Ue,it,Lt))}function ap(se,Te,Ue,it,Lt){var mn=yr(se,Te,Ue,it,Lt),ii=zs(mn.year,0,mn.dayOfYear);return this.year(ii.getUTCFullYear()),this.month(ii.getUTCMonth()),this.date(ii.getUTCDate()),this}function bf(se){return null==se?Math.ceil((this.month()+1)/3):this.month(3*(se-1)+this.month()%3)}dn("N",0,0,"eraAbbr"),dn("NN",0,0,"eraAbbr"),dn("NNN",0,0,"eraAbbr"),dn("NNNN",0,0,"eraName"),dn("NNNNN",0,0,"eraNarrow"),dn("y",["y",1],"yo","eraYear"),dn("y",["yy",2],0,"eraYear"),dn("y",["yyy",3],0,"eraYear"),dn("y",["yyyy",4],0,"eraYear"),at("N",to),at("NN",to),at("NNN",to),at("NNNN",hs),at("NNNNN",i2),Fi(["N","NN","NNN","NNNN","NNNNN"],function(se,Te,Ue,it){var Lt=Ue._locale.erasParse(se,it,Ue._strict);Lt?R(Ue).era=Lt:R(Ue).invalidEra=se}),at("y",Li),at("yy",Li),at("yyy",Li),at("yyyy",Li),at("yo",al),Fi(["y","yy","yyy","yyyy"],Jr),Fi(["yo"],function(se,Te,Ue,it){var Lt;Ue._locale._eraYearOrdinalRegex&&(Lt=se.match(Ue._locale._eraYearOrdinalRegex)),Ue._locale.eraYearOrdinalParse?Te[Jr]=Ue._locale.eraYearOrdinalParse(se,Lt):Te[Jr]=parseInt(se,10)}),dn(0,["gg",2],0,function(){return this.weekYear()%100}),dn(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dl("gggg","weekYear"),Dl("ggggg","weekYear"),Dl("GGGG","isoWeekYear"),Dl("GGGGG","isoWeekYear"),xt("weekYear","gg"),xt("isoWeekYear","GG"),lt("weekYear",1),lt("isoWeekYear",1),at("G",Sr),at("g",Sr),at("GG",Bn,pi),at("gg",Bn,pi),at("GGGG",Mr,wr),at("gggg",Mr,wr),at("GGGGG",gr,Pn),at("ggggg",gr,Pn),Yr(["gggg","ggggg","GGGG","GGGGG"],function(se,Te,Ue,it){Te[it.substr(0,2)]=Mn(se)}),Yr(["gg","GG"],function(se,Te,Ue,it){Te[it]=i.parseTwoDigitYear(se)}),dn("Q",0,"Qo","quarter"),xt("quarter","Q"),lt("quarter",7),at("Q",_i),Fi("Q",function(se,Te){Te[Bi]=3*(Mn(se)-1)}),dn("D",["DD",2],"Do","date"),xt("date","D"),lt("date",9),at("D",Bn),at("DD",Bn,pi),at("Do",function(se,Te){return se?Te._dayOfMonthOrdinalParse||Te._ordinalParse:Te._dayOfMonthOrdinalParseLenient}),Fi(["D","DD"],ks),Fi("Do",function(se,Te){Te[ks]=Mn(se.match(Bn)[0])});var p1=ti("Date",!0);function Ld(se){var Te=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==se?Te:this.add(se-Te,"d")}dn("DDD",["DDDD",3],"DDDo","dayOfYear"),xt("dayOfYear","DDD"),lt("dayOfYear",4),at("DDD",xi),at("DDDD",$n),Fi(["DDD","DDDD"],function(se,Te,Ue){Ue._dayOfYear=Mn(se)}),dn("m",["mm",2],0,"minute"),xt("minute","m"),lt("minute",14),at("m",Bn),at("mm",Bn,pi),Fi(["m","mm"],Qo);var X2=ti("Minutes",!1);dn("s",["ss",2],0,"second"),xt("second","s"),lt("second",15),at("s",Bn),at("ss",Bn,pi),Fi(["s","ss"],mr);var Ua,Gc,iu=ti("Seconds",!1);for(dn("S",0,0,function(){return~~(this.millisecond()/100)}),dn(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),dn(0,["SSS",3],0,"millisecond"),dn(0,["SSSS",4],0,function(){return 10*this.millisecond()}),dn(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),dn(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),dn(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),dn(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),dn(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),xt("millisecond","ms"),lt("millisecond",16),at("S",xi,_i),at("SS",xi,pi),at("SSS",xi,$n),Ua="SSSS";Ua.length<=9;Ua+="S")at(Ua,Li);function k2(se,Te){Te[Ti]=Mn(1e3*("0."+se))}for(Ua="S";Ua.length<=9;Ua+="S")Fi(Ua,k2);function L2(){return this._isUTC?"UTC":""}function E2(){return this._isUTC?"Coordinated Universal Time":""}Gc=ti("Milliseconds",!1),dn("z",0,0,"zoneAbbr"),dn("zz",0,0,"zoneName");var Pi=X.prototype;function ru(se){return Uo(1e3*se)}function da(){return Uo.apply(null,arguments).parseZone()}function Ed(se){return se}Pi.add=rl,Pi.calendar=_l,Pi.clone=xo,Pi.diff=Fe,Pi.endOf=Wr,Pi.format=Ke,Pi.from=bt,Pi.fromNow=Tt,Pi.to=gn,Pi.toNow=yi,Pi.get=Ki,Pi.invalidAt=uc,Pi.isAfter=Yo,Pi.isBefore=$r,Pi.isBetween=$s,Pi.isSame=Ks,Pi.isSameOrAfter=nn,Pi.isSameOrBefore=Me,Pi.isValid=tu,Pi.lang=K,Pi.locale=D,Pi.localeData=he,Pi.max=Ea,Pi.min=c1,Pi.parsingFlags=xc,Pi.set=Hi,Pi.startOf=tr,Pi.subtract=ol,Pi.toArray=Xl,Pi.toObject=ga,Pi.toDate=sl,Pi.toISOString=xe,Pi.inspect=He,"undefined"!=typeof Symbol&&null!=Symbol.for&&(Pi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pi.toJSON=h1,Pi.toString=ae,Pi.unix=Aa,Pi.valueOf=po,Pi.creationData=kd,Pi.eraName=f1,Pi.eraNarrow=Cc,Pi.eraAbbr=Ac,Pi.eraYear=C1,Pi.year=no,Pi.isLeapYear=ho,Pi.weekYear=n4,Pi.isoWeekYear=Z2,Pi.quarter=Pi.quarters=bf,Pi.month=ys,Pi.daysInMonth=_a,Pi.week=Pi.weeks=ba,Pi.isoWeek=Pi.isoWeeks=xs,Pi.weeksInYear=Va,Pi.weeksInWeekYear=w1,Pi.isoWeeksInYear=ll,Pi.isoWeeksInISOWeekYear=nu,Pi.date=p1,Pi.day=Pi.days=Wt,Pi.weekday=Pt,Pi.isoWeekday=Et,Pi.dayOfYear=Ld,Pi.hour=Pi.hours=In,Pi.minute=Pi.minutes=X2,Pi.second=Pi.seconds=iu,Pi.millisecond=Pi.milliseconds=Gc,Pi.utcOffset=Ze,Pi.utc=Zn,Pi.local=Oi,Pi.parseZone=cr,Pi.hasAlignedHourOffset=es,Pi.isDST=ya,Pi.isLocal=Wn,Pi.isUtcOffset=kn,Pi.isUtc=Wi,Pi.isUTC=Wi,Pi.zoneAbbr=L2,Pi.zoneName=E2,Pi.dates=pe("dates accessor is deprecated. Use date instead.",p1),Pi.months=pe("months accessor is deprecated. Use month instead",ys),Pi.years=pe("years accessor is deprecated. Use year instead",no),Pi.zone=pe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Vt),Pi.isDSTShifted=pe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",un);var ns=ot.prototype;function Qu(se,Te,Ue,it){var Lt=Cn(),mn=w().set(it,Te);return Lt[Ue](mn,se)}function J2(se,Te,Ue){if(y(se)&&(Te=se,se=void 0),se=se||"",null!=Te)return Qu(se,Te,Ue,"month");var it,Lt=[];for(it=0;it<12;it++)Lt[it]=Qu(se,it,Ue,"month");return Lt}function r2(se,Te,Ue,it){"boolean"==typeof se?(y(Te)&&(Ue=Te,Te=void 0),Te=Te||""):(Ue=Te=se,se=!1,y(Te)&&(Ue=Te,Te=void 0),Te=Te||"");var ii,Lt=Cn(),mn=se?Lt._week.dow:0,Tr=[];if(null!=Ue)return Qu(Te,(Ue+mn)%7,it,"day");for(ii=0;ii<7;ii++)Tr[ii]=Qu(Te,(ii+mn)%7,it,"day");return Tr}function e3(se,Te){return J2(se,Te,"months")}function ou(se,Te){return J2(se,Te,"monthsShort")}function su(se,Te,Ue){return r2(se,Te,Ue,"weekdays")}function Is(se,Te,Ue){return r2(se,Te,Ue,"weekdaysShort")}function U1(se,Te,Ue){return r2(se,Te,Ue,"weekdaysMin")}ns.calendar=Xt,ns.longDateFormat=oi,ns.invalidDate=Xn,ns.ordinal=pn,ns.preparse=Ed,ns.postformat=Ed,ns.relativeTime=yt,ns.pastFuture=Je,ns.set=qe,ns.eras=K2,ns.erasParse=n2,ns.erasConvertYear=Ds,ns.erasAbbrRegex=Jl,ns.erasNameRegex=kt,ns.erasNarrowRegex=D3,ns.months=Os,ns.monthsShort=cs,ns.monthsParse=Qr,ns.monthsRegex=ji,ns.monthsShortRegex=Ps,ns.week=Po,ns.firstDayOfYear=Xo,ns.firstDayOfWeek=rs,ns.weekdays=me,ns.weekdaysMin=et,ns.weekdaysShort=Be,ns.weekdaysParse=Ut,ns.weekdaysRegex=Dn,ns.weekdaysShortRegex=Ln,ns.weekdaysMinRegex=An,ns.isPM=Ri,ns.meridiem=Pr,Oe("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(se){var Te=se%10;return se+(1===Mn(se%100/10)?"th":1===Te?"st":2===Te?"nd":3===Te?"rd":"th")}}),i.lang=pe("moment.lang is deprecated. Use moment.locale instead.",Oe),i.langData=pe("moment.langData is deprecated. Use moment.localeData instead.",Cn);var Il=Math.abs;function M1(){var se=this._data;return this._milliseconds=Il(this._milliseconds),this._days=Il(this._days),this._months=Il(this._months),se.milliseconds=Il(se.milliseconds),se.seconds=Il(se.seconds),se.minutes=Il(se.minutes),se.hours=Il(se.hours),se.months=Il(se.months),se.years=Il(se.years),this}function Y1(se,Te,Ue,it){var Lt=eo(Te,Ue);return se._milliseconds+=it*Lt._milliseconds,se._days+=it*Lt._days,se._months+=it*Lt._months,se._bubble()}function T1(se,Te){return Y1(this,se,Te,1)}function Du(se,Te){return Y1(this,se,Te,-1)}function Ql(se){return se<0?Math.floor(se):Math.ceil(se)}function Dd(){var Lt,mn,ii,Tr,Wo,se=this._milliseconds,Te=this._days,Ue=this._months,it=this._data;return se>=0&&Te>=0&&Ue>=0||se<=0&&Te<=0&&Ue<=0||(se+=864e5*Ql(ec(Ue)+Te),Te=0,Ue=0),it.milliseconds=se%1e3,Lt=Jn(se/1e3),it.seconds=Lt%60,mn=Jn(Lt/60),it.minutes=mn%60,ii=Jn(mn/60),it.hours=ii%24,Te+=Jn(ii/24),Ue+=Wo=Jn(Ya(Te)),Te-=Ql(ec(Wo)),Tr=Jn(Ue/12),Ue%=12,it.days=Te,it.months=Ue,it.years=Tr,this}function Ya(se){return 4800*se/146097}function ec(se){return 146097*se/4800}function au(se){if(!this.isValid())return NaN;var Te,Ue,it=this._milliseconds;if("month"===(se=Ht(se))||"quarter"===se||"year"===se)switch(Te=this._days+it/864e5,Ue=this._months+Ya(Te),se){case"month":return Ue;case"quarter":return Ue/3;case"year":return Ue/12}else switch(Te=this._days+Math.round(ec(this._months)),se){case"week":return Te/7+it/6048e5;case"day":return Te+it/864e5;case"hour":return 24*Te+it/36e5;case"minute":return 1440*Te+it/6e4;case"second":return 86400*Te+it/1e3;case"millisecond":return Math.floor(864e5*Te)+it;default:throw new Error("Unknown unit "+se)}}function Q2(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Mn(this._months/12):NaN}function g1(se){return function(){return this.as(se)}}var Iu=g1("ms"),ed=g1("s"),Ja=g1("m"),D2=g1("h"),td=g1("d"),lu=g1("w"),I2=g1("M"),Wa=g1("Q"),Au=g1("y");function A2(){return eo(this)}function Vl(se){return se=Ht(se),this.isValid()?this[se+"s"]():NaN}function wc(se){return function(){return this.isValid()?this._data[se]:NaN}}var bl=wc("milliseconds"),As=wc("seconds"),ms=wc("minutes"),ea=wc("hours"),nd=wc("days"),S1=wc("months"),W1=wc("years");function id(){return Jn(this.days()/7)}var Mc=Math.round,o2={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Oc(se,Te,Ue,it,Lt){return Lt.relativeTime(Te||1,!!Ue,se,it)}function rd(se,Te,Ue,it){var Lt=eo(se).abs(),mn=Mc(Lt.as("s")),ii=Mc(Lt.as("m")),Tr=Mc(Lt.as("h")),Wo=Mc(Lt.as("d")),fs=Mc(Lt.as("M")),ta=Mc(Lt.as("w")),os=Mc(Lt.as("y")),Vs=mn<=Ue.ss&&["s",mn]||mn<Ue.s&&["ss",mn]||ii<=1&&["m"]||ii<Ue.m&&["mm",ii]||Tr<=1&&["h"]||Tr<Ue.h&&["hh",Tr]||Wo<=1&&["d"]||Wo<Ue.d&&["dd",Wo];return null!=Ue.w&&(Vs=Vs||ta<=1&&["w"]||ta<Ue.w&&["ww",ta]),(Vs=Vs||fs<=1&&["M"]||fs<Ue.M&&["MM",fs]||os<=1&&["y"]||["yy",os])[2]=Te,Vs[3]=+se>0,Vs[4]=it,Oc.apply(null,Vs)}function qc(se){return void 0===se?Mc:"function"==typeof se&&(Mc=se,!0)}function t3(se,Te){return void 0!==o2[se]&&(void 0===Te?o2[se]:(o2[se]=Te,"s"===se&&(o2.ss=Te-1),!0))}function $c(se,Te){if(!this.isValid())return this.localeData().invalidDate();var Lt,mn,Ue=!1,it=o2;return"object"==typeof se&&(Te=se,se=!1),"boolean"==typeof se&&(Ue=se),"object"==typeof Te&&(it=Object.assign({},o2,Te),null!=Te.s&&null==Te.ss&&(it.ss=Te.s-1)),mn=rd(this,!Ue,it,Lt=this.localeData()),Ue&&(mn=Lt.pastFuture(+this,mn)),Lt.postformat(mn)}var od=Math.abs;function Pc(se){return(se>0)-(se<0)||+se}function O2(){if(!this.isValid())return this.localeData().invalidDate();var it,Lt,mn,ii,Wo,fs,ta,os,se=od(this._milliseconds)/1e3,Te=od(this._days),Ue=od(this._months),Tr=this.asSeconds();return Tr?(it=Jn(se/60),Lt=Jn(it/60),se%=60,it%=60,mn=Jn(Ue/12),Ue%=12,ii=se?se.toFixed(3).replace(/\.?0+$/,""):"",Wo=Tr<0?"-":"",fs=Pc(this._months)!==Pc(Tr)?"-":"",ta=Pc(this._days)!==Pc(Tr)?"-":"",os=Pc(this._milliseconds)!==Pc(Tr)?"-":"",Wo+"P"+(mn?fs+mn+"Y":"")+(Ue?fs+Ue+"M":"")+(Te?ta+Te+"D":"")+(Lt||it||se?"T":"")+(Lt?os+Lt+"H":"")+(it?os+it+"M":"")+(se?os+ii+"S":"")):"P0D"}var Ns=Rs.prototype;return Ns.isValid=d1,Ns.abs=M1,Ns.add=T1,Ns.subtract=Du,Ns.as=au,Ns.asMilliseconds=Iu,Ns.asSeconds=ed,Ns.asMinutes=Ja,Ns.asHours=D2,Ns.asDays=td,Ns.asWeeks=lu,Ns.asMonths=I2,Ns.asQuarters=Wa,Ns.asYears=Au,Ns.valueOf=Q2,Ns._bubble=Dd,Ns.clone=A2,Ns.get=Vl,Ns.milliseconds=bl,Ns.seconds=As,Ns.minutes=ms,Ns.hours=ea,Ns.days=nd,Ns.weeks=id,Ns.months=S1,Ns.years=W1,Ns.humanize=$c,Ns.toISOString=O2,Ns.toString=O2,Ns.toJSON=O2,Ns.locale=D,Ns.localeData=he,Ns.toIsoString=pe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",O2),Ns.lang=K,dn("X",0,0,"unix"),dn("x",0,0,"valueOf"),at("x",Sr),at("X",uo),Fi("X",function(se,Te,Ue){Ue._d=new Date(1e3*parseFloat(se))}),Fi("x",function(se,Te,Ue){Ue._d=new Date(Mn(se))}),i.version="2.29.4",P(Uo),i.fn=Pi,i.min=us,i.max=Ll,i.now=il,i.utc=w,i.unix=ru,i.months=e3,i.isDate=x,i.locale=Oe,i.invalid=E,i.duration=eo,i.isMoment=W,i.weekdays=su,i.parseZone=da,i.localeData=Cn,i.isDuration=u1,i.monthsShort=ou,i.weekdaysMin=U1,i.defineLocale=gt,i.updateLocale=Nt,i.locales=ze,i.weekdaysShort=Is,i.normalizeUnits=Ht,i.relativeTimeRounding=qc,i.relativeTimeThreshold=t3,i.calendarFormat=Es,i.prototype=Pi,i.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"},i}()},69729:(de,$e,B)=>{var n;!function(i,P,m){if(i){for(var y,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},o={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},v={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},x=1;x<20;++x)s[111+x]="f"+x;for(x=0;x<=9;++x)s[x+96]=x.toString();W.prototype.bind=function(re,pe,Ae){return re=re instanceof Array?re:[re],this._bindMultiple.call(this,re,pe,Ae),this},W.prototype.unbind=function(re,pe){return this.bind.call(this,re,function(){},pe)},W.prototype.trigger=function(re,pe){return this._directMap[re+":"+pe]&&this._directMap[re+":"+pe]({},re),this},W.prototype.reset=function(){return this._callbacks={},this._directMap={},this},W.prototype.stopCallback=function(re,pe){if((" "+pe.className+" ").indexOf(" mousetrap ")>-1||X(pe,this.target))return!1;if("composedPath"in re&&"function"==typeof re.composedPath){var Se=re.composedPath()[0];Se!==re.target&&(pe=Se)}return"INPUT"==pe.tagName||"SELECT"==pe.tagName||"TEXTAREA"==pe.tagName||pe.isContentEditable},W.prototype.handleKey=function(){var re=this;return re._handleKey.apply(re,arguments)},W.addKeycodes=function(re){for(var pe in re)re.hasOwnProperty(pe)&&(s[pe]=re[pe]);y=null},W.init=function(){var re=W(P);for(var pe in re)"_"!==pe.charAt(0)&&(W[pe]=function(Ae){return function(){return re[Ae].apply(re,arguments)}}(pe))},W.init(),i.Mousetrap=W,de.exports&&(de.exports=W),void 0!==(n=function(){return W}.call($e,B,$e,de))&&(de.exports=n)}function C(re,pe,Ae){re.addEventListener?re.addEventListener(pe,Ae,!1):re.attachEvent("on"+pe,Ae)}function _(re){if("keypress"==re.type){var pe=String.fromCharCode(re.which);return re.shiftKey||(pe=pe.toLowerCase()),pe}return s[re.which]?s[re.which]:o[re.which]?o[re.which]:String.fromCharCode(re.which).toLowerCase()}function w(re,pe){return re.sort().join(",")===pe.sort().join(",")}function S(re){return"shift"==re||"ctrl"==re||"alt"==re||"meta"==re}function O(re,pe,Ae){return Ae||(Ae=function E(){if(!y)for(var re in y={},s)re>95&&re<112||s.hasOwnProperty(re)&&(y[s[re]]=re);return y}()[re]?"keydown":"keypress"),"keypress"==Ae&&pe.length&&(Ae="keydown"),Ae}function U(re,pe){var Ae,Se,De,qe=[];for(Ae=function H(re){return"+"===re?["+"]:(re=re.replace(/\+{2}/g,"+plus")).split("+")}(re),De=0;De<Ae.length;++De)Se=Ae[De],v[Se]&&(Se=v[Se]),pe&&"keypress"!=pe&&h[Se]&&(Se=h[Se],qe.push("shift")),S(Se)&&qe.push(Se);return{key:Se,modifiers:qe,action:pe=O(Se,qe,pe)}}function X(re,pe){return null!==re&&re!==P&&(re===pe||X(re.parentNode,pe))}function W(re){var pe=this;if(re=re||P,!(pe instanceof W))return new W(re);pe.target=re,pe._callbacks={},pe._directMap={};var Se,Ae={},De=!1,qe=!1,rt=!1;function ot(vn){vn=vn||{};var dn,xn=!1;for(dn in Ae)vn[dn]?xn=!0:Ae[dn]=0;xn||(rt=!1)}function vt(vn,xn,dn,Sn,si,cn){var yn,qn,oi=[],Yn=dn.type;if(!pe._callbacks[vn])return[];for("keyup"==Yn&&S(vn)&&(xn=[vn]),yn=0;yn<pe._callbacks[vn].length;++yn)if(qn=pe._callbacks[vn][yn],(Sn||!qn.seq||Ae[qn.seq]==qn.level)&&Yn==qn.action&&("keypress"==Yn&&!dn.metaKey&&!dn.ctrlKey||w(xn,qn.modifiers))){var Xn=!Sn&&qn.combo==si,gi=Sn&&qn.seq==Sn&&qn.level==cn;(Xn||gi)&&pe._callbacks[vn].splice(yn,1),oi.push(qn)}return oi}function rn(vn,xn,dn,Sn){pe.stopCallback(xn,xn.target||xn.srcElement,dn,Sn)||!1===vn(xn,dn)&&(function R(re){re.preventDefault?re.preventDefault():re.returnValue=!1}(xn),function N(re){re.stopPropagation?re.stopPropagation():re.cancelBubble=!0}(xn))}function Xt(vn){"number"!=typeof vn.which&&(vn.which=vn.keyCode);var xn=_(vn);if(xn){if("keyup"==vn.type&&De===xn)return void(De=!1);pe.handleKey(xn,function z(re){var pe=[];return re.shiftKey&&pe.push("shift"),re.altKey&&pe.push("alt"),re.ctrlKey&&pe.push("ctrl"),re.metaKey&&pe.push("meta"),pe}(vn),vn)}}function _n(vn,xn,dn,Sn){function si(Yn){return function(){rt=Yn,++Ae[vn],function fn(){clearTimeout(Se),Se=setTimeout(ot,1e3)}()}}function cn(Yn){rn(dn,Yn,vn),"keyup"!==Sn&&(De=_(Yn)),setTimeout(ot,10)}Ae[vn]=0;for(var yn=0;yn<xn.length;++yn){var oi=yn+1===xn.length?cn:si(Sn||U(xn[yn+1]).action);hn(xn[yn],oi,Sn,vn,yn)}}function hn(vn,xn,dn,Sn,si){pe._directMap[vn+":"+dn]=xn;var yn,cn=(vn=vn.replace(/\s+/g," ")).split(" ");cn.length>1?_n(vn,cn,xn,dn):(yn=U(vn,dn),pe._callbacks[yn.key]=pe._callbacks[yn.key]||[],vt(yn.key,yn.modifiers,{type:yn.action},Sn,vn,si),pe._callbacks[yn.key][Sn?"unshift":"push"]({callback:xn,modifiers:yn.modifiers,action:yn.action,seq:Sn,level:si,combo:vn}))}pe._handleKey=function(vn,xn,dn){var si,Sn=vt(vn,xn,dn),cn={},yn=0,qn=!1;for(si=0;si<Sn.length;++si)Sn[si].seq&&(yn=Math.max(yn,Sn[si].level));for(si=0;si<Sn.length;++si)if(Sn[si].seq){if(Sn[si].level!=yn)continue;qn=!0,cn[Sn[si].seq]=1,rn(Sn[si].callback,dn,Sn[si].combo,Sn[si].seq)}else qn||rn(Sn[si].callback,dn,Sn[si].combo);var oi="keypress"==dn.type&&qe;dn.type==rt&&!S(vn)&&!oi&&ot(cn),qe=qn&&"keydown"==dn.type},pe._bindMultiple=function(vn,xn,dn){for(var Sn=0;Sn<vn.length;++Sn)hn(vn[Sn],xn,dn)},C(re,"keypress",Xt),C(re,"keydown",Xt),C(re,"keyup",Xt)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},5263:(de,$e,B)=>{"use strict";B.d($e,{bl:()=>Yi,_E:()=>In,BI:()=>hr,U$:()=>Cn});var n=B(36362),i=B(3184),P=B(165);function m(ze,ke){if(1&ze){var oe=i.EpF();i.TgZ(0,"a",11),i.NdJ("keyup.enter",function(){return i.CHM(oe),i.oxw(3),i.MAs(1).previous()})("click",function(){return i.CHM(oe),i.oxw(3),i.MAs(1).previous()}),i._uU(1),i.TgZ(2,"span",12),i._uU(3),i.qZA()()}if(2&ze){var pt=i.oxw(3);i.uIk("aria-label",pt.previousLabel+" "+pt.screenReaderPageLabel),i.xp6(1),i.hij(" ",pt.previousLabel," "),i.xp6(2),i.Oqu(pt.screenReaderPageLabel)}}function s(ze,ke){if(1&ze&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",12),i._uU(3),i.qZA()()),2&ze){var oe=i.oxw(3);i.xp6(1),i.hij(" ",oe.previousLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function o(ze,ke){if(1&ze&&(i.TgZ(0,"li",8),i.YNc(1,m,4,3,"a",9),i.YNc(2,s,4,2,"span",10),i.qZA()),2&ze){i.oxw(2);var oe=i.MAs(1);i.ekj("disabled",oe.isFirstPage()),i.xp6(1),i.Q6J("ngIf",1<oe.getCurrent()),i.xp6(1),i.Q6J("ngIf",oe.isFirstPage())}}function h(ze,ke){if(1&ze){var oe=i.EpF();i.TgZ(0,"a",11),i.NdJ("keyup.enter",function(){i.CHM(oe);var En=i.oxw().$implicit;return i.oxw(2),i.MAs(1).setCurrent(En.value)})("click",function(){i.CHM(oe);var En=i.oxw().$implicit;return i.oxw(2),i.MAs(1).setCurrent(En.value)}),i.TgZ(1,"span",12),i._uU(2),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"number"),i.qZA()()}if(2&ze){var pt=i.oxw().$implicit,zt=i.oxw(2);i.xp6(2),i.hij("",zt.screenReaderPageLabel," "),i.xp6(2),i.Oqu("..."===pt.label?pt.label:i.xi3(5,2,pt.label,""))}}function v(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"span",12),i._uU(2),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.ALo(5,"number"),i.qZA(),i.BQk()),2&ze){var oe=i.oxw().$implicit,pt=i.oxw(2);i.xp6(2),i.hij("",pt.screenReaderCurrentLabel," "),i.xp6(2),i.Oqu("..."===oe.label?oe.label:i.xi3(5,2,oe.label,""))}}function y(ze,ke){if(1&ze&&(i.TgZ(0,"li"),i.YNc(1,h,6,5,"a",9),i.YNc(2,v,6,5,"ng-container",10),i.qZA()),2&ze){var oe=ke.$implicit;i.oxw(2);var pt=i.MAs(1);i.ekj("current",pt.getCurrent()===oe.value)("ellipsis","..."===oe.label),i.xp6(1),i.Q6J("ngIf",pt.getCurrent()!==oe.value),i.xp6(1),i.Q6J("ngIf",pt.getCurrent()===oe.value)}}function x(ze,ke){if(1&ze){var oe=i.EpF();i.TgZ(0,"a",11),i.NdJ("keyup.enter",function(){return i.CHM(oe),i.oxw(3),i.MAs(1).next()})("click",function(){return i.CHM(oe),i.oxw(3),i.MAs(1).next()}),i._uU(1),i.TgZ(2,"span",12),i._uU(3),i.qZA()()}if(2&ze){var pt=i.oxw(3);i.uIk("aria-label",pt.nextLabel+" "+pt.screenReaderPageLabel),i.xp6(1),i.hij(" ",pt.nextLabel," "),i.xp6(2),i.Oqu(pt.screenReaderPageLabel)}}function C(ze,ke){if(1&ze&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",12),i._uU(3),i.qZA()()),2&ze){var oe=i.oxw(3);i.xp6(1),i.hij(" ",oe.nextLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function _(ze,ke){if(1&ze&&(i.TgZ(0,"li",13),i.YNc(1,x,4,3,"a",9),i.YNc(2,C,4,2,"span",10),i.qZA()),2&ze){i.oxw(2);var oe=i.MAs(1);i.ekj("disabled",oe.isLastPage()),i.xp6(1),i.Q6J("ngIf",!oe.isLastPage()),i.xp6(1),i.Q6J("ngIf",oe.isLastPage())}}function w(ze,ke){if(1&ze&&(i.TgZ(0,"ul",3),i.YNc(1,o,3,4,"li",4),i.TgZ(2,"li",5),i._uU(3),i.qZA(),i.YNc(4,y,3,6,"li",6),i.YNc(5,_,3,4,"li",7),i.qZA()),2&ze){var oe=i.oxw(),pt=i.MAs(1);i.ekj("responsive",oe.responsive),i.uIk("aria-label",oe.screenReaderPaginationLabel),i.xp6(1),i.Q6J("ngIf",oe.directionLinks),i.xp6(2),i.AsE(" ",pt.getCurrent()," / ",pt.getLastPage()," "),i.xp6(1),i.Q6J("ngForOf",pt.pages)("ngForTrackBy",oe.trackByIndex),i.xp6(1),i.Q6J("ngIf",oe.directionLinks)}}var z=function(){function ze(){this.change=new i.vpe,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}return ze.prototype.defaultId=function(){return this.DEFAULT_ID},ze.prototype.register=function(ke){return null==ke.id&&(ke.id=this.DEFAULT_ID),this.instances[ke.id]?this.updateInstance(ke):(this.instances[ke.id]=ke,!0)},ze.prototype.updateInstance=function(ke){var oe=!1;for(var pt in this.instances[ke.id])ke[pt]!==this.instances[ke.id][pt]&&(this.instances[ke.id][pt]=ke[pt],oe=!0);return oe},ze.prototype.getCurrentPage=function(ke){if(this.instances[ke])return this.instances[ke].currentPage},ze.prototype.setCurrentPage=function(ke,oe){if(this.instances[ke]){var pt=this.instances[ke];oe<=Math.ceil(pt.totalItems/pt.itemsPerPage)&&1<=oe&&(this.instances[ke].currentPage=oe,this.change.emit(ke))}},ze.prototype.setTotalItems=function(ke,oe){this.instances[ke]&&0<=oe&&(this.instances[ke].totalItems=oe,this.change.emit(ke))},ze.prototype.setItemsPerPage=function(ke,oe){this.instances[ke]&&(this.instances[ke].itemsPerPage=oe,this.change.emit(ke))},ze.prototype.getInstance=function(ke){return void 0===ke&&(ke=this.DEFAULT_ID),this.instances[ke]?this.clone(this.instances[ke]):{}},ze.prototype.clone=function(ke){var oe={};for(var pt in ke)ke.hasOwnProperty(pt)&&(oe[pt]=ke[pt]);return oe},ze.\u0275fac=function(oe){return new(oe||ze)},ze.\u0275prov=i.Yz7({token:ze,factory:function(ke){return ze.\u0275fac(ke)}}),ze}(),N=function(ze,ke){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ze,ke)},S=Number.MAX_SAFE_INTEGER,E=function(){function ze(ke){this.service=ke,this.state={}}return ze.prototype.transform=function(ke,oe){if(!(ke instanceof Array)){var pt=oe.id||this.service.defaultId();return this.state[pt]?this.state[pt].slice:ke}var ci,Ei,zt=oe.totalItems&&oe.totalItems!==ke.length,Dt=this.createInstance(ke,oe),En=Dt.id,xr=Dt.itemsPerPage,ft=this.service.register(Dt);if(!zt&&ke instanceof Array){if(xr=+xr||S,Ei=(ci=(Dt.currentPage-1)*xr)+xr,this.stateIsIdentical(En,ke,ci,Ei))return this.state[En].slice;var Xe=ke.slice(ci,Ei);return this.saveState(En,ke,Xe,ci,Ei),this.service.change.emit(En),Xe}return ft&&this.service.change.emit(En),this.saveState(En,ke,ke,ci,Ei),ke},ze.prototype.createInstance=function(ke,oe){return this.checkConfig(oe),{id:null!=oe.id?oe.id:this.service.defaultId(),itemsPerPage:+oe.itemsPerPage||0,currentPage:+oe.currentPage||1,totalItems:+oe.totalItems||ke.length}},ze.prototype.checkConfig=function(ke){var pt=["itemsPerPage","currentPage"].filter(function(zt){return!(zt in ke)});if(0<pt.length)throw new Error("PaginatePipe: Argument is missing the following required properties: "+pt.join(", "))},ze.prototype.saveState=function(ke,oe,pt,zt,Dt){this.state[ke]={collection:oe,size:oe.length,slice:pt,start:zt,end:Dt}},ze.prototype.stateIsIdentical=function(ke,oe,pt,zt){var Dt=this.state[ke];return!!Dt&&(!!(Dt.size===oe.length&&Dt.start===pt&&Dt.end===zt)&&Dt.slice.every(function(ci,Ei){return ci===oe[pt+Ei]}))},ze=function(ze,ke,oe,pt){var En,zt=arguments.length,Dt=zt<3?ke:null===pt?pt=Object.getOwnPropertyDescriptor(ke,oe):pt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Dt=Reflect.decorate(ze,ke,oe,pt);else for(var ci=ze.length-1;ci>=0;ci--)(En=ze[ci])&&(Dt=(zt<3?En(Dt):zt>3?En(ke,oe,Dt):En(ke,oe))||Dt);return zt>3&&Dt&&Object.defineProperty(ke,oe,Dt),Dt}([N("design:paramtypes",[z])],ze),ze.\u0275fac=function(oe){return new(oe||ze)(i.Y36(z,16))},ze.\u0275pipe=i.Yjl({name:"paginate",type:ze,pure:!1}),ze}(),U=function(ze,ke,oe,pt){var En,zt=arguments.length,Dt=zt<3?ke:null===pt?pt=Object.getOwnPropertyDescriptor(ke,oe):pt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Dt=Reflect.decorate(ze,ke,oe,pt);else for(var ci=ze.length-1;ci>=0;ci--)(En=ze[ci])&&(Dt=(zt<3?En(Dt):zt>3?En(ke,oe,Dt):En(ke,oe))||Dt);return zt>3&&Dt&&Object.defineProperty(ke,oe,Dt),Dt},X=function(ze,ke){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ze,ke)};function W(ze){return!!ze&&"false"!==ze}var re=function(){function ze(){this.maxSize=7,this.previousLabel="Previous",this.nextLabel="Next",this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You're on page",this.pageChange=new i.vpe,this.pageBoundsCorrection=new i.vpe,this._directionLinks=!0,this._autoHide=!1,this._responsive=!1}return Object.defineProperty(ze.prototype,"directionLinks",{get:function(){return this._directionLinks},set:function(ke){this._directionLinks=W(ke)},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"autoHide",{get:function(){return this._autoHide},set:function(ke){this._autoHide=W(ke)},enumerable:!0,configurable:!0}),Object.defineProperty(ze.prototype,"responsive",{get:function(){return this._responsive},set:function(ke){this._responsive=W(ke)},enumerable:!0,configurable:!0}),ze.prototype.trackByIndex=function(ke){return ke},U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"id",void 0),U([(0,i.IIB)(),X("design:type",Number)],ze.prototype,"maxSize",void 0),U([(0,i.IIB)(),X("design:type",Boolean),X("design:paramtypes",[Boolean])],ze.prototype,"directionLinks",null),U([(0,i.IIB)(),X("design:type",Boolean),X("design:paramtypes",[Boolean])],ze.prototype,"autoHide",null),U([(0,i.IIB)(),X("design:type",Boolean),X("design:paramtypes",[Boolean])],ze.prototype,"responsive",null),U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"previousLabel",void 0),U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"nextLabel",void 0),U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"screenReaderPaginationLabel",void 0),U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"screenReaderPageLabel",void 0),U([(0,i.IIB)(),X("design:type",String)],ze.prototype,"screenReaderCurrentLabel",void 0),U([(0,i.r_U)(),X("design:type",i.vpe)],ze.prototype,"pageChange",void 0),U([(0,i.r_U)(),X("design:type",i.vpe)],ze.prototype,"pageBoundsCorrection",void 0),ze.\u0275fac=function(oe){return new(oe||ze)},ze.\u0275cmp=i.Xpm({type:ze,selectors:[["pagination-controls"]],inputs:{maxSize:"maxSize",previousLabel:"previousLabel",nextLabel:"nextLabel",screenReaderPaginationLabel:"screenReaderPaginationLabel",screenReaderPageLabel:"screenReaderPageLabel",screenReaderCurrentLabel:"screenReaderCurrentLabel",directionLinks:"directionLinks",autoHide:"autoHide",responsive:"responsive",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},decls:3,vars:3,consts:[[3,"id","maxSize","pageChange","pageBoundsCorrection"],["p","paginationApi"],["class","ngx-pagination",3,"responsive",4,"ngIf"],[1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf","ngForTrackBy"],["class","pagination-next",3,"disabled",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],[4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],[1,"pagination-next"]],template:function(oe,pt){if(1&oe&&(i.TgZ(0,"pagination-template",0,1),i.NdJ("pageChange",function(En){return pt.pageChange.emit(En)})("pageBoundsCorrection",function(En){return pt.pageBoundsCorrection.emit(En)}),i.YNc(2,w,6,9,"ul",2),i.qZA()),2&oe){var zt=i.MAs(1);i.Q6J("id",pt.id)("maxSize",pt.maxSize),i.xp6(2),i.Q6J("ngIf",!(pt.autoHide&&zt.pages.length<=1))}},directives:function(){return[Se,n.O5,n.sg]},pipes:function(){return[n.JJ]},styles:["\n.ngx-pagination {\n  margin-left: 0;\n  margin-bottom: 1rem; }\n  .ngx-pagination::before, .ngx-pagination::after {\n    content: ' ';\n    display: table; }\n  .ngx-pagination::after {\n    clear: both; }\n  .ngx-pagination li {\n    -moz-user-select: none;\n    -webkit-user-select: none;\n    -ms-user-select: none;\n    margin-right: 0.0625rem;\n    border-radius: 0; }\n  .ngx-pagination li {\n    display: inline-block; }\n  .ngx-pagination a,\n  .ngx-pagination button {\n    color: #0a0a0a; \n    display: block;\n    padding: 0.1875rem 0.625rem;\n    border-radius: 0; }\n    .ngx-pagination a:hover,\n    .ngx-pagination button:hover {\n      background: #e6e6e6; }\n  .ngx-pagination .current {\n    padding: 0.1875rem 0.625rem;\n    background: #2199e8;\n    color: #fefefe;\n    cursor: default; }\n  .ngx-pagination .disabled {\n    padding: 0.1875rem 0.625rem;\n    color: #cacaca;\n    cursor: default; } \n    .ngx-pagination .disabled:hover {\n      background: transparent; }\n  .ngx-pagination a, .ngx-pagination button {\n    cursor: pointer; }\n\n.ngx-pagination .pagination-previous a::before,\n.ngx-pagination .pagination-previous.disabled::before { \n  content: '\xab';\n  display: inline-block;\n  margin-right: 0.5rem; }\n\n.ngx-pagination .pagination-next a::after,\n.ngx-pagination .pagination-next.disabled::after {\n  content: '\xbb';\n  display: inline-block;\n  margin-left: 0.5rem; }\n\n.ngx-pagination .show-for-sr {\n  position: absolute !important;\n  width: 1px;\n  height: 1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0); }\n.ngx-pagination .small-screen {\n  display: none; }\n@media screen and (max-width: 601px) {\n  .ngx-pagination.responsive .small-screen {\n    display: inline-block; } \n  .ngx-pagination.responsive li:not(.small-screen):not(.pagination-previous):not(.pagination-next) {\n    display: none; }\n}\n  "],encapsulation:2,changeDetection:0}),ze}(),pe=function(ze,ke,oe,pt){var En,zt=arguments.length,Dt=zt<3?ke:null===pt?pt=Object.getOwnPropertyDescriptor(ke,oe):pt;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Dt=Reflect.decorate(ze,ke,oe,pt);else for(var ci=ze.length-1;ci>=0;ci--)(En=ze[ci])&&(Dt=(zt<3?En(Dt):zt>3?En(ke,oe,Dt):En(ke,oe))||Dt);return zt>3&&Dt&&Object.defineProperty(ke,oe,Dt),Dt},Ae=function(ze,ke){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ze,ke)},Se=function(){function ze(ke,oe){var pt=this;this.service=ke,this.changeDetectorRef=oe,this.maxSize=7,this.pageChange=new i.vpe,this.pageBoundsCorrection=new i.vpe,this.pages=[],this.changeSub=this.service.change.subscribe(function(zt){pt.id===zt&&(pt.updatePageLinks(),pt.changeDetectorRef.markForCheck(),pt.changeDetectorRef.detectChanges())})}return ze.prototype.ngOnInit=function(){void 0===this.id&&(this.id=this.service.defaultId()),this.updatePageLinks()},ze.prototype.ngOnChanges=function(ke){this.updatePageLinks()},ze.prototype.ngOnDestroy=function(){this.changeSub.unsubscribe()},ze.prototype.previous=function(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)},ze.prototype.next=function(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)},ze.prototype.isFirstPage=function(){return 1===this.getCurrent()},ze.prototype.isLastPage=function(){return this.getLastPage()===this.getCurrent()},ze.prototype.setCurrent=function(ke){this.pageChange.emit(ke)},ze.prototype.getCurrent=function(){return this.service.getCurrentPage(this.id)},ze.prototype.getLastPage=function(){var ke=this.service.getInstance(this.id);return ke.totalItems<1?1:Math.ceil(ke.totalItems/ke.itemsPerPage)},ze.prototype.getTotalItems=function(){return this.service.getInstance(this.id).totalItems},ze.prototype.checkValidId=function(){null==this.service.getInstance(this.id).id&&console.warn('PaginationControlsDirective: the specified id "'+this.id+'" does not match any registered PaginationInstance')},ze.prototype.updatePageLinks=function(){var ke=this,oe=this.service.getInstance(this.id),pt=this.outOfBoundCorrection(oe);pt!==oe.currentPage?setTimeout(function(){ke.pageBoundsCorrection.emit(pt),ke.pages=ke.createPageArray(oe.currentPage,oe.itemsPerPage,oe.totalItems,ke.maxSize)}):this.pages=this.createPageArray(oe.currentPage,oe.itemsPerPage,oe.totalItems,this.maxSize)},ze.prototype.outOfBoundCorrection=function(ke){var oe=Math.ceil(ke.totalItems/ke.itemsPerPage);return oe<ke.currentPage&&0<oe?oe:ke.currentPage<1?1:ke.currentPage},ze.prototype.createPageArray=function(ke,oe,pt,zt){zt=+zt;for(var Dt=[],En=Math.max(Math.ceil(pt/oe),1),ci=Math.ceil(zt/2),Ei=ke<=ci,xr=En-ci<ke,ft=!Ei&&!xr,ye=zt<En,Xe=1;Xe<=En&&Xe<=zt;){var tn=void 0,hi=this.calculatePageNumber(Xe,ke,zt,En);tn=ye&&(2===Xe&&(ft||xr)||Xe===zt-1&&(ft||Ei))?"...":hi,Dt.push({label:tn,value:hi}),Xe++}return Dt},ze.prototype.calculatePageNumber=function(ke,oe,pt,zt){var Dt=Math.ceil(pt/2);return ke===pt?zt:1===ke?ke:pt<zt?zt-Dt<oe?zt-pt+ke:Dt<oe?oe-Dt+ke:ke:ke},pe([(0,i.IIB)(),Ae("design:type",String)],ze.prototype,"id",void 0),pe([(0,i.IIB)(),Ae("design:type",Number)],ze.prototype,"maxSize",void 0),pe([(0,i.r_U)(),Ae("design:type",i.vpe)],ze.prototype,"pageChange",void 0),pe([(0,i.r_U)(),Ae("design:type",i.vpe)],ze.prototype,"pageBoundsCorrection",void 0),(ze=pe([Ae("design:paramtypes",[z,i.sBO])],ze)).\u0275fac=function(oe){return new(oe||ze)(i.Y36(z),i.Y36(i.sBO))},ze.\u0275dir=i.lG2({type:ze,selectors:[["pagination-template"],["","pagination-template",""]],inputs:{maxSize:"maxSize",id:"id"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},exportAs:["paginationApi"],features:[i.TTD]}),ze}(),qe=function(){function ze(){}return ze.\u0275fac=function(oe){return new(oe||ze)},ze.\u0275mod=i.oAB({type:ze}),ze.\u0275inj=i.cJS({providers:[z],imports:[[n.ez]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(ze,{declarations:function(){return[E,re,Se]},imports:function(){return[n.ez]},exports:function(){return[E,re,Se]}}),ze}(),rt=B(24383),ot=B(92218),vt=B(11135),rn=B(80522),Xt=B(39045),fn=B(85921),_n=B(64398),hn=B(59151),vn=B(74808);const xn=["paginationDirective"],dn=["paginationRange"];function Sn(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"a",13),i.NdJ("keyup.enter",function(){return i.CHM(oe),i.oxw(2),i.MAs(3).previous()})("click",function(){return i.CHM(oe),i.oxw(2),i.MAs(3).previous()}),i._uU(1),i.TgZ(2,"span",14),i._uU(3),i.qZA()()}if(2&ze){const oe=i.oxw(2);i.uIk("aria-label",oe.previousLabel+" "+oe.screenReaderPageLabel),i.xp6(1),i.hij(" ",oe.previousLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function si(ze,ke){if(1&ze&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",14),i._uU(3),i.qZA()()),2&ze){const oe=i.oxw(2);i.xp6(1),i.hij(" ",oe.previousLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function cn(ze,ke){if(1&ze&&(i.TgZ(0,"li",10),i.YNc(1,Sn,4,3,"a",11),i.YNc(2,si,4,2,"span",12),i.qZA()),2&ze){i.oxw();const oe=i.MAs(3);i.ekj("disabled",oe.isFirstPage()),i.xp6(1),i.Q6J("ngIf",1<oe.getCurrent()),i.xp6(1),i.Q6J("ngIf",oe.isFirstPage())}}function yn(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"a",13),i.NdJ("keyup.enter",function(){i.CHM(oe);const zt=i.oxw().$implicit;return i.oxw(),i.MAs(3).setCurrent(zt.value)})("click",function(){i.CHM(oe);const zt=i.oxw().$implicit;return i.oxw(),i.MAs(3).setCurrent(zt.value)}),i.TgZ(1,"span",14),i._uU(2),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.qZA()()}if(2&ze){const oe=i.oxw().$implicit,pt=i.oxw();i.xp6(2),i.hij("",pt.screenReaderPageLabel," "),i.xp6(2),i.Oqu(oe.label)}}function qn(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"span",14),i._uU(2),i.qZA(),i.TgZ(3,"span"),i._uU(4),i.qZA(),i.BQk()),2&ze){const oe=i.oxw().$implicit,pt=i.oxw();i.xp6(2),i.hij("",pt.screenReaderCurrentLabel," "),i.xp6(2),i.Oqu(oe.label)}}function oi(ze,ke){if(1&ze&&(i.TgZ(0,"li"),i.YNc(1,yn,5,2,"a",11),i.YNc(2,qn,5,2,"ng-container",12),i.qZA()),2&ze){const oe=ke.$implicit;i.oxw();const pt=i.MAs(3);i.ekj("current",pt.getCurrent()===oe.value)("ellipsis","..."===oe.label),i.xp6(1),i.Q6J("ngIf",pt.getCurrent()!==oe.value),i.xp6(1),i.Q6J("ngIf",pt.getCurrent()===oe.value)}}function Yn(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"a",13),i.NdJ("keyup.enter",function(){return i.CHM(oe),i.oxw(2),i.MAs(3).next()})("click",function(){return i.CHM(oe),i.oxw(2),i.MAs(3).next()}),i._uU(1),i.TgZ(2,"span",14),i._uU(3),i.qZA()()}if(2&ze){const oe=i.oxw(2);i.uIk("aria-label",oe.nextLabel+" "+oe.screenReaderPageLabel),i.xp6(1),i.hij(" ",oe.nextLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function Xn(ze,ke){if(1&ze&&(i.TgZ(0,"span"),i._uU(1),i.TgZ(2,"span",14),i._uU(3),i.qZA()()),2&ze){const oe=i.oxw(2);i.xp6(1),i.hij(" ",oe.nextLabel," "),i.xp6(2),i.Oqu(oe.screenReaderPageLabel)}}function gi(ze,ke){if(1&ze&&(i.TgZ(0,"li",15),i.YNc(1,Yn,4,3,"a",11),i.YNc(2,Xn,4,2,"span",12),i.qZA()),2&ze){i.oxw();const oe=i.MAs(3);i.ekj("disabled",oe.isLastPage()),i.xp6(1),i.Q6J("ngIf",!oe.isLastPage()),i.xp6(1),i.Q6J("ngIf",oe.isLastPage())}}function Mt(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"li",25),i.NdJ("click",function(){const Dt=i.CHM(oe).$implicit;return i.oxw(3).changeLimit(Dt,!1)}),i.TgZ(1,"span"),i._uU(2),i.qZA()()}if(2&ze){const oe=ke.$implicit,pt=i.oxw(3);i.ekj("ngx-pagination-range--selected",oe===pt.selectedLimit),i.xp6(2),i.Oqu(oe)}}function pn(ze,ke){if(1&ze&&(i.TgZ(0,"ul",23),i.YNc(1,Mt,3,3,"li",24),i.qZA()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",oe.ranges)}}function an(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"div",16,17)(2,"div",18)(3,"div",19)(4,"div",20),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw();return zt.showRange=!zt.showRange}),i._uU(5),i._UZ(6,"i",21),i.qZA(),i.YNc(7,pn,2,1,"ul",22),i.qZA()()()}if(2&ze){const oe=i.oxw();i.ekj("ngx-table__table--dark-pagination-range","dark"===oe.config.tableLayout.theme),i.xp6(5),i.hij(" ",oe.selectedLimit," "),i.xp6(2),i.Q6J("ngIf",oe.showRange)}}const yt=["paginationComponent"],Je=["contextMenu"],ht=function(ze,ke){return{position:"absolute",top:ze,left:ke}},xt=function(ze){return{$implicit:ze}};function Ht(ze,ke){if(1&ze&&(i.TgZ(0,"ul",9),i.GkF(1,10),i.qZA()),2&ze){const oe=i.oxw(3);i.Q6J("ngStyle",i.WLB(3,ht,oe.rowContextMenuPosition.top,oe.rowContextMenuPosition.left)),i.xp6(1),i.Q6J("ngTemplateOutlet",oe.rowContextMenu)("ngTemplateOutletContext",i.VKq(6,xt,oe.rowContextMenuPosition.value))}}function $t(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"span",15),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw(2).index;return i.oxw(4).collapseRow(zt)}),i.qZA()}if(2&ze){const oe=i.oxw(2).index,pt=i.oxw(4);i.Q6J("ngClass",pt.isRowCollapsed(oe)?"ngx-icon-arrow-down":"ngx-icon-arrow-right")}}function Jt(ze,ke){if(1&ze&&(i.TgZ(0,"td"),i.YNc(1,$t,1,1,"span",14),i.qZA()),2&ze){const oe=i.oxw(5);i.xp6(1),i.Q6J("ngIf",oe.arrowDefinition)}}const lt=function(ze,ke){return{$implicit:ze,index:ke}};function Ft(ze,ke){if(1&ze&&(i.TgZ(0,"tr")(1,"td"),i.GkF(2,10),i.qZA()()),2&ze){const oe=i.oxw(),pt=oe.$implicit,zt=oe.index,Dt=i.oxw(4);i.xp6(1),i.uIk("colspan",Dt.columns.length+1),i.xp6(1),i.Q6J("ngTemplateOutlet",Dt.detailsTemplate)("ngTemplateOutletContext",i.WLB(3,lt,pt,zt))}}function ln(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"tr",12,13),i.NdJ("click",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onClick(zt,En,"",null,ci)})("contextmenu",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onRowContextMenu(zt,En,"",null,ci)})("dblclick",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onDoubleClick(zt,En,"",null,ci)}),i.GkF(3,10),i.YNc(4,Jt,2,1,"td",3),i.qZA(),i.YNc(5,Ft,3,6,"tr",3),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw(4);i.xp6(1),i.ekj("ngx-table__table-row--selected",pt===zt.selectedRow&&!zt.config.selectCell),i.xp6(2),i.Q6J("ngTemplateOutlet",zt.rowTemplate)("ngTemplateOutletContext",i.WLB(6,lt,oe,pt)),i.xp6(1),i.Q6J("ngIf",zt.config.detailsTemplate),i.xp6(1),i.Q6J("ngIf",zt.config.detailsTemplate&&zt.selectedDetailsTemplateRowId.has(pt)||zt.config.collapseAllRows)}}const Jn=function(ze,ke,oe,pt){return{itemsPerPage:ze,currentPage:ke,totalItems:oe,id:pt}};function Mn(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,ln,6,9,"ng-container",11),i.ALo(2,"paginate"),i.ALo(3,"global"),i.ALo(4,"search"),i.ALo(5,"sort"),i.BQk()),2&ze){const oe=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",i.xi3(2,1,i.Dn7(3,4,i.Dn7(4,8,i.xi3(5,12,oe.data,oe.sortBy),oe.term,oe.filteredCountSubject),oe.globalSearchTerm,oe.filteredCountSubject),i.l5B(15,Jn,oe.limit,oe.page,oe.count,oe.id)))}}function ti(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"span",15),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw(2).index;return i.oxw(4).collapseRow(zt)}),i.qZA()}if(2&ze){const oe=i.oxw(2).index,pt=i.oxw(4);i.Q6J("ngClass",pt.isRowCollapsed(oe)?"ngx-icon-arrow-down":"ngx-icon-arrow-right")}}function Ai(ze,ke){if(1&ze&&(i.TgZ(0,"td"),i.YNc(1,ti,1,1,"span",14),i.qZA()),2&ze){const oe=i.oxw(5);i.xp6(1),i.Q6J("ngIf",oe.arrowDefinition)}}function ki(ze,ke){if(1&ze&&(i.TgZ(0,"tr")(1,"td"),i.GkF(2,10),i.qZA()()),2&ze){const oe=i.oxw(),pt=oe.$implicit,zt=oe.index,Dt=i.oxw(4);i.xp6(1),i.uIk("colspan",Dt.columns.length+1),i.xp6(1),i.Q6J("ngTemplateOutlet",Dt.detailsTemplate)("ngTemplateOutletContext",i.WLB(3,lt,pt,zt))}}function Ki(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"tr",12,13),i.NdJ("click",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onClick(zt,En,"",null,ci)})("contextmenu",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onRowContextMenu(zt,En,"",null,ci)})("dblclick",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onDoubleClick(zt,En,"",null,ci)}),i.GkF(3,10),i.YNc(4,Ai,2,1,"td",3),i.qZA(),i.YNc(5,ki,3,6,"tr",3),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw(4);i.xp6(1),i.ekj("ngx-table__table-row--selected",pt===zt.selectedRow&&!zt.config.selectCell),i.xp6(2),i.Q6J("ngTemplateOutlet",zt.rowTemplate)("ngTemplateOutletContext",i.WLB(6,lt,oe,pt)),i.xp6(1),i.Q6J("ngIf",zt.config.detailsTemplate),i.xp6(1),i.Q6J("ngIf",zt.config.detailsTemplate&&zt.selectedDetailsTemplateRowId.has(pt)||zt.config.collapseAllRows)}}function Hi(ze,ke){if(1&ze&&(i.TgZ(0,"cdk-virtual-scroll-viewport",16),i.YNc(1,Ki,6,9,"ng-container",17),i.ALo(2,"global"),i.ALo(3,"search"),i.ALo(4,"sort"),i.qZA()),2&ze){const oe=i.oxw(3);i.xp6(1),i.Q6J("cdkVirtualForOf",i.Dn7(2,1,i.Dn7(3,5,i.xi3(4,9,oe.data,oe.sortBy),oe.term,oe.filteredCountSubject),oe.globalSearchTerm,oe.filteredCountSubject))}}function _i(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,Ht,2,8,"ul",7),i.YNc(2,Mn,6,20,"ng-container",3),i.YNc(3,Hi,5,12,"cdk-virtual-scroll-viewport",8),i.BQk()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngIf",oe.rowContextMenuPosition.top),i.xp6(1),i.Q6J("ngIf",!oe.config.infiniteScroll),i.xp6(1),i.Q6J("ngIf",oe.config.infiniteScroll)}}function pi(ze,ke){if(1&ze&&(i.TgZ(0,"ul",9),i.GkF(1,10),i.qZA()),2&ze){const oe=i.oxw(3);i.Q6J("ngStyle",i.WLB(3,ht,oe.rowContextMenuPosition.top,oe.rowContextMenuPosition.left)),i.xp6(1),i.Q6J("ngTemplateOutlet",oe.rowContextMenu)("ngTemplateOutletContext",i.VKq(6,xt,oe.rowContextMenuPosition.value))}}function $n(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label",18)(2,"input",19),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onCheckboxSelect(zt,En,ci)}),i.qZA(),i._UZ(3,"em",20),i.qZA()()}if(2&ze){const oe=i.oxw().index,pt=i.oxw(4);i.xp6(2),i.MGl("id","checkbox-",oe,""),i.Q6J("checked",pt.isSelected||pt.selectedCheckboxes.has(oe))}}function wr(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label")(2,"input",21),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onRadioSelect(zt,En,ci)}),i.qZA()()()}if(2&ze){const oe=i.oxw().index;i.xp6(2),i.MGl("id","radio-",oe,"")}}function Pn(ze,ke){if(1&ze&&(i.TgZ(0,"div"),i._uU(1),i.ALo(2,"render"),i.qZA()),2&ze){const oe=i.oxw().$implicit,pt=i.oxw().$implicit;i.xp6(1),i.Oqu(i.xi3(2,1,pt,oe.key))}}const Bn=function(ze,ke,oe){return{$implicit:ze,rowIndex:ke,column:oe}};function ri(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw().$implicit,pt=i.oxw(),zt=pt.$implicit,Dt=pt.index;i.Q6J("ngTemplateOutlet",oe.cellTemplate)("ngTemplateOutletContext",i.kEZ(2,Bn,zt,Dt,oe))}}function mi(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"td",22,13),i.NdJ("click",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onClick(zt,xr,En.key,ci,ft)})("contextmenu",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onRowContextMenu(zt,xr,En.key,ci,ft)})("dblclick",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onDoubleClick(zt,xr,En.key,ci,ft)}),i.YNc(3,Pn,3,4,"div",3),i.YNc(4,ri,1,6,"ng-container",23),i.qZA(),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw().index,Dt=i.oxw(4);i.xp6(1),i.Udp("left",Dt.styleService.pinnedWidth(oe.pinned,pt)),i.ekj("pinned-left",oe.pinned)("ngx-table__table-col--selected",pt===Dt.selectedCol&&!Dt.config.selectCell)("ngx-table__table-cell--selected",pt===Dt.selectedCol&&zt===Dt.selectedRow&&!Dt.config.selectCol&&!Dt.config.selectRow),i.Q6J("ngClass",oe.cssClass?oe.cssClass.name:""),i.xp6(2),i.Q6J("ngIf",!oe.cellTemplate),i.xp6(1),i.Q6J("ngIf",oe.cellTemplate)}}function xi(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"span",15),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw(2).index;return i.oxw(4).collapseRow(zt)}),i.qZA()}if(2&ze){const oe=i.oxw(2).index,pt=i.oxw(4);i.Q6J("ngClass",pt.isRowCollapsed(oe)?"ngx-icon-arrow-down":"ngx-icon-arrow-right")}}function Mr(ze,ke){if(1&ze&&(i.TgZ(0,"td"),i.YNc(1,xi,1,1,"span",14),i.qZA()),2&ze){const oe=i.oxw(5);i.xp6(1),i.Q6J("ngIf",oe.arrowDefinition)}}function gr(ze,ke){1&ze&&i._UZ(0,"td")}function Li(ze,ke){if(1&ze&&(i.TgZ(0,"tr"),i.YNc(1,gr,1,0,"td",3),i.TgZ(2,"td"),i.GkF(3,10),i.qZA()()),2&ze){const oe=i.oxw(),pt=oe.$implicit,zt=oe.index,Dt=i.oxw(4);i.xp6(1),i.Q6J("ngIf",Dt.config.checkboxes||Dt.config.radio),i.xp6(1),i.uIk("colspan",Dt.columns.length+1),i.xp6(1),i.Q6J("ngTemplateOutlet",Dt.detailsTemplate)("ngTemplateOutletContext",i.WLB(4,lt,pt,zt))}}function Sr(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"tr"),i.YNc(2,$n,4,2,"td",3),i.YNc(3,wr,3,1,"td",3),i.YNc(4,mi,5,11,"ng-container",11),i.YNc(5,Mr,2,1,"td",3),i.qZA(),i.YNc(6,Li,4,7,"tr",3),i.BQk()),2&ze){const oe=ke.index,pt=i.oxw(4);i.xp6(1),i.ekj("ngx-table__table-row--selected",oe===pt.selectedRow&&!pt.config.selectCell),i.xp6(1),i.Q6J("ngIf",pt.config.checkboxes),i.xp6(1),i.Q6J("ngIf",pt.config.radio),i.xp6(1),i.Q6J("ngForOf",pt.columns),i.xp6(1),i.Q6J("ngIf",pt.config.additionalActions||pt.config.detailsTemplate),i.xp6(1),i.Q6J("ngIf",pt.config.detailsTemplate&&pt.selectedDetailsTemplateRowId.has(oe)||pt.config.collapseAllRows)}}function br(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,Sr,7,7,"ng-container",11),i.ALo(2,"paginate"),i.ALo(3,"global"),i.ALo(4,"search"),i.ALo(5,"sort"),i.BQk()),2&ze){const oe=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",i.xi3(2,1,i.Dn7(3,4,i.Dn7(4,8,i.xi3(5,12,oe.data,oe.sortBy),oe.term,oe.filteredCountSubject),oe.globalSearchTerm,oe.filteredCountSubject),i.l5B(15,Jn,oe.limit,oe.page,oe.count,oe.id)))}}function Xr(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label",18)(2,"input",19),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onCheckboxSelect(zt,En,ci)}),i.qZA(),i._UZ(3,"em",20),i.qZA()()}if(2&ze){const oe=i.oxw().index,pt=i.oxw(4);i.xp6(2),i.MGl("id","checkbox-infinite-scroll-",oe,""),i.Q6J("checked",pt.isSelected||pt.selectedCheckboxes.has(oe))}}function uo(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label")(2,"input",21),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(4).onRadioSelect(zt,En,ci)}),i.qZA()()()}if(2&ze){const oe=i.oxw().index;i.xp6(2),i.MGl("id","radio-infinite-scroll-",oe,"")}}function fa(ze,ke){if(1&ze&&(i.TgZ(0,"div"),i._uU(1),i.ALo(2,"render"),i.qZA()),2&ze){const oe=i.oxw().$implicit,pt=i.oxw().$implicit;i.xp6(1),i.Oqu(i.xi3(2,1,pt,oe.key))}}function ai(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw().$implicit,pt=i.oxw(),zt=pt.$implicit,Dt=pt.index;i.Q6J("ngTemplateOutlet",oe.cellTemplate)("ngTemplateOutletContext",i.kEZ(2,Bn,zt,Dt,oe))}}function at(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"td",22,13),i.NdJ("click",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onClick(zt,xr,En.key,ci,ft)})("contextmenu",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onRowContextMenu(zt,xr,En.key,ci,ft)})("dblclick",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(4).onDoubleClick(zt,xr,En.key,ci,ft)}),i.YNc(3,fa,3,4,"div",3),i.YNc(4,ai,1,6,"ng-container",23),i.qZA(),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw().index,Dt=i.oxw(4);i.xp6(1),i.Udp("left",Dt.styleService.pinnedWidth(oe.pinned,pt)),i.ekj("pinned-left",oe.pinned)("ngx-table__table-col--selected",pt===Dt.selectedCol&&!Dt.config.selectCell)("ngx-table__table-cell--selected",pt===Dt.selectedCol&&zt===Dt.selectedRow&&!Dt.config.selectCol&&!Dt.config.selectRow),i.Q6J("ngClass",oe.cssClass?oe.cssClass.name:""),i.xp6(2),i.Q6J("ngIf",!oe.cellTemplate),i.xp6(1),i.Q6J("ngIf",oe.cellTemplate)}}function Ot(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"span",15),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw(2).index;return i.oxw(4).collapseRow(zt)}),i.qZA()}if(2&ze){const oe=i.oxw(2).index,pt=i.oxw(4);i.Q6J("ngClass",pt.isRowCollapsed(oe)?"ngx-icon-arrow-down":"ngx-icon-arrow-right")}}function Nn(ze,ke){if(1&ze&&(i.TgZ(0,"td"),i.YNc(1,Ot,1,1,"span",14),i.qZA()),2&ze){const oe=i.oxw(5);i.xp6(1),i.Q6J("ngIf",oe.arrowDefinition)}}function di(ze,ke){1&ze&&i._UZ(0,"td")}function $i(ze,ke){if(1&ze&&(i.TgZ(0,"tr"),i.YNc(1,di,1,0,"td",3),i.TgZ(2,"td"),i.GkF(3,10),i.qZA()()),2&ze){const oe=i.oxw(),pt=oe.$implicit,zt=oe.index,Dt=i.oxw(4);i.xp6(1),i.Q6J("ngIf",Dt.config.checkboxes||Dt.config.radio),i.xp6(1),i.uIk("colspan",Dt.columns.length+1),i.xp6(1),i.Q6J("ngTemplateOutlet",Dt.detailsTemplate)("ngTemplateOutletContext",i.WLB(4,lt,pt,zt))}}function Fi(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"tr"),i.YNc(2,Xr,4,2,"td",3),i.YNc(3,uo,3,1,"td",3),i.YNc(4,at,5,11,"ng-container",11),i.YNc(5,Nn,2,1,"td",3),i.qZA(),i.YNc(6,$i,4,7,"tr",3),i.BQk()),2&ze){const oe=ke.index,pt=i.oxw(4);i.xp6(1),i.ekj("ngx-table__table-row--selected",oe===pt.selectedRow&&!pt.config.selectCell),i.xp6(1),i.Q6J("ngIf",pt.config.checkboxes),i.xp6(1),i.Q6J("ngIf",pt.config.radio),i.xp6(1),i.Q6J("ngForOf",pt.columns),i.xp6(1),i.Q6J("ngIf",pt.config.additionalActions||pt.config.detailsTemplate),i.xp6(1),i.Q6J("ngIf",pt.config.detailsTemplate&&pt.selectedDetailsTemplateRowId.has(oe)||pt.config.collapseAllRows)}}function Yr(ze,ke){if(1&ze&&(i.TgZ(0,"cdk-virtual-scroll-viewport",16),i.YNc(1,Fi,7,7,"ng-container",17),i.ALo(2,"global"),i.ALo(3,"search"),i.ALo(4,"sort"),i.qZA()),2&ze){const oe=i.oxw(3);i.xp6(1),i.Q6J("cdkVirtualForOf",i.Dn7(2,1,i.Dn7(3,5,i.xi3(4,9,oe.data,oe.sortBy),oe.term,oe.filteredCountSubject),oe.globalSearchTerm,oe.filteredCountSubject))}}function Mo(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,pi,2,8,"ul",7),i.YNc(2,br,6,20,"ng-container",3),i.YNc(3,Yr,5,12,"cdk-virtual-scroll-viewport",8),i.BQk()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngIf",oe.rowContextMenuPosition.top),i.xp6(1),i.Q6J("ngIf",!oe.config.infiniteScroll),i.xp6(1),i.Q6J("ngIf",oe.config.infiniteScroll)}}function Jr(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"td")(2,"div"),i._uU(3),i.qZA()(),i.BQk()),2&ze){const oe=i.oxw().$implicit,pt=i.oxw(3);i.xp6(1),i.uIk("colspan",pt.columns.length),i.xp6(2),i.AsE("",oe[0][pt.groupRowsBy]," (",oe.length,")")}}const Bi=function(ze,ke,oe,pt,zt){return{total:ze,key:ke,value:oe,group:pt,index:zt}};function ks(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw(),pt=oe.$implicit,zt=oe.index,Dt=i.oxw(3);i.Q6J("ngTemplateOutlet",Dt.groupRowsHeaderTemplate)("ngTemplateOutletContext",i.qbA(2,Bi,pt.length,Dt.groupRowsBy,pt[0]?pt[0][Dt.groupRowsBy]:"",pt,zt))}}function so(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"span",15),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw().index;return i.oxw(3).collapseRow(zt)}),i.qZA()}if(2&ze){const oe=i.oxw().index,pt=i.oxw(3);i.Q6J("ngClass",pt.isRowCollapsed(oe)?"ngx-icon-arrow-down":"ngx-icon-arrow-right")}}function Qo(ze,ke){if(1&ze&&(i.TgZ(0,"td"),i._uU(1),i.ALo(2,"render"),i.qZA()),2&ze){const oe=ke.$implicit,pt=i.oxw().$implicit;i.xp6(1),i.hij(" ",i.xi3(2,1,pt,oe.key)," ")}}function mr(ze,ke){if(1&ze&&(i.TgZ(0,"tr"),i.YNc(1,Qo,3,4,"td",11),i._UZ(2,"td"),i.qZA()),2&ze){const oe=i.oxw(5);i.xp6(1),i.Q6J("ngForOf",oe.columns)}}function Ti(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,mr,3,1,"tr",11),i.BQk()),2&ze){const oe=i.oxw().$implicit;i.xp6(1),i.Q6J("ngForOf",oe)}}function Cr(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"tr"),i.YNc(2,Jr,4,3,"ng-container",3),i.YNc(3,ks,1,8,"ng-container",23),i.TgZ(4,"td"),i.YNc(5,so,1,1,"span",14),i.qZA()(),i.YNc(6,Ti,2,1,"ng-container",3),i.BQk()),2&ze){const oe=ke.index,pt=i.oxw(3);i.xp6(2),i.Q6J("ngIf",!pt.groupRowsHeaderTemplate),i.xp6(1),i.Q6J("ngIf",pt.groupRowsHeaderTemplate),i.xp6(2),i.Q6J("ngIf",pt.arrowDefinition),i.xp6(1),i.Q6J("ngIf",pt.selectedDetailsTemplateRowId.has(oe))}}function Vi(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,Cr,7,4,"ng-container",11),i.ALo(2,"paginate"),i.ALo(3,"global"),i.ALo(4,"search"),i.ALo(5,"sort"),i.BQk()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",i.xi3(2,1,i.Dn7(3,4,i.gM2(4,8,i.Dn7(5,13,oe.grouped,oe.sortBy,oe.config),oe.term,oe.filteredCountSubject,oe.config),oe.globalSearchTerm,oe.filteredCountSubject),i.l5B(17,Jn,oe.limit,oe.page,oe.count,oe.id)))}}function To(ze,ke){if(1&ze&&(i.TgZ(0,"tbody"),i.YNc(1,_i,4,3,"ng-container",3),i.YNc(2,Mo,4,3,"ng-container",3),i.YNc(3,Vi,6,22,"ng-container",3),i.qZA()),2&ze){const oe=i.oxw();i.xp6(1),i.Q6J("ngIf",oe.rowTemplate),i.xp6(1),i.Q6J("ngIf",!oe.rowTemplate&&!oe.config.groupRows),i.xp6(1),i.Q6J("ngIf",!oe.rowTemplate&&oe.config.groupRows)}}function qr(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label",18)(2,"input",19),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(3).onCheckboxSelect(zt,En,ci)}),i.qZA(),i._UZ(3,"em",20),i.qZA()()}if(2&ze){const oe=i.oxw().index,pt=i.oxw(3);i.xp6(2),i.MGl("id","checkbox-draggable-",oe,""),i.Q6J("checked",pt.isSelected||pt.selectedCheckboxes.has(oe))}}function _o(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"td")(1,"label")(2,"input",21),i.NdJ("change",function(zt){i.CHM(oe);const Dt=i.oxw(),En=Dt.$implicit,ci=Dt.index;return i.oxw(3).onRadioSelect(zt,En,ci)}),i.qZA()()()}if(2&ze){const oe=i.oxw().index;i.xp6(2),i.MGl("id","radio-draggable-",oe,"")}}function jo(ze,ke){if(1&ze&&(i.TgZ(0,"div"),i._uU(1),i.ALo(2,"render"),i.qZA()),2&ze){const oe=i.oxw().$implicit,pt=i.oxw().$implicit;i.xp6(1),i.Oqu(i.xi3(2,1,pt,oe.key))}}function Do(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw().$implicit,pt=i.oxw(),zt=pt.$implicit,Dt=pt.index;i.Q6J("ngTemplateOutlet",oe.cellTemplate)("ngTemplateOutletContext",i.kEZ(2,Bn,zt,Dt,oe))}}function gs(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"td",26),i.NdJ("click",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(3).onClick(zt,xr,En.key,ci,ft)})("dblclick",function(zt){const Dt=i.CHM(oe),En=Dt.$implicit,ci=Dt.index,Ei=i.oxw(),xr=Ei.$implicit,ft=Ei.index;return i.oxw(3).onDoubleClick(zt,xr,En.key,ci,ft)}),i.YNc(2,jo,3,4,"div",3),i.YNc(3,Do,1,6,"ng-container",23),i.qZA(),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw().index,Dt=i.oxw(3);i.xp6(1),i.ekj("ngx-table__table-col--selected",pt===Dt.selectedCol&&!Dt.config.selectCell)("ngx-table__table-cell--selected",pt===Dt.selectedCol&&zt===Dt.selectedRow&&!Dt.config.selectCol&&!Dt.config.selectRow),i.xp6(1),i.Q6J("ngIf",!oe.cellTemplate),i.xp6(1),i.Q6J("ngIf",oe.cellTemplate)}}function Ho(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"tr",25),i.YNc(2,qr,4,2,"td",3),i.YNc(3,_o,3,1,"td",3),i.YNc(4,gs,4,6,"ng-container",11),i.qZA(),i.BQk()),2&ze){const oe=i.oxw(3);i.xp6(2),i.Q6J("ngIf",oe.config.checkboxes),i.xp6(1),i.Q6J("ngIf",oe.config.radio),i.xp6(1),i.Q6J("ngForOf",oe.columns)}}function Dr(ze,ke){if(1&ze&&(i.ynx(0),i.YNc(1,Ho,5,3,"ng-container",11),i.ALo(2,"paginate"),i.ALo(3,"global"),i.ALo(4,"search"),i.ALo(5,"sort"),i.BQk()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngForOf",i.xi3(2,1,i.Dn7(3,4,i.Dn7(4,8,i.xi3(5,12,oe.data,oe.sortBy),oe.term,oe.filteredCountSubject),oe.globalSearchTerm,oe.filteredCountSubject),i.l5B(15,Jn,oe.limit,oe.page,oe.count,oe.id)))}}function Os(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"tbody",24),i.NdJ("cdkDropListDropped",function(zt){return i.CHM(oe),i.oxw().onDrop(zt)}),i.YNc(1,Dr,6,20,"ng-container",3),i.qZA()}if(2&ze){const oe=i.oxw();i.xp6(1),i.Q6J("ngIf",!oe.rowTemplate&&!oe.config.groupRows)}}function cs(ze,ke){if(1&ze&&i.GkF(0,29),2&ze){const oe=i.oxw(2);i.Q6J("ngTemplateOutlet",oe.noResultsTemplate)}}function li(ze,ke){if(1&ze&&(i.TgZ(0,"td")(1,"div",30),i._uU(2,"No results"),i.qZA()()),2&ze){const oe=i.oxw(2);i.uIk("colspan",oe.columns&&oe.columns.length+1)}}function Qr(ze,ke){if(1&ze&&(i.TgZ(0,"tbody")(1,"tr",27),i.YNc(2,cs,1,1,"ng-container",28),i.YNc(3,li,3,1,"td",3),i.qZA()()),2&ze){const oe=i.oxw();i.xp6(2),i.Q6J("ngIf",oe.noResultsTemplate),i.xp6(1),i.Q6J("ngIf",!oe.noResultsTemplate)}}function ao(ze,ke){if(1&ze&&i.GkF(0,29),2&ze){const oe=i.oxw(2);i.Q6J("ngTemplateOutlet",oe.loadingTemplate)}}function ys(ze,ke){if(1&ze&&(i.TgZ(0,"td")(1,"div",32),i._UZ(2,"div",33),i.qZA()()),2&ze){const oe=i.oxw(2);i.uIk("colspan",oe.columns&&oe.columns.length+1),i.xp6(1),i.Udp("height",oe.loadingHeight,"px")}}function _a(ze,ke){if(1&ze&&(i.TgZ(0,"tbody")(1,"tr",31),i.YNc(2,ao,1,1,"ng-container",28),i.YNc(3,ys,3,3,"td",3),i.qZA()()),2&ze){const oe=i.oxw();i.xp6(2),i.Q6J("ngIf",oe.loadingTemplate),i.xp6(1),i.Q6J("ngIf",!oe.loadingTemplate)}}const Ps=function(ze,ke,oe){return{total:ze,limit:ke,page:oe}};function ji(ze,ke){if(1&ze&&(i.TgZ(0,"tfoot")(1,"tr"),i.GkF(2,10),i.qZA()()),2&ze){const oe=i.oxw();i.xp6(2),i.Q6J("ngTemplateOutlet",oe.summaryTemplate)("ngTemplateOutletContext",i.kEZ(2,Ps,oe.data.length,oe.limit,oe.page))}}const So=["th"],Us=["additionalActionMenu"];function ho(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw(3);i.Q6J("ngTemplateOutlet",oe.selectAllTemplate)("ngTemplateOutletContext",i.VKq(2,xt,oe.onSelectAllBinded))}}function ra(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"label",11)(1,"input",12),i.NdJ("change",function(){return i.CHM(oe),i.oxw(3).onSelectAll()}),i.qZA(),i._UZ(2,"em",13),i.qZA()}}function zs(ze,ke){if(1&ze&&(i.TgZ(0,"th"),i.YNc(1,ho,1,4,"ng-container",8),i.YNc(2,ra,3,0,"label",9),i.qZA()),2&ze){const oe=i.oxw(2);i.Udp("width","3%"),i.xp6(1),i.Q6J("ngIf",oe.selectAllTemplate&&oe.config.checkboxes),i.xp6(1),i.Q6J("ngIf",!oe.selectAllTemplate&&oe.config.checkboxes)}}function bo(ze,ke){1&ze&&i._UZ(0,"em",23)}function yr(ze,ke){1&ze&&i._UZ(0,"em",24)}function yo(ze,ke){1&ze&&i._UZ(0,"em",25)}function Fo(ze,ke){if(1&ze&&(i.TgZ(0,"div",30),i.GkF(1,31),i.qZA()),2&ze){const oe=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",oe.headerActionTemplate)}}function Po(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"div",26)(1,"a",27),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw().$implicit;return i.oxw(2).showHeaderActionTemplateMenu(zt)}),i._UZ(2,"span",28),i.qZA(),i.YNc(3,Fo,2,1,"div",29),i.qZA()}if(2&ze){const oe=i.oxw().$implicit,pt=i.oxw(2);i.xp6(3),i.Q6J("ngIf",oe.key===pt.openedHeaderActionTemplate)}}function Or(ze,ke){1&ze&&i._UZ(0,"div",32)}function rs(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"th",14,15),i.NdJ("mousedown",function(zt){i.CHM(oe);const Dt=i.MAs(2);return i.oxw(2).onMouseDown(zt,Dt)})("mouseup",function(zt){return i.CHM(oe),i.oxw(2).onMouseUp(zt)})("mousemove",function(zt){return i.CHM(oe),i.oxw(2).onMouseMove(zt)}),i.TgZ(3,"div",16),i.NdJ("click",function(){const Dt=i.CHM(oe).$implicit;return i.oxw(2).orderBy(Dt)}),i.TgZ(4,"div",17),i._uU(5),i.TgZ(6,"span"),i._uU(7,"\xa0"),i.qZA(),i.YNc(8,bo,1,0,"em",18),i.TgZ(9,"div"),i.YNc(10,yr,1,0,"em",19),i.YNc(11,yo,1,0,"em",20),i.qZA()()(),i.YNc(12,Po,4,1,"div",21),i.YNc(13,Or,1,0,"div",22),i.qZA(),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=ke.last,Dt=i.oxw(2);i.xp6(1),i.Udp("left",Dt.styleService.pinnedWidth(oe.pinned,pt))("width",Dt.getColumnWidth(oe)),i.ekj("pinned-left",oe.pinned),i.Q6J("ngClass",oe.cssClass&&oe.cssClass.includeHeader?oe.cssClass.name:""),i.xp6(2),i.ekj("pointer",Dt.isOrderEnabled(oe)),i.xp6(2),i.hij(" ",oe.title,""),i.xp6(3),i.Q6J("ngIf",oe.pinned),i.xp6(1),i.Udp("display",Dt.config.orderEnabled?"inline":"none"),i.xp6(1),i.Q6J("ngIf",Dt.sortKey===oe.key&&"asc"===Dt.sortState.get(Dt.sortKey)),i.xp6(1),i.Q6J("ngIf",Dt.sortKey===oe.key&&"desc"===Dt.sortState.get(Dt.sortKey)),i.xp6(1),i.Q6J("ngIf",!!oe.headerActionTemplate),i.xp6(1),i.Q6J("ngIf",Dt.config.resizeColumn&&!zt)}}function Xo(ze,ke){if(1&ze&&i.GkF(0,31),2&ze){const oe=i.oxw(5);i.Q6J("ngTemplateOutlet",oe.additionalActionsTemplate)}}function ba(ze,ke){if(1&ze&&(i.TgZ(0,"ul",30),i.YNc(1,Xo,1,1,"ng-container",36),i.qZA()),2&ze){const oe=i.oxw(4);i.xp6(1),i.Q6J("ngIf",oe.additionalActionsTemplate)}}function xs(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"div",26,34)(2,"a",27),i.NdJ("click",function(){return i.CHM(oe),i.oxw(3).showMenu()}),i._UZ(3,"span",35),i.qZA(),i.YNc(4,ba,2,1,"ul",29),i.qZA()}if(2&ze){const oe=i.oxw(3);i.xp6(4),i.Q6J("ngIf",oe.menuActive)}}function Ws(ze,ke){if(1&ze&&(i.TgZ(0,"th",33),i.YNc(1,xs,5,1,"div",21),i.qZA()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngIf",oe.config.additionalActions)}}function aa(ze,ke){if(1&ze&&(i.TgZ(0,"tr",4),i.YNc(1,zs,3,4,"th",5),i.YNc(2,rs,14,17,"ng-container",6),i.YNc(3,Ws,2,1,"th",7),i.qZA()),2&ze){const oe=i.oxw();i.xp6(1),i.Q6J("ngIf",oe.config.checkboxes||oe.config.radio),i.xp6(1),i.Q6J("ngForOf",oe.columns),i.xp6(1),i.Q6J("ngIf",oe.config.additionalActions||oe.config.detailsTemplate||oe.config.collapseAllRows||oe.config.groupRows)}}function js(ze,ke){if(1&ze&&i.GkF(0,10),2&ze){const oe=i.oxw(3);i.Q6J("ngTemplateOutlet",oe.selectAllTemplate)("ngTemplateOutletContext",i.VKq(2,xt,oe.onSelectAllBinded))}}function Jo(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"label",11)(1,"input",38),i.NdJ("change",function(){return i.CHM(oe),i.oxw(3).onSelectAll()}),i.qZA(),i._UZ(2,"em",39),i.qZA()}}function Vo(ze,ke){if(1&ze&&(i.TgZ(0,"th"),i.YNc(1,js,1,4,"ng-container",8),i.YNc(2,Jo,3,0,"label",9),i.qZA()),2&ze){const oe=i.oxw(2);i.Udp("width","3%"),i.xp6(1),i.Q6J("ngIf",oe.selectAllTemplate&&oe.config.checkboxes),i.xp6(1),i.Q6J("ngIf",!oe.selectAllTemplate&&oe.config.checkboxes)}}function Io(ze,ke){1&ze&&i._UZ(0,"em",23)}function or(ze,ke){1&ze&&i._UZ(0,"em",24)}function q(ze,ke){1&ze&&i._UZ(0,"em",25)}function ne(ze,ke){if(1&ze&&(i.TgZ(0,"div",30),i.GkF(1,31),i.qZA()),2&ze){const oe=i.oxw(2).$implicit;i.xp6(1),i.Q6J("ngTemplateOutlet",oe.headerActionTemplate)}}function me(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"div",26)(1,"a",27),i.NdJ("click",function(){i.CHM(oe);const zt=i.oxw().$implicit;return i.oxw(2).showHeaderActionTemplateMenu(zt)}),i._UZ(2,"span",28),i.qZA(),i.YNc(3,ne,2,1,"div",29),i.qZA()}if(2&ze){const oe=i.oxw().$implicit,pt=i.oxw(2);i.xp6(3),i.Q6J("ngIf",oe.key===pt.openedHeaderActionTemplate)}}function Be(ze,ke){1&ze&&i._UZ(0,"div",32)}function et(ze,ke){if(1&ze){const oe=i.EpF();i.ynx(0),i.TgZ(1,"th",40,15),i.NdJ("mousedown",function(zt){i.CHM(oe);const Dt=i.MAs(2);return i.oxw(2).onMouseDown(zt,Dt)})("mouseup",function(zt){return i.CHM(oe),i.oxw(2).onMouseUp(zt)})("mousemove",function(zt){return i.CHM(oe),i.oxw(2).onMouseMove(zt)}),i.TgZ(3,"div",41),i.NdJ("click",function(){const Dt=i.CHM(oe).$implicit;return i.oxw(2).orderBy(Dt)}),i.TgZ(4,"div",17),i._uU(5),i.TgZ(6,"span"),i._uU(7,"\xa0"),i.qZA(),i.YNc(8,Io,1,0,"em",18),i.TgZ(9,"div"),i.YNc(10,or,1,0,"em",19),i.YNc(11,q,1,0,"em",20),i.qZA()()(),i.YNc(12,me,4,1,"div",21),i.YNc(13,Be,1,0,"div",22),i.qZA(),i.BQk()}if(2&ze){const oe=ke.$implicit,pt=ke.index,zt=ke.last,Dt=i.oxw(2);i.xp6(1),i.Udp("left",Dt.styleService.pinnedWidth(oe.pinned,pt))("width",Dt.getColumnWidth(oe)),i.ekj("pinned-left",oe.pinned),i.Q6J("ngClass",oe.cssClass&&oe.cssClass.includeHeader?oe.cssClass.name:""),i.xp6(2),i.ekj("pointer",Dt.isOrderEnabled(oe)),i.xp6(2),i.hij(" ",oe.title,""),i.xp6(3),i.Q6J("ngIf",oe.pinned),i.xp6(1),i.Udp("display",Dt.config.orderEnabled?"inline":"none"),i.xp6(1),i.Q6J("ngIf",Dt.sortKey===oe.key&&"asc"===Dt.sortState.get(Dt.sortKey)),i.xp6(1),i.Q6J("ngIf",Dt.sortKey===oe.key&&"desc"===Dt.sortState.get(Dt.sortKey)),i.xp6(1),i.Q6J("ngIf",!!oe.headerActionTemplate),i.xp6(1),i.Q6J("ngIf",Dt.config.resizeColumn&&!zt)}}function It(ze,ke){if(1&ze&&i.GkF(0,31),2&ze){const oe=i.oxw(5);i.Q6J("ngTemplateOutlet",oe.additionalActionsTemplate)}}function Ut(ze,ke){if(1&ze&&(i.TgZ(0,"ul",30),i.YNc(1,It,1,1,"ng-container",36),i.qZA()),2&ze){const oe=i.oxw(4);i.xp6(1),i.Q6J("ngIf",oe.additionalActionsTemplate)}}function Wt(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"div",26,34)(2,"a",27),i.NdJ("click",function(){return i.CHM(oe),i.oxw(3).showMenu()}),i._UZ(3,"span",35),i.qZA(),i.YNc(4,Ut,2,1,"ul",29),i.qZA()}if(2&ze){const oe=i.oxw(3);i.xp6(4),i.Q6J("ngIf",oe.menuActive)}}function Pt(ze,ke){if(1&ze&&(i.TgZ(0,"th",33),i.YNc(1,Wt,5,1,"div",21),i.qZA()),2&ze){const oe=i.oxw(2);i.xp6(1),i.Q6J("ngIf",oe.config.additionalActions)}}function Et(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"tr",37),i.NdJ("cdkDropListDropped",function(zt){return i.CHM(oe),i.oxw().columnDrop(zt)}),i.YNc(1,Vo,3,4,"th",5),i.YNc(2,et,14,17,"ng-container",6),i.YNc(3,Pt,2,1,"th",7),i.qZA()}if(2&ze){const oe=i.oxw();i.xp6(1),i.Q6J("ngIf",oe.config.checkboxes||oe.config.radio),i.xp6(1),i.Q6J("ngForOf",oe.columns),i.xp6(1),i.Q6J("ngIf",oe.config.additionalActions||oe.config.detailsTemplate||oe.config.collapseAllRows||oe.config.groupRows)}}function Dn(ze,ke){1&ze&&i._UZ(0,"th")}function Ln(ze,ke){if(1&ze){const oe=i.EpF();i.TgZ(0,"table-header",45),i.NdJ("update",function(zt){return i.CHM(oe),i.oxw(3).onSearch(zt)}),i.qZA()}if(2&ze){const oe=i.oxw().$implicit;i.Q6J("column",oe)}}function An(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"th",43),i.YNc(2,Ln,1,1,"table-header",44),i.qZA(),i.BQk()),2&ze){const oe=ke.$implicit,pt=ke.index,zt=i.oxw(2);i.xp6(1),i.Udp("left",zt.styleService.pinnedWidth(oe.pinned,pt)),i.ekj("pinned-left",oe.pinned),i.Q6J("ngClass",oe.cssClass&&oe.cssClass.includeHeader?oe.cssClass.name:""),i.xp6(1),i.Q6J("ngIf",zt.getColumnDefinition(oe))}}function Qn(ze,ke){1&ze&&i._UZ(0,"th")}function ui(ze,ke){if(1&ze&&(i.TgZ(0,"tr",42),i.YNc(1,Dn,1,0,"th",3),i.YNc(2,An,3,6,"ng-container",6),i.YNc(3,Qn,1,0,"th",3),i.qZA()),2&ze){const oe=i.oxw();i.xp6(1),i.Q6J("ngIf",oe.config.checkboxes||oe.config.radio),i.xp6(1),i.Q6J("ngForOf",oe.columns),i.xp6(1),i.Q6J("ngIf",oe.config.additionalActions||oe.config.detailsTemplate)}}function Ui(ze,ke){if(1&ze&&(i.ynx(0),i.TgZ(1,"tr"),i.GkF(2,31),i.qZA(),i.BQk()),2&ze){const oe=i.oxw();i.xp6(2),i.Q6J("ngTemplateOutlet",oe.filtersTemplate)}}var hr,ze,kr,Ri,Yi;(ze=hr||(hr={})).TINY="tiny",ze.BIG="big",ze.NORMAL="normal",function(ze){ze.LIGHT="light",ze.DARK="dark"}(kr||(kr={})),function(ze){ze.onPagination="onPagination",ze.onOrder="onOrder",ze.onGlobalSearch="onGlobalSearch",ze.onSearch="onSearch",ze.onClick="onClick",ze.onDoubleClick="onDoubleClick",ze.onCheckboxSelect="onCheckboxSelect",ze.onRadioSelect="onRadioSelect",ze.onCheckboxToggle="onCheckboxToggle",ze.onSelectAll="onSelectAll",ze.onInfiniteScrollEnd="onInfiniteScrollEnd",ze.onColumnResizeMouseDown="onColumnResizeMouseDown",ze.onColumnResizeMouseUp="onColumnResizeMouseUp",ze.onRowDrop="onRowDrop",ze.onRowCollapsedShow="onRowCollapsedShow",ze.onRowCollapsedHide="onRowCollapsedHide",ze.onRowContextMenu="onRowContextMenu"}(Ri||(Ri={})),function(ze){ze.rowContextMenuClicked="rowContextMenuClicked",ze.setInputValue="setInputValue",ze.toolPanelClicked="toolPanelClicked",ze.toggleRowIndex="toggleRowIndex",ze.toggleCheckbox="toggleCheckbox",ze.onGlobalSearch="onGlobalSearch",ze.setPaginationCurrentPage="setPaginationCurrentPage",ze.getPaginationCurrentPage="getPaginationCurrentPage",ze.getPaginationTotalItems="getPaginationTotalItems",ze.getNumberOfRowsPerPage="getNumberOfRowsPerPage",ze.getPaginationLastPage="getPaginationLastPage",ze.setPaginationRange="setPaginationRange",ze.setPaginationPreviousLabel="setPaginationPreviousLabel",ze.setPaginationNextLabel="setPaginationNextLabel",ze.setPaginationDisplayLimit="setPaginationDisplayLimit",ze.setTableClass="setTableClass",ze.setRowClass="setRowClass",ze.setCellClass="setCellClass",ze.setRowStyle="setRowStyle",ze.setCellStyle="setCellStyle",ze.sortBy="sortBy"}(Yi||(Yi={}));const In={searchEnabled:!1,headerEnabled:!0,orderEnabled:!0,orderEventOnly:!1,paginationEnabled:!0,exportEnabled:!1,clickEvent:!0,selectRow:!1,selectCol:!1,selectCell:!1,rows:10,additionalActions:!1,serverPagination:!1,isLoading:!1,detailsTemplate:!1,groupRows:!1,paginationRangeEnabled:!0,collapseAllRows:!1,checkboxes:!1,radio:!1,resizeColumn:!1,fixedColumnWidth:!0,horizontalScroll:!1,draggable:!1,logger:!1,showDetailsArrow:!1,showContextMenu:!1,persistState:!1,paginationMaxSize:5,threeWaySort:!1,tableLayout:{style:hr.NORMAL,theme:kr.LIGHT,borderless:!1,hover:!0,striped:!1}};class Pr{}Pr.\u0275fac=function(ke){return new(ke||Pr)},Pr.\u0275prov=i.Yz7({token:Pr,factory:Pr.\u0275fac}),Pr.config=In;class Ir{constructor(){this.updateRange=new i.vpe,this.ranges=[5,10,25,50,100],this.showRange=!1,this.screenReaderPaginationLabel="Pagination",this.screenReaderPageLabel="page",this.screenReaderCurrentLabel="You are on page",this.previousLabel="",this.nextLabel="",this.directionLinks=!0}onClick(ke){this.paginationRange&&!this.paginationRange.nativeElement.contains(ke)&&(this.showRange=!1)}ngOnChanges(ke){const{config:oe}=ke;oe&&oe.currentValue&&(this.selectedLimit=this.config.rows)}onPageChange(ke){this.updateRange.emit({page:ke,limit:this.selectedLimit})}changeLimit(ke,oe){oe||(this.showRange=!this.showRange),this.selectedLimit=ke,this.updateRange.emit({page:1,limit:ke})}}Ir.\u0275fac=function(ke){return new(ke||Ir)},Ir.\u0275cmp=i.Xpm({type:Ir,selectors:[["pagination"]],viewQuery:function(ke,oe){if(1&ke&&(i.Gf(xn,7),i.Gf(dn,5)),2&ke){let pt;i.iGM(pt=i.CRH())&&(oe.paginationDirective=pt.first),i.iGM(pt=i.CRH())&&(oe.paginationRange=pt.first)}},hostBindings:function(ke,oe){1&ke&&i.NdJ("click",function(zt){return oe.onClick(zt.target)},!1,i.evT)},inputs:{pagination:"pagination",config:"config",id:"id"},outputs:{updateRange:"updateRange"},features:[i.TTD],decls:11,vars:17,consts:[[1,"ngx-pagination-wrapper"],[1,"ngx-pagination-steps"],["id","pagination-controls",3,"id","maxSize","pageChange"],["paginationDirective","paginationApi"],["role","navigation",1,"ngx-pagination"],["class","pagination-previous",3,"disabled",4,"ngIf"],[1,"small-screen"],[3,"current","ellipsis",4,"ngFor","ngForOf"],["class","pagination-next",3,"disabled",4,"ngIf"],["class","ngx-pagination-range",3,"ngx-table__table--dark-pagination-range",4,"ngIf"],[1,"pagination-previous"],["tabindex","0",3,"keyup.enter","click",4,"ngIf"],[4,"ngIf"],["tabindex","0",3,"keyup.enter","click"],[1,"show-for-sr"],[1,"pagination-next"],[1,"ngx-pagination-range"],["paginationRange",""],["id","rowAmount",1,"ngx-dropdown","ngx-pagination-range-dropdown"],[1,"ngx-btn-group"],[1,"ngx-pagination-range-dropdown-button",3,"click"],[1,"ngx-icon","ngx-icon-arrow-down"],["class","ngx-menu",4,"ngIf"],[1,"ngx-menu"],["class","ngx-pagination-range-dropdown-button-item",3,"ngx-pagination-range--selected","click",4,"ngFor","ngForOf"],[1,"ngx-pagination-range-dropdown-button-item",3,"click"]],template:function(ke,oe){if(1&ke&&(i.TgZ(0,"div",0)(1,"div",1)(2,"pagination-template",2,3),i.NdJ("pageChange",function(zt){return oe.onPageChange(zt)}),i.TgZ(4,"ul",4),i.YNc(5,cn,3,4,"li",5),i.TgZ(6,"li",6),i._uU(7),i.qZA(),i.YNc(8,oi,3,6,"li",7),i.YNc(9,gi,3,4,"li",8),i.qZA()()(),i.YNc(10,an,8,4,"div",9),i.qZA()),2&ke){const pt=i.MAs(3);i.Udp("display",oe.config.paginationEnabled?"":"none"),i.ekj("ngx-table__table--dark-pagination-wrapper","dark"===oe.config.tableLayout.theme),i.xp6(2),i.ekj("ngx-table__table--dark-pagination","dark"===oe.config.tableLayout.theme),i.Q6J("id",oe.id)("maxSize",oe.config.paginationMaxSize||5),i.xp6(2),i.ekj("responsive",!0),i.uIk("aria-label",oe.screenReaderPaginationLabel),i.xp6(1),i.Q6J("ngIf",oe.directionLinks),i.xp6(2),i.AsE(" ",pt.getCurrent()," / ",pt.getLastPage()," "),i.xp6(1),i.Q6J("ngForOf",pt.pages),i.xp6(1),i.Q6J("ngIf",oe.directionLinks),i.xp6(1),i.Q6J("ngIf",oe.config.paginationRangeEnabled)}},directives:[Se,n.O5,n.sg],encapsulation:2,changeDetection:0}),Ir.propDecorators={paginationDirective:[{type:i.i9L,args:["paginationDirective",{static:!0}]}],paginationRange:[{type:i.i9L,args:["paginationRange"]}],pagination:[{type:i.IIB}],config:[{type:i.IIB}],id:[{type:i.IIB}],updateRange:[{type:i.r_U}],onClick:[{type:i.L6J,args:["document:click",["$event.target"]]}]};class ir{static doGroupRows(ke,oe){const pt=[];return(0,rt.D)(ke).pipe((0,vt.v)(zt=>zt[oe]),(0,rn.VS)(zt=>zt.pipe((0,Xt.u)((Dt,En)=>[...Dt,En],[])))).subscribe(zt=>pt.push(zt)),pt}}ir.\u0275fac=function(ke){return new(ke||ir)},ir.\u0275prov=i.Yz7({token:ir,factory:ir.\u0275fac});class ds{setRowClass(ke){const oe=`#table > tbody > tr:nth-child(${ke.row})`,pt=document.querySelector(oe);pt&&pt.classList.add(ke.className)}setCellClass(ke){const oe=`#table > tbody > tr:nth-child(${ke.row}) > td:nth-child(${ke.cell})`,pt=document.querySelector(oe);pt&&pt.classList.add(ke.className)}setRowStyle(ke){const oe=`#table > tbody > tr:nth-child(${ke.row})`,pt=document.querySelector(oe);pt&&(pt.style[ke.attr]=ke.value)}setCellStyle(ke){const oe=`#table > tbody > tr:nth-child(${ke.row}) > td:nth-child(${ke.cell})`,pt=document.querySelector(oe);pt&&(pt.style[ke.attr]=ke.value)}pinnedWidth(ke,oe){if(ke)return 150*oe+"px"}}ds.\u0275fac=function(ke){return new(ke||ds)},ds.\u0275prov=i.Yz7({token:ds,factory:ds.\u0275fac});class Go{constructor(ke,oe,pt){this.cdr=ke,this.scrollDispatcher=oe,this.styleService=pt,this.unsubscribe=new ot.xQ,this.filterCount=-1,this.filteredCountSubject=new ot.xQ,this.tableClass=null,this.grouped=[],this.isSelected=!1,this.page=1,this.count=0,this.sortState=new Map,this.sortKey=null,this.rowContextMenuPosition={top:null,left:null,value:null},this.sortBy={key:"",order:"asc"},this.selectedDetailsTemplateRowId=new Set,this.selectedCheckboxes=new Set,this.id="table",this.event=new i.vpe,this.filteredCountSubject.pipe((0,fn.R)(this.unsubscribe)).subscribe(zt=>{setTimeout(()=>{this.filterCount=zt,this.cdr.detectChanges()})})}onContextMenuClick(ke){this.contextMenu&&!this.contextMenu.nativeElement.contains(ke)&&(this.rowContextMenuPosition={top:null,left:null,value:null})}ngOnInit(){this.columns||console.error("[columns] property required!"),this.configuration?this.config=this.configuration:this.config=Pr.config,this.limit=this.config.rows,this.groupRowsBy&&(this.grouped=ir.doGroupRows(this.data,this.groupRowsBy)),this.doDecodePersistedState()}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}ngAfterViewInit(){const ke=this.config.infiniteScrollThrottleTime?this.config.infiniteScrollThrottleTime:200;this.scrollDispatcher.scrolled().pipe((0,fn.R)(this.unsubscribe),(0,_n.p)(ke),(0,hn.h)(oe=>!!oe&&this.viewPort&&this.viewPort.getRenderedRange().end===this.viewPort.getDataLength())).subscribe(()=>{this.emitEvent(Ri.onInfiniteScrollEnd,null)})}ngOnChanges(ke){const{configuration:oe,data:pt,pagination:zt,groupRowsBy:Dt}=ke;if(this.toggleRowIndex=ke.toggleRowIndex,oe&&oe.currentValue&&(this.config=oe.currentValue),pt&&pt.currentValue&&this.doApplyData(pt),zt&&zt.currentValue){const{count:En,limit:ci,offset:Ei}=zt.currentValue;this.count=En,this.limit=ci,this.page=Ei}if(Dt&&Dt.currentValue&&(this.grouped=ir.doGroupRows(this.data,this.groupRowsBy)),this.toggleRowIndex&&this.toggleRowIndex.currentValue){const En=this.toggleRowIndex.currentValue;this.collapseRow(En.index)}}orderBy(ke){if(void 0!==ke.orderEnabled&&!ke.orderEnabled||(this.sortKey=ke.key,!this.config.orderEnabled||""===this.sortKey))return;this.setColumnOrder(this.sortKey),this.config.orderEventOnly||ke.orderEventOnly?(this.sortBy.key="",this.sortBy.order=""):(this.sortBy.key=this.sortKey,this.sortBy.order=this.sortState.get(this.sortKey)),this.config.serverPagination||(this.data=[...this.data],this.sortBy=Object.assign({},this.sortBy));const oe={key:this.sortKey,order:this.sortState.get(this.sortKey)};this.emitEvent(Ri.onOrder,oe)}onClick(ke,oe,pt,zt,Dt){if(this.config.selectRow&&(this.selectedRow=Dt),this.config.selectCol&&zt&&(this.selectedCol=zt),this.config.selectCell&&zt&&(this.selectedRow=Dt,this.selectedCol=zt),this.config.clickEvent){const En={event:ke,row:oe,key:pt,rowId:Dt,colId:zt};this.emitEvent(Ri.onClick,En)}}onDoubleClick(ke,oe,pt,zt,Dt){const En={event:ke,row:oe,key:pt,rowId:Dt,colId:zt};this.emitEvent(Ri.onDoubleClick,En)}onCheckboxSelect(ke,oe,pt){const zt={event:ke,row:oe,rowId:pt};this.emitEvent(Ri.onCheckboxSelect,zt)}onRadioSelect(ke,oe,pt){const zt={event:ke,row:oe,rowId:pt};this.emitEvent(Ri.onRadioSelect,zt)}onSelectAll(){this.isSelected=!this.isSelected,this.emitEvent(Ri.onSelectAll,this.isSelected)}onSearch(ke){this.config.serverPagination||(this.term=ke),this.emitEvent(Ri.onSearch,ke)}onGlobalSearch(ke){this.config.serverPagination||(this.globalSearchTerm=ke),this.emitEvent(Ri.onGlobalSearch,ke)}onPagination(ke){this.page=ke.page,this.limit=ke.limit,this.emitEvent(Ri.onPagination,ke)}toggleCheckbox(ke){this.selectedCheckboxes.has(ke)?this.selectedCheckboxes.delete(ke):this.selectedCheckboxes.add(ke)}collapseRow(ke){this.selectedDetailsTemplateRowId.has(ke)?(this.selectedDetailsTemplateRowId.delete(ke),this.emitEvent(Ri.onRowCollapsedHide,ke)):(this.selectedDetailsTemplateRowId.add(ke),this.emitEvent(Ri.onRowCollapsedShow,ke))}doDecodePersistedState(){if(!this.config.persistState)return;const ke=localStorage.getItem(Ri.onPagination),oe=localStorage.getItem(Ri.onOrder),pt=localStorage.getItem(Ri.onSearch);if(ke&&this.onPagination(JSON.parse(ke)),oe){const{key:zt,order:Dt}=JSON.parse(oe);this.bindApi({type:Yi.sortBy,value:{column:zt,order:Dt}})}pt&&this.bindApi({type:Yi.setInputValue,value:JSON.parse(pt)})}isRowCollapsed(ke){return!!this.config.collapseAllRows||this.selectedDetailsTemplateRowId.has(ke)}get loadingHeight(){const ke=document.getElementById(this.id);if(ke&&ke.rows&&ke.rows.length>3){const oe=this.config.searchEnabled?1:0,pt=this.config.headerEnabled?1:0,zt=1,Dt=2;return(ke.rows.length-oe-pt)*(ke.rows[3].offsetHeight-zt)-Dt}return 30}get arrowDefinition(){return this.config.showDetailsArrow||void 0===this.config.showDetailsArrow}onRowContextMenu(ke,oe,pt,zt,Dt){if(!this.config.showContextMenu)return;ke.preventDefault();const En={event:ke,row:oe,key:pt,rowId:Dt,colId:zt};this.rowContextMenuPosition={top:ke.pageY-10+"px",left:ke.pageX-10+"px",value:En},this.emitEvent(Ri.onRowContextMenu,En)}doApplyData(ke){const oe=this.columns.find(pt=>!!pt.orderBy);oe?(this.sortState.set(this.sortKey,"asc"===oe.orderBy?"desc":"asc"),this.orderBy(oe)):this.data=[...ke.currentValue]}onDrop(ke){this.emitEvent(Ri.onRowDrop,ke),(0,P.bA)(this.data,ke.previousIndex,ke.currentIndex)}apiEvent(ke){return this.bindApi(ke)}bindApi(ke){switch(ke.type){case Yi.rowContextMenuClicked:this.rowContextMenuPosition={top:null,left:null,value:null};break;case Yi.toolPanelClicked:break;case Yi.toggleRowIndex:this.collapseRow(ke.value);break;case Yi.toggleCheckbox:this.toggleCheckbox(ke.value);break;case Yi.setInputValue:this.config.searchEnabled&&ke.value.forEach(pt=>{const zt=document.getElementById(`search_${pt.key}`);zt?zt.value=pt.value:console.error(`Column '${pt.key}' not available in the DOM. Have you misspelled a name?`)}),this.onSearch(ke.value),this.cdr.detectChanges();break;case Yi.onGlobalSearch:this.onGlobalSearch(ke.value),this.cdr.detectChanges();break;case Yi.setRowClass:if(Array.isArray(ke.value)){ke.value.forEach(pt=>this.styleService.setRowClass(pt));break}this.styleService.setRowClass(ke.value),this.cdr.detectChanges();break;case Yi.setCellClass:if(Array.isArray(ke.value)){ke.value.forEach(pt=>this.styleService.setCellClass(pt));break}this.styleService.setCellClass(ke.value);break;case Yi.setRowStyle:if(Array.isArray(ke.value)){ke.value.forEach(pt=>this.styleService.setRowStyle(pt));break}this.styleService.setRowStyle(ke.value);break;case Yi.setCellStyle:if(Array.isArray(ke.value)){ke.value.forEach(pt=>this.styleService.setCellStyle(pt));break}this.styleService.setCellStyle(ke.value);break;case Yi.setTableClass:this.tableClass=ke.value,this.cdr.detectChanges();break;case Yi.getPaginationTotalItems:return this.paginationComponent.paginationDirective.getTotalItems();case Yi.getPaginationCurrentPage:return this.paginationComponent.paginationDirective.getCurrent();case Yi.getPaginationLastPage:return this.paginationComponent.paginationDirective.getLastPage();case Yi.getNumberOfRowsPerPage:return this.paginationComponent.paginationDirective.isLastPage()?this.paginationComponent.paginationDirective.getTotalItems()%this.limit:this.limit;case Yi.setPaginationCurrentPage:this.paginationComponent.paginationDirective.setCurrent(ke.value);break;case Yi.setPaginationRange:this.paginationComponent.ranges=ke.value;break;case Yi.setPaginationPreviousLabel:this.paginationComponent.previousLabel=ke.value;break;case Yi.setPaginationNextLabel:this.paginationComponent.nextLabel=ke.value;break;case Yi.setPaginationDisplayLimit:this.paginationComponent.changeLimit(ke.value,!0);break;case Yi.sortBy:const oe={title:"",key:ke.value.column,orderBy:ke.value.order};this.orderBy(oe),this.cdr.detectChanges()}}setColumnOrder(ke){switch(this.sortState.get(ke)){case"":case void 0:this.sortState.set(ke,"desc");break;case"asc":this.config.threeWaySort?this.sortState.set(ke,""):this.sortState.set(ke,"desc");break;case"desc":this.sortState.set(ke,"asc")}if(this.sortState.size>1){const oe=this.sortState.get(ke);this.sortState.clear(),this.sortState.set(ke,oe)}}emitEvent(ke,oe){this.event.emit({event:ke,value:oe}),this.config.persistState&&localStorage.setItem(ke,JSON.stringify(oe)),this.config.logger&&console.log({event:ke,value:oe})}}Go.\u0275fac=function(ke){return new(ke||Go)(i.Y36(i.sBO),i.Y36(vn.mF),i.Y36(ds))},Go.\u0275cmp=i.Xpm({type:Go,selectors:[["ngx-table"]],contentQueries:function(ke,oe,pt){if(1&ke&&i.Suo(pt,i.Rgc,7),2&ke){let zt;i.iGM(zt=i.CRH())&&(oe.rowTemplate=zt.first)}},viewQuery:function(ke,oe){if(1&ke&&(i.Gf(yt,5),i.Gf(Je,5),i.Gf(vn.N7,5)),2&ke){let pt;i.iGM(pt=i.CRH())&&(oe.paginationComponent=pt.first),i.iGM(pt=i.CRH())&&(oe.contextMenu=pt.first),i.iGM(pt=i.CRH())&&(oe.viewPort=pt.first)}},hostBindings:function(ke,oe){1&ke&&i.NdJ("click",function(zt){return oe.onContextMenuClick(zt.target)},!1,i.evT)},inputs:{id:"id",toggleRowIndex:"toggleRowIndex",data:"data",configuration:"configuration",pagination:"pagination",groupRowsBy:"groupRowsBy",detailsTemplate:"detailsTemplate",summaryTemplate:"summaryTemplate",groupRowsHeaderTemplate:"groupRowsHeaderTemplate",filtersTemplate:"filtersTemplate",selectAllTemplate:"selectAllTemplate",noResultsTemplate:"noResultsTemplate",loadingTemplate:"loadingTemplate",additionalActionsTemplate:"additionalActionsTemplate",rowContextMenu:"rowContextMenu",columns:"columns"},outputs:{event:"event"},features:[i._Bn([Pr,ir,ds]),i.TTD],decls:10,vars:38,consts:[[1,"ngx-container"],[3,"id","ngClass"],["table-thead","",3,"config","sortKey","sortState","selectAllTemplate","filtersTemplate","additionalActionsTemplate","columns","selectAll","filter","order","event"],[4,"ngIf"],["class","ngx-draggable-row-area","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],[3,"id","config","pagination","updateRange"],["paginationComponent",""],["class","ngx-table__table-row-context-menu",3,"ngStyle",4,"ngIf"],["itemSize","50","class","ngx-infinite-scroll-viewport",4,"ngIf"],[1,"ngx-table__table-row-context-menu",3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngFor","ngForOf"],[3,"click","contextmenu","dblclick"],["contextMenu",""],["class","ngx-icon",3,"ngClass","click",4,"ngIf"],[1,"ngx-icon",3,"ngClass","click"],["itemSize","50",1,"ngx-infinite-scroll-viewport"],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"ngx-form-checkbox"],["type","checkbox",3,"id","checked","change"],[1,"ngx-form-icon"],["type","radio","name","radio",3,"id","change"],[3,"ngClass","click","contextmenu","dblclick"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["cdkDropList","",1,"ngx-draggable-row-area",3,"cdkDropListDropped"],["cdkDrag","","cdkDragLockAxis","y",1,"ngx-draggable-row"],[3,"click","dblclick"],[1,"ngx-table__body-empty"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ngx-table__table-no-results"],[1,"ngx-table__body-loading"],[1,"ngx-table__table-loader-wrapper"],[1,"ngx-table__table-loader"]],template:function(ke,oe){1&ke&&(i.TgZ(0,"div",0)(1,"table",1)(2,"thead",2),i.NdJ("selectAll",function(){return oe.onSelectAll()})("filter",function(zt){return oe.onSearch(zt)})("order",function(zt){return oe.orderBy(zt)})("event",function(zt){return oe.emitEvent(zt.event,zt.value)}),i.qZA(),i.YNc(3,To,4,3,"tbody",3),i.YNc(4,Os,2,1,"tbody",4),i.YNc(5,Qr,4,2,"tbody",3),i.YNc(6,_a,4,2,"tbody",3),i.YNc(7,ji,3,6,"tfoot",3),i.qZA(),i.TgZ(8,"pagination",5,6),i.NdJ("updateRange",function(zt){return oe.onPagination(zt)}),i.qZA()()),2&ke&&(i.ekj("ngx-container--dark","dark"===oe.config.tableLayout.theme),i.xp6(1),i.ekj("ngx-table__table--tiny","tiny"===oe.config.tableLayout.style)("ngx-table__table--normal","normal"===oe.config.tableLayout.style)("ngx-table__table--big","big"===oe.config.tableLayout.style)("ngx-table__table--borderless",oe.config.tableLayout.borderless)("ngx-table__table--dark","dark"===oe.config.tableLayout.theme)("ngx-table__table--hoverable",oe.config.tableLayout.hover)("ngx-table__table--striped",oe.config.tableLayout.striped)("ngx-table__horizontal-scroll",oe.config.horizontalScroll&&!oe.config.isLoading),i.Q6J("id",oe.id)("ngClass",null===oe.tableClass||""===oe.tableClass?"ngx-table":oe.tableClass),i.xp6(1),i.ekj("ngx-infinite-scroll-viewport-thead",oe.config.infiniteScroll),i.Q6J("config",oe.config)("sortKey",oe.sortKey)("sortState",oe.sortState)("selectAllTemplate",oe.selectAllTemplate)("filtersTemplate",oe.filtersTemplate)("additionalActionsTemplate",oe.additionalActionsTemplate)("columns",oe.columns),i.xp6(1),i.Q6J("ngIf",oe.data&&!oe.config.isLoading&&!oe.config.rowReorder),i.xp6(1),i.Q6J("ngIf",oe.data&&!oe.config.isLoading&&oe.config.rowReorder),i.xp6(1),i.Q6J("ngIf",0===oe.filterCount),i.xp6(1),i.Q6J("ngIf",oe.config.isLoading),i.xp6(1),i.Q6J("ngIf",oe.summaryTemplate),i.xp6(1),i.Q6J("id",oe.id)("config",oe.config)("pagination",oe.pagination),i.uIk("id","pagination"+oe.id))},directives:function(){return[n.mk,gt,n.O5,n.PC,n.tP,n.sg,vn.N7,vn.xd,vn.x0,P.Wj,P.Zt,Ir]},pipes:function(){return[E,zo,Qe,Oe,Rr]},encapsulation:2,changeDetection:0}),Go.ctorParameters=()=>[{type:i.sBO},{type:vn.mF},{type:ds}],Go.propDecorators={configuration:[{type:i.IIB}],data:[{type:i.IIB}],pagination:[{type:i.IIB}],groupRowsBy:[{type:i.IIB}],id:[{type:i.IIB}],toggleRowIndex:[{type:i.IIB}],detailsTemplate:[{type:i.IIB}],summaryTemplate:[{type:i.IIB}],groupRowsHeaderTemplate:[{type:i.IIB}],filtersTemplate:[{type:i.IIB}],selectAllTemplate:[{type:i.IIB}],noResultsTemplate:[{type:i.IIB}],loadingTemplate:[{type:i.IIB}],additionalActionsTemplate:[{type:i.IIB}],rowContextMenu:[{type:i.IIB}],columns:[{type:i.IIB}],event:[{type:i.r_U}],rowTemplate:[{type:i.aQ5,args:[i.Rgc,{static:!0}]}],paginationComponent:[{type:i.i9L,args:["paginationComponent"]}],contextMenu:[{type:i.i9L,args:["contextMenu"]}],viewPort:[{type:i.i9L,args:[vn.N7]}],onContextMenuClick:[{type:i.L6J,args:["document:click",["$event.target"]]}]};class ko{constructor(){this.update=new i.vpe}unifyKey(ke){return ke.replace(".","_")}onSearch(ke){this.update.emit([{value:ke.value,key:this.column.key}])}}ko.\u0275fac=function(ke){return new(ke||ko)},ko.\u0275cmp=i.Xpm({type:ko,selectors:[["table-header"]],inputs:{column:"column"},outputs:{update:"update"},decls:3,vars:3,consts:[[3,"for"],["type","text","aria-label","Search",1,"ngx-table__header-search",3,"id","placeholder","input"],["input",""]],template:function(ke,oe){if(1&ke){const pt=i.EpF();i.TgZ(0,"label",0)(1,"input",1,2),i.NdJ("input",function(){i.CHM(pt);const Dt=i.MAs(2);return oe.onSearch(Dt)}),i.qZA()()}2&ke&&(i.MGl("for","search_",oe.unifyKey(oe.column.key),""),i.xp6(1),i.MGl("id","search_",oe.unifyKey(oe.column.key),""),i.s9C("placeholder",oe.column.placeholder?oe.column.placeholder:oe.column.title))},encapsulation:2,changeDetection:0}),ko.propDecorators={column:[{type:i.IIB}],update:[{type:i.r_U}]};class zo{transform(ke,oe,pt){if(pt.next(0),void 0===ke)return;if(void 0===oe||0===Object.keys(oe).length||""===oe)return pt.next(ke.length),ke;const zt=ke.filter(Dt=>{const En=JSON.stringify(Object.values(Dt));return oe.split(",").some(Ei=>En.toLocaleLowerCase().indexOf(Ei.trim().toLocaleLowerCase())>-1)});return pt.next(zt.length),zt}}zo.\u0275fac=function(ke){return new(ke||zo)},zo.\u0275pipe=i.Yjl({name:"global",type:zo,pure:!0});class Cs{static getPath(ke,oe){return ke.reduce((zt,Dt)=>zt&&void 0!==zt[Dt]?zt[Dt]:null,oe)}}Cs.\u0275fac=function(ke){return new(ke||Cs)},Cs.\u0275prov=i.Yz7({token:Cs,factory:Cs.\u0275fac});class Rr{transform(ke,oe){const pt=oe.split(".");return Cs.getPath(pt,ke)}}Rr.\u0275fac=function(ke){return new(ke||Rr)},Rr.\u0275pipe=i.Yjl({name:"render",type:Rr,pure:!0});class Qe{constructor(){this.filters={}}transform(ke,oe,pt,zt){if(pt.next(0),void 0!==ke)return void 0===oe?(pt.next(ke.length),ke):(oe.forEach(Dt=>{this.filters[Dt.key]=Dt.value.toString().toLocaleLowerCase(),(0===Object.keys(Dt).length||""===Dt.value)&&delete this.filters[Dt.key]}),zt&&zt.groupRows?ke.map(Dt=>this.filterGroup(Dt,pt)):this.filterGroup(ke,pt))}filterGroup(ke,oe){const pt=ke.filter(zt=>Object.keys(this.filters).every(Dt=>{const En=Dt.split("."),ci=Cs.getPath(En,zt),Ei="object"==typeof ci?JSON.stringify(ci):ci.toString().toLocaleLowerCase();return this.filters[Dt].split(",").some(ft=>Ei.indexOf(ft.trim())>-1)}));return oe.next(pt.length),pt}}Qe.\u0275fac=function(ke){return new(ke||Qe)},Qe.\u0275pipe=i.Yjl({name:"search",type:Qe,pure:!0});class Oe{constructor(){this.defaultArray=[]}static isNaN(ke,oe){return isNaN(parseFloat(ke))||!isFinite(ke)||isNaN(parseFloat(oe))||!isFinite(oe)}static compare(ke,oe,pt){const zt=pt.split("."),Dt=Cs.getPath(zt,ke),En=Cs.getPath(zt,oe),ci=(Dt+"").toLowerCase(),Ei=(En+"").toLowerCase();return Oe.isNaN(Dt,En)?ci.localeCompare(Ei):parseFloat(Dt)<parseFloat(En)?-1:parseFloat(Dt)>parseFloat(En)?1:0}transform(ke,oe,pt){return 0===this.defaultArray.length&&(this.defaultArray=ke),oe.key&&""!==oe.key?""===oe.order?this.defaultArray:"asc"===oe.order?this.sortAsc(ke,oe,pt):this.sortDesc(ke,oe,pt):ke}sortAsc(ke,oe,pt){return pt&&pt.groupRows?ke.map(zt=>zt.sort((Dt,En)=>Oe.compare(Dt,En,oe.key))):ke.sort((zt,Dt)=>Oe.compare(zt,Dt,oe.key))}sortDesc(ke,oe,pt){return pt&&pt.groupRows?ke.map(zt=>zt.sort((Dt,En)=>Oe.compare(En,Dt,oe.key))):ke.sort((zt,Dt)=>Oe.compare(Dt,zt,oe.key))}}Oe.\u0275fac=function(ke){return new(ke||Oe)},Oe.\u0275pipe=i.Yjl({name:"sort",type:Oe,pure:!0});class gt{constructor(ke){this.styleService=ke,this.menuActive=!1,this.openedHeaderActionTemplate=null,this.onSelectAllBinded=this.onSelectAll.bind(this),this.filter=new i.vpe,this.order=new i.vpe,this.selectAll=new i.vpe,this.event=new i.vpe}onClick(ke){this.additionalActionMenu&&!this.additionalActionMenu.nativeElement.contains(ke)&&(this.menuActive=!1)}getColumnDefinition(ke){return ke.searchEnabled||void 0===ke.searchEnabled}orderBy(ke){this.order.emit(ke)}isOrderEnabled(ke){const oe=void 0===ke.orderEnabled||!!ke.orderEnabled;return this.config.orderEnabled&&oe}columnDrop(ke){(0,P.bA)(this.columns,ke.previousIndex,ke.currentIndex)}onSearch(ke){this.filter.emit(ke)}getColumnWidth(ke){return ke.width?ke.width:this.config.fixedColumnWidth?100/this.columns.length+"%":null}onSelectAll(){this.selectAll.emit()}onMouseDown(ke,oe){!this.config.resizeColumn||(this.th=oe,this.startOffset=oe.offsetWidth-ke.pageX,this.event.emit({event:Ri.onColumnResizeMouseDown,value:ke}))}onMouseMove(ke){!this.config.resizeColumn||this.th&&this.th.style&&(this.th.style.width=this.startOffset+ke.pageX+"px",this.th.style.cursor="col-resize",this.th.style["user-select"]="none")}onMouseUp(ke){!this.config.resizeColumn||(this.event.emit({event:Ri.onColumnResizeMouseUp,value:ke}),this.th.style.cursor="default",this.th=void 0)}showHeaderActionTemplateMenu(ke){ke.headerActionTemplate||console.error("Column [headerActionTemplate] property not defined"),this.openedHeaderActionTemplate!==ke.key?this.openedHeaderActionTemplate=ke.key:this.openedHeaderActionTemplate=null}showMenu(){this.additionalActionsTemplate||console.error("[additionalActionsTemplate] property not defined"),this.menuActive=!this.menuActive}}gt.\u0275fac=function(ke){return new(ke||gt)(i.Y36(ds))},gt.\u0275cmp=i.Xpm({type:gt,selectors:[["","table-thead",""]],viewQuery:function(ke,oe){if(1&ke&&(i.Gf(So,5),i.Gf(Us,5)),2&ke){let pt;i.iGM(pt=i.CRH())&&(oe.th=pt.first),i.iGM(pt=i.CRH())&&(oe.additionalActionMenu=pt.first)}},hostBindings:function(ke,oe){1&ke&&i.NdJ("click",function(zt){return oe.onClick(zt.target)},!1,i.evT)},inputs:{config:"config",columns:"columns",sortKey:"sortKey",sortState:"sortState",selectAllTemplate:"selectAllTemplate",filtersTemplate:"filtersTemplate",additionalActionsTemplate:"additionalActionsTemplate"},outputs:{filter:"filter",order:"order",selectAll:"selectAll",event:"event"},features:[i._Bn([ds])],attrs:["table-thead",""],decls:4,vars:4,consts:[["class","ngx-table__header",4,"ngIf"],["class","ngx-table__header ngx-table__header--draggable","cdkDropList","","cdkDropListOrientation","horizontal",3,"cdkDropListDropped",4,"ngIf"],["class","ngx-table__sort-header",4,"ngIf"],[4,"ngIf"],[1,"ngx-table__header"],[3,"width",4,"ngIf"],[4,"ngFor","ngForOf"],["class","ngx-table__header-cell-additional-actions",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],["class","ngx-form-checkbox","for","selectAllCheckboxes",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["for","selectAllCheckboxes",1,"ngx-form-checkbox"],["type","checkbox","id","selectAllCheckboxes",3,"change"],["id","selectAllCheckbox",1,"ngx-form-icon"],[1,"ngx-table__header-cell",3,"ngClass","mousedown","mouseup","mousemove"],["th",""],[2,"display","inline",3,"click"],[1,"ngx-table__header-title"],["class","ngx-icon ngx-icon-pin",4,"ngIf"],["class","ngx-icon ngx-icon-arrow-up",4,"ngIf"],["class","ngx-icon ngx-icon-arrow-down",4,"ngIf"],["class","ngx-dropdown",4,"ngIf"],["class","ngx-table__column-resizer",4,"ngIf"],[1,"ngx-icon","ngx-icon-pin"],[1,"ngx-icon","ngx-icon-arrow-up"],[1,"ngx-icon","ngx-icon-arrow-down"],[1,"ngx-dropdown"],[1,"ngx-btn","ngx-btn-link",3,"click"],[1,"ngx-icon","ngx-icon-more"],["class","ngx-menu ngx-table__table-menu",4,"ngIf"],[1,"ngx-menu","ngx-table__table-menu"],[3,"ngTemplateOutlet"],[1,"ngx-table__column-resizer"],[1,"ngx-table__header-cell-additional-actions"],["additionalActionMenu",""],[1,"ngx-icon","ngx-icon-menu"],[3,"ngTemplateOutlet",4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"ngx-table__header","ngx-table__header--draggable",3,"cdkDropListDropped"],["type","checkbox","id","selectAllCheckboxesDrag",3,"change"],["id","selectAllCheckboxDrag",1,"ngx-form-icon"],["cdkDragLockAxis","x","cdkDrag","",1,"ngx-table__header-cell","ngx-table__header-cell--draggable",3,"ngClass","mousedown","mouseup","mousemove"],["cdkDragHandle","",2,"display","inline",3,"click"],[1,"ngx-table__sort-header"],[3,"ngClass"],[3,"column","update",4,"ngIf"],[3,"column","update"]],template:function(ke,oe){1&ke&&(i.YNc(0,aa,4,3,"tr",0),i.YNc(1,Et,4,3,"tr",1),i.YNc(2,ui,4,3,"tr",2),i.YNc(3,Ui,3,1,"ng-container",3)),2&ke&&(i.Q6J("ngIf",oe.config.headerEnabled&&!oe.config.columnReorder),i.xp6(1),i.Q6J("ngIf",oe.config.headerEnabled&&oe.config.columnReorder),i.xp6(1),i.Q6J("ngIf",oe.config.searchEnabled&&!oe.filtersTemplate),i.xp6(1),i.Q6J("ngIf",oe.filtersTemplate))},directives:[n.O5,n.tP,n.sg,n.mk,P.Wj,P.Zt,P.Bh,ko],styles:[".cdk-drag-preview[_ngcontent-%COMP%] {\n        text-align: left;\n        padding-top: 9px;\n        padding-left: 4px;\n        color: #50596c;\n        border: 1px solid #e7e9ed;\n      }"],changeDetection:0}),gt.ctorParameters=()=>[{type:ds}],gt.propDecorators={config:[{type:i.IIB}],columns:[{type:i.IIB}],sortKey:[{type:i.IIB}],sortState:[{type:i.IIB}],selectAllTemplate:[{type:i.IIB}],filtersTemplate:[{type:i.IIB}],additionalActionsTemplate:[{type:i.IIB}],filter:[{type:i.r_U}],order:[{type:i.r_U}],selectAll:[{type:i.r_U}],event:[{type:i.r_U}],th:[{type:i.i9L,args:["th"]}],additionalActionMenu:[{type:i.i9L,args:["additionalActionMenu"]}],onClick:[{type:i.L6J,args:["document:click",["$event.target"]]}]};class Nt{}Nt.\u0275fac=function(ke){return new(ke||Nt)},Nt.\u0275mod=i.oAB({type:Nt}),Nt.\u0275inj=i.cJS({imports:[[n.ez,qe,P._t,vn.Cl]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(Nt,{declarations:function(){return[Go,ko,Ir,gt,Qe,Rr,zo,Oe]},imports:function(){return[n.ez,qe,P._t,vn.Cl]},exports:function(){return[Go]}});class Cn{}Cn.\u0275fac=function(ke){return new(ke||Cn)},Cn.\u0275mod=i.oAB({type:Cn}),Cn.\u0275inj=i.cJS({providers:[],imports:[[n.ez,Nt]]}),("undefined"==typeof ngJitMode||ngJitMode)&&i.kYT(Cn,{imports:function(){return[n.ez,Nt]},exports:function(){return[Go]}})},4229:de=>{"use strict";function $e(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}de.exports=function B(i){return(i=i||{}).circles?function n(i){var P=[],m=[];return i.proto?function h(v){if("object"!=typeof v||null===v)return v;if(v instanceof Date)return new Date(v);if(Array.isArray(v))return s(v,h);if(v instanceof Map)return new Map(s(Array.from(v),h));if(v instanceof Set)return new Set(s(Array.from(v),h));var y={};for(var x in P.push(v),m.push(y),v){var C=v[x];if("object"!=typeof C||null===C)y[x]=C;else if(C instanceof Date)y[x]=new Date(C);else if(C instanceof Map)y[x]=new Map(s(Array.from(C),h));else if(C instanceof Set)y[x]=new Set(s(Array.from(C),h));else if(ArrayBuffer.isView(C))y[x]=$e(C);else{var _=P.indexOf(C);y[x]=-1!==_?m[_]:h(C)}}return P.pop(),m.pop(),y}:function o(v){if("object"!=typeof v||null===v)return v;if(v instanceof Date)return new Date(v);if(Array.isArray(v))return s(v,o);if(v instanceof Map)return new Map(s(Array.from(v),o));if(v instanceof Set)return new Set(s(Array.from(v),o));var y={};for(var x in P.push(v),m.push(y),v)if(!1!==Object.hasOwnProperty.call(v,x)){var C=v[x];if("object"!=typeof C||null===C)y[x]=C;else if(C instanceof Date)y[x]=new Date(C);else if(C instanceof Map)y[x]=new Map(s(Array.from(C),o));else if(C instanceof Set)y[x]=new Set(s(Array.from(C),o));else if(ArrayBuffer.isView(C))y[x]=$e(C);else{var _=P.indexOf(C);y[x]=-1!==_?m[_]:o(C)}}return P.pop(),m.pop(),y};function s(v,y){for(var x=Object.keys(v),C=new Array(x.length),_=0;_<x.length;_++){var w=x[_],z=v[w];if("object"!=typeof z||null===z)C[w]=z;else if(z instanceof Date)C[w]=new Date(z);else if(ArrayBuffer.isView(z))C[w]=$e(z);else{var R=P.indexOf(z);C[w]=-1!==R?m[R]:y(z)}}return C}}(i):i.proto?function s(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return P(o,s);if(o instanceof Map)return new Map(P(Array.from(o),s));if(o instanceof Set)return new Set(P(Array.from(o),s));var h={};for(var v in o){var y=o[v];"object"!=typeof y||null===y?h[v]=y:y instanceof Date?h[v]=new Date(y):y instanceof Map?h[v]=new Map(P(Array.from(y),s)):y instanceof Set?h[v]=new Set(P(Array.from(y),s)):ArrayBuffer.isView(y)?h[v]=$e(y):h[v]=s(y)}return h}:function m(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return P(o,m);if(o instanceof Map)return new Map(P(Array.from(o),m));if(o instanceof Set)return new Set(P(Array.from(o),m));var h={};for(var v in o)if(!1!==Object.hasOwnProperty.call(o,v)){var y=o[v];"object"!=typeof y||null===y?h[v]=y:y instanceof Date?h[v]=new Date(y):y instanceof Map?h[v]=new Map(P(Array.from(y),m)):y instanceof Set?h[v]=new Set(P(Array.from(y),m)):ArrayBuffer.isView(y)?h[v]=$e(y):h[v]=m(y)}return h};function P(o,h){for(var v=Object.keys(o),y=new Array(v.length),x=0;x<v.length;x++){var C=v[x],_=o[C];"object"!=typeof _||null===_?y[C]=_:_ instanceof Date?y[C]=new Date(_):ArrayBuffer.isView(_)?y[C]=$e(_):y[C]=h(_)}return y}}},22782:(de,$e,B)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var n=B(93220),i=B(76145);n.Observable.prototype.filter=i.filter},85217:(de,$e,B)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var n=B(93220),i=B(59628);n.Observable.prototype.takeWhile=i.takeWhile},76145:(de,$e,B)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var n=B(12106);$e.filter=function i(P,m){return n.filter(P,m)(this)}},59628:(de,$e,B)=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var n=B(12106);$e.takeWhile=function i(P){return n.takeWhile(P)(this)}},93220:(de,$e,B)=>{"use strict";B.r($e),B.d($e,{ArgumentOutOfRangeError:()=>pe.W,AsyncSubject:()=>v.c,BehaviorSubject:()=>o.X,ConnectableObservable:()=>i.c,EMPTY:()=>qn.E,EmptyError:()=>Ae.K,GroupedObservable:()=>P.T,NEVER:()=>xt.C,Notification:()=>H.P,NotificationKind:()=>H.W,ObjectUnsubscribedError:()=>Se.N,Observable:()=>n.y,ReplaySubject:()=>h.t,Scheduler:()=>S.b,Subject:()=>s.xQ,Subscriber:()=>O.L,Subscription:()=>E.w,TimeoutError:()=>qe.W,UnsubscriptionError:()=>De.B,VirtualAction:()=>N,VirtualTimeScheduler:()=>R,animationFrame:()=>_.r,animationFrameScheduler:()=>_.Z,asap:()=>y.e,asapScheduler:()=>y.E,async:()=>x.P,asyncScheduler:()=>x.z,bindCallback:()=>Xt,bindNodeCallback:()=>vn,combineLatest:()=>si.aj,concat:()=>cn.z,config:()=>wr.v,defer:()=>yn.P,empty:()=>qn.c,forkJoin:()=>oi.D,from:()=>Yn.D,fromEvent:()=>Xn.R,fromEventPattern:()=>Mt,generate:()=>pn,identity:()=>W.y,iif:()=>yt,interval:()=>Je.F,isObservable:()=>re.b,merge:()=>ht.T,never:()=>xt.F,noop:()=>X.Z,observable:()=>m.L,of:()=>Ht.of,onErrorResumeNext:()=>$t,pairs:()=>Jt,partition:()=>Mn,pipe:()=>U.z,queue:()=>C.c,queueScheduler:()=>C.N,race:()=>ti.S3,range:()=>Ai,scheduled:()=>$n.x,throwError:()=>Ki._,timer:()=>Hi.H,using:()=>_i,zip:()=>pi.$R});var n=B(52822),i=B(64483),P=B(11135),m=B(36831),s=B(92218),o=B(84505),h=B(61555),v=B(77297),y=B(15064),x=B(10328),C=B(77122),_=B(58310),w=B(58881),z=B(52901);class R extends z.v{constructor(Bn=N,ri=Number.POSITIVE_INFINITY){super(Bn,()=>this.frame),this.maxFrames=ri,this.frame=0,this.index=-1}flush(){const{actions:Bn,maxFrames:ri}=this;let mi,xi;for(;(xi=Bn[0])&&xi.delay<=ri&&(Bn.shift(),this.frame=xi.delay,!(mi=xi.execute(xi.state,xi.delay))););if(mi){for(;xi=Bn.shift();)xi.unsubscribe();throw mi}}}R.frameTimeFactor=10;class N extends w.o{constructor(Bn,ri,mi=(Bn.index+=1)){super(Bn,ri),this.scheduler=Bn,this.work=ri,this.index=mi,this.active=!0,this.index=Bn.index=mi}schedule(Bn,ri=0){if(!this.id)return super.schedule(Bn,ri);this.active=!1;const mi=new N(this.scheduler,this.work);return this.add(mi),mi.schedule(Bn,ri)}requestAsyncId(Bn,ri,mi=0){this.delay=Bn.frame+mi;const{actions:xi}=Bn;return xi.push(this),xi.sort(N.sortActions),!0}recycleAsyncId(Bn,ri,mi=0){}_execute(Bn,ri){if(!0===this.active)return super._execute(Bn,ri)}static sortActions(Bn,ri){return Bn.delay===ri.delay?Bn.index===ri.index?0:Bn.index>ri.index?1:-1:Bn.delay>ri.delay?1:-1}}var S=B(71925),E=B(32425),O=B(60014),H=B(27928),U=B(36800),X=B(76882),W=B(1356),re=B(40020),pe=B(2846),Ae=B(90213),Se=B(89086),De=B(37875),qe=B(9906),rt=B(86942),ot=B(85739),vt=B(94327),rn=B(27507);function Xt(Pn,Bn,ri){if(Bn){if(!(0,rn.K)(Bn))return(...mi)=>Xt(Pn,ri)(...mi).pipe((0,rt.U)(xi=>(0,vt.k)(xi)?Bn(...xi):Bn(xi)));ri=Bn}return function(...mi){const xi=this;let Mr;const gr={context:xi,subject:Mr,callbackFunc:Pn,scheduler:ri};return new n.y(Li=>{if(ri){const Sr={args:mi,subscriber:Li,params:gr};return ri.schedule(fn,0,Sr)}if(!Mr){Mr=new v.c;const Sr=(...br)=>{Mr.next(br.length<=1?br[0]:br),Mr.complete()};try{Pn.apply(xi,[...mi,Sr])}catch(br){(0,ot._)(Mr)?Mr.error(br):console.warn(br)}}return Mr.subscribe(Li)})}}function fn(Pn){const{args:ri,subscriber:mi,params:xi}=Pn,{callbackFunc:Mr,context:gr,scheduler:Li}=xi;let{subject:Sr}=xi;if(!Sr){Sr=xi.subject=new v.c;const br=(...Xr)=>{const uo=Xr.length<=1?Xr[0]:Xr;this.add(Li.schedule(_n,0,{value:uo,subject:Sr}))};try{Mr.apply(gr,[...ri,br])}catch(Xr){Sr.error(Xr)}}this.add(Sr.subscribe(mi))}function _n(Pn){const{value:Bn,subject:ri}=Pn;ri.next(Bn),ri.complete()}function vn(Pn,Bn,ri){if(Bn){if(!(0,rn.K)(Bn))return(...mi)=>vn(Pn,ri)(...mi).pipe((0,rt.U)(xi=>(0,vt.k)(xi)?Bn(...xi):Bn(xi)));ri=Bn}return function(...mi){const xi={subject:void 0,args:mi,callbackFunc:Pn,scheduler:ri,context:this};return new n.y(Mr=>{const{context:gr}=xi;let{subject:Li}=xi;if(ri)return ri.schedule(xn,0,{params:xi,subscriber:Mr,context:gr});if(!Li){Li=xi.subject=new v.c;const Sr=(...br)=>{const Xr=br.shift();Xr?Li.error(Xr):(Li.next(br.length<=1?br[0]:br),Li.complete())};try{Pn.apply(gr,[...mi,Sr])}catch(br){(0,ot._)(Li)?Li.error(br):console.warn(br)}}return Li.subscribe(Mr)})}}function xn(Pn){const{params:Bn,subscriber:ri,context:mi}=Pn,{callbackFunc:xi,args:Mr,scheduler:gr}=Bn;let Li=Bn.subject;if(!Li){Li=Bn.subject=new v.c;const Sr=(...br)=>{const Xr=br.shift();if(Xr)this.add(gr.schedule(Sn,0,{err:Xr,subject:Li}));else{const uo=br.length<=1?br[0]:br;this.add(gr.schedule(dn,0,{value:uo,subject:Li}))}};try{xi.apply(mi,[...Mr,Sr])}catch(br){this.add(gr.schedule(Sn,0,{err:br,subject:Li}))}}this.add(Li.subscribe(ri))}function dn(Pn){const{value:Bn,subject:ri}=Pn;ri.next(Bn),ri.complete()}function Sn(Pn){const{err:Bn,subject:ri}=Pn;ri.error(Bn)}var si=B(19193),cn=B(55828),yn=B(1635),qn=B(26439),oi=B(54350),Yn=B(24383),Xn=B(36312),gi=B(51900);function Mt(Pn,Bn,ri){return ri?Mt(Pn,Bn).pipe((0,rt.U)(mi=>(0,vt.k)(mi)?ri(...mi):ri(mi))):new n.y(mi=>{const xi=(...gr)=>mi.next(1===gr.length?gr[0]:gr);let Mr;try{Mr=Pn(xi)}catch(gr){return void mi.error(gr)}if((0,gi.m)(Bn))return()=>Bn(xi,Mr)})}function pn(Pn,Bn,ri,mi,xi){let Mr,gr;if(1==arguments.length){const Li=Pn;gr=Li.initialState,Bn=Li.condition,ri=Li.iterate,Mr=Li.resultSelector||W.y,xi=Li.scheduler}else void 0===mi||(0,rn.K)(mi)?(gr=Pn,Mr=W.y,xi=mi):(gr=Pn,Mr=mi);return new n.y(Li=>{let Sr=gr;if(xi)return xi.schedule(an,0,{subscriber:Li,iterate:ri,condition:Bn,resultSelector:Mr,state:Sr});for(;;){if(Bn){let Xr;try{Xr=Bn(Sr)}catch(uo){return void Li.error(uo)}if(!Xr){Li.complete();break}}let br;try{br=Mr(Sr)}catch(Xr){return void Li.error(Xr)}if(Li.next(br),Li.closed)break;try{Sr=ri(Sr)}catch(Xr){return void Li.error(Xr)}}})}function an(Pn){const{subscriber:Bn,condition:ri}=Pn;if(Bn.closed)return;if(Pn.needIterate)try{Pn.state=Pn.iterate(Pn.state)}catch(xi){return void Bn.error(xi)}else Pn.needIterate=!0;if(ri){let xi;try{xi=ri(Pn.state)}catch(Mr){return void Bn.error(Mr)}if(!xi)return void Bn.complete();if(Bn.closed)return}let mi;try{mi=Pn.resultSelector(Pn.state)}catch(xi){return void Bn.error(xi)}return Bn.closed||(Bn.next(mi),Bn.closed)?void 0:this.schedule(Pn)}function yt(Pn,Bn=qn.E,ri=qn.E){return(0,yn.P)(()=>Pn()?Bn:ri)}var Je=B(13491),ht=B(88623),xt=B(48130),Ht=B(64139);function $t(...Pn){if(0===Pn.length)return qn.E;const[Bn,...ri]=Pn;return 1===Pn.length&&(0,vt.k)(Bn)?$t(...Bn):new n.y(mi=>{const xi=()=>mi.add($t(...ri).subscribe(mi));return(0,Yn.D)(Bn).subscribe({next(Mr){mi.next(Mr)},error:xi,complete:xi})})}function Jt(Pn,Bn){return Bn?new n.y(ri=>{const mi=Object.keys(Pn),xi=new E.w;return xi.add(Bn.schedule(lt,0,{keys:mi,index:0,subscriber:ri,subscription:xi,obj:Pn})),xi}):new n.y(ri=>{const mi=Object.keys(Pn);for(let xi=0;xi<mi.length&&!ri.closed;xi++){const Mr=mi[xi];Pn.hasOwnProperty(Mr)&&ri.next([Mr,Pn[Mr]])}ri.complete()})}function lt(Pn){const{keys:Bn,index:ri,subscriber:mi,subscription:xi,obj:Mr}=Pn;if(!mi.closed)if(ri<Bn.length){const gr=Bn[ri];mi.next([gr,Mr[gr]]),xi.add(this.schedule({keys:Bn,index:ri+1,subscriber:mi,subscription:xi,obj:Mr}))}else mi.complete()}var Ft=B(6533),ln=B(63956),Jn=B(59151);function Mn(Pn,Bn,ri){return[(0,Jn.h)(Bn,ri)(new n.y((0,ln.s)(Pn))),(0,Jn.h)((0,Ft.f)(Bn,ri))(new n.y((0,ln.s)(Pn)))]}var ti=B(65763);function Ai(Pn=0,Bn,ri){return new n.y(mi=>{void 0===Bn&&(Bn=Pn,Pn=0);let xi=0,Mr=Pn;if(ri)return ri.schedule(ki,0,{index:xi,count:Bn,start:Pn,subscriber:mi});for(;;){if(xi++>=Bn){mi.complete();break}if(mi.next(Mr++),mi.closed)break}})}function ki(Pn){const{start:Bn,index:ri,count:mi,subscriber:xi}=Pn;ri>=mi?xi.complete():(xi.next(Bn),!xi.closed&&(Pn.index=ri+1,Pn.start=Bn+1,this.schedule(Pn)))}var Ki=B(66587),Hi=B(45398);function _i(Pn,Bn){return new n.y(ri=>{let mi,xi;try{mi=Pn()}catch(Li){return void ri.error(Li)}try{xi=Bn(mi)}catch(Li){return void ri.error(Li)}const gr=(xi?(0,Yn.D)(xi):qn.E).subscribe(ri);return()=>{gr.unsubscribe(),mi&&mi.unsubscribe()}})}var pi=B(49727),$n=B(98785),wr=B(20146)},77297:(de,$e,B)=>{"use strict";B.d($e,{c:()=>P});var n=B(92218),i=B(32425);class P extends n.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(s){return this.hasError?(s.error(this.thrownError),i.w.EMPTY):this.hasCompleted&&this.hasNext?(s.next(this.value),s.complete(),i.w.EMPTY):super._subscribe(s)}next(s){this.hasCompleted||(this.value=s,this.hasNext=!0)}error(s){this.hasCompleted||super.error(s)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}},84505:(de,$e,B)=>{"use strict";B.d($e,{X:()=>P});var n=B(92218),i=B(89086);class P extends n.xQ{constructor(s){super(),this._value=s}get value(){return this.getValue()}_subscribe(s){const o=super._subscribe(s);return o&&!o.closed&&s.next(this._value),o}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.N;return this._value}next(s){super.next(this._value=s)}}},27928:(de,$e,B)=>{"use strict";B.d($e,{P:()=>s,W:()=>m});var m,o,n=B(26439),i=B(64139),P=B(66587);(o=m||(m={})).NEXT="N",o.ERROR="E",o.COMPLETE="C";class s{constructor(h,v,y){this.kind=h,this.value=v,this.error=y,this.hasValue="N"===h}observe(h){switch(this.kind){case"N":return h.next&&h.next(this.value);case"E":return h.error&&h.error(this.error);case"C":return h.complete&&h.complete()}}do(h,v,y){switch(this.kind){case"N":return h&&h(this.value);case"E":return v&&v(this.error);case"C":return y&&y()}}accept(h,v,y){return h&&"function"==typeof h.next?this.observe(h):this.do(h,v,y)}toObservable(){switch(this.kind){case"N":return(0,i.of)(this.value);case"E":return(0,P._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(h){return void 0!==h?new s("N",h):s.undefinedValueNotification}static createError(h){return new s("E",void 0,h)}static createComplete(){return s.completeNotification}}s.completeNotification=new s("C"),s.undefinedValueNotification=new s("N",void 0)},52822:(de,$e,B)=>{"use strict";B.d($e,{y:()=>y});var n=B(85739),i=B(60014),P=B(61482),m=B(99957);var o=B(36831),h=B(36800),v=B(20146);class y{constructor(_){this._isScalar=!1,_&&(this._subscribe=_)}lift(_){const w=new y;return w.source=this,w.operator=_,w}subscribe(_,w,z){const{operator:R}=this,N=function s(C,_,w){if(C){if(C instanceof i.L)return C;if(C[P.b])return C[P.b]()}return C||_||w?new i.L(C,_,w):new i.L(m.c)}(_,w,z);if(R?N.add(R.call(N,this.source)):N.add(this.source||v.v.useDeprecatedSynchronousErrorHandling&&!N.syncErrorThrowable?this._subscribe(N):this._trySubscribe(N)),v.v.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable&&(N.syncErrorThrowable=!1,N.syncErrorThrown))throw N.syncErrorValue;return N}_trySubscribe(_){try{return this._subscribe(_)}catch(w){v.v.useDeprecatedSynchronousErrorHandling&&(_.syncErrorThrown=!0,_.syncErrorValue=w),(0,n._)(_)?_.error(w):console.warn(w)}}forEach(_,w){return new(w=x(w))((z,R)=>{let N;N=this.subscribe(S=>{try{_(S)}catch(E){R(E),N&&N.unsubscribe()}},R,z)})}_subscribe(_){const{source:w}=this;return w&&w.subscribe(_)}[o.L](){return this}pipe(..._){return 0===_.length?this:(0,h.U)(_)(this)}toPromise(_){return new(_=x(_))((w,z)=>{let R;this.subscribe(N=>R=N,N=>z(N),()=>w(R))})}}function x(C){if(C||(C=v.v.Promise||Promise),!C)throw new Error("no Promise impl found");return C}y.create=C=>new y(C)},99957:(de,$e,B)=>{"use strict";B.d($e,{c:()=>P});var n=B(20146),i=B(28897);const P={closed:!0,next(m){},error(m){if(n.v.useDeprecatedSynchronousErrorHandling)throw m;(0,i.z)(m)},complete(){}}},75266:(de,$e,B)=>{"use strict";B.d($e,{L:()=>i});var n=B(60014);class i extends n.L{notifyNext(m,s,o,h,v){this.destination.next(s)}notifyError(m,s){this.destination.error(m)}notifyComplete(m){this.destination.complete()}}},61555:(de,$e,B)=>{"use strict";B.d($e,{t:()=>h});var n=B(92218),i=B(77122),P=B(32425),m=B(63888),s=B(89086),o=B(61722);class h extends n.xQ{constructor(x=Number.POSITIVE_INFINITY,C=Number.POSITIVE_INFINITY,_){super(),this.scheduler=_,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=x<1?1:x,this._windowTime=C<1?1:C,C===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(x){if(!this.isStopped){const C=this._events;C.push(x),C.length>this._bufferSize&&C.shift()}super.next(x)}nextTimeWindow(x){this.isStopped||(this._events.push(new v(this._getNow(),x)),this._trimBufferThenGetEvents()),super.next(x)}_subscribe(x){const C=this._infiniteTimeWindow,_=C?this._events:this._trimBufferThenGetEvents(),w=this.scheduler,z=_.length;let R;if(this.closed)throw new s.N;if(this.isStopped||this.hasError?R=P.w.EMPTY:(this.observers.push(x),R=new o.W(this,x)),w&&x.add(x=new m.ht(x,w)),C)for(let N=0;N<z&&!x.closed;N++)x.next(_[N]);else for(let N=0;N<z&&!x.closed;N++)x.next(_[N].value);return this.hasError?x.error(this.thrownError):this.isStopped&&x.complete(),R}_getNow(){return(this.scheduler||i.c).now()}_trimBufferThenGetEvents(){const x=this._getNow(),C=this._bufferSize,_=this._windowTime,w=this._events,z=w.length;let R=0;for(;R<z&&!(x-w[R].time<_);)R++;return z>C&&(R=Math.max(R,z-C)),R>0&&w.splice(0,R),w}}class v{constructor(x,C){this.time=x,this.value=C}}},71925:(de,$e,B)=>{"use strict";B.d($e,{b:()=>n});class n{constructor(P,m=n.now){this.SchedulerAction=P,this.now=m}schedule(P,m=0,s){return new this.SchedulerAction(this,P).schedule(s,m)}}n.now=()=>Date.now()},92218:(de,$e,B)=>{"use strict";B.d($e,{Yc:()=>h,xQ:()=>v});var n=B(52822),i=B(60014),P=B(32425),m=B(89086),s=B(61722),o=B(61482);class h extends i.L{constructor(C){super(C),this.destination=C}}class v extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[o.b](){return new h(this)}lift(C){const _=new y(this,this);return _.operator=C,_}next(C){if(this.closed)throw new m.N;if(!this.isStopped){const{observers:_}=this,w=_.length,z=_.slice();for(let R=0;R<w;R++)z[R].next(C)}}error(C){if(this.closed)throw new m.N;this.hasError=!0,this.thrownError=C,this.isStopped=!0;const{observers:_}=this,w=_.length,z=_.slice();for(let R=0;R<w;R++)z[R].error(C);this.observers.length=0}complete(){if(this.closed)throw new m.N;this.isStopped=!0;const{observers:C}=this,_=C.length,w=C.slice();for(let z=0;z<_;z++)w[z].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(C){if(this.closed)throw new m.N;return super._trySubscribe(C)}_subscribe(C){if(this.closed)throw new m.N;return this.hasError?(C.error(this.thrownError),P.w.EMPTY):this.isStopped?(C.complete(),P.w.EMPTY):(this.observers.push(C),new s.W(this,C))}asObservable(){const C=new n.y;return C.source=this,C}}v.create=(x,C)=>new y(x,C);class y extends v{constructor(C,_){super(),this.destination=C,this.source=_}next(C){const{destination:_}=this;_&&_.next&&_.next(C)}error(C){const{destination:_}=this;_&&_.error&&this.destination.error(C)}complete(){const{destination:C}=this;C&&C.complete&&this.destination.complete()}_subscribe(C){const{source:_}=this;return _?this.source.subscribe(C):P.w.EMPTY}}},61722:(de,$e,B)=>{"use strict";B.d($e,{W:()=>i});var n=B(32425);class i extends n.w{constructor(m,s){super(),this.subject=m,this.subscriber=s,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const m=this.subject,s=m.observers;if(this.subject=null,!s||0===s.length||m.isStopped||m.closed)return;const o=s.indexOf(this.subscriber);-1!==o&&s.splice(o,1)}}},60014:(de,$e,B)=>{"use strict";B.d($e,{L:()=>h});var n=B(51900),i=B(99957),P=B(32425),m=B(61482),s=B(20146),o=B(28897);class h extends P.w{constructor(x,C,_){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.c;break;case 1:if(!x){this.destination=i.c;break}if("object"==typeof x){x instanceof h?(this.syncErrorThrowable=x.syncErrorThrowable,this.destination=x,x.add(this)):(this.syncErrorThrowable=!0,this.destination=new v(this,x));break}default:this.syncErrorThrowable=!0,this.destination=new v(this,x,C,_)}}[m.b](){return this}static create(x,C,_){const w=new h(x,C,_);return w.syncErrorThrowable=!1,w}next(x){this.isStopped||this._next(x)}error(x){this.isStopped||(this.isStopped=!0,this._error(x))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(x){this.destination.next(x)}_error(x){this.destination.error(x),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:x}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=x,this}}class v extends h{constructor(x,C,_,w){super(),this._parentSubscriber=x;let z,R=this;(0,n.m)(C)?z=C:C&&(z=C.next,_=C.error,w=C.complete,C!==i.c&&(R=Object.create(C),(0,n.m)(R.unsubscribe)&&this.add(R.unsubscribe.bind(R)),R.unsubscribe=this.unsubscribe.bind(this))),this._context=R,this._next=z,this._error=_,this._complete=w}next(x){if(!this.isStopped&&this._next){const{_parentSubscriber:C}=this;s.v.useDeprecatedSynchronousErrorHandling&&C.syncErrorThrowable?this.__tryOrSetError(C,this._next,x)&&this.unsubscribe():this.__tryOrUnsub(this._next,x)}}error(x){if(!this.isStopped){const{_parentSubscriber:C}=this,{useDeprecatedSynchronousErrorHandling:_}=s.v;if(this._error)_&&C.syncErrorThrowable?(this.__tryOrSetError(C,this._error,x),this.unsubscribe()):(this.__tryOrUnsub(this._error,x),this.unsubscribe());else if(C.syncErrorThrowable)_?(C.syncErrorValue=x,C.syncErrorThrown=!0):(0,o.z)(x),this.unsubscribe();else{if(this.unsubscribe(),_)throw x;(0,o.z)(x)}}}complete(){if(!this.isStopped){const{_parentSubscriber:x}=this;if(this._complete){const C=()=>this._complete.call(this._context);s.v.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?(this.__tryOrSetError(x,C),this.unsubscribe()):(this.__tryOrUnsub(C),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(x,C){try{x.call(this._context,C)}catch(_){if(this.unsubscribe(),s.v.useDeprecatedSynchronousErrorHandling)throw _;(0,o.z)(_)}}__tryOrSetError(x,C,_){if(!s.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{C.call(this._context,_)}catch(w){return s.v.useDeprecatedSynchronousErrorHandling?(x.syncErrorValue=w,x.syncErrorThrown=!0,!0):((0,o.z)(w),!0)}return!1}_unsubscribe(){const{_parentSubscriber:x}=this;this._context=null,this._parentSubscriber=null,x.unsubscribe()}}},32425:(de,$e,B)=>{"use strict";B.d($e,{w:()=>s});var h,n=B(94327),i=B(36549),P=B(51900),m=B(37875);class s{constructor(v){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,v&&(this._ctorUnsubscribe=!0,this._unsubscribe=v)}unsubscribe(){let v;if(this.closed)return;let{_parentOrParents:y,_ctorUnsubscribe:x,_unsubscribe:C,_subscriptions:_}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,y instanceof s)y.remove(this);else if(null!==y)for(let w=0;w<y.length;++w)y[w].remove(this);if((0,P.m)(C)){x&&(this._unsubscribe=void 0);try{C.call(this)}catch(w){v=w instanceof m.B?o(w.errors):[w]}}if((0,n.k)(_)){let w=-1,z=_.length;for(;++w<z;){const R=_[w];if((0,i.K)(R))try{R.unsubscribe()}catch(N){v=v||[],N instanceof m.B?v=v.concat(o(N.errors)):v.push(N)}}}if(v)throw new m.B(v)}add(v){let y=v;if(!v)return s.EMPTY;switch(typeof v){case"function":y=new s(v);case"object":if(y===this||y.closed||"function"!=typeof y.unsubscribe)return y;if(this.closed)return y.unsubscribe(),y;if(!(y instanceof s)){const _=y;y=new s,y._subscriptions=[_]}break;default:throw new Error("unrecognized teardown "+v+" added to Subscription.")}let{_parentOrParents:x}=y;if(null===x)y._parentOrParents=this;else if(x instanceof s){if(x===this)return y;y._parentOrParents=[x,this]}else{if(-1!==x.indexOf(this))return y;x.push(this)}const C=this._subscriptions;return null===C?this._subscriptions=[y]:C.push(y),y}remove(v){const y=this._subscriptions;if(y){const x=y.indexOf(v);-1!==x&&y.splice(x,1)}}}function o(h){return h.reduce((v,y)=>v.concat(y instanceof m.B?y.errors:y),[])}s.EMPTY=((h=new s).closed=!0,h)},20146:(de,$e,B)=>{"use strict";B.d($e,{v:()=>i});let n=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(P){if(P){const m=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+m.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=P},get useDeprecatedSynchronousErrorHandling(){return n}}},52831:(de,$e,B)=>{"use strict";B.d($e,{Ds:()=>o,IY:()=>m,ft:()=>v});var n=B(60014),i=B(52822),P=B(63956);class m extends n.L{constructor(x){super(),this.parent=x}_next(x){this.parent.notifyNext(x)}_error(x){this.parent.notifyError(x),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class o extends n.L{notifyNext(x){this.destination.next(x)}notifyError(x){this.destination.error(x)}notifyComplete(){this.destination.complete()}}function v(y,x){if(x.closed)return;if(y instanceof i.y)return y.subscribe(x);let C;try{C=(0,P.s)(y)(x)}catch(_){x.error(_)}return C}},64483:(de,$e,B)=>{"use strict";B.d($e,{N:()=>o,c:()=>s});var n=B(92218),i=B(52822),P=B(32425),m=B(38331);class s extends i.y{constructor(C,_){super(),this.source=C,this.subjectFactory=_,this._refCount=0,this._isComplete=!1}_subscribe(C){return this.getSubject().subscribe(C)}getSubject(){const C=this._subject;return(!C||C.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let C=this._connection;return C||(this._isComplete=!1,C=this._connection=new P.w,C.add(this.source.subscribe(new h(this.getSubject(),this))),C.closed&&(this._connection=null,C=P.w.EMPTY)),C}refCount(){return(0,m.x)()(this)}}const o=(()=>{const x=s.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:x._subscribe},_isComplete:{value:x._isComplete,writable:!0},getSubject:{value:x.getSubject},connect:{value:x.connect},refCount:{value:x.refCount}}})();class h extends n.Yc{constructor(C,_){super(C),this.connectable=_}_error(C){this._unsubscribe(),super._error(C)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const C=this.connectable;if(C){this.connectable=null;const _=C._connection;C._refCount=0,C._subject=null,C._connection=null,_&&_.unsubscribe()}}}},19193:(de,$e,B)=>{"use strict";B.d($e,{Ms:()=>v,aj:()=>h});var n=B(27507),i=B(94327),P=B(75266),m=B(38774),s=B(28005);const o={};function h(...x){let C,_;return(0,n.K)(x[x.length-1])&&(_=x.pop()),"function"==typeof x[x.length-1]&&(C=x.pop()),1===x.length&&(0,i.k)(x[0])&&(x=x[0]),(0,s.n)(x,_).lift(new v(C))}class v{constructor(C){this.resultSelector=C}call(C,_){return _.subscribe(new y(C,this.resultSelector))}}class y extends P.L{constructor(C,_){super(C),this.resultSelector=_,this.active=0,this.values=[],this.observables=[]}_next(C){this.values.push(o),this.observables.push(C)}_complete(){const C=this.observables,_=C.length;if(0===_)this.destination.complete();else{this.active=_,this.toRespond=_;for(let w=0;w<_;w++){const z=C[w];this.add((0,m.D)(this,z,void 0,w))}}}notifyComplete(C){0==(this.active-=1)&&this.destination.complete()}notifyNext(C,_,w){const z=this.values,R=z[w],N=this.toRespond?R===o?--this.toRespond:this.toRespond:0;z[w]=_,0===N&&(this.resultSelector?this._tryResultSelector(z):this.destination.next(z.slice()))}_tryResultSelector(C){let _;try{_=this.resultSelector.apply(this,C)}catch(w){return void this.destination.error(w)}this.destination.next(_)}}},55828:(de,$e,B)=>{"use strict";B.d($e,{z:()=>P});var n=B(64139),i=B(12692);function P(...m){return(0,i.u)()((0,n.of)(...m))}},1635:(de,$e,B)=>{"use strict";B.d($e,{P:()=>m});var n=B(52822),i=B(24383),P=B(26439);function m(s){return new n.y(o=>{let h;try{h=s()}catch(y){return void o.error(y)}return(h?(0,i.D)(h):(0,P.c)()).subscribe(o)})}},26439:(de,$e,B)=>{"use strict";B.d($e,{E:()=>i,c:()=>P});var n=B(52822);const i=new n.y(s=>s.complete());function P(s){return s?function m(s){return new n.y(o=>s.schedule(()=>o.complete()))}(s):i}},54350:(de,$e,B)=>{"use strict";B.d($e,{D:()=>o});var n=B(52822),i=B(94327),P=B(86942),m=B(36549),s=B(24383);function o(...v){if(1===v.length){const y=v[0];if((0,i.k)(y))return h(y,null);if((0,m.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const x=Object.keys(y);return h(x.map(C=>y[C]),x)}}if("function"==typeof v[v.length-1]){const y=v.pop();return h(v=1===v.length&&(0,i.k)(v[0])?v[0]:v,null).pipe((0,P.U)(x=>y(...x)))}return h(v,null)}function h(v,y){return new n.y(x=>{const C=v.length;if(0===C)return void x.complete();const _=new Array(C);let w=0,z=0;for(let R=0;R<C;R++){const N=(0,s.D)(v[R]);let S=!1;x.add(N.subscribe({next:E=>{S||(S=!0,z++),_[R]=E},error:E=>x.error(E),complete:()=>{w++,(w===C||!S)&&(z===C&&x.next(y?y.reduce((E,O,H)=>(E[O]=_[H],E),{}):_),x.complete())}}))}})}},24383:(de,$e,B)=>{"use strict";B.d($e,{D:()=>m});var n=B(52822),i=B(63956),P=B(98785);function m(s,o){return o?(0,P.x)(s,o):s instanceof n.y?s:new n.y((0,i.s)(s))}},28005:(de,$e,B)=>{"use strict";B.d($e,{n:()=>m});var n=B(52822),i=B(5414),P=B(58403);function m(s,o){return o?(0,P.r)(s,o):new n.y((0,i.V)(s))}},36312:(de,$e,B)=>{"use strict";B.d($e,{R:()=>o});var n=B(52822),i=B(94327),P=B(51900),m=B(86942);Object.prototype.toString;function o(C,_,w,z){return(0,P.m)(w)&&(z=w,w=void 0),z?o(C,_,w).pipe((0,m.U)(R=>(0,i.k)(R)?z(...R):z(R))):new n.y(R=>{h(C,_,function N(S){arguments.length>1?R.next(Array.prototype.slice.call(arguments)):R.next(S)},R,w)})}function h(C,_,w,z,R){let N;if(function x(C){return C&&"function"==typeof C.addEventListener&&"function"==typeof C.removeEventListener}(C)){const S=C;C.addEventListener(_,w,R),N=()=>S.removeEventListener(_,w,R)}else if(function y(C){return C&&"function"==typeof C.on&&"function"==typeof C.off}(C)){const S=C;C.on(_,w),N=()=>S.off(_,w)}else if(function v(C){return C&&"function"==typeof C.addListener&&"function"==typeof C.removeListener}(C)){const S=C;C.addListener(_,w),N=()=>S.removeListener(_,w)}else{if(!C||!C.length)throw new TypeError("Invalid event target");for(let S=0,E=C.length;S<E;S++)h(C[S],_,w,z,R)}z.add(N)}},13491:(de,$e,B)=>{"use strict";B.d($e,{F:()=>m});var n=B(52822),i=B(10328),P=B(7269);function m(o=0,h=i.P){return(!(0,P.k)(o)||o<0)&&(o=0),(!h||"function"!=typeof h.schedule)&&(h=i.P),new n.y(v=>(v.add(h.schedule(s,o,{subscriber:v,counter:0,period:o})),v))}function s(o){const{subscriber:h,counter:v,period:y}=o;h.next(v),this.schedule({subscriber:h,counter:v+1,period:y},y)}},88623:(de,$e,B)=>{"use strict";B.d($e,{T:()=>s});var n=B(52822),i=B(27507),P=B(76675),m=B(28005);function s(...o){let h=Number.POSITIVE_INFINITY,v=null,y=o[o.length-1];return(0,i.K)(y)?(v=o.pop(),o.length>1&&"number"==typeof o[o.length-1]&&(h=o.pop())):"number"==typeof y&&(h=o.pop()),null===v&&1===o.length&&o[0]instanceof n.y?o[0]:(0,P.J)(h)((0,m.n)(o,v))}},48130:(de,$e,B)=>{"use strict";B.d($e,{C:()=>P,F:()=>m});var n=B(52822),i=B(76882);const P=new n.y(i.Z);function m(){return P}},64139:(de,$e,B)=>{"use strict";B.d($e,{of:()=>m});var n=B(27507),i=B(28005),P=B(58403);function m(...s){let o=s[s.length-1];return(0,n.K)(o)?(s.pop(),(0,P.r)(s,o)):(0,i.n)(s)}},65763:(de,$e,B)=>{"use strict";B.d($e,{S3:()=>s});var n=B(94327),i=B(28005),P=B(75266),m=B(38774);function s(...v){if(1===v.length){if(!(0,n.k)(v[0]))return v[0];v=v[0]}return(0,i.n)(v,void 0).lift(new o)}class o{call(y,x){return x.subscribe(new h(y))}}class h extends P.L{constructor(y){super(y),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(y){this.observables.push(y)}_complete(){const y=this.observables,x=y.length;if(0===x)this.destination.complete();else{for(let C=0;C<x&&!this.hasFirst;C++){const _=y[C],w=(0,m.D)(this,_,void 0,C);this.subscriptions&&this.subscriptions.push(w),this.add(w)}this.observables=null}}notifyNext(y,x,C){if(!this.hasFirst){this.hasFirst=!0;for(let _=0;_<this.subscriptions.length;_++)if(_!==C){let w=this.subscriptions[_];w.unsubscribe(),this.remove(w)}this.subscriptions=null}this.destination.next(x)}}},66587:(de,$e,B)=>{"use strict";B.d($e,{_:()=>i});var n=B(52822);function i(m,s){return s?new n.y(o=>s.schedule(P,0,{error:m,subscriber:o})):new n.y(o=>o.error(m))}function P({error:m,subscriber:s}){s.error(m)}},45398:(de,$e,B)=>{"use strict";B.d($e,{H:()=>s});var n=B(52822),i=B(10328),P=B(7269),m=B(27507);function s(h=0,v,y){let x=-1;return(0,P.k)(v)?x=Number(v)<1?1:Number(v):(0,m.K)(v)&&(y=v),(0,m.K)(y)||(y=i.P),new n.y(C=>{const _=(0,P.k)(h)?h:+h-y.now();return y.schedule(o,_,{index:0,period:x,subscriber:C})})}function o(h){const{index:v,period:y,subscriber:x}=h;if(x.next(v),!x.closed){if(-1===y)return x.complete();h.index=v+1,this.schedule(h,y)}}},49727:(de,$e,B)=>{"use strict";B.d($e,{$R:()=>o,mx:()=>h});var n=B(28005),i=B(94327),P=B(60014),m=B(12803),s=B(52831);function o(..._){const w=_[_.length-1];return"function"==typeof w&&_.pop(),(0,n.n)(_,void 0).lift(new h(w))}class h{constructor(w){this.resultSelector=w}call(w,z){return z.subscribe(new v(w,this.resultSelector))}}class v extends P.L{constructor(w,z,R=Object.create(null)){super(w),this.resultSelector=z,this.iterators=[],this.active=0,this.resultSelector="function"==typeof z?z:void 0}_next(w){const z=this.iterators;(0,i.k)(w)?z.push(new x(w)):"function"==typeof w[m.hZ]?z.push(new y(w[m.hZ]())):z.push(new C(this.destination,this,w))}_complete(){const w=this.iterators,z=w.length;if(this.unsubscribe(),0!==z){this.active=z;for(let R=0;R<z;R++){let N=w[R];N.stillUnsubscribed?this.destination.add(N.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const w=this.iterators,z=w.length,R=this.destination;for(let E=0;E<z;E++){let O=w[E];if("function"==typeof O.hasValue&&!O.hasValue())return}let N=!1;const S=[];for(let E=0;E<z;E++){let O=w[E],H=O.next();if(O.hasCompleted()&&(N=!0),H.done)return void R.complete();S.push(H.value)}this.resultSelector?this._tryresultSelector(S):R.next(S),N&&R.complete()}_tryresultSelector(w){let z;try{z=this.resultSelector.apply(this,w)}catch(R){return void this.destination.error(R)}this.destination.next(z)}}class y{constructor(w){this.iterator=w,this.nextResult=w.next()}hasValue(){return!0}next(){const w=this.nextResult;return this.nextResult=this.iterator.next(),w}hasCompleted(){const w=this.nextResult;return Boolean(w&&w.done)}}class x{constructor(w){this.array=w,this.index=0,this.length=0,this.length=w.length}[m.hZ](){return this}next(w){const z=this.index++,R=this.array;return z<this.length?{value:R[z],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class C extends s.Ds{constructor(w,z,R){super(w),this.parent=z,this.observable=R,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[m.hZ](){return this}next(){const w=this.buffer;return 0===w.length&&this.isComplete?{value:null,done:!0}:{value:w.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(w){this.buffer.push(w),this.parent.checkIterators()}subscribe(){return(0,s.ft)(this.observable,new s.IY(this))}}},76763:(de,$e,B)=>{"use strict";B.d($e,{U:()=>i});var n=B(52831);function i(s){return function(h){return h.lift(new P(s))}}class P{constructor(o){this.durationSelector=o}call(o,h){return h.subscribe(new m(o,this.durationSelector))}}class m extends n.Ds{constructor(o,h){super(o),this.durationSelector=h,this.hasValue=!1}_next(o){if(this.value=o,this.hasValue=!0,!this.throttled){let h;try{const{durationSelector:y}=this;h=y(o)}catch(y){return this.destination.error(y)}const v=(0,n.ft)(h,new n.IY(this));!v||v.closed?this.clearThrottle():this.add(this.throttled=v)}}clearThrottle(){const{value:o,hasValue:h,throttled:v}=this;v&&(this.remove(v),this.throttled=void 0,v.unsubscribe()),h&&(this.value=void 0,this.hasValue=!1,this.destination.next(o))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}},71695:(de,$e,B)=>{"use strict";B.d($e,{e:()=>m});var n=B(10328),i=B(76763),P=B(45398);function m(s,o=n.P){return(0,i.U)(()=>(0,P.H)(s,o))}},93791:(de,$e,B)=>{"use strict";B.d($e,{f:()=>i});var n=B(52831);function i(s){return function(h){return h.lift(new P(s))}}class P{constructor(o){this.closingNotifier=o}call(o,h){return h.subscribe(new m(o,this.closingNotifier))}}class m extends n.Ds{constructor(o,h){super(o),this.buffer=[],this.add((0,n.ft)(h,new n.IY(this)))}_next(o){this.buffer.push(o)}notifyNext(){const o=this.buffer;this.buffer=[],this.destination.next(o)}}},47418:(de,$e,B)=>{"use strict";B.d($e,{K:()=>i});var n=B(52831);function i(s){return function(h){const v=new P(s),y=h.lift(v);return v.caught=y}}class P{constructor(o){this.selector=o}call(o,h){return h.subscribe(new m(o,this.selector,this.caught))}}class m extends n.Ds{constructor(o,h,v){super(o),this.selector=h,this.caught=v}error(o){if(!this.isStopped){let h;try{h=this.selector(o,this.caught)}catch(x){return void super.error(x)}this._unsubscribeAndRecycle();const v=new n.IY(this);this.add(v);const y=(0,n.ft)(h,v);y!==v&&this.add(y)}}}},12692:(de,$e,B)=>{"use strict";B.d($e,{u:()=>i});var n=B(76675);function i(){return(0,n.J)(1)}},11133:(de,$e,B)=>{"use strict";B.d($e,{b:()=>i});var n=B(80522);function i(P,m){return(0,n.zg)(P,m,1)}},12972:(de,$e,B)=>{"use strict";B.d($e,{D:()=>i});var n=B(52831);function i(s){return o=>o.lift(new P(s))}class P{constructor(o){this.durationSelector=o}call(o,h){return h.subscribe(new m(o,this.durationSelector))}}class m extends n.Ds{constructor(o,h){super(o),this.durationSelector=h,this.hasValue=!1}_next(o){try{const h=this.durationSelector.call(this,o);h&&this._tryNext(o,h)}catch(h){this.destination.error(h)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(o,h){let v=this.durationSubscription;this.value=o,this.hasValue=!0,v&&(v.unsubscribe(),this.remove(v)),v=(0,n.ft)(h,new n.IY(this)),v&&!v.closed&&this.add(this.durationSubscription=v)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const o=this.value,h=this.durationSubscription;h&&(this.durationSubscription=void 0,h.unsubscribe(),this.remove(h)),this.value=void 0,this.hasValue=!1,super._next(o)}}}},80823:(de,$e,B)=>{"use strict";B.d($e,{b:()=>P});var n=B(60014),i=B(10328);function P(h,v=i.P){return y=>y.lift(new m(h,v))}class m{constructor(v,y){this.dueTime=v,this.scheduler=y}call(v,y){return y.subscribe(new s(v,this.dueTime,this.scheduler))}}class s extends n.L{constructor(v,y,x){super(v),this.dueTime=y,this.scheduler=x,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(v){this.clearDebounce(),this.lastValue=v,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(o,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:v}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(v)}}clearDebounce(){const v=this.debouncedSubscription;null!==v&&(this.remove(v),v.unsubscribe(),this.debouncedSubscription=null)}}function o(h){h.debouncedNext()}},9701:(de,$e,B)=>{"use strict";B.d($e,{d:()=>i});var n=B(60014);function i(s=null){return o=>o.lift(new P(s))}class P{constructor(o){this.defaultValue=o}call(o,h){return h.subscribe(new m(o,this.defaultValue))}}class m extends n.L{constructor(o,h){super(o),this.defaultValue=h,this.isEmpty=!0}_next(o){this.isEmpty=!1,this.destination.next(o)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},25843:(de,$e,B)=>{"use strict";B.d($e,{g:()=>s});var n=B(10328),i=B(71293),P=B(60014),m=B(27928);function s(y,x=n.P){const _=(0,i.J)(y)?+y-x.now():Math.abs(y);return w=>w.lift(new o(_,x))}class o{constructor(x,C){this.delay=x,this.scheduler=C}call(x,C){return C.subscribe(new h(x,this.delay,this.scheduler))}}class h extends P.L{constructor(x,C,_){super(x),this.delay=C,this.scheduler=_,this.queue=[],this.active=!1,this.errored=!1}static dispatch(x){const C=x.source,_=C.queue,w=x.scheduler,z=x.destination;for(;_.length>0&&_[0].time-w.now()<=0;)_.shift().notification.observe(z);if(_.length>0){const R=Math.max(0,_[0].time-w.now());this.schedule(x,R)}else this.unsubscribe(),C.active=!1}_schedule(x){this.active=!0,this.destination.add(x.schedule(h.dispatch,this.delay,{source:this,destination:this.destination,scheduler:x}))}scheduleNotification(x){if(!0===this.errored)return;const C=this.scheduler,_=new v(C.now()+this.delay,x);this.queue.push(_),!1===this.active&&this._schedule(C)}_next(x){this.scheduleNotification(m.P.createNext(x))}_error(x){this.errored=!0,this.queue=[],this.destination.error(x),this.unsubscribe()}_complete(){this.scheduleNotification(m.P.createComplete()),this.unsubscribe()}}class v{constructor(x,C){this.time=x,this.notification=C}}},53298:(de,$e,B)=>{"use strict";B.d($e,{x:()=>i});var n=B(60014);function i(s,o){return h=>h.lift(new P(s,o))}class P{constructor(o,h){this.compare=o,this.keySelector=h}call(o,h){return h.subscribe(new m(o,this.compare,this.keySelector))}}class m extends n.L{constructor(o,h,v){super(o),this.keySelector=v,this.hasKey=!1,"function"==typeof h&&(this.compare=h)}compare(o,h){return o===h}_next(o){let h;try{const{keySelector:y}=this;h=y?y(o):o}catch(y){return this.destination.error(y)}let v=!1;if(this.hasKey)try{const{compare:y}=this;v=y(this.key,h)}catch(y){return this.destination.error(y)}else this.hasKey=!0;v||(this.key=h,this.destination.next(o))}}},17295:(de,$e,B)=>{"use strict";B.d($e,{l:()=>P});var n=B(55828),i=B(64139);function P(...m){return s=>(0,n.z)(s,(0,i.of)(...m))}},59151:(de,$e,B)=>{"use strict";B.d($e,{h:()=>i});var n=B(60014);function i(s,o){return function(v){return v.lift(new P(s,o))}}class P{constructor(o,h){this.predicate=o,this.thisArg=h}call(o,h){return h.subscribe(new m(o,this.predicate,this.thisArg))}}class m extends n.L{constructor(o,h,v){super(o),this.predicate=h,this.thisArg=v,this.count=0}_next(o){let h;try{h=this.predicate.call(this.thisArg,o,this.count++)}catch(v){return void this.destination.error(v)}h&&this.destination.next(o)}}},44661:(de,$e,B)=>{"use strict";B.d($e,{x:()=>P});var n=B(60014),i=B(32425);function P(o){return h=>h.lift(new m(o))}class m{constructor(h){this.callback=h}call(h,v){return v.subscribe(new s(h,this.callback))}}class s extends n.L{constructor(h,v){super(h),this.add(new i.w(v))}}},25670:(de,$e,B)=>{"use strict";B.d($e,{P:()=>h});var n=B(90213),i=B(59151),P=B(83910),m=B(9701),s=B(72013),o=B(1356);function h(v,y){const x=arguments.length>=2;return C=>C.pipe(v?(0,i.h)((_,w)=>v(_,w,C)):o.y,(0,P.q)(1),x?(0,m.d)(y):(0,s.T)(()=>new n.K))}},11135:(de,$e,B)=>{"use strict";B.d($e,{T:()=>y,v:()=>s});var n=B(60014),i=B(32425),P=B(52822),m=B(92218);function s(C,_,w,z){return R=>R.lift(new o(C,_,w,z))}class o{constructor(_,w,z,R){this.keySelector=_,this.elementSelector=w,this.durationSelector=z,this.subjectSelector=R}call(_,w){return w.subscribe(new h(_,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class h extends n.L{constructor(_,w,z,R,N){super(_),this.keySelector=w,this.elementSelector=z,this.durationSelector=R,this.subjectSelector=N,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(_){let w;try{w=this.keySelector(_)}catch(z){return void this.error(z)}this._group(_,w)}_group(_,w){let z=this.groups;z||(z=this.groups=new Map);let N,R=z.get(w);if(this.elementSelector)try{N=this.elementSelector(_)}catch(S){this.error(S)}else N=_;if(!R){R=this.subjectSelector?this.subjectSelector():new m.xQ,z.set(w,R);const S=new y(w,R,this);if(this.destination.next(S),this.durationSelector){let E;try{E=this.durationSelector(new y(w,R))}catch(O){return void this.error(O)}this.add(E.subscribe(new v(w,R,this)))}}R.closed||R.next(N)}_error(_){const w=this.groups;w&&(w.forEach((z,R)=>{z.error(_)}),w.clear()),this.destination.error(_)}_complete(){const _=this.groups;_&&(_.forEach((w,z)=>{w.complete()}),_.clear()),this.destination.complete()}removeGroup(_){this.groups.delete(_)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class v extends n.L{constructor(_,w,z){super(w),this.key=_,this.group=w,this.parent=z}_next(_){this.complete()}_unsubscribe(){const{parent:_,key:w}=this;this.key=this.parent=null,_&&_.removeGroup(w)}}class y extends P.y{constructor(_,w,z){super(),this.key=_,this.groupSubject=w,this.refCountSubscription=z}_subscribe(_){const w=new i.w,{refCountSubscription:z,groupSubject:R}=this;return z&&!z.closed&&w.add(new x(z)),w.add(R.subscribe(_)),w}}class x extends i.w{constructor(_){super(),this.parent=_,_.count++}unsubscribe(){const _=this.parent;!_.closed&&!this.closed&&(super.unsubscribe(),_.count-=1,0===_.count&&_.attemptedToUnsubscribe&&_.unsubscribe())}}},35690:(de,$e,B)=>{"use strict";B.d($e,{Z:()=>h});var n=B(90213),i=B(59151),P=B(52160),m=B(72013),s=B(9701),o=B(1356);function h(v,y){const x=arguments.length>=2;return C=>C.pipe(v?(0,i.h)((_,w)=>v(_,w,C)):o.y,(0,P.h)(1),x?(0,s.d)(y):(0,m.T)(()=>new n.K))}},86942:(de,$e,B)=>{"use strict";B.d($e,{U:()=>i});var n=B(60014);function i(s,o){return function(v){if("function"!=typeof s)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return v.lift(new P(s,o))}}class P{constructor(o,h){this.project=o,this.thisArg=h}call(o,h){return h.subscribe(new m(o,this.project,this.thisArg))}}class m extends n.L{constructor(o,h,v){super(o),this.project=h,this.count=0,this.thisArg=v||this}_next(o){let h;try{h=this.project.call(this.thisArg,o,this.count++)}catch(v){return void this.destination.error(v)}this.destination.next(h)}}},76675:(de,$e,B)=>{"use strict";B.d($e,{J:()=>P});var n=B(80522),i=B(1356);function P(m=Number.POSITIVE_INFINITY){return(0,n.zg)(i.y,m)}},80522:(de,$e,B)=>{"use strict";B.d($e,{VS:()=>h,zg:()=>m});var n=B(86942),i=B(24383),P=B(52831);function m(v,y,x=Number.POSITIVE_INFINITY){return"function"==typeof y?C=>C.pipe(m((_,w)=>(0,i.D)(v(_,w)).pipe((0,n.U)((z,R)=>y(_,z,w,R))),x)):("number"==typeof y&&(x=y),C=>C.lift(new s(v,x)))}class s{constructor(y,x=Number.POSITIVE_INFINITY){this.project=y,this.concurrent=x}call(y,x){return x.subscribe(new o(y,this.project,this.concurrent))}}class o extends P.Ds{constructor(y,x,C=Number.POSITIVE_INFINITY){super(y),this.project=x,this.concurrent=C,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(y){this.active<this.concurrent?this._tryNext(y):this.buffer.push(y)}_tryNext(y){let x;const C=this.index++;try{x=this.project(y,C)}catch(_){return void this.destination.error(_)}this.active++,this._innerSub(x)}_innerSub(y){const x=new P.IY(this),C=this.destination;C.add(x);const _=(0,P.ft)(y,x);_!==x&&C.add(_)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(y){this.destination.next(y)}notifyComplete(){const y=this.buffer;this.active--,y.length>0?this._next(y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const h=m},72787:(de,$e,B)=>{"use strict";B.d($e,{O:()=>i});var n=B(64483);function i(m,s){return function(h){let v;if(v="function"==typeof m?m:function(){return m},"function"==typeof s)return h.lift(new P(v,s));const y=Object.create(h,n.N);return y.source=h,y.subjectFactory=v,y}}class P{constructor(s,o){this.subjectFactory=s,this.selector=o}call(s,o){const{selector:h}=this,v=this.subjectFactory(),y=h(v).subscribe(s);return y.add(o.subscribe(v)),y}}},63888:(de,$e,B)=>{"use strict";B.d($e,{QV:()=>P,ht:()=>s});var n=B(60014),i=B(27928);function P(h,v=0){return function(x){return x.lift(new m(h,v))}}class m{constructor(v,y=0){this.scheduler=v,this.delay=y}call(v,y){return y.subscribe(new s(v,this.scheduler,this.delay))}}class s extends n.L{constructor(v,y,x=0){super(v),this.scheduler=y,this.delay=x}static dispatch(v){const{notification:y,destination:x}=v;y.observe(x),this.unsubscribe()}scheduleMessage(v){this.destination.add(this.scheduler.schedule(s.dispatch,this.delay,new o(v,this.destination)))}_next(v){this.scheduleMessage(i.P.createNext(v))}_error(v){this.scheduleMessage(i.P.createError(v)),this.unsubscribe()}_complete(){this.scheduleMessage(i.P.createComplete()),this.unsubscribe()}}class o{constructor(v,y){this.notification=v,this.destination=y}}},89221:(de,$e,B)=>{"use strict";B.d($e,{G:()=>i});var n=B(60014);function i(){return s=>s.lift(new P)}class P{call(o,h){return h.subscribe(new m(o))}}class m extends n.L{constructor(o){super(o),this.hasPrev=!1}_next(o){let h;this.hasPrev?h=[this.prev,o]:this.hasPrev=!0,this.prev=o,h&&this.destination.next(h)}}},52428:(de,$e,B)=>{"use strict";B.d($e,{j:()=>i});var n=B(86942);function i(...m){const s=m.length;if(0===s)throw new Error("list of properties cannot be empty.");return o=>(0,n.U)(function P(m,s){return h=>{let v=h;for(let y=0;y<s;y++){const x=null!=v?v[m[y]]:void 0;if(void 0===x)return;v=x}return v}}(m,s))(o)}},94989:(de,$e,B)=>{"use strict";B.d($e,{_:()=>P});var n=B(61555),i=B(72787);function P(m,s,o,h){o&&"function"!=typeof o&&(h=o);const v="function"==typeof o?o:void 0,y=new n.t(m,s,h);return x=>(0,i.O)(()=>y,v)(x)}},39045:(de,$e,B)=>{"use strict";B.d($e,{u:()=>s});var n=B(32647),i=B(52160),P=B(9701),m=B(36800);function s(o,h){return arguments.length>=2?function(y){return(0,m.z)((0,n.R)(o,h),(0,i.h)(1),(0,P.d)(h))(y)}:function(y){return(0,m.z)((0,n.R)((x,C,_)=>o(x,C,_+1)),(0,i.h)(1))(y)}}},38331:(de,$e,B)=>{"use strict";B.d($e,{x:()=>i});var n=B(60014);function i(){return function(o){return o.lift(new P(o))}}class P{constructor(o){this.connectable=o}call(o,h){const{connectable:v}=this;v._refCount++;const y=new m(o,v),x=h.subscribe(y);return y.closed||(y.connection=v.connect()),x}}class m extends n.L{constructor(o,h){super(o),this.connectable=h}_unsubscribe(){const{connectable:o}=this;if(!o)return void(this.connection=null);this.connectable=null;const h=o._refCount;if(h<=0)return void(this.connection=null);if(o._refCount=h-1,h>1)return void(this.connection=null);const{connection:v}=this,y=o._connection;this.connection=null,y&&(!v||y===v)&&y.unsubscribe()}}},32647:(de,$e,B)=>{"use strict";B.d($e,{R:()=>i});var n=B(60014);function i(s,o){let h=!1;return arguments.length>=2&&(h=!0),function(y){return y.lift(new P(s,o,h))}}class P{constructor(o,h,v=!1){this.accumulator=o,this.seed=h,this.hasSeed=v}call(o,h){return h.subscribe(new m(o,this.accumulator,this.seed,this.hasSeed))}}class m extends n.L{constructor(o,h,v,y){super(o),this.accumulator=h,this._seed=v,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(o){this.hasSeed=!0,this._seed=o}_next(o){if(this.hasSeed)return this._tryNext(o);this.seed=o,this.destination.next(o)}_tryNext(o){const h=this.index++;let v;try{v=this.accumulator(this.seed,o,h)}catch(y){this.destination.error(y)}this.seed=v,this.destination.next(v)}}},24514:(de,$e,B)=>{"use strict";B.d($e,{B:()=>s});var n=B(72787),i=B(38331),P=B(92218);function m(){return new P.xQ}function s(){return o=>(0,i.x)()((0,n.O)(m)(o))}},79128:(de,$e,B)=>{"use strict";B.d($e,{d:()=>i});var n=B(61555);function i(m,s,o){let h;return h=m&&"object"==typeof m?m:{bufferSize:m,windowTime:s,refCount:!1,scheduler:o},v=>v.lift(function P({bufferSize:m=Number.POSITIVE_INFINITY,windowTime:s=Number.POSITIVE_INFINITY,refCount:o,scheduler:h}){let v,x,y=0,C=!1,_=!1;return function(z){let R;y++,!v||C?(C=!1,v=new n.t(m,s,h),R=v.subscribe(this),x=z.subscribe({next(N){v.next(N)},error(N){C=!0,v.error(N)},complete(){_=!0,x=void 0,v.complete()}}),_&&(x=void 0)):R=v.subscribe(this),this.add(()=>{y--,R.unsubscribe(),R=void 0,x&&!_&&o&&0===y&&(x.unsubscribe(),x=void 0,v=void 0)})}}(h))}},16276:(de,$e,B)=>{"use strict";B.d($e,{T:()=>i});var n=B(60014);function i(s){return o=>o.lift(new P(s))}class P{constructor(o){this.total=o}call(o,h){return h.subscribe(new m(o,this.total))}}class m extends n.L{constructor(o,h){super(o),this.total=h,this.count=0}_next(o){++this.count>this.total&&this.destination.next(o)}}},25722:(de,$e,B)=>{"use strict";B.d($e,{O:()=>P});var n=B(55828),i=B(27507);function P(...m){const s=m[m.length-1];return(0,i.K)(s)?(m.pop(),o=>(0,n.z)(m,o,s)):o=>(0,n.z)(m,o)}},59095:(de,$e,B)=>{"use strict";B.d($e,{w:()=>m});var n=B(86942),i=B(24383),P=B(52831);function m(h,v){return"function"==typeof v?y=>y.pipe(m((x,C)=>(0,i.D)(h(x,C)).pipe((0,n.U)((_,w)=>v(x,_,C,w))))):y=>y.lift(new s(h))}class s{constructor(v){this.project=v}call(v,y){return y.subscribe(new o(v,this.project))}}class o extends P.Ds{constructor(v,y){super(v),this.project=y,this.index=0}_next(v){let y;const x=this.index++;try{y=this.project(v,x)}catch(C){return void this.destination.error(C)}this._innerSub(y)}_innerSub(v){const y=this.innerSubscription;y&&y.unsubscribe();const x=new P.IY(this),C=this.destination;C.add(x),this.innerSubscription=(0,P.ft)(v,x),this.innerSubscription!==x&&C.add(this.innerSubscription)}_complete(){const{innerSubscription:v}=this;(!v||v.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(v){this.destination.next(v)}}},83910:(de,$e,B)=>{"use strict";B.d($e,{q:()=>m});var n=B(60014),i=B(2846),P=B(26439);function m(h){return v=>0===h?(0,P.c)():v.lift(new s(h))}class s{constructor(v){if(this.total=v,this.total<0)throw new i.W}call(v,y){return y.subscribe(new o(v,this.total))}}class o extends n.L{constructor(v,y){super(v),this.total=y,this.count=0}_next(v){const y=this.total,x=++this.count;x<=y&&(this.destination.next(v),x===y&&(this.destination.complete(),this.unsubscribe()))}}},52160:(de,$e,B)=>{"use strict";B.d($e,{h:()=>m});var n=B(60014),i=B(2846),P=B(26439);function m(h){return function(y){return 0===h?(0,P.c)():y.lift(new s(h))}}class s{constructor(v){if(this.total=v,this.total<0)throw new i.W}call(v,y){return y.subscribe(new o(v,this.total))}}class o extends n.L{constructor(v,y){super(v),this.total=y,this.ring=new Array,this.count=0}_next(v){const y=this.ring,x=this.total,C=this.count++;if(y.length<x)y.push(v);else{y[C%x]=v}}_complete(){const v=this.destination;let y=this.count;if(y>0){const x=this.count>=this.total?this.total:this.count,C=this.ring;for(let _=0;_<x;_++){const w=y++%x;v.next(C[w])}}v.complete()}}},85921:(de,$e,B)=>{"use strict";B.d($e,{R:()=>i});var n=B(52831);function i(s){return o=>o.lift(new P(s))}class P{constructor(o){this.notifier=o}call(o,h){const v=new m(o),y=(0,n.ft)(this.notifier,new n.IY(v));return y&&!v.seenValue?(v.add(y),h.subscribe(v)):v}}class m extends n.Ds{constructor(o){super(o),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},88759:(de,$e,B)=>{"use strict";B.d($e,{b:()=>m});var n=B(60014),i=B(76882),P=B(51900);function m(h,v,y){return function(C){return C.lift(new s(h,v,y))}}class s{constructor(v,y,x){this.nextOrObserver=v,this.error=y,this.complete=x}call(v,y){return y.subscribe(new o(v,this.nextOrObserver,this.error,this.complete))}}class o extends n.L{constructor(v,y,x,C){super(v),this._tapNext=i.Z,this._tapError=i.Z,this._tapComplete=i.Z,this._tapError=x||i.Z,this._tapComplete=C||i.Z,(0,P.m)(y)?(this._context=this,this._tapNext=y):y&&(this._context=y,this._tapNext=y.next||i.Z,this._tapError=y.error||i.Z,this._tapComplete=y.complete||i.Z)}_next(v){try{this._tapNext.call(this._context,v)}catch(y){return void this.destination.error(y)}this.destination.next(v)}_error(v){try{this._tapError.call(this._context,v)}catch(y){return void this.destination.error(y)}this.destination.error(v)}_complete(){try{this._tapComplete.call(this._context)}catch(v){return void this.destination.error(v)}return this.destination.complete()}}},93169:(de,$e,B)=>{"use strict";B.d($e,{P:()=>P,d:()=>i});var n=B(52831);const i={leading:!0,trailing:!1};function P(o,h=i){return v=>v.lift(new m(o,!!h.leading,!!h.trailing))}class m{constructor(h,v,y){this.durationSelector=h,this.leading=v,this.trailing=y}call(h,v){return v.subscribe(new s(h,this.durationSelector,this.leading,this.trailing))}}class s extends n.Ds{constructor(h,v,y,x){super(h),this.destination=h,this.durationSelector=v,this._leading=y,this._trailing=x,this._hasValue=!1}_next(h){this._hasValue=!0,this._sendValue=h,this._throttled||(this._leading?this.send():this.throttle(h))}send(){const{_hasValue:h,_sendValue:v}=this;h&&(this.destination.next(v),this.throttle(v)),this._hasValue=!1,this._sendValue=void 0}throttle(h){const v=this.tryDurationSelector(h);v&&this.add(this._throttled=(0,n.ft)(v,new n.IY(this)))}tryDurationSelector(h){try{return this.durationSelector(h)}catch(v){return this.destination.error(v),null}}throttlingDone(){const{_throttled:h,_trailing:v}=this;h&&h.unsubscribe(),this._throttled=void 0,v&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}},64398:(de,$e,B)=>{"use strict";B.d($e,{p:()=>m});var n=B(60014),i=B(10328),P=B(93169);function m(v,y=i.P,x=P.d){return C=>C.lift(new s(v,y,x.leading,x.trailing))}class s{constructor(y,x,C,_){this.duration=y,this.scheduler=x,this.leading=C,this.trailing=_}call(y,x){return x.subscribe(new o(y,this.duration,this.scheduler,this.leading,this.trailing))}}class o extends n.L{constructor(y,x,C,_,w){super(y),this.duration=x,this.scheduler=C,this.leading=_,this.trailing=w,this._hasTrailingValue=!1,this._trailingValue=null}_next(y){this.throttled?this.trailing&&(this._trailingValue=y,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(y):this.trailing&&(this._trailingValue=y,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const y=this.throttled;y&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),y.unsubscribe(),this.remove(y),this.throttled=null)}}function h(v){const{subscriber:y}=v;y.clearThrottle()}},72013:(de,$e,B)=>{"use strict";B.d($e,{T:()=>P});var n=B(90213),i=B(60014);function P(h=o){return v=>v.lift(new m(h))}class m{constructor(v){this.errorFactory=v}call(v,y){return y.subscribe(new s(v,this.errorFactory))}}class s extends i.L{constructor(v,y){super(v),this.errorFactory=y,this.hasValue=!1}_next(v){this.hasValue=!0,this.destination.next(v)}_complete(){if(this.hasValue)return this.destination.complete();{let v;try{v=this.errorFactory()}catch(y){v=y}this.destination.error(v)}}}function o(){return new n.K}},61745:(de,$e,B)=>{"use strict";B.d($e,{M:()=>P});var n=B(75266),i=B(38774);function P(...o){return h=>{let v;"function"==typeof o[o.length-1]&&(v=o.pop());const y=o;return h.lift(new m(y,v))}}class m{constructor(h,v){this.observables=h,this.project=v}call(h,v){return v.subscribe(new s(h,this.observables,this.project))}}class s extends n.L{constructor(h,v,y){super(h),this.observables=v,this.project=y,this.toRespond=[];const x=v.length;this.values=new Array(x);for(let C=0;C<x;C++)this.toRespond.push(C);for(let C=0;C<x;C++){let _=v[C];this.add((0,i.D)(this,_,void 0,C))}}notifyNext(h,v,y){this.values[y]=v;const x=this.toRespond;if(x.length>0){const C=x.indexOf(y);-1!==C&&x.splice(C,1)}}notifyComplete(){}_next(h){if(0===this.toRespond.length){const v=[h,...this.values];this.project?this._tryProject(v):this.destination.next(v)}}_tryProject(h){let v;try{v=this.project.apply(this,h)}catch(y){return void this.destination.error(y)}this.destination.next(v)}}},58403:(de,$e,B)=>{"use strict";B.d($e,{r:()=>P});var n=B(52822),i=B(32425);function P(m,s){return new n.y(o=>{const h=new i.w;let v=0;return h.add(s.schedule(function(){v!==m.length?(o.next(m[v++]),o.closed||h.add(this.schedule())):o.complete()})),h})}},98785:(de,$e,B)=>{"use strict";B.d($e,{x:()=>w});var n=B(52822),i=B(32425),P=B(36831);var o=B(58403),h=B(12803);var x=B(25192),C=B(55122);function w(z,R){if(null!=z){if(function y(z){return z&&"function"==typeof z[P.L]}(z))return function m(z,R){return new n.y(N=>{const S=new i.w;return S.add(R.schedule(()=>{const E=z[P.L]();S.add(E.subscribe({next(O){S.add(R.schedule(()=>N.next(O)))},error(O){S.add(R.schedule(()=>N.error(O)))},complete(){S.add(R.schedule(()=>N.complete()))}}))})),S})}(z,R);if((0,x.t)(z))return function s(z,R){return new n.y(N=>{const S=new i.w;return S.add(R.schedule(()=>z.then(E=>{S.add(R.schedule(()=>{N.next(E),S.add(R.schedule(()=>N.complete()))}))},E=>{S.add(R.schedule(()=>N.error(E)))}))),S})}(z,R);if((0,C.z)(z))return(0,o.r)(z,R);if(function _(z){return z&&"function"==typeof z[h.hZ]}(z)||"string"==typeof z)return function v(z,R){if(!z)throw new Error("Iterable cannot be null");return new n.y(N=>{const S=new i.w;let E;return S.add(()=>{E&&"function"==typeof E.return&&E.return()}),S.add(R.schedule(()=>{E=z[h.hZ](),S.add(R.schedule(function(){if(N.closed)return;let O,H;try{const U=E.next();O=U.value,H=U.done}catch(U){return void N.error(U)}H?N.complete():(N.next(O),this.schedule())}))})),S})}(z,R)}throw new TypeError((null!==z&&typeof z||z)+" is not observable")}},58881:(de,$e,B)=>{"use strict";B.d($e,{o:()=>P});var n=B(32425);class i extends n.w{constructor(s,o){super()}schedule(s,o=0){return this}}class P extends i{constructor(s,o){super(s,o),this.scheduler=s,this.work=o,this.pending=!1}schedule(s,o=0){if(this.closed)return this;this.state=s;const h=this.id,v=this.scheduler;return null!=h&&(this.id=this.recycleAsyncId(v,h,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(v,this.id,o),this}requestAsyncId(s,o,h=0){return setInterval(s.flush.bind(s,this),h)}recycleAsyncId(s,o,h=0){if(null!==h&&this.delay===h&&!1===this.pending)return o;clearInterval(o)}execute(s,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(s,o);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(s,o){let v,h=!1;try{this.work(s)}catch(y){h=!0,v=!!y&&y||new Error(y)}if(h)return this.unsubscribe(),v}_unsubscribe(){const s=this.id,o=this.scheduler,h=o.actions,v=h.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==v&&h.splice(v,1),null!=s&&(this.id=this.recycleAsyncId(o,s,null)),this.delay=null}}},52901:(de,$e,B)=>{"use strict";B.d($e,{v:()=>i});var n=B(71925);class i extends n.b{constructor(m,s=n.b.now){super(m,()=>i.delegate&&i.delegate!==this?i.delegate.now():s()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(m,s=0,o){return i.delegate&&i.delegate!==this?i.delegate.schedule(m,s,o):super.schedule(m,s,o)}flush(m){const{actions:s}=this;if(this.active)return void s.push(m);let o;this.active=!0;do{if(o=m.execute(m.state,m.delay))break}while(m=s.shift());if(this.active=!1,o){for(;m=s.shift();)m.unsubscribe();throw o}}}},58310:(de,$e,B)=>{"use strict";B.d($e,{r:()=>o,Z:()=>s});var n=B(58881);class i extends n.o{constructor(v,y){super(v,y),this.scheduler=v,this.work=y}requestAsyncId(v,y,x=0){return null!==x&&x>0?super.requestAsyncId(v,y,x):(v.actions.push(this),v.scheduled||(v.scheduled=requestAnimationFrame(()=>v.flush(null))))}recycleAsyncId(v,y,x=0){if(null!==x&&x>0||null===x&&this.delay>0)return super.recycleAsyncId(v,y,x);0===v.actions.length&&(cancelAnimationFrame(y),v.scheduled=void 0)}}var P=B(52901);class m extends P.v{flush(v){this.active=!0,this.scheduled=void 0;const{actions:y}=this;let x,C=-1,_=y.length;v=v||y.shift();do{if(x=v.execute(v.state,v.delay))break}while(++C<_&&(v=y.shift()));if(this.active=!1,x){for(;++C<_&&(v=y.shift());)v.unsubscribe();throw x}}}const s=new m(i),o=s},15064:(de,$e,B)=>{"use strict";B.d($e,{e:()=>_,E:()=>C});let n=1;const i=Promise.resolve(),P={};function m(w){return w in P&&(delete P[w],!0)}const s={setImmediate(w){const z=n++;return P[z]=!0,i.then(()=>m(z)&&w()),z},clearImmediate(w){m(w)}};var h=B(58881);class v extends h.o{constructor(z,R){super(z,R),this.scheduler=z,this.work=R}requestAsyncId(z,R,N=0){return null!==N&&N>0?super.requestAsyncId(z,R,N):(z.actions.push(this),z.scheduled||(z.scheduled=s.setImmediate(z.flush.bind(z,null))))}recycleAsyncId(z,R,N=0){if(null!==N&&N>0||null===N&&this.delay>0)return super.recycleAsyncId(z,R,N);0===z.actions.length&&(s.clearImmediate(R),z.scheduled=void 0)}}var y=B(52901);class x extends y.v{flush(z){this.active=!0,this.scheduled=void 0;const{actions:R}=this;let N,S=-1,E=R.length;z=z||R.shift();do{if(N=z.execute(z.state,z.delay))break}while(++S<E&&(z=R.shift()));if(this.active=!1,N){for(;++S<E&&(z=R.shift());)z.unsubscribe();throw N}}}const C=new x(v),_=C},10328:(de,$e,B)=>{"use strict";B.d($e,{P:()=>m,z:()=>P});var n=B(58881);const P=new(B(52901).v)(n.o),m=P},77122:(de,$e,B)=>{"use strict";B.d($e,{c:()=>o,N:()=>s});var n=B(58881);class i extends n.o{constructor(v,y){super(v,y),this.scheduler=v,this.work=y}schedule(v,y=0){return y>0?super.schedule(v,y):(this.delay=y,this.state=v,this.scheduler.flush(this),this)}execute(v,y){return y>0||this.closed?super.execute(v,y):this._execute(v,y)}requestAsyncId(v,y,x=0){return null!==x&&x>0||null===x&&this.delay>0?super.requestAsyncId(v,y,x):v.flush(this)}}var P=B(52901);class m extends P.v{}const s=new m(i),o=s},12803:(de,$e,B)=>{"use strict";B.d($e,{hZ:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},36831:(de,$e,B)=>{"use strict";B.d($e,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},61482:(de,$e,B)=>{"use strict";B.d($e,{b:()=>n});const n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},2846:(de,$e,B)=>{"use strict";B.d($e,{W:()=>i});const i=(()=>{function P(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return P.prototype=Object.create(Error.prototype),P})()},90213:(de,$e,B)=>{"use strict";B.d($e,{K:()=>i});const i=(()=>{function P(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return P.prototype=Object.create(Error.prototype),P})()},89086:(de,$e,B)=>{"use strict";B.d($e,{N:()=>i});const i=(()=>{function P(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return P.prototype=Object.create(Error.prototype),P})()},9906:(de,$e,B)=>{"use strict";B.d($e,{W:()=>i});const i=(()=>{function P(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return P.prototype=Object.create(Error.prototype),P})()},37875:(de,$e,B)=>{"use strict";B.d($e,{B:()=>i});const i=(()=>{function P(m){return Error.call(this),this.message=m?`${m.length} errors occurred during unsubscription:\n${m.map((s,o)=>`${o+1}) ${s.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=m,this}return P.prototype=Object.create(Error.prototype),P})()},85739:(de,$e,B)=>{"use strict";B.d($e,{_:()=>i});var n=B(60014);function i(P){for(;P;){const{closed:m,destination:s,isStopped:o}=P;if(m||o)return!1;P=s&&s instanceof n.L?s:null}return!0}},28897:(de,$e,B)=>{"use strict";function n(i){setTimeout(()=>{throw i},0)}B.d($e,{z:()=>n})},1356:(de,$e,B)=>{"use strict";function n(i){return i}B.d($e,{y:()=>n})},94327:(de,$e,B)=>{"use strict";B.d($e,{k:()=>n});const n=Array.isArray||(i=>i&&"number"==typeof i.length)},55122:(de,$e,B)=>{"use strict";B.d($e,{z:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},71293:(de,$e,B)=>{"use strict";function n(i){return i instanceof Date&&!isNaN(+i)}B.d($e,{J:()=>n})},51900:(de,$e,B)=>{"use strict";function n(i){return"function"==typeof i}B.d($e,{m:()=>n})},7269:(de,$e,B)=>{"use strict";B.d($e,{k:()=>i});var n=B(94327);function i(P){return!(0,n.k)(P)&&P-parseFloat(P)+1>=0}},36549:(de,$e,B)=>{"use strict";function n(i){return null!==i&&"object"==typeof i}B.d($e,{K:()=>n})},40020:(de,$e,B)=>{"use strict";B.d($e,{b:()=>i});var n=B(52822);function i(P){return!!P&&(P instanceof n.y||"function"==typeof P.lift&&"function"==typeof P.subscribe)}},25192:(de,$e,B)=>{"use strict";function n(i){return!!i&&"function"!=typeof i.subscribe&&"function"==typeof i.then}B.d($e,{t:()=>n})},27507:(de,$e,B)=>{"use strict";function n(i){return i&&"function"==typeof i.schedule}B.d($e,{K:()=>n})},76882:(de,$e,B)=>{"use strict";function n(){}B.d($e,{Z:()=>n})},6533:(de,$e,B)=>{"use strict";function n(i,P){function m(){return!m.pred.apply(m.thisArg,arguments)}return m.pred=i,m.thisArg=P,m}B.d($e,{f:()=>n})},36800:(de,$e,B)=>{"use strict";B.d($e,{U:()=>P,z:()=>i});var n=B(1356);function i(...m){return P(m)}function P(m){return 0===m.length?n.y:1===m.length?m[0]:function(o){return m.reduce((h,v)=>v(h),o)}}},63956:(de,$e,B)=>{"use strict";B.d($e,{s:()=>C});var n=B(5414),i=B(28897);var m=B(12803);var o=B(36831);var v=B(55122),y=B(25192),x=B(36549);const C=_=>{if(_&&"function"==typeof _[o.L])return(_=>w=>{const z=_[o.L]();if("function"!=typeof z.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return z.subscribe(w)})(_);if((0,v.z)(_))return(0,n.V)(_);if((0,y.t)(_))return(_=>w=>(_.then(z=>{w.closed||(w.next(z),w.complete())},z=>w.error(z)).then(null,i.z),w))(_);if(_&&"function"==typeof _[m.hZ])return(_=>w=>{const z=_[m.hZ]();for(;;){let R;try{R=z.next()}catch(N){return w.error(N),w}if(R.done){w.complete();break}if(w.next(R.value),w.closed)break}return"function"==typeof z.return&&w.add(()=>{z.return&&z.return()}),w})(_);{const z=`You provided ${(0,x.K)(_)?"an invalid object":`'${_}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(z)}}},5414:(de,$e,B)=>{"use strict";B.d($e,{V:()=>n});const n=i=>P=>{for(let m=0,s=i.length;m<s&&!P.closed;m++)P.next(i[m]);P.complete()}},38774:(de,$e,B)=>{"use strict";B.d($e,{D:()=>s});var n=B(60014);class i extends n.L{constructor(h,v,y){super(),this.parent=h,this.outerValue=v,this.outerIndex=y,this.index=0}_next(h){this.parent.notifyNext(this.outerValue,h,this.outerIndex,this.index++,this)}_error(h){this.parent.notifyError(h,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var P=B(63956),m=B(52822);function s(o,h,v,y,x=new i(o,v,y)){if(!x.closed)return h instanceof m.y?h.subscribe(x):(0,P.s)(h)(x)}},12106:(de,$e,B)=>{"use strict";B.r($e),B.d($e,{audit:()=>n.U,auditTime:()=>i.e,buffer:()=>P.f,bufferCount:()=>s,bufferTime:()=>C,bufferToggle:()=>U,bufferWhen:()=>pe,catchError:()=>De.K,combineAll:()=>rt,combineLatest:()=>Xt,concat:()=>_n,concatAll:()=>hn.u,concatMap:()=>vn.b,concatMapTo:()=>xn,count:()=>dn,debounce:()=>cn.D,debounceTime:()=>yn.b,defaultIfEmpty:()=>qn.d,delay:()=>oi.g,delayWhen:()=>Xn,dematerialize:()=>yt,distinct:()=>xt,distinctUntilChanged:()=>Jt.x,distinctUntilKeyChanged:()=>lt,elementAt:()=>ti,endWith:()=>Ai.l,every:()=>ki,exhaust:()=>_i,exhaustMap:()=>Pn,expand:()=>mi,filter:()=>ln.h,finalize:()=>gr.x,find:()=>Li,findIndex:()=>Xr,first:()=>uo.P,flatMap:()=>qr.VS,groupBy:()=>fa.v,ignoreElements:()=>ai,isEmpty:()=>Nn,last:()=>Fi.Z,map:()=>wr.U,mapTo:()=>Yr,materialize:()=>ks,max:()=>Ti,merge:()=>Vi,mergeAll:()=>To.J,mergeMap:()=>qr.zg,mergeMapTo:()=>_o,mergeScan:()=>jo,min:()=>Ho,multicast:()=>Dr.O,observeOn:()=>Os.QV,onErrorResumeNext:()=>cs,pairwise:()=>ys.G,partition:()=>Ps,pluck:()=>ji.j,publish:()=>Us,publishBehavior:()=>ho,publishLast:()=>zs,publishReplay:()=>bo._,race:()=>yo,reduce:()=>mr.u,refCount:()=>or.x,repeat:()=>Po,repeatWhen:()=>Xo,retry:()=>Ws,retryWhen:()=>Jo,sample:()=>q,sampleTime:()=>Be,scan:()=>Wt.R,sequenceEqual:()=>Pt,share:()=>An.B,shareReplay:()=>Qn.d,single:()=>Ui,skip:()=>Ri.T,skipLast:()=>Yi,skipUntil:()=>Ir,skipWhile:()=>Go,startWith:()=>Cs.O,subscribeOn:()=>gt,switchAll:()=>ke,switchMap:()=>Cn.w,switchMapTo:()=>oe,take:()=>Mn.q,takeLast:()=>pt.h,takeUntil:()=>zt.R,takeWhile:()=>Dt,tap:()=>Ei.b,throttle:()=>xr.P,throttleTime:()=>ft.p,throwIfEmpty:()=>Jn.T,timeInterval:()=>Xe,timeout:()=>Bl,timeoutWith:()=>io,timestamp:()=>bi,toArray:()=>Gs,window:()=>Na,windowCount:()=>Ro,windowTime:()=>c1,windowToggle:()=>Da,windowWhen:()=>Rs,withLatestFrom:()=>jl.M,zip:()=>Fl,zipAll:()=>Kl});var n=B(76763),i=B(71695),P=B(93791),m=B(60014);function s(jt,Ie=null){return function(Vt){return Vt.lift(new o(jt,Ie))}}class o{constructor(Ie,Ze){this.bufferSize=Ie,this.startBufferEvery=Ze,this.subscriberClass=Ze&&Ie!==Ze?v:h}call(Ie,Ze){return Ze.subscribe(new this.subscriberClass(Ie,this.bufferSize,this.startBufferEvery))}}class h extends m.L{constructor(Ie,Ze){super(Ie),this.bufferSize=Ze,this.buffer=[]}_next(Ie){const Ze=this.buffer;Ze.push(Ie),Ze.length==this.bufferSize&&(this.destination.next(Ze),this.buffer=[])}_complete(){const Ie=this.buffer;Ie.length>0&&this.destination.next(Ie),super._complete()}}class v extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.bufferSize=Ze,this.startBufferEvery=Vt,this.buffers=[],this.count=0}_next(Ie){const{bufferSize:Ze,startBufferEvery:Vt,buffers:Zn,count:Oi}=this;this.count++,Oi%Vt==0&&Zn.push([]);for(let cr=Zn.length;cr--;){const es=Zn[cr];es.push(Ie),es.length===Ze&&(Zn.splice(cr,1),this.destination.next(es))}}_complete(){const{buffers:Ie,destination:Ze}=this;for(;Ie.length>0;){let Vt=Ie.shift();Vt.length>0&&Ze.next(Vt)}super._complete()}}var y=B(10328),x=B(27507);function C(jt){let Ie=arguments.length,Ze=y.P;(0,x.K)(arguments[arguments.length-1])&&(Ze=arguments[arguments.length-1],Ie--);let Vt=null;Ie>=2&&(Vt=arguments[1]);let Zn=Number.POSITIVE_INFINITY;return Ie>=3&&(Zn=arguments[2]),function(cr){return cr.lift(new _(jt,Vt,Zn,Ze))}}class _{constructor(Ie,Ze,Vt,Zn){this.bufferTimeSpan=Ie,this.bufferCreationInterval=Ze,this.maxBufferSize=Vt,this.scheduler=Zn}call(Ie,Ze){return Ze.subscribe(new z(Ie,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class w{constructor(){this.buffer=[]}}class z extends m.L{constructor(Ie,Ze,Vt,Zn,Oi){super(Ie),this.bufferTimeSpan=Ze,this.bufferCreationInterval=Vt,this.maxBufferSize=Zn,this.scheduler=Oi,this.contexts=[];const cr=this.openContext();if(this.timespanOnly=null==Vt||Vt<0,this.timespanOnly){const es={subscriber:this,context:cr,bufferTimeSpan:Ze};this.add(cr.closeAction=Oi.schedule(R,Ze,es))}else{const es={subscriber:this,context:cr},ya={bufferTimeSpan:Ze,bufferCreationInterval:Vt,subscriber:this,scheduler:Oi};this.add(cr.closeAction=Oi.schedule(S,Ze,es)),this.add(Oi.schedule(N,Vt,ya))}}_next(Ie){const Ze=this.contexts,Vt=Ze.length;let Zn;for(let Oi=0;Oi<Vt;Oi++){const cr=Ze[Oi],es=cr.buffer;es.push(Ie),es.length==this.maxBufferSize&&(Zn=cr)}Zn&&this.onBufferFull(Zn)}_error(Ie){this.contexts.length=0,super._error(Ie)}_complete(){const{contexts:Ie,destination:Ze}=this;for(;Ie.length>0;){const Vt=Ie.shift();Ze.next(Vt.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(Ie){this.closeContext(Ie);const Ze=Ie.closeAction;if(Ze.unsubscribe(),this.remove(Ze),!this.closed&&this.timespanOnly){Ie=this.openContext();const Vt=this.bufferTimeSpan,Zn={subscriber:this,context:Ie,bufferTimeSpan:Vt};this.add(Ie.closeAction=this.scheduler.schedule(R,Vt,Zn))}}openContext(){const Ie=new w;return this.contexts.push(Ie),Ie}closeContext(Ie){this.destination.next(Ie.buffer);const Ze=this.contexts;(Ze?Ze.indexOf(Ie):-1)>=0&&Ze.splice(Ze.indexOf(Ie),1)}}function R(jt){const Ie=jt.subscriber,Ze=jt.context;Ze&&Ie.closeContext(Ze),Ie.closed||(jt.context=Ie.openContext(),jt.context.closeAction=this.schedule(jt,jt.bufferTimeSpan))}function N(jt){const{bufferCreationInterval:Ie,bufferTimeSpan:Ze,subscriber:Vt,scheduler:Zn}=jt,Oi=Vt.openContext();Vt.closed||(Vt.add(Oi.closeAction=Zn.schedule(S,Ze,{subscriber:Vt,context:Oi})),this.schedule(jt,Ie))}function S(jt){const{subscriber:Ie,context:Ze}=jt;Ie.closeContext(Ze)}var E=B(32425),O=B(38774),H=B(75266);function U(jt,Ie){return function(Vt){return Vt.lift(new X(jt,Ie))}}class X{constructor(Ie,Ze){this.openings=Ie,this.closingSelector=Ze}call(Ie,Ze){return Ze.subscribe(new W(Ie,this.openings,this.closingSelector))}}class W extends H.L{constructor(Ie,Ze,Vt){super(Ie),this.closingSelector=Vt,this.contexts=[],this.add((0,O.D)(this,Ze))}_next(Ie){const Ze=this.contexts,Vt=Ze.length;for(let Zn=0;Zn<Vt;Zn++)Ze[Zn].buffer.push(Ie)}_error(Ie){const Ze=this.contexts;for(;Ze.length>0;){const Vt=Ze.shift();Vt.subscription.unsubscribe(),Vt.buffer=null,Vt.subscription=null}this.contexts=null,super._error(Ie)}_complete(){const Ie=this.contexts;for(;Ie.length>0;){const Ze=Ie.shift();this.destination.next(Ze.buffer),Ze.subscription.unsubscribe(),Ze.buffer=null,Ze.subscription=null}this.contexts=null,super._complete()}notifyNext(Ie,Ze){Ie?this.closeBuffer(Ie):this.openBuffer(Ze)}notifyComplete(Ie){this.closeBuffer(Ie.context)}openBuffer(Ie){try{const Vt=this.closingSelector.call(this,Ie);Vt&&this.trySubscribe(Vt)}catch(Ze){this._error(Ze)}}closeBuffer(Ie){const Ze=this.contexts;if(Ze&&Ie){const{buffer:Vt,subscription:Zn}=Ie;this.destination.next(Vt),Ze.splice(Ze.indexOf(Ie),1),this.remove(Zn),Zn.unsubscribe()}}trySubscribe(Ie){const Ze=this.contexts,Zn=new E.w,Oi={buffer:[],subscription:Zn};Ze.push(Oi);const cr=(0,O.D)(this,Ie,Oi);!cr||cr.closed?this.closeBuffer(Oi):(cr.context=Oi,this.add(cr),Zn.add(cr))}}var re=B(52831);function pe(jt){return function(Ie){return Ie.lift(new Ae(jt))}}class Ae{constructor(Ie){this.closingSelector=Ie}call(Ie,Ze){return Ze.subscribe(new Se(Ie,this.closingSelector))}}class Se extends re.Ds{constructor(Ie,Ze){super(Ie),this.closingSelector=Ze,this.subscribing=!1,this.openBuffer()}_next(Ie){this.buffer.push(Ie)}_complete(){const Ie=this.buffer;Ie&&this.destination.next(Ie),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let{closingSubscription:Ie}=this;Ie&&(this.remove(Ie),Ie.unsubscribe());const Ze=this.buffer;let Vt;this.buffer&&this.destination.next(Ze),this.buffer=[];try{const{closingSelector:Zn}=this;Vt=Zn()}catch(Zn){return this.error(Zn)}Ie=new E.w,this.closingSubscription=Ie,this.add(Ie),this.subscribing=!0,Ie.add((0,re.ft)(Vt,new re.IY(this))),this.subscribing=!1}}var De=B(47418),qe=B(19193);function rt(jt){return Ie=>Ie.lift(new qe.Ms(jt))}var ot=B(94327),vt=B(24383);function Xt(...jt){let Ie=null;return"function"==typeof jt[jt.length-1]&&(Ie=jt.pop()),1===jt.length&&(0,ot.k)(jt[0])&&(jt=jt[0].slice()),Ze=>Ze.lift.call((0,vt.D)([Ze,...jt]),new qe.Ms(Ie))}var fn=B(55828);function _n(...jt){return Ie=>Ie.lift.call((0,fn.z)(Ie,...jt))}var hn=B(12692),vn=B(11133);function xn(jt,Ie){return(0,vn.b)(()=>jt,Ie)}function dn(jt){return Ie=>Ie.lift(new Sn(jt,Ie))}class Sn{constructor(Ie,Ze){this.predicate=Ie,this.source=Ze}call(Ie,Ze){return Ze.subscribe(new si(Ie,this.predicate,this.source))}}class si extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.predicate=Ze,this.source=Vt,this.count=0,this.index=0}_next(Ie){this.predicate?this._tryPredicate(Ie):this.count++}_tryPredicate(Ie){let Ze;try{Ze=this.predicate(Ie,this.index++,this.source)}catch(Vt){return void this.destination.error(Vt)}Ze&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}var cn=B(12972),yn=B(80823),qn=B(9701),oi=B(25843),Yn=B(52822);function Xn(jt,Ie){return Ie?Ze=>new pn(Ze,Ie).lift(new gi(jt)):Ze=>Ze.lift(new gi(jt))}class gi{constructor(Ie){this.delayDurationSelector=Ie}call(Ie,Ze){return Ze.subscribe(new Mt(Ie,this.delayDurationSelector))}}class Mt extends H.L{constructor(Ie,Ze){super(Ie),this.delayDurationSelector=Ze,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(Ie,Ze,Vt,Zn,Oi){this.destination.next(Ie),this.removeSubscription(Oi),this.tryComplete()}notifyError(Ie,Ze){this._error(Ie)}notifyComplete(Ie){const Ze=this.removeSubscription(Ie);Ze&&this.destination.next(Ze),this.tryComplete()}_next(Ie){const Ze=this.index++;try{const Vt=this.delayDurationSelector(Ie,Ze);Vt&&this.tryDelay(Vt,Ie)}catch(Vt){this.destination.error(Vt)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(Ie){Ie.unsubscribe();const Ze=this.delayNotifierSubscriptions.indexOf(Ie);return-1!==Ze&&this.delayNotifierSubscriptions.splice(Ze,1),Ie.outerValue}tryDelay(Ie,Ze){const Vt=(0,O.D)(this,Ie,Ze);Vt&&!Vt.closed&&(this.destination.add(Vt),this.delayNotifierSubscriptions.push(Vt))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class pn extends Yn.y{constructor(Ie,Ze){super(),this.source=Ie,this.subscriptionDelay=Ze}_subscribe(Ie){this.subscriptionDelay.subscribe(new an(Ie,this.source))}}class an extends m.L{constructor(Ie,Ze){super(),this.parent=Ie,this.source=Ze,this.sourceSubscribed=!1}_next(Ie){this.subscribeToSource()}_error(Ie){this.unsubscribe(),this.parent.error(Ie)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function yt(){return function(Ie){return Ie.lift(new Je)}}class Je{call(Ie,Ze){return Ze.subscribe(new ht(Ie))}}class ht extends m.L{constructor(Ie){super(Ie)}_next(Ie){Ie.observe(this.destination)}}function xt(jt,Ie){return Ze=>Ze.lift(new Ht(jt,Ie))}class Ht{constructor(Ie,Ze){this.keySelector=Ie,this.flushes=Ze}call(Ie,Ze){return Ze.subscribe(new $t(Ie,this.keySelector,this.flushes))}}class $t extends re.Ds{constructor(Ie,Ze,Vt){super(Ie),this.keySelector=Ze,this.values=new Set,Vt&&this.add((0,re.ft)(Vt,new re.IY(this)))}notifyNext(){this.values.clear()}notifyError(Ie){this._error(Ie)}_next(Ie){this.keySelector?this._useKeySelector(Ie):this._finalizeNext(Ie,Ie)}_useKeySelector(Ie){let Ze;const{destination:Vt}=this;try{Ze=this.keySelector(Ie)}catch(Zn){return void Vt.error(Zn)}this._finalizeNext(Ze,Ie)}_finalizeNext(Ie,Ze){const{values:Vt}=this;Vt.has(Ie)||(Vt.add(Ie),this.destination.next(Ze))}}var Jt=B(53298);function lt(jt,Ie){return(0,Jt.x)((Ze,Vt)=>Ie?Ie(Ze[jt],Vt[jt]):Ze[jt]===Vt[jt])}var Ft=B(2846),ln=B(59151),Jn=B(72013),Mn=B(83910);function ti(jt,Ie){if(jt<0)throw new Ft.W;const Ze=arguments.length>=2;return Vt=>Vt.pipe((0,ln.h)((Zn,Oi)=>Oi===jt),(0,Mn.q)(1),Ze?(0,qn.d)(Ie):(0,Jn.T)(()=>new Ft.W))}var Ai=B(17295);function ki(jt,Ie){return Ze=>Ze.lift(new Ki(jt,Ie,Ze))}class Ki{constructor(Ie,Ze,Vt){this.predicate=Ie,this.thisArg=Ze,this.source=Vt}call(Ie,Ze){return Ze.subscribe(new Hi(Ie,this.predicate,this.thisArg,this.source))}}class Hi extends m.L{constructor(Ie,Ze,Vt,Zn){super(Ie),this.predicate=Ze,this.thisArg=Vt,this.source=Zn,this.index=0,this.thisArg=Vt||this}notifyComplete(Ie){this.destination.next(Ie),this.destination.complete()}_next(Ie){let Ze=!1;try{Ze=this.predicate.call(this.thisArg,Ie,this.index++,this.source)}catch(Vt){return void this.destination.error(Vt)}Ze||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function _i(){return jt=>jt.lift(new pi)}class pi{call(Ie,Ze){return Ze.subscribe(new $n(Ie))}}class $n extends re.Ds{constructor(Ie){super(Ie),this.hasCompleted=!1,this.hasSubscription=!1}_next(Ie){this.hasSubscription||(this.hasSubscription=!0,this.add((0,re.ft)(Ie,new re.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var wr=B(86942);function Pn(jt,Ie){return Ie?Ze=>Ze.pipe(Pn((Vt,Zn)=>(0,vt.D)(jt(Vt,Zn)).pipe((0,wr.U)((Oi,cr)=>Ie(Vt,Oi,Zn,cr))))):Ze=>Ze.lift(new Bn(jt))}class Bn{constructor(Ie){this.project=Ie}call(Ie,Ze){return Ze.subscribe(new ri(Ie,this.project))}}class ri extends re.Ds{constructor(Ie,Ze){super(Ie),this.project=Ze,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(Ie){this.hasSubscription||this.tryNext(Ie)}tryNext(Ie){let Ze;const Vt=this.index++;try{Ze=this.project(Ie,Vt)}catch(Zn){return void this.destination.error(Zn)}this.hasSubscription=!0,this._innerSub(Ze)}_innerSub(Ie){const Ze=new re.IY(this),Vt=this.destination;Vt.add(Ze);const Zn=(0,re.ft)(Ie,Ze);Zn!==Ze&&Vt.add(Zn)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(Ie){this.destination.next(Ie)}notifyError(Ie){this.destination.error(Ie)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function mi(jt,Ie=Number.POSITIVE_INFINITY,Ze){return Ie=(Ie||0)<1?Number.POSITIVE_INFINITY:Ie,Vt=>Vt.lift(new xi(jt,Ie,Ze))}class xi{constructor(Ie,Ze,Vt){this.project=Ie,this.concurrent=Ze,this.scheduler=Vt}call(Ie,Ze){return Ze.subscribe(new Mr(Ie,this.project,this.concurrent,this.scheduler))}}class Mr extends re.Ds{constructor(Ie,Ze,Vt,Zn){super(Ie),this.project=Ze,this.concurrent=Vt,this.scheduler=Zn,this.index=0,this.active=0,this.hasCompleted=!1,Vt<Number.POSITIVE_INFINITY&&(this.buffer=[])}static dispatch(Ie){const{subscriber:Ze,result:Vt,value:Zn,index:Oi}=Ie;Ze.subscribeToProjection(Vt,Zn,Oi)}_next(Ie){const Ze=this.destination;if(Ze.closed)return void this._complete();const Vt=this.index++;if(this.active<this.concurrent){Ze.next(Ie);try{const{project:Zn}=this,Oi=Zn(Ie,Vt);if(this.scheduler){const cr={subscriber:this,result:Oi,value:Ie,index:Vt};this.destination.add(this.scheduler.schedule(Mr.dispatch,0,cr))}else this.subscribeToProjection(Oi,Ie,Vt)}catch(Zn){Ze.error(Zn)}}else this.buffer.push(Ie)}subscribeToProjection(Ie,Ze,Vt){this.active++,this.destination.add((0,re.ft)(Ie,new re.IY(this)))}_complete(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}notifyNext(Ie){this._next(Ie)}notifyComplete(){const Ie=this.buffer;this.active--,Ie&&Ie.length>0&&this._next(Ie.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var gr=B(44661);function Li(jt,Ie){if("function"!=typeof jt)throw new TypeError("predicate is not a function");return Ze=>Ze.lift(new Sr(jt,Ze,!1,Ie))}class Sr{constructor(Ie,Ze,Vt,Zn){this.predicate=Ie,this.source=Ze,this.yieldIndex=Vt,this.thisArg=Zn}call(Ie,Ze){return Ze.subscribe(new br(Ie,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class br extends m.L{constructor(Ie,Ze,Vt,Zn,Oi){super(Ie),this.predicate=Ze,this.source=Vt,this.yieldIndex=Zn,this.thisArg=Oi,this.index=0}notifyComplete(Ie){const Ze=this.destination;Ze.next(Ie),Ze.complete(),this.unsubscribe()}_next(Ie){const{predicate:Ze,thisArg:Vt}=this,Zn=this.index++;try{Ze.call(Vt||this,Ie,Zn,this.source)&&this.notifyComplete(this.yieldIndex?Zn:Ie)}catch(Oi){this.destination.error(Oi)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Xr(jt,Ie){return Ze=>Ze.lift(new Sr(jt,Ze,!0,Ie))}var uo=B(25670),fa=B(11135);function ai(){return function(Ie){return Ie.lift(new at)}}class at{call(Ie,Ze){return Ze.subscribe(new Ot(Ie))}}class Ot extends m.L{_next(Ie){}}function Nn(){return jt=>jt.lift(new di)}class di{call(Ie,Ze){return Ze.subscribe(new $i(Ie))}}class $i extends m.L{constructor(Ie){super(Ie)}notifyComplete(Ie){const Ze=this.destination;Ze.next(Ie),Ze.complete()}_next(Ie){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Fi=B(35690);function Yr(jt){return Ie=>Ie.lift(new Mo(jt))}class Mo{constructor(Ie){this.value=Ie}call(Ie,Ze){return Ze.subscribe(new Jr(Ie,this.value))}}class Jr extends m.L{constructor(Ie,Ze){super(Ie),this.value=Ze}_next(Ie){this.destination.next(this.value)}}var Bi=B(27928);function ks(){return function(Ie){return Ie.lift(new so)}}class so{call(Ie,Ze){return Ze.subscribe(new Qo(Ie))}}class Qo extends m.L{constructor(Ie){super(Ie)}_next(Ie){this.destination.next(Bi.P.createNext(Ie))}_error(Ie){const Ze=this.destination;Ze.next(Bi.P.createError(Ie)),Ze.complete()}_complete(){const Ie=this.destination;Ie.next(Bi.P.createComplete()),Ie.complete()}}var mr=B(39045);function Ti(jt){const Ie="function"==typeof jt?(Ze,Vt)=>jt(Ze,Vt)>0?Ze:Vt:(Ze,Vt)=>Ze>Vt?Ze:Vt;return(0,mr.u)(Ie)}var Cr=B(88623);function Vi(...jt){return Ie=>Ie.lift.call((0,Cr.T)(Ie,...jt))}var To=B(76675),qr=B(80522);function _o(jt,Ie,Ze=Number.POSITIVE_INFINITY){return"function"==typeof Ie?(0,qr.zg)(()=>jt,Ie,Ze):("number"==typeof Ie&&(Ze=Ie),(0,qr.zg)(()=>jt,Ze))}function jo(jt,Ie,Ze=Number.POSITIVE_INFINITY){return Vt=>Vt.lift(new Do(jt,Ie,Ze))}class Do{constructor(Ie,Ze,Vt){this.accumulator=Ie,this.seed=Ze,this.concurrent=Vt}call(Ie,Ze){return Ze.subscribe(new gs(Ie,this.accumulator,this.seed,this.concurrent))}}class gs extends re.Ds{constructor(Ie,Ze,Vt,Zn){super(Ie),this.accumulator=Ze,this.acc=Vt,this.concurrent=Zn,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(Ie){if(this.active<this.concurrent){const Ze=this.index++,Vt=this.destination;let Zn;try{const{accumulator:Oi}=this;Zn=Oi(this.acc,Ie,Ze)}catch(Oi){return Vt.error(Oi)}this.active++,this._innerSub(Zn)}else this.buffer.push(Ie)}_innerSub(Ie){const Ze=new re.IY(this),Vt=this.destination;Vt.add(Ze);const Zn=(0,re.ft)(Ie,Ze);Zn!==Ze&&Vt.add(Zn)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()}notifyNext(Ie){const{destination:Ze}=this;this.acc=Ie,this.hasValue=!0,Ze.next(Ie)}notifyComplete(){const Ie=this.buffer;this.active--,Ie.length>0?this._next(Ie.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function Ho(jt){const Ie="function"==typeof jt?(Ze,Vt)=>jt(Ze,Vt)<0?Ze:Vt:(Ze,Vt)=>Ze<Vt?Ze:Vt;return(0,mr.u)(Ie)}var Dr=B(72787),Os=B(63888);function cs(...jt){return 1===jt.length&&(0,ot.k)(jt[0])&&(jt=jt[0]),Ie=>Ie.lift(new Qr(jt))}class Qr{constructor(Ie){this.nextSources=Ie}call(Ie,Ze){return Ze.subscribe(new ao(Ie,this.nextSources))}}class ao extends re.Ds{constructor(Ie,Ze){super(Ie),this.destination=Ie,this.nextSources=Ze}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(Ie){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const Ie=this.nextSources.shift();if(Ie){const Ze=new re.IY(this),Vt=this.destination;Vt.add(Ze);const Zn=(0,re.ft)(Ie,Ze);Zn!==Ze&&Vt.add(Zn)}else this.destination.complete()}}var ys=B(89221),_a=B(6533);function Ps(jt,Ie){return Ze=>[(0,ln.h)(jt,Ie)(Ze),(0,ln.h)((0,_a.f)(jt,Ie))(Ze)]}var ji=B(52428),So=B(92218);function Us(jt){return jt?(0,Dr.O)(()=>new So.xQ,jt):(0,Dr.O)(new So.xQ)}var no=B(84505);function ho(jt){return Ie=>(0,Dr.O)(new no.X(jt))(Ie)}var ra=B(77297);function zs(){return jt=>(0,Dr.O)(new ra.c)(jt)}var bo=B(94989),yr=B(65763);function yo(...jt){return function(Ze){return 1===jt.length&&(0,ot.k)(jt[0])&&(jt=jt[0]),Ze.lift.call((0,yr.S3)(Ze,...jt))}}var Fo=B(26439);function Po(jt=-1){return Ie=>0===jt?(0,Fo.c)():jt<0?Ie.lift(new Or(-1,Ie)):Ie.lift(new Or(jt-1,Ie))}class Or{constructor(Ie,Ze){this.count=Ie,this.source=Ze}call(Ie,Ze){return Ze.subscribe(new rs(Ie,this.count,this.source))}}class rs extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.count=Ze,this.source=Vt}complete(){if(!this.isStopped){const{source:Ie,count:Ze}=this;if(0===Ze)return super.complete();Ze>-1&&(this.count=Ze-1),Ie.subscribe(this._unsubscribeAndRecycle())}}}function Xo(jt){return Ie=>Ie.lift(new ba(jt))}class ba{constructor(Ie){this.notifier=Ie}call(Ie,Ze){return Ze.subscribe(new xs(Ie,this.notifier,Ze))}}class xs extends re.Ds{constructor(Ie,Ze,Vt){super(Ie),this.notifier=Ze,this.source=Vt,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:Ie,retriesSubscription:Ze}=this;Ie&&(Ie.unsubscribe(),this.notifications=void 0),Ze&&(Ze.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:Ie}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=Ie,this}subscribeToRetries(){let Ie;this.notifications=new So.xQ;try{const{notifier:Ze}=this;Ie=Ze(this.notifications)}catch(Ze){return super.complete()}this.retries=Ie,this.retriesSubscription=(0,re.ft)(Ie,new re.IY(this))}}function Ws(jt=-1){return Ie=>Ie.lift(new aa(jt,Ie))}class aa{constructor(Ie,Ze){this.count=Ie,this.source=Ze}call(Ie,Ze){return Ze.subscribe(new js(Ie,this.count,this.source))}}class js extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.count=Ze,this.source=Vt}error(Ie){if(!this.isStopped){const{source:Ze,count:Vt}=this;if(0===Vt)return super.error(Ie);Vt>-1&&(this.count=Vt-1),Ze.subscribe(this._unsubscribeAndRecycle())}}}function Jo(jt){return Ie=>Ie.lift(new Vo(jt,Ie))}class Vo{constructor(Ie,Ze){this.notifier=Ie,this.source=Ze}call(Ie,Ze){return Ze.subscribe(new Io(Ie,this.notifier,this.source))}}class Io extends re.Ds{constructor(Ie,Ze,Vt){super(Ie),this.notifier=Ze,this.source=Vt}error(Ie){if(!this.isStopped){let Ze=this.errors,Vt=this.retries,Zn=this.retriesSubscription;if(Vt)this.errors=void 0,this.retriesSubscription=void 0;else{Ze=new So.xQ;try{const{notifier:Oi}=this;Vt=Oi(Ze)}catch(Oi){return super.error(Oi)}Zn=(0,re.ft)(Vt,new re.IY(this))}this._unsubscribeAndRecycle(),this.errors=Ze,this.retries=Vt,this.retriesSubscription=Zn,Ze.next(Ie)}}_unsubscribe(){const{errors:Ie,retriesSubscription:Ze}=this;Ie&&(Ie.unsubscribe(),this.errors=void 0),Ze&&(Ze.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:Ie}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=Ie,this.source.subscribe(this)}}var or=B(38331);function q(jt){return Ie=>Ie.lift(new ne(jt))}class ne{constructor(Ie){this.notifier=Ie}call(Ie,Ze){const Vt=new me(Ie),Zn=Ze.subscribe(Vt);return Zn.add((0,re.ft)(this.notifier,new re.IY(Vt))),Zn}}class me extends re.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(Ie){this.value=Ie,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function Be(jt,Ie=y.P){return Ze=>Ze.lift(new et(jt,Ie))}class et{constructor(Ie,Ze){this.period=Ie,this.scheduler=Ze}call(Ie,Ze){return Ze.subscribe(new It(Ie,this.period,this.scheduler))}}class It extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.period=Ze,this.scheduler=Vt,this.hasValue=!1,this.add(Vt.schedule(Ut,Ze,{subscriber:this,period:Ze}))}_next(Ie){this.lastValue=Ie,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function Ut(jt){let{subscriber:Ie,period:Ze}=jt;Ie.notifyNext(),this.schedule(jt,Ze)}var Wt=B(32647);function Pt(jt,Ie){return Ze=>Ze.lift(new Et(jt,Ie))}class Et{constructor(Ie,Ze){this.compareTo=Ie,this.comparator=Ze}call(Ie,Ze){return Ze.subscribe(new Dn(Ie,this.compareTo,this.comparator))}}class Dn extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.compareTo=Ze,this.comparator=Vt,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(Ze.subscribe(new Ln(Ie,this)))}_next(Ie){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(Ie),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:Ie,_b:Ze,comparator:Vt}=this;for(;Ie.length>0&&Ze.length>0;){let Zn=Ie.shift(),Oi=Ze.shift(),cr=!1;try{cr=Vt?Vt(Zn,Oi):Zn===Oi}catch(es){this.destination.error(es)}cr||this.emit(!1)}}emit(Ie){const{destination:Ze}=this;Ze.next(Ie),Ze.complete()}nextB(Ie){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(Ie),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Ln extends m.L{constructor(Ie,Ze){super(Ie),this.parent=Ze}_next(Ie){this.parent.nextB(Ie)}_error(Ie){this.parent.error(Ie),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var An=B(24514),Qn=B(79128),ui=B(90213);function Ui(jt){return Ie=>Ie.lift(new hr(jt,Ie))}class hr{constructor(Ie,Ze){this.predicate=Ie,this.source=Ze}call(Ie,Ze){return Ze.subscribe(new kr(Ie,this.predicate,this.source))}}class kr extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.predicate=Ze,this.source=Vt,this.seenValue=!1,this.index=0}applySingleValue(Ie){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=Ie)}_next(Ie){const Ze=this.index++;this.predicate?this.tryNext(Ie,Ze):this.applySingleValue(Ie)}tryNext(Ie,Ze){try{this.predicate(Ie,Ze,this.source)&&this.applySingleValue(Ie)}catch(Vt){this.destination.error(Vt)}}_complete(){const Ie=this.destination;this.index>0?(Ie.next(this.seenValue?this.singleValue:void 0),Ie.complete()):Ie.error(new ui.K)}}var Ri=B(16276);function Yi(jt){return Ie=>Ie.lift(new In(jt))}class In{constructor(Ie){if(this._skipCount=Ie,this._skipCount<0)throw new Ft.W}call(Ie,Ze){return 0===this._skipCount?Ze.subscribe(new m.L(Ie)):Ze.subscribe(new Pr(Ie,this._skipCount))}}class Pr extends m.L{constructor(Ie,Ze){super(Ie),this._skipCount=Ze,this._count=0,this._ring=new Array(Ze)}_next(Ie){const Ze=this._skipCount,Vt=this._count++;if(Vt<Ze)this._ring[Vt]=Ie;else{const Zn=Vt%Ze,Oi=this._ring,cr=Oi[Zn];Oi[Zn]=Ie,this.destination.next(cr)}}}function Ir(jt){return Ie=>Ie.lift(new ir(jt))}class ir{constructor(Ie){this.notifier=Ie}call(Ie,Ze){return Ze.subscribe(new ds(Ie,this.notifier))}}class ds extends re.Ds{constructor(Ie,Ze){super(Ie),this.hasValue=!1;const Vt=new re.IY(this);this.add(Vt),this.innerSubscription=Vt;const Zn=(0,re.ft)(Ze,Vt);Zn!==Vt&&(this.add(Zn),this.innerSubscription=Zn)}_next(Ie){this.hasValue&&super._next(Ie)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function Go(jt){return Ie=>Ie.lift(new ko(jt))}class ko{constructor(Ie){this.predicate=Ie}call(Ie,Ze){return Ze.subscribe(new zo(Ie,this.predicate))}}class zo extends m.L{constructor(Ie,Ze){super(Ie),this.predicate=Ze,this.skipping=!0,this.index=0}_next(Ie){const Ze=this.destination;this.skipping&&this.tryCallPredicate(Ie),this.skipping||Ze.next(Ie)}tryCallPredicate(Ie){try{const Ze=this.predicate(Ie,this.index++);this.skipping=Boolean(Ze)}catch(Ze){this.destination.error(Ze)}}}var Cs=B(25722),Rr=B(15064),Qe=B(7269);class Oe extends Yn.y{constructor(Ie,Ze=0,Vt=Rr.e){super(),this.source=Ie,this.delayTime=Ze,this.scheduler=Vt,(!(0,Qe.k)(Ze)||Ze<0)&&(this.delayTime=0),(!Vt||"function"!=typeof Vt.schedule)&&(this.scheduler=Rr.e)}static create(Ie,Ze=0,Vt=Rr.e){return new Oe(Ie,Ze,Vt)}static dispatch(Ie){const{source:Ze,subscriber:Vt}=Ie;return this.add(Ze.subscribe(Vt))}_subscribe(Ie){const Ze=this.delayTime,Vt=this.source;return this.scheduler.schedule(Oe.dispatch,Ze,{source:Vt,subscriber:Ie})}}function gt(jt,Ie=0){return function(Vt){return Vt.lift(new Nt(jt,Ie))}}class Nt{constructor(Ie,Ze){this.scheduler=Ie,this.delay=Ze}call(Ie,Ze){return new Oe(Ze,this.delay,this.scheduler).subscribe(Ie)}}var Cn=B(59095),ze=B(1356);function ke(){return(0,Cn.w)(ze.y)}function oe(jt,Ie){return Ie?(0,Cn.w)(()=>jt,Ie):(0,Cn.w)(()=>jt)}var pt=B(52160),zt=B(85921);function Dt(jt,Ie=!1){return Ze=>Ze.lift(new En(jt,Ie))}class En{constructor(Ie,Ze){this.predicate=Ie,this.inclusive=Ze}call(Ie,Ze){return Ze.subscribe(new ci(Ie,this.predicate,this.inclusive))}}class ci extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.predicate=Ze,this.inclusive=Vt,this.index=0}_next(Ie){const Ze=this.destination;let Vt;try{Vt=this.predicate(Ie,this.index++)}catch(Zn){return void Ze.error(Zn)}this.nextOrComplete(Ie,Vt)}nextOrComplete(Ie,Ze){const Vt=this.destination;Boolean(Ze)?Vt.next(Ie):(this.inclusive&&Vt.next(Ie),Vt.complete())}}var Ei=B(88759),xr=B(93169),ft=B(64398),ye=B(1635);function Xe(jt=y.P){return Ie=>(0,ye.P)(()=>Ie.pipe((0,Wt.R)(({current:Ze},Vt)=>({value:Vt,current:jt.now(),last:Ze}),{current:jt.now(),value:void 0,last:void 0}),(0,wr.U)(({current:Ze,last:Vt,value:Zn})=>new tn(Zn,Ze-Vt))))}class tn{constructor(Ie,Ze){this.value=Ie,this.interval=Ze}}var hi=B(9906),zr=B(71293);function io(jt,Ie,Ze=y.P){return Vt=>{let Zn=(0,zr.J)(jt),Oi=Zn?+jt-Ze.now():Math.abs(jt);return Vt.lift(new $l(Oi,Zn,Ie,Ze))}}class $l{constructor(Ie,Ze,Vt,Zn){this.waitFor=Ie,this.absoluteTimeout=Ze,this.withObservable=Vt,this.scheduler=Zn}call(Ie,Ze){return Ze.subscribe(new pa(Ie,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class pa extends re.Ds{constructor(Ie,Ze,Vt,Zn,Oi){super(Ie),this.absoluteTimeout=Ze,this.waitFor=Vt,this.withObservable=Zn,this.scheduler=Oi,this.scheduleTimeout()}static dispatchTimeout(Ie){const{withObservable:Ze}=Ie;Ie._unsubscribeAndRecycle(),Ie.add((0,re.ft)(Ze,new re.IY(Ie)))}scheduleTimeout(){const{action:Ie}=this;Ie?this.action=Ie.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(pa.dispatchTimeout,this.waitFor,this))}_next(Ie){this.absoluteTimeout||this.scheduleTimeout(),super._next(Ie)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var nl=B(66587);function Bl(jt,Ie=y.P){return io(jt,(0,nl._)(new hi.W),Ie)}function bi(jt=y.P){return(0,wr.U)(Ie=>new qo(Ie,jt.now()))}class qo{constructor(Ie,Ze){this.value=Ie,this.timestamp=Ze}}function La(jt,Ie,Ze){return 0===Ze?[Ie]:(jt.push(Ie),jt)}function Gs(){return(0,mr.u)(La,[])}function Na(jt){return function(Ze){return Ze.lift(new ja(jt))}}class ja{constructor(Ie){this.windowBoundaries=Ie}call(Ie,Ze){const Vt=new Fs(Ie),Zn=Ze.subscribe(Vt);return Zn.closed||Vt.add((0,re.ft)(this.windowBoundaries,new re.IY(Vt))),Zn}}class Fs extends re.Ds{constructor(Ie){super(Ie),this.window=new So.xQ,Ie.next(this.window)}notifyNext(){this.openWindow()}notifyError(Ie){this._error(Ie)}notifyComplete(){this._complete()}_next(Ie){this.window.next(Ie)}_error(Ie){this.window.error(Ie),this.destination.error(Ie)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const Ie=this.window;Ie&&Ie.complete();const Ze=this.destination,Vt=this.window=new So.xQ;Ze.next(Vt)}}function Ro(jt,Ie=0){return function(Vt){return Vt.lift(new ml(jt,Ie))}}class ml{constructor(Ie,Ze){this.windowSize=Ie,this.startWindowEvery=Ze}call(Ie,Ze){return Ze.subscribe(new Uo(Ie,this.windowSize,this.startWindowEvery))}}class Uo extends m.L{constructor(Ie,Ze,Vt){super(Ie),this.destination=Ie,this.windowSize=Ze,this.startWindowEvery=Vt,this.windows=[new So.xQ],this.count=0,Ie.next(this.windows[0])}_next(Ie){const Ze=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,Vt=this.destination,Zn=this.windowSize,Oi=this.windows,cr=Oi.length;for(let ya=0;ya<cr&&!this.closed;ya++)Oi[ya].next(Ie);const es=this.count-Zn+1;if(es>=0&&es%Ze==0&&!this.closed&&Oi.shift().complete(),++this.count%Ze==0&&!this.closed){const ya=new So.xQ;Oi.push(ya),Vt.next(ya)}}_error(Ie){const Ze=this.windows;if(Ze)for(;Ze.length>0&&!this.closed;)Ze.shift().error(Ie);this.destination.error(Ie)}_complete(){const Ie=this.windows;if(Ie)for(;Ie.length>0&&!this.closed;)Ie.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function c1(jt){let Ie=y.P,Ze=null,Vt=Number.POSITIVE_INFINITY;return(0,x.K)(arguments[3])&&(Ie=arguments[3]),(0,x.K)(arguments[2])?Ie=arguments[2]:(0,Qe.k)(arguments[2])&&(Vt=Number(arguments[2])),(0,x.K)(arguments[1])?Ie=arguments[1]:(0,Qe.k)(arguments[1])&&(Ze=Number(arguments[1])),function(Oi){return Oi.lift(new Ea(jt,Ze,Vt,Ie))}}class Ea{constructor(Ie,Ze,Vt,Zn){this.windowTimeSpan=Ie,this.windowCreationInterval=Ze,this.maxWindowSize=Vt,this.scheduler=Zn}call(Ie,Ze){return Ze.subscribe(new us(Ie,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class Ls extends So.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(Ie){this._numberOfNextedValues++,super.next(Ie)}get numberOfNextedValues(){return this._numberOfNextedValues}}class us extends m.L{constructor(Ie,Ze,Vt,Zn,Oi){super(Ie),this.destination=Ie,this.windowTimeSpan=Ze,this.windowCreationInterval=Vt,this.maxWindowSize=Zn,this.scheduler=Oi,this.windows=[];const cr=this.openWindow();if(null!==Vt&&Vt>=0){const es={subscriber:this,window:cr,context:null},ya={windowTimeSpan:Ze,windowCreationInterval:Vt,subscriber:this,scheduler:Oi};this.add(Oi.schedule(vl,Ze,es)),this.add(Oi.schedule(il,Vt,ya))}else{const es={subscriber:this,window:cr,windowTimeSpan:Ze};this.add(Oi.schedule(Ll,Ze,es))}}_next(Ie){const Ze=this.windows,Vt=Ze.length;for(let Zn=0;Zn<Vt;Zn++){const Oi=Ze[Zn];Oi.closed||(Oi.next(Ie),Oi.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(Oi))}}_error(Ie){const Ze=this.windows;for(;Ze.length>0;)Ze.shift().error(Ie);this.destination.error(Ie)}_complete(){const Ie=this.windows;for(;Ie.length>0;){const Ze=Ie.shift();Ze.closed||Ze.complete()}this.destination.complete()}openWindow(){const Ie=new Ls;return this.windows.push(Ie),this.destination.next(Ie),Ie}closeWindow(Ie){Ie.complete();const Ze=this.windows;Ze.splice(Ze.indexOf(Ie),1)}}function Ll(jt){const{subscriber:Ie,windowTimeSpan:Ze,window:Vt}=jt;Vt&&Ie.closeWindow(Vt),jt.window=Ie.openWindow(),this.schedule(jt,Ze)}function il(jt){const{windowTimeSpan:Ie,subscriber:Ze,scheduler:Vt,windowCreationInterval:Zn}=jt,Oi=Ze.openWindow();let es={action:this,subscription:null};const ya={subscriber:Ze,window:Oi,context:es};es.subscription=Vt.schedule(vl,Ie,ya),this.add(es.subscription),this.schedule(jt,Zn)}function vl(jt){const{subscriber:Ie,window:Ze,context:Vt}=jt;Vt&&Vt.action&&Vt.subscription&&Vt.action.remove(Vt.subscription),Ie.closeWindow(Ze)}function Da(jt,Ie){return Ze=>Ze.lift(new d1(jt,Ie))}class d1{constructor(Ie,Ze){this.openings=Ie,this.closingSelector=Ze}call(Ie,Ze){return Ze.subscribe(new x1(Ie,this.openings,this.closingSelector))}}class x1 extends H.L{constructor(Ie,Ze,Vt){super(Ie),this.openings=Ze,this.closingSelector=Vt,this.contexts=[],this.add(this.openSubscription=(0,O.D)(this,Ze,Ze))}_next(Ie){const{contexts:Ze}=this;if(Ze){const Vt=Ze.length;for(let Zn=0;Zn<Vt;Zn++)Ze[Zn].window.next(Ie)}}_error(Ie){const{contexts:Ze}=this;if(this.contexts=null,Ze){const Vt=Ze.length;let Zn=-1;for(;++Zn<Vt;){const Oi=Ze[Zn];Oi.window.error(Ie),Oi.subscription.unsubscribe()}}super._error(Ie)}_complete(){const{contexts:Ie}=this;if(this.contexts=null,Ie){const Ze=Ie.length;let Vt=-1;for(;++Vt<Ze;){const Zn=Ie[Vt];Zn.window.complete(),Zn.subscription.unsubscribe()}}super._complete()}_unsubscribe(){const{contexts:Ie}=this;if(this.contexts=null,Ie){const Ze=Ie.length;let Vt=-1;for(;++Vt<Ze;){const Zn=Ie[Vt];Zn.window.unsubscribe(),Zn.subscription.unsubscribe()}}}notifyNext(Ie,Ze,Vt,Zn,Oi){if(Ie===this.openings){let cr;try{const{closingSelector:kn}=this;cr=kn(Ze)}catch(kn){return this.error(kn)}const es=new So.xQ,ya=new E.w,un={window:es,subscription:ya};this.contexts.push(un);const Wn=(0,O.D)(this,cr,un);Wn.closed?this.closeWindow(this.contexts.length-1):(Wn.context=un,ya.add(Wn)),this.destination.next(es)}else this.closeWindow(this.contexts.indexOf(Ie))}notifyError(Ie){this.error(Ie)}notifyComplete(Ie){Ie!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(Ie.context))}closeWindow(Ie){if(-1===Ie)return;const{contexts:Ze}=this,Vt=Ze[Ie],{window:Zn,subscription:Oi}=Vt;Ze.splice(Ie,1),Zn.complete(),Oi.unsubscribe()}}function Rs(jt){return function(Ze){return Ze.lift(new u1(jt))}}class u1{constructor(Ie){this.closingSelector=Ie}call(Ie,Ze){return Ze.subscribe(new oa(Ie,this.closingSelector))}}class oa extends H.L{constructor(Ie,Ze){super(Ie),this.destination=Ie,this.closingSelector=Ze,this.openWindow()}notifyNext(Ie,Ze,Vt,Zn,Oi){this.openWindow(Oi)}notifyError(Ie){this._error(Ie)}notifyComplete(Ie){this.openWindow(Ie)}_next(Ie){this.window.next(Ie)}_error(Ie){this.window.error(Ie),this.destination.error(Ie),this.unsubscribeClosingNotification()}_complete(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()}unsubscribeClosingNotification(){this.closingNotification&&this.closingNotification.unsubscribe()}openWindow(Ie=null){Ie&&(this.remove(Ie),Ie.unsubscribe());const Ze=this.window;Ze&&Ze.complete();const Vt=this.window=new So.xQ;let Zn;this.destination.next(Vt);try{const{closingSelector:Oi}=this;Zn=Oi()}catch(Oi){return this.destination.error(Oi),void this.window.error(Oi)}this.add(this.closingNotification=(0,O.D)(this,Zn))}}var jl=B(61745),Ia=B(49727);function Fl(...jt){return function(Ze){return Ze.lift.call((0,Ia.$R)(Ze,...jt))}}function Kl(jt){return Ie=>Ie.lift(new Ia.mx(jt))}},31796:(de,$e,B)=>{"use strict";B(22782)},52929:(de,$e,B)=>{"use strict";B(85217)},33836:de=>{de.exports=function(){function i(P,m,s){function o(y,x){if(!m[y]){if(!P[y]){if(h)return h(y,!0);var _=new Error("Cannot find module '"+y+"'");throw _.code="MODULE_NOT_FOUND",_}var w=m[y]={exports:{}};P[y][0].call(w.exports,function(z){return o(P[y][1][z]||z)},w,w.exports,i,P,m,s)}return m[y].exports}for(var h=void 0,v=0;v<s.length;v++)o(s[v]);return o}return i}()({1:[function(i,P,m){"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,i("./utils");var s=y(i("./TributeEvents")),o=y(i("./TributeMenuEvents")),h=y(i("./TributeRange")),v=y(i("./TributeSearch"));function y(O){return O&&O.__esModule?O:{default:O}}function x(O,H){return w(O)||_(O,H)||C()}function C(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _(O,H){var U=[],X=!0,W=!1,re=void 0;try{for(var Ae,pe=O[Symbol.iterator]();!(X=(Ae=pe.next()).done)&&(U.push(Ae.value),!H||U.length!==H);X=!0);}catch(Se){W=!0,re=Se}finally{try{!X&&null!=pe.return&&pe.return()}finally{if(W)throw re}}return U}function w(O){if(Array.isArray(O))return O}function z(O,H){if(!(O instanceof H))throw new TypeError("Cannot call a class as a function")}function R(O,H){for(var U=0;U<H.length;U++){var X=H[U];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(O,X.key,X)}}function N(O,H,U){return H&&R(O.prototype,H),U&&R(O,U),O}var E=function(){function O(H){var Mn,U=this,X=H.values,W=void 0===X?null:X,re=H.iframe,pe=void 0===re?null:re,Ae=H.selectClass,Se=void 0===Ae?"highlight":Ae,De=H.containerClass,qe=void 0===De?"tribute-container":De,rt=H.itemClass,ot=void 0===rt?"":rt,vt=H.trigger,rn=void 0===vt?"@":vt,Xt=H.autocompleteMode,fn=void 0!==Xt&&Xt,_n=H.selectTemplate,hn=void 0===_n?null:_n,vn=H.menuItemTemplate,xn=void 0===vn?null:vn,dn=H.lookup,Sn=void 0===dn?"key":dn,si=H.fillAttr,cn=void 0===si?"value":si,yn=H.collection,qn=void 0===yn?null:yn,oi=H.menuContainer,Yn=void 0===oi?null:oi,Xn=H.noMatchTemplate,gi=void 0===Xn?null:Xn,Mt=H.requireLeadingSpace,pn=void 0===Mt||Mt,an=H.allowSpaces,yt=void 0!==an&&an,Je=H.replaceTextSuffix,ht=void 0===Je?null:Je,xt=H.positionMenu,Ht=void 0===xt||xt,$t=H.spaceSelectsMatch,Jt=void 0!==$t&&$t,lt=H.searchOpts,Ft=void 0===lt?{}:lt,ln=H.menuItemLimit,Jn=void 0===ln?null:ln;if(z(this,O),this.autocompleteMode=fn,this.menuSelected=0,this.current={},this.inputEvent=!1,this.isActive=!1,this.menuContainer=Yn,this.allowSpaces=yt,this.replaceTextSuffix=ht,this.positionMenu=Ht,this.hasTrailingSpace=!1,this.spaceSelectsMatch=Jt,this.autocompleteMode&&(rn="",yt=!1),W)this.collection=[{trigger:rn,iframe:pe,selectClass:Se,containerClass:qe,itemClass:ot,selectTemplate:(hn||O.defaultSelectTemplate).bind(this),menuItemTemplate:(xn||O.defaultMenuItemTemplate).bind(this),noMatchTemplate:(Mn=gi,"function"==typeof Mn?Mn.bind(U):gi||function(){return""}.bind(U)),lookup:Sn,fillAttr:cn,values:W,requireLeadingSpace:pn,searchOpts:Ft,menuItemLimit:Jn}];else{if(!qn)throw new Error("[Tribute] No collection specified.");this.autocompleteMode&&console.warn("Tribute in autocomplete mode does not work for collections"),this.collection=qn.map(function(Mn){return{trigger:Mn.trigger||rn,iframe:Mn.iframe||pe,selectClass:Mn.selectClass||Se,containerClass:Mn.containerClass||qe,itemClass:Mn.itemClass||ot,selectTemplate:(Mn.selectTemplate||O.defaultSelectTemplate).bind(U),menuItemTemplate:(Mn.menuItemTemplate||O.defaultMenuItemTemplate).bind(U),noMatchTemplate:(ti=gi,"function"==typeof ti?ti.bind(U):null),lookup:Mn.lookup||Sn,fillAttr:Mn.fillAttr||cn,values:Mn.values,requireLeadingSpace:Mn.requireLeadingSpace,searchOpts:Mn.searchOpts||Ft,menuItemLimit:Mn.menuItemLimit||Jn};var ti})}new h.default(this),new s.default(this),new o.default(this),new v.default(this)}return N(O,[{key:"triggers",value:function(){return this.collection.map(function(U){return U.trigger})}},{key:"attach",value:function(U){if(!U)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&U instanceof jQuery&&(U=U.get()),U.constructor===NodeList||U.constructor===HTMLCollection||U.constructor===Array)for(var X=U.length,W=0;W<X;++W)this._attach(U[W]);else this._attach(U)}},{key:"_attach",value:function(U){U.hasAttribute("data-tribute")&&console.warn("Tribute was already bound to "+U.nodeName),this.ensureEditable(U),this.events.bind(U),U.setAttribute("data-tribute",!0)}},{key:"ensureEditable",value:function(U){if(-1===O.inputTypes().indexOf(U.nodeName)){if(!U.contentEditable)throw new Error("[Tribute] Cannot bind to "+U.nodeName);U.contentEditable=!0}}},{key:"createMenu",value:function(U){var X=this.range.getDocument().createElement("div"),W=this.range.getDocument().createElement("ul");return X.className=U,X.appendChild(W),this.menuContainer?this.menuContainer.appendChild(X):this.range.getDocument().body.appendChild(X)}},{key:"showMenuFor",value:function(U,X){var W=this;if(!this.isActive||this.current.element!==U||this.current.mentionText!==this.currentMentionTextSnapshot){this.currentMentionTextSnapshot=this.current.mentionText,this.menu||(this.menu=this.createMenu(this.current.collection.containerClass),U.tributeMenu=this.menu,this.menuEvents.bind(this.menu)),this.isActive=!0,this.menuSelected=0,this.current.mentionText||(this.current.mentionText="");var re=function(Ae){if(W.isActive){var Se=W.search.filter(W.current.mentionText,Ae,{pre:W.current.collection.searchOpts.pre||"<span>",post:W.current.collection.searchOpts.post||"</span>",skip:W.current.collection.searchOpts.skip,extract:function(vt){if("string"==typeof W.current.collection.lookup)return vt[W.current.collection.lookup];if("function"==typeof W.current.collection.lookup)return W.current.collection.lookup(vt,W.current.mentionText);throw new Error("Invalid lookup attribute, lookup must be string or function.")}});W.current.collection.menuItemLimit&&(Se=Se.slice(0,W.current.collection.menuItemLimit)),W.current.filteredItems=Se;var De=W.menu.querySelector("ul");if(W.range.positionMenuAtCaret(X),!Se.length){var qe=new CustomEvent("tribute-no-match",{detail:W.menu});return W.current.element.dispatchEvent(qe),void("function"==typeof W.current.collection.noMatchTemplate&&!W.current.collection.noMatchTemplate()||!W.current.collection.noMatchTemplate?W.hideMenu():"function"==typeof W.current.collection.noMatchTemplate?De.innerHTML=W.current.collection.noMatchTemplate():De.innerHTML=W.current.collection.noMatchTemplate)}De.innerHTML="";var rt=W.range.getDocument().createDocumentFragment();Se.forEach(function(ot,vt){var rn=W.range.getDocument().createElement("li");rn.setAttribute("data-index",vt),rn.className=W.current.collection.itemClass,rn.addEventListener("mousemove",function(Xt){var _n=x(W._findLiTarget(Xt.target),2),vn=(_n[0],_n[1]);0!==Xt.movementY&&W.events.setActiveLi(vn)}),W.menuSelected===vt&&rn.classList.add(W.current.collection.selectClass),rn.innerHTML=W.current.collection.menuItemTemplate(ot),rt.appendChild(rn)}),De.appendChild(rt)}};"function"==typeof this.current.collection.values?this.current.collection.values(this.current.mentionText,re):re(this.current.collection.values)}}},{key:"_findLiTarget",value:function(U){if(!U)return[];var X=U.getAttribute("data-index");return X?[U,X]:this._findLiTarget(U.parentNode)}},{key:"showMenuForCollection",value:function(U,X){U!==document.activeElement&&this.placeCaretAtEnd(U),this.current.collection=this.collection[X||0],this.current.externalTrigger=!0,this.current.element=U,U.isContentEditable?this.insertTextAtCursor(this.current.collection.trigger):this.insertAtCaret(U,this.current.collection.trigger),this.showMenuFor(U)}},{key:"placeCaretAtEnd",value:function(U){if(U.focus(),void 0!==window.getSelection&&void 0!==document.createRange){var X=document.createRange();X.selectNodeContents(U),X.collapse(!1);var W=window.getSelection();W.removeAllRanges(),W.addRange(X)}else if(void 0!==document.body.createTextRange){var re=document.body.createTextRange();re.moveToElementText(U),re.collapse(!1),re.select()}}},{key:"insertTextAtCursor",value:function(U){var X,W;(W=(X=window.getSelection()).getRangeAt(0)).deleteContents();var pe=document.createTextNode(U);W.insertNode(pe),W.selectNodeContents(pe),W.collapse(!1),X.removeAllRanges(),X.addRange(W)}},{key:"insertAtCaret",value:function(U,X){var W=U.scrollTop,re=U.selectionStart,pe=U.value.substring(0,re),Ae=U.value.substring(U.selectionEnd,U.value.length);U.value=pe+X+Ae,re+=X.length,U.selectionStart=re,U.selectionEnd=re,U.focus(),U.scrollTop=W}},{key:"hideMenu",value:function(){this.menu&&(this.menu.style.cssText="display: none;",this.isActive=!1,this.menuSelected=0,this.current={})}},{key:"selectItemAtIndex",value:function(U,X){if("number"==typeof(U=parseInt(U))&&!isNaN(U)){var W=this.current.filteredItems[U],re=this.current.collection.selectTemplate(W);null!==re&&this.replaceText(re,X,W)}}},{key:"replaceText",value:function(U,X,W){this.range.replaceTriggerText(U,!0,!0,X,W)}},{key:"_append",value:function(U,X,W){if("function"==typeof U.values)throw new Error("Unable to append to values, as it is a function.");U.values=W?X:U.values.concat(X)}},{key:"append",value:function(U,X,W){var re=parseInt(U);if("number"!=typeof re)throw new Error("please provide an index for the collection to update.");var pe=this.collection[re];this._append(pe,X,W)}},{key:"appendCurrent",value:function(U,X){if(!this.isActive)throw new Error("No active state. Please use append instead and pass an index.");this._append(this.current.collection,U,X)}},{key:"detach",value:function(U){if(!U)throw new Error("[Tribute] Must pass in a DOM node or NodeList.");if("undefined"!=typeof jQuery&&U instanceof jQuery&&(U=U.get()),U.constructor===NodeList||U.constructor===HTMLCollection||U.constructor===Array)for(var X=U.length,W=0;W<X;++W)this._detach(U[W]);else this._detach(U)}},{key:"_detach",value:function(U){var X=this;this.events.unbind(U),U.tributeMenu&&this.menuEvents.unbind(U.tributeMenu),setTimeout(function(){U.removeAttribute("data-tribute"),X.isActive=!1,U.tributeMenu&&U.tributeMenu.remove()})}}],[{key:"defaultSelectTemplate",value:function(U){return void 0===U?null:this.range.isContentEditable(this.current.element)?'<span class="tribute-mention">'+(this.current.collection.trigger+U.original[this.current.collection.fillAttr])+"</span>":this.current.collection.trigger+U.original[this.current.collection.fillAttr]}},{key:"defaultMenuItemTemplate",value:function(U){return U.string}},{key:"inputTypes",value:function(){return["TEXTAREA","INPUT"]}}]),O}();m.default=E,P.exports=m.default},{"./TributeEvents":2,"./TributeMenuEvents":3,"./TributeRange":4,"./TributeSearch":5,"./utils":7}],2:[function(i,P,m){"use strict";function s(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")}function o(x,C){for(var _=0;_<C.length;_++){var w=C[_];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function h(x,C,_){return C&&o(x.prototype,C),_&&o(x,_),x}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var y=function(){function x(C){s(this,x),this.tribute=C,this.tribute.events=this}return h(x,[{key:"bind",value:function(_){_.boundKeydown=this.keydown.bind(_,this),_.boundKeyup=this.keyup.bind(_,this),_.boundInput=this.input.bind(_,this),_.addEventListener("keydown",_.boundKeydown,!1),_.addEventListener("keyup",_.boundKeyup,!1),_.addEventListener("input",_.boundInput,!1)}},{key:"unbind",value:function(_){_.removeEventListener("keydown",_.boundKeydown,!1),_.removeEventListener("keyup",_.boundKeyup,!1),_.removeEventListener("input",_.boundInput,!1),delete _.boundKeydown,delete _.boundKeyup,delete _.boundInput}},{key:"keydown",value:function(_,w){_.shouldDeactivate(w)&&(_.tribute.isActive=!1,_.tribute.hideMenu());var z=this;_.commandEvent=!1,x.keys().forEach(function(R){R.key===w.keyCode&&(_.commandEvent=!0,_.callbacks()[R.value.toLowerCase()](w,z))})}},{key:"input",value:function(_,w){_.inputEvent=!0,_.keyup.call(this,_,w)}},{key:"click",value:function(_,w){var z=_.tribute;if(z.menu&&z.menu.contains(w.target)){var R=w.target;for(w.preventDefault(),w.stopPropagation();"li"!==R.nodeName.toLowerCase();)if(!(R=R.parentNode)||R===z.menu)throw new Error("cannot find the <li> container for the click");z.selectItemAtIndex(R.getAttribute("data-index"),w),z.hideMenu()}else z.current.element&&!z.current.externalTrigger&&(z.current.externalTrigger=!1,setTimeout(function(){return z.hideMenu()}))}},{key:"keyup",value:function(_,w){if(_.inputEvent&&(_.inputEvent=!1),_.updateSelection(this),27!==w.keyCode){if(!_.tribute.allowSpaces&&_.tribute.hasTrailingSpace)return _.tribute.hasTrailingSpace=!1,_.commandEvent=!0,void _.callbacks().space(w,this);if(!_.tribute.isActive)if(_.tribute.autocompleteMode)_.callbacks().triggerChar(w,this,"");else{var z=_.getKeyCode(_,this,w);if(isNaN(z)||!z)return;var R=_.tribute.triggers().find(function(N){return N.charCodeAt(0)===z});void 0!==R&&_.callbacks().triggerChar(w,this,R)}((_.tribute.current.trigger||_.tribute.autocompleteMode)&&!1===_.commandEvent||_.tribute.isActive&&8===w.keyCode)&&_.tribute.showMenuFor(this,!0)}}},{key:"shouldDeactivate",value:function(_){if(!this.tribute.isActive)return!1;if(0===this.tribute.current.mentionText.length){var w=!1;return x.keys().forEach(function(z){_.keyCode===z.key&&(w=!0)}),!w}return!1}},{key:"getKeyCode",value:function(_,w,z){var N=_.tribute,S=N.range.getTriggerInfo(!1,N.hasTrailingSpace,!0,N.allowSpaces,N.autocompleteMode);return!!S&&S.mentionTriggerChar.charCodeAt(0)}},{key:"updateSelection",value:function(_){this.tribute.current.element=_;var w=this.tribute.range.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);w&&(this.tribute.current.selectedPath=w.mentionSelectedPath,this.tribute.current.mentionText=w.mentionText,this.tribute.current.selectedOffset=w.mentionSelectedOffset)}},{key:"callbacks",value:function(){var _=this;return{triggerChar:function(z,R,N){var S=_.tribute;S.current.trigger=N;var E=S.collection.find(function(O){return O.trigger===N});S.current.collection=E,S.inputEvent&&S.showMenuFor(R,!0)},enter:function(z,R){_.tribute.isActive&&_.tribute.current.filteredItems&&(z.preventDefault(),z.stopPropagation(),setTimeout(function(){_.tribute.selectItemAtIndex(_.tribute.menuSelected,z),_.tribute.hideMenu()},0))},escape:function(z,R){_.tribute.isActive&&(z.preventDefault(),z.stopPropagation(),_.tribute.isActive=!1,_.tribute.hideMenu())},tab:function(z,R){_.callbacks().enter(z,R)},space:function(z,R){_.tribute.isActive&&(_.tribute.spaceSelectsMatch?_.callbacks().enter(z,R):_.tribute.allowSpaces||(z.stopPropagation(),setTimeout(function(){_.tribute.hideMenu(),_.tribute.isActive=!1},0)))},up:function(z,R){if(_.tribute.isActive&&_.tribute.current.filteredItems){z.preventDefault(),z.stopPropagation();var N=_.tribute.current.filteredItems.length,S=_.tribute.menuSelected;N>S&&S>0?(_.tribute.menuSelected--,_.setActiveLi()):0===S&&(_.tribute.menuSelected=N-1,_.setActiveLi(),_.tribute.menu.scrollTop=_.tribute.menu.scrollHeight)}},down:function(z,R){if(_.tribute.isActive&&_.tribute.current.filteredItems){z.preventDefault(),z.stopPropagation();var N=_.tribute.current.filteredItems.length-1,S=_.tribute.menuSelected;N>S?(_.tribute.menuSelected++,_.setActiveLi()):N===S&&(_.tribute.menuSelected=0,_.setActiveLi(),_.tribute.menu.scrollTop=0)}},delete:function(z,R){_.tribute.isActive&&_.tribute.current.mentionText.length<1?_.tribute.hideMenu():_.tribute.isActive&&_.tribute.showMenuFor(R)}}}},{key:"setActiveLi",value:function(_){var w=this.tribute.menu.querySelectorAll("li"),z=w.length>>>0;_&&(this.tribute.menuSelected=parseInt(_));for(var R=0;R<z;R++){var N=w[R];if(R===this.tribute.menuSelected){N.classList.add(this.tribute.current.collection.selectClass);var S=N.getBoundingClientRect(),E=this.tribute.menu.getBoundingClientRect();if(S.bottom>E.bottom){var O=S.bottom-E.bottom;this.tribute.menu.scrollTop+=O}else if(S.top<E.top){var H=E.top-S.top;this.tribute.menu.scrollTop-=H}}else N.classList.remove(this.tribute.current.collection.selectClass)}}},{key:"getFullHeight",value:function(_,w){var z=_.getBoundingClientRect().height;if(w){var R=_.currentStyle||window.getComputedStyle(_);return z+parseFloat(R.marginTop)+parseFloat(R.marginBottom)}return z}}],[{key:"keys",value:function(){return[{key:9,value:"TAB"},{key:8,value:"DELETE"},{key:13,value:"ENTER"},{key:27,value:"ESCAPE"},{key:32,value:"SPACE"},{key:38,value:"UP"},{key:40,value:"DOWN"}]}}]),x}();m.default=y,P.exports=m.default},{}],3:[function(i,P,m){"use strict";function s(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")}function o(x,C){for(var _=0;_<C.length;_++){var w=C[_];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function h(x,C,_){return C&&o(x.prototype,C),_&&o(x,_),x}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var v=function(){function x(C){s(this,x),this.tribute=C,this.tribute.menuEvents=this,this.menu=this.tribute.menu}return h(x,[{key:"bind",value:function(_){var w=this;this.menuClickEvent=this.tribute.events.click.bind(null,this),this.menuContainerScrollEvent=this.debounce(function(){w.tribute.isActive&&w.tribute.showMenuFor(w.tribute.current.element,!1)},300,!1),this.windowResizeEvent=this.debounce(function(){w.tribute.isActive&&w.tribute.range.positionMenuAtCaret(!0)},300,!1),this.tribute.range.getDocument().addEventListener("MSPointerDown",this.menuClickEvent,!1),this.tribute.range.getDocument().addEventListener("mousedown",this.menuClickEvent,!1),window.addEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.addEventListener("scroll",this.menuContainerScrollEvent,!1):window.addEventListener("scroll",this.menuContainerScrollEvent)}},{key:"unbind",value:function(_){this.tribute.range.getDocument().removeEventListener("mousedown",this.menuClickEvent,!1),this.tribute.range.getDocument().removeEventListener("MSPointerDown",this.menuClickEvent,!1),window.removeEventListener("resize",this.windowResizeEvent),this.menuContainer?this.menuContainer.removeEventListener("scroll",this.menuContainerScrollEvent,!1):window.removeEventListener("scroll",this.menuContainerScrollEvent)}},{key:"debounce",value:function(_,w,z){var S,R=this,N=arguments;return function(){var E=R,O=N,H=function(){S=null,z||_.apply(E,O)},U=z&&!S;clearTimeout(S),S=setTimeout(H,w),U&&_.apply(E,O)}}}]),x}(),y=v;m.default=y,P.exports=m.default},{}],4:[function(i,P,m){"use strict";function s(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")}function o(x,C){for(var _=0;_<C.length;_++){var w=C[_];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function h(x,C,_){return C&&o(x.prototype,C),_&&o(x,_),x}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,i("./utils");var y=function(){function x(C){s(this,x),this.tribute=C,this.tribute.range=this}return h(x,[{key:"getDocument",value:function(){var _;return this.tribute.current.collection&&(_=this.tribute.current.collection.iframe),_?_.contentWindow.document:document}},{key:"positionMenuAtCaret",value:function(_){var R,w=this,z=this.tribute.current,N=this.getTriggerInfo(!1,this.tribute.hasTrailingSpace,!0,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==N){if(!this.tribute.positionMenu)return void(this.tribute.menu.style.cssText="display: block;");R=this.isContentEditable(z.element)?this.getContentEditableCaretPosition(N.mentionPosition):this.getTextAreaOrInputUnderlinePosition(this.tribute.current.element,N.mentionPosition),this.tribute.menu.style.cssText="top: ".concat(R.top,"px;\n                                     left: ").concat(R.left,"px;\n                                     right: ").concat(R.right,"px;\n                                     bottom: ").concat(R.bottom,"px;\n                                     position: absolute;\n                                     display: block;"),"auto"===R.left&&(this.tribute.menu.style.left="auto"),"auto"===R.top&&(this.tribute.menu.style.top="auto"),_&&this.scrollIntoView(),window.setTimeout(function(){var S={width:w.tribute.menu.offsetWidth,height:w.tribute.menu.offsetHeight},E=w.isMenuOffScreen(R,S),O=window.innerWidth>S.width&&(E.left||E.right),H=window.innerHeight>S.height&&(E.top||E.bottom);(O||H)&&(w.tribute.menu.style.cssText="display: none",w.positionMenuAtCaret(_))},0)}else this.tribute.menu.style.cssText="display: none"}},{key:"selectElement",value:function(_,w,z){var R,N=_;if(w)for(var S=0;S<w.length;S++){if(void 0===(N=N.childNodes[w[S]]))return;for(;N.length<z;)z-=N.length,N=N.nextSibling;0===N.childNodes.length&&!N.length&&(N=N.previousSibling)}var E=this.getWindowSelection();(R=this.getDocument().createRange()).setStart(N,z),R.setEnd(N,z),R.collapse(!0);try{E.removeAllRanges()}catch(O){}E.addRange(R),_.focus()}},{key:"replaceTriggerText",value:function(_,w,z,R,N){var S=this.getTriggerInfo(!0,z,w,this.tribute.allowSpaces,this.tribute.autocompleteMode);if(void 0!==S){var E=this.tribute.current,O=new CustomEvent("tribute-replaced",{detail:{item:N,instance:E,context:S,event:R}});if(this.isContentEditable(E.element)){_+="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:"\xa0";var pe=S.mentionPosition+S.mentionText.length;this.tribute.autocompleteMode||(pe+=S.mentionTriggerChar.length),this.pasteHtml(_,S.mentionPosition,pe)}else{var H=this.tribute.current.element,U="string"==typeof this.tribute.replaceTextSuffix?this.tribute.replaceTextSuffix:" ";_+=U;var X=S.mentionPosition,W=S.mentionPosition+S.mentionText.length+U.length;this.tribute.autocompleteMode||(W+=S.mentionTriggerChar.length-1),H.value=H.value.substring(0,X)+_+H.value.substring(W,H.value.length),H.selectionStart=X+_.length,H.selectionEnd=X+_.length}E.element.dispatchEvent(new CustomEvent("input",{bubbles:!0})),E.element.dispatchEvent(O)}}},{key:"pasteHtml",value:function(_,w,z){var R,N;N=this.getWindowSelection(),(R=this.getDocument().createRange()).setStart(N.anchorNode,w),R.setEnd(N.anchorNode,z),R.deleteContents();var S=this.getDocument().createElement("div");S.innerHTML=_;for(var O,H,E=this.getDocument().createDocumentFragment();O=S.firstChild;)H=E.appendChild(O);R.insertNode(E),H&&((R=R.cloneRange()).setStartAfter(H),R.collapse(!0),N.removeAllRanges(),N.addRange(R))}},{key:"getWindowSelection",value:function(){return this.tribute.collection.iframe?this.tribute.collection.iframe.contentWindow.getSelection():window.getSelection()}},{key:"getNodePositionInParent",value:function(_){if(null===_.parentNode)return 0;for(var w=0;w<_.parentNode.childNodes.length;w++)if(_.parentNode.childNodes[w]===_)return w}},{key:"getContentEditableSelectedPath",value:function(_){var w=this.getWindowSelection(),z=w.anchorNode,R=[];if(null!=z){for(var S,E=z.contentEditable;null!==z&&"true"!==E;)S=this.getNodePositionInParent(z),R.push(S),null!==(z=z.parentNode)&&(E=z.contentEditable);return R.reverse(),{selected:z,path:R,offset:w.getRangeAt(0).startOffset}}}},{key:"getTextPrecedingCurrentSelection",value:function(){var _=this.tribute.current,w="";if(this.isContentEditable(_.element)){var N=this.getWindowSelection().anchorNode;if(null!=N){var S=N.textContent,E=this.getWindowSelection().getRangeAt(0).startOffset;S&&E>=0&&(w=S.substring(0,E))}}else{var z=this.tribute.current.element;if(z){var R=z.selectionStart;z.value&&R>=0&&(w=z.value.substring(0,R))}}return w}},{key:"getLastWordInText",value:function(_){var w=(_=_.replace(/\u00A0/g," ")).split(/\s+/);return w[w.length-1].trim()}},{key:"getTriggerInfo",value:function(_,w,z,R,N){var O,H,U,S=this,E=this.tribute.current;if(this.isContentEditable(E.element)){var X=this.getContentEditableSelectedPath(E);X&&(O=X.selected,H=X.path,U=X.offset)}else O=this.tribute.current.element;var W=this.getTextPrecedingCurrentSelection(),re=this.getLastWordInText(W);if(N)return{mentionPosition:W.length-re.length,mentionText:re,mentionSelectedElement:O,mentionSelectedPath:H,mentionSelectedOffset:U};if(null!=W){var Ae,pe=-1;if(this.tribute.collection.forEach(function(ot){var vt=ot.trigger,rn=ot.requireLeadingSpace?S.lastIndexWithLeadingSpace(W,vt):W.lastIndexOf(vt);rn>pe&&(pe=rn,Ae=vt,z=ot.requireLeadingSpace)}),pe>=0&&(0===pe||!z||/[\xA0\s]/g.test(W.substring(pe-1,pe)))){var Se=W.substring(pe+Ae.length,W.length);Ae=W.substring(pe,pe+Ae.length);var De=Se.substring(0,1),qe=Se.length>0&&(" "===De||"\xa0"===De);w&&(Se=Se.trim());var rt=R?/[^\S ]/g:/[\xA0\s]/g;if(this.tribute.hasTrailingSpace=rt.test(Se),!qe&&(_||!rt.test(Se)))return{mentionPosition:pe,mentionText:Se,mentionSelectedElement:O,mentionSelectedPath:H,mentionSelectedOffset:U,mentionTriggerChar:Ae}}}}},{key:"lastIndexWithLeadingSpace",value:function(_,w){for(var z=_.split("").reverse().join(""),R=-1,N=0,S=_.length;N<S;N++){for(var E=N===_.length-1,O=/\s/.test(z[N+1]),H=!0,U=w.length-1;U>=0;U--)if(w[U]!==z[N-U]){H=!1;break}if(H&&(E||O)){R=_.length-1-N;break}}return R}},{key:"isContentEditable",value:function(_){return"INPUT"!==_.nodeName&&"TEXTAREA"!==_.nodeName}},{key:"isMenuOffScreen",value:function(_,w){var z=window.innerWidth,R=window.innerHeight,N=document.documentElement,S=(window.pageXOffset||N.scrollLeft)-(N.clientLeft||0),E=(window.pageYOffset||N.scrollTop)-(N.clientTop||0),O="number"==typeof _.top?_.top:E+R-_.bottom-w.height,H="number"==typeof _.right?_.right:_.left+w.width,U="number"==typeof _.bottom?_.bottom:_.top+w.height,X="number"==typeof _.left?_.left:S+z-_.right-w.width;return{top:O<Math.floor(E),right:H>Math.ceil(S+z),bottom:U>Math.ceil(E+R),left:X<Math.floor(S)}}},{key:"getMenuDimensions",value:function(){var _={width:null,height:null};return this.tribute.menu.style.cssText="top: 0px;\n                                 left: 0px;\n                                 position: fixed;\n                                 display: block;\n                                 visibility; hidden;",_.width=this.tribute.menu.offsetWidth,_.height=this.tribute.menu.offsetHeight,this.tribute.menu.style.cssText="display: none;",_}},{key:"getTextAreaOrInputUnderlinePosition",value:function(_,w,z){var R=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing"],N=null!==window.mozInnerScreenX,S=this.getDocument().createElement("div");S.id="input-textarea-caret-position-mirror-div",this.getDocument().body.appendChild(S);var E=S.style,O=window.getComputedStyle?getComputedStyle(_):_.currentStyle;E.whiteSpace="pre-wrap","INPUT"!==_.nodeName&&(E.wordWrap="break-word"),E.position="absolute",E.visibility="hidden",R.forEach(function(fn){E[fn]=O[fn]}),N?(E.width="".concat(parseInt(O.width)-2,"px"),_.scrollHeight>parseInt(O.height)&&(E.overflowY="scroll")):E.overflow="hidden",S.textContent=_.value.substring(0,w),"INPUT"===_.nodeName&&(S.textContent=S.textContent.replace(/\s/g,"\xa0"));var H=this.getDocument().createElement("span");H.textContent=_.value.substring(w)||".",S.appendChild(H);var U=_.getBoundingClientRect(),X=document.documentElement,W=(window.pageXOffset||X.scrollLeft)-(X.clientLeft||0),re=(window.pageYOffset||X.scrollTop)-(X.clientTop||0),pe=0,Ae=0;this.menuContainerIsBody&&(pe=U.top,Ae=U.left);var Se={top:pe+re+H.offsetTop+parseInt(O.borderTopWidth)+parseInt(O.fontSize)-_.scrollTop,left:Ae+W+H.offsetLeft+parseInt(O.borderLeftWidth)},De=window.innerWidth,qe=window.innerHeight,rt=this.getMenuDimensions(),ot=this.isMenuOffScreen(Se,rt);ot.right&&(Se.right=De-Se.left,Se.left="auto");var vt=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(ot.bottom){var Xt=vt-(qe-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);Se.bottom=Xt+(qe-U.top-H.offsetTop),Se.top="auto"}return(ot=this.isMenuOffScreen(Se,rt)).left&&(Se.left=De>rt.width?W+De-rt.width:W,delete Se.right),ot.top&&(Se.top=qe>rt.height?re+qe-rt.height:re,delete Se.bottom),this.getDocument().body.removeChild(S),Se}},{key:"getContentEditableCaretPosition",value:function(_){var w,z=this.getWindowSelection();(w=this.getDocument().createRange()).setStart(z.anchorNode,_),w.setEnd(z.anchorNode,_),w.collapse(!1);var R=w.getBoundingClientRect(),N=document.documentElement,S=(window.pageXOffset||N.scrollLeft)-(N.clientLeft||0),E=(window.pageYOffset||N.scrollTop)-(N.clientTop||0),U={left:R.left+S,top:R.top+R.height+E},X=window.innerWidth,W=window.innerHeight,re=this.getMenuDimensions(),pe=this.isMenuOffScreen(U,re);pe.right&&(U.left="auto",U.right=X-R.left-S);var Ae=this.tribute.menuContainer?this.tribute.menuContainer.offsetHeight:this.getDocument().body.offsetHeight;if(pe.bottom){var De=Ae-(W-(this.tribute.menuContainer?this.tribute.menuContainer.getBoundingClientRect():this.getDocument().body.getBoundingClientRect()).top);U.top="auto",U.bottom=De+(W-R.top)}return(pe=this.isMenuOffScreen(U,re)).left&&(U.left=X>re.width?S+X-re.width:S,delete U.right),pe.top&&(U.top=W>re.height?E+W-re.height:E,delete U.bottom),this.menuContainerIsBody||(U.left=U.left?U.left-this.tribute.menuContainer.offsetLeft:U.left,U.top=U.top?U.top-this.tribute.menuContainer.offsetTop:U.top),U}},{key:"scrollIntoView",value:function(_){var z,w=20,R=100,N=this.menu;if(void 0!==N){for(;void 0===z||0===z.height;)if(0===(z=N.getBoundingClientRect()).height&&(void 0===(N=N.childNodes[0])||!N.getBoundingClientRect))return;var S=z.top,E=S+z.height;if(S<0)window.scrollTo(0,window.pageYOffset+z.top-w);else if(E>window.innerHeight){var O=window.pageYOffset+z.top-w;O-window.pageYOffset>R&&(O=window.pageYOffset+R);var H=window.pageYOffset-(window.innerHeight-E);H>O&&(H=O),window.scrollTo(0,H)}}}},{key:"menuContainerIsBody",get:function(){return this.tribute.menuContainer===document.body||!this.tribute.menuContainer}}]),x}();m.default=y,P.exports=m.default},{"./utils":7}],5:[function(i,P,m){"use strict";function s(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")}function o(x,C){for(var _=0;_<C.length;_++){var w=C[_];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(x,w.key,w)}}function h(x,C,_){return C&&o(x.prototype,C),_&&o(x,_),x}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var y=function(){function x(C){s(this,x),this.tribute=C,this.tribute.search=this}return h(x,[{key:"simpleFilter",value:function(_,w){var z=this;return w.filter(function(R){return z.test(_,R)})}},{key:"test",value:function(_,w){return null!==this.match(_,w)}},{key:"match",value:function(_,w,z){z=z||{},w.length;var H=z.pre||"",U=z.post||"",X=z.caseSensitive&&w||w.toLowerCase();if(z.skip)return{rendered:w,score:0};_=z.caseSensitive&&_||_.toLowerCase();var pe=this.traverse(X,_,0,0,[]);return pe?{rendered:this.render(w,pe.cache,H,U),score:pe.score}:null}},{key:"traverse",value:function(_,w,z,R,N){if(w.length===R)return{score:this.calculateScore(N),cache:N.slice()};if(!(_.length===z||w.length-R>_.length-z)){for(var O,H,S=w[R],E=_.indexOf(S,z);E>-1;){if(N.push(E),H=this.traverse(_,w,E+1,R+1,N),N.pop(),!H)return O;(!O||O.score<H.score)&&(O=H),E=_.indexOf(S,E+1)}return O}}},{key:"calculateScore",value:function(_){var w=0,z=1;return _.forEach(function(R,N){N>0&&(_[N-1]+1===R?z+=z+1:z=1),w+=z}),w}},{key:"render",value:function(_,w,z,R){var N=_.substring(0,w[0]);return w.forEach(function(S,E){N+=z+_[S]+R+_.substring(S+1,w[E+1]?w[E+1]:_.length)}),N}},{key:"filter",value:function(_,w,z){var R=this;return z=z||{},w.reduce(function(N,S,E,O){var H=S;z.extract&&((H=z.extract(S))||(H=""));var U=R.match(_,H,z);return null!=U&&(N[N.length]={string:U.rendered,score:U.score,index:E,original:S}),N},[]).sort(function(N,S){return S.score-N.score||N.index-S.index})}}]),x}();m.default=y,P.exports=m.default},{}],6:[function(i,P,m){"use strict";function o(v){return v&&v.__esModule?v:{default:v}}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var h=o(i("./Tribute")).default;m.default=h,P.exports=m.default},{"./Tribute":1}],7:[function(i,P,m){"use strict";if(Array.prototype.find||(Array.prototype.find=function(o){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof o)throw new TypeError("predicate must be a function");for(var x,h=Object(this),v=h.length>>>0,y=arguments[1],C=0;C<v;C++)if(x=h[C],o.call(y,x,C,h))return x}),window&&"function"!=typeof window.CustomEvent){var s=function(h,v){v=v||{bubbles:!1,cancelable:!1,detail:void 0};var y=document.createEvent("CustomEvent");return y.initCustomEvent(h,v.bubbles,v.cancelable,v.detail),y};void 0!==window.Event&&(s.prototype=window.Event.prototype),window.CustomEvent=s}},{}]},{},[6])(6)},28537:(de,$e)=>{$e.D=function(B,n,i){var P;return void 0===n&&(n=50),void 0===i&&(i={isImmediate:!1}),function(){for(var m=[],s=0;s<arguments.length;s++)m[s]=arguments[s];var o=this,h=i.isImmediate&&void 0===P;void 0!==P&&clearTimeout(P),P=setTimeout(function(){P=void 0,i.isImmediate||B.apply(o,m)},n),h&&B.apply(o,m)}}},46700:(de,$e,B)=>{var n={"./af":58685,"./af.js":58685,"./ar":254,"./ar-dz":4312,"./ar-dz.js":4312,"./ar-kw":32614,"./ar-kw.js":32614,"./ar-ly":18630,"./ar-ly.js":18630,"./ar-ma":28674,"./ar-ma.js":28674,"./ar-sa":49032,"./ar-sa.js":49032,"./ar-tn":24730,"./ar-tn.js":24730,"./ar.js":254,"./az":53052,"./az.js":53052,"./be":60150,"./be.js":60150,"./bg":63069,"./bg.js":63069,"./bm":13466,"./bm.js":13466,"./bn":18516,"./bn-bd":90557,"./bn-bd.js":90557,"./bn.js":18516,"./bo":26273,"./bo.js":26273,"./br":9588,"./br.js":9588,"./bs":19815,"./bs.js":19815,"./ca":83331,"./ca.js":83331,"./cs":21320,"./cs.js":21320,"./cv":72219,"./cv.js":72219,"./cy":68266,"./cy.js":68266,"./da":66427,"./da.js":66427,"./de":67435,"./de-at":52871,"./de-at.js":52871,"./de-ch":12994,"./de-ch.js":12994,"./de.js":67435,"./dv":82357,"./dv.js":82357,"./el":95649,"./el.js":95649,"./en-au":59961,"./en-au.js":59961,"./en-ca":19878,"./en-ca.js":19878,"./en-gb":3924,"./en-gb.js":3924,"./en-ie":70864,"./en-ie.js":70864,"./en-il":91579,"./en-il.js":91579,"./en-in":30940,"./en-in.js":30940,"./en-nz":16181,"./en-nz.js":16181,"./en-sg":44301,"./en-sg.js":44301,"./eo":85291,"./eo.js":85291,"./es":54529,"./es-do":53764,"./es-do.js":53764,"./es-mx":12584,"./es-mx.js":12584,"./es-us":63425,"./es-us.js":63425,"./es.js":54529,"./et":35203,"./et.js":35203,"./eu":70678,"./eu.js":70678,"./fa":83483,"./fa.js":83483,"./fi":96262,"./fi.js":96262,"./fil":52521,"./fil.js":52521,"./fo":34555,"./fo.js":34555,"./fr":63131,"./fr-ca":88239,"./fr-ca.js":88239,"./fr-ch":21702,"./fr-ch.js":21702,"./fr.js":63131,"./fy":267,"./fy.js":267,"./ga":23821,"./ga.js":23821,"./gd":71753,"./gd.js":71753,"./gl":4074,"./gl.js":4074,"./gom-deva":92762,"./gom-deva.js":92762,"./gom-latn":5969,"./gom-latn.js":5969,"./gu":82809,"./gu.js":82809,"./he":45402,"./he.js":45402,"./hi":315,"./hi.js":315,"./hr":10410,"./hr.js":10410,"./hu":38288,"./hu.js":38288,"./hy-am":67928,"./hy-am.js":67928,"./id":71334,"./id.js":71334,"./is":86959,"./is.js":86959,"./it":34864,"./it-ch":51124,"./it-ch.js":51124,"./it.js":34864,"./ja":36141,"./ja.js":36141,"./jv":29187,"./jv.js":29187,"./ka":42136,"./ka.js":42136,"./kk":94332,"./kk.js":94332,"./km":18607,"./km.js":18607,"./kn":84305,"./kn.js":84305,"./ko":70234,"./ko.js":70234,"./ku":16003,"./ku.js":16003,"./ky":75061,"./ky.js":75061,"./lb":32786,"./lb.js":32786,"./lo":66183,"./lo.js":66183,"./lt":50029,"./lt.js":50029,"./lv":24169,"./lv.js":24169,"./me":68577,"./me.js":68577,"./mi":68177,"./mi.js":68177,"./mk":50337,"./mk.js":50337,"./ml":65260,"./ml.js":65260,"./mn":52325,"./mn.js":52325,"./mr":14695,"./mr.js":14695,"./ms":75334,"./ms-my":37151,"./ms-my.js":37151,"./ms.js":75334,"./mt":63570,"./mt.js":63570,"./my":97963,"./my.js":97963,"./nb":88028,"./nb.js":88028,"./ne":86638,"./ne.js":86638,"./nl":50302,"./nl-be":66782,"./nl-be.js":66782,"./nl.js":50302,"./nn":33501,"./nn.js":33501,"./oc-lnc":50563,"./oc-lnc.js":50563,"./pa-in":50869,"./pa-in.js":50869,"./pl":65302,"./pl.js":65302,"./pt":49687,"./pt-br":74884,"./pt-br.js":74884,"./pt.js":49687,"./ro":79107,"./ro.js":79107,"./ru":33627,"./ru.js":33627,"./sd":30355,"./sd.js":30355,"./se":83427,"./se.js":83427,"./si":11848,"./si.js":11848,"./sk":54590,"./sk.js":54590,"./sl":20184,"./sl.js":20184,"./sq":56361,"./sq.js":56361,"./sr":78965,"./sr-cyrl":81287,"./sr-cyrl.js":81287,"./sr.js":78965,"./ss":25456,"./ss.js":25456,"./sv":70451,"./sv.js":70451,"./sw":77558,"./sw.js":77558,"./ta":51356,"./ta.js":51356,"./te":73693,"./te.js":73693,"./tet":21243,"./tet.js":21243,"./tg":42500,"./tg.js":42500,"./th":55768,"./th.js":55768,"./tk":77761,"./tk.js":77761,"./tl-ph":35780,"./tl-ph.js":35780,"./tlh":29590,"./tlh.js":29590,"./tr":33807,"./tr.js":33807,"./tzl":93857,"./tzl.js":93857,"./tzm":60654,"./tzm-latn":8806,"./tzm-latn.js":8806,"./tzm.js":60654,"./ug-cn":30845,"./ug-cn.js":30845,"./uk":19232,"./uk.js":19232,"./ur":47052,"./ur.js":47052,"./uz":77967,"./uz-latn":32233,"./uz-latn.js":32233,"./uz.js":77967,"./vi":98615,"./vi.js":98615,"./x-pseudo":12320,"./x-pseudo.js":12320,"./yo":31313,"./yo.js":31313,"./zh-cn":64490,"./zh-cn.js":64490,"./zh-hk":55910,"./zh-hk.js":55910,"./zh-mo":98262,"./zh-mo.js":98262,"./zh-tw":44223,"./zh-tw.js":44223};function i(m){var s=P(m);return B(s)}function P(m){if(!B.o(n,m)){var s=new Error("Cannot find module '"+m+"'");throw s.code="MODULE_NOT_FOUND",s}return n[m]}i.keys=function(){return Object.keys(n)},i.resolve=P,de.exports=i,i.id=46700},31473:de=>{"use strict";de.exports=".empty-image {\n  background-color: lightgray;\n  width: 100%;\n  height: 100%;\n  justify-content: center;\n  align-items: center;\n  display: flex;\n}\n"},33169:de=>{"use strict";de.exports=""},8513:de=>{"use strict";de.exports=""},11382:de=>{"use strict";de.exports=""},59845:de=>{"use strict";de.exports=""},84545:de=>{"use strict";de.exports=""},39916:de=>{"use strict";de.exports=""},1644:de=>{"use strict";de.exports=""},97779:de=>{"use strict";de.exports=""},9668:de=>{"use strict";de.exports=""},15432:de=>{"use strict";de.exports=""},29319:de=>{"use strict";de.exports=""},48641:de=>{"use strict";de.exports=""},39999:de=>{"use strict";de.exports=""},40698:de=>{"use strict";de.exports=".member .row:nth-child(even){\n background-color: lightgrey;\n}\n\n.member .row:hover {\n  border-left: 4px solid  #0275d8 !important;\n  background-color: silver !important;\n}\n\n.member .active {\n  border-left: 4px solid  #5bc0de !important;\n  background-color: silver !important;\n}\n"},40791:de=>{"use strict";de.exports=""},5015:de=>{"use strict";de.exports=""},57150:de=>{"use strict";de.exports=""},68867:de=>{"use strict";de.exports=".message-text {\n  white-space: pre-line;\n}\n"},15899:de=>{"use strict";de.exports=""},40861:de=>{"use strict";de.exports="#filterIdInput {\n  max-width:75px;\n}\n"},74376:de=>{"use strict";de.exports=""},83075:de=>{"use strict";de.exports=""},97363:de=>{"use strict";de.exports=""},20659:de=>{"use strict";de.exports=""},77563:de=>{"use strict";de.exports=""},92715:de=>{"use strict";de.exports=""},4701:de=>{"use strict";de.exports=""},30151:de=>{"use strict";de.exports=""},95175:de=>{"use strict";de.exports=""},14372:de=>{"use strict";de.exports=""},6879:de=>{"use strict";de.exports=""},51883:de=>{"use strict";de.exports=".align-ngx-input {\n    margin: -0.7em 0 0 0 !important;\n    width: 100% !important;\n}\n\n.cdk-drop-dragging .cdk-drag {\n    transition: transform 500ms cubic-bezier(0, 0, 0.2, 1);\n  }\n\n.cdk-drag-animating {\n    transition: transform 550ms cubic-bezier(0, 0, 0.2, 1);\n  }\n\n.cdk-drag-placeholder {\n    background: rgba(0, 0, 0, .2);\n\n  }\n\n.drag-custom-placeholder {\n    background: #ccc;\n    border: dotted 3px #999;\n    min-height: 60px;\n    transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n  }\n\n.component-barrier {\n    border-bottom: 4px solid #343a40 !important;\n    padding-bottom: 3px;\n  }\n\n\n"},71162:de=>{"use strict";de.exports=""},42470:de=>{"use strict";de.exports=""},29044:de=>{"use strict";de.exports=""},88749:de=>{"use strict";de.exports=""},74721:de=>{"use strict";de.exports=""},5878:de=>{"use strict";de.exports=""},37276:de=>{"use strict";de.exports=""},7736:de=>{"use strict";de.exports=""},14279:de=>{"use strict";de.exports=""},14343:de=>{"use strict";de.exports=""},46323:de=>{"use strict";de.exports=""},59879:de=>{"use strict";de.exports=""},63854:de=>{"use strict";de.exports=""},70441:de=>{"use strict";de.exports=""},68558:de=>{"use strict";de.exports=""},76845:de=>{"use strict";de.exports=""},30347:de=>{"use strict";de.exports=""},21281:de=>{"use strict";de.exports=""},87642:de=>{"use strict";de.exports=""},82261:de=>{"use strict";de.exports=""},48919:de=>{"use strict";de.exports=""},70142:de=>{"use strict";de.exports=""},10474:de=>{"use strict";de.exports=""},90994:de=>{"use strict";de.exports=""},93005:de=>{"use strict";de.exports=""},87436:de=>{"use strict";de.exports=""},11278:de=>{"use strict";de.exports=""},39174:de=>{"use strict";de.exports=""},65376:de=>{"use strict";de.exports=".risk-option {\n  height: 120px;\n  cursor: pointer;\n  margin: 5px;\n}\n\n.second-risk-option {\n  cursor: pointer;\n  margin: 5px;\n}\n\n.risk-option-disabled {\n  cursor: unset;\n}\n\n.risk-score {\n  margin-top: 10px;\n  font-weight: bold;\n  font-size: 200%;\n  text-align: center;\n}\n"},36459:de=>{"use strict";de.exports=""},31575:de=>{"use strict";de.exports=""},10763:de=>{"use strict";de.exports=""},34957:de=>{"use strict";de.exports="/** Dropzone for file upload **/\n.drop-container {\n\tbackground: #F8F8F8;\n\tborder: 5px dashed #DDD;\n\twidth: 100%;\n\theight: auto;\n\ttext-align: center;\n\tpadding: 10px;\n\tmargin: 0;\n}\n.dragover {\n\tborder: 5px dashed #007BFF;\n}\n/* thumbnail grid icon*/\n.fa-thumbnail i {\n\ttop: 50%;\n\tleft: 50%;\n\tposition: absolute;\n\tmargin-left: -10px;\n    margin-top: -20px;\n    opacity: 0.5;\n    filter: alpha(opacity=50);\n}\n.btn-file {\n    position: relative;\n    overflow: hidden;\n}\n.btn-file input[type=file] {\n    position: absolute;\n    top: 0;\n    right: 0;\n    min-width: 100%;\n    min-height: 100%;\n    font-size: 100px;\n    text-align: right;\n    filter: alpha(opacity=0);\n    opacity: 0;\n    outline: none;\n    background: white;\n    cursor: inherit;\n    display: block;\n}\n"},9202:de=>{"use strict";de.exports=""},48880:de=>{"use strict";de.exports=""},19334:de=>{"use strict";de.exports=""},67039:de=>{"use strict";de.exports=""},72280:de=>{"use strict";de.exports=""},70549:de=>{"use strict";de.exports=""},69685:de=>{"use strict";de.exports=""},33358:de=>{"use strict";de.exports=""},10948:de=>{"use strict";de.exports=".rating-star {\n    font-size: 1.5rem;\n    color: #b0c4de;\n  }\n  .rating-filled {\n    color: #1e90ff;\n  }\n  .rating-bad {\n    color: #e7dda0;\n  }\n  .rating-filled.rating-bad {\n    color: #f09927;\n  }\n  .rating-worst {\n    color: #deb0b0;\n  }\n  .rating-filled.rating-worst {\n    color: #ff1e1e;\n  }"},85397:de=>{"use strict";de.exports=""},33297:de=>{"use strict";de.exports=""},98286:de=>{"use strict";de.exports=""},76426:de=>{"use strict";de.exports=""},15667:de=>{"use strict";de.exports=""},26228:de=>{"use strict";de.exports=""},3396:de=>{"use strict";de.exports=""},28314:de=>{"use strict";de.exports=""},98581:de=>{"use strict";de.exports=""},4238:de=>{"use strict";de.exports=""},68110:de=>{"use strict";de.exports=""},76096:de=>{"use strict";de.exports=""},2677:de=>{"use strict";de.exports=""},89775:de=>{"use strict";de.exports=""},87288:de=>{"use strict";de.exports=""},29056:de=>{"use strict";de.exports=""},52330:de=>{"use strict";de.exports=""},58150:de=>{"use strict";de.exports=""},81591:de=>{"use strict";de.exports=""},49479:de=>{"use strict";de.exports=""},30466:de=>{"use strict";de.exports=""},59457:de=>{"use strict";de.exports=".form-group.hidden {\n  width: 0;\n  margin: 0;\n  border: none;\n  padding: 0;\n}\n.custom-day {\n  text-align: center;\n  padding: 0.185rem 0.25rem;\n  display: inline-block;\n  height: 2rem;\n  width: 2rem;\n}\n.custom-day.focused {\n  background-color: #e6e6e6;\n}\n.custom-day.range, .custom-day:hover {\n  background-color: rgb(2, 117, 216);\n  color: white;\n}\n.custom-day.faded {\n  background-color: rgba(2, 117, 216, 0.5);\n}\n"},21091:de=>{"use strict";de.exports=""},40729:de=>{"use strict";de.exports="agm-map {\n    min-height: 10em;\n    height: 20em;\n    width: 100%;\n  }"},88818:de=>{"use strict";de.exports=""},73763:de=>{"use strict";de.exports=""},82181:de=>{"use strict";de.exports=""},55374:de=>{"use strict";de.exports="agm-map {\n  min-height: 300px;\n  height: 400px;\n  width: 100%;\n  }\n\n  h3.report-title {\n    background: #eeeeee;\n    padding: 2px;\n    border: 1px 0px 1px 0px solid grey;\n    width: 100%;\n  }"},86919:de=>{"use strict";de.exports=""},26125:de=>{"use strict";de.exports=""},17673:de=>{"use strict";de.exports=""},55925:de=>{"use strict";de.exports=".div_hover { background-color: None; }\n\n.div_hover:hover { background-color: #EEEEEE; }\n"},33199:de=>{"use strict";de.exports=""},3656:de=>{"use strict";de.exports="/* Chrome, Safari, Edge, Opera */\n.nospinner input::-webkit-outer-spin-button,\n.nospinner input::-webkit-inner-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n/* Firefox */\n.nospinner input[type=number] {\n  -moz-appearance: textfield;\n}\n"},78213:de=>{"use strict";de.exports=""},31909:de=>{"use strict";de.exports=""},28929:de=>{"use strict";de.exports=".form-group.hidden {\n  width: 0;\n  margin: 0;\n  border: none;\n  padding: 0;\n}\n.custom-day {\n  text-align: center;\n  padding: 0.185rem 0.25rem;\n  display: inline-block;\n  height: 2rem;\n  width: 2rem;\n}\n.custom-day.focused {\n  background-color: #e6e6e6;\n}\n.custom-day.range, .custom-day:hover {\n  background-color: rgb(2, 117, 216);\n  color: white;\n}\n.custom-day.faded {\n  background-color: rgba(2, 117, 216, 0.5);\n}\n"},13078:de=>{"use strict";de.exports=""},76422:de=>{"use strict";de.exports=""},33464:de=>{"use strict";de.exports=""},97483:de=>{"use strict";de.exports="agm-map {\n    min-height: 10em;\n    height: 20em;\n    width: 100%;\n  }"},18699:de=>{"use strict";de.exports=""},99054:de=>{"use strict";de.exports=""},61599:de=>{"use strict";de.exports=""},81754:de=>{"use strict";de.exports=""},57251:de=>{"use strict";de.exports=""},79876:de=>{"use strict";de.exports="agm-map {\n  min-height: 300px;\n  height: 400px;\n  width: 100%;\n  }\n\n  h3.report-title {\n    background: #eeeeee;\n    padding: 2px;\n    border: 1px 0px 1px 0px solid grey;\n    width: 100%;\n  }"},84980:de=>{"use strict";de.exports=""},53280:de=>{"use strict";de.exports=""},16640:de=>{"use strict";de.exports=""},1738:de=>{"use strict";de.exports=".div_hover { background-color: None; }\n\n.div_hover:hover { background-color: #EEEEEE; }\n"},96162:de=>{"use strict";de.exports=""},28805:de=>{"use strict";de.exports=""},19282:de=>{"use strict";de.exports=""},28285:de=>{"use strict";de.exports="agm-map {\n  min-height: 300px;\n  height: 400px;\n  width: 100%;\n  }\n\n  h3.report-title {\n    background: #eeeeee;\n    padding: 2px;\n    border: 1px 0px 1px 0px solid grey;\n    width: 100%;\n  }\n\n  .narrative {\n    white-space: pre-line;\n}\n"},57149:de=>{"use strict";de.exports=""},5889:de=>{"use strict";de.exports=".div_hover { background-color: None; }\n\n.div_hover:hover { background-color: #EEEEEE; }\n"},23318:de=>{"use strict";de.exports=""},76646:de=>{"use strict";de.exports=""},88153:de=>{"use strict";de.exports="macro.anon {\n    border-bottom: 1px solid #222222 !important;\n}\n"},45021:de=>{"use strict";de.exports=""},18055:de=>{"use strict";de.exports='.timeline {\n\tlist-style: none;\n\tpadding: 20px 0 20px;\n\tposition: relative;\n}\n\n.timeline:before {\n\ttop: 0;\n\tbottom: 0;\n\tposition: absolute;\n\tcontent: " ";\n\twidth: 3px;\n\tbackground-color: #eeeeee;\n\tleft: 25px;\n\tmargin-right: -1.5px;\n}\n\n.timeline>li {\n\tmargin-bottom: 20px;\n\tposition: relative;\n}\n\n.timeline>li:before,.timeline>li:after {\n\tcontent: " ";\n\tdisplay: table;\n}\n\n.timeline>li:after {\n\tclear: both;\n}\n\n.timeline>li:before,.timeline>li:after {\n\tcontent: " ";\n\tdisplay: table;\n}\n\n.timeline>li:after {\n\tclear: both;\n}\n\n.timeline>li>.timeline-panel {\n\twidth: calc(100% - 75px);\n\tfloat: right;\n\tborder: 1px solid #d4d4d4;\n\tborder-radius: 2px;\n\tpadding: 20px;\n\tposition: relative;\n\tbox-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);\n}\n\n.timeline>li>.timeline-panel:before {\n\tposition: absolute;\n\ttop: 26px;\n\tleft: -15px;\n\tdisplay: inline-block;\n\tborder-top: 15px solid transparent;\n\tborder-right: 15px solid #ccc;\n\tborder-left: 0 solid #ccc;\n\tborder-bottom: 15px solid transparent;\n\tcontent: " ";\n}\n\n.timeline>li>.timeline-panel:after {\n\tposition: absolute;\n\ttop: 27px;\n\tleft: -14px;\n\tdisplay: inline-block;\n\tborder-top: 14px solid transparent;\n\tborder-right: 14px solid #fff;\n\tborder-left: 0 solid #fff;\n\tborder-bottom: 14px solid transparent;\n\tcontent: " ";\n}\n\n.timeline>li>.timeline-badge {\n\tcolor: #fff;\n\twidth: 50px;\n\theight: 50px;\n\tline-height: 50px;\n\tfont-size: 1.4em;\n\ttext-align: center;\n\tposition: absolute;\n\ttop: 16px;\n\tleft: 0px;\n\tmargin-right: -25px;\n\tbackground-color: #999999;\n\tz-index: 100;\n\tborder-top-right-radius: 50%;\n\tborder-top-left-radius: 50%;\n\tborder-bottom-right-radius: 50%;\n\tborder-bottom-left-radius: 50%;\n}\n\n.timeline>li.timeline-inverted>.timeline-panel {\n\tfloat: left;\n}\n\n.timeline>li.timeline-inverted>.timeline-panel:before {\n\tborder-right-width: 0;\n\tborder-left-width: 15px;\n\tright: -15px;\n\tleft: auto;\n}\n\n.timeline>li.timeline-inverted>.timeline-panel:after {\n\tborder-right-width: 0;\n\tborder-left-width: 14px;\n\tright: -14px;\n\tleft: auto;\n}\n\n.timeline-badge.primary {\n\tbackground-color: #2e6da4 !important;\n}\n\n.timeline-badge.secondary {\n\tbackground-color: #2e6da4 !important;\n}\n\n.timeline-badge.success {\n\tbackground-color: #3f903f !important;\n}\n\n.timeline-badge.warning {\n\tbackground-color: #f0ad4e !important;\n}\n\n.timeline-badge.danger {\n\tbackground-color: #d9534f !important;\n}\n\n.timeline-badge.info {\n\tbackground-color: #5bc0de !important;\n}\n\n.timeline-title {\n\tmargin-top: 0;\n\tcolor: inherit;\n}\n\n.timeline-body>p,.timeline-body>ul {\n\tmargin-bottom: 0;\n}\n\n.timeline-body>p+p {\n\tmargin-top: 5px;\n}'},42666:de=>{"use strict";de.exports=""},75150:de=>{"use strict";de.exports=""},15112:de=>{"use strict";de.exports=""},99499:de=>{"use strict";de.exports=""},84849:de=>{"use strict";de.exports=""},10496:de=>{"use strict";de.exports=""},43175:de=>{"use strict";de.exports=".m-b {\n\tmargin-bottom: 15px\n}\n\n.m-l {\n\tmargin-left: 15px\n}\n\n.b-l {\n\tborder-left: 1px solid #dee5e7\n}\n\n.text-md {\n\tfont-size: 16px\n}\n\n.streamline {\n\tposition: relative;\n\tborder-color: #dee5e7\n}\n\n.streamline .sl-item:after,.streamline:after {\n\tposition: absolute;\n\tbottom: 0;\n\tleft: 0;\n\twidth: 9px;\n\theight: 9px;\n\tmargin-left: -5px;\n\tbackground-color: #fff;\n\tborder-color: inherit;\n\tborder-style: solid;\n\tborder-width: 1px;\n\tborder-radius: 10px;\n\tcontent: ''\n}\n\n.sl-item {\n\tposition: relative;\n\tpadding-bottom: 1px;\n\tborder-color: #dee5e7\n}\n\n.sl-item:before,.sl-item:after {\n\tdisplay: table;\n\tcontent: \" \"\n}\n\n.sl-item:after {\n\tclear: both\n}\n\n.sl-item:after {\n\ttop: 6px;\n\tbottom: auto\n}\n\n.sl-item.b-l {\n\tmargin-left: -1px\n}\n\n.sl-item.b-lighter {\n\tborder-color: #eee\n}\n\n.sl-item.b-light {\n\tborder-color: #777\n}\n\n.sl-item.b-dark {\n\tborder-color: #333\n}\n\n.sl-item.b-black {\n\tborder-color: #222\n}\n\n.sl-item.b-primary {\n\tborder-color: #337ab7\n}\n\n.b-success {\n\tborder-color: #5cb85c\n}\n\n.sl-item.b-info {\n\tborder-color: #5bc0de;\n}\n\n.sl-item.b-warning {\n\tborder-color: #f0ad4e;\n}\n\n.sl-item.b-danger {\n\tborder-color: #d9534f;\n}\n\n.sl-item.b-white {\n\tborder-color: #fff\n}\n\n.sl-item.b-dashed {\n\tborder-style: dashed !important\n}\n\n.workflow-comment {\n  white-space: pre-line;\n}\n"},972:de=>{"use strict";de.exports=""},8359:de=>{"use strict";de.exports=""},34879:de=>{"use strict";de.exports=""},59718:de=>{"use strict";de.exports="agm-map {\n  min-height: 300px;\n  height: 400px;\n  width: 100%;\n  }\n\n  h3.report-title {\n    background: #eeeeee;\n    padding: 2px;\n    border: 1px 0px 1px 0px solid grey;\n    width: 100%;\n}\n\n  .narrative {\n  white-space: pre-line;\n}\n"},50539:de=>{"use strict";de.exports=""},29864:de=>{"use strict";de.exports=".div_hover { background-color: None; }\n\n.div_hover:hover { background-color: #EEEEEE; }\n"},97419:de=>{"use strict";de.exports=""},80592:de=>{"use strict";de.exports=""},2680:de=>{"use strict";de.exports=""},27360:de=>{"use strict";de.exports="agm-map {\n  min-height: 300px;\n  height: 400px;\n  width: 100%;\n  }\n\n  h3.report-title {\n    background: #eeeeee;\n    padding: 2px;\n    border: 1px 0px 1px 0px solid grey;\n    width: 100%;\n  }\n\n  .narrative {\n    white-space: pre-line;\n}\n"},69118:de=>{"use strict";de.exports=""},25098:de=>{"use strict";de.exports=".div_hover { background-color: None; }\n\n.div_hover:hover { background-color: #EEEEEE; }\n"},66201:de=>{"use strict";de.exports=""},35218:de=>{"use strict";de.exports=""},14438:de=>{"use strict";de.exports=""},90765:de=>{"use strict";de.exports=".obsreg-card {\n  height: 100%;\n}\n\nnlf-ors-last {\n  height: 100%;\n}\n"},86590:de=>{"use strict";de.exports=""},771:de=>{"use strict";de.exports=""},5294:de=>{"use strict";de.exports=""},41269:de=>{"use strict";de.exports="[data-letters]:before {\n  content:attr(data-letters);\n  display:inline-block;\n  font-size:1em;\n  width:2.5em;\n  height:2.5em;\n  line-height:2.5em;\n  text-align:center;\n  border-radius:50%;\n  background:plum;\n  vertical-align:middle;\n  color:white;\n  }\n"},51109:de=>{"use strict";de.exports=""},98269:de=>{"use strict";de.exports=""},66380:de=>{"use strict";de.exports=""},26060:de=>{"use strict";de.exports=""},92731:de=>{"use strict";de.exports=""},29817:de=>{"use strict";de.exports=""},44860:de=>{"use strict";de.exports=""},95023:de=>{"use strict";de.exports=""},57455:de=>{"use strict";de.exports=""},49698:de=>{"use strict";de.exports=""},21321:de=>{"use strict";de.exports=""},95067:de=>{"use strict";de.exports=""},3607:de=>{"use strict";de.exports=""},79254:de=>{"use strict";de.exports=""},6919:de=>{"use strict";de.exports=""},65437:de=>{"use strict";de.exports=""},23511:de=>{"use strict";de.exports=""},25565:de=>{"use strict";de.exports=""},94341:de=>{"use strict";de.exports=""},61760:de=>{"use strict";de.exports=""},99725:de=>{"use strict";de.exports=""},21061:de=>{"use strict";de.exports=""},42848:de=>{"use strict";de.exports=""},95225:de=>{"use strict";de.exports=""},10697:de=>{"use strict";de.exports=""},18714:de=>{"use strict";de.exports=""},60444:de=>{"use strict";de.exports=""},27324:de=>{"use strict";de.exports=""},77509:de=>{"use strict";de.exports=""},89443:de=>{"use strict";de.exports=""},84673:de=>{"use strict";de.exports=""},60007:de=>{"use strict";de.exports=""},51717:de=>{"use strict";de.exports=""},17918:de=>{"use strict";de.exports=".obsreg-card {\n  height: 100%;\n}\n\nnlf-ors-last {\n  height: 100%;\n}\n"},96235:de=>{"use strict";de.exports="html {\n  position: relative;\n  min-height: 100%;\n}\nbody {\n  /* Margin bottom by footer height */\n  margin-bottom: 100px;\n}\n.footer {\n  position: absolute;\n  bottom: 0;\n  width: 100%;\n  /* Set the fixed height of the footer here */\n  height: 100px;\n  line-height: 10px; /* Vertically center the text there */\n  background-color: #f5f5f5;\n}\n"},23944:de=>{"use strict";de.exports="nav {\n  border-bottom: 1px solid #CCCCCC;\n}\n\n.fa-fnix-container {\n  position: relative;\n}\n\n.fa-fnix-sub {\n  top: -1px;\n  right: -1px;\n  font-size: 10px;\n  position: absolute;\n}\n\n.btn-sm .fa-fnix-sub {\n  right: -4px;\n  font-size: 8px;\n}\n\n.fa-fnix-sub-bg {\n  text-shadow: 0 0 1px black;\n}\n"},60302:de=>{"use strict";de.exports=""},42290:de=>{"use strict";de.exports=""},20747:de=>{"use strict";de.exports=""},12698:de=>{"use strict";de.exports=""},75e3:de=>{"use strict";de.exports=""},30770:de=>{"use strict";de.exports=""},66447:de=>{"use strict";de.exports=""},59901:de=>{"use strict";de.exports=".image-wrap {\n    padding: 10px;\n    border: solid 1px #e0e0e0;\n    display: inline-block;\n}\n\n.img-space {\n    border: dashed 1px #d3d3d3;\n    border-radius: 8px;\n    background-color: #f2f2f2;\n    height: auto;\n    width: 100%;\n    padding: 10px;\n    min-height:175px;\n}\n\n.img-space img {\n    display: block;\n    width: 100%;\n    height: 100%;\n    margin: auto;\n    cursor: pointer;\n}\n\n.fileInputProfileWrap {\n    width: 100%;\n    height: auto;\n}\n\n.fileInputProfile {\n    position: absolute;\n    height: 100%;\n    width: 100%;\n    z-index: 99;\n    opacity: 0;\n}\n\n.fileInputProfile[disabled] + .img-space{\n}\n"},4767:de=>{"use strict";de.exports=""},32707:de=>{"use strict";de.exports=""},99562:de=>{"use strict";de.exports=""},87076:de=>{"use strict";de.exports='<div *ngIf="dataReady">\n  <div class="row">\n    <div class="col-md-3 col-lg-2">\n      <img *ngIf="!!aircraft.image" [src]="domSanitizer.bypassSecurityTrustUrl(aircraft.image)" class="me-3 ml-0 p-0 img-fluid" alt="{{ callsign }}">\n      <div *ngIf="!aircraft.image" class="me-3 ml-0 p-0 empty-image">\n        <fa-icon *ngIf="aircraft.type !== \'HELICOPTER\'" [icon]="faPlane" [fixedWidth]="true" size="3x"></fa-icon>\n        <fa-icon *ngIf="aircraft.type === \'HELICOPTER\'" [icon]="faHelicopter" [fixedWidth]="true" size="3x"></fa-icon>\n      </div>\n    </div>\n    <div class="col-md-9">\n      <h5 class="mt-0">{{ callsign }}</h5>\n      {{ aircraft.model || model || \'Ukjent modell\'}} {{ aircraft.manufacturer || manufacturer || \'Ukjent produsent\' }}\n    </div>\n  </div>\n</div>\n<nlf-ui-component-spinner *ngIf="!dataReady"></nlf-ui-component-spinner>\n'},89226:de=>{"use strict";de.exports='<button title="Legg til nytt fly i flyregisteret" (click)="openModal(modalTemplate)" style="margin:1px;" class="btn btn-primary btn-sm">\n  <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Nytt fly\n</button>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modalTemplate>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Add Aircraft\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-6">\n\n        <div class="input-group mb-3">\n          <input (keyup.enter)="checkAircraft()" [(ngModel)]="callsign" type="text" class="form-control" placeholder="Regnummer"\n            aria-label="Regnummer" aria-describedby="Regnummer">\n          <button (click)="checkAircraft()" class="btn btn-primary" id="Regnummer">Check</button>\n        </div>\n      </div>\n    </div>\n\n    <div class="row" *ngIf="dataReady">\n      <div *ngIf="!!error" class="alert alert-danger" role="alert">\n        {{ error }}\n      </div>\n\n      \x3c!-- ADD A AIRCRAFT --\x3e\n      <div class="col-md-12 col-sm-12" *ngIf="aircraft_listing.length === 0">\n\n        <div class="row">\n          <div class="col-md-6 col-sm-12">\n            <div class="form-group">\n              <label for="type">Aircraft Type</label>\n              <select class="form-control" id="type" [(ngModel)]="new_aircraft.type" value="ENGINEPOWERED AIRPLANE">\n                <option *ngFor="let row of aircraft_types">{{ row._id.type }}</option>\n              </select>\n            </div>\n          </div>\n\n          <div class="col-md-6 col-sm-12">\n            <div class="form-group">\n              <label for="status">Aircraft Status</label>\n              <select class="form-control" id="status" [(ngModel)]="new_aircraft.status" value="ACTIVE">\n                <option>ACTIVE</option>\n                <option>DEACTIVE</option>\n              </select>\n            </div>\n          </div>\n        </div>\n\n        <div class="row">\n\n          <div class="col-md-12 col-sm-12">\n            <div class="form-group">\n              <label for="manufacturer">Manufacturer</label>\n              <input class="form-control" type="text" id="manufacturer" [(ngModel)]="new_aircraft.manufacturer">\n            </div>\n          </div>\n        </div>\n        <div class="row">\n          <div class="col-md-12 col-sm-12">\n            <div class="form-group">\n              <label for="model">Model</label>\n              <input class="form-control" type="text" id="model" [(ngModel)]="new_aircraft.model">\n            </div>\n          </div>\n        </div>\n\n        <div class="row">\n          <div class="col-md-12 col-sm-12">\n            <div class="form-group">\n              <label for="msn">Serial</label>\n              <input class="form-control" type="text" id="msn" [(ngModel)]="new_aircraft.msn">\n            </div>\n          </div>\n        </div>\n\n        <div class="row">\n          <div class="d-grid gap-2 mt-3">\n            <button (click)="addAircraft()" class="btn btn-primary">\n              <fa-icon [icon]="faPlus"></fa-icon>Add\n            </button>\n          </div>\n        </div>\n      </div>\n\n\n      <div *ngIf="aircraft_listing.length > 0" class="col-sm-12">\n        <div class="alert alert-danger" role="alert">\n          Fly med regnummer {{ callsign }} eksisterer\n        </div>\n      </div>\n      <div class="col-sm-12">\n        <div *ngFor="let row of aircraft_listing">\n          <a [routerLink]="[\'/aircraft\', \'edit\', row._id]">\n            <fa-icon [icon]="faEdit"></fa-icon>{{ row.callsign }}\n          </a> {{ row.manufacturer }} {{ row.model }} <span class="badge" [ngClass]="{\'bg-success\': row.status==\'ACTIVE\', \'bg-danger\': row.status==\'DELETED\'}">{{ row.status }}</span>\n        </div>\n      </div>\n\n    </div>\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes"></fa-icon>Avbryt\n    </button>\n\n  </div>\n</ng-template>\n'},15109:de=>{"use strict";de.exports='<div *ngIf="dataReady">\n\n  \x3c!-- BASIC INFO --\x3e\n  <div class="bg-light p-1 mt-3">\n    <h4>Luftfart\xf8ydata</h4>\n    <div class="row mt-3">\n\n      <div class="col-md-2 col-sm-6">\n        <div class="form-group">\n          <label for="callsign">Callsign</label>\n          <input type="string" class="form-control" id="callsign" aria-describedby="callsign" value="{{ aircraft.callsign }}" disabled>\n        </div>\n      </div>\n\n      <div class="col-md-4 col-sm-6">\n        <div class="form-group">\n          <label for="type">Type</label>\n          <input type="string" class="form-control" id="type" aria-describedby="type" value="{{ aircraft.type }}" disabled>\n        </div>\n      </div>\n      <div class="col-md-3 col-sm-6">\n        <div class="form-group">\n          <label for="status">Status</label>\n          <input type="string" class="form-control" [ngClass]="{\'bg-success\': aircraft.status==\'ACTIVE\', \'bg-danger\': aircraft.status==\'DELETED\'}" id="status" aria-describedby="status" value="{{ aircraft.status }}" disabled>\n        </div>\n      </div>\n      <div class="col-md-3 col-sm-6">\n        <div class="form-group">\n          <label for="updated">Updated</label>\n          <input type="string" class="form-control" id="updated" aria-describedby="updated" value="{{ aircraft._updated | date:\'yyyy-MM-dd HH:mm:ss\' }}" disabled>\n        </div>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-4 col-sm-6">\n        <div class="form-group">\n          <label for="callsign">Model</label>\n          <input type="string" class="form-control" id="model" aria-describedby="model" value="{{ aircraft.model }}" disabled>\n        </div>\n      </div>\n\n      <div class="col-md-4 col-sm-6">\n        <div class="form-group">\n          <label for="manufacturer">Manufacturer</label>\n          <input type="string" class="form-control" id="manufacturer" aria-describedby="manufacturer" value="{{ aircraft.manufacturer }}" disabled>\n        </div>\n      </div>\n      <div class="col-md-4 col-sm-6">\n        <div class="form-group">\n          <label for="msn">Serial (MSN)</label>\n          <input type="string" class="form-control" id="msn" aria-describedby="msn" value="{{ aircraft.msn }}" disabled>\n        </div>\n      </div>\n    </div>\n  </div>\n\n  \x3c!-- E5XAircraft Attributes --\x3e\n  <div class="bg-light p-1 mt-3">\n    <h4>Ytterligere data</h4>\n  </div>\n  <div class="row">\n\n    <div class="col-md-4 col-sm-6">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.stateOfRegistry.value" path="E5X.Occurrence.Aircraft.StateOfRegistry" id="StateOfRegistry"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-5 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.serialNumber.value" path="E5X.Occurrence.Aircraft.SerialNumber" id="SerialNumber"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-3 col-sm-6">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.yearBuilt.value" path="E5X.Occurrence.Aircraft.YearBuilt" id="YearBuilt"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n  <div class="row">\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.manufacturerModel.value" path="E5X.Occurrence.Aircraft.ManufacturerModel" id="ManufacturerModel"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.propulsionType.value" path="E5X.Occurrence.Aircraft.PropulsionType" id="PropulsionType"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n  <div class="row">\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.aircraftCategory.value" path="E5X.Occurrence.Aircraft.AircraftCategory" id="AircraftCategory"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.annex2ACType.value" path="E5X.Occurrence.Aircraft.Annex2ACType" id="Annex2ACType"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n\n  <div class="row">\n    <div class="col-md-3 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.massGroup.value" path="E5X.Occurrence.Aircraft.MassGroup" id="MassGroup"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-3 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.maximumTOMass.value" path="E5X.Occurrence.Aircraft.MaximumTOMass" id="MaximumTOMass"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-3 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.landingGearType.value" path="E5X.Occurrence.Aircraft.LandingGearType" id="LandingGearType"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-3 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.wakeTurbCategory.value" path="E5X.Occurrence.Aircraft.WakeTurbCategory" id="WakeTurbCategory"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n  <div class="row">\n    <div class="col-md-12 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.operator.value" path="E5X.Occurrence.Aircraft.Operator" id="Operator"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n\n  <div class="row bg-info p-2 mt-3">\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.aircraftTotalTime.value" path="E5X.Occurrence.Aircraft.AircraftTotalTime" id="AircraftTotalTime"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-6 col-sm-12">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.attributes.totalCyclesAC.value" path="E5X.Occurrence.Aircraft.TotalCyclesAC" id="TotalCyclesAC"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n\n\n  \x3c!-- E5X --\x3e\n  \x3c!-- BASIC INFO\n    <div class="row">\n      <div class="col-md-3">\n\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)"  [(items)]="e5x.attributes.rotorcraftMassGroup.value" path="E5X.Occurrence.Aircraft.RotorcraftMassGroup"\n          id="RotorcraftMassGroup"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-3">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)"  [(items)]="e5x.attributes.totalCyclesAC.value" path="E5X.Occurrence.Aircraft.TotalCyclesAC"\n          id="TotalCyclesAC"></nlf-ors-editor-tag-e5x>\n\n      </div>\n      <div class="col-md-3">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)"  [(items)]="e5x.attributes.yearBuilt.value" path="E5X.Occurrence.Aircraft.YearBuilt"\n          id="YearBuilt"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-3">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)"  [(items)]="e5x.attributes.numberOfEngines.value" path="E5X.Occurrence.Aircraft.NumberOfEngines"\n          id="NumberOfEngines"></nlf-ors-editor-tag-e5x>\n\n      </div>\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)"  [(items)]="e5x.attributes.landingGearType.value" path="E5X.Occurrence.Aircraft.LandingGearType"\n        id="LandingGearType"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    ataChapterInvolved: { value: undefined },\n            cyclesSinceInsp: { value: undefined },\n            cyclesSinceNew: { value: undefined },\n            cyclesSinceOverhaul: { value: undefined },\n            dateOfInspection: { value: undefined },\n            dateOfManufacturing: { value: undefined },\n            dateOverhaul: { value: undefined },\n            enginePosition: { value: undefined },\n            engineSerialNumber: { value: undefined },\n            hazardEngEffect: { value: undefined },\n            manufacturerModel: { value: undefined },\n            natureOfEngineInvolvement: { value: undefined },\n            timeSinceInspection: { unit: \'Hour(s)\', value: undefined },\n            timeSinceNew: { unit: \'Hour(s)\', value: undefined },\n            timeSinceOverhaul: { unit: \'Hour(s)\', value: undefined },\n  --\x3e\n  <div class="row">\n\n    <div class="col-md-6 col-sm-12">\n\n\n      <div class="bg-light p-2 mb-3" *ngFor="let engine of e5x.entities.engine; let idx = index; let last = last">\n\n        <div class="row">\n          <h5>\n            <span class="badge bg-info lead">Engine #{{ idx+1\xa0}}</span>\n            <span *ngIf="last && !disabled" (click)="delEngine(idx)" class="pointer mx-3">\n              <fa-icon [icon]="faClose"></fa-icon>\n            </span>\n          </h5>\n        </div>\n\n        <div class="row col-md-12">\n          \x3c!-- ENGINE INFO --\x3e\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.engineSerialNumber.value" path="E5X.Occurrence.Aircraft.Engine.EngineSerialNumber" id="EngineSerialNumber">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.manufacturerModel.value" path="E5X.Occurrence.Aircraft.Engine.ManufacturerModel" id="ManufacturerModel">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-12 mt-1">\n            <div class="form-group">\n              <label for="dummy"> </label>\n              <input type="text" readonly class="form-control-plaintext" id="dummy" value=" ">\n            </div>\n          </div>\n        </div>\n        \x3c!-- INSPECTION date, time, cycles--\x3e\n        <div class="row">\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateOfManufacturing">Date Of Manufacturing</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateOfManufacturing" [(date)]="e5x.entities.engine[idx].attributes.dateOfManufacturing.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateOfInspection">Date Of Inspection</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateOfInspection" [(date)]="e5x.entities.engine[idx].attributes.dateOfInspection.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateOverhaul">Date Overhaul</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateOverhaul" [(date)]="e5x.entities.engine[idx].attributes.dateOverhaul.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n        </div>\n        <div class="row bg-info">\n\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.cyclesSinceNew.value" path="E5X.Occurrence.Aircraft.Engine.CyclesSinceNew" id="CyclesSinceNew">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.timeSinceNew.value" path="E5X.Occurrence.Aircraft.Engine.TimeSinceNew" id="TimeSinceNew"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.cyclesSinceOverhaul.value" path="E5X.Occurrence.Aircraft.Engine.CyclesSinceOverhaul" id="CyclesSinceOverhaul">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.timeSinceOverhaul.value" path="E5X.Occurrence.Aircraft.Engine.TimeSinceOverhaul" id="TimeSinceOverhaul">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.cyclesSinceInsp.value" path="E5X.Occurrence.Aircraft.Engine.CyclesSinceInsp" id="CyclesSinceInsp">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.engine[idx].attributes.timeSinceInspection.value" path="E5X.Occurrence.Aircraft.Engine.TimeSinceInspection" id="TimeSinceInspection">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n        </div>\n\n      </div>\n      <div class="d-grid">\n        <button [disabled]="disabled" (click)="addEngine()" class="btn btn-primary my-3">\n          <fa-icon [icon]="faPlus"></fa-icon> Legg til motor\n        </button>\n      </div>\n      <code>{{ engine | json }}</code>\n    </div>\n    \x3c!--//END ENGINE--\x3e\n    <div class="col-md-6 col-sm-12">\n\n      <div class="bg-light p-2 mb-3" *ngFor="let propeller of e5x.entities.propeller; let idx = index; let last = last">\n\n        <div class="row">\n          <h5>\n            <span class="badge bg-info lead">Propeller #{{ idx+1\xa0}} </span>\n            <span *ngIf="last && !disabled" (click)="delPropeller(idx)" class="pointer mx-3">\n              <fa-icon [icon]="faClose"></fa-icon>\n            </span>\n          </h5>\n        </div>\n        <div class="row">\n          \x3c!-- PROP INFO --\x3e\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.propSerial.value" path="E5X.Occurrence.Aircraft.Propeller.PropSerial" id="PropSerial">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.makeOfPropeller.value" path="E5X.Occurrence.Aircraft.Propeller.MakeOfPropeller" id="MakeOfPropeller">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.propellerModel.value" path="E5X.Occurrence.Aircraft.Propeller.PropellerModel" id="PropellerModel">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n\n          \x3c!-- INSPECTION date, time, cycles--\x3e\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateOfManufacturing">Date Of Manufacturing</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateOfManufacturing" [(date)]="e5x.entities.propeller[idx].attributes.dateOfManufacturing.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateOfInspection">Date Of Inspection</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateOfInspection" [(date)]="e5x.entities.propeller[idx].attributes.dateOfOverhaul.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n          <div class="col-md-4">\n            <div class="form-group">\n              <label for="DateRepairInsp">Date Overhaul</label>\n              <nlf-ors-editor-date [disabled]="disabled" (change)="onChange($event)" id="DateRepairInsp" [(date)]="e5x.entities.propeller[idx].attributes.dateRepairInsp.value"></nlf-ors-editor-date>\n            </div>\n          </div>\n\n          <div class="row bg-info">\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.cyclesSinceNew.value" path="E5X.Occurrence.Aircraft.Propeller.CyclesSinceNew" id="CyclesSinceNew">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.timeSinceNew.value" path="E5X.Occurrence.Aircraft.Propeller.TimeSinceNew" id="TimeSinceNew">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.cyclesSinceOverh.value" path="E5X.Occurrence.Aircraft.Propeller.CyclesSinceOverh" id="CyclesSinceOverh">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.timeSinceOverhaul.value" path="E5X.Occurrence.Aircraft.Propeller.TimeSinceOverhaul" id="TimeSinceOverhaul">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.cyclesSinceInsp.value" path="E5X.Occurrence.Aircraft.Propeller.CyclesSinceInsp" id="CyclesSinceInsp">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="onChange($event)" [(items)]="e5x.entities.propeller[idx].attributes.timeSinceInspection.value" path="E5X.Occurrence.Aircraft.Propeller.TimeSinceInspection"\n                id="TimeSinceInspection">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n          </div>\n\n\n\n        </div>\n      </div>\n      <div class="d-grid">\n        <button [disabled]="disabled" (click)="addPropeller()" class="btn btn-primary my-3">\n          <fa-icon [icon]="faPlus"></fa-icon> Legg til propell\n        </button>\n      </div>\n\n      <code>{{ propeller | json }}</code>\n    </div>\n    \x3c!--//END ENGINE--\x3e\n  </div>\n\n  <div class="row bg-light mt-3">\n\n    <div class="col-md-6">\n      <span *ngIf="showImage">\n        <p *ngIf="!aircraft.image && !thumbnail" class="lead">\n          Legg til bilde\n        </p>\n        <img class="img-fluid img-thumbnail" *ngIf="!!aircraft.image && !thumbnail" [src]="domSanitizer.bypassSecurityTrustUrl(aircraft.image)" alt="" id="img">\n        <img class="img-fluid img-thumbnail" *ngIf="!!thumbnail" [src]="domSanitizer.bypassSecurityTrustUrl(thumbnail)" alt="" id="img">\n      </span>\n    </div>\n\n    <div class="col-md-6 align-text-bottom">\n      <p class="lead">\n        Historikk\n      </p>\n      <p>\n        <span class="badge bg-secondary">v{{ aircraft._version }}</span> {{ aircraft._updated | date:\'yyyy-MM-dd HH:mm:ss\' }}\n        <nlf-resolve-lungo-person *ngIf="!!aircraft.updated_by" [person_id]="aircraft.updated_by" link="true"></nlf-resolve-lungo-person>\n        <span *ngIf="!aircraft.updated_by">Automatisk</span>\n\n      </p>\n\n    </div>\n\n  </div>\n  <div class="row bg-light mt-3">\n    <div class="col-md-6">\n      <input [disabled]="disabled" *ngIf="showImage" placeholder="Velg bilde" class="mt-2" type="file" (change)="onUploadChange($event)" accept=".png, .jpg, .jpeg" />\n    </div>\n    <div class="col-md-6">\n      <button *ngIf="showSave" [disabled]="!changes || disabled" (click)="saveAircraft()" class="btn btn-primary col-md-6 col-sm-12">\n        <fa-icon [icon]="faSave"></fa-icon> Save {{ aircraft.callsign }}\n      </button>\n      <button *ngIf="showSave && changes" [routerLink]="[\'/aircraft\']" class="btn btn-link col-md-6 col-sm-12">\n        Cancel\n      </button>\n      <button *ngIf="showSave && !changes" [routerLink]="[\'/aircraft\']" class="btn btn-link col-md-6 col-sm-12">\n        Tilbake\n      </button>\n    </div>\n\n  </div>\n\n</div>\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n'},71017:de=>{"use strict";de.exports="<p>\n  app-club works!\n</p>\n"},3480:de=>{"use strict";de.exports="<p>\n  app-confluence works!\n</p>\n"},84765:de=>{"use strict";de.exports='<div *ngIf="editorFullscreen" class="nlf-toolbar fixed-top" style="display: static; margin-bottom: 100px;">\n  <h2>\n    <input [(ngModel)]="content.title" (ngModelChange)="change()" type="text" class="form-control" id="contenttitle" placeholder="Tittel" (ngModelChange)="slugify()">\n  </h2>\n</div>\n\n<div *ngIf="dataReady">\n\n  <div class="nlf-sticky-toolbar">\n    <div class="container">\n      <fa-icon [icon]="faEdit"></fa-icon>{{\xa0content.title }}\n      <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n    </div>\n  </div>\n\n</div>\n<nlf-ui-breadcrumb></nlf-ui-breadcrumb>\n\n<div *ngIf="dataReady" class="h-100">\n\n  <div class="col-sm-12 h-100">\n    <div class="container">\n\n      <div class="form-group">\n        <label for="contenttitle">Tittel</label>\n        <input [(ngModel)]="content.title" (ngModelChange)="change()" type="text" class="form-control" id="contenttitle" placeholder="Tittel" (ngModelChange)="slugify()">\n      </div>\n\n      <div class="form-group">\n        <label for="contenttitle">Slug</label>\n        <input [(ngModel)]="content.slug" (ngModelChange)="change()" type="text" class="form-control" id="contentslug" placeholder="" disabled>\n      </div>\n      \x3c!-- Create page has parent page (space root page) --\x3e\n      <div class="form-group" *ngIf="mode===\'create_page\'">\n        <label for="contenttitle">Parent</label>\n        <input [(ngModel)]="content.parent" (ngModelChange)="change()" type="text" class="form-control" id="contentparent" placeholder="">\n      </div>\n\n      \x3c!-- Space key, always show --\x3e\n      <div class="form-group">\n        <label for="spacekey">Space key</label>\n        <input *ngIf="mode===\'create_space\'" [(ngModel)]="content.space_key" (ngModelChange)="change()" type="text" class="form-control" id="spacekey" placeholder="Unik n\xf8kkel space">\n        <input *ngIf="mode===\'edit\' || mode===\'create_page\'" [ngModel]="content.space_key" (ngModelChange)="change()" type="text" class="form-control" id="spacekey" disabled>\n      </div>\n\n      \x3c!-- Jodit: tagname, id, defaultvalue, config --\x3e\n      <jodit-editor #editor id="joditid" [config]="joditConfig" [(defaultValue)]="content.body"></jodit-editor>\n\n      \x3c!-- <p [innerHTML]="content.body | safe: \'html\'"></p> --\x3e\n\n    </div>\n\n\n    <div class="nlf-toolbar fixed-bottom">\n      <span class="float-end">\n\n\n        <a *ngIf="mode===\'create_space\'" class="btn" [routerLink]="[\'/content\']">\n          <fa-icon [icon]="faClose"></fa-icon>Cancel\n        </a>\n\n        <a *ngIf="mode===\'create_page\'" class="btn" [routerLink]="[\'/content/space\', content.space_key]">\n          <fa-icon [icon]="faClose"></fa-icon>Cancel\n        </a>\n\n        <a *ngIf="mode===\'edit\'" class="btn" [routerLink]="[\'/content/view\', content.space_key, content.slug]">\n          <fa-icon [icon]="faClose"></fa-icon>Cancel\n        </a>\n\n        <button [disabled]="!changed" *ngIf="mode===\'edit\'" (click)="save()" class="btn btn-primary">\n          <fa-icon [icon]="faSave"></fa-icon>Save\n        </button>\n\n        <button *ngIf="mode===\'create_space\'" (click)="create()" class="btn btn-success">\n          <fa-icon [icon]="faPlus"></fa-icon>Create space\n        </button>\n        <button *ngIf="mode===\'create_page\'" (click)="create()" class="btn btn-success">\n          <fa-icon [icon]="faPlus"></fa-icon>Create page\n        </button>\n      </span>\n    </div>\n  </div>\n</div>\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner></nlf-ui-page-spinner>\n</div>\n'},46630:de=>{"use strict";de.exports='<div class="list-group list-group-flush">\n  <a *ngFor="let item of last" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center"\n  [routerLink]="[\'/content/space\', item.space_key, item.slug]">\n    {{ item.title }}\n  </a>\n  \x3c!--\n    <generic-table [gtClasses]="\'table-sm\'" #myTable [gtSettings]="configObject.settings" [gtFields]="configObject.fields" [(gtData)]="configObject.data"></generic-table>\n    <div class="text-center">\n      <small><gt-table-info class="form-text text-muted mb-2" [genericTable]="myTable"></gt-table-info></small>\n      <gt-pagination [gtClasses]="\'pagination-sm justify-content-center\'" [genericTable]="myTable"></gt-pagination>\n    </div>\n    --\x3e\n<div class="list-group list-group-flush">\n'},56204:de=>{"use strict";de.exports='<div *ngIf="!!dataReady && !!space && !error">\n  <div class="nlf-sticky-toolbar">\n    <div class="container">\n      <fa-icon [icon]="faSitemap"></fa-icon>\n      <a [routerLink]="[\'/content\']">Spaces</a> / <a [routerLink]="[\'/content\', space.space_key, space._id]">{{ space.title }}</a>\n      <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n    </div>\n  </div>\n</div>\n<div class="container overflow-auto">\n\n  <ngx-table [id]="\'content-space-table\'" [configuration]="tableSpaces" [data]="spacelist" [columns]="columns" [(pagination)]="pagination" (event)="eventEmitted($event)">\n\n    <ng-template let-row>\n      <td class="ngx-easy-table-small">\n\n        <span *ngIf="!!row.parent">\n          <fa-icon [icon]="faFile"></fa-icon>\n        </span>\n        <span *ngIf="!row.parent">\n          <fa-icon [icon]="faSitemap"></fa-icon>\n        </span>\n        <a [routerLink]="[\'/content\',\'space\', row.space_key, row.slug]">{{ row.title }}</a>\n\n      </td>\n      <td class="ngx-easy-table-small">\n        {{ row._updated | amTimeAgo }}\n      </td>\n      <td class="ngx-easy-table-small">\n        <nlf-resolve-lungo-person [person_id]="row.owner" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n      </td>\n      <td>\n        <span class="pointer" (click)="delete(row)">\n          <fa-icon [icon]="faClose"></fa-icon>\n        </span>\n        <span class="pointer" [routerLink]="[\'/content/edit/\', row._id]">\n          <fa-icon [icon]="faEdit"></fa-icon>\n        </span>\n        <span class="pointer" [routerLink]="[\'/content/create/\', row._id]">\n          <fa-icon [icon]="faPlus"></fa-icon>\n        </span>\n\n        <span *ngIf="!row?.published" class="pointer" (click)="publish(row._id)">\n          <fa-icon [icon]="faBan"></fa-icon>\n        </span>\n        <span *ngIf="!!row?.published" class="pointer text-success" (click)="unpublish(row._id)">\n          <fa-icon [icon]="faCheck"></fa-icon>\n        </span>\n\n      </td>\n    </ng-template>\n  </ngx-table>\n\n  <span *ngIf="!dataReady && !error">\n    <p class="align-middle text-center  text-secondary">\n      <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n    </p>\n  </span>\n\n  <span *ngIf="error">\n    <p class="align-middle text-center  text-secondary">\n      ERROR, please go back to <a [routerLink]="[\'/content\']">content home</a>\n    </p>\n  </span>\n\n</div>\n'},79129:de=>{"use strict";de.exports='  <div class="nlf-sticky-toolbar">\n    <div class="container nlf-dark">\n      <fa-icon [icon]="faSitemap"></fa-icon>Content spaces\n\n      <a [routerLink]="[\'create\']" class="float-end btn btn-primary btn-sm">\n        <fa-icon [icon]="faPlus"></fa-icon>Ny space\n      </a>\n      <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n    </div>\n  </div>\n  <div class="container">\n    <span *ngIf="!!dataReady" class="overflow-auto">\n      <ngx-table [id]="\'content-spaces-table\'" [configuration]="tableSpaces" [data]="spaces" [columns]="columns" [(pagination)]="pagination" (event)="eventEmitted($event)">\n\n        <ng-template let-row>\n          <td class="ngx-easy-table-small">\n            <fa-icon [icon]="faSitemap"></fa-icon>&nbsp;\n            <a [routerLink]="[\'space/\', row.space_key]">{{ row.space_key }}</a>\n          </td>\n          <td class="ngx-easy-table-small">\n            <a [routerLink]="[\'space/\', row.space_key, row.slug]">{{ row.title }}</a>\n          </td>\n          <td>\n            <span class="pointer" (click)="delete(row)">\n              <fa-icon [icon]="faClose"></fa-icon>\n            </span>\n            <span class="pointer" [routerLink]="[\'edit/\', row._id]">\n              <fa-icon [icon]="faEdit"></fa-icon>\n            </span>\n            <span class="pointer" [routerLink]="[\'create/\', row._id]">\n              <fa-icon [icon]="faPlus"></fa-icon>\n            </span>\n          </td>\n        </ng-template>\n      </ngx-table>\n    </span>\n    <span *ngIf="!dataReady">\n      <p class="align-middle text-center  text-secondary">\n        <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n      </p>\n    </span>\n\n  </div>\n'},99349:de=>{"use strict";de.exports='<div *ngIf="dataReady">\n  <H1 class="nlf-blue">{{ content.title }}</H1>\n\n  <p [innerHTML]="content.body | stripTags | truncate: 140: \'...\': true "></p>\n  <a [routerLink]="[\'/content/space/\', content.space_key, content.slug]" class="btn btn-primary btn-lg">Les mer &raquo;</a>\n\n</div>\n'},20696:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error">\n\n\n  <div class="container">\n    <div class="row nlf-sticky">\n      \x3c!--\n      <span class="float-end">\n        <a [routerLink]="[\'/content/edit/\', content._id]">\n          <fa-icon [icon]="faEdit"></fa-icon>Edit</a>\n        <a [routerLink]="[\'/content/create/\', content._id]">\n          <fa-icon [icon]="faPlus"></fa-icon>Create</a>\n      </span>\n      --\x3e\n      \x3c!-- Page Heading/Breadcrumbs --\x3e\n      <h1 class="mt-4 mb-3 ms-1">\n        {{ content.title }}\n      </h1>\n\n      <ol class="breadcrumb">\n        <li class="breadcrumb-item">\n          <a [routerLink]="[\'/content/space\', content.space_key]">Hjem</a>\n        </li>\n        <li *ngFor="let item of parents" class="breadcrumb-item">\n          <a [routerLink]="[\'/content/view\', item.space_key, item.slug]">{{ item.title }}</a>\n        </li>\n        <li class="breadcrumb-item active">{{ content.title }}</li>\n      </ol>\n\n    </div>\n  </div>\n\n  <div class="container">\n    <div class="row">\n      \x3c!-- Post Content Column --\x3e\n\n      \x3c!-- Date/Time --\x3e\n      <p class="small">Opprettet {{ content._created | amCalendar }} sist endret {{ content._updated | amCalendar }} av\n        <nlf-resolve-lungo-person [person_id]="content.owner" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n      </p>\n\n      <hr>\n\n      \x3c!-- Post Content --\x3e\n      <div [innerHTML]="content.body | safe: \'html\'"></div>\n      <hr>\n\n      \x3c!--\n      <div class="col-lg-12">\n        <div class="col-lg-3">\n\n          <h3>Undersider:</h3>\n          <div *ngFor="let child of children | reverse">\n            <a [routerLink]="[\'/content/view\', child.space_key, child.slug]">{{ child.title }} ({{ child.levelBelove + 1 }})</a>\n          </div>\n        </div>\n        <div class="col-lg-3">\n          <h3>Sidestilt:</h3>\n          <div *ngFor="let sibling of siblings">\n            <a [routerLink]="[\'/content/view\', sibling.space_key, sibling.slug]">{{ sibling.title }}</a>\n          </div>\n        </div>\n\n      <div class="col-lg-3">\n      <h3>Space tree:</h3>\n      <div *ngFor="let space of space_tree">\n        <nlf-content-tree [tree]="space" [current]="content._id" ></nlf-content-tree>\n      </div>\n      </div>\n      </div>\n\n    --\x3e\n    </div>\n  </div>\n  <div *ngIf="!dataReady && !error">\n    <nlf-ui-page-spinner></nlf-ui-page-spinner>\n  </div>\n\n  <div *ngIf="error">\n    <p class="align-middle text-center text-secondary my-5">\n      ERROR, please go back to <a [routerLink]="[\'/content\']">content home</a>\n    </p>\n  </div>\n\n</div>'},97827:de=>{"use strict";de.exports="<router-outlet></router-outlet>"},12700:de=>{"use strict";de.exports='<div class="container">\n  <div class="col-sm-12">\n    <div class="text-center">\n      {{ error }}\n    </div>\n  </div>\n</div>\n'},93693:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <fa-icon [icon]="faUsers"></fa-icon> <a [routerLink]="[\'/medlem\']">NLF Medlemssjekk</a>\n      </li>\n      <li class="breadcrumb-item active">\n        Medlemsliste <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n      </li>\n    </span>\n\n    \x3c!--\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n    --\x3e\n    <nlf-help class="float-end mx-1" key="nlf-member"></nlf-help>\n\n  </div>\n</header>\n\n\n<span *ngIf="!!dataReady">\n\n  <ngx-table class="table table-flush" [id]="\'member-table\'" [configuration]="tableConf" [data]="data"\n    [columns]="columns" [(pagination)]="pagination" [filtersTemplate]="filtersTemplate" (event)="eventEmitted($event)">\n\n    \x3c!-- ROWS --\x3e\n    <ng-template let-row>\n\n      \x3c!-- person id --\x3e\n      <td class="ngx-easy-table-small">\n        {{ row.id }}\n      </td>\n\n      \x3c!--first_name --\x3e\n      <td class="ngx-easy-table-small">\n        {{ row.first_name }}\n      </td>\n\n      \x3c!-- last_name --\x3e\n      <td class="ngx-easy-table-small">\n        {{ row.last_name}}\n      </td>\n\n      \x3c!-- memberships --\x3e\n      <td class="ngx-easy-table-small">\n\n        <div *ngFor="let membership of row.memberships" class="overflow-hidden">\n          <fa-icon *ngIf="!!membership.payment && checkExpiryYear(membership.payment.year)" [icon]="faCheck"\n            class="text-success me-1"></fa-icon>\n          <fa-icon *ngIf="!membership.payment || !checkExpiryYear(membership.payment.year)" [icon]="faRemove"\n            class="text-danger me-1"></fa-icon>\n          <nlf-resolve-lungo-organization [organization_id]="membership.discipline" [link]="false" [long]="true"\n            [show_activity]="true"></nlf-resolve-lungo-organization>\n          <span *ngIf="!!membership.payment">{{ membership.payment.exception || \'\' }} {{ membership.payment.type ||\n            \'Ukjent\'\n            }}</span>\n        </div>\n        <div *ngIf="!row.memberships||row.memberships.length==0">\n        </div>\n\n      </td>\n\n      \x3c!-- competences --\x3e\n      <td class="ngx-easy-table-small">\n        <div *ngFor="let competence of row.competences" class="overflow-hidden">\n\n          <fa-icon *ngIf="checkExpiry(competence.expiry)" [icon]="faCheck" class="text-success me-1"></fa-icon>\n          <fa-icon *ngIf="!checkExpiry(competence.expiry)" [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          {{ competence._code }} {{ competence.expiry | date:\'yyyy-MM-dd\':\'+0000\' }}\n        </div>\n        <div *ngIf="!row.competences||row.competences.length==0">\n        </div>\n      </td>\n\n      \x3c!-- licenses --\x3e\n      <td class="ngx-easy-table-small text-end">\n\n        \x3c!-- HPS obligatorisk forsikring hack --\x3e\n        <ng-container *ngIf="row.hasOwnProperty(\'activities\') && row.activities.indexOf(110)>-1">\n          <div *ngFor="let m of row.magazines" class="overflow-hidden">\n            <span *ngIf="m.name==\'Unknown Name\' && m.year==2022">\n              <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>HPS Personal accident insurance and third party liability\n              insurance valid through 31.12.2022\n            </span>\n          </div>\n        </ng-container>\n\n        <div *ngFor="let license of row.licenses" class="overflow-hidden">\n          <fa-icon *ngIf="checkExpiry(license.expiry) && license.status_id===3" [icon]="faCheck" class="text-success me-1"></fa-icon>\n          <fa-icon *ngIf="!checkExpiry(license.expiry) || license.status_id!=3" [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          <nlf-resolve-lungo-license [license_id]="license.id" [link]="false" [long]="true"></nlf-resolve-lungo-license>\n        </div>\n        <div *ngIf="!row.licenses||row.licenses.length==0">\n\n        </div>\n\n      </td>\n\n      <td class="ngx-easy-table-small text-start">\n        <div *ngFor="let federation of row.federation" class="overflow-hidden">\n          <fa-icon *ngIf="checkExpiryYear(federation.year)" [icon]="faCheck" class="text-success me-1"></fa-icon>\n          <fa-icon *ngIf="!checkExpiryYear(federation.year)" [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          {{ federation.name }} {{ federation.type }}\n          <nlf-resolve-lungo-activity [activity_id]="federation.activity"></nlf-resolve-lungo-activity> {{\n          federation.year }} <span *ngIf="!!federation.exception">{{federation.exception}}</span>\n        </div>\n      </td>\n\n      \x3c!-- federation --\x3e\n      <td class="ngx-easy-table-small">\n        {{ row._updated | date:"yyyy-MM-dd HH:mm" }}\n      </td>\n\n    </ng-template>\n  </ngx-table>\n  \x3c!--<button class="btn btn-link" (click)="exportToCSV()">Eksporter</button>--\x3e\n\n  \x3c!--FILTERS--\x3e\n  <ng-template #filtersTemplate>\n\n    <th>\n      \x3c!-- ID --\x3e\n    </th>\n\n    \x3c!-- FIRST --\x3e\n    <th>\n      <input\n        class="form-input"\n        (input)="debouncedFilterFirstName($event, \'firstName\')"\n        type="text"\n        id="filter-company"\n        placeholder="Fornavn"\n      />\n    </th>\n    \x3c!-- LAST --\x3e\n    <th>\n      <input\n      class="form-input"\n      (input)="debouncedFilterLastName($event, \'lastName\')"\n      type="text"\n      id="filter-company"\n      placeholder="Etternavn"\n    />\n    </th>\n\n    \x3c!--CLUBS--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="clubChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let club of clubs" [value]="club.id">\n          \x3c!--\n          <nlf-resolve-lungo-organization organization_id="club.id"></nlf-resolve-lungo-organization>--\x3e\n          {{ club.name }} ({{ club.main_activity.name }})\n        </option>\n      </select>\n    </th>\n\n    <th></th>\n    \x3c!--STATUS--\x3e\n    <th>\n\n    </th>\n    \x3c!--TYPE--\x3e\n    <th>\n\n    </th>\n  </ng-template>\n</span>\n<span *ngIf="!dataReady">\n  <p class="align-middle text-center  text-secondary">\n    <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  </p>\n</span>\n\n<button class="btn btn-primary" (click)="exportToCSV()">Eksporter til csv</button>\n'},95335:de=>{"use strict";de.exports='<ng-container *ngIf="dataReady">\n  <header class="nlf-sticky-toolbar">\n    <div class="container">\n\n      <span class="breadcrumb">\n        <li class="breadcrumb-item">\n          <fa-icon [icon]="faUsers"></fa-icon> NLF Medlemssjekk\n        </li>\n        \x3c!--\n      <li class="breadcrumb-item active">\n        Dashboard <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n      </li>\n    --\x3e\n      </span>\n\n      \x3c!--\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n    --\x3e\n\n      \x3c!-- Medlemslister kun i dev --\x3e\n      <span *ngIf="ENV.production===false && [1505923257, 1476506542, -1957053861, 1536523365].indexOf(userHash(user_data.person_id))>-1"\n        class="float-end d-inline">\n        <nlf-help class="mx-1" key="nlf-member"></nlf-help>\n        <a [routerLink]="[\'/medlem\', \'kompetanse\']">\n          <fa-icon [icon]="faTable"></fa-icon> Medlemsliste\n        </a>\n      </span>\n    </div>\n  </header>\n\n\n  <div class="container">\n\n\n    <div class="col-12 mt-4 mb-1">\n\n      \x3c!-- SEARCH INPUT --\x3e\n      <div class="row">\n        <div class="d-flex col-12" id="memberSearchInput">\n          \x3c!--#searchField searchField.value <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner> --\x3e\n          <fa-icon *ngIf="!searching" [icon]="faSearch" class="form-control-lg position-absolute ps-3 text-muted">\n          </fa-icon>\n          <fa-icon *ngIf="searching" [icon]="faSpinner" animation="pulse"\n            class="form-control-lg position-absolute ps-3 text-muted"></fa-icon>\n\n          <input [(ngModel)]="searchTerm" [disabled]="searching" class="form-control form-control-lg py-1 ps-5 "\n            type="text" placeholder="S\xf8k etter medlem" (keyup)="deboucedSearch($event)" (keyup.enter)="search($event)"\n            (keydown.arrowup)="moveUp()" (keydown.arrowdown)="moveDown()" (keydown.shift.tab)="moveUp()"\n            (keydown.tab)="moveDown()">\n        </div>\n      </div>\n\n      \x3c!-- FILTER TOGGLES --\x3e\n      <div class="row mt-1">\n        <div class="col-12">\n          <ng-container *ngFor="let _activity of [\'fallskjerm\', \'sportsfly\', \'motorfly\', \'seilfly\', \'modellfly\', \'ballong\', \'hps\']">\n            <span class="badge pointer ms-2"\n              [ngClass]="{\'bg-secondary\': activity!=_activity, \'bg-success\': activity==_activity}"\n              (click)="setActivity(_activity)">{{_activity | titlecase }}</span>\n          </ng-container>\n        </div>\n      </div>\n\n    </div>\n\n    \x3c!-- SEARCH RESULTS --\x3e\n    <div class="col-12 p-4">\n      <div class="member">\n        <ul>\n          <ng-container *ngFor="let row of results; index as idx">\n            <li (click)="openModal(row.id)" class="pointer col-12 row p-1" [class.active]="idx==arrowkeyLocation">\n              <h4>\n                <nlf-resolve-lungo-person [person_id]="row.id" [link]="false" [avatar]="true" [highlite]="searchTerm">\n                </nlf-resolve-lungo-person>\n\n            \x3c!-- Should be able to show icons for memberships? Needs federation...\n            <ng-container *ngFor="let fed of row.federation">\n              <i class="nlf nlf-fw nlf-fallskjerm"></i>\n              <i class="nlf nlf-fw nlf-seilfly"></i>\n              <i class="nlf nlf-fw nlf-motorfly"></i>\n              <i class="nlf nlf-fw nlf-ballong"></i>\n              <i class="nlf nlf-fw nlf-mikrofly"></i>\n              <i class="nlf nlf-fw nlf-modellfly"></i>\n              <i class="nlf nlf-fw nlf-hgpg"></i>\n            </ng-container>\n            --\x3e\n\n              </h4>\n            </li>\n          </ng-container>\n        </ul>\n      </div>\n    </div>\n  </div>\n\n</ng-container>\n\n<ng-template #personModalTemplate>\n\n  <div class="modal-header">\n    <h4 *ngIf="!!modalPerson" class="modal-title pull-left">\n      <nlf-resolve-lungo-person [person_id]="person_id" [link]="false" [avatar]="true"></nlf-resolve-lungo-person>\n      <span class="ms-1" *ngFor="let fed of modalPerson.federation">\n        <i *ngIf="fed?.activity===109" title="Fallskjerm" class="nlf nlf-fallskjerm"></i>\n        <i *ngIf="fed?.activity===111" title="Seilfly" class="nlf nlf-seilfly"></i>\n        <i *ngIf="fed?.activity===238" title="Motorfly" class="nlf nlf-motorfly"></i>\n        <i *ngIf="fed?.activity===235" title="Ballong" class="nlf nlf-ballong"></i>\n        <i *ngIf="fed?.activity===237" title="Sportsfly" class="nlf nlf-mikrofly"></i>\n        <i *ngIf="fed?.activity===236" title="Modellfly" class="nlf nlf-modellfly"></i>\n        <i *ngIf="fed?.activity===110" title="Hps" class="nlf nlf-hgpg"></i>\n      </span>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal($event)">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    \x3c!--\n    <div *ngIf="!!modalPerson">\n      {{ modalPerson | json }}\n    </div>\n    --\x3e\n    <div *ngIf="!!modalPerson">\n      <h4>Seksjonsmedlemsskap</h4>\n      <div *ngFor="let federation of modalPerson.federation" class="overflow-hidden">\n\n        <ng-container *ngIf="checkExpiryYear(federation.year)">\n          <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>\n          {{ federation.name }} {{ federation.type }}\n          <nlf-resolve-lungo-activity [activity_id]="federation.activity||27"></nlf-resolve-lungo-activity>\n          {{ federation.year }} <span *ngIf="!!federation.exception">{{federation.exception}}</span>\n        </ng-container>\n\n        <ng-container *ngIf="showExpired && !checkExpiryYear(federation.year)">\n          <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          {{ federation.name }} {{ federation.type }}\n          <nlf-resolve-lungo-activity [activity_id]="federation.activity||27"></nlf-resolve-lungo-activity>\n          {{ federation.year }} <span *ngIf="!!federation.exception">{{federation.exception}}</span>\n        </ng-container>\n\n      </div>\n      <div *ngIf="!modalPerson.federation||modalPerson.federation.length==0">\n        <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>Ingen seksjonsmedlemsskap registrert\n      </div>\n\n\n      <h4>Klubbmedlemsskap</h4>\n      <div *ngFor="let membership of modalPerson.memberships" class="overflow-hidden">\n\n        <ng-container *ngIf="!!membership.payment && checkExpiryYear(membership.payment.year)">\n          <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>\n          <nlf-resolve-lungo-organization [organization_id]="membership.discipline" [link]="false" [long]="true"\n            [show_activity]="true">\n          </nlf-resolve-lungo-organization>\n          <span *ngIf="!!membership.payment">{{ membership.payment.exception || \'\' }} {{ membership.payment.type ||\n            \'Ukjent\' }}</span>\n        </ng-container>\n\n        <ng-container *ngIf="showExpired && (!membership.payment || !checkExpiryYear(membership.payment.year))">\n          <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          <nlf-resolve-lungo-organization [organization_id]="membership.discipline" [link]="false" [long]="true"\n            [show_activity]="true">\n          </nlf-resolve-lungo-organization>\n          <span *ngIf="!!membership.payment">{{ membership.payment.exception || \'\' }} {{ membership.payment.type ||\n            \'Ukjent\' }}</span>\n        </ng-container>\n\n      </div>\n      <div *ngIf="!modalPerson.memberships||modalPerson.memberships.length==0">\n        <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>Ingen klubbmedlemsskap registrert\n      </div>\n\n      <h4 class="mt-1">Forsikringer</h4>\n      <div *ngFor="let license of modalPerson.licenses" class="overflow-hidden">\n        <ng-container *ngIf="checkExpiry(license.expiry) && license.status_id===3">\n          <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>\n          <nlf-resolve-lungo-license [license_id]="license.id" [link]="false" [long]="true"></nlf-resolve-lungo-license>\n        </ng-container>\n\n        <ng-container *ngIf="showExpired && (!checkExpiry(license.expiry) || license.status_id!=3)">\n          <fa-icon *ngIf="" [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          <nlf-resolve-lungo-license [license_id]="license.id" [link]="false" [long]="true"></nlf-resolve-lungo-license>\n        </ng-container>\n\n      </div>\n\n      <div *ngFor="let payment of fallskjermLicenses" class="overflow-hidden">\n        <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>\n        {{ payment.product_name }} (betalt {{ payment.paid_date | date }})\n      </div>\n\n      <div *ngIf="(!modalPerson.licenses||modalPerson.licenses.length==0) && fallskjermLicenses.length==0">\n        <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>Ingen forsikringer registrert\n      </div>\n\n\n\n      <h4 class="mt-1">Kompetanser/lisenser</h4>\n      <div *ngFor="let competence of modalPerson.competences" class="overflow-hidden">\n\n        <ng-container *ngIf="checkExpiry(competence.expiry)">\n          <fa-icon [icon]="faCheck" class="text-success me-1"></fa-icon>\n          {{ competence._code }} {{ competence.expiry | date:\'yyyy-MM-dd\':\'+0000\' }}\n        </ng-container>\n\n        <ng-container *ngIf="showExpired && !checkExpiry(competence.expiry)">\n          <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>\n          {{ competence._code }} {{ competence.expiry | date:\'yyyy-MM-dd\':\'+0000\' }}\n        </ng-container>\n\n      </div>\n      <div *ngIf="!modalPerson.competences||modalPerson.competences.length==0">\n        <fa-icon [icon]="faRemove" class="text-danger me-1"></fa-icon>Ingen kompetanser/lisenser registrert\n      </div>\n\n      <div class="alert alert-dark mt-3" role="alert">\n        Sist oppdatert {{ modalPerson._updated | amTimeAgo }} / {{ modalPerson._updated | date:\'yyyy-MM-dd HH:mm\'}} ({{\n        person_id }})\n      </div>\n      <div class="row mt-4">\n        <nlf-nif-compare [person_id]="modalPerson.id" (personChanged)="reloadModal($event)" [generate]="generateChangeMessages"></nlf-nif-compare>\n        \x3c!--(change)="reloadModal()"--\x3e\n      </div>\n    </div>\n  </div>\n\n\n\n  <div class="modal-footer">\n    <button *ngIf="showExpired" class="btn btn-link float-start me-auto" (click)="showExpired=!showExpired">Skjul\n      utl\xf8pte</button>\n    <button *ngIf="!showExpired" class="btn btn-link float-start me-auto" (click)="showExpired=!showExpired">Vis\n      utl\xf8pte</button>\n    <button class="btn btn-outline-dark" (click)="closeModal($event)">Ferdig</button>\n  </div>\n</ng-template>'},29627:de=>{"use strict";de.exports='<div *ngIf="deltaCompetences.length>0&&!!competencesToUpdate&&competencesToUpdate.length>0&&generate"\n    class="alert alert-danger" role="alert">\n\n    <h4 class="alert-heading"><fa-icon [icon]="faExclamationTriangle"></fa-icon> Oppdaterer manglende data</h4>\n    <div *ngFor="let competence of competencesToUpdate">\n\n        <fa-icon [icon]="faCheck" class="text-success" *ngIf="!!competence.ready"></fa-icon>\n        \x3c!--<span [ngClass]="{\'text-success\':!!competence.CompetenceId}">{{ competence.CompetenceId }} {{ competence.CompetenceName }}</span>--\x3e\n        {{ competence.id }}: {{ competence.name }}\n    </div>\n</div>\n\n\x3c!-- 5. om alt fint suksess  --\x3e\n<div *ngIf="showSuccess&&status==\'finished\'&&competencesToUpdate.length==0" class="alert alert-success" role="alert">\n    <h4 class="alert-heading"><fa-icon [icon]="faCheck"></fa-icon> <strong>Kompetanser</strong> stemmer med Klubbadmin\n    </h4>\n    <div *ngIf="deltaCompetences>0">Til informasjon s\xe5 vises ikke kurs eller ugyldige kompetanser/lisenser her, det kan\n        derfor v\xe6re avvik med det du <i>ser</i> i Klubbadmin under kompetanser.</div>\n</div>\n\x3c!-- 5. om alt fint suksess  --\x3e\n\n\x3c!-- 1. Sjekker --\x3e\n<div *ngIf="[\'loading\', \'comparing\', \'generate\', \'reloading\'].indexOf(status)>-1" class="row text-center">\n    <div class="col-md-12 text-center">\n        <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n    </div>\n    <div *ngIf="status==\'loading\'" class="col-md-12 text-center">\n        Henter og sjekker data fra NIF direkte...\n    </div>\n    <div *ngIf="status==\'comparing\'" class="col-md-12 text-center">\n        Sammenligner med data fra NIF direkte...\n    </div>\n    <div *ngIf="status==\'generate\'" class="col-md-12 text-center">\n        Genererer endringsmeldinger...\n    </div>\n    <div *ngIf="status==\'reloading\'" class="col-md-12 text-center">\n        Endringsmeldinger sendt, laster personen p\xe5 nytt...\n    </div>\n</div>\n\n<div *ngIf="!generate&&status==\'finished\'&&deltaCompetences.length>0&&!!competencesToUpdate&&competencesToUpdate.length>0"\n    class="alert alert-danger" role="alert">\n\n    <h4 class="alert-heading"><fa-icon [icon]="faExclamationTriangle"></fa-icon> Endringer enn\xe5 ikke mottatt</h4>\n    <div *ngFor="let competence of competencesToUpdate">\n        <fa-icon [icon]="faClock" class="text-success"></fa-icon>\n        {{ competence.id }}: {{ competence.name }}\n    </div>\n    <hr>\n    <div>\n        Du kan vente litt for \xe5 oppdatere personen manuellt ved \xe5 klikke p\xe5 knappen under for \xe5 hente data p\xe5 nytt.\n    </div>\n    <div class="text-center">\n        <button class="btn btn-primary" (click)="personChanged.next(true);"><fa-icon [icon]="faRefresh"></fa-icon>\n            Oppdater personen</button>\n    </div>\n</div>\n\n\x3c!-- 4. Reload modal --\x3e\n\n\x3c!-- ERRORS --\x3e\n<div *ngIf="status==\'error\'&&error[\'status\']==404" class="alert alert-warning" role="alert">\n    <h4 class="alert-heading"><fa-icon [icon]="faExclamationTriangle"></fa-icon> Vi fikk ikke sjekket kompetansene </h4>\n    <hr>\n    <div>Ingen kompetanser funnet i NIF pga manglende person. Personen skal ikke ha noen gyldige kompetanser. </div>\n</div>\n<div *ngIf="status==\'error\'&&error[\'status\']!=404" class="alert alert-danger" role="alert">\n    <h4 class="alert-heading"><fa-icon [icon]="faExclamationTriangle"></fa-icon> Det oppstod en feil </h4>\n    <hr>\n    <div *ngIf="error[\'status\']!=404">{{ error | json }}</div>\n</div>'},97126:de=>{"use strict";de.exports='<span *ngIf="dataReady && !error">\n  <dl>\n    <dt>{{ metar.icao }}</dt>\n    <dd></dd>\n    <dt>Temperature</dt>\n    <dd>{{ metar.metar.temp._value }}&deg;{{ metar.metar.temp._units }}</dd>\n    <dt>Dewpoint</dt>\n    <dd>{{ _get(metar.metar, "dewpt._value","") }}&deg;{{ metar.metar.dewpt._units }}</dd>\n    <dt>Wind</dt>\n    <dd>{{ metar.metar.wind_speed._value || \'\' }}{{ metar.metar.wind_speed._units\xa0|| \'\' }} {{ metar.metar?.wind_dir?._degrees\n            || \'\' }}&deg; <span *ngIf="!!metar.metar.wind_dir_from && !!metar.metar.wind_dir_to">({{\n                metar.metar.wind_dir_from._degrees || \'\' }}-{{ metar.metar.wind_dir_to._degrees || \'\' }})</span></dd>\n    <dd *ngIf="!!metar.metar.wind_gust">\n      {{ metar.metar.wind_gust._gtlt || \'\' }} {{ metar.metar.wind_gust._value || \'\' }} {{ metar.metar.wind_gust._units || \'\' }}\n    </dd>\n    <dt>Pressure</dt>\n    <dd>{{ metar.metar.press._value }}{{ metar.metar.press._units }}</dd>\n    <dt>Visibility</dt>\n    <dd>{{ metar.metar.vis._gtlt }}{{ metar.metar.vis._value }}{{ metar.metar.vis._units }}</dd>\n    <dt>Cloud</dt>\n    <dd *ngFor="let sky of metar.metar.sky">\n      {{ _get(sky, "[0]","") }} {{ _get(sky, "[1][\'_value\']", "") }}{{ _get(sky, "[1][\'_units\']", "") }} {{ _get(sky, "[2]", "") }}\n    </dd>\n    <dt>Code</dt>\n    <dd>{{ metar.metar.code }}</dd>\n  </dl>\n  <small class="text-muted">Last updated {{ metar.metar.time | amTimeAgo }}</small>\n</span>\n<nlf-ui-component-spinner *ngIf="!dataReady && !error"></nlf-ui-component-spinner>\n<div *ngIf="!!error">\n  <span class="alert alert-danger">{{ error }}</span>\n</div>\n'},48472:de=>{"use strict";de.exports='<ng-progress [thick]="true" #progressBar></ng-progress>\n\n<ng-container *ngIf="loggedInObservable | async as authenticated; else loading">\n  <nlf-ui-navbar></nlf-ui-navbar>\n\n  <main role="main">\n    <nlf-toast></nlf-toast>\n    <nlf-alert-service></nlf-alert-service>\n\n    <span>\n      \x3c!-- HEARTBEAT --\x3e\n      <router-outlet></router-outlet>\n      <nlf-ui-footer></nlf-ui-footer>\n      <p></p>\n      <p></p>\n    </span>\n  </main>\n</ng-container>\n\n<ng-template #loading>\n  <nlf-alert-service></nlf-alert-service>\n  <div class="clearfix">\n    <nlf-auth></nlf-auth>\n  </div>\n</ng-template>'},760:de=>{"use strict";de.exports='\x3c!-- FILTER --\x3e\n<div class="my-3 text-end">\n  <span class="pointer mx-1" [ngClass]="show.reminders ? \'text-info\' : \'text-secondary\'"\n    (click)="show.reminders=!show.reminders">\n    <fa-icon [icon]="faBell"></fa-icon> purringer\n  </span>\n  <span class="pointer mx-1" [ngClass]="show.messages ? \'text-info\' : \'text-secondary\'"\n    (click)="show.messages=!show.messages">\n    <fa-icon [icon]="faComments"></fa-icon> meldinger\n  </span>\n  <span class="pointer mx-1" [ngClass]="show.workflow ? \'text-info\' : \'text-secondary\'"\n    (click)="show.workflow=!show.workflow">\n    <fa-icon [icon]="faExchange"></fa-icon> arbeidsflyt\n  </span>\n  \x3c!-- ONLY motorfly shows E5X *ngIf="activity==\'motorfly\'" --\x3e\n  <span class="pointer mx-1" [ngClass]="show.e5x ? \'text-info\' : \'text-secondary\'" (click)="show.e5x=!show.e5x">\n    <fa-icon [icon]="faPaperPlaneRegular"></fa-icon> LT\n  </span>\n\n  <span class="pointer mx-1" [ngClass]="show.save ? \'text-info\' : \'text-secondary\'" (click)="show.save=!show.save">\n    <fa-icon [icon]="faFloppyDisk"></fa-icon> lagring\n  </span>\n  <span class="pointer mx-1" [ngClass]="show.persons ? \'text-info\' : \'text-secondary\'"\n    (click)="show.persons=!show.persons">\n    <fa-icon [icon]="faUserPlus"></fa-icon> personer\n  </span>\n</div>\n\n<ul *ngIf="!error" class="cbp_tmtimeline">\n\n  \x3c!-- NEW --\x3e\n  <li>\n    <time class="cbp_tmtime" dateTime="{{ now | date:\'y-M-dTHH:mm\' }}"><span class="hidden">{{ now | date:\'y-M-d\'\n        }}</span>\n      <span class="large">\n\n        \x3c!--{{ now | date:\'HH:mm\' }}--\x3enow\n      </span>\n    </time>\n\n    \x3c!--\n    <fa-icon [icon]="faComment"></fa-icon>\n\n      <div class="cbp_tmicon avatar">\n      <img src="https://www.bootdey.com/img/Content/avatar/avatar2.png" style="margin-top: -3px !important" alt="user" class="avatar-img rounded-circle">\n      </div>\n    --\x3e\n\n    <div class="cbp_tmicon bg-light">\n      <fa-icon [icon]="faCommenting"></fa-icon>\n    </div>\n\n    <div *ngIf="observation.workflow.state!=\'closed\'" class="cbp_tmlabel empty">\n\n      \x3c!-- observation.ask.text[observation.workflow.state]" (ngModelChange)="debouncedUpdateText()" (paste)="onPaste($event) --\x3e\n      <div [ngClass]="{\'bg-secondary\': !observation.acl_user.r}" [disabled]="!observation.acl_user.r"\n        class="bg-white border mt-2"\n        style="min-height:100px; width: 100%;display: inline-block;overflow: hidden;padding:2px;" contenteditable="true"\n        propValueAccessor="innerHTML" name="myAskDiv" [(ngModel)]="message_text" (paste)="onPaste($event)">\n        Send noe tekst her\n      </div>\n\n      <div>\n\n        \x3c!-- PURRINGER --\x3e\n\n        <button *ngIf="is_reminding" class="btn btn-link text-danger mx-1">\n          \x3c!--<fa-icon [name]="is_reminding ? \'commenting\' : \'bell\'"></fa-icon> Purring--\x3e\n          <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner> Sender...\n        </button>\n        <button [disabled]="!observation.acl_user.r" *ngIf="!is_reminding" class="btn btn-link text-danger mx-1"\n          (click)="notify()">\n          <fa-icon [icon]="faBell"></fa-icon> Purring\n        </button>\n\n\n        \x3c!--\n      <button class="btn btn-add-gray">\n        <fa-icon [icon]="faPlus"></fa-icon>\n      </button>\n    --\x3e\n\n        <span class="float-end">\n          \x3c!--<fa-icon class="pointer" (click)="openReceipentsModal(recepientModalTemplate, current_acl_users||[])" [icon]="envelope-open-o" [fw]="true"></fa-icon> --\x3e\n          \x3c!--<nlf-resolve-avatars [persons]="row.recepients||[]" max="2"></nlf-resolve-avatars>--\x3e\n          <span>\n            <nlf-resolve-avatars [persons]="current_acl_users||[]" modal_title="Mottakere" max="5">\n            </nlf-resolve-avatars>\n          </span>\n\n\n\n\n          \x3c!-- ADD RECEPIENT\n              <div class="avatar">\n              <a href="#">\n                <span class="add-new-plus">\n                  <fa-icon [icon]="faPlus"></fa-icon>\n                </span>\n              </a>\n              </div>\n              --\x3e\n\n\n          \x3c!-- /ADD RECEPIENT --\x3e\n          \x3c!-- /AVATARS --\x3e\n\n          \x3c!-- SEND BTN --\x3e\n          <button *ngIf="!is_sending_msg" [disabled]="message_text.length<4" class="btn btn-primary ms-3"\n            (click)="sendMessage()">\n            <fa-icon [icon]="faComment"></fa-icon> Send\n            \x3c!--Melding--\x3e\n          </button>\n          <button *ngIf="is_sending_msg" [disabled]="message_text.length<4" class="btn btn-primary ms-3">\n            <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner> Sending\n          </button>\n\n        </span>\n\n      </div>\n      \x3c!--\n      <div>\n        <span class="pointer link me-1 float-end" (click)="openReceipentsModal(recepientModalTemplate, current_acl_users||[])" title="Vis liste over mottakere">vis mottakere</span>\n      </div>\n    --\x3e\n\n    </div>\x3c!-- /btns filter --\x3e\n    <div *ngIf="observation.workflow.state==\'closed\'" class="cbp_tmlabel">\n      <h2>Observasjonen er lukket.</h2>\n    </div>\n\n  </li>\n\n  \x3c!-- ITERATE --\x3e\n  <li *ngFor="let row of events; trackBy: trackByRowId; let idx = index">\n\n\n\n    \x3c!-- MESSAGE --\x3e\n    \x3c!-- NOTIFICATION --\x3e\n    \x3c!-- PERSON --\x3e\n\n    \x3c!-- WORKFLOW --\x3e\n    <span *ngIf="row.type==\'ors_workflow\'">\n\n      \x3c!-- INIT --\x3e\n      <span *ngIf="row.data.action==\'init\' && show.workflow" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n        <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n          <span>{{ row.event_created | amTimeAgo }}</span></time>\n        <div class="cbp_tmicon bg-green">\n          <fa-icon [icon]="faPlus"></fa-icon>\n        </div>\n        <div class="cbp_tmlabel">\n          <h2>\n            <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n            <span> opprettet observasjonen </span> <a\n              [routerLink]="[\'/ors\', observation._model.type, \'report\', observation._id, \'version\', 1]"></a>\n            <nlf-resolve-observation-state class="float-end" [activity]="observation._model.type"\n              [state]="row.data.destination" icon="true"></nlf-resolve-observation-state>\n          </h2>\n\n          \x3c!-- RECEPIENTS AVATARS --\x3e\n          <div>\n            <p *ngIf="!!row.data.comment" class="blockquote blockquote-primary">\n              {{ row.data.comment }}\n            </p>\n\n            \x3c!--\n            <div class="avatar-group avatar-group-sm avatar-group-overlapped mt-10 text-end">\n              <div *ngFor="let user of row.recepients; let idx=index" class="avatar">\n                <img src="https://www.bootdey.com/img/Content/avatar/avatar{{ idx + 1 }}.png" alt="user" class="avatar-img rounded-circle">\n              </div>\n\n              <div class="avatar">\n                <span class="avatar-text avatar-text-green rounded-circle"><span class="initial-wrap"><span>1+</span></span>\n                </span>\n              </div>\n            </div>\n            --\x3e\n            <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere" max="2"></nlf-resolve-avatars>\n          </div>\n          \x3c!-- /AVATARS --\x3e\n\n        </div>\n      </span>\n\n      \x3c!-- NORMAL WORKFLOWS --\x3e\n      <span *ngIf="row.data.action!=\'init\' && show.workflow" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n        <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n          <span>{{ row.event_created | amTimeAgo }}</span>\n        </time>\n\n        <div *ngIf="row.data.action.indexOf(\'approve\')>-1" class="cbp_tmicon bg-green">\n          <fa-icon *ngIf="row.data.destination!=\'closed\'" [icon]="faExchange"></fa-icon>\n          <fa-icon *ngIf="row.data.destination==\'closed\'" [icon]="faCheck"></fa-icon>\n        </div>\n\n        <div *ngIf="row.data.action==\'reject\'" class="cbp_tmicon bg-blush">\n          <fa-icon [icon]="faRefresh"></fa-icon>\n        </div>\n\n        <div *ngIf="row.data.action==\'withdraw\'" class="cbp_tmicon bg-dark">\n          <fa-icon [icon]="faBan"></fa-icon>\n        </div>\n\n        <div *ngIf="row.data.action==\'reopen\'" class="cbp_tmicon bg-green">\n          <fa-icon [icon]="faRepeat"></fa-icon>\n        </div>\n\n        <div class="cbp_tmlabel">\n          <h2>\n            <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n            <span *ngIf="row.data.action==\'reject\'"> sendte observasjonen tilbake </span>\n            <span *ngIf="row.data.action.indexOf(\'approve\')>-1"> godkjente observasjonen </span>\n            <span *ngIf="row.data.action==\'reopen\'"> gjen\xe5pnet observasjonen </span>\n            <span *ngIf="row.data.action==\'withdraw\'"> trakk tilbake observasjonen </span>\n            <span class="float-end">\n              <nlf-resolve-observation-state [activity]="observation._model.type" [state]="row.data.source" icon="true">\n              </nlf-resolve-observation-state>\n              <fa-icon class="text-secondary mx-1" [icon]="faLongArrowRight"></fa-icon>\n              <nlf-resolve-observation-state [activity]="observation._model.type" [state]="row.data.destination"\n                icon="true"></nlf-resolve-observation-state>\n            </span>\n          </h2>\n          \x3c!-- RECEPIENTS AVATARS --\x3e\n          <div>\n            <p *ngIf="!!row.data.comment" class="blockquote blockquote-primary message-text">\n              {{ row.data.comment }}\n            </p>\n\n            <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere" max="2"></nlf-resolve-avatars>\n\n            \x3c!--\n            <div class="avatar-group avatar-group-sm avatar-group-overlapped mt-10 text-end">\n              <div *ngFor="let user of row.recepients; let idx=index" class="avatar">\n                <img src="https://www.bootdey.com/img/Content/avatar/avatar{{ idx + 1 }}.png" alt="user" class="avatar-img rounded-circle">\n              </div>\n\n              <div class="avatar">\n                <span class="avatar-text avatar-text-green rounded-circle"><span class="initial-wrap"><span>1+</span></span>\n                </span>\n              </div>\n            </div>\n            --\x3e\n          </div>\n          \x3c!-- /AVATARS --\x3e\n        </div>\n      </span>\n    </span>\n\n    \x3c!-- SAVE --\x3e\n    <span *ngIf="row.type==\'ors_save\' && show.save" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n      <div class="cbp_tmicon bg-info">\n        <fa-icon [icon]="faFloppyDisk">{{ row._version }}</fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          lagret observasjonen\n          <span class="float-end">\n            <a\n              [routerLink]="[\'/ors\', observation._model.type, \'report\', observation._id, \'version\', row.data.source]">v{{row.data.source}}</a>\n            <fa-icon [icon]="faLongArrowRight" class="text-secondary mx-1"></fa-icon>\n            <a\n              [routerLink]="[\'/ors\', observation._model.type, \'report\', observation._id, \'version\', row.data.source]">v{{row.data.destination}}</a>\n          </span>\n        </h2>\n        \x3c!--<p>You have a meeting at <strong>Laborator Office</strong> Today.</p>--\x3e\n      </div>\n    </span>\n\n    \x3c!-- PURRING ULEST --\x3e\n    <span *ngIf="row.type==\'ors_reminder\' && show.reminders" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n      <div class="cbp_tmicon bg-danger">\n        <fa-icon [icon]="faBellRegular"></fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          sendte en purring\n          <span class="float-end">\n\n            <span class="badge bg-light text-dark mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere"></nlf-resolve-avatars>\n        \x3c!--\n        <div *ngFor="let person_id of row.recepients">\n          <fa-icon [icon]="faBellRegular" class="text-danger"></fa-icon>\n          <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n        --\x3e\n        <div class="row clearfix">\n\n          <div *ngIf="1==9" class="col-lg-12">\n            <button class="btn btn-dark btn-outline">\n              <fa-icon [icon]="faBellRegular"></fa-icon> Purr Jan-Erik Wang igjen\n            </button>\n          </div>\n\n        </div>\n      </div>\n    </span>\n\n    \x3c!-- HOUSEKEEPING varsel 1--\x3e\n    <span *ngIf="row.type==\'ors_housekeeping_first_warning\' && show.reminders" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n      <div class="cbp_tmicon bg-warning">\n        <fa-icon [icon]="faClock"></fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="false" [avatar]="false"></nlf-resolve-lungo-person>\n          sendte <strong>f\xf8rste purring</strong> om tidsfrist\n          <span class="float-end">\n\n            <span class="badge bg-light text-dark  mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <p class="blockquote blockquote-primary" [innerHTML]="row.data?.message | newlines">\n        </p>\n\n        <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere"></nlf-resolve-avatars>\n\n        <div class="row clearfix">\n\n        </div>\n      </div>\n    </span>\n\n    \x3c!-- HOUSEKEEPING varsel 2--\x3e\n    <span *ngIf="row.type==\'ors_housekeeping_second_warning\' && show.reminders" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n      <div class="cbp_tmicon bg-danger">\n        <fa-icon [icon]="faClock"></fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="false" [avatar]="false"></nlf-resolve-lungo-person>\n          sendte <strong>andre purring</strong> om tidsfrist\n          <span class="float-end">\n\n            <span class="badge bg-light text-dark mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <p class="blockquote blockquote-primary" [innerHTML]="row.data?.message | newlines">\n        </p>\n\n        <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere"></nlf-resolve-avatars>\n\n        <div class="row clearfix">\n\n        </div>\n      </div>\n    </span>\n\n    \x3c!-- MESSAGES --\x3e\n    <span *ngIf="row.type==\'ors_message\' && show.messages" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n      <div class="cbp_tmicon bg-info">\n        \x3c!-- comments-o commenting-o --\x3e\n        <fa-icon [icon]="faComment"></fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          sendte en melding\n          <span class="float-end">\n            <span class="badge bg-light text-dark mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <p class="blockquote blockquote-primary" [innerHTML]="row.data?.message | newlines">\n        </p>\n\n        <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere"></nlf-resolve-avatars>\n        \x3c!--\n        <div *ngFor="let person_id of row.recepients">\n          <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n        --\x3e\n      </div>\n    </span>\n\n\n    \x3c!-- E5X --\x3e\n    <span *ngIf="row.type==\'ors_e5x\' && show.e5x" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n\n      <div *ngIf="row.data.context!=\'sent\'" class="cbp_tmicon bg-orange">\n        <fa-icon [icon]="faPaperPlane"></fa-icon>\n      </div>\n      <div *ngIf="row.data.context==\'sent\'" class="cbp_tmicon bg-green">\n        <fa-icon [icon]="faPaperPlaneRegular"></fa-icon>\n      </div>\n      <div class="cbp_tmlabel">\n        <h2>\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          sendte observasjonen til LT\n          <span class="float-end">\n            <span class="badge bg-light text-dark mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <p>\n          Rapport status: <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="false"\n            [items]="row.data.status" path="E5X.Occurrence.ReportingHistory.ReportStatus">\n          </nlf-ors-editor-tag-e5x-render>\n        </p>\n        <p *ngIf="row.data.context==\'sent\'">\n          Observasjonen ble sendt som version {{ row.data.source }} {{ row.data.context }} via {{\xa0row.data.transport }}\n          as {{\xa0row.data.file_name }}\n        </p>\n        <p *ngIf="row.data.context!=\'sent\'">\n          Observasjonen <strong>feilet</strong> under innsendelse!\n        </p>\n\n        <nlf-resolve-avatars [persons]="row.recepients||[]" modal_title="Mottakere"></nlf-resolve-avatars>\n        \x3c!--\n        <div *ngFor="let person_id of row.recepients">\n          <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n        --\x3e\n      </div>\n    </span>\n\n    \x3c!-- ACCESS --\x3e\n    <span *ngIf="row.type==\'ors_acl\' && show.persons" [title]="row.event_created | date:\'yyyy-MM-dd HH:mm\'">\n      <time class="cbp_tmtime" [dateTime]="row.event_created"><span>{{ row.event_created | date:\'HH:mm\' }}</span>\n        <span>{{ row.event_created | amTimeAgo }}</span></time>\n\n      <div *ngIf="row.data.verb==\'add\'" class="cbp_tmicon bg-green">\n        <fa-icon [icon]="faUserPlus"></fa-icon>\n      </div>\n\n      <div *ngIf="row.data.verb==\'remove\'" class="cbp_tmicon bg-blush">\n        <fa-icon [icon]="faUserTimes"></fa-icon>\n      </div>\n\n      <div class="cbp_tmlabel">\n        <h2>\n          \x3c!-- KEEP legacy data.message format --\x3e\n          <nlf-resolve-lungo-person [person_id]="row.sender" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          &nbsp;<span *ngIf="!!row.data?.message">{{ row.data.message }}</span><span *ngIf="!row.data?.message">{{\n            row.data.verb }} <strong>{{ row.data.right }}</strong></span> for\n          <span class="float-end">\n            <span class="badge bg-light text-dark mx-1">{{\xa0row.transport }}</span>\n          </span>\n        </h2>\n\n        <div *ngFor="let person_id of row.recepients">\n          <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </div>\n    </span>\n  </li>\n\n</ul>\n\n\n<ng-template #recepientModalTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Mottakere\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div *ngFor="let person_id of this.modalRecepients">\n      <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.dismiss()">Lukk</button>\n  </div>\n</ng-template>\n'},56317:de=>{"use strict";de.exports='\x3c!-- STICKY TOP BAR --\x3e\n<span *ngIf="dataReady && !error">\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt""></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      \x3c!-- TITLE OR TAGS --\x3e\n \n\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#<a [routerLink]="[\'/ors\', observation._model.type, \'edit\', observation.id]">{{ observation.id }}\n          <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title" [tags]="observation.tags" [activity]="observation._model.type" [link]="false" seperator="/"></nlf-resolve-observation-tags>\n          <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n            {{ observation.title }}\n          </ng-container>\n        </a>\n        &nbsp;\n        <span *ngIf="!!observation.rating" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">\n          {{ observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n        \x3c!-- HELP\n      <span class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()">\n        <fa-icon [icon]="faQuestion"></fa-icon>\n      </span>\n      --\x3e\n       <nlf-help class="mx-1" key="ors-editor-activities"></nlf-help>\n\n        <a [routerLink]="[\'/ors\', observation._model.type, \'edit\', observation.id]" class="badge bg-secondary mx-1">\n          <fa-icon [icon]="faUndo"></fa-icon>Tilbake\n        </a>\n        \x3c!-- ABOUT --\x3e\n        <span class="badge bg-secondary mx-1">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger" title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated | amTimeAgo }}\n        </span>\n\n        \x3c!-- VERSION --\x3e\n        <span class="badge bg-success mx-1">v{{ observation._version }}</span>\n\n        \x3c!-- WORKFLOW --\x3e\n        <span class="mx-1" *ngIf="observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n        </span>\n        <span class="mx-1" *ngIf="!observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n        </span>\n\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" *ngIf="observation.acl_user.x || observation.acl_user.w" class="badge bg-primary text-white mx-1">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n\n  \x3c!-- EVENTS --\x3e\n  <div class="container">\n    <div class="row my-3">\n      <div class="col-md-10">\n        <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n        </div>\n    </div>\n  </div>\n</span>\n\n<nlf-ui-page-spinner *ngIf="!dataReady && !error"></nlf-ui-page-spinner>\n\n<div *ngIf="!!events">\n  \x3c!--<pre>{{ events | json }}</pre>--\x3e\n</div>\n\n<div *ngIf="!dataReady && !!error">\n\t<nlf-ors-error [id]="observation_id" [activity]="activity" [error]="error_message"></nlf-ors-error>\n</div>\n'},24829:de=>{"use strict";de.exports='<span *ngIf="!!dataReady">\n\n  <ngx-table class="table table-flush" [id]="\'ors-all-table\'" [configuration]="tableConf" [data]="data" [columns]="columns" [(pagination)]="pagination" [filtersTemplate]="filtersTemplate" (event)="parseEvent($event)">\n\n    \x3c!-- ROWS --\x3e\n    <ng-template let-row>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.id }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.id }}</a>\n      </td>\n      <td class="ngx-easy-table-small">\n        {{ row.when | date:"yyyy-MM-dd HH:mm" }}\n      </td>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.title || (row.tags | nlfOrsTags: seperator:\' / \') }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.title || (row.tags | nlfOrsTags: seperator:\' / \') }}</a>\n\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.discipline">\n\n          <nlf-resolve-lungo-organization [organization_id]="row.discipline" [popover]="true"></nlf-resolve-lungo-organization>\n\n        </span>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.rating" ngbTooltip="{{ row.rating.actual }} av {{ row.rating.potential }}" container="body">\n          \x3c!--{{ row.rating.actual }} av {{ row.rating.potential }}: {{ row.rating | nlfOrsRatingCalc }}--\x3e\n          <ngb-progressbar class="progress-striped active" [value]="row.rating | nlfOrsRatingCalc" [type]="row.rating | nlfOrsRatingCalc | nlfDynamicColor">{{\n                        row.rating | nlfOrsRatingCalc }}</ngb-progressbar>\n        </span>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.workflow.state">\n          {{ row.workflow.state | nlfOrsState: row._model.type }}\n        </span>\n      </td>\n      \x3c!--<td [innerHTML]="row.type | nlfOrsType: row._model.type" class="ngx-easy-table-small">--\x3e\n      <td class="ngx-easy-table-small text-end">\n        <nlf-resolve-observation-types [type]="row.type" [activity]="row._model.type" [badge]="true"></nlf-resolve-observation-types>\n      </td>\n\n    </ng-template>\n  </ngx-table>\n  \x3c!--<button class="btn btn-link" (click)="exportToCSV()">Eksporter</button>--\x3e\n\n  \x3c!--FILTERS--\x3e\n  <ng-template #filtersTemplate>\n\n    <th>\n      <div class="input-group input-group-sm">\n        <input id="filterIdInput" #filterIdInput type="search" (keyup)="debouncedFilterId($event.target.value)" class="form-control form-control-sm border-end-0">\n        <span class="input-group-text bg-transparent">\n          <fa-icon [icon]="faTimes" class="text-secondary" (click)="filterId(null);filterIdInput.value=\'\'"></fa-icon>\n        </span>\n      </div>\n    </th>\n\n    <th></th>\n\n    <th>\n      <div class="input-group input-group-sm">\n        <input id="filterTitleInput" #filterTitleInput type="search" (keyup)="debouncedFilterTitle($event.target.value)" class="form-control form-control-sm border-end-0">\n        <span class="input-group-text bg-transparent">\n          <fa-icon [icon]="faTimes" class="text-secondary" (click)="filterTitle(null);filterTitleInput.value=\'\'"></fa-icon>\n        </span>\n      </div>\n    </th>\n\n    \x3c!--CLUBS--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="clubChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let club of clubs" [value]="club.id">\n          {{ club.name }}\n        </option>\n      </select>\n\n    </th>\n    <th></th>\n    \x3c!--STATUS--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="stateChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let status of config[activity].observation.state | keyvalue" [value]="status.key">\n          {{ status.value.label }}\n        </option>\n      </select>\n    </th>\n    \x3c!--TYPE--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="typeChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let type of config[activity].observation.types | keyvalue" [value]="type.key">\n          {{ type.value.label }}\n        </option>\n      </select>\n    </th>\n  </ng-template>\n</span>\n<span *ngIf="!dataReady">\n  <p class="align-middle text-center  text-secondary">\n    <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  </p>\n</span>\n'},94412:de=>{"use strict";de.exports='<div *ngIf="!!dataReady && !error">\n  <div [id]="activity" class="list-group list-group-flush">\n    <a [routerLink]="[\'/ors\', o._model.type, \'report\', o.id]" *ngFor="let o of data"\n    class="small list-group-item list-group-item-action d-flex justify-content-between align-items-center">\n      <span>#{{ o.id }} {{ o.title || (o.tags | nlfOrsTags:\'/\') }}</span>\n      <fa-icon *ngIf="o.files?.length > 0" [icon]="faPaperclip"></fa-icon>\n      <span ngbTooltip="{{ o.rating.actual }} av {{ o.rating.potential }}" container="body" class="badge bg-{{o.rating | nlfOrsRatingCalc | nlfDynamicColor}} rounded-pill">{{ o.rating | nlfOrsRatingCalc }}</span>\n    </a>\n  </div>\n</div>\n<div *ngIf="!dataReady && !error">\n  <p class="align-middle text-center text-secondary">\n    <nlf-ui-component-spinner></nlf-ui-component-spinner>\n  </p>\n</div>\n<div *ngIf="!!dataReady && !!error">\n  <p class="align-middle text-center text-secondary">\n    Ingen\n  </p>\n</div>\n'},80950:de=>{"use strict";de.exports='<span *ngIf="!!dataReady">\n    <ngx-table [id]="\'ors-self-table\'" [configuration]="tableConf" [data]="data" [columns]="columns" [(pagination)]="pagination" (event)="eventEmitted($event)">\n\n        <ng-template let-row>\n            <td class="ngx-easy-table-small">\n                <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.id }}</a>\n                <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.id }}</a>\n            </td>\n            <td class="ngx-easy-table-small">\n                {{ row.when | amTimeAgo }}\n            </td>\n            <td class="ngx-easy-table-small">\n                <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.title || (row.tags | nlfOrsTags: \'/\':23:\'..\') }}</a>\n                <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.title || (row.tags | nlfOrsTags: \'/\':23:\'..\') }}</a>\n            </td>\n            <td class="ngx-easy-table-small">\n                <ng-container *ngIf="[\'closed\', \'withdrawn\'].indexOf(row.workflow.state)<0">\n                    <fa-icon *ngIf="timedelta(row._updated)>=5*24*3600&&timedelta(row._updated)<10*24*3600" [icon]="faClock" class="text-warning" ngbTooltip="Det er over 5 dager siden det har v\xe6rt aktivitet"></fa-icon>\n                    <fa-icon *ngIf="timedelta(row._updated)>=10*24*3600" [icon]="faClock" class="text-danger" ngbTooltip="Det er over 10 dager siden det har v\xe6rt aktivitet"></fa-icon>\n                </ng-container>\n              {{ row.workflow.state | nlfOrsState: row._model.type }}\n            </td>\n            <td class="text-end ngx-easy-table-small text-end">\n              <nlf-resolve-observation-types [type]="row.type" [activity]="row._model.type" [badge]="true"></nlf-resolve-observation-types>\n            </td>\n\n        </ng-template>\n    </ngx-table>\n</span>\n<span *ngIf="!dataReady">\n    <p class="align-middle text-center  text-secondary">\n        <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n    </p>\n</span>\n'},10649:de=>{"use strict";de.exports='<span *ngIf="!!dataReady">\n  <ngx-table [id]="\'ors-todo-table\'" [configuration]="tableConf" [data]="data" [columns]="columns" [(pagination)]="pagination" (event)="eventEmitted($event)">\n\n    <ng-template let-row>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.id }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.id }}</a>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="row.workflow.state!==\'draft\'">{{ row.workflow.last_transition | amTimeAgo }}</span>\n        <span *ngIf="row.workflow.state===\'draft\'">{{ row._updated | amTimeAgo }}</span>\n      </td>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.title || (row.tags | nlfOrsTags: \'/\':23:\'..\') }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.title || (row.tags | nlfOrsTags: \'/\':23:\'..\') }}</a>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.workflow.state">\n          <ng-container *ngIf="[\'closed\', \'withdrawn\'].indexOf(row.workflow.state)<0">\n            <fa-icon *ngIf="timedelta(row._updated)>=5*24*3600&&timedelta(row._updated)<10*24*3600" [icon]="faClock" class="text-warning" ngbTooltip="Det er over 5 dager siden det har v\xe6rt aktivitet"></fa-icon>\n            <fa-icon *ngIf="timedelta(row._updated)>=10*24*3600" [icon]="faClock" class="text-danger" ngbTooltip="Det er over 10 dager siden det har v\xe6rt aktivitet"></fa-icon>\n          </ng-container>\n\n          {{ row.workflow.state | nlfOrsState: row._model.type }}\n        </span>\n      </td>\n\n      \x3c!--<td [innerHTML]="row.type | nlfOrsType: row._model.type" class="ngx-easy-table-small">--\x3e\n      <td class="ngx-easy-table-small text-end">\n        <nlf-resolve-observation-types [type]="row.type" [activity]="row._model.type" [badge]="true"></nlf-resolve-observation-types>\n      </td>\n\n    </ng-template>\n  </ngx-table>\n</span>\n<span *ngIf="!dataReady">\n  <p class="align-middle text-center text-secondary">\n    <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  </p>\n</span>\n'},47860:de=>{"use strict";de.exports='<div *ngIf="!loading">\n  <div class="modal-header">\n    <h4 class="modal-title" *ngIf="dataReady">\n      Opprett ny OBSREG\n    </h4>\n    <span *ngIf="ENV._name!=\'prod\'" class="badge bg-danger ms-3">{{ ENV._name }}</span>\n    <button type="button" class="close float-end" aria-label="Close" (click)="activeModal.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body text-center" *ngIf="!dataReady">\n    <p>\n      <ngb-alert [dismissible]="false" type="danger">\n        <strong>Error!</strong> Kunne ikke laste n\xf8vendig konfigurasjon.\n      </ngb-alert>\n    </p>\n  </div>\n  <div class="modal-body text-center" *ngIf="dataReady">\n\n    \x3c!--Default discipline--\x3e\n    <div class="my-3" *ngIf="showDefault">\n\n      \x3c!-- QUICKSELECT DEFAULT DISCIPLINE\n        <div class="d-grid gap-2">\n      <button *ngIf="!!settings && canCreateDefault()" (click)="createObservation(settings.default_discipline, settings.default_club, settings.default_activity)"\n        class="btn btn-success btn-lg my-1">\n        <fa-icon [icon]="faPlus"></fa-icon>\n        <nlf-resolve-lungo-organization [organization_id]="settings.default_discipline" show_activity="false"></nlf-resolve-lungo-organization>\n      </button>\n    </div>\n    <div *ngIf="!!settings && !canCreateDefault()" class="alert alert-primary" role="alert">\n      OBSREG <nlf-resolve-lungo-activity [activity_id]="settings.default_activity"></nlf-resolve-lungo-activity> er nede for vedlikehold\n    </div>\n    --\x3e\n\n      <nlf-ors-fallskjerm-create [defaultBtn]="true"\n        *ngIf="!!settings && canCreateDefault() && settings.default_activity==109"></nlf-ors-fallskjerm-create>\n      <nlf-ors-motor-create [defaultBtn]="true"\n        *ngIf="!!settings && canCreateDefault() && settings.default_activity==238"></nlf-ors-motor-create>\n      <nlf-ors-seilfly-create [defaultBtn]="true"\n        *ngIf="!!settings && canCreateDefault() && settings.default_activity==111"></nlf-ors-seilfly-create>\n      <nlf-ors-sportsfly-create [defaultBtn]="true"\n        *ngIf="!!settings && canCreateDefault() && settings.default_activity==237"></nlf-ors-sportsfly-create>\n        <nlf-ors-modellfly-create [defaultBtn]="true"\n        *ngIf="!!settings && canCreateDefault() && settings.default_activity==236"></nlf-ors-modellfly-create>\n\n\n      \x3c!-- MORE --\x3e\n      <div class="my-3 pointer lead">\n        <a (click)="showDefaultActivity=!showDefaultActivity;showDefault=!showDefault" class="btn btn-link btn-lg">\n          Flere valg\n        </a>\n      </div>\n    </div>\n\n    \x3c!-- SHOW ALL DISCIPLINES IN DEFAULT ACTIVITY --\x3e\n    <div *ngIf="showDefaultActivity">\n      <div class="my-3">\n        <nlf-ors-fallskjerm-create *ngIf="settings.default_activity==109"></nlf-ors-fallskjerm-create>\n        <nlf-ors-motor-create *ngIf="settings.default_activity==238"></nlf-ors-motor-create>\n        <nlf-ors-seilfly-create *ngIf="settings.default_activity==111"></nlf-ors-seilfly-create>\n        <nlf-ors-sportsfly-create *ngIf="settings.default_activity==237"></nlf-ors-sportsfly-create>\n        <nlf-ors-modellfly-create *ngIf="settings.default_activity==236"></nlf-ors-modellfly-create>\n      </div>\n      <div class="my-3 pointer lead">\n        <a (click)="showAll=!showAll;showDefaultActivity=!showDefaultActivity" class="btn btn-link btn-lg">\n          Vis flere valg\n        </a>\n      </div>\n    </div>\n\n    \x3c!--SHOW ALL ACTIVITIES --\x3e\n    <div *ngIf="showAll">\n      <div class="my-3">\n        <p class="lead">Fallskjerm</p>\n        <nlf-ors-fallskjerm-create></nlf-ors-fallskjerm-create>\n      </div>\n      <div class="my-3">\n        <p class="lead">Motorfly</p>\n        <nlf-ors-motor-create></nlf-ors-motor-create>\n      </div>\n      <div class="my-3">\n        <p class="lead">Seilfly</p>\n        <nlf-ors-seilfly-create></nlf-ors-seilfly-create>\n      </div>\n      <div class="my-3">\n        <p class="lead">Sportsfly</p>\n        <nlf-ors-sportsfly-create></nlf-ors-sportsfly-create>\n      </div>\n      <div class="my-3">\n        <p class="lead">Modellfly</p>\n        <nlf-ors-modellfly-create></nlf-ors-modellfly-create>\n      </div>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <ng-container *ngIf="[109, 111, 237, 236, 238].indexOf(settings.default_activity)">\n      <a class="btn btn-link me-auto" [routerLink]="[\'/ors\', getActivityName()]">\n        <fa-icon [icon]="faLink"></fa-icon> OBSREG {{ getActivityName() }}\n      </a>\n      <button class="btn btn-outline-dark" (click)="activeModal.close()">Avbryt</button>\n    </ng-container>\n  </div>\n</div>\n\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!!loading">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n'},4734:de=>{"use strict";de.exports='<span *ngIf="e5x_enabled && !!observation">\n  <span (click)="openModal(modalTemplate)" class="pointer badge mx-1"\n    [ngClass]="{\'bg-success\':observation.e5x.status==\'sent\', \'bg-secondary\': !observation.e5x.status}">\n    <fa-icon [icon]="faFileAlt"></fa-icon> LT\n  </span>\n</span>\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalTemplate>\n\n  <div *ngIf="!!observation" class="modal-header">\n    <h4 class="modal-title pull-left">\n      Innsending av #{{ observation.id }} {{ observation._model.type }} v{{ observation._version }} til LT</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div *ngIf="!!observation" class="modal-body">\n\n    <div class="row">\n      <div class="col-md-12">\n        <p class="lead">\n          <fa-icon [icon]="faHistory"></fa-icon>Historikk\n        </p>\n\n        <div *ngIf="observation.e5x.audit.length==0" class="alert alert-info">\n          <strong>Ingen historikk</strong> hvilket betyr at denne observasjonen ikke har blitt sendt LT tidligere.\n        </div>\n\n        <table *ngIf="observation.e5x.audit.length>0" class="my-3 table table-striped table-sm">\n          <thead>\n            <th></th>\n            <th>Dato</th>\n            <th>Sent av</th>\n            <th>Sent som</th>\n            <th>Versjon</th>\n            <th>Innsending</th>\n            <th>Prossesering</th>\n            <th>Status</th>\n            <th></th>\n          </thead>\n          <tbody>\n            <tr *ngFor="let audit of observation.e5x.audit" [ngClass]="{\'bg-info\':observation._version==audit.version}">\n              <td>\n              </td>\n              <td>\n                {{ audit.date | date:\'yyyy-MM-dd HH:mm\'}}\n              </td>\n              <td>\n                <nlf-resolve-lungo-person [person_id]="audit.person_id"></nlf-resolve-lungo-person>\n              </td>\n              <td>\n                <nlf-ors-editor-tag-e5x-render *ngIf="observation._model.version<4" classes="badge badge-secondary"\n                  [showLabel]="false" [items]="audit.status"\n                  path="E5X.Occurrence.ReportingHistory.ReportStatus"></nlf-ors-editor-tag-e5x-render>\n                \n                  <nlf-ors-editor-tag-e5x-render-version *ngIf="observation._model.version>=4" [_id]="observation[\'_id\']"\n                  [version]="audit.version" path="occurrence.entities.reportingHistory.0.attributes.reportStatus"\n                  e5xPath="E5X.Occurrence.ReportingHistory.ReportStatus" classes="badge bg-info">\n                </nlf-ors-editor-tag-e5x-render-version>\n\n              </td>\n              <td>\n                v{{ audit.version }}\n              </td>\n              <td>\n                <span *ngIf="audit.sent" class="badge bg-success"><fa-icon [icon]="faPaperPlane"></fa-icon>\n                  Sendt</span>\n                <span *ngIf="!audit.sent" class="badge bg-info"><fa-icon [icon]="faBan"></fa-icon> Ikke sendt</span>\n              </td>\n              \x3c!-- Prossesering--\x3e\n              <td>\n                <span *ngIf="!!audit?.eccairs2">\n                  <span *ngIf="!!audit?.eccairs2?.result" class="badge bg-success"\n                    title="Filen har blitt prosessert ferdig og er mottatt hos LT">\n                    <fa-icon [icon]="faCogs"></fa-icon> {{ audit?.eccairs2?.result?.migrationStatus || "?" }}\n                  </span>\n                  <span *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !audit?.eccairs2?.result"\n                    class="badge bg-warning" title="Prossesserer filen">\n                    <fa-icon [icon]="faCogs"></fa-icon> {{ audit?.status }}\n                  </span>\n                  <span\n                    *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !!audit?.eccairs2?.result && audit?.eccairs2?.result?.migrationStatus !=\'Processed OK\'"\n                    class="badge bg-danger" title="Det var problemer med \xe5 prossessere filen">\n                    <fa-icon [icon]="faCogs"></fa-icon> {{ audit?.eccairs2?.result?.migrationStatus || "Feilet" }}\n                  </span>\n                </span>\n              </td>\n              \x3c!--Status --\x3e\n              <td>\n                <span *ngIf="audit?.eccairs2?.result?.migrationStatus===\'Processed OK\'&&audit.sent===true">\n                  <fa-icon [icon]="faCheck" class="text-success" title="Filen er levert LT"></fa-icon>\n                </span>\n                <span\n                  *ngIf="!!audit?.eccairs2?.result?.migrationStatus && (audit?.eccairs2?.result?.migrationStatus!=\'Processed OK\'||audit.sent!=true)">\n                  <fa-icon [icon]="faBan" class="text-danger" title="Det har skjedd en feil under sending"></fa-icon>\n                </span>\n              </td>\n              <td class="text-end">\n                <a *ngIf="!!token" target="_blank"\n                  href="/api/v1/e5x/download/{{observation._model.type}}/{{observation.id}}/{{audit.version}}?token={{token}}">\n                  <fa-icon [icon]="faDownload"></fa-icon>\n                </a>\n              </td>\n            </tr>\n          </tbody>\n        </table>\n      </div>\n    </div>\n\n    \x3c!-- NO ACCESS --\x3e\n    <div *ngIf="!observation.acl_user.x && observation.workflow.state==\'pending_review_ors\'">\n      <div class="alert alert-danger m-3" role="alert">\n        <strong>Ingen tilgang</strong> Kun OBSREG koordinator har tilgang til \xe5 sende inn rapporten til LT.\n      </div>\n    </div>\n\n    \x3c!-- THIS VERSION ALLREADY REPORTED --\x3e\n    <div *ngIf="!e5xResult && !!observation.e5x.latest_version && observation._version==observation.e5x.latest_version"\n      class="alert alert-info m-3">\n      <strong>Denne versionen, version {{ observation._version }}, er allerede sendt inn.</strong> Det er ingen\n      endringer i observasjonen siden\n      innsendelse og du kan dermed ikke sende denne inn p\xe5 nytt f\xf8r eventuelle endringer.\n    </div>\n\n    \x3c!-- HAS ACCESS --\x3e\n\n    <div *ngIf="!!observation.acl_user.x && observation.workflow.state==\'pending_review_ors\'">\n      \x3c!-- GENERATE --\x3e\n      <div *ngIf="!generating">\n        <div *ngIf="!observation.e5x.latest_version || observation._version!=observation.e5x.latest_version"\n          class="my-3 mx-3">\n\n\n\n          \x3c!-- WARNING SEND YOURSELF? --\x3e\n          <div *ngIf="ENV._name!=\'prod\' && !ENV._e5x_submission" class="alert alert-warning m-3" role="alert">\n            <strong>Viktig!</strong> Dette er <span class="badge bg-danger">{{ ENV._name | uppercase }}</span> som er\n            en\n            test instans og innsendelse til LT er derfor ikke aktivert. Kun skarpe rapporter alts\xe5 registrert i\n            produksjonssystemet https://app.nlf.no kan sendes LT.\n            Her kan du generere E5X filen som er en zipped fil med rapporten i xml format samt eventuelle vedlegg.\n            Denne kan du laste ned om du \xf8nsker.\n          </div>\n\n          <div *ngIf="ENV._name==\'prod\' && !ENV._e5x_submission" class="alert alert-warning m-3" role="alert">\n            <strong>Viktig!</strong> Innsendelse til LT er ikke aktivert for <span class="badge bg-danger">{{\n              ENV._name | uppercase }}</span>\n          </div>\n\n          <div *ngIf="ENV._name==\'dev\' && ENV._e5x_submission" class="alert alert-info m-3" role="alert">\n            <strong>Viktig!</strong> Dette er <span class="badge bg-danger">{{ ENV._name | uppercase }}</span> som er\n            en\n            test instans <strong>med innsendelse til LT sitt testmilj\xf8</strong>. Innsendelse her blir gjennomf\xf8rt p\xe5\n            samme m\xe5te som i produksjonssystemet men havner\n            alts\xe5 som testfiler hos LT hvor de behandler filene i sitt testmilj\xf8.\n          </div>\n\n          <div class="row">\n            <div class="nlf-ors-toolbar">\n              Innsending\n              <nlf-help class="float-end" key="ors-e5x-generate"></nlf-help>\n            </div>\n\n            <dl class="row m-3">\n              <dt class="col-sm-4">Rapportert av</dt>\n              <dd class="col-sm-8">\n                <nlf-resolve-lungo-person [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n              </dd>\n\n              <dt class="col-sm-4">Sendes inn av</dt>\n              <dd class="col-sm-8">\n                <nlf-resolve-lungo-person [person_id]="person_id"></nlf-resolve-lungo-person>\n              </dd>\n            </dl>\n\n            <div class="alert alert-info m-3">\n              <strong>Anonymisert rapport;</strong> ingen navn sendes med i rapporten til LT, den er fullstendig\n              anonymisert.\n            </div>\n          </div>\n\n\n          <div class="row">\n\n            <div class="col-md-12">\n              <nlf-ors-editor-tag-e5x\n                [(items)]="observation.occurrence.entities.reportingHistory[0].attributes.reportStatus.value"\n                path="E5X.Occurrence.ReportingHistory.ReportStatus" [allowed]="allowedStatusKeys"\n                id="ReportStatus">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-12 mt-3">\n              <div class="d-grid gap-2">\n                <button [disabled]="!observation.occurrence.entities.reportingHistory[0].attributes.reportStatus.value"\n                  class="btn btn-primary btn-lg" (click)="send();e5xFile=!e5xFile">\n                  <fa-icon [icon]="faPaperPlane"></fa-icon> Send rapport\n                </button>\n              </div>\n            </div>\n          </div>\n        </div>\n      </div>\n\n\n      <div *ngIf="!generating && !!e5xResult">\n        <div class="alert alert-success">\n          <p class="lead">\n            <fa-icon [icon]="faCheck"></fa-icon>E5X rapport fil ble generert\n          </p>\n          <p>Filen kan om \xf8nskelig lastes ned ovenfor</p>\n        </div>\n      </div>\n\n      <div *ngIf="generating" class="text-center my-3">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n        <h4>E5X GENERATING....</h4>\n      </div>\n\n      \x3c!--\n    <hr>\n\n    observation.e5x<br>\n    {{ observation.e5x | json}}\n    e5xobservation: <br>\n    {{ e5xobservation | json }}\n\n  --\x3e\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e'},4405:de=>{"use strict";de.exports='<div class="modal-header">\n  <h4 class="modal-title">\n    {{ observation._model.type | capitalize }} {{config[observation._model.type][\'observation\'][\'app_name\']}} #{{ observation.id }}\n    <span *ngIf="ENV._name!=\'prod\'" class="badge bg-danger">{{ ENV._name }}</span>\n  </h4>\n\n  <button type="button" class="close float-end" aria-label="Close" (click)="activeModal.dismiss()">\n    <span aria-hidden="true">&times;</span>\n  </button>\n</div>\n<div class="modal-body">\n\n  <dl class="row">\n    <dt class="col-sm-3">Type</dt>\n    <dd class="col-sm-9">\n      <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type" badge="true"></nlf-resolve-observation-types>\n    </dd>\n\n    <dt class="col-sm-3">Status</dt>\n    <dd class="col-sm-9">\n      <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n    </dd>\n\n    \x3c!-- Fra og med versjon 3 har vi disse for motor: --\x3e\n    <ng-container *ngIf="observation._model.type===\'motorfly\' && observation._model.version>=3">\n      <dt class="col-sm-3">E5X Type</dt>\n      <dd class="col-sm-9">\n        <span *ngIf="observation.occurrence.entities.reportingHistory[0].attributes.reportingEntity.value===101311">PRIVAT</span>\n        <span *ngIf="observation.occurrence.entities.reportingHistory[0].attributes.reportingEntity.value===100479">DTO</span>\n      </dd>\n\n      <dt class="col-sm-3">Annet</dt>\n      <dd class="col-sm-9">\n        <div *ngIf="observation.workflow.settings.do_not_process_in_club"><fa-icon [icon]="faBan" class="text-danger"></fa-icon> Behandles ikke i klubb</div>\n        <div *ngIf="!observation.workflow.settings.do_not_process_in_club"><fa-icon [icon]="faCheck" class="text-success"></fa-icon> Kan behandles i klubb</div>\n        <div *ngIf="observation.workflow.settings.do_not_publish"><fa-icon [icon]="faBan" class="text-danger"></fa-icon> Ikke offentlig n\xe5r lukket</div>\n        <div *ngIf="!observation.workflow.settings.do_not_publish"><fa-icon [icon]="faCheck" class="text-success"></fa-icon> Offentlig n\xe5r lukket</div>\n      </dd>\n      \x3c!--\n      <span *ngIf="observation.workflow.settings.do_not_process_in_club">Behandles ikke i klubb</span>\n    --\x3e\n    </ng-container>\n\n\n\n    <dt class="col-sm-3">Opprettet</dt>\n    <dd class="col-sm-9">\n      <fa-icon [icon]="faClock" [fixedWidth]="true"></fa-icon> {{\xa0observation._created | amTimeAgo }}, {{ observation._created | date:\'yyyy-MM-dd HH:mm\' }}\n    </dd>\n\n    <dt class="col-sm-3">Sist endret</dt>\n    <dd class="col-sm-9">\n      <fa-icon [icon]="faClock" [fixedWidth]="true"></fa-icon> {{\xa0observation._updated | amTimeAgo }}, {{ observation._updated | date:\'yyyy-MM-dd HH:mm\' }}\n    </dd>\n\n\n    <dt class="col-sm-3">Observat\xf8r</dt>\n    <dd class="col-sm-9">\n      <nlf-resolve-lungo-person [person_id]="observation.reporter" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n    </dd>\n\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'hi\')">\n      <dt class="col-sm-3">HI</dt>\n      <dd class="col-sm-9">\n        <nlf-resolve-lungo-person *ngFor="let hi of observation.organization.hi" [person_id]="hi" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n      </dd>\n    </ng-container>\n\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'fsj\')">\n      <dt class="col-sm-3">Fagsjef</dt>\n      <dd class="col-sm-9">\n        <div *ngFor="let fsj of observation.organization.fsj">\n          <nlf-resolve-lungo-person [person_id]="fsj" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </dd>\n    </ng-container>\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'club_president\')">\n      <dt class="col-sm-3">Leder i klubb</dt>\n      <dd class="col-sm-9">\n        <div *ngFor="let leder of observation.organization.club_president">\n          <nlf-resolve-lungo-person [person_id]="leder" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </dd>\n    </ng-container>\n\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'ftl\')">\n      <dt *ngIf="observation._model.type==\'motorfly\'" class="col-sm-3">FTL i klubb</dt>\n      <dd *ngIf="observation._model.type==\'motorfly\'" class="col-sm-9">\n        <div *ngFor="let ftl of observation.organization.ftl">\n          <nlf-resolve-lungo-person [person_id]="ftl" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </dd>\n    </ng-container>\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'dto\')">\n      <dt class="col-sm-3">DTO i klubb</dt>\n      <dd class="col-sm-9">\n        <div *ngFor="let dto of observation.organization.dto">\n          <nlf-resolve-lungo-person [person_id]="dto" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </dd>\n    </ng-container>\n    <ng-container *ngIf="observation.organization.hasOwnProperty(\'ors\')">\n      <dt class="col-sm-3">OBSREG-koordinator</dt>\n      <dd class="col-sm-9">\n        <div *ngFor="let ors of observation.organization.ors">\n          <nlf-resolve-lungo-person [person_id]="ors" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </dd>\n    </ng-container>\n    <dt class="col-sm-3">Version</dt>\n    <dd class="col-sm-9">\n      {{ observation._version }}\n    </dd>\n    <dt class="col-sm-3">Klubb</dt>\n    <dd class="col-sm-9">\n      <nlf-resolve-lungo-organization [organization_id]="observation.club" show_activity="true" link="true" long="true"></nlf-resolve-lungo-organization>\n    </dd>\n    <dt class="col-sm-3">Gren</dt>\n    <dd class="col-sm-9">\n      <nlf-resolve-lungo-organization [organization_id]="observation.discipline" show_activity="true" link="true" long="true"></nlf-resolve-lungo-organization>\n    </dd>\n\n    <dt class="col-sm-3">Tilgang</dt>\n    <dd class="col-sm-9">\n\n      <dl *ngIf="!!observation.acl_user" class="row">\n\n        <dt class="col-sm-4">\n          <fa-icon [icon]="observation.acl_user.r ? faCheck : faBan" [ngClass]="observation.acl_user.r ? \'text-success\' : \'text-danger\'"></fa-icon> Read\n        </dt>\n        <dd class="col-sm-8">\n          <span *ngIf="!!acl_list">\n            <nlf-resolve-avatars [persons]="acl_list[\'read\']||[]" max="5"></nlf-resolve-avatars>\n          </span>\n        </dd>\n\n        <dt class="col-sm-4">\n          <fa-icon [icon]="observation.acl_user.w ? faCheck : faBan" [ngClass]="observation.acl_user.w ? \'text-success\' : \'text-danger\'"></fa-icon> Write\n        </dt>\n        <dd class="col-sm-8">\n          <span *ngIf="!!acl_list">\n            <nlf-resolve-avatars [persons]="acl_list[\'write\']||[]" max="5"></nlf-resolve-avatars>\n          </span>\n        </dd>\n\n        <dt class="col-sm-4">\n          <fa-icon [icon]="observation.acl_user.x ? faCheck : faBan" [ngClass]="observation.acl_user.x ? \'text-success\' : \'text-danger\'"></fa-icon> Execute\n        </dt>\n        <dd class="col-sm-8">\n          <span *ngIf="!!acl_list">\n            <nlf-resolve-avatars [persons]="acl_list[\'execute\']||[]" max="5"></nlf-resolve-avatars>\n          </span>\n        </dd>\n\n        <dt class="col-sm-4">\n          <fa-icon [icon]="observation.acl_user.d ? faCheck : faBan" [ngClass]="observation.acl_user.d ? \'text-success\' : \'text-danger\'"></fa-icon> Delete\n        </dt>\n        <dd class="col-sm-8">\n          <span *ngIf="!!acl_list">\n            <nlf-resolve-avatars [persons]="acl_list[\'delete\']||[]" max="5"></nlf-resolve-avatars>\n          </span>\n        </dd>\n\n      </dl>\n\n\n    </dd>\n\n    <dt class="col-sm-3">{{config[observation._model.type][\'observation\'][\'app_name\']}} Modell</dt>\n    <dd class="col-sm-9">\n      <dl class="row">\n        <dt class="col-sm-4">Type</dt>\n        <dd class="col-sm-8">{{ observation._model.type}}</dd>\n        <dt class="col-sm-4">Versjon</dt>\n        <dd class="col-sm-8">{{ observation._model.version}}</dd>\n        <dt class="col-sm-4">Id</dt>\n        <dd class="col-sm-8">{{ observation._id}}</dd>\n      </dl>\n    </dd>\n\n  </dl>\n\n  \x3c!--\n  <div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n    <fa-icon [icon]="faRandom"></fa-icon>\n    Arbeidsflyt\n    <i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n  </div>\n  <div [ngbCollapse]="!isWorkflowTimelineCollapsed">\n    <nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n  </div>\n  --\x3e\n\n</div>\n<div class="modal-footer">\n  <button class="btn btn-outline-dark" (click)="activeModal.close()">Ferdig</button>\n</div>\n'},88810:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  <div class="col-xs-12 col-md-12">\n    <h5>Lokale</h5>\n    <form>\n      <div class="input-group mb-3">\n        <input [disabled]="!observation.acl_user.w" type="text" [(ngModel)]="actionLocal" name="actionLocal"\n          class="form-control" [ngModelOptions]="{standalone: true}">\n          \x3c!-- *ngIf="addActionLocal.length > 0"--\x3e\n        <button [disabled]="!observation.acl_user.w" (click)="addActionLocal(actionLocal)" class="btn btn-primary"\n          type="submit">\n          <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon> Legg til</button>\n      </div>\n    </form>\n    <div class="clearfix"></div>\n    <table class="table table-striped table-sm table-hover">\n      <tr *ngFor="let a of observation.actions.local; let idx = index">\n        <td><strong>{{idx+1}}.</strong>&nbsp;{{a}}</td>\n        <td class="text-end">\n          <fa-icon [icon]="faTimes" [fixedWidth]="true" *ngIf="observation.acl_user.w" class="pointer" (click)="removeActionLocal(idx)"></fa-icon>\n        </td>\n      </tr>\n    </table>\n  </div>\n  <div class="clearfix"></div>\n\n  <div class="col-xs-12 col-md-12">\n    <h5>Sentrale</h5>\n    <form>\n      <div class="input-group mb-3">\n        <input [disabled]="!observation.acl_user.w" type="text" [(ngModel)]="actionCentral" name="actionCentral"\n          class="form-control" [ngModelOptions]="{standalone: true}">\n          \x3c!-- *ngIf="actionCentral.length > 0"--\x3e\n        <button [disabled]="!observation.acl_user.w" (click)="addActionCentral(actionCentral)" class="btn btn-primary"\n          type="submit">\n          <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon> Legg til</button>\n      </div>\n    </form>\n    <div class="clearfix"></div>\n    <table class="table table-striped table-sm table-hover">\n      <tr *ngFor="let a of observation.actions.central; let idx = index">\n        <td><strong>{{idx+1}}.</strong>&nbsp;{{a}}</td>\n        <td class="text-end">\n          <fa-icon [icon]="faTimes" [fixedWidth]="true" *ngIf="observation.acl_user.w" class="pointer" (click)="removeActionCentral(idx)"></fa-icon>\n        </td>\n      </tr>\n    </table>\n  </div>\n  <div class="clearfix"></div>\n</ng-container>\n'},21830:de=>{"use strict";de.exports='<div *ngIf="show()" class="alert alert-info" role="alert">\n  For rapporteringspliktige hendelser trenger vi informasjon om flyets registrering, planlagt avreise- og ankomstflyplass og sted for hendelsen. Du kan angi alt i feltet nedenfor, eller fylle ut s\xe5 mye som du klarer direkte i de andre feltene. Dersom du allerede har rapportert hendelsen direkte selv, gi oss beskjed om dette.\n</div>\n'},91327:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  \x3c!-- PREVIEW ALL --\x3e\n  <nlf-ors-report-ask-text *ngIf="showAllASK" [comments]="observation.ask.text" [audit]="observation.workflow.audit"\n    [activity]="observation._model.type"></nlf-ors-report-ask-text>\n\n  <div>\n    <span *ngIf="observation.workflow.state===\'draft\'" class="lead">Egenvurdering: <nlf-help key="ors-editor-ask-text">\n      </nlf-help></span>\n    <span *ngIf="observation.workflow.state!=\'draft\'" class="lead">Din vurdering: <nlf-help key="ors-editor-ask-text">\n      </nlf-help></span>\n    <ng-container *ngIf="observation.workflow.audit.length>1">\n      <button *ngIf="!showAllASK" type="button" class="btn btn-link float-end" (click)="openModal(previewModal)">vis\n        alle vurderinger</button>\n      <button *ngIf="showAllASK" type="button" class="btn btn-link float-end" (click)="showAllASK=!showAllASK">lukk\n        forh\xe5ndsvisning</button>\n    </ng-container>\n  </div>\n  \x3c!-- <p style="border:1px lightgrey solid;min-height:88px; width: 100%;" contenteditable="true" propValueAccessor="innerHTML"\n    name="myFormName" [(ngModel)]="observation.ask.text[observation.workflow.state]" (ngModelChange)="textChange()" [mention]="list"\n    class="form-control" [mentionConfig]="mconf">\n  </p>--\x3e\n  \x3c!-- ASK text input #1--\x3e\n  <div id="ask" [ngClass]="{\'bg-secondary\': !observation.acl_user.w}" [disabled]="!observation.acl_user.w"\n    class="bg-white border" style="min-height:100px; width: 100%;display: inline-block;overflow: hidden;padding:2px;"\n    contenteditable="true" propValueAccessor="innerHTML" name="myAskDiv"\n    [(ngModel)]="observation.ask.text[observation.workflow.state]" (ngModelChange)="debouncedUpdateText()"\n    (paste)="onPaste($event)" (keyup.enter)="textChange()">\n  </div>\n  \x3c!-- //ASK text input --\x3e\n\n  \x3c!--<button [disabled]="!observation.acl_user.w" class="btn btn-link float-end" (click)="reset()">Reset</button>--\x3e\n\n  \x3c!--(searchTerm)="search($event)"\n<p>Arr: {{ involved.currentArr | async | json }}</p>\n<p>List: {{ list | json }}</p>\n--\x3e\n  \x3c!--\n{{ observation.ask.text[observation.workflow.state] | json }}\n--\x3e\n  \x3c!--<div contenteditable="true" style="border:1px lightgrey solid;min-height:88px"\n     [textContent]="ask.text[state]" (input)="ask.text[state]=$event.target.textContent"></div>--\x3e\n  \x3c!--<div #asktext contenteditable="true" [textContent]="ask.text[state]" (input)="model=asktext.innerText" style="border:1px lightgrey solid;min-height:88px" [mention]="items" class="form-control" (searchTerm)="search($event)" [mentionConfig]="mconf"></div>--\x3e\n  \x3c!--<div [(ngModel)]="ask.text[state]" [mention]="items" class="form-control" (searchTerm)="search($event)" [mentionConfig]="mconf" contenteditable="true" style="border:1px lightgrey solid;min-height:88px"></div>--\x3e\n</ng-container>\n\n\n\x3c!-- MODAL --\x3e\n<ng-template #previewModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Vurderinger\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-report-ask-text [comments]="observation.ask.text" [audit]="observation.workflow.audit"\n      [activity]="observation._model.type"></nlf-ors-report-ask-text>\n    \x3c!-- ASK text input #2--\x3e\n    <div class="mt-2">\n      <span *ngIf="observation.workflow.state===\'draft\'" class="lead">Egenvurdering: <nlf-help\n          key="ors-editor-ask-text"></nlf-help></span>\n      <span *ngIf="observation.workflow.state!=\'draft\'" class="lead">Din vurdering: <nlf-help key="ors-editor-ask-text">\n        </nlf-help></span>\n    </div>\n    <div id="askModal" [ngClass]="{\'bg-secondary\': !observation.acl_user.w}" [disabled]="!observation.acl_user.w"\n      class="bg-white border" style="min-height:100px; width: 100%;display: inline-block;overflow: hidden;padding:2px;"\n      contenteditable="true" propValueAccessor="innerHTML" name="myAskDivModal"\n      [(ngModel)]="observation.ask.text[observation.workflow.state]" (ngModelChange)="debouncedUpdateText()"\n      (paste)="onPaste($event)" (keyup.enter)="textChange()">\n    </div>\n    \x3c!-- //ASK text input --\x3e\n\n    \x3c!-- With excludes for current etc\n    <nlf-ors-report-ask-text [comments]="observation.ask.text" [excludes]="[observation.workflow.state]" [activity]="observation._model.type"></nlf-ors-report-ask-text>\n    <div class="lead mt-2">Din vurdering:</div>\n    <div [ngClass]="{\'bg-secondary\': !observation.acl_user.w}" [disabled]="!observation.acl_user.w" class="bg-white border" style="min-height:100px; width: 100%;display: inline-block;overflow: hidden;padding:2px;" contenteditable="true"\n      propValueAccessor="innerHTML" name="myAskDiv" [(ngModel)]="observation.ask.text[observation.workflow.state]" (ngModelChange)="debouncedUpdateText()">\n    </div>--\x3e\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      \x3c!--<fa-icon [icon]="faTimes"></fa-icon>--\x3eFerdig\n    </button>\n  </div>\n</ng-template>\n'},82905:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation && !!config">\n  <div class="btn-group" role="group">\n    <span *ngFor="let key of (config[observation._model.type].observation.ask | keys)">\n      <button [disabled]="!observation.acl_user.w" type="button" [ngClass]="{\'btn border\':true, \'btn-danger\': isNegative(key),\n                  \'btn-secondary\': isNeutral(key),\n                  \'btn-success\': isPositive(key)}" (click)="flip(key)">{{\n        config[observation._model.type].observation.ask[key][\'label\'] }}\n      </button>\n    </span>\n  </div>\n  <div class="clearfix"></div>\n  \x3c!--<nlf-help key="ors-editor-ask"></nlf-help>--\x3e\n  <div *ngIf="verbose">\n    <br />\n    <ul class="list-unstyled">\n      <li>\n        <span *ngIf="isPositive(\'knowledge\')">\n          <strong class="text-success">Gode</strong> kunnskaper hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'knowledge\')">Kunnskapen til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'knowledge\')">\n          <strong class="text-danger">Mangelfulle</strong> kunnskaper hadde betydning</span>\n      </li>\n      <li>\n        <span *ngIf="isPositive(\'skills\')">\n          <strong class="text-success">Gode</strong> ferdigheter hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'skills\')">Ferdighetene til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'skills\')">\n          <strong class="text-danger">Mangelfulle</strong> ferdigheter hadde betydning</span>\n      </li>\n      <li>\n        <span *ngIf="isPositive(\'attitude\')">\n          <strong class="text-success">Gode</strong> holdninger hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'attitude\')">Holdningene til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'attitude\')">\n          <strong class="text-danger">D\xe5rlige</strong> holdninger hadde betydning</span>\n      </li>\n    </ul>\n  </div>\n</ng-container>'},42002:de=>{"use strict";de.exports='<div class="px-1 mt-3">\n  <span *ngFor="let cat of config[observation._model.type][\'observation\'][\'categories\']" class="badge bg-info mx-1 pointer" (click)="toggle(cat)" [ngClass]="{\'bg-success\': hasCat(cat), \'bg-light\': !hasCat(cat)}">\n\n    {{ cat }}\n\n  </span>\n</div>\n'},95518:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  \x3c!--\n<div>\n  <input id="typeahead-http" type="text" class="form-control" [class.is-invalid]="searchFailed" [(ngModel)]="model"\n    [ngbTypeahead]="searchTAH" placeholder="Finn tagger" [editable]="true" [focusFirst]="false" [inputFormatter]="formatter" [resultTemplate]="typeaheadResults"\n    (selectItem)="selectedItem($event)" />\n\n\n</div>\n\n<ng-template #typeaheadResults let-r="result" let-t="term">\n  <ngb-highlight [result]="r.tag" [term]="t"></ngb-highlight>\n</ng-template>\n--\x3e\n  \x3c!-- ADD CAUSE --\x3e\n  <div class="d-flex">\n    <div class="ms-auto p-2 mb-1">\n      <button (click)="addCause()" class="btn btn-warning">\n        <fa-icon [icon]="faPlus" size="lg"></fa-icon> \xc5rsak\n      </button>\n    </div>\n  </div>\n\n\n  \x3c!-- tag input as https://github.com/LironHazan/angular-tagify-module/tree/master/src instead?? --\x3e\n\n  \x3c!--\n<div>\n  testing tagify wrapper\n  <stagify [settings]="settings"\n          (add)="onTAdd($event)"\n          (remove)="onTRemove($event)"\n          (input)="tagInput($event.detail)"\n          (click)="tagInput($event)"\n          (edit)="tagInput($event)"\n          (invalid)="tagInput($event)"></stagify>\n  <button (click)="clearTTags()">clear</button>\n  <button (click)="addTTags()">add Tags</button>\n</div>\n--\x3e\n\n  \x3c!-- CAUSES --\x3e\n  <span cdkDropList (cdkDropListDropped)="dropCause($event)">\n\n    <div cdkDrag [cdkDragDisabled]="!observation.acl_user.w" *ngFor="let cause of causes; let i = index">\n\n      <div class="input-group mb-3 w-100" id="causes{{i}}">\n\n        <span cdkDragHandle class="input-group-text drag-handle" id="basic-addon2">\n          <fa-icon [ngClass]="{\'text-muted\': !observation.acl_user.w}" [icon]="faArrowsAlt"></fa-icon>\n        </span>\n\n        <span class="input-group-text fw-bold bg-warning lead pointer"\n          [ngClass]="{\'component-barrier\': cause.flags.barrier}" id="basic-addon2" (click)="toggleBarrier(\'causes\', i)">\n          \xc5\n        </span>\n\n        <ng-select #select [disabled]="!observation.acl_user.w" class="form-control w-auto ms-auto me-auto mw-100"\n          [id]="i===0 ? \'focuscause\' : \'\'" [items]="tagsCauses$ | async" bindLabel="tag" [addTag]="true"\n          [multiple]="false" [hideSelected]="true" [loading]="tagsCausesLoading" [typeahead]="tagsCausesInput$"\n          [ngModel]="cause.what" (add)="onAdd($event, \'cause\', i)" (remove)="onRemove($event, \'cause\', i)"\n          (change)="onChange($event, \'cause\', i)" autoCapitalize="on" addTagText="+Opprett som ny"\n          placeholder="Skriv for \xe5 s\xf8ke" notFoundText="Fant ikke noe">\n          <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n            <div>\n              <span [ngOptionHighlight]="search">{{ item.tag }}</span>\n            </div>\n            <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity\n              }}</small>\n          </ng-template>\n        </ng-select>\n\n        \x3c!--\n      <nlf-ors-editor-tag [elementId]="i===0 ? \'focuscause\' : \'\'" [fc]="true" limit="1" preload="true" details="true" group="component.what.cause" activity="fallskjerm"\n      [initialTags]="[cause.what]" (change)="onAddWhat($event, \'cause\', i)"></nlf-ors-editor-tag>\n      --\x3e\n        \x3c!--\n      <div class="form-control">\n\n\n        <tag-input class="align-ngx-input" [editable]="true" [ngModel]="!!cause.what ? [cause.what] : []" [modelAsStrings]="true"\n          [inputId]="i===0 ? \'focuscause\' : \'\'" maxItems="1" theme=\'nothing-theme\' (onAdd)="onAddWhat($event, \'cause\', i)"\n          (onRemove)="onRemoveWhat($event, \'cause\', i)" [addOnBlur]="true" [animationDuration]="{enter: \'0ms\', leave: \'0ms\'}"\n          secondaryPlaceholder=\'Kort beskrivelse av \xe5rsak\' [editable]="true" [ripple]="false" #input>\n          <ng-template let-item="item" let-index="index">\n            <span style="width: 100%">{{ item }}\n            <delete-icon (click)="input.removeItem(item, index)"></delete-icon>\n            </span>\n          </ng-template>\n        </tag-input>\n\n\n      </div>--\x3e\n\n        <span (click)="openModal(componentModal, \'cause\', i)" class="input-group-text pointer" id="basic-addon2">\n          <fa-icon [ngClass]="!cause.hasOwnProperty(\'what\') || cause[\'what\'] ==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faExclamation"></fa-icon>\n          <fa-icon\n            [ngClass]="!cause.hasOwnProperty(\'involved\') || cause[\'involved\'].length==0 ? \'text-danger\' : \'text-success\'"\n            [icon]="faUser"></fa-icon>\n          <fa-icon\n            [ngClass]="!cause.hasOwnProperty(\'where\') || !cause[\'where\'].hasOwnProperty(\'at\') || cause[\'where\'][\'at\']==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faMapMarker"></fa-icon>\n          <fa-icon [ngClass]="!cause.hasOwnProperty(\'how\') || cause[\'how\'] ==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faComment"></fa-icon>\n        </span>\n\n        <span (click)="removeCause(i)" class="input-group-text pointer" id="basic-addon2">\n          <fa-icon [ngClass]="{\'text-muted\': !observation.acl_user.w}" [icon]="faTrash"></fa-icon>\n        </span>\n\n      </div>\n      \x3c!-- //END input group --\x3e\n\n      <div class="drag-custom-placeholder" *cdkDragPlaceholder></div>\n    </div>\n  </span>\n\n  \x3c!-- /CAUSES --\x3e\n\n  \x3c!-- INCIDENT --\x3e\n  <div *ngFor="let incident of incidents; let i = index">\n    <div class="input-group mb-3">\n      <span class="input-group-text not-allowed" id="basic-addon2">\n        <fa-icon [icon]="faBolt"></fa-icon>\n      </span>\n      <span class="input-group-text fw-bold bg-info lead pointer"\n        [ngClass]="{\'component-barrier\': incident.flags.barrier}" id="basic-addon2" (click)="toggleBarrier(\'incidents\', i)">\n        H\n      </span>\n\n\n      <ng-select #select [disabled]="!observation.acl_user.w" class="form-control" [items]="tagsIncidents$ | async"\n        bindLabel="tag" [addTag]="true" [multiple]="false" [hideSelected]="true" [loading]="tagsIncidentsLoading"\n        [typeahead]="tagsIncidentsInput$" [ngModel]="incident.what" (add)="onAdd($event, \'incident\', i)"\n        (remove)="onRemove($event, \'incident\', i)" (change)="onChange($event, \'incident\', i)" autoCapitalize="on"\n        addTagText="+Opprett som ny" placeholder="Skriv for \xe5 s\xf8ke" notFoundText="Fant ikke noe">\n        <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n          <div>\n            <span [ngOptionHighlight]="search">{{ item.tag }}</span>\n          </div>\n          <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity\n            }}</small>\n        </ng-template>\n      </ng-select>\n      \x3c!--\n    <div class="form-control">\n      <tag-input class="align-ngx-input" [ngModel]="!!incidents[i].what ? [incidents[i].what] : []" [modelAsStrings]="true"\n        inputId="incident" maxItems="1" theme=\'nothing-theme\' (onAdd)="onAddWhat($event, \'incident\', 0)" (onRemove)="onRemoveWhat($event, \'incident\', 0)"\n        [addOnBlur]="true" [animationDuration]="{enter: \'0ms\', leave: \'0ms\'}" secondaryPlaceholder=\'Kort beskrivelse av hendelsen\'\n        [ripple]="false" #input>\n        <ng-template let-item="item" let-index="index">\n          {{ item }}\n          <delete-icon (click)="input.removeItem(item, index)"></delete-icon>\n        </ng-template>\n      </tag-input>\n    </div>\n--\x3e\n\n      <span (click)="openModal(componentModal, \'incident\', i)" class="input-group-text pointer" id="basic-addon2">\n        <fa-icon\n          [ngClass]="!incident.hasOwnProperty(\'what\') || !incident[\'what\'] || incident[\'what\']==\'\' ? \'text-danger\' : \'text-success\'"\n          [icon]="faExclamation"></fa-icon>\n        <fa-icon\n          [ngClass]="!incident.hasOwnProperty(\'involved\') || incident[\'involved\'].length==0 ? \'text-danger\' : \'text-success\'"\n          [icon]="faUser"></fa-icon>\n        <fa-icon\n          [ngClass]="!incident.hasOwnProperty(\'where\') || !incident[\'where\'].hasOwnProperty(\'at\') || incident[\'where\'][\'at\']==\'\' ? \'text-danger\' : \'text-success\'"\n          [icon]="faMapMarker"></fa-icon>\n        <fa-icon\n          [ngClass]="!incident.hasOwnProperty(\'how\') || !incident[\'how\'] || incident[\'how\']==\'\' ? \'text-danger\' : \'text-success\'"\n          [icon]="faComment"></fa-icon>\n      </span>\n\n      <span class="input-group-text" id="basic-addon2">\n        <fa-icon [icon]="faBan"></fa-icon>\n      </span>\n    </div>\n  </div>\n  \x3c!-- /INCIDENT --\x3e\n\n  \x3c!-- CONSEQUENCES --\x3e\n  <span cdkDropList (cdkDropListDropped)="dropConsequence($event)">\n    <div cdkDrag [cdkDragDisabled]="!observation.acl_user.w" *ngFor="let consequence of consequences; let i = index">\n      <div class="input-group mb-3">\n        <span cdkDragHandle class="input-group-text drag-handle" id="basic-addon2">\n          <fa-icon [ngClass]="{\'text-muted\': !observation.acl_user.w}" [icon]="faArrowsAlt"></fa-icon>\n        </span>\n        <span class="input-group-text fw-bold bg-danger lead pointer"\n          [ngClass]="{\'component-barrier\': consequence.flags.barrier}" id="basic-addon2" (click)="toggleBarrier(\'consequences\', i)">\n          K\n        </span>\n\n        <ng-select #select [disabled]="!observation.acl_user.w" class="form-control"\n          [id]="i===(consequences.length-1) ? \'focusconsequence\' : \'\'" [items]="tagsConsequences$ | async"\n          bindLabel="tag" [addTag]="true" [multiple]="false" [hideSelected]="true" [loading]="tagsConsequencesLoading"\n          [typeahead]="tagsConsequencesInput$" [ngModel]="consequence.what" (add)="onAdd($event, \'consequence\', i)"\n          (remove)="onRemove($event, \'consequence\', i)" (change)="onChange($event, \'consequence\', i)"\n          autoCapitalize="on" addTagText="+Opprett som ny" placeholder="Skriv for \xe5 s\xf8ke" notFoundText="Fant ikke noe">\n          <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n            <div>\n              <span [ngOptionHighlight]="search">{{ item.tag }}</span>\n            </div>\n            <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity\n              }}</small>\n          </ng-template>\n        </ng-select>\n\n        \x3c!--\n      <div class="form-control">\n        <tag-input class="align-ngx-input" [ngModel]="!!consequence.what ? [consequence.what] : []" [modelAsStrings]="true"\n          [inputId]="consequences.length===(i+1) ? \'focusconsequence\' : \'\'" maxItems="1" theme=\'nothing-theme\' (onAdd)="onAddWhat($event, \'consequence\', i)"\n          (onRemove)="onRemoveWhat($event, \'consequence\', i)" [addOnBlur]="true" [animationDuration]="{enter: \'0ms\', leave: \'0ms\'}"\n          secondaryPlaceholder=\'Kort beskrivelse av konsekvens\' [ripple]="false" #input>\n          <ng-template let-item="item" let-index="index">\n            {{ item }}\n            <delete-icon (click)="input.removeItem(item, index)"></delete-icon>\n          </ng-template>\n        </tag-input>\n      </div>\n    --\x3e\n\n\n        <span (click)="openModal(componentModal, \'consequence\', i)" class="input-group-text pointer"\n          id="basic-addon2">\n          <fa-icon\n            [ngClass]="!consequence.hasOwnProperty(\'what\') || !consequence[\'what\'] || consequence[\'what\']==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faExclamation"></fa-icon>\n          <fa-icon\n            [ngClass]="!consequence.hasOwnProperty(\'involved\') || consequence[\'involved\'].length==0 ? \'text-danger\' : \'text-success\'"\n            [icon]="faUser"></fa-icon>\n          <fa-icon\n            [ngClass]="!consequence.hasOwnProperty(\'where\') || !consequence[\'where\'].hasOwnProperty(\'at\') || consequence[\'where\'][\'at\']==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faMapMarker"></fa-icon>\n          <fa-icon\n            [ngClass]="!consequence.hasOwnProperty(\'how\')  || consequence[\'how\']==\'\' ? \'text-danger\' : \'text-success\'"\n            [icon]="faComment"></fa-icon>\n        </span>\n        <span (click)="removeConsequence(i)" class="input-group-text pointer" id="basic-addon2">\n          <fa-icon [ngClass]="{\'text-muted\': !observation.acl_user.w}" [icon]="faTrash"></fa-icon>\n        </span>\n\n      </div>\n      <div class="drag-custom-placeholder" *cdkDragPlaceholder></div>\n    </div>\n  </span>\n  \x3c!-- /CONSEQUENCES --\x3e\n\n  \x3c!-- ADD CUSE / CONSEQUENCE --\x3e\n\n  <div class="d-flex">\n    <div class="ms-auto p-2 mb-1">\n      <button (click)="addConsequence()" class="btn btn-danger">\n        <fa-icon [icon]="faPlus" size="lg"></fa-icon>Konsekvens\n      </button>\n    </div>\n  </div>\n\n\n  \x3c!-- MODAL COMPONENT --\x3e\n  <ng-template #componentModal>\n    <div class="modal-header">\n      <h4 class="modal-title pull-left">\n        <span *ngIf="modalComponent.data.flags.cause" class="badge bg-warning">\xc5rsak</span>\n        <span *ngIf="modalComponent.data.flags.incident" class="badge bg-info">Hendelse</span>\n        <span *ngIf="modalComponent.data.flags.consequence" class="badge bg-danger">Konsekvens</span>\n        &nbsp;\n        <span *ngIf="!!modalComponent.data.what">{{ modalComponent.data.what }}</span>\n        <span *ngIf="!modalComponent.data.what" class="text-muted">Mangler hva</span>\n      </h4>\n\n      \x3c!--<button [disabled]="!observation.acl_user.w" (click)="modalToggleBarrier(!modalComponent.data.flags.barrier)" class="btn btn-outline-secondary ms-auto">Barri\xe6re</button>--\x3e\n      <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n        <span aria-hidden="true">&times;</span>\n      </button>\n    </div>\n\n    <div class="modal-body">\n\n      <div class="row">\n        <div class="col-md-8">\n          <div class="form-group">\n            <label for="whereAt">Hvor</label>\n            \x3c!--<input class="form-control" type="text" id="whereAt" [(ngModel)]="modalComponent.data.where.at">--\x3e\n            <ng-select #select [disabled]="!observation.acl_user.w" class="form-control" [items]="tagsWhereAt$ | async"\n              bindLabel="tag" [addTag]="true" [multiple]="false" [hideSelected]="true" [loading]="tagsWhereAtLoading"\n              [typeahead]="tagsWhereAtInput$" [(ngModel)]="modalComponent.data[\'where\'][\'at\']"\n              (change)="modalWhereAtUpdate($event)" autoCapitalize="on" addTagText="+Opprett som ny"\n              placeholder="Skriv for \xe5 s\xf8ke" notFoundText="Fant ikke noe">\n              <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n                <div>\n                  <span [ngOptionHighlight]="search">{{ item.tag }}</span>\n                </div>\n                <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity\n                  }}</small>\n              </ng-template>\n            </ng-select>\n          </div>\n        </div>\n\n\n\n        <div class="col-md-4">\n          <div class="form-group">\n            <label for="whereAltitude">H\xf8yde</label>\n            <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="whereAltitude"\n              [(ngModel)]="modalComponent.data[\'where\'][\'altitude\']">\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-xs-12 col-md-12">\n          <div class="form-group">\n            <label for="how">Hvordan</label>\n            <textarea [disabled]="!observation.acl_user.w" id="how" class="form-control" rows="3"\n              [(ngModel)]="modalComponent.data.how"></textarea>\n          </div>\n        </div>\n      </div>\n      Hvem\n      <div class="row">\n        <div class="col-xs-12 col-md-12">\n          <span *ngIf="involved.length==0">\n            <div class="alert alert-info">Ingen involverte lagt til enn\xe5</div>\n          </span>\n          <span *ngFor="let person of involved">\n\n            <button [disabled]="!observation.acl_user.w" *ngIf="getModalInvolvedIndex(person.id) > -1"\n              (click)="modalToggleInvolved(person)" class="btn btn-success mx-1 my-1">\n              <span *ngIf="person.id > 0">\n                <nlf-resolve-lungo-person [person_id]="person.id"></nlf-resolve-lungo-person>\n              </span>\n              <span *ngIf="person.id < 0">{{ person.full_name }}</span>\n            </button>\n            <button [disabled]="!observation.acl_user.w" *ngIf="getModalInvolvedIndex(person.id) < 0"\n              (click)="modalToggleInvolved(person)" class="btn btn-outline-secondary mx-1 my-1">\n              <span *ngIf="person.id > 0">\n                <nlf-resolve-lungo-person [person_id]="person.id"></nlf-resolve-lungo-person>\n              </span>\n              <span *ngIf="person.id < 0">{{ person.full_name }}</span>\n            </button>\n          </span>\n        </div>\n      </div>\n\n      Attributter:\n      <div class="row">\n        <div\n          *ngFor="let key of config[observation._model.type].observation.components.attributes | keys; let idx = index"\n          class="col-sm-12 col-md-4 mb-1">\n          <div class="d-grid gap-2">\n            <button [disabled]="!observation.acl_user.w" *ngIf="modalComponent.data.attributes[key]"\n              (click)="modalToggleAttributes(key, false)"\n              class="btn btn-{{ config[observation._model.type].observation.components.attributes[key][\'badge\'] }}">\n              {{ config[observation._model.type].observation.components.attributes[key][\'label\'] }}</button>\n\n            <button [disabled]="!observation.acl_user.w" *ngIf="!modalComponent.data.attributes[key]"\n              (click)="modalToggleAttributes(key, true)" class="btn btn-outline-secondary">\n              {{ config[observation._model.type].observation.components.attributes[key][\'label\'] }}</button>\n          </div>\n        </div>\n      </div>\n\n    </div>\n    <div class="modal-footer">\n      <button class="btn btn-outline-dark" (click)="modalRef.close()">\n        <fa-icon [icon]="faClose" [fixedWidth]="true"></fa-icon>Avbryt\n      </button>\n      <button [disabled]="!observation.acl_user.w" class="btn btn-success" (click)="modalComponentUpdate()">\n        <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n      </button>\n    </div>\n  </ng-template>\n  \x3c!-- /MODAL COMPONENT --\x3e\n\n  \x3c!-- NGB TYPEAHEAD NOT GOOD ENOUGH!!!\n<input (keyup.enter)="onSelect($event)" id="typeahead-incident" type="text" class="form-control" [(ngModel)]="incident[0].what"\n  [ngbTypeahead]="search" [resultTemplate]="resultTemplate" [inputFormatter]="formatter" [showHint]="true" [focusFirst]="false"\n  (selectItem)="onSelect($event)" /> {{ incident[0].what | json }}\n<ng-template #resultTemplate let-r="result" let-t="term">\n  {{ r.tag}}\n</ng-template>\n--\x3e\n\n</ng-container>\n'},38241:de=>{"use strict";de.exports='<div class="input-group">\n  <input [disabled]="disabled" class="form-control" placeholder="yyyy-mm-dd" name="dp" (dateSelect)="debouncedEmit($event.next)" [(ngModel)]="model"\n    ngbDatepicker [footerTemplate]="footerTemplate" #d="ngbDatepicker" [maxDate]="today">\n  <button [disabled]="disabled" class="btn btn-outline-secondary" (click)="d.toggle()" type="button">\n    <fa-icon [icon]="faCalendar"></fa-icon>\n  </button>\n</div>\n\n<ng-template #footerTemplate>\n  <hr class="my-0">\n  <button class="btn btn-primary btn-sm m-2 float-start" (click)="model = today; d.close()">Today</button>\n  <button class="btn btn-secondary btn-sm m-2 float-end" (click)="d.close()">Close</button>\n</ng-template>\n'},92999:de=>{"use strict";de.exports='<div class="modal-header">\n  <h4 class="modal-title pull-left">\n    Debug for #{{ observation.id }}</h4>\n  <button type="button" class="close float-end" aria-label="Close" (click)="activeModal.dismiss()">\n    <span aria-hidden="true">&times;</span>\n  </button>\n</div>\n<div class="modal-body">\n\n  <div class="py-3">\n    <pre>{{observation | json}}</pre>\n  </div>\n\n</div>\n<div class="modal-footer">\n  <button class="btn btn-outline-dark" (click)="activeModal.close()">Ferdig</button>\n</div>\n'},36220:de=>{"use strict";de.exports='<button *ngIf="!showOnlyBtn" (click)="openModal(attrModal)" class="btn btn-link">\n  Flight Data\n</button>\n\n<div *ngIf="showOnlyBtn" class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(attrModal)">\n    <fa-icon [icon]="faTachometer"></fa-icon> Flight Data\n  </button>\n</div>\n\x3c!-- MODAL --\x3e\n<ng-template #attrModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Aircraft Flight Data {{ callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n\n    <div class="row">\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.lastDeparturePoint.value" path="E5X.Occurrence.Aircraft.LastDeparturePoint" id="LastDeparturePoint"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.plannedDestination.value" path="E5X.Occurrence.Aircraft.PlannedDestination" id="plannedDestination"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.operationType.value" path="E5X.Occurrence.Aircraft.OperationType" id="operationType"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.flightPhase.value" path="E5X.Occurrence.Aircraft.FlightPhase" id="flightPhase"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.aircraftAltitude.value" path="E5X.Occurrence.Aircraft.AircraftAltitude" id="aircraftAltitude"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.acFlightLevel.value" path="E5X.Occurrence.Aircraft.ACFlightLevel" id="acFlightLevel"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.clearedAltitude.value" path="E5X.Occurrence.Aircraft.ClearedAltitude" id="clearedAltitude"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.clearedFlightLevel.value" path="E5X.Occurrence.Aircraft.ClearedFlightLevel" id="clearedFlightLevel"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.clearanceValidity.value" path="E5X.Occurrence.Aircraft.ClearanceValidity" id="clearanceValidity"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.clearedFLAfter.value" path="E5X.Occurrence.Aircraft.ClearedFLAfter" id="clearedFLAfter"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.timeDeviatingFL.value" path="E5X.Occurrence.Aircraft.TimeDeviatingFL" id="timeDeviatingFL"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.controllingAgency.value" path="E5X.Occurrence.Aircraft.ControllingAgency" id="controllingAgency"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.flightPlanType.value" path="E5X.Occurrence.Aircraft.FlightPlanType" id="flightPlanType"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.currentFlightRules.value" path="E5X.Occurrence.Aircraft.CurrentFlightRules" id="currentFlightRules"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.filedFlightRules.value" path="E5X.Occurrence.Aircraft.FiledFlightRules" id="filedFlightRules"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.currentTrafficType.value" path="E5X.Occurrence.Aircraft.CurrentTrafficType" id="currentTrafficType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.filedTrafficType.value" path="E5X.Occurrence.Aircraft.FiledTrafficType" id="filedTrafficType"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.flightNumber.value" path="E5X.Occurrence.Aircraft.FlightNumber" id="flightNumber"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.instrumentApprType.value" path="E5X.Occurrence.Aircraft.InstrumentApprType" id="instrumentApprType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.sidRoute.value" path="E5X.Occurrence.Aircraft.SIDRoute" id="sidRoute"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.ssrMode.value" path="E5X.Occurrence.Aircraft.SSRMode" id="ssrMode"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.atsRouteName.value" path="E5X.Occurrence.Aircraft.ATSRouteName" id="atsRouteName"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div *ngIf="devDebug" class="row">\n        AC: {{ classification | json }}\n      </div>\n\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},60877:de=>{"use strict";de.exports='<button (click)="openModal(modal)" class="btn btn-link">\n  Injuries<fa-icon [icon]="faCheck" class="text-secondary" *ngIf="!_isObjEmpty(attr)"></fa-icon>\n</button>\n\n\n\x3c!-- INJURIES MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Injuries/Fatalities {{ callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n\n        <div class="row">\n\n\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalNumberOfPersons.value" path="E5X.Occurrence.Aircraft.TotalNumberOfPersons"\n              id="totalNumberOfPersons"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalNumberMinorInjuries.value" path="E5X.Occurrence.Aircraft.TotalNumberMinorInjuries"\n              id="totalNumberMinorInjuries"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalNumberSeriousInjuries.value" path="E5X.Occurrence.Aircraft.TotalNumberSeriousInjuries"\n              id="totalNumberSeriousInjuries"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalNumberFatalities.value" path="E5X.Occurrence.Aircraft.TotalNumberFatalities"\n              id="totalNumberFatalities"></nlf-ors-editor-tag-e5x>\n          </div>\n\n\n        </div>\n\n        <div class="row">\n\n          <div *ngIf="devDebug" class="row">\n            AC: {{ attr | json }}\n          </div>\n\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},87146:de=>{"use strict";de.exports='<button (click)="openModal(modal)" class="btn btn-secondary">\n  Weather\n</button>\n\n\x3c!-- MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Weather conditions at occurrence {{ callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.relWindDirection.value" path="E5X.Occurrence.Aircraft.RelWindDirection" id="relWindDirection"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.turbulenceIntensity.value" path="E5X.Occurrence.Aircraft.TurbulenceIntensity" id="turbulenceIntensity"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.visibRestrictions.value" path="E5X.Occurrence.Aircraft.VisibRestrictions" id="visibRestrictions"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      AC: {{ attr | json }}\n    </div>\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},97648:de=>{"use strict";de.exports='<div class="d-grid gap-2">\n  <button (click)="openModal(modal)" class="btn btn-secondary">\n    <fa-icon [icon]="faBandcamp"></fa-icon>Wildlife\n  </button>\n</div>\n\n\x3c!-- MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Wildlife {{ callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n\n    <div class="row">\n\n      <div class="col-md-6">\n\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.birdsWildlifeSeen.value" path="E5X.Occurrence.Aircraft.BirdsWildlifeSeen"\n          id="BirdsWildlifeSeen"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.birdSize.value" path="E5X.Occurrence.Aircraft.BirdSize" id="BirdSize"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.speciesDescription.value" path="E5X.Occurrence.Aircraft.SpeciesDescription"\n          id="SpeciesDescription"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.birdsWildlifeStruck.value" path="E5X.Occurrence.Aircraft.BirdsWildlifeStruck"\n          id="BirdsWildlifeStruck"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.pilotAdvisedOfBirds.value" path="E5X.Occurrence.Aircraft.PilotAdvisedOfBirds"\n          id="PilotAdvisedOfBirds"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.partsStruck.value" path="E5X.Occurrence.Aircraft.PartsStruck"\n          id="PartsStruck"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.partsDamaged.value" path="E5X.Occurrence.Aircraft.PartsDamaged"\n          id="PartsDamaged"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div *ngIf="devDebug" class="row">\n        AC: {{ classification | json }}\n      </div>\n\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},10644:de=>{"use strict";de.exports='<div *ngIf="!modal" class="col-xs-12 col-md-12">\n\n  <div class="row">\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="debouncedUpdate()" [(items)]="attr.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass" id="OccurrenceClass"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="debouncedUpdate()" [(items)]="attr.detectionPhase.value" path="E5X.Occurrence.DetectionPhase" id="DetectionPhase"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-12">\n\n      <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="debouncedUpdate()" [(items)]="attr.occurrenceCategory.value" path="E5X.Occurrence.OccurrenceCategory" id="OccurrenceCategory"></nlf-ors-editor-tag-e5x>\n\n    </div>\n\n    <div *ngIf="devDebug" class="row">\n      AC: {{ attr | json }}\n    </div>\n\n  </div>\n</div>\n\n<div *ngIf="modal">\n  <div class="d-grid gap-2">\n    <button class="btn btn-info" (click)="openModal(modal)">\n      <fa-icon [icon]="faCheck" class="text-secondary" *ngIf="!!attr  && !!attr.occurrenceClass.value"></fa-icon>\n      Classification\n    </button>\n  </div>\n\n  \x3c!-- ROUTE MODAL --\x3e\n  <ng-template #modal>\n    <div class="modal-header">\n      <h4 class="modal-title pull-left">\n        Classification\n      </h4>\n      <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n        <span aria-hidden="true">&times;</span>\n      </button>\n    </div>\n\n    <div class="modal-body">\n\n\n      <div class="row">\n        <div class="col-xs-12 col-md-12">\n\n          <div class="row">\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass" id="OccurrenceClass"></nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.detectionPhase.value" path="E5X.Occurrence.DetectionPhase" id="DetectionPhase"></nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-12">\n              <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.occurrenceCategory.value" path="E5X.Occurrence.OccurrenceCategory"\n                id="OccurrenceCategory"></nlf-ors-editor-tag-e5x>\n\n            </div>\n\n            <div *ngIf="devDebug" class="row">\n              AC: {{ attr | json }}\n            </div>\n\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="modal-footer">\n      <button class="btn btn-outline-dark" (click)="modalRef.close()">\n        <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n      </button>\n      <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n        <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n      </button>\n    </div>\n  </ng-template>\n</div>\n'},32287:de=>{"use strict";de.exports='<div *ngIf="!showOnlyBtn" class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button class="btn btn-secondary" (click)="openModal(modal)">\n        <fa-icon [icon]="faFire"></fa-icon> Damage(s)\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <nlf-ors-editor-tag-e5x-render *ngIf="!!attr.highestDamage.value" classes="badge bg-danger" [items]="attr.highestDamage.value" path="E5X.Occurrence.HighestDamage"></nlf-ors-editor-tag-e5x-render>\n  </div>\n</div>\n\n<div *ngIf="showOnlyBtn" class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(modal)">\n    <fa-icon [icon]="faFire"></fa-icon> Damage(s)\n  </button>\n</div>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Damage(s)\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.highestDamage.value" path="E5X.Occurrence.HighestDamage" id="HighestDamage"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.damageNotToAC.value" path="E5X.Occurrence.DamageNotToAC" id="DamageNotToAC"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row" *ngIf="!!attr.damageNotToAC.value && attr.damageNotToAC.value != 97">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.objectDamaged.value" path="E5X.Occurrence.ObjectDamaged" id="ObjectDamaged"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.thirdPartyDamage.value" path="E5X.Occurrence.ThirdPartyDamage" id="ThirdPartyDamage"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      AC: {{ attr | json }}\n    </div>\n\n\n    \x3c!--\n    <div class="row" *ngIf="!!attr.highestDamage.value && attr.highestDamage.value > 0 && [98, 99].indexOf(attr.highestDamage.value)<0">\n        <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.partsStruck.value" path="E5X.Occurrence.Aircraft.PartsStruck" id="PartsStruck"></nlf-ors-editor-tag-e5x>\n        </div>\n\n        <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.partsDamaged.value" path="E5X.Occurrence.Aircraft.PartsDamaged" id="PartsDamaged"></nlf-ors-editor-tag-e5x>\n        </div>\n    </div>\n    --\x3e\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},55582:de=>{"use strict";de.exports='<div *ngIf="!showOnlyBtn" class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button class="btn btn-primary" (click)="openModal(modal)">\n        <fa-icon [icon]="faMedkit"></fa-icon>Injuries\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="attr.injuryLevel.value" path="E5X.Occurrence.InjuryLevel"></nlf-ors-editor-tag-e5x-render>\n\n  </div>\n</div>\n\n<div *ngIf="showOnlyBtn" class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(modal)">\n    <fa-icon [icon]="faMedkit"></fa-icon>Injuries\n  </button>\n</div>\n\n\n\n\x3c!-- INJURIES MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Injuries/Fatalities for Occurrence\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n\n        <div class="row">\n\n\n          <div class="col-md-12 mb-3">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.injuryLevel.value" path="E5X.Occurrence.InjuryLevel" id="InjuryLevel"></nlf-ors-editor-tag-e5x>\n          </div>\n\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalSeriousInjuriesGround.value" path="E5X.Occurrence.TotalSeriousInjuriesGround" id="TotalSeriousInjuriesGround"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalMinorInjuriesGround.value" path="E5X.Occurrence.TotalMinorInjuriesGround" id="TotalMinorInjuriesGround"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-4">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.totalFatalitiesGround.value" path="E5X.Occurrence.TotalFatalitiesGround" id="TotalFatalitiesGround"></nlf-ors-editor-tag-e5x>\n          </div>\n\n\n        </div>\n\n        <div class="row">\n\n          <div *ngIf="devDebug" class="row">\n            AC: {{ attr | json }}\n          </div>\n\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},62950:de=>{"use strict";de.exports='<div class="nlf-ors-toolbar mb-2">\n  Hvor skjedde det?\n  <nlf-help class="float-end" key="ors-editor-e5x-where"></nlf-help>\n</div>\n<div class="row">\n  <div class="col-md-6">\n    <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.locationName.value" path="E5X.Occurrence.LocationName" id="locationName"></nlf-ors-editor-tag-e5x>\n  </div>\n  <div class="col-md-2" *ngIf="!showSimpleView">\n    <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.latitudeOfOcc.value" path="E5X.Occurrence.LatitudeOfOcc" id="latitudeOfOcc"></nlf-ors-editor-tag-e5x>\n  </div>\n  <div class="col-md-2" *ngIf="!showSimpleView">\n    <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.longitudeOfOcc.value" path="E5X.Occurrence.LongitudeOfOcc" id="longitudeOfOcc"></nlf-ors-editor-tag-e5x>\n  </div>\n  <div class="col-md-2" *ngIf="!showSimpleView">\n    <label>Vis kart</label>\n    <nlf-ors-editor-e5x-where  [disabled]="!observation.acl_user.w" [modal]="true" [showOnlyBtn]="true"></nlf-ors-editor-e5x-where>\n  </div>\n</div>\n\n\x3c!--\n<div class="row">\n  <div class="col-md-6">\n    <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.locationName.value" path="E5X.Occurrence.LocationName" id="locationName"></nlf-ors-editor-tag-e5x>\n  </div>\n\n  <div class="col-md-6">\n    <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.stateAreaOfOcc.value" path="E5X.Occurrence.StateAreaOfOcc" id="stateAreaOfOcc"></nlf-ors-editor-tag-e5x>\n  </div>\n</div>\n--\x3e\n\n\n<div class="nlf-ors-toolbar" *ngIf="!showSimpleView">\n  Klassifiser hendelsen\n  <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n</div>\n<div class="p-3 bg-warning col-md-12" *ngIf="!showSimpleView">\n  <div class="row">\n    <div class="col-md-4">\n      <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.injuryLevel.value" path="E5X.Occurrence.InjuryLevel" id="injuryLevel"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-2">\n      <label>Ytterligere info</label>\n      <nlf-ors-editor-e5x-injuries (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-injuries>\n    </div>\n    <div class="col-md-4">\n      <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.highestDamage.value" path="E5X.Occurrence.HighestDamage" id="highestDamage"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-2">\n      <label>Ytterligere info</label>\n      <nlf-ors-editor-e5x-damage (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-damage>\n    </div>\n\n  </div>\n\n  <div class="row mt-3">\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" (change)="debouncedUpdate()" [(items)]="observation.occurrence.attributes.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass"\n        id="OccurrenceClass"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" (change)="debouncedUpdate()" [(items)]="observation.occurrence.attributes.detectionPhase.value" path="E5X.Occurrence.DetectionPhase" id="DetectionPhase">\n      </nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-12 mt-3">\n      <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" (change)="debouncedUpdate()" [(items)]="observation.occurrence.attributes.occurrenceCategory.value" path="E5X.Occurrence.OccurrenceCategory"\n        id="OccurrenceCategory">\n      </nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n</div>\n\x3c!-- /CLASSIFICATION --\x3e\n\n\n\n\n\n\x3c!-- OTHER ENTITIES --\x3e\n<div class="nlf-ors-toolbar" *ngIf="!showSimpleView">\n  Legg til annet relevant\n  <nlf-help class="float-end" key="ors-editor-e5x-entities"></nlf-help>\n</div>\n\x3c!--\n<div class="my-3">\n  <nlf-ors-editor-e5x-airspace [disabled]="!observation.acl_user.w" (change)="update()" [(airspace)]="observation.occurrence.entities.airSpace"></nlf-ors-editor-e5x-airspace>\n</div>\n<div class="my-3">\n  <nlf-ors-editor-e5x-aerodrome [disabled]="!observation.acl_user.w" (change)="update()" [(aerodrome)]="observation.occurrence.entities.aerodromeGeneral"></nlf-ors-editor-e5x-aerodrome>\n</div>\n<div class="my-3">\n  <nlf-ors-editor-e5x-atm [disabled]="!observation.acl_user.w" (change)="update()" [(atm)]="observation.occurrence.entities.airNavigationService"></nlf-ors-editor-e5x-atm>\n</div>\n\n--\x3e\n\x3c!--aerodrome wx reports = metars!--\x3e\n<div class="my-3" *ngIf="!showSimpleView">\n  <nlf-ors-editor-e5x-wxphenomena [disabled]="!observation.acl_user.w" (change)="update()" [(wxPhenomena)]="observation.occurrence.entities.precipitationAndOtherWeatherPhenomena"></nlf-ors-editor-e5x-wxphenomena>\n</div>\n\x3c!-- NOT READY\n  <div class="my-3">\n    <nlf-ors-editor-e5x-runway [disabled]="!observation.acl_user.w" (change)="update()" [(runway)]="observation.occurrence.entities.runwayIncursion"></nlf-ors-editor-e5x-runway>\n  </div>\n  <div class="my-3">\n    <nlf-ors-editor-e5x-separation [disabled]="!observation.acl_user.w" (change)="update()" [(separation)]="observation.occurrence.entities.separation"></nlf-ors-editor-e5x-separation>\n  </div>\n  --\x3e\n  <div class="my-3" *ngIf="!showSimpleView">\n    <nlf-ors-editor-e5x-events [disabled]="!observation.acl_user.w" (change)="update()" [(events)]="observation.occurrence.entities.events"></nlf-ors-editor-e5x-events>\n  </div>\n\n\n\x3c!-- Aerodrome, Airspace, ATM involvement, WX Phenomena --\x3e\n\x3c!-- More difficult -> Runway Incursion, Airprox, Events --\x3e\n\n\n\x3c!-- WHERE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Occurred Where\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <ng-container *ngTemplateOutlet="attrTemplate"></ng-container>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="!observation.acl_user.w" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n\n<ng-template #attrTemplate>\n  <div class="row">\n    \x3c!--\n    <agm-map *ngIf="geoReady" [latitude]="toFloat(observation.occurrence.attributes.latitudeOfOcc.value)" [longitude]="toFloat(observation.occurrence.attributes.longitudeOfOcc.value)" (mapClick)="mapClicked($event)" [mapTypeControl]="true"\n      [zoom]="7">\n      <agm-marker [markerDraggable]="isDraggable()" (dragEnd)="markerMoved($event)" [latitude]="toFloat(observation.occurrence.attributes.latitudeOfOcc.value)" [longitude]="toFloat(observation.occurrence.attributes.longitudeOfOcc.value)">\n      </agm-marker>\n    </agm-map>\n    --\x3e\n  </div>\n\n  <div class="row">\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.latitudeOfOcc.value" path="E5X.Occurrence.LatitudeOfOcc" id="latitudeOfOcc"></nlf-ors-editor-tag-e5x>\n    </div>\n    <div class="col-md-6">\n      <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.longitudeOfOcc.value" path="E5X.Occurrence.LongitudeOfOcc" id="longitudeOfOcc"></nlf-ors-editor-tag-e5x>\n    </div>\n\n  </div>\n\n  <div class="row">\n    <div class="col-md-12">\n      <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.locationName.value" path="E5X.Occurrence.LocationName" id="locationName"></nlf-ors-editor-tag-e5x>\n    </div>\n\n    <div class="col-md-12">\n      <nlf-ors-editor-tag-e5x [disabled]="!observation.acl_user.w" [(items)]="observation.occurrence.attributes.stateAreaOfOcc.value" path="E5X.Occurrence.StateAreaOfOcc" id="stateAreaOfOcc"></nlf-ors-editor-tag-e5x>\n    </div>\n  </div>\n\n  <div class="row">\n    <div *ngIf="devDebug" class="row">\n      AC: {{ atm | json }}\n    </div>\n  </div>\n\n</ng-template>\n'},5066:de=>{"use strict";de.exports='<div *ngIf="!showOnlyBtn" class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button class="btn btn-primary" (click)="openModal(modal)">\n        <fa-icon [icon]="faCloud"></fa-icon>Weather\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n\n    \x3c!-- ATTR SHOW --\x3e\n    <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="attr.wxConditions.value" path="E5X.Occurrence.WxConditions"></nlf-ors-editor-tag-e5x-render>\n\n  </div>\n</div>\n\n<div *ngIf="showOnlyBtn" class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(attrModal)">\n    <fa-icon [icon]="faCloud"></fa-icon>Weather\n  </button>\n</div>\n\n\x3c!-- MODAL --\x3e\n<ng-template #attrModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Weather conditions at occurrence\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n\n    <div class="row">\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.wxConditions.value" path="E5X.Occurrence.WxConditions" id="WxConditions"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.lightConditions.value" path="E5X.Occurrence.LightConditions" id="LightConditions"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.visibility.value" path="E5X.Occurrence.Visibility" id="Visibility"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.heightOfCloudBase.value" path="E5X.Occurrence.HeightOfCloudBase" id="HeightOfCloudBase"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.cloudAmount.value" path="E5X.Occurrence.CloudAmount" id="CloudAmount"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.airTemperature.value" path="E5X.Occurrence.AirTemperature" id="AirTemperature"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.dewPoint.value" path="E5X.Occurrence.DewPoint" id="DewPoint"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.windSpeed.value" path="E5X.Occurrence.WindSpeed" id="WindSpeed"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.windDirection.value" path="E5X.Occurrence.WindDirection" id="WindDirection"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.windGusts.value" path="E5X.Occurrence.WindGusts" id="WindGusts"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="attr.maximumGust.value" path="E5X.Occurrence.MaximumGust" id="MaximumGust"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div *ngIf="devDebug" class="row">\n        AC: {{ attr | json }}\n      </div>\n\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n\n</ng-template>\n'},67504:de=>{"use strict";de.exports='<div id="main-report-map" leaflet *ngIf="!!mapOptions" class="map" [leafletOptions]="mapOptions"\n    (leafletMapReady)="onMapReady($event)" [(leafletCenter)]="mapCenter">\n</div>'},4695:de=>{"use strict";de.exports='<div *ngIf="modal && !showOnlyBtn" class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button class="btn btn-primary" (click)="openModal(attrModal)">\n        <fa-icon [icon]="faMapMarker"></fa-icon> Where\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let a of atm; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="a.attributes.anspName.value"\n        path="E5X.Occurrence.AirNavigationService.ANSPName"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <fa-icon [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n  </div>\n</div>\n\n<div *ngIf="modal && showOnlyBtn" class="row d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(attrModal)">\n    <fa-icon [icon]="faMapMarker"></fa-icon> Where\n  </button>\n</div>\n\n<ng-template #attrModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Occurred Where\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    \x3c!--<ng-container *ngTemplateOutlet="attrTemplate"></ng-container>--\x3e\n    \x3c!-- Modal content --\x3e\n    <div class="col-xs-12 position-relative">\n      <div class="row" style="height: 400px">\n\n        <nlf-ors-editor-e5x-where-map [aircraft]="observation.aircrafts"\n          [(lat)]="observation.occurrence.attributes.latitudeOfOcc.value"\n          [(lng)]="observation.occurrence.attributes.longitudeOfOcc.value" [disabled]="!observation.acl_user.w"\n          (change)="debouncedUpdate()"></nlf-ors-editor-e5x-where-map>\n      </div>\n\n    </div>\n\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="observation.occurrence.attributes.latitudeOfOcc.value" (change)="debouncedUpdate()"\n          path="E5X.Occurrence.LatitudeOfOcc" id="latitudeOfOcc"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="observation.occurrence.attributes.longitudeOfOcc.value" (change)="debouncedUpdate()"\n          path="E5X.Occurrence.LongitudeOfOcc" id="longitudeOfOcc"></nlf-ors-editor-tag-e5x>\n      </div>\n      \x3c!--\n      <div class="col-md-4">\n        <button *ngIf="!!userGeo" class="btn btn-primary" (click)="useMyLocation()"><fa-icon [icon]="faLocation" [fixedWidth]="true"></fa-icon> Bruk min posisjon</button>\n      </div>\n      --\x3e\n\n    </div>\n\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="debouncedUpdate()" [(items)]="observation.occurrence.attributes.locationName.value"\n          path="E5X.Occurrence.LocationName" id="locationName"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" (change)="debouncedUpdate()" [(items)]="observation.occurrence.attributes.stateAreaOfOcc.value"\n          path="E5X.Occurrence.StateAreaOfOcc" id="stateAreaOfOcc"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row clearfix">\n    </div>\n\n    <div class="row">\n      <div *ngIf="devDebug" class="row">\n        AC: {{ atm | json }}\n      </div>\n    </div>\n    \x3c!-- //Modal content --\x3e\n\n  </div>\n\n  <div class="modal-footer">\n\n\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success"\n      (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},25611:de=>{"use strict";de.exports='<div class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(modal)">\n    <fa-icon [icon]="faPlane"></fa-icon> Aerodrome\n  </button>\n</div>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Aerodrome\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.locationIndicator.value" path="E5X.Occurrence.AerodromeGeneral.LocationIndicator" id="LocationIndicator"></nlf-ors-editor-tag-e5x>\n        <span *ngIf="!aerodrome.attributes.locationIndicator.value">\n          <span class="mx-1 small">+ENTO</span>\n          <span class="mx-1 small">+ENJB</span>\n        </span>\n      </div>\n\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.aerodromeLatitude.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeLatitude" id="aerodromeLatitude"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.aerodromeLongitude.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeLongitude" id="aerodromeLongitude"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.aerodromeStatus.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeStatus" id="AerodromeStatus"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.aerodromeType.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeType" id="AerodromeType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.elevationAboveMSL.value" path="E5X.Occurrence.AerodromeGeneral.ElevationAboveMSL" id="ElevationAboveMSL"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    \x3c!--HELIPOT --\x3e\n    <div class="row" *ngIf="aerodrome.attributes.aerodromeType.value==3">\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.landingAreaType.value" path="E5X.Occurrence.AerodromeGeneral.LandingAreaType" id="landingAreaType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.areaConfiguration.value" path="E5X.Occurrence.AerodromeGeneral.AreaConfiguration" id="areaConfiguration"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.surfaceType.value" path="E5X.Occurrence.AerodromeGeneral.SurfaceType" id="surfaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    \x3c!--/HELIPORT --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.attributes.locationOnNearAerodrome.value" path="E5X.Occurrence.AerodromeGeneral.LocationOnNearAerodrome" id="LocationOnNearAerodrome"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngFor="let runway of aerodrome.entities.runway; let idx = index">\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.entities.runway[idx].attributes.runwayIdentifier.value" path="E5X.Occurrence.AerodromeGeneral.Runway.RunwayIdentifier" id="RunwayIdentifier"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.entities.runway[idx].attributes.surfaceType.value" path="E5X.Occurrence.AerodromeGeneral.Runway.SurfaceType" id="SurfaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-2">\n        <fa-icon *ngIf="!disabled" (click)="deleteRunway(idx)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngFor="let vehicle of aerodrome.entities.vehicle; let idx = index">\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.entities.vehicle[idx].attributes.typeOfVehicle.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.TypeOfVehicle" id="typeOfVehicle"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="aerodrome.entities.vehicle[idx].attributes.vehicleControlled.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.VehicleControlled" id="vehicleControlled"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-2">\n        <fa-icon *ngIf="!disabled" (click)="deleteVehicle(idx)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngIf="aerodrome.entities.narrative.length>0">\n      <div class="col-md-10">\n          <nlf-ors-editor-e5x-narrative [disabled]="disabled" [(narrative)]="aerodrome.entities.narrative"></nlf-ors-editor-e5x-narrative>\n      </div>\n      <div class="col-md-2">\n        <fa-icon *ngIf="!disabled" (click)="deleteNarrative(0)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div *ngIf="devDebug" class="row">\n      AC: {{ aerodrome | json }}\n    </div>\n\n    <div class="row">\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="disabled" class="btn btn-primary" (click)="addRunway()">\n            <fa-icon [icon]="faPlus"></fa-icon> Runway\n          </button>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="disabled" class="btn btn-primary" (click)="addVehicle()">\n            <fa-icon [icon]="faPlus"></fa-icon> Vehicle\n          </button>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="aerodrome.entities.narrative.length>0 || disabled" class="btn btn-primary" (click)="addNarrative()">\n            <fa-icon [icon]="faPlus"></fa-icon> Narrative\n          </button>\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},24456:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>Aerodrome\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let drome of aerodrome; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="drome.attributes.locationIndicator.value" path="E5X.Occurrence.AerodromeGeneral.LocationIndicator"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="drome.attributes.surfaceType.value" path="E5X.Occurrence.AerodromeGeneral.SurfaceType"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="drome.attributes.aerodromeStatus.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeStatus"></nlf-ors-editor-tag-e5x-render>\n\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Aerodrome\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.locationIndicator.value" path="E5X.Occurrence.AerodromeGeneral.LocationIndicator" id="LocationIndicator"></nlf-ors-editor-tag-e5x>\n        <span *ngIf="!modalValue.attributes.locationIndicator.value">\n          <span class="mx-1 small">+ENTO</span>\n          <span class="mx-1 small">+ENJB</span>\n        </span>\n      </div>\n\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.aerodromeLatitude.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeLatitude" id="aerodromeLatitude"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.aerodromeLongitude.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeLongitude" id="aerodromeLongitude"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.aerodromeStatus.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeStatus" id="AerodromeStatus"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.aerodromeType.value" path="E5X.Occurrence.AerodromeGeneral.AerodromeType" id="AerodromeType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.elevationAboveMSL.value" path="E5X.Occurrence.AerodromeGeneral.ElevationAboveMSL" id="ElevationAboveMSL"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    \x3c!--HELIPOT --\x3e\n    <div class="row" *ngIf="modalValue.attributes.aerodromeType.value==3">\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.landingAreaType.value" path="E5X.Occurrence.AerodromeGeneral.LandingAreaType" id="landingAreaType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.areaConfiguration.value" path="E5X.Occurrence.AerodromeGeneral.AreaConfiguration" id="areaConfiguration"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.surfaceType.value" path="E5X.Occurrence.AerodromeGeneral.SurfaceType" id="surfaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    \x3c!--/HELIPORT --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.locationOnNearAerodrome.value" path="E5X.Occurrence.AerodromeGeneral.LocationOnNearAerodrome" id="LocationOnNearAerodrome"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    \x3c!-- Should also highlite row to delete on mouseover --\x3e\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngFor="let runway of modalValue.entities.runway; let idx = index">\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.entities.runway[idx].attributes.runwayIdentifier.value" path="E5X.Occurrence.AerodromeGeneral.Runway.RunwayIdentifier" id="RunwayIdentifier"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.entities.runway[idx].attributes.surfaceType.value" path="E5X.Occurrence.AerodromeGeneral.Runway.SurfaceType" id="SurfaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-2 pointer">\n        <fa-icon *ngIf="!disabled" (click)="deleteRunway(idx)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngFor="let vehicle of modalValue.entities.vehicle; let idx = index">\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.entities.vehicle[idx].attributes.typeOfVehicle.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.TypeOfVehicle" id="typeOfVehicle"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.entities.vehicle[idx].attributes.vehicleControlled.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.VehicleControlled" id="vehicleControlled"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-2 pointer">\n        <fa-icon *ngIf="!disabled" (click)="deleteVehicle(idx)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div class="row my-2"></div>\n\n    <div class="row" *ngIf="modalValue.entities.narrative.length>0">\n      <div class="col-md-10">\n          <nlf-ors-editor-e5x-narrative [disabled]="disabled" [(narrative)]="modalValue.entities.narrative"></nlf-ors-editor-e5x-narrative>\n      </div>\n      <div class="col-md-2 pointer">\n        <fa-icon *ngIf="!disabled" (click)="deleteNarrative(0)" [icon]="faClose"></fa-icon>\n      </div>\n    </div>\n\n    <div *ngIf="devDebug" class="row">\n      AC: {{ modalValue | json }}\n    </div>\n\n    <div class="row">\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="disabled" class="btn btn-primary" (click)="addRunway()">\n            <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Runway\n          </button>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="disabled" class="btn btn-primary" (click)="addVehicle()">\n            <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Vehicle\n          </button>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="d-grid gap-2">\n          <button [disabled]="modalValue.entities.narrative.length>0 || disabled" class="btn btn-primary" (click)="addNarrative()">\n            <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Narrative\n          </button>\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},4025:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-12">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" [ngClass]="[!!crew ? \'btn-success\' : \'btn-secondary\']" class="btn mb-3" (click)="add();openModal(personModal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon> Crew/Pax\n      </button>\n    </div>\n\n    <div class="my-1" *ngFor="let c of crew; let idx = index">\n      <nlf-resolve-lungo-person (click)="openModal(personModal, idx)" [person_id]="c.person.id" [tmp_name]="c.person.tmp_name" [link]="false" avatar="true"></nlf-resolve-lungo-person>\n      &nbsp;\n\n      <fa-icon class="me-auto" [icon]="faEdit" (click)="openModal(personModal, idx)"></fa-icon>\n      <span *ngIf="!disabled">\n        <fa-icon class="me-auto" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n      </span>\n    </div>\n  </div>\n</div>\n\x3c!-- PERSON MODAL --\x3e\n<ng-template #personModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      <nlf-resolve-lungo-person *ngIf="!!modalValue.person.id || !!modalValue.person.tmp_name" [link]="false" [person_id]="modalValue.person.id" [tmp_name]="modalValue.person.tmp_name" link="false" avatar="true"></nlf-resolve-lungo-person>\n      {{ callsign }}\n      <span *ngIf="!modalValue.person.id && !modalValue.person.tmp_name"> Legg til person</span>\n    </h4>\n    <button [disabled]="disabled" type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div *ngIf="!disabled" class="row">\n      <div class="col-md-12 mb-1">\n        <div *ngIf="!anon">\n          <nlf-ors-editor-tag-person [disabled]="disabled" [fc]="true" [(person)]="modalValue.person" [activity]="activity"></nlf-ors-editor-tag-person>\n          <button class="btn btn-link" (click)="setAnon()">\n            <fa-icon [icon]="faUserSecret"></fa-icon> Sett anonym\n          </button>\n        </div>\n        <div *ngIf="anon">\n          <button class="btn btn-link" (click)="unsetAnon()">\n            <fa-icon [icon]="faUser"></fa-icon> Bruk navn\n          </button>\n        </div>\n      </div>\n    </div>\n\n    <div *ngIf="!!modalValue.person.id || !!modalValue.person.tmp_name">\n\n      \x3c!-- Category--\x3e\n      <div class="row">\n        <div class="form-group col-md-12">\n          <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.attributes.category.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.Category" id="Category"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n\n      \x3c!-- Flytid --\x3e\n      <div class="row">\n        <div class="form-group col-md-6">\n          <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.attributes.experienceAllAC.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.ExperienceAllAC" id="ExperienceAllAC"></nlf-ors-editor-tag-e5x>\n        </div>\n        <div class="form-group col-md-6">\n          <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.attributes.experienceThisAC.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.ExperienceThisAC" id="ExperienceThisAC"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n\n      \x3c!-- CURRENCY --\x3e\n      <div class="row mb-1">\n        <div class="col-md-6">\n          <label>Flight last 90 days [h]</label>\n          <input type="number" step="0.5" [disabled]="disabled" [(ngModel)]="modalValue.currency.h90d" class="form-control">\n        </div>\n        <div class="col-md-6">\n          <label>Flight last 365 days [h]</label>\n          <input type="number" step="0.5" [disabled]="disabled" [(ngModel)]="modalValue.currency.h365d" class="form-control">\n        </div>\n      </div>\n      <div class="row mb-1">\n        <div class="col-md-6">\n          <label>Landings last 30 days [no]</label>\n          <input type="number" step="1" [disabled]="disabled" [(ngModel)]="modalValue.currency.l30d" class="form-control">\n        </div>\n        <div class="col-md-6">\n          <label>Landings last 90 days [no]</label>\n          <input type="number" step="1" [disabled]="disabled" [(ngModel)]="modalValue.currency.l90d" class="form-control">\n        </div>\n      </div>\n\n      \x3c!--CrewMember--\x3e\n      <div class="row">\n        <div class="form-group col-md-6">\n          <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.attributes.dutyLast24Hours.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.DutyLast24Hours" id="DutyLast24Hours"></nlf-ors-editor-tag-e5x>\n        </div>\n        <div class="form-group col-md-6">\n          <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.attributes.restBeforeDuty.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.RestBeforeDuty" id="RestBeforeDuty"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n\n      \x3c!--  HUMAN FACTORS humanFactors: {sleepQuality: undefined, stress: undefined, pressure: undefined},--\x3e\n      <div *ngIf="!!modalValue.humanFactors">\n        <div class="row lead">\n          <div class="col-md-12">\n            Human Factors\n          </div>\n        </div>\n        <div class="row">\n          <div class="col-md-12">\n            <label>Opplevd s\xf8vnkvalitet</label>\n          </div>\n          <div class="col-md-12">\n            <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" [(ngModel)]="modalValue.humanFactors.sleepQuality">\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="1"> Very bad\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" value="2"> Bad\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="3"> Normal\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="4"> Good\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="5"> Very Good\n              </label>\n            </div>\n          </div>\n        </div>\n        <div class="row">\n          <div class="col-md-12">\n            <label>Opplevd stress i forkant av flyvning</label>\n          </div>\n\n          <div class="col-md-12">\n            <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" [(ngModel)]="modalValue.humanFactors.stress">\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="1"> Very high\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" value="2"> High\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="3"> Normal\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="4"> Low\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="5"> Very low\n              </label>\n            </div>\n          </div>\n        </div>\n        <div class="row mb-2">\n          <div class="col-md-12">\n            <label>Opplevd press for \xe5 gjennomf\xf8re flyvning:</label>\n          </div>\n          <div class="col-md-12">\n            <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" [(ngModel)]="modalValue.humanFactors.pressure">\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="1"> Very high\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" value="2"> High\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="3"> Normal\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="4"> Low\n              </label>\n              <label ngbButtonLabel class="btn-secondary">\n                <input ngbButton [disabled]="disabled" type="radio" [value]="5"> Very Low\n              </label>\n            </div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!--LICENSES--\x3e\n      <div *ngFor="let m of modalValue.flightCrewMember.entities.flightCrewLicenses; let idx = index">\n        <div class="row">\n          <div class="col-md-12 lead bg-light">\n            License {{ (idx+1) }}\n            <fa-icon *ngIf="!disabled" (click)="deleteLicense(idx)" class="ms-2 pointer" [icon]="faTimes"></fa-icon>\n          </div>\n        </div>\n        <div class="row">\n          <div class="form-group col-md-8">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.entities.flightCrewLicenses[idx].attributes.licenseIssuedBy.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.FlightCrewLicenses.LicenseIssuedBy"\n              id="LicenseIssuedBy">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="form-group col-md-4">\n            <label for="DateOfLicense">Date of Issue</label>\n            <nlf-ors-editor-date [disabled]="disabled" [(date)]="modalValue.flightCrewMember.entities.flightCrewLicenses[idx].attributes.dateOfLicense.value"></nlf-ors-editor-date>\n          </div>\n        </div>\n\n        <div class="row">\n          <div class="form-group col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.entities.flightCrewLicenses[idx].attributes.licenseType.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.FlightCrewLicenses.LicenseType"\n              id="LicenseType">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="form-group col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.entities.flightCrewLicenses[idx].attributes.validity.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.FlightCrewLicenses.Validity" id="Validity">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n        </div>\n\n        \x3c!-- RATINGS --\x3e\n        <div class="row">\n          <div class="form-group col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.flightCrewMember.entities.flightCrewLicenses[idx].attributes.ratings.value" path="E5X.Occurrence.Aircraft.FlightCrewMember.FlightCrewLicenses.Ratings" id="Ratings">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n        </div>\n      </div>\n\n      \x3c!--INCAPACITATION--\x3e\n      <div *ngFor="let i of modalValue.incapacitation; let idx = index">\n        <div class="row">\n          <div class="col-md-12 lead bg-light">\n            Incapacitation {{ (idx+1) }}\n            <fa-icon *ngIf="!disabled" (click)="deleteIncapacitation(idx)" class="ms-2 pointer" [icon]="faTimes"></fa-icon>\n          </div>\n        </div>\n        <div class="row">\n          <div class="form-group col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.incapacitation[idx].attributes.personIncapacitated.value" path="E5X.Occurrence.Aircraft.Incapacitation.PersonIncapacitated" id="PersonIncapacitated">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n        </div>\n\n        <div class="row">\n          <div class="form-group col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.incapacitation[idx].attributes.reasonForIncapacity.value" path="E5X.Occurrence.Aircraft.Incapacitation.ReasonForIncapacity" id="ReasonForIncapacity">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n        </div>\n      </div>\n\n      <div class="row">\n        <div class="col-md-4">\n          <div class="d-grid gap-2">\n            <button (click)="addLicense()" [disabled]="disabled" class="btn btn-primary">\n              <fa-icon [icon]="faPlus"></fa-icon> License\n            </button>\n          </div>\n        </div>\n        <div class="col-md-4">\n          <div class="d-grid gap-2">\n            <button (click)="addHumanFactors()" [disabled]="disabled || !!modalValue.humanFactors" class="btn btn-primary">\n              <fa-icon [icon]="faPlus"></fa-icon> Human factors\n            </button>\n          </div>\n        </div>\n        <div class="col-md-4">\n          <div class="d-grid gap-2">\n            <button (click)="addIncapacitation()" [disabled]="disabled" class="btn btn-primary">\n              <fa-icon [icon]="faPlus"></fa-icon> Incapacitation\n            </button>\n          </div>\n        </div>\n      </div>\n    </div>\n    {{crew.e5x | json }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disable}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},74854:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-12">\n\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-secondary mb-3" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>Partinformation\n      </button>\n    </div>\n\n    <div class="mx-1 my-1" *ngFor="let part of partinformation; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="part.attributes.partName.value" path="E5X.Occurrence.Aircraft.PartInformation.PartName"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="part.attributes.manufacturer.value" path="E5X.Occurrence.Aircraft.PartInformation.Manufacturer"></nlf-ors-editor-tag-e5x-render>\n\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n\n\n\n  </div>\n</div>\n\n\x3c!-- ATM MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Add new part information {{ callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.partName.value" path="E5X.Occurrence.Aircraft.PartInformation.PartName" id="partName"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.manufacturer.value" path="E5X.Occurrence.Aircraft.PartInformation.Manufacturer" id="manufacturer"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.serialNumber.value" path="E5X.Occurrence.Aircraft.PartInformation.SerialNumber" id="serialNumber"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.partNumber.value" path="E5X.Occurrence.Aircraft.PartInformation.PartNumber" id="artNumber"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.ataChapterNumber.value" path="E5X.Occurrence.Aircraft.PartInformation.ATAChapterNumber" id="ataChapterNumber"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.timeSinceNew.value" path="E5X.Occurrence.Aircraft.PartInformation.TimeSinceNew" id="timeSinceNew"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.timeSinceOverhaul.value" path="E5X.Occurrence.Aircraft.PartInformation.TimeSinceOverhaul" id="timeSinceOverhaul"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.timeSinceInspection.value" path="E5X.Occurrence.Aircraft.PartInformation.TimeSinceInspection" id="timeSinceInspection"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.cyclesSinceNew.value" path="E5X.Occurrence.Aircraft.PartInformation.CyclesSinceNew" id="cyclesSinceNew"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.cyclesSinceOverhaul.value" path="E5X.Occurrence.Aircraft.PartInformation.CyclesSinceOverhaul" id="cyclesSinceOverhaul"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.cyclesSinceInsp.value" path="E5X.Occurrence.Aircraft.PartInformation.CyclesSinceInsp" id="cyclesSinceInsp"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-4">\n        <div class="form-group">\n          <label for="dateOfManufacturing">Date Of Manufacturing</label>\n          <nlf-ors-editor-date [disabled]="disabled" id="dateOfManufacturing" [(date)]="modalValue.attributes.dateOfManufacturing.value"></nlf-ors-editor-date>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="form-group">\n          <label for="dateOfOverhaul">Date Of Overhaul</label>\n          <nlf-ors-editor-date [disabled]="disabled" id="dateOfOverhaul" [(date)]="modalValue.attributes.dateOfOverhaul.value"></nlf-ors-editor-date>\n        </div>\n      </div>\n      <div class="col-md-4">\n        <div class="form-group">\n          <label for="dateRepairInsp">Date Of Repair</label>\n          <nlf-ors-editor-date [disabled]="disabled" id="dateRepairInsp" [(date)]="modalValue.attributes.dateRepairInsp.value"></nlf-ors-editor-date>\n        </div>\n      </div>\n    </div>\n\n    <div class="row">\n\n\n    </div>\n\n    <div class="row">\n\n      <div *ngIf="devDebug" class="row">\n        AC: {{ atm | json }}\n      </div>\n\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},414:de=>{"use strict";de.exports='\x3c!--\n<tag-input [disabled]="!observation.acl_user.w"\n          [(ngModel)]="populated"\n          (onAdd)="onAdd($event)"\n          (onRemove)="onRemove($event)"\n          theme=\'bootstrap\'\n          [onlyFromAutocomplete]="false"\n          [displayBy]="\'callsign\'"\n          [identifyBy]="\'callsign\'">\n\n  <tag-input-dropdown\n    [showDropdownIfEmpty]="false"\n    keepOpen="false"\n    [displayBy]="\'callsign\'"\n    [identifyBy]="\'callsign\'"\n    [autocompleteItems]="apidata">\n  </tag-input-dropdown>\n</tag-input>\n\n(add)="onAdd($event)"\n(remove)="onRemove($event)"\n(clear)="onClear($event)"\n--\x3e\n\n\x3c!-- Select aircraft from register --\x3e\n<div class="row">\n  <div class="col-md-10 col-sm-8">\n    <ng-select [disabled]="!observation.acl_user.w" class="w-auto mw-100 form-control" [items]="aircrafts$ | async" [clearable]="false" [clearOnBackspace]="false" [addTag]="false" [multiple]="true" [hideSelected]="true" [loading]="tagsLoading"\n      [typeahead]="aircraftInput$" [(ngModel)]="selectedAircrafts" (add)="onAdd($event)" (remove)="onRemove($event)" bindLabel="callsign" labelForId="callsign" autoCapitalize="on" addTagText="+Opprett nytt fly" placeholder="Skriv for \xe5 s\xf8ke"\n      notFoundText="Fant ikke noe">\n      <ng-template ng-option-tmp let-item="item" let-search="searchTerm">\n        <div>\n          <span [ngOptionHighlight]="search">{{item.callsign}}</span>\n        </div>\n        <small><b>Model:</b> {{item.model}} | <b>Manuf:</b> {{ item.manufacturer }} | <b>Msn:</b> {{ item.msn }}</small>\n      </ng-template>\n    </ng-select>\n  </div>\n  \x3c!-- ADD new aircraft --\x3e\n  <div *ngIf="observation.acl_user.w" class="col-md-2 col-sm-4 text-end">\n    <nlf-aircrafts-add></nlf-aircrafts-add>\n  </div>\n</div>\n\x3c!-- Aircraft TABLE --\x3e\n<table *ngIf="!!observation.aircrafts" class="table table-striped table-hover mt-2">\n  <tbody>\n    <tr *ngFor="let aircraft of observation.aircrafts; let idx = index">\n      <td>\n\n        <fa-icon *ngIf="!!aircraft.aircraft._id" [icon]="faCheck" [fixedWidth]="true" class="text-success me-2" title="Hentet fra flyregisteret"></fa-icon>\n        <fa-icon *ngIf="!aircraft.aircraft.hasOwnProperty(\'_id\')" [icon]="faExclamation" [fixedWidth]="true" class="text-danger me-2" title="Ukjent fly"></fa-icon>\n\n        <fa-icon *ngIf="aircraft.aircraft.type !== \'HELICOPTER\'" [icon]="faPlane" [fixedWidth]="true"></fa-icon>\n        <fa-icon *ngIf="aircraft.aircraft.type === \'HELICOPTER\'" [icon]="faHelicopter" [fixedWidth]="true"></fa-icon>\n        <strong>\n          {{ aircraft.aircraft.callsign }}\n        </strong>\n        <div class="small p-0">{{ aircraft.aircraft.model }} / {{ aircraft.aircraft.manufacturer }}</div>\n        <div class="small p-0">MSN: {{ aircraft.aircraft.msn }}</div>\n        <div class="small p-0">{{ aircraft.aircraft.type | capitalize }}</div>\n      </td>\n      <td>\n        <div *ngIf="!aircraft.aircraft.e5x">\n          <button class="btn btn-secondary" (click)="openAircraftModal(aircraftModal, idx)">\n            <fa-icon [icon]="faWarning"></fa-icon> Aircraft Data\n          </button>\n        </div>\n        <div *ngIf="!!aircraft.aircraft.e5x">\n          <button class="btn btn-success mb-3" (click)="openAircraftModal(aircraftModal, idx)">\n            <fa-icon [icon]="faCheck"></fa-icon> Aircraft Data\n          </button>\n        </div>\n\n      </td>\n      \x3c!--\n      <td>\n        <div><strong>Gangtider</strong></div>\n        <div>Motor: No engine</div>\n        <div>Prop: No Props</div>\n        <div>AC:</div>\n      </td>\n      --\x3e\n      <td>\n        <nlf-ors-editor-aircraft-person [disabled]="!observation.acl_user.w" (change)="updateObservation()" [callsign]="aircraft.aircraft.callsign" [(crew)]="observation.aircrafts[idx].crew" [activity]="observation._model.type"></nlf-ors-editor-aircraft-person>\n      </td>\n      \x3c!--\n      <td>\n        <nlf-ors-editor-e5x-aircraft-partinformation [disabled]="!observation.acl_user.w" (change)="updateObservation()" [callsign]="aircraft.aircraft.callsign" [(partinformation)]="observation.aircrafts[idx].parts">\n        </nlf-ors-editor-e5x-aircraft-partinformation>\n      </td>\n      --\x3e\n    </tr>\n  </tbody>\n</table>\n\x3c!-- /AC TABLE --\x3e\n\n\x3c!-- FLIGHT --\x3e\n<div *ngIf="!!observation.aircrafts && observation.aircrafts.length > 0">\n  <div class="nlf-ors-toolbar">\n    Planlagt<span *ngIf="observation.aircrafts.length>1">e</span> Rute<span *ngIf="observation.aircrafts.length>1">r</span>\n    <nlf-help class="float-end" key="ors-editor-motorfly-routes"></nlf-help>\n  </div>\n\n  <ul ngbNav #nav="ngbNav" class="nav-tabs mt-2">\n    \x3c!-- AIRCRAFTS IN TABS--\x3e\n    <li ngbNavItem *ngFor="let aircraft of observation.aircrafts; let ix = index">\n      <a ngbNavLink>{{ aircraft.aircraft.callsign }}</a>\n      <ng-template ngbNavContent>\n        <div class="py-3">\n          <nlf-ors-editor-flight (change)="updateObservation()" [(aircraft)]="observation.aircrafts[ix]" [showSimpleView]="showSimpleView"></nlf-ors-editor-flight>\n          \x3c!--{{ observation.aircrafts[ix].flight | json }}--\x3e\n        </div>\n      </ng-template>\n    </li>\n  </ul>\n  <div [ngbNavOutlet]="nav"></div>\n\n</div>\n\x3c!-- /FLIGHT--\x3e\n\n\x3c!-- AIRCRAFT MODAL --\x3e\n\x3c!-- MODAL --\x3e\n<ng-template #aircraftModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ modalAircraft.callsign }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-aircrafts-edit [disabled]="!observation.acl_user.w" #nlfaircraftedit [(e5x)]="modalAircraft.e5x" [callsign]="modalAircraft.callsign" [showSave]="false" [showImage]="true"></nlf-aircrafts-edit>\n\n    <div *ngIf="devDebug" class="row">\n      AC: {{ modalAircraft | json }}\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <a [routerLink]="[\'/aircraft\', \'edit\', (modalAircraft._id || modalAircraft.callsign)]" class="btn btn-outline-dark me-auto" (click)="modalRef.close()">\n      <fa-icon [icon]="faEdit" [fixedWidth]="true"></fa-icon>{{ modalAircraft.callsign }} i registeret\n    </a>\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="!observation.acl_user.w" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="nlfaircraftedit.saveAircraft();modalAircraftUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},31241:de=>{"use strict";de.exports='\x3c!-- ROUTE MAP --\x3e\n<div fxFlex="100">\n  \x3c!-- START STOP ROUTE\n    <agm-marker *ngIf="route.length>0" [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)"\n      [latitude]="route[0].from.location.coordinates[1]" [longitude]="route[0].from.location.coordinates[0]" [label]="\'S\'">\n    </agm-marker>\n    <agm-marker *ngIf="route.length>0" [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)"\n      [latitude]="route[route.length-1].to.location.coordinates[1]" [longitude]="route[route.length-1].to.location.coordinates[0]"\n      [label]="\'E\'">\n    </agm-marker>\n    --\x3e\n\n  \x3c!--\n  <agm-map style="max-height: 25rem !important;" *ngIf="showRouteMap && location" [latitude]="location.latitude" [longitude]="location.longitude" [zoom]="zoom">\n\n\n    ALL AIRPORTS\n\n    <agm-marker *ngFor="let current_route of route; let ix = index;" [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)" [latitude]="current_route.to.location.coordinates[1]"\n      [longitude]="current_route.to.location.coordinates[0]" [label]="\'L\'">\n    </agm-marker>\n    <agm-marker *ngFor="let current_route of route; let ix = index;" [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)" [latitude]="current_route.from.location.coordinates[1]"\n      [longitude]="current_route.from.location.coordinates[0]" [label]="\'T\'">\n    </agm-marker>\n\n\n\n    <agm-polyline *ngFor="let current_route of route; let ix = index;" [editable]="observation.acl_user.w" (lineDragEnd)="lineDragEnd($event)" (polyPathChange)="onPathChanged($event, ix)">\n      <agm-polyline-point *ngFor="let coordinates of current_route.path" [latitude]="coordinates[1]" [longitude]="coordinates[0]">\n      </agm-polyline-point>\n    </agm-polyline>\n\n  </agm-map>\n  --\x3e\n\n\n  <div class="col-xs-12 position-relative">\n    <div *ngIf="showRouteMap && routeReady" class="row" style="height: 400px;" >\n      <nlf-ors-editor-flight-map [(flight)]="route" [editable]="observation.acl_user.w"></nlf-ors-editor-flight-map>\n    </div>\n  </div>\n\n</div>\n\n\x3c!-- ADD AIRPORTS ROW --\x3e\n<div class="row my-2">\n  \x3c!-- FROM --\x3e\n  <div class="col-md-1 text-center">\n    <fa-icon [icon]="faPlane"></fa-icon>\n  </div>\n  <div class="col-md-3">\n    <nlf-ors-editor-tag-airport [(airport)]="from_airport" (change)="onChange($event,\'to_airport\')"\n      [disabled]="from_airport_disable" element_id="from_airport"></nlf-ors-editor-tag-airport>\n  </div>\n  <div class="col-md-1 text-center">\n    <fa-icon [icon]="faLongArrowRight"></fa-icon>\n  </div>\n\n  \x3c!-- TO --\x3e\n  <div class="col-md-3">\n    <nlf-ors-editor-tag-airport [(airport)]="to_airport" (change)="onChange($event,\'add_airport\')"\n      [disabled]="to_airport_disable" element_id="to_airport"></nlf-ors-editor-tag-airport>\n  </div>\n  \x3c!-- ADD --\x3e\n  <div class="col-md-2">\n    <div class="d-grid gap-2">\n      <button [disabled]="!observation.acl_user.w" class="btn btn-primary" id="add_airport" (click)="addSegment()">\n        <fa-icon [icon]="faPlus"></fa-icon>Legg Til\n      </button>\n    </div>\n  </div>\n  \x3c!-- MAP --\x3e\n  <div class="col-md-2 text-end">\n    <button class="btn btn-link" (click)="showRouteMap=!showRouteMap">Kart <fa-icon *ngIf="showRouteMap"\n        [icon]="faEyeSlash"></fa-icon>\n      <fa-icon *ngIf="!showRouteMap" [icon]="faEye"></fa-icon>\n    </button>\n  </div>\n</div>\n\n\n\x3c!-- ROUTE TABLE --\x3e\n<div class="row">\n  <div class="col-md-12">\n    <div *ngIf="!!route" class="mt-3">\n\n      <div *ngFor="let segment of route; let idx = index; let last = last;">\n\n        <div [ngClass]="{\'bg-warning\': hasSegmentIncident(idx)}" class="row p-2"\n          style="border-left:2px solid #ccc;border-right:2px solid #ccc; border-bottom: 1px solid #cccc;border-top: 1px solid #cccc;">\n\n          \x3c!--\n        [ngClass]="{\'bg-danger\': [100,200].indexOf(observation.occurrence.attributes.occurrenceClass.value)>-1,\n          \'bg-warning\': [300,301,302].indexOf(observation.occurrence.attributes.occurrenceClass.value)>-1,\n          \'bg-secondary\': observation.occurrence.attributes.occurrenceClass.value==400,\n          \'bg-success\': observation.occurrence.attributes.occurrenceClass.value==501}">\n        --\x3e\n\n          <div class="col-md-3 pointer text-center" style="border-right: 1px solid #CCC"\n            (click)="openRouteModal(routeModal, idx)">\n            {{ segment.from.icao }}\n            <fa-icon [icon]="faLongArrowRight"></fa-icon>{{ segment.to.icao }}\n            <div class="small">Klikk for detaljer</div>\n          </div>\n\n          <div class="col-md-6" style="border-right: 1px solid #CCC">\n            {{ aircraft.aircraft.callsign }} fra {{ segment.from.name }} til {{ segment.to.name }}\n          </div>\n\n          <div class="col-md-2">\n            \x3c!-- TOGGLE INCIDENT ON OFF --\x3e\n            <div class="d-grid gap-2" *ngIf="!showSimpleView">\n              <button [disabled]="!observation.acl_user.w" *ngIf="!hasIncident()" class="btn btn-warning"\n                (click)="addSegmentIncident(idx)">\n                <fa-icon [icon]="faPlus"></fa-icon> Hendelse\n              </button>\n              <button [disabled]="!observation.acl_user.w" *ngIf="hasSegmentIncident(idx)" class="btn btn-outline-dark"\n                (click)="removeSegmentIncident(idx)">\n                <fa-icon [icon]="faMinus"></fa-icon> Fjern Hendelse\n              </button>\n            </div>\n          </div>\n\n          <div class="col-md-1 text-end">\n            <fa-icon *ngIf="last && observation.acl_user.w" [icon]="faTimes" (click)="removeSegment()"\n              class="pointer"></fa-icon>\n          </div>\n        </div>\n\n        <div *ngIf="!showSimpleView && hasSegmentIncident(idx)" class="row bg-light pt-3 pb-3"\n          style="border-left:2px solid #ffc107;border-right:2px solid #ffc107; border-bottom: 1px solid #ffc107;">\n\n          \x3c!-- FLIGHT DATA --\x3e\n          <div class="col-md-2">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="aircraft.occurrence.occOnGround.value" path="E5X.Occurrence.Aircraft.OccOnGround"\n              id="occOnGround"></nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-3">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="aircraft.occurrence.currentFlightRules.value" path="E5X.Occurrence.Aircraft.CurrentFlightRules"\n              id="currentFlightRules">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="aircraft.occurrence.operationType.value" path="E5X.Occurrence.Aircraft.OperationType"\n              id="operationType">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-2">\n            <div class="form-group">\n              <label>Ytterligere info</label>\n              <nlf-ors-editor-e5x-ac-flight (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                [(attr)]="aircraft.occurrence" [showOnlyBtn]="true" [modal]="true"></nlf-ors-editor-e5x-ac-flight>\n            </div>\n          </div>\n\n          \x3c!-- WEATHER\n            <div class="nlf-ors-toolbar mb-2">\n              V\xe6ret\n              <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n            </div>\n            --\x3e\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="observation.occurrence.attributes.weatherRelevant.value" path="E5X.Occurrence.WeatherRelevant"\n              id="weatherRelevant">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="observation.occurrence.attributes.wxConditions.value" path="E5X.Occurrence.WxConditions"\n              id="wxConditions"></nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-2">\n            <label>Ytterligere info</label>\n            <nlf-ors-editor-e5x-weather (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(attr)]="observation.occurrence.attributes" [showOnlyBtn]="true"\n              [modal]="true"></nlf-ors-editor-e5x-weather>\n          </div>\n          \x3c!-- FLIGHT --\x3e\n          \x3c!--\n          <div class="row" *ngIf="aircraft.occurrence.occOnGround.value != 1">\n            <div class="col-md-3">\n              <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="aircraft.occurrence.lastDeparturePoint.value" path="E5X.Occurrence.Aircraft.LastDeparturePoint" id="lastDeparturePoint">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n            <div class="col-md-3">\n              <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="aircraft.occurrence.plannedDestination.value" path="E5X.Occurrence.Aircraft.PlannedDestination" id="plannedDestination">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n            <div class="col-md-4">\n              <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(items)]="aircraft.occurrence.currentFlightRules.value" path="E5X.Occurrence.Aircraft.CurrentFlightRules" id="currentFlightRules">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n            <div class="col-md-2">\n              <div class="form-group">\n                <label>Ytterligere info</label>\n                <nlf-ors-editor-e5x-ac-flight (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w" [(attr)]="aircraft.occurrence" [showOnlyBtn]="true" [modal]="true"></nlf-ors-editor-e5x-ac-flight>\n              </div>\n            </div>\n          </div>\n        --\x3e\n          \x3c!-- AC INJURIES --\x3e\n          <div class="col-md-12" *ngIf="[1,2,3].indexOf(observation.occurrence.attributes.injuryLevel.value) > -1">\n            <div class="row">\n              <div class="col-md-3">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.totalNumberOfPersons.value"\n                  path="E5X.Occurrence.Aircraft.TotalNumberOfPersons" id="totalNumberOfPersons">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n\n              <div class="col-md-3">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.totalNumberMinorInjuries.value"\n                  path="E5X.Occurrence.Aircraft.TotalNumberMinorInjuries" id="totalNumberMinorInjuries">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n\n              <div class="col-md-3">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.totalNumberSeriousInjuries.value"\n                  path="E5X.Occurrence.Aircraft.TotalNumberSeriousInjuries" id="totalNumberSeriousInjuries">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n\n              <div class="col-md-3">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.totalNumberFatalities.value"\n                  path="E5X.Occurrence.Aircraft.TotalNumberFatalities" id="totalNumberFatalities">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n            </div>\n          </div>\n\n\n          \x3c!-- AC AIRSPACE --\x3e\n          <div class="col-md-12" *ngIf="aircraft.occurrence.occOnGround.value != 1">\n            <div class="row">\n              <div class="col-md-4">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.airspace.attributes.airspaceClass.value"\n                  path="E5X.Occurrence.AirSpace.AirspaceClass" id="airspaceClass">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-6">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.airspace.attributes.specialActivities.value"\n                  path="E5X.Occurrence.AirSpace.SpecialActivities" id="specialActivities">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-2">\n                <div class="form-group">\n                  <label>Ytterligere info</label>\n                  <nlf-ors-editor-e5x-airspace-single (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                    [(airspace)]="aircraft.airspace"></nlf-ors-editor-e5x-airspace-single>\n                </div>\n              </div>\n            </div>\n          </div>\n\n\n\n          \x3c!-- AC WEATHER --\x3e\n          <div class="col-md-12" *ngIf="observation.occurrence.attributes.weatherRelevant.value == 1">\n            <div class="row">\n              <div class="col-md-4">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.relWindDirection.value" path="E5X.Occurrence.Aircraft.RelWindDirection"\n                  id="relWindDirection"></nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-4">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.turbulenceIntensity.value"\n                  path="E5X.Occurrence.Aircraft.TurbulenceIntensity" id="turbulenceIntensity">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-4">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.visibRestrictions.value"\n                  path="E5X.Occurrence.Aircraft.VisibRestrictions" id="visibRestrictions">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n            </div>\n          </div>\n\n          \x3c!-- AC BIRDS --\x3e\n          <div class="col-md-12" *ngIf="aircraft.occurrence.occOnGround.value != 1">\n            <div class="row">\n              <div class="col-md-5">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.birdsWildlifeSeen.value"\n                  path="E5X.Occurrence.Aircraft.BirdsWildlifeSeen" id="BirdsWildlifeSeen">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-5">\n                <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [(items)]="aircraft.occurrence.birdsWildlifeStruck.value"\n                  path="E5X.Occurrence.Aircraft.BirdsWildlifeStruck" id="BirdsWildlifeStruck">\n                </nlf-ors-editor-tag-e5x>\n              </div>\n              <div class="col-md-2">\n                <label>Ytterligere info</label>\n                <nlf-ors-editor-e5x-ac-wildlife (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                  [callsign]="aircraft.aircraft.callsign" (change)="update()" [(attr)]="aircraft.occurrence">\n                </nlf-ors-editor-e5x-ac-wildlife>\n              </div>\n            </div>\n          </div>\n\n          \x3c!-- OCCURRED ON AERODROMEGENERAL (link) --\x3e\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="aircraft.aerodrome.attributes.locationOnNearAerodrome.value"\n              path="E5X.Occurrence.AerodromeGeneral.LocationOnNearAerodrome"\n              id="locationOnNearAerodrome"></nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="aircraft.aerodrome.attributes.locationIndicator.value"\n              path="E5X.Occurrence.AerodromeGeneral.LocationIndicator" id="locationIndicator">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-2">\n            <div class="form-group">\n              <label>Ytterligere info</label>\n              <nlf-ors-editor-e5x-aerodrome-single (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                [(aerodrome)]="aircraft.aerodrome"></nlf-ors-editor-e5x-aerodrome-single>\n            </div>\n          </div>\n\n          \x3c!-- ATM CONTRIBUTION ATS LINK--\x3e\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="observation.occurrence.attributes.atmContribution.value" path="E5X.Occurrence.ATMContribution"\n              id="atmContribution">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-5">\n            <nlf-ors-editor-tag-e5x (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n              [(items)]="observation.occurrence.attributes.effectOnATMService.value"\n              path="E5X.Occurrence.EffectOnATMService" id="effectOnATMService">\n            </nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-2">\n            <div class="form-group">\n              <label>Ytterligere info</label>\n              <nlf-ors-editor-e5x-atm (change)="debouncedUpdate()" [disabled]="!observation.acl_user.w"\n                [(atm)]="observation.occurrence.entities.airNavigationService[0]"></nlf-ors-editor-e5x-atm>\n            </div>\n          </div>\n\n          \x3c!-- / END AIRCRAFTS --\x3e\n\n        </div>\n      </div>\n\n    </div>\n    \x3c!-- //FLIGHT --\x3e\n  </div>\n\n\n  \x3c!-- ROUTE MODAL --\x3e\n  <ng-template #routeModal>\n    <div class="modal-header">\n      <h4 class="modal-title pull-left">\n        {{ modalRoute.from.icao }}\n        <fa-icon [icon]="faLongArrowRight"></fa-icon>{{ modalRoute.to.icao }}\n      </h4>\n      <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n        <span aria-hidden="true">&times;</span>\n      </button>\n    </div>\n\n    <div class="modal-body">\n\n      \x3c!-- SEGMENT MAP fxFlex="100" s --\x3e\n      <div style="max-height: 200px !important;">\n        <agm-map style="height: 200px !important"\n          [latitude]="(toFloat(modalRoute.from.location.coordinates[1])+toFloat(modalRoute.to.location.coordinates[1]))/2"\n          [longitude]="(toFloat(modalRoute.from.location.coordinates[0])+toFloat(modalRoute.to.location.coordinates[0]))/2"\n          [zoom]="zoom">\n          \x3c!-- BOTH --\x3e\n          <agm-marker [markerDraggable]="false" [latitude]="toFloat(modalRoute.to.location.coordinates[1])"\n            [longitude]="toFloat(modalRoute.to.location.coordinates[0])" [label]="modalRoute.to.icao">\n          </agm-marker>\n          <agm-marker [markerDraggable]="false" [latitude]="toFloat(modalRoute.from.location.coordinates[1])"\n            [longitude]="toFloat(modalRoute.from.location.coordinates[0])" [label]="modalRoute.from.icao">\n          </agm-marker>\n          \x3c!--https://github.com/SebastianM/angular-google-maps/pull/1621--\x3e\n          <agm-polyline [editable]="false">\n            <agm-polyline-point *ngFor="let coordinates of modalRoute.path" [latitude]="toFloat(coordinates[1])"\n              [longitude]="toFloat(coordinates[0])">\n            </agm-polyline-point>\n          </agm-polyline>\n\n        </agm-map>\n      </div>\n\n      <div class="row">\n\n        <div class="col-md-6">\n\n          <div class="lead">{{ modalRoute.from.icao }}</div>\n          <div>Navn: {{ modalRoute.from.name}}</div>\n          <div>Type: {{ modalRoute.from.type\xa0}}</div>\n          <div *ngIf="modalRoute.from.iata">IATA: {{ modalRoute.from.iata}}</div>\n          <div *ngIf="!!modalRoute.from.location.coordinates">\n            <div>Lat: {{ modalRoute.from.location.coordinates[1]}}</div>\n            <div>Lng: {{ modalRoute.from.location.coordinates[0]}}</div>\n            <div>Elevation: {{ modalRoute.from.location.coordinates[2]}}ft</div>\n          </div>\n          <div class="my-1" *ngIf="exists(aircraft.wx, modalRoute.from.icao, \'metar\')">\n            <div><strong>METARs</strong></div>\n            <div class="small" *ngFor="let metar of aircraft.wx[modalRoute.from.icao].metar">\n              {{ metar }}\n            </div>\n          </div>\n          <div class="my-1" *ngIf="exists(aircraft.wx, modalRoute.from.icao, \'taf\')">\n            <div><strong>TAFs</strong></div>\n            <div class="small" *ngFor="let taf of aircraft.wx[modalRoute.from.icao].metar">\n              {{ taf }}\n            </div>\n          </div>\n\n        </div>\n\n        <div class="col-md-6">\n          <div class="lead">{{ modalRoute.to.icao }}</div>\n          <div>Navn: {{ modalRoute.to.name}}</div>\n          <div>Type: {{ modalRoute.to.type\xa0}}</div>\n          <div *ngIf="modalRoute.to.iata">IATA: {{ modalRoute.to.iata}}</div>\n          <div *ngIf="!!modalRoute.to.location.coordinates">\n            <div>Lat: {{ modalRoute.to.location.coordinates[1]}}</div>\n            <div>Lng: {{ modalRoute.to.location.coordinates[0]}}</div>\n            <div>Elevation: {{ modalRoute.to.location.coordinates[2]}}ft</div>\n          </div>\n          <div class="my-1" *ngIf="exists(aircraft.wx, modalRoute.to.icao, \'metar\')">\n            <div><strong>METARs</strong></div>\n            <div class="small" *ngFor="let metar of aircraft.wx[modalRoute.to.icao].metar">\n              {{ metar }}\n            </div>\n          </div>\n          <div class="my-1" *ngIf="exists(aircraft.wx, modalRoute.to.icao, \'taf\')">\n            <div><strong>TAFs</strong></div>\n            <div class="small" *ngFor="let taf of aircraft.wx[modalRoute.to.icao].metar">\n              {{ taf }}\n            </div>\n          </div>\n\n        </div>\n\n      </div>\n\n      <div class="row">\n        <div class="col-xs-12 col-md-12">\n          <div *ngIf="devDebug" class="row">\n            ModalRoute: {{ modalRoute | json }}\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <div class="modal-footer">\n      <button class="btn btn-outline-dark" (click)="modalRef.close()">\n        <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Ferdig\n      </button>\n    </div>\n  </ng-template>\n\n\n\n\n\n\n\n\n\n\n  \x3c!-- OLD MULTIAIRPORT ON TAGS\n< !-- SELECTOR -- >\n<ng-select [disabled]="!observation.acl_user.w" class="w-auto mw-100 form-control" [items]="airports$ | async" [addTag]="false"\n  [multiple]="true" [hideSelected]="false" [loading]="airportsLoading" [typeahead]="airportsInput$" [(ngModel)]="selectedAirports"\n  bindLabel="icao" [compareWith]="compareWith" autoCapitalize="on" placeholder="Skriv for \xe5 s\xf8ke flyplass" notFoundText="Fant ikke noe">\n  < !--\n  labelForId="icao"\n-- >\n  <ng-template ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.icao}}</span>\n    </div>\n    <small><b>Navn:</b> {{item.name}} | <b>Sted:</b> {{ item.municipality }} | <b>Type:</b> {{ item.type }}</small>\n  </ng-template>\n</ng-select>\n\n< !-- TABLE -- >\n<table *ngIf="!!selectedAirports" class="table table-striped table-hover mt-2">\n  <tr *ngFor="let airport of selectedAirports; let idx = index">\n    <td class="pointer">\n\n      <fa-icon *ngIf="!!airport._id" [icon]="faCheck" [fixedWidth]="true" class="text-success me-2" title="Hentet fra flyplassregisteret"></fa-icon>\n      <fa-icon *ngIf="!airport.hasOwnProperty(\'_id\')" [icon]="faExclamation" [fixedWidth]="true" class="text-danger me-2" title="Ukjent sted"></fa-icon>\n\n      <fa-icon *ngIf="airport.type !== \'HELICOPTER\'" [icon]="faAirplane" [fixedWidth]="true"></fa-icon>\n      <fa-icon *ngIf="airport.type === \'HELICOPTER\'" [icon]="faHelicopter" [fixedWidth]="true"></fa-icon>\n      <strong>\n        {{ airport.icao }}<span *ngIf="!!selectedAirports[idx+1]">-{{ selectedAirports[idx+1].icao }}</span>\n      </strong>\n    </td>\n    <td>\n      {{ airport.name }} / {{ airport.municipality }}\n    </td>\n    <td>\n      {{ airport.type }}\n    </td>\n    <td>\n      <fa-icon *ngIf="!observation.acl_user.w" class="pointer" [icon]="faTimes" [fixedWidth]="true"></fa-icon>\n    </td>\n  </tr>\n</table>\n--\x3e\n  \x3c!-- MODAL VFR/IFR/SKOLEFLYGING, COMMENTS ETC TID INN UT ETC--\x3e\n'},87613:de=>{"use strict";de.exports='<div class="d-grid gap-2">\n  <button class="btn btn-secondary" (click)="openModal(modal)">\n    <fa-icon [icon]="faCircle"></fa-icon>Airspace\n  </button>\n</div>\n\n\x3c!-- AIRSPACE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Airspace\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="airspace.attributes.airspaceName.value" path="E5X.Occurrence.AirSpace.AirspaceName" id="AirspaceName"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="airspace.attributes.airspaceClass.value" path="E5X.Occurrence.AirSpace.AirspaceClass" id="AirspaceClass"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="airspace.attributes.airspaceType.value" path="E5X.Occurrence.AirSpace.AirspaceType" id="AirspaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="airspace.attributes.firuirName.value" path="E5X.Occurrence.AirSpace.FIRUIRName" id="FIRUIRName"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="airspace.attributes.specialActivities.value" path="E5X.Occurrence.AirSpace.SpecialActivities" id="SpecialActivities"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      AC: {{ airspace | json }}\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},58382:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>Add Airspace\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let space of airspace; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="space.attributes?.airspaceName?.value" path="E5X.Occurrence.AirSpace.AirspaceName"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="space.attributes.airspaceClass.value" path="E5X.Occurrence.AirSpace.AirspaceClass"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="space.attributes.airspaceType.value" path="E5X.Occurrence.AirSpace.AirspaceType"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- AIRSPACE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Airspace\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.airspaceName.value" path="E5X.Occurrence.AirSpace.AirspaceName" id="AirspaceName"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.airspaceClass.value" path="E5X.Occurrence.AirSpace.AirspaceClass" id="AirspaceClass"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.airspaceType.value" path="E5X.Occurrence.AirSpace.AirspaceType" id="AirspaceType"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.firuirName.value" path="E5X.Occurrence.AirSpace.FIRUIRName" id="FIRUIRName"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.specialActivities.value" path="E5X.Occurrence.AirSpace.SpecialActivities" id="SpecialActivities"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      AC: {{ airspace | json }}\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},49566:de=>{"use strict";de.exports='ASSESSMENT\n<div class="col-md-12">\n  <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="reportingHistory[0].attributes.descriptionInvestigation.plainText" path="E5X.Occurrence.ReportingHistory.DescriptionInvestigation"\n    id="DescriptionInvestigation" type="textarea"></nlf-ors-editor-tag-e5x>\n</div>\n<div class="col-md-12">\n  <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="reportingHistory[0].attributes.correctiveActions.plainText" path="E5X.Occurrence.ReportingHistory.CorrectiveActions"\n    id="CorrectiveActions"></nlf-ors-editor-tag-e5x>\n</div>\n<div class="col-md-12">\n  <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="reportingHistory[0].attributes.conclusions.plainText" path="E5X.Occurrence.ReportingHistory.Conclusions"\n    id="Conclusions" type="textarea"></nlf-ors-editor-tag-e5x>\n</div>\n'},18690:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-12">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>ATM Involvement\n      </button>\n    </div>\n  </div>\n\n\n  <div class="col-md-9">\n    <div *ngFor="let a of atm; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="a.attributes.anspName.value"\n        path="E5X.Occurrence.AirNavigationService.ANSPName"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- ATM MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      ATM involment\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n\n\n    <div class="row">\n\n      <p class="lead">Valgene er ikke aktiverte</p>\n      \x3c!-- TEST !DISABLED!\n      NB Testing\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" path="E5X.Occurrence.ATMContribution"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" path="E5X.Occurrence.EffectOnATMService"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.anspName.value"\n          path="E5X.Occurrence.AirNavigationService.ANSPName" id="ANSPName"></nlf-ors-editor-tag-e5x>\n      </div>\n      --\x3e\n\n      \x3c!--\n                    <div class="col-md-6">\n                        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.atmContribution.value" path="E5X.Occurrence.ATMContribution"\n                            id="ATMContribution"></nlf-ors-editor-tag-e5x>\n                    </div>\n\n                    <div class="col-md-6">\n                        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.effectOnATMService.value" path="E5X.Occurrence.EffectOnATMService"\n                            id="EffectOnATMService"></nlf-ors-editor-tag-e5x>\n                    </div>\n                  --\x3e\n\n      \x3c!-- !DISABLED!\n    </div>\n\n    <div class="row">\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.apwAlerting.value"\n          path="E5X.Occurrence.AirNavigationService.APWAlerting" id="SectorName"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-3">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.rimcasAlerting.value"\n          path="E5X.Occurrence.AirNavigationService.RIMCASAlerting" id="RTFFrequency"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-5">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.stcaCurrentAlerting.value"\n          path="E5X.Occurrence.AirNavigationService.STCACurrentAlerting" id="WorkloadController">\n        </nlf-ors-editor-tag-e5x>\n      </div>\n\n    </div>\n\n    <div class="row">\n\n      <div *ngIf="devDebug" class="row">\n        AC: {{ atm | json }}\n      </div>\n--\x3e\n    </div>\n\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    \x3c!-- !DISABLED!\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n    --\x3e\n  </div>\n</ng-template>'},93551:de=>{"use strict";de.exports='\x3c!-- (change)="update()" [(attr)]="route[idx].occurrence.attributes"--\x3e\n\n\x3c!-- ENTITIES --\x3e\n<div class="row my-3">\n  <div class="col-xs-12 col-md-12">\n\n    <div class="my-3">\n      <nlf-ors-editor-e5x-airspace [disabled]="!observation.acl_user.w" (change)="update()" [(airspace)]="observation.occurrence.entities.airSpace"></nlf-ors-editor-e5x-airspace>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-aerodrome [disabled]="!observation.acl_user.w" (change)="update()" [(aerodrome)]="observation.occurrence.entities.aerodromeGeneral"></nlf-ors-editor-e5x-aerodrome>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-atm [disabled]="!observation.acl_user.w" (change)="update()" [(atm)]="observation.occurrence.entities.airNavigationService"></nlf-ors-editor-e5x-atm>\n    </div>\n    <div class="my-3">\n      \x3c!--aerodrome wx reports = metars!--\x3e\n      <nlf-ors-editor-e5x-wxphenomena [disabled]="!observation.acl_user.w" (change)="update()" [(wxPhenomena)]="observation.occurrence.entities.precipitationAndOtherWeatherPhenomena"></nlf-ors-editor-e5x-wxphenomena>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-runway [disabled]="!observation.acl_user.w" (change)="update()" [(runway)]="observation.occurrence.entities.runwayIncursion"></nlf-ors-editor-e5x-runway>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-separation [disabled]="!observation.acl_user.w" (change)="update()" [(separation)]="observation.occurrence.entities.separation"></nlf-ors-editor-e5x-separation>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-events [disabled]="!observation.acl_user.w" (change)="update()" [(events)]="observation.occurrence.entities.events"></nlf-ors-editor-e5x-events>\n    </div>\n  </div>\n</div>\n'},4090:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Add Event\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let event of events; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="event.attributes.eventType.value" path="E5X.Occurrence.Events.EventType"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="event.attributes.phase.value" path="E5X.Occurrence.Events.Phase"></nlf-ors-editor-tag-e5x-render>\n\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- Event MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Event\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.eventType.value" path="E5X.Occurrence.Events.EventType" id="EventType"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.phase.value" path="E5X.Occurrence.Events.Phase" id="Phase"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      AC: {{ events | json }}\n    </div>\n\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},60271:de=>{"use strict";de.exports='    \x3c!-- NARRATIVE --\x3e\n    <div class="form-group" *ngFor="let nrt of narrative; let idx=index">\n      <nlf-ors-editor-tag-e5x *ngIf="showLang" [disabled]="disabled"\n        [(items)]="narrative[idx].attributes.narrativeLanguage.value"\n        customLabel="Spr\xe5k benyttet"\n        path="E5X.Occurrence.ReportingHistory.ReporterSLanguage">\n      </nlf-ors-editor-tag-e5x>\n      <textarea [disabled]="disabled"\n        placeholder="Beskriv med egne ord hva som skjedde eller kunne ha skjedd - kortfattet og presist hendelsesforl\xf8p med konsekvenser"\n        class="form-control narrative mt-2"\n        id="E5X.Narrative.NarrativeText" rows="5"\n        (blur)="update()"\n        (ngModelChange)="debouncedUpdate()"\n        [(ngModel)]="narrative[idx].attributes.narrativeText.plainText">\n      </textarea>\n    </div>\n'},56103:de=>{"use strict";de.exports='\x3c!-- NARRATIVE --\x3e\n<div class="form-group">\n\n  <textarea [disabled]="disabled"\n    placeholder="Beskriv med egne ord hva som skjedde eller kunne ha skjedd - kortfattet og presist hendelsesforl\xf8p med konsekvenser"\n    class="form-control mt-2"\n    id="E5X.Narrative.NarrativeText" rows="5"\n    (blur)="update()"\n    (ngModelChange)="debouncedUpdate()"\n    [(ngModel)]="narrative.plainText">\n  </textarea>\n  <nlf-ors-editor-tag-e5x *ngIf="showLang" [disabled]="disabled"\n    [allowed]="languages" [(items)]="language.value"\n    customLabel="Spr\xe5k benyttet"\n    path="E5X.Occurrence.ReportingHistory.ReporterSLanguage">\n  </nlf-ors-editor-tag-e5x>\n\n</div>\n'},1658:de=>{"use strict";de.exports="<p>\n\n</p>\n"},30009:de=>{"use strict";de.exports='<div class="nlf-ors-toolbar">\n  Event Risk Classification\n  <nlf-help class="float-end" key="ors-editor-e5x-risk"></nlf-help>\n</div>\n\n\n<ng-container *ngIf="dataReady">\n  <h6 class="mt-3">\n    If this event had escalated into an accident, what would have been the most\n    probable outcome?\n  </h6>\n\n  <div class="row">\n    <div *ngFor="let value of riskMatrix" class="col-md-3 col-xs-12">\n      <div class="risk-option card"\n        [ngClass]="{ \'text-white bg-secondary\': riskValue === value.key,\'bg-light\': riskValue != value.key, \'risk-option-disabled\': disabled }"\n        (click)="setRisk(value)">\n        <div class="card-body text-center">\n          <h6 class="card-title text-center">\n            {{ value.name }}\n          </h6>\n          <div class="card-text">\n            {{ value.description }}\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <h6 class="mt-3" *ngIf="riskValue !== \'none\'">\n    What was the effectiveness of the remaining barriers between this event and\n    the most probable accident scenario?\n  </h6>\n\n  <div class="row" *ngIf="riskValue !== \'none\'">\n    <div *ngFor="let value of effectivenessMatrix" class="col-md-3 col-xs-12">\n      <div class="second-risk-option card bg-light"\n        [ngClass]="{ \'text-white bg-secondary\': effectivenessValue === value.key, \'bg-light\': effectivenessValue != value.key, \'risk-option-disabled\': disabled }"\n        (click)="setEffectiveness(value)">\n        <div class="card-body text-center">\n          {{ value.name }}\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <div class="row">\n    <div *ngIf="occurrence.entities.reportingHistory[0].attributes?.riskClassification?.value"\n      class="card risk-score text-white bg-{{occurrence.entities.reportingHistory[0].attributes.riskClassification.value | nlfDynamicColorErc}}">\n      <div class="card-body p-0">\n        {{ occurrence.entities.reportingHistory[0].attributes.riskClassification.value }}\n      </div>\n    </div>\n  </div>\n</ng-container>'},63788:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>Add Runway Incursion\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let rwy of runway; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="rwy.attributes.entityInvolved.value" path="E5X.Occurrence.RunwayIncursion.EntityInvolved"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="rwy.attributes.typeOfVehicle.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.TypeOfVehicle"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="rwy.attributes.vehicleControlled.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.VehicleControlled"></nlf-ors-editor-tag-e5x-render>\n\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- RUNWAY MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Runway Incursion\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n\n        <div class="row">\n\n          <div class="col-md-12">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.entityInvolved.value" path="E5X.Occurrence.RunwayIncursion.EntityInvolved" id="EntityInvolved"></nlf-ors-editor-tag-e5x>\n          </div>\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.typeOfVehicle.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.TypeOfVehicle" id="TypeOfVehicle"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div class="col-md-6">\n            <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.vehicleControlled.value" path="E5X.Occurrence.AerodromeGeneral.Vehicle.VehicleControlled" id="VehicleControlled"></nlf-ors-editor-tag-e5x>\n          </div>\n\n          <div *ngIf="devDebug" class="row">\n            AC: {{ atm | json }}\n          </div>\n\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},38045:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-primary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus"></fa-icon>Add Airprox/separation\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let sep of separation; let idx = index">\n\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [unit]="sep.attributes.estMinimumHorizSep.unit"\n      [items]="sep.attributes.estMinimumHorizSep.value" path="E5X.Occurrence.Separation.EstMinimumHorizSep"></nlf-ors-editor-tag-e5x-render>\n\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Airpoximity - separation occurrence\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n\n      \x3c!-- MISC --\x3e\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.militaryACInvolved.value" path="E5X.Occurrence.Separation.MilitaryACInvolved"\n          id="militaryACInvolved"></nlf-ors-editor-tag-e5x>\n      </div>\n\n\n      \x3c!-- HORIZONTAL --\x3e\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.reqMinimumHorizSep.value" path="E5X.Occurrence.Separation.ReqMinimumHorizSep"\n        [unit]="modalValue.attributes.reqMinimumHorizSep.unit" id="reqMinimumHorizSep"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.estMinimumHorizSep.value" path="E5X.Occurrence.Separation.EstMinimumHorizSep"\n        [unit]="modalValue.attributes.estMinimumHorizSep.unit" id="estMinimumHorizSep"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.minHorizSepRec.value" path="E5X.Occurrence.Separation.MinHorizSepRec"\n          [unit]="modalValue.attributes.minHorizSepRec.unit" id="minHorizSepRec"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.rateOfClosure.value" path="E5X.Occurrence.Separation.RateOfClosure"\n        [unit]="modalValue.attributes.rateOfClosure.unit" id="rateOfClosure"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-6">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.horizontalRelMvmt.value" path="E5X.Occurrence.Separation.HorizontalRelMvmt"\n        [unit]="modalValue.attributes.horizontalRelMvmt.unit" id="horizontalRelMvmt"></nlf-ors-editor-tag-e5x>\n      </div>\n\n      \x3c!-- VERTICAL --\x3e\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.estVertSeparation.value" path="E5X.Occurrence.Separation.EstVertSeparation"\n        [unit]="modalValue.attributes.estVertSeparation.unit" id="estVertSeparation"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.reqVertSeparation.value" path="E5X.Occurrence.Separation.ReqVertSeparation"\n        [unit]="modalValue.attributes.reqVertSeparation.unit" id="reqVertSeparation"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-4">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.verticalSepRecorded.value" path="E5X.Occurrence.Separation.VerticalSepRecorded"\n        [unit]="modalValue.attributes.verticalSepRecorded.unit" id="verticalSepRecorded"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},28893:de=>{"use strict";de.exports='<div class="row">\n  <div class="col-md-3">\n    <div class="d-grid gap-2">\n      <button [disabled]="disabled" class="btn btn-secondary" (click)="add();openModal(modal, modalIdx)">\n        <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Add WX Phenomena\n      </button>\n    </div>\n  </div>\n  <div class="col-md-9">\n    <div *ngFor="let phenomena of wxPhenomena; let idx = index">\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="phenomena.attributes.phenomenonType.value" path="E5X.Occurrence.PrecipitationAndOtherWeatherPhenomena.PhenomenonType"></nlf-ors-editor-tag-e5x-render>\n      &nbsp;\n      <nlf-ors-editor-tag-e5x-render classes="badge bg-danger" [items]="phenomena.attributes.phenomenonIntensity.value" path="E5X.Occurrence.PrecipitationAndOtherWeatherPhenomena.PhenomenonIntensity"></nlf-ors-editor-tag-e5x-render>\n      <fa-icon class="mx-1" [icon]="faEdit" (click)="openModal(modal, idx)"></fa-icon>\n      <fa-icon class="mx-1" *ngIf="!disabled" [icon]="faClose" (click)="delete(idx)"></fa-icon>\n    </div>\n\n  </div>\n</div>\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Wx Phenomena {{ wxPhenomena.length }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n\n\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.phenomenonType.value" path="E5X.Occurrence.PrecipitationAndOtherWeatherPhenomena.PhenomenonType"\n          id="phenomenonType"></nlf-ors-editor-tag-e5x>\n      </div>\n      <div class="col-md-12">\n        <nlf-ors-editor-tag-e5x [disabled]="disabled" [(items)]="modalValue.attributes.phenomenonIntensity.value" path="E5X.Occurrence.PrecipitationAndOtherWeatherPhenomena.PhenomenonIntensity"\n          id="phenomenonIntensity"></nlf-ors-editor-tag-e5x>\n      </div>\n    </div>\n\n  </div>\n\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="disabled" [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalUpdate()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},50245:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  <div *ngIf="!onlyFilepicker">\n    \x3c!-- THUMBNAILS --\x3e\n    <div class="row text-center text-lg-left mb-2">\n\n      <div *ngFor="let thumb of filelist; let i = index" class="col-lg-3 col-md-3 col-xs-6">\n        <div *ngIf="thumb.isImage">\n          \x3c!-- <div class="d-block mb-4 h-100">--\x3e\n\n          <div class="card pointer" (click)="openModal(modalEditorImage, i)">\n            <img class="card-img-top object-fit-cover" [src]="domSanitizer.bypassSecurityTrustUrl(thumb.src)" alt="{{ thumb.filename }}">\n            <fa-icon [icon]="faLock" *ngIf="thumb.r===true" class="text-danger fa fa-3x card-img-overlay opacity-50"></fa-icon>\n            <fa-icon [icon]="faUnlock" *ngIf="thumb.r===false" class="text-success fa fa-3x card-img-overlay opacity-50"></fa-icon>\n          </div>\n\n          \x3c!--\n          <span (click)="openModal(modalEditorImage, i)" class="pointer fa-thumbnail text-center">\n            <img class="img-fluid img-thumbnail" [src]="domSanitizer.bypassSecurityTrustUrl(thumb.src)"\n              alt="{{ thumb.filename }}">\n          </span>\n        --\x3e\n          \x3c!--</div>--\x3e\n        </div>\n      </div>\n\n    </div>\n    \x3c!-- /THUMBNAILS --\x3e\n\n    \x3c!-- FILE LIST --\x3e\n    <div *ngIf="dataReady">\n      <div class="table-responsive">\n        <table class="table table-sm table-striped table-hover">\n          <tbody>\n\n            <tr *ngFor="let f of filelist; let i = index">\n\n              <td>\n                <fa-icon (click)="setRestricted(false, f._id, i)" *ngIf="!!f.r" class="text-danger pointer"\n                  [icon]="faLock"></fa-icon>\n                <fa-icon (click)="setRestricted(true, f._id, i)" *ngIf="!f.r" class="text-success pointer"\n                  [icon]="faUnlock"></fa-icon>\n\n                <a target="_blank" *ngIf="!f.isImage" href="{{ f.download }}">{{f.name}}</a>\n                <a *ngIf="!!f.isImage" (click)="openModal(modalEditorImage, i)" class="pointer">{{f.name}}</a>\n              </td>\n              <td>{{ f.size | bytes : 2 }}</td>\n              <td>{{f.content_type}}&nbsp;</td>\n              <td>\n                \x3c!--<fa-icon (click)="download(f)" name="download"></fa-icon>--\x3e\n                <a target="_blank" href="{{ f.download }}" class="mx-1">\n                  <fa-icon [icon]="faDownload"></fa-icon>\n                </a>\n                <fa-icon *ngIf="observation.acl_user.w" class="pointer mx-1" (click)="removeFromFilelist(f._id, i)"\n                  [icon]="faTimes"></fa-icon>\n              </td>\n              <td>&nbsp;</td>\n\n            </tr>\n\n          </tbody>\n        </table>\n      </div>\n    </div>\n    \x3c!-- /FILE LIST --\x3e\n  </div>\n  \x3c!-- / --\x3e\n\n  \x3c!-- FILE DROP --\x3e\n  <div *ngIf="observation.acl_user.w">\n\n    <div *ngIf="dropzone || (onlyFilepicker && dropzone)">\n      <div class="drop-container" ngFileDrop [options]="options" (uploadOutput)="onUploadOutput($event)"\n        [uploadInput]="uploadInput" [ngClass]="{ \'dragover\': dragOver }">\n        <p class="lead">Dra og slipp filer her</p>\n        <p></p>\n\n        <div class="btn-toolbar d-flex justify-content-center" role="toolbar" aria-label="Upload toolbar">\n          \x3c!-- UPLOAD BUTTON --\x3e\n\n          <div class="btn-group me-2" role="group" aria-label="First group">\n            <label class="btn btn-primary btn-file">\n              <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>Legg til filer\n              <input type="file" style="display: none;" ngFileSelect [options]="options"\n                (uploadOutput)="onUploadOutput($event)" [uploadInput]="uploadInput" multiple>\n            </label>\n          </div>\n          \x3c!-- /UPLOAD BUTTON --\x3e\n\n          \x3c!-- CAMERA BUTTON only mobile! --\x3e\n          <div class="btn-group me-2" role="group" aria-label="Second group">\n            <label class="btn btn-primary btn-file d-sm-none">\n              <fa-icon [icon]="faCamera"></fa-icon>Ta bilde\n              <input type="file" accept="image/*" capture="camera" style="display: none;" ngFileSelect\n                [options]="options" (uploadOutput)="onUploadOutput($event)" [uploadInput]="uploadInput">\n            </label>\n          </div>\n          \x3c!-- /CAMERA BUTTON--\x3e\n        </div>\n\n\n        \x3c!-- UPLOAD PROGRESS --\x3e\n        <div class="upload-items">\n          <div class="upload-item" *ngFor="let f of ngxfiles; let i = index;">\n            <span class="filename">\n              <span>{{ f.name }} ({{ f.id }}) - {{ f.progress?.data?.percentage }}%</span>\n              <span>uploading with {{ f.progress?.data?.speedHuman }}</span>\n              <span>ETA {{ f.progress?.data?.etaHuman }}</span>\n            </span>\n            <div class="progress">\n              <span class="bar" [style.width]="f?.progress?.data?.percentage + \'%\'"></span>\n            </div>\n          </div>\n        </div>\n        \x3c!-- /UPLOAD PROGRESS --\x3e\n      </div>\n\n    </div>\n    \x3c!-- /FILE DROP --\x3e\n\n    <div *ngIf="!dropzone || (onlyFilepicker && !dropzone)">\n      \x3c!-- UPLOAD BUTTON --\x3e\n      <div class="d-grid gap-2">\n        <label class="btn btn-primary btn-file">\n          <fa-icon [icon]="faPlus"></fa-icon>Legg til filer\n          <input type="file" style="display: none;" ngFileSelect [options]="options"\n            (uploadOutput)="onUploadOutput($event)" [uploadInput]="uploadInput" multiple>\n        </label>\n      </div>\n      \x3c!-- /UPLOAD BUTTON --\x3e\n      \x3c!-- UPLOAD PROGRESS --\x3e\n      <div class="upload-items">\n        <div *ngIf="uploading">\n          <div class="upload-item" *ngFor="let f of ngxfiles; let i = index;">\n            <span class="filename">\n              <span>{{ f.name }} ({{ f.id }}) - {{ f.progress?.data?.percentage }}%</span>\n              <span>uploading with {{ f.progress?.data?.speedHuman }}</span>\n              <span>ETA {{ f.progress?.data?.etaHuman }}</span>\n            </span>\n            <div class="progress">\n              <span class="bar" [style.width]="f?.progress?.data?.percentage + \'%\'"></span>\n            </div>\n          </div>\n        </div>\n      </div>\n      \x3c!-- /UPLOAD PROGRESS --\x3e\n    </div>\n  </div>\n  \x3c!-- VIDEO PLAYER\n<vg-player>\n  <video [vgMedia]="media" #media id="singleVideo" preload="auto" controls>\n    <source src="http://localhost:4200/api/v1/download/5a8d29eaa01ed249e486c9dc?token=ZGViM2QxMmNjNTU4NGFjNjhhZWQyOTY0NTJkYzQ5OGY6"\n      type="video/mp4">\n  </video>\n</vg-player>\n--\x3e\n  <div *ngFor="let f of imagePreview">\n    <img class="img-fluid img-thumbnail" [src]="f">\n  </div>\n\n</ng-container>\n\n\x3c!-- IMAGE MODAL --\x3e\n<ng-template #modalEditorImage>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ viewImageName }}</h4>\n\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body text-center">\n    <div *ngIf="!viewImageLoading">\n      <img class="img-fluid" [src]="domSanitizer.bypassSecurityTrustUrl(viewimage.src)" alt="file">\n\n      <div class="clearfix"></div>\n\n      <span *ngIf="observation.acl_user.w">\n        <fa-icon (click)="setRestricted(false, filelist[viewimage.index][\'_id\'], viewimage.index)"\n          *ngIf="!!filelist[viewimage.index][\'r\']" class="text-danger pointer" [icon]="faLock">\n        </fa-icon>\n        <fa-icon (click)="setRestricted(true, filelist[viewimage.index][\'_id\'], viewimage.index)"\n          *ngIf="!filelist[viewimage.index][\'r\']" class="text-success pointer" [icon]="faUnlock">\n        </fa-icon>\n      </span>\n      <span *ngIf="!observation.acl_user.w">\n        <fa-icon\n          [ngClass]="{\'text-success\': !filelist[viewimage.index][\'r\'], \'text-danger\': !!filelist[viewimage.index][\'r\']}"\n          class="text-success" [icon]="faUnlock"\n          [title]="{\'Bildet vises for alle som kan se rapporten\': !filelist[viewimage.index][\'r\'], \'Bildet vises IKKE offentlig\': !!filelist[viewimage.index][\'r\']}">\n        </fa-icon>\n      </span>\n\n      {{ filelist[viewimage.index][\'name\'] }} {{ filelist[viewimage.index][\'size\'] | bytes : 2 }}\n      {{ filelist[viewimage.index][\'content_type\'] }}\n      {{ filelist[viewimage.index][\'_created\'] | date:\'yyyy-MM-dd HH:mm\' }}\n\n      <fa-icon *ngIf="!!filelist[viewimage.index-1]" [icon]="faChevronLeft" class="pointer"\n        (click)="getModalImage(viewimage.index-1)"></fa-icon>\n      <fa-icon *ngIf="!!filelist[viewimage.index+1]" [icon]="faChevronRight" class="pointer"\n        (click)="getModalImage(viewimage.index+1)"></fa-icon>\n\n      <nlf-resolve-lungo-person [person_id]="filelist[viewimage.index][\'owner\']"></nlf-resolve-lungo-person>\n\n      <fa-icon *ngIf="observation.acl_user.w" class="pointer"\n        (click)="removeFromFilelist(filelist[viewimage.index][\'_id\'], viewimage.index);modalRef.close()"\n        [icon]="faTimes"></fa-icon>\n    </div>\n    <span *ngIf="!!viewImageLoading" class="text-center">\n      <nlf-ui-component-spinner></nlf-ui-component-spinner>\n    </span>\n\n  </div>\n  <div class="modal-footer">\n    <a class="btn btn-secondary" (click)="modalRef.close()">Close</a>\n  </div>\n</ng-template>\n\x3c!-- /MODAL --\x3e\n'},54942:de=>{"use strict";de.exports='<ngb-alert *ngIf="!!userData && !userData.settings.ors.first_report" type="success" (close)="close()">\n  <div class="col-md-12">\n    <p class="lead"><strong>Hei</strong>, oppretter du en OBSREG rapport for f\xf8rste gang?</p>\n    <hr />\n    <p>\xd8verst p\xe5 siden under navigasjonen finner du det som kalles en toolbar og den er spesifikk for denne siden.</p>\n    <p>Der finner du bla et <fa-icon [icon]="faQuestion"></fa-icon> som vil \xe5pne en hjelpetekst for denne observasjonen</p>\n    <p>Merk at du ogs\xe5 finner <fa-icon [icon]="faQuestion"></fa-icon> for hver logiske blokk og for mange felter i selve rapporten.\n      Ved \xe5 klikke p\xe5 <fa-icon [icon]="faQuestion"></fa-icon> f\xe5r du opp hjelpetekster for disse.</p>\n    <p></p>\n    <p>\n      <strong>\n        Synes du det er mange felter \xe5 fylle ut?\n      </strong>\n    </p>\n    <p>Ingen fare, du trenger kun fylle ut det du mener er relevant.\n      Feltene er der i tilfelle du \xf8nsker \xe5 benytte disse! Det viktigste at du faktisk rapporterer, ikke\n      at du n\xf8dvendigvis har fylt ut alle feltene.\n      <strong>\n        Det finnes ingen skjemasjekk, s\xe5 her kan du fylle ut s\xe5 mye eller lite som du faktisk synes er relevant!\n      </strong>\n    </p>\n    <p>\n      N\xe5r du lukker dette varselet vil du slippe \xe5 se det igjen - uansett hvilke enheter du vi logge p\xe5 med.\n    </p>\n  </div>\n  <div class="col-md-12 mb-1 text-end">\n    <button (click)="close()" class="btn btn-primary">\n      <fa-icon [icon]="faCheck"></fa-icon> Ok, skj\xf8nner!\n    </button>\n  </div>\n</ngb-alert>\n'},17741:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation && !!config">\n  \x3c!--\n<div class="form-check">\n  <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox" [(ngModel)]="observation.flags.insurance" (ngModelChange)="onChange($event)"\n    id="defaultInsurance">\n  <label class="form-check-label" for="defaultInsurance">\n    Forsikringssak\n  </label>\n</div>\n<div class="form-check">\n  <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox" [(ngModel)]="observation.flags.aviation" (ngModelChange)="onChange($event)"\n    id="defaultAviation">\n  <label class="form-check-label" for="defaultAviation">\n    Rapporteringspliktig til Luftfartstilsynet\n  </label>\n</div>\n\n<div *ngIf="!!observation.flags.aviation" class="form-check">\n  <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox" [(ngModel)]="observation.flags.e5x" (ngModelChange)="onChange($event)"\n    id="e5x">\n  <label class="form-check-label" for="e5x">\n    Eccair E5X (Rapporteres til LT)\n  </label>\n</div>\n--\x3e\n\n  <div class="form-check" *ngFor="let flag of config[observation._model.type][\'observation\'][\'flagsArr\']">\n    <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox"\n      [(ngModel)]="observation.flags[flag]" (ngModelChange)="onChange($event, flag)" [id]="flag">\n    <label class="form-check-label" for="defaultInsurance">\n      {{ config[observation._model.type][\'observation\'][\'flags\'][flag][\'label\'] }}\n    </label>\n  </div>\n</ng-container>'},37221:de=>{"use strict";de.exports='<div id="main-map" leaflet *ngIf="!!mapOptions" class="map" [leafletOptions]="mapOptions"\n    (leafletMapReady)="onMapReady($event)" [(leafletCenter)]="mapCenter">\n</div>'},14765:de=>{"use strict";de.exports='<div class="modal-header">\n  <h4 class="modal-title pull-left">\n    Hjelp for #{{ observation.id }}</h4>\n  <button type="button" class="close float-end" aria-label="Close" (click)="activeModal.dismiss()">\n    <span aria-hidden="true">&times;</span>\n  </button>\n</div>\n<div class="modal-body">\n  <p>\n    Du redigerer n\xe5 observasjon #{{ observation.id }}. Denne siden er det vi kaller editoren. Du vil ogs\xe5 kunne se\n    rapporten i rapportvisning.\n  </p>\n  <p>\n    For hver logiske komponent i editoren vil du kunne se hjelpetekst for respektive bolker ved \xe5 trykke p\xe5\n    sp\xf8rsm\xe5lstegnet\n    <fa-icon class="text-info mx-1" [icon]="faQuestion"></fa-icon> .\n  </p>\n  <p>\n    \xd8verst p\xe5 siden har du verkt\xf8ylinjen som bla viser l\xf8penummer, tittel og rating (til venstre) og til h\xf8yre finner\n    du f\xf8lgende:\n  </p>\n  <p>\n    <fa-icon class="text-info mx-1" [icon]="faQuestion"></fa-icon>\n\n    <span (click)="save()" *ngIf="changes" class="pointer badge bg-warning mx-1">\n      <fa-icon [icon]="faSave"></fa-icon>\n    </span>\n\n    <span class="badge bg-secondary mx-1">{{ observation._updated | amTimeAgo }}</span>\n\n    <span class="badge bg-success mx-1">v{{ observation._version }}</span>\n\n    <nlf-resolve-observation-state activity="fallskjerm" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n\n    \x3c!-- E5X --\x3e\n    <nlf-ors-e5x *ngIf="[\'motorfly\', \'sportsfly\', \'seilfly\'].indexOf(observation._model.type)"></nlf-ors-e5x>\n\n    \x3c!-- ACTIVITIES --\x3e\n    <a class="badge bg-info mx-1" [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">\n      <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n    </a>\n\n    \x3c!-- ACCESS!!! --\x3e\n    <nlf-ors-editor-users *ngIf="[\'closed\', \'withdrawn\'].indexOf(observation.workflow.state)<0 && observation.acl_user.x" [model]="observation._model.type" [_id]="observation._id" [observation]="observation"></nlf-ors-editor-users>\n\n    \x3c!-- REPORT LINK --\x3e\n    <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" *ngIf="observation.acl_user.x || observation.acl_user.w" class="badge bg-primary text-white mx-1">\n      <fa-icon [icon]="faFile"></fa-icon> Report\n    </a>\n\n  </p>\n  <p>\n    <span class="badge bg-secondary mx-1">{{ observation._updated | amTimeAgo }}</span>\n    sier noe om hvor lenge det er siden du har lagret. Klikker du p\xe5 Denne vil du f\xe5 opp informasjon om observasjonen\n    du redigerer.\n\n  </p>\n  <p>\n    Om du har endringer vil ogs\xe5\n    <span class="badge pointer bg-warning mx-1">\n      <fa-icon [icon]="faSave"></fa-icon>\n    </span>\n    vises og indikerer at du kan lagre ved \xe5 klikke p\xe5 det.\n  </p>\n  <p>\n    <span class="badge bg-success mx-1">v{{ observation._version }}</span> viser hvilken versjon av observasjonen du\n    jobber p\xe5. Dette er alts\xe5 versjon {{ observation._version }}.\n    Alle endringer tas vare p\xe5 og ved \xe5 klikke p\xe5 denne kan du se alle versjoner av denne observasjonen og videre\n    kan du se endringer mellom versjonene.\n  </p>\n  <p>\n    <strong>N\xe5r du er ferdig med \xe5 redigere skal du trykke p\xe5:</strong>\n  </p>\n  <p>\n    <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n    \x3c!--\n    <span class="pointer mx-1" [routerLink]="[\'/ors\', observation._model.type,\'edit\', \'workflow\', observation.id]"\n      (click)="activeModal.close()">\n      <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n    </span>\n  --\x3e\n  </p>\n  <p>\n    Denne knappen aktiverer arbeidsflyten (saksgangen) og du f\xe5r et nytt vindu hvor du kan legge inn kommentarer f\xf8r\n    du godkjenner\n    og sender videre eller avsl\xe5r og sender tilbake (avhengig hvor du er).\n  </p>\n  <p>\n    Om du har opprettet ved en feiltagelse eller noe annet og du \xf8nsker \xe5 slette eller avbryte observasjonen s\xe5\n    velger du "Trekk\n    tilbake". Ombestemmer du deg etter \xe5 ha trukket observasjonen kan du "Gjen\xe5pne".\n  </p>\n\n  <p *ngIf="observation._model.type==\'motorfly\'">\n    \x3c!-- E5X --\x3e\n    <nlf-ors-e5x></nlf-ors-e5x> viser status p\xe5 innsendelse av rapporten til Luftfartstilsynet (LT). Formatet det\n    sendes p\xe5 kalles E5X. Denne knappen aktiverer vinduet for \xe5 behandle generering av fil, innsendelse og historikk.\n  </p>\n\n  <p>\n    \x3c!-- ACTIVITIES --\x3e\n    <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1" [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">\n      <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n    </a> \xe5pner en side som viser alle hendelser for denne observasjonen. Her kan du purre og sende meldinger til de som behandler denne observasjonen.\n  </p>\n\n  <p *ngIf="[\'closed\', \'withdrawn\'].indexOf(observation.workflow.state)<0 && observation.acl_user.x">\n    \x3c!-- ACCESS!!! --\x3e\n    <nlf-ors-editor-users *ngIf="[\'closed\', \'withdrawn\'].indexOf(observation.workflow.state)<0 && observation.acl_user.x" [model]="observation._model.type" [_id]="observation._id" [observation]="observation"></nlf-ors-editor-users>\n    gir deg muligheten til \xe5 legge til personer til observasjonen b\xe5de med skrive og lese rettigheter etter ditt eget \xf8nske. S\xf8k de opp, legg de til og husk \xe5 huke av for hvilken rettighet de skal ha!\n  </p>\n  <p>\n    \x3c!-- REPORT LINK --\x3e\n    <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" *ngIf="observation.acl_user.x || observation.acl_user.w" class="badge bg-primary text-white mx-1">\n      <fa-icon [icon]="faFile"></fa-icon> Report\n    </a> \xe5pner observasjonen i rapportvisning og du kan p\xe5 den m\xe5ten forh\xe5ndsvise hvordan den endelige observasjonen vil komme til \xe5 se ut n\xe5r den er ferdigbehandlet.</p>\n\n  <p>\n    <strong>Hurtigtaster</strong><br />\n    <span class="badge bg-secondary">CTRL+s</span>/<span class="badge bg-secondary">COMMAND+s</span> Lagre<br>\n    <span class="badge bg-secondary">CTRL+h</span>/<span class="badge bg-secondary">COMMAND+h</span> Hjelp (denne)<br>\n    <span class="badge bg-secondary">CTRL+g</span>/<span class="badge bg-secondary">COMMAND+g</span> Debug<br>\n  </p>\n</div>\n<div class="modal-footer">\n  <button class="btn btn-outline-dark" (click)="activeModal.close()">Ferdig</button>\n</div>\n'},51951:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n\n  <div class="row">\n  <div class="col-xs-12 col-md-12">\n    <div *ngIf="!!observation.weather.auto?.metar_nearest?.parsed" [innerHTML]="observation.weather.auto?.metar_nearest?.parsed | newlines">\n    </div>\n  </div>\n</div>\n<div *ngIf="!!tafmetar" class="row mt-3">\n  <div class="col-xs-12 col-md-6">\n    <div class="d-grid gap-2">\n      <button (click)="openModal(autoModal, \'metar\')" [ngClass]="!!tafmetar.metar ? \'btn-success\': \'btn-secondary\'" class="btn my-1">METAR</button>\n    </div>\n  </div>\n  <div class="col-xs-12 col-md-6">\n    <div class="d-grid gap-2">\n      <button (click)="openModal(autoModal, \'taf\')" [ngClass]="!!tafmetar.taf ? \'btn-success\': \'btn-secondary\'" class="btn my-1">TAF</button>\n    </div>\n  </div>\n  \x3c!--\n  <div class="col-xs-12 col-md-4">\n    <div class="d-grid gap-2">\n      <button (click)="openModal(autoModal, \'yr\')" [ngClass]="!!tafmetar.yr ? \'btn-success\': \'btn-secondary\'" class="btn my-1">YR</button>\n    </div>\n  </div>\n--\x3e\n</div>\n</ng-container>\n\n<ng-template #autoModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ modal.title | upperfirst }} {{ observation.when | date:\'yyyy-MM-dd\'}}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="col-xs-12 overflow-auto">\n      <div *ngFor="let row of modal.data">\n        {{ row }}\n      </div>\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button (click)="modalRef.dismiss()" class="btn btn-outline-dark">Ferdig</button>\n  </div>\n</ng-template>\n'},53769:de=>{"use strict";de.exports='<div class="p-3">\n  <div class="form-check">\n    \x3c!-- (ngModelChange)="onChange()"--\x3e\n    <input class="form-check-input" type="checkbox" name="club" id="club" [value]="this.observation[\'operational\'][\'club\']" [(ngModel)]="this.observation[\'operational\'][\'club\']">\n    <label class="form-check-label" for="club">\n      Klubbregi\n    </label>\n  </div>\n  <div class="form-check">\n    <input class="form-check-input" type="checkbox" name="club" id="jumping" [value]="this.observation[\'operational\'][\'jumping\']" [(ngModel)]="this.observation[\'operational\'][\'jumping\']">\n    <label class="form-check-label" for="jumping">\n      Hopping\n    </label>\n  </div>\n  <div class="form-check">\n    <input class="form-check-input" type="checkbox" name="club" id="operational" [value]="this.observation[\'operational\'][\'op\']" [(ngModel)]="this.observation[\'operational\'][\'op\']">\n    <label class="form-check-label" for="operational">\n      Operativt\n    </label>\n  </div>\n</div>\n'},39071:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n\n  <tag-input [(ngModel)]="items" (onAdd)="onAdd($event)" (onRemove)="onRemove($event)" theme=\'bootstrap\'\n    [onlyFromAutocomplete]="false" [displayBy]="\'full_name\'" [identifyBy]="\'id\'" placeholder="Ny person"\n    secondaryPlaceholder="Legg til" [maxItems]="maxItems" [disable]="disabled">\n\n    <tag-input-dropdown [zIndex]="99999" [showDropdownIfEmpty]="false" keepOpen="false" [displayBy]="\'full_name\'"\n      [identifyBy]="\'id\'" focusFirstElement="true" [autocompleteObservable]=\'requestAutocompleteItems\'>\n    </tag-input-dropdown>\n\n  </tag-input>\n\n\n  \x3c!--\n  { "id": 301041, "data": { "date": "2019-02-05T19:21:06.096Z",\n  "licenses": [ { "id": 8948522, "status_id": 3, "status_date": "2018-05-24T13:46:49.013000Z", "expiry": "2018-12-31T00:00:00.000000Z", "type_id": 205519, "type_name": "Basis" } ],\n  "functions": [ 20786409, 20786865, 22458282, 25428769 ],\n  "private": { "default_club": 22976, "default_activity": 109 } } }\n\n--\x3e\n  <table *ngIf="details" class="table table-striped table-hover mt-2">\n    <tr *ngFor="let p of who; let idx = index">\n      <td class="pointer" (click)="openPersonModal(involvedModal, idx)">\n        <fa-icon *ngIf="p.id>0" [icon]="faCheck" [fixedWidth]="true" class="text-success me-2" title="Hentet fra medlemssystemet"></fa-icon>\n        <fa-icon *ngIf="p.id<1" [icon]="faExclamation" [fixedWidth]="true" class="text-danger me-2" title="Ukjent person"></fa-icon>\n        <strong>\n          <nlf-resolve-lungo-person [person_id]="p.id" [tmp_name]="p.tmp_name" [link]="false" [avatar]="true"></nlf-resolve-lungo-person>\n        </strong>\n\n      </td>\n      <td>\n        <fa-icon *ngIf="p.fu" [icon]="faExclamation" [fixedWidth]="true" class="text-danger"></fa-icon>\n      </td>\n      <td>\n        Summary goes here\n      </td>\n      <td>\n        <span *ngIf="!!p.data && 1==9">\n          <nlf-resolve-lungo-license *ngFor="let l of p.data.licenses" [license_id]="l.id" link="false" long="false"></nlf-resolve-lungo-license>\n          <nlf-resolve-lungo-function *ngFor="let fid of p.data.functions" [function_id]="fid" show_org="true" link="false"\n            long="false"></nlf-resolve-lungo-function>\n        </span>\n      </td>\n      <td>\n        <fa-icon *ngIf="!disabled" class="pointer" (click)="onRemove({id:p.id})" [icon]="faTimes" [fixedWidth]="true"></fa-icon>\n      </td>\n    </tr>\n\n  </table>\n\n  \x3c!--<fa-icon (click)="openPersonModal(involvedModal, idx)" [icon]="id-card-o" [fixedWidth]="true"></fa-icon>--\x3e\n\n  \x3c!-- /dataReady --\x3e\n</span>\n\n\x3c!-- MODAL --\x3e\n<ng-template #involvedModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      <nlf-resolve-lungo-person [person_id]="modalPerson.id" [tmp_name]="modalPerson.tmp_name" link="false" avatar="false"></nlf-resolve-lungo-person>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row">\n      <div class="col-xs-12 col-md-12">\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.ph" id="ph">\n          <label class="form-check-label" for="ph">\n            Permanent Hoppforbud\n          </label>\n        </div>\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.fu" id="fu">\n          <label class="form-check-label" for="fu">\n            Farlig Ukontrollert (FU)\n          </label>\n        </div>\n      </div>\n    </div>\n    \x3c!-- AIRCRAFTS --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <span *ngFor="let aircraft of observation.aircrafts">\n          <button class="btn btn-outline-secondary mx-1 my-1">{{ aircraft.callsign }}</button>\n          \x3c!--\n              <button [disabled]="!observation.acl_user.w" *ngIf="getModalInvolvedIndex(person.id) > -1" (click)="modalToggleInvolved(person)" class="btn btn-success mx-1 my-1">\n                <span *ngIf="person.id > 0">\n                  <nlf-resolve-lungo-person [person_id]="person.id"></nlf-resolve-lungo-person>\n                </span>\n                <span *ngIf="person.id < 0">{{ person.tmp_name }}</span>\n              </button>\n              <button [disabled]="!observation.acl_user.w" *ngIf="getModalInvolvedIndex(person.id) < 0" (click)="modalToggleInvolved(person)" class="btn btn-outline-secondary mx-1 my-1">\n                <span *ngIf="person.id > 0">\n                  <nlf-resolve-lungo-person [person_id]="person.id"></nlf-resolve-lungo-person>\n                </span>\n                <span *ngIf="person.id < 0">{{ person.tmp_name }}</span>\n              </button>\n              --\x3e\n        </span>\n      </div>\n    </div>\n\n    \x3c!-- WHAT ROLES --\x3e\n    <div class="col-md-6">\n      <div class="btn-group btn-group-toggle" data-toggle="buttons">\n        <label class="btn btn-secondary active">\n          <input type="radio" name="options" id="option1" autocomplete="off" checked> Pilot In Command\n        </label>\n        <label class="btn btn-secondary">\n          <input type="radio" name="options" id="option2" autocomplete="off"> First Officer\n        </label>\n        <label class="btn btn-secondary">\n          <input type="radio" name="options" id="option3" autocomplete="off"> PAX\n        </label>\n      </div>\n    </div>\n    <div class="col-md-6">\n      <div class="btn-group btn-group-toggle" data-toggle="buttons">\n        <label class="btn btn-secondary active">\n          <input type="radio" name="options" id="option1" autocomplete="off" checked> Student\n        </label>\n        <label class="btn btn-secondary">\n          <input type="radio" name="options" id="option2" autocomplete="off"> Instructor\n        </label>\n      </div>\n    </div>\n    \x3c!--Aktivitet, Flytype, utsprangsh\xf8yde --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Aktivitet</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="jump_activity" activity="fallskjerm" [(initialTags)]="modalPerson.data.activity"\n            [disabled]="disabled">\n          </nlf-ors-editor-tag>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aircraft">Flytype</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aircraft_types" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.aircraft" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="altitude">Utsprangsh\xf8yde</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="altitude" [(ngModel)]="modalPerson.data.altitude">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Hovedskjerm, st\xf8rrelse, erfaring --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="mainCanopy">Hovedskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="main_canopies" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.mainCanopy"\n            [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="mainCanopySize" [(ngModel)]="modalPerson.data.gear.mainCanopySize">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopyExperience">Erfaring Hovedskjerm</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="mainCanopyExperience" [(ngModel)]="modalPerson.data.gear.mainCanopyExperience">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Reserve, st\xf8rrelse mk, pakkedato --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="reserveCanopy">Reserveskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="reserve_canopies" activity="fallskjerm" [disabled]="disabled"\n            [(tagString)]="modalPerson.data.gear.reserveCanopy">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="reserveCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="reserveCanopySize" [(ngModel)]="modalPerson.data.gear.reserveCanopySize">\n        </div>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <label for="rigger">MK</label>\n        \x3c!--<input class="form-control" type="text" id="rigger" [(ngModel)]="modalPerson.data.gear.rigger">--\x3e\n        <nlf-ors-editor-people id="rigger" [maxItems]="1" [who]="modalPerson.data.gear.rigger" [details]="false" path="involved.{{modalIndex}}.data.gear.rigger"\n          [disabled]="disabled"></nlf-ors-editor-people>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n\n          <label for="riggerDate">Pakkedato</label>\n          <nlf-ors-editor-date [disabled]="disabled" id="riggerDate" [(date)]="modalPerson.data.gear.riggerDate"></nlf-ors-editor-date>\n          \x3c!--<input class="form-control" placeholder="yyyy-mm-dd" name="dp" [(ngModel)]="modalPerson.data.gear.riggerDate"\n              ngbDatepicker #d="ngbDatepicker">--\x3e\n        </div>\n      </div>\n    </div>\n    \x3c!-- Selet\xf8y, erfaring, n\xf8d\xe5pner --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="harness">Selet\xf8y</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="harness_types" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.harness"\n            [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="harnessExperience">Erfaring selet\xf8y</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="harnessExperience" [(ngModel)]="modalPerson.data.gear.harnessExperience">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aad">N\xf8d\xe5pner</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aad_types" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.aad"\n            [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Annet --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label for="other">Annet utstyr</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="other_equipment" activity="fallskjerm" [(initialTags)]="modalPerson.data.gear.other"\n            [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      Person: {{ modalPerson | json }}\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalInvolvedUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},79169:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n\n  <tag-input [(ngModel)]="items" (onAdd)="onAdd($event)" (onRemove)="onRemove($event)" theme=\'bootstrap\' [onlyFromAutocomplete]="false" [displayBy]="\'full_name\'" [identifyBy]="\'id\'" placeholder="Ny person" secondaryPlaceholder="Legg til"\n    [maxItems]="maxItems" [disable]="disabled">\n\n    <tag-input-dropdown [zIndex]="99999" [showDropdownIfEmpty]="false" keepOpen="false" [displayBy]="\'full_name\'" [identifyBy]="\'id\'" focusFirstElement="true" [autocompleteObservable]=\'requestAutocompleteItems\'>\n    </tag-input-dropdown>\n\n  </tag-input>\n\n\n  \x3c!--\n  { "id": 301041, "data": { "date": "2019-02-05T19:21:06.096Z",\n  "licenses": [ { "id": 8948522, "status_id": 3, "status_date": "2018-05-24T13:46:49.013000Z", "expiry": "2018-12-31T00:00:00.000000Z", "type_id": 205519, "type_name": "Basis" } ],\n  "functions": [ 20786409, 20786865, 22458282, 25428769 ],\n  "private": { "default_club": 22976, "default_activity": 109 } } }\n\n--\x3e\n  <table *ngIf="details" class="table table-striped table-hover mt-2">\n    <tr *ngFor="let p of who; let idx = index">\n      <td class="pointer" (click)="openPersonModal(involvedModal, idx)">\n        <fa-icon *ngIf="p.id>0" [icon]="faCheck" [fixedWidth]="true" class="text-success me-2" title="Hentet fra medlemssystemet"></fa-icon>\n        <fa-icon *ngIf="p.id<1" [icon]="faExclamation" [fixedWidth]="true" class="text-danger me-2" title="Ukjent person"></fa-icon>\n        <strong>\n          <nlf-resolve-lungo-person [person_id]="p.id" [tmp_name]="p.tmp_name" [link]="false" [avatar]="true"></nlf-resolve-lungo-person>\n        </strong>\n\n      </td>\n      <td>\n        <fa-icon *ngIf="p.fu" [icon]="faExclamation" [fixedWidth]="true" class="text-danger"></fa-icon>\n      </td>\n      <td>\n        Summary\n      </td>\n      <td>\n        <span *ngIf="!!p.data && 1==9">\n          <nlf-resolve-lungo-license *ngFor="let l of p.data.licenses" [license_id]="l.id" link="false" long="false"></nlf-resolve-lungo-license>\n          <nlf-resolve-lungo-function *ngFor="let fid of p.data.functions" [function_id]="fid" show_org="true" link="false" long="false"></nlf-resolve-lungo-function>\n        </span>\n      </td>\n      <td>\n        <fa-icon *ngIf="!disabled" class="pointer" (click)="onRemove({id:p.id})" [icon]="faTimes" [fixedWidth]="true"></fa-icon>\n      </td>\n    </tr>\n\n  </table>\n\n  \x3c!--<fa-icon (click)="openPersonModal(involvedModal, idx)" [icon]="id-card-o" [fixedWidth]="true"></fa-icon>--\x3e\n\n  \x3c!-- /dataReady --\x3e\n</span>\n\n\x3c!-- MODAL --\x3e\n<ng-template #involvedModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      <nlf-resolve-lungo-person [person_id]="modalPerson.id" [tmp_name]="modalPerson.tmp_name" link="false" avatar="false"></nlf-resolve-lungo-person>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row mb-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.ph" id="ph">\n          <label class="form-check-label" for="ph">\n            Permanent Hoppforbud\n          </label>\n        </div>\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.fu" id="fu">\n          <label class="form-check-label" for="fu">\n            Farlig Ukontrollert (FU)\n          </label>\n        </div>\n      </div>\n    </div>\n    \x3c!--Hopptype, \xe5r i sporten og antall hopp--\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="whereAt">Hopptype</label>\n          <nlf-ors-editor-tag-string fc="true" allowAdd="true" preload="false" group="jump_types" activity="fallskjerm" [(tagString)]="modalPerson.data.jumpType" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Aktivitet</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="jump_activity" activity="fallskjerm" [(initialTags)]="modalPerson.data.activity" [disabled]="disabled">\n          </nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n\n    \x3c!--Aktivitet, Flytype, utsprangsh\xf8yde --\x3e\n    <div class="row">\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="yearsinsport">\xc5r i sporten</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="yearsinsport" [(ngModel)]="modalPerson.data.yearinsport">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="jups">Antall hopp</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="jups" [(ngModel)]="modalPerson.data.totalJumps">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aircraft">Flytype</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aircraft_types" activity="fallskjerm" [(tagString)]="modalPerson.data.aircraft" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="altitude">Utsprangsh\xf8yde</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="altitude" [(ngModel)]="modalPerson.data.altitude">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Hovedskjerm, st\xf8rrelse, erfaring --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="mainCanopy">Hovedskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="main_canopies" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.mainCanopy" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="mainCanopySize" [(ngModel)]="modalPerson.data.gear.mainCanopySize">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopyExperience">Erfaring Hovedskjerm</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="mainCanopyExperience" [(ngModel)]="modalPerson.data.gear.mainCanopyExperience">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Reserve, st\xf8rrelse mk, pakkedato --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="reserveCanopy">Reserveskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="reserve_canopies" activity="fallskjerm" [disabled]="disabled" [(tagString)]="modalPerson.data.gear.reserveCanopy">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="reserveCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="reserveCanopySize" [(ngModel)]="modalPerson.data.gear.reserveCanopySize">\n        </div>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <label for="rigger">MK</label>\n        \x3c!--<input class="form-control" type="text" id="rigger" [(ngModel)]="modalPerson.data.gear.rigger">--\x3e\n        <nlf-ors-editor-people id="rigger" [maxItems]="1" [who]="modalPerson.data.gear.rigger" [details]="false" path="involved.{{modalIndex}}.data.gear.rigger" [disabled]="disabled"></nlf-ors-editor-people>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n\n          <label for="riggerDate">Pakkedato</label>\n          <nlf-ors-editor-date [disabled]="disabled" id="riggerDate" [(date)]="modalPerson.data.gear.riggerDate"></nlf-ors-editor-date>\n          \x3c!--<input class="form-control" placeholder="yyyy-mm-dd" name="dp" [(ngModel)]="modalPerson.data.gear.riggerDate"\n              ngbDatepicker #d="ngbDatepicker">--\x3e\n        </div>\n      </div>\n    </div>\n    \x3c!-- Selet\xf8y, erfaring, n\xf8d\xe5pner --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="harness">Selet\xf8y</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="harness_types" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.harness" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="harnessExperience">Erfaring selet\xf8y</label>\n          <input [disabled]="disabled" class="form-control" type="number" id="harnessExperience" [(ngModel)]="modalPerson.data.gear.harnessExperience">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aad">N\xf8d\xe5pner</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aad_types" activity="fallskjerm" [(tagString)]="modalPerson.data.gear.aad" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Annet --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label for="other">Annet utstyr</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="other_equipment" activity="fallskjerm" [(initialTags)]="modalPerson.data.gear.other" [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      Person: {{ modalPerson | json }}\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalInvolvedUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},45:de=>{"use strict";de.exports='<div class="row">\n\n  <div class="col-sm-10">\n\n    \x3c!-- Potential --\x3e\n    <div class="row">\n      <div class="col-sm-4 lead">\n        Potensiell:\n      </div>\n      <div class="col-sm-4">\n        <ngb-rating (hover)="onHoverPotential($event)" (leave)="onHoverLeave()" [readonly]="!observation.acl_user.w" [(rate)]="observation.rating.potential" [starTemplate]="t" (rateChange)="onChange()" max="8"></ngb-rating>\n      </div>\n      <div class="col-sm-4">\n        <span *ngIf="!hover_potential">{{ observation.rating.potential | nlfOrsRating:observation._model.type }}</span>\n        <span *ngIf="!!hover_potential">{{ hover_potential | nlfOrsRating:observation._model.type }}</span>\n      </div>\n    </div>\n\n    \x3c!-- Actual --\x3e\n    <div class="row">\n      <div class="col-sm-4 lead">\n        Faktisk:\n      </div>\n      <div class="col-sm-4">\n        <ngb-rating (hover)="onHoverActual($event)" (leave)="onHoverLeave()" [readonly]="!observation.acl_user.w" [(rate)]="observation.rating.actual" [starTemplate]="t" (rateChange)="onChange()" max="8"></ngb-rating>\n      </div>\n      <div class="col-sm-4">\n        <span *ngIf="!hover_actual">{{ observation.rating.actual | nlfOrsRating:observation._model.type }}</span>\n        <span *ngIf="!!hover_actual">{{ hover_actual | nlfOrsRating:observation._model.type }}</span>\n      </div>\n    </div>\n\n  </div>\n\n  \x3c!-- Caluclated rating --\x3e\n  <div class="col-sm-2">\n    <h1>\n      \x3c!--<nlf-resolve-observation-rating [rating]="observation.rating"></nlf-resolve-observation-rating>--\x3e\n      <span class="badge bg-{{ observation.rating | nlfOrsRatingCalc | nlfDynamicColor }}">{{ observation.rating | nlfOrsRatingCalc }}</span>\n    </h1>\n  </div>\n\n</div>\n\n\x3c!-- Warning --\x3e\n<div *ngIf="observation.rating.potential < observation.rating.actual" class="row">\n  <div class="col-md-12">\n    <ngb-alert [dismissible]="true" type="warning">\n      <fa-icon [icon]="faExclamationTriangle"></fa-icon> Faktisk er h\xf8yere enn potensiell.\n    </ngb-alert>\n  </div>\n</div>\n\n\x3c!-- Tempalte for rating dots --\x3e\n<ng-template #t let-fill="fill" let-index="index">\n  <span class="rating-star" [class.rating-filled]="fill === 100" [class.rating-bad]="index < 5 && index >= 2" [class.rating-worst]="index >= 5">&#9679;</span>\n</ng-template>\n'},48672:de=>{"use strict";de.exports='<div class="form-group">\n    <select class="form-select" placeholder="Velg rolle i observasjonen"\n        name="reporter-role" \n        id="reporter-role-id" \n        class="form-control"\n        [(ngModel)]="role"\n        (ngModelChange)="update($event)"\n        [disabled]="disable">\n        <option value="" disabled>--Velg--</option>\n        <option *ngFor="let role of config[activity].observation.roles_in_observation" [value]="role.key">{{ role.label }}</option>\n    </select>\n</div>'},26864:de=>{"use strict";de.exports='<h3>Route</h3>\n\x3c!--\n<agm-map [latitude]="latitude" [longitude]="longitude" [scrollwheel]="false" [zoom]="zoom">\n  <agm-polyline *ngFor="let polyline of polylines;let i = index;" [strokeColor]="polyline.color">\n    <agm-polyline-point *ngFor="let point of polyline.path" [latitude]="point.latitude" [longitude]="point.longitude">\n    </agm-polyline-point>\n  </agm-polyline>\n</agm-map>\n--\x3e'},38472:de=>{"use strict";de.exports='<ng-select\n[ngClass]="{\'form-control\': fc}"\n[id]="element_id"\n[disabled]="disabled"\nclass="w-auto mw-100 form-control"\n[items]="airports$ | async"\n[addTag]="false"\n[multiple]="false"\n[hideSelected]="true"\n[loading]="airportsLoading"\n[typeahead]="airportsInput$"\n[(ngModel)]="airport"\n[clearable]="true"\nbindLabel="icao"\nautoCapitalize="on"\nplaceholder="Skriv for \xe5 s\xf8ke flyplass"\nnotFoundText="Fant ikke noe"\n(change)="onChange($event)"\n>\n\n  <ng-template ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.icao}}</span>\n    </div>\n    <small><b>Navn:</b> {{item.name}} | <b>Sted:</b> {{ item.municipality }} | <b>Type:</b> {{ item.type }}</small>\n  </ng-template>\n\n</ng-select>\n'},1824:de=>{"use strict";de.exports='\n<nlf-ors-editor-tag-e5x-render [classes]="classes" *ngIf="!!value" [showLabel]="showLabel" [items]="value"\n    [path]="e5xPath">\n</nlf-ors-editor-tag-e5x-render>\n<nlf-ui-component-spinner size="1" *ngIf="!value"></nlf-ui-component-spinner>'},14776:de=>{"use strict";de.exports='<span *ngIf="(!!label || !!customLabel) && showLabel">{{ customLabel || label }}: </span>\n<span *ngFor="let l of arr" class="me-1" [ngClass]="classes">{{ l }}</span>\n<span *ngIf="!!unit">{{ unit }}</span>\n'},17762:de=>{"use strict";de.exports='<div class="form-group">\n\n  <label [for]="path">{{ customLabel || label }}\n    <span *ngIf="!!unit">[{{ unit }}]</span>\n    <fa-icon (click)="openModal(modalHelp)" *ngIf="show_help" class="ms-1 pointer" [icon]="faQuestion"></fa-icon>\n  </label>\n\n  <span *ngIf="!attribute">\n    <nlf-ui-component-spinner></nlf-ui-component-spinner>\n  </span>\n\n  \x3c!-- --\x3e\n  <ng-container *ngIf="!!attribute">\n\n    \x3c!-- Simple within limits, all populated --\x3e\n    <ng-container *ngIf="choices.length>0 && !search">\n      <nlf-ors-editor-tag-static (change)="debouncedUpdate($event)" [disable]="disabled" [(items)]="items"\n        [tags]="choices" [multiple]="(attribute.max>1 || attribute.max===-1) ? true : false"\n        [max]="attribute.max>1 ? attribute.max : undefined" [id]="path">\n      </nlf-ors-editor-tag-static>\n    </ng-container>\n    \x3c!-- /END simple tags --\x3e\n\n    \x3c!-- SEARCH MANY --\x3e\n    <ng-container *ngIf="search">\n      <ng-select [id]="path" [disabled]="disabled" class="form-control w-auto mw-100" [items]="tags$ | async"\n        [typeahead]="tagsInput$" [addTag]="false" [multiple]="(attribute.max>1 || attribute.max===-1) ? true : false"\n        [maxSelectedItems]="attribute.max>1 ? attribute.max : undefined" [hideSelected]="true"\n        [(ngModel)]="selectedTags" (change)="onChange($event)" [clearable]="true" bindLabel="label" labelForId="id"\n        autoCapitalize="off" placeholder="Skriv for \xe5 s\xf8ke" notFoundText="Fant ikke noe">\n        <ng-template ng-option-tmp let-item="item" let-search="searchTerm">\n          <div>\n            <span [ngOptionHighlight]="search">{{item.label}}</span>\n          </div>\n          <small>{{ item.descr }}</small>\n        </ng-template>\n      </ng-select>\n    </ng-container>\n    \x3c!-- /END SEARCH MANY --\x3e\n\n    \x3c!-- Just an Input --\x3e\n    <ng-container *ngIf="!search && !attribute.choices_key && choices.length===0 && attribute.max===1">\n\n      \x3c!-- Number --\x3e\n      <span *ngIf="!!attribute.restrictions">\n        <input\n          *ngIf="attribute.restrictions.type===\'decimal\' || attribute.restrictions.type===\'integer\' || attribute.restrictions.type===\'int\'"\n          type="number" [max]="attribute.restrictions.max" [min]="attribute.restrictions.min"\n          [step]="attribute.restrictions.inc" [disabled]="disabled" (change)="debouncedUpdate($event)"\n          [(ngModel)]="items" [id]="path" class="form-control">\n\n        \x3c!-- String --\x3e\n        <input *ngIf="attribute.restrictions.type===\'string\'" type="{{ type || \'text\'}}"\n          [max]="attribute.restrictions.max" [min]="attribute.restrictions.min || 0" [disabled]="disabled"\n          (change)="debouncedUpdate($event)" [(ngModel)]="items" [id]="path" class="form-control">\n      </span>\n\n      <span *ngIf="!attribute.restrictions">\n        \x3c!-- String --\x3e\n        <input *ngIf="attribute.type===\'string\'" type="{{ type || \'text\'}}" [disabled]="disabled"\n          (change)="debouncedUpdate($event)" [(ngModel)]="items" [id]="path" class="form-control">\n        \x3c!-- Number --\x3e\n        <input *ngIf="attribute.type!=\'string\'" type="number" [disabled]="disabled" (change)="debouncedUpdate($event)"\n          [(ngModel)]="items" [id]="path" class="form-control">\n      </span>\n\n\n    </ng-container>\n    \x3c!-- /END Just an input --\x3e\n\n  </ng-container>\n  \x3c!-- DEBUG:\n  <code>{{ items | json }}</code>\n  <code>{{ selectedTags | json }}</code>\n  --\x3e\n</div>\n\n\n\x3c!-- RUNWAY MODAL --\x3e\n<ng-template #modalHelp>\n  <div class="modal-header">\n    <h4 class="modal-customLabel pull-left">\n      {{ customLabel || label }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    \x3c!-- CHOICES DESCR --\x3e\n    <div class="row my-3" *ngIf="!!attribute.choices_key && !!choices">\n      <div class="col-md-12">\n        <dl>\n          <div *ngFor="let choice of choices; let idx = index">\n            <dt>{{ choice.label }} <span class="badge bg-secondary" *ngIf="!!choice.icao">{{ choice.icao }}</span>\n            </dt>\n            <dd>{{ choice.descr }}</dd>\n            <dd>{{ choice.expl }}</dd>\n          </div>\n        </dl>\n      </div>\n    </div>\n\n    \x3c!-- ATTRIBUTE SUMMARY --\x3e\n    <div *ngIf="!!attribute" class="row">\n      <div class="col-md-12">\n        <div class="alert alert-info">\n          <div>Attributt: {{ attribute.attribute }}</div>\n          <div>Attributt Id: {{ attribute.attribute_id }}</div>\n          <div>Data type: {{ attribute.type }}</div>\n          <div>Antall: {{ attribute.min }} - {{ attribute.max }}</div>\n          <div *ngIf="!!attribute.default">Default: {{ attribute.default }}</div>\n          <div *ngIf="!!attribute.restrictions">\n            <div>Type: {{ attribute.restrictions.type }}</div>\n            <div>Min: {{ attribute.restrictions.min }}</div>\n            <div>Max: {{ attribute.restrictions.max }}</div>\n          </div>\n          <div>RIT version: {{ attribute.rit_version }}</div>\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Ferdig\n    </button>\n  </div>\n</ng-template>\n'},18501:de=>{"use strict";de.exports='<ng-select #select\n[ngClass]="{\'form-control\': fc}"\n[disabled]="disabled"\nid="{{elementId}}"\n[items]="tags$ | async"\nbindLabel="full_name"\n[addTag]="allowAdd"\n[markFirst]="false"\n[multiple]="false"\n[maxSelectedItems]="limit"\n[hideSelected]="true"\n[loading]="tagsLoading"\n[typeahead]="tagsInput$"\n[(ngModel)]="selectedTags"\n(change)="onChange($event)"\n[groupValue]="group"\nautoCapitalize="on"\naddTagText="+Legg til midlertidig navn"\n[placeholder]="placeholder"\n[notFoundText]="notFoundText">\n  <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.full_name}}</span>\n    </div>\n  </ng-template>\n</ng-select>\n\x3c!--class="w-auto mw-100"--\x3e\n'},70088:de=>{"use strict";de.exports='<ng-select #select\n[ngClass]="{\'form-control\': fc}"\n[disabled]="disabled"\nid="{{elementId}}"\n[items]="tags$ | async"\nbindLabel="full_name"\n[addTag]="allowAdd"\n[markFirst]="false"\n[multiple]="true"\n[maxSelectedItems]="limit"\n[clearable]="true"\n[hideSelected]="true"\n[loading]="tagsLoading"\n[typeahead]="tagsInput$"\n[(ngModel)]="selectedTags"\n(add)="onAdd($event)"\n(clear)="onClear($event)"\n(remove)="onRemove($event)"\n[groupValue]="group"\nautoCapitalize="on"\naddTagText="+Legg til midlertidig navn"\nplaceholder="Skriv for \xe5 s\xf8ke"\nnotFoundText="Fant ikke noe">\n  <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.full_name}}</span>\n    </div>\n  </ng-template>\n</ng-select>\n\x3c!--class="w-auto mw-100"--\x3e\n<pre *ngIf="debug">{{ persons | json }}</pre>\n'},47363:de=>{"use strict";de.exports='<ng-select\n  [id]="element_id"\n  [disabled]="disable"\n  class="w-auto mw-100"\n  [ngClass]="classes"\n  [items]="tags"\n  [addTag]="false"\n  [multiple]="multiple"\n  [maxSelectedItems]="max"\n  [hideSelected]="true"\n  [(ngModel)]="selectedTags"\n  (change)="onChange($event)"\n  [clearable]="true"\n  bindLabel="label"\n  labelForId="id"\n  autoCapitalize="on"\n  placeholder="Skriv for \xe5 s\xf8ke"\n  notFoundText="Fant ikke noe">\n\n  <ng-template ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.label}}</span>\n    </div>\n    <small *ngIf="description">{{ item.descr }}</small>\n    \x3c!--<small *ngIf="explanation">{{ item.ex }}</small>--\x3e\n  </ng-template>\n\n</ng-select>\n'},37757:de=>{"use strict";de.exports='<ng-select \n[ngClass]="{\'form-control\': fc}"\n[disabled]="disabled"\nclass="w-auto mw-100"\nid="{{elementId}}"\n[items]="tags$ | async"\nbindLabel="tag"\n[addTag]="allowAdd" \n[multiple]="false"\n[hideSelected]="true"\n[loading]="tagsLoading"\n[typeahead]="tagsInput$"\n[(ngModel)]="selectedTags"\n(change)="onChange($event)"\n[groupValue]="group"\nautoCapitalize="on"\naddTagText="+Opprett ny tag"\nplaceholder="Skriv for \xe5 s\xf8ke" \nnotFoundText="Fant ikke noe">\n  <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.tag}}</span>\n    </div>\n    <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity }}</small>\n  </ng-template>\n</ng-select>\n'},26213:de=>{"use strict";de.exports='<ng-select\n[ngClass]="{\'form-control\': fc}"\n[disabled]="disabled"\nclass="w-auto mw-100"\nid="{{elementId}}"\n[items]="tags$ | async"\nbindLabel="tag"\n[addTag]="allowAdd" \n[multiple]="true"\n[hideSelected]="true"\n[loading]="tagsLoading"\n[typeahead]="tagsInput$"\n[(ngModel)]="selectedTags"\n(add)="onAdd($event)"\n(remove)="onRemove($event)"\n(clear)="onClear($event)"\n(blur)="onFocusOut($event)"\n(search)="onSearch($event)"\n[maxSelectedItems]="limit"\n[groupValue]="group"\n\nautoCapitalize="on"\naddTagText="+Opprett ny tag"\nplaceholder="Skriv for \xe5 s\xf8ke" \nnotFoundText="Fant ikke noe">\n  <ng-template *ngIf="details" ng-option-tmp let-item="item" let-search="searchTerm">\n    <div>\n      <span [ngOptionHighlight]="search">{{item.tag}}</span>\n    </div>\n   \x3c!-- <small><b>Freq:</b> {{item.freq}} | <b>Group</b> {{ item.group }} | <b>Activity</b> {{ item.activity }}</small>--\x3e\n  </ng-template>\n</ng-select>\n'},64834:de=>{"use strict";de.exports='<div *ngIf="observation.club === 781765" class="alert alert-warning" role="alert">\n  Klubben denne rapporten ligger p\xe5 er merket som en testklubb. Det betyr at den er merket som en test, og ikke vil behandlet av Luftfartstilsynet dersom den sendes inn.\n</div>\n'},26925:de=>{"use strict";de.exports='<input class="form-control" type="text" [(ngModel)]="observation.title" (keyup)="onChangeDebounced()">'},95602:de=>{"use strict";de.exports='<div *ngIf="!!observation && !!config" class="radio">\n  <span *ngFor="let t of config[observation._model.type].observation.typesArr">\n\n    <div class="form-check">\n      <input [disabled]="!observation.acl_user.w"\n      [(ngModel)]="observation.type"\n      class="form-check-input"\n      (change)="onChange()"\n      type="radio"\n      name="type{{ t }}"\n      id="type-{{ t }}"\n      [value]="t"\n      [checked]="t===observation.type"\n      [ngbTooltip]="title ? config[observation._model.type].observation.types[t][\'title\'] : \'\'">\n      <label class="form-check-label" for="type-{{ t }}">\n        {{ t | nlfOrsType:observation._model.type }}\n      </label>\n    </div>\n  </span>\n</div>\n'},56850:de=>{"use strict";de.exports='<span class="badge bg-secondary pointer mx-1" (click)="openModal(modal)">\n  <fa-icon [icon]="faLock"></fa-icon> Tilgang\n</span>\n\n\n\x3c!-- ROUTE MODAL --\x3e\n<ng-template #modal>\n  <div class="modal-header">\n    <h4 class="modal-title">\n      <fa-icon [icon]="faLock"></fa-icon> Tilgangskontroll\n    </h4>\n\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n\n  <ngb-alert *ngIf="!!message" [type]="message.type" (close)="message = undefined">{{ message.msg }}</ngb-alert>\n\n\n    <div class="row">\n      <div class="col-sm-6"></div>\n      <div class="col-sm-3">read</div>\n      <div class="col-sm-3">write</div>\n    </div>\n\n    <div class="row" *ngFor="let person_id of acl_persons; let idx = index; odd as isOdd"  [class.bg-light]="isEven">\n\n      <div class="col-sm-6">\n        <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person><fa-icon *ngIf="acl_list[\'execute\'].indexOf(person_id)>-1" class="ms-2 text-danger" [icon]="faLock"></fa-icon>\n      </div>\n      <div class="col-sm-3">\n        <div class="form-check">\n          <input (click)="toggleAcl(person_id, \'read\', $event)" class="form-check-input" [disabled]="acl_list[\'execute\'].indexOf(person_id)>-1" type="checkbox" [checked]="acl_list[\'read\'].indexOf(person_id)>-1 ? true : false" id="eeew">\n          <label class="form-check-label" for="eeew">\n            read\n          </label>\n        </div>\n      </div>\n\n      <div class="col-sm-3">\n        <div class="form-check">\n          <input (click)="toggleAcl(person_id, \'write\', $event)" class="form-check-input" [disabled]="acl_list[\'execute\'].indexOf(person_id)>-1" type="checkbox" [checked]="acl_list[\'write\'].indexOf(person_id)>-1 ? true : false" id="write">\n          <label class="form-check-label" for="write">\n            write\n          </label>\n        </div>\n      </div>\n    </div>\n\n    <div class="clearfix my-3"></div>\n\n    <div class="row my-3">\n      <div class="col-sm-10">\n        <nlf-ors-editor-tag-person [(person)]="new_person" [activity]="model" [fc]="true" [allowAdd]="false" placeholder="S\xf8k etter person"></nlf-ors-editor-tag-person>\n      </div>\n      <div class="col-sm-2">\n        <button (click)="addPerson()" class="btn btn-secondary">\n          <fa-icon [icon]="faPlus"></fa-icon> Legg til\n        </button>\n      </div>\n      \x3c!--\n        <div class="input-group m-3 me-auto col-sm-12">\n          <nlf-ors-editor-tag-person [(person)]="new_person" [activity]="model" [fc]="true" [allowAdd]="false"></nlf-ors-editor-tag-person>\n          <span class="input-group-text" id="basic-addon2"><fa-icon [icon]="faPlus"></fa-icon> Legg til</span>\n        </div>\n      --\x3e\n    </div>\n  </div>\n  <div class="modal-footer">\n    \x3c!--<button class="btn btn-outline-dark me-auto" (click)="modalRef.dismiss()">Avbryt</button>--\x3e\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faSave"></fa-icon> Ferdig\n    </button>\n  </div>\n</ng-template>\n'},2467:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n\n  \x3c!--\n<div class="bg-light">\n\n  <div class="row">\n\n      <div class="d-flex flex-row m-3 align-middle">\n          <div class="bg-light rounded-start h1">{{ wx.wind.avg }}</div>\n          <div class="d-flex flex-column">\n              <div class="p-1 bg-danger small rounded-top">{{ wx.wind.max }}</div>\n              <div class="p-1 bg-success small rounded-bottom">{{ wx.wind.min }}</div>\n            </div>\n      </div>\n\n\n    Vind: {{ wx.wind.avg }} (max {{ wx.wind.max }} min {{ wx.wind.min }})\n    Temperatur: {{ wx.temp.ground }}&deg;C Utsprangsh\xf8yde: {{\xa0wx.temp.altitude }}\n    Skybase: {{\xa0wx.clouds.base }}Fot\n    Mer:\n    <wi *ngIf="wx.wind.turbulence" name="tornado"></wi>\n    <wi *ngIf="wx.wind.gusting" name="strong-wind"></wi>\n    <wi *ngIf="wx.clouds.rain" name="rain"></wi>\n    <wi *ngIf="wx.clouds.snow" name="snow"></wi>\n    <wi *ngIf="wx.clouds.fog" name="fog"></wi>\n    <wi *ngIf="wx.clouds.hail" name="hail"></wi>\n    <wi *ngIf="wx.clouds.thunder" name="lightning"></wi>\n    Bekrivelse\n    <div>{{ wx.description }}</div>\n  </div>\n\n  <div class="d-grid gap-2">\n    <button (click)="openModal(weatherModal)" class="btn btn-primary my-2">\n      <fa-icon [icon]="faCloud"></fa-icon>Beskriv v\xe6ret\n    </button>\n  </div>\n  {{ wx | json }}\n</div>\n--\x3e\n  <div class="row">\n    \x3c!-- Wind --\x3e\n    <div class="col-xs-12 col-md-4">\n      <p class="lead">Vind (knot)</p>\n      <div class="form-group">\n        <label for="windavg">Gjennomsnitt (kt)</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windavg"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.wind.avg">\n      </div>\n      <div class="form-group">\n        <label for="windmax">Max (kt)</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windmax"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.wind.max">\n      </div>\n      <div class="form-group">\n        <label for="windmin">Min (kt)</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windmin"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.wind.min">\n      </div>\n\n\n      <div class="d-grid mt-2 gap-2">\n        <button [disabled]="!observation.acl_user.w" (click)="wx.wind.turbulence=!wx.wind.turbulence;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.wind.turbulence ? \'btn-secondary\' : \'btn-outline-dark\'" id="turbulence">\n          <i class="wi wi-tornado"></i> Turbulens\n        </button>\n        <button [disabled]="!observation.acl_user.w" (click)="wx.wind.gusting=!wx.wind.gusting;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.wind.gusting ? \'btn-secondary\' : \'btn-outline-dark\'" id="gusting">\n          <i class="wi wi-strong-wind"></i> Gusting\n        </button>\n      </div>\n\n    </div>\n    \x3c!-- Clouds --\x3e\n    <div class="col-xs-12 col-md-4">\n      <p class="lead">Skybase (fot)</p>\n      <div class="form-group">\n        <label for="cloudbase">Min (fot)</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="cloudbase"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.clouds.base">\n      </div>\n\n      <div class="d-grid mt-2 gap-2">\n        <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.rain=!wx.clouds.rain;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.clouds.rain ? \'btn-secondary\' : \'btn-outline-dark\'">\n          <i class="wi wi-rain"></i> Regn\n        </button>\n        <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.fog=!wx.clouds.fog;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.clouds.fog ? \'btn-secondary\' : \'btn-outline-dark\'">\n          <i class="wi wi-fog"></i> T\xe5ke\n        </button>\n        <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.hail=!wx.clouds.hail;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.clouds.hail ? \'btn-secondary\' : \'btn-outline-dark\'">\n          <i class="wi wi-hail"></i> Hagl\n        </button>\n        <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.snow=!wx.clouds.snow;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.clouds.snow ? \'btn-secondary\' : \'btn-outline-dark\'">\n          <i class="wi wi-snow"></i> Sn\xf8\n        </button>\n        <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.thunder=!wx.clouds.thunder;debouncedUpdate()"\n          class="btn" [ngClass]="!!wx.clouds.thunder ? \'btn-secondary\' : \'btn-outline-dark\'">\n          <i class="wi wi-lightning"></i> Torden\n        </button>\n      </div>\n    </div>\n\n    \x3c!-- Temp --\x3e\n    <div class="col-xs-12 col-md-4">\n      <p class="lead">Temperatur (&deg;C)</p>\n      <div class="form-group">\n        <label for="tempfground">Bakken</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="tempground"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.temp.ground">\n      </div>\n      <div *ngIf="activity==\'fallskjerm\'" class="form-group">\n        <label for="tempexit">Utsprangsh\xf8yde</label>\n        <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="tempexit"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.temp.altitude">\n      </div>\n    </div>\n  </div>\n\n  \x3c!-- Beskrivelse --\x3e\n  <div class="row mt-3">\n    <div class="col-xs-12 col-md-12">\n      <div class="form-group">\n        <label class="lead" for="other">Kort beskrivelse av v\xe6ret</label>\n        <textarea [disabled]="!observation.acl_user.w" class="form-control" type="text" id="other" name="description"\n          (ngModelChange)="debouncedUpdate()" [(ngModel)]="wx.description"></textarea>\n      </div>\n    </div>\n  </div>\n\n</ng-container>\n\n\x3c!-- MODAL --\x3e\n<ng-template #weatherModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      V\xe6ret\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="row">\n      \x3c!-- Wind --\x3e\n      <div class="col-xs-12 col-md-4">\n        <p class="lead">Vind (knot)</p>\n        <div class="form-group">\n          <label for="windavg">Gjennomsnitt (kt)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windavg"\n            [(ngModel)]="wx.wind.avg">\n        </div>\n        <div class="form-group">\n          <label for="windmax">Max (kt)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windmax"\n            [(ngModel)]="wx.wind.max">\n        </div>\n        <div class="form-group">\n          <label for="windmin">Min (kt)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="windmin"\n            [(ngModel)]="wx.wind.min">\n        </div>\n\n\n        <div class="d-grid gap-2">\n          <button [disabled]="!observation.acl_user.w" (click)="wx.wind.turbulence=!wx.wind.turbulence"\n            class="btn" [ngClass]="!!wx.wind.turbulence ? \'btn-secondary\' : \'btn-outline-dark\'" id="turbulence">\n            <i class="wi wi-tornado"></i> Turbulens\n          </button>\n          <button [disabled]="!observation.acl_user.w" (click)="wx.wind.gusting=!wx.wind.gusting" class="btn"\n            [ngClass]="!!wx.wind.gusting ? \'btn-secondary\' : \'btn-outline-dark\'" id="gusting">\n            <i class="wi wi-strong-wind"></i> Gusting\n          </button>\n        </div>\n      </div>\n      \x3c!-- Clouds --\x3e\n      <div class="col-xs-12 col-md-4">\n        <p class="lead">Skybase (fot)</p>\n        <div class="form-group">\n          <label for="cloudbase">Min (kt)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="cloudbase"\n            [(ngModel)]="wx.clouds.base">\n        </div>\n\n        <div class="d-grid gap-2">\n          <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.rain=!wx.clouds.rain" class="btn"\n            [ngClass]="!!wx.clouds.rain ? \'btn-secondary\' : \'btn-outline-dark\'">\n            <i class="wi wi-rain"></i> Regn\n          </button>\n          <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.fog=!wx.clouds.fog" class="btn"\n            [ngClass]="!!wx.clouds.fog ? \'btn-secondary\' : \'btn-outline-dark\'">\n            <i class="wi wi-fog"></i> T\xe5ke\n          </button>\n          <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.hail=!wx.clouds.hail" class="btn"\n            [ngClass]="!!wx.clouds.hail ? \'btn-secondary\' : \'btn-outline-dark\'">\n            <i class="wi wi-hail"></i> Hagl\n          </button>\n          <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.snow=!wx.clouds.snow" class="btn"\n            [ngClass]="!!wx.clouds.snow ? \'btn-secondary\' : \'btn-outline-dark\'">\n            <i class="wi wi-snow"></i> Sn\xf8\n          </button>\n          <button [disabled]="!observation.acl_user.w" (click)="wx.clouds.thunder=!wx.clouds.thunder"\n            class="btn" [ngClass]="!!wx.clouds.thunder ? \'btn-secondary\' : \'btn-outline-dark\'">\n            <i name="wi wi-lightning"></i> Torden\n          </button>\n        </div>\n      </div>\n\n      \x3c!-- Temp --\x3e\n      <div class="col-xs-12 col-md-4">\n        <p class="lead">Temperatur (&deg;C)</p>\n        <div class="form-group">\n          <label for="tempfground">P\xe5 bakken (&deg;C)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="tempground"\n            [(ngModel)]="wx.temp.ground">\n        </div>\n        <div *ngIf="!!activity && activity===\'fallskjerm\'" class="form-group">\n          <label for="tempexit">P\xe5 utsprangsh\xf8yde (&deg;C)</label>\n          <input [disabled]="!observation.acl_user.w" class="form-control" type="number" id="tempexit"\n            [(ngModel)]="wx.temp.altitude">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Beskrivelse --\x3e\n    <div class="row mt-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="form-group">\n          <label for="other">Kort beskrivelse av v\xe6ret</label>\n          <textarea [disabled]="!observation.acl_user.w" class="form-control" type="text" id="other" name="description"\n            [(ngModel)]="wx.description"></textarea>\n        </div>\n      </div>\n    </div>\n\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faClose"></fa-icon>Avbryt\n    </button>\n    <button [disabled]="!observation.acl_user.w" class="btn btn-secondary" (click)="closeModal()">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>\n'},54245:de=>{"use strict";de.exports='<ng-container *ngIf="dataReady">\n  <form class="form-inline">\n    <div class="form-group">\n      <div class="input-group has-validation">\n        <input [ngClass]="{\'is-invalid\': dateError, \'is-valid\': !dateError }" type="text"\n          [disabled]="!observation.acl_user.w" class="form-control" placeholder="yyyy-mm-dd" name="dp"\n          [(ngModel)]="date" [maxDate]="getMaxDate()" (ngModelChange)="debouncedUpdate()" ngbDatepicker\n          #d="ngbDatepicker">\n\n        <button [disabled]="!observation.acl_user.w" class="btn btn-outline-secondary" (click)="d.toggle()"\n          type="button">\n          <fa-icon [icon]="faCalendar"></fa-icon>\n        </button>\n\n        <div id="validationServerUsernameFeedback" class="invalid-feedback">\n          <ng-container *ngIf="dateErrorType===\'future\'">\n            Du kan ikke sette dato i fremtiden for observasjonen den ble opprettet {{observation._created |\n            date:\'yyyy-MM-dd klokken HH:mm\':tz}} {{ tz }}\n          </ng-container>\n          <ng-container *ngIf="dateErrorType===\'format\'">\n            Feil datoformat, vennligst skriv inn p\xe5 formen "yyyy-mm-dd" eller velg fra nedtrekksmenyen\n          </ng-container>\n\n        </div>\n\n      </div>\n    </div>\n  </form>\n  <div class="row">\n    <div class="col-md-5">\n      <ngb-timepicker [readonlyInputs]="!observation.acl_user.w" [(ngModel)]="time"\n        (ngModelChange)="debouncedUpdate($event)"></ngb-timepicker>\n    </div>\n    <div class="col-md-4" style="align-self:\'center\';">{{ tz }}</div>\n  </div>\n  \x3c!--\n<hr> {{ date | json }} og {{ time | json }}\n<br> {{ maxDate }} {{ observation.when | json }}\n--\x3e\n</ng-container>'},56701:de=>{"use strict";de.exports='<div class="modal-header">\n  <h4 *ngIf="!!observation" class="modal-title pull-left">\n    #{{ observation.id }} Arbeidsflyt\n\n    \x3c!--<nlf-resolve-observation-tags [tags]="observation.tags" link="true" seperator="/"></nlf-resolve-observation-tags>--\x3e\n    <span class="float-end">\n\n      \x3c!--<span class="badge bg-secondary">{{ observation._updated | amTimeAgo }}</span>\n            <span class="badge bg-success">{{ observation._version }}</span>--\x3e\n\n    </span>\n\n  </h4>\n  <button type="button" class="close float-end" aria-label="Close" (click)="activeModal.dismiss()">\n    <span aria-hidden="true">&times;</span>\n  </button>\n</div>\n\n\n\x3c!--BODY--\x3e\n<div class="modal-body">\n\n  \x3c!--\n  <ng-container class="mb-2" *ngIf="observation._model.type==\'modellfly\'&&observation.workflow.state==\'draft\'">\n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label>Velg din rolle i observasjonen f\xf8rst</label>\n          <nlf-ors-editor-role-in-observation [(role)]="observation.reporter_role" activity="modellfly"\n            (change)="onChange($event, true);"></nlf-ors-editor-role-in-observation>\n        </div>\n      </div>\n    </div>\n  </ng-container>\n  --\x3e\n\n  \x3c!--\n      <ng-container\n    *ngIf="(observation._model.type==\'modellfly\'&&!!observation.reporter_role)||observation._model.type!=\'modellfly\'">\n  <nlf-resolve-lungo-organization [organization_id]="observation.club" show_activity="false" link="true" long="false"></nlf-resolve-lungo-organization>\n  {{ workflow.title }}\n  <nlf-resolve-observation-state [state]="observation.workflow.state" [activity]="observation._model.type" icon="true"></nlf-resolve-observation-state>\n  --\x3e\n  <div *ngIf="!!dataReady">\n\n    <div\n      *ngIf="!!observation && observation?._model?.type===\'motorfly\' && observation?._model?.version>=3 && observation?.workflow?.state===\'draft\'"\n      class="form-group">\n      <div class="form-check">\n        <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox"\n          [(ngModel)]="payload.do_not_process_in_club" [id]="do_not_process_in_club">\n        <label class="form-check-label" for="do_not_process_in_club">\n          <strong>Ikke</strong> behandle rapporten i klubb\n        </label>\n        <nlf-help key="ors-editor-do_not_process_in_club"></nlf-help>\n      </div>\n      <ngb-alert *ngIf="payload.do_not_process_in_club" type="info" (close)="close()">\n        <fa-icon [icon]="faInfo"></fa-icon> Denne observasjonen vil ikke kunne bli behandlet i klubb, kun av\n        OBSREG-koordinator. Klubbnavnet vil ogs\xe5 bli anonymisert n\xe5r denne observasjonen er ferdig behandlet.\n      </ngb-alert>\n    </div>\n\n    <div\n      *ngIf="!!observation && observation?._model?.type===\'motorfly\' && observation?._model?.version>=3 && observation?.workflow?.state===\'pending_review_ors\'"\n      class="form-group">\n      <div class="form-check">\n        <input [disabled]="!observation.acl_user.w" class="form-check-input" type="checkbox"\n          [(ngModel)]="payload.do_not_publish" [id]="do_not_publish">\n        <label class="form-check-label" for="do_not_publish">\n          <strong>Ikke</strong> publiser rapport n\xe5r lukket\n        </label>\n        <nlf-help key="ors-editor-do_not_publish"></nlf-help>\n      </div>\n      <ngb-alert *ngIf="payload.do_not_publish" type="warning" (close)="close()">\n        <fa-icon [icon]="faInfoCircle"></fa-icon> Denne observasjonen vil ikke bli allment tilgjengelig n\xe5r denne\n        observasjonen er ferdig behandlet og lukket.\n      </ngb-alert>\n\n      <ngb-alert *ngIf="observation?.workflow?.settings?.do_not_process_in_club" type="info" (close)="close()">\n        <fa-icon [icon]="faInfoCircle"></fa-icon> Denne observasjonen skal <strong>ikke</strong> behandles i klubb\n      </ngb-alert>\n\n    </div>\n\n\n    <div class="form-group mt-4" [hidden]="!showCommentInput">\n      <label for="comment" class="form-label">Melding i arbeidsflyten <small></small></label>\n      <nlf-help key="ors-editor-workflow"></nlf-help>\n      <textarea [disabled]="!observation?.acl_user?.x" [ngClass]="{\'disabled\': processing}"\n        placeholder="Melding som er relevant for saksgangen som at du trenger mer informasjon el. Vurderinger av observasjonen gj\xf8res under vurderinger."\n        [(ngModel)]="payload.comment" name="payload_comment" class="form-control" rows="5" id="comment"></textarea>\n    </div>\n\n    <nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id"\n      [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\n    <div *ngIf="graph">\n      <img class="img img-fluid" [src]="domSanitizer.bypassSecurityTrustUrl(graph)">\n    </div>\n\n    <div class="row">\n      <div class="d-grid gap-2 d-md-block">\n\n        <button type="button" class="btn btn-outline-dark mx-1" *ngIf="!graph" (click)="getGraph()">\n          <fa-icon [icon]="faRandom"></fa-icon> Vis skjema\n        </button>\n\n        <button type="button" class="btn btn-outline-dark mx-1" *ngIf="!!graph" (click)="graph=undefined">\n          <fa-icon [icon]="faRandom"></fa-icon> Skjul skjema\n        </button>\n\n        <button type="button" class="btn btn-outline-dark mx-1" *ngIf="!showCommentInput"\n          (click)="showCommentInput=true">\n          <fa-icon [icon]="faComment"></fa-icon> Melding til arbeidsflyten\n        </button>\n      </div>\n    </div>\n\n    <div *ngIf="!narrativeHasContent()" class="alert alert-info mt-3 mb-0">\n      <strong>Har du husket alt?</strong> "Hva skjedde?" har ikke noe innhold.\n      <br /><br />\n      Husk \xe5 legge til all relevant informasjon f\xf8r du sender videre til neste steg.\n    </div>\n\n    <span *ngIf="!!processing" class="text-center">\n      <nlf-ui-component-spinner size="5"></nlf-ui-component-spinner>\n    </span>\n  </div>\n\n  <div *ngIf="!dataReady">\n    <div class="text-center">\n      \x3c!--<nlf-ui-component-spinner></nlf-ui-component-spinner>--\x3e\n      <div class="clearfix"></div>\n    </div>\n  </div>\n\n</div>\n\n\x3c!--FOOTER--\x3e\n<div class="modal-footer">\n  <span *ngIf="!!dataReady">\n\x3c!--[disabled]="!a.permission||(observation._model.type==\'modellfly\'&&!observation.reporter_role)" --\x3e\n    <button *ngFor="let a of workflow.actions" type="button"\n      class="btn mx-1"\n      [title]="a.title" [ngClass]="{\n      \'btn-danger\':a.resource==\'reject\'||a.resource==\'withdraw\',\n      \'btn-success\':a.resource==\'approve\'||a.resource==\'reopen\'||a.resource==\'ors\'||a.resource==\'obsreg\',\n      \'btn-info\': a.resource==\'ftl\'||a.resource==\'flytjenesten\'||a.resource==\'flytjenesteadm\'||a.resource==\'dto\'||a.resource==\'skole\'||a.resource==\'teknisk\'||a.resource==\'tku\'||a.resource==\'oou\'||a.resource==\'operativ\'||a.resource==\'klubbleder\'||a.resource==\'fagutvalg\'||a.resource==\'fagsjef\',\n      \'disabled\':processing\n    }" (click)="workflowChange(a.resource, a.action)">\n      <fa-icon *ngIf="a.resource==\'reject\'" [icon]="faReply"></fa-icon>\n      <fa-icon *ngIf="a.resource==\'approve\'" [icon]="faPaperPlane"></fa-icon>\n      <fa-icon *ngIf="a.resource==\'withdraw\'" [icon]="faReply"></fa-icon>\n      <fa-icon *ngIf="a.resource==\'reopen\'" [icon]="faRepeat"></fa-icon>\n      <fa-icon *ngIf="[\'reject\', \'approve\', \'withdraw\', \'reopen\'].indexOf(a.resource)==-1"\n        [icon]="faPaperPlaneRegular"></fa-icon>\n      &nbsp;{{ a.action }}\n    </button>\n\n  </span>\n  <button [ngClass]="{\'disabled\': processing}" class="btn btn-outline-dark"\n    (click)="activeModal.dismiss()">Avbryt</button>\n</div>'},86628:de=>{"use strict";de.exports='  <div class="nlf-page-center">\n    <div class="col-md-12 col-sm-12">\n      <div class="p-5 mb-4 bg-light rounded-3">\n        <h1 class="display-4">ERROR {{ error?.status }}</h1>\n        <p class="lead">{{ error?.statusText }}: OBSREG #{{ id }}</p>\n        <hr class="my-4">\n        <p>{{\xa0error?.error?._error?.message }}</p>\n        <div class="row">\n          <div class="col-md-6 col-sm-12 d-grid gap-2">\n            <a class="btn btn-primary btn-lg" [routerLink]="[\'/ors\', activity]" role="button">OBSREG</a>\n          </div>\n          <div class="col-md-6 col-sm-12 d-grid gap-2">\n            <a class="btn btn-primary btn-lg" [routerLink]="[\'/home\']" role="button">Home</a>\n          </div>\n        </div>\n      </div>\n    </div>\n  </div>\n'},59072:de=>{"use strict";de.exports='<div *ngIf="dataReady && !canCreate()" class="alert alert-primary" role="alert">\n  Fallskjerm er nede for vedlikehold\n</div>\n\n\x3c!-- QUICKSELECT DEFAULT DISCIPLINE --\x3e\n<div *ngIf="dataReady && canCreate() && defaultBtn && userData.settings.default_activity==109" class="d-grid gap-2">\n  <button *ngIf="!!userData.settings && canCreate() && !loading"\n    (click)="createObservation(userData.settings.default_discipline, userData.settings.default_club, userData.settings.default_activity)"\n    class="btn btn-success btn-lg my-1">\n    <fa-icon [icon]="faPlus"></fa-icon>\n    <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline" show_activity="false">\n    </nlf-resolve-lungo-organization>\n  </button>\n</div>\n\n\x3c!-- NORMAL SELECT DROPDOWN --\x3e\n<span *ngIf="dataReady && !defaultBtn && canCreate()">\n\n  <span *ngIf="!loading && !error">\n\n    <div class="row">\n      <div class="col">\n        <select class="form-control form-control-lg" id="fallskjermklubb" [(ngModel)]="selected">\n          <option *ngFor="let club of clubs" [ngValue]="club.id">\n            {{ club.name }}\n          </option>\n        </select>\n      </div>\n      <div class="col">\n        <div class="d-grid gap-2">\n          <button [disabled]="!selected" (click)="createObservation()" class="btn btn-success btn-lg">\n            <fa-icon [icon]="faPlus"></fa-icon> Opprett ny OBSREG\n          </button>\n        </div>\n      </div>\n    </div>\n  </span>\n\n</span>\n\n\n<span *ngIf="loading">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  <p class="lead">Oppretter OBSREG...</p>\n</span>\n\n\n<ngb-alert *ngIf="!!error" type="danger" [dismissible]="true">\n  <fa-icon [icon]="faExclamationTriangle"></fa-icon>\n  Kunne ikke opprette OBSREG\n</ngb-alert>\n\n\n\n\n\x3c!-- End page --\x3e\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>\n'},13865:de=>{"use strict";de.exports='<span *ngIf="!!dataReady">\n\n  <ngx-table class="table table-flush" [id]="\'ors-dashboard-table\'" [configuration]="tableConf" [data]="data" [columns]="columns" [(pagination)]="pagination" [filtersTemplate]="filtersTemplate" (event)="eventEmitted($event)">\n\n    \x3c!-- ROWS --\x3e\n    <ng-template let-row>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.id }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.id }}</a>\n      </td>\n      <td class="ngx-easy-table-small">\n        {{ row.when | date:"yyyy-MM-dd HH:mm" }}\n      </td>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.tags | nlfOrsTags: seperator:\' / \' }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.tags | nlfOrsTags: seperator:\' / \' }}</a>\n\n      </td>\n      <td class="ngx-easy-table-small">\n        <nlf-resolve-lungo-person [person_id]="row.reporter" [avatar]="true"></nlf-resolve-lungo-person>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.rating">\n          <ngb-progressbar class="progress-striped active" [value]="row.rating | nlfOrsRatingCalc" [type]="row.rating | nlfOrsRatingCalc | nlfDynamicColor">{{ row.rating | nlfOrsRatingCalc }}</ngb-progressbar>\n        </span>\n      </td>\n      <td class="ngx-easy-table-small text-end">\n        <span *ngIf="!!row.workflow.state">\n          {{ row.workflow.state | nlfOrsState: row._model.type }}\n        </span>\n      </td>\n      \x3c!--<td [innerHTML]="row.type | nlfOrsType: row._model.type" class="ngx-easy-table-small">--\x3e\n      <td class="ngx-easy-table-small text-end">\n        <nlf-resolve-observation-types [type]="row.type" [activity]="row._model.type" [badge]="true"></nlf-resolve-observation-types>\n      </td>\n      <td class="text-end">\n        <fa-icon title="Aktivitet" *ngIf="[\'withdrawn\', \'closed\'].indexOf(row.workflow.state)<0" class="mx-2 pointer" (click)="openModal(activityModal, row)" [icon]="faCommenting"></fa-icon>\n\n        <fa-icon title="Purring" *ngIf="[\'withdrawn\', \'closed\'].indexOf(row.workflow.state)<0" class="mx-2 text-danger pointer" (click)="notify(row)" [icon]="faBell"></fa-icon>\n\n        <fa-icon title="Vurderinger" *ngIf="row.workflow.state!=\'withdrawn\'" class="me-3 pointer" (click)="openModal(askModal, row)" [icon]="faComments"></fa-icon>\n        \x3c!-- && row.acl_user.x--\x3e\n        <fa-icon title="Arbeidsflyt" *ngIf="row.workflow.state!=\'withdrawn\'" class="me-3 pointer" (click)="openModal(workflowModal, row)" [icon]="faExchange"></fa-icon>\n\n      </td>\n\n    </ng-template>\n  </ngx-table>\n  \x3c!--<button class="btn btn-link" (click)="exportToCSV()">Eksporter</button>--\x3e\n\n  \x3c!--FILTERS--\x3e\n  <ng-template #filtersTemplate>\n    <th></th>\n    <th></th>\n    <th></th>\n    <th></th>\n    <th></th>\n    \x3c!--STATUS--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="stateChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let status of config[activity].observation.state | keyvalue" [value]="status.key">\n          {{ status.value.label }}\n        </option>\n      </select>\n    </th>\n    \x3c!--TYPE--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="typeChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let type of config[activity].observation.types | keyvalue" [value]="type.key">\n          {{ type.value.label }}\n        </option>\n      </select>\n    </th>\n    <th>\n    </th>\n  </ng-template>\n</span>\n<span *ngIf="!dataReady">\n  <p class="align-middle text-center  text-secondary">\n    <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  </p>\n</span>\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ modalObservation.id }}\n      <nlf-resolve-observation-tags [tags]="modalObservation.tags" [activity]="modalObservation._model.type" seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="modalObservation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\n\n\x3c!-- ASK MODAL ---\x3e\n<ng-template #askModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Vurderinger #{{ modalObservation.id }}\n      <nlf-resolve-observation-tags [tags]="modalObservation.tags" [activity]="modalObservation._model.type" seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-report-ask-text [comments]="modalObservation.ask?.text" [audit]="modalObservation.workflow.audit" [activity]="modalObservation._model.type"></nlf-ors-report-ask-text>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\n\x3c!-- WORKFLOW MODAL ---\x3e\n<ng-template #workflowModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Arbeidsflyt #{{ modalObservation.id }}\n      <nlf-resolve-observation-tags [tags]="modalObservation.tags" [activity]="modalObservation._model.type" seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-report-workflow-timeline [activity]="modalObservation._model.type" [_id]="modalObservation._id" [workflow]="modalObservation.workflow"></nlf-ors-report-workflow-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n'},63949:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'fallskjerm\']">OBSREG<span class="hidden-sm-down"> {{ activity |\n            titlecase}}</span></a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="isDataReady()" class="breadcrumb-item">\n        <nlf-resolve-lungo-organization [organization_id]="discipline_id"\n          [link]="true"></nlf-resolve-lungo-organization>\n      </li>\n      <li class="breadcrumb-item active">\n        Dashboard <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n      </li>\n    </span>\n\n    \x3c!--\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n    --\x3e\n    <nlf-help class="float-end mx-1" key="ors-dashboard-fallskjerm"></nlf-help>\n    <span class="float-end mx-1 col-2">\n      <nlf-org-selector activity="fallskjerm" [(selected)]="discipline_id" (change)="onOrgChange($event)"\n        size="sm"></nlf-org-selector>\n    </span>\n\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-2">\n    viser data fra {{ d1 | date:"yyyy-MM-dd" }} til {{ d2 | date:"yyyy-MM-dd" }}\n  </div>\n\n  <div class="row mt-2 py-3">\n\n    \x3c!-- opprettede --\x3e\n    <div class="col-md-6 chart-wrapper">\n      <ng-container *ngIf="pieStatesReady">\n        <div class="col-md-3">\n          <div echarts class="w-140 h-100 align-top" [loading]="true" [options]="statesChartOption">\n          </div>\n        </div>\n        <div class="col-md-9">\n\n          <div class="row">\n            <h2 class="mt-4">{{ getStatesTotalValue() | number }}</h2>\n            <h4 class="text-secondary">opprettede</h4>\n          </div>\n\n          <div class="row">\n\n            <div class="col" *ngFor="let item of pieStates">\n              <div class="p-0 m-0">\n                <div style="border-left: 3px solid {{ item.itemStyle.color }} !important">\n                  <h4 class="my-1 mx-1 p-0 mt-o text-dark">{{ item.value | number }}</h4>\n                  <p class="mb-0 mx-1 p-0 text-secondary">{{ item.name }}</p>\n                </div>\n                <p class="h4 mb-0 mx-2 p-0 font-20 mb-0 text-secondary">{{ item.value/getStatesTotalValue() | percent }}\n                </p>\n              </div>\n            </div>\n\n          </div>\n\n        </div>\n      </ng-container>\n      <span *ngIf="!pieStatesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    </div>\n    \x3c!--\n    <div class="col-md-6 col-xs-12 overflow-hidden">\n      <ngx-charts-advanced-pie-chart *ngIf="pieTypesReady" [scheme]="colorScheme" [label]="pieTypesLabel" [results]="pieTypes" [gradient]="gradient">\n      </ngx-charts-advanced-pie-chart>\n      <span *ngIf="!pieTypesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n\n    </div>\n  --\x3e\n\n\n    \x3c!-- behandlede/types --\x3e\n    <div class="col-md-6 chart-wrapper">\n      <ng-container *ngIf="pieTypesReady">\n\n        <div class="col-md-3">\n          <div echarts class="w-140 h-100 align-top" [loading]="true" [options]="typesChartOption">\n          </div>\n        </div>\n        <div class="col-md-9">\n\n          <div class="row">\n            <h2 class="mt-4">{{ getTypesTotalValue() | number }}</h2>\n            <h4 class="text-secondary">behandlede</h4>\n          </div>\n\n          <div class="row">\n\n            <div class="col" *ngFor="let item of pieTypes">\n              <div class="p-0 m-0">\n                <div style="border-left: 3px solid {{ item.itemStyle.color }} !important">\n                  <h4 class="my-1 mx-1 p-0 mt-o text-dark">{{ item.value | number }}</h4>\n                  <p class="mb-0 mx-1 p-0 text-secondary">{{ item.name }}</p>\n                </div>\n                <p class="h4 mb-0 mx-2 p-0 font-20 mb-0 text-secondary">{{ item.value/getTypesTotalValue() | percent }}\n                </p>\n              </div>\n            </div>\n\n          </div>\n\n        </div>\n      </ng-container>\n      <span *ngIf="!pieTypesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    </div>\n    \x3c!--\n      <ngx-charts-advanced-pie-chart *ngIf="pieStatesReady" [scheme]="colorScheme" [label]="pieStatesLabel"\n        [results]="pieStates" [gradient]="gradient">\n      </ngx-charts-advanced-pie-chart>\n      <span *ngIf="!pieStatesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    --\x3e\n  </div>\n\n  \x3c!-- Date range selector --\x3e\n  <div class="row my-1">\n    <div class="col-md-6 col-xs-12">\n\n      <form class="form-inline">\n        <div class="form-group hidden">\n          <div class="input-group">\n\n            <input name="datepicker" class="form-control" ngbDatepicker #datepicker="ngbDatepicker"\n              [autoClose]="\'outside\'" (dateSelect)="onDateSelection($event)" [displayMonths]="2" [dayTemplate]="t"\n              outsideDays="hidden" [startDate]="fromDate!">\n            <ng-template #t let-date let-focused="focused">\n              <span class="custom-day" [class.focused]="focused" [class.range]="isRange(date)"\n                [class.faded]="isHovered(date) || isInside(date)" (mouseenter)="hoveredDate = date"\n                (mouseleave)="hoveredDate = null">\n                {{ date.day }}\n              </span>\n            </ng-template>\n          </div>\n        </div>\n\n        <div class="form-group">\n          <div class="input-group">\n            <input #dpFromDate class="form-control" placeholder="yyyy-mm-dd" name="dpFromDate"\n              [value]="formatter.format(fromDate)" (input)="fromDate">\n            <button class="btn btn-outline-secondary calendar" (click)="datepicker.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n        <div class="form-group ms-1">\n          <div class="input-group">\n            <input #dpToDate class="form-control" placeholder="yyyy-mm-dd" name="dpToDate"\n              [value]="formatter.format(toDate)" (input)="toDate">\n            <button class="btn btn-outline-secondary" (click)="datepicker.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n\n      </form>\n    </div>\n\n    <div class="col-md-6 col-xs-12">\n      <button class="btn btn-link btn-sm ms-1" (click)="resetDate()">alle</button>\n      <ng-container *ngFor="let quarter of quarts">\n        \x3c!--<button class="btn btn-primary mx-1" (click)="setDatesFromQuarter(quarter)">{{ quarter.label }}</button>--\x3e\n        <button class="btn btn-link btn-sm ms-1" (click)="setDatesFromQuarter(quarter)">{{ quarter.label }}</button>\n      </ng-container>\n\n    </div>\n\n  </div>\n\n</div>\n\n\x3c!-- STATUSBAR --\x3e\n<div *ngIf="pieTypesReady && pieStatesReady" class="col-xs-12 clearfix my-3 bg-light">\n  <div class="container">\n    <div class="row">\n      <div class="col-md-2 text-center bg-danger text-white">\n        <h2>{{ ((stats.total_injury / stats.total_ors) | number:\'1.2-2\') || \'-\'}}</h2>\n        <h5>skade per ors</h5>\x3c!-- Heller antall ors\'er per skade --\x3e\n      </div>\n\n      <div class="col-md-2 text-center bg-secondary text-white">\n        <h2>{{ stats.total_processing || \'-\' }}</h2>\n        <h5>ubehandlede</h5>\n      </div>\n\n      <div class="col-md-2 text-center text-white bg-secondary"\n        [ngClass]="{\'bg-success\': stats.avg_ratings_discipline<stats.avg_ratings, \'bg-danger\': stats.avg_ratings_discipline>stats.avg_ratings}">\n        \x3c!--<h2>-</h2>--\x3e\n        <h2>{{ (stats.avg_ratings_discipline | number: \'1.0-0\') || \'-\' }}/{{ (stats.avg_ratings | number:\'1.0-0\') || \'-\'\n          }}</h2>\n        \x3c!--<h5>hopp {{\xa0current_year }}</h5>--\x3e\n        <h5>rating</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-success text-white">\n        <h2>-</h2>\n        <h5>skade</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-danger text-white">\n        <h2>-</h2>\n        <h5>skade elev</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-success text-white">\n        <h2>-</h2>\n        <h5>ulykke</h5>\n      </div>\n\n    </div>\n  </div>\n</div>\n\n\n<div class="container">\n  <div class="row my-4">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <nlf-ors-fallskjerm-dashboard-table *ngIf="isDataReady() && !!discipline_id && dateRangeReady"\n        activity="fallskjerm" [discipline]="discipline_id" [dateRange]="dateRange"></nlf-ors-fallskjerm-dashboard-table>\n    </div>\n  </div>\n</div>\n'},16422:de=>{"use strict";de.exports='<span *ngIf="!!observation">\n\n  <nlf-ors-editor-tag-persons *ngIf="!!involved" [disabled]="!observation.acl_user.w" [(persons)]="involved"\n    [activity]="observation._model.type" [(external)]="deleteExternal"\n    (change)="onChange($event)"></nlf-ors-editor-tag-persons>\n  \x3c!-- {{\xa0involved | json }} --\x3e\n\n  <table class="table table-striped table-hover mt-2">\n\n    <tr *ngFor="let p of involved; let idx = index">\n\n      <td class="">\n        <fa-icon *ngIf="p.id>0" [icon]="faCheck" class="text-success me-2" title="Hentet fra medlemssystemet"></fa-icon>\n        <fa-icon *ngIf="p.id<1" [icon]="faExclamation" class="text-danger me-2" title="Ukjent person"></fa-icon>\n        <strong>\n          <nlf-resolve-lungo-person [person_id]="p.id" [tmp_name]="p.tmp_name" [link]="false"\n            [avatar]="true"></nlf-resolve-lungo-person>\n        </strong>\n\n      </td>\n      <td>\n\n        <fa-icon *ngIf="!!p.ph" [icon]="faBan" title="Permanent Hoppforbud" [fixedWidth]="true"\n          class="text-danger mx-1"></fa-icon>\n        <fa-icon *ngIf="!!p.fu" [icon]="faExclamation" title="Farlig Ukontrollert" [fixedWidth]="true"\n          class="text-warning mx-1"></fa-icon>\n\n      </td>\n      <td>\n\n        <div>\n          <span *ngFor="let license of p?.data?.licenses" class="mx-1">\n            <nlf-resolve-lungo-license [license_id]="license.id"></nlf-resolve-lungo-license>\n            \x3c!--{{license.type_name}}--\x3e\n          </span>\n        </div>\n        <div>\n          <span *ngFor="let competence of p?.data?.competences" class="mx-1">\n            {{competence._code}}\n          </span>\n        </div>\n        <div>\n          <span *ngIf="!!p?.data?.years_of_experience" class="mx-1 badge bg-secondary">{{p.data.years_of_experience}}\n            \xe5r</span>\n          <span *ngIf="!!p?.data?.total_jumps" class="mx-1 badge bg-secondary">{{p.data.total_jumps}} hopp</span>\n          <span *ngIf="!!p?.data?.jump_type" class="mx-1 badge bg-secondary">{{p.data.jump_type}} hopp</span>\n          <span *ngIf="!!p?.data?.activity && p.data.activity.length>0"\n            class="mx-1 badge bg-secondary">{{p.data.activity | join: \'/\'}}</span>\n        </div>\n      </td>\n      <td>\n        <span *ngIf="!!p?.data && 1==9" class="text-small">\n          <nlf-resolve-lungo-license *ngFor="let l of p.data?.licenses" [license_id]="l.id" link="false"\n            long="false"></nlf-resolve-lungo-license>\n          <nlf-resolve-lungo-function *ngFor="let fid of p.data?.functions" [function_id]="fid" show_org="true"\n            link="false" long="false"></nlf-resolve-lungo-function>\n        </span>\n      </td>\n      <td class="text-end">\n        <button (click)="openPersonModal(involvedModal, idx)" type="button" class="btn btn-sm btn-warning"><fa-icon\n            [icon]="faEdit"></fa-icon>Edit</button>\n        <fa-icon *ngIf="!disabled" class="pointer ms-3" title="Slett person" (click)="onRemove(idx)"\n          [icon]="faTimes"></fa-icon>\n      </td>\n    </tr>\n\n  </table>\n\n  \x3c!--<fa-icon (click)="openPersonModal(involvedModal, idx)" [icon]="id-card-o" [fixedWidth]="true"></fa-icon>--\x3e\n\n  \x3c!-- /dataReady --\x3e\n</span>\n\n\x3c!-- MODAL --\x3e\n<ng-template #involvedModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      <nlf-resolve-lungo-person [person_id]="modalPerson.id" [tmp_name]="modalPerson.tmp_name" link="false"\n        avatar="false"></nlf-resolve-lungo-person>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    <div class="row mb-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.ph" id="ph">\n          <label class="form-check-label" for="ph">\n            Permanent Hoppforbud\n          </label>\n        </div>\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.fu" id="fu">\n          <label class="form-check-label" for="fu">\n            Farlig Ukontrollert (FU)\n          </label>\n        </div>\n      </div>\n    </div>\n    \x3c!--Hopptype, \xe5r i sporten og antall hopp--\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="whereAt">Hopptypete</label>\n          <nlf-ors-editor-tag-string [fc]="true" [allowAdd]="false" [preload]="true" group="jump_types" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.jump_type" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Aktivitet</label>\n          <nlf-ors-editor-tag [fc]="true" [preload]="true" group="jump_activity" activity="fallskjerm"\n            [(initialTags)]="modalPerson.data.activity" [disabled]="disabled">\n          </nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n\n    \x3c!--Aktivitet, Flytype, utsprangsh\xf8yde --\x3e\n    <div class="row">\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="years_of_experience">\xc5r i sporten</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="years_of_experience"\n            [(ngModel)]="modalPerson.data.years_of_experience">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="jups">Antall hopp</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="jups"\n            [(ngModel)]="modalPerson.data.total_jumps">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aircraft">Flytype</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aircraft_types" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.aircraft" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="altitude">Utsprangsh\xf8yde</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="altitude"\n            [(ngModel)]="modalPerson.data.altitude">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Hovedskjerm, st\xf8rrelse, erfaring --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="mainCanopy">Hovedskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="main_canopies" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.gear.main_canopy" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="mainCanopySize"\n            [(ngModel)]="modalPerson.data.gear.main_canopy_size">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopyExperience">Erfaring Hovedskjerm</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="mainCanopyExperience"\n            [(ngModel)]="modalPerson.data.gear.main_canopy_experience">\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Reserve, st\xf8rrelse mk, pakkedato --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="reserveCanopy">Reserveskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="reserve_canopies" activity="fallskjerm"\n            [disabled]="disabled" [(tagString)]="modalPerson.data.gear.reserve_canopy">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="reserveCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="reserveCanopySize"\n            [(ngModel)]="modalPerson.data.gear.reserve_canopy_size">\n        </div>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <label for="rigger">MK</label>\n        \x3c!--<input class="form-control" type="text" id="rigger" [(ngModel)]="modalPerson.data.gear.rigger">--\x3e\n        \x3c!--<nlf-ors-editor-people id="rigger" [maxItems]="1" [who]="modalPerson.data.gear.rigger" [details]="false" path="involved.{{modalIndex}}.data.gear.rigger" [disabled]="disabled"></nlf-ors-editor-people>--\x3e\n        <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="modalPerson.data.gear.rigger"\n          [activity]="observation._model.type" (change)="onChange($event)"></nlf-ors-editor-tag-persons>\n\n      </div>\n      <div class="col-md-3">\n\n        <div class="form-group">\n          <label for="riggerDate">Pakkedato</label>\n          <div class="input-group">\n            \x3c!--<nlf-ors-editor-date [disabled]="disabled" id="riggerDate" [(date)]="modalPerson.data.gear.rigger_date"></nlf-ors-editor-date>--\x3e\n            <input class="form-control" placeholder="yyyy-mm-dd" name="dp"\n              [(ngModel)]="modalPerson.data.gear.riggerDate" ngbDatepicker #d="ngbDatepicker" [maxDate]="today">\n            <button [disabled]="disabled" class="btn btn-outline-secondary" (click)="d.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n      </div>\n    </div>\n    \x3c!-- Selet\xf8y, erfaring, n\xf8d\xe5pner --\x3e\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="harness">Selet\xf8y</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="harness_types" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.gear.harness" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="harnessExperience">Erfaring selet\xf8y</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="harnessExperience"\n            [(ngModel)]="modalPerson.data.gear.harness_experience">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aad">N\xf8d\xe5pner</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aad_types" activity="fallskjerm"\n            [(tagString)]="modalPerson.data.gear.aad" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- Annet --\x3e\n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label for="other">Annet utstyr</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="other_equipment" activity="fallskjerm"\n            [(initialTags)]="modalPerson.data.gear.other" [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n    <div *ngIf="devDebug" class="row">\n      Person: {{ modalPerson | json }}\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalInvolvedUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>'},1420:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n\n  <div class="row">\n\n    <div *ngIf="!!locations" class="col-xs-12 col-md-4 d-flex flex-column">\n      \x3c!-- Select location --\x3e\n      <select *ngIf="locations.length>0" [attr.disabled]="!observation.acl_user.w ? \'\' : null" class="form-control mt-3"\n        [formControl]="locationChooser" [(ngModel)]="selected">\n        <option *ngFor="let location of locations;let i = index" [ngValue]="location.nickname">\n          {{ location.nickname }} ({{ location.name }}) <ng-container *ngIf="i===0">*</ng-container>\n        </option>\n      </select>\n\n      \x3c!-- Alert if no location --\x3e\n      <ngb-alert *ngIf="locations.length==0 && dataReady" type="warning" [dismissible]="false">\n        <strong>Ingen steder definert for klubben</strong>. Opprett minst ett sted ved \xe5 velge &quot;Rediger&quot;\n        under.\n      </ngb-alert>\n\n      \x3c!-- Always show button --\x3e\n      <div class="d-grid gap-2">\n        <a class="btn btn-secondary mt-auto" [routerLink]="[\'/organizations\', observation.discipline, \'locations\']"\n          [queryParams]="{returl: \'/ors/\'+observation._model.type+\'/edit/\'+observation.id}">\n          <fa-icon [icon]="faEdit"></fa-icon> Rediger\n        </a>\n      </div>\n\n    </div>\n\n    \x3c!-- Map column --\x3e\n    <div class="col-xs-12 col-md-8 d-flex flex-column">\n      <div style="height: 300px" *ngIf="dataReady && hasMapCoordinates()" id="location-map" leaflet [leafletOptions]="mapOptions"\n        (leafletMapReady)="onMapReady($event)" [(leafletCenter)]="mapCenter">\n      </div>\n      \x3c!--\n      <agm-map *ngIf="dataReady && locations.length>0" [latitude]="toFloat(observation.location.geo.coordinates[0])"\n        [mapTypeControl]="true" [longitude]="toFloat(observation.location.geo.coordinates[1])" [zoom]="15">\n        <agm-marker [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)"\n          [latitude]="toFloat(observation.location.geo.coordinates[0])"\n          [longitude]="toFloat(observation.location.geo.coordinates[1])">\n        </agm-marker>\n      </agm-map>\n      --\x3e\n    </div>\n  </div>\n</ng-container>'},49347:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  <dl class="row mt-3">\n    \x3c!-- HI --\x3e\n    <dt class="col-sm-3 col-md-1 lead">HI:</dt>\n    <dd class="col-sm-9 col-md-11 lead">\n      <div *ngFor="let hi of observation.organization.hi">\n        <nlf-resolve-lungo-person [person_id]="hi" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n      </div>\n      <div *ngIf="!observation.organization.hi" class="alert alert-danger" role="alert">\n        <fa-icon [icon]="faExclamation"></fa-icon> Ingen HI satt\n      </div>\n    </dd>\n  </dl>\n\n  \x3c!-- HL & HFL --\x3e\n\n  <div class="row mt-3">\n    <div class="col-md-1 lead">HL</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hl"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hl | json }}</div>\n    </div>\n    <div class="col-md-1 lead">HFL</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hfl"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hfl | json }}</div>\n    </div>\n  </div>\n  \x3c!--HM & Pilot --\x3e\n  <div class="row mt-3">\n    <div class="col-md-1 lead">HM</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hm"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hm | json }}</div>\n    </div>\n    <div class="col-md-1 lead">Pilot</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.pilot"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      \x3c!--  <nlf-ors-editor-people [disabled]="!observation.acl_user.w" [who]="observation.organization.pilot" [details]="false" path="organization.pilot"></nlf-ors-editor-people>--\x3e\n      <div *ngIf="!!devDebug">{{ observation.organization.pilot | json }}</div>\n    </div>\n  </div>\n</ng-container>\n'},18459:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error">\n\n  \x3c!-- STICKY TOP BAR --\x3e\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', \'fallskjerm\']">OBSREG</a>#{{ observation.id }}\n        <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type" link="true"\n          seperator="/"></nlf-resolve-observation-tags>&nbsp;\n        <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          *ngIf="!!observation.rating" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n          observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n\n        \x3c!-- SAVE --\x3e\n        <a (click)="saveIfChanges()" *ngIf="!!observation && !!changes && observation.acl_user.w"\n          class="pointer badge bg-warning mx-1">\n          <fa-icon [icon]="faSave"></fa-icon>\n        </a>\n\n        \x3c!-- HELP --\x3e\n        <a class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()">\n          <fa-icon [icon]="faQuestion"></fa-icon>\n        </a>\n\n        \x3c!-- ABOUT --\x3e\n        <a (click)="openAbout()" class="pointer badge bg-secondary text-white mx-1">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger"\n            title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated | amTimeAgo }}\n        </a>\n\n        \x3c!-- VERSION --\x3e\n        <a class="badge bg-success mx-1 pointer" (click)="openDiff(diffModal)">v{{ observation._version }}</a>\n\n        \x3c!-- WORKFLOW --\x3e\n        <a class="pointer mx-1" *ngIf="observation.acl_user.x" (click)="openWorkflow()">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            icon="true"></nlf-resolve-observation-state>\n        </a>\n        <a class="mx-1" *ngIf="!observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            icon="true"></nlf-resolve-observation-state>\n        </a>\n\n        \x3c!-- ACTIVITIES\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1" [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">--\x3e\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1 pointer"\n          title="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger"\n          (click)="openActivities(activityModal)">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n\n        \x3c!-- ACCESS!!! --\x3e\n        <nlf-ors-editor-users\n          *ngIf="[\'closed\', \'withdrawn\'].indexOf(observation.workflow.state)<0 && observation.acl_user.x"\n          [model]="observation._model.type" [_id]="observation._id" [observation]="observation"></nlf-ors-editor-users>\n\n        \x3c!-- REPORT LINK --\x3e\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" class="badge bg-primary text-white mx-1">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n  \x3c!-- CONTAINER --\x3e\n  <div class="container">\n\n    \x3c!-- TITLE/TAGS--\x3e\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n\n        \x3c!-- WELCOME FIRST TIME --\x3e\n        <nlf-ors-editor-first *ngIf="observation.acl_user.w"></nlf-ors-editor-first>\n\n        <div class="nlf-ors-toolbar">\n          Tittel <nlf-help class="float-end" key="ors-editor-fallskjerm-title"></nlf-help>\n        </div>\n      </div>\n      <div class="col-sm-12 col-md-12 my-3 lead">\n\n        <nlf-ors-editor-tag [disabled]="!observation.acl_user.w" limit="15" preload="true" details="true"\n          group="observation" [activity]="observation._model.type" [(initialTags)]="observation.tags"\n          (change)="update($event)"></nlf-ors-editor-tag>\n        \x3c!--<nlf-ors-editor-title></nlf-ors-editor-title>--\x3e\n        <div *ngIf="!!devDebug">\n          <code>{{ observation.tags | json}} </code>\n        </div>\n\n      </div>\n    </div>\n\n    \x3c!-- FILES mobnile only --\x3e\n    <div class="row my-3 d-block d-sm-none">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n\n    \x3c!--Type, When & Flags--\x3e\n    <div class="row my-3">\n      \x3c!-- TYPE --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Type <nlf-help class="float-end" key="ors-editor-fallskjerm-type"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-type></nlf-ors-editor-type>\n            <div *ngIf="!!devDebug">{{ observation.type }}</div>\n          </div>\n        </div>\n      </div>\n      \x3c!-- WHEN --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Tidspunkt<nlf-help class="float-end" key="ors-editor-when"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-when tz="local"></nlf-ors-editor-when>\n            <div *ngIf="!!devDebug">{{ observation.when }}</div>\n          </div>\n        </div>\n      </div>\n      \x3c!-- FLAGS--\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Flagg <nlf-help class="float-end" key="ors-editor-fallskjerm-flags"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-flags></nlf-ors-editor-flags>\n            <div *ngIf="!!devDebug">{{ observation.flags | json }}</div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- CATEGORY & OPERATIONAL --\x3e\n    \x3c!--\n    <div class="row my-3">\n\n      <div class="col-xs-12 col-md-6">\n        <div class="nlf-ors-toolbar">\n          Kategori <nlf-help class="float-end" key="ors-editor-category"></nlf-help>\n        </div>\n        <nlf-ors-editor-categories></nlf-ors-editor-categories>\n        <div *ngIf="!!devDebug">Categories for observation {{ observation.category | json }}</div>\n      </div>\n\n      <div class="col-xs-12 col-md-6">\n        <div class="nlf-ors-toolbar">\n          Operasjonelt <nlf-help class="float-end" key="ors-editor-operational"></nlf-help>\n        </div>\n        <nlf-ors-editor-operational></nlf-ors-editor-operational>\n        <div *ngIf="!!devDebug">Operationals for observation {{ observation.operational | json }}</div>\n      </div>\n    </div>\n  --\x3e\n\n    \x3c!-- RATING --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Alvorlighetsgrad <nlf-help class="float-end" key="ors-editor-fallskjerm-rating"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light">\n        <nlf-ors-editor-rating></nlf-ors-editor-rating>\n        <div *ngIf="!!devDebug">Rating for observation {{ observation.rating | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- LOCATION  --\x3e\n    <div class="nlf-ors-toolbar">\n      Hvor skjedde det? <nlf-help class="float-end" key="ors-editor-fallskjerm-location"></nlf-help>\n    </div>\n    <nlf-ors-fallskjerm-editor-location></nlf-ors-fallskjerm-editor-location>\n    <div *ngIf="!!devDebug">{{ observation.location | json }}</div>\n\n    \x3c!-- FILES MD only --\x3e\n    <div class="row my-3 d-none d-sm-block">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- ORGANIZATION --\x3e\n    <div class="nlf-ors-toolbar">\n      Organisasjon <nlf-help class="float-end" key="ors-editor-fallskjerm-organization"></nlf-help>\n    </div>\n\n    <nlf-ors-fallskjerm-editor-organization></nlf-ors-fallskjerm-editor-organization>\n\n    \x3c!-- INVOLVERTE --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Involverte <nlf-help class="float-end" key="ors-editor-fallskjerm-involved"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        \x3c!--\n        <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [persons]="observation.involved" [activity]="observation._model.type"></nlf-ors-editor-tag-persons>\n        <nlf-ors-editor-people [disabled]="!observation.acl_user.w" [who]="observation.involved" path="involved"></nlf-ors-editor-people>--\x3e\n        <nlf-ors-fallskjerm-editor-involved></nlf-ors-fallskjerm-editor-involved>\n        <div *ngIf="!!devDebug">{{ observation.involved | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- COMPONENTS --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Forl\xf8pet\n          <nlf-help class="float-end" key="ors-editor-fallskjerm-components"></nlf-help>\n          <button (click)="openPreview(modalPreview, \'components\', \'Forl\xf8pet\')" class="float-end btn btn-link">\n            \x3c!--<fa-icon [icon]="faEye"></fa-icon>--\x3ePreview\n          </button>\n        </div>\n        <nlf-ors-editor-components></nlf-ors-editor-components>\n        <div *ngIf="devDebug" class="col-md-12 bg-light">\n          {{ observation.components | json }}\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- WEATHER --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          V\xe6ret\n          <nlf-help class="float-end" key="ors-editor-fallskjerm-weather"></nlf-help>\n        </div>\n      </div>\n\n      <div class="col-xs-12 col-md-5">\n        <p class="lead">Auto</p>\n        <p>\n          <nlf-ors-editor-met></nlf-ors-editor-met>\n        </p>\n      </div>\n      <div class="col-xs-12 col-md-7">\n        <nlf-ors-editor-weather></nlf-ors-editor-weather>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <div *ngIf="devDebug">\n          {{ observation.weather.auto | json }}\n        </div>\n      </div>\n\n    </div>\n\n    \x3c!-- ACTIONS --\x3e\n    <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n      Tiltak\n      <nlf-help class="float-end" key="ors-editor-fallskjerm-actions"></nlf-help>\n    </div>\n    <nlf-ors-editor-actions></nlf-ors-editor-actions>\n    <div *ngIf="!!devDebug">{{ observation.actions | json }}</div>\n\n    \x3c!-- VURDERINGER --\x3e\n    <div class="nlf-ors-toolbar">\n      Vurderinger\n      <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n    </div>\n    <div class="row bg-light" style="padding-top:1em;padding-bottom:1em;">\n      <div class="col-md-4">\n        <p>\n          <nlf-ors-editor-ask></nlf-ors-editor-ask>\n\n        </p>\n      </div>\n      <div class="col-md-8">\n        <p>\n          <nlf-ors-editor-ask-text></nlf-ors-editor-ask-text>\n        </p>\n      </div>\n    </div>\n    \x3c!-- //VURDERINGER --\x3e\n\n    \x3c!-- WORKFLOW ACTIONS IN PAGE --\x3e\n    <ng-container *ngIf="observation.acl_user.x">\n      <div class="d-md-none">\n        <div class="nlf-ors-toolbar">\n          <ng-container *ngIf="observation.workflow.state==\'withdrawn\'">Gjen\xe5pning</ng-container>\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">Innsending</ng-container>\n          <ng-container *ngIf="[\'draft\', \'withdrawn\'].indexOf(observation.workflow.state)==-1">Behandling</ng-container>\n\n          <nlf-help class="float-end" key="ors-editor-workflow"></nlf-help>\n        </div>\n        \x3c!-- bg-secondary text-white--\x3e\n        <div class="col-xs-12 col-md-12 py-2">\n          <ng-container *ngIf="[\'withdrawn\', \'closed\'].indexOf(observation.workflow.state)>-1">\n            <p>\n              Observasjonen er lukket. Du kan velge \xe5 gjen\xe5pne observasjonen om du \xf8nsker fortsette \xe5 behandle den.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Gjen\xe5pne</button>\n            </div>\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">\n            <p>N\xe5r du er ferdig med \xe5 redigere observasjonen er det p\xe5 tide \xe5 sende den videre til behandling hos\n              Hovedinstrukt\xf8r.</p>\n            <p>Du kan alltid aktivere arbeidsflyten ved \xe5 trykke p\xe5 statusknappen for arbeidsflyten <span><a\n                  class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span> som du finner \xf8verst p\xe5 siden i &quot;sidemenyen&quot;\n            </p>\n            <p>Behandlingen skjer i en forh\xe5ndsdefinert arbeidsflyt som du kan lese mer om ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <p>\xd8nsker du slette/fjerne observasjonen velger du \xe5 &quot;trekke tilbake&quot;. Da forsvinner den ute av\n              syne\n              for alle enn deg. Ingen kan forresten slette observasjoner fra systemet, og du kan n\xe5r som helst komme\n              tilbake og gjen\xe5pne den skulle du ombestemme deg.</p>\n            \x3c!-- Knapper for innsending --\x3e\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-success me-2">Send til HI</button>\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Trekk tilbake</button>\n            </div>\n            \x3c!--\n            <div class="form-group row">\n              <div class="col-md-6">\n                  <input type="button" class="btn form-control" id="btn1">\n              </div>\n              <div class="col-md-6">\n                  <input type="button" class="btn form-control" id="btn2">\n              </div>\n            </div>\n            --\x3e\n          </ng-container>\n\n          <ng-container *ngIf="[\'draft\', \'withdrawn\', \'closed\'].indexOf(observation.workflow.state)==-1">\n            <p>Observasjonen har status\n              <span><a class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span>.\n            </p>\n            <p>\n              N\xe5r du har gjennomg\xe5tt observasjonen skal du aktivere arbeidsflyten for \xe5 behandle observasjonen.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-primary me-2">\n                <fa-icon [icon]="faExchange"></fa-icon> Behandle #{{observation.id}}\n              </button>\n            </div>\n          </ng-container>\n        </div>\n      </div>\n    </ng-container>\n    \x3c!-- //WORKFLOW ACTIONS IN PAGE --\x3e\n\n    \x3c!-- BOTTOM TOOLBAR  DESKTOP ONLY --\x3e\n    <div *ngIf="observation.acl_user.x" class="nlf-toolbar fixed-bottom bg-dark d-none d-md-block">\n      <div class="container">\n      \n\n        \x3c!--\n        <span class="float-start" text="Her velger du visning om du vil ha forenklet eller alle felter" class="nav-item">\n\n          <ng-container *ngIf="!showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </ng-container>\n          <ng-container *ngIf="showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </ng-container>\n        </span>\n        --\x3e\n\n        <span class="float-end" text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n          \n\n          <span class="me-4 lead">\n            <nlf-help key="ors-editor-workflow"></nlf-help>\n          </span>\n\n          <ng-container *ngIf="observation.workflow.state===\'draft\'">\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faPaperPlane"></fa-icon> Send til HI\n            </button>\n\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjegenlig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faReply"></fa-icon> Trekk tilbake\n            </button>\n\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state===\'withdrawn\'">\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Gjen\xe5pne" text="Gjen\xe5pne ">\n              <fa-icon [icon]="faRepeat"></fa-icon> Gjen\xe5pne\n            </button>\n          </ng-container>\n          <ng-container *ngIf="[\'withdrawn\',\'draft\'].indexOf(observation.workflow.state)<0">\n            <button class="btn btn-primary me-2" (click)="openWorkflow()" title="Behandle" text="Behandle ">\n              <fa-icon [icon]="faRandom"></fa-icon> Arbeidsflyt\n            </button>\n          </ng-container>\n        </span>\n      </div>\n    </div>\n    \x3c!-- //BOTTOM TOOLBAR --\x3e\n\n    <div *ngIf="!!devDebug">{{ observation.ask | json }}</div>\n\n  </div>\x3c!-- /CONTAINMER--\x3e\n\n  <div class="container">\n    <div *ngIf="!!devDebug">{{ observation |json }}</div>\n  </div>\n\n</div>\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n\x3c!-- PAGE ERROR --\x3e\n<div *ngIf="dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="fallskjerm" [error]="error"></nlf-ors-error>\n</div>\n\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalPreview>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ preview.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="preview.what===\'components\'">\n      <nlf-report-components-timeline [components]="observation.components" [activity]="observation._model.type">\n      </nlf-report-components-timeline>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e\n\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\x3c!-- DIFF MODAL ---\x3e\n<ng-template #diffModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <pre>\n    {{ getDiff() | json }}\n    </pre>\n    {{ this.shadow.when }} || {{ this.observation.when }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n'},49221:de=>{"use strict";de.exports="<div>\n\nMain fallskjerm!\n</div>\n"},90967:de=>{"use strict";de.exports='<div *ngIf="dataReady  && !error" id="testpdf">\n\n\t<header class="nlf-sticky-toolbar">\n\n\t\t<div class="container lead">\n\t\t\t<hotkeys-cheatsheet title="Hotkeys Rock!"></hotkeys-cheatsheet>\n\t\t\t\x3c!-- TITLE --\x3e\n\n\t\t\t\x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n\t\t\t\x3c!-- {{ observation.tags | nlfOrsTags: \' / \'}} --\x3e\n\t\t\t<a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#{{ observation.id }}\n\t\t\t<nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type" link="true"\n\t\t\t\tseperator="/"></nlf-resolve-observation-tags>&nbsp;\n\t\t\t\x3c!-- /TITLE --\x3e\n\t\t\t\x3c!-- RATING --\x3e\n\t\t\t<span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n\t\t\t\t*ngIf="!!observation.rating"\n\t\t\t\tclass="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating\n\t\t\t\t| nlfOrsRatingCalc }}</span>\n\n\n\t\t\t\x3c!-- DIFFERENT VERSION --\x3e\n\t\t\t<span *ngIf="observation._version !== observation._latest_version" class="badge bg-warning">\n\t\t\t\t<a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">v{{ observation._version\n\t\t\t\t\t}} av {{ observation._latest_version }}</a>\n\t\t\t</span>\n\t\t\t\x3c!-- /DIFFERENT VERSION --\x3e\n\n\t\t\t\x3c!-- RATING TEST\n\t\t\t<rating [ngModel]="observation.rating.actual" max="8" readonly="true"></rating> / <rating [ngModel]="observation.rating.potential" max="8" readonly="true"></rating>\n\t\t\t /RATING TEST --\x3e\n\n\t\t\t\x3c!-- WORKFLOW STATE --\x3e\n\t\t\t<span class="float-end">\n\t\t\t\t<a [routerLink]="[\'/ors\', observation._model.type, \'edit\', observation.id]"\n\t\t\t\t\t*ngIf="observation.acl_user.x || observation.acl_user.w || (observation.workflow.state != \'closed\' && observation.acl_user.r)" class="badge bg-primary text-white mx-1">\n\t\t\t\t\t<fa-icon [icon]="faEdit"></fa-icon> Editor\n\t\t\t\t</a>\n\t\t\t\t<nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n\t\t\t\t\ticon="true"></nlf-resolve-observation-state>\n\t\t\t</span>\n\t\t\t\x3c!-- /WORKFLOW STATE --\x3e\n\n\t\t\t\x3c!-- Go to report by id\n\t\t\t<nlf-ors-go activity="fallskjerm" class="float-end mx-1"></nlf-ors-go>\n\t\t--\x3e\n\n\t\t</div>\n\t</header>\n\t\x3c!-- /END HEADER --\x3e\n\n\t<div class="container">\n\n\t\t<div class="row">\n\t\t\t\x3c!-- Summary table --\x3e\n\t\t\t<div class="col-md-6 col-xs-12 table-responsive overflow-auto">\n\t\t\t\t<nlf-ors-fallskjerm-report-summary [observation]="observation"></nlf-ors-fallskjerm-report-summary>\n\t\t\t</div>\n\n\t\t\t\x3c!-- Map --\x3e\n\t\t\t<div class="col-md-6 col-xs-12 position-relative">\n\t\t\t\t<div *ngIf="dataReady">\n\n\t\t\t\t\t<div class="map" *ngIf="!!mapOptions" leaflet (leafletMapReady)="onMapReady($event)"\n\t\t\t\t\t\t[leafletOptions]="mapOptions"></div>\n\n\t\t\t\t\t\x3c!--\n\t\t\t\t\t<agm-map [latitude]="toFloat(observation.location.geo.coordinates[0])" [mapTypeControl]="true" [longitude]="toFloat(observation.location.geo.coordinates[1])" [zoom]="12">\n\t\t\t\t\t\t<agm-marker [label]="observation.location.nickname" [latitude]="toFloat(observation.location.geo.coordinates[0])" [longitude]="toFloat(observation.location.geo.coordinates[1])">\n\t\t\t\t\t\t</agm-marker>\n\t\t\t\t\t</agm-map>\n\t\t\t\t--\x3e\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf="!observation.location?.geo?.coordinates">\n\n\t\t\t\t\t<ngb-alert type="danger" [dismissible]="false">\n\t\t\t\t\t\t<fa-icon [icon]="faMapMarker"></fa-icon>\n\t\t\t\t\t\tIngen lokalisasjon satt.\n\t\t\t\t\t</ngb-alert>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t\x3c!-- Workflow\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\n\t\t\t\t\t\t<div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n\t\t\t\t\t\t\t<fa-icon [icon]="faRandom"></fa-icon>\n\t\t\t\t\t\t\tArbeidsflyt\n\t\t\t\t\t\t\t<i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div [ngbCollapse]="isWorkflowTimelineCollapsed">\n\t\t\t\t\t\t\t<nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\t\t\x3c!-- Involved --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon>Involverte\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-fallskjerm-report-involved [model]="observation._model"\n\t\t\t\t\t[involved]="observation.involved"></nlf-ors-fallskjerm-report-involved>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Involved --\x3e\n\n\t\t\x3c!-- Files --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faFile"></fa-icon>Vedlegg\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-report-files [files]="observation.files"\n\t\t\t\t\t[state]="observation.workflow.state"></nlf-ors-report-files>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Files --\x3e\n\n\t\t\x3c!-- Components timeline - forl\xf8pet --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<nlf-report-components-timeline [activity]="observation._model.type"\n\t\t\t\t\t[components]="observation.components"></nlf-report-components-timeline>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Forl\xf8pet --\x3e\n\n\t\t\x3c!-- Organization --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon>Hoppfeltorganisasjon\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-fallskjerm-report-organization\n\t\t\t\t\t[organization]="observation.organization"></nlf-ors-fallskjerm-report-organization>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Organization --\x3e\n\n\t\t\x3c!-- Weather --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faCloud"></fa-icon>V\xe6ret\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-report-weather [weather]="observation.weather"></nlf-ors-report-weather>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Weather --\x3e\n\n\t\t\x3c!-- Actions --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faBolt"></fa-icon>Tiltak\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-report-actions [actions]="observation.actions"></nlf-ors-report-actions>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Actions --\x3e\n\n\t\t\x3c!-- Verdicts --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faComments"></fa-icon>Vurderinger\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t\x3c!-- ASK matrix --\x3e\n\t\t\t<div class="col-md-5">\n\t\t\t\t<nlf-ors-report-ask [ask]="observation.ask" [verbose]="true"></nlf-ors-report-ask>\n\t\t\t</div>\n\n\t\t\t\x3c!-- ASK comments --\x3e\n\t\t\t<div class="col-md-7">\n\n\t\t\t\t<div *ngIf="!!observation.ask && !!observation.ask.text">\n\t\t\t\t\t<nlf-ors-report-ask-text [comments]="observation.ask.text" [audit]="observation.workflow.audit"\n\t\t\t\t\t\t[activity]="observation._model.type"></nlf-ors-report-ask-text>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\t\t\x3c!-- /verdicts --\x3e\n\n\t\t\x3c!-- Related --\x3e\n\t\t<div *ngIf="!!observation.related && observation.related?.length > 0" class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faExternalLink"></fa-icon>Relaterte\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-report-related [related]="observation.related"></nlf-ors-report-related>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Related --\x3e\n\n\t\t\x3c!--\n\t\t\t\t<hr>\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<h3>Tester under</h3>\n\t\t\t\t</div>\n\t\t\t\t<div class="card-header">DIFF TEST</div>\n\t\t\t\t<pre semanticDiff [left]="left" [right]="right"></pre>\n\n\n\n\t\t\t\t<div *ngIf="!!observationDiff" class="row">\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Forrige</p>{{ observationDiff[1] | json }}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Siste</p>{{ observationDiff[0] | json }}\n\t\t\t\t\t</div>\n\n\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\n\t\t\x3c!--\n\t\t\t\t<div class="card" style="width: 22rem;">\n\t\t\t\t\t<img class="card-img-top img-fluid" src="{{ currentImage }}" alt="Card image cap">\n\t\t\t\t\t<div class="card-body">\n\t\t\t\t\t\t<h5 class="card-header">Your image</h5>\n\t\t\t\t\t\t<form>\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<input class="form-control-file" type="file" (change)="onUpload($event)">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\t\t\x3c!--\n\t\t\t<h2>F\xf8lgende er registrert:</h2>\n\t\t\t<label>Id</label>\n\t\t\t<pre>{{observation.id}}</pre>\n\t\t\t<pre>{{observation._id}}</pre>\n\n\t\t\t<label>Created</label>\n\t\t\t<pre>{{observation._created | date:\'yyyy-MM-dd HH:mm\'}}</pre>\n\n\t\t\t<label>Club</label>\n\t\t\t<pre>{{observation.club | json}}</pre>\n\n\t\t\t<label>Acl</label>\n\t\t\t<pre>{{observation.acl | json}}</pre>\n\n\t\t\t<label>Type</label>\n\t\t\t<pre>{{observation.type | json}}</pre>\n\n\t\t\t<label>Flags</label>\n\t\t\t<pre>{{observation.flags | json}}</pre>\n\n\t\t\t<label>Rating</label>\n\t\t\t<pre>{{observation.rating | json}}</pre>\n\n\t\t\t<label>Kunnskap ferdigheter holdning</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Location</label>\n\t\t\t<pre>{{observation.location | json}}</pre>\n\n\t\t\t<label>Files</label>\n\t\t\t<pre>{{observation.files | json}}</pre>\n\n\t\t\t<label>When</label>\n\t\t\t<pre>{{observation.when | json}}</pre>\n\n\t\t\t<label>Tags</label>\n\t\t\t<pre>{{observation.tags | json}}</pre>\n\n\t\t\t<label>Organization</label>\n\t\t\t<pre>{{observation.organization | json}}</pre>\n\n\t\t\t<label>Involved</label>\n\t\t\t<pre>{{observation.involved | json}}</pre>\n\n\t\t\t<label>Components</label>\n\t\t\t<pre>{{observation.components | json}}</pre>\n\n\t\t\t<label>Weather</label>\n\t\t\t<pre>{{observation.weather | json}}</pre>\n\n\t\t\t<label>Vurdering</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Tiltak</label>\n\t\t\t<pre>{{observation.actions | json}}</pre>\n\n\n\t\t\t<label>Workflow</label>\n\t\t\t<pre>{{observation.workflow | json}}</pre>\n\t\t\t--\x3e\n\n\t</div>\n\n\n</div>\n<div *ngIf="!dataReady && !error">\n\t<nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n<div *ngIf="!dataReady && !!error">\n\t<nlf-ors-error [id]="id" activity="fallskjerm" [error]="error"></nlf-ors-error>\n</div>\n'},50393:de=>{"use strict";de.exports='<div *ngIf="involved" class="overflow-auto">\n  <table class="table table-condensed table-hover ">\n    <tr>\n      <th></th>\n      <th>Kompetanser</th>\n      <th>Erfaring</th>\n      <th>Hopp</th>\n      <th>Kjennelse</th>\n      <th>Utstyr</th>\n    </tr>\n    <tr *ngFor="let p of involved">\n      <td>\n        <nlf-resolve-lungo-person link="true" [person_id]="p.id" [tmp_name]="p.tmp_name"></nlf-resolve-lungo-person>\n        \x3c!--  {{$index+1}}--\x3e\n      </td>\n      <td>\n        \x3c!-- COMPETENCES --\x3e\n\n        \x3c!-- MELWIN --\x3e\n        <span *ngIf="p?.legacy && !!p.licenses">\n          <small>\n            <div *ngFor="let l of p.licenses.rights">\n              <nlf-resolve-license *ngIf="model.version==2" [licenseid]="l"></nlf-resolve-license>\n            </div>\n          </small>\n        </span>\n\n\n      </td>\n      <td>\n        \x3c!-- Experience (Data) --\x3e\n        <span *ngIf="!!p?.data?.total_jumps">\n          <label>Antall hopp:&nbsp;</label>\n          <span>{{ p?.data?.total_jumps }}</span>\n        </span>\n        <br>\n        <span *ngIf="!!p?.data?.years_of_experience">\n          <label>\xc5r i sporten:&nbsp;</label>\n          <span>{{ p?.data?.years_of_experience }}</span>\n          \x3c!--? p?.data?.years_of_experience : \'?\'--\x3e\n          <br>\n        </span>\n      </td>\n\n      <td>\n        \x3c!-- Jump (Data) --\x3e\n        <span *ngIf="!!p?.data?.jump_type">\n          <label>Hopptype:&nbsp;</label>\n          <span>{{ p?.data?.jump_type }}</span>\n          <br>\n        </span>\n        <span *ngIf="!!p?.data?.activity">\n          <label>Aktivitet:&nbsp;</label>\n          <span>{{ p?.data?.activity.join(\', \') }}</span>\n          <br>\n        </span>\n        <span *ngIf="!!p?.data?.aircraft">\n          <label>Flytype:&nbsp;</label>\n          <span>{{ p?.data?.aircraft }}</span>\n          <br>\n        </span>\n        <span *ngIf="!!p?.data?.jump_altitude">\n          <label>Utsprangsh\xf8yde:&nbsp;</label>\n          <span>{{ p?.data?.jump_altitude }}</span>\n          <br>\n        </span>\n      </td>\n      <td>\n        \x3c!-- Verdict (Data) --\x3e\n        <div *ngIf="!!p.verdict">\n          <div *ngIf="!!p.verdict.fu">\n            <span class="badge bg-warning">Farlig Ukontrollert</span>\n          </div>\n          <div *ngIf="!!p.verdict.ph">\n            <span class="badge bg-danger">Permanent Hoppforbud</span>\n          </div>\n          <div *ngIf="!!p.verdict.mh">\n            <span class="badge bg-danger">Midlertidig Hoppforbud</span>\n          </div>\n        </div>\n      </td>\n\n      <td>\n        \x3c!-- Gear (Data) --\x3e\n        <div *ngIf="!!p.gear">\n          <label *ngIf="!!p?.data?.gear.harness_type || !!p?.data?.gear.harness_experience">Selet\xf8y: </label>\n          <span *ngIf="!!p?.data?.gear.harness_type">{{p?.data?.gear.harness_type}}</span>\n          <span *ngIf="!!p?.data?.gear.harness_experience">{{p?.data?.gear.harness_experience}} hopp</span>\n          <br *ngIf="!!p?.data?.gear.harness_type || !!p?.data?.gear.harness_experience">\n\n          <label *ngIf="!!p?.data?.gear.main_canopy_type|| !!p?.data?.gear.main_canopy_experience|| !!p?.data?.gear.main_canopySize">Hovedskjerm: </label>\n          <span *ngIf="!!p?.data?.gear.main_canopy_type">{{p?.data?.gear.main_canopy_type}}</span>\n          <span *ngIf="!!p?.data?.gear.main_canopy_size">{{p?.data?.gear.main_canopy_size}} sqft</span>\n          <span *ngIf="!!p?.data?.gear.main_canopy_experience">{{p?.data?.gear.main_canopy_experience}} hopp</span>\n          <br *ngIf="!!p?.data?.gear.main_canopy_type||p?.data?.gear.main_canopy_experience||p?.data?.gear.main_canopy_size">\n\n          <label *ngIf="!!p?.data?.gear.reserve_canopy_type ||p?.data?.gear.reserve_canopy_size">Reserveskjerm: </label>\n          <span *ngIf="!!p?.data?.gear.reserve_canopy_type">{{p?.data?.gear.reserve_canopy_type}}</span>\n          <span *ngIf="!!p?.data?.gear.reserve_canopy_size">{{p?.data?.gear.reserve_canopy_size}}</span>\n          <br *ngIf="!!p?.data?.gear.reserve_canopy_type || !!p?.data?.gear.reserve_canopy_size">\n\n          <label *ngIf="!!p?.data?.gear.rigger">MK: </label>\n          <span *ngIf="!!p?.data?.gear.rigger">\n\n            <nlf-resolve-lungo-person [person_id]="p?.data?.gear.rigger.id" [tmp_name]="p?.data?.gear.rigger.tmp_name" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n          </span>\n          <br *ngIf="!!p?.data?.gear.rigger">\n\n          <label *ngIf="!!p?.data?.gear.rigger">Pakkedato: </label>\n          <span *ngIf="!!p?.data?.gear.rigger">{{ p?.data?.gear.rigger_date | date:\'yyyy-MM-dd\' }}</span>\n          <br *ngIf="!!p?.data?.gear.rigger_date">\n\n          <label *ngIf="!!p?.data?.gear.other">Annet utstyr:</label>\n          <span class="ms-1" *ngIf="!!p?.data?.gear.other">{{ p?.data?.gear.other | join: \', \' }}</span>\n          <br *ngIf="!!p?.data?.gear.other">\n        </div>\n      </td>\n    </tr>\n  </table>\n</div>\n'},83025:de=>{"use strict";de.exports='<div *ngIf="!!organization" class="row pt-2 overflow-auto">\n\n  <div class="col-md-6 col-xs-12">\n\n    <dl>\n      <span *ngIf="!!organization.hl">\n        <dt class="col-md-3">HL</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hl of organization.hl">\n            <nlf-resolve-lungo-person link="true" [person_id]="hl.id"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n      <span *ngIf="!!organization?.hfl">\n        <dt class="col-md-3">HFL</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hfl of organization.hfl">\n            <nlf-resolve-lungo-person link="true" [person_id]="hfl.id" [tmp_name]="hfl.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n    </dl>\n  </div>\n\n  <div class="col-md-6 col-xs-12">\n    <dl>\n      <span *ngIf="!!organization.hm">\n        <dt class="col-md-3">HM</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hm of organization.hm">\n            <nlf-resolve-lungo-person link="true" [person_id]="hm.id" [tmp_name]="hm.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n      <span *ngIf="!!organization.pilot">\n        <dt class="col-md-3">Pilot</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let pilot of organization.pilot">\n            <nlf-resolve-lungo-person link="true" [person_id]="pilot.id" [tmp_name]="pilot.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n    </dl>\n\n  </div>\n</div>\n'},80709:de=>{"use strict";de.exports='<table class="table table-sm table-hover">\n  <tbody>\n    <tr style="border-top: none !important">\n      <td style="border-top: none !important">Klubb</td>\n      <td style="border-top: none !important">\n        <nlf-resolve-lungo-organization [organization_id]="observation.club" link="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Gren</td>\n      <td>\n        <nlf-resolve-lungo-organization [organization_id]="observation.discipline" link="true" show_activity="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Observat\xf8r</td>\n      <td>\n        <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n      </td>\n    </tr>\n\n    <tr>\n      <td>Hovedinstrukt\xf8r</td>\n      <td>\n        <div *ngFor="let person of observation.organization.hi">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="person"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    <tr>\n      <td>Type</td>\n      <td>\n        <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type" badge="true"></nlf-resolve-observation-types>\n        <span class="float-end">\n          <nlf-ors-report-ask [ask]="observation.ask" [verbose]="false"></nlf-ors-report-ask>\n        </span>\n\n      </td>\n    </tr>\n\n    <tr>\n      <td>Flagg</td>\n      <td>\n        <div *ngIf="!!observation.flags">\n          <span *ngIf="!!observation.flags.insurance">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="insurance"></nlf-resolve-observation-flags>\n          </span>\n          <span *ngIf="!!observation.flags.aviation">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="aviation"></nlf-resolve-observation-flags>\n          </span>\n\n        </div>\n        <span *ngIf="!observation.flags || (!observation.flags.aviation && !observation.flags.insurance)">Ingen</span>\n      </td>\n\n    </tr>\n\n\n    <tr *ngIf="!!observation.rating">\n      <td>Alvorlighetsgrad</td>\n      <td>{{ observation.rating.actual }} av {{ observation.rating.potential }} <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="float-end badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>\n    </tr>\n\n\n    <tr>\n      <td>Tidspunkt</td>\n      <td>{{ observation.when | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    <tr>\n      <td>Opprettet</td>\n      <td>{{ observation._created | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    <tr>\n      <td>Lukket</td>\n      <td *ngIf="observation.workflow.state==(\'closed\' || \'withdrawn\')">{{ observation.workflow.last_transition | date:\'yyyy-MM-dd HH:mm\' }}</td>\n      <td *ngIf="observation.workflow.state!=(\'closed\' || \'withdrawn\')">\n        <span class="text-danger">Under behandling</span>\n      </td>\n\n    </tr>\n    <tr>\n      <td>Versjon</td> \x3c!-- @TODO: Generate list of versions and link to them /report/:id?v=1 or /report/:id/:version --\x3e\n      <td>\n        {{ observation._version }} <span *ngIf="observation._version !== observation._latest_version">\n          av <a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">{{ observation._latest_version }}</a></span>\n      </td>\n    </tr>\n    <tr>\n      <td>Behandlingstid</td>\n      <td>{{ turnaround }}</td>\n    </tr>\n    <tr>\n      <td>Involverte</td>\n      <td>{{ observation.involved | count }}</td>\n    </tr>\n    <tr>\n      <td>Kjennelser</td>\n      <td>\n        <div *ngIf="numberOfInvolved > 0">\n          <div *ngFor="let v of observation.involved">\n            <div *ngIf="!!v.verdict">\n              <div *ngIf="!!v.verdict.fu" class="badge bg-warning me-1">Farlig Ukontrollert </div>\n              <div *ngIf="!!v.verdict.ph" class="badge bg-danger me-1">Permanent Hoppforbud </div>\n              <div *ngIf="!!v.verdict.mh" class="badge bg-danger">Midlertidig Hoppforbud</div>\n            </div>\n          </div>\n        </div>\n        <div *ngIf="numberOfInvolved === 0">Ingen</div>\n      </td>\n    </tr>\n  </tbody>\n</table>\n'},78435:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'fallskjerm\']">OBSREG<span class="hidden-sm-down"> Fallskjerm</span></a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li class="breadcrumb-item">\n\n        <a>S\xf8k</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="!!text" class="breadcrumb-item active">\n        {{ text }}\n      </li>\n    </span>\n\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-search-fallskjerm"></nlf-help>\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-3">\n\n    <div class="col-md-3 bg-light p-2">\n      <label class="lead">\n        <fa-icon [icon]="faFilter"></fa-icon> Filter\n      </label>\n      <div class="row">\n        <label>Fritekst:</label>\n        <input placeholder="Fritekst" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n      </div>\n\n      <div class="row">\n        <label>Id:</label>\n        <input placeholder="Id" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'id\']">\n      </div>\n\n\n      <div class="row mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="reset()" class="btn btn-secondary">Reset filter</button>\n        </div>\n      </div>\n\n      <div *ngIf="!!result?._items" class="mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="exportTojson()" class="btn btn-secondary"><fa-icon [icon]="faDownload"></fa-icon> Last ned</button>\n        </div>\n      </div>\n    </div>\n\n    <div class="col-md-9">\n      \x3c!-- SEARCH RESULTS --\x3e\n      <div class="lead">\n        <div *ngIf="!!result && !searching">\n          Fant {{ result._meta.total }} resultater\n        </div>\n\n        <div *ngIf="(!result || result._meta.total == 0) && !searching">\n          Ingen resultater\n        </div>\n\n        <div *ngIf="searching">\n          S\xf8ker...\n        </div>\n      </div>\n\n      <div class="my-2 p-1 div_hover" *ngFor="let r of result?._items; let isOdd=odd;" [class.bg-light]="isOdd">\n\n        <a [routerLink]="[\'/ors\', activity,\'report\', r.id]">#{{ r.id }} - <span *ngIf="!!r.rating" class="mx-1 badge bg-{{r.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ r.rating | nlfOrsRatingCalc }}</span> {{ r.tags | join: \'/\'}}</a>\n\n        <span class="float-end mx-1">\n          <nlf-resolve-observation-state [activity]="r._model.type || \'fallskjerm\'" [state]="r.workflow.state" icon="true"></nlf-resolve-observation-state>\n        </span>\n\n        \x3c!--\n        <div class="small" *ngFor="let a of r.aircrafts">\n          <fa-icon [icon]="faPlane"></fa-icon> {{ a.aircraft.callsign }} {{ a.aircraft.model }} {{ a.aircraft.manufacturer }}\n          <div>\n            <span class="small" *ngFor="let route of a.flight; let idx = index">\n              <span *ngIf="idx==0">{{ route.from.icao }}</span>\n              <fa-icon [icon]="faLongArrowRight"></fa-icon> {{ route.to.icao }}\n            </span>\n          </div>\n        </div>\n      --\x3e\n\n      </div>\n    </div>\n\n  </div>\n</div>\n\n<ng-template #saveTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Lagre s\xf8ket\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="form-group">\n      <label>S\xf8kenavn</label>\n      <input class="form-control" type="text" [disabled]="true" [value]="text || \'\'">\n    </div>\n\n    <div class="form-group my-3">\n      <div class="form-check">\n        <input [disabled]="true" class="form-check-input" type="checkbox" value="" id="defaultCheck1">\n        <label class="form-check-label" for="defaultCheck1">\n          Varsle meg ved nye resultater\n        </label>\n      </div>\n    </div>\n\n    <div class="form-group">\n      <label>S\xf8ket ga {{ result._meta.total }} resultater</label>\n      <textarea [disabled]="true" class="form-control" [value]="this.getQuery() | json" rows="3"></textarea>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    <button [disabled]="true" class="btn btn-primary" (click)="modalRef.close()">Lagre</button>\n  </div>\n</ng-template>\n'},45076:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    OBSREG Fallskjerm\n\n    \x3c!--\n    <button [routerLink]="[\'/ors\', \'fallskjerm\', \'dashboard\']" type="button" class="btn btn-sm btn-link float-end mx-1">\n      <fa-icon [icon]="faDashboard"></fa-icon> Dash\n    </button>\n    <button [routerLink]="[\'/ors\', \'fallskjerm\', \'stats\']" type="button" class="btn btn-sm btn-link float-end mx-1">\n      <fa-icon [icon]="faPieChart"></fa-icon> Stats\n    </button>\n  --\x3e\n    <button [routerLink]="[\'/ors\', \'fallskjerm\', \'search\']" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faSearch"></fa-icon> S\xf8k\n    </button>\n\n    <button [routerLink]="[\'/ors\', \'fallskjerm\', \'dashboard\', user_settings?.settings?.default_discipline || 793361]" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faDashboard"></fa-icon> Dashboard\n    </button>\n\n    <nlf-ors-go activity="fallskjerm" class="float-end mx-1" title="Hurtigvalg, skriv inn OBSREG nummer etterfulgt av enter for \xe5 g\xe5 til OBSREG"></nlf-ors-go>\n    \x3c!--\n    <span class="input-group input-group-sm float-end mx-1" style="max-width: 100px !important">\n      <span class="input-group-text bg-transparent">\n        <fa-icon [icon]="faHashtag" class="text-secondary"></fa-icon>\n      </span>\n      <input id="orsGO" #orsGO type="search" (keyup.enter)="orsGOTO(orsGO.value)" class="form-control form-control-sm border-start-0">\n    </span>\n  --\x3e\n\n    <nlf-help class="float-end mx-1" key="ors-fallskjerm"></nlf-help>\n\n  </div>\n\n\n</header>\n\n<div class="container">\n\n  <div class="row">\n\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faUser" class="text-secondary"></fa-icon> Mine observasjoner\n      </div>\n      <nlf-ors-self-table activity="fallskjerm"></nlf-ors-self-table>\n    </div>\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faExchange" class="text-secondary"></fa-icon> Til min behandling\n      </div>\n      <nlf-ors-todo-table activity="fallskjerm"></nlf-ors-todo-table>\n    </div>\n\n    \x3c!-- Group = tight, with padding deck = spacing, no padding card-body style="padding: 0;"\n      <div class="card-deck">\n\n        <div class="card mb-3 me-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faUser"></fa-icon>Mine observasjoner</h5>\n          <div class="card-body table-responsive" style="padding: 0;">\n\n          </div>\n        </div>\n\n        <div class="card mb-3 ms-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faRandom"></fa-icon>Til min behandling</h5>\n          <div class="card-body" style="padding: 0;">\n            <nlf-ors-todo-table  activity="fallskjerm"></nlf-ors-todo-table>\n          </div>\n        </div>\n      </div>\n      --\x3e\n  </div>\n</div>\n\n<div class="py-5 nlf-bg-blue col-md-12 col-xs-12">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n      <nlf-ors-fallskjerm-create></nlf-ors-fallskjerm-create>\n    </p>\n  </div>\n</div>\n\n\x3c!-- ALL OBSREG --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faList" class="text-secondary"></fa-icon> Alle observasjoner\n      </div>\n      <nlf-ors-all-table activity="fallskjerm"></nlf-ors-all-table>\n    </div>\n  </div>\n</div>\n'},84502:de=>{"use strict";de.exports='<span *ngIf="!!activity" class="input-group input-group-sm" style="max-width: 100px !important">\n  <span class="input-group-text bg-transparent">\n    <fa-icon [icon]="faHashtag" class="text-secondary"></fa-icon>\n  </span>\n  <input id="orsGO" #orsGO type="text" inputmode="numeric" pattern="[0-9]*" min="1" step="1" (keyup.enter)="orsGOTO()" [(ngModel)]="ors_id" class="form-control form-control-sm border-left-0 nospinner">\n</span>\n'},5161:de=>{"use strict";de.exports='<div *ngIf="dataReady && !canCreate()" class="alert alert-primary" role="alert">\n  Modellfly er nede for vedlikehold\n</div>\n\n\x3c!-- QUICKSELECT DEFAULT DISCIPLINE --\x3e\n<div *ngIf="dataReady && canCreate() && defaultBtn && userData.settings.default_activity==236" class="d-grid gap-2">\n  <button *ngIf="!!userData.settings && canCreate() && !loading"\n    (click)="createObservation(userData.settings.default_discipline, userData.settings.default_club, userData.settings.default_activity)"\n    class="btn btn-success btn-lg my-1">\n    <fa-icon [icon]="faPlus"></fa-icon>\n    <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline" show_activity="false">\n    </nlf-resolve-lungo-organization>\n  </button>\n</div>\n\n\x3c!-- NORMAL SELECT DROPDOWN --\x3e\n<span *ngIf="dataReady && !defaultBtn && canCreate()">\n\n  <span *ngIf="!loading && !error">\n\n    <div class="row">\n      <div class="col">\n        <select class="form-control form-control-lg" id="modellflyklubb" [(ngModel)]="selected">\n          <option *ngFor="let club of clubs" [ngValue]="club.id">\n            {{ club.name }}\n          </option>\n        </select>\n      </div>\n      <div class="col">\n        <div class="d-grid gap-2">\n          <button [disabled]="!selected" (click)="createObservation()" class="btn btn-success btn-lg">\n            <fa-icon [icon]="faPlus"></fa-icon> Opprett ny OBSREG\n          </button>\n        </div>\n      </div>\n    </div>\n  </span>\n\n</span>\n\n\n<span *ngIf="loading">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  <p class="lead">Oppretter OBSREG...</p>\n</span>\n\n\n<ngb-alert *ngIf="!!error" type="danger" [dismissible]="true">\n  <fa-icon [icon]="faExclamationTriangle"></fa-icon>\n  Kunne ikke opprette OBSREG\n</ngb-alert>\n\n\n\n\n\x3c!-- End page --\x3e\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>\n'},51838:de=>{"use strict";de.exports='<span *ngIf="!!dataReady">\n\n  <ngx-table class="table table-flush" [id]="\'ors-dashboard-table\'" [configuration]="tableConf" [data]="data"\n    [columns]="columns" [(pagination)]="pagination" [filtersTemplate]="filtersTemplate" (event)="eventEmitted($event)">\n\n    \x3c!-- ROWS --\x3e\n    <ng-template let-row>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.id\n          }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.id\n          }}</a>\n      </td>\n      <td class="ngx-easy-table-small">\n        {{ row.when | date:"yyyy-MM-dd HH:mm" }}\n      </td>\n      <td class="ngx-easy-table-small">\n        <a *ngIf="row.workflow.state!==\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'edit\', row.id]">{{ row.tags |\n          nlfOrsTags: seperator:\' / \' }}</a>\n        <a *ngIf="row.workflow.state===\'closed\'" [routerLink]="[\'/ors\', row._model.type, \'report\', row.id]">{{ row.tags\n          | nlfOrsTags: seperator:\' / \' }}</a>\n\n      </td>\n      <td class="ngx-easy-table-small">\n        <nlf-resolve-lungo-person [person_id]="row.reporter" [avatar]="true"></nlf-resolve-lungo-person>\n      </td>\n      <td class="ngx-easy-table-small">\n        <span *ngIf="!!row.rating">\n          <ngb-progressbar class="progress-striped active" [value]="row.rating | nlfOrsRatingCalc"\n            [type]="row.rating | nlfOrsRatingCalc | nlfDynamicColor">{{ row.rating | nlfOrsRatingCalc\n            }}</ngb-progressbar>\n        </span>\n      </td>\n      <td class="ngx-easy-table-small text-end">\n        <span *ngIf="!!row.workflow.state">\n          {{ row.workflow.state | nlfOrsState: row._model.type }}\n        </span>\n      </td>\n      \x3c!--<td [innerHTML]="row.type | nlfOrsType: row._model.type" class="ngx-easy-table-small">--\x3e\n      <td class="ngx-easy-table-small text-end">\n        <nlf-resolve-observation-types [type]="row.type" [activity]="row._model.type"\n          [badge]="true"></nlf-resolve-observation-types>\n      </td>\n      <td class="text-end">\n        <fa-icon title="Aktivitet" *ngIf="[\'withdrawn\', \'closed\'].indexOf(row.workflow.state)<0" class="mx-2 pointer"\n          (click)="openModal(activityModal, row)" [icon]="faCommenting"></fa-icon>\n\n        <fa-icon title="Purring" *ngIf="[\'withdrawn\', \'closed\'].indexOf(row.workflow.state)<0"\n          class="mx-2 text-danger pointer" (click)="notify(row)" [icon]="faBell"></fa-icon>\n\n        <fa-icon title="Vurderinger" *ngIf="row.workflow.state!=\'withdrawn\'" class="me-3 pointer"\n          (click)="openModal(askModal, row)" [icon]="faComments"></fa-icon>\n        \x3c!-- && row.acl_user.x--\x3e\n        <fa-icon title="Arbeidsflyt" *ngIf="row.workflow.state!=\'withdrawn\'" class="me-3 pointer"\n          (click)="openModal(workflowModal, row)" [icon]="faExchange"></fa-icon>\n\n      </td>\n\n    </ng-template>\n  </ngx-table>\n  \x3c!--<button class="btn btn-link" (click)="exportToCSV()">Eksporter</button>--\x3e\n\n  \x3c!--FILTERS--\x3e\n  <ng-template #filtersTemplate>\n    <th></th>\n    <th></th>\n    <th></th>\n    <th></th>\n    <th></th>\n    \x3c!--STATUS--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="stateChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let status of config[activity].observation.state | keyvalue" [value]="status.key">\n          {{ status.value.label }}\n        </option>\n      </select>\n    </th>\n    \x3c!--TYPE--\x3e\n    <th>\n      <select class="form-control form-control-sm" (change)="typeChooser($event)">\n        <option [value]=""></option>\n        <option *ngFor="let type of config[activity].observation.types | keyvalue" [value]="type.key">\n          {{ type.value.label }}\n        </option>\n      </select>\n    </th>\n    <th>\n    </th>\n  </ng-template>\n</span>\n<span *ngIf="!dataReady">\n  <p class="align-middle text-center  text-secondary">\n    <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  </p>\n</span>\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ modalObservation.id }}\n\n      <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n        [tags]="modalObservation.tags" [activity]="modalObservation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n      <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n        {{ observation.title }}\n      </ng-container>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="modalObservation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\n\n\x3c!-- ASK MODAL ---\x3e\n<ng-template #askModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Vurderinger #{{ modalObservation.id }}\n      <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n        [tags]="modalObservation.tags" [activity]="modalObservation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n      <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n        {{ observation.title }}\n      </ng-container>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-report-ask-text [comments]="modalObservation.ask?.text" [audit]="modalObservation.workflow.audit"\n      [activity]="modalObservation._model.type"></nlf-ors-report-ask-text>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\n\x3c!-- WORKFLOW MODAL ---\x3e\n<ng-template #workflowModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Arbeidsflyt #{{ modalObservation.id }}\n      <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n        [tags]="modalObservation.tags" [activity]="modalObservation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n      <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n        {{ observation.title }}\n      </ng-container>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-report-workflow-timeline [activity]="modalObservation._model.type" [_id]="modalObservation._id"\n      [workflow]="modalObservation.workflow"></nlf-ors-report-workflow-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeModal()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>'},84299:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'modellfly\']">OBSREG<span class="hidden-sm-down"> {{ activity |\n            titlecase}}</span></a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="isDataReady()" class="breadcrumb-item">\n        <nlf-resolve-lungo-organization [organization_id]="discipline_id"\n          [link]="true"></nlf-resolve-lungo-organization>\n      </li>\n      <li class="breadcrumb-item active">\n        Dashboard <sup class="text-danger mx-1" title="Applikasjonen er ikke ferdig utviklet">beta</sup>\n      </li>\n    </span>\n\n    \x3c!--\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n    --\x3e\n    <nlf-help class="float-end mx-1" key="ors-dashboard-modellfly"></nlf-help>\n    <span class="float-end mx-1 col-2">\n      <nlf-org-selector activity="modellfly" [(selected)]="discipline_id" (change)="onOrgChange($event)"\n        size="sm"></nlf-org-selector>\n    </span>\n\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-2">\n    viser data fra {{ d1 | date:"yyyy-MM-dd" }} til {{ d2 | date:"yyyy-MM-dd" }}\n  </div>\n\n  <div class="row mt-2 py-3">\n\n    \x3c!-- opprettede --\x3e\n    <div class="col-md-6 chart-wrapper">\n      <ng-container *ngIf="pieStatesReady">\n        <div class="col-md-3">\n          <div echarts class="w-140 h-100 align-top" [loading]="true" [options]="statesChartOption">\n          </div>\n        </div>\n        <div class="col-md-9">\n\n          <div class="row">\n            <h2 class="mt-4">{{ getStatesTotalValue() | number }}</h2>\n            <h4 class="text-secondary">opprettede</h4>\n          </div>\n\n          <div class="row">\n\n            <div class="col" *ngFor="let item of pieStates">\n              <div class="p-0 m-0">\n                <div style="border-left: 3px solid {{ item.itemStyle.color }} !important">\n                  <h4 class="my-1 mx-1 p-0 mt-o text-dark">{{ item.value | number }}</h4>\n                  <p class="mb-0 mx-1 p-0 text-secondary">{{ item.name }}</p>\n                </div>\n                <p class="h4 mb-0 mx-2 p-0 font-20 mb-0 text-secondary">{{ item.value/getStatesTotalValue() | percent }}\n                </p>\n              </div>\n            </div>\n\n          </div>\n\n        </div>\n      </ng-container>\n      <span *ngIf="!pieStatesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    </div>\n    \x3c!--\n    <div class="col-md-6 col-xs-12 overflow-hidden">\n      <ngx-charts-advanced-pie-chart *ngIf="pieTypesReady" [scheme]="colorScheme" [label]="pieTypesLabel" [results]="pieTypes" [gradient]="gradient">\n      </ngx-charts-advanced-pie-chart>\n      <span *ngIf="!pieTypesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n\n    </div>\n  --\x3e\n\n\n    \x3c!-- behandlede/types --\x3e\n    <div class="col-md-6 chart-wrapper">\n      <ng-container *ngIf="pieTypesReady">\n\n        <div class="col-md-3">\n          <div echarts class="w-140 h-100 align-top" [loading]="true" [options]="typesChartOption">\n          </div>\n        </div>\n        <div class="col-md-9">\n\n          <div class="row">\n            <h2 class="mt-4">{{ getTypesTotalValue() | number }}</h2>\n            <h4 class="text-secondary">behandlede</h4>\n          </div>\n\n          <div class="row">\n\n            <div class="col" *ngFor="let item of pieTypes">\n              <div class="p-0 m-0">\n                <div style="border-left: 3px solid {{ item.itemStyle.color }} !important">\n                  <h4 class="my-1 mx-1 p-0 mt-o text-dark">{{ item.value | number }}</h4>\n                  <p class="mb-0 mx-1 p-0 text-secondary">{{ item.name }}</p>\n                </div>\n                <p class="h4 mb-0 mx-2 p-0 font-20 mb-0 text-secondary">{{ item.value/getTypesTotalValue() | percent }}\n                </p>\n              </div>\n            </div>\n\n          </div>\n\n        </div>\n      </ng-container>\n      <span *ngIf="!pieTypesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    </div>\n    \x3c!--\n      <ngx-charts-advanced-pie-chart *ngIf="pieStatesReady" [scheme]="colorScheme" [label]="pieStatesLabel"\n        [results]="pieStates" [gradient]="gradient">\n      </ngx-charts-advanced-pie-chart>\n      <span *ngIf="!pieStatesReady">\n        <nlf-ui-component-spinner></nlf-ui-component-spinner>\n      </span>\n    --\x3e\n  </div>\n\n  \x3c!-- Date range selector --\x3e\n  <div class="row my-1">\n    <div class="col-md-6 col-xs-12">\n\n      <form class="form-inline">\n        <div class="form-group hidden">\n          <div class="input-group">\n\n            <input name="datepicker" class="form-control" ngbDatepicker #datepicker="ngbDatepicker"\n              [autoClose]="\'outside\'" (dateSelect)="onDateSelection($event)" [displayMonths]="2" [dayTemplate]="t"\n              outsideDays="hidden" [startDate]="fromDate!">\n            <ng-template #t let-date let-focused="focused">\n              <span class="custom-day" [class.focused]="focused" [class.range]="isRange(date)"\n                [class.faded]="isHovered(date) || isInside(date)" (mouseenter)="hoveredDate = date"\n                (mouseleave)="hoveredDate = null">\n                {{ date.day }}\n              </span>\n            </ng-template>\n          </div>\n        </div>\n\n        <div class="form-group">\n          <div class="input-group">\n            <input #dpFromDate class="form-control" placeholder="yyyy-mm-dd" name="dpFromDate"\n              [value]="formatter.format(fromDate)" (input)="fromDate">\n            <button class="btn btn-outline-secondary calendar" (click)="datepicker.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n        <div class="form-group ms-1">\n          <div class="input-group">\n            <input #dpToDate class="form-control" placeholder="yyyy-mm-dd" name="dpToDate"\n              [value]="formatter.format(toDate)" (input)="toDate">\n            <button class="btn btn-outline-secondary" (click)="datepicker.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n\n      </form>\n    </div>\n\n    <div class="col-md-6 col-xs-12">\n      <button class="btn btn-link btn-sm ms-1" (click)="resetDate()">alle</button>\n      <ng-container *ngFor="let quarter of quarts">\n        \x3c!--<button class="btn btn-primary mx-1" (click)="setDatesFromQuarter(quarter)">{{ quarter.label }}</button>--\x3e\n        <button class="btn btn-link btn-sm ms-1" (click)="setDatesFromQuarter(quarter)">{{ quarter.label }}</button>\n      </ng-container>\n\n    </div>\n\n  </div>\n\n</div>\n\n\x3c!-- STATUSBAR --\x3e\n<div *ngIf="pieTypesReady && pieStatesReady" class="col-xs-12 clearfix my-3 bg-light">\n  <div class="container">\n    <div class="row">\n      <div class="col-md-2 text-center bg-danger text-white">\n        <h2>{{ ((stats.total_injury / stats.total_ors) | number:\'1.2-2\') || \'-\'}}</h2>\n        <h5>skade per ors</h5>\x3c!-- Heller antall ors\'er per skade --\x3e\n      </div>\n\n      <div class="col-md-2 text-center bg-secondary text-white">\n        <h2>{{ stats.total_processing || \'-\' }}</h2>\n        <h5>ubehandlede</h5>\n      </div>\n\n      <div class="col-md-2 text-center text-white bg-secondary"\n        [ngClass]="{\'bg-success\': stats.avg_ratings_discipline<stats.avg_ratings, \'bg-danger\': stats.avg_ratings_discipline>stats.avg_ratings}">\n        \x3c!--<h2>-</h2>--\x3e\n        <h2>{{ (stats.avg_ratings_discipline | number: \'1.0-0\') || \'-\' }}/{{ (stats.avg_ratings | number:\'1.0-0\') || \'-\'\n          }}</h2>\n        \x3c!--<h5>hopp {{\xa0current_year }}</h5>--\x3e\n        <h5>rating</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-success text-white">\n        <h2>-</h2>\n        <h5>skade</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-danger text-white">\n        <h2>-</h2>\n        <h5>skade elev</h5>\n      </div>\n\n      <div class="col-md-2 text-center bg-success text-white">\n        <h2>-</h2>\n        <h5>ulykke</h5>\n      </div>\n\n    </div>\n  </div>\n</div>\n\n\n<div class="container">\n  <div class="row my-4">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <nlf-ors-modellfly-dashboard-table *ngIf="isDataReady() && !!discipline_id && dateRangeReady"\n        activity="modellfly" [discipline]="discipline_id" [dateRange]="dateRange"></nlf-ors-modellfly-dashboard-table>\n    </div>\n  </div>\n</div>\n'},27189:de=>{"use strict";de.exports='<span *ngIf="observation.hasOwnProperty(\'e5x\') && observation.e5x.audit.length>0" title="Observasjonen er sendt til LT"\n    (click)="openModal(auditModal)" class="badge bg-success pointer">\n    <fa-icon [icon]="faCheck"></fa-icon>LT\n</span>\n<span *ngIf="observation.hasOwnProperty(\'e5x\') && observation.e5x.audit.length==0" title="ikke sendt LT"\n    class="badge bg-secondary">LT</span>\n\n\x3c!-- AUDIT MODAL ---\x3e\n<ng-template #auditModal>\n\n    <div class="modal-header">\n        <h4 class="modal-title pull-left">\n            #{{ observation.id }} innsending til Luftfartstilsynet\n            \x3c!--\n            <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n                [tags]="modalObservation.tags" [activity]="modalObservation._model.type"\n                seperator="/"></nlf-resolve-observation-tags>\n              <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n                {{ observation.title }}\n              </ng-container>\n              --\x3e\n        </h4>\n        <button type="button" class="close float-end" aria-label="Close" (click)="closeModal()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n    </div>\n\n    <div class="modal-body">\n        <p class="lead">\n            <fa-icon [icon]="faHistory"></fa-icon>Historikk\n        </p>\n\n        <div *ngIf="observation.e5x.audit.length==0" class="alert alert-info">\n            <strong>Ingen historikk</strong> hvilket betyr at denne observasjonen ikke har blitt sendt LT\n            tidligere.\n        </div>\n\n        <table *ngIf="observation.e5x.audit.length>0" class="my-3 table table-striped table-sm">\n            <thead>\n                <th></th>\n                <th>Dato</th>\n                <th>Sent av</th>\n                <th>Sent som</th>\n                <th>Versjon</th>\n                <th>Innsending</th>\n                <th>Prossesering</th>\n                <th>Status</th>\n                <th></th>\n            </thead>\n            <tbody>\n                <tr *ngFor="let audit of observation.e5x.audit"\n                    [ngClass]="{\'bg-info\':observation._version==audit.version}">\n                    <td>\n                    </td>\n                    <td>\n                        {{ audit.date | date:\'yyyy-MM-dd HH:mm\'}}\n                    </td>\n                    <td>\n                        <nlf-resolve-lungo-person [person_id]="audit.person_id"></nlf-resolve-lungo-person>\n                    </td>\n                    <td>\n                        <nlf-ors-editor-tag-e5x-render *ngIf="observation._model.version<4"\n                            classes="badge badge-secondary" [showLabel]="false" [items]="audit.status"\n                            path="E5X.Occurrence.ReportingHistory.ReportStatus"></nlf-ors-editor-tag-e5x-render>\n\n                        <nlf-ors-editor-tag-e5x-render-version *ngIf="observation._model.version>=4"\n                            [_id]="observation[\'_id\']" [version]="audit.version"\n                            path="eccairs2.entities.reportingHistory.0.attributes.reportStatus"\n                            e5xPath="E5X.Occurrence.ReportingHistory.ReportStatus" classes="badge bg-info">\n                        </nlf-ors-editor-tag-e5x-render-version>\n\n                    </td>\n                    <td>\n                        v{{ audit.version }}\n                    </td>\n                    <td>\n                        <span *ngIf="audit.sent" class="badge bg-success"><fa-icon [icon]="faPaperPlane"></fa-icon>\n                            Sendt</span>\n                        <span *ngIf="!audit.sent" class="badge bg-info"><fa-icon [icon]="faBan"></fa-icon>\n                            Ikke sendt</span>\n                    </td>\n                    \x3c!-- Prossesering--\x3e\n                    <td>\n                        <span *ngIf="!!audit?.eccairs2">\n                            <span *ngIf="!!audit?.eccairs2?.result" class="badge bg-success"\n                                title="Filen har blitt prosessert ferdig og er mottatt hos LT">\n                                <fa-icon [icon]="faCogs"></fa-icon> {{\n                                audit?.eccairs2?.result?.migrationStatus || "?" }}\n                            </span>\n                            <span *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !audit?.eccairs2?.result"\n                                class="badge bg-warning" title="Prossesserer filen">\n                                <fa-icon [icon]="faCogs"></fa-icon> {{ audit?.status }}\n                            </span>\n                            <span\n                                *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !!audit?.eccairs2?.result && audit?.eccairs2?.result?.migrationStatus !=\'Processed OK\'"\n                                class="badge bg-danger" title="Det var problemer med \xe5 prossessere filen">\n                                <fa-icon [icon]="faCogs"></fa-icon> {{\n                                audit?.eccairs2?.result?.migrationStatus || "Feilet" }}\n                            </span>\n                        </span>\n                    </td>\n                    \x3c!--Status --\x3e\n                    <td>\n                        <span *ngIf="audit?.eccairs2?.result?.migrationStatus===\'Processed OK\'&&audit.sent===true">\n                            <fa-icon [icon]="faCheck" class="text-success" title="Filen er levert LT"></fa-icon>\n                        </span>\n                        <span\n                            *ngIf="!!audit?.eccairs2?.result?.migrationStatus && (audit?.eccairs2?.result?.migrationStatus!=\'Processed OK\'||audit.sent!=true)">\n                            <fa-icon [icon]="faBan" class="text-danger"\n                                title="Det har skjedd en feil under sending"></fa-icon>\n                        </span>\n                    </td>\n                    <td class="text-end">\n                        <a *ngIf="!!token" target="_blank"\n                            href="/api/v1/e5x/download/{{observation._model.type}}/{{observation.id}}/{{audit.version}}?token={{token}}">\n                            <fa-icon [icon]="faDownload"></fa-icon>\n                        </a>\n                    </td>\n                </tr>\n            </tbody>\n        </table>\n\n    </div>\n\n    <div class="modal-footer">\n        <button class="btn btn-outline-dark" (click)="closeModal()">\n            <fa-icon [icon]="faTimes"></fa-icon> Lukk\n        </button>\n\n    </div>\n</ng-template>'},85550:de=>{"use strict";de.exports='<span *ngIf="e5x_enabled && !!observation">\n    \x3c!-- make a eccairs2 audit in top!\n        <span (click)="openModal(modalTemplate)" class="pointer badge mx-1"\n        [ngClass]="{\'bg-success\':observation.e5x.status==\'sent\', \'bg-secondary\': !observation.e5x.status}">\n        <fa-icon [icon]="faFileAlt"></fa-icon> LT\n    </span>--\x3e\n    <button *ngIf="!!observation.eccairs2 && observation.eccairs2.hasOwnProperty(\'attributes\')"\n        (click)="openModal(modalTemplate)" class="pointer btn btn-primary mx-1"\n        [ngClass]="{\'bg-success\':observation.e5x.status==\'sent\', \'bg-secondary\': !observation.e5x.status}">\n        <fa-icon [icon]="faPaperPlane"></fa-icon> Send til LT\n    </button>\n</span>\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalTemplate>\n\n    <div *ngIf="!!observation" class="modal-header">\n        <h4 class="modal-title pull-left">\n            Innsending av #{{ observation.id }} {{ observation._model.type }} v{{ observation._version }} til LT</h4>\n        <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n    </div>\n\n    <div *ngIf="!!observation" class="modal-body">\n\n        <div class="row">\n            <div class="col-md-12">\n                <p class="lead">\n                    <fa-icon [icon]="faHistory"></fa-icon>Historikk\n                </p>\n\n                <div *ngIf="observation.e5x.audit.length==0" class="alert alert-info">\n                    <strong>Ingen historikk</strong> hvilket betyr at denne observasjonen ikke har blitt sendt LT\n                    tidligere.\n                </div>\n\n                <table *ngIf="observation.e5x.audit.length>0" class="my-3 table table-striped table-sm">\n                    <thead>\n                        <th></th>\n                        <th>Dato</th>\n                        <th>Sent av</th>\n                        <th>Sent som</th>\n                        <th>Versjon</th>\n                        <th>Innsending</th>\n                        <th>Prossesering</th>\n                        <th>Status</th>\n                        <th></th>\n                    </thead>\n                    <tbody>\n                        <tr *ngFor="let audit of observation.e5x.audit"\n                            [ngClass]="{\'bg-info\':observation._version==audit.version}">\n                            <td>\n                            </td>\n                            <td>\n                                {{ audit.date | date:\'yyyy-MM-dd HH:mm\'}}\n                            </td>\n                            <td>\n                                <nlf-resolve-lungo-person [person_id]="audit.person_id"></nlf-resolve-lungo-person>\n                            </td>\n                            <td>\n                                <nlf-ors-editor-tag-e5x-render *ngIf="observation._model.version<4"\n                                    classes="badge badge-secondary" [showLabel]="false" [items]="audit.status"\n                                    path="E5X.Occurrence.ReportingHistory.ReportStatus"></nlf-ors-editor-tag-e5x-render>\n\n                                <nlf-ors-editor-tag-e5x-render-version *ngIf="observation._model.version>=4"\n                                    [_id]="observation[\'_id\']" [version]="audit.version"\n                                    path="eccairs2.entities.reportingHistory.0.attributes.reportStatus"\n                                    e5xPath="E5X.Occurrence.ReportingHistory.ReportStatus" classes="badge bg-info">\n                                </nlf-ors-editor-tag-e5x-render-version>\n\n                            </td>\n                            <td>\n                                v{{ audit.version }}\n                            </td>\n                            <td>\n                                <span *ngIf="audit.sent" class="badge bg-success"><fa-icon\n                                        [icon]="faPaperPlane"></fa-icon>\n                                    Sendt</span>\n                                <span *ngIf="!audit.sent" class="badge bg-info"><fa-icon [icon]="faBan"></fa-icon>\n                                    Ikke sendt</span>\n                            </td>\n                            \x3c!-- Prossesering--\x3e\n                            <td>\n                                <span *ngIf="!!audit?.eccairs2">\n                                    <span *ngIf="!!audit?.eccairs2?.result" class="badge bg-success"\n                                        title="Filen har blitt prosessert ferdig og er mottatt hos LT">\n                                        <fa-icon [icon]="faCogs"></fa-icon> {{\n                                        audit?.eccairs2?.result?.migrationStatus || "?" }}\n                                    </span>\n                                    <span\n                                        *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !audit?.eccairs2?.result"\n                                        class="badge bg-warning" title="Prossesserer filen">\n                                        <fa-icon [icon]="faCogs"></fa-icon> {{ audit?.status }}\n                                    </span>\n                                    <span\n                                        *ngIf="audit?.sent===true && audit?.eccairs2?.id>0 && !!audit?.eccairs2?.result && audit?.eccairs2?.result?.migrationStatus !=\'Processed OK\'"\n                                        class="badge bg-danger" title="Det var problemer med \xe5 prossessere filen">\n                                        <fa-icon [icon]="faCogs"></fa-icon> {{\n                                        audit?.eccairs2?.result?.migrationStatus || "Feilet" }}\n                                    </span>\n                                </span>\n                            </td>\n                            \x3c!--Status --\x3e\n                            <td>\n                                <span\n                                    *ngIf="audit?.eccairs2?.result?.migrationStatus===\'Processed OK\'&&audit.sent===true">\n                                    <fa-icon [icon]="faCheck" class="text-success" title="Filen er levert LT"></fa-icon>\n                                </span>\n                                <span\n                                    *ngIf="!!audit?.eccairs2?.result?.migrationStatus && (audit?.eccairs2?.result?.migrationStatus!=\'Processed OK\'||audit.sent!=true)">\n                                    <fa-icon [icon]="faBan" class="text-danger"\n                                        title="Det har skjedd en feil under sending"></fa-icon>\n                                </span>\n                            </td>\n                            <td class="text-end">\n                                <a *ngIf="!!token" target="_blank"\n                                    href="/api/v1/e5x/download/{{observation._model.type}}/{{observation.id}}/{{audit.version}}?token={{token}}">\n                                    <fa-icon [icon]="faDownload"></fa-icon>\n                                </a>\n                            </td>\n                        </tr>\n                    </tbody>\n                </table>\n            </div>\n        </div>\n\n        \x3c!-- NO ACCESS --\x3e\n        <div *ngIf="!observation.acl_user.x && observation.workflow.state==\'pending_review_obsreg\'">\n            <div class="alert alert-danger m-3" role="alert">\n                <strong>Ingen tilgang</strong> Kun OBSREG koordinator har tilgang til \xe5 sende inn rapporten til LT.\n            </div>\n        </div>\n\n        \x3c!-- THIS VERSION ALLREADY REPORTED --\x3e\n        <div *ngIf="!e5xResult && !!observation.e5x.latest_version && observation._version==observation.e5x.latest_version"\n            class="alert alert-info m-3">\n            <strong>Denne versionen, version {{ observation._version }}, er allerede sendt inn.</strong> Det er\n            ingen\n            endringer i observasjonen siden\n            innsendelse og du kan dermed ikke sende denne inn p\xe5 nytt f\xf8r eventuelle endringer.\n        </div>\n\n        \x3c!-- HAS ACCESS --\x3e\n\n        <div *ngIf="!!observation.acl_user.x && observation.workflow.state==\'pending_review_obsreg\'">\n            \x3c!-- GENERATE --\x3e\n            <div *ngIf="!generating">\n                <div *ngIf="!observation.e5x.latest_version || observation._version!=observation.e5x.latest_version"\n                    class="my-3 mx-3">\n\n                    \x3c!-- WARNING SEND YOURSELF? --\x3e\n                    <div *ngIf="ENV._name!=\'prod\' && !ENV._e5x_submission" class="alert alert-warning m-3" role="alert">\n                        <strong>Viktig!</strong> Dette er <span class="badge bg-danger">{{ ENV._name | uppercase\n                            }}</span> som er\n                        en\n                        test instans og innsendelse til LT er derfor ikke aktivert. Kun skarpe rapporter alts\xe5\n                        registrert i\n                        produksjonssystemet https://app.nlf.no kan sendes LT.\n                        Her kan du generere E5X filen som er en zipped fil med rapporten i xml format samt\n                        eventuelle vedlegg.\n                        Denne kan du laste ned om du \xf8nsker.\n                    </div>\n\n                    <div *ngIf="ENV._name==\'prod\' && !ENV._e5x_submission" class="alert alert-warning m-3" role="alert">\n                        <strong>Viktig!</strong> Innsendelse til LT er ikke aktivert for <span\n                            class="badge bg-danger">{{\n                            ENV._name | uppercase }}</span>\n                    </div>\n\n                    <div *ngIf="ENV._name==\'dev\' && ENV._e5x_submission" class="alert alert-info m-3" role="alert">\n                        <strong>Viktig!</strong> Dette er <span class="badge bg-danger">{{ ENV._name | uppercase\n                            }}</span> som er\n                        en\n                        test instans <strong>med innsendelse til LT sitt testmilj\xf8</strong>. Innsendelse her blir\n                        gjennomf\xf8rt p\xe5\n                        samme m\xe5te som i produksjonssystemet men havner\n                        alts\xe5 som testfiler hos LT hvor de behandler filene i sitt testmilj\xf8.\n                    </div>\n\n\n                    <div class="row">\n                        <div class="nlf-ors-toolbar">\n                            Innsending\n                            <nlf-help class="float-end" key="ors-e5x-generate"></nlf-help>\n                        </div>\n\n                        <dl class="row m-3">\n                            <dt class="col-sm-4">Rapportert av</dt>\n                            <dd class="col-sm-8">\n                                <nlf-resolve-lungo-person [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n                            </dd>\n\n                            <dt class="col-sm-4">Sendes inn av</dt>\n                            <dd class="col-sm-8">\n                                <nlf-resolve-lungo-person [person_id]="person_id"></nlf-resolve-lungo-person>\n                            </dd>\n                        </dl>\n\n                        <div class="alert alert-info m-3">\n                            <strong>Anonymisert rapport;</strong> ingen navn sendes med i rapporten til LT, den er\n                            fullstendig\n                            anonymisert.\n                        </div>\n                    </div>\n\n\n                    <div class="row">\n\n                        <div class="col-md-12">\n                            <nlf-ors-editor-tag-e5x\n                                [(items)]="observation.eccairs2.entities.reportingHistory[0].attributes.reportStatus.value"\n                                path="E5X.Occurrence.ReportingHistory.ReportStatus" [allowed]="allowedStatusKeys"\n                                id="ReportStatus">\n                            </nlf-ors-editor-tag-e5x>\n                        </div>\n\n                        <div class="col-md-12 mt-3">\n                            <div class="d-grid gap-2">\n                                <button\n                                    [disabled]="!observation.eccairs2.entities.reportingHistory[0].attributes.reportStatus.value"\n                                    class="btn btn-primary btn-lg" (click)="send()">\n                                    <fa-icon [icon]="faPaperPlane"></fa-icon> Send rapport\n                                </button>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            </div>\n\n\n            <div *ngIf="!generating && !!e5xResult">\n                <div class="alert alert-success">\n                    <p class="lead">\n                        <fa-icon [icon]="faCheck"></fa-icon>E5X rapport fil ble generert\n                    </p>\n                    <p>Filen kan om \xf8nskelig lastes ned ovenfor</p>\n                </div>\n            </div>\n\n            <div *ngIf="generating" class="text-center my-3">\n                <nlf-ui-component-spinner></nlf-ui-component-spinner>\n                <h4>E5X GENERATING....</h4>\n            </div>\n\n        </div>\n    </div>\n\n    <div class="modal-footer">\n        <button class="btn btn-outline-dark" (click)="closeModal()">Ferdig</button>\n    </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e'},62235:de=>{"use strict";de.exports='<span *ngIf="!!observation">\n\n  <nlf-ors-editor-tag-persons *ngIf="!!involved" [disabled]="!observation.acl_user.w" [(persons)]="involved"\n    [activity]="observation._model.type" [(external)]="deleteExternal"\n    (change)="onChange($event)"></nlf-ors-editor-tag-persons>\n  \x3c!-- {{\xa0involved | json }} --\x3e\n\n  <table class="table table-striped table-hover mt-2">\n    <thead></thead>\n    <tbody>\n      <tr *ngFor="let p of involved; let idx = index">\n\n        <td class="">\n          <fa-icon *ngIf="p.id>0" [icon]="faCheck" class="text-success me-2"\n            title="Hentet fra medlemssystemet"></fa-icon>\n          <fa-icon *ngIf="p.id<1" [icon]="faExclamation" class="text-danger me-2" title="Ukjent person"></fa-icon>\n          <strong>\n            <nlf-resolve-lungo-person [person_id]="p.id" [tmp_name]="p.tmp_name" [link]="false"\n              [avatar]="true"></nlf-resolve-lungo-person>\n          </strong>\n\n\n        </td>\n        <td>\n          <fa-icon title="Personskade" class="ml-3" *ngIf="p.data?.injury===\'injury\'" [icon]="faTruckMedical"></fa-icon>\n          <fa-icon title="Alvorlig skade med men eller d\xf8d" class="ml-3 text-danger"\n            *ngIf="p.data?.injury===\'serious_or_fatal\'" [icon]="faHouseMedicalCircleExclamation"></fa-icon>\n        </td>\n\n        <td>\n          <ng-container *ngFor="let role of config.modellfly.observation.roles_in_observation">\n            <ng-container *ngIf="p?.data?.role==role.key">{{ role.label }}</ng-container>\n          </ng-container>\n          <button *ngIf="!p?.data?.role" type="button" class="btn btn-link btn-sm"\n            (click)="openPersonModal(involvedModal, idx)"><fa-icon [icon]="faPencil"></fa-icon> Legg til rolle</button>\n\n          \x3c!--\n          <div class="form-group">\n            <label>Rolle</label>\n            <nlf-ors-editor-role-in-observation [(role)]="involved[idx].data.role" activity="modellfly"\n              (change)="onChange($event)"></nlf-ors-editor-role-in-observation>\n          </div> --\x3e\n        </td>\n        \x3c!-- FLAGG\n      <td>\n        <fa-icon *ngIf="!!p.ph" [icon]="faBan" title="Permanent Hoppforbud" [fixedWidth]="true"\n          class="text-danger mx-1"></fa-icon>\n        <fa-icon *ngIf="!!p.fu" [icon]="faExclamation" title="Farlig Ukontrollert" [fixedWidth]="true"\n          class="text-warning mx-1"></fa-icon>\n      </td>\n      --\x3e\n        \x3c!--\n        <td>\n          <span *ngIf="!!p?.data && 1==9" class="text-small">\n            <nlf-resolve-lungo-license *ngFor="let l of p.data?.licenses" [license_id]="l.id" link="false"\n              long="false"></nlf-resolve-lungo-license>\n            <nlf-resolve-lungo-function *ngFor="let fid of p.data?.functions" [function_id]="fid" show_org="true"\n              link="false" long="false"></nlf-resolve-lungo-function>\n          </span>\n        </td>\n      --\x3e\n        <td>\n\n          <ng-container *ngFor="let rpas of config.modellfly.observation.rpas_types">\n            <span *ngIf="p?.data?.rpas_type==rpas.key" class="mr-2">{{ rpas.label }}</span>\n          </ng-container>\n          <button *ngIf="!p?.data?.rpas_type" type="button" class="btn btn-link btn-sm" (click)="openPersonModal(involvedModal, idx)">\n            <fa-icon [icon]="faPencil"></fa-icon> Legg til RPAS\n          </button>\n          \x3c!--\n          <div class="form-group">\n            <label>Modell benyttet</label>\n            <nlf-ors-modellfly-editor-rpas-type [(rpasType)]="involved[idx].data.rpas_type"\n              (change)="onChange($event)"></nlf-ors-modellfly-editor-rpas-type>\n          </div>--\x3e\n\n\n          <ng-container *ngFor="let rpas_flight_type of config.modellfly.observation.rpas_flight_type">\n            <ng-container *ngIf="p?.data?.rpas_flight_type==rpas_flight_type.key">\n              <span class="badge bg-info text-dark ml-2 p-1">{{ rpas_flight_type.label }}</span>\n            </ng-container>\n          </ng-container>\n          \x3c!--\n          <div class="form-group">\n            <label for="activity">Type flygning</label>\n            <nlf-ors-modellfly-editor-rpas-flight-type [(rpasFlightType)]="involved[idx].data.rpas_flight_type"\n              (change)="onChange($event)"></nlf-ors-modellfly-editor-rpas-flight-type>\n          </div>--\x3e\n        </td>\n\n        <td>\n          <div>\n            <span *ngFor="let license of p?.data?.licenses" class="mx-1">\n              <nlf-resolve-lungo-license [license_id]="license.id"></nlf-resolve-lungo-license>\n              \x3c!--{{license.type_name}}--\x3e\n            </span>\n          </div>\n          <div>\n            <span *ngFor="let competence of p?.data?.competences" class="mx-1">\n              {{competence._code}}\n            </span>\n          </div>\n          <div *ngIf="!!p?.tmp_name">(ikke medlem)</div>\n        </td>\n\n        <td class="text-end">\n          <button (click)="openPersonModal(involvedModal, idx)" type="button" class="btn btn-sm btn-warning"><fa-icon\n              [icon]="faEdit"></fa-icon>Edit</button>\n          <fa-icon *ngIf="!disabled" class="pointer ms-3" title="Slett person" (click)="onRemove(idx)"\n            [icon]="faTimes"></fa-icon>\n        </td>\n      </tr>\n    </tbody>\n  </table>\n\n  \x3c!--<fa-icon (click)="openPersonModal(involvedModal, idx)" [icon]="id-card-o" [fixedWidth]="true"></fa-icon>--\x3e\n\n  \x3c!-- /dataReady --\x3e\n</span>\n\n\x3c!-- MODAL --\x3e\n<ng-template #involvedModal>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      <nlf-resolve-lungo-person [person_id]="modalPerson.id" [tmp_name]="modalPerson.tmp_name" link="false"\n        avatar="false"></nlf-resolve-lungo-person>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n\n    \x3c!-- Sjekkbokser\n    <div class="row mb-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.ph" id="ph">\n          <label class="form-check-label" for="ph">\n            Permanent Hoppforbud\n          </label>\n        </div>\n        <div class="form-check">\n          <input [disabled]="disabled" class="form-check-input" type="checkbox" [(ngModel)]="modalPerson.fu" id="fu">\n          <label class="form-check-label" for="fu">\n            Farlig Ukontrollert (FU)\n          </label>\n        </div>\n      </div>\n    </div>\n    --\x3e\n\n\n    \x3c!--Data --\x3e\n    <div class="row my-3">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label>Rolle</label>\n          <nlf-ors-editor-role-in-observation [(role)]="modalPerson.data.role" activity="modellfly"\n            (change)="onChange($event)"></nlf-ors-editor-role-in-observation>\n        </div>\n      </div>\n\n      \x3c!--\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Aktivitet</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="jump_activity" activity="modellfly"\n            [(initialTags)]="modalPerson.data.activity" [disabled]="disabled">\n          </nlf-ors-editor-tag>\n        </div>\n      </div>\n       --\x3e\n    </div>\n\n\n    \x3c!--Modell osv --\x3e\n    <div class="row my-3">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label>Modell benyttet</label>\n          <nlf-ors-modellfly-editor-rpas-type [(rpasType)]="modalPerson.data.rpas_type"\n            (change)="onChange($event)"></nlf-ors-modellfly-editor-rpas-type>\n        </div>\n      </div>\n\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Type flygning</label>\n          <nlf-ors-modellfly-editor-rpas-flight-type [(rpasFlightType)]="modalPerson.data.rpas_flight_type"\n            (change)="onChange($event)"></nlf-ors-modellfly-editor-rpas-flight-type>\n        </div>\n      </div>\n    </div>\n\n    \x3c!--Placeholders --\x3e\n\n    \x3c!--\n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label>Datapunkt 1</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="test_1" activity="modellfly"\n            [(initialTags)]="modalPerson.data.test_1" [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n\n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="activity">Datapunkt 2</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="test_2" activity="modellfly"\n            [(initialTags)]="modalPerson.data.test_2" [disabled]="disabled">\n          </nlf-ors-editor-tag>\n        </div>\n      </div>\n\n      <div class="col-md-6">\n        <div class="form-group">\n          <label>Datapunkt 3</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="test_3" activity="modellfly"\n            [(initialTags)]="modalPerson.data.test_3" [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n  --\x3e\n\n    \x3c!-- Hovedskjerm, st\xf8rrelse, erfaring \n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="mainCanopy">Hovedskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="main_canopies" activity="modellfly"\n            [(tagString)]="modalPerson.data.gear.main_canopy" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="mainCanopySize"\n            [(ngModel)]="modalPerson.data.gear.main_canopy_size">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="mainCanopyExperience">Erfaring Hovedskjerm</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="mainCanopyExperience"\n            [(ngModel)]="modalPerson.data.gear.main_canopy_experience">\n        </div>\n      </div>\n    </div>\n    --\x3e\n    \x3c!-- Reserve, st\xf8rrelse mk, pakkedato \n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="reserveCanopy">Reserveskjerm</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="reserve_canopies" activity="modellfly"\n            [disabled]="disabled" [(tagString)]="modalPerson.data.gear.reserve_canopy">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="reserveCanopySize">St\xf8rrelse</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="reserveCanopySize"\n            [(ngModel)]="modalPerson.data.gear.reserve_canopy_size">\n        </div>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-md-6">\n        <label for="rigger">MK</label>\n        <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="modalPerson.data.gear.rigger"\n          [activity]="observation._model.type" (change)="onChange($event)"></nlf-ors-editor-tag-persons>\n\n      </div>\n      <div class="col-md-3">\n\n        <div class="form-group">\n          <label for="riggerDate">Pakkedato</label>\n          <div class="input-group">\n            <input class="form-control" placeholder="yyyy-mm-dd" name="dp"\n              [(ngModel)]="modalPerson.data.gear.riggerDate" ngbDatepicker #d="ngbDatepicker" [maxDate]="today">\n            <button [disabled]="disabled" class="btn btn-outline-secondary" (click)="d.toggle()" type="button">\n              <fa-icon [icon]="faCalendar"></fa-icon>\n            </button>\n          </div>\n        </div>\n      </div>\n    </div>\n    --\x3e\n    \x3c!-- Selet\xf8y, erfaring, n\xf8d\xe5pner \n    <div class="row">\n      <div class="col-md-6">\n        <div class="form-group">\n          <label for="harness">Selet\xf8y</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="harness_types" activity="modellfly"\n            [(tagString)]="modalPerson.data.gear.harness" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="harnessExperience">Erfaring selet\xf8y</label>\n          <input [disabled]="disabled" class="form-control" type="number" min="0" id="harnessExperience"\n            [(ngModel)]="modalPerson.data.gear.harness_experience">\n        </div>\n      </div>\n      <div class="col-md-3">\n        <div class="form-group">\n          <label for="aad">N\xf8d\xe5pner</label>\n          <nlf-ors-editor-tag-string fc="true" preload="true" group="aad_types" activity="modellfly"\n            [(tagString)]="modalPerson.data.gear.aad" [disabled]="disabled">\n          </nlf-ors-editor-tag-string>\n        </div>\n      </div>\n    </div>\n--\x3e\n\n\n    \x3c!-- Skade og d\xf8d! --\x3e\n    <div class="row my-3">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label for="other">Personskade</label>\n\n          <div class="form-check">\n            <input class="form-check-input" [(ngModel)]="modalPerson.data.injury" value="none" type="radio"\n              name="flexRadioDefault" id="flexRadioDefault1" checked>\n            <label class="form-check-label" for="flexRadioDefault1">\n              Ingen personskade\n            </label>\n          </div>\n\n          <div class="form-check">\n            <input class="form-check-input" [(ngModel)]="modalPerson.data.injury" value="injury" type="radio"\n              name="flexRadioDefault" id="flexRadioDefault1">\n            <label class="form-check-label" for="flexRadioDefault1">\n              Personskade\n            </label>\n          </div>\n          <div class="form-check">\n            <input class="form-check-input" [(ngModel)]="modalPerson.data.injury" value="serious_or_fatal" type="radio"\n              name="flexRadioDefault" id="flexRadioDefault2">\n            <label class="form-check-label" for="flexRadioDefault2">\n              Varige men eller d\xf8d\n            </label>\n          </div>\n        </div>\n      </div>\n    </div>\n    \x3c!-- Annet \n    <div class="row">\n      <div class="col-md-12">\n        <div class="form-group">\n          <label for="other">Annet utstyr</label>\n          <nlf-ors-editor-tag fc="true" preload="true" group="other_equipment" activity="modellfly"\n            [(initialTags)]="modalPerson.data.gear.other" [disabled]="disabled"></nlf-ors-editor-tag>\n        </div>\n      </div>\n    </div>\n    --\x3e\n\n    <div *ngIf="devDebug" class="row">\n      Person: {{ modalPerson | json }}\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">\n      <fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n    </button>\n    <button [ngClass]="{\'disabled\': disabled}" class="btn btn-success" (click)="modalInvolvedUpdate(modalIndex)">\n      <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Oppdater\n    </button>\n  </div>\n</ng-template>'},7909:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n\n  <div class="row">\n\n    <div *ngIf="!!locations" class="col-xs-12 col-md-4 d-flex flex-column">\n      \x3c!-- Select location --\x3e\n      <select *ngIf="locations.length>0" [attr.disabled]="!observation.acl_user.w ? \'\' : null" class="form-control mt-3"\n        [formControl]="locationChooser" [(ngModel)]="selected">\n        <option *ngFor="let location of locations;let i = index" [ngValue]="location.nickname">\n          {{ location.nickname }} ({{ location.name }}) <ng-container *ngIf="i===0">*</ng-container>\n        </option>\n      </select>\n\n      \x3c!-- Alert if no location --\x3e\n      <ngb-alert *ngIf="locations.length==0 && dataReady" type="warning" [dismissible]="false">\n        <strong>Ingen steder definert for klubben</strong>. Opprett minst ett sted ved \xe5 velge &quot;Rediger&quot;\n        under.\n      </ngb-alert>\n\n      \x3c!-- Always show button --\x3e\n      <div class="d-grid gap-2">\n        <a class="btn btn-secondary mt-auto" [routerLink]="[\'/organizations\', observation.discipline, \'locations\']"\n          [queryParams]="{returl: \'/ors/\'+observation._model.type+\'/edit/\'+observation.id}">\n          <fa-icon [icon]="faEdit"></fa-icon> Rediger\n        </a>\n      </div>\n\n    </div>\n\n    \x3c!-- Map column --\x3e\n    <div class="col-xs-12 col-md-8 d-flex flex-column">\n      \n      <div style="height: 300px" *ngIf="dataReady && hasMapCoordinates()" id="location-map" leaflet [leafletOptions]="mapOptions"\n      (leafletMapReady)="onMapReady($event)" [(leafletCenter)]="mapCenter">\n      </div>\n      <div *ngIf="dataReady && hasMapCoordinates()">\n        lat: {{ observation.location.geo.coordinates[1] }}, lng: {{ observation.location.geo.coordinates[0] }}\n      </div>\n      \x3c!--\n      <agm-map *ngIf="dataReady && locations.length>0" [latitude]="toFloat(observation.location.geo.coordinates[0])"\n        [mapTypeControl]="true" [longitude]="toFloat(observation.location.geo.coordinates[1])" [zoom]="15">\n        <agm-marker [markerDraggable]="observation.acl_user.w" (dragEnd)="markerMoved($event)"\n          [latitude]="toFloat(observation.location.geo.coordinates[0])"\n          [longitude]="toFloat(observation.location.geo.coordinates[1])">\n        </agm-marker>\n      </agm-map>\n      --\x3e\n    </div>\n  </div>\n</ng-container>'},16206:de=>{"use strict";de.exports='<ng-container *ngIf="!!observation">\n  <dl class="row mt-3">\n    \x3c!-- HI --\x3e\n    <dt class="col-sm-3 col-md-1 lead">HI:</dt>\n    <dd class="col-sm-9 col-md-11 lead">\n      <div *ngFor="let hi of observation.organization.hi">\n        <nlf-resolve-lungo-person [person_id]="hi" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n      </div>\n      <div *ngIf="!observation.organization.hi" class="alert alert-danger" role="alert">\n        <fa-icon [icon]="faExclamation"></fa-icon> Ingen HI satt\n      </div>\n    </dd>\n  </dl>\n\n  \x3c!-- HL & HFL --\x3e\n\n  <div class="row mt-3">\n    <div class="col-md-1 lead">HL</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hl"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hl | json }}</div>\n    </div>\n    <div class="col-md-1 lead">HFL</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hfl"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hfl | json }}</div>\n    </div>\n  </div>\n  \x3c!--HM & Pilot --\x3e\n  <div class="row mt-3">\n    <div class="col-md-1 lead">HM</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.hm"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      <div *ngIf="!!devDebug">{{ observation.organization.hm | json }}</div>\n    </div>\n    <div class="col-md-1 lead">Pilot</div>\n    <div class="col-md-5">\n      <nlf-ors-editor-tag-persons [disabled]="!observation.acl_user.w" [(persons)]="observation.organization.pilot"\n        [activity]="observation._model.type" (change)="update($event)"></nlf-ors-editor-tag-persons>\n      \x3c!--  <nlf-ors-editor-people [disabled]="!observation.acl_user.w" [who]="observation.organization.pilot" [details]="false" path="organization.pilot"></nlf-ors-editor-people>--\x3e\n      <div *ngIf="!!devDebug">{{ observation.organization.pilot | json }}</div>\n    </div>\n  </div>\n</ng-container>\n'},92569:de=>{"use strict";de.exports='<div class="form-group">\n    <select class="form-select" placeholder="Velg rpas type"\n        name="reporter-rpas_flight_type" \n        id="reporter-rpas_flight_type-id" \n        class="form-control"\n        [(ngModel)]="rpasFlightType"\n        (ngModelChange)="onChange($event)"\n        [disabled]="disable">\n        <option value="" disabled>--Velg--</option>\n        <option *ngFor="let flight_type of config.modellfly.observation.rpas_flight_type" [value]="flight_type.key">{{ flight_type.label }}</option>\n    </select>\n</div>'},17672:de=>{"use strict";de.exports='<div class="form-group">\n    <select class="form-select" placeholder="Velg rpas type" aria-label="Velg rpas type"\n        name="reporter-role" \n        id="reporter-role-id" \n        class="form-control"\n        [(ngModel)]="rpasType"\n        (ngModelChange)="onChange($event)"\n        [disabled]="disable">\n        <option value="" [disabled]="true" [selected]="true">--Velg RPAS type--</option>\n        <option *ngFor="let rpas_type of config.modellfly.observation.rpas_types" [value]="rpas_type.key">{{ rpas_type.label }}</option>\n    </select>\n</div>'},56556:de=>{"use strict";de.exports='<ng-container *ngIf="dataReady && !error">\n\n  \x3c!-- STICKY TOP BAR --\x3e\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', \'modellfly\']">OBSREG</a>#{{ observation.id }}\n\n        \x3c!-- TITLE OR TAGS --\x3e\n        <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n          {{observation.title}}\n        </ng-container>\n        <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n          [tags]="observation.tags" [activity]="observation._model.type" [link]="true"\n          seperator="/"></nlf-resolve-observation-tags>\n        <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n          {{ observation.title }}\n        </ng-container>\n\n        <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          *ngIf="!!observation.rating" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n          observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n\n        \x3c!-- SAVE --\x3e\n        <a (click)="saveIfChanges()" *ngIf="!!observation && !!changes && observation.acl_user.w"\n          class="pointer badge bg-warning mx-1">\n          <fa-icon [icon]="faSave"></fa-icon>\n        </a>\n\n        \x3c!-- HELP --\x3e\n        <a class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()">\n          <fa-icon [icon]="faQuestion"></fa-icon>\n        </a>\n\n        \x3c!-- ABOUT --\x3e\n        <a (click)="openAbout()" class="pointer badge bg-secondary text-white mx-1">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger"\n            title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated | amTimeAgo }}\n        </a>\n\n        \x3c!-- VERSION --\x3e\n        <a class="badge bg-success mx-1 pointer" (click)="openDiff(diffModal)">v{{ observation._version }}</a>\n\n        \x3c!-- ECCAIRS2 Audit --\x3e\n        <nlf-ors-modellfly-eccairs2-audit></nlf-ors-modellfly-eccairs2-audit>\n\n        \x3c!-- WORKFLOW --\x3e\n        <a class="pointer mx-1" *ngIf="observation.acl_user.x" (click)="openWorkflow()">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            icon="true"></nlf-resolve-observation-state>\n        </a>\n        <a class="mx-1" *ngIf="!observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            icon="true"></nlf-resolve-observation-state>\n        </a>\n\n        \x3c!-- ACTIVITIES\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1" [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">--\x3e\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1 pointer"\n          title="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger"\n          (click)="openActivities(activityModal)">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n\n        \x3c!-- ACCESS!!! --\x3e\n        <nlf-ors-editor-users\n          *ngIf="[\'closed\', \'withdrawn\'].indexOf(observation.workflow.state)<0 && observation.acl_user.x"\n          [model]="observation._model.type" [_id]="observation._id" [observation]="observation"></nlf-ors-editor-users>\n\n        \x3c!-- REPORT LINK --\x3e\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]"\n          class="badge bg-primary text-white mx-1">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n  \x3c!-- CONTAINER --\x3e\n  <div class="container">\n\n    \x3c!-- TITLE/TAGS--\x3e\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n\n        \x3c!-- WELCOME FIRST TIME --\x3e\n        <nlf-ors-editor-first *ngIf="observation.acl_user.w"></nlf-ors-editor-first>\n\n        <div class="nlf-ors-toolbar mb-2">\n          Tittel <nlf-help class="float-end" key="ors-editor-modellfly-title"></nlf-help>\n        </div>\n\n        <nlf-ors-editor-title></nlf-ors-editor-title>\n\n        <div *ngIf="!!devDebug">\n          <code>{{ observation.tags | json}} </code>\n        </div>\n      </div>\n    </div>\n\n\n\n    \x3c!-- FILES mobnile only --\x3e\n    <div class="row my-3 d-block d-sm-none">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n\n    \x3c!--Type, When & Flags--\x3e\n    <div class="row my-3">\n      \x3c!-- TYPE --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Type <nlf-help class="float-end" key="ors-editor-modellfly-type"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-type></nlf-ors-editor-type>\n            <div *ngIf="!!devDebug">{{ observation.type }}</div>\n          </div>\n        </div>\n      </div>\n      \x3c!-- WHEN --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Tidspunkt<nlf-help class="float-end" key="ors-editor-when"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-when tz="local"></nlf-ors-editor-when>\n            <div *ngIf="!!devDebug">{{ observation.when }}</div>\n          </div>\n        </div>\n      </div>\n      \x3c!-- FLAGS--\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Flagg <nlf-help class="float-end" key="ors-editor-modellfly-flags"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-flags></nlf-ors-editor-flags>\n            <div *ngIf="!!devDebug">{{ observation.flags | json }}</div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    \x3c!-- CATEGORY & OPERATIONAL --\x3e\n    \x3c!--\n    <div class="row my-3">\n\n      <div class="col-xs-12 col-md-6">\n        <div class="nlf-ors-toolbar">\n          Kategori <nlf-help class="float-end" key="ors-editor-category"></nlf-help>\n        </div>\n        <nlf-ors-editor-categories></nlf-ors-editor-categories>\n        <div *ngIf="!!devDebug">Categories for observation {{ observation.category | json }}</div>\n      </div>\n\n      <div class="col-xs-12 col-md-6">\n        <div class="nlf-ors-toolbar">\n          Operasjonelt <nlf-help class="float-end" key="ors-editor-operational"></nlf-help>\n        </div>\n        <nlf-ors-editor-operational></nlf-ors-editor-operational>\n        <div *ngIf="!!devDebug">Operationals for observation {{ observation.operational | json }}</div>\n      </div>\n    </div>\n  --\x3e\n    \x3c!-- RATING --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Alvorlighetsgrad <nlf-help class="float-end" key="ors-editor-modellfly-rating"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light">\n        <nlf-ors-editor-rating></nlf-ors-editor-rating>\n        <div *ngIf="!!devDebug">Rating for observation {{ observation.rating | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- LOCATION  --\x3e\n    <div class="nlf-ors-toolbar">\n      Hvor skjedde det? <nlf-help class="float-end" key="ors-editor-modellfly-location"></nlf-help>\n    </div>\n    <nlf-ors-modellfly-editor-location></nlf-ors-modellfly-editor-location>\n    <div *ngIf="!!devDebug">{{ observation.location | json }}</div>\n\n    \x3c!-- FILES MD only --\x3e\n    <div class="row my-3 d-none d-sm-block">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- ORGANIZATION\n    <div class="nlf-ors-toolbar">\n      Organisasjon <nlf-help class="float-end" key="ors-editor-modellfly-organization"></nlf-help>\n    </div>\n      <nlf-ors-modellfly-editor-organization></nlf-ors-modellfly-editor-organization>\n    --\x3e\n\n    \x3c!-- INVOLVERTE --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Involverte <nlf-help class="float-end" key="ors-editor-modellfly-involved"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        \x3c!--\n        <nlf-ors-editor-tag-persons  [persons]="observation.involved" [activity]="observation._model.type"></nlf-ors-editor-tag-persons>\n        <nlf-ors-editor-people  [who]="observation.involved" path="involved"></nlf-ors-editor-people>--\x3e\n\n        <nlf-ors-modellfly-editor-involved></nlf-ors-modellfly-editor-involved>\n      </div>\n    </div>\n\n\n    \x3c!--\n    <nav ngbNav #nav="ngbNav" class="nav-tabs">\n      <ng-container ngbNavItem>\n        <a ngbNavLink>Beskrivelse i fritekst</a>\n        <ng-template ngbNavContent>\n          <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n            Hva skjedde?\n            <nlf-help class="float-end" key="ors-editor-modellfly-description"></nlf-help>\n          <button (click)="openPreview(modalPreview, \'description\', \'Beskrivelse\')" class="float-end btn btn-link">\n             <fa-icon [icon]="faEye"></fa-icon>Preview\n            </button>\n          </div>\n          <nlf-ors-editor-e5x-reportinghistory-reporters-description\n            [(narrative)]="observation.description"></nlf-ors-editor-e5x-reportinghistory-reporters-description>\n          <div *ngIf="devDebug" class="col-md-12 bg-light">\n            {{ observation.description }}\n          </div>\n        </ng-template>\n      </ng-container>\n      <ng-container ngbNavItem>\n        <a ngbNavLink>Forl\xf8pseditor</a>\n        <ng-template ngbNavContent>\n          <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n            Forl\xf8pet\n            <nlf-help class="float-end" key="ors-editor-modellfly-components"></nlf-help>\n            <button (click)="openPreview(modalPreview, \'components\', \'Forl\xf8pet\')" class="float-end btn btn-link">\n              <fa-icon [icon]="faEye"></fa-icon> Preview\n            </button>\n          </div>\n          <nlf-ors-editor-components></nlf-ors-editor-components>\n          <div *ngIf="devDebug" class="col-md-12 bg-light">\n            {{ observation.components | json }}\n          </div>\n        </ng-template>\n      </ng-container>\n    </nav>\n\n    <div [ngbNavOutlet]="nav" class="mt-2"></div>\n  --\x3e\n\n    \x3c!-- NARRATIVE --\x3e\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Hva skjedde?\n          <nlf-help class="float-end" key="ors-editor-modellfly-description"></nlf-help>\n          \x3c!--<button (click)="openPreview(modalPreview, \'description\', \'Beskrivelse\')" class="float-end btn btn-link">\n       <fa-icon [icon]="faEye"></fa-icon>Preview\n      </button>--\x3e\n        </div>\n        <nlf-ors-editor-e5x-reportinghistory-reporters-description [(narrative)]="observation.description"\n          [languages]="allowedLanguages">\n        </nlf-ors-editor-e5x-reportinghistory-reporters-description>\n        <div *ngIf="devDebug" class="col-md-12 bg-light">\n          {{ observation.description }}\n        </div>\n      </div>\n    </div>\n\n\n\n    \x3c!-- WEATHER \n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          V\xe6ret\n          <nlf-help class="float-end" key="ors-editor-modellfly-weather"></nlf-help>\n        </div>\n      </div>\n\n      <div class="col-xs-12 col-md-5">\n        <p class="lead">Auto (metar/TAF)</p>\n        <p>\n          <nlf-ors-editor-met></nlf-ors-editor-met>\n        </p>\n      </div>\n      <div class="col-xs-12 col-md-7">\n        <nlf-ors-editor-weather activity="modellfly"></nlf-ors-editor-weather>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <div *ngIf="devDebug">\n          {{ observation.weather.auto | json }}\n        </div>\n      </div>\n\n    </div>\n    --\x3e\n    \x3c!-- ACTIONS --\x3e\n    <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n      Tiltak\n      <nlf-help class="float-end" key="ors-editor-modellfly-actions"></nlf-help>\n    </div>\n    <nlf-ors-editor-actions></nlf-ors-editor-actions>\n    <div *ngIf="!!devDebug">{{ observation.actions | json }}</div>\n\n    \x3c!-- VURDERINGER --\x3e\n    <div class="nlf-ors-toolbar">\n      Vurderinger\n      <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n    </div>\n    <div class="row bg-light" style="padding-top:1em;padding-bottom:1em;">\n      <div class="col-md-4">\n        <p>\n          <nlf-ors-editor-ask></nlf-ors-editor-ask>\n\n        </p>\n      </div>\n      <div class="col-md-8">\n        <p>\n          <nlf-ors-editor-ask-text></nlf-ors-editor-ask-text>\n        </p>\n        <div *ngIf="observation.workflow.state==\'draft\'" class="form-group row">\n          <label class="col-sm-4 col-form-label">Min rolle i observasjonen</label>\n          <div class="col-sm-8">\n\n            \x3c!-- if not draft and not set - set it to "ingen rolle i observasjonen" as default --\x3e\n            <nlf-ors-editor-role-in-observation [(role)]="observation.reporter_role" activity="modellfly"\n              (change)="update($event);"></nlf-ors-editor-role-in-observation>\n          </div>\n        </div>\n      </div>\n    </div>\n    \x3c!-- //VURDERINGER --\x3e\n\n    \x3c!-- WORKFLOW ACTIONS IN PAGE --\x3e\n    <ng-container *ngIf="observation.acl_user.x">\n      <div class="d-md-none">\n        <div class="nlf-ors-toolbar">\n          <ng-container *ngIf="observation.workflow.state==\'withdrawn\'">Gjen\xe5pning</ng-container>\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">Innsending</ng-container>\n          <ng-container *ngIf="[\'draft\', \'withdrawn\'].indexOf(observation.workflow.state)==-1">Behandling</ng-container>\n\n          <nlf-help class="float-end" key="ors-editor-workflow"></nlf-help>\n        </div>\n        \x3c!-- bg-secondary text-white--\x3e\n        <div class="col-xs-12 col-md-12 py-2">\n          <ng-container *ngIf="[\'withdrawn\', \'closed\'].indexOf(observation.workflow.state)>-1">\n            <p>\n              Observasjonen er lukket. Du kan velge \xe5 gjen\xe5pne observasjonen om du \xf8nsker fortsette \xe5 behandle den.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Gjen\xe5pne</button>\n            </div>\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">\n            <p>N\xe5r du er ferdig med \xe5 redigere observasjonen er det p\xe5 tide \xe5 sende den videre til behandling hos\n              OBSREG koordinator.</p>\n            <p>Du kan alltid aktivere arbeidsflyten ved \xe5 trykke p\xe5 statusknappen for arbeidsflyten <span><a\n                  class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span> som du finner \xf8verst p\xe5 siden i &quot;sidemenyen&quot;\n            </p>\n            <p>Behandlingen skjer i en forh\xe5ndsdefinert arbeidsflyt som du kan lese mer om ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <p>\xd8nsker du slette/fjerne observasjonen velger du \xe5 &quot;trekke tilbake&quot;. Da forsvinner den ute\n              av\n              syne\n              for alle enn deg. Ingen kan forresten slette observasjoner fra systemet, og du kan n\xe5r som helst komme\n              tilbake og gjen\xe5pne den skulle du ombestemme deg.</p>\n            \x3c!-- Knapper for innsending --\x3e\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-success me-2">Send til ?</button>\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Trekk tilbake</button>\n            </div>\n            \x3c!--\n            <div class="form-group row">\n              <div class="col-md-6">\n                  <input type="button" class="btn form-control" id="btn1">\n              </div>\n              <div class="col-md-6">\n                  <input type="button" class="btn form-control" id="btn2">\n              </div>\n            </div>\n            --\x3e\n          </ng-container>\n          \x3c!--\n          <ng-container *ngIf="[\'draft\', \'withdrawn\', \'closed\'].indexOf(observation.workflow.state)==-1">\n            <p>Observasjonen har status\n              <span><a class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span>.\n            </p>\n            <p>\n              N\xe5r du har gjennomg\xe5tt observasjonen skal du aktivere arbeidsflyten for \xe5 behandle observasjonen.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-primary me-2">\n                <fa-icon [icon]="faExchange"></fa-icon> Behandle #{{observation.id}}\n              </button>\n            </div>\n          </ng-container>\n        --\x3e\n        </div>\n      </div>\n    </ng-container>\n    \x3c!-- //WORKFLOW ACTIONS IN PAGE --\x3e\n\n    \x3c!-- BOTTOM TOOLBAR  DESKTOP ONLY --\x3e\n    <div *ngIf="observation.acl_user.x" class="nlf-toolbar fixed-bottom bg-dark">\n      <div class="container">\n\n\n        \x3c!--\n        <span class="float-start" text="Her velger du visning om du vil ha forenklet eller alle felter" class="nav-item">\n\n          <ng-container *ngIf="!showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </ng-container>\n          <ng-container *ngIf="showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </ng-container>\n        </span>\n        --\x3e\n\n        <span class="float-end" text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n\n\n          <span class="me-4 lead">\n            <nlf-help key="ors-editor-workflow"></nlf-help>\n          </span>\n\n\n\n          <ng-container *ngIf="observation.workflow.state===\'draft\'">\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faPaperPlane"></fa-icon> Send til koordinator\n            </button>\n\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjegenlig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faReply"></fa-icon> Trekk tilbake\n            </button>\n\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state===\'withdrawn\'">\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Gjen\xe5pne" text="Gjen\xe5pne ">\n              <fa-icon [icon]="faRepeat"></fa-icon> Gjen\xe5pne\n            </button>\n          </ng-container>\n\n          <button *ngIf="observation.workflow.state===\'pending_review_obsreg\'" type="button"\n            class="btn btn-warning mx-3" (click)="openEccairs(modalEccairs)">\n            <fa-icon [icon]="faUserEdit"></fa-icon> Eccairs\n          </button>\n\n\n          <ng-container *ngIf="[\'withdrawn\',\'draft\'].indexOf(observation.workflow.state)<0">\n            <button class="btn btn-primary me-2" (click)="openWorkflow()" title="Behandle" text="Behandle ">\n              <fa-icon [icon]="faRandom"></fa-icon> Arbeidsflyt\n            </button>\n          </ng-container>\n        </span>\n      </div>\n    </div>\n    \x3c!-- //BOTTOM TOOLBAR --\x3e\n\n    <div *ngIf="!!devDebug">{{ observation.ask | json }}</div>\n\n  </div>\x3c!-- /CONTAINMER--\x3e\n\n  <div class="container">\n    <div *ngIf="!!devDebug">{{ observation |json }}</div>\n  </div>\n\n</ng-container>\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n\x3c!-- PAGE ERROR --\x3e\n<div *ngIf="dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="modellfly" [error]="error"></nlf-ors-error>\n</div>\n\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalPreview>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ preview.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="preview.what===\'components\'">\n      <nlf-report-components-timeline [components]="observation.components" [activity]="observation._model.type">\n      </nlf-report-components-timeline>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e\n\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n        [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n      <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n        {{ observation.title }}\n      </ng-container>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\x3c!-- DIFF MODAL ---\x3e\n<ng-template #diffModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n        [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n      <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n        {{ observation.title }}\n      </ng-container>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <pre>\n    {{ getDiff() | json }}\n    </pre>\n    {{ shadow.when }} || {{ observation.when }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n\x3c!-- MODAL ECCAIRS2 --\x3e\n<ng-template #modalEccairs>\n  <div class="modal-header">\n    <h4 class="modal-title">\n      #{{ observation.id }} {{ observation?.tags.join(\' \') || observation?.title || \'(ingen tittel)\' }} </h4>\n    <span class="float-end h4"><span class="badge bg-success">Eccairs2 (E5X)</span>\n      <button type="button" class="close" aria-label="Close" (click)="closeEccairs2();modalRef.dismiss()">\n        <span aria-hidden="true">&times;</span>\n      </button>\n    </span>\n  </div>\n  <div class="modal-body">\n    <ng-container *ngIf="eccairsModalOpen" class="px-3">\n\n      \x3c!-- HEADER ROW --\x3e\n      <div class="row">\n        <div class="col-md-4">\n          \x3c!--HC Responsible entity --\x3e\n          <nlf-ors-editor-tag-e5x-render [showLabel]="true" classes="badge bg-primary"\n            [items]="observation.eccairs2.attributes.responsibleEntity.value" path="E5X.Occurrence.ResponsibleEntity">\n          </nlf-ors-editor-tag-e5x-render>\n        </div>\n        <div class="col-md-4">\n          \x3c!--HC Report identification --\x3e\n          <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="true"\n            [items]="observation.eccairs2.entities.reportingHistory[0].attributes.reportIdentification.value"\n            path="E5X.Occurrence.ReportIdentification">\n          </nlf-ors-editor-tag-e5x-render>\n        </div>\n        <div class="col-md-4">\n          \x3c!-- UTC date occurrence --\x3e\n          <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="true"\n            [items]="observation.eccairs2.attributes.utcDate.value" path="E5X.Occurrence.UtcDate">\n          </nlf-ors-editor-tag-e5x-render>\n          <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="true"\n            [items]="observation.eccairs2.attributes.utcTime.value" path="E5X.Occurrence.UtcTime">\n          </nlf-ors-editor-tag-e5x-render>\n        </div>\n      </div>\n      \x3c!-- Headline --\x3e\n\n      \x3c!-- REPORT STATUS --\x3e\n      <div class="row my-3">\n        \x3c!-- Report status (former Occurrence status) --\x3e\n        <nlf-ors-editor-tag-e5x\n          [(items)]="observation.eccairs2.entities.reportingHistory[0].attributes.reportStatus.value"\n          path="E5X.Occurrence.ReportingHistory.ReportStatus" [allowed]="[2, 3]" id="ReportStatus">\n        </nlf-ors-editor-tag-e5x>\n      </div>\n\n      \x3c!-- Aircraft --\x3e\n      \x3c!--<nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.entities.aircraft[0].attributes.manufacturerModel.value"\n          path="E5X.Occurrence.Aircraft.ManufacturerModel" id="ManufacturerModel"></nlf-ors-editor-tag-e5x>--\x3e\n      <div class="row my-3">\n\n        <div class="col-md-4">\n          <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.entities.aircraft[0].attributes.propulsionType.value"\n            path="E5X.Occurrence.Aircraft.PropulsionType" id="PropulsionType"></nlf-ors-editor-tag-e5x>\n        </div>\n\n        <div class="col-md-4">\n          <nlf-ors-editor-tag-e5x\n            [(items)]="observation.eccairs2.entities.aircraft[0].attributes.aircraftCategory.value"\n            path="E5X.Occurrence.Aircraft.AircraftCategory" id="AircraftCategory"></nlf-ors-editor-tag-e5x>\n        </div>\n        <div class="col-md-4">\n          <nlf-ors-editor-tag-e5x [allowed]="[9,10,16]"\n            [(items)]="observation.eccairs2.entities.aircraft[0].attributes.annex2ACType.value"\n            path="E5X.Occurrence.Aircraft.Annex2ACType" id="Annex2ACType"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-4"></div>\n        <div class="col-md-4">\n          <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.entities.aircraft[0].attributes.operator.value"\n            path="E5X.Occurrence.Aircraft.Operator" id="Operator"></nlf-ors-editor-tag-e5x>\n        </div>\n        <div class="col-md-4">\n          <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.entities.aircraft[0].attributes.massGroup.value"\n            path="E5X.Occurrence.Aircraft.MassGroup" id="MassGroup"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n\n      \x3c!-- State/Area of occurrence --\x3e\n      \x3c!-- Location name --\x3e\n      <div class="row my-3">\n        <div class="col-md-8">\n          <nlf-ors-editor-tag-e5x [showLabel]="false" [(items)]="observation.eccairs2.attributes.locationName.value"\n            path="E5X.Occurrence.LocationName" id="locationName"></nlf-ors-editor-tag-e5x>\n        </div>\n        <div class="col-md-2">\n          <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="true"\n            [items]="observation.eccairs2.attributes.longitudeOfOcc.value" path="E5X.Occurrence.LatitudeOfOcc">\n          </nlf-ors-editor-tag-e5x-render>\n        </div>\n        <div class="col-md-2">\n          <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="true"\n            [items]="observation.eccairs2.attributes.latitudeOfOcc.value" path="E5X.Occurrence.LongitudeOfOcc">\n          </nlf-ors-editor-tag-e5x-render>\n        </div>\n      </div>\n\n      <div class="row my-3">\n        <div class="col-md-12">\n          <nlf-ors-editor-tag-e5x [showLabel]="false" [disabled]="1==2&&!observation.acl_user.w"\n            [(items)]="observation.eccairs2.attributes.stateAreaOfOcc.value" path="E5X.Occurrence.StateAreaOfOcc"\n            id="stateAreaOfOcc"></nlf-ors-editor-tag-e5x>\n        </div>\n      </div>\n\n      \x3c!-- Occurrence class --\x3e\n      \x3c!-- Occurrence category --\x3e\n      <div class="row my-3">\n        <div class="nlf-ors-toolbar">\n          Klassifiser hendelsen\n          <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n        </div>\n\n        <div class="p-3 bg-warning col-md-12">\n          <div class="row">\n            <div class="col-md-4">\n              <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.attributes.injuryLevel.value"\n                path="E5X.Occurrence.InjuryLevel" id="injuryLevel"></nlf-ors-editor-tag-e5x>\n            </div>\n            <div class="col-md-2">\n              <label>Ytterligere info</label>\n              <nlf-ors-editor-e5x-injuries [(attr)]="observation.eccairs2.attributes"></nlf-ors-editor-e5x-injuries>\n            </div>\n            <div class="col-md-4">\n              <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.attributes.highestDamage.value"\n                path="E5X.Occurrence.HighestDamage" id="highestDamage"></nlf-ors-editor-tag-e5x>\n            </div>\n            <div class="col-md-2">\n              <label>Ytterligere info</label>\n              <nlf-ors-editor-e5x-damage [(attr)]="observation.eccairs2.attributes"></nlf-ors-editor-e5x-damage>\n            </div>\n\n          </div>\n\n          <div class="row mt-3">\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.attributes.occurrenceClass.value"\n                path="E5X.Occurrence.OccurrenceClass" id="OccurrenceClass"></nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-6">\n              <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.attributes.detectionPhase.value"\n                path="E5X.Occurrence.DetectionPhase" id="DetectionPhase">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n\n            <div class="col-md-12 mt-3">\n              <nlf-ors-editor-tag-e5x [(items)]="observation.eccairs2.attributes.occurrenceCategory.value"\n                path="E5X.Occurrence.OccurrenceCategory" id="OccurrenceCategory">\n              </nlf-ors-editor-tag-e5x>\n            </div>\n          </div>\n        </div>\n      </div>\n\n\n      \x3c!-- Narrative lang + text--\x3e\n\n      \x3c!-- event type > legg til --\x3e\n      <div class="row my-3">\n        <nlf-ors-editor-e5x-events [(events)]="observation.eccairs2.entities.events"></nlf-ors-editor-e5x-events>\n      </div>\n\n      \x3c!-- REPORTING HISTORY --\x3e\n      <div class="row my-3">\n        <nlf-ors-editor-e5x-reportinghistory\n          [(reportingHistory)]="observation.eccairs2.entities.reportingHistory"></nlf-ors-editor-e5x-reportinghistory>\n      </div>\n\n      \x3c!-- RISK ASSESSMENT --\x3e\n      <div class="row my-3">\n        <nlf-ors-editor-e5x-risk (change)="update($event)"\n          [(occurrence)]="observation.eccairs2"></nlf-ors-editor-e5x-risk>\n      </div>\n      \x3c!-- --\x3e\n      \x3c!-- Aircraft description State of registry Operator Operation type Aircraft category Propulsion type Aircraft mass group Rotorcraft mass group Flight phase Weather relevant--\x3e\n      <div class="row my-3">\n        <div *ngIf="observation.files.length>0" class="nlf-ors-toolbar">\n          Vedlegg som blir med i rapporten\n          <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n        \x3c!--Reporting entity. Reporting date Report version Report source Attachments (kun de som er read)--\x3e\n        <nlf-ors-report-files [files]="observation.files" [state]="observation.workflow.state"\n          [doNotShowRestricted]="true"></nlf-ors-report-files>\n      </div>\n\n    </ng-container>\n  </div>\n\n  <div class="modal-footer">\n\n    <nlf-help class="mr-3" key="ors-editor-modellfly-eccairs2"></nlf-help>\n    <nlf-ors-modellfly-eccairs2></nlf-ors-modellfly-eccairs2>\n    <button class="btn btn-outline-dark" (click)="closeEccairs2()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e'},47852:de=>{"use strict";de.exports="<div>\n\nMain modellfly!\n</div>\n"},63027:de=>{"use strict";de.exports='<div *ngIf="dataReady  && !error" id="testpdf">\n\n\t<header class="nlf-sticky-toolbar">\n\n\t\t<div class="container lead">\n\t\t\t<hotkeys-cheatsheet title="Hotkeys Rock!"></hotkeys-cheatsheet>\n\t\t\t\x3c!-- TITLE --\x3e\n\n\t\t\t\x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n\t\t\t\x3c!-- {{ observation.tags | nlfOrsTags: \' / \'}} --\x3e\n\n\t\t\t\x3c!-- TITLE OR TAGS --\x3e\n\t\t\t<a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#{{ observation.id }}\n\t\t\t<ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n\t\t\t\t{{observation.title}}\n\t\t\t</ng-container>\n\t\t\t<nlf-resolve-observation-tags *ngIf="(!!observation.tags||observation.tags.length>0)&&!observation.title"\n\t\t\t\t[tags]="modalObservation.tags" [activity]="modalObservation._model.type" [link]="true"\n\t\t\t\tseperator="/"></nlf-resolve-observation-tags>\n\t\t\t  <ng-container *ngIf="(!observation.tags||observation.tags.length==0)&&!!observation.title">\n\t\t\t\t{{ observation.title }}\n\t\t\t  </ng-container>\n\t\t\t  &nbsp;\n\n\t\t\t\x3c!-- /TITLE --\x3e\n\t\t\t\x3c!-- RATING --\x3e\n\t\t\t<span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n\t\t\t\t*ngIf="!!observation.rating"\n\t\t\t\tclass="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating\n\t\t\t\t| nlfOrsRatingCalc }}</span>\n\n\n\t\t\t\x3c!-- DIFFERENT VERSION --\x3e\n\t\t\t<span *ngIf="observation._version !== observation._latest_version" class="badge bg-warning">\n\t\t\t\t<a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">v{{ observation._version\n\t\t\t\t\t}} av {{ observation._latest_version }}</a>\n\t\t\t</span>\n\t\t\t\x3c!-- /DIFFERENT VERSION --\x3e\n\n\t\t\t\x3c!-- RATING TEST\n\t\t\t<rating [ngModel]="observation.rating.actual" max="8" readonly="true"></rating> / <rating [ngModel]="observation.rating.potential" max="8" readonly="true"></rating>\n\t\t\t /RATING TEST --\x3e\n\n\t\t\t\x3c!-- WORKFLOW STATE --\x3e\n\t\t\t<span class="float-end">\n\t\t\t\t<a [routerLink]="[\'/ors\', observation._model.type, \'edit\', observation.id]"\n\t\t\t\t\t*ngIf="observation.acl_user.x || observation.acl_user.w || (observation.workflow.state != \'closed\' && observation.acl_user.r)"\n\t\t\t\t\tclass="badge bg-primary text-white mx-1">\n\t\t\t\t\t<fa-icon [icon]="faEdit"></fa-icon> Editor\n\t\t\t\t</a>\n\t\t\t\t<nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n\t\t\t\t\ticon="true"></nlf-resolve-observation-state>\n\t\t\t</span>\n\t\t\t\x3c!-- /WORKFLOW STATE --\x3e\n\n\t\t\t\x3c!-- Go to report by id\n\t\t\t<nlf-ors-go activity="modellfly" class="float-end mx-1"></nlf-ors-go>\n\t\t--\x3e\n\n\t\t</div>\n\t</header>\n\t\x3c!-- /END HEADER --\x3e\n\n\t<div class="container">\n\n\t\t<div class="row">\n\t\t\t\x3c!-- Summary table --\x3e\n\t\t\t<div class="col-md-6 col-xs-12 table-responsive overflow-auto">\n\t\t\t\t<nlf-ors-modellfly-report-summary [observation]="observation"></nlf-ors-modellfly-report-summary>\n\t\t\t</div>\n\n\t\t\t\x3c!-- Map --\x3e\n\t\t\t<div class="col-md-6 col-xs-12 position-relative">\n\t\t\t\t<div *ngIf="dataReady">\n\n\t\t\t\t\t<div class="map" *ngIf="!!mapOptions" leaflet (leafletMapReady)="onMapReady($event)"\n\t\t\t\t\t\t[leafletOptions]="mapOptions"></div>\n\n\t\t\t\t\t\x3c!--\n\t\t\t\t\t<agm-map [latitude]="toFloat(observation.location.geo.coordinates[0])" [mapTypeControl]="true" [longitude]="toFloat(observation.location.geo.coordinates[1])" [zoom]="12">\n\t\t\t\t\t\t<agm-marker [label]="observation.location.nickname" [latitude]="toFloat(observation.location.geo.coordinates[0])" [longitude]="toFloat(observation.location.geo.coordinates[1])">\n\t\t\t\t\t\t</agm-marker>\n\t\t\t\t\t</agm-map>\n\t\t\t\t--\x3e\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf="!observation.location?.geo?.coordinates">\n\n\t\t\t\t\t<ngb-alert type="danger" [dismissible]="false">\n\t\t\t\t\t\t<fa-icon [icon]="faMapMarker"></fa-icon>\n\t\t\t\t\t\tIngen lokalisasjon satt.\n\t\t\t\t\t</ngb-alert>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t\x3c!-- Workflow\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\n\t\t\t\t\t\t<div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n\t\t\t\t\t\t\t<fa-icon [icon]="faRandom"></fa-icon>\n\t\t\t\t\t\t\tArbeidsflyt\n\t\t\t\t\t\t\t<i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div [ngbCollapse]="isWorkflowTimelineCollapsed">\n\t\t\t\t\t\t\t<nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\t\t\x3c!-- Involved --\x3e\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon>Involverte\n\t\t\t\t</div>\n\t\t\t\t<nlf-ors-modellfly-report-involved [model]="observation._model"\n\t\t\t\t\t[involved]="observation.involved"></nlf-ors-modellfly-report-involved>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Involved --\x3e\n\n\t\t<div class="row mb-4">\n\t\t\t\x3c!-- NARRATIVE --\x3e\n\t\t\t<div class="col-md-12 col-lg-6 mt-3">\n\t\t\t\t<h3 class="h5">\n\t\t\t\t\t<fa-icon [icon]="faCommenting"></fa-icon> Hendelsesforl\xf8p\n\t\t\t\t</h3>\n\t\t\t\t<div class="bg-light p-3">\n\t\t\t\t\t<div class="narrative">{{ observation.description.plainText }}</div>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- Actions --\x3e\n\t\t\t\t<div class="row mt-3"\n\t\t\t\t\t*ngIf="(observation.actions?.local && observation.actions?.local?.length > 0) || (observation.actions?.central && observation.actions?.central?.length > 0)">\n\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t<h3 class="h5"><fa-icon [icon]="faBolt"></fa-icon> Tiltak</h3>\n\t\t\t\t\t\t<nlf-ors-report-actions [actions]="observation.actions"\n\t\t\t\t\t\t\tformat="vertical"></nlf-ors-report-actions>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\x3c!-- /Actions --\x3e\n\n\t\t\t</div>\n\t\t\t\x3c!-- /NARRATIVE --\x3e\n\n\t\t\t\x3c!-- Verdicts --\x3e\n\t\t\t<div class="col-md-12 col-lg-6 mt-3">\n\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t<h3 class="h5">\n\t\t\t\t\t\t<fa-icon [icon]="faComments"></fa-icon> Vurderinger\n\t\t\t\t\t</h3>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- ASK comments --\x3e\n\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t<div *ngIf="!!observation.ask && !!observation.ask.text">\n\t\t\t\t\t\t<nlf-ors-report-ask-text [comments]="observation.ask.text" [audit]="observation.workflow.audit"\n\t\t\t\t\t\t\t[activity]="observation._model.type"></nlf-ors-report-ask-text>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!-- ASK matrix --\x3e\n\t\t\t\t<div class="col-md-12 pt-2">\n\t\t\t\t\t<nlf-ors-report-ask [ask]="observation.ask" [verbose]="true"></nlf-ors-report-ask>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t\x3c!-- /verdicts --\x3e\n\t\t</div>\n\n\t\t\x3c!-- Files --\x3e\n\t\t<div class="row" *ngIf="observation.files.length > 0">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<h3 class="h5"><fa-icon [icon]="faFile"></fa-icon> Vedlegg</h3>\n\t\t\t\t<nlf-ors-report-files [files]="observation.files"\n\t\t\t\t\t[state]="observation.workflow.state"></nlf-ors-report-files>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Files --\x3e\n\n\t\t\x3c!-- Components timeline - forl\xf8pet\n\t\t\t\t\t  <div class="row">\n\t\t\t\t\t\t  <div class="col-md-12">\n\t\t\t\t\t\t\t  <nlf-report-components-timeline [activity]="observation._model.type" [components]="observation.components"></nlf-report-components-timeline>\n\t\t\t\t\t\t  </div>\n\t\t\t\t\t  </div>\n\t\t\t\t\t  --\x3e\n\n\t\t\x3c!-- ON GROUND\n\t\t\t  <div class="row">\n\t\t\t\t  <div class="col-md-12">\n\t\t\t\t\t  <div class="card-header">\n\t\t\t\t\t\t  <fa-icon [icon]="faStreetView"></fa-icon> P\xe5 bakken\n\t\t\t\t\t  </div>\n\t  \n\t\t\t\t  </div>\n\t\t\t  </div>\n\t\t\t  /ON GROUND --\x3e\n\n\t\t\x3c!-- Weather\n\t\t\t  <div class="row">\n\t\t\t\t  <div class="col-md-12">\n\t\t\t\t\t  <div class="card-header">\n\t\t\t\t\t\t  <fa-icon [icon]="faCloud"></fa-icon> V\xe6ret\n\t\t\t\t\t  </div>\n\t  \n\t\t\t\t  </div>\n\t\t\t  </div>\n\t\t\t  /Weather --\x3e\n\n\t\t\x3c!-- ATM\n\t\t\t  <div class="row">\n\t\t\t\t  <div class="col-md-12">\n\t\t\t\t\t  <div class="card-header">\n\t\t\t\t\t\t  <fa-icon [icon]="faUsers"></fa-icon> ATM involvert\n\t\t\t\t\t  </div>\n\t  \n\t\t\t\t  </div>\n\t\t\t  </div>\n\t\t\t   /ATM --\x3e\n\n\t\t\x3c!-- AERODROME\n\t\t\t  <div class="row">\n\t\t\t\t  <div class="col-md-12">\n\t\t\t\t\t  <div class="card-header">\n\t\t\t\t\t\t  <fa-icon [icon]="faRoad"></fa-icon> Aerodrome\n\t\t\t\t\t  </div>\n\t  \n\t\t\t\t  </div>\n\t\t\t  </div>\n\t\t\t   /AERODROME --\x3e\n\n\n\n\t\t\x3c!-- Related --\x3e\n\t\t<div *ngIf="!!observation.related && observation.related?.length > 0" class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<h3 class="h5">\n\t\t\t\t\t<fa-icon [icon]="faExternalLink"></fa-icon> Relaterte\n\t\t\t\t</h3>\n\t\t\t\t<nlf-ors-report-related [related]="observation.related"></nlf-ors-report-related>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- /Related --\x3e\n\n\t\t\x3c!--\n\t\t\t\t<hr>\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<h3>Tester under</h3>\n\t\t\t\t</div>\n\t\t\t\t<div class="card-header">DIFF TEST</div>\n\t\t\t\t<pre semanticDiff [left]="left" [right]="right"></pre>\n\n\n\n\t\t\t\t<div *ngIf="!!observationDiff" class="row">\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Forrige</p>{{ observationDiff[1] | json }}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Siste</p>{{ observationDiff[0] | json }}\n\t\t\t\t\t</div>\n\n\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\n\t\t\x3c!--\n\t\t\t\t<div class="card" style="width: 22rem;">\n\t\t\t\t\t<img class="card-img-top img-fluid" src="{{ currentImage }}" alt="Card image cap">\n\t\t\t\t\t<div class="card-body">\n\t\t\t\t\t\t<h5 class="card-header">Your image</h5>\n\t\t\t\t\t\t<form>\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<input class="form-control-file" type="file" (change)="onUpload($event)">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n\t\t\x3c!--\n\t\t\t<h2>F\xf8lgende er registrert:</h2>\n\t\t\t<label>Id</label>\n\t\t\t<pre>{{observation.id}}</pre>\n\t\t\t<pre>{{observation._id}}</pre>\n\n\t\t\t<label>Created</label>\n\t\t\t<pre>{{observation._created | date:\'yyyy-MM-dd HH:mm\'}}</pre>\n\n\t\t\t<label>Club</label>\n\t\t\t<pre>{{observation.club | json}}</pre>\n\n\t\t\t<label>Acl</label>\n\t\t\t<pre>{{observation.acl | json}}</pre>\n\n\t\t\t<label>Type</label>\n\t\t\t<pre>{{observation.type | json}}</pre>\n\n\t\t\t<label>Flags</label>\n\t\t\t<pre>{{observation.flags | json}}</pre>\n\n\t\t\t<label>Rating</label>\n\t\t\t<pre>{{observation.rating | json}}</pre>\n\n\t\t\t<label>Kunnskap ferdigheter holdning</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Location</label>\n\t\t\t<pre>{{observation.location | json}}</pre>\n\n\t\t\t<label>Files</label>\n\t\t\t<pre>{{observation.files | json}}</pre>\n\n\t\t\t<label>When</label>\n\t\t\t<pre>{{observation.when | json}}</pre>\n\n\t\t\t<label>Tags</label>\n\t\t\t<pre>{{observation.tags | json}}</pre>\n\n\t\t\t<label>Organization</label>\n\t\t\t<pre>{{observation.organization | json}}</pre>\n\n\t\t\t<label>Involved</label>\n\t\t\t<pre>{{observation.involved | json}}</pre>\n\n\t\t\t<label>Components</label>\n\t\t\t<pre>{{observation.components | json}}</pre>\n\n\t\t\t<label>Weather</label>\n\t\t\t<pre>{{observation.weather | json}}</pre>\n\n\t\t\t<label>Vurdering</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Tiltak</label>\n\t\t\t<pre>{{observation.actions | json}}</pre>\n\n\n\t\t\t<label>Workflow</label>\n\t\t\t<pre>{{observation.workflow | json}}</pre>\n\t\t\t--\x3e\n\n\t</div>\n\n\n</div>\n<div *ngIf="!dataReady && !error">\n\t<nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n<div *ngIf="!dataReady && !!error">\n\t<nlf-ors-error [id]="id" activity="modellfly" [error]="error"></nlf-ors-error>\n</div>'},14636:de=>{"use strict";de.exports='<div *ngIf="involved" class="overflow-auto">\n  <table class="table table-condensed table-hover table-striped">\n    <tr>\n      <th></th>\n      <th></th>\n      <th>Rolle</th>\n      <th>RPAS</th>\n      <th>Kompetanser</th>\n    </tr>\n    <tr *ngFor="let p of involved">\n\n      <td>\n        <nlf-resolve-lungo-person link="true" [person_id]="p.id" [tmp_name]="p.tmp_name"></nlf-resolve-lungo-person>\n        \x3c!--  {{$index+1}}--\x3e\n      </td>\n      <td>\n        <fa-icon title="Personskade" class="ml-3" *ngIf="p.data.injury===\'injury\'" [icon]="faTruckMedical"></fa-icon>\n        <fa-icon title="Alvorlig skade med men eller d\xf8d" class="ml-3 text-danger" *ngIf="p.data.injury===\'serious_or_fatal\'" [icon]="faHouseMedicalCircleExclamation"></fa-icon>\n      </td>\n\n      <td>\n        <ng-container *ngIf="!!config">\n          <ng-container *ngFor="let role of config.modellfly.observation.roles_in_observation">\n            <ng-container *ngIf="p.data.role==role.key">{{ role.label }}</ng-container>\n          </ng-container>\n        </ng-container>\n      </td>\n\n      <td>\n        <ng-container *ngIf="!!config">\n\n          <ng-container *ngFor="let rpas of config.modellfly.observation.rpas_types">\n            <span *ngIf="p.data.rpas_type==rpas.key">{{ rpas.label }}</span>\n          </ng-container>\n\n          <ng-container *ngFor="let rpas_flight_type of config.modellfly.observation.rpas_flight_type">\n            <ng-container *ngIf="p.data.rpas_flight_type==rpas_flight_type.key">\n              <span class="badge bg-info text-dark ml-2 p-1">{{ rpas_flight_type.label }}</span>\n            </ng-container>\n          </ng-container>\n        </ng-container>\n      </td>\n\n      <td>\n        <span *ngFor="let license of p?.data?.licenses" class="mx-1">\n          <nlf-resolve-lungo-license [license_id]="license.id"></nlf-resolve-lungo-license>\n          \x3c!--{{license.type_name}}--\x3e\n        </span>\n        <div>\n          <span *ngFor="let competence of p?.data?.competences" class="mx-1">\n            {{competence._code}}\n          </span>\n        </div>\n\n\n      </td>\n\n\n\n    </tr>\n  </table>\n</div>'},60415:de=>{"use strict";de.exports='<div *ngIf="!!organization" class="row pt-2 overflow-auto">\n\n  <div class="col-md-6 col-xs-12">\n\n    <dl>\n      <span *ngIf="!!organization.hl">\n        <dt class="col-md-3">HL</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hl of organization.hl">\n            <nlf-resolve-lungo-person link="true" [person_id]="hl.id"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n      <span *ngIf="!!organization?.hfl">\n        <dt class="col-md-3">HFL</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hfl of organization.hfl">\n            <nlf-resolve-lungo-person link="true" [person_id]="hfl.id" [tmp_name]="hfl.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n    </dl>\n  </div>\n\n  <div class="col-md-6 col-xs-12">\n    <dl>\n      <span *ngIf="!!organization.hm">\n        <dt class="col-md-3">HM</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let hm of organization.hm">\n            <nlf-resolve-lungo-person link="true" [person_id]="hm.id" [tmp_name]="hm.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n      <span *ngIf="!!organization.pilot">\n        <dt class="col-md-3">Pilot</dt>\n        <dd class="col-md-9">\n          <span *ngFor="let pilot of organization.pilot">\n            <nlf-resolve-lungo-person link="true" [person_id]="pilot.id" [tmp_name]="pilot.tmp_name"></nlf-resolve-lungo-person>\n          </span>\n        </dd>\n      </span>\n\n    </dl>\n\n  </div>\n</div>\n'},63947:de=>{"use strict";de.exports='<table class="table table-sm table-hover">\n  <tbody>\n    <tr style="border-top: none !important">\n      <td style="border-top: none !important">Klubb</td>\n      <td style="border-top: none !important">\n        <nlf-resolve-lungo-organization [organization_id]="observation.club"\n          link="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Gren</td>\n      <td>\n        <nlf-resolve-lungo-organization [organization_id]="observation.discipline" link="true"\n          show_activity="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Observat\xf8r</td>\n      <td>\n        <nlf-resolve-lungo-person [avatar]="true" [link]="true"\n          [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n        <span class="float-end badge bg-secondary">\n          <nlf-resolve-config activity="modellfly" category="observation" key="roles_in_observation"\n            [value]="observation.reporter_role" itemKey="key" itemLabel="label"></nlf-resolve-config>\n        </span>\n      </td>\n    </tr>\n    <tr>\n      <td>OBSREG-Koordinator</td>\n      <td>\n        <div *ngFor="let ors of observation.organization.ors">\n          <nlf-resolve-lungo-person [person_id]="ors" [avatar]="true" [link]="true"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n    <tr>\n      <td>Fagsjef</td>\n      <td>\n        <div *ngFor="let fsj of observation.organization.fsj">\n          <nlf-resolve-lungo-person [person_id]="fsj" [avatar]="true" [link]="true"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n    <tr>\n\n      <td>Type</td>\n      <td>\n        <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type"\n          badge="true"></nlf-resolve-observation-types>\n        <span class="float-end">\n          <nlf-ors-report-ask [ask]="observation.ask" [verbose]="false"></nlf-ors-report-ask>\n        </span>\n\n      </td>\n    </tr>\n\n    <tr *ngIf="!!observation.flags && (!!observation.flags.aviation || !!observation.flags.insurance)">\n      <td>Flagg</td>\n      <td>\n        <div *ngIf="!!observation.flags">\n          <span *ngIf="!!observation.flags.insurance">\n            <nlf-resolve-observation-flags [activity]="observation._model.type"\n              flag="insurance" [icon]="true"></nlf-resolve-observation-flags>\n          </span>\n          <span *ngIf="!!observation.flags.aviation">\n            <nlf-resolve-observation-flags [activity]="observation._model.type"\n              flag="aviation" [icon]="true"></nlf-resolve-observation-flags>\n          </span>\n\n        </div>\n        \x3c!--<span *ngIf="!observation.flags || (!observation.flags.aviation && !observation.flags.insurance)">Ingen</span>--\x3e\n      </td>\n\n    </tr>\n\n\n    <tr *ngIf="!!observation.rating">\n      <td>Alvorlighetsgrad</td>\n      <td>{{ observation.rating.actual }} av {{ observation.rating.potential }} <span\n          ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          class="float-end badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating |\n          nlfOrsRatingCalc }}</span></td>\n    </tr>\n\n\n    <tr>\n      <td>Tidspunkt</td>\n      <td>{{ observation.when | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    <tr>\n      <td>Opprettet</td>\n      <td>{{ observation._created | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    <tr>\n      <td>Lukket</td>\n      <td *ngIf="observation.workflow.state==(\'closed\' || \'withdrawn\')">{{ observation.workflow.last_transition |\n        date:\'yyyy-MM-dd HH:mm\' }}</td>\n      <td *ngIf="observation.workflow.state!=(\'closed\' || \'withdrawn\')">\n        <span class="text-danger">Under behandling</span>\n      </td>\n\n    </tr>\n    <tr>\n      <td>Versjon</td>\n      \x3c!-- @TODO: Generate list of versions and link to them /report/:id?v=1 or /report/:id/:version --\x3e\n      <td>\n        {{ observation._version }} <span *ngIf="observation._version !== observation._latest_version">\n          av <a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">{{\n            observation._latest_version }}</a></span>\n      </td>\n    </tr>\n    <tr>\n      <td>Behandlingstid</td>\n      <td>{{ turnaround }}</td>\n    </tr>\n    <tr>\n      <td>Involverte</td>\n      <td>{{ observation.involved | count }}</td>\n    </tr>\n  </tbody>\n</table>'},63912:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'modellfly\']">OBSREG<span class="hidden-sm-down"> modellfly</span></a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li class="breadcrumb-item">\n\n        <a>S\xf8k</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="!!text" class="breadcrumb-item active">\n        {{ text }}\n      </li>\n    </span>\n\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-search-modellfly"></nlf-help>\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-3">\n\n    <div class="col-md-3 bg-light p-2">\n      <label class="lead">\n        <fa-icon [icon]="faFilter"></fa-icon> Filter\n      </label>\n      <div class="row">\n        <label>Fritekst:</label>\n        <input placeholder="Fritekst" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n      </div>\n\n      <div class="row">\n        <label>Id:</label>\n        <input placeholder="Id" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'id\']">\n      </div>\n\n\n      <div class="row mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="reset()" class="btn btn-secondary">Reset filter</button>\n        </div>\n      </div>\n\n      <div *ngIf="!!result?._items" class="mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="exportTojson()" class="btn btn-secondary"><fa-icon [icon]="faDownload"></fa-icon> Last ned</button>\n        </div>\n      </div>\n    </div>\n\n    <div class="col-md-9">\n      \x3c!-- SEARCH RESULTS --\x3e\n      <div class="lead">\n        <div *ngIf="!!result && !searching">\n          Fant {{ result._meta.total }} resultater\n        </div>\n\n        <div *ngIf="(!result || result._meta.total == 0) && !searching">\n          Ingen resultater\n        </div>\n\n        <div *ngIf="searching">\n          S\xf8ker...\n        </div>\n      </div>\n\n      <div class="my-2 p-1 div_hover" *ngFor="let r of result?._items; let isOdd=odd;" [class.bg-light]="isOdd">\n\n        <a [routerLink]="[\'/ors\', activity,\'report\', r.id]">#{{ r.id }} - <span *ngIf="!!r.rating" class="mx-1 badge bg-{{r.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ r.rating | nlfOrsRatingCalc }}</span> {{ r.title || r.tags | join: \'/\'}}</a>\n\n        <span class="float-end mx-1">\n          <nlf-resolve-observation-state [activity]="r._model.type || \'modellfly\'" [state]="r.workflow.state" icon="true"></nlf-resolve-observation-state>\n\n        </span>\n\n        \x3c!--\n        <div class="small" *ngFor="let a of r.aircrafts">\n          <fa-icon [icon]="faPlane"></fa-icon> {{ a.aircraft.callsign }} {{ a.aircraft.model }} {{ a.aircraft.manufacturer }}\n          <div>\n            <span class="small" *ngFor="let route of a.flight; let idx = index">\n              <span *ngIf="idx==0">{{ route.from.icao }}</span>\n              <fa-icon [icon]="faLongArrowRight"></fa-icon> {{ route.to.icao }}\n            </span>\n          </div>\n        </div>\n      --\x3e\n\n      </div>\n    </div>\n\n  </div>\n</div>\n\n<ng-template #saveTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Lagre s\xf8ket\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="form-group">\n      <label>S\xf8kenavn</label>\n      <input class="form-control" type="text" [disabled]="true" [value]="text || \'\'">\n    </div>\n\n    <div class="form-group my-3">\n      <div class="form-check">\n        <input [disabled]="true" class="form-check-input" type="checkbox" value="" id="defaultCheck1">\n        <label class="form-check-label" for="defaultCheck1">\n          Varsle meg ved nye resultater\n        </label>\n      </div>\n    </div>\n\n    <div class="form-group">\n      <label>S\xf8ket ga {{ result._meta.total }} resultater</label>\n      <textarea [disabled]="true" class="form-control" [value]="this.getQuery() | json" rows="3"></textarea>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    <button [disabled]="true" class="btn btn-primary" (click)="modalRef.close()">Lagre</button>\n  </div>\n</ng-template>\n'},18306:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    OBSREG Modellfly\n\n    \x3c!--\n    <button [routerLink]="[\'/ors\', \'modellfly\', \'dashboard\']" type="button" class="btn btn-sm btn-link float-end mx-1">\n      <fa-icon [icon]="faDashboard"></fa-icon> Dash\n    </button>\n    <button [routerLink]="[\'/ors\', \'modellfly\', \'stats\']" type="button" class="btn btn-sm btn-link float-end mx-1">\n      <fa-icon [icon]="faPieChart"></fa-icon> Stats\n    </button>\n  --\x3e\n\n    <button [routerLink]="[\'/ors\', \'modellfly\', \'search\']" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faSearch"></fa-icon> S\xf8k\n    </button>\n\n    <button [routerLink]="[\'/ors\', \'modellfly\', \'dashboard\', user_settings?.settings?.default_discipline || 802139]" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faDashboard"></fa-icon> Dashboard\n    </button>\n\n    <nlf-ors-go activity="modellfly" class="float-end mx-1" title="Hurtigvalg, skriv inn OBSREG nummer etterfulgt av enter for \xe5 g\xe5 til OBSREG"></nlf-ors-go>\n    \x3c!--\n    <span class="input-group input-group-sm float-end mx-1" style="max-width: 100px !important">\n      <span class="input-group-text bg-transparent">\n        <fa-icon [icon]="faHashtag" class="text-secondary"></fa-icon>\n      </span>\n      <input id="orsGO" #orsGO type="search" (keyup.enter)="orsGOTO(orsGO.value)" class="form-control form-control-sm border-start-0">\n    </span>\n  --\x3e\n\n    <nlf-help class="float-end mx-1" key="ors-modellfly"></nlf-help>\n\n  </div>\n\n\n</header>\n\n<div class="container">\n\n  <div class="row">\n\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faUser" class="text-secondary"></fa-icon> Mine observasjoner\n      </div>\n      <nlf-ors-self-table activity="modellfly"></nlf-ors-self-table>\n    </div>\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faExchange" class="text-secondary"></fa-icon> Til min behandling\n      </div>\n      <nlf-ors-todo-table activity="modellfly"></nlf-ors-todo-table>\n    </div>\n\n    \x3c!-- Group = tight, with padding deck = spacing, no padding card-body style="padding: 0;"\n      <div class="card-deck">\n\n        <div class="card mb-3 me-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faUser"></fa-icon>Mine observasjoner</h5>\n          <div class="card-body table-responsive" style="padding: 0;">\n\n          </div>\n        </div>\n\n        <div class="card mb-3 ms-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faRandom"></fa-icon>Til min behandling</h5>\n          <div class="card-body" style="padding: 0;">\n            <nlf-ors-todo-table  activity="modellfly"></nlf-ors-todo-table>\n          </div>\n        </div>\n      </div>\n      --\x3e\n  </div>\n</div>\n\n<div class="py-5 nlf-bg-blue col-md-12 col-xs-12">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n      <nlf-ors-modellfly-create></nlf-ors-modellfly-create>\n    </p>\n  </div>\n</div>\n\n\x3c!-- ALL OBSREG --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faList" class="text-secondary"></fa-icon> Alle observasjoner\n      </div>\n      <nlf-ors-all-table activity="modellfly"></nlf-ors-all-table>\n    </div>\n  </div>\n</div>\n'},6866:de=>{"use strict";de.exports='<div *ngIf="dataReady && !canCreate()" class="alert alert-primary" role="alert">\n  Motorfly er nede for vedlikehold\n</div>\n\n\x3c!-- QUICKSELECT DEFAULT DISCIPLINE --\x3e\n<div *ngIf="dataReady && canCreate() && defaultBtn && userData.settings.default_activity==238" class="d-grid gap-2">\n  <button *ngIf="!!userData.settings && canCreate() && !loading"\n    (click)="createObservation(userData.settings.default_discipline, userData.settings.default_club, userData.settings.default_activity)"\n    class="btn btn-success btn-lg my-1">\n    <fa-icon [icon]="faPlus"></fa-icon>\n    <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline" show_activity="false">\n    </nlf-resolve-lungo-organization>\n  </button>\n</div>\n\n\x3c!-- NORMAL SELECT DROPDOWN --\x3e\n<span *ngIf="dataReady && !defaultBtn && canCreate()">\n\n  <span *ngIf="!loading && !error">\n\n    <div class="row">\n      <div class="col">\n        <select class="form-control form-control-lg" id="motorflyklubb" [(ngModel)]="selected">\n          <option *ngFor="let club of clubs" [ngValue]="club.id">\n            {{ club.name }}\n          </option>\n        </select>\n      </div>\n      <div class="col">\n        <div class="d-grid gap-2">\n          <button [disabled]="!selected" (click)="createObservation()" class="btn btn-success btn-lg">\n            <fa-icon [icon]="faPlus"></fa-icon> Opprett ny OBSREG\n          </button>\n        </div>\n      </div>\n    </div>\n  </span>\n\n</span>\n\n<span *ngIf="loading">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  <p class="lead">Oppretter OBSREG...</p>\n</span>\n\n\n<ngb-alert *ngIf="!!error" type="danger" [dismissible]="true">\n  <fa-icon [icon]="faExclamationTriangle"></fa-icon>\n  Kunne ikke opprette OBSREG\n</ngb-alert>\n\n\x3c!-- End page --\x3e\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>\n'},6701:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error">\n\n  \x3c!-- STICKY TOP BAR --\x3e\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="fileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', \'motorfly\']">OBSREG</a>#{{ observation.id }}\n        <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type" link="true"\n          seperator="/"></nlf-resolve-observation-tags>&nbsp;\n        <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          *ngIf="!!observation.rating" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n          observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n        \x3c!-- SAVE --\x3e\n        <span *ngIf="!!observation">\n          <span (click)="saveIfChanges()" *ngIf="!!changes && observation.acl_user.w"\n            class="pointer badge bg-warning mx-1">\n            <fa-icon [icon]="faSave"></fa-icon>\n          </span>\n        </span>\n\n        \x3c!-- HELP --\x3e\n        <a class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()">\n          <fa-icon [icon]="faQuestion"></fa-icon>\n        </a>\n\n        \x3c!-- FLAGS --\x3e\n        <span *ngIf="hasFlag()" class="text-danger mx-1">\n          <fa-icon [icon]="faFlag"></fa-icon>\n        </span>\n\n        \x3c!-- ABOUT --\x3e\n        <a (click)="openAbout()" class="badge bg-secondary text-white pointer mx-1">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger"\n            title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated | amTimeAgo }}\n        </a>\n\n        \x3c!-- VERSION --\x3e\n        <a class="badge bg-success mx-1 pointer" (click)="openDiff(diffModal)">v{{ observation._version }}</a>\n\n        \x3c!-- WORKFLOW --\x3e\n        <a class="pointer mx-1" *ngIf="observation.acl_user.x" (click)="openWorkflow()">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n        </a>\n        <a class="mx-1" *ngIf="!observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n        </a>\n\n        \x3c!-- E5X on change get data again!--\x3e\n        <nlf-ors-e5x (click)="saveIfChanges()" (change)="getData()"></nlf-ors-e5x>\n\n        \x3c!-- ACTIVITY\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1"\n          [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n        --\x3e\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1 pointer"\n          title="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger"\n          (click)="openActivities(activityModal)">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n\n        \x3c!-- ACCESS --\x3e\n        <nlf-ors-editor-users *ngIf="observation.acl_user.x" [model]="observation._model.type" [_id]="observation._id"\n          [observation]="observation"></nlf-ors-editor-users>\n\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]"\n          class="badge bg-primary text-white mx-1">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n  \x3c!-- CONTAINER --\x3e\n  <div class="container">\n\n    \x3c!-- TITLE/TAGS--\x3e\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n\n        \x3c!-- WELCOME FIRST TIME --\x3e\n        <nlf-ors-editor-first *ngIf="observation.acl_user.w"></nlf-ors-editor-first>\n\n        <nlf-ors-editor-testclub-alert></nlf-ors-editor-testclub-alert>\n\n        \x3c!-- TITLE --\x3e\n        <div class="nlf-ors-toolbar">\n          Tittel <nlf-help class="float-end" key="ors-editor-motorfly-title"></nlf-help>\n        </div>\n      </div>\n\n      <div class="col-sm-12 col-md-12 my-3 lead">\n\n        <nlf-ors-editor-tag [disabled]="!observation.acl_user.w" limit="15" preload="true" details="true"\n          group="observation" [activity]="observation._model.type" [(initialTags)]="observation.tags"\n          (change)="update($event)"></nlf-ors-editor-tag>\n        \x3c!--<nlf-ors-editor-title></nlf-ors-editor-title>--\x3e\n        <div *ngIf="!!devDebug">\n          <code>{{ observation.tags | json}} </code>\n        </div>\n\n      </div>\n    </div>\n\n\n    \x3c!-- FILES mobnile only --\x3e\n    <div class="row my-3 d-block d-sm-none">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!--\n    <div>\n\n        @Input() items: any; //numbernumber[] = [];\n  @Output() itemsChange: EventEmitter<any> = new EventEmitter();\n\n  @Input() path: string; //Occurrence.DewPoint\n\n  @Input() classes: string = \'\';\n  @Input() disable: boolean = false;\n  @Input() element_id: string = \'\';\n\n  OccurrenceCategory multiple\n\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DetectionPhase" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DetectionPhase"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.DetectionPhase | json }}\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.ReportingHistory.ReportingEntity" [(items)]="observation.aircrafts[0].flight[0].incident.classification.ReportingEntity"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.ReportingEntity | json}}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DewPoint" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DewPoint"></nlf-ors-editor-tag-e5x>\n       Decimal {{ observation.aircrafts[0].flight[0].incident.classification.DewPoint | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.OccurrenceCategory" [(items)]="observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory"></nlf-ors-editor-tag-e5x>\n       Multiple {{ observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.Aircraft.PartsDamaged" [(items)]="observation.aircrafts[0].flight[0].incident.classification.PartsDamaged"></nlf-ors-editor-tag-e5x>\n       String {{ observation.aircrafts[0].flight[0].incident.classification.PartsDamaged | json }}\n\n      </div>\n    --\x3e\n\n    \x3c!--Type, When & Flags--\x3e\n    <div class="row my-3">\n      \x3c!-- WHEN --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Tidspunkt [UTC] <nlf-help class="float-end" key="ors-editor-when"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-when tz="utc"></nlf-ors-editor-when>\n            <div *ngIf="!!devDebug">{{ observation.when }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- TYPE --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Type <nlf-help class="float-end" key="ors-editor-motorfly-type"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-type [title]="true"></nlf-ors-editor-type>\n            <div *ngIf="!!devDebug">{{ observation.type }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- FLAGS--\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Flagg <nlf-help class="float-end" key="ors-editor-motorfly-flags"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-flags></nlf-ors-editor-flags>\n            <div *ngIf="!!devDebug">{{ observation.flags | json }}</div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <nlf-ors-editor-alert></nlf-ors-editor-alert>\n\n    \x3c!-- LOCATION: Removed  --\x3e\n\n    \x3c!-- NARRATIVE --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Hva skjedde? <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-3">\n        <ng-container *ngIf="observation._model.version>2">\n          <nlf-ors-editor-e5x-reportinghistory-reporters-description\n            *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes"\n            [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription"\n            customLabel="Spr\xe5k benyttet"\n            [(language)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSLanguage">\n          </nlf-ors-editor-e5x-reportinghistory-reporters-description>\n        </ng-container>\n        <ng-container *ngIf="observation._model.version<3">\n          <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n        </ng-container>\n      </div>\n    </div>\n\n    \x3c!-- FILES ALT 1 --\x3e\n\n    \x3c!-- FILES MD only --\x3e\n    <div class="row my-3 d-none d-sm-block">\n      <div class="nlf-ors-toolbar">\n        Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!-- FILES ALT 2 --\x3e\n    \x3c!--\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n        <div class="card">\n          <div class="card-header">\n            <h5>Vedlegg ({{ observation.files.length }})\n              <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body table-responsive">\n            <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n            <div *ngIf="!!devDebug">\n              {{ observation.files | json }}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  --\x3e\n\n    <ng-container>\n      \x3c!-- AIRCRAFTS / FLIGHT / INCIDENTS--\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Fart\xf8y\n          <nlf-help class="float-end" key="ors-e5x-aircrafts"></nlf-help>\n          \x3c!-- @TODO show modal w/ac information/summary <button class="float-end btn btn-link">preview</button> --\x3e\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-xs-12 col-md-12 mt-3">\n          <nlf-ors-editor-e5x-aircraft [showSimpleView]="showSimpleView()"></nlf-ors-editor-e5x-aircraft>\n        </div>\n      </div>\n      \x3c!-- OCCURRENCE TEST --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Occurrence\n      <nlf-help class="float-end" key="ors-editor-e5x-occurrence"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12">\n      <nlf-ors-editor-e5x-occurrence [disabled]="!observation.acl_user.w" [modal]="false"></nlf-ors-editor-e5x-occurrence>\n    </div>\n    --\x3e\n      <div class="row">\n        <nlf-ors-editor-e5x-occurrence [showSimpleView]="showSimpleView()" [disabled]="!observation.acl_user.w"\n          [modal]="false"></nlf-ors-editor-e5x-occurrence>\n      </div>\n      \x3c!-- CLASSIFICATION --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Klassifisering\n      <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12 bg-danger">\n      <nlf-ors-editor-e5x-classification [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes" [modal]="false"></nlf-ors-editor-e5x-classification>\n    </div>\n  --\x3e\n      \x3c!-- E5X ATTRIBUTES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante attributter\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-where [disabled]="!observation.acl_user.w" [modal]="true" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-where>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-weather [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-weather>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-injuries [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-injuries>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-damage [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-damage>\n    </div>\n    --\x3e\n\n      \x3c!-- E5X OCCURRENCE ENTITIES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante enheter\n    </div>\n    <nlf-ors-editor-e5x-entities></nlf-ors-editor-e5x-entities>\n    --\x3e\n\n      \x3c!-- RISK ASSESMENT I REPORTING HISTORY\n    <nlf-ors-editor-e5x-assessment (change)="update()" [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-assessment>\n    --\x3e\n\n      \x3c!-- REPORTING HISTORY --\x3e\n      <nlf-ors-editor-e5x-reportinghistory [disabled]="!observation.acl_user.w" (change)="update()"\n        [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-reportinghistory>\n\n      \x3c!-- RISK ASSESSMENT --\x3e\n      <nlf-ors-editor-e5x-risk *ngIf="!showSimpleView()" [disabled]="!observation.acl_user.w" (change)="update()"\n        [(occurrence)]="observation.occurrence"></nlf-ors-editor-e5x-risk>\n\n      \x3c!-- NARRATIVE Moved top\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Narrative <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 bg-light">\n        <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()" [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n      </div>\n    </div>\n  --\x3e\n      \x3c!-- ORGANIZATION: Removed --\x3e\n\n\n      \x3c!-- INVOLVERTE\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Andre Involverte <nlf-help class="float-end" key="ors-editor-involved"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <nlf-ors-editor-people-motorfly [disabled]="!observation.acl_user.w" [who]="observation.involved" path="involved"></nlf-ors-editor-people-motorfly>\n        <div *ngIf="!!devDebug">{{ observation.involved | json }}</div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- COMPONENTS\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Forl\xf8pet\n          <nlf-help class="float-end" key="ors-editor-components"></nlf-help>\n          <button (click)="openPreview(modalPreview, \'components\', \'Forl\xf8pet\')" class="float-end btn btn-link">\n            preview\n          </button>\n        </div>\n        <nlf-ors-editor-components></nlf-ors-editor-components>\n        <div *ngIf="devDebug" class="col-md-12 bg-light">\n          {{ observation.components | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- WEATHER\n    <div class="row my-3">\n      <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n        V\xe6ret\n        <nlf-help class="float-end" key="ors-editor-weather"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-met></nlf-ors-editor-met>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-weather></nlf-ors-editor-weather>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <div *ngIf="devDebug">\n          {{ observation.weather.auto | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n      \x3c!-- NARRATIVE --\x3e\n\n    </ng-container>\n\n\n    \x3c!-- RATING --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Alvorlighetsgrad <nlf-help class="float-end" key="ors-editor-motorfly-rating"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-1">\n        <nlf-ors-editor-rating></nlf-ors-editor-rating>\n        <div *ngIf="!!devDebug">Rating for observation {{ observation.rating | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- VURDERINGER--\x3e\n    <div class="row">\n      <div class="nlf-ors-toolbar">\n        Vurdering\n        <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n      </div>\n    </div>\n\n    \x3c!-- ASK --\x3e\n    <div class="row bg-light py-2">\n\n      \x3c!-- ASK TOGGLE --\x3e\n      <div class="col-md-4 col-sm-12">\n        <p class="mt-3">\n          <nlf-ors-editor-ask></nlf-ors-editor-ask>\n        </p>\n      </div>\n      \x3c!-- ASK TEXT --\x3e\n      <div class="col-md-8 col-sm-12">\n        <p class="mt-1">\n          <nlf-ors-editor-ask-text></nlf-ors-editor-ask-text>\n        </p>\n      </div>\n\n    </div>\n\n\n    \x3c!-- ACTIONS --\x3e\n    <ng-container *ngIf="!showSimpleView()">\n      <div class="row">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Tiltak\n          <nlf-help class="float-end" key="ors-editor-motorfly-actions"></nlf-help>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-12 col-sm-12">\n          <nlf-ors-editor-actions></nlf-ors-editor-actions>\n        </div>\n        <div *ngIf="!!devDebug">{{ observation.actions | json }}</div>\n      </div>\n    </ng-container>\n\n    \x3c!-- /// END FORM --\x3e\n\n    <span class="d-md-none">\n      \x3c!-- SIMPLE VIEW --\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Visning av felter\n          <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-2">\n        <p>\n          Du kan selv velge visning av felter i observasjonen. Normalt vil en nyopprettet observasjon vises med\n          forenklet\n          skjema. Du kan velge &quot;Vis alle felter&quot; for \xe5 vise alle felter eller &quot;Vis forenklet skjema&quot;\n          for \xe5 vise\n          forenklet og redusert antall felter. Endringene er persistente for din bruker ogs\xe5 om du har en annen rolle i\n          arbeidsflyten eller logger inn fra en annen enhet.\n        </p>\n        <ng-container *ngIf="!showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </div>\n        </ng-container>\n        <ng-container *ngIf="showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </div>\n        </ng-container>\n      </div>\n      \x3c!-- WORKFLOW ACTIONS --\x3e\n      <ng-container *ngIf="observation.acl_user.x">\n\n        <div class="nlf-ors-toolbar">\n          <ng-container *ngIf="observation.workflow.state==\'withdrawn\'">Gjen\xe5pning</ng-container>\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">Innsending</ng-container>\n          <ng-container *ngIf="[\'draft\', \'withdrawn\'].indexOf(observation.workflow.state)==-1">Behandling</ng-container>\n\n          <nlf-help class="float-end" key="ors-editor-workflow"></nlf-help>\n        </div>\n        \x3c!-- bg-secondary text-white--\x3e\n        <div class="col-xs-12 col-md-12 py-2">\n          <ng-container *ngIf="[\'withdrawn\', \'closed\'].indexOf(observation.workflow.state)>-1">\n            <p>\n              Observasjonen er lukket. Du kan velge \xe5 gjen\xe5pne observasjonen om du \xf8nsker fortsette \xe5 behandle den.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Gjen\xe5pne</button>\n            </div>\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">\n            <p>N\xe5r du er ferdig med \xe5 redigere observasjonen er det p\xe5 tide \xe5 sende den videre til behandling hos OBSREG\n              koordinator.</p>\n            <p>Du kan alltid aktivere arbeidsflyten ved \xe5 trykke p\xe5 statusknappen for arbeidsflyten <span><a\n                  class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span> som du finner \xf8verst p\xe5 siden i &quot;sidemenyen&quot;\n            </p>\n            <p>Behandlingen skjer i en forh\xe5ndsdefinert arbeidsflyt som du kan lese mer om ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <p>\xd8nsker du slette/fjerne observasjonen velger du \xe5 &quot;trekke tilbake&quot;. Da forsvinner den ute av\n              syne\n              for alle enn deg. Ingen kan forresten slette observasjoner fra systemet, og du kan n\xe5r som helst komme\n              tilbake og gjen\xe5pne\n              den skulle du ombestemme deg.</p>\n            \x3c!-- Knapper for innsending --\x3e\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-success me-2">Send til OBSREG-koordinator</button>\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Trekk tilbake</button>\n            </div>\n\n          </ng-container>\n\n          <ng-container *ngIf="[\'draft\', \'withdrawn\', \'closed\'].indexOf(observation.workflow.state)==-1">\n            <p>Observasjonen har status\n              <span><a class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span>.\n            </p>\n            <p>\n              N\xe5r du har gjennomg\xe5tt observasjonen skal du aktivere arbeidsflyten for \xe5 behandle observasjonen.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-primary me-2">\n                <fa-icon [icon]="faExchange"></fa-icon> Behandle #{{observation.id}}\n              </button>\n            </div>\n          </ng-container>\n        </div>\n      </ng-container>\n      \x3c!-- //WORKFLOW ACTIONS --\x3e\n    </span>\n\n    <div *ngIf="observation.acl_user.x" class="nlf-toolbar fixed-bottom bg-dark d-none d-md-block">\n      <div class="container">\n\n        <span class="float-start" text="Her velger du visning om du vil ha forenklet eller alle felter"\n          class="nav-item">\n          <ng-container *ngIf="!showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </ng-container>\n          <ng-container *ngIf="showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </ng-container>\n        </span>\n\n        <span class="float-end" text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n\n          <span class="me-4 lead">\n            <nlf-help key="ors-editor-workflow"></nlf-help>\n          </span>\n\n          <ng-container *ngIf="observation.workflow.state===\'draft\'">\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faPaperPlane"></fa-icon> Send til OBSREG-koordinator\n            </button>\n\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjegenlig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faReply"></fa-icon> Trekk tilbake\n            </button>\n\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state===\'withdrawn\'">\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Gjen\xe5pne" text="Gjen\xe5pne ">\n              <fa-icon [icon]="faRepeat"></fa-icon> Gjen\xe5pne\n            </button>\n          </ng-container>\n\n          <ng-container *ngIf="[\'withdrawn\',\'draft\'].indexOf(observation.workflow.state)<0">\n            <button class="btn btn-primary me-2" (click)="openWorkflow()" title="Behandle" text="Behandle ">\n              <fa-icon [icon]="faRandom"></fa-icon> Arbeidsflyt\n            </button>\n          </ng-container>\n        </span>\n      </div>\n    </div>\n\n\n    \x3c!-- SEND BTN\n    <div class="row my-3">\n      <span class="pointer mx-1 float-end" *ngIf="observation.acl_user.x && observation.workflow.state==\'draft\'" (click)="openWorkflow()">\n        <button class="btn btn-success">\n          <fa-icon [icon]="faUpload"></fa-icon>Send OBSREG-koordinator\n        </button>\n      </span>\n    </div>\n--\x3e\n    <div *ngIf="!!devDebug">\n      {{ observation.ask | json }}\n    </div>\n\n  </div>\x3c!-- /CONTAINER--\x3e\n\n  <div *ngIf="!!devDebug" class="container">\n    <div>{{\xa0observation |json }}</div>\n  </div>\n\n</div>\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n\x3c!-- PAGE ERROR --\x3e\n<div *ngIf="dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="motorfly" [error]="error"></nlf-ors-error>\n</div>\n\n\x3c!-- MODAL VERSIONS --\x3e\n<ng-template #modalVersions>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      OBSREG#{{ observation.id }} version {{ observation._version }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    Not implemented yet\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL VERSIONS --\x3e\n\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalPreview>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ preview.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="preview.what===\'components\'">\n      <nlf-report-components-timeline [components]="observation.components"\n        [activity]="observation._model.type"></nlf-report-components-timeline>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\x3c!-- //ACTIVITY --\x3e\n\n\x3c!-- DIFF MODAL ---\x3e\n<ng-template #diffModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <pre>\n    {{ getDiff() | json }}\n    </pre>\n    {{ this.shadow.when }} || {{ this.observation.when }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n<div *ngIf="!!devDebug">\n  <pre>{{observation | json}}</pre>\n</div>\n'},34052:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error" id="testpdf">\n  <header class="nlf-sticky-toolbar">\n    <div class="container lead">\n      <hotkeys-cheatsheet title="Hotkeys Rock!"></hotkeys-cheatsheet>\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ observation.tags | nlfOrsTags: \' / \'}} --\x3e\n      <a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#{{\n        observation.id\n      }}\n      <nlf-resolve-observation-tags\n        [tags]="observation.tags"\n        [activity]="observation._model.type"\n        link="true"\n        seperator="/"\n      ></nlf-resolve-observation-tags\n      >&nbsp;\n      \x3c!-- /TITLE --\x3e\n      \x3c!-- RATING --\x3e\n      <span\n        ngbTooltip="{{ observation.rating.actual }} av {{\n          observation.rating.potential\n        }}"\n        container="body"\n        *ngIf="!!observation.rating"\n        class="badge bg-{{\n          observation.rating | nlfOrsRatingCalc | nlfDynamicColor\n        }}"\n        >{{ observation.rating | nlfOrsRatingCalc }}</span\n      >\n\n      \x3c!-- DIFFERENT VERSION --\x3e\n      <span\n        *ngIf="observation._version !== observation._latest_version"\n        class="badge bg-warning"\n      >\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'report\',\n            observation.id\n          ]"\n          >v{{ observation._version }} av {{ observation._latest_version }}</a\n        >\n      </span>\n      \x3c!-- /DIFFERENT VERSION --\x3e\n\n      \x3c!-- RATING TEST\n\t\t\t<rating [ngModel]="observation.rating.actual" max="8" readonly="true"></rating> / <rating [ngModel]="observation.rating.potential" max="8" readonly="true"></rating>\n\t\t\t /RATING TEST --\x3e\n\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'edit\',\n            observation.id\n          ]"\n          *ngIf="observation.acl_user.x || observation.acl_user.w || (observation.workflow.state != \'closed\' && observation.acl_user.r)"\n          class="badge bg-primary text-white mx-1"\n        >\n          <fa-icon [icon]="faEdit"></fa-icon> Editor\n        </a>\n        <nlf-resolve-observation-state\n          [activity]="observation._model.type"\n          [state]="observation.workflow.state"\n          icon="true"\n        ></nlf-resolve-observation-state>\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n\n      <nlf-ors-report-e5x\n        [observation]="observation"\n        class="float-end"\n      ></nlf-ors-report-e5x>\n    </div>\n  </header>\n  \x3c!-- /END HEADER --\x3e\n  <div class="container">\n    <div class="row">\n      \x3c!-- Summary table --\x3e\n      <div class="col-md-6 table-responsive">\n        <nlf-ors-motorfly-report-summary\n          [observation]="observation"\n        ></nlf-ors-motorfly-report-summary>\n      </div>\n\n      <div class="col-md-6">\n        <div class="col-md-12">\n          \x3c!-- MAP --\x3e\n          <div *ngIf="!!observation.occurrence.attributes.latitudeOfOcc.value || !!observation.occurrence.attributes.longitudeOfOcc.value">\n            <div class="row" style="height: 400px">\n              <div class="col-xs-12 position-relative">\n                <nlf-ors-report-flight-map\n                  [aircraft]="observation.aircrafts"\n                  [where]="[\n                    observation.occurrence.attributes.latitudeOfOcc.value,\n                    observation.occurrence.attributes.longitudeOfOcc.value\n                  ]"\n                ></nlf-ors-report-flight-map>\n              </div>\n            </div>\n\n            <div class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              {{\n                observation.occurrence.attributes.locationName.value ||\n                  "Sted ikke angitt"\n              }}\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lng:\n                {{\n                  observation.occurrence.attributes.longitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lat:\n                {{\n                  observation.occurrence.attributes.latitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n            </div>\n            <div>\n              <nlf-ors-editor-tag-e5x-render\n                [showLabel]="false"\n                [items]="observation.occurrence.attributes.stateAreaOfOcc.value"\n                path="E5X.Occurrence.StateAreaOfOcc"\n              ></nlf-ors-editor-tag-e5x-render>\n            </div>\n          </div>\n\n          <div *ngIf="!observation.occurrence.attributes.latitudeOfOcc.value || !observation.occurrence.attributes.longitudeOfOcc.value">\n            <ngb-alert type="info" [dismissible]="false" class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              Informasjon om posisjon for hendelse er ikke angitt\n            </ngb-alert>\n          </div>\n        </div>\n\n         \x3c!-- Involved --\x3e\n        <div class="col-md-12 mt-3" *ngIf="observation.aircrafts.length > 0">\n          <h3 class="h5">\n            <fa-icon [icon]="faPlane"></fa-icon> Involverte fart\xf8y\n          </h3>\n          <div *ngFor="let aircraft of observation.aircrafts" class="my-2">\n            <nlf-aircraft-summary\n              [callsign]="aircraft.aircraft.callsign"\n              [model]="aircraft.aircraft.model || undefined"\n              [manufacturer]="aircraft.aircraft.manufacturer || undefined"\n            ></nlf-aircraft-summary>\n          </div>\n        </div>\n        \x3c!-- /Involved --\x3e\n      </div>\n    </div>\n\n    \x3c!-- Workflow\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\n\t\t\t\t\t\t<div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n\t\t\t\t\t\t\t<fa-icon [icon]="faRandom"></fa-icon>\n\t\t\t\t\t\t\tArbeidsflyt\n\t\t\t\t\t\t\t<i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div [ngbCollapse]="isWorkflowTimelineCollapsed">\n\t\t\t\t\t\t\t<nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    <div class="row mb-4">\n      \x3c!-- NARRATIVE --\x3e\n      <div class="col-md-12 col-lg-6 mt-3">\n        <h3 class="h5">\n          <fa-icon [icon]="faCommenting"></fa-icon> Hendelsesforl\xf8p\n        </h3>\n        <div class="bg-light p-3">\n          <ng-container *ngIf="observation.occurrence.entities.hasOwnProperty(\'narrative\') && observation.occurrence.entities.narrative.length > 0">\n            <div class="narrative">{{ observation.occurrence.entities.narrative[0].attributes.narrativeText.plainText }}</div>\n          </ng-container>\n          <ng-container *ngIf="observation.occurrence.entities.reportingHistory[0].attributes.hasOwnProperty(\'reporterSDescription\')">\n            <div class="narrative">{{ observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription.plainText }}</div>\n          </ng-container>\n        </div>\n      </div>\n      \x3c!-- /NARRATIVE --\x3e\n\n      \x3c!-- Verdicts --\x3e\n      <div class="col-md-12 col-lg-6 mt-3">\n        <div class="col-md-12">\n          <h3 class="h5">\n            <fa-icon [icon]="faComments"></fa-icon> Vurderinger\n          </h3>\n        </div>\n\n        \x3c!-- ASK comments --\x3e\n        <div class="col-md-12">\n          <div *ngIf="!!observation.ask && !!observation.ask.text">\n            <nlf-ors-report-ask-text\n              [comments]="observation.ask.text"\n              [audit]="observation.workflow.audit"\n              [activity]="observation._model.type"\n            ></nlf-ors-report-ask-text>\n          </div>\n        </div>\n\n        \x3c!-- ASK matrix --\x3e\n        <div class="col-md-12 pt-2">\n          <nlf-ors-report-ask\n            [ask]="observation.ask"\n            [verbose]="true"\n          ></nlf-ors-report-ask>\n        </div>\n      </div>\n      \x3c!-- /verdicts --\x3e\n    </div>\n\n    \x3c!-- Files --\x3e\n    <div class="row" *ngIf="observation.files.length > 0">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faFile"></fa-icon> Vedlegg</h3>\n        <nlf-ors-report-files\n          [files]="observation.files"\n          [state]="observation.workflow.state"\n        ></nlf-ors-report-files>\n      </div>\n    </div>\n    \x3c!-- /Files --\x3e\n\n    \x3c!-- Components timeline - forl\xf8pet\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t<nlf-report-components-timeline [activity]="observation._model.type" [components]="observation.components"></nlf-report-components-timeline>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!-- ON GROUND\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faStreetView"></fa-icon> P\xe5 bakken\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t/ON GROUND --\x3e\n\n    \x3c!-- Weather\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faCloud"></fa-icon> V\xe6ret\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t/Weather --\x3e\n\n    \x3c!-- ATM\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon> ATM involvert\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /ATM --\x3e\n\n    \x3c!-- AERODROME\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faRoad"></fa-icon> Aerodrome\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /AERODROME --\x3e\n\n    \x3c!-- Actions --\x3e\n    <div class="row" *ngIf="(observation.actions?.local && observation.actions?.local?.length > 0) || (observation.actions?.central && observation.actions?.central?.length > 0)">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faBolt"></fa-icon> Tiltak</h3>\n        <nlf-ors-report-actions\n          [actions]="observation.actions"\n        ></nlf-ors-report-actions>\n      </div>\n    </div>\n    \x3c!-- /Actions --\x3e\n\n    \x3c!-- Related --\x3e\n    <div *ngIf="!!observation.related && observation.related?.length > 0" class="row">\n      <div class="col-md-12">\n        <h3 class="h5">\n          <fa-icon [icon]="faExternalLink"></fa-icon> Relaterte\n        </h3>\n        <nlf-ors-report-related\n          [related]="observation.related"\n        ></nlf-ors-report-related>\n      </div>\n    </div>\n    \x3c!-- /Related --\x3e\n\n    \x3c!--\n\t\t\t\t<hr>\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<h3>Tester under</h3>\n\t\t\t\t</div>\n\t\t\t\t<div class="card-header">DIFF TEST</div>\n\t\t\t\t<pre semanticDiff [left]="left" [right]="right"></pre>\n\n\n\n\t\t\t\t<div *ngIf="!!observationDiff" class="row">\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Forrige</p>{{ observationDiff[1] | json }}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Siste</p>{{ observationDiff[0] | json }}\n\t\t\t\t\t</div>\n\n\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t\t<div class="card" style="width: 22rem;">\n\t\t\t\t\t<img class="card-img-top img-fluid" src="{{ currentImage }}" alt="Card image cap">\n\t\t\t\t\t<div class="card-body">\n\t\t\t\t\t\t<h5 class="card-header">Your image</h5>\n\t\t\t\t\t\t<form>\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<input class="form-control-file" type="file" (change)="onUpload($event)">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t<h2>F\xf8lgende er registrert:</h2>\n\t\t\t<label>Id</label>\n\t\t\t<pre>{{observation.id}}</pre>\n\t\t\t<pre>{{observation._id}}</pre>\n\n\t\t\t<label>Created</label>\n\t\t\t<pre>{{observation._created | date:\'yyyy-MM-dd HH:mm\'}}</pre>\n\n\t\t\t<label>Club</label>\n\t\t\t<pre>{{observation.club | json}}</pre>\n\n\t\t\t<label>Acl</label>\n\t\t\t<pre>{{observation.acl | json}}</pre>\n\n\t\t\t<label>Type</label>\n\t\t\t<pre>{{observation.type | json}}</pre>\n\n\t\t\t<label>Flags</label>\n\t\t\t<pre>{{observation.flags | json}}</pre>\n\n\t\t\t<label>Rating</label>\n\t\t\t<pre>{{observation.rating | json}}</pre>\n\n\t\t\t<label>Kunnskap ferdigheter holdning</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Location</label>\n\t\t\t<pre>{{observation.location | json}}</pre>\n\n\t\t\t<label>Files</label>\n\t\t\t<pre>{{observation.files | json}}</pre>\n\n\t\t\t<label>When</label>\n\t\t\t<pre>{{observation.when | json}}</pre>\n\n\t\t\t<label>Tags</label>\n\t\t\t<pre>{{observation.tags | json}}</pre>\n\n\t\t\t<label>Organization</label>\n\t\t\t<pre>{{observation.organization | json}}</pre>\n\n\t\t\t<label>Involved</label>\n\t\t\t<pre>{{observation.involved | json}}</pre>\n\n\t\t\t<label>Components</label>\n\t\t\t<pre>{{observation.components | json}}</pre>\n\n\t\t\t<label>Weather</label>\n\t\t\t<pre>{{observation.weather | json}}</pre>\n\n\t\t\t<label>Vurdering</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Tiltak</label>\n\t\t\t<pre>{{observation.actions | json}}</pre>\n\n\n\t\t\t<label>Workflow</label>\n\t\t\t<pre>{{observation.workflow | json}}</pre>\n\t\t\t--\x3e\n  </div>\n</div>\n<div *ngIf="!dataReady && !error">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n<div *ngIf="!dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="motorfly" [error]="error"></nlf-ors-error>\n</div>\n'},6603:de=>{"use strict";de.exports='<table class="table table-sm table-hover">\n  <tbody>\n    <tr style="border-top: none !important">\n      <td style="border-top: none !important">Klubb</td>\n      <td style="border-top: none !important">\n        <nlf-resolve-lungo-organization [organization_id]="observation.club" link="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Gren</td>\n      <td>\n        <nlf-resolve-lungo-organization [organization_id]="observation.discipline" link="true" show_activity="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Observat\xf8r</td>\n      <td>\n        <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n      </td>\n    </tr>\n\n    \x3c!-- FTL --\x3e\n    <tr *ngIf="observation.organization.hasOwnProperty(\'ftl\')">\n      <td>FTL i klubb</td>\n      <td>\n        <div *ngFor="let ftl of observation.organization.ftl">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="ftl"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- DTO @TODO Remove\n    <tr>\n      <td>DTO i klubb</td>\n      <td>\n        <div *ngFor="let dto of observation.organization.dto">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="dto"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n  --\x3e\n\n    \x3c!-- OBSREG-KOORDINATORER --\x3e\n    <tr>\n      <td>OBSREG-Koordinator</td>\n      <td>\n        <div *ngFor="let ors of observation.organization.ors">\n          <nlf-resolve-lungo-person [person_id]="ors" [avatar]="true" [link]="true"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- TYPE --\x3e\n    <tr>\n      <td>Type</td>\n      <td>\n        <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type" badge="true"></nlf-resolve-observation-types>\n        <span class="float-end">\n          <nlf-ors-report-ask [ask]="observation.ask" [verbose]="false"></nlf-ors-report-ask>\n        </span>\n      </td>\n    </tr>\n\n\n    \x3c!-- TYPE E5X--\x3e\n    <tr>\n      <td title="Occurence Class">Klassifisering</td>\n      <td>\n        <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass"></nlf-ors-editor-tag-e5x-render>\n        <span class="float-end">\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.injuryLevel.value" path="E5X.Occurrence.InjuryLevel"></nlf-ors-editor-tag-e5x-render>\n          /\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.highestDamage.value" path="E5X.Occurrence.HighestDamage"></nlf-ors-editor-tag-e5x-render>\n        </span>\n      </td>\n    </tr>\n\n    \x3c!-- RATING --\x3e\n    <tr *ngIf="!!observation.rating">\n      <td>Alvorlighetsgrad</td>\n      \x3c!--<td>{{ observation.rating.actual }} av {{ observation.rating.potential }} <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="float-end badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>--\x3e\n      <td><span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>\n    </tr>\n\n    <tr *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value">\n      <td>Event Risk Classification</td>\n      <td><span container="body" class="badge bg-{{observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value | nlfDynamicColorErc}}">{{ observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value }}</span></td>\n    </tr>\n\n    \x3c!-- FLAGG --\x3e\n    <tr>\n      <td>Flagg</td>\n      <td>\n        <div *ngIf="!!observation.flags">\n          <span *ngIf="!!observation.flags.insurance">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="insurance"></nlf-resolve-observation-flags>\n          </span>\n          <span *ngIf="!!observation.flags.aviation">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="aviation"></nlf-resolve-observation-flags>\n          </span>\n\n        </div>\n        <span *ngIf="!observation.flags || (!observation.flags.aviation && !observation.flags.insurance)">Ingen</span>\n      </td>\n\n    </tr>\n\n    \x3c!-- FART\xd8Y--\x3e\n    <tr>\n      <td>Fart\xf8y</td>\n      <td>\n        <div *ngFor="let a of observation.aircrafts">\n          <a *ngIf="!a.aircraft.callsign.startsWith(\'FLY\')" [routerLink]="[\'/\', \'aircraft\', \'view\', a.aircraft.callsign]">{{ a.aircraft.callsign }}</a>\n          <span *ngIf="a.aircraft.callsign.startsWith(\'FLY\')">{{ a.aircraft.callsign }}</span>\n        </div>\n      </td>\n    </tr>\n\n\n\n\n\n    \x3c!-- WHEN --\x3e\n    <tr>\n      <td>Tidspunkt</td>\n      <td>{{ observation.when | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CREATED --\x3e\n    <tr>\n      <td>Opprettet</td>\n      <td>{{ observation._created | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CLOSED? --\x3e\n    <tr>\n      <td>Lukket</td>\n      <td *ngIf="observation.workflow.state==(\'closed\' || \'withdrawn\')">{{ observation.workflow.last_transition | date:\'yyyy-MM-dd HH:mm\' }}</td>\n      <td *ngIf="observation.workflow.state!=(\'closed\' || \'withdrawn\')">\n        <span class="text-danger">Under behandling</span>\n      </td>\n    </tr>\n    \x3c!-- VERSION --\x3e\n    <tr>\n      <td>Versjon</td> \x3c!-- @TODO: Generate list of versions and link to them /report/:id?v=1 or /report/:id/:version --\x3e\n      <td>\n        {{ observation._version }} <span *ngIf="observation._version !== observation._latest_version">\n          av <a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">{{ observation._latest_version }}</a></span>\n      </td>\n    </tr>\n\n    \x3c!-- TURNAROUND --\x3e\n    <tr>\n      <td>Behandlingstid</td>\n      <td>{{ turnaround }}</td>\n    </tr>\n\n    \x3c!-- INVOLVED\n    <tr>\n      <td>Involverte</td>\n      <td>{{ observation.involved | count }}</td>\n    </tr>\n  --\x3e\n    \x3c!-- VERDICTS\n    <tr>\n      <td>Kjennelser</td>\n      <td>\n        <div *ngIf="numberOfInvolved > 0">\n          <div *ngFor="let v of observation.involved">\n            <div *ngIf="!!v.verdict">\n              <div *ngIf="!!v.verdict.fu" class="badge bg-warning me-1">Farlig Ukontrollert </div>\n              <div *ngIf="!!v.verdict.ph" class="badge bg-danger me-1">Permanent Hoppforbud </div>\n              <div *ngIf="!!v.verdict.mh" class="badge bg-danger">Midlertidig Hoppforbud</div>\n            </div>\n          </div>\n        </div>\n        <div *ngIf="numberOfInvolved === 0">Ingen</div>\n      </td>\n    </tr>\n    --\x3e\n  </tbody>\n</table>\n'},35994:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'motorfly\']">OBSREG</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li class="breadcrumb-item">\n\n        <a>S\xf8k</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="!!text" class="breadcrumb-item active">\n        {{ text }}\n      </li>\n    </span>\n\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-search-motorfly"></nlf-help>\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-3">\n\n    <div class="col-md-3 bg-light p-2">\n      <label class="lead"><fa-icon [icon]="faFilter"></fa-icon> Filter</label>\n      <div class="row">\n        <label>Fritekst:</label>\n        <input placeholder="Fritekst" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n      </div>\n\n      \x3c!-- ANON DO NOT WORK ANYMORE\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="Kjennetegn" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.callsign\']">\n      </div>\n      --\x3e\n\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input placeholder="Produsent" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.manufacturer\']">\n        <input placeholder="Model" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.model\']">\n      </div>\n\n      <div class="row">\n        <label>Flyplass:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="ICAO" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.flight.from.icao\']">\n      </div>\n\n      <div class="row mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="reset()" class="btn btn-secondary">Reset filter</button>\n        </div>\n      </div>\n\n      <div *ngIf="!!result?._items" class="mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="exportTojson()" class="btn btn-secondary"><fa-icon [icon]="faDownload"></fa-icon> Last ned</button>\n        </div>\n      </div>\n\n    </div>\n\n    <div class="col-md-9">\n      \x3c!-- SEARCH RESULTS --\x3e\n      <div class="lead">\n        <div *ngIf="!!result && !searching">\n          Fant {{ result._meta.total }} resultater\n        </div>\n\n        <div *ngIf="(!result || result._meta.total == 0) && !searching">\n          Ingen resultater\n        </div>\n\n        <div *ngIf="searching">\n          S\xf8ker...\n        </div>\n      </div>\n\n      <div class="my-2 p-1 div_hover" *ngFor="let r of result?._items; let isOdd=odd;" [class.bg-light]="isOdd">\n\n        <a [routerLink]="[\'/ors\', activity,\'report\', r.id]">#{{ r.id }} - {{ r.tags | join: \'/\'}}</a>\n\n\n        <span class="float-end mx-1">\n          <nlf-resolve-observation-state [activity]="r._model.type" [state]="r.workflow.state" icon="true"></nlf-resolve-observation-state>\n          <span *ngIf="!!r.rating" class="mx-1 badge bg-{{r.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ r.rating | nlfOrsRatingCalc }}</span>\n        </span>\n\n        <div class="small" *ngFor="let a of r.aircrafts">\n          <fa-icon [icon]="faPlane"></fa-icon> {{ a.aircraft.callsign }} {{ a.aircraft.model }} {{ a.aircraft.manufacturer }}\n          <div>\n            <span class="small" *ngFor="let route of a.flight; let idx = index">\n              <span *ngIf="idx==0">{{ route.from.icao }}</span>\n              <fa-icon [icon]="faLongArrowRight"></fa-icon> {{ route.to.icao }}\n            </span>\n          </div>\n        </div>\n\n      </div>\n    </div>\n\n  </div>\n</div>\n\n<ng-template #saveTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Lagre s\xf8ket\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="form-group">\n      <label>S\xf8kenavn</label>\n      <input class="form-control" type="text" [disabled]="true" [value]="text || \'\'">\n    </div>\n\n    <div class="form-group my-3">\n      <div class="form-check">\n        <input [disabled]="true" class="form-check-input" type="checkbox" value="" id="defaultCheck1">\n        <label class="form-check-label" for="defaultCheck1">\n          Varsle meg ved nye resultater\n        </label>\n      </div>\n    </div>\n\n    <div class="form-group">\n      <label>S\xf8ket ga {{ result._meta.total }} resultater</label>\n      <textarea [disabled]="true" class="form-control" [value]="this.getQuery() | json" rows="3"></textarea>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    <button [disabled]="true" class="btn btn-primary" (click)="modalRef.close()">Lagre</button>\n  </div>\n</ng-template>\n'},24202:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    OBSREG Motorfly\n\n    <button [routerLink]="[\'/ors\', \'motorfly\', \'search\']" type="button" class="btn btn-sm btn-primary float-end">\n      <fa-icon [icon]="faSearch"></fa-icon> S\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-motorfly"></nlf-help>\n  </div>\n\n\n</header>\n\n<div class="container">\n\n  <div class="row">\n    \x3c!-- MY --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faUser" class="text-secondary"></fa-icon> Mine observasjoner\n      </div>\n      <nlf-ors-self-table activity="motorfly"></nlf-ors-self-table>\n    </div>\n    \x3c!-- MY TODO --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faExchange" class="text-secondary"></fa-icon> Til min behandling\n      </div>\n      <nlf-ors-todo-table activity="motorfly"></nlf-ors-todo-table>\n    </div>\n\n    \x3c!-- Group = tight, with padding deck = spacing, no padding card-body style="padding: 0;"\n      <div class="card-deck">\n\n        <div class="card mb-3 me-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faUser"></fa-icon>Mine observasjoner</h5>\n          <div class="card-body table-responsive" style="padding: 0;">\n\n          </div>\n        </div>\n\n        <div class="card mb-3 ms-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faRandom"></fa-icon>Til min behandling</h5>\n          <div class="card-body" style="padding: 0;">\n            <nlf-ors-todo-table  activity="motor"></nlf-ors-todo-table>\n          </div>\n        </div>\n      </div>\n      --\x3e\n  </div>\n</div>\n\n\x3c!-- CREATE --\x3e\n<div class="py-5 nlf-bg-blue col-md-12">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n      <nlf-ors-motor-create></nlf-ors-motor-create>\n    </p>\n  </div>\n</div>\n\n\x3c!-- ALL OBSREG --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faList" class="text-secondary"></fa-icon> Alle observasjoner\n      </div>\n      <nlf-ors-all-table activity="motorfly"></nlf-ors-all-table>\n    </div>\n  </div>\n</div>\n'},67354:de=>{"use strict";de.exports='<div *ngIf="!!actions&&format==\'horizontal\'" class="row">\n\n  <div class="col-xs-12 col-md-6" *ngIf="!!actions.local">\n    <strong>Lokale:</strong>\n    <ol>\n      <div *ngIf="actions.local?.length == 0">Ingen</div>\n      <div *ngIf="actions.local?.length > 0">\n        <li *ngFor="let l of actions.local">\n          {{ l }}\n        </li>\n      </div>\n    </ol>\n  </div>\n\n  <div class="col-xs-12 col-md-6" *ngIf="!!actions.central">\n    <strong>Sentrale:</strong>\n    <ol>\n      <div *ngIf="actions.central?.length == 0">Ingen</div>\n      <div *ngIf="actions.central?.length > 0">\n        <li *ngFor="let c of actions.central">\n          {{ c }}\n        </li>\n      </div>\n    </ol>\n  </div>\n\n</div>\n\n<div *ngIf="!!actions&&format==\'vertical\'">\n  <div class="row">\n    <div class="col-xs-12" *ngIf="!!actions.local">\n      <strong>Lokale:</strong>\n      <ol>\n        <div *ngIf="actions.local?.length == 0">Ingen</div>\n        <div *ngIf="actions.local?.length > 0">\n          <li *ngFor="let l of actions.local">\n            {{ l }}\n          </li>\n        </div>\n      </ol>\n    </div>\n  </div>\n  <div class="row">\n    <div class="col-xs-12" *ngIf="!!actions.central">\n      <strong>Sentrale:</strong>\n      <ol>\n        <div *ngIf="actions.central?.length == 0">Ingen</div>\n        <div *ngIf="actions.central?.length > 0">\n          <li *ngFor="let c of actions.central">\n            {{ c }}\n          </li>\n        </div>\n      </ol>\n    </div>\n  </div>\n</div>'},90705:de=>{"use strict";de.exports='<div *ngIf="dataReady">\n  <div *ngFor="let key of comments | keys">\n\n    <div *ngIf="(!excludes || excludes.indexOf(key)<0) && comments[key].length > 0" class="bg-light my-1">\n      <div class="d-flex p-3">\n\n        <span class="flex-shrink-0 align-self-start me-3 avatar avatar-lg">\n          <nlf-resolve-avatar [person_id]="person_mappings[key]"></nlf-resolve-avatar>\n        </span>\n\n        \x3c!--<img class="me-3 rounded-circle" src="https://dummyimage.com/64x64/595659/e3e4e8">--\x3e\n\n        <div class="flex-grow-1">\n\n          <h5 class="mt-0">\n            {{ roles[key] }}\n          </h5>\n\n          <p [innerHTML]="comments[key] | newlines | safe: \'html\'">Ikke vurdert.</p>\n\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n<div *ngIf="!dataReady">\n  laster ask....\n</div>\n\n\x3c!--\n<div *ngIf="!!comments.draft">\n  <div class="bg-light">\n    <div class="media" style="padding: 5px;">\n      <img class="me-3 rounded-circle" src="https://dummyimage.com/64x64/595659/e3e4e8">\n      <div class="media-body">\n        <h5 class="mt-0">Observat\xf8r</h5>\n        <p [innerHTML]="comments.draft | newlines | safe: \'html\'"></p>\n      </div>\n    </div>\n  </div>\n</div>\n<p></p>\n<div *ngIf="!!comments.pending_review_hi">\n  <div class="bg-light">\n    <div class="media" style="padding: 5px;">\n      <img class="me-3 rounded-circle" src="https://dummyimage.com/64x64/595659/e3e4e8">\n      <div class="media-body">\n        <h5 class="mt-0">Hovedinstrukt\xf8r</h5>\n        <p [innerHTML]="comments.pending_review_hi | newlines | safe: \'html\'"></p>\n      </div>\n    </div>\n  </div>\n</div>\n\n<p></p>\n<div *ngIf="!!comments.pending_review_fs">\n  <div class="bg-light">\n    <div class="media" style="padding: 5px;">\n\n      <img class="me-3 rounded-circle" src="https://dummyimage.com/64x64/595659/e3e4e8">\n      <div class="media-body">\n        <h5 class="mt-0">Fagsjef</h5>\n        <p [innerHTML]="comments.pending_review_fs | newlines | safe: \'html\'"></p>\n      </div>\n    </div>\n  </div>\n</div>\n<p></p>\n<div *ngIf="!!comments.pending_review_su">\n  <div class="bg-light">\n    <div class="media" style="padding: 5px;">\n      <img class="me-3 rounded-circle" src="https://dummyimage.com/64x64/595659/e3e4e8">\n      <div class="media-body">\n        <h5 class="mt-0">SU</h5>\n        <p [innerHTML]="comments.pending_review_su | newlines | safe: \'html\'"></p>\n      </div>\n    </div>\n  </div>\n</div>\n\n--\x3e\n'},47171:de=>{"use strict";de.exports='<span *ngIf="!!ask" class="pt-2">\n\n  \x3c!-- Badges with letters --\x3e\n  <span *ngIf="!verbose">\n    \x3c!--!isNeutral(l.key) && --\x3e\n\n    <span *ngFor="let l of askValues">\n      <span class="ms-1" [ngClass]="{\'badge\':true,\n      \'bg-danger\': isNegative(l.key),\n      \'bg-secondary\': isNeutral(l.key),\n      \'bg-success\': isPositive(l.key)}">{{ l.nick }}</span>\n    </span>\n\n  </span>\n\n  \x3c!-- Fullblown --\x3e\n  <div *ngIf="!!verbose">\n    <h4>\n      <span *ngFor="let l of askValues">\n\n        <span class="ms-1" [ngClass]="{\'badge\':true,\n      \'bg-danger\': isNegative(l.key),\n      \'bg-secondary\': isNeutral(l.key),\n      \'bg-success\': isPositive(l.key)}">{{ l.label }}\n        </span>\n\n      </span>\n    </h4>\n    <ul class="list-unstyled">\n      <li>\n        <span *ngIf="isPositive(\'knowledge\')">\n          <strong class="text-success">Gode</strong> kunnskaper hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'knowledge\')">Kunnskapen til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'knowledge\')">\n          <strong class="text-danger">Mangelfulle</strong> kunnskaper hadde betydning</span>\n      </li>\n      <li>\n        <span *ngIf="isPositive(\'skills\')">\n          <strong class="text-success">Gode</strong> ferdigheter hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'skills\')">Ferdighetene til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'skills\')">\n          <strong class="text-danger">Mangelfulle</strong> ferdigheter hadde betydning</span>\n      </li>\n      <li>\n        <span *ngIf="isPositive(\'attitude\')">\n          <strong class="text-success">Gode</strong> holdninger hadde innvirkning</span>\n        <span *ngIf="isNeutral(\'attitude\')">Holdningene til de involverte hadde\n          <strong>ingen</strong> innvirkning</span>\n        <span *ngIf="isNegative(\'attitude\')">\n          <strong class="text-danger">D\xe5rlige</strong> holdninger hadde betydning</span>\n      </li>\n    </ul>\n  </div>\n</span>\n'},16035:de=>{"use strict";de.exports='<div class="card-header">\n  <fa-icon [icon]="faRandom"></fa-icon>Forl\xf8pet\n\n  <span *ngIf="components?.length > 0" class="float-end px-1 pointer"\n    (click)="componentCollapsed = !componentCollapsed">\n    <fa-icon *ngIf="componentCollapsed" [icon]="faPlusSquare" size="2"></fa-icon>\n    <fa-icon *ngIf="!componentCollapsed" [icon]="faMinusSquare" size="2"></fa-icon>\n  </span>\n</div>\n\n<div *ngIf="!!components" class="col-xs-12  col-md-12">\n\n\n  <div *ngIf="components.length == 0" class="text-danger">\n    <strong><i class="fa fa-fw fa-warning"></i>Intent forl\xf8p</strong>\n  </div>\n\n  <div class="clearfix"></div>\n\n  \x3c!--\n  <button *ngIf="components?.length > 0" type="button" class="btn btn-outline-primary btn-sm" (click)="componentCollapsed = !componentCollapsed"\n    [attr.aria-expanded]="!componentCollapsed" aria-controls="collapseid">Collapse</button>\n    <span *ngIf="components?.length > 0">\n\n    </span>\n  --\x3e\n\n\n  <ul class="timeline" *ngIf="components?.length > 0">\n\n    <ng-container *ngFor="let c of filter_empty(components); let i = index">\n      <li>\n\n        <div class="timeline-badge" [ngClass]="{\'bg-secondary\': !!c.flags.barrier,\n                                              \'bg-info\': !!c.flags.incident,\n                                              \'bg-warning\': !!c.flags.cause || !!c.flags.root_cause,\n                                              \'bg-danger\': !!c.flags.consequence || !!c.flags.final_consequence}">\n          {{ i+1 }}\n        </div>\n\n        <div class="timeline-panel">\n          <div class="timeline-heading">\n            <h4 class="timeline-title">\n              <small class="float-end">\n                <span *ngIf="!!c.attributes">\n                  <span *ngIf="!!c.attributes.injury || !!c.attributes.death">\n                    <fa-icon [icon]="faAmbulance"></fa-icon>\n                  </span>\n                  <span *ngIf="!!c.attributes.violation">\n                    <fa-icon [icon]="faGavel"></fa-icon>\n                  </span>\n                </span>\n\n                <span *ngIf="!!c.flags.barrier" class="badge bg-secondary ms-1">Barri\xe6re</span>\n                <span *ngIf="!!c.flags.incident" class="badge bg-info ms-1">Hendelse</span>\n                <span *ngIf="!!c.flags.cause" class="badge bg-warning ms-1">\xc5rsak</span>\n                <span *ngIf="!!c.flags.root_cause" class="badge bg-warning ms-1">Rot \xc5rsak</span>\n                <span *ngIf="!!c.flags.consequence" class="badge bg-danger ms-1">Konsekvens</span>\n                <span *ngIf="!!c.flags.final_consequence" class="badge bg-danger ms-1">Sluttkonsekvens</span>\n                \x3c!--<nlf-resolve-observation-ask  [activity]="activity" [ask]="c.ask"></nlf-resolve-observation-ask> NOT ANYMORE! --\x3e\n              </small>\n            </h4>\n            <h4 class="timeline-title">\n              {{ c.what }}\n              \x3c!-- @TODO remove tags --\x3e\n              \x3c!--<nlf-resolve-observation-tags [tags]="c.tags" link="true"></nlf-resolve-observation-tags>--\x3e\n\n            </h4>\n          </div>\n\n          <div class="timeline-body" *ngIf="componentCollapsed">\n            <span *ngIf="!!c.attributes">\n              <nlf-resolve-observation-component-attributes [activity]="activity" [attributes]="c.attributes"\n                badge="true"></nlf-resolve-observation-component-attributes>\n            </span>\n          </div>\n\n          <div class="timeline-body" id="collapseide" [ngbCollapse]="componentCollapsed">\n\n            <dl class="row">\n              <dt class="col-sm-3">Hvem:</dt>\n              <dd class="col-sm-9">\n                <span class="me-1" *ngFor="let p of c.involved">\n                  <nlf-resolve-lungo-person link="true" [person_id]="p.id" [tmp_name]="p.tmp_name">\n                  </nlf-resolve-lungo-person>\n                </span>\n              </dd>\n              <dt class="col-sm-3">Hva:</dt>\n              <dd class="col-sm-9">\n                {{ c.what }}\n                \x3c!--<tags tag="::c.what"></tags>--\x3e\n              </dd>\n              <dt class="col-sm-3">Hvor</dt>\n\n              <dd class="col-sm-9">\n                <span *ngIf="!!c.where">\n                  <span *ngIf="!!c.where.at">{{ c.where.at }}:</span>\n                  \x3c!--<tags tag="::c.where.at"></tags>--\x3e\n                  <span class="ms-2" *ngIf="!!c.where.altitude">{{ c.where.altitude }}fot</span>\n                </span>\n              </dd>\n\n              <dt class="col-sm-3">Hvordan:</dt>\n              <dd class="col-sm-9">\n                \x3c!--<tags tags="::c.tags"></tags>--\x3e\n                <br *ngIf="c.tags">\n                <small>\n                  <i>{{ c.how }}</i>\n                </small>\n\n              </dd>\n              <dt class="col-sm-3">Flagg:</dt>\n              <dd class="col-sm-9">\n                \x3c!--<span *ngFor="let att of c.attributes">--\x3e\n                <span *ngIf="!!c.attributes">\n                  <nlf-resolve-observation-component-attributes [activity]="activity" [attributes]="c.attributes"\n                    badge="true"></nlf-resolve-observation-component-attributes>\n                </span>\n                \x3c!--<flags attributes="c.attributes"></flags>--\x3e\n              </dd>\n            </dl>\n          </div>\n        </div>\n      </li>\n    </ng-container>\n  </ul>\n\n</div>\n'},96096:de=>{"use strict";de.exports='<span *ngIf="!!observation">\n  <span (click)="openModal(modalTemplate)" class="pointer badge mx-1" [ngClass]="{\'bg-success\':observation.e5x.status==\'sent\', \'bg-secondary\': !observation.e5x.status}">\n    <fa-icon [icon]="faFileAlt"></fa-icon> LT\n  </span>\n\n  \x3c!-- MODAL PREVIEW --\x3e\n  <ng-template #modalTemplate>\n\n    <div class="modal-header">\n      <h4 class="modal-title pull-left">\n        <fa-icon [icon]="faHistory"></fa-icon> Historikk for innsending av #{{ observation.id }} ({{ observation._model.type }}) til Luftfartstilsynet</h4>\n      <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n        <span aria-hidden="true">&times;</span>\n      </button>\n    </div>\n\n\n    <div class="modal-body">\n\n      <div class="row">\n        <div class="col-md-12">\n          <div *ngIf="observation.e5x.audit.length==0" class="alert alert-info">\n            <strong>Ingen historikk</strong> hvilket betyr at denne observasjonen ikke har blitt sendt Luftfartstilsynet.\n          </div>\n\n          <table *ngIf="observation.e5x.audit.length>0" class="my-3 table table-striped table-sm">\n            <tbody>\n              <tr *ngFor="let audit of observation.e5x.audit" [ngClass]="{\'bg-info\':observation._version==audit.version}">\n                <td>\n                  <nlf-ors-editor-tag-e5x-render classes="badge bg-secondary" [showLabel]="false" [items]="audit.status" path="E5X.Occurrence.ReportingHistory.ReportStatus"></nlf-ors-editor-tag-e5x-render>\n                </td>\n                <td>\n                  {{ audit.date | date:\'yyyy-MM-dd HH:mm\'}}\n                </td>\n                <td>\n                  <nlf-resolve-lungo-person [person_id]="audit.person_id"></nlf-resolve-lungo-person>\n                </td>\n                <td>\n                  v{{ audit.version }}\n                </td>\n                <td>\n                  <span *ngIf="audit.sent" class="badge bg-success">OK</span>\n                  <span *ngIf="!audit.sent" class="badge bg-info">Ikke sendt</span>\n                </td>\n              </tr>\n            </tbody>\n          </table>\n        </div>\n      </div>\n    </div>\n\n    <div class="modal-footer">\n      <button class="btn btn-outline-dark" (click)="closeModal()">Lukk</button>\n    </div>\n  </ng-template>\n  \x3c!-- /MODAL PREVIEW --\x3e\n</span>\n'},38800:de=>{"use strict";de.exports='\x3c!-- THUMBNAILS --\x3e\n\n<div class="row text-center text-lg-left">\n\n  <div *ngFor="let thumb of thumbnails; let idx = index" class="col-lg-2 col-md-3 col-xs-6 mb-2 mt-1">\n    <span (click)="openModal(modalImage, thumb, idx)" class="pointer text-center">\n      <img class="img-fluid img-thumbnail" [src]="domSanitizer.bypassSecurityTrustUrl(thumb.src)" alt="{{ thumb.filename }}">\n    </span>\n  </div>\n</div>\n\n\x3c!-- /THUMBNAILS --\x3e\n\n<div *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>Loading thumbnails...\n</div>\n\n\x3c!-- Modal --\x3e\n<ng-template #modalImage>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">{{ viewImageName }}</h4>\n\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body text-center">\n\n    <img *ngIf="!viewImageLoading" class="img-fluid" [src]="domSanitizer.bypassSecurityTrustUrl(viewimage.src)" alt="file">\n\n    <span *ngIf="!!viewImageLoading" class="text-center">\n      \x3c!--<nlf-ui-page-spinner></nlf-ui-page-spinner>--\x3e\n      <fa-icon class="text-center" [icon]="faSpinner" animation="pulse" size="5x"></fa-icon>\n    </span>\n\n  </div>\n  <div class="modal-footer">\n    <span *ngIf="thumbnails.length>1" class="me-auto">\n      <span (click)="getModalImage(viewImageData[\'idx\']-1)" class="pointer ms-1 me-2">\n        <fa-icon [icon]="faChevronLeft" class="mx-2"></fa-icon> Forrige\n      </span>\n      <span (click)="getModalImage(viewImageData[\'idx\']+1)" class="pointer me-1 ms-2">Neste <fa-icon [icon]="faChevronRight" class="mx-2"></fa-icon></span>\n    </span>\n\n    <a class="btn btn-secondary" (click)="modalRef.close()">Close</a>\n  </div>\n</ng-template>\n'},8033:de=>{"use strict";de.exports='<div *ngIf="dataReady">\n  <nlf-ors-report-files-thumbnails [filelist]="filelist" size="small"></nlf-ors-report-files-thumbnails>\n  <div class="table-responsive">\n    <table class="table table-sm table-striped table-hover">\n      <tbody>\n\n        <tr *ngFor="let f of filelist">\n\n          <td>\n            <span *ngIf="state!=\'closed\'">\n              <fa-icon *ngIf="!!f.r" class="text-danger" [icon]="faLock"></fa-icon>\n              <fa-icon *ngIf="!f.r" class="text-success" [icon]="faUnlock"></fa-icon>\n            </span>\n            \x3c!-- <a [routerLink]="[\'/file/download/\', f._id]">{{f.name}}</a> --\x3e\n            {{f.name}}\n          </td>\n          <td>{{ f.size | bytes : 2 }}</td>\n          <td>{{f.content_type}}&nbsp;</td>\n          <td>\n            <a target="_blank" href="{{ f.download }}" class="mx-1"><fa-icon class="pointer" [icon]="faDownload" title="Last ned"></fa-icon></a>\n            \x3c!--\n            <fa-icon *ngIf="f.size<=10000000" class="pointer" [icon]="faDownload" (click)="download(f._id)" title="Last ned"></fa-icon>\n            <a *ngIf="f.size>10000000" target="_blank" [routerLink]="[\'/api\', \'v1\', \'files\', f._id]"><fa-icon [icon]="faDownload" title="Last ned"></fa-icon></a>\n            --\x3e\n          </td>\n          <td>&nbsp;</td>\n\n        </tr>\n\n      </tbody>\n    </table>\n  </div>\n</div>\n<div *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</div>\n'},9895:de=>{"use strict";de.exports='<div id="main-report-map" leaflet *ngIf="!!mapOptions" class="map" [leafletOptions]="mapOptions"\n    (leafletMapReady)="onMapReady($event)" [(leafletCenter)]="mapCenter">\n</div>'},82959:de=>{"use strict";de.exports='<div *ngFor="let r of related">\n  <nlf-resolve-observation [id]=r></nlf-resolve-observation>\n</div>'},70951:de=>{"use strict";de.exports='<div *ngIf="!!weather" class="row px-2 pt-2">\n\n  <div class="col-xs-4 col-md-4">\n    <dl class="dl-horizontal">\n      <dt>\n        <i class="wi wi-fw wi-strong-wind"></i> Vind</dt>\n      <dd></dd>\n      <div *ngIf="!!weather.manual && !!weather.manual.wind">\n        <div *ngIf="!!weather.manual?.wind?.max">\n          <dt>Maks:</dt>\n          <dd>{{ weather.manual.wind.max }} knop</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.wind?.avg">\n          <dt>Snitt:</dt>\n          <dd>{{ weather.manual.wind.avg }} knop</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.wind?.min">\n          <dt>Min:</dt>\n          <dd>{{ weather.manual.wind.min }} knop</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.wind?.turbulence">\n          <dt>Turbulens:</dt>\n          <dd>{{ weather.manual.wind.tubulence ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.wind?.gusting">\n          <dt>Gusting:</dt>\n          <dd>{{ weather.manual.wind.gusting ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n      </div>\n    </dl>\n  </div>\n\n  <div class="col-xs-4  col-md-4">\n    <dl class="dl-horizontal">\n      <dt>\n        <i class="wi wi-fw wi-cloudy"></i> Skyer</dt>\n      <dd></dd>\n      <div *ngIf="!!weather.manual && !!weather.manual.clouds">\n        <div *ngIf="!!weather.manual?.clouds?.base">\n          <dt>Skybase:</dt>\n          <dd>{{ weather.manual.clouds.base }} fot</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.clouds?.rain">\n          <dt>Regn:</dt>\n          <dd>{{ weather.manual.clouds.rain ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.clouds?.fog">\n          <dt>T\xe5ke:</dt>\n          <dd>{{ weather.manual.clouds.fog ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.clouds?.hail">\n          <dt>Hagl:</dt>\n          <dd>{{ weather.manual.clouds.hail ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.clouds?.snow">\n          <dt>Sn\xf8:</dt>\n          <dd>{{ weather.manual.clouds.snow ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.clouds?.thunder">\n          <dt>Torden:</dt>\n          <dd>{{ weather.manual.clouds.thunder ? \'JA\' : \'NEI\' }}</dd>\n        </div>\n      </div>\n    </dl>\n  </div>\n\n  <div class="col-xs-4  col-md-4">\n    <dl class="dl-horizontal">\n      <dt>\n        <i class="wi wi-fw wi-thermometer-exterior"></i> Temperatur</dt>\n      <dd></dd>\n      <div *ngIf="!!weather.manual && !!weather.manual?.temp">\n        <div *ngIf="!!weather.manual?.temp?.ground">\n          <dt>Bakken:</dt>\n          <dd>{{ weather.manual.temp.ground }}&deg;C</dd>\n        </div>\n        <div *ngIf="!!weather.manual?.temp?.altitude">\n          <dt>H\xf8yden:</dt>\n          <dd>{{ weather.manual.temp.altitude }}&deg;C</dd>\n        </div>\n      </div>\n\n    </dl>\n  </div>\n\n  <div class="col-xs-12  col-md-12">\n    <div *ngIf="!!weather.manual?.description">\n      <strong>\n        <fa-icon [icon]="faCommenting" class="me-2"></fa-icon>{{ weather.manual.description }}\n      </strong>\n    </div>\n    <div class="clearfix"></div>\n  </div>\n\n  \x3c!-- AUTO FROM HERE --\x3e\n\n  <div class="col-md-8 col-xs-12 p-3">\n    <p class="lead">Auto</p>\n    <div class="p-3" *ngIf="!!weather.auto?.metar_nearest?.parsed" [innerHTML]="weather.auto.metar_nearest.parsed | newlines"></div>\n  </div>\n\n  <div class="col-md-4 col-xs-12 p-3 align-text-bottom">\n    <div class="d-grid gap-2">\n      <button (click)="openModal(autoModal, \'metar\')" [ngClass]="!!weather.auto?.metar ? \'btn-success\': \'btn-secondary\'" class="btn my-2">METAR</button>\n    </div>\n    <div class="d-grid gap-2">\n      <button (click)="openModal(autoModal, \'taf\')" [ngClass]="!!weather.auto?.taf ? \'btn-success\': \'btn-secondary\'" class="btn my-2">TAF</button>\n    </div>\n    \x3c!--\n      <div class="d-grid gap-2">\n        <button (click)="openModal(autoModal, \'yr\')" [ngClass]="!!weather.auto.yr ? \'btn-success\': \'btn-secondary\'" class="btn my-1">YR</button>\n      </div>\n    --\x3e\n  </div>\n\n</div>\n\n<ng-template #autoModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ modal.title | upperfirst }}\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="col-xs-12 overflow-auto">\n      <div *ngFor="let row of modal.data">\n        {{ row }}\n      </div>\n    </div>\n  </div>\n\n  <div class="modal-footer">\n    <button (click)="modalRef.dismiss()" class="btn btn-outline-dark">Ferdig</button>\n  </div>\n</ng-template>\n'},34245:de=>{"use strict";de.exports='<div *ngIf="!!workflowActions" class="streamline b-l m-b mt-3">\n\n  <div *ngFor="let w of workflow.audit">\n\n    <div class="sl-item b-l" [ngClass]="workflowColors[w.a]">\n      <div class="m-l">\n        <div class="text-muted">{{ w.t | date:\'yyyy-MM-dd HH:mm\'}} {{ workflowActions[w.a][\'title\'] || \'\' }}\n          \x3c!--Make a pill? rounded-pill bg-secondary --\x3e\n          <a class="" *ngIf="w.v > 1 && vlink" [routerLink]="[\'/ors\', activity, \'report\', _id, \'version\', w.v]">v{{ w.v }}</a>\n          <span class="text-muted" *ngIf="w.v < 2 || !vlink">v{{ w.v }}</span>\n        </div>\n        \x3c!-- Link to version! --\x3e\n        <p>\n          <span class="text-info">\n            <nlf-resolve-lungo-person link="true" [person_id]="w.u"></nlf-resolve-lungo-person>\n          </span>\n          <span *ngIf="w.c!=null && w.c!=\'Initialized workflow\'">\n            <i class="workflow-comment">: {{w.c}}</i>\n          </span>\n        </p>\n      </div>\n    </div>\n  </div>\n</div>\n'},69170:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n    <div class="container">\n\n        <span class="breadcrumb">\n            <li class="breadcrumb-item">\n                <a [routerLink]="[\'/ors\', activity]">OBSREG<span class="hidden-sm-down"> {{ activity }}</span></a>\n                \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n            </li>\n            <li class="breadcrumb-item">\n\n                <a>S\xf8k</a>\n                \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n            </li>\n            <li class="breadcrumb-item active">\n                {{ loadedApiSearchItem?.title || text || \'\' }}\n            </li>\n\n        </span>\n\n\n\n        <button *ngIf="!!query&&!loadedApiSearchItem" class="btn btn-primary btn-sm float-end mx-1"\n            (click)="openModal(saveTemplate)">\n            <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n        </button>\n        <button *ngIf="!!query&&!!loadedApiSearchItem" class="btn btn-secondary btn-sm float-end mx-1" (click)="save()">\n            <fa-icon [icon]="faSave"></fa-icon> Lagre endringer\n        </button>\n        <button *ngIf="!!query" class="btn btn-link btn-sm float-end mx-1"\n            (click)="getSearches();openModal(loadFilterTemplate)">\n            <fa-icon [icon]="faFolderOpen"></fa-icon> \xc5pne s\xf8k\n        </button>\n\n        <nlf-help class="float-end mx-1" key="ors-search-fallskjerm"></nlf-help>\n\n        <span *ngIf="!!result&&result._meta.total>0" class="float-end mx-1">\n            {{ result._meta.total }} resultater\n        </span>\n\n    </div>\n</header>\n\n<div class="container">\n    <ng-container *ngIf="!!activity">\n        <div class="row mt-3">\n\n            \x3c!-- FILTER --\x3e\n            <div class="col-md-3 bg-light p-2">\n                <label class="lead">\n                    <fa-icon [icon]="faFilter"></fa-icon> Filter\n                </label>\n                <div class="row">\n                    <div class="d-grid gap-2">\n                        \x3c!--<label>Fritekst:</label>--\x3e\n                        <input placeholder="Fritekst" class="form-control" type="text"\n                            (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n                    </div>\n                </div>\n\n                <div class="row">\n                </div>\n\n                \x3c!-- FILTER SECTIONS --\x3e\n                <div class="row mt-3">\n                    <div class="d-grid gap-2 mt-1">\n                        <div class="form-check form-switch">\n                            <input (change)="useOr($event)" class="form-check-input" type="checkbox" role="switch"\n                                id="flexSwitchCheckChecked">\n                            <label class="form-check-label" for="flexSwitchCheckChecked">Bruk eller (or)</label>\n                        </div>\n                    </div>\n\n                    <div *ngIf="!!filterSections">\n\n                        <ng-container *ngFor="let section of filterSections">\n                            \x3c!--*ngIf="filterRules.hasOwnProperty()"openFilterModal --\x3e\n                            <div *ngIf="!!section&&getNumFilters(section[\'section\'])==0" class="d-grid gap-2 mt-1">\n                                <button (click)="openFilterModal(filterTemplate, section[\'section\'])"\n                                    class="btn btn-secondary"><fa-icon [icon]="faPlus"></fa-icon> {{ section[\'label\']\n                                    }}</button>\n                            </div>\n                            <div *ngIf="!!section&&getNumFilters(section[\'section\'])>0" class="d-grid gap-2 mt-1">\n                                <button (click)="openFilterModal(filterTemplate, section[\'section\'])"\n                                    class="btn btn-primary"><fa-icon [icon]="faEdit"></fa-icon> {{ section[\'label\'] }}\n                                    <span class="badge text-bg-secondary float-end">{{ getNumFilters(section[\'section\'])\n                                        }}&nbsp;{{ filterRules.sections[section[\'section\']][\'condition\'] }} </span>\n                                </button>\n                            </div>\n\n                        </ng-container>\n                    </div>\n\n\n                    <div class="d-grid gap-2 mt-3">\n                        <button (click)="reset()" class="btn btn-secondary"><fa-icon [icon]="faRemove"></fa-icon> Reset\n                            filter</button>\n                    </div>\n                </div>\n\n                \x3c!--\n                <div *ngIf="dataReady && !!result._items" class="mt-3">\n                    <div class="d-grid gap-2">\n                        <button (click)="exportTojson()" class="btn btn-secondary"><fa-icon\n                                [icon]="faDownload"></fa-icon> Last ned</button>\n                    </div>\n                </div>\n                --\x3e\n\n                \x3c!-- Split btn --\x3e\n                <div class="dropdown show d-grid gap-2 mt-3"\n                    *ngIf="dataReady && !!result._items && result?._meta?.total > 0">\n\n                    <div ngbDropdown class="d-inline-block">\n                        <button type="button" class="btn btn-outline-primary" id="dropdownBasic1" ngbDropdownToggle>\n                            <fa-icon [icon]="faDownload"></fa-icon> Last ned resultater\n                        </button>\n                        <div ngbDropdownMenu aria-labelledby="dropdownBasic1">\n                            <button (click)="export(\'json\')" ngbDropdownItem>R\xe5data (JSON)</button>\n                            \x3c!--<button ngbDropdownItem>Formatert data (JSON)</button>--\x3e\n                            <button (click)="export(\'csv\')" ngbDropdownItem>Formatert data (CSV)</button>\n                        </div>\n                    </div>\n\n                </div>\n                \x3c!-- //Split btn --\x3e\n\n            </div>\n            \x3c!-- SEARCH RESULTS --\x3e\n            <div class="col-md-9">\n                <div class="lead">\n                    <span *ngIf="dataReady && !!result && result._meta.total > 0 !searching">\n                        Fant {{ result._meta.total }} resultater<span\n                            *ngIf="pagination.offset>0&&result._meta.total>pagination.limit">, side\n                            {{pagination.offset}}</span>\n                    </span>\n\n                    <span *ngIf="dataReady && (!result || result._meta.total == 0) && !searching">\n                        Fant ingen resultater\n                    </span>\n\n                    <span *ngIf="searching">\n                        S\xf8ker...\n                    </span>\n\n                    <span class="float-end p-1">\n                        <select name="sort" *ngIf="dataReady" class="form-control form-control-sm" id="sort"\n                            [(ngModel)]="sort" (change)="debouncedUpdate()">\n                            <option *ngFor="let item of sortAlternatives | keyvalue" [ngValue]="item.value"\n                                [selected]="isSort(item.value)" [innerHTML]="item.key | safe: \'html\'">\n                                \x3c!-- - {{ item.value | json}} {{ sort | json }}--\x3e\n                            </option>\n                        </select>\n                    </span>\n                </div>\n                <div>\n\n                    \x3c!--\n                        <query-builder [(ngModel)]="_query" [config]="config" (ngModelChange)="onChange($event)"\n                        [allowRuleset]="false"></query-builder>\n                    \n                    <pre class="list-group-item-text">filter rules: {{ filterRules | json }}</pre>\n\n                    <pre class="list-group-item-text">query: {{query | json }}</pre>\n                    --\x3e\n                    \x3c!-- Result table --\x3e\n                    <ngx-table class="table table-flush" [id]="\'ors-search-table\'" [configuration]="tableConf"\n                        [data]="result?._items" [columns]="columns" [(pagination)]="pagination"\n                        [filtersTemplate]="filterTableConfig" (event)="parseEvent($event)">\n\n                        \x3c!-- ROWS --\x3e\n                        <ng-template let-i="index" let-row>\n                            \x3c!-- Preview index!! --\x3e\n                            <td class="pointer" (click)="openPreviewModal(previewTemplate, i)">\n                                #{{ row.id }} - <nlf-resolve-observation-types [activity]="row._model.type"\n                                    [type]="row.type" badge="true"></nlf-resolve-observation-types>\n                                <span *ngIf="!!row.rating"\n                                    class="mx-1 badge bg-{{row.rating | nlfOrsRatingCalc | nlfDynamicColor}}">\n                                    {{ row.rating | nlfOrsRatingCalc }}</span> {{ row.tags | nlfOrsTags }}\n\n                                <span *ngIf="!!row?.components&&row.components.length>2">(<small>{{\n                                        row.components[0][\'what\'] }}&rarr;{{\n                                        getIncident(row.components)[\'what\'] }}&rarr;{{\n                                        row.components[row.components.length-1][\'what\'] }})</small></span>\n                                <span class="float-end">\n                                    <nlf-ors-report-ask [ask]="row.ask" [verbose]="false"></nlf-ors-report-ask>\n                                </span>\n\n                                <span class="float-end mx-1">\n                                    <nlf-resolve-observation-state [activity]="row._model.type || \'fallskjerm\'"\n                                        [state]="row.workflow.state" icon="true"></nlf-resolve-observation-state>\n                                </span>\n                            </td>\n\n                        </ng-template>\n                    </ngx-table>\n                </div>\n\n            </div>\n\n        </div>\n    </ng-container>\n</div>\n\n\x3c!-- SAVE --\x3e\n<ng-template #saveTemplate>\n\n    <div class="modal-header">\n        <h4 class="modal-title pull-left">\n            Lagre s\xf8ket\n        </h4>\n        <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n    </div>\n\n    <div class="modal-body">\n        <div class="form-group">\n            <label>Navn p\xe5 s\xf8ket:</label>\n            <input class="form-control" type="text" [(ngModel)]="newFilter.title" [disabled]="false">\n        </div>\n\n        <div></div>\n\n        <div class="form-group my-3">\n            <div class="form-check">\n                <input [disabled]="false" class="form-check-input" type="checkbox" [(ngModel)]="newFilter.notifications"\n                    id="defaultCheck1">\n                <label class="form-check-label" for="defaultCheck1">\n                    Varsle meg ved nye resultater\n                </label>\n            </div>\n        </div>\n        <div class="form-group">\n            \n            <label>S\xf8ket ga {{ result?._meta.total || \'ukjent\' }} resultater</label>\n        </div>\n        <hr class="my-1"/>\n        <div class="form-group mt-3">\n            <label>S\xf8ketekst:</label>\n            <input class="form-control" type="text" [value]="text||\'\'" [disabled]="true">\n        </div>\n\n        <div class="form-group">\n            <label>S\xf8kefilter:</label>\n            \n            <textarea [disabled]="true" class="form-control" [value]="cleanFilterSectionRules(filterRules) | json"\n                rows="3"></textarea>\n            \n        </div>\n\n        <div class="form-group">\n            <label>Query som ble sendt:</label>\n            <textarea [disabled]="true" class="form-control" [value]="query | json" rows="3"></textarea>\n        </div>\n        \x3c!--{{ loadedApiSearchItem | json }}--\x3e\n\n    </div>\n\n    <div class="modal-footer">\n        <button class="btn btn-outline-dark float-left" (click)="modalRef.close()">Avbryt</button>\n        <button *ngIf="!loadedApiSearchItem" class="btn btn-primary" (click)="create()">Lagre nytt s\xf8k</button>\n        <button *ngIf="!!loadedApiSearchItem" class="btn btn-primary" (click)="save()">Lagre endringer</button>\n    </div>\n</ng-template>\n\x3c!-- /SAVE --\x3e\n\n\x3c!-- PREVIEW --\x3e\n<ng-template #previewTemplate>\n\n    <div class="modal-header">\n        <h4 class="modal-title pull-left">\n            #{{ result._items[previewModalIndex].id }} {{ result._items[previewModalIndex].tags | nlfOrsTags }}\n            <span *ngIf="!!result._items[previewModalIndex].rating"\n                class="float-end badge bg-{{result._items[previewModalIndex].rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n                result._items[previewModalIndex].rating | nlfOrsRatingCalc }}</span>\n        </h4>\n        <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n    </div>\n\n    <div class="modal-body">\n        <nlf-ors-fallskjerm-report-summary\n            [observation]="result._items[previewModalIndex]"></nlf-ors-fallskjerm-report-summary>\n\n        <nlf-ors-fallskjerm-report-involved *ngIf="result._items[previewModalIndex]?.involved"\n            [model]="result._items[previewModalIndex]._model"\n            [involved]="result._items[previewModalIndex].involved"></nlf-ors-fallskjerm-report-involved>\n\n        <nlf-ors-report-actions *ngIf="!!result?._items[previewModalIndex]?.actions"\n            [actions]="result._items[previewModalIndex].actions"></nlf-ors-report-actions>\n\n        <nlf-report-components-timeline *ngIf="!!result._items[previewModalIndex]?.components"\n            [activity]="result._items[previewModalIndex]._model.type"\n            [components]="result._items[previewModalIndex].components"\n            [componentCollapsed]="true"></nlf-report-components-timeline>\n\n        <nlf-ors-report-ask *ngIf="!!result._items[previewModalIndex]?.ask" [ask]="result._items[previewModalIndex].ask"\n            [verbose]="true"></nlf-ors-report-ask>\n        <nlf-ors-report-ask-text *ngIf="!!result._items[previewModalIndex]?.ask?.text"\n            [comments]="result._items[previewModalIndex].ask.text"\n            [audit]="result._items[previewModalIndex].workflow.audit"\n            [activity]="result._items[previewModalIndex]._model.type"></nlf-ors-report-ask-text>\n        \x3c!-- Search result browse --\x3e\n        <div class="row">\n            <div class="col-md-6">\n                <button *ngIf="previewModalIndex==0&&pagination.offset>1" (click)="nextPage(pagination.offset-1)"\n                    class="float-start btn btn-outline-dark">\n                    &lt;&lt; Previous page</button>\n                <button *ngIf="previewModalIndex>0" (click)="previewModalIndex=previewModalIndex-1"\n                    class="float-start btn btn-outline-dark">\n                    &lt; Previous</button>\n            </div>\n            <div class="col-md-6">\n                <button *ngIf="previewModalIndex<pagination.limit-1" (click)="previewModalIndex=previewModalIndex+1"\n                    class="float-end btn btn-outline-dark">Next &gt;</button>\n                <button\n                    *ngIf="previewModalIndex==pagination.limit-1&&pagination.count/pagination.limit<pagination.offset"\n                    (click)="nextPage(pagination.offset+1)" class="float-end btn btn-outline-dark">Next page\n                    &gt;&gt;</button>\n            </div>\n        </div>\n    </div>\n\n    <div class="modal-footer">\n\n        \x3c!-- Lenke til observasjonen --\x3e\n        <a class="btn btn-secondary" *ngIf="result._items[previewModalIndex].workflow.state!==\'closed\'"\n            [routerLink]="[\'/ors\', result._items[previewModalIndex]._model.type, \'edit\', result._items[previewModalIndex].id]">\xc5pne\n            observasjonen</a>\n\n        <a class="btn btn-secondary" *ngIf="result._items[previewModalIndex].workflow.state===\'closed\'"\n            [routerLink]="[\'/ors\', result._items[previewModalIndex]._model.type, \'report\', result._items[previewModalIndex].id]">\xc5pne\n            observasjonen</a>\n\n        <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    </div>\n</ng-template>\n\x3c!-- /PREVIEW --\x3e\n\n\x3c!-- FILTER --\x3e\n<ng-template #filterTemplate>\n\n    <div class="modal-header">\n        <h4 class="modal-title pull-left">\n            Filter for {{ getFilterSectionLabel(modalFilterSection) }}\n        </h4>\n        <span class="lead close float-end">\n            <div *ngIf="dataReady && !!result && result._meta.total > 0 !searching">\n                Fant {{ result._meta.total }} resultater\n            </div>\n\n            <div *ngIf="searching">\n                S\xf8ker...\n            </div>\n        </span>\n\n        <button type="button" class="close float-end" aria-label="Close" (click)="closeFilterModal()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n\n    </div>\n\n    <div class="modal-body">\n\n        <nlf-ui-component-spinner *ngIf="!modalFilterConfig&&!modalFilterRules"></nlf-ui-component-spinner>\n\n        <div *ngIf="!!modalFilterConfig&&!!modalFilterRules">\n            <query-builder [(ngModel)]="modalFilterRules" [config]="modalFilterConfig"\n                (ngModelChange)="onModalFilterChange($event)" [allowRuleset]="false">\n\n                <ng-container *queryInput="let rule; type: \'date\'">\n                    <span class="input-group">\n                        <input type="text" class="form-control" placeholder="yyyy-mm-dd" [(ngModel)]="rule.value"\n                            ngbDatepicker #d="ngbDatepicker">\n                        <button class="btn btn-outline-secondary bi bi-calendar3" (click)="d.toggle()"\n                            type="button"><fa-icon [icon]="faCalendar"></fa-icon></button>\n\n                        \x3c!--<nlf-datepicker [(date)]="rule.value"></nlf-datepicker>--\x3e\n                    </span>\n                </ng-container>\n            </query-builder>\n\n        </div>\n        \x3c!--<button class="btn btn-success" (click)="debouncedUpdate();">S\xf8k</button>--\x3e\n        \x3c!--\n        <pre *ngIf="modalFilterRules" class="list-group-item-text">modalFilterRules: {{ modalFilterRules | json }}</pre>\n\n        <pre *ngIf="!!modalFilterConfig" class="list-group-item-text">query: {{ modalFilterConfig | json }}</pre>\n        --\x3e\n    </div>\n\n    <div class="modal-footer">\n        <button class="btn btn-outline-dark" (click)="closeFilterModal()">Ferdig</button>\n    </div>\n</ng-template>\n\x3c!-- /FILTER --\x3e\n\n\x3c!-- BROWSE --\x3e\n<ng-template #loadFilterTemplate>\n\n    <div class="modal-header">\n        <h4 class="modal-title pull-left">\n            \xc5pne lagrede s\xf8k\n        </h4>\n        <span class="lead close float-end">\n            <div *ngIf="!!loadedApiSearchList">\n                Fant {{ loadedApiSearchList._meta.total }} lagrede s\xf8k\n            </div>\n        </span>\n\n        <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.close()">\n            <span aria-hidden="true">&times;</span>\n        </button>\n\n    </div>\n\n    <div class="modal-body">\n\n        <nlf-ui-component-spinner *ngIf="!loadedApiSearchList"></nlf-ui-component-spinner>\n        <ng-container *ngIf="!!loadedApiSearchList">\n            <div class="my-1 row" *ngFor="let search of loadedApiSearchList._items">\n                <span>\n                    <strong>{{search[\'title\'] }}</strong> ({{ search[\'meta\'][\'results\'][\'num\'] }} resultater) {{\n                    search._updated |\n                    amTimeAgo }} <nlf-resolve-lungo-person [avatar]="true" [link]="false"\n                        [person_id]="search[\'owner\']"></nlf-resolve-lungo-person>\n\n                    <button [title]="search[\'title\']" class="btn btn-primary btn-sm float-end mx-1" (click)="text=search.text;pagination.offset=search.options.page;pagination.limit=search.options.max_results;sort=search.options.sort;filterRules=search[\'rules\'];loadSavedSearch(search);modalRef.close();update();">\n                        <fa-icon [icon]="faSearch"></fa-icon>\n                        Bruk</button>\n                    <button [title]="search[\'title\']" class="btn btn-link text-danger btn-sm float-end mx-1" (click)="delete(search[\'_id\'], search[\'title\'], search[\'_etag\'])">\n                        <fa-icon [icon]="faRemove"></fa-icon>\n                        Slett</button>\n                </span>\n            </div>\n        </ng-container>\n\n    </div>\n\n    <div class="modal-footer">\n        <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n    </div>\n</ng-template>'},34659:de=>{"use strict";de.exports='<div *ngIf="dataReady && !canCreate()" class="alert alert-primary" role="alert">\n  Seilfly er nede for vedlikehold\n</div>\n\n\x3c!-- QUICKSELECT DEFAULT DISCIPLINE --\x3e\n<div *ngIf="dataReady && canCreate() && defaultBtn && userData.settings.default_activity==111" class="d-grid gap-2">\n  <button *ngIf="!!userData.settings && canCreate() && !loading"\n    (click)="createObservation(userData.settings.default_discipline, userData.settings.default_club, userData.settings.default_activity)"\n    class="btn btn-success btn-lg my-1">\n    <fa-icon [icon]="faPlus"></fa-icon>\n    <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline" show_activity="false">\n    </nlf-resolve-lungo-organization>\n  </button>\n</div>\n\n\x3c!-- NORMAL SELECT DROPDOWN --\x3e\n<span *ngIf="dataReady && !defaultBtn && canCreate()">\n\n  <span *ngIf="!loading">\n\n    <div class="row">\n      <div class="col">\n        <select class="form-control form-control-lg" id="seilflyklubb" [(ngModel)]="selected">\n          <option *ngFor="let club of clubs" [ngValue]="club.id">\n            {{ club.name }}\n          </option>\n        </select>\n      </div>\n      <div class="col">\n        <div class="d-grid gap-2">\n          <button [disabled]="!selected" (click)="createObservation()" class="btn btn-success btn-lg">\n            <fa-icon [icon]="faPlus"></fa-icon> Opprett ny OBSREG\n          </button>\n        </div>\n      </div>\n    </div>\n  </span>\n\n</span>\n\n<span *ngIf="loading">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  <p class="lead">Oppretter OBSREG...</p>\n</span>\n\n\n<ngb-alert *ngIf="!!error" type="danger" [dismissible]="true">\n  <fa-icon [icon]="faExclamationTriangle"></fa-icon>\n  Kunne ikke opprette OBSREG\n</ngb-alert>\n\n\x3c!-- End page --\x3e\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>\n'},81899:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error">\n\n  \x3c!-- STICKY TOP BAR --\x3e\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', \'seilfly\']">OBSREG</a>#{{ observation.id }}\n        <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type" link="true"\n          seperator="/"></nlf-resolve-observation-tags>&nbsp;\n        <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          *ngIf="!!observation.rating" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n          observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n        \x3c!-- SAVE --\x3e\n        <span *ngIf="!!observation">\n          <span (click)="saveIfChanges()" *ngIf="!!changes && observation.acl_user.w"\n            class="pointer badge bg-warning mx-1">\n            <fa-icon [icon]="faSave"></fa-icon>\n          </span>\n        </span>\n\n        \x3c!-- HELP --\x3e\n        <a class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()">\n          <fa-icon [icon]="faQuestion"></fa-icon>\n        </a>\n\n        \x3c!-- FLAGS --\x3e\n        <span *ngIf="hasFlag()" class="text-danger mx-1">\n          <fa-icon [icon]="faFlag"></fa-icon>\n        </span>\n\n        \x3c!-- ABOUT --\x3e\n        <a (click)="openAbout()" class="badge bg-secondary text-white pointer mx-1">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger"\n            title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated | amTimeAgo }}\n        </a>\n\n        \x3c!-- VERSION --\x3e\n        <a class="badge bg-success mx-1 pointer" (click)="openDiff(diffModal)">v{{ observation._version }}</a>\n\n        \x3c!-- WORKFLOW --\x3e\n        <a class="pointer mx-1" *ngIf="observation.acl_user.x" (click)="openWorkflow()">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n        </a>\n        <a class="mx-1" *ngIf="!observation.acl_user.x">\n          <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n            [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n        </a>\n\n        \x3c!-- E5X on change get data again!--\x3e\n        <nlf-ors-e5x (click)="saveIfChanges()" (change)="getData()"></nlf-ors-e5x>\n\n        \x3c!-- ACTIVITY\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1" [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>--\x3e\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1 pointer"\n          title="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger"\n          (click)="openActivities(activityModal)">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n\n        \x3c!-- ACCESS --\x3e\n        <nlf-ors-editor-users *ngIf="observation.acl_user.x" [model]="observation._model.type" [_id]="observation._id"\n          [observation]="observation"></nlf-ors-editor-users>\n\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" class="badge bg-primary text-white mx-1">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n  \x3c!-- CONTAINER --\x3e\n  <div class="container">\n\n    \x3c!-- TITLE/TAGS--\x3e\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n\n        \x3c!-- WELCOME FIRST TIME --\x3e\n        <nlf-ors-editor-first *ngIf="observation.acl_user.w"></nlf-ors-editor-first>\n\n        <nlf-ors-editor-testclub-alert></nlf-ors-editor-testclub-alert>\n\n        \x3c!-- TITLE --\x3e\n        <div class="nlf-ors-toolbar">\n          Tittel <nlf-help class="float-end" key="ors-editor-seilfly-title"></nlf-help>\n        </div>\n      </div>\n\n      <div class="col-sm-12 col-md-12 my-3 lead">\n\n        <nlf-ors-editor-tag [disabled]="!observation.acl_user.w" limit="15" preload="true" details="true"\n          group="observation" [activity]="observation._model.type" [(initialTags)]="observation.tags"\n          (change)="update($event)"></nlf-ors-editor-tag>\n        \x3c!--<nlf-ors-editor-title></nlf-ors-editor-title>--\x3e\n        <div *ngIf="!!devDebug">\n          <code>{{ observation.tags | json}} </code>\n        </div>\n\n      </div>\n    </div>\n\n\n    \x3c!-- FILES mobnile only --\x3e\n    <div class="row my-3 d-block d-sm-none">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!--\n    <div>\n\n        @Input() items: any; //numbernumber[] = [];\n  @Output() itemsChange: EventEmitter<any> = new EventEmitter();\n\n  @Input() path: string; //Occurrence.DewPoint\n\n  @Input() classes: string = \'\';\n  @Input() disable: boolean = false;\n  @Input() element_id: string = \'\';\n\n  OccurrenceCategory multiple\n\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DetectionPhase" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DetectionPhase"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.DetectionPhase | json }}\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.ReportingHistory.ReportingEntity" [(items)]="observation.aircrafts[0].flight[0].incident.classification.ReportingEntity"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.ReportingEntity | json}}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DewPoint" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DewPoint"></nlf-ors-editor-tag-e5x>\n       Decimal {{ observation.aircrafts[0].flight[0].incident.classification.DewPoint | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.OccurrenceCategory" [(items)]="observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory"></nlf-ors-editor-tag-e5x>\n       Multiple {{ observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.Aircraft.PartsDamaged" [(items)]="observation.aircrafts[0].flight[0].incident.classification.PartsDamaged"></nlf-ors-editor-tag-e5x>\n       String {{ observation.aircrafts[0].flight[0].incident.classification.PartsDamaged | json }}\n\n      </div>\n    --\x3e\n\n    \x3c!--Type, When & Flags--\x3e\n    <div class="row my-3">\n      \x3c!-- WHEN --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Tidspunkt [UTC] <nlf-help class="float-end" key="ors-editor-when"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-when tz="utc"></nlf-ors-editor-when>\n            <div *ngIf="!!devDebug">{{ observation.when }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- TYPE --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Type <nlf-help class="float-end" key="ors-editor-seilfly-type"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-type [title]="true"></nlf-ors-editor-type>\n            <div *ngIf="!!devDebug">{{ observation.type }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- FLAGS--\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Flagg <nlf-help class="float-end" key="ors-editor-seilfly-flags"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-flags></nlf-ors-editor-flags>\n            <div *ngIf="!!devDebug">{{ observation.flags | json }}</div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <nlf-ors-editor-alert></nlf-ors-editor-alert>\n\n    \x3c!-- LOCATION: Removed  --\x3e\n\n    \x3c!-- NARRATIVE --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Hva skjedde? <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-3">\n        <ng-container *ngIf="observation._model.version>2">\n          <nlf-ors-editor-e5x-reportinghistory-reporters-description\n            *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes"\n            [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription"\n            customLabel="Spr\xe5k benyttet"\n            [(language)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSLanguage">\n          </nlf-ors-editor-e5x-reportinghistory-reporters-description>\n        </ng-container>\n        <ng-container *ngIf="observation._model.version<3">\n          <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n        </ng-container>\n      </div>\n    </div>\n\n    \x3c!-- FILES ALT 1 --\x3e\n\n    \x3c!-- FILES MD only --\x3e\n    <div class="row my-3 d-none d-sm-block">\n      <div class="nlf-ors-toolbar">\n        Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!-- FILES ALT 2 --\x3e\n    \x3c!--\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n        <div class="card">\n          <div class="card-header">\n            <h5>Vedlegg ({{ observation.files.length }})\n              <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body table-responsive">\n            <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n            <div *ngIf="!!devDebug">\n              {{ observation.files | json }}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  --\x3e\n\n    <ng-container>\n      \x3c!-- AIRCRAFTS / FLIGHT / INCIDENTS--\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Fart\xf8y\n          <nlf-help class="float-end" key="ors-e5x-aircrafts"></nlf-help>\n          \x3c!-- @TODO show modal w/ac information/summary <button class="float-end btn btn-link">preview</button> --\x3e\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-xs-12 col-md-12 mt-3">\n          <nlf-ors-editor-e5x-aircraft [showSimpleView]="showSimpleView()"></nlf-ors-editor-e5x-aircraft>\n        </div>\n      </div>\n      \x3c!-- OCCURRENCE TEST --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Occurrence\n      <nlf-help class="float-end" key="ors-editor-e5x-occurrence"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12">\n      <nlf-ors-editor-e5x-occurrence [disabled]="!observation.acl_user.w" [modal]="false"></nlf-ors-editor-e5x-occurrence>\n    </div>\n    --\x3e\n      <nlf-ors-editor-e5x-occurrence [showSimpleView]="showSimpleView()" [disabled]="!observation.acl_user.w"\n        [modal]="false"></nlf-ors-editor-e5x-occurrence>\n      \x3c!-- CLASSIFICATION --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Klassifisering\n      <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12 bg-danger">\n      <nlf-ors-editor-e5x-classification [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes" [modal]="false"></nlf-ors-editor-e5x-classification>\n    </div>\n  --\x3e\n      \x3c!-- E5X ATTRIBUTES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante attributter\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-where [disabled]="!observation.acl_user.w" [modal]="true" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-where>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-weather [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-weather>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-injuries [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-injuries>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-damage [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-damage>\n    </div>\n    --\x3e\n\n      \x3c!-- E5X OCCURRENCE ENTITIES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante enheter\n    </div>\n    <nlf-ors-editor-e5x-entities></nlf-ors-editor-e5x-entities>\n    --\x3e\n\n      \x3c!-- RISK ASSESMENT I REPORTING HISTORY\n    <nlf-ors-editor-e5x-assessment (change)="update()" [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-assessment>\n    --\x3e\n\n      \x3c!-- REPORTING HISTORY --\x3e\n      <nlf-ors-editor-e5x-reportinghistory [disabled]="!observation.acl_user.w" (change)="update()"\n        [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-reportinghistory>\n      \x3c!-- RISK ASSESSMENT --\x3e\n      <nlf-ors-editor-e5x-risk *ngIf="!showSimpleView()" [disabled]="!observation.acl_user.w" (change)="update()"\n        [(occurrence)]="observation.occurrence"></nlf-ors-editor-e5x-risk>\n      \x3c!-- NARRATIVE Moved top\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Narrative <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 bg-light">\n        <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()" [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n      </div>\n    </div>\n  --\x3e\n      \x3c!-- ORGANIZATION: Removed --\x3e\n\n\n      \x3c!-- INVOLVERTE\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Andre Involverte <nlf-help class="float-end" key="ors-editor-involved"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <nlf-ors-editor-people-seilfly [disabled]="!observation.acl_user.w" [who]="observation.involved" path="involved"></nlf-ors-editor-people-seilfly>\n        <div *ngIf="!!devDebug">{{ observation.involved | json }}</div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- COMPONENTS\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Forl\xf8pet\n          <nlf-help class="float-end" key="ors-editor-components"></nlf-help>\n          <button (click)="openPreview(modalPreview, \'components\', \'Forl\xf8pet\')" class="float-end btn btn-link">\n            preview\n          </button>\n        </div>\n        <nlf-ors-editor-components></nlf-ors-editor-components>\n        <div *ngIf="devDebug" class="col-md-12 bg-light">\n          {{ observation.components | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- WEATHER\n    <div class="row my-3">\n      <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n        V\xe6ret\n        <nlf-help class="float-end" key="ors-editor-weather"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-met></nlf-ors-editor-met>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-weather></nlf-ors-editor-weather>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <div *ngIf="devDebug">\n          {{ observation.weather.auto | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n      \x3c!-- NARRATIVE --\x3e\n\n    </ng-container>\n\n\n    \x3c!-- RATING --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Alvorlighetsgrad <nlf-help class="float-end" key="ors-editor-seilfly-rating"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-1">\n        <nlf-ors-editor-rating></nlf-ors-editor-rating>\n        <div *ngIf="!!devDebug">Rating for observation {{ observation.rating | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- VURDERINGER--\x3e\n    <div class="row">\n      <div class="nlf-ors-toolbar">\n        Vurdering\n        <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n      </div>\n    </div>\n\n    \x3c!-- ASK --\x3e\n    <div class="row bg-light py-2">\n\n      \x3c!-- ASK TOGGLE --\x3e\n      <div class="col-md-4 col-sm-12">\n        <p class="mt-3">\n          <nlf-ors-editor-ask></nlf-ors-editor-ask>\n        </p>\n      </div>\n      \x3c!-- ASK TEXT --\x3e\n      <div class="col-md-8 col-sm-12">\n        <p class="mt-1">\n          <nlf-ors-editor-ask-text></nlf-ors-editor-ask-text>\n        </p>\n      </div>\n\n    </div>\n\n    \x3c!-- ACTIONS --\x3e\n    <ng-container *ngIf="!showSimpleView()">\n      <div class="row">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Tiltak\n          <nlf-help class="float-end" key="ors-editor-seilfly-actions"></nlf-help>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-12 col-sm-12">\n          <nlf-ors-editor-actions></nlf-ors-editor-actions>\n        </div>\n        <div *ngIf="!!devDebug">{{ observation.actions | json }}</div>\n      </div>\n    </ng-container>\n\n    \x3c!-- /// END FORM --\x3e\n\n    <span class="d-md-none">\n      \x3c!-- SIMPLE VIEW --\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Visning av felter\n          <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-2">\n        <p>\n          Du kan selv velge visning av felter i observasjonen. Normalt vil en nyopprettet observasjon vises med\n          forenklet\n          skjema. Du kan velge &quot;Vis alle felter&quot; for \xe5 vise alle felter eller &quot;Vis forenklet skjema&quot;\n          for \xe5 vise\n          forenklet og redusert antall felter. Endringene er persistente for din bruker ogs\xe5 om du har en annen rolle i\n          arbeidsflyten eller logger inn fra en annen enhet.\n        </p>\n        <ng-container *ngIf="!showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </div>\n        </ng-container>\n        <ng-container *ngIf="showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </div>\n        </ng-container>\n      </div>\n      \x3c!-- WORKFLOW ACTIONS --\x3e\n      <ng-container *ngIf="observation.acl_user.x">\n\n        <div class="nlf-ors-toolbar">\n          <ng-container *ngIf="observation.workflow.state==\'withdrawn\'">Gjen\xe5pning</ng-container>\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">Innsending</ng-container>\n          <ng-container *ngIf="[\'draft\', \'withdrawn\'].indexOf(observation.workflow.state)==-1">Behandling</ng-container>\n\n          <nlf-help class="float-end" key="ors-editor-workflow"></nlf-help>\n        </div>\n        \x3c!-- bg-secondary text-white--\x3e\n        <div class="col-xs-12 col-md-12 py-2">\n          <ng-container *ngIf="[\'withdrawn\', \'closed\'].indexOf(observation.workflow.state)>-1">\n            <p>\n              Observasjonen er lukket. Du kan velge \xe5 gjen\xe5pne observasjonen om du \xf8nsker fortsette \xe5 behandle den.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Gjen\xe5pne</button>\n            </div>\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">\n            <p>N\xe5r du er ferdig med \xe5 redigere observasjonen er det p\xe5 tide \xe5 sende den videre til behandling hos OBSREG\n              koordinator.</p>\n            <p>Du kan alltid aktivere arbeidsflyten ved \xe5 trykke p\xe5 statusknappen for arbeidsflyten <span><a\n                  class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span> som du finner \xf8verst p\xe5 siden i &quot;sidemenyen&quot;\n            </p>\n            <p>Behandlingen skjer i en forh\xe5ndsdefinert arbeidsflyt som du kan lese mer om ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <p>\xd8nsker du slette/fjerne observasjonen velger du \xe5 &quot;trekke tilbake&quot;. Da forsvinner den ute av\n              syne\n              for alle enn deg. Ingen kan forresten slette observasjoner fra systemet, og du kan n\xe5r som helst komme\n              tilbake og gjen\xe5pne\n              den skulle du ombestemme deg.</p>\n            \x3c!-- Knapper for innsending --\x3e\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-success me-2">Send til OBSREG-koordinator</button>\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Trekk tilbake</button>\n            </div>\n\n          </ng-container>\n\n          <ng-container *ngIf="[\'draft\', \'withdrawn\', \'closed\'].indexOf(observation.workflow.state)==-1">\n            <p>Observasjonen har status\n              <span><a class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span>.\n            </p>\n            <p>\n              N\xe5r du har gjennomg\xe5tt observasjonen skal du aktivere arbeidsflyten for \xe5 behandle observasjonen.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-primary me-2">\n                <fa-icon [icon]="faExchange"></fa-icon> Behandle #{{observation.id}}\n              </button>\n            </div>\n          </ng-container>\n        </div>\n      </ng-container>\n      \x3c!-- //WORKFLOW ACTIONS --\x3e\n    </span>\n\n    \x3c!-- BOTTOM TOOLBAR  DESKTOP ONLY --\x3e\n    <div *ngIf="observation.acl_user.x" class="nlf-toolbar fixed-bottom bg-dark d-none d-md-block">\n      <div class="container">\n\n        <span class="float-start" text="Her velger du visning om du vil ha forenklet eller alle felter"\n          class="nav-item">\n          <ng-container *ngIf="!showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </ng-container>\n          <ng-container *ngIf="showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </ng-container>\n        </span>\n\n        <span class="float-end" text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n\n          <span class="me-4 lead">\n            <nlf-help key="ors-editor-workflow"></nlf-help>\n          </span>\n\n          <ng-container *ngIf="observation.workflow.state===\'draft\'">\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faPaperPlane"></fa-icon> Send til OBSREG-koordinator\n            </button>\n\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjengelig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faReply"></fa-icon> Trekk tilbake\n            </button>\n\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state===\'withdrawn\'">\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Gjen\xe5pne" text="Gjen\xe5pne ">\n              <fa-icon [icon]="faRepeat"></fa-icon> Gjen\xe5pne\n            </button>\n          </ng-container>\n\n          <ng-container *ngIf="[\'withdrawn\',\'draft\'].indexOf(observation.workflow.state)<0">\n            <button class="btn btn-primary me-2" (click)="openWorkflow()" title="Behandle" text="Behandle ">\n              <fa-icon [icon]="faRandom"></fa-icon> Arbeidsflyt\n            </button>\n          </ng-container>\n        </span>\n      </div>\n    </div>\n    \x3c!-- //BOTTOM TOOLBAR --\x3e\n\n\n    \x3c!-- SEND BTN\n    <div class="row my-3">\n      <span class="pointer mx-1 float-end" *ngIf="observation.acl_user.x && observation.workflow.state==\'draft\'" (click)="openWorkflow()">\n        <button class="btn btn-success">\n          <fa-icon [icon]="faUpload"></fa-icon>Send OBSREG-koordinator\n        </button>\n      </span>\n    </div>\n--\x3e\n    <div *ngIf="!!devDebug">\n      {{ observation.ask | json }}\n    </div>\n\n  </div>\x3c!-- /CONTAINER--\x3e\n\n  <div *ngIf="!!devDebug" class="container">\n    <div>{{\xa0observation |json }}</div>\n  </div>\n\n</div>\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n\x3c!-- PAGE ERROR --\x3e\n<div *ngIf="dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="seilfly" [error]="error"></nlf-ors-error>\n</div>\n\n\x3c!-- MODAL VERSIONS --\x3e\n<ng-template #modalVersions>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      OBSREG#{{ observation.id }} version {{ observation._version }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    Not implemented yet\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL VERSIONS --\x3e\n\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalPreview>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ preview.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="preview.what===\'components\'">\n      <nlf-report-components-timeline [components]="observation.components"\n        [activity]="observation._model.type"></nlf-report-components-timeline>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\x3c!-- //ACTIVITY --\x3e\n\n\x3c!-- DIFF MODAL ---\x3e\n<ng-template #diffModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <pre>\n    {{ getDiff() | json }}\n    </pre>\n    {{ this.shadow.when }} || {{ this.observation.when }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n<div *ngIf="!!devDebug">\n  <pre>{{observation | json}}</pre>\n</div>\n'},85091:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error" id="testpdf">\n  <header class="nlf-sticky-toolbar">\n    <div class="container lead">\n      <hotkeys-cheatsheet title="Hotkeys Rock!"></hotkeys-cheatsheet>\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="faFileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ observation.tags | nlfOrsTags: \' / \'}} --\x3e\n      <a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#{{\n        observation.id\n      }}\n      <nlf-resolve-observation-tags\n        [tags]="observation.tags"\n        [activity]="observation._model.type"\n        link="true"\n        seperator="/"\n      ></nlf-resolve-observation-tags\n      >&nbsp;\n      \x3c!-- /TITLE --\x3e\n      \x3c!-- RATING --\x3e\n      <span\n        ngbTooltip="{{ observation.rating.actual }} av {{\n          observation.rating.potential\n        }}"\n        container="body"\n        *ngIf="!!observation.rating"\n        class="badge bg-{{\n          observation.rating | nlfOrsRatingCalc | nlfDynamicColor\n        }}"\n        >{{ observation.rating | nlfOrsRatingCalc }}</span\n      >\n\n      \x3c!-- DIFFERENT VERSION --\x3e\n      <span\n        *ngIf="observation._version !== observation._latest_version"\n        class="badge bg-warning"\n      >\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'report\',\n            observation.id\n          ]"\n          >v{{ observation._version }} av {{ observation._latest_version }}</a\n        >\n      </span>\n      \x3c!-- /DIFFERENT VERSION --\x3e\n\n      \x3c!-- RATING TEST\n\t\t\t<rating [ngModel]="observation.rating.actual" max="8" readonly="true"></rating> / <rating [ngModel]="observation.rating.potential" max="8" readonly="true"></rating>\n\t\t\t /RATING TEST --\x3e\n\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'edit\',\n            observation.id\n          ]"\n          *ngIf="observation.acl_user.x || observation.acl_user.w || (observation.workflow.state != \'closed\' && observation.acl_user.r)"\n          class="badge bg-primary text-white mx-1"\n        >\n          <fa-icon [icon]="faEdit"></fa-icon> Editor\n        </a>\n        <nlf-resolve-observation-state\n          [activity]="observation._model.type"\n          [state]="observation.workflow.state"\n          icon="true"\n        ></nlf-resolve-observation-state>\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n\n      <nlf-ors-report-e5x\n        [observation]="observation"\n        class="float-end"\n      ></nlf-ors-report-e5x>\n    </div>\n  </header>\n  \x3c!-- /END HEADER --\x3e\n  <div class="container">\n    <div class="row">\n      \x3c!-- Summary table --\x3e\n      <div class="col-md-6 table-responsive">\n        <nlf-ors-seilfly-report-summary\n          [observation]="observation"\n        ></nlf-ors-seilfly-report-summary>\n      </div>\n\n      <div class="col-md-6">\n        <div class="col-md-12">\n          \x3c!-- MAP --\x3e\n          <div\n            *ngIf="\n              !!observation.occurrence.attributes.latitudeOfOcc.value ||\n              !!observation.occurrence.attributes.longitudeOfOcc.value\n            "\n          >\n            <div class="row" style="height: 400px">\n              <div class="col-xs-12 position-relative">\n                <nlf-ors-report-flight-map\n                  [aircraft]="observation.aircrafts"\n                  [where]="[\n                    observation.occurrence.attributes.latitudeOfOcc.value,\n                    observation.occurrence.attributes.longitudeOfOcc.value\n                  ]"\n                ></nlf-ors-report-flight-map>\n              </div>\n            </div>\n\n            <div class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              {{\n                observation.occurrence.attributes.locationName.value ||\n                  "Sted ikke angitt"\n              }}\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lng:\n                {{\n                  observation.occurrence.attributes.longitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lat:\n                {{\n                  observation.occurrence.attributes.latitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n            </div>\n            <div>\n              <nlf-ors-editor-tag-e5x-render\n                [showLabel]="false"\n                [items]="observation.occurrence.attributes.stateAreaOfOcc.value"\n                path="E5X.Occurrence.StateAreaOfOcc"\n              ></nlf-ors-editor-tag-e5x-render>\n            </div>\n          </div>\n\n          <div\n            *ngIf="\n              !observation.occurrence.attributes.latitudeOfOcc.value ||\n              !observation.occurrence.attributes.longitudeOfOcc.value\n            "\n          >\n            <ngb-alert type="info" [dismissible]="false" class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              Informasjon om posisjon for hendelse er ikke angitt\n            </ngb-alert>\n          </div>\n        </div>\n\n        \x3c!-- Involved --\x3e\n        <div class="col-md-12 mt-3" *ngIf="observation.aircrafts.length > 0">\n          <h3 class="h5">\n            <fa-icon [icon]="faPlane"></fa-icon> Involverte fart\xf8y\n          </h3>\n          <div *ngFor="let aircraft of observation.aircrafts" class="my-2">\n            <nlf-aircraft-summary\n              [callsign]="aircraft.aircraft.callsign"\n              [model]="aircraft.aircraft.model || undefined"\n              [manufacturer]="aircraft.aircraft.manufacturer || undefined"\n            ></nlf-aircraft-summary>\n          </div>\n        </div>\n        \x3c!-- /Involved --\x3e\n      </div>\n    </div>\n\n    \x3c!-- Workflow\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\n\t\t\t\t\t\t<div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n\t\t\t\t\t\t\t<fa-icon [icon]="faRandom"></fa-icon>\n\t\t\t\t\t\t\tArbeidsflyt\n\t\t\t\t\t\t\t<i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div [ngbCollapse]="isWorkflowTimelineCollapsed">\n\t\t\t\t\t\t\t<nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    <div class="row mb-4">\n      \x3c!-- NARRATIVE --\x3e\n      <div class="col-md-12 col-lg-6 mt-3">\n        <h3 class="h5">\n          <fa-icon [icon]="faCommenting"></fa-icon> Hendelsesforl\xf8p\n        </h3>\n        <div class="bg-light p-3">\n          <ng-container *ngIf="observation.occurrence.entities.hasOwnProperty(\'narrative\') && observation.occurrence.entities.narrative.length > 0">\n            <div class="narrative">{{ observation.occurrence.entities.narrative[0].attributes.narrativeText.plainText }}</div>\n          </ng-container>\n          <ng-container *ngIf="observation.occurrence.entities.reportingHistory[0].attributes.hasOwnProperty(\'reporterSDescription\')">\n            <div class="narrative">{{ observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription.plainText }}</div>\n          </ng-container>\n        </div>\n      </div>\n      \x3c!-- /NARRATIVE --\x3e\n\n      \x3c!-- Verdicts --\x3e\n      <div class="col-md-12 col-lg-6 mt-3">\n        <div class="col-md-12">\n          <h3 class="h5">\n            <fa-icon [icon]="faComments"></fa-icon> Vurderinger\n          </h3>\n        </div>\n\n        \x3c!-- ASK comments --\x3e\n        <div class="col-md-12">\n          <div *ngIf="!!observation.ask && !!observation.ask.text">\n            <nlf-ors-report-ask-text\n              [comments]="observation.ask.text"\n              [audit]="observation.workflow.audit"\n              [activity]="observation._model.type"\n            ></nlf-ors-report-ask-text>\n          </div>\n        </div>\n\n        \x3c!-- ASK matrix --\x3e\n        <div class="col-md-12 pt-2">\n          <nlf-ors-report-ask\n            [ask]="observation.ask"\n            [verbose]="true"\n          ></nlf-ors-report-ask>\n        </div>\n      </div>\n      \x3c!-- /verdicts --\x3e\n    </div>\n\n    \x3c!-- Files --\x3e\n    <div class="row" *ngIf="observation.files.length > 0">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faFile"></fa-icon> Vedlegg</h3>\n        <nlf-ors-report-files\n          [files]="observation.files"\n          [state]="observation.workflow.state"\n        ></nlf-ors-report-files>\n      </div>\n    </div>\n    \x3c!-- /Files --\x3e\n\n    \x3c!-- Components timeline - forl\xf8pet\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t<nlf-report-components-timeline [activity]="observation._model.type" [components]="observation.components"></nlf-report-components-timeline>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!-- ON GROUND\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faStreetView"></fa-icon> P\xe5 bakken\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /ON GROUND --\x3e\n\n    \x3c!-- Weather\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faCloud"></fa-icon> V\xe6ret\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /Weather --\x3e\n\n    \x3c!-- ATM\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon> ATM involvert\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /ATM --\x3e\n\n    \x3c!-- AERODROME\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faRoad"></fa-icon> Aerodrome\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /AERODROME --\x3e\n\n    \x3c!-- Actions --\x3e\n    <div class="row" *ngIf="(observation.actions?.local && observation.actions?.local?.length > 0) || (observation.actions?.central && observation.actions?.central?.length > 0)">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faBolt"></fa-icon> Tiltak</h3>\n        <nlf-ors-report-actions\n          [actions]="observation.actions"\n        ></nlf-ors-report-actions>\n      </div>\n    </div>\n    \x3c!-- /Actions --\x3e\n\n    \x3c!-- Related --\x3e\n    <div *ngIf="!!observation.related && observation.related?.length > 0" class="row">\n      <div class="col-md-12">\n        <h3 class="h5">\n          <fa-icon [icon]="faExternalLink"></fa-icon> Relaterte\n        </h3>\n        <nlf-ors-report-related\n          [related]="observation.related"\n        ></nlf-ors-report-related>\n      </div>\n    </div>\n    \x3c!-- /Related --\x3e\n\n    \x3c!--\n\t\t\t\t<hr>\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<h3>Tester under</h3>\n\t\t\t\t</div>\n\t\t\t\t<div class="card-header">DIFF TEST</div>\n\t\t\t\t<pre semanticDiff [left]="left" [right]="right"></pre>\n\n\n\n\t\t\t\t<div *ngIf="!!observationDiff" class="row">\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Forrige</p>{{ observationDiff[1] | json }}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Siste</p>{{ observationDiff[0] | json }}\n\t\t\t\t\t</div>\n\n\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t\t<div class="card" style="width: 22rem;">\n\t\t\t\t\t<img class="card-img-top img-fluid" src="{{ currentImage }}" alt="Card image cap">\n\t\t\t\t\t<div class="card-body">\n\t\t\t\t\t\t<h5 class="card-header">Your image</h5>\n\t\t\t\t\t\t<form>\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<input class="form-control-file" type="file" (change)="onUpload($event)">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t<h2>F\xf8lgende er registrert:</h2>\n\t\t\t<label>Id</label>\n\t\t\t<pre>{{observation.id}}</pre>\n\t\t\t<pre>{{observation._id}}</pre>\n\n\t\t\t<label>Created</label>\n\t\t\t<pre>{{observation._created | date:\'yyyy-MM-dd HH:mm\'}}</pre>\n\n\t\t\t<label>Club</label>\n\t\t\t<pre>{{observation.club | json}}</pre>\n\n\t\t\t<label>Acl</label>\n\t\t\t<pre>{{observation.acl | json}}</pre>\n\n\t\t\t<label>Type</label>\n\t\t\t<pre>{{observation.type | json}}</pre>\n\n\t\t\t<label>Flags</label>\n\t\t\t<pre>{{observation.flags | json}}</pre>\n\n\t\t\t<label>Rating</label>\n\t\t\t<pre>{{observation.rating | json}}</pre>\n\n\t\t\t<label>Kunnskap ferdigheter holdning</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Location</label>\n\t\t\t<pre>{{observation.location | json}}</pre>\n\n\t\t\t<label>Files</label>\n\t\t\t<pre>{{observation.files | json}}</pre>\n\n\t\t\t<label>When</label>\n\t\t\t<pre>{{observation.when | json}}</pre>\n\n\t\t\t<label>Tags</label>\n\t\t\t<pre>{{observation.tags | json}}</pre>\n\n\t\t\t<label>Organization</label>\n\t\t\t<pre>{{observation.organization | json}}</pre>\n\n\t\t\t<label>Involved</label>\n\t\t\t<pre>{{observation.involved | json}}</pre>\n\n\t\t\t<label>Components</label>\n\t\t\t<pre>{{observation.components | json}}</pre>\n\n\t\t\t<label>Weather</label>\n\t\t\t<pre>{{observation.weather | json}}</pre>\n\n\t\t\t<label>Vurdering</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Tiltak</label>\n\t\t\t<pre>{{observation.actions | json}}</pre>\n\n\n\t\t\t<label>Workflow</label>\n\t\t\t<pre>{{observation.workflow | json}}</pre>\n\t\t\t--\x3e\n  </div>\n</div>\n<div *ngIf="!dataReady && !error">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n<div *ngIf="!dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="seilfly" [error]="error"></nlf-ors-error>\n</div>\n'},9913:de=>{"use strict";de.exports='<table class="table table-sm table-hover">\n  <tbody>\n    <tr style="border-top: none !important">\n      <td style="border-top: none !important">Klubb</td>\n      <td style="border-top: none !important">\n        <nlf-resolve-lungo-organization [organization_id]="observation.club" link="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Gren</td>\n      <td>\n        <nlf-resolve-lungo-organization [organization_id]="observation.discipline" link="true" show_activity="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Observat\xf8r</td>\n      <td>\n        <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n      </td>\n    </tr>\n\n    \x3c!-- FTL --\x3e\n    <tr *ngIf="observation.organization.hasOwnProperty(\'ftl\')">\n      <td>FTL i klubb</td>\n      <td>\n        <div *ngFor="let ftl of observation.organization.ftl">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="ftl"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- DTO @TODO Remove\n    <tr>\n      <td>DTO i klubb</td>\n      <td>\n        <div *ngFor="let dto of observation.organization.dto">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="dto"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n  --\x3e\n\n    \x3c!-- OBSREG-KOORDINATORER --\x3e\n    <tr>\n      <td>OBSREG-Koordinator</td>\n      <td>\n        <div *ngFor="let ors of observation.organization.ors">\n          <nlf-resolve-lungo-person [person_id]="ors" [avatar]="true" [link]="true"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- TYPE --\x3e\n    <tr>\n      <td>Type</td>\n      <td>\n        <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type" badge="true"></nlf-resolve-observation-types>\n        <span class="float-end">\n          <nlf-ors-report-ask [ask]="observation.ask" [verbose]="false"></nlf-ors-report-ask>\n        </span>\n      </td>\n    </tr>\n\n\n    \x3c!-- TYPE E5X--\x3e\n    <tr>\n      <td title="Occurence Class">Klassifisering</td>\n      <td>\n        <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass"></nlf-ors-editor-tag-e5x-render>\n        <span class="float-end">\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.injuryLevel.value" path="E5X.Occurrence.InjuryLevel"></nlf-ors-editor-tag-e5x-render>\n          /\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.highestDamage.value" path="E5X.Occurrence.HighestDamage"></nlf-ors-editor-tag-e5x-render>\n        </span>\n      </td>\n    </tr>\n\n    \x3c!-- RATING --\x3e\n    <tr *ngIf="!!observation.rating">\n      <td>Alvorlighetsgrad</td>\n      \x3c!--<td>{{ observation.rating.actual }} av {{ observation.rating.potential }} <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="float-end badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>--\x3e\n      <td><span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>\n    </tr>\n\n    <tr *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value">\n      <td>Event Risk Classification</td>\n      <td><span container="body" class="badge bg-{{observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value | nlfDynamicColorErc}}">{{ observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value }}</span></td>\n    </tr>\n\n    \x3c!-- FLAGG --\x3e\n    <tr>\n      <td>Flagg</td>\n      <td>\n        <div *ngIf="!!observation.flags">\n          <span *ngIf="!!observation.flags.insurance">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="insurance"></nlf-resolve-observation-flags>\n          </span>\n          <span *ngIf="!!observation.flags.aviation">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="aviation"></nlf-resolve-observation-flags>\n          </span>\n\n        </div>\n        <span *ngIf="!observation.flags || (!observation.flags.aviation && !observation.flags.insurance)">Ingen</span>\n      </td>\n\n    </tr>\n\n    \x3c!-- FART\xd8Y--\x3e\n    <tr>\n      <td>Fart\xf8y</td>\n      <td>\n        <div *ngFor="let a of observation.aircrafts">\n          <a *ngIf="!a.aircraft.callsign.startsWith(\'FLY\')" [routerLink]="[\'/\', \'aircraft\', \'view\', a.aircraft.callsign]">{{ a.aircraft.callsign }}</a>\n          <span *ngIf="a.aircraft.callsign.startsWith(\'FLY\')">{{ a.aircraft.callsign }}</span>\n        </div>\n      </td>\n    </tr>\n\n\n\n\n\n    \x3c!-- WHEN --\x3e\n    <tr>\n      <td>Tidspunkt</td>\n      <td>{{ observation.when | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CREATED --\x3e\n    <tr>\n      <td>Opprettet</td>\n      <td>{{ observation._created | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CLOSED? --\x3e\n    <tr>\n      <td>Lukket</td>\n      <td *ngIf="observation.workflow.state==(\'closed\' || \'withdrawn\')">{{ observation.workflow.last_transition | date:\'yyyy-MM-dd HH:mm\' }}</td>\n      <td *ngIf="observation.workflow.state!=(\'closed\' || \'withdrawn\')">\n        <span class="text-danger">Under behandling</span>\n      </td>\n    </tr>\n    \x3c!-- VERSION --\x3e\n    <tr>\n      <td>Versjon</td> \x3c!-- @TODO: Generate list of versions and link to them /report/:id?v=1 or /report/:id/:version --\x3e\n      <td>\n        {{ observation._version }} <span *ngIf="observation._version !== observation._latest_version">\n          av <a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">{{ observation._latest_version }}</a></span>\n      </td>\n    </tr>\n\n    \x3c!-- TURNAROUND --\x3e\n    <tr>\n      <td>Behandlingstid</td>\n      <td>{{ turnaround }}</td>\n    </tr>\n\n    \x3c!-- INVOLVED\n    <tr>\n      <td>Involverte</td>\n      <td>{{ observation.involved | count }}</td>\n    </tr>\n  --\x3e\n    \x3c!-- VERDICTS\n    <tr>\n      <td>Kjennelser</td>\n      <td>\n        <div *ngIf="numberOfInvolved > 0">\n          <div *ngFor="let v of observation.involved">\n            <div *ngIf="!!v.verdict">\n              <div *ngIf="!!v.verdict.fu" class="badge bg-warning me-1">Farlig Ukontrollert </div>\n              <div *ngIf="!!v.verdict.ph" class="badge bg-danger me-1">Permanent Hoppforbud </div>\n              <div *ngIf="!!v.verdict.mh" class="badge bg-danger">Midlertidig Hoppforbud</div>\n            </div>\n          </div>\n        </div>\n        <div *ngIf="numberOfInvolved === 0">Ingen</div>\n      </td>\n    </tr>\n    --\x3e\n  </tbody>\n</table>\n'},45818:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'seilfly\']">OBSREG</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li class="breadcrumb-item">\n\n        <a>S\xf8k</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="!!text" class="breadcrumb-item active">\n        {{ text }}\n      </li>\n    </span>\n\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-search-seilfly"></nlf-help>\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-3">\n\n    <div class="col-md-3 bg-light p-2">\n      <label class="lead"><fa-icon [icon]="faFilter"></fa-icon> Filter</label>\n      <div class="row">\n        <label>Fritekst:</label>\n        <input placeholder="Fritekst" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n      </div>\n\n      \x3c!-- ANON DO NOT WORK ANYMORE\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="Kjennetegn" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.callsign\']">\n      </div>\n      --\x3e\n\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input placeholder="Produsent" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.manufacturer\']">\n        <input placeholder="Model" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.model\']">\n      </div>\n\n      <div class="row">\n        <label>Flyplass:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="ICAO" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.flight.from.icao\']">\n      </div>\n\n      <div class="row mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="reset()" class="btn btn-secondary">Reset filter</button>\n        </div>\n      </div>\n    </div>\n\n    <div class="col-md-9">\n      \x3c!-- SEARCH RESULTS --\x3e\n      <div class="lead">\n        <div *ngIf="!!result && !searching">\n          Fant {{ result._meta.total }} resultater\n        </div>\n\n        <div *ngIf="(!result || result._meta.total == 0) && !searching">\n          Ingen resultater\n        </div>\n\n        <div *ngIf="searching">\n          S\xf8ker...\n        </div>\n      </div>\n\n      <div class="my-2 p-1 div_hover" *ngFor="let r of result?._items; let isOdd=odd;" [class.bg-light]="isOdd">\n\n        <a [routerLink]="[\'/ors\', activity,\'report\', r.id]">#{{ r.id }} - {{ r.tags | join: \'/\'}}</a>\n\n\n        <span class="float-end mx-1">\n          <nlf-resolve-observation-state [activity]="r._model.type" [state]="r.workflow.state" icon="true"></nlf-resolve-observation-state>\n          <span *ngIf="!!r.rating" class="mx-1 badge bg-{{r.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ r.rating | nlfOrsRatingCalc }}</span>\n        </span>\n\n        <div class="small" *ngFor="let a of r.aircrafts">\n          <fa-icon [icon]="faPlane"></fa-icon> {{ a.aircraft.callsign }} {{ a.aircraft.model }} {{ a.aircraft.manufacturer }}\n          <div>\n            <span class="small" *ngFor="let route of a.flight; let idx = index">\n              <span *ngIf="idx==0">{{ route.from.icao }}</span>\n              <fa-icon [icon]="faLongArrowRight"></fa-icon> {{ route.to.icao }}\n            </span>\n          </div>\n        </div>\n\n      </div>\n    </div>\n\n  </div>\n</div>\n\n<ng-template #saveTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Lagre s\xf8ket\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="form-group">\n      <label>S\xf8kenavn</label>\n      <input class="form-control" type="text" [disabled]="true" [value]="text || \'\'">\n    </div>\n\n    <div class="form-group my-3">\n      <div class="form-check">\n        <input [disabled]="true" class="form-check-input" type="checkbox" value="" id="defaultCheck1">\n        <label class="form-check-label" for="defaultCheck1">\n          Varsle meg ved nye resultater\n        </label>\n      </div>\n    </div>\n\n    <div class="form-group">\n      <label>S\xf8ket ga {{ result._meta.total }} resultater</label>\n      <textarea [disabled]="true" class="form-control" [value]="this.getQuery() | json" rows="3"></textarea>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    <button [disabled]="true" class="btn btn-primary" (click)="modalRef.close()">Lagre</button>\n  </div>\n</ng-template>\n'},10827:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    OBSREG Seilfly\n\n    <button [routerLink]="[\'/ors\', \'seilfly\', \'search\']" type="button" class="btn btn-sm btn-primary float-end">\n      <fa-icon [icon]="faSearch"></fa-icon> S\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-seilfly"></nlf-help>\n  </div>\n\n\n</header>\n\n<div class="container">\n\n  <div class="row">\n    \x3c!-- MY --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faUser" class="text-secondary"></fa-icon> Mine observasjoner\n      </div>\n      <nlf-ors-self-table activity="seilfly"></nlf-ors-self-table>\n    </div>\n    \x3c!-- MY TODO --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faExchange" class="text-secondary"></fa-icon> Til min behandling\n      </div>\n      <nlf-ors-todo-table activity="seilfly"></nlf-ors-todo-table>\n    </div>\n\n    \x3c!-- Group = tight, with padding deck = spacing, no padding card-body style="padding: 0;"\n      <div class="card-deck">\n\n        <div class="card mb-3 me-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faUser"></fa-icon>Mine observasjoner</h5>\n          <div class="card-body table-responsive" style="padding: 0;">\n\n          </div>\n        </div>\n\n        <div class="card mb-3 ms-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faRandom"></fa-icon>Til min behandling</h5>\n          <div class="card-body" style="padding: 0;">\n            <nlf-ors-todo-table  activity="seilfly"></nlf-ors-todo-table>\n          </div>\n        </div>\n      </div>\n      --\x3e\n  </div>\n</div>\n\n\x3c!-- CREATE --\x3e\n<div class="py-5 nlf-bg-blue col-md-12">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n      <nlf-ors-seilfly-create></nlf-ors-seilfly-create>\n    </p>\n  </div>\n</div>\n\n\x3c!-- ALL OBSREG --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faList" class="text-secondary"></fa-icon> Alle observasjoner\n      </div>\n      <nlf-ors-all-table activity="seilfly"></nlf-ors-all-table>\n    </div>\n  </div>\n</div>\n'},11678:de=>{"use strict";de.exports='<div *ngIf="dataReady && !canCreate()" class="alert alert-primary" role="alert">\n  Sportsfly er nede for vedlikehold\n</div>\n\n\x3c!-- QUICKSELECT DEFAULT DISCIPLINE --\x3e\n<div *ngIf="dataReady && canCreate() && defaultBtn && userData.settings.default_activity==237" class="d-grid gap-2">\n  <button *ngIf="!!userData.settings && canCreate() && !loading"\n    (click)="createObservation(userData.settings.default_discipline, userData.settings.default_club, userData.settings.default_activity)"\n    class="btn btn-success btn-lg my-1">\n    <fa-icon [icon]="faPlus"></fa-icon>\n    <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline" show_activity="false">\n    </nlf-resolve-lungo-organization>\n  </button>\n</div>\n\n\x3c!-- NORMAL SELECT DROPDOWN --\x3e\n<span *ngIf="dataReady && !defaultBtn && canCreate()">\n\n  <span *ngIf="!loading">\n\n    <div class="row">\n      <div class="col">\n        <select class="form-control form-control-lg" id="sportsflyklubb" [(ngModel)]="selected">\n          <option *ngFor="let club of clubs" [ngValue]="club.id">\n            {{ club.name }}\n          </option>\n        </select>\n      </div>\n      <div class="col">\n        <div class="d-grid gap-2">\n          <button [disabled]="!selected" (click)="createObservation()" class="btn btn-success btn-lg">\n            <fa-icon [icon]="faPlus"></fa-icon> Opprett ny OBSREG\n          </button>\n        </div>\n      </div>\n    </div>\n  </span>\n</span>\n\n\n<span *ngIf="loading">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n  <p class="lead">Oppretter OBSREG...</p>\n</span>\n\n\n<ngb-alert *ngIf="!!error" type="danger" [dismissible]="true">\n  <fa-icon [icon]="faExclamationTriangle"></fa-icon>\n  Kunne ikke opprette OBSREG\n</ngb-alert>\n\n\n\x3c!-- End page --\x3e\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>\n'},3006:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error">\n\n  \x3c!-- STICKY TOP BAR --\x3e\n  <header class="nlf-sticky-toolbar">\n\n    <div class="container lead">\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="fileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ data.tags | nlfOrsTags: \' / \'}} --\x3e\n      <span class="overflow-hidden">\n        <a [routerLink]="[\'/ors\', \'sportsfly\']">OBSREG</a>#{{ observation.id }}\n        <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type" link="true"\n          seperator="/"></nlf-resolve-observation-tags>&nbsp;\n        <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body"\n          *ngIf="!!observation.rating"\n          class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{\n          observation.rating | nlfOrsRatingCalc }}</span>\n      </span>\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n\n        \x3c!-- SAVE --\x3e\n        <span *ngIf="!!observation">\n          <span (click)="saveIfChanges()" *ngIf="!!changes && observation.acl_user.w"\n            class="pointer badge bg-warning mx-1">\n            <fa-icon [icon]="faSave"></fa-icon>\n          </span>\n        </span>\n\n        \x3c!-- HELP --\x3e\n        <a class="badge bg-light text-dark pointer text-info mx-1" (click)="openHelp()" joyrideStep="step001"\n          stepPosition="bottom" title="Hjelp"\n          text=\'Et "?" indikerer at det er hjelpetekst tilgjengelig. Dette er for siden, og du finner ogs\xe5 "?"" i n\xe6rheten av komponenter i rapporten\'>\n          <fa-icon [icon]="faQuestion"></fa-icon>\n        </a>\n\n        \x3c!-- FLAGS --\x3e\n        <span *ngIf="hasFlag()" class="text-danger mx-1" joyrideStep="step002" stepPosition="bottom" title="Flagg"\n          text="Her vil flagg vises. Et flagg er...">\n          <fa-icon [icon]="faFlag"></fa-icon>\n        </span>\n\n        \x3c!-- ABOUT --\x3e\n        <a (click)="openAbout()" class="badge bg-secondary text-white pointer mx-1" joyrideStep="step002"\n          stepPosition="bottom" title="Om" text="Denne viser informasjon om obervasjonen...">\n          <fa-icon [icon]="faInfoCircle"></fa-icon>\n          <fa-icon *ngIf="!observation.acl_user.w" [icon]="faLock" class="text-danger"\n            title="Ingen skrivetilgang"></fa-icon>\n          {{ observation._updated  }}\n        </a>\n        \x3c!-- TOUR\n        <a class="badge bg-success mx-1 text-white pointer"\n          (click)="joyrideService.startTour({ steps: [\'step001\', \'step002\', \'step003\', \'step004\', \'step005\', \'step006\', \'step007\', \'step008\', \'step009\'] })">\n          Intro\n        </a>\n        --\x3e\n\n\n        \x3c!-- VERSION --\x3e\n        <a class="badge bg-success mx-1 text-white pointer" (click)="openDiff(diffModal)"\n          joyrideStep="step003" stepPosition="bottom" title="Versjon"\n          text="Indikerer versjonen av observasjonen. Alle endringer lagres. Du kan se forskjeller og du kan g\xe5 tilbake/revertere om du angrer deg.">\n          v{{ observation._version }}</a>\n\n        \x3c!-- WORKFLOW --\x3e\n        <span joyrideStep="step004" stepPosition="bottom" title="Arbeidsflyt"\n          text="Denne knappen aktiverer arbeidsflyten. Du skal sende denne videre n\xe5r...">\n          <a class="pointer mx-1" *ngIf="observation.acl_user.x" (click)="openWorkflow()">\n            <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n              [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n          </a>\n          <a class="mx-1" *ngIf="!observation.acl_user.x">\n            <nlf-resolve-observation-state [activity]="observation._model.type" [state]="observation.workflow.state"\n              [icon]="true" [badge]="true"></nlf-resolve-observation-state>\n          </a>\n        </span>\n\n\n        \x3c!-- E5X on change get data again!--\x3e\n        <nlf-ors-e5x (click)="saveIfChanges()" (change)="getData()" joyrideStep="step005" stepPosition="bottom"\n          title="E5X" text="Her vises status p\xe5 innsending til Luftfartstilsynet p\xe5 formatet E5X."></nlf-ors-e5x>\n\n        \x3c!-- ACTIVITY\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1"\n          [routerLink]="[\'/ors\', observation._model.type , \'activities\', observation.id]" joyrideStep="step006"\n          stepPosition="bottom" title="Aktivitet"\n          text="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>--\x3e\n        <a *ngIf="observation.workflow.state!=\'closed\'" class="badge bg-info mx-1 pointer"\n        title="Denne knappen aktiverer aktivitetsvinduet som viser all aktiviteten vedr\xf8rende denne observasjonen. Her kan det ogs\xe5 sendes meldinger"\n          (click)="openActivities(activityModal)">\n          <fa-icon [icon]="faHistory"></fa-icon> Aktivitet\n        </a>\n\n        \x3c!-- ACCESS --\x3e\n        <nlf-ors-editor-users *ngIf="observation.acl_user.x" [model]="observation._model.type" [_id]="observation._id"\n          [observation]="observation" joyrideStep="step007" stepPosition="bottom" title="Tilganger"\n          text="Denne knappen aktiverer tilgangskontroll der du kan legge til andre personer du \xf8nsker skal se og/eller skrive p\xe5 observasjonen">\n        </nlf-ors-editor-users>\n\n        \x3c!-- REPORT --\x3e\n        <a [routerLink]="[\'/ors\', observation._model.type , \'report\', observation.id]" class="badge bg-primary text-white mx-1"\n          joyrideStep="step009" stepPosition="bottom" title="Rapport"\n          text="Denne knappen tar deg videre til visning av observasjonen slik den vil se ut etter at den er ferdig og offentlig.">\n          <fa-icon [icon]="faFile"></fa-icon> Report\n        </a>\n\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n    </div>\n  </header>\n\n  \x3c!-- CONTAINER --\x3e\n  <div class="container">\n\n    \x3c!-- TITLE/TAGS--\x3e\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n\n        \x3c!-- WELCOME FIRST TIME --\x3e\n        <nlf-ors-editor-first *ngIf="observation.acl_user.w"></nlf-ors-editor-first>\n\n        <nlf-ors-editor-testclub-alert></nlf-ors-editor-testclub-alert>\n\n        \x3c!-- TITLE --\x3e\n        <div class="nlf-ors-toolbar">\n          Tittel <nlf-help class="float-end" key="ors-editor-sportsfly-title"></nlf-help>\n        </div>\n      </div>\n\n      <div class="col-sm-12 col-md-12 my-3 lead">\n\n        <nlf-ors-editor-tag [disabled]="!observation.acl_user.w" limit="15" preload="true" details="true"\n          group="observation" [activity]="observation._model.type" [(initialTags)]="observation.tags"\n          (change)="update($event)"></nlf-ors-editor-tag>\n        \x3c!--<nlf-ors-editor-title></nlf-ors-editor-title>--\x3e\n        <div *ngIf="!!devDebug">\n          <code>{{ observation.tags | json}} </code>\n        </div>\n\n      </div>\n    </div>\n\n\n    \x3c!-- FILES mobnile only --\x3e\n    <div class="row my-3 d-block d-sm-none">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!--\n    <div>\n\n        @Input() items: any; //numbernumber[] = [];\n  @Output() itemsChange: EventEmitter<any> = new EventEmitter();\n\n  @Input() path: string; //Occurrence.DewPoint\n\n  @Input() classes: string = \'\';\n  @Input() disable: boolean = false;\n  @Input() element_id: string = \'\';\n\n  OccurrenceCategory multiple\n\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DetectionPhase" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DetectionPhase"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.DetectionPhase | json }}\n\n      <nlf-ors-editor-tag-e5x path="E5X.Occurrence.ReportingHistory.ReportingEntity" [(items)]="observation.aircrafts[0].flight[0].incident.classification.ReportingEntity"></nlf-ors-editor-tag-e5x>\n      {{ observation.aircrafts[0].flight[0].incident.classification.ReportingEntity | json}}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.DewPoint" [(items)]="observation.aircrafts[0].flight[0].incident.classification.DewPoint"></nlf-ors-editor-tag-e5x>\n       Decimal {{ observation.aircrafts[0].flight[0].incident.classification.DewPoint | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.OccurrenceCategory" [(items)]="observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory"></nlf-ors-editor-tag-e5x>\n       Multiple {{ observation.aircrafts[0].flight[0].incident.classification.OccurrenceCategory | json }}\n\n       <nlf-ors-editor-tag-e5x path="E5X.Occurrence.Aircraft.PartsDamaged" [(items)]="observation.aircrafts[0].flight[0].incident.classification.PartsDamaged"></nlf-ors-editor-tag-e5x>\n       String {{ observation.aircrafts[0].flight[0].incident.classification.PartsDamaged | json }}\n\n      </div>\n    --\x3e\n\n    \x3c!--Type, When & Flags--\x3e\n    <div class="row my-3">\n      \x3c!-- WHEN --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Tidspunkt [UTC] <nlf-help class="float-end" key="ors-editor-when"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-when tz="utc"></nlf-ors-editor-when>\n            <div *ngIf="!!devDebug">{{ observation.when }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- TYPE --\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Type <nlf-help class="float-end" key="ors-editor-motorfly-type"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-type [title]="true"></nlf-ors-editor-type>\n            <div *ngIf="!!devDebug">{{ observation.type }}</div>\n          </div>\n        </div>\n      </div>\n\n      \x3c!-- FLAGS--\x3e\n      <div class="col-sm-12 col-md-4">\n        <div class="card h-100">\n          <div class="card-header">\n            <h5>Flagg <nlf-help class="float-end" key="ors-editor-motorfly-flags"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body">\n            <nlf-ors-editor-flags></nlf-ors-editor-flags>\n            <div *ngIf="!!devDebug">{{ observation.flags | json }}</div>\n          </div>\n        </div>\n      </div>\n    </div>\n\n    <nlf-ors-editor-alert></nlf-ors-editor-alert>\n\n    \x3c!-- LOCATION: Removed  --\x3e\n\n    \x3c!-- NARRATIVE --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Hva skjedde? <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-3">\n        <ng-container *ngIf="observation._model.version>2">\n          <nlf-ors-editor-e5x-reportinghistory-reporters-description\n            *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes"\n            [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription"\n            customLabel="Spr\xe5k benyttet"\n            [(language)]="observation.occurrence.entities.reportingHistory[0].attributes.reporterSLanguage">\n          </nlf-ors-editor-e5x-reportinghistory-reporters-description>\n        </ng-container>\n        <ng-container *ngIf="observation._model.version<3">\n          <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()"\n            [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n        </ng-container>\n      </div>\n    </div>\n\n    \x3c!-- FILES ALT 1 --\x3e\n\n    \x3c!-- FILES MD only --\x3e\n    <div class="row my-3 d-none d-sm-block">\n      <div class="nlf-ors-toolbar">\n        Vedlegg ({{ observation.files.length }}) <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-12 py-3 bg-light table-responsive overflow-auto">\n        <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n        <div *ngIf="!!devDebug">{{ observation.files | json }}</div>\n      </div>\n    </div>\n    \x3c!-- FILES ALT 2 --\x3e\n    \x3c!--\n    <div class="row my-3">\n      <div class="col-sm-12 col-md-12">\n        <div class="card">\n          <div class="card-header">\n            <h5>Vedlegg ({{ observation.files.length }})\n              <nlf-help class="float-end" key="ors-editor-files"></nlf-help>\n            </h5>\n          </div>\n          <div class="card-body table-responsive">\n            <nlf-ors-editor-files [dropzone]="true" (fileChange)="save($event)"></nlf-ors-editor-files>\n            <div *ngIf="!!devDebug">\n              {{ observation.files | json }}\n            </div>\n          </div>\n        </div>\n      </div>\n    </div>\n  --\x3e\n\n    <ng-container>\n      \x3c!-- AIRCRAFTS / FLIGHT / INCIDENTS--\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Fart\xf8y\n          <nlf-help class="float-end" key="ors-e5x-aircrafts"></nlf-help>\n          \x3c!-- @TODO show modal w/ac information/summary <button class="float-end btn btn-link">preview</button> --\x3e\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-xs-12 col-md-12 mt-3">\n          <nlf-ors-editor-e5x-aircraft [showSimpleView]="showSimpleView()"></nlf-ors-editor-e5x-aircraft>\n        </div>\n      </div>\n      \x3c!-- OCCURRENCE TEST --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Occurrence\n      <nlf-help class="float-end" key="ors-editor-e5x-occurrence"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12">\n      <nlf-ors-editor-e5x-occurrence [disabled]="!observation.acl_user.w" [modal]="false"></nlf-ors-editor-e5x-occurrence>\n    </div>\n    --\x3e\n      <nlf-ors-editor-e5x-occurrence [showSimpleView]="showSimpleView()" [disabled]="!observation.acl_user.w" [modal]="false">\n      </nlf-ors-editor-e5x-occurrence>\n      \x3c!-- CLASSIFICATION --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Klassifisering\n      <nlf-help class="float-end" key="ors-editor-e5x-classification"></nlf-help>\n    </div>\n    <div class="col-md-12 col-sm-12 bg-danger">\n      <nlf-ors-editor-e5x-classification [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes" [modal]="false"></nlf-ors-editor-e5x-classification>\n    </div>\n  --\x3e\n      \x3c!-- E5X ATTRIBUTES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante attributter\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-where [disabled]="!observation.acl_user.w" [modal]="true" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-where>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-weather [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-weather>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-injuries [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-injuries>\n    </div>\n    <div class="my-3">\n      <nlf-ors-editor-e5x-damage [disabled]="!observation.acl_user.w" (change)="update()" [(attr)]="observation.occurrence.attributes"></nlf-ors-editor-e5x-damage>\n    </div>\n    --\x3e\n\n      \x3c!-- E5X OCCURRENCE ENTITIES --\x3e\n      \x3c!--\n    <div class="nlf-ors-toolbar">\n      Legg til relevante enheter\n    </div>\n    <nlf-ors-editor-e5x-entities></nlf-ors-editor-e5x-entities>\n    --\x3e\n\n      \x3c!-- RISK ASSESMENT I REPORTING HISTORY\n    <nlf-ors-editor-e5x-assessment (change)="update()" [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-assessment>\n    --\x3e\n\n      \x3c!-- REPORTING HISTORY --\x3e\n      <nlf-ors-editor-e5x-reportinghistory [disabled]="!observation.acl_user.w" (change)="update()"\n        [(reportingHistory)]="observation.occurrence.entities.reportingHistory"></nlf-ors-editor-e5x-reportinghistory>\n      \x3c!-- RISK ASSESSMENT --\x3e\n      <nlf-ors-editor-e5x-risk *ngIf="!showSimpleView()" [disabled]="!observation.acl_user.w" (change)="update()"\n        [(occurrence)]="observation.occurrence"></nlf-ors-editor-e5x-risk>\n      \x3c!-- NARRATIVE Moved top\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Narrative <nlf-help class="float-end" key="ors-e5x-narrative"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 bg-light">\n        <nlf-ors-editor-e5x-narrative [disabled]="!observation.acl_user.w" (change)="update()" [(narrative)]="observation.occurrence.entities.narrative"></nlf-ors-editor-e5x-narrative>\n      </div>\n    </div>\n  --\x3e\n      \x3c!-- ORGANIZATION: Removed --\x3e\n\n\n      \x3c!-- INVOLVERTE\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar">\n          Andre Involverte <nlf-help class="float-end" key="ors-editor-involved"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <nlf-ors-editor-people-sportsfly [disabled]="!observation.acl_user.w" [who]="observation.involved" path="involved"></nlf-ors-editor-people-sportsfly>\n        <div *ngIf="!!devDebug">{{ observation.involved | json }}</div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- COMPONENTS\n    <div class="row my-3">\n      <div class="col-xs-12 col-md-12">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Forl\xf8pet\n          <nlf-help class="float-end" key="ors-editor-components"></nlf-help>\n          <button (click)="openPreview(modalPreview, \'components\', \'Forl\xf8pet\')" class="float-end btn btn-link">\n            preview\n          </button>\n        </div>\n        <nlf-ors-editor-components></nlf-ors-editor-components>\n        <div *ngIf="devDebug" class="col-md-12 bg-light">\n          {{ observation.components | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n\n      \x3c!-- WEATHER\n    <div class="row my-3">\n      <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n        V\xe6ret\n        <nlf-help class="float-end" key="ors-editor-weather"></nlf-help>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-met></nlf-ors-editor-met>\n      </div>\n      <div class="col-xs-12 col-md-6">\n        <nlf-ors-editor-weather></nlf-ors-editor-weather>\n      </div>\n      <div class="col-xs-12 col-md-12">\n        <div *ngIf="devDebug">\n          {{ observation.weather.auto | json }}\n        </div>\n      </div>\n    </div>\n    --\x3e\n      \x3c!-- NARRATIVE --\x3e\n\n    </ng-container>\n\n\n    \x3c!-- RATING --\x3e\n    <div class="row mt-3">\n      <div class="nlf-ors-toolbar">\n        Alvorlighetsgrad <nlf-help class="float-end" key="ors-editor-motorfly-rating"></nlf-help>\n      </div>\n    </div>\n    <div class="row">\n      <div class="col-xs-12 col-md-12 bg-light py-1">\n        <nlf-ors-editor-rating></nlf-ors-editor-rating>\n        <div *ngIf="!!devDebug">Rating for observation {{ observation.rating | json }}</div>\n      </div>\n    </div>\n\n    \x3c!-- VURDERINGER--\x3e\n    <div class="row">\n      <div class="nlf-ors-toolbar">\n        Vurdering\n        <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n      </div>\n    </div>\n\n    \x3c!-- ASK --\x3e\n    <div class="row bg-light py-2">\n\n      \x3c!-- ASK TOGGLE --\x3e\n      <div class="col-md-4 col-sm-12">\n        <p class="mt-3">\n          <nlf-ors-editor-ask></nlf-ors-editor-ask>\n        </p>\n      </div>\n      \x3c!-- ASK TEXT --\x3e\n      <div class="col-md-8 col-sm-12">\n        <p class="mt-1">\n          <nlf-ors-editor-ask-text></nlf-ors-editor-ask-text>\n        </p>\n      </div>\n\n    </div>\n\n    \x3c!-- ACTIONS --\x3e\n    <ng-container *ngIf="!showSimpleView()">\n      <div class="row">\n        <div class="nlf-ors-toolbar nlf-ors-block-bottom">\n          Tiltak\n          <nlf-help class="float-end" key="ors-editor-motorfly-actions"></nlf-help>\n        </div>\n      </div>\n      <div class="row">\n        <div class="col-md-12 col-sm-12">\n          <nlf-ors-editor-actions></nlf-ors-editor-actions>\n        </div>\n        <div *ngIf="!!devDebug">{{ observation.actions | json }}</div>\n      </div>\n    </ng-container>\n\n    \x3c!-- /// END FORM --\x3e\n    <span class="d-md-none">\n      \x3c!-- SIMPLE VIEW --\x3e\n      <div class="row">\n        <div class="nlf-ors-toolbar">\n          Visning av felter\n          <nlf-help class="float-end" key="ors-editor-ask"></nlf-help>\n        </div>\n      </div>\n      <div class="col-xs-12 col-md-12 py-2">\n        <p>\n          Du kan selv velge visning av felter i observasjonen. Normalt vil en nyopprettet observasjon vises med\n          forenklet\n          skjema. Du kan velge &quot;Vis alle felter&quot; for \xe5 vise alle felter eller &quot;Vis forenklet skjema&quot;\n          for \xe5 vise\n          forenklet og redusert antall felter. Endringene er persistente for din bruker ogs\xe5 om du har en annen rolle i\n          arbeidsflyten eller logger inn fra en annen enhet.\n        </p>\n        <ng-container *ngIf="!showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </div>\n        </ng-container>\n        <ng-container *ngIf="showSimpleView()">\n          <div class="btn-toolbar float-end">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </div>\n        </ng-container>\n      </div>\n      \x3c!-- WORKFLOW ACTIONS --\x3e\n      <ng-container *ngIf="observation.acl_user.x">\n\n        <div class="nlf-ors-toolbar">\n          <ng-container *ngIf="observation.workflow.state==\'withdrawn\'">Gjen\xe5pning</ng-container>\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">Innsending</ng-container>\n          <ng-container *ngIf="[\'draft\', \'withdrawn\'].indexOf(observation.workflow.state)==-1">Behandling</ng-container>\n\n          <nlf-help class="float-end" key="ors-editor-workflow"></nlf-help>\n        </div>\n        \x3c!-- bg-secondary text-white--\x3e\n        <div class="col-xs-12 col-md-12 py-2">\n          <ng-container *ngIf="[\'withdrawn\', \'closed\'].indexOf(observation.workflow.state)>-1">\n            <p>\n              Observasjonen er lukket. Du kan velge \xe5 gjen\xe5pne observasjonen om du \xf8nsker fortsette \xe5 behandle den.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Gjen\xe5pne</button>\n            </div>\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state==\'draft\'">\n            <p>N\xe5r du er ferdig med \xe5 redigere observasjonen er det p\xe5 tide \xe5 sende den videre til behandling hos OBSREG\n              koordinator.</p>\n            <p>Du kan alltid aktivere arbeidsflyten ved \xe5 trykke p\xe5 statusknappen for arbeidsflyten <span><a\n                  class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span> som du finner \xf8verst p\xe5 siden i &quot;sidemenyen&quot;\n            </p>\n            <p>Behandlingen skjer i en forh\xe5ndsdefinert arbeidsflyt som du kan lese mer om ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n            <p>\xd8nsker du slette/fjerne observasjonen velger du \xe5 &quot;trekke tilbake&quot;. Da forsvinner den ute av\n              syne\n              for alle enn deg. Ingen kan forresten slette observasjoner fra systemet, og du kan n\xe5r som helst komme\n              tilbake og gjen\xe5pne\n              den skulle du ombestemme deg.</p>\n            \x3c!-- Knapper for innsending --\x3e\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-success me-2">Send til OBSREG-koordinator</button>\n              <button (click)="openWorkflow()" class="btn btn-danger me-2">Trekk tilbake</button>\n            </div>\n\n          </ng-container>\n\n          <ng-container *ngIf="[\'draft\', \'withdrawn\', \'closed\'].indexOf(observation.workflow.state)==-1">\n            <p>Observasjonen har status\n              <span><a class="pointer mx-1" (click)="openWorkflow()">\n                  <nlf-resolve-observation-state [activity]="observation._model.type"\n                    [state]="observation.workflow.state" icon="true"></nlf-resolve-observation-state>\n                </a></span>.\n            </p>\n            <p>\n              N\xe5r du har gjennomg\xe5tt observasjonen skal du aktivere arbeidsflyten for \xe5 behandle observasjonen.\n            </p>\n            <p>\n              Les mer om arbeidsflyten ved \xe5 trykke p\xe5 <span>\n                <nlf-help key="ors-editor-workflow"></nlf-help>\n              </span>\n            </p>\n\n            <div class="btn-toolbar float-end">\n              <button (click)="openWorkflow()" class="btn btn-primary me-2">\n                <fa-icon [icon]="faExchange"></fa-icon> Behandle #{{observation.id}}\n              </button>\n            </div>\n          </ng-container>\n        </div>\n      </ng-container>\n      \x3c!-- //WORKFLOW ACTIONS --\x3e\n    </span>\n\n\n    \x3c!-- BOTTOM TOOLBAR  DESKTOP ONLY --\x3e\n    <div *ngIf="observation.acl_user.x" class="nlf-toolbar fixed-bottom bg-dark d-none d-md-block">\n      <div class="container">\n\n        <span class="float-start" text="Her velger du visning om du vil ha forenklet eller alle felter" class="nav-item">\n          <ng-container *ngIf="!showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n          </ng-container>\n          <ng-container *ngIf="showSimpleView()">\n            <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n          </ng-container>\n        </span>\n\n        <span class="float-end" text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n\n          <span class="me-4 lead">\n            <nlf-help key="ors-editor-workflow"></nlf-help>\n          </span>\n\n          <ng-container *ngIf="observation.workflow.state===\'draft\'">\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faPaperPlane"></fa-icon> Send til OBSREG-koordinator\n            </button>\n\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjegenlig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faReply"></fa-icon> Trekk tilbake\n            </button>\n\n          </ng-container>\n\n          <ng-container *ngIf="observation.workflow.state===\'withdrawn\'">\n            <button class="btn btn-success me-2" (click)="openWorkflow()" title="Gjen\xe5pne" text="Gjen\xe5pne ">\n              <fa-icon [icon]="faRepeat"></fa-icon> Gjen\xe5pne\n            </button>\n          </ng-container>\n\n          <ng-container *ngIf="[\'withdrawn\',\'draft\'].indexOf(observation.workflow.state)<0">\n            <button class="btn btn-primary me-2" (click)="openWorkflow()" title="Behandle" text="Behandle ">\n              <fa-icon [icon]="faRandom"></fa-icon> Arbeidsflyt\n            </button>\n          </ng-container>\n        </span>\n      </div>\n    </div>\n    \x3c!-- //BOTTOM TOOLBAR --\x3e\n\n\n    \x3c!-- SEND BTN\n    <div class="row my-3">\n      <span class="pointer mx-1 float-end" *ngIf="observation.acl_user.x && observation.workflow.state==\'draft\'" (click)="openWorkflow()">\n        <button class="btn btn-success">\n          <fa-icon [icon]="faUpload"></fa-icon>Send OBSREG-koordinator\n        </button>\n      </span>\n    </div>\n--\x3e\n\n\n    \x3c!--\n    <nav class="navbar navbar-dark bg-dark fixed-bottom" joyrideStep="step001" stepPosition="top" title="Verkt\xf8ylinje"\n      text="Nederst finner du en verkt\xf8ylinje">\n      <div class="container">\n\n        <div class="flex-grow-0 navbar-nav ml-0">\n          <div joyrideStep="step002" stepPosition="top" title="Vis valg"\n            text="Her velger du visning om du vil ha forenklet eller alle felter" class="nav-item">\n\n            <ng-container *ngIf="!showSimpleView()">\n              <div class="btn-toolbar">\n                <button (click)="toggleSimpleView()" class="btn btn-primary">Vis forenklet skjema</button>\n              </div>\n            </ng-container>\n            <ng-container *ngIf="showSimpleView()">\n              <div class="btn-toolbar">\n                <button (click)="toggleSimpleView()" class="btn btn-primary">Vis alle felter</button>\n              </div>\n            </ng-container>\n          </div>\n\n\n          <div class="nav-item">\n            <fa-icon [icon]="faInfo"></fa-icon>\n            <fa-icon [icon]="chat-o"></fa-icon>\n            <fa-icon [icon]="faLock"></fa-icon>\n            <fa-icon [icon]="document"></fa-icon>\n\n          </div>\n\n\n\n        </div>\n\n        <div class="flex-grow-0 navbar-nav ms-auto" joyrideStep="step003" stepPosition="top" title="Innsending"\n          text="N\xe5r du er ferdig med observasjonen s\xe5 skal du sende den inn.">\n          <div class="nav-item ">\n\n            <button class="btn btn-danger me-2" (click)="openWorkflow()" joyrideStep="step004" stepPosition="top"\n              title="Trekk tilbake"\n              text="Om du ikke \xf8nsker sende inn rapporten s\xe5 velger du trekk tilbake. Da blir rapporten kun tilgjegenlig for deg og du kan n\xe5r som helst gjen\xe5pne den igjen. Dette er OBSREGs m\xe5te \xe5 slette p\xe5.">\n              <fa-icon [icon]="faTimes"></fa-icon> Trekk tilbake\n            </button>\n\n            <button class="btn btn-success me-2" (click)="openWorkflow()" joyrideStep="step005" stepPosition="top"\n              title="Send"\n              text="N\xe5r du er ferdig med observasjonen s\xe5 sender du den til neste i arbeidsflyten som vil behandle observasjonen videre">\n              <fa-icon [icon]="faCheck"></fa-icon> Send til OBSREG\n              koordinator\n            </button>\n          </div>\n        </div>\n\n      </div>\n    </nav>\n  --\x3e\n\n    <div *ngIf="!!devDebug">\n      {{ observation.ask | json }}\n    </div>\n\n  </div>\x3c!-- /CONTAINER--\x3e\n\n  <div *ngIf="!!devDebug" class="container">\n    <div>{{observation |json }}</div>\n  </div>\n\n</div>\n\n\x3c!-- PAGE SPINNER --\x3e\n<div *ngIf="!dataReady">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n\x3c!-- PAGE ERROR --\x3e\n<div *ngIf="dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="sportsfly" [error]="error"></nlf-ors-error>\n</div>\n\n\x3c!-- MODAL VERSIONS --\x3e\n<ng-template #modalVersions>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      OBSREG#{{ observation.id }} version {{ observation._version }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    Not implemented yet\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL VERSIONS --\x3e\n\n\x3c!-- MODAL PREVIEW --\x3e\n<ng-template #modalPreview>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ preview.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="preview.what===\'components\'">\n      <nlf-report-components-timeline [components]="observation.components" [activity]="observation._model.type">\n      </nlf-report-components-timeline>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n</ng-template>\n\x3c!-- /MODAL PREVIEW --\x3e\n\n\x3c!-- ACTIVITY MODAL ---\x3e\n<ng-template #activityModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <nlf-ors-activities-timeline [observation]="observation"></nlf-ors-activities-timeline>\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\x3c!-- //ACTIVITY --\x3e\n\n\x3c!-- DIFF MODAL ---\x3e\n<ng-template #diffModal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      #{{ observation.id }}\n      <nlf-resolve-observation-tags [tags]="observation.tags" [activity]="observation._model.type"\n        seperator="/"></nlf-resolve-observation-tags>\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="closeActivities()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <pre>\n    {{ getDiff() | json }}\n    </pre>\n    {{ this.shadow.when }} || {{ this.observation.when }}\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="closeActivities()">\n      <fa-icon [icon]="faTimes"></fa-icon> Lukk\n    </button>\n\n  </div>\n</ng-template>\n\n<div *ngIf="!!devDebug">\n  <pre>{{observation | json}}</pre>\n</div>\n'},45081:de=>{"use strict";de.exports='<div *ngIf="dataReady && !error" id="testpdf">\n  <header class="nlf-sticky-toolbar">\n    <div class="container lead">\n      <hotkeys-cheatsheet title="Hotkeys Rock!"></hotkeys-cheatsheet>\n      \x3c!-- TITLE --\x3e\n\n      \x3c!-- <fa-icon [icon]="fileAlt"></fa-icon>&nbsp;--\x3e\n      \x3c!-- {{ observation.tags | nlfOrsTags: \' / \'}} --\x3e\n      <a [routerLink]="[\'/ors\', observation._model.type]">OBSREG</a>#{{\n        observation.id\n      }}\n      <nlf-resolve-observation-tags\n        [tags]="observation.tags"\n        [activity]="observation._model.type"\n        link="true"\n        seperator="/"\n      ></nlf-resolve-observation-tags\n      >&nbsp;\n      \x3c!-- /TITLE --\x3e\n      \x3c!-- RATING --\x3e\n      <span\n        ngbTooltip="{{ observation.rating.actual }} av {{\n          observation.rating.potential\n        }}"\n        container="body"\n        *ngIf="!!observation.rating"\n        class="badge bg-{{\n          observation.rating | nlfOrsRatingCalc | nlfDynamicColor\n        }}"\n        >{{ observation.rating | nlfOrsRatingCalc }}</span\n      >\n\n      \x3c!-- DIFFERENT VERSION --\x3e\n      <span\n        *ngIf="observation._version !== observation._latest_version"\n        class="badge bg-warning"\n      >\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'report\',\n            observation.id\n          ]"\n          >v{{ observation._version }} av {{ observation._latest_version }}</a\n        >\n      </span>\n      \x3c!-- /DIFFERENT VERSION --\x3e\n\n      \x3c!-- RATING TEST\n\t\t\t<rating [ngModel]="observation.rating.actual" max="8" readonly="true"></rating> / <rating [ngModel]="observation.rating.potential" max="8" readonly="true"></rating>\n\t\t\t /RATING TEST --\x3e\n\n      \x3c!-- WORKFLOW STATE --\x3e\n      <span class="float-end">\n        <a\n          [routerLink]="[\n            \'/ors\',\n            observation._model.type,\n            \'edit\',\n            observation.id\n          ]"\n          *ngIf="observation.acl_user.x || observation.acl_user.w || (observation.workflow.state != \'closed\' && observation.acl_user.r)"\n          class="badge bg-primary text-white mx-1"\n        >\n          <fa-icon [icon]="faEdit"></fa-icon> Editor\n        </a>\n        <nlf-resolve-observation-state\n          [activity]="observation._model.type"\n          [state]="observation.workflow.state"\n          icon="true"\n        ></nlf-resolve-observation-state>\n      </span>\n      \x3c!-- /WORKFLOW STATE --\x3e\n\n      <nlf-ors-report-e5x\n        [observation]="observation"\n        class="float-end"\n      ></nlf-ors-report-e5x>\n    </div>\n  </header>\n  \x3c!-- /END HEADER --\x3e\n  <div class="container">\n    <div class="row">\n      \x3c!-- Summary table --\x3e\n      <div class="col-md-6 table-responsive">\n        <nlf-ors-sportsfly-report-summary\n          [observation]="observation"\n        ></nlf-ors-sportsfly-report-summary>\n      </div>\n\n      <div class="col-md-6">\n        <div class="col-md-12">\n          \x3c!-- MAP --\x3e\n          <div\n            *ngIf="\n              !!observation.occurrence.attributes.latitudeOfOcc.value ||\n              !!observation.occurrence.attributes.longitudeOfOcc.value\n            "\n          >\n            <div class="row" style="height: 400px">\n              <div class="col-xs-12 position-relative">\n                <nlf-ors-report-flight-map\n                  [aircraft]="observation.aircrafts"\n                  [where]="[\n                    observation.occurrence.attributes.latitudeOfOcc.value,\n                    observation.occurrence.attributes.longitudeOfOcc.value\n                  ]"\n                ></nlf-ors-report-flight-map>\n              </div>\n            </div>\n\n            <div class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              {{\n                observation.occurrence.attributes.locationName.value ||\n                  "Sted ikke angitt"\n              }}\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lng:\n                {{\n                  observation.occurrence.attributes.longitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n              <span class="mx-2 badge bg-secondary float-end"\n                >Lat:\n                {{\n                  observation.occurrence.attributes.latitudeOfOcc.value\n                    | number: \'1.4-4\'\n                }}</span\n              >\n            </div>\n            <div>\n              <nlf-ors-editor-tag-e5x-render\n                [showLabel]="false"\n                [items]="observation.occurrence.attributes.stateAreaOfOcc.value"\n                path="E5X.Occurrence.StateAreaOfOcc"\n              ></nlf-ors-editor-tag-e5x-render>\n            </div>\n          </div>\n\n          <div *ngIf="!observation.occurrence.attributes.latitudeOfOcc.value || !observation.occurrence.attributes.longitudeOfOcc.value">\n            <ngb-alert type="info" [dismissible]="false" class="mt-2">\n              <fa-icon [icon]="faMapMarker"></fa-icon>\n              Informasjon om posisjon for hendelse er ikke angitt\n            </ngb-alert>\n          </div>\n        </div>\n\n         \x3c!-- Involved --\x3e\n        <div class="col-md-12 mt-3" *ngIf="observation.aircrafts.length > 0">\n          <h3 class="h5">\n            <fa-icon [icon]="faPlane"></fa-icon> Involverte fart\xf8y\n          </h3>\n          <div *ngFor="let aircraft of observation.aircrafts" class="my-2">\n            <nlf-aircraft-summary\n              [callsign]="aircraft.aircraft.callsign"\n              [model]="aircraft.aircraft.model || undefined"\n              [manufacturer]="aircraft.aircraft.manufacturer || undefined"\n            ></nlf-aircraft-summary>\n          </div>\n        </div>\n        \x3c!-- /Involved --\x3e\n      </div>\n    </div>\n\n    \x3c!-- Workflow\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\n\t\t\t\t\t\t<div (click)="isWorkflowTimelineCollapsed = !isWorkflowTimelineCollapsed" class="card-header pointer">\n\t\t\t\t\t\t\t<fa-icon [icon]="faRandom"></fa-icon>\n\t\t\t\t\t\t\tArbeidsflyt\n\t\t\t\t\t\t\t<i class="fa fa-fw" [ngClass]="{\'fa-angle-down\': isWorkflowTimelineCollapsed, \'fa-angle-up\': !isWorkflowTimelineCollapsed}"></i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div [ngbCollapse]="isWorkflowTimelineCollapsed">\n\t\t\t\t\t\t\t<nlf-ors-report-workflow-timeline [activity]="observation._model.type" [_id]="observation._id" [workflow]="observation.workflow"></nlf-ors-report-workflow-timeline>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n        <div class="row mb-4">\n          \x3c!-- NARRATIVE --\x3e\n          <div class="col-md-12 col-lg-6 mt-3">\n            <h3 class="h5">\n              <fa-icon [icon]="faCommenting"></fa-icon> Hendelsesforl\xf8p\n            </h3>\n            <div class="bg-light p-3">\n              <ng-container *ngIf="observation.occurrence.entities.hasOwnProperty(\'narrative\') && observation.occurrence.entities.narrative.length > 0">\n                <div class="narrative">{{ observation.occurrence.entities.narrative[0].attributes.narrativeText.plainText }}</div>\n              </ng-container>\n              <ng-container *ngIf="observation.occurrence.entities.reportingHistory[0].attributes.hasOwnProperty(\'reporterSDescription\')">\n                <div class="narrative">{{ observation.occurrence.entities.reportingHistory[0].attributes.reporterSDescription.plainText }}</div>\n              </ng-container>\n            </div>\n          </div>\n          \x3c!-- /NARRATIVE --\x3e\n\n          \x3c!-- Verdicts --\x3e\n          <div class="col-md-12 col-lg-6 mt-3">\n            <div class="col-md-12">\n              <h3 class="h5">\n                <fa-icon [icon]="faComments"></fa-icon> Vurderinger\n              </h3>\n            </div>\n\n            \x3c!-- ASK comments --\x3e\n            <div class="col-md-12">\n              <div *ngIf="!!observation.ask && !!observation.ask.text">\n                <nlf-ors-report-ask-text\n                  [comments]="observation.ask.text"\n                  [audit]="observation.workflow.audit"\n                  [activity]="observation._model.type"\n                ></nlf-ors-report-ask-text>\n              </div>\n            </div>\n\n            \x3c!-- ASK matrix --\x3e\n            <div class="col-md-12 pt-2">\n              <nlf-ors-report-ask\n                [ask]="observation.ask"\n                [verbose]="true"\n              ></nlf-ors-report-ask>\n            </div>\n          </div>\n          \x3c!-- /verdicts --\x3e\n        </div>\n\n    \x3c!-- Files --\x3e\n    <div class="row" *ngIf="observation.files.length > 0">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faFile"></fa-icon> Vedlegg</h3>\n        <nlf-ors-report-files\n          [files]="observation.files"\n          [state]="observation.workflow.state"\n        ></nlf-ors-report-files>\n      </div>\n    </div>\n    \x3c!-- /Files --\x3e\n\n    \x3c!-- Components timeline - forl\xf8pet\n\t\t\t\t<div class="row">\n\t\t\t\t\t<div class="col-md-12">\n\t\t\t\t\t\t<nlf-report-components-timeline [activity]="observation._model.type" [components]="observation.components"></nlf-report-components-timeline>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!-- ON GROUND\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faStreetView"></fa-icon> P\xe5 bakken\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /ON GROUND --\x3e\n\n    \x3c!-- Weather\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faCloud"></fa-icon> V\xe6ret\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /Weather --\x3e\n\n    \x3c!-- ATM\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faUsers"></fa-icon> ATM involvert\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /ATM --\x3e\n\n    \x3c!-- AERODROME\n\t\t<div class="row">\n\t\t\t<div class="col-md-12">\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<fa-icon [icon]="faRoad"></fa-icon> Aerodrome\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t</div>\n\t\t /AERODROME --\x3e\n\n    \x3c!-- Actions --\x3e\n    <div class="row" *ngIf="(observation.actions?.local && observation.actions?.local?.length > 0) || (observation.actions?.central && observation.actions?.central?.length > 0)">\n      <div class="col-md-12">\n        <h3 class="h5"><fa-icon [icon]="faBolt"></fa-icon> Tiltak</h3>\n        <nlf-ors-report-actions\n          [actions]="observation.actions"\n        ></nlf-ors-report-actions>\n      </div>\n    </div>\n    \x3c!-- /Actions --\x3e\n\n    \x3c!-- Related --\x3e\n    <div\n      *ngIf="!!observation.related && observation.related?.length > 0"\n      class="row"\n    >\n      <div class="col-md-12">\n        <h3 class="h5">\n          <fa-icon [icon]="faExternalLink"></fa-icon> Relaterte\n        </h3>\n        <nlf-ors-report-related\n          [related]="observation.related"\n        ></nlf-ors-report-related>\n      </div>\n    </div>\n    \x3c!-- /Related --\x3e\n\n    \x3c!--\n\t\t\t\t<hr>\n\t\t\t\t<div class="card-header">\n\t\t\t\t\t<h3>Tester under</h3>\n\t\t\t\t</div>\n\t\t\t\t<div class="card-header">DIFF TEST</div>\n\t\t\t\t<pre semanticDiff [left]="left" [right]="right"></pre>\n\n\n\n\t\t\t\t<div *ngIf="!!observationDiff" class="row">\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Forrige</p>{{ observationDiff[1] | json }}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class="col-md-6">\n\t\t\t\t\t\t<p class="lead">Siste</p>{{ observationDiff[0] | json }}\n\t\t\t\t\t</div>\n\n\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t\t<div class="card" style="width: 22rem;">\n\t\t\t\t\t<img class="card-img-top img-fluid" src="{{ currentImage }}" alt="Card image cap">\n\t\t\t\t\t<div class="card-body">\n\t\t\t\t\t\t<h5 class="card-header">Your image</h5>\n\t\t\t\t\t\t<form>\n\t\t\t\t\t\t\t<div class="form-group">\n\t\t\t\t\t\t\t\t<input class="form-control-file" type="file" (change)="onUpload($event)">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t--\x3e\n\n    \x3c!--\n\t\t\t<h2>F\xf8lgende er registrert:</h2>\n\t\t\t<label>Id</label>\n\t\t\t<pre>{{observation.id}}</pre>\n\t\t\t<pre>{{observation._id}}</pre>\n\n\t\t\t<label>Created</label>\n\t\t\t<pre>{{observation._created | date:\'yyyy-MM-dd HH:mm\'}}</pre>\n\n\t\t\t<label>Club</label>\n\t\t\t<pre>{{observation.club | json}}</pre>\n\n\t\t\t<label>Acl</label>\n\t\t\t<pre>{{observation.acl | json}}</pre>\n\n\t\t\t<label>Type</label>\n\t\t\t<pre>{{observation.type | json}}</pre>\n\n\t\t\t<label>Flags</label>\n\t\t\t<pre>{{observation.flags | json}}</pre>\n\n\t\t\t<label>Rating</label>\n\t\t\t<pre>{{observation.rating | json}}</pre>\n\n\t\t\t<label>Kunnskap ferdigheter holdning</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Location</label>\n\t\t\t<pre>{{observation.location | json}}</pre>\n\n\t\t\t<label>Files</label>\n\t\t\t<pre>{{observation.files | json}}</pre>\n\n\t\t\t<label>When</label>\n\t\t\t<pre>{{observation.when | json}}</pre>\n\n\t\t\t<label>Tags</label>\n\t\t\t<pre>{{observation.tags | json}}</pre>\n\n\t\t\t<label>Organization</label>\n\t\t\t<pre>{{observation.organization | json}}</pre>\n\n\t\t\t<label>Involved</label>\n\t\t\t<pre>{{observation.involved | json}}</pre>\n\n\t\t\t<label>Components</label>\n\t\t\t<pre>{{observation.components | json}}</pre>\n\n\t\t\t<label>Weather</label>\n\t\t\t<pre>{{observation.weather | json}}</pre>\n\n\t\t\t<label>Vurdering</label>\n\t\t\t<pre>{{observation.ask | json}}</pre>\n\n\t\t\t<label>Tiltak</label>\n\t\t\t<pre>{{observation.actions | json}}</pre>\n\n\n\t\t\t<label>Workflow</label>\n\t\t\t<pre>{{observation.workflow | json}}</pre>\n\t\t\t--\x3e\n  </div>\n</div>\n<div *ngIf="!dataReady && !error">\n  <nlf-ui-page-spinner size="5"></nlf-ui-page-spinner>\n</div>\n\n<div *ngIf="!dataReady && !!error">\n  <nlf-ors-error [id]="id" activity="sportsfly" [error]="error"></nlf-ors-error>\n</div>\n'},56356:de=>{"use strict";de.exports='<table class="table table-sm table-hover">\n  <tbody>\n    <tr style="border-top: none !important">\n      <td style="border-top: none !important">Klubb</td>\n      <td style="border-top: none !important">\n        <nlf-resolve-lungo-organization [organization_id]="observation.club" link="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Gren</td>\n      <td>\n        <nlf-resolve-lungo-organization [organization_id]="observation.discipline" link="true" show_activity="true"></nlf-resolve-lungo-organization>\n      </td>\n    </tr>\n    <tr>\n      <td>Observat\xf8r</td>\n      <td>\n        <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="observation.reporter"></nlf-resolve-lungo-person>\n      </td>\n    </tr>\n\n    \x3c!-- FTL --\x3e\n    <tr *ngIf="observation.organization.hasOwnProperty(\'ftl\')">\n      <td>FTL i klubb</td>\n      <td>\n        <div *ngFor="let ftl of observation.organization.ftl">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="ftl"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- DTO @TODO Remove\n    <tr>\n      <td>DTO i klubb</td>\n      <td>\n        <div *ngFor="let dto of observation.organization.dto">\n          <nlf-resolve-lungo-person [avatar]="true" [link]="true" [person_id]="dto"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n  --\x3e\n\n    \x3c!-- OBSREG-KOORDINATORER --\x3e\n    <tr>\n      <td>OBSREG-Koordinator</td>\n      <td>\n        <div *ngFor="let ors of observation.organization.ors">\n          <nlf-resolve-lungo-person [person_id]="ors" [avatar]="true" [link]="true"></nlf-resolve-lungo-person>\n        </div>\n      </td>\n    </tr>\n\n    \x3c!-- TYPE --\x3e\n    <tr>\n      <td>Type</td>\n      <td>\n        <nlf-resolve-observation-types [activity]="observation._model.type" [type]="observation.type" badge="true"></nlf-resolve-observation-types>\n        <span class="float-end">\n          <nlf-ors-report-ask [ask]="observation.ask" [verbose]="false"></nlf-ors-report-ask>\n        </span>\n      </td>\n    </tr>\n\n\n    \x3c!-- TYPE E5X--\x3e\n    <tr>\n      <td title="Occurence Class">Klassifisering</td>\n      <td>\n        <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.occurrenceClass.value" path="E5X.Occurrence.OccurrenceClass"></nlf-ors-editor-tag-e5x-render>\n        <span class="float-end">\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.injuryLevel.value" path="E5X.Occurrence.InjuryLevel"></nlf-ors-editor-tag-e5x-render>\n          /\n          <nlf-ors-editor-tag-e5x-render [showLabel]="false" [items]="observation.occurrence.attributes.highestDamage.value" path="E5X.Occurrence.HighestDamage"></nlf-ors-editor-tag-e5x-render>\n        </span>\n      </td>\n    </tr>\n\n    \x3c!-- RATING --\x3e\n    <tr *ngIf="!!observation.rating">\n      <td>Alvorlighetsgrad</td>\n      \x3c!--<td>{{ observation.rating.actual }} av {{ observation.rating.potential }} <span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="float-end badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>--\x3e\n      <td><span ngbTooltip="{{ observation.rating.actual }} av {{ observation.rating.potential }}" container="body" class="badge bg-{{observation.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ observation.rating | nlfOrsRatingCalc }}</span></td>\n    </tr>\n\n    <tr *ngIf="!!observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value">\n      <td>Event Risk Classification</td>\n      <td><span container="body" class="badge bg-{{observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value | nlfDynamicColorErc}}">{{ observation.occurrence.entities.reportingHistory[0].attributes.riskClassification.value }}</span></td>\n    </tr>\n\n    \x3c!-- FLAGG --\x3e\n    <tr>\n      <td>Flagg</td>\n      <td>\n        <div *ngIf="!!observation.flags">\n          <span *ngIf="!!observation.flags.insurance">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="insurance"></nlf-resolve-observation-flags>\n          </span>\n          <span *ngIf="!!observation.flags.aviation">\n            <nlf-resolve-observation-flags [activity]="observation._model.type" flag="aviation"></nlf-resolve-observation-flags>\n          </span>\n\n        </div>\n        <span *ngIf="!observation.flags || (!observation.flags.aviation && !observation.flags.insurance)">Ingen</span>\n      </td>\n\n    </tr>\n\n    \x3c!-- FART\xd8Y--\x3e\n    <tr>\n      <td>Fart\xf8y</td>\n      <td>\n        <div *ngFor="let a of observation.aircrafts">\n          <a *ngIf="!a.aircraft.callsign.startsWith(\'FLY\')" [routerLink]="[\'/\', \'aircraft\', \'view\', a.aircraft.callsign]">{{ a.aircraft.callsign }}</a>\n          <span *ngIf="a.aircraft.callsign.startsWith(\'FLY\')">{{ a.aircraft.callsign }}</span>\n        </div>\n      </td>\n    </tr>\n\n\n\n\n\n    \x3c!-- WHEN --\x3e\n    <tr>\n      <td>Tidspunkt</td>\n      <td>{{ observation.when | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CREATED --\x3e\n    <tr>\n      <td>Opprettet</td>\n      <td>{{ observation._created | date:\'yyyy-MM-dd HH:mm\'}}</td>\n    </tr>\n    \x3c!-- CLOSED? --\x3e\n    <tr>\n      <td>Lukket</td>\n      <td *ngIf="observation.workflow.state==(\'closed\' || \'withdrawn\')">{{ observation.workflow.last_transition | date:\'yyyy-MM-dd HH:mm\' }}</td>\n      <td *ngIf="observation.workflow.state!=(\'closed\' || \'withdrawn\')">\n        <span class="text-danger">Under behandling</span>\n      </td>\n    </tr>\n    \x3c!-- VERSION --\x3e\n    <tr>\n      <td>Versjon</td> \x3c!-- @TODO: Generate list of versions and link to them /report/:id?v=1 or /report/:id/:version --\x3e\n      <td>\n        {{ observation._version }} <span *ngIf="observation._version !== observation._latest_version">\n          av <a [routerLink]="[\'/ors\', observation._model.type, \'report\', observation.id]">{{ observation._latest_version }}</a></span>\n      </td>\n    </tr>\n\n    \x3c!-- TURNAROUND --\x3e\n    <tr>\n      <td>Behandlingstid</td>\n      <td>{{ turnaround }}</td>\n    </tr>\n\n    \x3c!-- INVOLVED\n    <tr>\n      <td>Involverte</td>\n      <td>{{ observation.involved | count }}</td>\n    </tr>\n  --\x3e\n    \x3c!-- VERDICTS\n    <tr>\n      <td>Kjennelser</td>\n      <td>\n        <div *ngIf="numberOfInvolved > 0">\n          <div *ngFor="let v of observation.involved">\n            <div *ngIf="!!v.verdict">\n              <div *ngIf="!!v.verdict.fu" class="badge bg-warning me-1">Farlig Ukontrollert </div>\n              <div *ngIf="!!v.verdict.ph" class="badge bg-danger me-1">Permanent Hoppforbud </div>\n              <div *ngIf="!!v.verdict.mh" class="badge bg-danger">Midlertidig Hoppforbud</div>\n            </div>\n          </div>\n        </div>\n        <div *ngIf="numberOfInvolved === 0">Ingen</div>\n      </td>\n    </tr>\n    --\x3e\n  </tbody>\n</table>\n'},54969:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container">\n\n    <span class="breadcrumb">\n      <li class="breadcrumb-item">\n        <a [routerLink]="[\'/ors\', \'sportsfly\']">OBSREG</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li class="breadcrumb-item">\n\n        <a>S\xf8k</a>\n        \x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n      </li>\n      <li *ngIf="!!text" class="breadcrumb-item active">\n        {{ text }}\n      </li>\n    </span>\n\n    <button *ngIf="!!query" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="Funksjonen kommer snart" disabled>\n      <fa-icon [icon]="faSave"></fa-icon> Lagre s\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-search-sportsfly"></nlf-help>\n\n  </div>\n</header>\n\n<div class="container">\n  <div class="row mt-3">\n\n    <div class="col-md-3 bg-light p-2">\n      <label class="lead"><fa-icon [icon]="faFilter"></fa-icon> Filter</label>\n      <div class="row">\n        <label>Fritekst:</label>\n        <input placeholder="Fritekst" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="text">\n      </div>\n\n      \x3c!-- ANON DO NOT WORK ANYMORE\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="Kjennetegn" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.callsign\']">\n      </div>\n      --\x3e\n\n      <div class="row">\n        <label>Fart\xf8y:</label>\n        <input placeholder="Produsent" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.manufacturer\']">\n        <input placeholder="Model" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.aircraft.model\']">\n      </div>\n\n      <div class="row">\n        <label>Flyplass:</label>\n        <input oninput="this.value=this.value.toUpperCase()" placeholder="ICAO" class="form-control" type="text" (ngModelChange)="debouncedUpdate()" [(ngModel)]="filter[\'aircrafts.flight.from.icao\']">\n      </div>\n\n      <div class="row mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="reset()" class="btn btn-secondary">Reset filter</button>\n        </div>\n      </div>\n\n      <div *ngIf="!!result?._items" class="mt-3">\n        <div class="d-grid gap-2">\n          <button (click)="exportTojson()" class="btn btn-secondary"><fa-icon [icon]="faDownload"></fa-icon> Last ned</button>\n        </div>\n      </div>\n    </div>\n\n    <div class="col-md-9">\n      \x3c!-- SEARCH RESULTS --\x3e\n      <div class="lead">\n        <div *ngIf="!!result && !searching">\n          Fant {{ result._meta.total }} resultater\n        </div>\n\n        <div *ngIf="(!result || result._meta.total == 0) && !searching">\n          Ingen resultater\n        </div>\n\n        <div *ngIf="searching">\n          S\xf8ker...\n        </div>\n      </div>\n\n      <div class="my-2 p-1 div_hover" *ngFor="let r of result?._items; let isOdd=odd;" [class.bg-light]="isOdd">\n\n        <a [routerLink]="[\'/ors\', activity,\'report\', r.id]">#{{ r.id }} - {{ r.tags | join: \'/\'}}</a>\n\n\n        <span class="float-end mx-1">\n          <nlf-resolve-observation-state [activity]="r._model.type" [state]="r.workflow.state" icon="true"></nlf-resolve-observation-state>\n          <span *ngIf="!!r.rating" class="mx-1 badge bg-{{r.rating | nlfOrsRatingCalc | nlfDynamicColor}}">{{ r.rating | nlfOrsRatingCalc }}</span>\n        </span>\n\n        <div class="small" *ngFor="let a of r.aircrafts">\n          <fa-icon [icon]="faPlane"></fa-icon> {{ a.aircraft.callsign }} {{ a.aircraft.model }} {{ a.aircraft.manufacturer }}\n          <div>\n            <span class="small" *ngFor="let route of a.flight; let idx = index">\n              <span *ngIf="idx==0">{{ route.from.icao }}</span>\n              <fa-icon [icon]="faLongArrowRight"></fa-icon> {{ route.to.icao }}\n            </span>\n          </div>\n        </div>\n\n      </div>\n    </div>\n\n  </div>\n</div>\n\n<ng-template #saveTemplate>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      Lagre s\xf8ket\n    </h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n\n  <div class="modal-body">\n    <div class="form-group">\n      <label>S\xf8kenavn</label>\n      <input class="form-control" type="text" [disabled]="true" [value]="text || \'\'">\n    </div>\n\n    <div class="form-group my-3">\n      <div class="form-check">\n        <input [disabled]="true" class="form-check-input" type="checkbox" value="" id="defaultCheck1">\n        <label class="form-check-label" for="defaultCheck1">\n          Varsle meg ved nye resultater\n        </label>\n      </div>\n    </div>\n\n    <div class="form-group">\n      <label>S\xf8ket ga {{ result._meta.total }} resultater</label>\n      <textarea [disabled]="true" class="form-control" [value]="this.getQuery() | json" rows="3"></textarea>\n    </div>\n\n\n  </div>\n\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Avbryt</button>\n    <button [disabled]="true" class="btn btn-primary" (click)="modalRef.close()">Lagre</button>\n  </div>\n</ng-template>\n'},55036:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    OBSREG Sportsfly\n\n    <button [routerLink]="[\'/ors\', \'sportsfly\', \'search\']" type="button" class="btn btn-sm btn-primary float-end">\n      <fa-icon [icon]="faSearch"></fa-icon> S\xf8k\n    </button>\n\n    <nlf-help class="float-end mx-1" key="ors-sportsfly"></nlf-help>\n  </div>\n\n\n</header>\n\n<div class="container">\n\n  <div class="row">\n    \x3c!-- MY --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faUser" class="text-secondary"></fa-icon> Mine observasjoner\n      </div>\n      <nlf-ors-self-table activity="sportsfly"></nlf-ors-self-table>\n    </div>\n    \x3c!-- MY TODO --\x3e\n    <div class="col-md-6 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faExchange" class="text-secondary"></fa-icon> Til min behandling\n      </div>\n      <nlf-ors-todo-table activity="sportsfly"></nlf-ors-todo-table>\n    </div>\n\n    \x3c!-- Group = tight, with padding deck = spacing, no padding card-body style="padding: 0;"\n      <div class="card-deck">\n\n        <div class="card mb-3 me-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faUser"></fa-icon>Mine observasjoner</h5>\n          <div class="card-body table-responsive" style="padding: 0;">\n\n          </div>\n        </div>\n\n        <div class="card mb-3 ms-1">\n          <h5 class="card-header">\n            <fa-icon [icon]="faRandom"></fa-icon>Til min behandling</h5>\n          <div class="card-body" style="padding: 0;">\n            <nlf-ors-todo-table  activity="sportsfly"></nlf-ors-todo-table>\n          </div>\n        </div>\n      </div>\n      --\x3e\n  </div>\n</div>\n\n\x3c!-- CREATE --\x3e\n<div class="py-5 nlf-bg-blue col-md-12">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n      <nlf-ors-sportsfly-create></nlf-ors-sportsfly-create>\n    </p>\n  </div>\n</div>\n\n\x3c!-- ALL OBSREG --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12 col-xs-12 overflow-auto">\n      <div class="nlf-ors-toolbar">\n        <fa-icon [icon]="faList" class="text-secondary"></fa-icon> Alle observasjoner\n      </div>\n      <nlf-ors-all-table activity="sportsfly"></nlf-ors-all-table>\n    </div>\n  </div>\n</div>\n'},89882:de=>{"use strict";de.exports='\n\x3c!--\n<agm-map *ngIf="dataReady"\n[latitude]="59.3002"\n[mapTypeControl]="true"\n[longitude]="10.3676"\n(mapReady)="onMapLoad($event)"\n [zoom]="8">\n\n</agm-map>\n--\x3e'},94901:de=>{"use strict";de.exports="<p>\n  ors-stats works!\n</p>\n"},84155:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n  <div class="container lead">\n    NLF OBSREG\n\n    \x3c!--\n    <button [routerLink]="[\'/ors\', \'fallskjerm\', \'search\']" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faSearch""></fa-icon> S\xf8k\n    </button>\n\n    <button *ngIf="!!user_settings && user_settings?.settings?.default_activity==109" [routerLink]="[\'/ors\', \'fallskjerm\', \'dashboard\', user_settings?.settings?.default_discipline]" type="button" class="btn btn-sm btn-primary float-end mx-1">\n      <fa-icon [icon]="faDashboard""></fa-icon> Dashboard\n    </button>\n\n    <nlf-ors-go activity="fallskjerm" class="float-end mx-1" title="Hurtigvalg, skriv inn OBSREG nummer etterfulgt av enter for \xe5 g\xe5 til OBSREG"></nlf-ors-go>\n\n    <nlf-help class="float-end mx-1" key="ors-fallskjerm"></nlf-help>\n\n  --\x3e\n\n  </div>\n\n\n</header>\n\n\x3c!-- CARD DECK --\x3e\n<div class="container">\n  <div class="row mt-3">\n    <div class="col-md-12">\n      <div class="row mb-3">\n        \x3c!--<nlf-user-profile></nlf-user-profile>--\x3e\n        \x3c!--\n        <div class="card">\n          <div class="card-header">Opprett Observasjon</div>\n\n         <div class="card-body">\n            <span class="text-center">\n              <nlf-ors-create></nlf-ors-create>\n            </span>\n          </div>\n          <div class="card-footer">\n            <div class="d-grid gap-2">\n              <a class="btn btn-primary" [routerLink]="[\'/user/profile\']" role="button">Oppdater profil &raquo;</a>\n            </div>\n          </div>\n        </div>--\x3e\n        \x3c!-- END USER OR OBSREG --\x3e\n        <div class="col-md-3">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header"><i class="nlf nlf-motorfly nlf-fw"></i> Motorfly OBSREG</div>\n\n            <nlf-ors-last activity="motorfly" number="8">Ingen registrerte</nlf-ors-last>\n\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'motorfly\']" role="button">Motorfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-3">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-fallskjerm nlf-fw"></i> Fallskjerm OBSREG\n            </div>\n            <nlf-ors-last activity="fallskjerm" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'fallskjerm\']" role="button">Fallskjerm OBSREG\n                  &raquo;</a>\n                </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-3">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-mikrofly nlf-fw"></i> Sportsfly OBSREG\n            </div>\n            <nlf-ors-last activity="sportsfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'sportsfly\']" role="button">Sportsfly OBSREG\n                  &raquo;</a>\n                </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-3">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-seilfly nlf-fw"></i> Seilfly OBSREG\n            </div>\n            <nlf-ors-last activity="seilfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'seilfly\']" role="button">Seilfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-3">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-modell nlf-fw"></i> Modellfly OBSREG\n            </div>\n            <nlf-ors-last activity="modellfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'modellfly\']" role="button">Modellfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n        \x3c!-- /CARD DECK --\x3e\n\n      </div>\n\n    </div>\n  </div>\n</div>\n\n'},40774:de=>{"use strict";de.exports='<ngb-alert class="page-alert"\n[ngClass]="{\'fixed-top\': !message.inline}"\n*ngIf="message" [type]="message.type"\n[dismissible]="true" (close)="close()">\n  <fa-icon *ngIf="message.type === \'success\'" [fixedWidth]="true" [icon]="faCheck"></fa-icon>\n  <fa-icon *ngIf="message.type === \'info\'" [fixedWidth]="true" [icon]="faInfoCircle"></fa-icon>\n  <fa-icon *ngIf="message.type === \'warning\'" [fixedWidth]="true" [icon]="faExclamationCircle"></fa-icon>\n  <fa-icon *ngIf="message.type === \'danger\'" [fixedWidth]="true" [icon]="faExclamationTriangle"></fa-icon>\n   {{ message.text }}\n</ngb-alert>\n'},41510:de=>{"use strict";de.exports='\x3c!--<div class="nlf-page-center">--\x3e\n<div class="text-center">\n\n  <div class="d-none d-sm-block">\n    <div class="nlf-stack-wide nlf-5x my-2">\n      <i [ngClass]="{\'nlf-spin nlf-propeller\': !!auth.loading}" class="nlf nlf-stack-2x text-dark"></i>\n      <i class="nlf nlf-logo-plain nlf-stack-2x text-dark"></i>\n    </div>\n  </div>\n\n  <div *ngIf="!!auth.loading">\n    <p class="card-text">Authenticating, please wait...</p>\n  </div>\n</div>\n\n\n\n<div *ngIf="!auth.loading">\n  <div class="card mx-auto" style="max-width: 450px; width: 100%">\n\n    <div class="card-header text-center">\n      <h2>Login</h2>\n    </div>\n\n    <div class="card-body text-center">\n      \x3c!-- ALERT OAUTH ERROR--\x3e\n      <div *ngIf="!!oauth_error && !!oauth_error_descr" class="alert alert-danger" role="alert">\n        <h4 class="alert-heading">ERROR {{ oauth_error | split: \'_\' | join: \' \' | upperfirst }}</h4>\n        <p>{{ oauth_error_descr }}</p>\n        <hr>\n        <p *ngIf="oauth_error==\'invalid_request\'" class="mb-0">\n          Ta kontakt med administrator, noe er galt med konfigurasjonen\n        </p>\n        <p *ngIf="oauth_error==\'unauthorized_client\'" class="mb-0">\n          Ta kontakt med administrator, noe er galt med konfigurasjonen\n        </p>\n        <p *ngIf="oauth_error==\'access_denied\'" class="mb-0">\n          Feil brukernavn og/eller passord eller\n          du er ikke medlem av p\xe5krevd seksjon(er). Fors\xf8k \xe5 logge deg inn i https://mi.nif.no\n        </p>\n        <p *ngIf="oauth_error==\'unsupported_response_type\'" class="mb-0">\n          Ta kontakt med administrator, noe er galt med konfigurasjonen\n        </p>\n        <p *ngIf="oauth_error==\'invalid_scope\'" class="mb-0">\n          Ta kontakt med administrator, noe er galt med konfigurasjonen\n        </p>\n      </div>\n\n      \x3c!-- LOGIN BTN --\x3e\n      <div *ngIf="!!status && status._status && status.message.mongo>0" class="d-grid gap-2">\n        <a (click)="loading=!loading" href="{{ ENV._auth_service }}?client_id={{ ENV._client_id }}&response_type={{ ENV._response_type }}&scope={{ ENV._scope }}&shebang={{ ENV._shebang }}&redirect_uri={{ _return_uri }}" class="btn btn-lg btn-primary" type="submit">\n          <span *ngIf="!loading">\n            <fa-icon [icon]="faLock"></fa-icon> Logg inn med NLF Auth\n          </span>\n          <span *ngIf="loading">\n            <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner><p>Authenticating, please wait....</p>\n          </span>\n\n        </a>\n      </div>\n\n      <ul class="list-group list-group-flush">\n\n        <li class="list-group-item">\n        </li>\n\n        <li class="list-group-item">\n\n          \x3c!-- MESSAGES\n          <div *ngIf="ENV.production" class="alert alert-warning" role="alert">\n            <strong>Fallskjerm</strong> OBSREG er tilgjengelig via <a href="https://ors.nlf.no">ors.nlf.no</a>\n          </div>\n          --\x3e\n\n          \x3c!-- DRIFTSSTATUS --\x3e\n          <div *ngIf="!!status">\n            <div *ngIf=" status._status && status.message.mongo > 0" class="alert alert-success" role="alert">\n              <strong>\n                <fa-icon [icon]="faCheck"></fa-icon> Status\n              </strong> alle systemer fungerer som normalt\n            </div>\n            <div *ngIf="!status._status || status.message.mongo < 1" class="alert alert-danger" role="alert">\n              <strong>\n                <fa-icon [icon]="faExclamationTriangle"></fa-icon>Status\n              </strong> det er problemer med noen systemer og det jobbes for \xe5 l\xf8se det. Du kan fors\xf8ke \xe5 <a href="{{_return_uri}}">refreshe</a> om litt.\n            </div>\n          </div>\n        </li>\n        <li class="list-group-item">\n          Innlogging skjer via <a href="https://auth.nlf.no" target="_blank">nlf-auth</a>, NLF\'s Oauth2 proxy til <a href="https://www.idrettsforbundet.no/digital/idrettens-id/" target="_blank">Idrettens Id</a>\n        </li>\n        <li *ngIf="ENV._name==\'prod\'" class="list-group-item">\n            Test system finnes p\xe5 <a href="https://dev.nlf.no">https://dev.nlf.no</a>\n        </li>\n        <li *ngIf="ENV._name!=\'prod\'" class="list-group-item bg-warning">\n            Dette er et testsystem, se <a href="https://app.nlf.no">https://app.nlf.no</a> for skarpt system.\n        </li>\n        <li class="list-group-item">\n        </li>\n        <li class="list-group-item">\n          <nlf-ui-footer></nlf-ui-footer>\n        </li>\n      </ul>\n    </div>\n  </div>\n</div>\n'},65677:de=>{"use strict";de.exports='<span class="pointer text-info" (click)="open(helpmodal)">\n  <fa-icon [icon]="faQuestion"></fa-icon>\n</span>\n\n<ng-template #helpmodal>\n\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      {{ help.title }}</h4>\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n\n    <p [innerHTML]="help.body | safe: \'html\'"></p>\n\n    <div *ngIf="!!details">\n\n      <hr />\n\n      <dl class="row">\n        <dt class="col-sm-3">Key</dt>\n        <dd class="col-sm-9">{{ key }}</dd>\n\n        <dt class="col-sm-3">Opprettet</dt>\n        <dd class="col-sm-9">{{ help._created | date:\'yyyy-MM-dd HH:mm\' }}</dd>\n\n        <dt class="col-sm-3">Oppdatert</dt>\n        <dd class="col-sm-9">{{ help._updated | date:\'yyyy-MM-dd HH:mm\' }}</dd>\n\n        <dt class="col-sm-3">Id</dt>\n        <dd class="col-sm-9">{{ help._id }}</dd>\n\n        <dt class="col-sm-3">Tilganger</dt>\n        <dd class="col-sm-9">\n          <div *ngFor="let r of help.acl.write.roles">\n            <nlf-resolve-role [roleid]="r"></nlf-resolve-role>\n          </div>\n          <div *ngFor="let user_id of help.acl.write.users">\n            <nlf-resolve-lungo-person [person_id]="user_id" link="true" avatar="true"></nlf-resolve-lungo-person>\n          </div>\n        </dd>\n\n        <dt class="col-sm-3"></dt>\n        <dd class="col-sm-9"></dd>\n\n        <dt class="col-sm-3"></dt>\n        <dd class="col-sm-9"></dd>\n\n        <dt class="col-sm-3"></dt>\n        <dd class="col-sm-9"></dd>\n      </dl>\n\n    </div>\n\n  </div>\n  <div class="modal-footer">\n    <button class="btn btn-outline-dark" (click)="modalRef.close()">Ferdig</button>\n  </div>\n\n</ng-template>\n'},72855:de=>{"use strict";de.exports='<img [src]="domSanitizer.bypassSecurityTrustUrl(svg_avatar)" alt="user" [class]="classes" [ngbTooltip]="tippy">\n\n<ng-template #tippy>\n  \x3c!-- if person_id not name or name only --\x3e\n  \x3c!--\n  <nlf-resolve-lungo-person *ngIf="!!person_id&&!person_name" [person_id]="person_id" [link]="false" [avatar]="false"></nlf-resolve-lungo-person>\n  <span *ngIf="!person_id&&!!person_name">{{ person_name || "Ukjent Navn"}}</span>\n--\x3e\n  {{ full_name || "Ukjent eller anonymisert navn"}}\n</ng-template>\n'},71457:de=>{"use strict";de.exports='<ng-container *ngIf="dataReady">\n  <img *ngIf="!!user.avatar" [src]="user.avatar" alt="user" class="avatar-img rounded-circle" [ngbTooltip]="tippy">\n  <nlf-resolve-avatar-letter *ngIf="!user.avatar" [person_id]="person_id"></nlf-resolve-avatar-letter>\n</ng-container>\n\n\x3c!-- <img  [src]="avatar_tmp_image" alt="user" class="avatar-img rounded-circle" [ngbTooltip]="tippy"> --\x3e\n<nlf-resolve-avatar-letter *ngIf="error" [person_id]="person_id"></nlf-resolve-avatar-letter>\n\n<ng-template #tippy>\n  <nlf-resolve-lungo-person [person_id]="person_id" [link]="false" [avatar]="false"></nlf-resolve-lungo-person>\n</ng-template>\n '},96169:de=>{"use strict";de.exports='  \x3c!-- WHOS GONNA BE NOTIIED? --\x3e\n  <span class="avatar-group avatar-group-sm avatar-group-overlapped mt-10">\n\n    \x3c!-- AVATARS --\x3e\n    <span *ngFor="let person_id of persons; let idx = index">\n      <div *ngIf="max>idx" class="avatar">\n      <nlf-resolve-avatar [person_id]="person_id" [title]="true"></nlf-resolve-avatar>\n      </div>\n    </span>\n    \x3c!-- Max numbers?? --\x3e\n    <div *ngIf="show_remaining && persons.length>max" class="avatar pointer" (click)="nextStep()">\n      <span [ngbTooltip]="persons.length" class="avatar-text avatar-text-green rounded-circle">\n        <span class="initial-wrap"><span>+{{ persons.length-max }}</span></span>\n      </span>\n    </div>\n    \x3c!-- persons modal --\x3e\n    <div *ngIf="show_modal && persons.length>0 && persons.length<=max" class="avatar pointer" (click)="openPersonsModal(peopleModalTemplate)">\n      <span ngbTooltip="vis liste" class="avatar-text avatar-text-green rounded-circle">\n        <span class="initial-wrap"><span><fa-icon [icon]="faList"></fa-icon></span></span>\n      </span>\n    </div>\n    \x3c!--<fa-icon class="pointer" [icon]="envelope-open-o"></fa-icon>--\x3e\n\n    \x3c!-- ADD RECEPIENT\n    <div *ngIf="1==4" class="avatar">\n      <a href="#">\n        <span class="add-new-plus">\n          <fa-icon [icon]="faPlus"></fa-icon>\n        </span>\n      </a>\n    </div>\n    --\x3e\n  </span>\n\n\n  <ng-template #peopleModalTemplate>\n\n      <div class="modal-header">\n        <h4 class="modal-title pull-left">\n          {{ modal_title }}\n        </h4>\n        <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n          <span aria-hidden="true">&times;</span>\n        </button>\n      </div>\n\n      <div class="modal-body">\n        <div *ngFor="let person_id of persons">\n          <nlf-resolve-lungo-person [person_id]="person_id" [link]="true" [avatar]="true"></nlf-resolve-lungo-person>\n        </div>\n      </div>\n\n      <div class="modal-footer">\n        <button class="btn btn-outline-dark" (click)="modalRef.dismiss()">Lukk</button>\n      </div>\n  </ng-template>\n'},53383:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n    <span *ngIf="!!link && club.id !== \'\'">\n        <a [routerLink]="[\'/ors/club\', club.id]">{{ club.name }}</a>\n    </span>\n    <span *ngIf="!link || club.id === \'\'">\n        {{ club.name }}\n    </span>\n</span>\n<span *ngIf="!dataReady">\n    <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>'},82868:de=>{"use strict";de.exports="<ng-container *ngIf=\"!!result[0]\">\n    {{ result[0][1][itemLabel] || 'ukjent' }} \n</ng-container> "},60746:de=>{"use strict";de.exports='\n\x3c!--\n"content_type": "image/jpeg",\n"name": "IMG_1323.JPG",\n"owner": 95001,\n"_created": "2015-03-17T13:18:15.000000Z",\n"size": 1853657,\n"_updated": "2015-03-17T13:18:15.000000Z",\n"_etag": "c5e89eeb0a91ac401234f30a87d7e68fa8f2b08c",\n"ref": "observations",\n"ref_id": "550828ce7ae7281d0091bdba",\n--\x3e\n\n<div *ngIf="dataReady">\n{{ data.name }} {{ data.content_type }} {{ data.size | bytes : 2 }} {{ data._created | date:\'yyyy-MM-dd HH:mm\' }} {{ data.ref }} {{ data.ref_id }}<nlf-resolve-lungo-person [person_id]="data.owner" [link]="false" [avatar]="true"></nlf-resolve-lungo-person>\n</div>\n'},39183:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <span *ngIf="!!link && activity.id !== \'\'">\n    <a [routerLink]="[\'/activity\', activity.id]">{{ activity.name }}</a>\n  </span>\n  <span *ngIf="!link || activity.id === \'\'">\n    {{ activity.name }}\n  </span>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>'},5638:de=>{"use strict";de.exports="\x3c!-- type_id id title approved_by_person_id _code _name date valid_until --\x3e\n<ng-container *ngIf=\"dataReady\">\n  <span>{{ competence?._code || '' }} {{ competence._name || competence.title }}</span>\n</ng-container>"},8284:de=>{"use strict";de.exports="<p>\n  resolve-lungo-country works!\n</p>\n"},77543:de=>{"use strict";de.exports="<p>\n  resolve-lungo-county works!\n</p>\n"},52135:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  \n  <span *ngIf="!!link && function.id !== \'\'">\n    <a [routerLink]="[\'/function/type\', function_type.id]">{{ function_type.name }}</a>\n  </span>\n  <span *ngIf="!link || function.id === \'\'">\n    {{ function_type.name }}\n  </span>\n  <span *ngIf="long">\n    {{ function_type.category_name }}\n  </span>\n\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>'},24009:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <span *ngIf="!!link && function.id !== \'\'">\n      <a [routerLink]="[\'/function\', function.id]">{{ function.type_name }}</a>\n  </span>\n  <span *ngIf="!link || function.id === \'\'">\n      {{ function.type_name }}\n  </span>\n  <nlf-resolve-lungo-organization [organization_id]="function.active_in_org_id" [show_activity]="true"></nlf-resolve-lungo-organization>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>\n'},55993:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <span *ngIf="!!link && license.id !== \'\'">\n    <a [routerLink]="[\'/license\', license.id]">{{ license.type_name }}</a>\n  </span>\n  <span *ngIf="!link || license.id === \'\'">\n    {{ license.type_name }}\n  </span>\n  <span>{{ license.period_name }}</span>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>'},65821:de=>{"use strict";de.exports='<span [title]="membership.from_date||\'\'">\n  <nlf-resolve-lungo-organization [organization_id]="membership.discipline"></nlf-resolve-lungo-organization>\n  <span *ngIf="payment_status && getPaymentStatus()">\n    {{ membership.payment.type }} {{ membership.payment.exception }} {{ membership.payment.year }}\n  </span>\n</span>\n'},35793:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <span *ngIf="!!link && organization.org_type_id !== \'\'">\n    <a [routerLink]="[\'/organization/type\', organization_type.org_type_id]">{{ organization_type.org_type_text }}</a>\n  </span>\n  <span *ngIf="!link || organization.org_type_id === \'\'">\n    {{ organization_type.org_type_text }}\n  </span>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>'},6542:de=>{"use strict";de.exports='<span *ngIf="dataReady && !popover">\n  <span *ngIf="!!link && organization.id !== \'\'">\n    <a [routerLink]="[\'/organizations\', organization.id]" [routerLinkActive]="\'active\'">{{ organization.name }}</a>\n  </span>\n  <span *ngIf="!link || organization.id === \'\'">\n    {{ organization.name }}\n  </span>\n  <nlf-resolve-lungo-activity *ngIf="show_activity && !!organization.main_activity.id" [activity_id]="organization.main_activity.id"></nlf-resolve-lungo-activity>\n</span>\n\n\x3c!-- POPOVER VIEW --\x3e\n<span *ngIf="dataReady && popover">\n\n  <ng-template #popContent>\n    <p class="lead">\n      <nlf-resolve-lungo-activity *ngIf="!!organization.main_activity.id" [activity_id]="organization.main_activity.id"></nlf-resolve-lungo-activity>\n    </p>\n    <div class="d-grid gap-2">\n      <a class="btn btn-secondary" [routerLink]="[\'/organizations\', organization.id]" [routerLinkActive]="\'active\'">\n        <fa-icon [icon]="faLink"></fa-icon>{{ organization.name }}\n      </a>\n    </div>\n  </ng-template>\n\n  <ng-template #popTitle>\n    {{ organization.name }}\n  </ng-template>\n\n  <a class="pointer link" [ngbPopover]="popContent" [popoverTitle]="popTitle">{{ organization.name }}</a>\n</span>\n\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner></nlf-ui-component-spinner>\n</span>\n'},87018:de=>{"use strict";de.exports='\x3c!-- Should have option to show avatar, with or without link to public profile and popover with info! --\x3e\n<span *ngIf="dataReady">\n  <nlf-resolve-avatar class="avatar avatar-xs me-1" *ngIf="avatar" [person_id]="person_id"></nlf-resolve-avatar>\n\n  \x3c!-- Link to profile --\x3e\n  <span *ngIf="!!link && person_id > 0">\n    <a *ngIf="!highlite" title="Se {{ full_name }}\'s profil" [routerLink]="[\'/user/\', person_id]">{{ full_name }}</a>\n    <a *ngIf="!!highlite" title="Se {{ full_name }}\'s profil" [routerLink]="[\'/user/\', person_id]"\n      [innerHTML]="full_name | highliteText:highlite:\'MULTI_MATCH\':false:\'highlight\'"></a>\n  </span>\n\n  \x3c!-- No profile or no link --\x3e\n  <ng-container *ngIf="!link && person_id > 1">\n    <span *ngIf="!highlite" title="{{ full_name }}">{{ full_name }}</span>\n    <span *ngIf="!!highlite" title="{{ full_name }}"\n      [innerHTML]="full_name | highliteText:highlite:\'MULTI_MATCH\':false:\'highlight\'"></span>\n  </ng-container>\n\n  \x3c!-- Housekeeping --\x3e\n  <ng-container *ngIf="person_id == 1">\n    <span class="avatar avatar-xs me-1"><img src=" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgAgMAAACf9p+rAAAC7HpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddkuwmDIXfWUWWgCSExHIwP1XZQZafA6Z7euZOknsreUq1KRssZCGfT6Znwvjj9xl+w0Elc0hqnkvOEUcqqXDFwON9lH2lmPZ1H/lM4f6TPTwnGCZBL/et1eNfYdePBx5r0PXZHvzMsJ9AZ+IRUNbKjEF/TRJ2vu2UTqAyTsrF7TXVi+++HcedyjmvE3RnFO/78GpIBpW6YiFhHkIScWU5Gcg6WSrsdF/hd49VPKC734JuQT693qOP8VWgTyI/RuGr+s/RF/G5Hrt80fLQChh8O0H6vfhb4peF5ZkRf54w+SiVryLP2X3Ocb9dTRmK5lNRW2x6hIHjBcllP5bRDKdibLsVNI81NiDvscULrVEhBpUZKFGnSpPG7hs1pJh4sKFnbizb5mJcuMnilFajySZFujhINh5BBGZ+5kJ73bLXa+RYuRNcmRCMNv6/aOHvJn+lhTnbkoiiP7VCXrzqGmkscusKLwChebjpFvjRDv74Uj8oVRDULbPjBWu87hCX0kdtyeYs8FP09ydEwfoJAImwtiIZlH2imEmUMkVjNiLo6ABUkTlL4gsESJU7kuQkgv3I2HmtjWeMti8rZ15m7E0AoZLFwKZIBayUFPVjyVFDVUWTqmY19aBFa5acsuacLa9NrppYMrVsZm7FqosnV89u7l68Fi6CPVBLLla8lFIrh4qFKmJV+FdYLr7kSpde+bLLr3LVhvJpqWnLzZq30mrnLh3bRM/duvfS66AwsFOMNHTkYcNHGXWi1qbMNHXmadNnmfVJ7VD9of0CNTrUeJNafvakBmswe4SgtZ3oYgZinAjEbRFAQfNiFp1S4kVuMYuF8VEoI0ldbEKnRQwI0yDWSU92H+R+iltQ/ylu/E/kwkL3X5ALQPcjt2+o9fU71zax+ytcmkbB14f54TWw1/WjVv9t/w70DvQO9A70DvQO9A70Pwg08ccD/okNfwIufZ4phLypewAAAYRpQ0NQSUNDIHByb2ZpbGUAACiRfZE9SMNAGIbfpkqlVhzsIOKQoTpZECvSUatQhAqhVmjVweT6C00akhQXR8G14ODPYtXBxVlXB1dBEPwBcXRyUnSREr9LCi1ivOO4h/e+9+XuO0BoVplq9kwCqmYZ6WRCzOZWxcAr+mkGEUNcZqY+J0kpeI6ve/j4fhflWd51f46BfMFkgE8knmW6YRFvEM9sWjrnfeIwK8t54nPiCYMuSPzIdcXlN84lhwWeGTYy6XniMLFY6mKli1nZUImniSN5VaN8IetynvMWZ7VaZ+178heGCtrKMtdpjSKJRSxBgggFdVRQhYUo7RopJtJ0nvDwjzh+iVwKuSpg5FhADSpkxw/+B797axZjU25SKAH0vtj2xxgQ2AVaDdv+Prbt1gngfwautI6/1gTin6Q3OlrkCBjcBi6uO5qyB1zuAMNPumzIjuSnJRSLwPsZfVMOGLoFgmtu39rnOH0AMtSr1A1wcAiMlyh73ePdfd19+7em3b8fyjRyyhpHIOgAAAAJUExURQAAAAAAAP///4Pdz9IAAAABdFJOUwBA5thmAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAd0SU1FB+YLCwo6AIQmv4AAAADuSURBVEjH7ZTLDcMgDIZBKhuEfTwCB3v/VVowTfgTOw2XKqrqQ4TzYfwCh/BDEoVsJUkJpuKCLBxMZR6kEVxyHkeASY0WkDt7YDGXNUbTGO0L1pesOECNhC0pdlCDy7wDix3tsJF3/2UVxtswSLEN0ERAnJME7pXYTuZBRsDfBKUCShpQBY8eLOe2S5Ou66QB5wqKgpYTJz1MOlC7BmQD9AZxBa+rfgR0DsCHC9IOMIQ7ANH+9gS1u825foQrhjygiB3kI9CSxCOgG/T8HND2Ii6CMA0++Yj3Kcn8c3ZHhjtk/LGUvEEWnJP+cht5AhOB/UJzogUhAAAAAElFTkSuQmCC" alt="user" class="avatar-img rounded-circle" [ngbTooltip]="tippy">\n    </span>\n    <span title="{{ full_name }} er en automatisk tjeneste"><strong>{{ full_name }}</strong></span>\n  </ng-container>\n\n  \x3c!-- Anonymous or tmp_name sup eller attr? --\x3e\n  <span *ngIf="person_id < 1">{{ full_name }}<sup class="text-info" title="Midlertidig navn eller anonymisert">\n      <fa-icon [icon]="faQuestion"></fa-icon>\n    </sup>\n  </span>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="1"></nlf-ui-component-spinner>\n</span>\n'},88283:de=>{"use strict";de.exports='<ng-container *ngIf="!!config">\n  <span *ngFor="let attr of attributes | keyvalue; let last=last">\n\n    <ng-container *ngIf="!!attr.value">\n      <span *ngIf="!!badge && !!config[activity].observation.components.attributes[attr.key]"\n        class="badge bg-{{ config[activity].observation.components.attributes[attr.key][\'badge\'] }}"\n        [ngClass]="{\'me-1\': !last}">\n        {{ config[activity].observation.components.attributes[attr.key][\'label\'] }}\n      </span>\n\n       <span [ngClass]="{\'me-1\': !last}"\n        *ngIf="!badge && !!config[activity].observation.components.attributes[attr.key]">\n        {{ config[activity].observation.components.attributes[attr.key][\'label\'] }}\n      </span>\n    </ng-container>\n  </span>\n</ng-container>\n'},94053:de=>{"use strict";de.exports='<div *ngIf="name">\n    <fa-icon *ngIf="!!icon" [icon]="faFlag"></fa-icon> {{ name }}\n</div>'},98081:de=>{"use strict";de.exports='<span ngbTooltip="{{ rating.actual }} av {{ rating.potential }}" container="body" class="badge bg-{{ rating | nlfOrsRatingCalc | nlfDynamicColor }}">{{ rating | nlfOrsRatingCalc }}</span>\n'},36797:de=>{"use strict";de.exports='<span *ngIf="config">\n  <span\n  *ngIf="badge"\n  class="badge bg-{{ config[activity].observation.state[state][\'badge\'] }}"\n  placement="bottom"\n  container="body"\n  [ngbTooltip]="config[activity].observation.state[state][\'descr\']">\n    <fa-icon *ngIf="!!icon" [icon]="icons[config[activity].observation.state[state][\'icon\']]"></fa-icon>\n    {{ state | nlfOrsState: activity }}\n  </span>\n  <span *ngIf="!badge">\n    {{ state | nlfOrsState: activity }}\n  </span>\n</span>\n'},53869:de=>{"use strict";de.exports='  <span *ngFor="let tag of tags; let i = index; let last=last">\n    <a *ngIf="link" [routerLink]="[\'/ors\', activity, \'search\']" [queryParams]="{where: stringify({$text: {$search: tag}})}">{{ tag }}</a>\n    <span *ngIf="!link">{{ tag }}</span>\n    <span *ngIf="!last">{{ seperator }}</span>\n  </span>\n'},20915:de=>{"use strict";de.exports='<span *ngIf="!badge">{{ name\xa0}}</span>\n<span *ngIf="!!badge" class="badge bg-{{color}}">{{ name\xa0}}</span>\n'},81073:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <span *ngIf="observation.id > 0">\n    #<a [routerLink]="[\'/ors\', activity, \'report\', observation.id]">{{ observation.id }} {{ observation.title }}</a>\n  </span>\n  <span *ngIf="observation.id == 0">\n    #? {{ observation.title }}\n  </span>\n</span>'},20475:de=>{"use strict";de.exports='\n\x3c!--\n"content_type": "image/jpeg",\n"name": "IMG_1323.JPG",\n"owner": 95001,\n"_created": "2015-03-17T13:18:15.000000Z",\n"size": 1853657,\n"_updated": "2015-03-17T13:18:15.000000Z",\n"_etag": "c5e89eeb0a91ac401234f30a87d7e68fa8f2b08c",\n"ref": "observations",\n"ref_id": "550828ce7ae7281d0091bdba",\n--\x3e\n\n<div *ngIf="dataReady && !!data">\n{{ data._id }} {{ data.name }} {{ data.content_type }} {{ data.size | bytes : 2 }} {{ data._created | date:\'yyyy-MM-dd HH:mm\' }} {{ data.ref }} {{ data.ref_id }} <nlf-resolve-lungo-person [person_id]="data.owner" [link]="false" [avatar]="true"></nlf-resolve-lungo-person> {{ data.exists }}\n</div>\n'},63268:de=>{"use strict";de.exports='\x3c!-- Should have option to show avatar, with or without link to public profile and popover with info! --\x3e\n<span *ngIf="dataReady">\n    <span *ngIf="!!avatar">[]</span>\n    \x3c!-- Link to profile --\x3e\n    <span *ngIf="!!link && userid > 0">\n        <a title="Se {{ fullname }}\'s profil" [routerLink]="[\'/user/\', userid]">{{ fullname }}</a>\n    </span>\n    \x3c!-- No profile, no link --\x3e\n    <span *ngIf="!link && userid > 0" title="{{ fullname }} har ingen profil">{{ fullname }}</span>\n    \x3c!-- Anonymous or tmp_name sup eller attr? --\x3e\n    <span *ngIf="userid <= 0">{{ fullname }}<sup class="text-info" title="Midlertidig navn eller anonymisert"><fa-icon [icon]="faQuestion"></fa-icon></sup></span>\n</span>\n<span *ngIf="!dataReady">\n    <fa-icon [icon]="faSpinner" animation="pulse"></fa-icon>\n</span>\n'},7668:de=>{"use strict";de.exports="<p>\n  resolve works!\n</p>\n"},17412:de=>{"use strict";de.exports='<ngb-toast *ngFor="let toast of toastService.toasts" [header]="toast.headertext" [class]="toast.classname"\n    [autohide]="toast.autohide" [delay]="toast.delay || 5000" (hide)="close()" (hidden)="toastService.remove(toast)">\n    <ng-template [ngIf]="isTemplate(toast)" [ngIfElse]="text">\n        <ng-template [ngTemplateOutlet]="toast.textOrTpl"></ng-template>\n    </ng-template>\n    <ng-template #text>{{ toast.textOrTpl }} </ng-template>\n</ngb-toast>'},28870:de=>{"use strict";de.exports='\x3c!--\n<a *ngFor="let breadcrumb of breadcrumbs; let isLast=last" class="breadcrumb-item" [ngClass]="{\'active\': isLast}"\n  [routerLink]="breadcrumb.url">{{breadcrumb.label}}\n</a>\n<a *ngFor="let bcElement of bcLoadedData; let last = last" class="breadcrumb-item" [ngClass]="{\'active\': isLast}"\n  >{{ bcElement.breadcrumb }}\n  {{ bcElement | json }}jjio\n</a>\n--\x3e\n\n<div class="breadcrumb simple">\n  <div *ngFor="let bcElement of bcLoadedData; let last = last">\n    {{bcElement.bc}}\n    <span class="breadcrumb-separator" *ngIf="!last">></span>\n  </div>\n</div>\n\n<div class="breadcrumb advanced">\n  <div *ngFor="let bcElement of bcForDisplay; let last = last">\n    {{bcElement}}\n    <span class="breadcrumb-separator" *ngIf="!last">></span>\n  </div>\n</div>\n'},13601:de=>{"use strict";de.exports='<p class="align-middle text-center text-secondary">\n  <fa-icon [icon]="faSpinner" animation="pulse" [size]="fasize"></fa-icon>\n</p>\n'},94109:de=>{"use strict";de.exports='<div class="input-group">\n    <input\n        class="form-control"\n        placeholder="yyyy-mm-dd"\n        name="dp"\n        [(ngModel)]="model"\n        ngbDatepicker\n        (change)="onUpdate()"\n        #d="ngbDatepicker"/>\n    <button class="btn btn-outline-secondary bi bi-calendar3" (click)="d.toggle()" type="button"><fa-icon [icon]="faCalendar"></fa-icon></button>\n</div>'},54409:de=>{"use strict";de.exports='\x3c!-- Header with Background Image\n<header class="business-header">\n    <div class="container">\n      <div class="row">\n        <div class="col-lg-12">\n          <h1 class="display-3 text-center text-white mt-4">Business Name or Tagline</h1>\n        </div>\n      </div>\n    </div>\n  </header>--\x3e\n\x3c!-- Main jumbotron for a primary marketing message or call to action --\x3e\n\n\x3c!--<h2 class="display-3">NLF Platform</h2>--\x3e\n\x3c!-- NGX Charts! --\x3e\n\x3c!-- [view]="view"  not defined to parent element size--\x3e\n\x3c!--<header class="business-header bg-light">\n  <div class="container">\n\n    <p style="min-height: 300px;" class="text-center">\n      <ngx-charts-advanced-pie-chart [activeEntries]="activeEntries" [scheme]="colorScheme" [label]="label" [results]="single"\n        [gradient]="gradient" (select)="onSelect($event)">\n      </ngx-charts-advanced-pie-chart>\n    </p>\n    <p class="text-center">\n      <a (click)="openModal(template)" class="btn btn-primary btn-lg" href="#" role="button">Les mer &raquo;</a>\n    </p>\n  </div>\n\n</header> --\x3e\n\n\x3c!-- Heading Row --\x3e\n<div class="container">\n\n  <div class="row mt-2 py-3">\n    <div class="col-md-8 chart-wrapper">\n      \x3c!-- PIE CHART OBSREG --\x3e\n      <ng-container *ngIf="dataReady">\n\n        <div class="col-md-3">\n          <div echarts class="w-140 h-100 align-top" [loading]="true" [options]="typesChartOption">\n          </div>\n        </div>\n        <div class="col-md-9">\n\n          <div class="row">\n            <h2 class="mt-4">{{ getTypesTotalValue() | number }}</h2>\n            <h4 class="text-secondary">behandlede {{ getDefaultActivity() }}</h4>\n          </div>\n\n          <div class="row">\n\n            <div class="col" *ngFor="let item of pieTypes">\n              <div class="p-0 m-0">\n                <div style="border-left: 3px solid {{ item.itemStyle.color }} !important">\n                  <h4 class="my-1 mx-1 p-0 mt-o text-dark">{{ item.value | number }}</h4>\n                  <p class="mb-0 mx-1 p-0 text-secondary small">{{ item.name }}</p>\n                </div>\n                <p class="h4 mb-0 mx-2 p-0 fs-5 mb-0 text-secondary">{{ item.value/getTypesTotalValue() | percent }}\n                </p>\n              </div>\n            </div>\n\n          </div>\n\n        </div>\n      </ng-container>\n      <ng-container *ngIf="!default_activity_obsreg && !!config && default_activity">\n        <div class="text-center">Ingen OBSREG registrert for {{ config.inv_mapping[default_activity] }}</div>\n      </ng-container>\n\n    </div>\n    \x3c!-- OLD\n    <ng-container *ngIf="default_activity_obsreg">\n      <ngx-charts-advanced-pie-chart *ngIf="dataReady" [scheme]="colorScheme" [label]="label" [results]="pie"\n        (select)="onSelect($event)"></ngx-charts-advanced-pie-chart>\n      <span *ngIf="!dataReady">\n        <p class="align-middle text-center text-secondary">\n          <nlf-ui-component-spinner></nlf-ui-component-spinner>\n        </p>\n      </span>\n    </ng-container>\n    <ng-container *ngIf="!default_activity_obsreg && !!config && default_activity">\n      <div class="text-center">Ingen OBSREG registrert for {{ config.inv_mapping[default_activity] }}</div>\n    </ng-container>\n    --\x3e\n\n    \x3c!-- //PIE CHART OBSREG --\x3e\n\n    \x3c!-- TOP STORY --\x3e\n    <div class="col-md-4 d-none d-sm-block overflow-hidden">\n      <nlf-content-summary *ngIf="!!config" [key]="config.apps.content.top_story || \'nlf-platform\'">\n      </nlf-content-summary>\n    </div>\n    \x3c!-- //TOP STORY --\x3e\n  </div>\n  \x3c!-- /.row --\x3e\n</div>\n\x3c!-- /.container --\x3e\n\n<span *ngIf="!!activities">\n  <div *ngIf="default_activity==109" class="py-5 nlf-bg-blue">\n    <div class="container">\n      <p class="m-0 text-center text-white">\n        <nlf-ors-fallskjerm-create></nlf-ors-fallskjerm-create>\n      </p>\n    </div>\n  </div>\n  <div *ngIf="default_activity==238" class="py-5 nlf-bg-light">\n    <div class="container">\n      <p class="m-0 text-center text-white">\n        <nlf-ors-motor-create></nlf-ors-motor-create>\n      </p>\n    </div>\n  </div>\n\n  <div *ngIf="default_activity==237" class="py-5 nlf-bg-light">\n    <div class="container">\n      <p class="m-0 text-center text-white">\n        <nlf-ors-sportsfly-create></nlf-ors-sportsfly-create>\n      </p>\n    </div>\n  </div>\n\n  <div *ngIf="default_activity==111" class="py-5 nlf-bg-light">\n    <div class="container">\n      <p class="m-0 text-center text-white">\n        <nlf-ors-seilfly-create></nlf-ors-seilfly-create>\n      </p>\n    </div>\n  </div>\n\n  <div *ngIf="default_activity==236" class="py-5 nlf-bg-light">\n    <div class="container">\n      <p class="m-0 text-center text-white">\n        <nlf-ors-modellfly-create></nlf-ors-modellfly-create>\n      </p>\n    </div>\n  </div>\n</span>\n\x3c!-- TESTS\n<div class="py-5 nlf-bg-purple">\n  <div class="container">\n    <span class="m-0 text-center text-white">\n      <h2>Tests</h2>\n      <button class="btn" [routerLink]="[\'/integration\']">Integration</button><br />\n      <button class="btn" [routerLink]="[\'/admin\']">Admin</button><br />\n      <button class="btn" [routerLink]="[\'/aip\']">Aip</button><br />\n      Person: <nlf-resolve-lungo-person person_id="301041"></nlf-resolve-lungo-person><br />\n      Org: <nlf-resolve-lungo-organization organization_id="22976" show_activity="true"></nlf-resolve-lungo-organization><br />\n      Lisens: <nlf-resolve-lungo-license license_id="10299159"></nlf-resolve-lungo-license><br />\n      Function: <nlf-resolve-lungo-function function_id="28851410"></nlf-resolve-lungo-function><br />\n      Activity: <nlf-resolve-lungo-activity activity_id="109"></nlf-resolve-lungo-activity><br />\n      Org type: <nlf-resolve-lungo-organization-type type_id="8"></nlf-resolve-lungo-organization-type><br />\n      Func type: <nlf-resolve-lungo-function-type type_id="7"></nlf-resolve-lungo-function-type><br />\n    </span>\n  </div>\n\n</div>\n--\x3e\n\n\x3c!-- Page Content\n<div class="container">\n\n  <div class="row">\n    <div class="col-sm-8">\n      <h2 class="mt-4">Registrer OBSREG</h2>\n      <p>\n        <nlf-ors-create></nlf-ors-create>\n\n      </p>\n    </div>\n    <div class="col-sm-4">\n      <h2 class="mt-4">Kontakt oss</h2>\n      <iframe src=\'https://sts.nif.no/Account/SignInMI?ReturnUrl=https%3a%2f%2fsts.nif.no%2f%252fissue%252fwsfed%253fwa%253dwsignin1.0%2526wtrealm%253dhttps%3a%2f%2fmi.nif.no%2f%2526wctx%253drm%25253d0%252526id%25253dpassive%252526ru%25253dhttps%3a%2f%2fmi.nif.no%2fHome%2fSetStartPage\'\n        height=\'380\' width=\'310\' frameborder=\'0\'></iframe>\n      <address>\n        <abbr title="Phone">P:</abbr>\n        (123) 456-7890\n        <br>\n        <abbr title="Email">E:</abbr>\n        <a href="mailto:#">name@example.com</a>\n      </address>\n    </div>\n  </div>\n  --\x3e\n\x3c!-- /.row --\x3e\n\n\x3c!--\n  <div class="row">\n    <div class="col-sm-4 my-4">\n      <div class="card">\n        <img class="card-img-top" src="http://placehold.it/300x200" alt="">\n        <div class="card-body">\n          <h4 class="card-title">Card title</h4>\n          <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque sequi doloribus.</p>\n        </div>\n        <div class="card-footer">\n          <a href="#" class="btn btn-primary">Find Out More!</a>\n        </div>\n      </div>\n    </div>\n    <div class="col-sm-4 my-4">\n      <div class="card">\n        <img class="card-img-top" src="http://placehold.it/300x200" alt="">\n        <div class="card-body">\n          <h4 class="card-title">Card title</h4>\n          <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque sequi doloribus totam\n            ut praesentium aut.</p>\n        </div>\n        <div class="card-footer">\n          <a href="#" class="btn btn-primary">Find Out More!</a>\n        </div>\n      </div>\n    </div>\n    <div class="col-sm-4 my-4">\n      <div class="card">\n        <img class="card-img-top" src="http://placehold.it/300x200" alt="">\n        <div class="card-body">\n          <h4 class="card-title">Card title</h4>\n          <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p>\n        </div>\n        <div class="card-footer">\n          <a href="#" class="btn btn-primary">Find Out More!</a>\n        </div>\n      </div>\n    </div>\n\n  </div>\n\n\n</div>--\x3e\n\x3c!-- /.container --\x3e\n\n\x3c!-- Footer --\x3e\n\x3c!--\n<footer class="py-5 bg-dark">\n  <div class="container">\n    <p class="m-0 text-center text-white">Copyright &copy; Your Website 2018</p>\n  </div>\n</footer>\n--\x3e\n\n\n<ng-template #modalTemplate>\n  <div class="modal-header">\n    <h4 class="modal-title pull-left">\n      NLF Platform</h4>\n\n    <button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <ngx-charts-advanced-pie-chart *ngIf="dataReady" [activeEntries]="activeEntries" [scheme]="colorScheme"\n      [label]="label" [results]="pie" [gradient]="gradient" (select)="onSelect($event)"></ngx-charts-advanced-pie-chart>\n    <nlf-ors-last activity="fallskjerm" number="3"></nlf-ors-last>\n    <div class="clearfix"></div>\n    <div>\n      <ngx-charts-pie-grid [scheme]="colorScheme" [results]="multipie" (select)="onSelect($event)">\n      </ngx-charts-pie-grid>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <a class="btn btn-secondary" (click)="modalRef.close()">Close</a>\n  </div>\n</ng-template>\n\n\x3c!-- A ROW... --\x3e\n<div class="container">\n  <div class="row">\n    <p></p>\n  </div>\n</div>\n\n\x3c!-- CARD DECK --\x3e\n<div class="container">\n  <div class="row">\n    <div class="col-md-12">\n      <div class="row mb-3">\n        \x3c!--<nlf-user-profile></nlf-user-profile>--\x3e\n        \x3c!--\n        <div class="card">\n          <div class="card-header">Opprett Observasjon</div>\n\n         <div class="card-body">\n            <span class="text-center">\n              <nlf-ors-create></nlf-ors-create>\n            </span>\n          </div>\n          <div class="card-footer">\n            <div class="d-grid gap-2">\n              <a class="btn btn-primary" [routerLink]="[\'/user/profile\']" role="button">Oppdater profil &raquo;</a>\n            </div>\n          </div>\n        </div>--\x3e\n        \x3c!-- END USER OR OBSREG --\x3e\n        <div class="col-md-4 mt-2">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header"><i class="nlf nlf-motorfly nlf-fw"></i> Motorfly OBSREG</div>\n\n            <nlf-ors-last activity="motorfly" number="8">Ingen registrerte</nlf-ors-last>\n\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'motorfly\']" role="button">Motorfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-4 mt-2">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-fallskjerm nlf-fw"></i> Fallskjerm OBSREG\n            </div>\n            <nlf-ors-last activity="fallskjerm" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'fallskjerm\']" role="button">Fallskjerm OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-4 mt-2">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-mikrofly nlf-fw"></i> Sportsfly OBSREG\n            </div>\n            <nlf-ors-last activity="sportsfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'sportsfly\']" role="button">Sportsfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-4 mt-2">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-seilfly nlf-fw"></i> Seilfly OBSREG\n            </div>\n            <nlf-ors-last activity="seilfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'seilfly\']" role="button">Seilfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        <div class="col-md-4 mt-2">\n          <div class="card mb-3 obsreg-card">\n            <div class="card-header">\n              <i class="nlf nlf-modell nlf-fw"></i> Modellfly OBSREG\n            </div>\n            <nlf-ors-last activity="modellfly" number="8">Ingen registrerte</nlf-ors-last>\n            <div class="card-footer">\n              <div class="d-grid gap-2">\n                <a class="btn btn-secondary" [routerLink]="[\'/ors\', \'modellfly\']" role="button">Modellfly OBSREG\n                  &raquo;</a>\n              </div>\n            </div>\n          </div>\n        </div>\n\n        \x3c!--\n        <div class="card mb-4">\n          <div class="card-header">V\xe6ret</div>\n          <div class="card-body">\n\n            <p class="card-text">\n              <nlf-met-metar></nlf-met-metar>\n            </p>\n          </div>\n\n        </div>\n\n      </div>\n      --\x3e\n\n\n        \x3c!--\n      <div class="card-deck">\n        < !-- Content -- >\n        <div class="card mb-4">\n          <div class="card-header lead"><i class="nlf nlf-fallskjerm nlf-fw"></i>Siste i Fallskjerm</div>\n          <nlf-content-last space_key="fallskjerm" number="8"></nlf-content-last>\n          <div class="card-footer">\n            <div class="d-grid gap-2">\n              <a class="btn btn-secondary" [routerLink]="[\'/content/space/fallskjerm\']" role="button">Se mer\n                &raquo;</a>\n            </div>\n          </div>\n        </div>\n\n        <div class="card mb-4">\n          <div class="card-header lead"><i class="nlf nlf-motorfly nlf-fw"></i>Siste i Motor</div>\n          <nlf-content-last space_key="motor" number="8"></nlf-content-last>\n          <div class="card-footer">\n            <div class="d-grid gap-2">\n              <a class="btn btn-secondary" [routerLink]="[\'/content/space/motor\']" role="button">Se mer &raquo;</a>\n            </div>\n          </div>\n        </div>\n\n        <div class="card mb-4">\n          <div class="card-header lead">Siste i OBSREG</div>\n          <nlf-content-last space_key="ors" number="8"></nlf-content-last>\n          <div class="card-footer">\n            <div class="d-grid gap-2">\n              <a class="btn btn-secondary" [routerLink]="[\'/content/space/ors\']" role="button">Se mer &raquo;</a>\n            </div>\n          </div>\n        </div>\n\n      </div>\n    --\x3e\n        \x3c!-- /CARD DECK --\x3e\n\n\n\n      </div>\n\n    </div>\n  </div>\n</div>\n\n\n\n\n<div class="py-5 bg-dark">\n  <div class="container">\n    <p class="m-0 text-center text-white">\n\n      \x3c!--<i class="nlf nlf-fw nlf-2x nlf-logo-original"></i>--\x3e\n      <i class="nlf nlf-fw nlf-5x nlf-fallskjerm" title="Fallskjerm"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-seilfly" title="Seilfly"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-motorfly" title="Motorfly"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-ballong" title="Ballong"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-mikrofly" title="Sportsfly"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-modellfly" title="Modellfly"></i>\n      <i class="nlf nlf-fw nlf-5x nlf-hgpg" title="Hps"></i>\n    </p>\n\n  </div>\n</div>\n\n\x3c!-- /.container --\x3e\n'},87844:de=>{"use strict";de.exports='<div class="clearfix"></div>\n<footer class="mt-2">\n  <div class="container text-center">\n    <span class="text-muted">NLF Platform &copy; {{ date.getFullYear() }}</span>\n    <div class="mb-1 text-secondary">v{{ version.version }}-{{ version.hash }}@{{ ENV._name }} / {{ version.buildtime | date:\'yyyy-MM-dd HH:mm\' }}</div>\n    <div class="mb-1 text-secondary"> {{ version.branch }} </div>\n    <div class="text-secondary">released {{ version.buildtime | amTimeAgo }}</div>\n    <div class="text-secondary"><fa-icon [icon]="faGithub" [fixedWidth]="true"></fa-icon> <a class="text-secondary" target="_blank" href="https://github.com/luftsport">Luftsport</a></div>\n  </div>\n</footer>\n'},10283:de=>{"use strict";de.exports='<nav class="navbar navbar-expand-sm bg-dark navbar-dark justify-content-end">\n  <div class="container-fluid">\n    <a class="navbar-brand pointer" [routerLink]="[\'/\']">\n      \x3c!--<i class="nlf nlf-fw nlf-logo-plain nlf-2x"></i>--\x3eNLF\n    </a>\n\n    <span *ngIf="!ENV.production" class="badge bg-danger">{{ ENV._name }}</span>\n\n    \x3c!-- CURRENT OR LAST OBSREG\n    <span *ngIf="(loggedInObservable | async) && !!current_ors">\n      <span *ngIf="router.url != \'/ors/\'+current_ors.type+\'/\'+current_ors.id">\n        <span [routerLink]="[\'/ors\', current_ors.type, \'edit\', current_ors.id]"\n          class="badge bg-info lead ms-1 pointer">\n          <fa-icon [icon]="edit"></fa-icon>#{{ current_ors.id }}\n        </span>\n      </span>\n    </span>\n    --\x3e\n\n    <span class="ms-auto"></span>\n\n    \x3c!-- CREATE OBSREG BTN XS--\x3e\n    <button class="btn btn-success me-3 d-block d-sm-none"\n      *ngIf="(loggedInObservable | async) && !!user_data && !!user_data.settings.default_discipline"\n      (click)="navbarOpen=false;openCreateOrsModal()">\n      <fa-icon [icon]="faPlus" [fixedWidth]="true" class="me-1"></fa-icon>OBSREG\n    </button>\n\n    \x3c!--MENU TOGGLE--\x3e\n    <button (click)="navbarOpen=!navbarOpen" class="navbar-toggler navbar-toggler-right" type="button"\n      aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">\n      <fa-icon [icon]="faBars"></fa-icon>\n    </button>\n\n    <div class="collapse navbar-collapse flex-grow-0" id="navbarSupportedContent2" [ngClass]="{ \'show\': navbarOpen }">\n\n      <ul *ngIf="!!user_data && loggedInObservable | async as authenticated" class="navbar-nav text-end">\n\n        \x3c!-- CREATE OBSREG BTN HIDDEN XS--\x3e\n        <button class="btn btn-success me-2 d-none d-sm-block"\n          *ngIf="!!config && !!user_data && !!user_data.settings.default_discipline"\n          (click)="navbarOpen=false;openCreateOrsModal()">\n          <fa-icon [icon]="faPlus" [fixedWidth]="true" class="me-1"></fa-icon>Ny OBSREG\n          \x3c!--{{\xa0config[config.inv_mapping[user_data.settings.default_activity]][\'observation\'][\'app_name\'] || \'ORSX\' }}--\x3e\n\n        </button>\n\n        \x3c!--\n        <li *ngIf="isLoggedIn" ngbDropdown placement="bottom-right" class="nav-item">\n          <span class="nav-link pointer" id="dropdownBasic1" ngbDropdownToggle routerLinkActive="active">OBSREG</span>\n          <div ngbDropdownMenu aria-labelledby="dropdownBasic1">\n            <a class="dropdown-item pointer">Action - 1</a>\n            <a class="dropdown-item pointer">Another Action</a>\n            <a class="dropdown-item pointer">Something else is here</a>\n          </div>\n        </li>\n        --\x3e\n\n\n        \x3c!-- ADMIN --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated && [1505923257, 1476506542].indexOf(userHash(user_data.person_id))>-1" class="nav-item"\n          routerLinkActive="active">\n          <a [routerLink]="[\'/admin\']" class="nav-link">Admin</a>\n        </li>\n\n\n        \x3c!-- CONTENT --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated && [1505923257, 1476506542].indexOf(userHash(user_data.person_id))>-1" class="nav-item"\n          routerLinkActive="active">\n          <a [routerLink]="[\'/content\']" class="nav-link">Innhold</a>\n        </li>\n\n        \x3c!-- Medlemssjekk --\x3e\n        <ng-container>\n          <li (click)="navbarOpen=false" *ngIf="authenticated" class="nav-item" routerLinkActive="active">\n            <a [routerLink]="[\'/medlem\']" class="nav-link">Medlem</a>\n          </li>\n        </ng-container>\n\n\n        \x3c!-- ORGANIZATIONS --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated && !!user_data.settings.default_discipline" class="nav-item"\n          routerLinkActive="active">\n          <a [routerLink]="[\'/organizations\', user_data.settings.default_discipline]" class="nav-link">Klubber</a>\n        </li>\n\n        \x3c!-- Defaults to NLF --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated && !user_data.settings.default_discipline" class="nav-item"\n          routerLinkActive="active">\n          <a [routerLink]="[\'/organizations\', 376]" class="nav-link">Klubber</a>\n        </li>\n\n\n        \x3c!-- AIRCRAFT --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated" class="nav-item" routerLinkActive="active">\n          <a [routerLink]="[\'/aircraft\']" class="nav-link">Fly</a>\n        </li>\n\n        \x3c!-- AIP --\x3e\n        <li (click)="navbarOpen=false" *ngIf="authenticated && [1505923257, 1476506542].indexOf(userHash(user_data.person_id))>-1" class="nav-item" routerLinkActive="active">\n          <a [routerLink]="[\'/aip\']" class="nav-link">AIP</a>\n        </li>\n\n        \x3c!-- INTEGRATION --\x3e\n        <li (click)="navbarOpen=false"\n          *ngIf="authenticated && [ 1505923257, -1957053861, 1476506542, -1133184971, 1356267023, 440141138, 559477991, 1536523365, 1567888414, 1538371429, -1069338048, -2130588421 ].indexOf(userHash(user_data.person_id))>-1"\n          class="nav-item" routerLinkActive="active">\n          <a [routerLink]="[\'/integration\']" class="nav-link">Integrasjon</a>\n        </li>\n\n        \x3c!-- OBSREG --\x3e\n        <ng-container *ngIf="dataReady">\n          <li (click)="navbarOpen=false" *ngIf="authenticated" class="nav-item"\n            routerLinkActive="active">\n            <a [routerLink]="[\'/ors\', getUserObsreg()]" class="nav-link">OBSREG</a>\n            \x3c!--<a  (click)="navigateORS()" class="nav-link">OBSREG</a>--\x3e\n          </li>\n        </ng-container>\n\n\n        \x3c!-- NOTIFICATIONS\n        <li ngbDropdown placement="bottom-right" (click)="navbarOpen=false" *ngIf="authenticated" class="nav-item dropdown pointer" routerLinkActive="active">\n          <span ngbDropdownToggle href="#" class="nav-link">\n            <fa-icon [icon]="bell" class="d-inline-block"></fa-icon><small><span class="small badge bg-danger align-top">4</span></small>\n          </span>\n\n          <div ngbDropdownMenu class="dropdown-menu" aria-labelledby="navbarDropdown">\n            <a class="dropdown-item" href="#">OBSREG #343 created</a>\n            <a class="dropdown-item" href="#">Placeholder</a>\n\n            <div class="dropdown-divider"></div>\n            <div class="d-grid gap-2">\n              <button class="btn btn-secondary dropdown-item">\n                <fa-icon [icon]="bell-slash"></fa-icon>Dismiss All\n              </button>\n            </div>\n            <div class="dropdown-divider"></div>\n            <div class="d-grid gap-2">\n              <button class="btn btn-secondary dropdown-item">\n                <fa-icon [icon]="list-ol"></fa-icon>More<span class="badge bg-danger float-end">2</span>\n              </button>\n            </div>\n          </div>\n\n        </li>\n        --\x3e\n\n\n        \x3c!-- USER/LOGOUT --\x3e\n        <li ngbDropdown display="dynamic" placement="bottom-right" *ngIf="authenticated" class="nav-item dropdown pointer"\n          routerLinkActive="active">\n\n          <a ngbDropdownToggle placement="bottom-right"\n            class="btn btn-sm btn-secondary nav-link dropdown-toggle text-white" id="navbarDropdown" role="button"\n            aria-haspopup="true" aria-expanded="false">\n            \x3c!--<span *ngIf="!!avatar" class="avatar avatar-xs me-1">\n              <img [src]="domSanitizer.bypassSecurityTrustUrl(avatar)" alt="" class="avatar-img rounded-circle">\n            </span>\n          --\x3e\n            <span class="avatar avatar-xs me-1">\n              <img [src]="avatar||avatar_missing" alt="user" class="avatar-img rounded-circle">\n            </span>\n            <nlf-resolve-lungo-person [person_id]="user_data.person_id" [only_first_name]="true" [avatar]="false"\n              [link]="false"></nlf-resolve-lungo-person>\n            \x3c!--<span class="mx-1 badge bg-danger">2</span>--\x3e\n          </a>\n\n          <div ngbDropdownMenu class="dropdown-menu" aria-labelledby="navbarDropdown">\n            \x3c!--\n            <a class="dropdown-item" href="#">Placeholder</a>\n            <a class="dropdown-item" href="#">Placeholder</a>\n            --\x3e\n\n            <a ngbDropdownItem class="dropdown-item" (click)="$event.preventDefault();navbarOpen=false"\n              [routerLink]="[\'/user\', \'profile\']">Profil</a>\n\n            <div class="dropdown-divider"></div>\n            <button ngbDropdownItem (click)="$event.preventDefault();navbarOpen=false;authService.logout()"\n              class="dropdown-item btn btn-secondary">\n              <fa-icon [icon]="faPowerOff"></fa-icon>Logg ut\n            </button>\n          </div>\n\n        </li>\n\n      </ul>\n    </div>\n  </div>\n</nav>\n\n\x3c!-- FAB https://medium.com/@aphlps/fab-speed-dial-with-angular-5-2-angular-material-be696fc14967\n<div *ngIf="!!user_data && !!user_data.settings.default_discipline" (click)="navbarOpen=false;openCreateOrsModal()" class="fab bg-success">\n  <span class="fab-icon"><fa-icon [icon]="plus"></fa-icon></span>\n</div>\n--\x3e\n\n\x3c!-- popup template eg workflows --\x3e\n\x3c!--\n<ng-template #popTemplate>\n  <div class="list-group row px-0 mx-0">\n    <a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>\n\n\n    <a href="#" class="list-group-item list-group-item-action list-group-item-primary">This is a primary list group\n      item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-secondary">This is a secondary list group\n      item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-success">This is a success list group\n      item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-danger">This is a danger list group item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-warning">This is a warning list group\n      item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-info">This is a info list group item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-light">This is a light list group item</a>\n    <a href="#" class="list-group-item list-group-item-action list-group-item-dark">This is a dark list group item</a>\n  </div>\n  <button class="btn btn-success">Approve</button>\n  <button class="btn btn-danger">Reject</button>\n</ng-template>\n\n< !ww-- Navbar itself -w- >\n<nav class="navbar navbar-toggleable-sm navbar-dark bg-dark">\n  <button (click)="isCollapsed = !isCollapsed" class="navbar-toggler navbar-toggler-right" type="button" aria-controls="navbarNavAltMarkup"\n    aria-expanded="false" aria-label="Toggle navigation">\n    <fa-icon [icon]="bars"></fa-icon>\n  </button>\n  <span class="navbar-brand pointer" [routerLink]="[\'/\']">NLF</span>\n  <div [ngbCollapse]="isCollapsed" class="collapse navbar-collapse justify-content-between" id="navbar">\n\n    <ul class="navbar-nav" *ngIf="isLoggedIn">\n\n      <li class="nav-item active">\n        <a class="nav-item nav-link" routerLink="/users">Users</a>\n      </li>\n\n\n      <li ngbDropdown class="nav-item dropdown">\n\n        <a ngbDropdownToggle class="nav-item nav-link dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">\n          OBSREG\n        </a>\n        <div *dropdownMenu class="dropdown-menu" aria-labelledby="navbarDropdown">\n          <a class="dropdown-item" routerLink="/ors/">OBSREG</a>\n          < !ww-w-<a class="dropdown-item" routerLink="/ors/child">OBSREG Child</a> only from internal-w- >\n          <div class="dropdown-divider"></div>\n          <a class="dropdown-item" routerLink="/ors/fallskjerm">OBSREG Fallskjerm</a>\n        </div>\n      </li>\n    </ul>\n    < !-w- Right side items -w- >\n    <div class="navbar-nav" *ngIf="isLoggedIn">\n\n      <div ngbDropdown class="d-inline-block">\n        <button class="btn btn-outline-primary" id="dropdownBasic1" ngbDropdownToggle>Toggle dropdown</button>\n        <div ngbDropdownMenu aria-labelledby="dropdownBasic1">\n          <button class="dropdown-item">Action - 1</button>\n          <button class="dropdown-item">Another Action</button>\n          <button class="dropdown-item">Something else is here</button>\n        </div>\n      </div>\n\n      <a class="nav-item nav-link" routerLink="/home">\n        <fa-icon [name]="\'home-o\'" [fixed]="\'true\'"></fa-icon>\n      </a>\n      <a class="nav-item nav-link" routerLink="user/profile">\n        <fa-icon [name]="\'user-o\'" [fixed]="\'true\'"></fa-icon>\n      </a>\n      <a class="nav-item nav-link" [ngbPopover]="popTemplate" placement="bottom" container="body" popoverTitle="Template ref content inside">\n        <fa-icon [name]="\'desktop\'" [fixed]="\'true\'"></fa-icon>\n      </a>\n      <a class="nav-item nav-link" href="#">\n        <fa-icon [name]="\'commenting-o\'" [fixed]="\'true\'"></fa-icon>\n      </a>\n\n      < !-w- Custom css for notifications -w- >\n      <a class="nav-item nav-link" href="#">\n        <span class="fa-fnix-container">\n          <i class="fa fa-bell-o fa-fw"></i>\n          <i class="fa text-danger fa-circle fa-fnix-sub-bg fa-fw fa-fnix-sub"></i>\n          <i class="fa fa-exclamation fa-inverse fa-fw fa-fnix-sub"></i>\n        </span>\n      </a>\n      <a class="nav-item nav-link text-danger" href="#">\n        <fa-icon [name]="\'bell-o\'" [fixed]="\'true\'"></fa-icon>\n      </a>\n\n      <a *ngIf="isLoggedIn" (click)="authService.logout()" class="nav-item nav-link btn">Logout</a>\n      < !-w-<a *ngIf="!(isLoggedIn | async)" class="nav-item nav-link" routerLink="/login">Login</a>-w- >\n    </div>\n  </div>\n</nav>\n--\x3e\n'},98636:de=>{"use strict";de.exports='<select *ngIf="dataReady" class="form-control" [ngClass]="{\'form-control-sm\': size==\'sm\', \'form-control-lg\': size==\'lg\'}" id="organizations" [(ngModel)]="selected" (change)="update($event)">\n  <option *ngFor="let org of orgs" [ngValue]="org.id">\n    {{ org.name }}\n  </option>\n</select>\n<nlf-ui-component-spinner *ngIf="!dataReady" size="1"></nlf-ui-component-spinner>\n'},59739:de=>{"use strict";de.exports='<div class="nlf-page-center">\n    \x3c!--<nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>--\x3e\n    \x3c!--<i class="text-dark nlf nlf-spin nlf-5x nlf-logo"></i> --\x3e\n    <div class="nlf-stack-wide nlf-5x">\n        <i class="nlf nlf-stack-2x nlf-spin nlf-propeller text-dark"></i>\n        <i class="nlf nlf-logo-plain nlf-stack-2x text-dark"></i>\n    </div>\n</div>'},88526:de=>{"use strict";de.exports='\n<div *ngIf="keys">\n<dl *ngFor="let group of keys">\n  {{group}}\n  \x3c!--<dt><app-resolve-group [groupid]="group"></app-resolve-group></dt>--\x3e\n  \n  <dl>Test</dl>\n\n</dl>\n\n</div>'},14946:de=>{"use strict";de.exports='<span *ngIf="dataReady">\n  <select class="form-control" [formControl]="userClubChooser" [(ngModel)]="selected">\n    <option *ngFor="let opt of userClubs" [ngValue]="opt">\n      <nlf-resolve-club [clubid]="opt"></nlf-resolve-club>\n    </option>\n  </select>\n</span>\n<span *ngIf="!dataReady">\n  <nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</span>'},7709:de=>{"use strict";de.exports='<div *ngIf="!!userData && userData.hasOwnProperty(\'person_id\')">\n  <div class="modal-header">\n    <h4 class="modal-title">\n      Hei <nlf-resolve-lungo-person [person_id]="userData.person_id"></nlf-resolve-lungo-person>\n    </h4>\n    <button type="button" class="close" aria-label="Close" (click)="activeModal.dismiss(\'Cross click\')">\n      <span aria-hidden="true">&times;</span>\n    </button>\n  </div>\n  <div class="modal-body">\n    <div *ngIf="!success && !!error">\n      <h2>{{error}}</h2>\n    </div>\n\n    <div *ngIf="!!success">\n      <p class="lead">Supert! Du har ogs\xe5 muligheten til \xe5 endre innstillingene senere under kontoinnstillinger.</p>\n      <div class="d-grid gap-2">\n        <button class="btn btn-lg btn-success">\n          <fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>\n          <nlf-resolve-lungo-activity\n            [activity_id]="userData.settings.default_activity"></nlf-resolve-lungo-activity>&nbsp;/&nbsp;\n          <nlf-resolve-lungo-organization [organization_id]="userData.settings.default_discipline"\n            [show_activity]="false"></nlf-resolve-lungo-organization>\n        </button>\n      </div>\n    </div>\n    <div *ngIf="!success && !error">\n      <p class="lead" *ngIf="!userData?.settings?.default_club">\n        Dette er f\xf8rste gangen systemet registrerer du logger inn. Vennligst velg en av dine klubber som\n        hovedmedlemsskap.\n        Du kan senere endre dette under kontoinnstillinger.\n      </p>\n      <p class="lead" *ngIf="!!userData?.settings?.default_club">Vennligst velg en av dine klubber som\n        hovedmedlemsskap.\n        Du kan senere endre dette under kontoinnstillinger.\n      </p>\n      <span *ngIf="!!org">\n\n        <p *ngFor="let role of org">\n          <span class="d-grid gap-2">\n            <button (click)="setDefaultClub(role)" class="btn btn-lg btn-primary">\n              <fa-icon [icon]="faPlus" [fixedWidth]="true"></fa-icon>\n              <nlf-resolve-lungo-activity [activity_id]="role.activity"></nlf-resolve-lungo-activity>&nbsp;/&nbsp;\n              <nlf-resolve-lungo-organization [organization_id]="role.org"\n                [show_activity]="false"></nlf-resolve-lungo-organization>\n            </button>\n          </span>\n        </p>\n        <div *ngIf="org.length==0" class="alert alert-danger">\n          Fant ingen klubber som du kan tilknyttes, vennligst varsle NLF om dette.\n          Denne applikasjonen vil ikke fungere optimalt f\xf8r dette er i orden.\n        </div>\n      </span>\n    </div>\n  </div>\n  <div class="modal-footer">\n    <div *ngIf="!!success || !!error">\n      <button type="button" class="btn btn-outline-dark" (click)="activeModal.close(\'Close click\')">Close</button>\n    </div>\n  </div>\n</div>'},67018:de=>{"use strict";de.exports='<div *ngIf="render">\n  <div class="card">\n    <h4 class="card-header">Medlemsskap</h4>\n    <div class="card-body">\n      <dl>\n        <dt>Medlemsnummer:</dt>\n        <dd>{{user.id}}</dd>\n        <dt>Innmeldt NLF:</dt>\n        <dd>{{user.membership.enrolled | date}}</dd>\n        <dt>Type medlemsskap:</dt>\n        <dd>\n          <nlf-resolve-membership [membershipid]="user.membership.type"></nlf-resolve-membership>\n        </dd>\n        <dt>Medlemsavgift:</dt>\n        <dd>{{user.membership.fee}}</dd>\n        <dt>Saldo:</dt>\n        <dd>{{user.membership.balance}}</dd>\n        <dt>Gyldighet:</dt>\n        <dd>{{user.membership.valid | date}}</dd>\n      </dl>\n      <strong>Klubbmedlemsskap:</strong>\n      <ul>\n        <li *ngFor="let club of user.membership.clubs">\n          <nlf-resolve-club [clubid]="club"></nlf-resolve-club>\n        </li>\n      </ul>\n    </div>\n  </div>\n\n  <div class="card">\n    <h4 class="card-header">Kontaktinfo</h4>\n    <div class="card-body">\n      <dl>\n        <dt>Adresse:</dt>\n        <dd>{{user.location.street}}, {{user.location.zip}} {{user.location.city}}</dd>\n        <dt>Telefon:</dt>\n        <dd>{{user.phone}}</dd>\n        <dt>Epost:</dt>\n        <dd>{{user.email}}</dd>\n      </dl>\n    </div>\n  </div>\n\n  <div class="card">\n    <h4 class="card-header">Lisenser</h4>\n    <div class="card-body">\n\n      <strong>Lisenser:</strong>\n      <ul>\n        <li *ngFor="let license of user.licenses.rights">\n          <nlf-resolve-license [licenseid]="license"></nlf-resolve-license>\n        </li>\n        <li *ngIf="!hasLicenses">\n          Ingen Lisenser\n        </li>\n      </ul>\n\n      <dl *ngIf="hasLicenses">\n        <dt>Gyldig til:</dt>\n        <dd>{{user.licenses.expiry | date}}</dd>\n      </dl>\n    </div>\n  </div>\n</div>'},74862:de=>{"use strict";de.exports="<p>\n  app-user-notifications works!\n</p>\n"},42051:de=>{"use strict";de.exports='<header class="nlf-sticky-toolbar">\n\t<div class="container">\n\n\t\t<span class="breadcrumb">\n\t\t\t<li class="breadcrumb-item">\n\t\t\t\t<span class="avatar avatar-xs me-1">\n\t\t\t\t\t<img [src]="avatar||avatar_missing" alt="user" class="avatar-img rounded-circle">\n\t\t\t\t</span>\n\t\t\t\t<span class="hidden-sm-down">\n\t\t\t\t\t<nlf-resolve-lungo-person [person_id]="user.person_id" [avatar]="false"></nlf-resolve-lungo-person>\n\t\t\t\t</span>\n\t\t\t</li>\n\n\t\t\t<li class="breadcrumb-item active">\n\t\t\t\t<a>profil</a>\n\t\t\t\t\x3c!--[routerLink]="[\'/organizations\', \'376\']"--\x3e\n\t\t\t</li>\n\t\t</span>\n\n\t\t\x3c!--\n\t\t<button *ngIf="dataReady" class="btn btn-primary btn-sm float-end mx-1" (click)="openModal(saveTemplate)" title="">\n\t\t\t<fa-icon [icon]="faCog"></fa-icon> Settings\n\t\t</button>\n\t\t--\x3e\n\n\t\t<a [routerLink]="[\'/user\', person_id]" class="btn btn-sm btn-primary mx-1 float-end">\n\t\t\t<fa-icon [icon]="faUser"></fa-icon> View\n\t\t</a>\n\n\t\t<nlf-help class="float-end mx-1" key="user-profile"></nlf-help>\n\n\t</div>\n</header>\n\n<div *ngIf="dataReady" class="mt-3">\n\t<div class="container">\n\t\t<div class="row">\n\n\t\t\t<div class="col-md-3 col-xs-12 text-center">\n\n\t\t\t\t<img class="img-fluid img-thumbnail rounded" [src]="avatar||avatar_missing">\n\n\n\t\t\t\t\x3c!-- UPLOAD BUTTON --\x3e\n        <div class="d-grid gap-2">\n          <label class="btn btn-primary btn-file my-1">\n            <fa-icon [icon]="faUserCircle"></fa-icon>Browse\n            <input type="file" (change)="fileChangeEvent($event);openModal(cropTemplate);" hidden>\n            \x3c!--<input type="file"  ngFileSelect [options]="options" (uploadOutput)="onUploadOutput($event)" [uploadInput]="uploadInput" multiple>--\x3e\n          </label>\n        </div>\n\t\t\t\t\x3c!-- Remove avatar: not yet since !!avatar in subject save loop! Needs nullable in backend too...\n        <div class="d-grid gap-2">\n\t\t\t\t  <a class="btn btn-danger my-3" (click)="removeImage()" *ngIf="!!avatar">Remove</a>\n        </div>\n\t\t\t\t--\x3e\n\n\t\t\t</div>\n\n\t\t\t<div class="col-md-9 col-xs-12">\n\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Hovedklubb</h4>\n\t\t\t\t\t<strong>\n\t\t\t\t\t\t<nlf-resolve-lungo-organization [organization_id]="user.settings.default_discipline" [show_activity]="true" [long]="true" [link]="true"></nlf-resolve-lungo-organization>\n\t\t\t\t\t\t<fa-icon (click)="openDefaultClub()" class="ms-3 pointer" [icon]="faPencil"></fa-icon>\n\t\t\t\t\t</strong>\n\t\t\t\t</div>\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine Medlemsskap</h4>\n\t\t\t\t\t<div *ngFor="let role of user.acl">\n\t\t\t\t\t\t<div *ngIf="role.org>0 && role.role===10000000 && [2,19,14].indexOf(role.type)>-1">\n\t\t\t\t\t\t\t<nlf-resolve-lungo-organization [organization_id]="role.org" [link]="true" [show_activity]="true"></nlf-resolve-lungo-organization>:\n\t\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t\t<nlf-resolve-lungo-function-type [type_id]="role.role"></nlf-resolve-lungo-function-type>\n\t\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine funksjoner</h4>\n\t\t\t\t\t<div *ngFor="let role of user.acl">\n\t\t\t\t\t\t<div *ngIf="role.org>0 && role.activity>0 && role.role!=10000000">\n\t\t\t\t\t\t\t<nlf-resolve-lungo-organization [organization_id]="role.org" [link]="true" [show_activity]="true"></nlf-resolve-lungo-organization>:\n\t\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t\t<nlf-resolve-lungo-function-type [type_id]="role.role"></nlf-resolve-lungo-function-type>\n\t\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine kompetanser</h4>\n\t\t\t\t\t<div *ngIf="!user.hasOwnProperty(\'competences\')||user.competences.length===0">Ingen kompetanser registrert</div>\n\t\t\t\t\t<div *ngFor="let competence of user.competences">\n\t\t\t\t\t\t<nlf-resolve-lungo-competence [competence_id]="competence.id"></nlf-resolve-lungo-competence>\n\t\t\t\t\t</div>\n\t\t\t\t\t<nlf-nif-compare [person_id]="person_id" [generate]="true" [showSuccess]="false"></nlf-nif-compare>\n\t\t\t\t</div>\n\n\t\t\t\t\x3c!--\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine Kompetanser</h4>\n\t\t\t\t\t<div *ngFor="let role of user.acl">\n\t\t\t\t\t\t<div *ngIf="role.org>0 && role.role!=10000000">\n\t\t\t\t\t\t\t<nlf-resolve-lungo-organization [organization_id]="role.org" [link]="true"></nlf-resolve-lungo-organization>:\n\t\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t\t<nlf-resolve-lungo-function-type [type_id]="role.role"></nlf-resolve-lungo-function-type>\n\t\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine Lisenser</h4>\n\t\t\t\t\t<div *ngFor="let role of user.acl">\n\t\t\t\t\t\t<div *ngIf="role.org>0 && role.role!=10000000">\n\t\t\t\t\t\t\t<nlf-resolve-lungo-organization [organization_id]="role.org" [link]="true"></nlf-resolve-lungo-organization>:\n\t\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t\t<nlf-resolve-lungo-function-type [type_id]="role.role"></nlf-resolve-lungo-function-type>\n\t\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t--\x3e\n\n\t\t\t\t\x3c!--{{ user | json }}--\x3e\n\n\t\t\t</div>\n\n\t\t</div>\n\t\t<div class="row">\n\t\t\t<div class="col-xs-12 col-md-12 mt-6">\n\t\t\t\t<div class="my-3">\n\t\t\t\t\t<h4>Mine observasjoner som involvert</h4>\n\t\t\t\t\t\x3c!-- F\xf8rste er default activity --\x3e\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity==109" activity="fallskjerm"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity==238" activity="motorfly"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity==237" activity="sportsfly"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity==111" activity="seilfly"></nlf-user-ors>\n\t\t\t\t\t\x3c!-- Lister s\xe5 resten --\x3e\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity!=109" activity="fallskjerm"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity!=238" activity="motorfly"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity!=237" activity="sportsfly"></nlf-user-ors>\n\t\t\t\t\t<nlf-user-ors *ngIf="user.settings.default_activity!=111" activity="seilfly"></nlf-user-ors>\n\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t</div>\n</div>\n<div *ngIf="!dataReady" class="text-center">\n\t<nlf-ui-component-spinner size="3"></nlf-ui-component-spinner>\n</div>\n\n<ng-template #cropTemplate>\n\n\t<div class="modal-header">\n\t\t<h4 class="modal-title pull-left">\n\t\t\t<img class="me-3 avatar avatar-sm img-fluid img-rounded" [src]="modal_avatar||avatar">Profilbilde\n\t\t</h4>\n\t\t<button type="button" class="close float-end" aria-label="Close" (click)="modalRef.dismiss()">\n\t\t\t<span aria-hidden="true">&times;</span>\n\t\t</button>\n\t</div>\n\n\t<div class="modal-body">\n\t\t<img class="img-fluid avatar avatar-lg" [src]="modal_avatar||avatar" />\n\n\t\t<nlf-ui-component-spinner *ngIf="!avatarReady">loading...</nlf-ui-component-spinner>\n\t\t<image-cropper class="img-fluid" resizeToWidth="300" cropperMinWidth="300" [imageChangedEvent]="imageChangedEvent" [maintainAspectRatio]="true" alignImage="center" [aspectRatio]="1 / 1" format="png" (imageCropped)="imageCropped($event)"\n\t\t\t(imageLoaded)="imageLoaded()" (cropperReady)="cropperReady()" (loadImageFailed)="loadImageFailed()">\n\t\t</image-cropper>\n\t</div>\n\n\t<div class="modal-footer">\n\t\t<button class="btn btn-outline-dark" (click)="cancelModal()">\n\t\t\t<fa-icon [icon]="faTimes" [fixedWidth]="true"></fa-icon>Avbryt\n\t\t</button>\n\t\t<button class="btn btn-success" (click)="closeModal()">\n\t\t\t<fa-icon [icon]="faCheck" [fixedWidth]="true"></fa-icon>Bruk\n\t\t</button>\n\t</div>\n</ng-template>\n'},66590:de=>{"use strict";de.exports='<div *ngIf="render" class="container">\nKlubb: {{model.default_discipline}}\n\n\x3c!--\nExample row:\n<div class="form-group row">\n    <label class="col-lg-3 col-form-label form-control-label">Fornavn</label>\n    <div class="col-lg-9">\n        <input [(ngModel)]="currentUserMembership.firstname" name="firstname" id="firstname" class="form-control" type="text">\n    </div>\n</div>\n--\x3e\n\n<form role="form" [formGroup]="settingsForm" novalidate>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Velg default klubb:</label>\n    <div class="col-sm-9">\n      <nlf-user-club-selector (getSelected)="setClub($event)" [defaultClub]="model.default_discipline"></nlf-user-club-selector>\n    </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Totalt antall hopp:</label>\n    <div class="col-sm-9">\n      <input class="form-control" formControlName="total_jumps">\n    </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-legend"><strong>Utstyr</strong></label>\n  </div>\n\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Typehovedskjerm:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="mainCanopyType">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">St\xf8rrelse hovedskjerm:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="mainCanopySize">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Antall hopp denne hovedskjerm:  </label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="mainCanopyExperience">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Type reserveskjerm:</label>\n    <div class="col-sm-9">\n      <input class="form-control" formControlName="reserveCanopyType">\n    </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">St\xf8rrelse reserveskjerm:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="reserveCanopySize">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Type selet\xf8y:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="harnessType">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Antall hopp dette selet\xf8y:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="harnessExperience">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <label class="col-sm-3 col-form-label">Type selet\xf8y:</label>\n      <div class="col-sm-9">\n        <input class="form-control" formControlName="aadType">\n      </div>\n  </div>\n\n  <div class="form-group row">\n    <div class="col-sm-3">\n    </div>\n    <div class="col-sm-9">\n      <button type="submit" class="btn btn-primary">Lagre</button>\n    </div>\n  </div>\n\n\x3c!--<p>Form value: {{ settingsForm.value | json }}</p>--\x3e\n\n</form>\n\n<div *ngIf="model.id">\n  <div class="card">\n    <h4 class="card-header">Tilgang</h4>\n    <div class="card-body">\n\n        <strong>Roller:</strong>\n        <ul>\n          <li *ngFor="let role of model.acl.roles">\n            {{role}}\n            <nlf-resolve-role [roleid]="role"></nlf-resolve-role>\n          </li>\n        </ul>\n\n        <strong>Grupper:</strong>\n        <ul>\n          <li *ngFor="let group of model.acl.groups">\n            {{group}}\n            <nlf-resolve-group [groupid]="group"></nlf-resolve-group>\n          </li>\n        </ul>\n    </div>\n  </div>\n\n<div class="card">\n  <h4 class="card-header">Data modell</h4>\n  <div class="card-body">\n    {{diagnostic}}\n  </div>\n\n  <nlf-user-acl [groups]="model.acl.groups" [roles]="model.acl.roles" [clubs]="[\'375-F\']"></nlf-user-acl>\n</div>\n</div>\n'},43466:de=>{"use strict";de.exports='<div class="container">\n  <div class="row">\n    <div class="container">\n    <h2>Tester melwin og users</h2>\n    <h3>Tag input test (fra tabellens data)</h3>\n    <tag-input [(ngModel)]="items"  theme=\'bootstrap\' [onlyFromAutocomplete]="true">\n\n      <tag-input-dropdown [identifyBy]="\'id\'" [displayBy]="\'fullname\'" [showDropdownIfEmpty]="true"\n                            keepOpen="false"  [autocompleteItems]="data">\n          </tag-input-dropdown>\n    </tag-input>\n    <div class="clearfix"></div>\n    <h5>Tag modell</h5>\n    <ul>\n    <div *ngFor="let item of items"><li>{{item.fullname}} ({{item.id}})</li></div>\n    </ul>\n    <div class="col-12">\n\n    <h3>Tabell test med server paging</h3>\n    <ngx-table [id]="\'user-test-table\'"\n      [configuration]="configuration"\n      [data]="data"\n      [columns]="columns"\n      [detailsTemplate]="detailsTemplateRef"\n      [(pagination)]="pagination"\n      (event)="eventEmitted($event)">\n\n\n\x3c!--\n\t<ng-template let-row>\n\n    <td>\n\t\t\t<span class="font-small">{{row.id}}</span>\n\t\t\t<div class="bar bar-sm">\n\t\t\t\t<div class="bar-item" role="progressbar" [style.width]="row.id + \'%\'" aria-valuenow="row.id" aria-valuemin="0" aria-valuemax="10000"></div>\n\t\t\t</div>\n\t\t</td>\n\n\n  \t<td>\n\t\t\t<h5 class="color-green font-light">{{row.fullname}}</h5>\n\t\t</td>\n    <td>\n\t\t\t<div class="font-small">\n\t\t\t\t{{row.phone}}\n\t\t\t</div>\n\t\t</td>\n\n    <td>\n\t\t\t<strong><a href="mailto:{{row.email}}">{{row.email}}</a></strong>\n\t\t</td>\n\n\n\t</ng-template>\n--\x3e\n</ngx-table>\n  <ng-template #detailsTemplate let-row>\n  <div>\n    <h2 class="color-green">{{row.id }}</h2>\n    {{row.fullname }} - {{row.phone}} - {{row.birthdate | date}} - {{row.gender}}\n  </div>\n</ng-template>\n\n\n\n\n  </div>\n</div>\n  <div class="container">\n  <h2>Tester resolver</h2>\n  <nlf-resolve-user [userid]="-99"></nlf-resolve-user>\n  <nlf-resolve-user [userid]="45199"></nlf-resolve-user>\n  <nlf-resolve-user [userid]="5657"></nlf-resolve-user>\n</div>\n</div>\n</div>\n'},66383:de=>{"use strict";de.exports='<div class="container">\n\t<div class="row mt-3">\n\t\t<div *ngIf="dataReady">\n\t\t\t<div class="d-flex">\n\t\t\t\t\x3c!--align-self-start--\x3e\n\t\t\t\t<span class="flex-shrink-0 align-self-start me-3 avatar avatar-xl">\n\t\t\t\t\t<nlf-resolve-avatar [person_id]="person_id"></nlf-resolve-avatar>\n\t\t\t\t</span>\n\t\t\t\t<div class="flex-grow-1">\n\t\t\t\t\t<h2 class="mt-0">\n\t\t\t\t\t\t<nlf-resolve-lungo-person [person_id]="person_id" [link]="false" [avatar]="false"></nlf-resolve-lungo-person>\n\t\t\t\t\t</h2>\n\t\t\t\t\t<p></p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t<div class="text-center row mt-6">\n\t\t<p class="text-center mt-4"><a [routerLink]="[]" (click)="goBack()">tilbake</a></p>\n\t</div>\n</div>\n'},31631:(de,$e,B)=>{"use strict";B.d($e,{F4:()=>x,LC:()=>i,SB:()=>y,X$:()=>m,ZE:()=>O,ZN:()=>E,_j:()=>n,eR:()=>C,jt:()=>s,k1:()=>H,l3:()=>P,oB:()=>v,vP:()=>h});class n{}class i{}const P="*";function m(U,X){return{type:7,name:U,definitions:X,options:{}}}function s(U,X=null){return{type:4,styles:X,timings:U}}function h(U,X=null){return{type:2,steps:U,options:X}}function v(U){return{type:6,styles:U,offset:null}}function y(U,X,W){return{type:0,name:U,styles:X,options:W}}function x(U){return{type:5,steps:U}}function C(U,X,W=null){return{type:1,expr:U,animation:X,options:W}}function S(U){Promise.resolve(null).then(U)}class E{constructor(X=0,W=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=X+W}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}onStart(X){this._onStartFns.push(X)}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){S(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(X=>X()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(X){this._position=this.totalTime?X*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(X){const W="start"==X?this._onStartFns:this._onDoneFns;W.forEach(re=>re()),W.length=0}}class O{constructor(X){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=X;let W=0,re=0,pe=0;const Ae=this.players.length;0==Ae?S(()=>this._onFinish()):this.players.forEach(Se=>{Se.onDone(()=>{++W==Ae&&this._onFinish()}),Se.onDestroy(()=>{++re==Ae&&this._onDestroy()}),Se.onStart(()=>{++pe==Ae&&this._onStart()})}),this.totalTime=this.players.reduce((Se,De)=>Math.max(Se,De.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(X=>X()),this._onDoneFns=[])}init(){this.players.forEach(X=>X.init())}onStart(X){this._onStartFns.push(X)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(X=>X()),this._onStartFns=[])}onDone(X){this._onDoneFns.push(X)}onDestroy(X){this._onDestroyFns.push(X)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(X=>X.play())}pause(){this.players.forEach(X=>X.pause())}restart(){this.players.forEach(X=>X.restart())}finish(){this._onFinish(),this.players.forEach(X=>X.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(X=>X.destroy()),this._onDestroyFns.forEach(X=>X()),this._onDestroyFns=[])}reset(){this.players.forEach(X=>X.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(X){const W=X*this.totalTime;this.players.forEach(re=>{const pe=re.totalTime?Math.min(1,W/re.totalTime):1;re.setPosition(pe)})}getPosition(){const X=this.players.reduce((W,re)=>null===W||re.totalTime>W.totalTime?re:W,null);return null!=X?X.getPosition():0}beforeDestroy(){this.players.forEach(X=>{X.beforeDestroy&&X.beforeDestroy()})}triggerCallback(X){const W="start"==X?this._onStartFns:this._onDoneFns;W.forEach(re=>re()),W.length=0}}const H="!"},51588:(de,$e,B)=>{"use strict";B.d($e,{Is:()=>h,vT:()=>y});var n=B(3184),i=B(36362);const P=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function m(){return(0,n.f3M)(i.K0)}});const s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function o(x){const C=(null==x?void 0:x.toLowerCase())||"";return"auto"===C&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?s.test(navigator.language)?"rtl":"ltr":"rtl"===C?"rtl":"ltr"}class h{constructor(C){if(this.value="ltr",this.change=new n.vpe,C){const _=C.body?C.body.dir:null,w=C.documentElement?C.documentElement.dir:null;this.value=o(_||w||"ltr")}}ngOnDestroy(){this.change.complete()}}h.\u0275fac=function(C){return new(C||h)(n.LFG(P,8))},h.\u0275prov=n.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"});class v{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new n.vpe}get dir(){return this._dir}set dir(C){const _=this._dir;this._dir=o(C),this._rawDir=C,_!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}v.\u0275fac=function(C){return new(C||v)},v.\u0275dir=n.lG2({type:v,selectors:[["","dir",""]],hostVars:1,hostBindings:function(C,_){2&C&&n.uIk("dir",_._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[n._Bn([{provide:h,useExisting:v}])]});class y{}y.\u0275fac=function(C){return new(C||y)},y.\u0275mod=n.oAB({type:y,declarations:[v],exports:[v]}),y.\u0275inj=n.cJS({})},76484:(de,$e,B)=>{"use strict";B.d($e,{Eq:()=>s,Ig:()=>i,fI:()=>h,su:()=>P});var n=B(3184);function i(y){return null!=y&&"false"!=`${y}`}function P(y,x=0){return function m(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}(y)?Number(y):x}function s(y){return Array.isArray(y)?y:[y]}function h(y){return y instanceof n.SBq?y.nativeElement:y}},165:(de,$e,B)=>{"use strict";B.d($e,{Zt:()=>$s,Bh:()=>Zl,Wj:()=>Ji,_t:()=>Ks,bA:()=>Zn});var n=B(3184),i=B(36362),P=B(14390),m=B(76484),s=B(84505),o=B(92218),h=B(64139);var bo=B(83910),yr=B(16276),yo=B(53298),Fo=B(85921),Po=B(52822),Or=B(80823);class rs{create(Me){return"undefined"==typeof MutationObserver?null:new MutationObserver(Me)}}rs.\u0275fac=function(Me){return new(Me||rs)},rs.\u0275prov=n.Yz7({token:rs,factory:rs.\u0275fac,providedIn:"root"});class Xo{constructor(Me){this._mutationObserverFactory=Me,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((Me,Fe)=>this._cleanupObserver(Fe))}observe(Me){const Fe=(0,m.fI)(Me);return new Po.y(ge=>{const xe=this._observeElement(Fe).subscribe(ge);return()=>{xe.unsubscribe(),this._unobserveElement(Fe)}})}_observeElement(Me){if(this._observedElements.has(Me))this._observedElements.get(Me).count++;else{const Fe=new o.xQ,ge=this._mutationObserverFactory.create(ae=>Fe.next(ae));ge&&ge.observe(Me,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(Me,{observer:ge,stream:Fe,count:1})}return this._observedElements.get(Me).stream}_unobserveElement(Me){this._observedElements.has(Me)&&(this._observedElements.get(Me).count--,this._observedElements.get(Me).count||this._cleanupObserver(Me))}_cleanupObserver(Me){if(this._observedElements.has(Me)){const{observer:Fe,stream:ge}=this._observedElements.get(Me);Fe&&Fe.disconnect(),ge.complete(),this._observedElements.delete(Me)}}}Xo.\u0275fac=function(Me){return new(Me||Xo)(n.LFG(rs))},Xo.\u0275prov=n.Yz7({token:Xo,factory:Xo.\u0275fac,providedIn:"root"});class ba{constructor(Me,Fe,ge){this._contentObserver=Me,this._elementRef=Fe,this._ngZone=ge,this.event=new n.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,m.Ig)(Me),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(Me){this._debounce=(0,m.su)(Me),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const Me=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?Me.pipe((0,Or.b)(this.debounce)):Me).subscribe(this.event)})}_unsubscribe(){var Me;null===(Me=this._currentSubscription)||void 0===Me||Me.unsubscribe()}}ba.\u0275fac=function(Me){return new(Me||ba)(n.Y36(Xo),n.Y36(n.SBq),n.Y36(n.R0b))},ba.\u0275dir=n.lG2({type:ba,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});class xs{}xs.\u0275fac=function(Me){return new(Me||xs)},xs.\u0275mod=n.oAB({type:xs,declarations:[ba],exports:[ba]}),xs.\u0275inj=n.cJS({providers:[rs]});function Jo(nn,Me){return(nn.getAttribute(Me)||"").match(/\S+/g)||[]}const Io="cdk-describedby-message",or="cdk-describedby-host";let q=0;class ne{constructor(Me,Fe){this._platform=Fe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+q++,this._document=Me}describe(Me,Fe,ge){if(!this._canBeDescribed(Me,Fe))return;const ae=me(Fe,ge);"string"!=typeof Fe?(Be(Fe),this._messageRegistry.set(ae,{messageElement:Fe,referenceCount:0})):this._messageRegistry.has(ae)||this._createMessageElement(Fe,ge),this._isElementDescribedByMessage(Me,ae)||this._addMessageReference(Me,ae)}removeDescription(Me,Fe,ge){var ae;if(!Fe||!this._isElementNode(Me))return;const xe=me(Fe,ge);if(this._isElementDescribedByMessage(Me,xe)&&this._removeMessageReference(Me,xe),"string"==typeof Fe){const He=this._messageRegistry.get(xe);He&&0===He.referenceCount&&this._deleteMessageElement(xe)}0===(null===(ae=this._messagesContainer)||void 0===ae?void 0:ae.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var Me;const Fe=this._document.querySelectorAll(`[${or}="${this._id}"]`);for(let ge=0;ge<Fe.length;ge++)this._removeCdkDescribedByReferenceIds(Fe[ge]),Fe[ge].removeAttribute(or);null===(Me=this._messagesContainer)||void 0===Me||Me.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(Me,Fe){const ge=this._document.createElement("div");Be(ge),ge.textContent=Me,Fe&&ge.setAttribute("role",Fe),this._createMessagesContainer(),this._messagesContainer.appendChild(ge),this._messageRegistry.set(me(Me,Fe),{messageElement:ge,referenceCount:0})}_deleteMessageElement(Me){var Fe,ge;null===(ge=null===(Fe=this._messageRegistry.get(Me))||void 0===Fe?void 0:Fe.messageElement)||void 0===ge||ge.remove(),this._messageRegistry.delete(Me)}_createMessagesContainer(){if(this._messagesContainer)return;const Me="cdk-describedby-message-container",Fe=this._document.querySelectorAll(`.${Me}[platform="server"]`);for(let ae=0;ae<Fe.length;ae++)Fe[ae].remove();const ge=this._document.createElement("div");ge.style.visibility="hidden",ge.classList.add(Me),ge.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ge.setAttribute("platform","server"),this._document.body.appendChild(ge),this._messagesContainer=ge}_removeCdkDescribedByReferenceIds(Me){const Fe=Jo(Me,"aria-describedby").filter(ge=>0!=ge.indexOf(Io));Me.setAttribute("aria-describedby",Fe.join(" "))}_addMessageReference(Me,Fe){const ge=this._messageRegistry.get(Fe);(function aa(nn,Me,Fe){const ge=Jo(nn,Me);ge.some(ae=>ae.trim()==Fe.trim())||(ge.push(Fe.trim()),nn.setAttribute(Me,ge.join(" ")))})(Me,"aria-describedby",ge.messageElement.id),Me.setAttribute(or,this._id),ge.referenceCount++}_removeMessageReference(Me,Fe){const ge=this._messageRegistry.get(Fe);ge.referenceCount--,function js(nn,Me,Fe){const ae=Jo(nn,Me).filter(xe=>xe!=Fe.trim());ae.length?nn.setAttribute(Me,ae.join(" ")):nn.removeAttribute(Me)}(Me,"aria-describedby",ge.messageElement.id),Me.removeAttribute(or)}_isElementDescribedByMessage(Me,Fe){const ge=Jo(Me,"aria-describedby"),ae=this._messageRegistry.get(Fe),xe=ae&&ae.messageElement.id;return!!xe&&-1!=ge.indexOf(xe)}_canBeDescribed(Me,Fe){if(!this._isElementNode(Me))return!1;if(Fe&&"object"==typeof Fe)return!0;const ge=null==Fe?"":`${Fe}`.trim(),ae=Me.getAttribute("aria-label");return!!ge&&(!ae||ae.trim()!==ge)}_isElementNode(Me){return Me.nodeType===this._document.ELEMENT_NODE}}function me(nn,Me){return"string"==typeof nn?`${Me||""}/${nn}`:nn}function Be(nn){nn.id||(nn.id=`${Io}-${q++}`)}ne.\u0275fac=function(Me){return new(Me||ne)(n.LFG(i.K0),n.LFG(P.t4))},ne.\u0275prov=n.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"});class Pt{constructor(Me){this._platform=Me}isDisabled(Me){return Me.hasAttribute("disabled")}isVisible(Me){return function Dn(nn){return!!(nn.offsetWidth||nn.offsetHeight||"function"==typeof nn.getClientRects&&nn.getClientRects().length)}(Me)&&"visible"===getComputedStyle(Me).visibility}isTabbable(Me){if(!this._platform.isBrowser)return!1;const Fe=function Et(nn){try{return nn.frameElement}catch(Me){return null}}(function In(nn){return nn.ownerDocument&&nn.ownerDocument.defaultView||window}(Me));if(Fe&&(-1===kr(Fe)||!this.isVisible(Fe)))return!1;let ge=Me.nodeName.toLowerCase(),ae=kr(Me);return Me.hasAttribute("contenteditable")?-1!==ae:!("iframe"===ge||"object"===ge||this._platform.WEBKIT&&this._platform.IOS&&!function Ri(nn){let Me=nn.nodeName.toLowerCase(),Fe="input"===Me&&nn.type;return"text"===Fe||"password"===Fe||"select"===Me||"textarea"===Me}(Me))&&("audio"===ge?!!Me.hasAttribute("controls")&&-1!==ae:"video"===ge?-1!==ae&&(null!==ae||(this._platform.FIREFOX||Me.hasAttribute("controls"))):Me.tabIndex>=0)}isFocusable(Me,Fe){return function Yi(nn){return!function An(nn){return function ui(nn){return"input"==nn.nodeName.toLowerCase()}(nn)&&"hidden"==nn.type}(nn)&&(function Ln(nn){let Me=nn.nodeName.toLowerCase();return"input"===Me||"select"===Me||"button"===Me||"textarea"===Me}(nn)||function Qn(nn){return function Ui(nn){return"a"==nn.nodeName.toLowerCase()}(nn)&&nn.hasAttribute("href")}(nn)||nn.hasAttribute("contenteditable")||hr(nn))}(Me)&&!this.isDisabled(Me)&&((null==Fe?void 0:Fe.ignoreVisibility)||this.isVisible(Me))}}function hr(nn){if(!nn.hasAttribute("tabindex")||void 0===nn.tabIndex)return!1;let Me=nn.getAttribute("tabindex");return!(!Me||isNaN(parseInt(Me,10)))}function kr(nn){if(!hr(nn))return null;const Me=parseInt(nn.getAttribute("tabindex")||"",10);return isNaN(Me)?-1:Me}Pt.\u0275fac=function(Me){return new(Me||Pt)(n.LFG(P.t4))},Pt.\u0275prov=n.Yz7({token:Pt,factory:Pt.\u0275fac,providedIn:"root"});class Pr{constructor(Me,Fe,ge,ae,xe=!1){this._element=Me,this._checker=Fe,this._ngZone=ge,this._document=ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,xe||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Me){this._enabled=Me,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Me,this._startAnchor),this._toggleAnchorTabIndex(Me,this._endAnchor))}destroy(){const Me=this._startAnchor,Fe=this._endAnchor;Me&&(Me.removeEventListener("focus",this.startAnchorListener),Me.remove()),Fe&&(Fe.removeEventListener("focus",this.endAnchorListener),Fe.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(Me){return new Promise(Fe=>{this._executeOnStable(()=>Fe(this.focusInitialElement(Me)))})}focusFirstTabbableElementWhenReady(Me){return new Promise(Fe=>{this._executeOnStable(()=>Fe(this.focusFirstTabbableElement(Me)))})}focusLastTabbableElementWhenReady(Me){return new Promise(Fe=>{this._executeOnStable(()=>Fe(this.focusLastTabbableElement(Me)))})}_getRegionBoundary(Me){const Fe=this._element.querySelectorAll(`[cdk-focus-region-${Me}], [cdkFocusRegion${Me}], [cdk-focus-${Me}]`);return"start"==Me?Fe.length?Fe[0]:this._getFirstTabbableElement(this._element):Fe.length?Fe[Fe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Me){const Fe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(Fe){if(!this._checker.isFocusable(Fe)){const ge=this._getFirstTabbableElement(Fe);return null==ge||ge.focus(Me),!!ge}return Fe.focus(Me),!0}return this.focusFirstTabbableElement(Me)}focusFirstTabbableElement(Me){const Fe=this._getRegionBoundary("start");return Fe&&Fe.focus(Me),!!Fe}focusLastTabbableElement(Me){const Fe=this._getRegionBoundary("end");return Fe&&Fe.focus(Me),!!Fe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Me){if(this._checker.isFocusable(Me)&&this._checker.isTabbable(Me))return Me;const Fe=Me.children;for(let ge=0;ge<Fe.length;ge++){const ae=Fe[ge].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(Fe[ge]):null;if(ae)return ae}return null}_getLastTabbableElement(Me){if(this._checker.isFocusable(Me)&&this._checker.isTabbable(Me))return Me;const Fe=Me.children;for(let ge=Fe.length-1;ge>=0;ge--){const ae=Fe[ge].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(Fe[ge]):null;if(ae)return ae}return null}_createAnchor(){const Me=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Me),Me.classList.add("cdk-visually-hidden"),Me.classList.add("cdk-focus-trap-anchor"),Me.setAttribute("aria-hidden","true"),Me}_toggleAnchorTabIndex(Me,Fe){Me?Fe.setAttribute("tabindex","0"):Fe.removeAttribute("tabindex")}toggleAnchors(Me){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Me,this._startAnchor),this._toggleAnchorTabIndex(Me,this._endAnchor))}_executeOnStable(Me){this._ngZone.isStable?Me():this._ngZone.onStable.pipe((0,bo.q)(1)).subscribe(Me)}}class Ir{constructor(Me,Fe,ge){this._checker=Me,this._ngZone=Fe,this._document=ge}create(Me,Fe=!1){return new Pr(Me,this._checker,this._ngZone,this._document,Fe)}}Ir.\u0275fac=function(Me){return new(Me||Ir)(n.LFG(Pt),n.LFG(n.R0b),n.LFG(i.K0))},Ir.\u0275prov=n.Yz7({token:Ir,factory:Ir.\u0275fac,providedIn:"root"});class ir{constructor(Me,Fe,ge){this._elementRef=Me,this._focusTrapFactory=Fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(Me){this.focusTrap.enabled=(0,m.Ig)(Me)}get autoCapture(){return this._autoCapture}set autoCapture(Me){this._autoCapture=(0,m.Ig)(Me)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(Me){const Fe=Me.autoCapture;Fe&&!Fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,P.ht)(),this.focusTrap.focusInitialElementWhenReady()}}ir.\u0275fac=function(Me){return new(Me||ir)(n.Y36(n.SBq),n.Y36(Ir),n.Y36(i.K0))},ir.\u0275dir=n.lG2({type:ir,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[n.TTD]});class ds extends Pr{constructor(Me,Fe,ge,ae,xe,He,Ke){super(Me,Fe,ge,ae,Ke.defer),this._focusTrapManager=xe,this._inertStrategy=He,this._focusTrapManager.register(this)}get enabled(){return this._enabled}set enabled(Me){this._enabled=Me,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const Go=new n.OlP("FOCUS_TRAP_INERT_STRATEGY");class ko{constructor(){this._listener=null}preventFocus(Me){this._listener&&Me._document.removeEventListener("focus",this._listener,!0),this._listener=Fe=>this._trapFocus(Me,Fe),Me._ngZone.runOutsideAngular(()=>{Me._document.addEventListener("focus",this._listener,!0)})}allowFocus(Me){!this._listener||(Me._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(Me,Fe){var ge;const ae=Fe.target,xe=Me._element;ae&&!xe.contains(ae)&&!(null===(ge=ae.closest)||void 0===ge?void 0:ge.call(ae,"div.cdk-overlay-pane"))&&setTimeout(()=>{Me.enabled&&!xe.contains(Me._document.activeElement)&&Me.focusFirstTabbableElement()})}}class zo{constructor(){this._focusTrapStack=[]}register(Me){this._focusTrapStack=this._focusTrapStack.filter(ge=>ge!==Me);let Fe=this._focusTrapStack;Fe.length&&Fe[Fe.length-1]._disable(),Fe.push(Me),Me._enable()}deregister(Me){Me._disable();const Fe=this._focusTrapStack,ge=Fe.indexOf(Me);-1!==ge&&(Fe.splice(ge,1),Fe.length&&Fe[Fe.length-1]._enable())}}zo.\u0275fac=function(Me){return new(Me||zo)},zo.\u0275prov=n.Yz7({token:zo,factory:zo.\u0275fac,providedIn:"root"});class Cs{constructor(Me,Fe,ge,ae,xe){this._checker=Me,this._ngZone=Fe,this._focusTrapManager=ge,this._document=ae,this._inertStrategy=xe||new ko}create(Me,Fe={defer:!1}){let ge;return ge="boolean"==typeof Fe?{defer:Fe}:Fe,new ds(Me,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,ge)}}function Rr(nn){return 0===nn.buttons||0===nn.offsetX&&0===nn.offsetY}function Qe(nn){const Me=nn.touches&&nn.touches[0]||nn.changedTouches&&nn.changedTouches[0];return!(!Me||-1!==Me.identifier||null!=Me.radiusX&&1!==Me.radiusX||null!=Me.radiusY&&1!==Me.radiusY)}Cs.\u0275fac=function(Me){return new(Me||Cs)(n.LFG(Pt),n.LFG(n.R0b),n.LFG(zo),n.LFG(i.K0),n.LFG(Go,8))},Cs.\u0275prov=n.Yz7({token:Cs,factory:Cs.\u0275fac,providedIn:"root"});const Oe=new n.OlP("cdk-input-modality-detector-options"),gt={ignoreKeys:[18,17,224,91,16]},Cn=(0,P.i$)({passive:!0,capture:!0});class ze{constructor(Me,Fe,ge,ae){this._platform=Me,this._mostRecentTarget=null,this._modality=new s.X(null),this._lastTouchMs=0,this._onKeydown=xe=>{var He,Ke;(null===(Ke=null===(He=this._options)||void 0===He?void 0:He.ignoreKeys)||void 0===Ke?void 0:Ke.some(bt=>bt===xe.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,P.sA)(xe))},this._onMousedown=xe=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Rr(xe)?"keyboard":"mouse"),this._mostRecentTarget=(0,P.sA)(xe))},this._onTouchstart=xe=>{Qe(xe)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,P.sA)(xe))},this._options=Object.assign(Object.assign({},gt),ae),this.modalityDetected=this._modality.pipe((0,yr.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,yo.x)()),Me.isBrowser&&Fe.runOutsideAngular(()=>{ge.addEventListener("keydown",this._onKeydown,Cn),ge.addEventListener("mousedown",this._onMousedown,Cn),ge.addEventListener("touchstart",this._onTouchstart,Cn)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Cn),document.removeEventListener("mousedown",this._onMousedown,Cn),document.removeEventListener("touchstart",this._onTouchstart,Cn))}}ze.\u0275fac=function(Me){return new(Me||ze)(n.LFG(P.t4),n.LFG(n.R0b),n.LFG(i.K0),n.LFG(Oe,8))},ze.\u0275prov=n.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"});const ke=new n.OlP("liveAnnouncerElement",{providedIn:"root",factory:function oe(){return null}});const pt=new n.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");class zt{constructor(Me,Fe,ge,ae){this._ngZone=Fe,this._defaultOptions=ae,this._document=ge,this._liveElement=Me||this._createLiveElement()}announce(Me,...Fe){const ge=this._defaultOptions;let ae,xe;return 1===Fe.length&&"number"==typeof Fe[0]?xe=Fe[0]:[ae,xe]=Fe,this.clear(),clearTimeout(this._previousTimeout),ae||(ae=ge&&ge.politeness?ge.politeness:"polite"),null==xe&&ge&&(xe=ge.duration),this._liveElement.setAttribute("aria-live",ae),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(He=>this._currentResolve=He)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=Me,"number"==typeof xe&&(this._previousTimeout=setTimeout(()=>this.clear(),xe)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var Me,Fe;clearTimeout(this._previousTimeout),null===(Me=this._liveElement)||void 0===Me||Me.remove(),this._liveElement=null,null===(Fe=this._currentResolve)||void 0===Fe||Fe.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const Me="cdk-live-announcer-element",Fe=this._document.getElementsByClassName(Me),ge=this._document.createElement("div");for(let ae=0;ae<Fe.length;ae++)Fe[ae].remove();return ge.classList.add(Me),ge.classList.add("cdk-visually-hidden"),ge.setAttribute("aria-atomic","true"),ge.setAttribute("aria-live","polite"),this._document.body.appendChild(ge),ge}}zt.\u0275fac=function(Me){return new(Me||zt)(n.LFG(ke,8),n.LFG(n.R0b),n.LFG(i.K0),n.LFG(pt,8))},zt.\u0275prov=n.Yz7({token:zt,factory:zt.\u0275fac,providedIn:"root"});class Dt{constructor(Me,Fe,ge,ae){this._elementRef=Me,this._liveAnnouncer=Fe,this._contentObserver=ge,this._ngZone=ae,this._politeness="polite"}get politeness(){return this._politeness}set politeness(Me){this._politeness="off"===Me||"assertive"===Me?Me:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const Fe=this._elementRef.nativeElement.textContent;Fe!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(Fe,this._politeness),this._previousAnnouncedText=Fe)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}Dt.\u0275fac=function(Me){return new(Me||Dt)(n.Y36(n.SBq),n.Y36(zt),n.Y36(Xo),n.Y36(n.R0b))},Dt.\u0275dir=n.lG2({type:Dt,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]});const En=new n.OlP("cdk-focus-monitor-default-options"),ci=(0,P.i$)({passive:!0,capture:!0});class Ei{constructor(Me,Fe,ge,ae,xe){this._ngZone=Me,this._platform=Fe,this._inputModalityDetector=ge,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 o.xQ,this._rootNodeFocusAndBlurListener=He=>{const Ke=(0,P.sA)(He),bt="focus"===He.type?this._onFocus:this._onBlur;for(let Tt=Ke;Tt;Tt=Tt.parentElement)bt.call(this,He,Tt)},this._document=ae,this._detectionMode=(null==xe?void 0:xe.detectionMode)||0}monitor(Me,Fe=!1){const ge=(0,m.fI)(Me);if(!this._platform.isBrowser||1!==ge.nodeType)return(0,h.of)(null);const ae=(0,P.kV)(ge)||this._getDocument(),xe=this._elementInfo.get(ge);if(xe)return Fe&&(xe.checkChildren=!0),xe.subject;const He={checkChildren:Fe,subject:new o.xQ,rootNode:ae};return this._elementInfo.set(ge,He),this._registerGlobalListeners(He),He.subject}stopMonitoring(Me){const Fe=(0,m.fI)(Me),ge=this._elementInfo.get(Fe);ge&&(ge.subject.complete(),this._setClasses(Fe),this._elementInfo.delete(Fe),this._removeGlobalListeners(ge))}focusVia(Me,Fe,ge){const ae=(0,m.fI)(Me);ae===this._getDocument().activeElement?this._getClosestElementsInfo(ae).forEach(([He,Ke])=>this._originChanged(He,Fe,Ke)):(this._setOrigin(Fe),"function"==typeof ae.focus&&ae.focus(ge))}ngOnDestroy(){this._elementInfo.forEach((Me,Fe)=>this.stopMonitoring(Fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(Me){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(Me)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(Me){return 1===this._detectionMode||!!(null==Me?void 0:Me.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(Me,Fe){Me.classList.toggle("cdk-focused",!!Fe),Me.classList.toggle("cdk-touch-focused","touch"===Fe),Me.classList.toggle("cdk-keyboard-focused","keyboard"===Fe),Me.classList.toggle("cdk-mouse-focused","mouse"===Fe),Me.classList.toggle("cdk-program-focused","program"===Fe)}_setOrigin(Me,Fe=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=Me,this._originFromTouchInteraction="touch"===Me&&Fe,0===this._detectionMode){clearTimeout(this._originTimeoutId);const ge=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,ge)}})}_onFocus(Me,Fe){const ge=this._elementInfo.get(Fe),ae=(0,P.sA)(Me);!ge||!ge.checkChildren&&Fe!==ae||this._originChanged(Fe,this._getFocusOrigin(ae),ge)}_onBlur(Me,Fe){const ge=this._elementInfo.get(Fe);!ge||ge.checkChildren&&Me.relatedTarget instanceof Node&&Fe.contains(Me.relatedTarget)||(this._setClasses(Fe),this._emitOrigin(ge.subject,null))}_emitOrigin(Me,Fe){this._ngZone.run(()=>Me.next(Fe))}_registerGlobalListeners(Me){if(!this._platform.isBrowser)return;const Fe=Me.rootNode,ge=this._rootNodeFocusListenerCount.get(Fe)||0;ge||this._ngZone.runOutsideAngular(()=>{Fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,ci),Fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,ci)}),this._rootNodeFocusListenerCount.set(Fe,ge+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Fo.R)(this._stopInputModalityDetector)).subscribe(ae=>{this._setOrigin(ae,!0)}))}_removeGlobalListeners(Me){const Fe=Me.rootNode;if(this._rootNodeFocusListenerCount.has(Fe)){const ge=this._rootNodeFocusListenerCount.get(Fe);ge>1?this._rootNodeFocusListenerCount.set(Fe,ge-1):(Fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ci),Fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ci),this._rootNodeFocusListenerCount.delete(Fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(Me,Fe,ge){this._setClasses(Me,Fe),this._emitOrigin(ge.subject,Fe),this._lastFocusOrigin=Fe}_getClosestElementsInfo(Me){const Fe=[];return this._elementInfo.forEach((ge,ae)=>{(ae===Me||ge.checkChildren&&ae.contains(Me))&&Fe.push([ae,ge])}),Fe}}Ei.\u0275fac=function(Me){return new(Me||Ei)(n.LFG(n.R0b),n.LFG(P.t4),n.LFG(ze),n.LFG(i.K0,8),n.LFG(En,8))},Ei.\u0275prov=n.Yz7({token:Ei,factory:Ei.\u0275fac,providedIn:"root"});class xr{constructor(Me,Fe){this._elementRef=Me,this._focusMonitor=Fe,this.cdkFocusChange=new n.vpe}ngAfterViewInit(){const Me=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(Me,1===Me.nodeType&&Me.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Fe=>this.cdkFocusChange.emit(Fe))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}xr.\u0275fac=function(Me){return new(Me||xr)(n.Y36(n.SBq),n.Y36(Ei))},xr.\u0275dir=n.lG2({type:xr,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}});const ft="cdk-high-contrast-black-on-white",ye="cdk-high-contrast-white-on-black",Xe="cdk-high-contrast-active";class tn{constructor(Me,Fe){this._platform=Me,this._document=Fe}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const Me=this._document.createElement("div");Me.style.backgroundColor="rgb(1,2,3)",Me.style.position="absolute",this._document.body.appendChild(Me);const Fe=this._document.defaultView||window,ge=Fe&&Fe.getComputedStyle?Fe.getComputedStyle(Me):null,ae=(ge&&ge.backgroundColor||"").replace(/ /g,"");switch(Me.remove(),ae){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const Me=this._document.body.classList;Me.remove(Xe),Me.remove(ft),Me.remove(ye),this._hasCheckedHighContrastMode=!0;const Fe=this.getHighContrastMode();1===Fe?(Me.add(Xe),Me.add(ft)):2===Fe&&(Me.add(Xe),Me.add(ye))}}}tn.\u0275fac=function(Me){return new(Me||tn)(n.LFG(P.t4),n.LFG(i.K0))},tn.\u0275prov=n.Yz7({token:tn,factory:tn.\u0275fac,providedIn:"root"});class hi{constructor(Me){Me._applyBodyHighContrastModeCssClasses()}}hi.\u0275fac=function(Me){return new(Me||hi)(n.LFG(tn))},hi.\u0275mod=n.oAB({type:hi,declarations:[Dt,ir,xr],imports:[xs],exports:[Dt,ir,xr]}),hi.\u0275inj=n.cJS({imports:[[xs]]});var zr=B(32425),io=B(13491),$l=B(58310),pa=B(88623),nl=B(25722),Bl=B(86942),bi=B(88759),qo=B(59095),La=B(74808),Gs=B(51588);function Na(nn,Me,Fe){for(let ge in Me)if(Me.hasOwnProperty(ge)){const ae=Me[ge];ae?nn.setProperty(ge,ae,(null==Fe?void 0:Fe.has(ge))?"important":""):nn.removeProperty(ge)}return nn}function ja(nn,Me){const Fe=Me?"":"none";Na(nn.style,{"touch-action":Me?"":"none","-webkit-user-drag":Me?"":"none","-webkit-tap-highlight-color":Me?"":"transparent","user-select":Fe,"-ms-user-select":Fe,"-webkit-user-select":Fe,"-moz-user-select":Fe})}function Fs(nn,Me,Fe){Na(nn.style,{position:Me?"":"fixed",top:Me?"":"0",opacity:Me?"":"0",left:Me?"":"-999em"},Fe)}function Ro(nn,Me){return Me&&"none"!=Me?nn+" "+Me:nn}function ml(nn){const Me=nn.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(nn)*Me}function c1(nn,Me){return nn.getPropertyValue(Me).split(",").map(ge=>ge.trim())}function Ea(nn){const Me=nn.getBoundingClientRect();return{top:Me.top,right:Me.right,bottom:Me.bottom,left:Me.left,width:Me.width,height:Me.height,x:Me.x,y:Me.y}}function Ls(nn,Me,Fe){const{top:ge,bottom:ae,left:xe,right:He}=nn;return Fe>=ge&&Fe<=ae&&Me>=xe&&Me<=He}function us(nn,Me,Fe){nn.top+=Me,nn.bottom=nn.top+nn.height,nn.left+=Fe,nn.right=nn.left+nn.width}function Ll(nn,Me,Fe,ge){const{top:ae,right:xe,bottom:He,left:Ke,width:bt,height:Tt}=nn,gn=bt*Me,yi=Tt*Me;return ge>ae-yi&&ge<He+yi&&Fe>Ke-gn&&Fe<xe+gn}class il{constructor(Me){this._document=Me,this.positions=new Map}clear(){this.positions.clear()}cache(Me){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),Me.forEach(Fe=>{this.positions.set(Fe,{scrollPosition:{top:Fe.scrollTop,left:Fe.scrollLeft},clientRect:Ea(Fe)})})}handleScroll(Me){const Fe=(0,P.sA)(Me),ge=this.positions.get(Fe);if(!ge)return null;const ae=ge.scrollPosition;let xe,He;if(Fe===this._document){const Tt=this.getViewportScrollPosition();xe=Tt.top,He=Tt.left}else xe=Fe.scrollTop,He=Fe.scrollLeft;const Ke=ae.top-xe,bt=ae.left-He;return this.positions.forEach((Tt,gn)=>{Tt.clientRect&&Fe!==gn&&Fe.contains(gn)&&us(Tt.clientRect,Ke,bt)}),ae.top=xe,ae.left=He,{top:Ke,left:bt}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function vl(nn){const Me=nn.cloneNode(!0),Fe=Me.querySelectorAll("[id]"),ge=nn.nodeName.toLowerCase();Me.removeAttribute("id");for(let ae=0;ae<Fe.length;ae++)Fe[ae].removeAttribute("id");return"canvas"===ge?Rs(nn,Me):("input"===ge||"select"===ge||"textarea"===ge)&&x1(nn,Me),Da("canvas",nn,Me,Rs),Da("input, textarea, select",nn,Me,x1),Me}function Da(nn,Me,Fe,ge){const ae=Me.querySelectorAll(nn);if(ae.length){const xe=Fe.querySelectorAll(nn);for(let He=0;He<ae.length;He++)ge(ae[He],xe[He])}}let d1=0;function x1(nn,Me){"file"!==Me.type&&(Me.value=nn.value),"radio"===Me.type&&Me.name&&(Me.name=`mat-clone-${Me.name}-${d1++}`)}function Rs(nn,Me){const Fe=Me.getContext("2d");if(Fe)try{Fe.drawImage(nn,0,0)}catch(ge){}}const u1=(0,P.i$)({passive:!0}),oa=(0,P.i$)({passive:!1}),Ia=new Set(["position"]);class Fl{constructor(Me,Fe,ge,ae,xe,He){this._config=Fe,this._document=ge,this._ngZone=ae,this._viewportRuler=xe,this._dragDropRegistry=He,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new o.xQ,this._pointerMoveSubscription=zr.w.EMPTY,this._pointerUpSubscription=zr.w.EMPTY,this._scrollSubscription=zr.w.EMPTY,this._resizeSubscription=zr.w.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new o.xQ,this.started=new o.xQ,this.released=new o.xQ,this.ended=new o.xQ,this.entered=new o.xQ,this.exited=new o.xQ,this.dropped=new o.xQ,this.moved=this._moveEvents,this._pointerDown=Ke=>{if(this.beforeStarted.next(),this._handles.length){const bt=this._getTargetHandle(Ke);bt&&!this._disabledHandles.has(bt)&&!this.disabled&&this._initializeDragSequence(bt,Ke)}else this.disabled||this._initializeDragSequence(this._rootElement,Ke)},this._pointerMove=Ke=>{const bt=this._getPointerPositionOnPage(Ke);if(!this._hasStartedDragging){if(Math.abs(bt.x-this._pickupPositionOnPage.x)+Math.abs(bt.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const K=Date.now()>=this._dragStartTime+this._getDragStartDelay(Ke),he=this._dropContainer;if(!K)return void this._endDragSequence(Ke);(!he||!he.isDragging()&&!he.isReceiving())&&(Ke.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(Ke)))}return}Ke.preventDefault();const Tt=this._getConstrainedPointerPosition(bt);if(this._hasMoved=!0,this._lastKnownPointerPosition=bt,this._updatePointerDirectionDelta(Tt),this._dropContainer)this._updateActiveDropContainer(Tt,bt);else{const gn=this._activeTransform;gn.x=Tt.x-this._pickupPositionOnPage.x+this._passiveTransform.x,gn.y=Tt.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(gn.x,gn.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:Tt,event:Ke,distance:this._getDragDistance(Tt),delta:this._pointerDirectionDelta})})},this._pointerUp=Ke=>{this._endDragSequence(Ke)},this._nativeDragStart=Ke=>{if(this._handles.length){const bt=this._getTargetHandle(Ke);bt&&!this._disabledHandles.has(bt)&&!this.disabled&&Ke.preventDefault()}else this.disabled||Ke.preventDefault()},this.withRootElement(Me).withParent(Fe.parentDragRef||null),this._parentPositions=new il(ge),He.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(Me){const Fe=(0,m.Ig)(Me);Fe!==this._disabled&&(this._disabled=Fe,this._toggleNativeDragInteractions(),this._handles.forEach(ge=>ja(ge,Fe)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(Me){this._handles=Me.map(ge=>(0,m.fI)(ge)),this._handles.forEach(ge=>ja(ge,this.disabled)),this._toggleNativeDragInteractions();const Fe=new Set;return this._disabledHandles.forEach(ge=>{this._handles.indexOf(ge)>-1&&Fe.add(ge)}),this._disabledHandles=Fe,this}withPreviewTemplate(Me){return this._previewTemplate=Me,this}withPlaceholderTemplate(Me){return this._placeholderTemplate=Me,this}withRootElement(Me){const Fe=(0,m.fI)(Me);return Fe!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{Fe.addEventListener("mousedown",this._pointerDown,oa),Fe.addEventListener("touchstart",this._pointerDown,u1),Fe.addEventListener("dragstart",this._nativeDragStart,oa)}),this._initialTransform=void 0,this._rootElement=Fe),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(Me){return this._boundaryElement=Me?(0,m.fI)(Me):null,this._resizeSubscription.unsubscribe(),Me&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(Me){return this._parentDragRef=Me,this}dispose(){var Me,Fe;this._removeRootElementListeners(this._rootElement),this.isDragging()&&(null===(Me=this._rootElement)||void 0===Me||Me.remove()),null===(Fe=this._anchor)||void 0===Fe||Fe.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(Me){!this._disabledHandles.has(Me)&&this._handles.indexOf(Me)>-1&&(this._disabledHandles.add(Me),ja(Me,!0))}enableHandle(Me){this._disabledHandles.has(Me)&&(this._disabledHandles.delete(Me),ja(Me,this.disabled))}withDirection(Me){return this._direction=Me,this}_withDropContainer(Me){this._dropContainer=Me}getFreeDragPosition(){const Me=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:Me.x,y:Me.y}}setFreeDragPosition(Me){return this._activeTransform={x:0,y:0},this._passiveTransform.x=Me.x,this._passiveTransform.y=Me.y,this._dropContainer||this._applyRootElementTransform(Me.x,Me.y),this}withPreviewContainer(Me){return this._previewContainer=Me,this}_sortFromLastPointerPosition(){const Me=this._lastKnownPointerPosition;Me&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(Me),Me)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){var Me,Fe;null===(Me=this._preview)||void 0===Me||Me.remove(),null===(Fe=this._previewRef)||void 0===Fe||Fe.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){var Me,Fe;null===(Me=this._placeholder)||void 0===Me||Me.remove(),null===(Fe=this._placeholderRef)||void 0===Fe||Fe.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(Me){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(Me),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const Fe=this._getPointerPositionOnPage(Me);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(Fe),dropPoint:Fe})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(Me){Ie(Me)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const Fe=this._dropContainer;if(Fe){const ge=this._rootElement,ae=ge.parentNode,xe=this._placeholder=this._createPlaceholderElement(),He=this._anchor=this._anchor||this._document.createComment(""),Ke=this._getShadowRoot();ae.insertBefore(He,ge),this._initialTransform=ge.style.transform||"",this._preview=this._createPreviewElement(),Fs(ge,!1,Ia),this._document.body.appendChild(ae.replaceChild(xe,ge)),this._getPreviewInsertionPoint(ae,Ke).appendChild(this._preview),this.started.next({source:this}),Fe.start(),this._initialContainer=Fe,this._initialIndex=Fe.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(Fe?Fe.getScrollableParents():[])}_initializeDragSequence(Me,Fe){this._parentDragRef&&Fe.stopPropagation();const ge=this.isDragging(),ae=Ie(Fe),xe=!ae&&0!==Fe.button,He=this._rootElement,Ke=(0,P.sA)(Fe),bt=!ae&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),Tt=ae?Qe(Fe):Rr(Fe);if(Ke&&Ke.draggable&&"mousedown"===Fe.type&&Fe.preventDefault(),ge||xe||bt||Tt)return;if(this._handles.length){const D=He.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=Ea(this._boundaryElement));const gn=this._previewTemplate;this._pickupPositionInElement=gn&&gn.template&&!gn.matchSize?{x:0,y:0}:this._getPointerPositionInElement(Me,Fe);const yi=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(Fe);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:yi.x,y:yi.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,Fe)}_cleanupDragArtifacts(Me){Fs(this._rootElement,!0,Ia),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const Fe=this._dropContainer,ge=Fe.getItemIndex(this),ae=this._getPointerPositionOnPage(Me),xe=this._getDragDistance(ae),He=Fe._isOverContainer(ae.x,ae.y);this.ended.next({source:this,distance:xe,dropPoint:ae}),this.dropped.next({item:this,currentIndex:ge,previousIndex:this._initialIndex,container:Fe,previousContainer:this._initialContainer,isPointerOverContainer:He,distance:xe,dropPoint:ae}),Fe.drop(this,ge,this._initialIndex,this._initialContainer,He,xe,ae),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:Me,y:Fe},{x:ge,y:ae}){let xe=this._initialContainer._getSiblingContainerFromPosition(this,Me,Fe);!xe&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(Me,Fe)&&(xe=this._initialContainer),xe&&xe!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=xe,this._dropContainer.enter(this,Me,Fe,xe===this._initialContainer&&xe.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:xe,currentIndex:xe.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(ge,ae),this._dropContainer._sortItem(this,Me,Fe,this._pointerDirectionDelta),this._applyPreviewTransform(Me-this._pickupPositionInElement.x,Fe-this._pickupPositionInElement.y))}_createPreviewElement(){const Me=this._previewTemplate,Fe=this.previewClass,ge=Me?Me.template:null;let ae;if(ge&&Me){const xe=Me.matchSize?this._rootElement.getBoundingClientRect():null,He=Me.viewContainer.createEmbeddedView(ge,Me.context);He.detectChanges(),ae=Ze(He,this._document),this._previewRef=He,Me.matchSize?Vt(ae,xe):ae.style.transform=Kl(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const xe=this._rootElement;ae=vl(xe),Vt(ae,xe.getBoundingClientRect()),this._initialTransform&&(ae.style.transform=this._initialTransform)}return Na(ae.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},Ia),ja(ae,!1),ae.classList.add("cdk-drag-preview"),ae.setAttribute("dir",this._direction),Fe&&(Array.isArray(Fe)?Fe.forEach(xe=>ae.classList.add(xe)):ae.classList.add(Fe)),ae}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const Me=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(Me.left,Me.top);const Fe=function Uo(nn){const Me=getComputedStyle(nn),Fe=c1(Me,"transition-property"),ge=Fe.find(Ke=>"transform"===Ke||"all"===Ke);if(!ge)return 0;const ae=Fe.indexOf(ge),xe=c1(Me,"transition-duration"),He=c1(Me,"transition-delay");return ml(xe[ae])+ml(He[ae])}(this._preview);return 0===Fe?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(ge=>{const ae=He=>{var Ke;(!He||(0,P.sA)(He)===this._preview&&"transform"===He.propertyName)&&(null===(Ke=this._preview)||void 0===Ke||Ke.removeEventListener("transitionend",ae),ge(),clearTimeout(xe))},xe=setTimeout(ae,1.5*Fe);this._preview.addEventListener("transitionend",ae)}))}_createPlaceholderElement(){const Me=this._placeholderTemplate,Fe=Me?Me.template:null;let ge;return Fe?(this._placeholderRef=Me.viewContainer.createEmbeddedView(Fe,Me.context),this._placeholderRef.detectChanges(),ge=Ze(this._placeholderRef,this._document)):ge=vl(this._rootElement),ge.style.pointerEvents="none",ge.classList.add("cdk-drag-placeholder"),ge}_getPointerPositionInElement(Me,Fe){const ge=this._rootElement.getBoundingClientRect(),ae=Me===this._rootElement?null:Me,xe=ae?ae.getBoundingClientRect():ge,He=Ie(Fe)?Fe.targetTouches[0]:Fe,Ke=this._getViewportScrollPosition(),bt=He.pageX-xe.left-Ke.left,Tt=He.pageY-xe.top-Ke.top;return{x:xe.left-ge.left+bt,y:xe.top-ge.top+Tt}}_getPointerPositionOnPage(Me){const Fe=this._getViewportScrollPosition(),ge=Ie(Me)?Me.touches[0]||Me.changedTouches[0]||{pageX:0,pageY:0}:Me,ae=ge.pageX-Fe.left,xe=ge.pageY-Fe.top;if(this._ownerSVGElement){const He=this._ownerSVGElement.getScreenCTM();if(He){const Ke=this._ownerSVGElement.createSVGPoint();return Ke.x=ae,Ke.y=xe,Ke.matrixTransform(He.inverse())}}return{x:ae,y:xe}}_getConstrainedPointerPosition(Me){const Fe=this._dropContainer?this._dropContainer.lockAxis:null;let{x:ge,y:ae}=this.constrainPosition?this.constrainPosition(Me,this):Me;if("x"===this.lockAxis||"x"===Fe?ae=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===Fe)&&(ge=this._pickupPositionOnPage.x),this._boundaryRect){const{x:xe,y:He}=this._pickupPositionInElement,Ke=this._boundaryRect,{width:bt,height:Tt}=this._getPreviewRect(),gn=Ke.top+He,yi=Ke.bottom-(Tt-He);ge=jt(ge,Ke.left+xe,Ke.right-(bt-xe)),ae=jt(ae,gn,yi)}return{x:ge,y:ae}}_updatePointerDirectionDelta(Me){const{x:Fe,y:ge}=Me,ae=this._pointerDirectionDelta,xe=this._pointerPositionAtLastDirectionChange,He=Math.abs(Fe-xe.x),Ke=Math.abs(ge-xe.y);return He>this._config.pointerDirectionChangeThreshold&&(ae.x=Fe>xe.x?1:-1,xe.x=Fe),Ke>this._config.pointerDirectionChangeThreshold&&(ae.y=ge>xe.y?1:-1,xe.y=ge),ae}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const Me=this._handles.length>0||!this.isDragging();Me!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=Me,ja(this._rootElement,Me))}_removeRootElementListeners(Me){Me.removeEventListener("mousedown",this._pointerDown,oa),Me.removeEventListener("touchstart",this._pointerDown,u1),Me.removeEventListener("dragstart",this._nativeDragStart,oa)}_applyRootElementTransform(Me,Fe){const ge=Kl(Me,Fe),ae=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=ae.transform&&"none"!=ae.transform?ae.transform:""),ae.transform=Ro(ge,this._initialTransform)}_applyPreviewTransform(Me,Fe){var ge;const ae=(null===(ge=this._previewTemplate)||void 0===ge?void 0:ge.template)?void 0:this._initialTransform,xe=Kl(Me,Fe);this._preview.style.transform=Ro(xe,ae)}_getDragDistance(Me){const Fe=this._pickupPositionOnPage;return Fe?{x:Me.x-Fe.x,y:Me.y-Fe.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:Me,y:Fe}=this._passiveTransform;if(0===Me&&0===Fe||this.isDragging()||!this._boundaryElement)return;const ge=this._boundaryElement.getBoundingClientRect(),ae=this._rootElement.getBoundingClientRect();if(0===ge.width&&0===ge.height||0===ae.width&&0===ae.height)return;const xe=ge.left-ae.left,He=ae.right-ge.right,Ke=ge.top-ae.top,bt=ae.bottom-ge.bottom;ge.width>ae.width?(xe>0&&(Me+=xe),He>0&&(Me-=He)):Me=0,ge.height>ae.height?(Ke>0&&(Fe+=Ke),bt>0&&(Fe-=bt)):Fe=0,(Me!==this._passiveTransform.x||Fe!==this._passiveTransform.y)&&this.setFreeDragPosition({y:Fe,x:Me})}_getDragStartDelay(Me){const Fe=this.dragStartDelay;return"number"==typeof Fe?Fe:Ie(Me)?Fe.touch:Fe?Fe.mouse:0}_updateOnScroll(Me){const Fe=this._parentPositions.handleScroll(Me);if(Fe){const ge=(0,P.sA)(Me);this._boundaryRect&&ge!==this._boundaryElement&&ge.contains(this._boundaryElement)&&us(this._boundaryRect,Fe.top,Fe.left),this._pickupPositionOnPage.x+=Fe.left,this._pickupPositionOnPage.y+=Fe.top,this._dropContainer||(this._activeTransform.x-=Fe.left,this._activeTransform.y-=Fe.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){var Me;return(null===(Me=this._parentPositions.positions.get(this._document))||void 0===Me?void 0:Me.scrollPosition)||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,P.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(Me,Fe){const ge=this._previewContainer||"global";if("parent"===ge)return Me;if("global"===ge){const ae=this._document;return Fe||ae.fullscreenElement||ae.webkitFullscreenElement||ae.mozFullScreenElement||ae.msFullscreenElement||ae.body}return(0,m.fI)(ge)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()),this._previewRect}_getTargetHandle(Me){return this._handles.find(Fe=>Me.target&&(Me.target===Fe||Fe.contains(Me.target)))}}function Kl(nn,Me){return`translate3d(${Math.round(nn)}px, ${Math.round(Me)}px, 0)`}function jt(nn,Me,Fe){return Math.max(Me,Math.min(Fe,nn))}function Ie(nn){return"t"===nn.type[0]}function Ze(nn,Me){const Fe=nn.rootNodes;if(1===Fe.length&&Fe[0].nodeType===Me.ELEMENT_NODE)return Fe[0];const ge=Me.createElement("div");return Fe.forEach(ae=>ge.appendChild(ae)),ge}function Vt(nn,Me){nn.style.width=`${Me.width}px`,nn.style.height=`${Me.height}px`,nn.style.transform=Kl(Me.left,Me.top)}function Zn(nn,Me,Fe){const ge=es(Me,nn.length-1),ae=es(Fe,nn.length-1);if(ge===ae)return;const xe=nn[ge],He=ae<ge?-1:1;for(let Ke=ge;Ke!==ae;Ke+=He)nn[Ke]=nn[Ke+He];nn[ae]=xe}function es(nn,Me){return Math.max(0,Math.min(Me,nn))}class Wn{constructor(Me,Fe,ge,ae,xe){this._dragDropRegistry=Fe,this._ngZone=ae,this._viewportRuler=xe,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new o.xQ,this.entered=new o.xQ,this.exited=new o.xQ,this.dropped=new o.xQ,this.sorted=new o.xQ,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._draggables=[],this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=zr.w.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new o.xQ,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),(0,io.F)(0,$l.Z).pipe((0,Fo.R)(this._stopScrollTimers)).subscribe(()=>{const He=this._scrollNode,Ke=this.autoScrollStep;1===this._verticalScrollDirection?He.scrollBy(0,-Ke):2===this._verticalScrollDirection&&He.scrollBy(0,Ke),1===this._horizontalScrollDirection?He.scrollBy(-Ke,0):2===this._horizontalScrollDirection&&He.scrollBy(Ke,0)})},this.element=(0,m.fI)(Me),this._document=ge,this.withScrollableParents([this.element]),Fe.registerDropContainer(this),this._parentPositions=new il(ge)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(Me,Fe,ge,ae){let xe;this._draggingStarted(),null==ae?(xe=this.sortingDisabled?this._draggables.indexOf(Me):-1,-1===xe&&(xe=this._getItemIndexFromPointerPosition(Me,Fe,ge))):xe=ae;const He=this._activeDraggables,Ke=He.indexOf(Me),bt=Me.getPlaceholderElement();let Tt=He[xe];if(Tt===Me&&(Tt=He[xe+1]),!Tt&&(null==xe||-1===xe||xe<He.length-1)&&this._shouldEnterAsFirstChild(Fe,ge)&&(Tt=He[0]),Ke>-1&&He.splice(Ke,1),Tt&&!this._dragDropRegistry.isDragging(Tt)){const gn=Tt.getRootElement();gn.parentElement.insertBefore(bt,gn),He.splice(xe,0,Me)}else(0,m.fI)(this.element).appendChild(bt),He.push(Me);bt.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:Me,container:this,currentIndex:this.getItemIndex(Me)})}exit(Me){this._reset(),this.exited.next({item:Me,container:this})}drop(Me,Fe,ge,ae,xe,He,Ke){this._reset(),this.dropped.next({item:Me,currentIndex:Fe,previousIndex:ge,container:this,previousContainer:ae,isPointerOverContainer:xe,distance:He,dropPoint:Ke})}withItems(Me){const Fe=this._draggables;return this._draggables=Me,Me.forEach(ge=>ge._withDropContainer(this)),this.isDragging()&&(Fe.filter(ae=>ae.isDragging()).every(ae=>-1===Me.indexOf(ae))?this._reset():this._cacheItems()),this}withDirection(Me){return this._direction=Me,this}connectedTo(Me){return this._siblings=Me.slice(),this}withOrientation(Me){return this._orientation=Me,this}withScrollableParents(Me){const Fe=(0,m.fI)(this.element);return this._scrollableElements=-1===Me.indexOf(Fe)?[Fe,...Me]:Me.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(Me){return this._isDragging?("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(ge=>ge.drag===Me):this._draggables.indexOf(Me)}isReceiving(){return this._activeSiblings.size>0}_sortItem(Me,Fe,ge,ae){if(this.sortingDisabled||!this._clientRect||!Ll(this._clientRect,.05,Fe,ge))return;const xe=this._itemPositions,He=this._getItemIndexFromPointerPosition(Me,Fe,ge,ae);if(-1===He&&xe.length>0)return;const Ke="horizontal"===this._orientation,bt=xe.findIndex(We=>We.drag===Me),Tt=xe[He],gn=xe[bt].clientRect,yi=Tt.clientRect,D=bt>He?1:-1,K=this._getItemOffsetPx(gn,yi,D),he=this._getSiblingOffsetPx(bt,xe,D),Ee=xe.slice();Zn(xe,bt,He),this.sorted.next({previousIndex:bt,currentIndex:He,container:this,item:Me}),xe.forEach((We,wt)=>{if(Ee[wt]===We)return;const Zt=We.drag===Me,wn=Zt?K:he,Rn=Zt?Me.getPlaceholderElement():We.drag.getRootElement();We.offset+=wn,Ke?(Rn.style.transform=Ro(`translate3d(${Math.round(We.offset)}px, 0, 0)`,We.initialTransform),us(We.clientRect,0,wn)):(Rn.style.transform=Ro(`translate3d(0, ${Math.round(We.offset)}px, 0)`,We.initialTransform),us(We.clientRect,wn,0))}),this._previousSwap.overlaps=Ls(yi,Fe,ge),this._previousSwap.drag=Tt.drag,this._previousSwap.delta=Ke?ae.x:ae.y}_startScrollingIfNecessary(Me,Fe){if(this.autoScrollDisabled)return;let ge,ae=0,xe=0;if(this._parentPositions.positions.forEach((He,Ke)=>{Ke===this._document||!He.clientRect||ge||Ll(He.clientRect,.05,Me,Fe)&&([ae,xe]=function Br(nn,Me,Fe,ge){const ae=kn(Me,ge),xe=Wi(Me,Fe);let He=0,Ke=0;if(ae){const bt=nn.scrollTop;1===ae?bt>0&&(He=1):nn.scrollHeight-bt>nn.clientHeight&&(He=2)}if(xe){const bt=nn.scrollLeft;1===xe?bt>0&&(Ke=1):nn.scrollWidth-bt>nn.clientWidth&&(Ke=2)}return[He,Ke]}(Ke,He.clientRect,Me,Fe),(ae||xe)&&(ge=Ke))}),!ae&&!xe){const{width:He,height:Ke}=this._viewportRuler.getViewportSize(),bt={width:He,height:Ke,top:0,right:He,bottom:Ke,left:0};ae=kn(bt,Fe),xe=Wi(bt,Me),ge=window}ge&&(ae!==this._verticalScrollDirection||xe!==this._horizontalScrollDirection||ge!==this._scrollNode)&&(this._verticalScrollDirection=ae,this._horizontalScrollDirection=xe,this._scrollNode=ge,(ae||xe)&&ge?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const Me=(0,m.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=Me.msScrollSnapType||Me.scrollSnapType||"",Me.scrollSnapType=Me.msScrollSnapType="none",this._cacheItems(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const Me=(0,m.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(Me).clientRect}_cacheItemPositions(){const Me="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(Fe=>{const ge=Fe.getVisibleElement();return{drag:Fe,offset:0,initialTransform:ge.style.transform||"",clientRect:Ea(ge)}}).sort((Fe,ge)=>Me?Fe.clientRect.left-ge.clientRect.left:Fe.clientRect.top-ge.clientRect.top)}_reset(){this._isDragging=!1;const Me=(0,m.fI)(this.element).style;Me.scrollSnapType=Me.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(Fe=>{var ge;const ae=Fe.getRootElement();if(ae){const xe=null===(ge=this._itemPositions.find(He=>He.drag===Fe))||void 0===ge?void 0:ge.initialTransform;ae.style.transform=xe||""}}),this._siblings.forEach(Fe=>Fe._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(Me,Fe,ge){const ae="horizontal"===this._orientation,xe=Fe[Me].clientRect,He=Fe[Me+-1*ge];let Ke=xe[ae?"width":"height"]*ge;if(He){const bt=ae?"left":"top",Tt=ae?"right":"bottom";-1===ge?Ke-=He.clientRect[bt]-xe[Tt]:Ke+=xe[bt]-He.clientRect[Tt]}return Ke}_getItemOffsetPx(Me,Fe,ge){const ae="horizontal"===this._orientation;let xe=ae?Fe.left-Me.left:Fe.top-Me.top;return-1===ge&&(xe+=ae?Fe.width-Me.width:Fe.height-Me.height),xe}_shouldEnterAsFirstChild(Me,Fe){if(!this._activeDraggables.length)return!1;const ge=this._itemPositions,ae="horizontal"===this._orientation;if(ge[0].drag!==this._activeDraggables[0]){const He=ge[ge.length-1].clientRect;return ae?Me>=He.right:Fe>=He.bottom}{const He=ge[0].clientRect;return ae?Me<=He.left:Fe<=He.top}}_getItemIndexFromPointerPosition(Me,Fe,ge,ae){const xe="horizontal"===this._orientation,He=this._itemPositions.findIndex(({drag:Ke,clientRect:bt})=>{if(Ke===Me)return!1;if(ae){const Tt=xe?ae.x:ae.y;if(Ke===this._previousSwap.drag&&this._previousSwap.overlaps&&Tt===this._previousSwap.delta)return!1}return xe?Fe>=Math.floor(bt.left)&&Fe<Math.floor(bt.right):ge>=Math.floor(bt.top)&&ge<Math.floor(bt.bottom)});return-1!==He&&this.sortPredicate(He,Me,this)?He:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(Me,Fe){return null!=this._clientRect&&Ls(this._clientRect,Me,Fe)}_getSiblingContainerFromPosition(Me,Fe,ge){return this._siblings.find(ae=>ae._canReceive(Me,Fe,ge))}_canReceive(Me,Fe,ge){if(!this._clientRect||!Ls(this._clientRect,Fe,ge)||!this.enterPredicate(Me,this))return!1;const ae=this._getShadowRoot().elementFromPoint(Fe,ge);if(!ae)return!1;const xe=(0,m.fI)(this.element);return ae===xe||xe.contains(ae)}_startReceiving(Me,Fe){const ge=this._activeSiblings;!ge.has(Me)&&Fe.every(ae=>this.enterPredicate(ae,this)||this._draggables.indexOf(ae)>-1)&&(ge.add(Me),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(Me){this._activeSiblings.delete(Me),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(Me=>{if(this.isDragging()){const Fe=this._parentPositions.handleScroll(Me);Fe&&(this._itemPositions.forEach(({clientRect:ge})=>{us(ge,Fe.top,Fe.left)}),this._itemPositions.forEach(({drag:ge})=>{this._dragDropRegistry.isDragging(ge)&&ge._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const Me=(0,P.kV)((0,m.fI)(this.element));this._cachedShadowRoot=Me||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const Me=this._activeDraggables.filter(Fe=>Fe.isDragging());this._siblings.forEach(Fe=>Fe._startReceiving(this,Me))}}function kn(nn,Me){const{top:Fe,bottom:ge,height:ae}=nn,xe=.05*ae;return Me>=Fe-xe&&Me<=Fe+xe?1:Me>=ge-xe&&Me<=ge+xe?2:0}function Wi(nn,Me){const{left:Fe,right:ge,width:ae}=nn,xe=.05*ae;return Me>=Fe-xe&&Me<=Fe+xe?1:Me>=ge-xe&&Me<=ge+xe?2:0}const fo=(0,P.i$)({passive:!1,capture:!0});class eo{constructor(Me,Fe){this._ngZone=Me,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=ge=>ge.isDragging(),this.pointerMove=new o.xQ,this.pointerUp=new o.xQ,this.scroll=new o.xQ,this._preventDefaultWhileDragging=ge=>{this._activeDragInstances.length>0&&ge.preventDefault()},this._persistentTouchmoveListener=ge=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&ge.preventDefault(),this.pointerMove.next(ge))},this._document=Fe}registerDropContainer(Me){this._dropInstances.has(Me)||this._dropInstances.add(Me)}registerDragItem(Me){this._dragInstances.add(Me),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,fo)})}removeDropContainer(Me){this._dropInstances.delete(Me)}removeDragItem(Me){this._dragInstances.delete(Me),this.stopDragging(Me),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,fo)}startDragging(Me,Fe){if(!(this._activeDragInstances.indexOf(Me)>-1)&&(this._activeDragInstances.push(Me),1===this._activeDragInstances.length)){const ge=Fe.type.startsWith("touch");this._globalListeners.set(ge?"touchend":"mouseup",{handler:ae=>this.pointerUp.next(ae),options:!0}).set("scroll",{handler:ae=>this.scroll.next(ae),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:fo}),ge||this._globalListeners.set("mousemove",{handler:ae=>this.pointerMove.next(ae),options:fo}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((ae,xe)=>{this._document.addEventListener(xe,ae.handler,ae.options)})})}}stopDragging(Me){const Fe=this._activeDragInstances.indexOf(Me);Fe>-1&&(this._activeDragInstances.splice(Fe,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(Me){return this._activeDragInstances.indexOf(Me)>-1}scrolled(Me){const Fe=[this.scroll];return Me&&Me!==this._document&&Fe.push(new Po.y(ge=>this._ngZone.runOutsideAngular(()=>{const xe=He=>{this._activeDragInstances.length&&ge.next(He)};return Me.addEventListener("scroll",xe,!0),()=>{Me.removeEventListener("scroll",xe,!0)}}))),(0,pa.T)(...Fe)}ngOnDestroy(){this._dragInstances.forEach(Me=>this.removeDragItem(Me)),this._dropInstances.forEach(Me=>this.removeDropContainer(Me)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((Me,Fe)=>{this._document.removeEventListener(Fe,Me.handler,Me.options)}),this._globalListeners.clear()}}eo.\u0275fac=function(Me){return new(Me||eo)(n.LFG(n.R0b),n.LFG(i.K0))},eo.\u0275prov=n.Yz7({token:eo,factory:eo.\u0275fac,providedIn:"root"});const Ao={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class la{constructor(Me,Fe,ge,ae){this._document=Me,this._ngZone=Fe,this._viewportRuler=ge,this._dragDropRegistry=ae}createDrag(Me,Fe=Ao){return new Fl(Me,Fe,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(Me){return new Wn(Me,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}la.\u0275fac=function(Me){return new(Me||la)(n.LFG(i.K0),n.LFG(n.R0b),n.LFG(La.rL),n.LFG(eo))},la.\u0275prov=n.Yz7({token:la,factory:la.\u0275fac,providedIn:"root"});const qs=new n.OlP("CDK_DRAG_PARENT"),Fa=new n.OlP("CdkDropListGroup");class ts{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,m.Ig)(Me)}ngOnDestroy(){this._items.clear()}}ts.\u0275fac=function(Me){return new(Me||ts)},ts.\u0275dir=n.lG2({type:ts,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[n._Bn([{provide:Fa,useExisting:ts}])]});const rl=new n.OlP("CDK_DRAG_CONFIG");let dc=0;const Hr=new n.OlP("CdkDropList");class Ji{constructor(Me,Fe,ge,ae,xe,He,Ke){this.element=Me,this._changeDetectorRef=ge,this._scrollDispatcher=ae,this._dir=xe,this._group=He,this._destroyed=new o.xQ,this.connectedTo=[],this.id="cdk-drop-list-"+dc++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.sorted=new n.vpe,this._unsortedItems=new Set,this._dropListRef=Fe.createDropList(Me),this._dropListRef.data=this,Ke&&this._assignDefaults(Ke),this._dropListRef.enterPredicate=(bt,Tt)=>this.enterPredicate(bt.data,Tt.data),this._dropListRef.sortPredicate=(bt,Tt,gn)=>this.sortPredicate(bt,Tt.data,gn.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Ji._dropLists.push(this),He&&He._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(Me){this._dropListRef.disabled=this._disabled=(0,m.Ig)(Me)}addItem(Me){this._unsortedItems.add(Me),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(Me){this._unsortedItems.delete(Me),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((Me,Fe)=>Me._dragRef.getVisibleElement().compareDocumentPosition(Fe._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const Me=Ji._dropLists.indexOf(this);Me>-1&&Ji._dropLists.splice(Me,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(Me){this._dir&&this._dir.change.pipe((0,nl.O)(this._dir.value),(0,Fo.R)(this._destroyed)).subscribe(Fe=>Me.withDirection(Fe)),Me.beforeStarted.subscribe(()=>{const Fe=(0,m.Eq)(this.connectedTo).map(ge=>{if("string"==typeof ge){return Ji._dropLists.find(xe=>xe.id===ge)}return ge});if(this._group&&this._group._items.forEach(ge=>{-1===Fe.indexOf(ge)&&Fe.push(ge)}),!this._scrollableParentsResolved){const ge=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(ae=>ae.getElementRef().nativeElement);this._dropListRef.withScrollableParents(ge),this._scrollableParentsResolved=!0}Me.disabled=this.disabled,Me.lockAxis=this.lockAxis,Me.sortingDisabled=(0,m.Ig)(this.sortingDisabled),Me.autoScrollDisabled=(0,m.Ig)(this.autoScrollDisabled),Me.autoScrollStep=(0,m.su)(this.autoScrollStep,2),Me.connectedTo(Fe.filter(ge=>ge&&ge!==this).map(ge=>ge._dropListRef)).withOrientation(this.orientation)})}_handleEvents(Me){Me.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),Me.entered.subscribe(Fe=>{this.entered.emit({container:this,item:Fe.item.data,currentIndex:Fe.currentIndex})}),Me.exited.subscribe(Fe=>{this.exited.emit({container:this,item:Fe.item.data}),this._changeDetectorRef.markForCheck()}),Me.sorted.subscribe(Fe=>{this.sorted.emit({previousIndex:Fe.previousIndex,currentIndex:Fe.currentIndex,container:this,item:Fe.item.data})}),Me.dropped.subscribe(Fe=>{this.dropped.emit({previousIndex:Fe.previousIndex,currentIndex:Fe.currentIndex,previousContainer:Fe.previousContainer.data,container:Fe.container.data,item:Fe.item.data,isPointerOverContainer:Fe.isPointerOverContainer,distance:Fe.distance,dropPoint:Fe.dropPoint}),this._changeDetectorRef.markForCheck()})}_assignDefaults(Me){const{lockAxis:Fe,draggingDisabled:ge,sortingDisabled:ae,listAutoScrollDisabled:xe,listOrientation:He}=Me;this.disabled=null!=ge&&ge,this.sortingDisabled=null!=ae&&ae,this.autoScrollDisabled=null!=xe&&xe,this.orientation=He||"vertical",Fe&&(this.lockAxis=Fe)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(Me=>Me._dragRef))}}Ji._dropLists=[],Ji.\u0275fac=function(Me){return new(Me||Ji)(n.Y36(n.SBq),n.Y36(la),n.Y36(n.sBO),n.Y36(La.mF),n.Y36(Gs.Is,8),n.Y36(Fa,12),n.Y36(rl,8))},Ji.\u0275dir=n.lG2({type:Ji,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(Me,Fe){2&Me&&(n.uIk("id",Fe.id),n.ekj("cdk-drop-list-disabled",Fe.disabled)("cdk-drop-list-dragging",Fe._dropListRef.isDragging())("cdk-drop-list-receiving",Fe._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n._Bn([{provide:Fa,useValue:void 0},{provide:Hr,useExisting:Ji}])]});const El=new n.OlP("CdkDragHandle");class Zl{constructor(Me,Fe){this.element=Me,this._stateChanges=new o.xQ,this._disabled=!1,this._parentDrag=Fe}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,m.Ig)(Me),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}Zl.\u0275fac=function(Me){return new(Me||Zl)(n.Y36(n.SBq),n.Y36(qs,12))},Zl.\u0275dir=n.lG2({type:Zl,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[n._Bn([{provide:El,useExisting:Zl}])]});const Es=new n.OlP("CdkDragPlaceholder");class _l{constructor(Me){this.templateRef=Me}}_l.\u0275fac=function(Me){return new(Me||_l)(n.Y36(n.Rgc))},_l.\u0275dir=n.lG2({type:_l,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[n._Bn([{provide:Es,useExisting:_l}])]});const xo=new n.OlP("CdkDragPreview");class Yo{constructor(Me){this.templateRef=Me,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(Me){this._matchSize=(0,m.Ig)(Me)}}Yo.\u0275fac=function(Me){return new(Me||Yo)(n.Y36(n.Rgc))},Yo.\u0275dir=n.lG2({type:Yo,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},features:[n._Bn([{provide:xo,useExisting:Yo}])]});class $s{constructor(Me,Fe,ge,ae,xe,He,Ke,bt,Tt,gn,yi){this.element=Me,this.dropContainer=Fe,this._ngZone=ae,this._viewContainerRef=xe,this._dir=Ke,this._changeDetectorRef=Tt,this._selfHandle=gn,this._parentDrag=yi,this._destroyed=new o.xQ,this.started=new n.vpe,this.released=new n.vpe,this.ended=new n.vpe,this.entered=new n.vpe,this.exited=new n.vpe,this.dropped=new n.vpe,this.moved=new Po.y(D=>{const K=this._dragRef.moved.pipe((0,Bl.U)(he=>({source:this,pointerPosition:he.pointerPosition,event:he.event,delta:he.delta,distance:he.distance}))).subscribe(D);return()=>{K.unsubscribe()}}),this._dragRef=bt.createDrag(Me,{dragStartThreshold:He&&null!=He.dragStartThreshold?He.dragStartThreshold:5,pointerDirectionChangeThreshold:He&&null!=He.pointerDirectionChangeThreshold?He.pointerDirectionChangeThreshold:5,zIndex:null==He?void 0:He.zIndex}),this._dragRef.data=this,$s._dragInstances.push(this),He&&this._assignDefaults(He),Fe&&(this._dragRef._withDropContainer(Fe._dropListRef),Fe.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(Me){this._disabled=(0,m.Ig)(Me),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,bo.q)(1),(0,Fo.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(Me){const Fe=Me.rootElementSelector,ge=Me.freeDragPosition;Fe&&!Fe.firstChange&&this._updateRootElement(),ge&&!ge.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const Me=$s._dragInstances.indexOf(this);Me>-1&&$s._dragInstances.splice(Me,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){var Me;const Fe=this.element.nativeElement;let ge=Fe;this.rootElementSelector&&(ge=void 0!==Fe.closest?Fe.closest(this.rootElementSelector):null===(Me=Fe.parentElement)||void 0===Me?void 0:Me.closest(this.rootElementSelector)),this._dragRef.withRootElement(ge||Fe)}_getBoundaryElement(){const Me=this.boundaryElement;return Me?"string"==typeof Me?this.element.nativeElement.closest(Me):(0,m.fI)(Me):null}_syncInputs(Me){Me.beforeStarted.subscribe(()=>{if(!Me.isDragging()){const Fe=this._dir,ge=this.dragStartDelay,ae=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,xe=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;Me.disabled=this.disabled,Me.lockAxis=this.lockAxis,Me.dragStartDelay="object"==typeof ge&&ge?ge:(0,m.su)(ge),Me.constrainPosition=this.constrainPosition,Me.previewClass=this.previewClass,Me.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(ae).withPreviewTemplate(xe).withPreviewContainer(this.previewContainer||"global"),Fe&&Me.withDirection(Fe.value)}}),Me.beforeStarted.pipe((0,bo.q)(1)).subscribe(()=>{var Fe;if(this._parentDrag)return void Me.withParent(this._parentDrag._dragRef);let ge=this.element.nativeElement.parentElement;for(;ge;){if(ge.classList.contains("cdk-drag")){Me.withParent((null===(Fe=$s._dragInstances.find(ae=>ae.element.nativeElement===ge))||void 0===Fe?void 0:Fe._dragRef)||null);break}ge=ge.parentElement}})}_handleEvents(Me){Me.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),Me.released.subscribe(()=>{this.released.emit({source:this})}),Me.ended.subscribe(Fe=>{this.ended.emit({source:this,distance:Fe.distance,dropPoint:Fe.dropPoint}),this._changeDetectorRef.markForCheck()}),Me.entered.subscribe(Fe=>{this.entered.emit({container:Fe.container.data,item:this,currentIndex:Fe.currentIndex})}),Me.exited.subscribe(Fe=>{this.exited.emit({container:Fe.container.data,item:this})}),Me.dropped.subscribe(Fe=>{this.dropped.emit({previousIndex:Fe.previousIndex,currentIndex:Fe.currentIndex,previousContainer:Fe.previousContainer.data,container:Fe.container.data,isPointerOverContainer:Fe.isPointerOverContainer,item:this,distance:Fe.distance,dropPoint:Fe.dropPoint})})}_assignDefaults(Me){const{lockAxis:Fe,dragStartDelay:ge,constrainPosition:ae,previewClass:xe,boundaryElement:He,draggingDisabled:Ke,rootElementSelector:bt,previewContainer:Tt}=Me;this.disabled=null!=Ke&&Ke,this.dragStartDelay=ge||0,Fe&&(this.lockAxis=Fe),ae&&(this.constrainPosition=ae),xe&&(this.previewClass=xe),He&&(this.boundaryElement=He),bt&&(this.rootElementSelector=bt),Tt&&(this.previewContainer=Tt)}_setupHandlesListener(){this._handles.changes.pipe((0,nl.O)(this._handles),(0,bi.b)(Me=>{const Fe=Me.filter(ge=>ge._parentDrag===this).map(ge=>ge.element);this._selfHandle&&this.rootElementSelector&&Fe.push(this.element),this._dragRef.withHandles(Fe)}),(0,qo.w)(Me=>(0,pa.T)(...Me.map(Fe=>Fe._stateChanges.pipe((0,nl.O)(Fe))))),(0,Fo.R)(this._destroyed)).subscribe(Me=>{const Fe=this._dragRef,ge=Me.element.nativeElement;Me.disabled?Fe.disableHandle(ge):Fe.enableHandle(ge)})}}$s._dragInstances=[],$s.\u0275fac=function(Me){return new(Me||$s)(n.Y36(n.SBq),n.Y36(Hr,12),n.Y36(i.K0),n.Y36(n.R0b),n.Y36(n.s_b),n.Y36(rl,8),n.Y36(Gs.Is,8),n.Y36(la),n.Y36(n.sBO),n.Y36(El,10),n.Y36(qs,12))},$s.\u0275dir=n.lG2({type:$s,selectors:[["","cdkDrag",""]],contentQueries:function(Me,Fe,ge){if(1&Me&&(n.Suo(ge,xo,5),n.Suo(ge,Es,5),n.Suo(ge,El,5)),2&Me){let ae;n.iGM(ae=n.CRH())&&(Fe._previewTemplate=ae.first),n.iGM(ae=n.CRH())&&(Fe._placeholderTemplate=ae.first),n.iGM(ae=n.CRH())&&(Fe._handles=ae)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(Me,Fe){2&Me&&n.ekj("cdk-drag-disabled",Fe.disabled)("cdk-drag-dragging",Fe._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n._Bn([{provide:qs,useExisting:$s}]),n.TTD]});class Ks{}Ks.\u0275fac=function(Me){return new(Me||Ks)},Ks.\u0275mod=n.oAB({type:Ks,declarations:[Ji,ts,$s,Zl,Yo,_l],exports:[La.ZD,Ji,ts,$s,Zl,Yo,_l]}),Ks.\u0275inj=n.cJS({providers:[la],imports:[La.ZD]})},14390:(de,$e,B)=>{"use strict";B.d($e,{Mq:()=>z,_i:()=>R,ht:()=>O,i$:()=>C,kV:()=>E,sA:()=>H,t4:()=>m});var n=B(3184),i=B(36362);let P;try{P="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(X){P=!1}class m{constructor(W){this._platformId=W,this.isBrowser=this._platformId?(0,i.NF)(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&&!P)&&"undefined"!=typeof CSS&&!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}}m.\u0275fac=function(W){return new(W||m)(n.LFG(n.Lbi))},m.\u0275prov=n.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"});class s{}s.\u0275fac=function(W){return new(W||s)},s.\u0275mod=n.oAB({type:s}),s.\u0275inj=n.cJS({});let y,_,w,N;function C(X){return function x(){if(null==y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?X:!!X.capture}function z(){if(null==w){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return w=!1,w;if("scrollBehavior"in document.documentElement.style)w=!0;else{const X=Element.prototype.scrollTo;w=!!X&&!/\{\s*\[native code\]\s*\}/.test(X.toString())}}return w}function R(){if("object"!=typeof document||!document)return 0;if(null==_){const X=document.createElement("div"),W=X.style;X.dir="rtl",W.width="1px",W.overflow="auto",W.visibility="hidden",W.pointerEvents="none",W.position="absolute";const re=document.createElement("div"),pe=re.style;pe.width="2px",pe.height="1px",X.appendChild(re),document.body.appendChild(X),_=0,0===X.scrollLeft&&(X.scrollLeft=1,_=0===X.scrollLeft?1:2),X.remove()}return _}function E(X){if(function S(){if(null==N){const X="undefined"!=typeof document?document.head:null;N=!(!X||!X.createShadowRoot&&!X.attachShadow)}return N}()){const W=X.getRootNode?X.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&W instanceof ShadowRoot)return W}return null}function O(){let X="undefined"!=typeof document&&document?document.activeElement:null;for(;X&&X.shadowRoot;){const W=X.shadowRoot.activeElement;if(W===X)break;X=W}return X}function H(X){return X.composedPath?X.composedPath()[0]:X.target}},74808:(de,$e,B)=>{"use strict";B.d($e,{xd:()=>_n,ZD:()=>Yn,x0:()=>oi,N7:()=>yn,mF:()=>vn,Cl:()=>Xn,rL:()=>Sn});var n=B(76484),i=B(3184),P=B(92218),m=B(64139),s=B(52822),o=B(36312),h=B(58310),v=B(15064),y=B(32425),x=B(40020),C=B(53298),_=B(71695),w=B(59151),z=B(85921),R=B(25722),N=B(89221),S=B(59095),E=B(79128),O=B(36362),H=B(14390),U=B(51588);class re extends class X{}{constructor(Mt){super(),this._data=Mt}connect(){return(0,x.b)(this._data)?this._data:(0,m.of)(this._data)}disconnect(){}}class qe{constructor(){this._listeners=[]}notify(Mt,pn){for(let an of this._listeners)an(Mt,pn)}listen(Mt){return this._listeners.push(Mt),()=>{this._listeners=this._listeners.filter(pn=>Mt!==pn)}}ngOnDestroy(){this._listeners=[]}}qe.\u0275fac=function(Mt){return new(Mt||qe)},qe.\u0275prov=i.Yz7({token:qe,factory:qe.\u0275fac,providedIn:"root"});const rt=new i.OlP("_ViewRepeater"),ot=["contentWrapper"],rn=new i.OlP("VIRTUAL_SCROLL_STRATEGY");class Xt{constructor(Mt,pn,an){this._scrolledIndexChange=new P.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe((0,C.x)()),this._viewport=null,this._itemSize=Mt,this._minBufferPx=pn,this._maxBufferPx=an}attach(Mt){this._viewport=Mt,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Mt,pn,an){this._itemSize=Mt,this._minBufferPx=pn,this._maxBufferPx=an,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Mt,pn){this._viewport&&this._viewport.scrollToOffset(Mt*this._itemSize,pn)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Mt=this._viewport.getRenderedRange(),pn={start:Mt.start,end:Mt.end},an=this._viewport.getViewportSize(),yt=this._viewport.getDataLength();let Je=this._viewport.measureScrollOffset(),ht=this._itemSize>0?Je/this._itemSize:0;if(pn.end>yt){const Ht=Math.ceil(an/this._itemSize),$t=Math.max(0,Math.min(ht,yt-Ht));ht!=$t&&(ht=$t,Je=$t*this._itemSize,pn.start=Math.floor(ht)),pn.end=Math.max(0,Math.min(yt,pn.start+Ht))}const xt=Je-pn.start*this._itemSize;if(xt<this._minBufferPx&&0!=pn.start){const Ht=Math.ceil((this._maxBufferPx-xt)/this._itemSize);pn.start=Math.max(0,pn.start-Ht),pn.end=Math.min(yt,Math.ceil(ht+(an+this._minBufferPx)/this._itemSize))}else{const Ht=pn.end*this._itemSize-(Je+an);if(Ht<this._minBufferPx&&pn.end!=yt){const $t=Math.ceil((this._maxBufferPx-Ht)/this._itemSize);$t>0&&(pn.end=Math.min(yt,pn.end+$t),pn.start=Math.max(0,Math.floor(ht-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(pn),this._viewport.setRenderedContentOffset(this._itemSize*pn.start),this._scrolledIndexChange.next(Math.floor(ht))}}class _n{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Xt(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(Mt){this._itemSize=(0,n.su)(Mt)}get minBufferPx(){return this._minBufferPx}set minBufferPx(Mt){this._minBufferPx=(0,n.su)(Mt)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(Mt){this._maxBufferPx=(0,n.su)(Mt)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}_n.\u0275fac=function(Mt){return new(Mt||_n)},_n.\u0275dir=i.lG2({type:_n,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[i._Bn([{provide:rn,useFactory:function fn(gi){return gi._scrollStrategy},deps:[(0,i.Gpc)(()=>_n)]}]),i.TTD]});class vn{constructor(Mt,pn,an){this._ngZone=Mt,this._platform=pn,this._scrolled=new P.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=an}register(Mt){this.scrollContainers.has(Mt)||this.scrollContainers.set(Mt,Mt.elementScrolled().subscribe(()=>this._scrolled.next(Mt)))}deregister(Mt){const pn=this.scrollContainers.get(Mt);pn&&(pn.unsubscribe(),this.scrollContainers.delete(Mt))}scrolled(Mt=20){return this._platform.isBrowser?new s.y(pn=>{this._globalSubscription||this._addGlobalListener();const an=Mt>0?this._scrolled.pipe((0,_.e)(Mt)).subscribe(pn):this._scrolled.subscribe(pn);return this._scrolledCount++,()=>{an.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,m.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Mt,pn)=>this.deregister(pn)),this._scrolled.complete()}ancestorScrolled(Mt,pn){const an=this.getAncestorScrollContainers(Mt);return this.scrolled(pn).pipe((0,w.h)(yt=>!yt||an.indexOf(yt)>-1))}getAncestorScrollContainers(Mt){const pn=[];return this.scrollContainers.forEach((an,yt)=>{this._scrollableContainsElement(yt,Mt)&&pn.push(yt)}),pn}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Mt,pn){let an=(0,n.fI)(pn),yt=Mt.getElementRef().nativeElement;do{if(an==yt)return!0}while(an=an.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Mt=this._getWindow();return(0,o.R)(Mt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}vn.\u0275fac=function(Mt){return new(Mt||vn)(i.LFG(i.R0b),i.LFG(H.t4),i.LFG(O.K0,8))},vn.\u0275prov=i.Yz7({token:vn,factory:vn.\u0275fac,providedIn:"root"});class xn{constructor(Mt,pn,an,yt){this.elementRef=Mt,this.scrollDispatcher=pn,this.ngZone=an,this.dir=yt,this._destroyed=new P.xQ,this._elementScrolled=new s.y(Je=>this.ngZone.runOutsideAngular(()=>(0,o.R)(this.elementRef.nativeElement,"scroll").pipe((0,z.R)(this._destroyed)).subscribe(Je)))}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(Mt){const pn=this.elementRef.nativeElement,an=this.dir&&"rtl"==this.dir.value;null==Mt.left&&(Mt.left=an?Mt.end:Mt.start),null==Mt.right&&(Mt.right=an?Mt.start:Mt.end),null!=Mt.bottom&&(Mt.top=pn.scrollHeight-pn.clientHeight-Mt.bottom),an&&0!=(0,H._i)()?(null!=Mt.left&&(Mt.right=pn.scrollWidth-pn.clientWidth-Mt.left),2==(0,H._i)()?Mt.left=Mt.right:1==(0,H._i)()&&(Mt.left=Mt.right?-Mt.right:Mt.right)):null!=Mt.right&&(Mt.left=pn.scrollWidth-pn.clientWidth-Mt.right),this._applyScrollToOptions(Mt)}_applyScrollToOptions(Mt){const pn=this.elementRef.nativeElement;(0,H.Mq)()?pn.scrollTo(Mt):(null!=Mt.top&&(pn.scrollTop=Mt.top),null!=Mt.left&&(pn.scrollLeft=Mt.left))}measureScrollOffset(Mt){const pn="left",yt=this.elementRef.nativeElement;if("top"==Mt)return yt.scrollTop;if("bottom"==Mt)return yt.scrollHeight-yt.clientHeight-yt.scrollTop;const Je=this.dir&&"rtl"==this.dir.value;return"start"==Mt?Mt=Je?"right":pn:"end"==Mt&&(Mt=Je?pn:"right"),Je&&2==(0,H._i)()?Mt==pn?yt.scrollWidth-yt.clientWidth-yt.scrollLeft:yt.scrollLeft:Je&&1==(0,H._i)()?Mt==pn?yt.scrollLeft+yt.scrollWidth-yt.clientWidth:-yt.scrollLeft:Mt==pn?yt.scrollLeft:yt.scrollWidth-yt.clientWidth-yt.scrollLeft}}xn.\u0275fac=function(Mt){return new(Mt||xn)(i.Y36(i.SBq),i.Y36(vn),i.Y36(i.R0b),i.Y36(U.Is,8))},xn.\u0275dir=i.lG2({type:xn,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]});class Sn{constructor(Mt,pn,an){this._platform=Mt,this._change=new P.xQ,this._changeListener=yt=>{this._change.next(yt)},this._document=an,pn.runOutsideAngular(()=>{if(Mt.isBrowser){const yt=this._getWindow();yt.addEventListener("resize",this._changeListener),yt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Mt=this._getWindow();Mt.removeEventListener("resize",this._changeListener),Mt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Mt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Mt}getViewportRect(){const Mt=this.getViewportScrollPosition(),{width:pn,height:an}=this.getViewportSize();return{top:Mt.top,left:Mt.left,bottom:Mt.top+an,right:Mt.left+pn,height:an,width:pn}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Mt=this._document,pn=this._getWindow(),an=Mt.documentElement,yt=an.getBoundingClientRect();return{top:-yt.top||Mt.body.scrollTop||pn.scrollY||an.scrollTop||0,left:-yt.left||Mt.body.scrollLeft||pn.scrollX||an.scrollLeft||0}}change(Mt=20){return Mt>0?this._change.pipe((0,_.e)(Mt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Mt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Mt.innerWidth,height:Mt.innerHeight}:{width:0,height:0}}}Sn.\u0275fac=function(Mt){return new(Mt||Sn)(i.LFG(H.t4),i.LFG(i.R0b),i.LFG(O.K0,8))},Sn.\u0275prov=i.Yz7({token:Sn,factory:Sn.\u0275fac,providedIn:"root"});const cn="undefined"!=typeof requestAnimationFrame?h.Z:v.E;class yn extends xn{constructor(Mt,pn,an,yt,Je,ht,xt){super(Mt,ht,an,Je),this.elementRef=Mt,this._changeDetectorRef=pn,this._scrollStrategy=yt,this._detachedSubject=new P.xQ,this._renderedRangeSubject=new P.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new s.y(Ht=>this._scrollStrategy.scrolledIndexChange.subscribe($t=>Promise.resolve().then(()=>this.ngZone.run(()=>Ht.next($t))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=y.w.EMPTY,this._viewportChanges=xt.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(Mt){this._orientation!==Mt&&(this._orientation=Mt,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(Mt){this._appendOnly=(0,n.Ig)(Mt)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,R.O)(null),(0,_.e)(0,cn)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(Mt){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=Mt,this._forOf.dataStream.pipe((0,z.R)(this._detachedSubject)).subscribe(pn=>{const an=pn.length;an!==this._dataLength&&(this._dataLength=an,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(Mt){this._totalContentSize!==Mt&&(this._totalContentSize=Mt,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(Mt){(function si(gi,Mt){return gi.start==Mt.start&&gi.end==Mt.end})(this._renderedRange,Mt)||(this.appendOnly&&(Mt={start:0,end:Math.max(this._renderedRange.end,Mt.end)}),this._renderedRangeSubject.next(this._renderedRange=Mt),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(Mt,pn="to-start"){const an=this.dir&&"rtl"==this.dir.value,yt="horizontal"==this.orientation,Je=yt?"X":"Y";let xt=`translate${Je}(${Number((yt&&an?-1:1)*Mt)}px)`;Mt=this.appendOnly&&"to-start"===pn?0:Mt,this._renderedContentOffset=Mt,"to-end"===pn&&(xt+=` translate${Je}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=xt&&(this._renderedContentTransform=xt,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(Mt,pn="auto"){const an={behavior:pn};"horizontal"===this.orientation?an.start=Mt:an.top=Mt,this.scrollTo(an)}scrollToIndex(Mt,pn="auto"){this._scrollStrategy.scrollToIndex(Mt,pn)}measureScrollOffset(Mt){return Mt?super.measureScrollOffset(Mt):super.measureScrollOffset("horizontal"===this.orientation?"start":"top")}measureRenderedContentSize(){const Mt=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?Mt.offsetWidth:Mt.offsetHeight}measureRangeSize(Mt){return this._forOf?this._forOf.measureRangeSize(Mt,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const Mt=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?Mt.clientWidth:Mt.clientHeight}_markChangeDetectionNeeded(Mt){Mt&&this._runAfterChangeDetection.push(Mt),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const Mt=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const pn of Mt)pn()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function qn(gi,Mt,pn){const an=pn;if(!an.getBoundingClientRect)return 0;const yt=an.getBoundingClientRect();return"horizontal"===gi?"start"===Mt?yt.left:yt.right:"start"===Mt?yt.top:yt.bottom}yn.\u0275fac=function(Mt){return new(Mt||yn)(i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(i.R0b),i.Y36(rn,8),i.Y36(U.Is,8),i.Y36(vn),i.Y36(Sn))},yn.\u0275cmp=i.Xpm({type:yn,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(Mt,pn){if(1&Mt&&i.Gf(ot,7),2&Mt){let an;i.iGM(an=i.CRH())&&(pn._contentWrapper=an.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(Mt,pn){2&Mt&&i.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===pn.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==pn.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[i._Bn([{provide:xn,useExisting:yn}]),i.qOj],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(Mt,pn){1&Mt&&(i.F$t(),i.TgZ(0,"div",0,1),i.Hsn(2),i.qZA(),i._UZ(3,"div",2)),2&Mt&&(i.xp6(3),i.Udp("width",pn._totalContentWidth)("height",pn._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0});class oi{constructor(Mt,pn,an,yt,Je,ht){this._viewContainerRef=Mt,this._template=pn,this._differs=an,this._viewRepeater=yt,this._viewport=Je,this.viewChange=new P.xQ,this._dataSourceChanges=new P.xQ,this.dataStream=this._dataSourceChanges.pipe((0,R.O)(null),(0,N.G)(),(0,S.w)(([xt,Ht])=>this._changeDataSource(xt,Ht)),(0,E.d)(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new P.xQ,this.dataStream.subscribe(xt=>{this._data=xt,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,z.R)(this._destroyed)).subscribe(xt=>{this._renderedRange=xt,this.viewChange.observers.length&&ht.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(Mt){this._cdkVirtualForOf=Mt,function W(gi){return gi&&"function"==typeof gi.connect}(Mt)?this._dataSourceChanges.next(Mt):this._dataSourceChanges.next(new re((0,x.b)(Mt)?Mt:Array.from(Mt||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(Mt){this._needsUpdate=!0,this._cdkVirtualForTrackBy=Mt?(pn,an)=>Mt(pn+(this._renderedRange?this._renderedRange.start:0),an):void 0}set cdkVirtualForTemplate(Mt){Mt&&(this._needsUpdate=!0,this._template=Mt)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(Mt){this._viewRepeater.viewCacheSize=(0,n.su)(Mt)}measureRangeSize(Mt,pn){if(Mt.start>=Mt.end)return 0;Mt.start<this._renderedRange.start||(Mt.end,this._renderedRange.end);const an=Mt.start-this._renderedRange.start,yt=Mt.end-Mt.start;let Je,ht;for(let xt=0;xt<yt;xt++){const Ht=this._viewContainerRef.get(xt+an);if(Ht&&Ht.rootNodes.length){Je=ht=Ht.rootNodes[0];break}}for(let xt=yt-1;xt>-1;xt--){const Ht=this._viewContainerRef.get(xt+an);if(Ht&&Ht.rootNodes.length){ht=Ht.rootNodes[Ht.rootNodes.length-1];break}}return Je&&ht?qn(pn,"end",ht)-qn(pn,"start",Je):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const Mt=this._differ.diff(this._renderedItems);Mt?this._applyChanges(Mt):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((Mt,pn)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(Mt,pn):pn)),this._needsUpdate=!0)}_changeDataSource(Mt,pn){return Mt&&Mt.disconnect(this),this._needsUpdate=!0,pn?pn.connect(this):(0,m.of)()}_updateContext(){const Mt=this._data.length;let pn=this._viewContainerRef.length;for(;pn--;){const an=this._viewContainerRef.get(pn);an.context.index=this._renderedRange.start+pn,an.context.count=Mt,this._updateComputedContextProperties(an.context),an.detectChanges()}}_applyChanges(Mt){this._viewRepeater.applyChanges(Mt,this._viewContainerRef,(yt,Je,ht)=>this._getEmbeddedViewArgs(yt,ht),yt=>yt.item),Mt.forEachIdentityChange(yt=>{this._viewContainerRef.get(yt.currentIndex).context.$implicit=yt.item});const pn=this._data.length;let an=this._viewContainerRef.length;for(;an--;){const yt=this._viewContainerRef.get(an);yt.context.index=this._renderedRange.start+an,yt.context.count=pn,this._updateComputedContextProperties(yt.context)}}_updateComputedContextProperties(Mt){Mt.first=0===Mt.index,Mt.last=Mt.index===Mt.count-1,Mt.even=Mt.index%2==0,Mt.odd=!Mt.even}_getEmbeddedViewArgs(Mt,pn){return{templateRef:this._template,context:{$implicit:Mt.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:pn}}}oi.\u0275fac=function(Mt){return new(Mt||oi)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4),i.Y36(rt),i.Y36(yn,4),i.Y36(i.R0b))},oi.\u0275dir=i.lG2({type:oi,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[i._Bn([{provide:rt,useClass:class Ae{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Mt,pn,an,yt,Je){Mt.forEachOperation((ht,xt,Ht)=>{let $t,Jt;if(null==ht.previousIndex){const lt=()=>an(ht,xt,Ht);$t=this._insertView(lt,Ht,pn,yt(ht)),Jt=$t?1:0}else null==Ht?(this._detachAndCacheView(xt,pn),Jt=3):($t=this._moveView(xt,Ht,pn,yt(ht)),Jt=2);Je&&Je({context:null==$t?void 0:$t.context,operation:Jt,record:ht})})}detach(){for(const Mt of this._viewCache)Mt.destroy();this._viewCache=[]}_insertView(Mt,pn,an,yt){const Je=this._insertViewFromCache(pn,an);if(Je)return void(Je.context.$implicit=yt);const ht=Mt();return an.createEmbeddedView(ht.templateRef,ht.context,ht.index)}_detachAndCacheView(Mt,pn){const an=pn.detach(Mt);this._maybeCacheView(an,pn)}_moveView(Mt,pn,an,yt){const Je=an.get(Mt);return an.move(Je,pn),Je.context.$implicit=yt,Je}_maybeCacheView(Mt,pn){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Mt);else{const an=pn.indexOf(Mt);-1===an?Mt.destroy():pn.remove(an)}}_insertViewFromCache(Mt,pn){const an=this._viewCache.pop();return an&&pn.insert(an,Mt),an||null}}}])]});class Yn{}Yn.\u0275fac=function(Mt){return new(Mt||Yn)},Yn.\u0275mod=i.oAB({type:Yn,declarations:[xn],exports:[xn]}),Yn.\u0275inj=i.cJS({});class Xn{}Xn.\u0275fac=function(Mt){return new(Mt||Xn)},Xn.\u0275mod=i.oAB({type:Xn,declarations:[_n,oi,yn],imports:[U.vT,Yn],exports:[U.vT,Yn,_n,oi,yn]}),Xn.\u0275inj=i.cJS({imports:[[U.vT,Yn],U.vT,Yn]})},36362:(de,$e,B)=>{"use strict";B.d($e,{Do:()=>U,ED:()=>ra,EM:()=>ds,HT:()=>s,JF:()=>Rr,JJ:()=>Wt,K0:()=>h,Mn:()=>_n,Mx:()=>Os,NF:()=>Yi,O5:()=>Ps,Ov:()=>Ws,PC:()=>yo,PM:()=>In,RF:()=>no,S$:()=>S,Tn:()=>rt,UT:()=>hn,V_:()=>x,Ye:()=>X,Zx:()=>Pt,b0:()=>H,bD:()=>Ui,ez:()=>ui,lw:()=>v,mk:()=>cs,mr:()=>O,n9:()=>ho,ol:()=>fn,p6:()=>Ai,q:()=>P,sg:()=>ao,tP:()=>Fo,w_:()=>o,x:()=>qe});var n=B(3184);let i=null;function P(){return i}function s(Qe){i||(i=Qe)}class o{}const h=new n.OlP("DocumentToken");class v{historyGo(Oe){throw new Error("Not implemented")}}v.\u0275fac=function(Oe){return new(Oe||v)},v.\u0275prov=n.Yz7({token:v,factory:function(){return function y(){return(0,n.LFG)(C)}()},providedIn:"platform"});const x=new n.OlP("Location Initialized");class C extends v{constructor(Oe){super(),this._doc=Oe,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return P().getBaseHref(this._doc)}onPopState(Oe){const gt=P().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("popstate",Oe,!1),()=>gt.removeEventListener("popstate",Oe)}onHashChange(Oe){const gt=P().getGlobalEventTarget(this._doc,"window");return gt.addEventListener("hashchange",Oe,!1),()=>gt.removeEventListener("hashchange",Oe)}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(Oe){this.location.pathname=Oe}pushState(Oe,gt,Nt){_()?this._history.pushState(Oe,gt,Nt):this.location.hash=Nt}replaceState(Oe,gt,Nt){_()?this._history.replaceState(Oe,gt,Nt):this.location.hash=Nt}forward(){this._history.forward()}back(){this._history.back()}historyGo(Oe=0){this._history.go(Oe)}getState(){return this._history.state}}function _(){return!!window.history.pushState}function z(Qe,Oe){if(0==Qe.length)return Oe;if(0==Oe.length)return Qe;let gt=0;return Qe.endsWith("/")&&gt++,Oe.startsWith("/")&&gt++,2==gt?Qe+Oe.substring(1):1==gt?Qe+Oe:Qe+"/"+Oe}function R(Qe){const Oe=Qe.match(/#|\?|$/),gt=Oe&&Oe.index||Qe.length,Nt=gt-("/"===Qe[gt-1]?1:0);return Qe.slice(0,Nt)+Qe.slice(gt)}function N(Qe){return Qe&&"?"!==Qe[0]?"?"+Qe:Qe}C.\u0275fac=function(Oe){return new(Oe||C)(n.LFG(h))},C.\u0275prov=n.Yz7({token:C,factory:function(){return function w(){return new C((0,n.LFG)(h))}()},providedIn:"platform"});class S{historyGo(Oe){throw new Error("Not implemented")}}S.\u0275fac=function(Oe){return new(Oe||S)},S.\u0275prov=n.Yz7({token:S,factory:function(){return function E(Qe){const Oe=(0,n.LFG)(h).location;return new H((0,n.LFG)(v),Oe&&Oe.origin||"")}()},providedIn:"root"});const O=new n.OlP("appBaseHref");class H extends S{constructor(Oe,gt){if(super(),this._platformLocation=Oe,this._removeListenerFns=[],null==gt&&(gt=this._platformLocation.getBaseHrefFromDOM()),null==gt)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=gt}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Oe){this._removeListenerFns.push(this._platformLocation.onPopState(Oe),this._platformLocation.onHashChange(Oe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Oe){return z(this._baseHref,Oe)}path(Oe=!1){const gt=this._platformLocation.pathname+N(this._platformLocation.search),Nt=this._platformLocation.hash;return Nt&&Oe?`${gt}${Nt}`:gt}pushState(Oe,gt,Nt,Cn){const ze=this.prepareExternalUrl(Nt+N(Cn));this._platformLocation.pushState(Oe,gt,ze)}replaceState(Oe,gt,Nt,Cn){const ze=this.prepareExternalUrl(Nt+N(Cn));this._platformLocation.replaceState(Oe,gt,ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Oe=0){var gt,Nt;null===(Nt=(gt=this._platformLocation).historyGo)||void 0===Nt||Nt.call(gt,Oe)}}H.\u0275fac=function(Oe){return new(Oe||H)(n.LFG(v),n.LFG(O,8))},H.\u0275prov=n.Yz7({token:H,factory:H.\u0275fac});class U extends S{constructor(Oe,gt){super(),this._platformLocation=Oe,this._baseHref="",this._removeListenerFns=[],null!=gt&&(this._baseHref=gt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Oe){this._removeListenerFns.push(this._platformLocation.onPopState(Oe),this._platformLocation.onHashChange(Oe))}getBaseHref(){return this._baseHref}path(Oe=!1){let gt=this._platformLocation.hash;return null==gt&&(gt="#"),gt.length>0?gt.substring(1):gt}prepareExternalUrl(Oe){const gt=z(this._baseHref,Oe);return gt.length>0?"#"+gt:gt}pushState(Oe,gt,Nt,Cn){let ze=this.prepareExternalUrl(Nt+N(Cn));0==ze.length&&(ze=this._platformLocation.pathname),this._platformLocation.pushState(Oe,gt,ze)}replaceState(Oe,gt,Nt,Cn){let ze=this.prepareExternalUrl(Nt+N(Cn));0==ze.length&&(ze=this._platformLocation.pathname),this._platformLocation.replaceState(Oe,gt,ze)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Oe=0){var gt,Nt;null===(Nt=(gt=this._platformLocation).historyGo)||void 0===Nt||Nt.call(gt,Oe)}}U.\u0275fac=function(Oe){return new(Oe||U)(n.LFG(v),n.LFG(O,8))},U.\u0275prov=n.Yz7({token:U,factory:U.\u0275fac});class X{constructor(Oe,gt){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=Oe;const Nt=this._platformStrategy.getBaseHref();this._platformLocation=gt,this._baseHref=R(pe(Nt)),this._platformStrategy.onPopState(Cn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Cn.state,type:Cn.type})})}path(Oe=!1){return this.normalize(this._platformStrategy.path(Oe))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(Oe,gt=""){return this.path()==this.normalize(Oe+N(gt))}normalize(Oe){return X.stripTrailingSlash(function re(Qe,Oe){return Qe&&Oe.startsWith(Qe)?Oe.substring(Qe.length):Oe}(this._baseHref,pe(Oe)))}prepareExternalUrl(Oe){return Oe&&"/"!==Oe[0]&&(Oe="/"+Oe),this._platformStrategy.prepareExternalUrl(Oe)}go(Oe,gt="",Nt=null){this._platformStrategy.pushState(Nt,"",Oe,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+N(gt)),Nt)}replaceState(Oe,gt="",Nt=null){this._platformStrategy.replaceState(Nt,"",Oe,gt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Oe+N(gt)),Nt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(Oe=0){var gt,Nt;null===(Nt=(gt=this._platformStrategy).historyGo)||void 0===Nt||Nt.call(gt,Oe)}onUrlChange(Oe){this._urlChangeListeners.push(Oe),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(gt=>{this._notifyUrlChangeListeners(gt.url,gt.state)}))}_notifyUrlChangeListeners(Oe="",gt){this._urlChangeListeners.forEach(Nt=>Nt(Oe,gt))}subscribe(Oe,gt,Nt){return this._subject.subscribe({next:Oe,error:gt,complete:Nt})}}function pe(Qe){return Qe.replace(/\/index.html$/,"")}X.normalizeQueryParams=N,X.joinWithSlash=z,X.stripTrailingSlash=R,X.\u0275fac=function(Oe){return new(Oe||X)(n.LFG(S),n.LFG(v))},X.\u0275prov=n.Yz7({token:X,factory:function(){return function W(){return new X((0,n.LFG)(S),(0,n.LFG)(v))}()},providedIn:"root"});const Ae={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Se,Qe,De,qe,rt,ot,vt,rn;function fn(Qe,Oe,gt){const Nt=(0,n.cg1)(Qe),ze=ht([Nt[n.wAp.DayPeriodsFormat],Nt[n.wAp.DayPeriodsStandalone]],Oe);return ht(ze,gt)}function _n(Qe,Oe,gt){const Nt=(0,n.cg1)(Qe),ze=ht([Nt[n.wAp.DaysFormat],Nt[n.wAp.DaysStandalone]],Oe);return ht(ze,gt)}function hn(Qe,Oe,gt){const Nt=(0,n.cg1)(Qe),ze=ht([Nt[n.wAp.MonthsFormat],Nt[n.wAp.MonthsStandalone]],Oe);return ht(ze,gt)}function Sn(Qe,Oe){return ht((0,n.cg1)(Qe)[n.wAp.DateFormat],Oe)}function si(Qe,Oe){return ht((0,n.cg1)(Qe)[n.wAp.TimeFormat],Oe)}function cn(Qe,Oe){return ht((0,n.cg1)(Qe)[n.wAp.DateTimeFormat],Oe)}function yn(Qe,Oe){const gt=(0,n.cg1)(Qe),Nt=gt[n.wAp.NumberSymbols][Oe];if(void 0===Nt){if(Oe===vt.CurrencyDecimal)return gt[n.wAp.NumberSymbols][vt.Decimal];if(Oe===vt.CurrencyGroup)return gt[n.wAp.NumberSymbols][vt.Group]}return Nt}function qn(Qe,Oe){return(0,n.cg1)(Qe)[n.wAp.NumberFormats][Oe]}(Qe=Se||(Se={}))[Qe.Decimal=0]="Decimal",Qe[Qe.Percent=1]="Percent",Qe[Qe.Currency=2]="Currency",Qe[Qe.Scientific=3]="Scientific",function(Qe){Qe[Qe.Zero=0]="Zero",Qe[Qe.One=1]="One",Qe[Qe.Two=2]="Two",Qe[Qe.Few=3]="Few",Qe[Qe.Many=4]="Many",Qe[Qe.Other=5]="Other"}(De||(De={})),function(Qe){Qe[Qe.Format=0]="Format",Qe[Qe.Standalone=1]="Standalone"}(qe||(qe={})),function(Qe){Qe[Qe.Narrow=0]="Narrow",Qe[Qe.Abbreviated=1]="Abbreviated",Qe[Qe.Wide=2]="Wide",Qe[Qe.Short=3]="Short"}(rt||(rt={})),function(Qe){Qe[Qe.Short=0]="Short",Qe[Qe.Medium=1]="Medium",Qe[Qe.Long=2]="Long",Qe[Qe.Full=3]="Full"}(ot||(ot={})),function(Qe){Qe[Qe.Decimal=0]="Decimal",Qe[Qe.Group=1]="Group",Qe[Qe.List=2]="List",Qe[Qe.PercentSign=3]="PercentSign",Qe[Qe.PlusSign=4]="PlusSign",Qe[Qe.MinusSign=5]="MinusSign",Qe[Qe.Exponential=6]="Exponential",Qe[Qe.SuperscriptingExponent=7]="SuperscriptingExponent",Qe[Qe.PerMille=8]="PerMille",Qe[Qe.Infinity=9]="Infinity",Qe[Qe.NaN=10]="NaN",Qe[Qe.TimeSeparator=11]="TimeSeparator",Qe[Qe.CurrencyDecimal=12]="CurrencyDecimal",Qe[Qe.CurrencyGroup=13]="CurrencyGroup"}(vt||(vt={})),function(Qe){Qe[Qe.Sunday=0]="Sunday",Qe[Qe.Monday=1]="Monday",Qe[Qe.Tuesday=2]="Tuesday",Qe[Qe.Wednesday=3]="Wednesday",Qe[Qe.Thursday=4]="Thursday",Qe[Qe.Friday=5]="Friday",Qe[Qe.Saturday=6]="Saturday"}(rn||(rn={}));const Mt=n.kL8;function pn(Qe){if(!Qe[n.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Qe[n.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ht(Qe,Oe){for(let gt=Oe;gt>-1;gt--)if(void 0!==Qe[gt])return Qe[gt];throw new Error("Locale data API: locale data undefined")}function xt(Qe){const[Oe,gt]=Qe.split(":");return{hours:+Oe,minutes:+gt}}function Ht(Qe,Oe,gt="en"){const Nt=function gi(Qe){return(0,n.cg1)(Qe)[n.wAp.Currencies]}(gt)[Qe]||Ae[Qe]||[],Cn=Nt[1];return"narrow"===Oe&&"string"==typeof Cn?Cn:Nt[0]||Qe}const lt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ft={},ln=/((?:[^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 Jn,Mn,ti;function Ai(Qe,Oe,gt,Nt){let Cn=function at(Qe){if(Nn(Qe))return Qe;if("number"==typeof Qe&&!isNaN(Qe))return new Date(Qe);if("string"==typeof Qe){if(Qe=Qe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Qe)){const[Cn,ze=1,ke=1]=Qe.split("-").map(oe=>+oe);return ki(Cn,ze-1,ke)}const gt=parseFloat(Qe);if(!isNaN(Qe-gt))return new Date(gt);let Nt;if(Nt=Qe.match(lt))return function Ot(Qe){const Oe=new Date(0);let gt=0,Nt=0;const Cn=Qe[8]?Oe.setUTCFullYear:Oe.setFullYear,ze=Qe[8]?Oe.setUTCHours:Oe.setHours;Qe[9]&&(gt=Number(Qe[9]+Qe[10]),Nt=Number(Qe[9]+Qe[11])),Cn.call(Oe,Number(Qe[1]),Number(Qe[2])-1,Number(Qe[3]));const ke=Number(Qe[4]||0)-gt,oe=Number(Qe[5]||0)-Nt,pt=Number(Qe[6]||0),zt=Math.floor(1e3*parseFloat("0."+(Qe[7]||0)));return ze.call(Oe,ke,oe,pt,zt),Oe}(Nt)}const Oe=new Date(Qe);if(!Nn(Oe))throw new Error(`Unable to convert "${Qe}" into a date`);return Oe}(Qe);Oe=Ki(gt,Oe)||Oe;let oe,ke=[];for(;Oe;){if(oe=ln.exec(Oe),!oe){ke.push(Oe);break}{ke=ke.concat(oe.slice(1));const Dt=ke.pop();if(!Dt)break;Oe=Dt}}let pt=Cn.getTimezoneOffset();Nt&&(pt=uo(Nt,pt),Cn=function ai(Qe,Oe,gt){const Nt=gt?-1:1,Cn=Qe.getTimezoneOffset(),ze=uo(Oe,Cn);return function fa(Qe,Oe){return(Qe=new Date(Qe.getTime())).setMinutes(Qe.getMinutes()+Oe),Qe}(Qe,Nt*(ze-Cn))}(Cn,Nt,!0));let zt="";return ke.forEach(Dt=>{const En=function Xr(Qe){if(br[Qe])return br[Qe];let Oe;switch(Qe){case"G":case"GG":case"GGG":Oe=Pn(ti.Eras,rt.Abbreviated);break;case"GGGG":Oe=Pn(ti.Eras,rt.Wide);break;case"GGGGG":Oe=Pn(ti.Eras,rt.Narrow);break;case"y":Oe=$n(Mn.FullYear,1,0,!1,!0);break;case"yy":Oe=$n(Mn.FullYear,2,0,!0,!0);break;case"yyy":Oe=$n(Mn.FullYear,3,0,!1,!0);break;case"yyyy":Oe=$n(Mn.FullYear,4,0,!1,!0);break;case"Y":Oe=Sr(1);break;case"YY":Oe=Sr(2,!0);break;case"YYY":Oe=Sr(3);break;case"YYYY":Oe=Sr(4);break;case"M":case"L":Oe=$n(Mn.Month,1,1);break;case"MM":case"LL":Oe=$n(Mn.Month,2,1);break;case"MMM":Oe=Pn(ti.Months,rt.Abbreviated);break;case"MMMM":Oe=Pn(ti.Months,rt.Wide);break;case"MMMMM":Oe=Pn(ti.Months,rt.Narrow);break;case"LLL":Oe=Pn(ti.Months,rt.Abbreviated,qe.Standalone);break;case"LLLL":Oe=Pn(ti.Months,rt.Wide,qe.Standalone);break;case"LLLLL":Oe=Pn(ti.Months,rt.Narrow,qe.Standalone);break;case"w":Oe=Li(1);break;case"ww":Oe=Li(2);break;case"W":Oe=Li(1,!0);break;case"d":Oe=$n(Mn.Date,1);break;case"dd":Oe=$n(Mn.Date,2);break;case"c":case"cc":Oe=$n(Mn.Day,1);break;case"ccc":Oe=Pn(ti.Days,rt.Abbreviated,qe.Standalone);break;case"cccc":Oe=Pn(ti.Days,rt.Wide,qe.Standalone);break;case"ccccc":Oe=Pn(ti.Days,rt.Narrow,qe.Standalone);break;case"cccccc":Oe=Pn(ti.Days,rt.Short,qe.Standalone);break;case"E":case"EE":case"EEE":Oe=Pn(ti.Days,rt.Abbreviated);break;case"EEEE":Oe=Pn(ti.Days,rt.Wide);break;case"EEEEE":Oe=Pn(ti.Days,rt.Narrow);break;case"EEEEEE":Oe=Pn(ti.Days,rt.Short);break;case"a":case"aa":case"aaa":Oe=Pn(ti.DayPeriods,rt.Abbreviated);break;case"aaaa":Oe=Pn(ti.DayPeriods,rt.Wide);break;case"aaaaa":Oe=Pn(ti.DayPeriods,rt.Narrow);break;case"b":case"bb":case"bbb":Oe=Pn(ti.DayPeriods,rt.Abbreviated,qe.Standalone,!0);break;case"bbbb":Oe=Pn(ti.DayPeriods,rt.Wide,qe.Standalone,!0);break;case"bbbbb":Oe=Pn(ti.DayPeriods,rt.Narrow,qe.Standalone,!0);break;case"B":case"BB":case"BBB":Oe=Pn(ti.DayPeriods,rt.Abbreviated,qe.Format,!0);break;case"BBBB":Oe=Pn(ti.DayPeriods,rt.Wide,qe.Format,!0);break;case"BBBBB":Oe=Pn(ti.DayPeriods,rt.Narrow,qe.Format,!0);break;case"h":Oe=$n(Mn.Hours,1,-12);break;case"hh":Oe=$n(Mn.Hours,2,-12);break;case"H":Oe=$n(Mn.Hours,1);break;case"HH":Oe=$n(Mn.Hours,2);break;case"m":Oe=$n(Mn.Minutes,1);break;case"mm":Oe=$n(Mn.Minutes,2);break;case"s":Oe=$n(Mn.Seconds,1);break;case"ss":Oe=$n(Mn.Seconds,2);break;case"S":Oe=$n(Mn.FractionalSeconds,1);break;case"SS":Oe=$n(Mn.FractionalSeconds,2);break;case"SSS":Oe=$n(Mn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Oe=ri(Jn.Short);break;case"ZZZZZ":Oe=ri(Jn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Oe=ri(Jn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Oe=ri(Jn.Long);break;default:return null}return br[Qe]=Oe,Oe}(Dt);zt+=En?En(Cn,gt,pt):"''"===Dt?"'":Dt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),zt}function ki(Qe,Oe,gt){const Nt=new Date(0);return Nt.setFullYear(Qe,Oe,gt),Nt.setHours(0,0,0),Nt}function Ki(Qe,Oe){const gt=function Xt(Qe){return(0,n.cg1)(Qe)[n.wAp.LocaleId]}(Qe);if(Ft[gt]=Ft[gt]||{},Ft[gt][Oe])return Ft[gt][Oe];let Nt="";switch(Oe){case"shortDate":Nt=Sn(Qe,ot.Short);break;case"mediumDate":Nt=Sn(Qe,ot.Medium);break;case"longDate":Nt=Sn(Qe,ot.Long);break;case"fullDate":Nt=Sn(Qe,ot.Full);break;case"shortTime":Nt=si(Qe,ot.Short);break;case"mediumTime":Nt=si(Qe,ot.Medium);break;case"longTime":Nt=si(Qe,ot.Long);break;case"fullTime":Nt=si(Qe,ot.Full);break;case"short":const Cn=Ki(Qe,"shortTime"),ze=Ki(Qe,"shortDate");Nt=Hi(cn(Qe,ot.Short),[Cn,ze]);break;case"medium":const ke=Ki(Qe,"mediumTime"),oe=Ki(Qe,"mediumDate");Nt=Hi(cn(Qe,ot.Medium),[ke,oe]);break;case"long":const pt=Ki(Qe,"longTime"),zt=Ki(Qe,"longDate");Nt=Hi(cn(Qe,ot.Long),[pt,zt]);break;case"full":const Dt=Ki(Qe,"fullTime"),En=Ki(Qe,"fullDate");Nt=Hi(cn(Qe,ot.Full),[Dt,En])}return Nt&&(Ft[gt][Oe]=Nt),Nt}function Hi(Qe,Oe){return Oe&&(Qe=Qe.replace(/\{([^}]+)}/g,function(gt,Nt){return null!=Oe&&Nt in Oe?Oe[Nt]:gt})),Qe}function _i(Qe,Oe,gt="-",Nt,Cn){let ze="";(Qe<0||Cn&&Qe<=0)&&(Cn?Qe=1-Qe:(Qe=-Qe,ze=gt));let ke=String(Qe);for(;ke.length<Oe;)ke="0"+ke;return Nt&&(ke=ke.substr(ke.length-Oe)),ze+ke}function $n(Qe,Oe,gt=0,Nt=!1,Cn=!1){return function(ze,ke){let oe=function wr(Qe,Oe){switch(Qe){case Mn.FullYear:return Oe.getFullYear();case Mn.Month:return Oe.getMonth();case Mn.Date:return Oe.getDate();case Mn.Hours:return Oe.getHours();case Mn.Minutes:return Oe.getMinutes();case Mn.Seconds:return Oe.getSeconds();case Mn.FractionalSeconds:return Oe.getMilliseconds();case Mn.Day:return Oe.getDay();default:throw new Error(`Unknown DateType value "${Qe}".`)}}(Qe,ze);if((gt>0||oe>-gt)&&(oe+=gt),Qe===Mn.Hours)0===oe&&-12===gt&&(oe=12);else if(Qe===Mn.FractionalSeconds)return function pi(Qe,Oe){return _i(Qe,3).substr(0,Oe)}(oe,Oe);const pt=yn(ke,vt.MinusSign);return _i(oe,Oe,pt,Nt,Cn)}}function Pn(Qe,Oe,gt=qe.Format,Nt=!1){return function(Cn,ze){return function Bn(Qe,Oe,gt,Nt,Cn,ze){switch(gt){case ti.Months:return hn(Oe,Cn,Nt)[Qe.getMonth()];case ti.Days:return _n(Oe,Cn,Nt)[Qe.getDay()];case ti.DayPeriods:const ke=Qe.getHours(),oe=Qe.getMinutes();if(ze){const zt=function an(Qe){const Oe=(0,n.cg1)(Qe);return pn(Oe),(Oe[n.wAp.ExtraData][2]||[]).map(Nt=>"string"==typeof Nt?xt(Nt):[xt(Nt[0]),xt(Nt[1])])}(Oe),Dt=function yt(Qe,Oe,gt){const Nt=(0,n.cg1)(Qe);pn(Nt);const ze=ht([Nt[n.wAp.ExtraData][0],Nt[n.wAp.ExtraData][1]],Oe)||[];return ht(ze,gt)||[]}(Oe,Cn,Nt),En=zt.findIndex(ci=>{if(Array.isArray(ci)){const[Ei,xr]=ci,ft=ke>=Ei.hours&&oe>=Ei.minutes,ye=ke<xr.hours||ke===xr.hours&&oe<xr.minutes;if(Ei.hours<xr.hours){if(ft&&ye)return!0}else if(ft||ye)return!0}else if(ci.hours===ke&&ci.minutes===oe)return!0;return!1});if(-1!==En)return Dt[En]}return fn(Oe,Cn,Nt)[ke<12?0:1];case ti.Eras:return function vn(Qe,Oe){return ht((0,n.cg1)(Qe)[n.wAp.Eras],Oe)}(Oe,Nt)[Qe.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${gt}`)}}(Cn,ze,Qe,Oe,gt,Nt)}}function ri(Qe){return function(Oe,gt,Nt){const Cn=-1*Nt,ze=yn(gt,vt.MinusSign),ke=Cn>0?Math.floor(Cn/60):Math.ceil(Cn/60);switch(Qe){case Jn.Short:return(Cn>=0?"+":"")+_i(ke,2,ze)+_i(Math.abs(Cn%60),2,ze);case Jn.ShortGMT:return"GMT"+(Cn>=0?"+":"")+_i(ke,1,ze);case Jn.Long:return"GMT"+(Cn>=0?"+":"")+_i(ke,2,ze)+":"+_i(Math.abs(Cn%60),2,ze);case Jn.Extended:return 0===Nt?"Z":(Cn>=0?"+":"")+_i(ke,2,ze)+":"+_i(Math.abs(Cn%60),2,ze);default:throw new Error(`Unknown zone width "${Qe}"`)}}}!function(Qe){Qe[Qe.Short=0]="Short",Qe[Qe.ShortGMT=1]="ShortGMT",Qe[Qe.Long=2]="Long",Qe[Qe.Extended=3]="Extended"}(Jn||(Jn={})),function(Qe){Qe[Qe.FullYear=0]="FullYear",Qe[Qe.Month=1]="Month",Qe[Qe.Date=2]="Date",Qe[Qe.Hours=3]="Hours",Qe[Qe.Minutes=4]="Minutes",Qe[Qe.Seconds=5]="Seconds",Qe[Qe.FractionalSeconds=6]="FractionalSeconds",Qe[Qe.Day=7]="Day"}(Mn||(Mn={})),function(Qe){Qe[Qe.DayPeriods=0]="DayPeriods",Qe[Qe.Days=1]="Days",Qe[Qe.Months=2]="Months",Qe[Qe.Eras=3]="Eras"}(ti||(ti={}));function gr(Qe){return ki(Qe.getFullYear(),Qe.getMonth(),Qe.getDate()+(4-Qe.getDay()))}function Li(Qe,Oe=!1){return function(gt,Nt){let Cn;if(Oe){const ze=new Date(gt.getFullYear(),gt.getMonth(),1).getDay()-1,ke=gt.getDate();Cn=1+Math.floor((ke+ze)/7)}else{const ze=gr(gt),ke=function Mr(Qe){const Oe=ki(Qe,0,1).getDay();return ki(Qe,0,1+(Oe<=4?4:11)-Oe)}(ze.getFullYear()),oe=ze.getTime()-ke.getTime();Cn=1+Math.round(oe/6048e5)}return _i(Cn,Qe,yn(Nt,vt.MinusSign))}}function Sr(Qe,Oe=!1){return function(gt,Nt){return _i(gr(gt).getFullYear(),Qe,yn(Nt,vt.MinusSign),Oe)}}const br={};function uo(Qe,Oe){Qe=Qe.replace(/:/g,"");const gt=Date.parse("Jan 01, 1970 00:00:00 "+Qe)/6e4;return isNaN(gt)?Oe:gt}function Nn(Qe){return Qe instanceof Date&&!isNaN(Qe.valueOf())}const di=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Qo(Qe,Oe,gt,Nt,Cn,ze,ke=!1){let oe="",pt=!1;if(isFinite(Qe)){let zt=function qr(Qe){let Nt,Cn,ze,ke,oe,Oe=Math.abs(Qe)+"",gt=0;for((Cn=Oe.indexOf("."))>-1&&(Oe=Oe.replace(".","")),(ze=Oe.search(/e/i))>0?(Cn<0&&(Cn=ze),Cn+=+Oe.slice(ze+1),Oe=Oe.substring(0,ze)):Cn<0&&(Cn=Oe.length),ze=0;"0"===Oe.charAt(ze);ze++);if(ze===(oe=Oe.length))Nt=[0],Cn=1;else{for(oe--;"0"===Oe.charAt(oe);)oe--;for(Cn-=ze,Nt=[],ke=0;ze<=oe;ze++,ke++)Nt[ke]=Number(Oe.charAt(ze))}return Cn>22&&(Nt=Nt.splice(0,21),gt=Cn-1,Cn=1),{digits:Nt,exponent:gt,integerLen:Cn}}(Qe);ke&&(zt=function To(Qe){if(0===Qe.digits[0])return Qe;const Oe=Qe.digits.length-Qe.integerLen;return Qe.exponent?Qe.exponent+=2:(0===Oe?Qe.digits.push(0,0):1===Oe&&Qe.digits.push(0),Qe.integerLen+=2),Qe}(zt));let Dt=Oe.minInt,En=Oe.minFrac,ci=Oe.maxFrac;if(ze){const tn=ze.match(di);if(null===tn)throw new Error(`${ze} is not a valid digit info`);const hi=tn[1],zr=tn[3],io=tn[5];null!=hi&&(Dt=jo(hi)),null!=zr&&(En=jo(zr)),null!=io?ci=jo(io):null!=zr&&En>ci&&(ci=En)}!function _o(Qe,Oe,gt){if(Oe>gt)throw new Error(`The minimum number of digits after fraction (${Oe}) is higher than the maximum (${gt}).`);let Nt=Qe.digits,Cn=Nt.length-Qe.integerLen;const ze=Math.min(Math.max(Oe,Cn),gt);let ke=ze+Qe.integerLen,oe=Nt[ke];if(ke>0){Nt.splice(Math.max(Qe.integerLen,ke));for(let En=ke;En<Nt.length;En++)Nt[En]=0}else{Cn=Math.max(0,Cn),Qe.integerLen=1,Nt.length=Math.max(1,ke=ze+1),Nt[0]=0;for(let En=1;En<ke;En++)Nt[En]=0}if(oe>=5)if(ke-1<0){for(let En=0;En>ke;En--)Nt.unshift(0),Qe.integerLen++;Nt.unshift(1),Qe.integerLen++}else Nt[ke-1]++;for(;Cn<Math.max(0,ze);Cn++)Nt.push(0);let pt=0!==ze;const zt=Oe+Qe.integerLen,Dt=Nt.reduceRight(function(En,ci,Ei,xr){return ci+=En,xr[Ei]=ci<10?ci:ci-10,pt&&(0===xr[Ei]&&Ei>=zt?xr.pop():pt=!1),ci>=10?1:0},0);Dt&&(Nt.unshift(Dt),Qe.integerLen++)}(zt,En,ci);let Ei=zt.digits,xr=zt.integerLen;const ft=zt.exponent;let ye=[];for(pt=Ei.every(tn=>!tn);xr<Dt;xr++)Ei.unshift(0);for(;xr<0;xr++)Ei.unshift(0);xr>0?ye=Ei.splice(xr,Ei.length):(ye=Ei,Ei=[0]);const Xe=[];for(Ei.length>=Oe.lgSize&&Xe.unshift(Ei.splice(-Oe.lgSize,Ei.length).join(""));Ei.length>Oe.gSize;)Xe.unshift(Ei.splice(-Oe.gSize,Ei.length).join(""));Ei.length&&Xe.unshift(Ei.join("")),oe=Xe.join(yn(gt,Nt)),ye.length&&(oe+=yn(gt,Cn)+ye.join("")),ft&&(oe+=yn(gt,vt.Exponential)+"+"+ft)}else oe=yn(gt,vt.Infinity);return oe=Qe<0&&!pt?Oe.negPre+oe+Oe.negSuf:Oe.posPre+oe+Oe.posSuf,oe}function mr(Qe,Oe,gt,Nt,Cn){const ke=Vi(qn(Oe,Se.Currency),yn(Oe,vt.MinusSign));return ke.minFrac=function Jt(Qe){let Oe;const gt=Ae[Qe];return gt&&(Oe=gt[2]),"number"==typeof Oe?Oe:2}(Nt),ke.maxFrac=ke.minFrac,Qo(Qe,ke,Oe,vt.CurrencyGroup,vt.CurrencyDecimal,Cn).replace("\xa4",gt).replace("\xa4","").trim()}function Vi(Qe,Oe="-"){const gt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Nt=Qe.split(";"),Cn=Nt[0],ze=Nt[1],ke=-1!==Cn.indexOf(".")?Cn.split("."):[Cn.substring(0,Cn.lastIndexOf("0")+1),Cn.substring(Cn.lastIndexOf("0")+1)],oe=ke[0],pt=ke[1]||"";gt.posPre=oe.substr(0,oe.indexOf("#"));for(let Dt=0;Dt<pt.length;Dt++){const En=pt.charAt(Dt);"0"===En?gt.minFrac=gt.maxFrac=Dt+1:"#"===En?gt.maxFrac=Dt+1:gt.posSuf+=En}const zt=oe.split(",");if(gt.gSize=zt[1]?zt[1].length:0,gt.lgSize=zt[2]||zt[1]?(zt[2]||zt[1]).length:0,ze){const Dt=Cn.length-gt.posPre.length-gt.posSuf.length,En=ze.indexOf("#");gt.negPre=ze.substr(0,En).replace(/'/g,""),gt.negSuf=ze.substr(En+Dt).replace(/'/g,"")}else gt.negPre=Oe+gt.posPre,gt.negSuf=gt.posSuf;return gt}function jo(Qe){const Oe=parseInt(Qe);if(isNaN(Oe))throw new Error("Invalid integer literal when parsing "+Qe);return Oe}class Do{}function gs(Qe,Oe,gt,Nt){let Cn=`=${Qe}`;if(Oe.indexOf(Cn)>-1||(Cn=gt.getPluralCategory(Qe,Nt),Oe.indexOf(Cn)>-1))return Cn;if(Oe.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Qe}"`)}Do.\u0275fac=function(Oe){return new(Oe||Do)},Do.\u0275prov=n.Yz7({token:Do,factory:function(Oe){let gt=null;return Oe?gt=new Oe:(Nt=n.LFG(n.soG),gt=new Ho(Nt)),gt;var Nt},providedIn:"root"});class Ho extends Do{constructor(Oe){super(),this.locale=Oe}getPluralCategory(Oe,gt){switch(Mt(gt||this.locale)(Oe)){case De.Zero:return"zero";case De.One:return"one";case De.Two:return"two";case De.Few:return"few";case De.Many:return"many";default:return"other"}}}function Os(Qe,Oe){Oe=encodeURIComponent(Oe);for(const gt of Qe.split(";")){const Nt=gt.indexOf("="),[Cn,ze]=-1==Nt?[gt,""]:[gt.slice(0,Nt),gt.slice(Nt+1)];if(Cn.trim()===Oe)return decodeURIComponent(ze)}return null}Ho.\u0275fac=function(Oe){return new(Oe||Ho)(n.LFG(n.soG))},Ho.\u0275prov=n.Yz7({token:Ho,factory:Ho.\u0275fac});class cs{constructor(Oe,gt,Nt,Cn){this._iterableDiffers=Oe,this._keyValueDiffers=gt,this._ngEl=Nt,this._renderer=Cn,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Oe){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Oe?Oe.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Oe){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Oe?Oe.split(/\s+/):Oe,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Oe=this._iterableDiffer.diff(this._rawClass);Oe&&this._applyIterableChanges(Oe)}else if(this._keyValueDiffer){const Oe=this._keyValueDiffer.diff(this._rawClass);Oe&&this._applyKeyValueChanges(Oe)}}_applyKeyValueChanges(Oe){Oe.forEachAddedItem(gt=>this._toggleClass(gt.key,gt.currentValue)),Oe.forEachChangedItem(gt=>this._toggleClass(gt.key,gt.currentValue)),Oe.forEachRemovedItem(gt=>{gt.previousValue&&this._toggleClass(gt.key,!1)})}_applyIterableChanges(Oe){Oe.forEachAddedItem(gt=>{if("string"!=typeof gt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(gt.item)}`);this._toggleClass(gt.item,!0)}),Oe.forEachRemovedItem(gt=>this._toggleClass(gt.item,!1))}_applyClasses(Oe){Oe&&(Array.isArray(Oe)||Oe instanceof Set?Oe.forEach(gt=>this._toggleClass(gt,!0)):Object.keys(Oe).forEach(gt=>this._toggleClass(gt,!!Oe[gt])))}_removeClasses(Oe){Oe&&(Array.isArray(Oe)||Oe instanceof Set?Oe.forEach(gt=>this._toggleClass(gt,!1)):Object.keys(Oe).forEach(gt=>this._toggleClass(gt,!1)))}_toggleClass(Oe,gt){(Oe=Oe.trim())&&Oe.split(/\s+/g).forEach(Nt=>{gt?this._renderer.addClass(this._ngEl.nativeElement,Nt):this._renderer.removeClass(this._ngEl.nativeElement,Nt)})}}cs.\u0275fac=function(Oe){return new(Oe||cs)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},cs.\u0275dir=n.lG2({type:cs,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}});class li{constructor(Oe){this._viewContainerRef=Oe,this._componentRef=null,this._moduleRef=null}ngOnChanges(Oe){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const gt=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(Oe.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const ze=gt.get(n.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(ze.injector)}else this._moduleRef=null;const Cn=(this._moduleRef?this._moduleRef.componentFactoryResolver:gt.get(n._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(Cn,this._viewContainerRef.length,gt,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}li.\u0275fac=function(Oe){return new(Oe||li)(n.Y36(n.s_b))},li.\u0275dir=n.lG2({type:li,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.TTD]});class Qr{constructor(Oe,gt,Nt,Cn){this.$implicit=Oe,this.ngForOf=gt,this.index=Nt,this.count=Cn}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}}class ao{constructor(Oe,gt,Nt){this._viewContainer=Oe,this._template=gt,this._differs=Nt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Oe){this._ngForOf=Oe,this._ngForOfDirty=!0}set ngForTrackBy(Oe){this._trackByFn=Oe}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Oe){Oe&&(this._template=Oe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Oe=this._ngForOf;!this._differ&&Oe&&(this._differ=this._differs.find(Oe).create(this.ngForTrackBy))}if(this._differ){const Oe=this._differ.diff(this._ngForOf);Oe&&this._applyChanges(Oe)}}_applyChanges(Oe){const gt=this._viewContainer;Oe.forEachOperation((Nt,Cn,ze)=>{if(null==Nt.previousIndex)gt.createEmbeddedView(this._template,new Qr(Nt.item,this._ngForOf,-1,-1),null===ze?void 0:ze);else if(null==ze)gt.remove(null===Cn?void 0:Cn);else if(null!==Cn){const ke=gt.get(Cn);gt.move(ke,ze),ys(ke,Nt)}});for(let Nt=0,Cn=gt.length;Nt<Cn;Nt++){const ke=gt.get(Nt).context;ke.index=Nt,ke.count=Cn,ke.ngForOf=this._ngForOf}Oe.forEachIdentityChange(Nt=>{ys(gt.get(Nt.currentIndex),Nt)})}static ngTemplateContextGuard(Oe,gt){return!0}}function ys(Qe,Oe){Qe.context.$implicit=Oe.item}ao.\u0275fac=function(Oe){return new(Oe||ao)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},ao.\u0275dir=n.lG2({type:ao,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}});class Ps{constructor(Oe,gt){this._viewContainer=Oe,this._context=new ji,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=gt}set ngIf(Oe){this._context.$implicit=this._context.ngIf=Oe,this._updateView()}set ngIfThen(Oe){So("ngIfThen",Oe),this._thenTemplateRef=Oe,this._thenViewRef=null,this._updateView()}set ngIfElse(Oe){So("ngIfElse",Oe),this._elseTemplateRef=Oe,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(Oe,gt){return!0}}Ps.\u0275fac=function(Oe){return new(Oe||Ps)(n.Y36(n.s_b),n.Y36(n.Rgc))},Ps.\u0275dir=n.lG2({type:Ps,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}});class ji{constructor(){this.$implicit=null,this.ngIf=null}}function So(Qe,Oe){if(Oe&&!Oe.createEmbeddedView)throw new Error(`${Qe} must be a TemplateRef, but received '${(0,n.AaK)(Oe)}'.`)}class Us{constructor(Oe,gt){this._viewContainerRef=Oe,this._templateRef=gt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Oe){Oe&&!this._created?this.create():!Oe&&this._created&&this.destroy()}}class no{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Oe){this._ngSwitch=Oe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Oe){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Oe)}_matchCase(Oe){const gt=Oe==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||gt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),gt}_updateDefaultCases(Oe){if(this._defaultViews&&Oe!==this._defaultUsed){this._defaultUsed=Oe;for(let gt=0;gt<this._defaultViews.length;gt++)this._defaultViews[gt].enforceState(Oe)}}}no.\u0275fac=function(Oe){return new(Oe||no)},no.\u0275dir=n.lG2({type:no,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}});class ho{constructor(Oe,gt,Nt){this.ngSwitch=Nt,Nt._addCase(),this._view=new Us(Oe,gt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}ho.\u0275fac=function(Oe){return new(Oe||ho)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(no,9))},ho.\u0275dir=n.lG2({type:ho,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}});class ra{constructor(Oe,gt,Nt){Nt._addDefault(new Us(Oe,gt))}}ra.\u0275fac=function(Oe){return new(Oe||ra)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(no,9))},ra.\u0275dir=n.lG2({type:ra,selectors:[["","ngSwitchDefault",""]]});class bo{constructor(Oe){this._localization=Oe,this._caseViews={}}set ngPlural(Oe){this._switchValue=Oe,this._updateView()}addCase(Oe,gt){this._caseViews[Oe]=gt}_updateView(){this._clearViews();const Oe=Object.keys(this._caseViews),gt=gs(this._switchValue,Oe,this._localization);this._activateView(this._caseViews[gt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Oe){Oe&&(this._activeView=Oe,this._activeView.create())}}bo.\u0275fac=function(Oe){return new(Oe||bo)(n.Y36(Do))},bo.\u0275dir=n.lG2({type:bo,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}});class yr{constructor(Oe,gt,Nt,Cn){this.value=Oe;const ze=!isNaN(Number(Oe));Cn.addCase(ze?`=${Oe}`:Oe,new Us(Nt,gt))}}yr.\u0275fac=function(Oe){return new(Oe||yr)(n.$8M("ngPluralCase"),n.Y36(n.Rgc),n.Y36(n.s_b),n.Y36(bo,1))},yr.\u0275dir=n.lG2({type:yr,selectors:[["","ngPluralCase",""]]});class yo{constructor(Oe,gt,Nt){this._ngEl=Oe,this._differs=gt,this._renderer=Nt,this._ngStyle=null,this._differ=null}set ngStyle(Oe){this._ngStyle=Oe,!this._differ&&Oe&&(this._differ=this._differs.find(Oe).create())}ngDoCheck(){if(this._differ){const Oe=this._differ.diff(this._ngStyle);Oe&&this._applyChanges(Oe)}}_setStyle(Oe,gt){const[Nt,Cn]=Oe.split(".");null!=(gt=null!=gt&&Cn?`${gt}${Cn}`:gt)?this._renderer.setStyle(this._ngEl.nativeElement,Nt,gt):this._renderer.removeStyle(this._ngEl.nativeElement,Nt)}_applyChanges(Oe){Oe.forEachRemovedItem(gt=>this._setStyle(gt.key,null)),Oe.forEachAddedItem(gt=>this._setStyle(gt.key,gt.currentValue)),Oe.forEachChangedItem(gt=>this._setStyle(gt.key,gt.currentValue))}}yo.\u0275fac=function(Oe){return new(Oe||yo)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},yo.\u0275dir=n.lG2({type:yo,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}});class Fo{constructor(Oe){this._viewContainerRef=Oe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(Oe){if(Oe.ngTemplateOutlet){const gt=this._viewContainerRef;this._viewRef&&gt.remove(gt.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?gt.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&Oe.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Fo.\u0275fac=function(Oe){return new(Oe||Fo)(n.Y36(n.s_b))},Fo.\u0275dir=n.lG2({type:Fo,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.TTD]});function Or(Qe,Oe){return new n.vHH(2100,"")}const ba=new class Xo{createSubscription(Oe,gt){return Oe.then(gt,Nt=>{throw Nt})}dispose(Oe){}onDestroy(Oe){}},xs=new class rs{createSubscription(Oe,gt){return Oe.subscribe({next:gt,error:Nt=>{throw Nt}})}dispose(Oe){Oe.unsubscribe()}onDestroy(Oe){Oe.unsubscribe()}};class Ws{constructor(Oe){this._ref=Oe,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(Oe){return this._obj?Oe!==this._obj?(this._dispose(),this.transform(Oe)):this._latestValue:(Oe&&this._subscribe(Oe),this._latestValue)}_subscribe(Oe){this._obj=Oe,this._strategy=this._selectStrategy(Oe),this._subscription=this._strategy.createSubscription(Oe,gt=>this._updateLatestValue(Oe,gt))}_selectStrategy(Oe){if((0,n.QGY)(Oe))return ba;if((0,n.F4k)(Oe))return xs;throw Or()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Oe,gt){Oe===this._obj&&(this._latestValue=gt,this._ref.markForCheck())}}Ws.\u0275fac=function(Oe){return new(Oe||Ws)(n.Y36(n.sBO,16))},Ws.\u0275pipe=n.Yjl({name:"async",type:Ws,pure:!1});class aa{transform(Oe){if(null==Oe)return null;if("string"!=typeof Oe)throw Or();return Oe.toLowerCase()}}aa.\u0275fac=function(Oe){return new(Oe||aa)},aa.\u0275pipe=n.Yjl({name:"lowercase",type:aa,pure:!0});const js=/(?:[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;class Jo{transform(Oe){if(null==Oe)return null;if("string"!=typeof Oe)throw Or();return Oe.replace(js,gt=>gt[0].toUpperCase()+gt.substr(1).toLowerCase())}}Jo.\u0275fac=function(Oe){return new(Oe||Jo)},Jo.\u0275pipe=n.Yjl({name:"titlecase",type:Jo,pure:!0});class Vo{transform(Oe){if(null==Oe)return null;if("string"!=typeof Oe)throw Or();return Oe.toUpperCase()}}Vo.\u0275fac=function(Oe){return new(Oe||Vo)},Vo.\u0275pipe=n.Yjl({name:"uppercase",type:Vo,pure:!0});const Io=new n.OlP("DATE_PIPE_DEFAULT_TIMEZONE");class or{constructor(Oe,gt){this.locale=Oe,this.defaultTimezone=gt}transform(Oe,gt="mediumDate",Nt,Cn){var ze;if(null==Oe||""===Oe||Oe!=Oe)return null;try{return Ai(Oe,gt,Cn||this.locale,null!==(ze=null!=Nt?Nt:this.defaultTimezone)&&void 0!==ze?ze:void 0)}catch(ke){throw Or(0,ke.message)}}}or.\u0275fac=function(Oe){return new(Oe||or)(n.Y36(n.soG,16),n.Y36(Io,24))},or.\u0275pipe=n.Yjl({name:"date",type:or,pure:!0});const q=/#/g;class ne{constructor(Oe){this._localization=Oe}transform(Oe,gt,Nt){if(null==Oe)return"";if("object"!=typeof gt||null===gt)throw Or();return gt[gs(Oe,Object.keys(gt),this._localization,Nt)].replace(q,Oe.toString())}}ne.\u0275fac=function(Oe){return new(Oe||ne)(n.Y36(Do,16))},ne.\u0275pipe=n.Yjl({name:"i18nPlural",type:ne,pure:!0});class me{transform(Oe,gt){if(null==Oe)return"";if("object"!=typeof gt||"string"!=typeof Oe)throw Or();return gt.hasOwnProperty(Oe)?gt[Oe]:gt.hasOwnProperty("other")?gt.other:""}}me.\u0275fac=function(Oe){return new(Oe||me)},me.\u0275pipe=n.Yjl({name:"i18nSelect",type:me,pure:!0});class Be{transform(Oe){return JSON.stringify(Oe,null,2)}}Be.\u0275fac=function(Oe){return new(Oe||Be)},Be.\u0275pipe=n.Yjl({name:"json",type:Be,pure:!1});class It{constructor(Oe){this.differs=Oe,this.keyValues=[],this.compareFn=Ut}transform(Oe,gt=Ut){if(!Oe||!(Oe instanceof Map)&&"object"!=typeof Oe)return null;this.differ||(this.differ=this.differs.find(Oe).create());const Nt=this.differ.diff(Oe),Cn=gt!==this.compareFn;return Nt&&(this.keyValues=[],Nt.forEachItem(ze=>{this.keyValues.push(function et(Qe,Oe){return{key:Qe,value:Oe}}(ze.key,ze.currentValue))})),(Nt||Cn)&&(this.keyValues.sort(gt),this.compareFn=gt),this.keyValues}}function Ut(Qe,Oe){const gt=Qe.key,Nt=Oe.key;if(gt===Nt)return 0;if(void 0===gt)return 1;if(void 0===Nt)return-1;if(null===gt)return 1;if(null===Nt)return-1;if("string"==typeof gt&&"string"==typeof Nt)return gt<Nt?-1:1;if("number"==typeof gt&&"number"==typeof Nt)return gt-Nt;if("boolean"==typeof gt&&"boolean"==typeof Nt)return gt<Nt?-1:1;const Cn=String(gt),ze=String(Nt);return Cn==ze?0:Cn<ze?-1:1}It.\u0275fac=function(Oe){return new(Oe||It)(n.Y36(n.aQg,16))},It.\u0275pipe=n.Yjl({name:"keyvalue",type:It,pure:!1});class Wt{constructor(Oe){this._locale=Oe}transform(Oe,gt,Nt){if(!Dn(Oe))return null;Nt=Nt||this._locale;try{return function Cr(Qe,Oe,gt){return Qo(Qe,Vi(qn(Oe,Se.Decimal),yn(Oe,vt.MinusSign)),Oe,vt.Group,vt.Decimal,gt)}(Ln(Oe),Nt,gt)}catch(Cn){throw Or(0,Cn.message)}}}Wt.\u0275fac=function(Oe){return new(Oe||Wt)(n.Y36(n.soG,16))},Wt.\u0275pipe=n.Yjl({name:"number",type:Wt,pure:!0});class Pt{constructor(Oe){this._locale=Oe}transform(Oe,gt,Nt){if(!Dn(Oe))return null;Nt=Nt||this._locale;try{return function Ti(Qe,Oe,gt){return Qo(Qe,Vi(qn(Oe,Se.Percent),yn(Oe,vt.MinusSign)),Oe,vt.Group,vt.Decimal,gt,!0).replace(new RegExp("%","g"),yn(Oe,vt.PercentSign))}(Ln(Oe),Nt,gt)}catch(Cn){throw Or(0,Cn.message)}}}Pt.\u0275fac=function(Oe){return new(Oe||Pt)(n.Y36(n.soG,16))},Pt.\u0275pipe=n.Yjl({name:"percent",type:Pt,pure:!0});class Et{constructor(Oe,gt="USD"){this._locale=Oe,this._defaultCurrencyCode=gt}transform(Oe,gt=this._defaultCurrencyCode,Nt="symbol",Cn,ze){if(!Dn(Oe))return null;ze=ze||this._locale,"boolean"==typeof Nt&&(Nt=Nt?"symbol":"code");let ke=gt||this._defaultCurrencyCode;"code"!==Nt&&(ke="symbol"===Nt||"symbol-narrow"===Nt?Ht(ke,"symbol"===Nt?"wide":"narrow",ze):Nt);try{return mr(Ln(Oe),ze,ke,gt,Cn)}catch(oe){throw Or(0,oe.message)}}}function Dn(Qe){return!(null==Qe||""===Qe||Qe!=Qe)}function Ln(Qe){if("string"==typeof Qe&&!isNaN(Number(Qe)-parseFloat(Qe)))return Number(Qe);if("number"!=typeof Qe)throw new Error(`${Qe} is not a number`);return Qe}Et.\u0275fac=function(Oe){return new(Oe||Et)(n.Y36(n.soG,16),n.Y36(n.EJc,16))},Et.\u0275pipe=n.Yjl({name:"currency",type:Et,pure:!0});class An{transform(Oe,gt,Nt){if(null==Oe)return null;if(!this.supports(Oe))throw Or();return Oe.slice(gt,Nt)}supports(Oe){return"string"==typeof Oe||Array.isArray(Oe)}}An.\u0275fac=function(Oe){return new(Oe||An)},An.\u0275pipe=n.Yjl({name:"slice",type:An,pure:!1});class ui{}ui.\u0275fac=function(Oe){return new(Oe||ui)},ui.\u0275mod=n.oAB({type:ui,declarations:[cs,li,ao,Ps,Fo,yo,no,ho,ra,bo,yr,Ws,Vo,aa,Be,An,Wt,Pt,Jo,Et,or,ne,me,It],exports:[cs,li,ao,Ps,Fo,yo,no,ho,ra,bo,yr,Ws,Vo,aa,Be,An,Wt,Pt,Jo,Et,or,ne,me,It]}),ui.\u0275inj=n.cJS({});const Ui="browser";function Yi(Qe){return Qe===Ui}function In(Qe){return"server"===Qe}new n.GfV("13.3.12");class ds{}ds.\u0275prov=(0,n.Yz7)({token:ds,providedIn:"root",factory:()=>new Go((0,n.LFG)(h),window)});class Go{constructor(Oe,gt){this.document=Oe,this.window=gt,this.offset=()=>[0,0]}setOffset(Oe){Array.isArray(Oe)?this.offset=()=>Oe:this.offset=Oe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Oe){this.supportsScrolling()&&this.window.scrollTo(Oe[0],Oe[1])}scrollToAnchor(Oe){if(!this.supportsScrolling())return;const gt=function zo(Qe,Oe){const gt=Qe.getElementById(Oe)||Qe.getElementsByName(Oe)[0];if(gt)return gt;if("function"==typeof Qe.createTreeWalker&&Qe.body&&(Qe.body.createShadowRoot||Qe.body.attachShadow)){const Nt=Qe.createTreeWalker(Qe.body,NodeFilter.SHOW_ELEMENT);let Cn=Nt.currentNode;for(;Cn;){const ze=Cn.shadowRoot;if(ze){const ke=ze.getElementById(Oe)||ze.querySelector(`[name="${Oe}"]`);if(ke)return ke}Cn=Nt.nextNode()}}return null}(this.document,Oe);gt&&(this.scrollToElement(gt),gt.focus())}setHistoryScrollRestoration(Oe){if(this.supportScrollRestoration()){const gt=this.window.history;gt&&gt.scrollRestoration&&(gt.scrollRestoration=Oe)}}scrollToElement(Oe){const gt=Oe.getBoundingClientRect(),Nt=gt.left+this.window.pageXOffset,Cn=gt.top+this.window.pageYOffset,ze=this.offset();this.window.scrollTo(Nt-ze[0],Cn-ze[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Oe=ko(this.window.history)||ko(Object.getPrototypeOf(this.window.history));return!(!Oe||!Oe.writable&&!Oe.set)}catch(Oe){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Oe){return!1}}}function ko(Qe){return Object.getOwnPropertyDescriptor(Qe,"scrollRestoration")}class Rr{}},28784:(de,$e,B)=>{"use strict";B.d($e,{JF:()=>xt,LE:()=>S,TP:()=>Xt,UA:()=>rt,Zn:()=>qe,aW:()=>pe,eN:()=>vt});var n=B(36362),i=B(3184),P=B(64139),m=B(52822),s=B(11133),o=B(59151),h=B(86942);class v{}class y{}class x{constructor(lt){this.normalizedNames=new Map,this.lazyUpdate=null,lt?this.lazyInit="string"==typeof lt?()=>{this.headers=new Map,lt.split("\n").forEach(Ft=>{const ln=Ft.indexOf(":");if(ln>0){const Jn=Ft.slice(0,ln),Mn=Jn.toLowerCase(),ti=Ft.slice(ln+1).trim();this.maybeSetNormalizedName(Jn,Mn),this.headers.has(Mn)?this.headers.get(Mn).push(ti):this.headers.set(Mn,[ti])}})}:()=>{this.headers=new Map,Object.keys(lt).forEach(Ft=>{let ln=lt[Ft];const Jn=Ft.toLowerCase();"string"==typeof ln&&(ln=[ln]),ln.length>0&&(this.headers.set(Jn,ln),this.maybeSetNormalizedName(Ft,Jn))})}:this.headers=new Map}has(lt){return this.init(),this.headers.has(lt.toLowerCase())}get(lt){this.init();const Ft=this.headers.get(lt.toLowerCase());return Ft&&Ft.length>0?Ft[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(lt){return this.init(),this.headers.get(lt.toLowerCase())||null}append(lt,Ft){return this.clone({name:lt,value:Ft,op:"a"})}set(lt,Ft){return this.clone({name:lt,value:Ft,op:"s"})}delete(lt,Ft){return this.clone({name:lt,value:Ft,op:"d"})}maybeSetNormalizedName(lt,Ft){this.normalizedNames.has(Ft)||this.normalizedNames.set(Ft,lt)}init(){this.lazyInit&&(this.lazyInit instanceof x?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(lt=>this.applyUpdate(lt)),this.lazyUpdate=null))}copyFrom(lt){lt.init(),Array.from(lt.headers.keys()).forEach(Ft=>{this.headers.set(Ft,lt.headers.get(Ft)),this.normalizedNames.set(Ft,lt.normalizedNames.get(Ft))})}clone(lt){const Ft=new x;return Ft.lazyInit=this.lazyInit&&this.lazyInit instanceof x?this.lazyInit:this,Ft.lazyUpdate=(this.lazyUpdate||[]).concat([lt]),Ft}applyUpdate(lt){const Ft=lt.name.toLowerCase();switch(lt.op){case"a":case"s":let ln=lt.value;if("string"==typeof ln&&(ln=[ln]),0===ln.length)return;this.maybeSetNormalizedName(lt.name,Ft);const Jn=("a"===lt.op?this.headers.get(Ft):void 0)||[];Jn.push(...ln),this.headers.set(Ft,Jn);break;case"d":const Mn=lt.value;if(Mn){let ti=this.headers.get(Ft);if(!ti)return;ti=ti.filter(Ai=>-1===Mn.indexOf(Ai)),0===ti.length?(this.headers.delete(Ft),this.normalizedNames.delete(Ft)):this.headers.set(Ft,ti)}else this.headers.delete(Ft),this.normalizedNames.delete(Ft)}}forEach(lt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ft=>lt(this.normalizedNames.get(Ft),this.headers.get(Ft)))}}class C{encodeKey(lt){return R(lt)}encodeValue(lt){return R(lt)}decodeKey(lt){return decodeURIComponent(lt)}decodeValue(lt){return decodeURIComponent(lt)}}const w=/%(\d[a-f0-9])/gi,z={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function R(Jt){return encodeURIComponent(Jt).replace(w,(lt,Ft)=>{var ln;return null!==(ln=z[Ft])&&void 0!==ln?ln:lt})}function N(Jt){return`${Jt}`}class S{constructor(lt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=lt.encoder||new C,lt.fromString){if(lt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function _(Jt,lt){const Ft=new Map;return Jt.length>0&&Jt.replace(/^\?/,"").split("&").forEach(Jn=>{const Mn=Jn.indexOf("="),[ti,Ai]=-1==Mn?[lt.decodeKey(Jn),""]:[lt.decodeKey(Jn.slice(0,Mn)),lt.decodeValue(Jn.slice(Mn+1))],ki=Ft.get(ti)||[];ki.push(Ai),Ft.set(ti,ki)}),Ft}(lt.fromString,this.encoder)}else lt.fromObject?(this.map=new Map,Object.keys(lt.fromObject).forEach(Ft=>{const ln=lt.fromObject[Ft];this.map.set(Ft,Array.isArray(ln)?ln:[ln])})):this.map=null}has(lt){return this.init(),this.map.has(lt)}get(lt){this.init();const Ft=this.map.get(lt);return Ft?Ft[0]:null}getAll(lt){return this.init(),this.map.get(lt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(lt,Ft){return this.clone({param:lt,value:Ft,op:"a"})}appendAll(lt){const Ft=[];return Object.keys(lt).forEach(ln=>{const Jn=lt[ln];Array.isArray(Jn)?Jn.forEach(Mn=>{Ft.push({param:ln,value:Mn,op:"a"})}):Ft.push({param:ln,value:Jn,op:"a"})}),this.clone(Ft)}set(lt,Ft){return this.clone({param:lt,value:Ft,op:"s"})}delete(lt,Ft){return this.clone({param:lt,value:Ft,op:"d"})}toString(){return this.init(),this.keys().map(lt=>{const Ft=this.encoder.encodeKey(lt);return this.map.get(lt).map(ln=>Ft+"="+this.encoder.encodeValue(ln)).join("&")}).filter(lt=>""!==lt).join("&")}clone(lt){const Ft=new S({encoder:this.encoder});return Ft.cloneFrom=this.cloneFrom||this,Ft.updates=(this.updates||[]).concat(lt),Ft}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(lt=>this.map.set(lt,this.cloneFrom.map.get(lt))),this.updates.forEach(lt=>{switch(lt.op){case"a":case"s":const Ft=("a"===lt.op?this.map.get(lt.param):void 0)||[];Ft.push(N(lt.value)),this.map.set(lt.param,Ft);break;case"d":if(void 0===lt.value){this.map.delete(lt.param);break}{let ln=this.map.get(lt.param)||[];const Jn=ln.indexOf(N(lt.value));-1!==Jn&&ln.splice(Jn,1),ln.length>0?this.map.set(lt.param,ln):this.map.delete(lt.param)}}}),this.cloneFrom=this.updates=null)}}class O{constructor(){this.map=new Map}set(lt,Ft){return this.map.set(lt,Ft),this}get(lt){return this.map.has(lt)||this.map.set(lt,lt.defaultValue()),this.map.get(lt)}delete(lt){return this.map.delete(lt),this}has(lt){return this.map.has(lt)}keys(){return this.map.keys()}}function U(Jt){return"undefined"!=typeof ArrayBuffer&&Jt instanceof ArrayBuffer}function X(Jt){return"undefined"!=typeof Blob&&Jt instanceof Blob}function W(Jt){return"undefined"!=typeof FormData&&Jt instanceof FormData}class pe{constructor(lt,Ft,ln,Jn){let Mn;if(this.url=Ft,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=lt.toUpperCase(),function H(Jt){switch(Jt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Jn?(this.body=void 0!==ln?ln:null,Mn=Jn):Mn=ln,Mn&&(this.reportProgress=!!Mn.reportProgress,this.withCredentials=!!Mn.withCredentials,Mn.responseType&&(this.responseType=Mn.responseType),Mn.headers&&(this.headers=Mn.headers),Mn.context&&(this.context=Mn.context),Mn.params&&(this.params=Mn.params)),this.headers||(this.headers=new x),this.context||(this.context=new O),this.params){const ti=this.params.toString();if(0===ti.length)this.urlWithParams=Ft;else{const Ai=Ft.indexOf("?"),ki=-1===Ai?"?":Ai<Ft.length-1?"&":"";this.urlWithParams=Ft+ki+ti}}else this.params=new S,this.urlWithParams=Ft}serializeBody(){return null===this.body?null:U(this.body)||X(this.body)||W(this.body)||function re(Jt){return"undefined"!=typeof URLSearchParams&&Jt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof S?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||W(this.body)?null:X(this.body)?this.body.type||null:U(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof S?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(lt={}){var Ft;const ln=lt.method||this.method,Jn=lt.url||this.url,Mn=lt.responseType||this.responseType,ti=void 0!==lt.body?lt.body:this.body,Ai=void 0!==lt.withCredentials?lt.withCredentials:this.withCredentials,ki=void 0!==lt.reportProgress?lt.reportProgress:this.reportProgress;let Ki=lt.headers||this.headers,Hi=lt.params||this.params;const _i=null!==(Ft=lt.context)&&void 0!==Ft?Ft:this.context;return void 0!==lt.setHeaders&&(Ki=Object.keys(lt.setHeaders).reduce((pi,$n)=>pi.set($n,lt.setHeaders[$n]),Ki)),lt.setParams&&(Hi=Object.keys(lt.setParams).reduce((pi,$n)=>pi.set($n,lt.setParams[$n]),Hi)),new pe(ln,Jn,ti,{params:Hi,headers:Ki,context:_i,reportProgress:ki,responseType:Mn,withCredentials:Ai})}}var Ae,Jt;(Jt=Ae||(Ae={}))[Jt.Sent=0]="Sent",Jt[Jt.UploadProgress=1]="UploadProgress",Jt[Jt.ResponseHeader=2]="ResponseHeader",Jt[Jt.DownloadProgress=3]="DownloadProgress",Jt[Jt.Response=4]="Response",Jt[Jt.User=5]="User";class Se{constructor(lt,Ft=200,ln="OK"){this.headers=lt.headers||new x,this.status=void 0!==lt.status?lt.status:Ft,this.statusText=lt.statusText||ln,this.url=lt.url||null,this.ok=this.status>=200&&this.status<300}}class De extends Se{constructor(lt={}){super(lt),this.type=Ae.ResponseHeader}clone(lt={}){return new De({headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class qe extends Se{constructor(lt={}){super(lt),this.type=Ae.Response,this.body=void 0!==lt.body?lt.body:null}clone(lt={}){return new qe({body:void 0!==lt.body?lt.body:this.body,headers:lt.headers||this.headers,status:void 0!==lt.status?lt.status:this.status,statusText:lt.statusText||this.statusText,url:lt.url||this.url||void 0})}}class rt extends Se{constructor(lt){super(lt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${lt.url||"(unknown url)"}`:this.message=`Http failure response for ${lt.url||"(unknown url)"}: ${lt.status} ${lt.statusText}`,this.error=lt.error||null}}function ot(Jt,lt){return{body:lt,headers:Jt.headers,context:Jt.context,observe:Jt.observe,params:Jt.params,reportProgress:Jt.reportProgress,responseType:Jt.responseType,withCredentials:Jt.withCredentials}}class vt{constructor(lt){this.handler=lt}request(lt,Ft,ln={}){let Jn;if(lt instanceof pe)Jn=lt;else{let Ai,ki;Ai=ln.headers instanceof x?ln.headers:new x(ln.headers),ln.params&&(ki=ln.params instanceof S?ln.params:new S({fromObject:ln.params})),Jn=new pe(lt,Ft,void 0!==ln.body?ln.body:null,{headers:Ai,context:ln.context,params:ki,reportProgress:ln.reportProgress,responseType:ln.responseType||"json",withCredentials:ln.withCredentials})}const Mn=(0,P.of)(Jn).pipe((0,s.b)(Ai=>this.handler.handle(Ai)));if(lt instanceof pe||"events"===ln.observe)return Mn;const ti=Mn.pipe((0,o.h)(Ai=>Ai instanceof qe));switch(ln.observe||"body"){case"body":switch(Jn.responseType){case"arraybuffer":return ti.pipe((0,h.U)(Ai=>{if(null!==Ai.body&&!(Ai.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ai.body}));case"blob":return ti.pipe((0,h.U)(Ai=>{if(null!==Ai.body&&!(Ai.body instanceof Blob))throw new Error("Response is not a Blob.");return Ai.body}));case"text":return ti.pipe((0,h.U)(Ai=>{if(null!==Ai.body&&"string"!=typeof Ai.body)throw new Error("Response is not a string.");return Ai.body}));default:return ti.pipe((0,h.U)(Ai=>Ai.body))}case"response":return ti;default:throw new Error(`Unreachable: unhandled observe type ${ln.observe}}`)}}delete(lt,Ft={}){return this.request("DELETE",lt,Ft)}get(lt,Ft={}){return this.request("GET",lt,Ft)}head(lt,Ft={}){return this.request("HEAD",lt,Ft)}jsonp(lt,Ft){return this.request("JSONP",lt,{params:(new S).append(Ft,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(lt,Ft={}){return this.request("OPTIONS",lt,Ft)}patch(lt,Ft,ln={}){return this.request("PATCH",lt,ot(ln,Ft))}post(lt,Ft,ln={}){return this.request("POST",lt,ot(ln,Ft))}put(lt,Ft,ln={}){return this.request("PUT",lt,ot(ln,Ft))}}vt.\u0275fac=function(lt){return new(lt||vt)(i.LFG(v))},vt.\u0275prov=i.Yz7({token:vt,factory:vt.\u0275fac});class rn{constructor(lt,Ft){this.next=lt,this.interceptor=Ft}handle(lt){return this.interceptor.intercept(lt,this.next)}}const Xt=new i.OlP("HTTP_INTERCEPTORS");class fn{intercept(lt,Ft){return Ft.handle(lt)}}fn.\u0275fac=function(lt){return new(lt||fn)},fn.\u0275prov=i.Yz7({token:fn,factory:fn.\u0275fac});let hn,_n=0;class Sn{}class si{constructor(lt,Ft){this.callbackMap=lt,this.document=Ft,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+_n++}handle(lt){if("JSONP"!==lt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==lt.responseType)throw new Error("JSONP requests must use Json response type.");return new m.y(Ft=>{const ln=this.nextCallback(),Jn=lt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${ln}$1`),Mn=this.document.createElement("script");Mn.src=Jn;let ti=null,Ai=!1;this.callbackMap[ln]=_i=>{delete this.callbackMap[ln],ti=_i,Ai=!0};const ki=()=>{Mn.parentNode&&Mn.parentNode.removeChild(Mn),delete this.callbackMap[ln]};return Mn.addEventListener("load",_i=>{this.resolvedPromise.then(()=>{ki(),Ai?(Ft.next(new qe({body:ti,status:200,statusText:"OK",url:Jn})),Ft.complete()):Ft.error(new rt({url:Jn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Mn.addEventListener("error",_i=>{ki(),Ft.error(new rt({error:_i,status:0,statusText:"JSONP Error",url:Jn}))}),this.document.body.appendChild(Mn),Ft.next({type:Ae.Sent}),()=>{Ai||this.removeListeners(Mn),ki()}})}removeListeners(lt){hn||(hn=this.document.implementation.createHTMLDocument()),hn.adoptNode(lt)}}si.\u0275fac=function(lt){return new(lt||si)(i.LFG(Sn),i.LFG(n.K0))},si.\u0275prov=i.Yz7({token:si,factory:si.\u0275fac});class cn{constructor(lt){this.jsonp=lt}intercept(lt,Ft){return"JSONP"===lt.method?this.jsonp.handle(lt):Ft.handle(lt)}}cn.\u0275fac=function(lt){return new(lt||cn)(i.LFG(si))},cn.\u0275prov=i.Yz7({token:cn,factory:cn.\u0275fac});const yn=/^\)\]\}',?\n/;class oi{constructor(lt){this.xhrFactory=lt}handle(lt){if("JSONP"===lt.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new m.y(Ft=>{const ln=this.xhrFactory.build();if(ln.open(lt.method,lt.urlWithParams),lt.withCredentials&&(ln.withCredentials=!0),lt.headers.forEach((pi,$n)=>ln.setRequestHeader(pi,$n.join(","))),lt.headers.has("Accept")||ln.setRequestHeader("Accept","application/json, text/plain, */*"),!lt.headers.has("Content-Type")){const pi=lt.detectContentTypeHeader();null!==pi&&ln.setRequestHeader("Content-Type",pi)}if(lt.responseType){const pi=lt.responseType.toLowerCase();ln.responseType="json"!==pi?pi:"text"}const Jn=lt.serializeBody();let Mn=null;const ti=()=>{if(null!==Mn)return Mn;const pi=ln.statusText||"OK",$n=new x(ln.getAllResponseHeaders()),wr=function qn(Jt){return"responseURL"in Jt&&Jt.responseURL?Jt.responseURL:/^X-Request-URL:/m.test(Jt.getAllResponseHeaders())?Jt.getResponseHeader("X-Request-URL"):null}(ln)||lt.url;return Mn=new De({headers:$n,status:ln.status,statusText:pi,url:wr}),Mn},Ai=()=>{let{headers:pi,status:$n,statusText:wr,url:Pn}=ti(),Bn=null;204!==$n&&(Bn=void 0===ln.response?ln.responseText:ln.response),0===$n&&($n=Bn?200:0);let ri=$n>=200&&$n<300;if("json"===lt.responseType&&"string"==typeof Bn){const mi=Bn;Bn=Bn.replace(yn,"");try{Bn=""!==Bn?JSON.parse(Bn):null}catch(xi){Bn=mi,ri&&(ri=!1,Bn={error:xi,text:Bn})}}ri?(Ft.next(new qe({body:Bn,headers:pi,status:$n,statusText:wr,url:Pn||void 0})),Ft.complete()):Ft.error(new rt({error:Bn,headers:pi,status:$n,statusText:wr,url:Pn||void 0}))},ki=pi=>{const{url:$n}=ti(),wr=new rt({error:pi,status:ln.status||0,statusText:ln.statusText||"Unknown Error",url:$n||void 0});Ft.error(wr)};let Ki=!1;const Hi=pi=>{Ki||(Ft.next(ti()),Ki=!0);let $n={type:Ae.DownloadProgress,loaded:pi.loaded};pi.lengthComputable&&($n.total=pi.total),"text"===lt.responseType&&!!ln.responseText&&($n.partialText=ln.responseText),Ft.next($n)},_i=pi=>{let $n={type:Ae.UploadProgress,loaded:pi.loaded};pi.lengthComputable&&($n.total=pi.total),Ft.next($n)};return ln.addEventListener("load",Ai),ln.addEventListener("error",ki),ln.addEventListener("timeout",ki),ln.addEventListener("abort",ki),lt.reportProgress&&(ln.addEventListener("progress",Hi),null!==Jn&&ln.upload&&ln.upload.addEventListener("progress",_i)),ln.send(Jn),Ft.next({type:Ae.Sent}),()=>{ln.removeEventListener("error",ki),ln.removeEventListener("abort",ki),ln.removeEventListener("load",Ai),ln.removeEventListener("timeout",ki),lt.reportProgress&&(ln.removeEventListener("progress",Hi),null!==Jn&&ln.upload&&ln.upload.removeEventListener("progress",_i)),ln.readyState!==ln.DONE&&ln.abort()}})}}oi.\u0275fac=function(lt){return new(lt||oi)(i.LFG(n.JF))},oi.\u0275prov=i.Yz7({token:oi,factory:oi.\u0275fac});const Yn=new i.OlP("XSRF_COOKIE_NAME"),Xn=new i.OlP("XSRF_HEADER_NAME");class gi{}class Mt{constructor(lt,Ft,ln){this.doc=lt,this.platform=Ft,this.cookieName=ln,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const lt=this.doc.cookie||"";return lt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(lt,this.cookieName),this.lastCookieString=lt),this.lastToken}}Mt.\u0275fac=function(lt){return new(lt||Mt)(i.LFG(n.K0),i.LFG(i.Lbi),i.LFG(Yn))},Mt.\u0275prov=i.Yz7({token:Mt,factory:Mt.\u0275fac});class pn{constructor(lt,Ft){this.tokenService=lt,this.headerName=Ft}intercept(lt,Ft){const ln=lt.url.toLowerCase();if("GET"===lt.method||"HEAD"===lt.method||ln.startsWith("http://")||ln.startsWith("https://"))return Ft.handle(lt);const Jn=this.tokenService.getToken();return null!==Jn&&!lt.headers.has(this.headerName)&&(lt=lt.clone({headers:lt.headers.set(this.headerName,Jn)})),Ft.handle(lt)}}pn.\u0275fac=function(lt){return new(lt||pn)(i.LFG(gi),i.LFG(Xn))},pn.\u0275prov=i.Yz7({token:pn,factory:pn.\u0275fac});class an{constructor(lt,Ft){this.backend=lt,this.injector=Ft,this.chain=null}handle(lt){if(null===this.chain){const Ft=this.injector.get(Xt,[]);this.chain=Ft.reduceRight((ln,Jn)=>new rn(ln,Jn),this.backend)}return this.chain.handle(lt)}}an.\u0275fac=function(lt){return new(lt||an)(i.LFG(y),i.LFG(i.zs3))},an.\u0275prov=i.Yz7({token:an,factory:an.\u0275fac});class ht{static disable(){return{ngModule:ht,providers:[{provide:pn,useClass:fn}]}}static withOptions(lt={}){return{ngModule:ht,providers:[lt.cookieName?{provide:Yn,useValue:lt.cookieName}:[],lt.headerName?{provide:Xn,useValue:lt.headerName}:[]]}}}ht.\u0275fac=function(lt){return new(lt||ht)},ht.\u0275mod=i.oAB({type:ht}),ht.\u0275inj=i.cJS({providers:[pn,{provide:Xt,useExisting:pn,multi:!0},{provide:gi,useClass:Mt},{provide:Yn,useValue:"XSRF-TOKEN"},{provide:Xn,useValue:"X-XSRF-TOKEN"}]});class xt{}xt.\u0275fac=function(lt){return new(lt||xt)},xt.\u0275mod=i.oAB({type:xt,imports:[ht]}),xt.\u0275inj=i.cJS({providers:[vt,{provide:v,useClass:an},oi,{provide:y,useExisting:oi}],imports:[[ht.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]});class Ht{}Ht.\u0275fac=function(lt){return new(lt||Ht)},Ht.\u0275mod=i.oAB({type:Ht}),Ht.\u0275inj=i.cJS({providers:[si,{provide:Sn,useFactory:function Je(){return"object"==typeof window?window:{}}},{provide:Xt,useClass:cn,multi:!0}]})},3184:(de,$e,B)=>{"use strict";B.d($e,{$8M:()=>n2,$Z:()=>ue,AA_:()=>ms,AFp:()=>Uc,ALo:()=>a1,AaK:()=>v,AcB:()=>ca,AsE:()=>q5,BQk:()=>wd,CHM:()=>La,CRH:()=>g6,CZH:()=>pl,CqO:()=>q3,DdM:()=>Ra,DjV:()=>Z5,Dn7:()=>g0,DyG:()=>w1,E6H:()=>Oo,EJc:()=>Dc,EiD:()=>l3,EpF:()=>L4,F$t:()=>V6,F4k:()=>Zd,FYo:()=>_h,FiY:()=>wc,G48:()=>y_,GSi:()=>B6,Gf:()=>g5,GfV:()=>T3,GkF:()=>Cu,Gpc:()=>C,Gre:()=>bm,Hhp:()=>Xu,Hsn:()=>P5,IIB:()=>wo,IMH:()=>Yc,Ikx:()=>Ng,JOm:()=>Ue,JVY:()=>zd,Jf7:()=>dt,L6J:()=>Rl,L6k:()=>go,LAX:()=>l4,LFG:()=>Ja,LSH:()=>Xc,LVF:()=>Nl,Lbi:()=>V1,MAs:()=>ef,MGl:()=>Ag,NdJ:()=>wu,O4$:()=>Wi,OlP:()=>to,Oqu:()=>_m,PXZ:()=>nm,PiD:()=>bl,Q6J:()=>je,QGY:()=>Y2,QSY:()=>Lh,Qsj:()=>Tp,QtT:()=>ws,R0b:()=>t4,RDi:()=>ko,Rgc:()=>Z3,SBq:()=>Tl,SDv:()=>ia,Sil:()=>Wc,Suo:()=>m5,TTD:()=>Dn,TgZ:()=>ei,Tol:()=>Km,Udp:()=>$m,VKq:()=>s1,VLi:()=>__,W1O:()=>_5,WLB:()=>yh,X6Q:()=>y5,XFs:()=>yt,Xek:()=>Pa,Xpm:()=>gr,Y36:()=>fe,YKP:()=>f5,YNc:()=>z6,Yjl:()=>Ot,Yz7:()=>Sn,ZZ4:()=>F4,_Bn:()=>$f,_UZ:()=>Gi,_Vd:()=>q2,_c5:()=>A_,_uU:()=>G5,aQ5:()=>Dl,aQg:()=>Eh,ahi:()=>D3,c2e:()=>Ms,cJS:()=>cn,cg1:()=>$3,dDg:()=>y0,deG:()=>hs,dqk:()=>Ki,eBb:()=>s3,eFA:()=>Bp,ekj:()=>H1,evT:()=>Gt,f3M:()=>td,g9A:()=>e4,gM2:()=>ha,h0i:()=>S3,hGG:()=>Pm,hij:()=>Xm,i9L:()=>Z2,iGM:()=>ip,ifc:()=>Jn,ip1:()=>l1,kEZ:()=>Vc,kL8:()=>xm,kYT:()=>fa,kcU:()=>fo,l5B:()=>Lp,lG2:()=>at,lcZ:()=>$u,mCW:()=>Hc,n4l:()=>lt,n5z:()=>kd,oAB:()=>uo,oJD:()=>N2,oxw:()=>O5,pB0:()=>Rd,pQV:()=>qf,pfw:()=>T2,q3G:()=>Ga,qLn:()=>R1,qOj:()=>V0,qZA:()=>vi,qbA:()=>Jd,qzn:()=>Z1,rEX:()=>Vr,r_U:()=>Za,s9C:()=>z5,sBO:()=>jv,sIi:()=>T4,s_b:()=>gf,soG:()=>rr,tBr:()=>Vl,tb:()=>kh,tp0:()=>As,uIk:()=>M3,vHH:()=>R,vR:()=>n4,vpe:()=>Ku,wA2:()=>vo,wAp:()=>r6,xi3:()=>ff,xp6:()=>Jc,yhl:()=>Pd,ynx:()=>jc,z2F:()=>ng,z3N:()=>xl,zSh:()=>_3,zlt:()=>hf,zs3:()=>$a});var n=B(92218),i=B(32425),P=B(52822),m=B(88623),s=B(24514);function o(p){for(let f in p)if(p[f]===o)return f;throw Error("Could not find renamed property on target object.")}function h(p,f){for(const k in f)f.hasOwnProperty(k)&&!p.hasOwnProperty(k)&&(p[k]=f[k])}function v(p){if("string"==typeof p)return p;if(Array.isArray(p))return"["+p.map(v).join(", ")+"]";if(null==p)return""+p;if(p.overriddenName)return`${p.overriddenName}`;if(p.name)return`${p.name}`;const f=p.toString();if(null==f)return""+f;const k=f.indexOf("\n");return-1===k?f:f.substring(0,k)}function y(p,f){return null==p||""===p?null===f?"":f:null==f||""===f?p:p+" "+f}const x=o({__forward_ref__:o});function C(p){return p.__forward_ref__=C,p.toString=function(){return v(this())},p}function _(p){return w(p)?p():p}function w(p){return"function"==typeof p&&p.hasOwnProperty(x)&&p.__forward_ref__===C}class R extends Error{constructor(f,k){super(N(f,k)),this.code=f}}function N(p,f){return`NG0${Math.abs(p)}${f?": "+f:""}`}function S(p){return"string"==typeof p?p:null==p?"":String(p)}function E(p){return"function"==typeof p?p.name||p.toString():"object"==typeof p&&null!=p&&"function"==typeof p.type?p.type.name||p.type.toString():S(p)}function X(p,f){const k=f?` in ${f}`:"";throw new R(-201,`No provider for ${E(p)} found${k}`)}function Se(p,f,k){p!=f&&hn(k,p,f,"==")}function _n(p,f){null==p&&hn(f,p,null,"!=")}function hn(p,f,k,Y){throw new Error(`ASSERTION ERROR: ${p}`+(null==Y?"":` [Expected=> ${k} ${Y} ${f} <=Actual]`))}function Sn(p){return{token:p.token,providedIn:p.providedIn||null,factory:p.factory,value:void 0}}function cn(p){return{providers:p.providers||[],imports:p.imports||[]}}function yn(p){return qn(p,gi)||qn(p,pn)}function qn(p,f){return p.hasOwnProperty(f)?p[f]:null}function Xn(p){return p&&(p.hasOwnProperty(Mt)||p.hasOwnProperty(an))?p[Mt]:null}const gi=o({\u0275prov:o}),Mt=o({\u0275inj:o}),pn=o({ngInjectableDef:o}),an=o({ngInjectorDef:o});var yt,p;let Je;function xt(p){const f=Je;return Je=p,f}function Ht(p,f,k){const Y=yn(p);return Y&&"root"==Y.providedIn?void 0===Y.value?Y.value=Y.factory():Y.value:k&yt.Optional?null:void 0!==f?f:void X(v(p),"Injector")}function Jt(p){return{toString:p}.toString()}var lt,Ft,Jn;(p=yt||(yt={}))[p.Default=0]="Default",p[p.Host=1]="Host",p[p.Self=2]="Self",p[p.SkipSelf=4]="SkipSelf",p[p.Optional=8]="Optional",function(p){p[p.OnPush=0]="OnPush",p[p.Default=1]="Default"}(lt||(lt={})),function(p){p[p.CheckOnce=0]="CheckOnce",p[p.Checked=1]="Checked",p[p.CheckAlways=2]="CheckAlways",p[p.Detached=3]="Detached",p[p.Errored=4]="Errored",p[p.Destroyed=5]="Destroyed"}(Ft||(Ft={})),function(p){p[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom"}(Jn||(Jn={}));const Mn="undefined"!=typeof globalThis&&globalThis,ti="undefined"!=typeof window&&window,Ai="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ki=Mn||"undefined"!=typeof global&&global||ti||Ai;const pi={},$n=[],wr=o({\u0275cmp:o}),Pn=o({\u0275dir:o}),Bn=o({\u0275pipe:o}),ri=o({\u0275mod:o}),mi=o({\u0275fac:o}),xi=o({__NG_ELEMENT_ID__:o});let Mr=0;function gr(p){return Jt(()=>{const k={},Y={type:p.type,providersResolver:null,decls:p.decls,vars:p.vars,factory:null,template:p.template||null,consts:p.consts||null,ngContentSelectors:p.ngContentSelectors,hostBindings:p.hostBindings||null,hostVars:p.hostVars||0,hostAttrs:p.hostAttrs||null,contentQueries:p.contentQueries||null,declaredInputs:k,inputs:null,outputs:null,exportAs:p.exportAs||null,onPush:p.changeDetection===lt.OnPush,directiveDefs:null,pipeDefs:null,selectors:p.selectors||$n,viewQuery:p.viewQuery||null,features:p.features||null,data:p.data||{},encapsulation:p.encapsulation||Jn.Emulated,id:"c",styles:p.styles||$n,_:null,setInput:null,schemas:p.schemas||null,tView:null},Q=p.directives,le=p.features,we=p.pipes;return Y.id+=Mr++,Y.inputs=ai(p.inputs,k),Y.outputs=ai(p.outputs),le&&le.forEach(Pe=>Pe(Y)),Y.directiveDefs=Q?()=>("function"==typeof Q?Q():Q).map(Sr):null,Y.pipeDefs=we?()=>("function"==typeof we?we():we).map(br):null,Y})}function Li(p,f,k){const Y=p.\u0275cmp;Y.directiveDefs=()=>f.map(Sr),Y.pipeDefs=()=>k.map(br)}function Sr(p){return Nn(p)||di(p)}function br(p){return $i(p)}const Xr={};function uo(p){return Jt(()=>{const f={type:p.type,bootstrap:p.bootstrap||$n,declarations:p.declarations||$n,imports:p.imports||$n,exports:p.exports||$n,transitiveCompileScopes:null,schemas:p.schemas||null,id:p.id||null};return null!=p.id&&(Xr[p.id]=p.type),f})}function fa(p,f){return Jt(()=>{const k=Fi(p,!0);k.declarations=f.declarations||$n,k.imports=f.imports||$n,k.exports=f.exports||$n})}function ai(p,f){if(null==p)return pi;const k={};for(const Y in p)if(p.hasOwnProperty(Y)){let Q=p[Y],le=Q;Array.isArray(Q)&&(le=Q[1],Q=Q[0]),k[Q]=Y,f&&(f[Q]=le)}return k}const at=gr;function Ot(p){return{type:p.type,name:p.name,factory:null,pure:!1!==p.pure,onDestroy:p.type.prototype.ngOnDestroy||null}}function Nn(p){return p[wr]||null}function di(p){return p[Pn]||null}function $i(p){return p[Bn]||null}function Fi(p,f){const k=p[ri]||null;if(!k&&!0===f)throw new Error(`Type ${v(p)} does not have '\u0275mod' property.`);return k}function no(p){return Array.isArray(p)&&"object"==typeof p[1]}function ho(p){return Array.isArray(p)&&!0===p[1]}function ra(p){return 0!=(8&p.flags)}function zs(p){return 2==(2&p.flags)}function bo(p){return 1==(1&p.flags)}function yr(p){return null!==p.template}function yo(p){return 0!=(512&p[2])}function Pt(p,f){return p.hasOwnProperty(mi)?p[mi]:null}class Et{constructor(f,k,Y){this.previousValue=f,this.currentValue=k,this.firstChange=Y}isFirstChange(){return this.firstChange}}function Dn(){return Ln}function Ln(p){return p.type.prototype.ngOnChanges&&(p.setInput=Qn),An}function An(){const p=Ui(this),f=null==p?void 0:p.current;if(f){const k=p.previous;if(k===pi)p.previous=f;else for(let Y in f)k[Y]=f[Y];p.current=null,this.ngOnChanges(f)}}function Qn(p,f,k,Y){const Q=Ui(p)||function hr(p,f){return p[ui]=f}(p,{previous:pi,current:null}),le=Q.current||(Q.current={}),we=Q.previous,Pe=this.declaredInputs[k],Ve=we[Pe];le[Pe]=new Et(Ve&&Ve.currentValue,f,we===pi),p[Y]=f}Dn.ngInherit=!0;const ui="__ngSimpleChanges__";function Ui(p){return p[ui]||null}let kr=null;const Yi=function(p,f,k){null!=kr&&kr(p,f,k)},Ir="math";let Go;function ko(p){Go=p}function zo(){return void 0!==Go?Go:"undefined"!=typeof document?document:void 0}var Cs;function Rr(p){return!!p.listen}!function(p){p[p.Important=1]="Important",p[p.DashCase=2]="DashCase"}(Cs||(Cs={}));const Qe={createRenderer:(p,f)=>zo()};function gt(p){for(;Array.isArray(p);)p=p[0];return p}function ze(p,f){return gt(f[p])}function ke(p,f){return gt(f[p.index])}function pt(p,f){return p.data[f]}function zt(p,f){return p[f]}function Dt(p,f){const k=f[p];return no(k)?k:k[0]}function En(p){return 4==(4&p[2])}function ci(p){return 128==(128&p[2])}function xr(p,f){return null==f?null:p[f]}function ft(p){p[18]=0}function ye(p,f){p[5]+=f;let k=p,Y=p[3];for(;null!==Y&&(1===f&&1===k[5]||-1===f&&0===k[5]);)Y[5]+=f,k=Y,Y=Y[3]}const Xe={lFrame:Vt(null),bindingsEnabled:!0};function pa(){return Xe.bindingsEnabled}function nl(){Xe.bindingsEnabled=!0}function Bl(){Xe.bindingsEnabled=!1}function bi(){return Xe.lFrame.lView}function qo(){return Xe.lFrame.tView}function La(p){return Xe.lFrame.contextLView=p,p[8]}function Gs(){let p=Na();for(;null!==p&&64===p.type;)p=p.parent;return p}function Na(){return Xe.lFrame.currentTNode}function ja(){const p=Xe.lFrame,f=p.currentTNode;return p.isParent?f:f.parent}function Fs(p,f){const k=Xe.lFrame;k.currentTNode=p,k.isParent=f}function Ro(){return Xe.lFrame.isParent}function ml(){Xe.lFrame.isParent=!1}function us(){const p=Xe.lFrame;let f=p.bindingRootIndex;return-1===f&&(f=p.bindingRootIndex=p.tView.bindingStartIndex),f}function Ll(){return Xe.lFrame.bindingIndex}function il(p){return Xe.lFrame.bindingIndex=p}function vl(){return Xe.lFrame.bindingIndex++}function Da(p){const f=Xe.lFrame,k=f.bindingIndex;return f.bindingIndex=f.bindingIndex+p,k}function x1(p){Xe.lFrame.inI18n=p}function Rs(p,f){const k=Xe.lFrame;k.bindingIndex=k.bindingRootIndex=p,oa(f)}function oa(p){Xe.lFrame.currentDirectiveIndex=p}function jl(p){const f=Xe.lFrame.currentDirectiveIndex;return-1===f?null:p[f]}function Ia(){return Xe.lFrame.currentQueryIndex}function Fl(p){Xe.lFrame.currentQueryIndex=p}function Kl(p){const f=p[1];return 2===f.type?f.declTNode:1===f.type?p[6]:null}function jt(p,f,k){if(k&yt.SkipSelf){let Q=f,le=p;for(;(Q=Q.parent,null===Q&&!(k&yt.Host))&&(Q=Kl(le),!(null===Q||(le=le[15],10&Q.type))););if(null===Q)return!1;f=Q,p=le}const Y=Xe.lFrame=Ze();return Y.currentTNode=f,Y.lView=p,!0}function Ie(p){const f=Ze(),k=p[1];Xe.lFrame=f,f.currentTNode=k.firstChild,f.lView=p,f.tView=k,f.contextLView=p,f.bindingIndex=k.bindingStartIndex,f.inI18n=!1}function Ze(){const p=Xe.lFrame,f=null===p?null:p.child;return null===f?Vt(p):f}function Vt(p){const f={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:p,child:null,inI18n:!1};return null!==p&&(p.child=f),f}function Zn(){const p=Xe.lFrame;return Xe.lFrame=p.parent,p.currentTNode=null,p.lView=null,p}const Oi=Zn;function cr(){const p=Zn();p.isParent=!0,p.tView=null,p.selectedIndex=-1,p.contextLView=null,p.elementDepthCount=0,p.currentDirectiveIndex=-1,p.currentNamespace=null,p.bindingRootIndex=-1,p.bindingIndex=-1,p.currentQueryIndex=0}function es(p){return(Xe.lFrame.contextLView=function ya(p,f){for(;p>0;)f=f[15],p--;return f}(p,Xe.lFrame.contextLView))[8]}function un(){return Xe.lFrame.selectedIndex}function Wn(p){Xe.lFrame.selectedIndex=p}function kn(){const p=Xe.lFrame;return pt(p.tView,p.selectedIndex)}function Wi(){Xe.lFrame.currentNamespace="svg"}function Br(){Xe.lFrame.currentNamespace=Ir}function fo(){!function eo(){Xe.lFrame.currentNamespace=null}()}function qs(p,f){for(let k=f.directiveStart,Y=f.directiveEnd;k<Y;k++){const le=p.data[k].type.prototype,{ngAfterContentInit:we,ngAfterContentChecked:Pe,ngAfterViewInit:Ve,ngAfterViewChecked:ct,ngOnDestroy:St}=le;we&&(p.contentHooks||(p.contentHooks=[])).push(-k,we),Pe&&((p.contentHooks||(p.contentHooks=[])).push(k,Pe),(p.contentCheckHooks||(p.contentCheckHooks=[])).push(k,Pe)),Ve&&(p.viewHooks||(p.viewHooks=[])).push(-k,Ve),ct&&((p.viewHooks||(p.viewHooks=[])).push(k,ct),(p.viewCheckHooks||(p.viewCheckHooks=[])).push(k,ct)),null!=St&&(p.destroyHooks||(p.destroyHooks=[])).push(k,St)}}function Fa(p,f,k){ol(p,f,3,k)}function ts(p,f,k,Y){(3&p[2])===k&&ol(p,f,k,Y)}function rl(p,f){let k=p[2];(3&k)===f&&(k&=2047,k+=1,p[2]=k)}function ol(p,f,k,Y){const Q=void 0!==Y?65535&p[18]:0,le=null!=Y?Y:-1,we=f.length-1;let Pe=0;for(let Ve=Q;Ve<we;Ve++)if("number"==typeof f[Ve+1]){if(Pe=f[Ve],null!=Y&&Pe>=Y)break}else f[Ve]<0&&(p[18]+=65536),(Pe<le||-1==le)&&(dc(p,k,f,Ve),p[18]=(4294901760&p[18])+Ve+2),Ve++}function dc(p,f,k,Y){const Q=k[Y]<0,le=k[Y+1],Pe=p[Q?-k[Y]:k[Y]];if(Q){if(p[2]>>11<p[18]>>16&&(3&p[2])===f){p[2]+=2048,Yi(4,Pe,le);try{le.call(Pe)}finally{Yi(5,Pe,le)}}}else{Yi(4,Pe,le);try{le.call(Pe)}finally{Yi(5,Pe,le)}}}class Ji{constructor(f,k,Y){this.factory=f,this.resolving=!1,this.canSeeViewProviders=k,this.injectImpl=Y}}function Ks(p,f,k){const Y=Rr(p);let Q=0;for(;Q<k.length;){const le=k[Q];if("number"==typeof le){if(0!==le)break;Q++;const we=k[Q++],Pe=k[Q++],Ve=k[Q++];Y?p.setAttribute(f,Pe,Ve,we):f.setAttributeNS(we,Pe,Ve)}else{const we=le,Pe=k[++Q];Me(we)?Y&&p.setProperty(f,we,Pe):Y?p.setAttribute(f,we,Pe):f.setAttribute(we,Pe),Q++}}return Q}function nn(p){return 3===p||4===p||6===p}function Me(p){return 64===p.charCodeAt(0)}function Fe(p,f){if(null!==f&&0!==f.length)if(null===p||0===p.length)p=f.slice();else{let k=-1;for(let Y=0;Y<f.length;Y++){const Q=f[Y];"number"==typeof Q?k=Q:0===k||ge(p,k,Q,null,-1===k||2===k?f[++Y]:null)}}return p}function ge(p,f,k,Y,Q){let le=0,we=p.length;if(-1===f)we=-1;else for(;le<p.length;){const Pe=p[le++];if("number"==typeof Pe){if(Pe===f){we=-1;break}if(Pe>f){we=le-1;break}}}for(;le<p.length;){const Pe=p[le];if("number"==typeof Pe)break;if(Pe===k){if(null===Y)return void(null!==Q&&(p[le+1]=Q));if(Y===p[le+1])return void(p[le+2]=Q)}le++,null!==Y&&le++,null!==Q&&le++}-1!==we&&(p.splice(we,0,f),le=we+1),p.splice(le++,0,k),null!==Y&&p.splice(le++,0,Y),null!==Q&&p.splice(le++,0,Q)}function ae(p){return-1!==p}function xe(p){return 32767&p}function Ke(p,f){let k=function He(p){return p>>16}(p),Y=f;for(;k>0;)Y=Y[15],k--;return Y}let bt=!0;function Tt(p){const f=bt;return bt=p,f}let K=0;function Ee(p,f){const k=wt(p,f);if(-1!==k)return k;const Y=f[1];Y.firstCreatePass&&(p.injectorIndex=f.length,We(Y.data,p),We(f,null),We(Y.blueprint,null));const Q=Zt(p,f),le=p.injectorIndex;if(ae(Q)){const we=xe(Q),Pe=Ke(Q,f),Ve=Pe[1].data;for(let ct=0;ct<8;ct++)f[le+ct]=Pe[we+ct]|Ve[we+ct]}return f[le+8]=Q,le}function We(p,f){p.push(0,0,0,0,0,0,0,0,f)}function wt(p,f){return-1===p.injectorIndex||p.parent&&p.parent.injectorIndex===p.injectorIndex||null===f[p.injectorIndex+8]?-1:p.injectorIndex}function Zt(p,f){if(p.parent&&-1!==p.parent.injectorIndex)return p.parent.injectorIndex;let k=0,Y=null,Q=f;for(;null!==Q;){const le=Q[1],we=le.type;if(Y=2===we?le.declTNode:1===we?Q[6]:null,null===Y)return-1;if(k++,Q=Q[15],-1!==Y.injectorIndex)return Y.injectorIndex|k<<16}return-1}function wn(p,f,k){!function he(p,f,k){let Y;"string"==typeof k?Y=k.charCodeAt(0)||0:k.hasOwnProperty(xi)&&(Y=k[xi]),null==Y&&(Y=k[xi]=K++);const Q=255&Y,le=1<<Q;f.data[p+(Q>>5)]|=le}(p,f,k)}function Si(p,f,k){if(k&yt.Optional)return p;X(f,"NodeInjector")}function tr(p,f,k,Y){if(k&yt.Optional&&void 0===Y&&(Y=null),0==(k&(yt.Self|yt.Host))){const Q=p[9],le=xt(void 0);try{return Q?Q.get(f,Y,k&yt.Optional):Ht(f,Y,k&yt.Optional)}finally{xt(le)}}return Si(Y,f,k)}function Wr(p,f,k,Y=yt.Default,Q){if(null!==p){const le=function h1(p){if("string"==typeof p)return p.charCodeAt(0)||0;const f=p.hasOwnProperty(xi)?p[xi]:void 0;return"number"==typeof f?f>=0?255&f:Aa:f}(k);if("function"==typeof le){if(!jt(f,p,Y))return Y&yt.Host?Si(Q,k,Y):tr(f,k,Y,Q);try{const we=le(Y);if(null!=we||Y&yt.Optional)return we;X(k)}finally{Oi()}}else if("number"==typeof le){let we=null,Pe=wt(p,f),Ve=-1,ct=Y&yt.Host?f[16][6]:null;for((-1===Pe||Y&yt.SkipSelf)&&(Ve=-1===Pe?Zt(p,f):f[Pe+8],-1!==Ve&&xc(Y,!1)?(we=f[1],Pe=xe(Ve),f=Ke(Ve,f)):Pe=-1);-1!==Pe;){const St=f[1];if(tu(le,Pe,St.data)){const Yt=sl(Pe,f,k,we,Y,ct);if(Yt!==po)return Yt}Ve=f[Pe+8],-1!==Ve&&xc(Y,f[1].data[Pe+8]===ct)&&tu(le,Pe,f)?(we=St,Pe=xe(Ve),f=Ke(Ve,f)):Pe=-1}}}return tr(f,k,Y,Q)}const po={};function Aa(){return new uc(Gs(),bi())}function sl(p,f,k,Y,Q,le){const we=f[1],Pe=we.data[p+8],St=Xl(Pe,we,k,null==Y?zs(Pe)&&bt:Y!=we&&0!=(3&Pe.type),Q&yt.Host&&le===Pe);return null!==St?ga(f,we,St,Pe):po}function Xl(p,f,k,Y,Q){const le=p.providerIndexes,we=f.data,Pe=1048575&le,Ve=p.directiveStart,ct=p.directiveEnd,St=le>>20,bn=Q?Pe+St:ct;for(let Gn=Y?Pe:Pe+St;Gn<bn;Gn++){const wi=we[Gn];if(Gn<Ve&&k===wi||Gn>=Ve&&wi.type===k)return Gn}if(Q){const Gn=we[Ve];if(Gn&&yr(Gn)&&Gn.type===k)return Ve}return null}function ga(p,f,k,Y){let Q=p[k];const le=f.data;if(function El(p){return p instanceof Ji}(Q)){const we=Q;we.resolving&&function O(p,f){const k=f?`. Dependency path: ${f.join(" > ")} > ${p}`:"";throw new R(-200,`Circular dependency in DI detected for ${p}${k}`)}(E(le[k]));const Pe=Tt(we.canSeeViewProviders);we.resolving=!0;const Ve=we.injectImpl?xt(we.injectImpl):null;jt(p,Y,yt.Default);try{Q=p[k]=we.factory(void 0,le,p,Y),f.firstCreatePass&&k>=Y.directiveStart&&function la(p,f,k){const{ngOnChanges:Y,ngOnInit:Q,ngDoCheck:le}=f.type.prototype;if(Y){const we=Ln(f);(k.preOrderHooks||(k.preOrderHooks=[])).push(p,we),(k.preOrderCheckHooks||(k.preOrderCheckHooks=[])).push(p,we)}Q&&(k.preOrderHooks||(k.preOrderHooks=[])).push(0-p,Q),le&&((k.preOrderHooks||(k.preOrderHooks=[])).push(p,le),(k.preOrderCheckHooks||(k.preOrderCheckHooks=[])).push(p,le))}(k,le[k],f)}finally{null!==Ve&&xt(Ve),Tt(Pe),we.resolving=!1,Oi()}}return Q}function tu(p,f,k){const Y=1<<p;return!!(k[f+(p>>5)]&Y)}function xc(p,f){return!(p&yt.Self||p&yt.Host&&f)}class uc{constructor(f,k){this._tNode=f,this._lView=k}get(f,k,Y){return Wr(this._tNode,this._lView,f,Y,k)}}function kd(p){return Jt(()=>{const f=p.prototype.constructor,k=f[mi]||K2(f),Y=Object.prototype;let Q=Object.getPrototypeOf(p.prototype).constructor;for(;Q&&Q!==Y;){const le=Q[mi]||K2(Q);if(le&&le!==k)return le;Q=Object.getPrototypeOf(Q)}return le=>new le})}function K2(p){return w(p)?()=>{const f=K2(_(p));return f&&f()}:Pt(p)}function n2(p){return function Rn(p,f){if("class"===f)return p.classes;if("style"===f)return p.styles;const k=p.attrs;if(k){const Y=k.length;let Q=0;for(;Q<Y;){const le=k[Q];if(nn(le))break;if(0===le)Q+=2;else if("number"==typeof le)for(Q++;Q<Y&&"string"==typeof k[Q];)Q++;else{if(le===f)return k[Q+1];Q+=2}}}return null}(Gs(),p)}const Ds="__annotations__",f1="__parameters__",Cc="__prop__metadata__";function Ac(p,f,k,Y,Q){return Jt(()=>{const le=C1(f);function we(...Pe){if(this instanceof we)return le.call(this,...Pe),this;const Ve=new we(...Pe);return function(St){return Q&&Q(St,...Pe),(St.hasOwnProperty(Ds)?St[Ds]:Object.defineProperty(St,Ds,{value:[]})[Ds]).push(Ve),Y&&Y(St),St}}return k&&(we.prototype=Object.create(k.prototype)),we.prototype.ngMetadataName=p,we.annotationCls=we,we})}function C1(p){return function(...k){if(p){const Y=p(...k);for(const Q in Y)this[Q]=Y[Q]}}}function kt(p,f,k){return Jt(()=>{const Y=C1(f);function Q(...le){if(this instanceof Q)return Y.apply(this,le),this;const we=new Q(...le);return Pe.annotation=we,Pe;function Pe(Ve,ct,St){const Yt=Ve.hasOwnProperty(f1)?Ve[f1]:Object.defineProperty(Ve,f1,{value:[]})[f1];for(;Yt.length<=St;)Yt.push(null);return(Yt[St]=Yt[St]||[]).push(we),Ve}}return k&&(Q.prototype=Object.create(k.prototype)),Q.prototype.ngMetadataName=p,Q.annotationCls=Q,Q})}function Jl(p,f,k,Y){return Jt(()=>{const Q=C1(f);function le(...we){if(this instanceof le)return Q.apply(this,we),this;const Pe=new le(...we);return function Ve(ct,St){const Yt=ct.constructor,bn=Yt.hasOwnProperty(Cc)?Yt[Cc]:Object.defineProperty(Yt,Cc,{value:{}})[Cc];bn[St]=bn.hasOwnProperty(St)&&bn[St]||[],bn[St].unshift(Pe),Y&&Y(ct,St,...we)}}return k&&(le.prototype=Object.create(k.prototype)),le.prototype.ngMetadataName=p,le.annotationCls=le,le})}const D3=kt("Attribute",p=>({attributeName:p,__NG_ELEMENT_ID__:()=>n2(p)}));class to{constructor(f,k){this._desc=f,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof k?this.__NG_ELEMENT_ID__=k:void 0!==k&&(this.\u0275prov=Sn({token:this,providedIn:k.providedIn||"root",factory:k.factory}))}toString(){return`InjectionToken ${this._desc}`}}const hs=new to("AnalyzeForEntryComponents");class al{}const ca=Jl("ContentChildren",(p,f={})=>Object.assign({selector:p,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true},f),al),Dl=Jl("ContentChild",(p,f={})=>Object.assign({selector:p,first:!0,isViewQuery:!1,descendants:!0},f),al),n4=Jl("ViewChildren",(p,f={})=>Object.assign({selector:p,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true},f),al),Z2=Jl("ViewChild",(p,f)=>Object.assign({selector:p,first:!0,isViewQuery:!0,descendants:!0},f),al);var ll,nu;function Va(p){const f=Ki.ng;if(f&&f.\u0275compilerFacade)return f.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(p){p[p.Directive=0]="Directive",p[p.Component=1]="Component",p[p.Injectable=2]="Injectable",p[p.Pipe=3]="Pipe",p[p.NgModule=4]="NgModule"}(ll||(ll={})),function(p){p[p.Emulated=0]="Emulated",p[p.None=2]="None",p[p.ShadowDom=3]="ShadowDom"}(nu||(nu={}));const w1=Function;function Ju(p){return"function"==typeof p}function p1(p,f){void 0===f&&(f=p);for(let k=0;k<p.length;k++){let Y=p[k];Array.isArray(Y)?(f===p&&(f=p.slice(0,k)),p1(Y,f)):f!==p&&f.push(Y)}return f}function Ld(p,f){p.forEach(k=>Array.isArray(k)?Ld(k,f):f(k))}function X2(p,f,k){f>=p.length?p.push(k):p.splice(f,0,k)}function iu(p,f){return f>=p.length-1?p.pop():p.splice(f,1)[0]}function Ua(p,f){const k=[];for(let Y=0;Y<p;Y++)k.push(f);return k}function da(p,f,k){let Y=ns(p,f);return Y>=0?p[1|Y]=k:(Y=~Y,function L2(p,f,k,Y){let Q=p.length;if(Q==f)p.push(k,Y);else if(1===Q)p.push(Y,p[0]),p[0]=k;else{for(Q--,p.push(p[Q-1],p[Q]);Q>f;){const le=Q-2;p[Q]=p[le],Q--}p[f]=k,p[f+1]=Y}}(p,Y,f,k)),Y}function Ed(p,f){const k=ns(p,f);if(k>=0)return p[1|k]}function ns(p,f){return J2(p,f,1)}function J2(p,f,k){let Y=0,Q=p.length>>k;for(;Q!==Y;){const le=Y+(Q-Y>>1),we=p[le<<k];if(f===we)return le<<k;we>f?Q=le:Y=le+1}return~(Q<<k)}const r2=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,e3=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,ou=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,su=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class U1{constructor(f){this._reflect=f||Ki.Reflect}isReflectionEnabled(){return!0}factory(f){return(...k)=>new f(...k)}_zipTypesAndAnnotations(f,k){let Y;Y=Ua(void 0===f?k.length:f.length);for(let Q=0;Q<Y.length;Q++)void 0===f?Y[Q]=[]:f[Q]&&f[Q]!=Object?Y[Q]=[f[Q]]:Y[Q]=[],k&&null!=k[Q]&&(Y[Q]=Y[Q].concat(k[Q]));return Y}_ownParameters(f,k){if(function Is(p){return r2.test(p)||su.test(p)||e3.test(p)&&!ou.test(p)}(f.toString()))return null;if(f.parameters&&f.parameters!==k.parameters)return f.parameters;const Q=f.ctorParameters;if(Q&&Q!==k.ctorParameters){const Pe="function"==typeof Q?Q():Q,Ve=Pe.map(St=>St&&St.type),ct=Pe.map(St=>St&&Il(St.decorators));return this._zipTypesAndAnnotations(Ve,ct)}const le=f.hasOwnProperty(f1)&&f[f1],we=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",f);return we||le?this._zipTypesAndAnnotations(we,le):Ua(f.length)}parameters(f){if(!Ju(f))return[];const k=M1(f);let Y=this._ownParameters(f,k);return!Y&&k!==Object&&(Y=this.parameters(k)),Y||[]}_ownAnnotations(f,k){if(f.annotations&&f.annotations!==k.annotations){let Y=f.annotations;return"function"==typeof Y&&Y.annotations&&(Y=Y.annotations),Y}return f.decorators&&f.decorators!==k.decorators?Il(f.decorators):f.hasOwnProperty(Ds)?f[Ds]:null}annotations(f){if(!Ju(f))return[];const k=M1(f),Y=this._ownAnnotations(f,k)||[];return(k!==Object?this.annotations(k):[]).concat(Y)}_ownPropMetadata(f,k){if(f.propMetadata&&f.propMetadata!==k.propMetadata){let Y=f.propMetadata;return"function"==typeof Y&&Y.propMetadata&&(Y=Y.propMetadata),Y}if(f.propDecorators&&f.propDecorators!==k.propDecorators){const Y=f.propDecorators,Q={};return Object.keys(Y).forEach(le=>{Q[le]=Il(Y[le])}),Q}return f.hasOwnProperty(Cc)?f[Cc]:null}propMetadata(f){if(!Ju(f))return{};const k=M1(f),Y={};if(k!==Object){const le=this.propMetadata(k);Object.keys(le).forEach(we=>{Y[we]=le[we]})}const Q=this._ownPropMetadata(f,k);return Q&&Object.keys(Q).forEach(le=>{const we=[];Y.hasOwnProperty(le)&&we.push(...Y[le]),we.push(...Q[le]),Y[le]=we}),Y}ownPropMetadata(f){return Ju(f)&&this._ownPropMetadata(f,M1(f))||{}}hasLifecycleHook(f,k){return f instanceof w1&&k in f.prototype}guards(f){return{}}getter(f){return new Function("o","return o."+f+";")}setter(f){return new Function("o","v","return o."+f+" = v;")}method(f){return new Function("o","args",`if (!o.${f}) throw new Error('"${f}" is undefined');\n        return o.${f}.apply(o, args);`)}importUri(f){return"object"==typeof f&&f.filePath?f.filePath:`./${v(f)}`}resourceUri(f){return`./${v(f)}`}resolveIdentifier(f,k,Y,Q){return Q}resolveEnum(f,k){return f[k]}}function Il(p){return p?p.map(f=>new(0,f.type.annotationCls)(...f.args?f.args:[])):[]}function M1(p){const f=p.prototype?Object.getPrototypeOf(p.prototype):null;return(f?f.constructor:null)||Object}const T1={},Du="__NG_DI_FLAG__",Ql="ngTempTokenPath",Ya=/\n/gm,au="__source",Q2=o({provide:String,useValue:o});let g1;function Iu(p){const f=g1;return g1=p,f}function ed(p,f=yt.Default){if(void 0===g1){throw new R(203,"")}return null===g1?Ht(p,void 0,f):g1.get(p,f&yt.Optional?null:void 0,f)}function Ja(p,f=yt.Default){return(function ht(){return Je}()||ed)(_(p),f)}function D2(p){throw new Error("invalid")}const td=Ja;function lu(p){const f=[];for(let k=0;k<p.length;k++){const Y=_(p[k]);if(Array.isArray(Y)){if(0===Y.length){throw new R(900,"")}let Q,le=yt.Default;for(let we=0;we<Y.length;we++){const Pe=Y[we],Ve=Wa(Pe);"number"==typeof Ve?-1===Ve?Q=Pe.token:le|=Ve:Q=Pe}f.push(Ja(Q,le))}else f.push(Ja(Y))}return f}function I2(p,f){return p[Du]=f,p.prototype[Du]=f,p}function Wa(p){return p[Du]}function Au(p,f,k,Y){const Q=p[Ql];throw f[au]&&Q.unshift(f[au]),p.message=function A2(p,f,k,Y=null){p=p&&"\n"===p.charAt(0)&&"\u0275"==p.charAt(1)?p.substr(2):p;let Q=v(f);if(Array.isArray(f))Q=f.map(v).join(" -> ");else if("object"==typeof f){let le=[];for(let we in f)if(f.hasOwnProperty(we)){let Pe=f[we];le.push(we+":"+("string"==typeof Pe?JSON.stringify(Pe):v(Pe)))}Q=`{${le.join(", ")}}`}return`${k}${Y?"("+Y+")":""}[${Q}]: ${p.replace(Ya,"\n  ")}`}("\n"+p.message,Q,k,Y),p.ngTokenPath=Q,p[Ql]=null,p}const Vl=I2(kt("Inject",p=>({token:p})),-1),wc=I2(kt("Optional"),8),bl=I2(kt("Self"),2),As=I2(kt("SkipSelf"),4),ms=I2(kt("Host"),1);let ea=null;function nd(){return ea=ea||new U1}function S1(p){return W1(nd().parameters(p))}function W1(p){return p.map(f=>function id(p){const f={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(p)&&p.length>0)for(let k=0;k<p.length;k++){const Y=p[k];if(void 0===Y)continue;const Q=Object.getPrototypeOf(Y);if(Y instanceof wc||"Optional"===Q.ngMetadataName)f.optional=!0;else if(Y instanceof As||"SkipSelf"===Q.ngMetadataName)f.skipSelf=!0;else if(Y instanceof bl||"Self"===Q.ngMetadataName)f.self=!0;else if(Y instanceof ms||"Host"===Q.ngMetadataName)f.host=!0;else if(Y instanceof Vl)f.token=Y.token;else if(Y instanceof D3){if(void 0===Y.attributeName)throw new Error("Attribute name must be defined.");f.attribute=Y.attributeName}else f.token=Y}else void 0===p||Array.isArray(p)&&0===p.length?f.token=null:f.token=p;return f}(f))}function Mc(p){const f=[],k=new Map;function Y(Q){let le=k.get(Q);if(!le){const we=p(Q);k.set(Q,le=we.then(O2))}return le}return o2.forEach((Q,le)=>{const we=[];Q.templateUrl&&we.push(Y(Q.templateUrl).then(Yt=>{Q.template=Yt}));const Pe=Q.styleUrls,Ve=Q.styles||(Q.styles=[]),ct=Q.styles.length;Pe&&Pe.forEach((Yt,bn)=>{Ve.push(""),we.push(Y(Yt).then(Gn=>{Ve[ct+bn]=Gn,Pe.splice(Pe.indexOf(Yt),1),0==Pe.length&&(Q.styleUrls=void 0)}))});const St=Promise.all(we).then(()=>function Ns(p){Oc.delete(p)}(le));f.push(St)}),function $c(){const p=o2;return o2=new Map,p}(),Promise.all(f).then(()=>{})}let o2=new Map;const Oc=new Set;function t3(p){return!!(p.templateUrl&&!p.hasOwnProperty("template")||p.styleUrls&&p.styleUrls.length)}function O2(p){return"string"==typeof p?p:p.text()}var Ue;!function(p){p[p.Important=1]="Important",p[p.DashCase=2]="DashCase"}(Ue||(Ue={}));const it=/^>|^->|<!--|-->|--!>|<!-$/g,Lt=/(<|>)/;function ii(p){return p.replace(it,f=>f.replace(Lt,"\u200b$1\u200b"))}const ta="__ngContext__";function os(p,f){p[ta]=f}function Vs(p){return p[ta]||null}function i4(p){const f=Vs(p);return f?Array.isArray(f)?f:f.lView:null}let Vp;function xf(p,f){return Vp(p,f)}function zu(p){const f=p[3];return ho(f)?f[3]:f}function i3(p){return sd(p[13])}function I3(p){return sd(p[4])}function sd(p){for(;null!==p&&!ho(p);)p=p[4];return p}function tc(p,f,k,Y,Q){if(null!=Y){let le,we=!1;ho(Y)?le=Y:no(Y)&&(we=!0,Y=Y[0]);const Pe=gt(Y);0===p&&null!==k?null==Q?Hs(f,k,Pe):Ca(f,k,Pe,Q||null,!0):1===p&&null!==k?Ca(f,k,Pe,Q||null,!0):2===p?A3(f,Pe,we):3===p&&f.destroyNode(Pe),null!=le&&function W4(p,f,k,Y,Q){const le=k[7],we=gt(k);le!==we&&tc(f,p,Y,le,Q);for(let Pe=10;Pe<k.length;Pe++){const Ve=k[Pe];E1(Ve[1],Ve,p,f,Y,le)}}(f,p,le,k,Q)}}function ua(p,f){return Rr(p)?p.createText(f):p.createTextNode(f)}function xa(p,f,k){Rr(p)?p.setValue(f,k):f.textContent=k}function a2(p,f){return p.createComment(ii(f))}function za(p,f,k){if(Rr(p))return p.createElement(f,k);{const Y=null!==k?function ds(p){const f=p.toLowerCase();return"svg"===f?"http://www.w3.org/2000/svg":f===Ir?"http://www.w3.org/1998/MathML/":null}(k):null;return null===Y?p.createElement(f):p.createElementNS(Y,f)}}function nc(p,f,k,Y){const Q=10+Y,le=k.length;Y>0&&(k[Q-1][4]=f),Y<le-10?(f[4]=k[Q],X2(k,10+Y,f)):(k.push(f),f[4]=null),f[3]=k;const we=f[17];null!==we&&k!==we&&function k1(p,f){const k=p[9],Q=f[3][3][16];f[16]!==Q&&(p[2]=!0),null===k?p[9]=[f]:k.push(f)}(we,f);const Pe=f[19];null!==Pe&&Pe.insertView(p),f[2]|=128}function l2(p,f){const k=p[9],Y=k.indexOf(f),Q=f[3];1024&f[2]&&(f[2]&=-1025,ye(Q,-1)),k.splice(Y,1)}function L1(p,f){if(p.length<=10)return;const k=10+f,Y=p[k];if(Y){const Q=Y[17];null!==Q&&Q!==p&&l2(Q,Y),f>0&&(p[k-1][4]=Y[4]);const le=iu(p,10+f);!function ad(p,f){E1(p,f,f[11],2,null,null),f[0]=null,f[6]=null}(Y[1],Y);const we=le[19];null!==we&&we.detachView(le[1]),Y[3]=null,Y[4]=null,Y[2]&=-129}return Y}function Al(p,f){if(!(256&f[2])){const k=f[11];Rr(k)&&k.destroyNode&&E1(p,f,k,3,null,null),function Id(p){let f=p[13];if(!f)return ic(p[1],p);for(;f;){let k=null;if(no(f))k=f[13];else{const Y=f[10];Y&&(k=Y)}if(!k){for(;f&&!f[4]&&f!==p;)no(f)&&ic(f[1],f),f=f[3];null===f&&(f=p),no(f)&&ic(f[1],f),k=f&&f[4]}f=k}}(f)}}function ic(p,f){if(!(256&f[2])){f[2]&=-129,f[2]|=256,function Ol(p,f){let k;if(null!=p&&null!=(k=p.destroyHooks))for(let Y=0;Y<k.length;Y+=2){const Q=f[k[Y]];if(!(Q instanceof Ji)){const le=k[Y+1];if(Array.isArray(le))for(let we=0;we<le.length;we+=2){const Pe=Q[le[we]],Ve=le[we+1];Yi(4,Pe,Ve);try{Ve.call(Pe)}finally{Yi(5,Pe,Ve)}}else{Yi(4,Q,le);try{le.call(Q)}finally{Yi(5,Q,le)}}}}}(p,f),function Ru(p,f){const k=p.cleanup,Y=f[7];let Q=-1;if(null!==k)for(let le=0;le<k.length-1;le+=2)if("string"==typeof k[le]){const we=k[le+1],Pe="function"==typeof we?we(f):gt(f[we]),Ve=Y[Q=k[le+2]],ct=k[le+3];"boolean"==typeof ct?Pe.removeEventListener(k[le],Ve,ct):ct>=0?Y[Q=ct]():Y[Q=-ct].unsubscribe(),le+=2}else{const we=Y[Q=k[le+1]];k[le].call(we)}if(null!==Y){for(let le=Q+1;le<Y.length;le++)Y[le]();f[7]=null}}(p,f),1===f[1].type&&Rr(f[11])&&f[11].destroy();const k=f[17];if(null!==k&&ho(f[3])){k!==f[3]&&l2(k,f);const Y=f[19];null!==Y&&Y.detachView(p)}}}function cu(p,f,k){return Ad(p,f.parent,k)}function Ad(p,f,k){let Y=f;for(;null!==Y&&40&Y.type;)Y=(f=Y).parent;if(null===Y)return k[0];if(2&Y.flags){const Q=p.data[Y.directiveStart].encapsulation;if(Q===Jn.None||Q===Jn.Emulated)return null}return ke(Y,k)}function Ca(p,f,k,Y,Q){Rr(p)?p.insertBefore(f,k,Y,Q):f.insertBefore(k,Y,Q)}function Hs(p,f,k){Rr(p)?p.appendChild(f,k):f.appendChild(k)}function hc(p,f,k,Y,Q){null!==Y?Ca(p,f,k,Y,Q):Hs(p,f,k)}function yl(p,f){return Rr(p)?p.parentNode(f):f.parentNode}function wa(p,f,k){return Nu(p,f,k)}function cl(p,f,k){return 40&p.type?ke(p,k):null}let Od,D1,m1,Nu=cl;function Rc(p,f){Nu=p,Od=f}function q1(p,f,k,Y){const Q=cu(p,Y,f),le=f[11],Pe=wa(Y.parent||f[6],Y,f);if(null!=Q)if(Array.isArray(k))for(let Ve=0;Ve<k.length;Ve++)hc(le,Q,k[Ve],Pe,!1);else hc(le,Q,k,Pe,!1);void 0!==Od&&Od(le,Y,f,k,Q)}function ld(p,f){if(null!==f){const k=f.type;if(3&k)return ke(f,p);if(4&k)return Hu(-1,p[f.index]);if(8&k){const Y=f.child;if(null!==Y)return ld(p,Y);{const Q=p[f.index];return ho(Q)?Hu(-1,Q):gt(Q)}}if(32&k)return xf(f,p)()||gt(p[f.index]);{const Y=du(p,f);if(null!==Y){if(Array.isArray(Y))return Y[0];return ld(zu(p[16]),Y)}return ld(p,f.next)}}return null}function du(p,f){if(null!==f){const Y=p[16][6],Q=f.projection;return Y.projection[Q]}return null}function Hu(p,f){const k=10+p+1;if(k<f.length){const Y=f[k],Q=Y[1].firstChild;if(null!==Q)return ld(Y,Q)}return f[7]}function A3(p,f,k){const Y=yl(p,f);Y&&function jr(p,f,k,Y){Rr(p)?p.removeChild(f,k,Y):f.removeChild(k)}(p,Y,f,k)}function $1(p,f,k,Y,Q,le,we){for(;null!=k;){const Pe=Y[k.index],Ve=k.type;if(we&&0===f&&(Pe&&os(gt(Pe),Y),k.flags|=4),64!=(64&k.flags))if(8&Ve)$1(p,f,k.child,Y,Q,le,!1),tc(f,p,Q,Pe,le);else if(32&Ve){const ct=xf(k,Y);let St;for(;St=ct();)tc(f,p,Q,St,le);tc(f,p,Q,Pe,le)}else 16&Ve?o3(p,f,Y,k,Q,le):tc(f,p,Q,Pe,le);k=we?k.projectionNext:k.next}}function E1(p,f,k,Y,Q,le){$1(k,Y,p.firstChild,f,Q,le,!1)}function o3(p,f,k,Y,Q,le){const we=k[16],Ve=we[6].projection[Y.projection];if(Array.isArray(Ve))for(let ct=0;ct<Ve.length;ct++){tc(f,p,Q,Ve[ct],le)}else{$1(p,f,Ve,we[3],Q,le,!0)}}function cd(p,f,k){Rr(p)?p.setAttribute(f,"style",k):f.style.cssText=k}function dd(p,f,k){Rr(p)?""===k?p.removeAttribute(f,"class"):p.setAttribute(f,"class",k):f.className=k}function c2(){if(void 0===D1&&(D1=null,Ki.trustedTypes))try{D1=Ki.trustedTypes.createPolicy("angular",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return D1}function s4(p){var f;return(null===(f=c2())||void 0===f?void 0:f.createHTML(p))||p}function hu(p,f,k){const Y=bi(),Q=kn(),le=ke(Q,Y);if(2===Q.type&&"iframe"===f.toLowerCase()){const we=le;we.src="",we.srcdoc=s4(""),A3(Y[11],we);throw new R(-910,!1)}return p}function d2(){if(void 0===m1&&(m1=null,Ki.trustedTypes))try{m1=Ki.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:p=>p,createScript:p=>p,createScriptURL:p=>p})}catch(p){}return m1}function No(p){var f;return(null===(f=d2())||void 0===f?void 0:f.createHTML(p))||p}function u2(p){var f;return(null===(f=d2())||void 0===f?void 0:f.createScript(p))||p}function h2(p){var f;return(null===(f=d2())||void 0===f?void 0:f.createScriptURL(p))||p}class Xs{constructor(f){this.changingThisBreaksApplicationSecurity=f}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class f2 extends Xs{getTypeName(){return"HTML"}}class K1 extends Xs{getTypeName(){return"Style"}}class z2 extends Xs{getTypeName(){return"Script"}}class rc extends Xs{getTypeName(){return"URL"}}class a4 extends Xs{getTypeName(){return"ResourceURL"}}function xl(p){return p instanceof Xs?p.changingThisBreaksApplicationSecurity:p}function Z1(p,f){const k=Pd(p);if(null!=k&&k!==f){if("ResourceURL"===k&&"URL"===f)return!0;throw new Error(`Required a safe ${f}, got a ${k} (see https://g.co/ng/security#xss)`)}return k===f}function Pd(p){return p instanceof Xs&&p.getTypeName()||null}function zd(p){return new f2(p)}function go(p){return new K1(p)}function s3(p){return new z2(p)}function l4(p){return new rc(p)}function Rd(p){return new a4(p)}function fu(p){const f=new Nd(p);return function Cl(){try{return!!(new window.DOMParser).parseFromString(s4(""),"text/html")}catch(p){return!1}}()?new Bu(f):f}class Bu{constructor(f){this.inertDocumentHelper=f}getInertBodyElement(f){f="<body><remove></remove>"+f;try{const k=(new window.DOMParser).parseFromString(s4(f),"text/html").body;return null===k?this.inertDocumentHelper.getInertBodyElement(f):(k.removeChild(k.firstChild),k)}catch(k){return null}}}class Nd{constructor(f){if(this.defaultDoc=f,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const k=this.inertDocument.createElement("html");this.inertDocument.appendChild(k);const Y=this.inertDocument.createElement("body");k.appendChild(Y)}}getInertBodyElement(f){const k=this.inertDocument.createElement("template");if("content"in k)return k.innerHTML=s4(f),k;const Y=this.inertDocument.createElement("body");return Y.innerHTML=s4(f),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(Y),Y}stripCustomNsAttrs(f){const k=f.attributes;for(let Q=k.length-1;0<Q;Q--){const we=k.item(Q).name;("xmlns:ns1"===we||0===we.indexOf("ns1:"))&&f.removeAttribute(we)}let Y=f.firstChild;for(;Y;)Y.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(Y),Y=Y.nextSibling}}const Nc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,hd=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Hc(p){return(p=String(p)).match(Nc)||p.match(hd)?p:"unsafe:"+p}function Hd(p){return(p=String(p)).split(",").map(f=>Hc(f.trim())).join(", ")}function Tc(p){const f={};for(const k of p.split(","))f[k]=!0;return f}function Yl(...p){const f={};for(const k of p)for(const Y in k)k.hasOwnProperty(Y)&&(f[Y]=!0);return f}const ju=Tc("area,br,col,hr,img,wbr"),fc=Tc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wl=Tc("rp,rt"),Sc=Yl(wl,fc),I1=Yl(fc,Tc("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")),a3=Yl(wl,Tc("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")),Bd=Yl(ju,I1,a3,Sc),p2=Tc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fd=Tc("srcset"),Zc=Tc("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),X1=Tc("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"),jd=Yl(p2,fd,Zc,X1),q4=Tc("script,style,template");class Fd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(f){let k=f.firstChild,Y=!0;for(;k;)if(k.nodeType===Node.ELEMENT_NODE?Y=this.startElement(k):k.nodeType===Node.TEXT_NODE?this.chars(k.nodeValue):this.sanitizedSomething=!0,Y&&k.firstChild)k=k.firstChild;else for(;k;){k.nodeType===Node.ELEMENT_NODE&&this.endElement(k);let Q=this.checkClobberedElement(k,k.nextSibling);if(Q){k=Q;break}k=this.checkClobberedElement(k,k.parentNode)}return this.buf.join("")}startElement(f){const k=f.nodeName.toLowerCase();if(!Bd.hasOwnProperty(k))return this.sanitizedSomething=!0,!q4.hasOwnProperty(k);this.buf.push("<"),this.buf.push(k);const Y=f.attributes;for(let Q=0;Q<Y.length;Q++){const le=Y.item(Q),we=le.name,Pe=we.toLowerCase();if(!jd.hasOwnProperty(Pe)){this.sanitizedSomething=!0;continue}let Ve=le.value;p2[Pe]&&(Ve=Hc(Ve)),fd[Pe]&&(Ve=Hd(Ve)),this.buf.push(" ",we,'="',J1(Ve),'"')}return this.buf.push(">"),!0}endElement(f){const k=f.nodeName.toLowerCase();Bd.hasOwnProperty(k)&&!ju.hasOwnProperty(k)&&(this.buf.push("</"),this.buf.push(k),this.buf.push(">"))}chars(f){this.buf.push(J1(f))}checkClobberedElement(f,k){if(k&&(f.compareDocumentPosition(k)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${f.outerHTML}`);return k}}const A1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pd=/([^\#-~ |!])/g;function J1(p){return p.replace(/&/g,"&amp;").replace(A1,function(f){return"&#"+(1024*(f.charCodeAt(0)-55296)+(f.charCodeAt(1)-56320)+65536)+";"}).replace(pd,function(f){return"&#"+f.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let g2;function l3(p,f){let k=null;try{g2=g2||fu(p);let Y=f?String(f):"";k=g2.getInertBodyElement(Y);let Q=5,le=Y;do{if(0===Q)throw new Error("Failed to sanitize html because the input is unstable");Q--,Y=le,le=k.innerHTML,k=g2.getInertBodyElement(Y)}while(Y!==le);return s4((new Fd).sanitizeChildren(R2(k)||k))}finally{if(k){const Y=R2(k)||k;for(;Y.firstChild;)Y.removeChild(Y.firstChild)}}}function R2(p){return"content"in p&&function O1(p){return p.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===p.nodeName}(p)?p.content:null}var Ga;function N2(p){const f=P1();return f?No(f.sanitize(Ga.HTML,p)||""):Z1(p,"HTML")?No(xl(p)):l3(zo(),S(p))}function pu(p){const f=P1();return f?f.sanitize(Ga.STYLE,p)||"":Z1(p,"Style")?xl(p):S(p)}function Xc(p){const f=P1();return f?f.sanitize(Ga.URL,p)||"":Z1(p,"URL")?xl(p):Hc(S(p))}function Fu(p){const f=P1();if(f)return h2(f.sanitize(Ga.RESOURCE_URL,p)||"");if(Z1(p,"ResourceURL"))return h2(xl(p));throw new R(904,"")}function H2(p){const f=P1();if(f)return u2(f.sanitize(Ga.SCRIPT,p)||"");if(Z1(p,"Script"))return u2(xl(p));throw new R(905,"")}function oc(p){return s4(p[0])}function B2(p){return function Kc(p){var f;return(null===(f=c2())||void 0===f?void 0:f.createScriptURL(p))||p}(p[0])}function gd(p,f,k){return function gu(p,f){return"src"===f&&("embed"===p||"frame"===p||"iframe"===p||"media"===p||"script"===p)||"href"===f&&("base"===p||"link"===p)?Fu:Xc}(f,k)(p)}function P1(){const p=bi();return p&&p[12]}!function(p){p[p.NONE=0]="NONE",p[p.HTML=1]="HTML",p[p.STYLE=2]="STYLE",p[p.SCRIPT=3]="SCRIPT",p[p.URL=4]="URL",p[p.RESOURCE_URL=5]="RESOURCE_URL"}(Ga||(Ga={}));const _d="ngOriginalError";function j2(p){return p[_d]}function z1(p,...f){p.error(...f)}class R1{constructor(){this._console=console}handleError(f){const k=this._findOriginalError(f),Y=function Vd(p){return p&&p.ngErrorLogger||z1}(f);Y(this._console,"ERROR",f),k&&Y(this._console,"ORIGINAL ERROR",k)}_findOriginalError(f){let k=f&&j2(f);for(;k&&j2(k);)k=j2(k);return k||null}}const Re=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ki);function dt(p){return p.ownerDocument.defaultView}function Gt(p){return p.ownerDocument}function Qt(p){return p.ownerDocument.body}function Vn(p){return p instanceof Function?p():p}function Co(p,f,k){let Y=p.length;for(;;){const Q=p.indexOf(f,k);if(-1===Q)return Q;if(0===Q||p.charCodeAt(Q-1)<=32){const le=f.length;if(Q+le===Y||p.charCodeAt(Q+le)<=32)return Q}k=Q+1}}const fr="ng-template";function ps(p,f,k){let Y=0;for(;Y<p.length;){let Q=p[Y++];if(k&&"class"===Q){if(Q=p[Y],-1!==Co(Q.toLowerCase(),f,0))return!0}else if(1===Q){for(;Y<p.length&&"string"==typeof(Q=p[Y++]);)if(Q.toLowerCase()===f)return!0;return!1}}return!1}function Bo(p){return 4===p.type&&p.value!==fr}function na(p,f,k){return f===(4!==p.type||k?p.value:fr)}function ss(p,f,k){let Y=4;const Q=p.attrs||[],le=function dl(p){for(let f=0;f<p.length;f++){if(nn(p[f]))return f}return p.length}(Q);let we=!1;for(let Pe=0;Pe<f.length;Pe++){const Ve=f[Pe];if("number"!=typeof Ve){if(!we)if(4&Y){if(Y=2|1&Y,""!==Ve&&!na(p,Ve,k)||""===Ve&&1===f.length){if($o(Y))return!1;we=!0}}else{const ct=8&Y?Ve:f[++Pe];if(8&Y&&null!==p.attrs){if(!ps(p.attrs,ct,k)){if($o(Y))return!1;we=!0}continue}const Yt=pr(8&Y?"class":Ve,Q,Bo(p),k);if(-1===Yt){if($o(Y))return!1;we=!0;continue}if(""!==ct){let bn;bn=Yt>le?"":Q[Yt+1].toLowerCase();const Gn=8&Y?bn:null;if(Gn&&-1!==Co(Gn,ct,0)||2&Y&&ct!==bn){if($o(Y))return!1;we=!0}}}}else{if(!we&&!$o(Y)&&!$o(Ve))return!1;if(we&&$o(Ve))continue;we=!1,Y=Ve|1&Y}}return $o(Y)||we}function $o(p){return 0==(1&p)}function pr(p,f,k,Y){if(null===f)return-1;let Q=0;if(Y||!k){let le=!1;for(;Q<f.length;){const we=f[Q];if(we===p)return Q;if(3===we||6===we)le=!0;else{if(1===we||2===we){let Pe=f[++Q];for(;"string"==typeof Pe;)Pe=f[++Q];continue}if(4===we)break;if(0===we){Q+=4;continue}}Q+=le?1:2}return-1}return function Wl(p,f){let k=p.indexOf(4);if(k>-1)for(k++;k<p.length;){const Y=p[k];if("number"==typeof Y)return-1;if(Y===f)return k;k++}return-1}(f,p)}function ma(p,f,k=!1){for(let Y=0;Y<f.length;Y++)if(ss(p,f[Y],k))return!0;return!1}function Pl(p,f){e:for(let k=0;k<f.length;k++){const Y=f[k];if(p.length===Y.length){for(let Q=0;Q<p.length;Q++)if(p[Q]!==Y[Q])continue e;return!0}}return!1}function Ko(p,f){return p?":not("+f.trim()+")":f}function m2(p){let f=p[0],k=1,Y=2,Q="",le=!1;for(;k<p.length;){let we=p[k];if("string"==typeof we)if(2&Y){const Pe=p[++k];Q+="["+we+(Pe.length>0?'="'+Pe+'"':"")+"]"}else 8&Y?Q+="."+we:4&Y&&(Q+=" "+we);else""!==Q&&!$o(we)&&(f+=Ko(le,Q),Q=""),Y=we,le=le||!$o(Y);k++}return""!==Q&&(f+=Ko(le,Q)),f}const lo={};function Jc(p){Oh(qo(),bi(),un()+p,!1)}function Oh(p,f,k,Y){if(!Y)if(3==(3&f[2])){const le=p.preOrderCheckHooks;null!==le&&Fa(f,le,k)}else{const le=p.preOrderHooks;null!==le&&ts(f,le,0,k)}Wn(k)}function mu(p,f){return p<<17|f<<2}function Qc(p){return p>>17&32767}function $4(p){return 2==(2&p)}function vu(p){return 2|p}function sc(p){return(131068&p)>>2}function kc(p,f){return-131069&p|f<<2}function K4(p){return 1==(1&p)}function yd(p){return 1|p}const $p=Promise.resolve(null);function M0(p,f){const k=p.contentQueries;if(null!==k)for(let Y=0;Y<k.length;Y+=2){const Q=k[Y],le=k[Y+1];if(-1!==le){const we=p.data[le];Fl(Q),we.contentQueries(2,f[le],le)}}}function Rh(p,f,k,Y,Q,le,we,Pe,Ve,ct){const St=f.blueprint.slice();return St[0]=Q,St[2]=140|Y,ft(St),St[3]=St[15]=p,St[8]=k,St[10]=we||p&&p[10],St[11]=Pe||p&&p[11],St[12]=Ve||p&&p[12]||null,St[9]=ct||p&&p[9]||null,St[6]=le,St[16]=2==f.type?p[16]:St,St}function z3(p,f,k,Y,Q){let le=p.data[f];if(null===le)le=eh(p,f,k,Y,Q),function d1(){return Xe.lFrame.inI18n}()&&(le.flags|=64);else if(64&le.type){le.type=k,le.value=Y,le.attrs=Q;const we=ja();le.injectorIndex=null===we?-1:we.injectorIndex}return Fs(le,!0),le}function eh(p,f,k,Y,Q){const le=Na(),we=Ro(),Pe=we?le:le&&le.parent,Ve=p.data[f]=function Lf(p,f,k,Y,Q,le){let we=f?f.injectorIndex:-1;return{type:k,index:Y,insertBeforeIndex:null,injectorIndex:we,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:Q,attrs:le,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:f,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Pe,k,f,Y,Q);return null===p.firstChild&&(p.firstChild=Ve),null!==le&&(we?null==le.child&&null!==Ve.parent&&(le.child=Ve):null===le.next&&(le.next=Ve)),Ve}function Nh(p,f,k,Y){if(0===k)return-1;const Q=f.length;for(let le=0;le<k;le++)f.push(Y),p.blueprint.push(Y),p.data.push(null);return Q}function th(p,f,k){Ie(f);try{const Y=p.viewQuery;null!==Y&&y4(1,Y,k);const Q=p.template;null!==Q&&Kp(p,f,Q,1,k),p.firstCreatePass&&(p.firstCreatePass=!1),p.staticContentQueries&&M0(p,f),p.staticViewQueries&&y4(2,p.viewQuery,k);const le=p.components;null!==le&&function T0(p,f){for(let k=0;k<f.length;k++)v1(p,f[k])}(f,le)}catch(Y){throw p.firstCreatePass&&(p.incompleteFirstPass=!0,p.firstCreatePass=!1),Y}finally{f[2]&=-5,cr()}}function nh(p,f,k,Y){const Q=f[2];if(256==(256&Q))return;Ie(f);try{ft(f),il(p.bindingStartIndex),null!==k&&Kp(p,f,k,2,Y);const we=3==(3&Q);if(we){const ct=p.preOrderCheckHooks;null!==ct&&Fa(f,ct,null)}else{const ct=p.preOrderHooks;null!==ct&&ts(f,ct,0,null),rl(f,0)}if(function O0(p){for(let f=i3(p);null!==f;f=I3(f)){if(!f[2])continue;const k=f[9];for(let Y=0;Y<k.length;Y++){const Q=k[Y],le=Q[3];0==(1024&Q[2])&&ye(le,1),Q[2]|=1024}}}(f),function Ml(p){for(let f=i3(p);null!==f;f=I3(f))for(let k=10;k<f.length;k++){const Y=f[k],Q=Y[1];ci(Y)&&nh(Q,Y,Q.template,Y[8])}}(f),null!==p.contentQueries&&M0(p,f),we){const ct=p.contentCheckHooks;null!==ct&&Fa(f,ct)}else{const ct=p.contentHooks;null!==ct&&ts(f,ct,1),rl(f,1)}!function Tf(p,f){const k=p.hostBindingOpCodes;if(null!==k)try{for(let Y=0;Y<k.length;Y++){const Q=k[Y];if(Q<0)Wn(~Q);else{const le=Q,we=k[++Y],Pe=k[++Y];Rs(we,le),Pe(2,f[le])}}}finally{Wn(-1)}}(p,f);const Pe=p.components;null!==Pe&&function zh(p,f){for(let k=0;k<f.length;k++)P0(p,f[k])}(f,Pe);const Ve=p.viewQuery;if(null!==Ve&&y4(2,Ve,Y),we){const ct=p.viewCheckHooks;null!==ct&&Fa(f,ct)}else{const ct=p.viewHooks;null!==ct&&ts(f,ct,2),rl(f,2)}!0===p.firstUpdatePass&&(p.firstUpdatePass=!1),f[2]&=-73,1024&f[2]&&(f[2]&=-1025,ye(f[3],-1))}finally{cr()}}function _u(p,f,k,Y){const Q=f[10],we=En(f);try{!we&&Q.begin&&Q.begin(),we&&th(p,f,Y),nh(p,f,k,Y)}finally{!we&&Q.end&&Q.end()}}function Kp(p,f,k,Y,Q){const le=un(),we=2&Y;try{Wn(-1),we&&f.length>20&&Oh(p,f,20,!1),Yi(we?2:0,Q),k(Y,Q)}finally{Wn(le),Yi(we?3:1,Q)}}function R3(p,f,k){if(ra(f)){const Y=f.directiveStart,Q=f.directiveEnd;for(let le=Y;le<Q;le++){const we=p.data[le];we.contentQueries&&we.contentQueries(1,k[le],le)}}}function N3(p,f,k){!pa()||(function Lc(p,f,k,Y){const Q=k.directiveStart,le=k.directiveEnd;p.firstCreatePass||Ee(k,f),os(Y,f);const we=k.initialInputs;for(let Pe=Q;Pe<le;Pe++){const Ve=p.data[Pe],ct=yr(Ve);ct&&A0(f,k,Ve);const St=ga(f,p,Pe,k);if(os(St,f),null!==we&&If(f,Pe-Q,St,Ve,k,we),ct){Dt(k.index,f)[8]=St}}}(p,f,k,ke(k,f)),128==(128&k.flags)&&function xg(p,f,k){const Y=k.directiveStart,Q=k.directiveEnd,we=(p.firstCreatePass,k.index),Pe=function u1(){return Xe.lFrame.currentDirectiveIndex}();try{Wn(we);for(let Ve=Y;Ve<Q;Ve++){const ct=p.data[Ve],St=f[Ve];oa(Ve),(null!==ct.hostBindings||0!==ct.hostVars||null!==ct.hostAttrs)&&xd(ct,St)}}finally{Wn(-1),oa(Pe)}}(p,f,k))}function S0(p,f,k=ke){const Y=f.localNames;if(null!==Y){let Q=f.index+1;for(let le=0;le<Y.length;le+=2){const we=Y[le+1],Pe=-1===we?k(f,p):p[we];p[Q++]=Pe}}}function ih(p){const f=p.tView;return null===f||f.incompleteFirstPass?p.tView=Sf(1,null,p.template,p.decls,p.vars,p.directiveDefs,p.pipeDefs,p.viewQuery,p.schemas,p.consts):f}function Sf(p,f,k,Y,Q,le,we,Pe,Ve,ct){const St=20+Y,Yt=St+Q,bn=function k0(p,f){const k=[];for(let Y=0;Y<f;Y++)k.push(Y<p?null:lo);return k}(St,Yt),Gn="function"==typeof ct?ct():ct;return bn[1]={type:p,blueprint:bn,template:k,queries:null,viewQuery:Pe,declTNode:f,data:bn.slice().fill(null,St),bindingStartIndex:St,expandoStartIndex:Yt,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 le?le():le,pipeRegistry:"function"==typeof we?we():we,firstChild:null,schemas:Ve,consts:Gn,incompleteFirstPass:!1}}function Hh(p,f,k){if(Rr(p)){const Q=k===Jn.ShadowDom;return p.selectRootElement(f,Q)}let Y="string"==typeof f?p.querySelector(f):f;return Y.textContent="",Y}function bg(p,f,k,Y){const Q=R0(f);null===k?Q.push(Y):(Q.push(k),p.firstCreatePass&&sh(p).push(Y,Q.length-1))}function Bs(p,f,k){for(let Y in p)if(p.hasOwnProperty(Y)){k=null===k?{}:k;const Q=p[Y];k.hasOwnProperty(Y)?k[Y].push(f,Q):k[Y]=[f,Q]}return k}function N1(p,f,k,Y,Q,le,we,Pe){const Ve=ke(f,k);let St,ct=f.inputs;!Pe&&null!=ct&&(St=ct[Y])?(Js(p,k,St,Y,Q),zs(f)&&function E0(p,f){const k=Dt(f,p);16&k[2]||(k[2]|=64)}(k,f.index)):3&f.type?(Y=function rh(p){return"class"===p?"className":"for"===p?"htmlFor":"formaction"===p?"formAction":"innerHtml"===p?"innerHTML":"readonly"===p?"readOnly":"tabindex"===p?"tabIndex":p}(Y),Q=null!=we?we(Q,f.value||"",Y):Q,Rr(le)?le.setProperty(Ve,Y,Q):Me(Y)||(Ve.setProperty?Ve.setProperty(Y,Q):Ve[Y]=Q)):f.type}function Lo(p,f,k,Y){let Q=!1;if(pa()){const le=function D0(p,f,k){const Y=p.directiveRegistry;let Q=null;if(Y)for(let le=0;le<Y.length;le++){const we=Y[le];ma(k,we.selectors,!1)&&(Q||(Q=[]),wn(Ee(k,f),p,we.type),yr(we)?(Bh(p,k),Q.unshift(we)):Q.push(we))}return Q}(p,f,k),we=null===Y?null:{"":-1};if(null!==le){Q=!0,I0(k,p.data.length,le.length);for(let St=0;St<le.length;St++){const Yt=le[St];Yt.providersResolver&&Yt.providersResolver(Yt)}let Pe=!1,Ve=!1,ct=Nh(p,f,le.length,null);for(let St=0;St<le.length;St++){const Yt=le[St];k.mergedAttrs=Fe(k.mergedAttrs,Yt.hostAttrs),F2(p,k,f,ct,Yt),jh(ct,Yt,we),null!==Yt.contentQueries&&(k.flags|=8),(null!==Yt.hostBindings||null!==Yt.hostAttrs||0!==Yt.hostVars)&&(k.flags|=128);const bn=Yt.type.prototype;!Pe&&(bn.ngOnChanges||bn.ngOnInit||bn.ngDoCheck)&&((p.preOrderHooks||(p.preOrderHooks=[])).push(k.index),Pe=!0),!Ve&&(bn.ngOnChanges||bn.ngDoCheck)&&((p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(k.index),Ve=!0),ct++}!function yg(p,f){const k=f.directiveStart,Y=f.directiveEnd,Q=p.data,le=f.attrs,we=[];let Pe=null,Ve=null;for(let ct=k;ct<Y;ct++){const St=Q[ct],Yt=St.inputs,bn=null===le||Bo(f)?null:ac(Yt,le);we.push(bn),Pe=Bs(Yt,ct,Pe),Ve=Bs(St.outputs,ct,Ve)}null!==Pe&&(Pe.hasOwnProperty("class")&&(f.flags|=16),Pe.hasOwnProperty("style")&&(f.flags|=32)),f.initialInputs=we,f.inputs=Pe,f.outputs=Ve}(p,k)}we&&function D6(p,f,k){if(f){const Y=p.localNames=[];for(let Q=0;Q<f.length;Q+=2){const le=k[f[Q+1]];if(null==le)throw new R(-301,!1);Y.push(f[Q],le)}}}(k,Y,we)}return k.mergedAttrs=Fe(k.mergedAttrs,k.attrs),Q}function Df(p,f,k,Y,Q,le){const we=le.hostBindings;if(we){let Pe=p.hostBindingOpCodes;null===Pe&&(Pe=p.hostBindingOpCodes=[]);const Ve=~f.index;(function Wd(p){let f=p.length;for(;f>0;){const k=p[--f];if("number"==typeof k&&k<0)return k}return 0})(Pe)!=Ve&&Pe.push(Ve),Pe.push(Y,Q,we)}}function xd(p,f){null!==p.hostBindings&&p.hostBindings(1,f)}function Bh(p,f){f.flags|=2,(p.components||(p.components=[])).push(f.index)}function jh(p,f,k){if(k){if(f.exportAs)for(let Y=0;Y<f.exportAs.length;Y++)k[f.exportAs[Y]]=p;yr(f)&&(k[""]=p)}}function I0(p,f,k){p.flags|=1,p.directiveStart=f,p.directiveEnd=f+k,p.providerIndexes=f}function F2(p,f,k,Y,Q){p.data[Y]=Q;const le=Q.factory||(Q.factory=Pt(Q.type)),we=new Ji(le,yr(Q),null);p.blueprint[Y]=we,k[Y]=we,Df(p,f,0,Y,Nh(p,k,Q.hostVars,lo),Q)}function A0(p,f,k){const Y=ke(f,p),Q=ih(k),le=p[10],we=v3(p,Rh(p,Q,null,k.onPush?64:16,Y,f,le,le.createRenderer(Y,k),null,null));p[f.index]=we}function Bc(p,f,k,Y,Q,le){const we=ke(p,f);m3(f[11],we,le,p.value,k,Y,Q)}function m3(p,f,k,Y,Q,le,we){if(null==le)Rr(p)?p.removeAttribute(f,Q,k):f.removeAttribute(Q);else{const Pe=null==we?S(le):we(le,Y||"",Q);Rr(p)?p.setAttribute(f,Q,Pe,k):k?f.setAttributeNS(k,Q,Pe):f.setAttribute(Q,Pe)}}function If(p,f,k,Y,Q,le){const we=le[f];if(null!==we){const Pe=Y.setInput;for(let Ve=0;Ve<we.length;){const ct=we[Ve++],St=we[Ve++],Yt=we[Ve++];null!==Pe?Y.setInput(k,Yt,ct,St):k[St]=Yt}}}function ac(p,f){let k=null,Y=0;for(;Y<f.length;){const Q=f[Y];if(0!==Q)if(5!==Q){if("number"==typeof Q)break;p.hasOwnProperty(Q)&&(null===k&&(k=[]),k.push(Q,p[Q],f[Y+1])),Y+=2}else Y+=2;else Y+=4}return k}function b4(p,f,k,Y){return new Array(p,!0,!1,f,null,0,Y,k,null,null)}function P0(p,f){const k=Dt(f,p);if(ci(k)){const Y=k[1];80&k[2]?nh(Y,k,Y.template,k[8]):k[5]>0&&H3(k)}}function H3(p){for(let Y=i3(p);null!==Y;Y=I3(Y))for(let Q=10;Q<Y.length;Q++){const le=Y[Q];if(1024&le[2]){const we=le[1];nh(we,le,we.template,le[8])}else le[5]>0&&H3(le)}const k=p[1].components;if(null!==k)for(let Y=0;Y<k.length;Y++){const Q=Dt(k[Y],p);ci(Q)&&Q[5]>0&&H3(Q)}}function v1(p,f){const k=Dt(f,p),Y=k[1];(function z0(p,f){for(let k=f.length;k<p.blueprint.length;k++)f.push(p.blueprint[k])})(Y,k),th(Y,k,k[8])}function v3(p,f){return p[13]?p[14][4]=f:p[13]=f,p[14]=f,f}function Uu(p){for(;p;){p[2]|=64;const f=zu(p);if(yo(p)&&!f)return p;p=f}return null}function Zp(p){for(let f=0;f<p.components.length;f++){const k=p.components[f],Y=i4(k),Q=Y[1];_u(Q,Y,Q.template,k)}}function bu(p,f,k){const Y=f[10];Y.begin&&Y.begin();try{nh(p,f,p.template,k)}catch(Q){throw yu(f,Q),Q}finally{Y.end&&Y.end()}}function Fh(p){Zp(p[8])}function y4(p,f,k){Fl(0),f(p,k)}const Vh=$p;function R0(p){return p[7]||(p[7]=[])}function sh(p){return p.cleanup||(p.cleanup=[])}function Jp(p,f,k){return(null===p||yr(p))&&(k=function Nt(p){for(;Array.isArray(p);){if("object"==typeof p[1])return p;p=p[0]}return null}(k[f.index])),k[11]}function yu(p,f){const k=p[9],Y=k?k.get(R1,null):null;Y&&Y.handleError(f)}function Js(p,f,k,Y,Q){for(let le=0;le<k.length;){const we=k[le++],Pe=k[le++],Ve=f[we],ct=p.data[we];null!==ct.setInput?ct.setInput(Ve,Q,Y,Pe):Ve[Pe]=Q}}function _2(p,f,k){const Y=ze(f,p);xa(p[11],Y,k)}function _s(p,f,k){let Y=k?p.styles:null,Q=k?p.classes:null,le=0;if(null!==f)for(let we=0;we<f.length;we++){const Pe=f[we];if("number"==typeof Pe)le=Pe;else if(1==le)Q=y(Q,Pe);else if(2==le){Y=y(Y,Pe+": "+f[++we]+";")}}k?p.styles=Y:p.stylesWithoutHost=Y,k?p.classes=Q:p.classesWithoutHost=Q}const Qp=new to("INJECTOR",-1);class Uh{get(f,k=T1){if(k===T1){const Y=new Error(`NullInjectorError: No provider for ${v(f)}!`);throw Y.name="NullInjectorError",Y}return k}}const _3=new to("Set Injector scope."),qd={},V2={};let j3;function H0(){return void 0===j3&&(j3=new Uh),j3}function b3(p,f=null,k=null,Y){const Q=y3(p,f,k,Y);return Q._resolveInjectorDefTypes(),Q}function y3(p,f=null,k=null,Y){return new $d(p,k,f||H0(),Y)}class $d{constructor(f,k,Y,Q=null){this.parent=Y,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const le=[];k&&Ld(k,Pe=>this.processProvider(Pe,f,k)),Ld([f],Pe=>this.processInjectorType(Pe,[],le)),this.records.set(Qp,Of(void 0,this));const we=this.records.get(_3);this.scope=null!=we?we.value:null,this.source=Q||("object"==typeof f?null:v(f))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(f=>f.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(f,k=T1,Y=yt.Default){this.assertNotDestroyed();const Q=Iu(this),le=xt(void 0);try{if(!(Y&yt.SkipSelf)){let Pe=this.records.get(f);if(void 0===Pe){const Ve=function gc(p){return"function"==typeof p||"object"==typeof p&&p instanceof to}(f)&&yn(f);Pe=Ve&&this.injectableDefInScope(Ve)?Of(b2(f),qd):null,this.records.set(f,Pe)}if(null!=Pe)return this.hydrate(f,Pe)}const we=Y&yt.Self?H0():this.parent;return k=Y&yt.Optional&&k===T1?null:k,we.get(f,k)}catch(we){if("NullInjectorError"===we.name){if((we[Ql]=we[Ql]||[]).unshift(v(f)),Q)throw we;return Au(we,f,"R3InjectorError",this.source)}throw we}finally{xt(le),Iu(Q)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(f=>this.get(f))}toString(){const f=[];return this.records.forEach((Y,Q)=>f.push(v(Q))),`R3Injector[${f.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processInjectorType(f,k,Y){if(!(f=_(f)))return!1;let Q=Xn(f);const le=null==Q&&f.ngModule||void 0,we=void 0===le?f:le,Pe=-1!==Y.indexOf(we);if(void 0!==le&&(Q=Xn(le)),null==Q)return!1;if(null!=Q.imports&&!Pe){let St;Y.push(we);try{Ld(Q.imports,Yt=>{this.processInjectorType(Yt,k,Y)&&(void 0===St&&(St=[]),St.push(Yt))})}finally{}if(void 0!==St)for(let Yt=0;Yt<St.length;Yt++){const{ngModule:bn,providers:Gn}=St[Yt];Ld(Gn,wi=>this.processProvider(wi,bn,Gn||$n))}}this.injectorDefTypes.add(we);const Ve=Pt(we)||(()=>new we);this.records.set(we,Of(Ve,qd));const ct=Q.providers;if(null!=ct&&!Pe){const St=f;Ld(ct,Yt=>this.processProvider(Yt,St,ct))}return void 0!==le&&void 0!==f.providers}processProvider(f,k,Y){let Q=Wu(f=_(f))?f:_(f&&f.provide);const le=function ah(p,f,k){if(lh(p))return Of(void 0,p.useValue);return Of(Af(p,f,k),qd)}(f,k,Y);if(Wu(f)||!0!==f.multi){this.records.get(Q)}else{let we=this.records.get(Q);we||(we=Of(void 0,qd,!0),we.factory=()=>lu(we.multi),this.records.set(Q,we)),Q=f,we.multi.push(f)}this.records.set(Q,le)}hydrate(f,k){return k.value===qd&&(k.value=V2,k.value=k.factory()),"object"==typeof k.value&&k.value&&function Wh(p){return null!==p&&"object"==typeof p&&"function"==typeof p.ngOnDestroy}(k.value)&&this.onDestroy.add(k.value),k.value}injectableDefInScope(f){if(!f.providedIn)return!1;const k=_(f.providedIn);return"string"==typeof k?"any"===k||k===this.scope:this.injectorDefTypes.has(k)}}function b2(p){const f=yn(p),k=null!==f?f.factory:Pt(p);if(null!==k)return k;if(p instanceof to)throw new R(204,!1);if(p instanceof Function)return function F3(p){const f=p.length;if(f>0){Ua(f,"?");throw new R(204,!1)}const k=function oi(p){const f=p&&(p[gi]||p[pn]);if(f){const k=function Yn(p){if(p.hasOwnProperty("name"))return p.name;const f=(""+p).match(/^function\s*([^\s(]+)/);return null===f?"":f[1]}(p);return console.warn(`DEPRECATED: DI is instantiating a token "${k}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${k}" class.`),f}return null}(p);return null!==k?()=>k.factory(p):()=>new p}(p);throw new R(204,!1)}function Af(p,f,k){let Y;if(Wu(p)){const Q=_(p);return Pt(Q)||b2(Q)}if(lh(p))Y=()=>_(p.useValue);else if(function Cg(p){return!(!p||!p.useFactory)}(p))Y=()=>p.useFactory(...lu(p.deps||[]));else if(function e0(p){return!(!p||!p.useExisting)}(p))Y=()=>Ja(_(p.useExisting));else{const Q=_(p&&(p.useClass||p.provide));if(!function Yh(p){return!!p.deps}(p))return Pt(Q)||b2(Q);Y=()=>new Q(...lu(p.deps))}return Y}function Of(p,f,k=!1){return{factory:p,value:f,multi:k?[]:void 0}}function lh(p){return null!==p&&"object"==typeof p&&Q2 in p}function Wu(p){return"function"==typeof p}class $a{static create(f,k){var Y;if(Array.isArray(f))return b3({name:""},k,f,"");{const Q=null!==(Y=f.name)&&void 0!==Y?Y:"";return b3({name:Q},f.parent,f.providers,Q)}}}$a.THROW_IF_NOT_FOUND=T1,$a.NULL=new Uh,$a.\u0275prov=Sn({token:$a,providedIn:"any",factory:()=>Ja(Qp)}),$a.__NG_ELEMENT_ID__=-1;function M4(p,f,k,Y,Q,le){const we=k[1];k[20]=p;const Ve=z3(we,20,2,"#host",null),ct=Ve.mergedAttrs=f.hostAttrs;null!==ct&&(_s(Ve,ct,!0),null!==p&&(Ks(Q,p,ct),null!==Ve.classes&&dd(Q,p,Ve.classes),null!==Ve.styles&&cd(Q,p,Ve.styles)));const St=Y.createRenderer(p,f),Yt=Rh(k,ih(f),null,f.onPush?64:16,k[20],Ve,Y,St,le||null,null);return we.firstCreatePass&&(wn(Ee(Ve,k),we,f.type),Bh(we,Ve),I0(Ve,k.length,1)),v3(k,Yt),k[20]=Yt}function Kh(p,f,k,Y,Q){const le=k[1],we=function g3(p,f,k){const Y=Gs();p.firstCreatePass&&(k.providersResolver&&k.providersResolver(k),F2(p,Y,f,Nh(p,f,1,null),k));const Q=ga(f,p,Y.directiveStart,Y);os(Q,f);const le=ke(Y,f);return le&&os(le,f),Q}(le,k,f);if(Y.components.push(we),p[8]=we,Q&&Q.forEach(Ve=>Ve(we,f)),f.contentQueries){const Ve=Gs();f.contentQueries(1,we,Ve.directiveStart)}const Pe=Gs();if(le.firstCreatePass&&(null!==f.hostBindings||null!==f.hostAttrs)){Wn(Pe.index);Df(k[1],Pe,0,Pe.directiveStart,Pe.directiveEnd,f),xd(f,we)}return we}function x3(p,f){return{components:[],scheduler:p||Re,clean:Vh,playerHandler:f||null,flags:0}}function qu(p,f){qs(i4(p)[1],Gs())}function O6(p){return Object.getPrototypeOf(p.prototype).constructor}function V0(p){let f=O6(p.type),k=!0;const Y=[p];for(;f;){let Q;if(yr(p))Q=f.\u0275cmp||f.\u0275dir;else{if(f.\u0275cmp){throw new R(903,"")}Q=f.\u0275dir}if(Q){if(k){Y.push(Q);const we=p;we.inputs=U0(p.inputs),we.declaredInputs=U0(p.declaredInputs),we.outputs=U0(p.outputs);const Pe=Q.hostBindings;Pe&&r0(p,Pe);const Ve=Q.viewQuery,ct=Q.contentQueries;if(Ve&&Zh(p,Ve),ct&&Y0(p,ct),h(p.inputs,Q.inputs),h(p.declaredInputs,Q.declaredInputs),h(p.outputs,Q.outputs),yr(Q)&&Q.data.animation){const St=p.data;St.animation=(St.animation||[]).concat(Q.data.animation)}}const le=Q.features;if(le)for(let we=0;we<le.length;we++){const Pe=le[we];Pe&&Pe.ngInherit&&Pe(p),Pe===V0&&(k=!1)}}f=Object.getPrototypeOf(f)}!function P6(p){let f=0,k=null;for(let Y=p.length-1;Y>=0;Y--){const Q=p[Y];Q.hostVars=f+=Q.hostVars,Q.hostAttrs=Fe(Q.hostAttrs,k=Fe(k,Q.hostAttrs))}}(Y)}function U0(p){return p===pi?{}:p===$n?[]:p}function Zh(p,f){const k=p.viewQuery;p.viewQuery=k?(Y,Q)=>{f(Y,Q),k(Y,Q)}:f}function Y0(p,f){const k=p.contentQueries;p.contentQueries=k?(Y,Q,le)=>{f(Y,Q,le),k(Y,Q,le)}:f}function r0(p,f){const k=p.hostBindings;p.hostBindings=k?(Y,Q)=>{f(Y,Q),k(Y,Q)}:f}const W0=["providersResolver"],Xh=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Mg(p){let k,f=O6(p.type);k=yr(p)?f.\u0275cmp:f.\u0275dir;const Y=p;for(const Q of W0)Y[Q]=k[Q];if(yr(k))for(const Q of Xh)Y[Q]=k[Q]}let Hf=null;function dh(){if(!Hf){const p=Ki.Symbol;if(p&&p.iterator)Hf=p.iterator;else{const f=Object.getOwnPropertyNames(Map.prototype);for(let k=0;k<f.length;++k){const Y=f[k];"entries"!==Y&&"size"!==Y&&Map.prototype[Y]===Map.prototype.entries&&(Hf=Y)}}}return Hf}function T4(p){return!!U2(p)&&(Array.isArray(p)||!(p instanceof Map)&&dh()in p)}function U2(p){return null!==p&&("function"==typeof p||"object"==typeof p)}function C3(p,f,k){return p[f]=k}function Kd(p,f){return p[f]}function Q1(p,f,k){const Y=p[f];return!Object.is(Y,k)&&(p[f]=k,!0)}function w3(p,f,k,Y){const Q=Q1(p,f,k);return Q1(p,f+1,Y)||Q}function y2(p,f,k,Y,Q){const le=w3(p,f,k,Y);return Q1(p,f+2,Q)||le}function t1(p,f,k,Y,Q,le){const we=w3(p,f,k,Y);return w3(p,f+2,Q,le)||we}function M3(p,f,k,Y){const Q=bi();if(Q1(Q,vl(),f)){qo();Bc(kn(),Q,p,f,k,Y)}return M3}function xu(p,f){let k=!1,Y=Ll();for(let le=1;le<f.length;le+=2)k=Q1(p,Y++,f[le])||k;if(il(Y),!k)return lo;let Q=f[0];for(let le=1;le<f.length;le+=2)Q+=S(f[le])+f[le+1];return Q}function V3(p,f,k,Y){return Q1(p,vl(),k)?f+S(k)+Y:lo}function x2(p,f,k,Y,Q,le){const Pe=w3(p,Ll(),k,Q);return Da(2),Pe?f+S(k)+Y+S(Q)+le:lo}function Cd(p,f,k,Y,Q,le,we,Pe){const ct=y2(p,Ll(),k,Q,we);return Da(3),ct?f+S(k)+Y+S(Q)+le+S(we)+Pe:lo}function U3(p,f,k,Y,Q,le,we,Pe,Ve,ct){const Yt=t1(p,Ll(),k,Q,we,Ve);return Da(4),Yt?f+S(k)+Y+S(Q)+le+S(we)+Pe+S(Ve)+ct:lo}function uh(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt){const bn=Ll();let Gn=t1(p,bn,k,Q,we,Ve);return Gn=Q1(p,bn+4,St)||Gn,Da(5),Gn?f+S(k)+Y+S(Q)+le+S(we)+Pe+S(Ve)+ct+S(St)+Yt:lo}function Qh(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn){const wi=Ll();let ur=t1(p,wi,k,Q,we,Ve);return ur=w3(p,wi+4,St,bn)||ur,Da(6),ur?f+S(k)+Y+S(Q)+le+S(we)+Pe+S(Ve)+ct+S(St)+Yt+S(bn)+Gn:lo}function mc(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur){const Er=Ll();let co=t1(p,Er,k,Q,we,Ve);return co=y2(p,Er+4,St,bn,wi)||co,Da(7),co?f+S(k)+Y+S(Q)+le+S(we)+Pe+S(Ve)+ct+S(St)+Yt+S(bn)+Gn+S(wi)+ur:lo}function S4(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co){const zi=Ll();let is=t1(p,zi,k,Q,we,Ve);return is=t1(p,zi+4,St,bn,wi,Er)||is,Da(8),is?f+S(k)+Y+S(Q)+le+S(we)+Pe+S(Ve)+ct+S(St)+Yt+S(bn)+Gn+S(wi)+ur+S(Er)+co:lo}function q0(p,f,k,Y,Q,le){const we=bi(),Pe=V3(we,f,k,Y);if(Pe!==lo){Bc(kn(),we,p,Pe,Q,le)}return q0}function $0(p,f,k,Y,Q,le,we,Pe){const Ve=bi(),ct=x2(Ve,f,k,Y,Q,le);if(ct!==lo){Bc(kn(),Ve,p,ct,we,Pe)}return $0}function hh(p,f,k,Y,Q,le,we,Pe,Ve,ct){const St=bi(),Yt=Cd(St,f,k,Y,Q,le,we,Pe);if(Yt!==lo){Bc(kn(),St,p,Yt,Ve,ct)}return hh}function fh(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt){const bn=bi(),Gn=U3(bn,f,k,Y,Q,le,we,Pe,Ve,ct);if(Gn!==lo){Bc(kn(),bn,p,Gn,St,Yt)}return fh}function ph(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn){const wi=bi(),ur=uh(wi,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt);if(ur!==lo){Bc(kn(),wi,p,ur,bn,Gn)}return ph}function Bf(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur){const Er=bi(),co=Qh(Er,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn);if(co!==lo){Bc(kn(),Er,p,co,wi,ur)}return Bf}function Y3(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co){const zi=bi(),is=mc(zi,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur);if(is!==lo){Bc(kn(),zi,p,is,Er,co)}return Y3}function K0(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co,zi,is){const Ba=bi(),gl=S4(Ba,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co);if(gl!==lo){Bc(kn(),Ba,p,gl,zi,is)}return K0}function k4(p,f,k,Y){const Q=bi(),le=xu(Q,f);if(le!==lo){Bc(kn(),Q,p,le,k,Y)}return k4}function z6(p,f,k,Y,Q,le,we,Pe){const Ve=bi(),ct=qo(),St=p+20,Yt=ct.firstCreatePass?function Sg(p,f,k,Y,Q,le,we,Pe,Ve){const ct=f.consts,St=z3(f,p,4,we||null,xr(ct,Pe));Lo(f,k,St,xr(ct,Ve)),qs(f,St);const Yt=St.tViews=Sf(2,St,Y,Q,le,f.directiveRegistry,f.pipeRegistry,null,f.schemas,ct);return null!==f.queries&&(f.queries.template(f,St),Yt.queries=f.queries.embeddedTView(St)),St}(St,ct,Ve,f,k,Y,Q,le,we):ct.data[St];Fs(Yt,!1);const bn=Ve[11].createComment("");q1(ct,Ve,bn,Yt),os(bn,Ve),v3(Ve,Ve[St]=b4(bn,Ve,bn,Yt)),bo(Yt)&&N3(ct,Ve,Yt),null!=we&&S0(Ve,Yt,Pe)}function ef(p){return zt(function c1(){return Xe.lFrame.contextLView}(),20+p)}const R6={\u0275\u0275defineInjectable:Sn,\u0275\u0275defineInjector:cn,\u0275\u0275inject:Ja,\u0275\u0275invalidFactoryDep:D2,resolveForwardRef:_};function N6(p,f){let k=null,Y=null;p.hasOwnProperty(gi)||Object.defineProperty(p,gi,{get:()=>(null===k&&(k=Va().compileInjectable(R6,`ng:///${p.name}/\u0275prov.js`,function kg(p,f){const k=f||{providedIn:null},Y={name:p.name,type:p,typeArgumentCount:0,providedIn:k.providedIn};return(yp(k)||X0(k))&&void 0!==k.deps&&(Y.deps=W1(k.deps)),yp(k)?Y.useClass=k.useClass:function jf(p){return o0 in p}(k)?Y.useValue=k.useValue:X0(k)?Y.useFactory=k.useFactory:function H6(p){return void 0!==p.useExisting}(k)&&(Y.useExisting=k.useExisting),Y}(p,f))),k)}),p.hasOwnProperty(mi)||Object.defineProperty(p,mi,{get:()=>{if(null===Y){const Q=Va();Y=Q.compileFactory(R6,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p,typeArgumentCount:0,deps:S1(p),target:Q.FactoryTarget.Injectable})}return Y},configurable:!0})}const o0=o({provide:String,useValue:o});function yp(p){return void 0!==p.useClass}function X0(p){return void 0!==p.useFactory}const B6=Ac("Injectable",void 0,void 0,void 0,(p,f)=>N6(p,f));function s0(p){if(p.length>1){return" ("+function W3(p){const f=[];for(let k=0;k<p.length;++k){if(f.indexOf(p[k])>-1)return f.push(p[k]),f;f.push(p[k])}return f}(p.slice().reverse()).map(Y=>v(Y.token)).join(" -> ")+")"}return""}function J0(p,f,k,Y){const Q=[f],le=k(Q),we=Y?function vs(p,f){const k=`${p} caused by: ${f instanceof Error?f.message:f}`,Y=Error(k);return Y[_d]=f,Y}(le,Y):Error(le);return we.addKey=j6,we.keys=Q,we.injectors=[p],we.constructResolvingMessage=k,we[_d]=Y,we}function j6(p,f){this.injectors.push(p),this.keys.push(f),this.message=this.constructResolvingMessage(this.keys)}function e2(p,f){const k=[];for(let Y=0,Q=f.length;Y<Q;Y++){const le=f[Y];le&&0!=le.length?k.push(le.map(v).join(" ")):k.push("?")}return Error("Cannot resolve all parameters for '"+v(p)+"'("+k.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+v(p)+"' is decorated with Injectable.")}function Eg(p,f){return Error(`Cannot mix multi providers and regular providers, got: ${p} ${f}`)}class G3{constructor(f,k){if(this.token=f,this.id=k,!f)throw new Error("Token must be defined!");this.displayName=v(this.token)}static get(f){return tf.get(_(f))}static get numberOfKeys(){return tf.numberOfKeys}}const tf=new class Dg{constructor(){this._allKeys=new Map}get(f){if(f instanceof G3)return f;if(this._allKeys.has(f))return this._allKeys.get(f);const k=new G3(f,G3.numberOfKeys);return this._allKeys.set(f,k),k}get numberOfKeys(){return this._allKeys.size}};const t6=new class Ig{constructor(f){this.reflectionCapabilities=f}updateCapabilities(f){this.reflectionCapabilities=f}factory(f){return this.reflectionCapabilities.factory(f)}parameters(f){return this.reflectionCapabilities.parameters(f)}annotations(f){return this.reflectionCapabilities.annotations(f)}propMetadata(f){return this.reflectionCapabilities.propMetadata(f)}hasLifecycleHook(f,k){return this.reflectionCapabilities.hasLifecycleHook(f,k)}getter(f){return this.reflectionCapabilities.getter(f)}setter(f){return this.reflectionCapabilities.setter(f)}method(f){return this.reflectionCapabilities.method(f)}importUri(f){return this.reflectionCapabilities.importUri(f)}resourceUri(f){return this.reflectionCapabilities.resourceUri(f)}resolveIdentifier(f,k,Y,Q){return this.reflectionCapabilities.resolveIdentifier(f,k,Y,Q)}resolveEnum(f,k){return this.reflectionCapabilities.resolveEnum(f,k)}}(new U1);class V{constructor(f,k,Y){this.key=f,this.optional=k,this.visibility=Y}static fromKey(f){return new V(f,!1,null)}}const ee=[];class Ce{constructor(f,k,Y){this.key=f,this.resolvedFactories=k,this.multiProvider=Y,this.resolvedFactory=this.resolvedFactories[0]}}class Ye{constructor(f,k){this.factory=f,this.dependencies=k}}function mt(p){let f,k;if(p.useClass){const Y=_(p.useClass);f=t6.factory(Y),k=Mi(Y)}else p.useExisting?(f=Y=>Y,k=[V.fromKey(G3.get(p.useExisting))]):p.useFactory?(f=p.useFactory,k=function Ii(p,f){if(f){const k=f.map(Y=>[Y]);return f.map(Y=>Ni(p,Y,k))}return Mi(p)}(p.useFactory,p.deps)):(f=()=>p.useValue,k=ee);return new Ye(f,k)}function Rt(p){return new Ce(G3.get(p.provide),[mt(p)],p.multi||!1)}function en(p){const Y=function Tn(p,f){for(let k=0;k<p.length;k++){const Y=p[k],Q=f.get(Y.key.id);if(Q){if(Y.multiProvider!==Q.multiProvider)throw Eg(Q,Y);if(Y.multiProvider)for(let le=0;le<Y.resolvedFactories.length;le++)Q.resolvedFactories.push(Y.resolvedFactories[le]);else f.set(Y.key.id,Y)}else{let le;le=Y.multiProvider?new Ce(Y.key,Y.resolvedFactories.slice(),Y.multiProvider):Y,f.set(Y.key.id,le)}}return f}(Fn(p,[]).map(Rt),new Map);return Array.from(Y.values())}function Fn(p,f){return p.forEach(k=>{if(k instanceof w1)f.push({provide:k,useClass:k});else if(k&&"object"==typeof k&&void 0!==k.provide)f.push(k);else{if(!Array.isArray(k))throw function Ff(p){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${p}`)}(k);Fn(k,f)}}),f}function Mi(p){const f=t6.parameters(p);if(!f)return[];if(f.some(k=>null==k))throw e2(p,f);return f.map(k=>Ni(p,k,f))}function Ni(p,f,k){let Y=null,Q=!1;if(!Array.isArray(f))return vr(f instanceof Vl?f.token:f,Q,null);let le=null;for(let we=0;we<f.length;++we){const Pe=f[we];Pe instanceof w1?Y=Pe:Pe instanceof Vl?Y=Pe.token:Pe instanceof wc?Q=!0:Pe instanceof bl||Pe instanceof As?le=Pe:Pe instanceof to&&(Y=Pe)}if(Y=_(Y),null!=Y)return vr(Y,Q,le);throw e2(p,k)}function vr(p,f,k){return new V(G3.get(p),f,k)}const J={};class b{static resolve(f){return en(f)}static resolveAndCreate(f,k){const Y=b.resolve(f);return b.fromResolvedProviders(Y,k)}static fromResolvedProviders(f,k){return new j(f,k)}}class j{constructor(f,k){this._constructionCounter=0,this._providers=f,this.parent=k||null;const Y=f.length;this.keyIds=[],this.objs=[];for(let Q=0;Q<Y;Q++)this.keyIds[Q]=f[Q].key.id,this.objs[Q]=J}get(f,k=T1){return this._getByKey(G3.get(f),null,k)}resolveAndCreateChild(f){const k=b.resolve(f);return this.createChildFromResolved(k)}createChildFromResolved(f){const k=new j(f);return k.parent=this,k}resolveAndInstantiate(f){return this.instantiateResolved(b.resolve([f])[0])}instantiateResolved(f){return this._instantiateProvider(f)}getProviderAtIndex(f){if(f<0||f>=this._providers.length)throw function e6(p){return Error(`Index ${p} is out-of-bounds.`)}(f);return this._providers[f]}_new(f){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function Lg(p,f){return J0(p,f,function(k){return`Cannot instantiate cyclic dependency!${s0(k)}`})}(this,f.key);return this._instantiateProvider(f)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(f){if(f.multiProvider){const k=[];for(let Y=0;Y<f.resolvedFactories.length;++Y)k[Y]=this._instantiate(f,f.resolvedFactories[Y]);return k}return this._instantiate(f,f.resolvedFactories[0])}_instantiate(f,k){const Y=k.factory;let Q,le;try{Q=k.dependencies.map(we=>this._getByReflectiveDependency(we))}catch(we){throw we.addKey&&we.addKey(this,f.key),we}try{le=Y(...Q)}catch(we){throw function Q0(p,f,k,Y){return J0(p,Y,function(Q){const le=v(Q[0].token);return`${f.message}: Error during instantiation of ${le}!${s0(Q)}.`},f)}(this,we,we.stack,f.key)}return le}_getByReflectiveDependency(f){return this._getByKey(f.key,f.visibility,f.optional?null:T1)}_getByKey(f,k,Y){return f===j.INJECTOR_KEY?this:k instanceof bl?this._getByKeySelf(f,Y):this._getByKeyDefault(f,Y,k)}_getObjByKeyId(f){for(let k=0;k<this.keyIds.length;k++)if(this.keyIds[k]===f)return this.objs[k]===J&&(this.objs[k]=this._new(this._providers[k])),this.objs[k];return J}_throwOrNull(f,k){if(k!==T1)return k;throw function gh(p,f){return J0(p,f,function(k){return`No provider for ${v(k[0].token)}!${s0(k)}`})}(this,f)}_getByKeySelf(f,k){const Y=this._getObjByKeyId(f.id);return Y!==J?Y:this._throwOrNull(f,k)}_getByKeyDefault(f,k,Y){let Q;for(Q=Y instanceof As?this.parent:this;Q instanceof j;){const le=Q,we=le._getObjByKeyId(f.id);if(we!==J)return we;Q=le.parent}return null!==Q?Q.get(f.token,k):this._throwOrNull(f,k)}get displayName(){return`ReflectiveInjector(providers: [${function te(p,f){const k=[];for(let Y=0;Y<p._providers.length;++Y)k[Y]=f(p.getProviderAtIndex(Y));return k}(this,k=>' "'+k.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function fe(p,f=yt.Default){const k=bi();if(null===k)return Ja(p,f);return Wr(Gs(),k,_(p),f)}function ue(){throw new Error("invalid")}function je(p,f,k){const Y=bi();if(Q1(Y,vl(),f)){N1(qo(),kn(),Y,p,f,Y[11],k,!1)}return je}function nt(p,f,k,Y,Q){const we=Q?"class":"style";Js(p,k,f.inputs[we],we,Y)}function ei(p,f,k,Y){const Q=bi(),le=qo(),we=20+p,Pe=Q[11],Ve=Q[we]=za(Pe,f,function Ao(){return Xe.lFrame.currentNamespace}()),ct=le.firstCreatePass?function Un(p,f,k,Y,Q,le,we){const Pe=f.consts,ct=z3(f,p,2,Q,xr(Pe,le));return Lo(f,k,ct,xr(Pe,we)),null!==ct.attrs&&_s(ct,ct.attrs,!1),null!==ct.mergedAttrs&&_s(ct,ct.mergedAttrs,!0),null!==f.queries&&f.queries.elementStart(f,ct),ct}(we,le,Q,0,f,k,Y):le.data[we];Fs(ct,!0);const St=ct.mergedAttrs;null!==St&&Ks(Pe,Ve,St);const Yt=ct.classes;null!==Yt&&dd(Pe,Ve,Yt);const bn=ct.styles;return null!==bn&&cd(Pe,Ve,bn),64!=(64&ct.flags)&&q1(le,Q,Ve,ct),0===function zr(){return Xe.lFrame.elementDepthCount}()&&os(Ve,Q),function io(){Xe.lFrame.elementDepthCount++}(),bo(ct)&&(N3(le,Q,ct),R3(le,ct,Q)),null!==Y&&S0(Q,ct),ei}function vi(){let p=Gs();Ro()?ml():(p=p.parent,Fs(p,!1));const f=p;!function $l(){Xe.lFrame.elementDepthCount--}();const k=qo();return k.firstCreatePass&&(qs(k,p),ra(p)&&k.queries.elementEnd(p)),null!=f.classesWithoutHost&&function xo(p){return 0!=(16&p.flags)}(f)&&nt(k,f,bi(),f.classesWithoutHost,!0),null!=f.stylesWithoutHost&&function Yo(p){return 0!=(32&p.flags)}(f)&&nt(k,f,bi(),f.stylesWithoutHost,!1),vi}function Gi(p,f,k,Y){return ei(p,f,k,Y),vi(),Gi}function jc(p,f,k){const Y=bi(),Q=qo(),le=p+20,we=Q.firstCreatePass?function Ta(p,f,k,Y,Q){const le=f.consts,we=xr(le,Y),Pe=z3(f,p,8,"ng-container",we);return null!==we&&_s(Pe,we,!0),Lo(f,k,Pe,xr(le,Q)),null!==f.queries&&f.queries.elementStart(f,Pe),Pe}(le,Q,Y,f,k):Q.data[le];Fs(we,!0);const Pe=Y[le]=Y[11].createComment("");return q1(Q,Y,Pe,we),os(Pe,Y),bo(we)&&(N3(Q,Y,we),R3(Q,we,Y)),null!=k&&S0(Y,we),jc}function wd(){let p=Gs();const f=qo();return Ro()?ml():(p=p.parent,Fs(p,!1)),f.firstCreatePass&&(qs(f,p),ra(p)&&f.queries.elementEnd(p)),wd}function Cu(p,f,k){return jc(p,f,k),wd(),Cu}function L4(){return bi()}function Y2(p){return!!p&&"function"==typeof p.then}function Zd(p){return!!p&&"function"==typeof p.subscribe}j.INJECTOR_KEY=G3.get($a);const q3=Zd;function wu(p,f,k,Y){const Q=bi(),le=qo(),we=Gs();return a0(le,Q,Q[11],we,p,f,!!k,Y),wu}function nf(p,f){const k=Gs(),Y=bi(),Q=qo();return a0(Q,Y,Jp(jl(Q.data),k,Y),k,p,f,!1),nf}function a0(p,f,k,Y,Q,le,we,Pe){const Ve=bo(Y),St=p.firstCreatePass&&sh(p),Yt=f[8],bn=R0(f);let Gn=!0;if(3&Y.type||Pe){const Er=ke(Y,f),co=Pe?Pe(Er):Er,zi=bn.length,is=Pe?Ba=>Pe(gt(Ba[Y.index])):Y.index;if(Rr(k)){let Ba=null;if(!Pe&&Ve&&(Ba=function Vf(p,f,k,Y){const Q=p.cleanup;if(null!=Q)for(let le=0;le<Q.length-1;le+=2){const we=Q[le];if(we===k&&Q[le+1]===Y){const Pe=f[7],Ve=Q[le+2];return Pe.length>Ve?Pe[Ve]:null}"string"==typeof we&&(le+=2)}return null}(p,f,Q,Y.index)),null!==Ba){(Ba.__ngLastListenerFn__||Ba).__ngNextListenerFn__=le,Ba.__ngLastListenerFn__=le,Gn=!1}else{le=F6(Y,f,Yt,le,!1);const gl=k.listen(co,Q,le);bn.push(le,gl),St&&St.push(Q,is,zi,zi+1)}}else le=F6(Y,f,Yt,le,!0),co.addEventListener(Q,le,we),bn.push(le),St&&St.push(Q,is,zi,we)}else le=F6(Y,f,Yt,le,!1);const wi=Y.outputs;let ur;if(Gn&&null!==wi&&(ur=wi[Q])){const Er=ur.length;if(Er)for(let co=0;co<Er;co+=2){const zi=ur[co],is=ur[co+1],_f=f[zi][is].subscribe(le),sg=bn.length;bn.push(le,_f),St&&St.push(Q,Y.index,sg,-(sg+1))}}}function rf(p,f,k,Y){try{return Yi(6,f,k),!1!==k(Y)}catch(Q){return yu(p,Q),!1}finally{Yi(7,f,k)}}function F6(p,f,k,Y,Q){return function le(we){if(we===Function)return Y;const Pe=2&p.flags?Dt(p.index,f):f;0==(32&f[2])&&Uu(Pe);let Ve=rf(f,k,Y,we),ct=le.__ngNextListenerFn__;for(;ct;)Ve=rf(f,k,ct,we)&&Ve,ct=ct.__ngNextListenerFn__;return Q&&!1===Ve&&(we.preventDefault(),we.returnValue=!1),Ve}}function O5(p=1){return es(p)}function Z8(p,f){let k=null;const Y=function qa(p){const f=p.attrs;if(null!=f){const k=f.indexOf(5);if(0==(1&k))return f[k+1]}return null}(p);for(let Q=0;Q<f.length;Q++){const le=f[Q];if("*"!==le){if(null===Y?ma(p,le,!0):Pl(Y,le))return Q}else k=Q}return k}function V6(p){const f=bi()[16][6];if(!f.projection){const k=p?p.length:1,Y=f.projection=Ua(k,null),Q=Y.slice();let le=f.child;for(;null!==le;){const we=p?Z8(le,p):0;null!==we&&(Q[we]?Q[we].projectionNext=le:Y[we]=le,Q[we]=le),le=le.next}}}function P5(p,f=0,k){const Y=bi(),Q=qo(),le=z3(Q,20+p,16,null,k||null);null===le.projection&&(le.projection=f),ml(),64!=(64&le.flags)&&function Ul(p,f,k){o3(f[11],0,f,k,cu(p,k,f),wa(k.parent||f[6],k,f))}(Q,Y,le)}function z5(p,f,k){return Ag(p,"",f,"",k),z5}function Ag(p,f,k,Y,Q){const le=bi(),we=V3(le,f,k,Y);if(we!==lo){N1(qo(),kn(),le,p,we,le[11],Q,!1)}return Ag}function X8(p,f,k,Y,Q,le,we){const Pe=bi(),Ve=x2(Pe,f,k,Y,Q,le);if(Ve!==lo){N1(qo(),kn(),Pe,p,Ve,Pe[11],we,!1)}return X8}function R5(p,f,k,Y,Q,le,we,Pe,Ve){const ct=bi(),St=Cd(ct,f,k,Y,Q,le,we,Pe);if(St!==lo){N1(qo(),kn(),ct,p,St,ct[11],Ve,!1)}return R5}function Wm(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){const Yt=bi(),bn=U3(Yt,f,k,Y,Q,le,we,Pe,Ve,ct);if(bn!==lo){N1(qo(),kn(),Yt,p,bn,Yt[11],St,!1)}return Wm}function fm(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn){const Gn=bi(),wi=uh(Gn,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt);if(wi!==lo){N1(qo(),kn(),Gn,p,wi,Gn[11],bn,!1)}return fm}function U6(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi){const ur=bi(),Er=Qh(ur,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn);if(Er!==lo){N1(qo(),kn(),ur,p,Er,ur[11],wi,!1)}return U6}function pm(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er){const co=bi(),zi=mc(co,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur);if(zi!==lo){N1(qo(),kn(),co,p,zi,co[11],Er,!1)}return pm}function Og(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co,zi){const is=bi(),Ba=S4(is,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co);if(Ba!==lo){N1(qo(),kn(),is,p,Ba,is[11],zi,!1)}return Og}function N5(p,f,k){const Y=bi(),Q=xu(Y,f);if(Q!==lo){N1(qo(),kn(),Y,p,Q,Y[11],k,!1)}return N5}function kv(p,f,k,Y,Q,le){let we=le?f.classBindings:f.styleBindings,Pe=Qc(we),Ve=sc(we);p[Y]=k;let St,ct=!1;if(Array.isArray(k)){const Yt=k;St=Yt[1],(null===St||ns(Yt,St)>0)&&(ct=!0)}else St=k;if(Q)if(0!==Ve){const bn=Qc(p[Pe+1]);p[Y+1]=mu(bn,Pe),0!==bn&&(p[bn+1]=kc(p[bn+1],Y)),p[Pe+1]=function h4(p,f){return 131071&p|f<<17}(p[Pe+1],Y)}else p[Y+1]=mu(Pe,0),0!==Pe&&(p[Pe+1]=kc(p[Pe+1],Y)),Pe=Y;else p[Y+1]=mu(Ve,0),0===Pe?Pe=Y:p[Ve+1]=kc(p[Ve+1],Y),Ve=Y;ct&&(p[Y+1]=vu(p[Y+1])),Q8(p,St,Y,!0,le),Q8(p,St,Y,!1,le),function J8(p,f,k,Y,Q){const le=Q?p.residualClasses:p.residualStyles;null!=le&&"string"==typeof f&&ns(le,f)>=0&&(k[Y+1]=yd(k[Y+1]))}(f,St,p,Y,le),we=mu(Pe,Ve),le?f.classBindings=we:f.styleBindings=we}function Q8(p,f,k,Y,Q){const le=p[k+1],we=null===f;let Pe=Y?Qc(le):sc(le),Ve=!1;for(;0!==Pe&&(!1===Ve||we);){const ct=p[Pe],St=p[Pe+1];n1(ct,f)&&(Ve=!0,p[Pe+1]=Y?yd(St):vu(St)),Pe=Y?Qc(St):sc(St)}Ve&&(p[k+1]=Y?vu(le):yd(le))}function n1(p,f){return null===p||null==f||(Array.isArray(p)?p[1]:p)===f||!(!Array.isArray(p)||"string"!=typeof f)&&ns(p,f)>=0}const _1={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function H5(p){return p.substring(_1.key,_1.keyEnd)}function B5(p){return p.substring(_1.value,_1.valueEnd)}function e7(p,f){const k=_1.textEnd;return k===f?-1:(f=_1.keyEnd=function t7(p,f,k){for(;f<k&&p.charCodeAt(f)>32;)f++;return f}(p,_1.key=f,k),Pg(p,f,k))}function gm(p,f){const k=_1.textEnd;let Y=_1.key=Pg(p,f,k);return k===Y?-1:(Y=_1.keyEnd=function n7(p,f,k){let Y;for(;f<k&&(45===(Y=p.charCodeAt(f))||95===Y||(-33&Y)>=65&&(-33&Y)<=90||Y>=48&&Y<=57);)f++;return f}(p,Y,k),Y=F5(p,Y,k,58),Y=_1.value=Pg(p,Y,k),Y=_1.valueEnd=function qm(p,f,k){let Y=-1,Q=-1,le=-1,we=f,Pe=we;for(;we<k;){const Ve=p.charCodeAt(we++);if(59===Ve)return Pe;34===Ve||39===Ve?Pe=we=V5(p,Ve,we,k):f===we-4&&85===le&&82===Q&&76===Y&&40===Ve?Pe=we=V5(p,41,we,k):Ve>32&&(Pe=we),le=Q,Q=Y,Y=-33&Ve}return Pe}(p,Y,k),F5(p,Y,k,59))}function vc(p){_1.key=0,_1.keyEnd=0,_1.value=0,_1.valueEnd=0,_1.textEnd=p.length}function Pg(p,f,k){for(;f<k&&p.charCodeAt(f)<=32;)f++;return f}function F5(p,f,k,Y){return(f=Pg(p,f,k))<k&&f++,f}function V5(p,f,k,Y){let Q=-1,le=k;for(;le<Y;){const we=p.charCodeAt(le++);if(we==f&&92!==Q)return le;Q=92==we&&92===Q?0:we}throw new Error}function $m(p,f,k){return of(p,f,k,!1),$m}function H1(p,f){return of(p,f,null,!0),H1}function Uf(p){sf(Zm,i7,p,!1)}function i7(p,f){for(let k=function Gm(p){return vc(p),gm(p,Pg(p,0,_1.textEnd))}(f);k>=0;k=gm(f,k))Zm(p,H5(f),B5(f))}function Km(p){sf(da,xp,p,!0)}function xp(p,f){for(let k=function j5(p){return vc(p),e7(p,Pg(p,0,_1.textEnd))}(f);k>=0;k=e7(f,k))da(p,H5(f),!0)}function of(p,f,k,Y){const Q=bi(),le=qo(),we=Da(2);if(le.firstUpdatePass&&U5(le,p,we,Y),f!==lo&&Q1(Q,we,f)){W5(le,le.data[un()],Q,Q[11],p,Q[we+1]=function a7(p,f){return null==p||("string"==typeof f?p+=f:"object"==typeof p&&(p=v(xl(p)))),p}(f,k),Y,we)}}function sf(p,f,k,Y){const Q=qo(),le=Da(2);Q.firstUpdatePass&&U5(Q,null,le,Y);const we=bi();if(k!==lo&&Q1(we,le,k)){const Pe=Q.data[un()];if(l0(Pe,Y)&&!r7(Q,le)){let Ve=Y?Pe.classesWithoutHost:Pe.stylesWithoutHost;null!==Ve&&(k=y(Ve,k||"")),nt(Q,Pe,we,k,Y)}else!function s7(p,f,k,Y,Q,le,we,Pe){Q===lo&&(Q=$n);let Ve=0,ct=0,St=0<Q.length?Q[0]:null,Yt=0<le.length?le[0]:null;for(;null!==St||null!==Yt;){const bn=Ve<Q.length?Q[Ve+1]:void 0,Gn=ct<le.length?le[ct+1]:void 0;let ur,wi=null;St===Yt?(Ve+=2,ct+=2,bn!==Gn&&(wi=Yt,ur=Gn)):null===Yt||null!==St&&St<Yt?(Ve+=2,wi=St):(ct+=2,wi=Yt,ur=Gn),null!==wi&&W5(p,f,k,Y,wi,ur,we,Pe),St=Ve<Q.length?Q[Ve]:null,Yt=ct<le.length?le[ct]:null}}(Q,Pe,we,we[11],we[le+1],we[le+1]=function Dv(p,f,k){if(null==k||""===k)return $n;const Y=[],Q=xl(k);if(Array.isArray(Q))for(let le=0;le<Q.length;le++)p(Y,Q[le],!0);else if("object"==typeof Q)for(const le in Q)Q.hasOwnProperty(le)&&p(Y,le,Q[le]);else"string"==typeof Q&&f(Y,Q);return Y}(p,f,k),Y,le)}}function r7(p,f){return f>=p.expandoStartIndex}function U5(p,f,k,Y){const Q=p.data;if(null===Q[k+1]){const le=Q[un()],we=r7(p,k);l0(le,Y)&&null===f&&!we&&(f=!1),f=function Y5(p,f,k,Y){const Q=jl(p);let le=Y?f.residualClasses:f.residualStyles;if(null===Q)0===(Y?f.classBindings:f.styleBindings)&&(k=mm(k=i1(null,p,f,k,Y),f.attrs,Y),le=null);else{const we=f.directiveStylingLast;if(-1===we||p[we]!==Q)if(k=i1(Q,p,f,k,Y),null===le){let Ve=function Ev(p,f,k){const Y=k?f.classBindings:f.styleBindings;if(0!==sc(Y))return p[Qc(Y)]}(p,f,Y);void 0!==Ve&&Array.isArray(Ve)&&(Ve=i1(null,p,f,Ve[1],Y),Ve=mm(Ve,f.attrs,Y),function o7(p,f,k,Y){const Q=k?f.classBindings:f.styleBindings;p[Qc(Q)]=Y}(p,f,Y,Ve))}else le=function Zo(p,f,k){let Y;const Q=f.directiveEnd;for(let le=1+f.directiveStylingLast;le<Q;le++){Y=mm(Y,p[le].hostAttrs,k)}return mm(Y,f.attrs,k)}(p,f,Y)}return void 0!==le&&(Y?f.residualClasses=le:f.residualStyles=le),k}(Q,le,f,Y),kv(Q,le,f,k,we,Y)}}function i1(p,f,k,Y,Q){let le=null;const we=k.directiveEnd;let Pe=k.directiveStylingLast;for(-1===Pe?Pe=k.directiveStart:Pe++;Pe<we&&(le=f[Pe],Y=mm(Y,le.hostAttrs,Q),le!==p);)Pe++;return null!==p&&(k.directiveStylingLast=Pe),Y}function mm(p,f,k){const Y=k?1:2;let Q=-1;if(null!==f)for(let le=0;le<f.length;le++){const we=f[le];"number"==typeof we?Q=we:Q===Y&&(Array.isArray(p)||(p=void 0===p?[]:["",p]),da(p,we,!!k||f[++le]))}return void 0===p?null:p}function Zm(p,f,k){da(p,f,xl(k))}function W5(p,f,k,Y,Q,le,we,Pe){if(!(3&f.type))return;const Ve=p.data,ct=Ve[Pe+1];if(!vm(K4(ct)?zg(Ve,f,k,Q,sc(ct),we):void 0)){vm(le)||$4(ct)&&(le=zg(Ve,null,k,Q,Pe,we));!function G4(p,f,k,Y,Q){const le=Rr(p);if(f)Q?le?p.addClass(k,Y):k.classList.add(Y):le?p.removeClass(k,Y):k.classList.remove(Y);else{let we=-1===Y.indexOf("-")?void 0:Ue.DashCase;if(null==Q)le?p.removeStyle(k,Y,we):k.style.removeProperty(Y);else{const Pe="string"==typeof Q&&Q.endsWith("!important");Pe&&(Q=Q.slice(0,-10),we|=Ue.Important),le?p.setStyle(k,Y,Q,we):k.style.setProperty(Y,Q,Pe?"important":"")}}}(Y,we,ze(un(),k),Q,le)}}function zg(p,f,k,Y,Q,le){const we=null===f;let Pe;for(;Q>0;){const Ve=p[Q],ct=Array.isArray(Ve),St=ct?Ve[1]:Ve,Yt=null===St;let bn=k[Q+1];bn===lo&&(bn=Yt?$n:void 0);let Gn=Yt?Ed(bn,Y):St===Y?bn:void 0;if(ct&&!vm(Gn)&&(Gn=Ed(Ve,Y)),vm(Gn)&&(Pe=Gn,we))return Pe;const wi=p[Q+1];Q=we?Qc(wi):sc(wi)}if(null!==f){let Ve=le?f.residualClasses:f.residualStyles;null!=Ve&&(Pe=Ed(Ve,Y))}return Pe}function vm(p){return void 0!==p}function l0(p,f){return 0!=(p.flags&(f?16:32))}function G5(p,f=""){const k=bi(),Y=qo(),Q=p+20,le=Y.firstCreatePass?z3(Y,Q,1,f,null):Y.data[Q],we=k[Q]=ua(k[11],f);q1(Y,k,we,le),Fs(le,!1)}function _m(p){return Xm("",p,""),_m}function Xm(p,f,k){const Y=bi(),Q=V3(Y,p,f,k);return Q!==lo&&_2(Y,un(),Q),Xm}function q5(p,f,k,Y,Q){const le=bi(),we=x2(le,p,f,k,Y,Q);return we!==lo&&_2(le,un(),we),q5}function $5(p,f,k,Y,Q,le,we){const Pe=bi(),Ve=Cd(Pe,p,f,k,Y,Q,le,we);return Ve!==lo&&_2(Pe,un(),Ve),$5}function W2(p,f,k,Y,Q,le,we,Pe,Ve){const ct=bi(),St=U3(ct,p,f,k,Y,Q,le,we,Pe,Ve);return St!==lo&&_2(ct,un(),St),W2}function _c(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){const Yt=bi(),bn=uh(Yt,p,f,k,Y,Q,le,we,Pe,Ve,ct,St);return bn!==lo&&_2(Yt,un(),bn),_c}function K5(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn){const Gn=bi(),wi=Qh(Gn,p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn);return wi!==lo&&_2(Gn,un(),wi),K5}function Yf(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi){const ur=bi(),Er=mc(ur,p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi);return Er!==lo&&_2(ur,un(),Er),Yf}function _r(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er){const co=bi(),zi=S4(co,p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er);return zi!==lo&&_2(co,un(),zi),_r}function Mu(p){const f=bi(),k=xu(f,p);return k!==lo&&_2(f,un(),k),Mu}function bm(p,f,k){sf(da,xp,V3(bi(),p,f,k),!0)}function l7(p,f,k,Y,Q){sf(da,xp,x2(bi(),p,f,k,Y,Q),!0)}function c7(p,f,k,Y,Q,le,we){sf(da,xp,Cd(bi(),p,f,k,Y,Q,le,we),!0)}function Z5(p,f,k,Y,Q,le,we,Pe,Ve){sf(da,xp,U3(bi(),p,f,k,Y,Q,le,we,Pe,Ve),!0)}function X5(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){sf(da,xp,uh(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St),!0)}function d7(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn){sf(da,xp,Qh(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn),!0)}function af(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi){sf(da,xp,mc(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi),!0)}function Qa(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er){sf(da,xp,S4(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er),!0)}function ul(p){sf(da,xp,xu(bi(),p),!0)}function J5(p,f,k){Uf(V3(bi(),p,f,k))}function Wf(p,f,k,Y,Q){Uf(x2(bi(),p,f,k,Y,Q))}function Rg(p,f,k,Y,Q,le,we){Uf(Cd(bi(),p,f,k,Y,Q,le,we))}function u7(p,f,k,Y,Q,le,we,Pe,Ve){Uf(U3(bi(),p,f,k,Y,Q,le,we,Pe,Ve))}function h7(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){Uf(uh(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St))}function Q5(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn){Uf(Qh(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn))}function f7(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi){Uf(mc(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi))}function e8(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er){Uf(S4(bi(),p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er))}function t8(p){Uf(xu(bi(),p))}function Jm(p,f,k,Y,Q){return of(p,V3(bi(),f,k,Y),Q,!1),Jm}function n6(p,f,k,Y,Q,le,we){return of(p,x2(bi(),f,k,Y,Q,le),we,!1),n6}function Y6(p,f,k,Y,Q,le,we,Pe,Ve){return of(p,Cd(bi(),f,k,Y,Q,le,we,Pe),Ve,!1),Y6}function n8(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){return of(p,U3(bi(),f,k,Y,Q,le,we,Pe,Ve,ct),St,!1),n8}function i8(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn){return of(p,uh(bi(),f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt),bn,!1),i8}function r8(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi){return of(p,Qh(bi(),f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn),wi,!1),r8}function Qm(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er){return of(p,mc(bi(),f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur),Er,!1),Qm}function o8(p,f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co,zi){return of(p,S4(bi(),f,k,Y,Q,le,we,Pe,Ve,ct,St,Yt,bn,Gn,wi,ur,Er,co),zi,!1),o8}function ym(p,f,k){return of(p,xu(bi(),f),k,!1),ym}function Ng(p,f,k){const Y=bi();if(Q1(Y,vl(),f)){N1(qo(),kn(),Y,p,f,Y[11],k,!0)}return Ng}function e5(p,f,k){const Y=bi();if(Q1(Y,vl(),f)){const le=qo(),we=kn();N1(le,we,Y,p,f,Jp(jl(le.data),we,Y),k,!0)}return e5}const i6=void 0;var s8=["en",[["a","p"],["AM","PM"],i6],[["AM","PM"],i6,i6],[["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"]],i6,[["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"]],i6,[["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}",i6,"{1} 'at' {0}",i6],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function p7(p){const k=Math.floor(Math.abs(p)),Y=p.toString().replace(/^[^.]*\.?/,"").length;return 1===k&&0===Y?1:5}];let r1={};function $3(p){const f=function m7(p){return p.toLowerCase().replace(/_/g,"-")}(p);let k=a8(f);if(k)return k;const Y=f.split("-")[0];if(k=a8(Y),k)return k;if("en"===Y)return s8;throw new Error(`Missing locale data for the locale "${p}".`)}function xm(p){return $3(p)[r6.PluralCase]}function a8(p){return p in r1||(r1[p]=Ki.ng&&Ki.ng.common&&Ki.ng.common.locales&&Ki.ng.common.locales[p]),r1[p]}var r6;!function(p){p[p.LocaleId=0]="LocaleId",p[p.DayPeriodsFormat=1]="DayPeriodsFormat",p[p.DayPeriodsStandalone=2]="DayPeriodsStandalone",p[p.DaysFormat=3]="DaysFormat",p[p.DaysStandalone=4]="DaysStandalone",p[p.MonthsFormat=5]="MonthsFormat",p[p.MonthsStandalone=6]="MonthsStandalone",p[p.Eras=7]="Eras",p[p.FirstDayOfWeek=8]="FirstDayOfWeek",p[p.WeekendRange=9]="WeekendRange",p[p.DateFormat=10]="DateFormat",p[p.TimeFormat=11]="TimeFormat",p[p.DateTimeFormat=12]="DateTimeFormat",p[p.NumberSymbols=13]="NumberSymbols",p[p.NumberFormats=14]="NumberFormats",p[p.CurrencyCode=15]="CurrencyCode",p[p.CurrencySymbol=16]="CurrencySymbol",p[p.CurrencyName=17]="CurrencyName",p[p.Currencies=18]="Currencies",p[p.Directionality=19]="Directionality",p[p.PluralCase=20]="PluralCase",p[p.ExtraData=21]="ExtraData"}(r6||(r6={}));const l8=["zero","one","two","few","many"];const Hg="en-US",o6={marker:"element"},Bg={marker:"ICU"};var Tu;!function(p){p[p.SHIFT=2]="SHIFT",p[p.APPEND_EAGERLY=1]="APPEND_EAGERLY",p[p.COMMENT=2]="COMMENT"}(Tu||(Tu={}));let jg=Hg;function Cm(p,f,k){const Y=f.insertBeforeIndex,Q=Array.isArray(Y)?Y[0]:Y;return null===Q?cl(p,0,k):gt(k[Q])}function r5(p,f,k,Y,Q){const le=f.insertBeforeIndex;if(Array.isArray(le)){let we=Y,Pe=null;if(3&f.type||(Pe=we,we=Q),null!==we&&0==(2&f.flags))for(let Ve=1;Ve<le.length;Ve++){Ca(p,we,k[le[Ve]],Pe,!1)}}}function o5(p,f){if(p.push(f),p.length>1)for(let k=p.length-2;k>=0;k--){const Y=p[k];s5(Y)||c8(Y,f)&&null===a5(Y)&&_7(Y,f.index)}}function s5(p){return!(64&p.type)}function c8(p,f){return s5(f)||p.index>f.index}function a5(p){const f=p.insertBeforeIndex;return Array.isArray(f)?f[0]:f}function _7(p,f){const k=p.insertBeforeIndex;Array.isArray(k)?k[0]=f:(Rc(Cm,r5),p.insertBeforeIndex=f)}function Fg(p,f){const k=p.data[f];return null===k||"string"==typeof k?null:k.hasOwnProperty("currentCaseLViewIndex")?k:k.value}function l5(p,f,k){const Y=eh(p,k,64,null,null);return o5(f,Y),Y}function Vg(p,f){const k=f[p.currentCaseLViewIndex];return null===k?k:k<0?~k:k}function Ug(p){return p>>>17}function wm(p){return(131070&p)>>>1}let W6=0,Yg=0;function f8(p,f,k,Y){const Q=k[11];let we,le=null;for(let Pe=0;Pe<f.length;Pe++){const Ve=f[Pe];if("string"==typeof Ve){const ct=f[++Pe];null===k[ct]&&(k[ct]=ua(Q,Ve))}else if("number"==typeof Ve)switch(1&Ve){case 0:const ct=Ug(Ve);let St,Yt;if(null===le&&(le=ct,we=yl(Q,Y)),ct===le?(St=Y,Yt=we):(St=null,Yt=gt(k[ct])),null!==Yt){const ur=wm(Ve);Ca(Q,Yt,k[ur],St,!1);const co=Fg(p,ur);if(null!==co&&"object"==typeof co){const zi=Vg(co,k);null!==zi&&f8(p,co.create[zi],k,k[co.anchorIdx])}}break;case 1:const bn=Ve>>>1,Gn=f[++Pe],wi=f[++Pe];m3(Q,ze(bn,k),null,null,Gn,wi,null)}else switch(Ve){case Bg:const ct=f[++Pe],St=f[++Pe];if(null===k[St]){os(k[St]=a2(Q,ct),k)}break;case o6:const Yt=f[++Pe],bn=f[++Pe];if(null===k[bn]){os(k[bn]=za(Q,Yt,null),k)}}}}function p8(p,f,k,Y,Q){for(let le=0;le<k.length;le++){const we=k[le],Pe=k[++le];if(we&Q){let Ve="";for(let ct=le+1;ct<=le+Pe;ct++){const St=k[ct];if("string"==typeof St)Ve+=St;else if("number"==typeof St)if(St<0)Ve+=S(f[Y-St]);else{const Yt=St>>>2;switch(3&St){case 1:const bn=k[++ct],Gn=k[++ct],wi=p.data[Yt];"string"==typeof wi?m3(f[11],f[Yt],null,wi,bn,Ve,Gn):N1(p,wi,f,bn,Ve,f[11],Gn,!1);break;case 0:const ur=f[Yt];null!==ur&&xa(f[11],ur,Ve);break;case 2:y7(p,Fg(p,Yt),f,Ve);break;case 3:lf(p,Fg(p,Yt),Y,f)}}}}else{const Ve=k[le+1];if(Ve>0&&3==(3&Ve)){const St=Fg(p,Ve>>>2);f[St.currentCaseLViewIndex]<0&&lf(p,St,Y,f)}}le+=Pe}}function lf(p,f,k,Y){let Q=Y[f.currentCaseLViewIndex];if(null!==Q){let le=W6;Q<0&&(Q=Y[f.currentCaseLViewIndex]=~Q,le=-1),p8(p,Y,f.update[Q],k,le)}}function y7(p,f,k,Y){const Q=function x7(p,f){let k=p.cases.indexOf(f);if(-1===k)switch(p.type){case 1:{const Y=function v7(p,f){const k=xm(f)(parseInt(p,10)),Y=l8[k];return void 0!==Y?Y:"other"}(f,function Av(){return jg}());k=p.cases.indexOf(Y),-1===k&&"other"!==Y&&(k=p.cases.indexOf("other"));break}case 0:k=p.cases.indexOf("other")}return-1===k?null:k}(f,Y);if(Vg(f,k)!==Q&&(g8(p,f,k),k[f.currentCaseLViewIndex]=null===Q?null:~Q,null!==Q)){const we=k[f.anchorIdx];we&&f8(p,f.create[Q],k,we)}}function g8(p,f,k){let Y=Vg(f,k);if(null!==Y){const Q=f.remove[Y];for(let le=0;le<Q.length;le++){const we=Q[le];if(we>0){const Pe=ze(we,k);null!==Pe&&A3(k[11],Pe)}else g8(p,Fg(p,~we),k)}}}function C7(){const p=[];let k,Y,f=-1;function le(Pe,Ve){f=0;const ct=Vg(Pe,Ve);Y=null!==ct?Pe.remove[ct]:$n}function we(){if(f<Y.length){const Pe=Y[f++];if(Pe>0)return k[Pe];{p.push(f,Y);const Ve=~Pe;return le(k[1].data[Ve],k),we()}}return 0===p.length?null:(Y=p.pop(),f=p.pop(),we())}return function Q(Pe,Ve){for(k=Ve;p.length;)p.pop();return le(Pe.value,Ve),we}}const Tm=/\ufffd(\d+):?\d*\ufffd/gi,d5=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,T7=/\ufffd(\d+)\ufffd/,Wg=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,v8=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Ka=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,S7=/\uE500/g;function u5(p,f,k,Y,Q,le){const we=ja(),Pe=[],Ve=[],ct=[[]];Q=function b8(p,f){if(function $6(p){return-1===p}(f))return qg(p);{const k=p.indexOf(`:${f}\ufffd`)+2+f.toString().length,Y=p.search(new RegExp(`\ufffd\\/\\*\\d+:${f}\ufffd`));return qg(p.substring(k,Y))}}(Q,le);const St=function _8(p){return p.replace(S7," ")}(Q).split(Ka);for(let Yt=0;Yt<St.length;Yt++){let bn=St[Yt];if(0==(1&Yt)){const Gn=mh(bn);for(let wi=0;wi<Gn.length;wi++){let ur=Gn[wi];if(0==(1&wi)){const Er=ur;""!==Er&&cf(p,we,ct[0],Pe,Ve,k,Er)}else{const Er=ur;if("object"!=typeof Er)throw new Error(`Unable to parse ICU expression in "${Q}" message.`);E4(p,k,Ve,f,Er,h5(p,we,ct[0],k,Pe,"",!0).index)}}}else{const Gn=47===bn.charCodeAt(0),ur=(bn.charCodeAt(Gn?1:0),20+Number.parseInt(bn.substring(Gn?2:1)));if(Gn)ct.shift(),Fs(ja(),!1);else{const Er=l5(p,ct[0],ur);ct.unshift([]),Fs(Er,!0)}}}p.data[Y]={create:Pe,update:Ve}}function h5(p,f,k,Y,Q,le,we){const Pe=Nh(p,Y,1,null);let Ve=Pe<<Tu.SHIFT,ct=ja();f===ct&&(ct=null),null===ct&&(Ve|=Tu.APPEND_EAGERLY),we&&(Ve|=Tu.COMMENT,function o4(p){void 0===Vp&&(Vp=p())}(C7)),Q.push(Ve,null===le?"":le);const St=eh(p,Pe,we?32:1,null===le?"":le,null);o5(k,St);const Yt=St.index;return Fs(St,!1),null!==ct&&f!==ct&&function Gf(p,f){let k=p.insertBeforeIndex;null===k?(Rc(Cm,r5),k=p.insertBeforeIndex=[null,f]):(Se(Array.isArray(k),!0,"Expecting array here"),k.push(f))}(ct,Yt),St}function cf(p,f,k,Y,Q,le,we){const Pe=we.match(Tm),Ve=h5(p,f,k,le,Y,Pe?null:we,!1);Pe&&a6(Q,we,Ve.index,null,0,null)}function a6(p,f,k,Y,Q,le){const we=p.length,Pe=we+1;p.push(null,null);const Ve=we+2,ct=f.split(Tm);let St=0;for(let Yt=0;Yt<ct.length;Yt++){const bn=ct[Yt];if(1&Yt){const Gn=Q+parseInt(bn,10);p.push(-1-Gn),St|=Sm(Gn)}else""!==bn&&p.push(bn)}return p.push(k<<2|(Y?1:0)),Y&&p.push(Y,le),p[we]=St,p[Pe]=p.length-Ve,St}function q6(p){let f=0;for(let k=0;k<p.length;k++){const Y=p[k];"number"==typeof Y&&Y<0&&f++}return f}function Sm(p){return 1<<Math.min(p,31)}function qg(p){let f,le,k="",Y=0,Q=!1;for(;null!==(f=v8.exec(p));)Q?f[0]===`\ufffd/*${le}\ufffd`&&(Y=f.index,Q=!1):(k+=p.substring(Y,f.index+f[0].length),le=f[1],Q=!0);return k+=p.substr(Y),k}function E4(p,f,k,Y,Q,le){let we=0;const Pe={type:Q.type,currentCaseLViewIndex:Nh(p,f,1,null),anchorIdx:le,cases:[],create:[],remove:[],update:[]};(function Ec(p,f,k){p.push(Sm(f.mainBinding),2,-1-f.mainBinding,k<<2|2)})(k,Q,le),function d8(p,f,k){const Y=p.data[f];null===Y?p.data[f]=k:Y.value=k}(p,le,Pe);const Ve=Q.values;for(let ct=0;ct<Ve.length;ct++){const St=Ve[ct],Yt=[];for(let bn=0;bn<St.length;bn++){const Gn=St[bn];if("string"!=typeof Gn){const wi=Yt.push(Gn)-1;St[bn]=`\x3c!--\ufffd${wi}\ufffd--\x3e`}}we=L7(p,Pe,f,k,Y,Q.cases[ct],St.join(""),Yt)|we}we&&function y8(p,f,k){p.push(f,1,k<<2|3)}(k,we,le)}function K6(p){const f=[],k=[];let Y=1,Q=0;const le=mh(p=p.replace(Wg,function(we,Pe,Ve){return Y="select"===Ve?0:1,Q=parseInt(Pe.substr(1),10),""}));for(let we=0;we<le.length;){let Pe=le[we++].trim();1===Y&&(Pe=Pe.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Pe.length&&f.push(Pe);const Ve=mh(le[we++]);f.length>k.length&&k.push(Ve)}return{type:Y,mainBinding:Q,cases:f,values:k}}function mh(p){if(!p)return[];let f=0;const k=[],Y=[],Q=/[{}]/g;let le;for(Q.lastIndex=0;le=Q.exec(p);){const Pe=le.index;if("}"==le[0]){if(k.pop(),0==k.length){const Ve=p.substring(f,Pe);Wg.test(Ve)?Y.push(K6(Ve)):Y.push(Ve),f=Pe+1}}else{if(0==k.length){const Ve=p.substring(f,Pe);Y.push(Ve),f=Pe+1}k.push("{")}}const we=p.substring(f);return Y.push(we),Y}function L7(p,f,k,Y,Q,le,we,Pe){const Ve=[],ct=[],St=[];f.cases.push(le),f.create.push(Ve),f.remove.push(ct),f.update.push(St);const bn=fu(zo()).getInertBodyElement(we),Gn=R2(bn)||bn;return Gn?b1(p,f,k,Y,Ve,ct,St,Gn,Q,Pe,0):0}function b1(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){let Yt=0,bn=Pe.firstChild;for(;bn;){const Gn=Nh(p,k,1,null);switch(bn.nodeType){case Node.ELEMENT_NODE:const wi=bn,ur=wi.tagName.toLowerCase();if(Bd.hasOwnProperty(ur)){c0(Q,o6,ur,Ve,Gn),p.data[Gn]=ur;const is=wi.attributes;for(let Ba=0;Ba<is.length;Ba++){const gl=is.item(Ba),_f=gl.name.toLowerCase();gl.value.match(Tm)?jd.hasOwnProperty(_f)&&(p2[_f]?a6(we,gl.value,Gn,gl.name,0,Hc):fd[_f]?a6(we,gl.value,Gn,gl.name,0,Hd):a6(we,gl.value,Gn,gl.name,0,null)):E7(Q,Gn,gl)}Yt=b1(p,f,k,Y,Q,le,we,bn,Gn,ct,St+1)|Yt,Fr(le,Gn,St)}break;case Node.TEXT_NODE:const Er=bn.textContent||"",co=Er.match(Tm);c0(Q,null,co?"":Er,Ve,Gn),Fr(le,Gn,St),co&&(Yt=a6(we,Er,Gn,null,0,null)|Yt);break;case Node.COMMENT_NODE:const zi=T7.exec(bn.textContent||"");if(zi){const Ba=ct[parseInt(zi[1],10)];c0(Q,Bg,"",Ve,Gn),E4(p,k,Y,Ve,Ba,Gn),km(le,Gn,St)}}bn=bn.nextSibling}return Yt}function Fr(p,f,k){0===k&&p.push(f)}function km(p,f,k){0===k&&(p.push(~f),p.push(f))}function c0(p,f,k,Y,Q){null!==f&&p.push(f),p.push(k,Q,function h8(p,f,k){return p|f<<17|k<<1}(0,Y,Q))}function E7(p,f,k){p.push(f<<1|1,k.name,k.value)}const st=/\[(\ufffd.+?\ufffd?)\]/,$g=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,D7=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Z6=/{([A-Z0-9_]+)}/g,I7=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,A7=/\/\*/,O7=/\d+\:(\d+)/;function B1(p,f,k=-1){const Y=qo(),Q=bi(),le=20+p,we=xr(Y.consts,f),Pe=ja();Y.firstCreatePass&&u5(Y,null===Pe?0:Pe.index,Q,le,we,k);const Ve=Y.data[le],St=Ad(Y,Pe===Q[6]?null:Pe,Q),Yt=Pe&&8&Pe.type?Q[Pe.index]:null;(function c5(p,f,k,Y){const Q=p[11];for(let le=0;le<f.length;le++){const we=f[le++],Pe=f[le],Ve=(we&Tu.COMMENT)===Tu.COMMENT,ct=(we&Tu.APPEND_EAGERLY)===Tu.APPEND_EAGERLY,St=we>>>Tu.SHIFT;let Yt=p[St];null===Yt&&(Yt=p[St]=Ve?Q.createComment(Pe):ua(Q,Pe)),ct&&null!==k&&Ca(Q,k,Yt,Y,!1)}})(Q,Ve.create,St,Yt),x1(!0)}function Lm(){x1(!1)}function ia(p,f,k){B1(p,f,k),Lm()}function D4(p,f){const k=qo();!function k7(p,f,k){const Q=Gs().index,le=[];if(p.firstCreatePass&&null===p.data[f]){for(let we=0;we<k.length;we+=2){const Pe=k[we],Ve=k[we+1];if(""!==Ve){if(d5.test(Ve))throw new Error(`ICU expressions are not supported in attributes. Message: "${Ve}".`);a6(le,Ve,Q,Pe,q6(le),null)}}p.data[f]=le}}(k,p+20,xr(k.consts,f))}function qf(p){return function Mm(p){p&&(W6|=1<<Math.min(Yg,31)),Yg++}(Q1(bi(),vl(),p)),qf}function ws(p){!function b7(p,f,k){if(Yg>0){const Y=p.data[k];p8(p,f,Array.isArray(Y)?Y:Y.update,Ll()-Yg-1,W6)}W6=0,Yg=0}(qo(),bi(),p+20)}function Cp(p,f={}){return function bs(p,f={}){let k=p;if(st.test(p)){const Y={},Q=[0];k=k.replace($g,(le,we,Pe)=>{const Ve=we||Pe,ct=Y[Ve]||[];if(ct.length||(Ve.split("|").forEach(ur=>{const Er=ur.match(O7),co=Er?parseInt(Er[1],10):0,zi=A7.test(ur);ct.push([co,zi,ur])}),Y[Ve]=ct),!ct.length)throw new Error(`i18n postprocess: unmatched placeholder - ${Ve}`);const St=Q[Q.length-1];let Yt=0;for(let ur=0;ur<ct.length;ur++)if(ct[ur][0]===St){Yt=ur;break}const[bn,Gn,wi]=ct[Yt];return Gn?Q.pop():St!==bn&&Q.push(bn),ct.splice(Yt,1),wi})}return Object.keys(f).length&&(k=k.replace(D7,(Y,Q,le,we,Pe,Ve)=>f.hasOwnProperty(le)?`${Q}${f[le]}${Ve}`:Y),k=k.replace(Z6,(Y,Q)=>f.hasOwnProperty(Q)?f[Q]:Y),k=k.replace(I7,(Y,Q)=>{if(f.hasOwnProperty(Q)){const le=f[Q];if(!le.length)throw new Error(`i18n postprocess: unmatched ICU - ${Y} with key: ${Q}`);return le.shift()}return Y})),k}(p,f)}function Su(p,f,k,Y,Q){if(p=_(p),Array.isArray(p))for(let le=0;le<p.length;le++)Su(p[le],f,k,Y,Q);else{const le=qo(),we=bi();let Pe=Wu(p)?p:_(p.provide),Ve=Af(p);const ct=Gs(),St=1048575&ct.providerIndexes,Yt=ct.directiveStart,bn=ct.providerIndexes>>20;if(Wu(p)||!p.multi){const Gn=new Ji(Ve,Q,fe),wi=zn(Pe,f,Q?St:St+bn,Yt);-1===wi?(wn(Ee(ct,we),le,Pe),bc(le,p,f.length),f.push(Pe),ct.directiveStart++,ct.directiveEnd++,Q&&(ct.providerIndexes+=1048576),k.push(Gn),we.push(Gn)):(k[wi]=Gn,we[wi]=Gn)}else{const Gn=zn(Pe,f,St+bn,Yt),wi=zn(Pe,f,St,St+bn),ur=Gn>=0&&k[Gn],Er=wi>=0&&k[wi];if(Q&&!Er||!Q&&!ur){wn(Ee(ct,we),le,Pe);const co=function wp(p,f,k,Y,Q){const le=new Ji(p,k,fe);return le.multi=[],le.index=f,le.componentProviders=0,A4(le,Q,Y&&!k),le}(Q?Xd:Qs,k.length,Q,Y,Ve);!Q&&Er&&(k[wi].providerFactory=co),bc(le,p,f.length,0),f.push(Pe),ct.directiveStart++,ct.directiveEnd++,Q&&(ct.providerIndexes+=1048576),k.push(co),we.push(co)}else{bc(le,p,Gn>-1?Gn:wi,A4(k[Q?wi:Gn],Ve,!Q&&Y))}!Q&&Y&&Er&&k[wi].componentProviders++}}}function bc(p,f,k,Y){const Q=Wu(f),le=function I6(p){return!!p.useClass}(f);if(Q||le){const Ve=(le?_(f.useClass):f).prototype.ngOnDestroy;if(Ve){const ct=p.destroyHooks||(p.destroyHooks=[]);if(!Q&&f.multi){const St=ct.indexOf(k);-1===St?ct.push(k,[Y,Ve]):ct[St+1].push(Y,Ve)}else ct.push(k,Ve)}}}function A4(p,f,k){return k&&p.componentProviders++,p.multi.push(f)-1}function zn(p,f,k,Y){for(let Q=k;Q<Y;Q++)if(f[Q]===p)return Q;return-1}function Qs(p,f,k,Y){return Fc(this.multi,[])}function Xd(p,f,k,Y){const Q=this.multi;let le;if(this.providerFactory){const we=this.providerFactory.componentProviders,Pe=ga(k,k[1],this.providerFactory.index,Y);le=Pe.slice(0,we),Fc(Q,le);for(let Ve=we;Ve<Pe.length;Ve++)le.push(Pe[Ve])}else le=[],Fc(Q,le);return le}function Fc(p,f){for(let k=0;k<p.length;k++){const Y=p[k];f.push(Y())}return f}function $f(p,f=[]){return k=>{k.providersResolver=(Y,Q)=>function I4(p,f,k){const Y=qo();if(Y.firstCreatePass){const Q=yr(p);Su(k,Y.data,Y.blueprint,Q,!0),Su(f,Y.data,Y.blueprint,Q,!1)}}(Y,Q?Q(p):p,f)}}class vh{}const C8="ngComponent";class G2{resolveComponentFactory(f){throw function Kg(p){const f=Error(`No component factory found for ${v(p)}. Did you add it to @NgModule.entryComponents?`);return f[C8]=p,f}(f)}}class q2{}function l6(p,f){return new Tl(ke(p,f))}q2.NULL=new G2;class Tl{constructor(f){this.nativeElement=f}}function Kf(p){return p instanceof Tl?p.nativeElement:p}Tl.__NG_ELEMENT_ID__=function Mp(){return l6(Gs(),bi())};new to("Renderer2Interceptor");class _h{}class Tp{}Tp.__NG_ELEMENT_ID__=()=>function bh(){const p=bi(),k=Dt(Gs().index,p);return function sa(p){return p[11]}(no(k)?k:p)}();class hl{}hl.\u0275prov=Sn({token:hl,providedIn:"root",factory:()=>null});class T3{constructor(f){this.full=f,this.major=f.split(".")[0],this.minor=f.split(".")[1],this.patch=f.split(".").slice(2).join(".")}}const o1=new T3("13.3.12"),Md={};function X6(p,f,k,Y,Q=!1){for(;null!==k;){const le=f[k.index];if(null!==le&&Y.push(gt(le)),ho(le))for(let Pe=10;Pe<le.length;Pe++){const Ve=le[Pe],ct=Ve[1].firstChild;null!==ct&&X6(Ve[1],Ve,ct,Y)}const we=k.type;if(8&we)X6(p,f,k.child,Y);else if(32&we){const Pe=xf(k,f);let Ve;for(;Ve=Pe();)Y.push(Ve)}else if(16&we){const Pe=du(f,k);if(Array.isArray(Pe))Y.push(...Pe);else{const Ve=zu(f[16]);X6(Ve[1],Ve,Pe,Y,!0)}}k=Q?k.projectionNext:k.next}return Y}class j1{constructor(f,k){this._lView=f,this._cdRefInjectingView=k,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const f=this._lView,k=f[1];return X6(k,f,k.firstChild,[])}get context(){return this._lView[8]}set context(f){this._lView[8]=f}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const f=this._lView[3];if(ho(f)){const k=f[8],Y=k?k.indexOf(this):-1;Y>-1&&(L1(f,Y),iu(k,Y))}this._attachedToViewContainer=!1}Al(this._lView[1],this._lView)}onDestroy(f){bg(this._lView[1],this._lView,null,f)}markForCheck(){Uu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){bu(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef){throw new R(902,"")}this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function G1(p,f){E1(p,f,f[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(f){if(this._attachedToViewContainer){throw new R(902,"")}this._appRef=f}}class Gl extends j1{constructor(f){super(f),this._view=f}detectChanges(){Fh(this._view)}checkNoChanges(){}get context(){return null}}class F1 extends q2{constructor(f){super(),this.ngModule=f}resolveComponentFactory(f){const k=Nn(f);return new uf(k,this.ngModule)}}function df(p){const f=[];for(let k in p)if(p.hasOwnProperty(k)){const Y=p[k];f.push({propName:Y,templateName:k})}return f}class uf extends vh{constructor(f,k){super(),this.componentDef=f,this.ngModule=k,this.componentType=f.type,this.selector=function v2(p){return p.map(m2).join(",")}(f.selectors),this.ngContentSelectors=f.ngContentSelectors?f.ngContentSelectors:[],this.isBoundToModule=!!k}get inputs(){return df(this.componentDef.inputs)}get outputs(){return df(this.componentDef.outputs)}create(f,k,Y,Q){const le=(Q=Q||this.ngModule)?function qi(p,f){return{get:(k,Y,Q)=>{const le=p.get(k,Md,Q);return le!==Md||Y===Md?le:f.get(k,Y,Q)}}}(f,Q.injector):f,we=le.get(_h,Qe),Pe=le.get(hl,null),Ve=we.createRenderer(null,this.componentDef),ct=this.componentDef.selectors[0][0]||"div",St=Y?Hh(Ve,Y,this.componentDef.encapsulation):za(we.createRenderer(null,this.componentDef),ct,function d0(p){const f=p.toLowerCase();return"svg"===f?"svg":"math"===f?Ir:null}(ct)),Yt=this.componentDef.onPush?576:528,bn=x3(),Gn=Sf(0,null,null,1,0,null,null,null,null,null),wi=Rh(null,Gn,bn,Yt,null,null,we,Ve,Pe,le);let ur,Er;Ie(wi);try{const co=M4(St,this.componentDef,wi,we,Ve);if(St)if(Y)Ks(Ve,St,["ng-version",o1.full]);else{const{attrs:zi,classes:is}=function P3(p){const f=[],k=[];let Y=1,Q=2;for(;Y<p.length;){let le=p[Y];if("string"==typeof le)2===Q?""!==le&&f.push(le,p[++Y]):8===Q&&k.push(le);else{if(!$o(Q))break;Q=le}Y++}return{attrs:f,classes:k}}(this.componentDef.selectors[0]);zi&&Ks(Ve,St,zi),is&&is.length>0&&dd(Ve,St,is.join(" "))}if(Er=pt(Gn,20),void 0!==k){const zi=Er.projection=[];for(let is=0;is<this.ngContentSelectors.length;is++){const Ba=k[is];zi.push(null!=Ba?Array.from(Ba):null)}}ur=Kh(co,this.componentDef,wi,bn,[qu]),th(Gn,wi,null)}finally{cr()}return new Sp(this.componentType,ur,l6(Er,wi),wi,Er)}}new F1;class Sp extends class zl{}{constructor(f,k,Y,Q,le){super(),this.location=Y,this._rootLView=Q,this._tNode=le,this.instance=k,this.hostView=this.changeDetectorRef=new Gl(Q),this.componentType=f}get injector(){return new uc(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(f){this.hostView.onDestroy(f)}}function hf(p,f,k,Y){return Jt(()=>{const Q=p;null!==f&&(Q.hasOwnProperty("decorators")&&void 0!==Q.decorators?Q.decorators.push(...f):Q.decorators=f),null!==k&&(Q.ctorParameters=k),null!==Y&&(Q.hasOwnProperty("propDecorators")&&void 0!==Q.propDecorators?Q.propDecorators=Object.assign(Object.assign({},Q.propDecorators),Y):Q.propDecorators=Y)})}class S3{}class f5{}const c6=new Map;function Zf(p,f,k){if(f&&f!==k)throw new Error(`Duplicate module registered for ${p} - ${v(f)} vs ${v(f.name)}`)}class h0 extends S3{constructor(f,k){super(),this._parent=k,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new F1(this);const Y=Fi(f);this._bootstrapComponents=Vn(Y.bootstrap),this._r3Injector=y3(f,k,[{provide:S3,useValue:this},{provide:q2,useValue:this.componentFactoryResolver}],v(f)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(f)}get(f,k=$a.THROW_IF_NOT_FOUND,Y=yt.Default){return f===$a||f===S3||f===Qp?this:this._r3Injector.get(f,k,Y)}destroy(){const f=this._r3Injector;!f.destroyed&&f.destroy(),this.destroyCbs.forEach(k=>k()),this.destroyCbs=null}onDestroy(f){this.destroyCbs.push(f)}}class p5 extends f5{constructor(f){super(),this.moduleType=f,null!==Fi(f)&&function w8(p){const f=new Set;!function k(Y){const Q=Fi(Y,!0),le=Q.id;if(null!==le){Zf(le,c6.get(le),Y),c6.set(le,Y)}const we=Vn(Q.imports);for(const Pe of we)f.has(Pe)||(f.add(Pe),k(Pe))}(p)}(f)}create(f){return new h0(this.moduleType,f)}}function Ra(p,f,k){const Y=us()+p,Q=bi();return Q[Y]===lo?C3(Q,Y,k?f.call(k):f()):Kd(Q,Y)}function s1(p,f,k,Y){return Ep(bi(),us(),p,f,k,Y)}function yh(p,f,k,Y,Q){return f0(bi(),us(),p,f,k,Y,Q)}function Vc(p,f,k,Y,Q,le){return Jf(bi(),us(),p,f,k,Y,Q,le)}function Lp(p,f,k,Y,Q,le,we){return p0(bi(),us(),p,f,k,Y,Q,le,we)}function Jd(p,f,k,Y,Q,le,we,Pe){const Ve=us()+p,ct=bi(),St=t1(ct,Ve,k,Y,Q,le);return Q1(ct,Ve+4,we)||St?C3(ct,Ve+5,Pe?f.call(Pe,k,Y,Q,le,we):f(k,Y,Q,le,we)):Kd(ct,Ve+5)}function M8(p,f,k,Y,Q,le,we,Pe,Ve){const ct=us()+p,St=bi(),Yt=t1(St,ct,k,Y,Q,le);return w3(St,ct+4,we,Pe)||Yt?C3(St,ct+6,Ve?f.call(Ve,k,Y,Q,le,we,Pe):f(k,Y,Q,le,we,Pe)):Kd(St,ct+6)}function Zg(p,f,k,Y,Q,le,we,Pe,Ve,ct){const St=us()+p,Yt=bi();let bn=t1(Yt,St,k,Y,Q,le);return y2(Yt,St+4,we,Pe,Ve)||bn?C3(Yt,St+7,ct?f.call(ct,k,Y,Q,le,we,Pe,Ve):f(k,Y,Q,le,we,Pe,Ve)):Kd(Yt,St+7)}function Xg(p,f,k,Y,Q,le,we,Pe,Ve,ct,St){const Yt=us()+p,bn=bi(),Gn=t1(bn,Yt,k,Y,Q,le);return t1(bn,Yt+4,we,Pe,Ve,ct)||Gn?C3(bn,Yt+8,St?f.call(St,k,Y,Q,le,we,Pe,Ve,ct):f(k,Y,Q,le,we,Pe,Ve,ct)):Kd(bn,Yt+8)}function Em(p,f,k,Y){return Dp(bi(),us(),p,f,k,Y)}function k3(p,f){const k=p[f];return k===lo?void 0:k}function Ep(p,f,k,Y,Q,le){const we=f+k;return Q1(p,we,Q)?C3(p,we+1,le?Y.call(le,Q):Y(Q)):k3(p,we+1)}function f0(p,f,k,Y,Q,le,we){const Pe=f+k;return w3(p,Pe,Q,le)?C3(p,Pe+2,we?Y.call(we,Q,le):Y(Q,le)):k3(p,Pe+2)}function Jf(p,f,k,Y,Q,le,we,Pe){const Ve=f+k;return y2(p,Ve,Q,le,we)?C3(p,Ve+3,Pe?Y.call(Pe,Q,le,we):Y(Q,le,we)):k3(p,Ve+3)}function p0(p,f,k,Y,Q,le,we,Pe,Ve){const ct=f+k;return t1(p,ct,Q,le,we,Pe)?C3(p,ct+4,Ve?Y.call(Ve,Q,le,we,Pe):Y(Q,le,we,Pe)):k3(p,ct+4)}function Dp(p,f,k,Y,Q,le){let we=f+k,Pe=!1;for(let Ve=0;Ve<Q.length;Ve++)Q1(p,we++,Q[Ve])&&(Pe=!0);return Pe?C3(p,we,Y.apply(le,Q)):k3(p,we)}function a1(p,f){const k=qo();let Y;const Q=p+20;k.firstCreatePass?(Y=function xh(p,f){if(f)for(let k=f.length-1;k>=0;k--){const Y=f[k];if(p===Y.name)return Y}}(f,k.pipeRegistry),k.data[Q]=Y,Y.onDestroy&&(k.destroyHooks||(k.destroyHooks=[])).push(Q,Y.onDestroy)):Y=k.data[Q];const le=Y.factory||(Y.factory=Pt(Y.type)),we=xt(fe);try{const Pe=Tt(!1),Ve=le();return Tt(Pe),function Z0(p,f,k,Y){k>=p.data.length&&(p.data[k]=null,p.blueprint[k]=null),f[k]=Y}(k,bi(),Q,Ve),Ve}finally{xt(we)}}function $u(p,f,k){const Y=p+20,Q=bi(),le=zt(Q,Y);return pf(Q,Y)?Ep(Q,us(),f,le.transform,k,le):le.transform(k)}function ff(p,f,k,Y){const Q=p+20,le=bi(),we=zt(le,Q);return pf(le,Q)?f0(le,us(),f,we.transform,k,Y,we):we.transform(k,Y)}function g0(p,f,k,Y,Q){const le=p+20,we=bi(),Pe=zt(we,le);return pf(we,le)?Jf(we,us(),f,Pe.transform,k,Y,Q,Pe):Pe.transform(k,Y,Q)}function ha(p,f,k,Y,Q,le){const we=p+20,Pe=bi(),Ve=zt(Pe,we);return pf(Pe,we)?p0(Pe,us(),f,Ve.transform,k,Y,Q,le,Ve):Ve.transform(k,Y,Q,le)}function m0(p,f,k){const Y=p+20,Q=bi(),le=zt(Q,Y);return pf(Q,Y)?Dp(Q,us(),f,le.transform,k,le):le.transform.apply(le,k)}function pf(p,f){return p[1].data[f].pure}class K3 extends n.xQ{constructor(f=!1){super(),this.__isAsync=f}emit(f){super.next(f)}subscribe(f,k,Y){var Q,le,we;let Pe=f,Ve=k||(()=>null),ct=Y;if(f&&"object"==typeof f){const Yt=f;Pe=null===(Q=Yt.next)||void 0===Q?void 0:Q.bind(Yt),Ve=null===(le=Yt.error)||void 0===le?void 0:le.bind(Yt),ct=null===(we=Yt.complete)||void 0===we?void 0:we.bind(Yt)}this.__isAsync&&(Ve=Ip(Ve),Pe&&(Pe=Ip(Pe)),ct&&(ct=Ip(ct)));const St=super.subscribe({next:Pe,error:Ve,complete:ct});return f instanceof i.w&&f.add(St),St}}function Ip(p){return f=>{setTimeout(p,void 0,f)}}const Ku=K3;function Ap(){return this._results[dh()]()}class P4{constructor(f=!1){this._emitDistinctChangesOnly=f,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const k=dh(),Y=P4.prototype;Y[k]||(Y[k]=Ap)}get changes(){return this._changes||(this._changes=new Ku)}get(f){return this._results[f]}map(f){return this._results.map(f)}filter(f){return this._results.filter(f)}find(f){return this._results.find(f)}reduce(f,k){return this._results.reduce(f,k)}forEach(f){this._results.forEach(f)}some(f){return this._results.some(f)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(f,k){const Y=this;Y.dirty=!1;const Q=p1(f);(this._changesDetected=!function bf(p,f,k){if(p.length!==f.length)return!1;for(let Y=0;Y<p.length;Y++){let Q=p[Y],le=f[Y];if(k&&(Q=k(Q),le=k(le)),le!==Q)return!1}return!0}(Y._results,Q,k))&&(Y._results=Q,Y.length=Q.length,Y.last=Q[this.length-1],Y.first=Q[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol.iterator;class Z3{}Z3.__NG_ELEMENT_ID__=function ku(){return Qf(Gs(),bi())};const P7=Z3,d6=class extends P7{constructor(f,k,Y){super(),this._declarationLView=f,this._declarationTContainer=k,this.elementRef=Y}createEmbeddedView(f){const k=this._declarationTContainer.tViews,Y=Rh(this._declarationLView,k,f,16,null,k.declTNode,null,null,null,null),Q=this._declarationLView[this._declarationTContainer.index];Y[17]=Q;const le=this._declarationLView[19];return null!==le&&(Y[19]=le.createEmbeddedView(k)),th(k,Y,f),new j1(Y)}};function Qf(p,f){return 4&p.type?new d6(f,p,l6(p,f)):null}class gf{}gf.__NG_ELEMENT_ID__=function Sl(){return w2(Gs(),bi())};const Jg=gf,Zu=class extends Jg{constructor(f,k,Y){super(),this._lContainer=f,this._hostTNode=k,this._hostLView=Y}get element(){return l6(this._hostTNode,this._hostLView)}get injector(){return new uc(this._hostTNode,this._hostLView)}get parentInjector(){const f=Zt(this._hostTNode,this._hostLView);if(ae(f)){const k=Ke(f,this._hostLView),Y=xe(f),Q=k[1].data[Y+8];return new uc(Q,k)}return new uc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(f){const k=X3(this._lContainer);return null!==k&&k[f]||null}get length(){return this._lContainer.length-10}createEmbeddedView(f,k,Y){const Q=f.createEmbeddedView(k||{});return this.insert(Q,Y),Q}createComponent(f,k,Y,Q,le){const we=f&&!Ju(f);let Pe;if(we)Pe=k;else{const Yt=k||{};Pe=Yt.index,Y=Yt.injector,Q=Yt.projectableNodes,le=Yt.ngModuleRef}const Ve=we?f:new uf(Nn(f)),ct=Y||this.parentInjector;if(!le&&null==Ve.ngModule){const bn=(we?ct:this.parentInjector).get(S3,null);bn&&(le=bn)}const St=Ve.create(ct,Q,void 0,le);return this.insert(St.hostView,Pe),St}insert(f,k){const Y=f._lView,Q=Y[1];if(function Ei(p){return ho(p[3])}(Y)){const St=this.indexOf(f);if(-1!==St)this.detach(St);else{const Yt=Y[3],bn=new Zu(Yt,Yt[6],Yt[3]);bn.detach(bn.indexOf(f))}}const le=this._adjustIndex(k),we=this._lContainer;nc(Q,Y,we,le);const Pe=Hu(le,we),Ve=Y[11],ct=yl(Ve,we[7]);return null!==ct&&function P2(p,f,k,Y,Q,le){Y[0]=Q,Y[6]=f,E1(p,Y,k,1,Q,le)}(Q,we[6],Ve,Y,ct,Pe),f.attachToViewContainerRef(),X2(ep(we),le,f),f}move(f,k){return this.insert(f,k)}indexOf(f){const k=X3(this._lContainer);return null!==k?k.indexOf(f):-1}remove(f){const k=this._adjustIndex(f,-1),Y=L1(this._lContainer,k);Y&&(iu(ep(this._lContainer),k),Al(Y[1],Y))}detach(f){const k=this._adjustIndex(f,-1),Y=L1(this._lContainer,k);return Y&&null!=iu(ep(this._lContainer),k)?new j1(Y):null}_adjustIndex(f,k=0){return null==f?this.length+k:f}};function X3(p){return p[8]}function ep(p){return p[8]||(p[8]=[])}function w2(p,f){let k;const Y=f[p.index];if(ho(Y))k=Y;else{let Q;if(8&p.type)Q=gt(Y);else{const le=f[11];Q=le.createComment("");const we=ke(p,f);Ca(le,yl(le,we),Q,function r3(p,f){return Rr(p)?p.nextSibling(f):f.nextSibling}(le,we),!1)}f[p.index]=k=b4(Y,f,Q,p),v3(f,k)}return new Zu(k,p,f)}class tp{constructor(f){this.queryList=f,this.matches=null}clone(){return new tp(this.queryList)}setDirty(){this.queryList.setDirty()}}class J3{constructor(f=[]){this.queries=f}createEmbeddedView(f){const k=f.queries;if(null!==k){const Y=null!==f.contentQueries?f.contentQueries[0]:k.length,Q=[];for(let le=0;le<Y;le++){const we=k.getByIndex(le),Pe=this.queries[we.indexInDeclarationView];Q.push(Pe.clone())}return new J3(Q)}return null}insertView(f){this.dirtyQueriesWithMatches(f)}detachView(f){this.dirtyQueriesWithMatches(f)}dirtyQueriesWithMatches(f){for(let k=0;k<this.queries.length;k++)null!==v5(f,k).matches&&this.queries[k].setDirty()}}class Op{constructor(f,k,Y=null){this.predicate=f,this.flags=k,this.read=Y}}class mf{constructor(f=[]){this.queries=f}elementStart(f,k){for(let Y=0;Y<this.queries.length;Y++)this.queries[Y].elementStart(f,k)}elementEnd(f){for(let k=0;k<this.queries.length;k++)this.queries[k].elementEnd(f)}embeddedTView(f){let k=null;for(let Y=0;Y<this.length;Y++){const Q=null!==k?k.length:0,le=this.getByIndex(Y).embeddedTView(f,Q);le&&(le.indexInDeclarationView=Y,null!==k?k.push(le):k=[le])}return null!==k?new mf(k):null}template(f,k){for(let Y=0;Y<this.queries.length;Y++)this.queries[Y].template(f,k)}getByIndex(f){return this.queries[f]}get length(){return this.queries.length}track(f){this.queries.push(f)}}class Q3{constructor(f,k=-1){this.metadata=f,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=k}elementStart(f,k){this.isApplyingToNode(k)&&this.matchTNode(f,k)}elementEnd(f){this._declarationNodeIndex===f.index&&(this._appliesToNextNode=!1)}template(f,k){this.elementStart(f,k)}embeddedTView(f,k){return this.isApplyingToNode(f)?(this.crossesNgTemplate=!0,this.addMatch(-f.index,k),new Q3(this.metadata)):null}isApplyingToNode(f){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const k=this._declarationNodeIndex;let Y=f.parent;for(;null!==Y&&8&Y.type&&Y.index!==k;)Y=Y.parent;return k===(null!==Y?Y.index:-1)}return this._appliesToNextNode}matchTNode(f,k){const Y=this.metadata.predicate;if(Array.isArray(Y))for(let Q=0;Q<Y.length;Q++){const le=Y[Q];this.matchTNodeWithReadOption(f,k,h6(k,le)),this.matchTNodeWithReadOption(f,k,Xl(k,f,le,!1,!1))}else Y===Z3?4&k.type&&this.matchTNodeWithReadOption(f,k,-1):this.matchTNodeWithReadOption(f,k,Xl(k,f,Y,!1,!1))}matchTNodeWithReadOption(f,k,Y){if(null!==Y){const Q=this.metadata.read;if(null!==Q)if(Q===Tl||Q===gf||Q===Z3&&4&k.type)this.addMatch(k.index,-2);else{const le=Xl(k,f,Q,!1,!1);null!==le&&this.addMatch(k.index,le)}else this.addMatch(k.index,Y)}}addMatch(f,k){null===this.matches?this.matches=[f,k]:this.matches.push(f,k)}}function h6(p,f){const k=p.localNames;if(null!==k)for(let Y=0;Y<k.length;Y+=2)if(k[Y]===f)return k[Y+1];return null}function p6(p,f,k,Y){return-1===k?function f6(p,f){return 11&p.type?l6(p,f):4&p.type?Qf(p,f):null}(f,p):-2===k?function np(p,f,k){if(k===Tl)return l6(f,p);if(k===Z3)return Qf(f,p);if(k===gf)return w2(f,p)}(p,f,Y):ga(p,p[1],k,f)}function Pp(p,f,k,Y){const Q=f[19].queries[Y];if(null===Q.matches){const le=p.data,we=k.matches,Pe=[];for(let Ve=0;Ve<we.length;Ve+=2){const ct=we[Ve];if(ct<0)Pe.push(null);else{const St=le[ct];Pe.push(p6(f,St,we[Ve+1],k.metadata.read))}}Q.matches=Pe}return Q.matches}function R4(p,f,k,Y){const Q=p.queries.getByIndex(k),le=Q.matches;if(null!==le){const we=Pp(p,f,Q,k);for(let Pe=0;Pe<le.length;Pe+=2){const Ve=le[Pe];if(Ve>0)Y.push(we[Pe/2]);else{const ct=le[Pe+1],St=f[-Ve];for(let Yt=10;Yt<St.length;Yt++){const bn=St[Yt];bn[17]===bn[3]&&R4(bn[1],bn,ct,Y)}if(null!==St[9]){const Yt=St[9];for(let bn=0;bn<Yt.length;bn++){const Gn=Yt[bn];R4(Gn[1],Gn,ct,Y)}}}}}return Y}function ip(p){const f=bi(),k=qo(),Y=Ia();Fl(Y+1);const Q=v5(k,Y);if(p.dirty&&En(f)===(2==(2&Q.metadata.flags))){if(null===Q.matches)p.reset([]);else{const le=Q.crossesNgTemplate?R4(k,f,Y,[]):Pp(k,f,Q,Y);p.reset(le,Kf),p.notifyOnChanges()}return!0}return!1}function g5(p,f,k){const Y=qo();Y.firstCreatePass&&(Ch(Y,new Op(p,f,k),-1),2==(2&f)&&(Y.staticViewQueries=!0)),zp(Y,bi(),f)}function m5(p,f,k,Y){const Q=qo();if(Q.firstCreatePass){const le=Gs();Ch(Q,new Op(f,k,Y),le.index),function N4(p,f){const k=p.contentQueries||(p.contentQueries=[]),Y=k.length?k[k.length-1]:-1;f!==Y&&k.push(p.queries.length-1,f)}(Q,p),2==(2&k)&&(Q.staticContentQueries=!0)}zp(Q,bi(),k)}function g6(){return function m6(p,f){return p[19].queries[f].queryList}(bi(),Ia())}function zp(p,f,k){const Y=new P4(4==(4&k));bg(p,f,Y,Y.destroy),null===f[19]&&(f[19]=new J3),f[19].queries.push(new tp(Y))}function Ch(p,f,k){null===p.queries&&(p.queries=new mf),p.queries.track(new Q3(f,k))}function v5(p,f){return p.queries.getByIndex(f)}function _5(p,f){return Qf(p,f)}const M2={\u0275\u0275attribute:M3,\u0275\u0275attributeInterpolate1:q0,\u0275\u0275attributeInterpolate2:$0,\u0275\u0275attributeInterpolate3:hh,\u0275\u0275attributeInterpolate4:fh,\u0275\u0275attributeInterpolate5:ph,\u0275\u0275attributeInterpolate6:Bf,\u0275\u0275attributeInterpolate7:Y3,\u0275\u0275attributeInterpolate8:K0,\u0275\u0275attributeInterpolateV:k4,\u0275\u0275defineComponent:gr,\u0275\u0275defineDirective:at,\u0275\u0275defineInjectable:Sn,\u0275\u0275defineInjector:cn,\u0275\u0275defineNgModule:uo,\u0275\u0275definePipe:Ot,\u0275\u0275directiveInject:fe,\u0275\u0275getInheritedFactory:kd,\u0275\u0275inject:Ja,\u0275\u0275injectAttribute:n2,\u0275\u0275invalidFactory:ue,\u0275\u0275invalidFactoryDep:D2,\u0275\u0275templateRefExtractor:_5,\u0275\u0275NgOnChangesFeature:Dn,\u0275\u0275ProvidersFeature:$f,\u0275\u0275CopyDefinitionFeature:Mg,\u0275\u0275InheritDefinitionFeature:V0,\u0275\u0275nextContext:O5,\u0275\u0275namespaceHTML:fo,\u0275\u0275namespaceMathML:Br,\u0275\u0275namespaceSVG:Wi,\u0275\u0275enableBindings:nl,\u0275\u0275disableBindings:Bl,\u0275\u0275elementStart:ei,\u0275\u0275elementEnd:vi,\u0275\u0275element:Gi,\u0275\u0275elementContainerStart:jc,\u0275\u0275elementContainerEnd:wd,\u0275\u0275elementContainer:Cu,\u0275\u0275pureFunction0:Ra,\u0275\u0275pureFunction1:s1,\u0275\u0275pureFunction2:yh,\u0275\u0275pureFunction3:Vc,\u0275\u0275pureFunction4:Lp,\u0275\u0275pureFunction5:Jd,\u0275\u0275pureFunction6:M8,\u0275\u0275pureFunction7:Zg,\u0275\u0275pureFunction8:Xg,\u0275\u0275pureFunctionV:Em,\u0275\u0275getCurrentView:L4,\u0275\u0275restoreView:La,\u0275\u0275listener:wu,\u0275\u0275projection:P5,\u0275\u0275syntheticHostProperty:e5,\u0275\u0275syntheticHostListener:nf,\u0275\u0275pipeBind1:$u,\u0275\u0275pipeBind2:ff,\u0275\u0275pipeBind3:g0,\u0275\u0275pipeBind4:ha,\u0275\u0275pipeBindV:m0,\u0275\u0275projectionDef:V6,\u0275\u0275hostProperty:Ng,\u0275\u0275property:je,\u0275\u0275propertyInterpolate:z5,\u0275\u0275propertyInterpolate1:Ag,\u0275\u0275propertyInterpolate2:X8,\u0275\u0275propertyInterpolate3:R5,\u0275\u0275propertyInterpolate4:Wm,\u0275\u0275propertyInterpolate5:fm,\u0275\u0275propertyInterpolate6:U6,\u0275\u0275propertyInterpolate7:pm,\u0275\u0275propertyInterpolate8:Og,\u0275\u0275propertyInterpolateV:N5,\u0275\u0275pipe:a1,\u0275\u0275queryRefresh:ip,\u0275\u0275viewQuery:g5,\u0275\u0275loadQuery:g6,\u0275\u0275contentQuery:m5,\u0275\u0275reference:ef,\u0275\u0275classMap:Km,\u0275\u0275classMapInterpolate1:bm,\u0275\u0275classMapInterpolate2:l7,\u0275\u0275classMapInterpolate3:c7,\u0275\u0275classMapInterpolate4:Z5,\u0275\u0275classMapInterpolate5:X5,\u0275\u0275classMapInterpolate6:d7,\u0275\u0275classMapInterpolate7:af,\u0275\u0275classMapInterpolate8:Qa,\u0275\u0275classMapInterpolateV:ul,\u0275\u0275styleMap:Uf,\u0275\u0275styleMapInterpolate1:J5,\u0275\u0275styleMapInterpolate2:Wf,\u0275\u0275styleMapInterpolate3:Rg,\u0275\u0275styleMapInterpolate4:u7,\u0275\u0275styleMapInterpolate5:h7,\u0275\u0275styleMapInterpolate6:Q5,\u0275\u0275styleMapInterpolate7:f7,\u0275\u0275styleMapInterpolate8:e8,\u0275\u0275styleMapInterpolateV:t8,\u0275\u0275styleProp:$m,\u0275\u0275stylePropInterpolate1:Jm,\u0275\u0275stylePropInterpolate2:n6,\u0275\u0275stylePropInterpolate3:Y6,\u0275\u0275stylePropInterpolate4:n8,\u0275\u0275stylePropInterpolate5:i8,\u0275\u0275stylePropInterpolate6:r8,\u0275\u0275stylePropInterpolate7:Qm,\u0275\u0275stylePropInterpolate8:o8,\u0275\u0275stylePropInterpolateV:ym,\u0275\u0275classProp:H1,\u0275\u0275advance:Jc,\u0275\u0275template:z6,\u0275\u0275text:G5,\u0275\u0275textInterpolate:_m,\u0275\u0275textInterpolate1:Xm,\u0275\u0275textInterpolate2:q5,\u0275\u0275textInterpolate3:$5,\u0275\u0275textInterpolate4:W2,\u0275\u0275textInterpolate5:_c,\u0275\u0275textInterpolate6:K5,\u0275\u0275textInterpolate7:Yf,\u0275\u0275textInterpolate8:_r,\u0275\u0275textInterpolateV:Mu,\u0275\u0275i18n:ia,\u0275\u0275i18nAttributes:D4,\u0275\u0275i18nExp:qf,\u0275\u0275i18nStart:B1,\u0275\u0275i18nEnd:Lm,\u0275\u0275i18nApply:ws,\u0275\u0275i18nPostprocess:Cp,\u0275\u0275resolveWindow:dt,\u0275\u0275resolveDocument:Gt,\u0275\u0275resolveBody:Qt,\u0275\u0275setComponentScope:Li,\u0275\u0275setNgModuleScope:fa,\u0275\u0275sanitizeHtml:N2,\u0275\u0275sanitizeStyle:pu,\u0275\u0275sanitizeResourceUrl:Fu,\u0275\u0275sanitizeScript:H2,\u0275\u0275sanitizeUrl:Xc,\u0275\u0275sanitizeUrlOrResourceUrl:gd,\u0275\u0275trustConstantHtml:oc,\u0275\u0275trustConstantResourceUrl:B2,\u0275\u0275validateIframeAttribute:hu,forwardRef:C,resolveForwardRef:_};let H4=null;const L3=[];let rp=!1;function wh(p){return Array.isArray(p)?p.every(wh):!!_(p)}function op(p,f={}){(function v0(p,f,k=!1){const Y=p1(f.declarations||$n);let Q=null;Object.defineProperty(p,ri,{configurable:!0,get:()=>(null===Q&&(Q=Va().compileNgModule(M2,`ng:///${p.name}/\u0275mod.js`,{type:p,bootstrap:p1(f.bootstrap||$n).map(_),declarations:Y.map(_),imports:p1(f.imports||$n).map(_).map(a),exports:p1(f.exports||$n).map(_).map(a),schemas:f.schemas?p1(f.schemas):null,id:f.id||null}),Q.schemas||(Q.schemas=[])),Q)});let le=null;Object.defineProperty(p,mi,{get:()=>{if(null===le){const Pe=Va();le=Pe.compileFactory(M2,`ng:///${p.name}/\u0275fac.js`,{name:p.name,type:p,deps:S1(p),target:Pe.FactoryTarget.NgModule,typeArgumentCount:0})}return le},configurable:!1});let we=null;Object.defineProperty(p,Mt,{get:()=>{if(null===we){const Pe={name:p.name,type:p,providers:f.providers||$n,imports:[(f.imports||$n).map(_),(f.exports||$n).map(_)]};we=Va().compileInjector(M2,`ng:///${p.name}/\u0275inj.js`,Pe)}return we},configurable:!1})})(p,f),function _6(p,f){L3.push({moduleType:p,ngModule:f})}(p,f)}function m_(p,f){const k=p1(f.declarations||$n),Y=c(p);k.forEach(Q=>{if(Q.hasOwnProperty(wr)){g(Nn(Q),Y)}else!Q.hasOwnProperty(Pn)&&!Q.hasOwnProperty(Bn)&&(Q.ngSelectorScope=p)})}function g(p,f){p.directiveDefs=()=>Array.from(f.compilation.directives).map(k=>k.hasOwnProperty(wr)?Nn(k):di(k)).filter(k=>!!k),p.pipeDefs=()=>Array.from(f.compilation.pipes).map(k=>$i(k)),p.schemas=f.schemas,p.tView=null}function c(p){if(!G(p))throw new Error(`${p.name} does not have a module def (\u0275mod property)`);const f=Fi(p);if(null!==f.transitiveCompileScopes)return f.transitiveCompileScopes;const k={schemas:f.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Vn(f.imports).forEach(Y=>{const Q=Y;if(!G(Q))throw new Error(`Importing ${Q.name} which does not have a \u0275mod property`);const le=c(Q);le.exported.directives.forEach(we=>k.compilation.directives.add(we)),le.exported.pipes.forEach(we=>k.compilation.pipes.add(we))}),Vn(f.declarations).forEach(Y=>{$i(Y)?k.compilation.pipes.add(Y):k.compilation.directives.add(Y)}),Vn(f.exports).forEach(Y=>{const Q=Y;if(G(Q)){const le=c(Q);le.exported.directives.forEach(we=>{k.compilation.directives.add(we),k.exported.directives.add(we)}),le.exported.pipes.forEach(we=>{k.compilation.pipes.add(we),k.exported.pipes.add(we)})}else $i(Q)?k.exported.pipes.add(Q):k.exported.directives.add(Q)}),f.transitiveCompileScopes=k,k}function a(p){return function T(p){return void 0!==p.ngModule}(p)?p.ngModule:p}function G(p){return!!Fi(p)}let ce=0;function ve(p,f){let k=null;(function rd(p,f){t3(f)&&(o2.set(p,f),Oc.add(p))})(p,f),Ct(p,f),Object.defineProperty(p,wr,{get:()=>{if(null===k){const Y=Va();if(t3(f)){const ct=[`Component '${p.name}' is not resolved:`];throw f.templateUrl&&ct.push(` - templateUrl: ${f.templateUrl}`),f.styleUrls&&f.styleUrls.length&&ct.push(` - styleUrls: ${JSON.stringify(f.styleUrls)}`),ct.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ct.join("\n"))}const Q=function z7(){return H4}();let le=f.preserveWhitespaces;void 0===le&&(le=null!==Q&&void 0!==Q.preserveWhitespaces&&Q.preserveWhitespaces);let we=f.encapsulation;void 0===we&&(we=null!==Q&&void 0!==Q.defaultEncapsulation?Q.defaultEncapsulation:Jn.Emulated);const Pe=f.templateUrl||`ng:///${p.name}/template.html`,Ve=Object.assign(Object.assign({},At(p,f)),{typeSourceSpan:Y.createParseSourceSpan("Component",p.name,Pe),template:f.template||"",preserveWhitespaces:le,styles:f.styles||$n,animations:f.animations,directives:[],changeDetection:f.changeDetection,pipes:new Map,encapsulation:we,interpolation:f.interpolation,viewProviders:f.viewProviders||null});ce++;try{Ve.usesInheritance&&jn(p),k=Y.compileComponent(M2,Pe,Ve)}finally{ce--}if(0===ce&&function b6(){if(!rp){rp=!0;try{for(let p=L3.length-1;p>=0;p--){const{moduleType:f,ngModule:k}=L3[p];k.declarations&&k.declarations.every(wh)&&(L3.splice(p,1),m_(f,k))}}finally{rp=!1}}}(),function Ne(p){return void 0!==p.ngSelectorScope}(p)){const ct=c(p.ngSelectorScope);g(k,ct)}}return k},configurable:!1})}function tt(p,f){let k=null;Ct(p,f||{}),Object.defineProperty(p,Pn,{get:()=>{if(null===k){const Y=ut(p,f||{});k=Va().compileDirective(M2,Y.sourceMapUrl,Y.metadata)}return k},configurable:!1})}function ut(p,f){const k=p&&p.name,Y=`ng:///${k}/\u0275dir.js`,Q=Va(),le=At(p,f);return le.typeSourceSpan=Q.createParseSourceSpan("Directive",k,Y),le.usesInheritance&&jn(p),{metadata:le,sourceMapUrl:Y}}function Ct(p,f){let k=null;Object.defineProperty(p,mi,{get:()=>{if(null===k){const Y=ut(p,f),Q=Va();k=Q.compileFactory(M2,`ng:///${p.name}/\u0275fac.js`,{name:Y.metadata.name,type:Y.metadata.type,typeArgumentCount:0,deps:S1(p),target:Q.FactoryTarget.Directive})}return k},configurable:!1})}function qt(p){return Object.getPrototypeOf(p.prototype)===Object.prototype}function At(p,f){const k=nd(),Y=k.ownPropMetadata(p);return{name:p.name,type:p,selector:void 0!==f.selector?f.selector:null,host:f.host||pi,propMetadata:Y,inputs:f.inputs||$n,outputs:f.outputs||$n,queries:Hn(p,Y,lr),lifecycle:{usesOnChanges:k.hasLifecycleHook(p,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qt(p),exportAs:Qi(f.exportAs),providers:f.providers||null,viewQueries:Hn(p,Y,ar)}}function jn(p){const f=Object.prototype;let k=Object.getPrototypeOf(p.prototype).constructor;for(;k&&k!==f;)!di(k)&&!Nn(k)&&kl(k)&&tt(k,null),k=Object.getPrototypeOf(k)}function fi(p){return"string"==typeof p?ro(p):_(p)}function Xi(p,f){return{propertyName:p,predicate:fi(f.selector),descendants:f.descendants,first:f.first,read:f.read?f.read:null,static:!!f.static,emitDistinctChangesOnly:!!f.emitDistinctChangesOnly}}function Hn(p,f,k){const Y=[];for(const Q in f)if(f.hasOwnProperty(Q)){const le=f[Q];le.forEach(we=>{if(k(we)){if(!we.selector)throw new Error(`Can't construct a query for the property "${Q}" of "${E(p)}" since the query selector wasn't defined.`);if(le.some(Gr))throw new Error("Cannot combine @Input decorators with query decorators");Y.push(Xi(Q,we))}})}return Y}function Qi(p){return void 0===p?null:ro(p)}function lr(p){const f=p.ngMetadataName;return"ContentChild"===f||"ContentChildren"===f}function ar(p){const f=p.ngMetadataName;return"ViewChild"===f||"ViewChildren"===f}function Gr(p){return"Input"===p.ngMetadataName}function ro(p){return p.split(",").map(f=>f.trim())}const Lr=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function kl(p){const f=nd();if(Lr.some(Y=>f.hasLifecycleHook(p,Y)))return!0;const k=f.propMetadata(p);for(const Y in k){const Q=k[Y];for(let le=0;le<Q.length;le++){const we=Q[le],Pe=we.ngMetadataName;if(Gr(we)||lr(we)||ar(we)||"Output"===Pe||"HostBinding"===Pe||"HostListener"===Pe)return!0}}return!1}function lc(p,f){return{type:p,name:p.name,pipeName:f.name,pure:void 0===f.pure||f.pure}}const Pa=Ac("Directive",(p={})=>p,void 0,void 0,(p,f)=>tt(p,f)),vo=Ac("Component",(p={})=>Object.assign({changeDetection:lt.Default},p),Pa,void 0,(p,f)=>ve(p,f)),Oo=Ac("Pipe",p=>Object.assign({pure:!0},p),void 0,void 0,(p,f)=>function Oa(p,f){let k=null,Y=null;Object.defineProperty(p,mi,{get:()=>{if(null===Y){const Q=lc(p,f),le=Va(Q.type);Y=le.compileFactory(M2,`ng:///${Q.name}/\u0275fac.js`,{name:Q.name,type:Q.type,typeArgumentCount:0,deps:S1(p),target:le.FactoryTarget.Pipe})}return Y},configurable:!1}),Object.defineProperty(p,Bn,{get:()=>{if(null===k){const Q=lc(p,f);k=Va(Q.type).compilePipe(M2,`ng:///${Q.name}/\u0275pipe.js`,Q)}return k},configurable:!1})}(p,f)),wo=Jl("Input",p=>({bindingPropertyName:p})),Za=Jl("Output",p=>({bindingPropertyName:p})),T2=Jl("HostBinding",p=>({hostPropertyName:p})),Rl=Jl("HostListener",(p,f)=>({eventName:p,args:f})),Nl=Ac("NgModule",p=>p,void 0,void 0,(p,f)=>op(p,f));function y1(...p){}const l1=new to("Application Initializer");class pl{constructor(f){this.appInits=f,this.resolve=y1,this.reject=y1,this.initialized=!1,this.done=!1,this.donePromise=new Promise((k,Y)=>{this.resolve=k,this.reject=Y})}runInitializers(){if(this.initialized)return;const f=[],k=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let Y=0;Y<this.appInits.length;Y++){const Q=this.appInits[Y]();if(Y2(Q))f.push(Q);else if(q3(Q)){const le=new Promise((we,Pe)=>{Q.subscribe({complete:we,error:Pe})});f.push(le)}}Promise.all(f).then(()=>{k()}).catch(Y=>{this.reject(Y)}),0===f.length&&k(),this.initialized=!0}}pl.\u0275fac=function(f){return new(f||pl)(Ja(l1,8))},pl.\u0275prov=Sn({token:pl,factory:pl.\u0275fac,providedIn:"root"});const Uc=new to("AppId",{providedIn:"root",factory:vf});function vf(){return`${Sh()}${Sh()}${Sh()}`}function Sh(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const e4=new to("Platform Initializer"),V1=new to("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),kh=new to("appBootstrapListener"),Vr=new to("Application Packages Root URL");class Ms{log(f){console.log(f)}warn(f){console.warn(f)}}Ms.\u0275fac=function(f){return new(f||Ms)},Ms.\u0275prov=Sn({token:Ms,factory:Ms.\u0275fac,providedIn:"platform"});const rr=new to("LocaleId",{providedIn:"root",factory:()=>td(rr,yt.Optional|yt.SkipSelf)||function Xa(){return"undefined"!=typeof $localize&&$localize.locale||Hg}()}),Dc=new to("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});new to("Translations"),new to("TranslationsFormat");var Yc;!function(p){p[p.Error=0]="Error",p[p.Warning=1]="Warning",p[p.Ignore=2]="Ignore"}(Yc||(Yc={}));class Ts{constructor(f,k){this.ngModuleFactory=f,this.componentFactories=k}}class Wc{compileModuleSync(f){return new p5(f)}compileModuleAsync(f){return Promise.resolve(this.compileModuleSync(f))}compileModuleAndAllComponentsSync(f){const k=this.compileModuleSync(f),Q=Vn(Fi(f).declarations).reduce((le,we)=>{const Pe=Nn(we);return Pe&&le.push(new uf(Pe)),le},[]);return new Ts(k,Q)}compileModuleAndAllComponentsAsync(f){return Promise.resolve(this.compileModuleAndAllComponentsSync(f))}clearCache(){}clearCacheFor(f){}getModuleId(f){}}Wc.\u0275fac=function(f){return new(f||Wc)},Wc.\u0275prov=Sn({token:Wc,factory:Wc.\u0275fac,providedIn:"root"});const Lh=new to("compilerOptions");class Xu{}const Np=Promise.resolve(0);function _0(p){"undefined"==typeof Zone?Np.then(()=>{p&&p.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",p)}class t4{constructor({enableLongStackTrace:f=!1,shouldCoalesceEventChangeDetection:k=!1,shouldCoalesceRunChangeDetection:Y=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ku(!1),this.onMicrotaskEmpty=new Ku(!1),this.onStable=new Ku(!1),this.onError=new Ku(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const Q=this;Q._nesting=0,Q._outer=Q._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(Q._inner=Q._inner.fork(new Zone.TaskTrackingZoneSpec)),f&&Zone.longStackTraceZoneSpec&&(Q._inner=Q._inner.fork(Zone.longStackTraceZoneSpec)),Q.shouldCoalesceEventChangeDetection=!Y&&k,Q.shouldCoalesceRunChangeDetection=Y,Q.lastRequestAnimationFrameId=-1,Q.nativeRequestAnimationFrame=function Pv(){let p=Ki.requestAnimationFrame,f=Ki.cancelAnimationFrame;if("undefined"!=typeof Zone&&p&&f){const k=p[Zone.__symbol__("OriginalDelegate")];k&&(p=k);const Y=f[Zone.__symbol__("OriginalDelegate")];Y&&(f=Y)}return{nativeRequestAnimationFrame:p,nativeCancelAnimationFrame:f}}().nativeRequestAnimationFrame,function Ub(p){const f=()=>{!function Q6(p){p.isCheckStableRunning||-1!==p.lastRequestAnimationFrameId||(p.lastRequestAnimationFrameId=p.nativeRequestAnimationFrame.call(Ki,()=>{p.fakeTopEventTask||(p.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{p.lastRequestAnimationFrameId=-1,b0(p),p.isCheckStableRunning=!0,Hp(p),p.isCheckStableRunning=!1},void 0,()=>{},()=>{})),p.fakeTopEventTask.invoke()}),b0(p))}(p)};p._inner=p._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(k,Y,Q,le,we,Pe)=>{try{return Qg(p),k.invokeTask(Q,le,we,Pe)}finally{(p.shouldCoalesceEventChangeDetection&&"eventTask"===le.type||p.shouldCoalesceRunChangeDetection)&&f(),em(p)}},onInvoke:(k,Y,Q,le,we,Pe,Ve)=>{try{return Qg(p),k.invoke(Q,le,we,Pe,Ve)}finally{p.shouldCoalesceRunChangeDetection&&f(),em(p)}},onHasTask:(k,Y,Q,le)=>{k.hasTask(Q,le),Y===Q&&("microTask"==le.change?(p._hasPendingMicrotasks=le.microTask,b0(p),Hp(p)):"macroTask"==le.change&&(p.hasPendingMacrotasks=le.macroTask))},onHandleError:(k,Y,Q,le)=>(k.handleError(Q,le),p.runOutsideAngular(()=>p.onError.emit(le)),!1)})}(Q)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!t4.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(t4.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(f,k,Y){return this._inner.run(f,k,Y)}runTask(f,k,Y,Q){const le=this._inner,we=le.scheduleEventTask("NgZoneEvent: "+Q,f,zv,y1,y1);try{return le.runTask(we,k,Y)}finally{le.cancelTask(we)}}runGuarded(f,k,Y){return this._inner.runGuarded(f,k,Y)}runOutsideAngular(f){return this._outer.run(f)}}const zv={};function Hp(p){if(0==p._nesting&&!p.hasPendingMicrotasks&&!p.isStable)try{p._nesting++,p.onMicrotaskEmpty.emit(null)}finally{if(p._nesting--,!p.hasPendingMicrotasks)try{p.runOutsideAngular(()=>p.onStable.emit(null))}finally{p.isStable=!0}}}function b0(p){p._hasPendingMicrotasks||(p.shouldCoalesceEventChangeDetection||p.shouldCoalesceRunChangeDetection)&&-1!==p.lastRequestAnimationFrameId?p.hasPendingMicrotasks=!0:p.hasPendingMicrotasks=!1}function Qg(p){p._nesting++,p.isStable&&(p.isStable=!1,p.onUnstable.emit(null))}function em(p){p._nesting--,Hp(p)}class Dm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ku,this.onMicrotaskEmpty=new Ku,this.onStable=new Ku,this.onError=new Ku}run(f,k,Y){return f.apply(k,Y)}runGuarded(f,k,Y){return f.apply(k,Y)}runOutsideAngular(f){return f()}runTask(f,k,Y,Q){return f.apply(k,Y)}}class y0{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{t4.assertNotInAngularZone(),_0(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_0(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(k=>!k.updateCb||!k.updateCb(f)||(clearTimeout(k.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,k,Y){let Q=-1;k&&k>0&&(Q=setTimeout(()=>{this._callbacks=this._callbacks.filter(le=>le.timeoutId!==Q),f(this._didWork,this.getPendingTasks())},k)),this._callbacks.push({doneCb:f,timeoutId:Q,updateCb:Y})}whenStable(f,k,Y){if(Y&&!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(f,k,Y),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,k,Y){return[]}}y0.\u0275fac=function(f){return new(f||y0)(Ja(t4))},y0.\u0275prov=Sn({token:y0,factory:y0.\u0275fac});class y6{constructor(){this._applications=new Map,S8.addToWindow(this)}registerApplication(f,k){this._applications.set(f,k)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,k=!0){return S8.findTestabilityInTree(this,f,k)}}y6.\u0275fac=function(f){return new(f||y6)},y6.\u0275prov=Sn({token:y6,factory:y6.\u0275fac,providedIn:"platform"});function __(p){S8=p}let S8=new class v_{addToWindow(f){}findTestabilityInTree(f,k,Y){return null}},eg=null;const N7=new to("AllowMultipleToken"),H7=new to("PlatformOnDestroy");function Rv(p,f,k){const Y=new p5(k);if("undefined"!=typeof ngJitMode&&!ngJitMode)return Promise.resolve(Y);const Q=p.get(Lh,[]).concat(f);if(function T8(p){null!==H4&&(p.defaultEncapsulation!==H4.defaultEncapsulation||p.preserveWhitespaces!==H4.preserveWhitespaces)||(H4=p)}({defaultEncapsulation:ig(Q.map(ct=>ct.defaultEncapsulation)),preserveWhitespaces:ig(Q.map(ct=>ct.preserveWhitespaces))}),function Pc(){return 0===o2.size}())return Promise.resolve(Y);const le=function Hv(p){const f=[];return p.forEach(k=>k&&f.push(...k)),f}(Q.map(ct=>ct.providers));if(0===le.length)return Promise.resolve(Y);const we=Va(),Ve=$a.create({providers:le}).get(we.ResourceLoader);return Mc(ct=>Promise.resolve(Ve.get(ct))).then(()=>Y)}class nm{constructor(f,k){this.name=f,this.token=k}}function Bp(p,f,k=[]){const Y=`Platform: ${f}`,Q=new to(Y);return(le=[])=>{let we=b5();if(!we||we.injector.get(N7,!1)){const Pe=[...k,...le,{provide:Q,useValue:!0}];p?p(Pe):function L8(p){if(eg&&!eg.get(N7,!1))throw new R(400,"");eg=p;const f=p.get(j4),k=p.get(e4,null);return k&&k.forEach(Y=>Y()),f}(function tg(p=[],f){return $a.create({name:f,providers:[{provide:_3,useValue:"platform"},{provide:H7,useValue:()=>eg=null},...p]})}(Pe,Y))}return function B7(p){const f=b5();if(!f){throw new R(401,"")}return f}()}}function b5(){var p;return null!==(p=null==eg?void 0:eg.get(j4))&&void 0!==p?p:null}class j4{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,k){const we=function b_(p,f){let k;return k="noop"===p?new Dm:("zone.js"===p?void 0:p)||new t4({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==f?void 0:f.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==f?void 0:f.ngZoneRunCoalescing)}),k}(k?k.ngZone:void 0,{ngZoneEventCoalescing:k&&k.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:k&&k.ngZoneRunCoalescing||!1}),Pe=[{provide:t4,useValue:we}];return we.run(()=>{const Ve=$a.create({providers:Pe,parent:this.injector,name:f.moduleType.name}),ct=f.create(Ve),St=ct.injector.get(R1,null);if(!St){throw new R(402,"")}return we.runOutsideAngular(()=>{const Yt=we.onError.subscribe({next:bn=>{St.handleError(bn)}});ct.onDestroy(()=>{E8(this._modules,ct),Yt.unsubscribe()})}),function im(p,f,k){try{const Y=k();return Y2(Y)?Y.catch(Q=>{throw f.runOutsideAngular(()=>p.handleError(Q)),Q}):Y}catch(Y){throw f.runOutsideAngular(()=>p.handleError(Y)),Y}}(St,we,()=>{const Yt=ct.injector.get(pl);return Yt.runInitializers(),Yt.donePromise.then(()=>(function i5(p){_n(p,"Expected localeId to be defined"),"string"==typeof p&&(jg=p.toLowerCase().replace(/_/g,"-"))}(ct.injector.get(rr,Hg)||Hg),this._moduleDoBootstrap(ct),ct))})})}bootstrapModule(f,k=[]){const Y=Nv({},k);return Rv(this.injector,Y,f).then(Q=>this.bootstrapModuleFactory(Q,Y))}_moduleDoBootstrap(f){const k=f.injector.get(ng);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(Y=>k.bootstrap(Y));else{if(!f.instance.ngDoBootstrap){throw new R(403,"")}f.instance.ngDoBootstrap(k)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed){throw new R(404,"")}this._modules.slice().forEach(k=>k.destroy()),this._destroyListeners.forEach(k=>k());const f=this._injector.get(H7,null);null==f||f(),this._destroyed=!0}get destroyed(){return this._destroyed}}function Nv(p,f){return p=Array.isArray(f)?f.reduce(Nv,p):Object.assign(Object.assign({},p),f)}j4.\u0275fac=function(f){return new(f||j4)(Ja($a))},j4.\u0275prov=Sn({token:j4,factory:j4.\u0275fac,providedIn:"platform"});class ng{constructor(f,k,Y,Q){this._zone=f,this._injector=k,this._exceptionHandler=Y,this._initStatus=Q,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const le=new P.y(Pe=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Pe.next(this._stable),Pe.complete()})}),we=new P.y(Pe=>{let Ve;this._zone.runOutsideAngular(()=>{Ve=this._zone.onStable.subscribe(()=>{t4.assertNotInAngularZone(),_0(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Pe.next(!0))})})});const ct=this._zone.onUnstable.subscribe(()=>{t4.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Pe.next(!1)}))});return()=>{Ve.unsubscribe(),ct.unsubscribe()}});this.isStable=(0,m.T)(le,we.pipe((0,s.B)()))}bootstrap(f,k){if(!this._initStatus.done){throw new R(405,"")}let Y;Y=f instanceof vh?f:this._injector.get(q2).resolveComponentFactory(f),this.componentTypes.push(Y.componentType);const Q=function tm(p){return p.isBoundToModule}(Y)?void 0:this._injector.get(S3),le=k||Y.selector,we=Y.create($a.NULL,[],le,Q),Pe=we.location.nativeElement,Ve=we.injector.get(y0,null),ct=Ve&&we.injector.get(y6);return Ve&&ct&&ct.registerApplication(Pe,Ve),we.onDestroy(()=>{this.detachView(we.hostView),E8(this.components,we),ct&&ct.unregisterApplication(Pe)}),this._loadComponent(we),we}tick(){if(this._runningTick){throw new R(101,"")}try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const k=f;this._views.push(k),k.attachToAppRef(this)}detachView(f){const k=f;E8(this._views,k),k.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(kh,[]).concat(this._bootstrapListeners).forEach(Y=>Y(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}function E8(p,f){const k=p.indexOf(f);k>-1&&p.splice(k,1)}function ig(p){for(let f=p.length-1;f>=0;f--)if(void 0!==p[f])return p[f]}ng.\u0275fac=function(f){return new(f||ng)(Ja(t4),Ja($a),Ja(R1),Ja(pl))},ng.\u0275prov=Sn({token:ng,factory:ng.\u0275fac,providedIn:"root"});let Bv=!0,j7=!1;function y5(){return j7=!0,Bv}function y_(){if(j7)throw new Error("Cannot enable prod mode after platform setup.");Bv=!1}class jv{}jv.__NG_ELEMENT_ID__=function C_(p){return function w_(p,f,k){if(zs(p)&&!k){const Y=Dt(p.index,f);return new j1(Y,Y)}if(47&p.type){const Y=f[16];return new j1(Y,f)}return null}(Gs(),bi(),16==(16&p))};class Vv{constructor(){}supports(f){return T4(f)}create(f){return new S_(f)}}const A8=(p,f)=>f;class S_{constructor(f){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=f||A8}forEachItem(f){let k;for(k=this._itHead;null!==k;k=k._next)f(k)}forEachOperation(f){let k=this._itHead,Y=this._removalsHead,Q=0,le=null;for(;k||Y;){const we=!Y||k&&k.currentIndex<W7(Y,Q,le)?k:Y,Pe=W7(we,Q,le),Ve=we.currentIndex;if(we===Y)Q--,Y=Y._nextRemoved;else if(k=k._next,null==we.previousIndex)Q++;else{le||(le=[]);const ct=Pe-Q,St=Ve-Q;if(ct!=St){for(let bn=0;bn<ct;bn++){const Gn=bn<le.length?le[bn]:le[bn]=0,wi=Gn+bn;St<=wi&&wi<ct&&(le[bn]=Gn+1)}le[we.previousIndex]=St-ct}}Pe!==Ve&&f(we,Pe,Ve)}}forEachPreviousItem(f){let k;for(k=this._previousItHead;null!==k;k=k._nextPrevious)f(k)}forEachAddedItem(f){let k;for(k=this._additionsHead;null!==k;k=k._nextAdded)f(k)}forEachMovedItem(f){let k;for(k=this._movesHead;null!==k;k=k._nextMoved)f(k)}forEachRemovedItem(f){let k;for(k=this._removalsHead;null!==k;k=k._nextRemoved)f(k)}forEachIdentityChange(f){let k;for(k=this._identityChangesHead;null!==k;k=k._nextIdentityChange)f(k)}diff(f){if(null==f&&(f=[]),!T4(f)){throw new R(900,"")}return this.check(f)?this:null}onDestroy(){}check(f){this._reset();let Q,le,we,k=this._itHead,Y=!1;if(Array.isArray(f)){this.length=f.length;for(let Pe=0;Pe<this.length;Pe++)le=f[Pe],we=this._trackByFn(Pe,le),null!==k&&Object.is(k.trackById,we)?(Y&&(k=this._verifyReinsertion(k,le,we,Pe)),Object.is(k.item,le)||this._addIdentityChange(k,le)):(k=this._mismatch(k,le,we,Pe),Y=!0),k=k._next}else Q=0,function Jh(p,f){if(Array.isArray(p))for(let k=0;k<p.length;k++)f(p[k]);else{const k=p[dh()]();let Y;for(;!(Y=k.next()).done;)f(Y.value)}}(f,Pe=>{we=this._trackByFn(Q,Pe),null!==k&&Object.is(k.trackById,we)?(Y&&(k=this._verifyReinsertion(k,Pe,we,Q)),Object.is(k.item,Pe)||this._addIdentityChange(k,Pe)):(k=this._mismatch(k,Pe,we,Q),Y=!0),k=k._next,Q++}),this.length=Q;return this._truncate(k),this.collection=f,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let f;for(f=this._previousItHead=this._itHead;null!==f;f=f._next)f._nextPrevious=f._next;for(f=this._additionsHead;null!==f;f=f._nextAdded)f.previousIndex=f.currentIndex;for(this._additionsHead=this._additionsTail=null,f=this._movesHead;null!==f;f=f._nextMoved)f.previousIndex=f.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(f,k,Y,Q){let le;return null===f?le=this._itTail:(le=f._prev,this._remove(f)),null!==(f=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Y,null))?(Object.is(f.item,k)||this._addIdentityChange(f,k),this._reinsertAfter(f,le,Q)):null!==(f=null===this._linkedRecords?null:this._linkedRecords.get(Y,Q))?(Object.is(f.item,k)||this._addIdentityChange(f,k),this._moveAfter(f,le,Q)):f=this._addAfter(new k_(k,Y),le,Q),f}_verifyReinsertion(f,k,Y,Q){let le=null===this._unlinkedRecords?null:this._unlinkedRecords.get(Y,null);return null!==le?f=this._reinsertAfter(le,f._prev,Q):f.currentIndex!=Q&&(f.currentIndex=Q,this._addToMoves(f,Q)),f}_truncate(f){for(;null!==f;){const k=f._next;this._addToRemovals(this._unlink(f)),f=k}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(f,k,Y){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(f);const Q=f._prevRemoved,le=f._nextRemoved;return null===Q?this._removalsHead=le:Q._nextRemoved=le,null===le?this._removalsTail=Q:le._prevRemoved=Q,this._insertAfter(f,k,Y),this._addToMoves(f,Y),f}_moveAfter(f,k,Y){return this._unlink(f),this._insertAfter(f,k,Y),this._addToMoves(f,Y),f}_addAfter(f,k,Y){return this._insertAfter(f,k,Y),null===this._additionsTail?this._additionsTail=this._additionsHead=f:this._additionsTail=this._additionsTail._nextAdded=f,f}_insertAfter(f,k,Y){const Q=null===k?this._itHead:k._next;return f._next=Q,f._prev=k,null===Q?this._itTail=f:Q._prev=f,null===k?this._itHead=f:k._next=f,null===this._linkedRecords&&(this._linkedRecords=new Om),this._linkedRecords.put(f),f.currentIndex=Y,f}_remove(f){return this._addToRemovals(this._unlink(f))}_unlink(f){null!==this._linkedRecords&&this._linkedRecords.remove(f);const k=f._prev,Y=f._next;return null===k?this._itHead=Y:k._next=Y,null===Y?this._itTail=k:Y._prev=k,f}_addToMoves(f,k){return f.previousIndex===k||(null===this._movesTail?this._movesTail=this._movesHead=f:this._movesTail=this._movesTail._nextMoved=f),f}_addToRemovals(f){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Om),this._unlinkedRecords.put(f),f.currentIndex=null,f._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=f,f._prevRemoved=null):(f._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=f),f}_addIdentityChange(f,k){return f.item=k,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=f:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=f,f}}class k_{constructor(f,k){this.item=f,this.trackById=k,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 L_{constructor(){this._head=null,this._tail=null}add(f){null===this._head?(this._head=this._tail=f,f._nextDup=null,f._prevDup=null):(this._tail._nextDup=f,f._prevDup=this._tail,f._nextDup=null,this._tail=f)}get(f,k){let Y;for(Y=this._head;null!==Y;Y=Y._nextDup)if((null===k||k<=Y.currentIndex)&&Object.is(Y.trackById,f))return Y;return null}remove(f){const k=f._prevDup,Y=f._nextDup;return null===k?this._head=Y:k._nextDup=Y,null===Y?this._tail=k:Y._prevDup=k,null===this._head}}class Om{constructor(){this.map=new Map}put(f){const k=f.trackById;let Y=this.map.get(k);Y||(Y=new L_,this.map.set(k,Y)),Y.add(f)}get(f,k){const Y=f,Q=this.map.get(Y);return Q?Q.get(f,k):null}remove(f){const k=f.trackById;return this.map.get(k).remove(f)&&this.map.delete(k),f}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function W7(p,f,k){const Y=p.previousIndex;if(null===Y)return Y;let Q=0;return k&&Y<k.length&&(Q=k[Y]),Y+f+Q}class Uv{constructor(){}supports(f){return f instanceof Map||U2(f)}create(){return new jp}}class jp{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(f){let k;for(k=this._mapHead;null!==k;k=k._next)f(k)}forEachPreviousItem(f){let k;for(k=this._previousMapHead;null!==k;k=k._nextPrevious)f(k)}forEachChangedItem(f){let k;for(k=this._changesHead;null!==k;k=k._nextChanged)f(k)}forEachAddedItem(f){let k;for(k=this._additionsHead;null!==k;k=k._nextAdded)f(k)}forEachRemovedItem(f){let k;for(k=this._removalsHead;null!==k;k=k._nextRemoved)f(k)}diff(f){if(f){if(!(f instanceof Map||U2(f))){throw new R(900,"")}}else f=new Map;return this.check(f)?this:null}onDestroy(){}check(f){this._reset();let k=this._mapHead;if(this._appendAfter=null,this._forEach(f,(Y,Q)=>{if(k&&k.key===Q)this._maybeAddToChanges(k,Y),this._appendAfter=k,k=k._next;else{const le=this._getOrCreateRecordForKey(Q,Y);k=this._insertBeforeOrAppend(k,le)}}),k){k._prev&&(k._prev._next=null),this._removalsHead=k;for(let Y=k;null!==Y;Y=Y._nextRemoved)Y===this._mapHead&&(this._mapHead=null),this._records.delete(Y.key),Y._nextRemoved=Y._next,Y.previousValue=Y.currentValue,Y.currentValue=null,Y._prev=null,Y._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(f,k){if(f){const Y=f._prev;return k._next=f,k._prev=Y,f._prev=k,Y&&(Y._next=k),f===this._mapHead&&(this._mapHead=k),this._appendAfter=f,f}return this._appendAfter?(this._appendAfter._next=k,k._prev=this._appendAfter):this._mapHead=k,this._appendAfter=k,null}_getOrCreateRecordForKey(f,k){if(this._records.has(f)){const Q=this._records.get(f);this._maybeAddToChanges(Q,k);const le=Q._prev,we=Q._next;return le&&(le._next=we),we&&(we._prev=le),Q._next=null,Q._prev=null,Q}const Y=new og(f);return this._records.set(f,Y),Y.currentValue=k,this._addToAdditions(Y),Y}_reset(){if(this.isDirty){let f;for(this._previousMapHead=this._mapHead,f=this._previousMapHead;null!==f;f=f._next)f._nextPrevious=f._next;for(f=this._changesHead;null!==f;f=f._nextChanged)f.previousValue=f.currentValue;for(f=this._additionsHead;null!=f;f=f._nextAdded)f.previousValue=f.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(f,k){Object.is(k,f.currentValue)||(f.previousValue=f.currentValue,f.currentValue=k,this._addToChanges(f))}_addToAdditions(f){null===this._additionsHead?this._additionsHead=this._additionsTail=f:(this._additionsTail._nextAdded=f,this._additionsTail=f)}_addToChanges(f){null===this._changesHead?this._changesHead=this._changesTail=f:(this._changesTail._nextChanged=f,this._changesTail=f)}_forEach(f,k){f instanceof Map?f.forEach(k):Object.keys(f).forEach(Y=>k(f[Y],Y))}}class og{constructor(f){this.key=f,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 O8(){return new F4([new Vv])}class F4{constructor(f){this.factories=f}static create(f,k){if(null!=k){const Y=k.factories.slice();f=f.concat(Y)}return new F4(f)}static extend(f){return{provide:F4,useFactory:k=>F4.create(f,k||O8()),deps:[[F4,new As,new wc]]}}find(f){const k=this.factories.find(Y=>Y.supports(f));if(null!=k)return k;throw new R(901,"")}}function Yv(){return new Eh([new Uv])}F4.\u0275prov=Sn({token:F4,providedIn:"root",factory:O8});class Eh{constructor(f){this.factories=f}static create(f,k){if(k){const Y=k.factories.slice();f=f.concat(Y)}return new Eh(f)}static extend(f){return{provide:Eh,useFactory:k=>Eh.create(f,k||Yv()),deps:[[Eh,new As,new wc]]}}find(f){const k=this.factories.find(Q=>Q.supports(f));if(k)return k;throw new R(901,"")}}Eh.\u0275prov=Sn({token:Eh,providedIn:"root",factory:Yv});const D_=[new Uv],I_=[new Vv],A_=(new F4(I_),new Eh(D_),Bp(null,"core",[]));class Pm{constructor(f){}}Pm.\u0275fac=function(f){return new(f||Pm)(Ja(ng))},Pm.\u0275mod=uo({type:Pm}),Pm.\u0275inj=cn({})},90587:(de,$e,B)=>{"use strict";B.d($e,{Cf:()=>S,EJ:()=>Pt,Fj:()=>z,JJ:()=>yt,JL:()=>Je,JU:()=>v,K7:()=>ui,Kr:()=>Ui,NI:()=>Dr,On:()=>zs,UX:()=>En,Wl:()=>x,YN:()=>Et,_:()=>Xo,_Y:()=>bo,cw:()=>Os,qu:()=>Ei,sg:()=>Vo,u:()=>et,u5:()=>Dt,ve:()=>w,wO:()=>Oe,wV:()=>yo});var n=B(3184),i=B(36362),P=B(24383),m=B(54350),s=B(86942);class o{constructor(ye,Xe){this._renderer=ye,this._elementRef=Xe,this.onChange=tn=>{},this.onTouched=()=>{}}setProperty(ye,Xe){this._renderer.setProperty(this._elementRef.nativeElement,ye,Xe)}registerOnTouched(ye){this.onTouched=ye}registerOnChange(ye){this.onChange=ye}setDisabledState(ye){this.setProperty("disabled",ye)}}o.\u0275fac=function(ye){return new(ye||o)(n.Y36(n.Qsj),n.Y36(n.SBq))},o.\u0275dir=n.lG2({type:o});class h extends o{}h.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(h)))(Xe||h)}}(),h.\u0275dir=n.lG2({type:h,features:[n.qOj]});const v=new n.OlP("NgValueAccessor"),y={provide:v,useExisting:(0,n.Gpc)(()=>x),multi:!0};class x extends h{writeValue(ye){this.setProperty("checked",ye)}}x.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(x)))(Xe||x)}}(),x.\u0275dir=n.lG2({type:x,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("change",function(hi){return Xe.onChange(hi.target.checked)})("blur",function(){return Xe.onTouched()})},features:[n._Bn([y]),n.qOj]});const C={provide:v,useExisting:(0,n.Gpc)(()=>z),multi:!0};const w=new n.OlP("CompositionEventMode");class z extends o{constructor(ye,Xe,tn){super(ye,Xe),this._compositionMode=tn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function _(){const ft=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(ft.toLowerCase())}())}writeValue(ye){const Xe=null==ye?"":ye;this.setProperty("value",Xe)}_handleInput(ye){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ye)}_compositionStart(){this._composing=!0}_compositionEnd(ye){this._composing=!1,this._compositionMode&&this.onChange(ye)}}function R(ft){return null==ft||0===ft.length}function N(ft){return null!=ft&&"number"==typeof ft.length}z.\u0275fac=function(ye){return new(ye||z)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(w,8))},z.\u0275dir=n.lG2({type:z,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(ye,Xe){1&ye&&n.NdJ("input",function(hi){return Xe._handleInput(hi.target.value)})("blur",function(){return Xe.onTouched()})("compositionstart",function(){return Xe._compositionStart()})("compositionend",function(hi){return Xe._compositionEnd(hi.target.value)})},features:[n._Bn([C]),n.qOj]});const S=new n.OlP("NgValidators"),E=new n.OlP("NgAsyncValidators"),O=/^(?=.{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])?)*$/;function U(ft){return ye=>{if(R(ye.value)||R(ft))return null;const Xe=parseFloat(ye.value);return!isNaN(Xe)&&Xe<ft?{min:{min:ft,actual:ye.value}}:null}}function X(ft){return ye=>{if(R(ye.value)||R(ft))return null;const Xe=parseFloat(ye.value);return!isNaN(Xe)&&Xe>ft?{max:{max:ft,actual:ye.value}}:null}}function W(ft){return R(ft.value)?{required:!0}:null}function re(ft){return!0===ft.value?null:{required:!0}}function pe(ft){return R(ft.value)||O.test(ft.value)?null:{email:!0}}function Ae(ft){return ye=>R(ye.value)||!N(ye.value)?null:ye.value.length<ft?{minlength:{requiredLength:ft,actualLength:ye.value.length}}:null}function Se(ft){return ye=>N(ye.value)&&ye.value.length>ft?{maxlength:{requiredLength:ft,actualLength:ye.value.length}}:null}function De(ft){if(!ft)return qe;let ye,Xe;return"string"==typeof ft?(Xe="","^"!==ft.charAt(0)&&(Xe+="^"),Xe+=ft,"$"!==ft.charAt(ft.length-1)&&(Xe+="$"),ye=new RegExp(Xe)):(Xe=ft.toString(),ye=ft),tn=>{if(R(tn.value))return null;const hi=tn.value;return ye.test(hi)?null:{pattern:{requiredPattern:Xe,actualValue:hi}}}}function qe(ft){return null}function rt(ft){return null!=ft}function ot(ft){const ye=(0,n.QGY)(ft)?(0,P.D)(ft):ft;return(0,n.CqO)(ye),ye}function vt(ft){let ye={};return ft.forEach(Xe=>{ye=null!=Xe?Object.assign(Object.assign({},ye),Xe):ye}),0===Object.keys(ye).length?null:ye}function rn(ft,ye){return ye.map(Xe=>Xe(ft))}function fn(ft){return ft.map(ye=>function Xt(ft){return!ft.validate}(ye)?ye:Xe=>ye.validate(Xe))}function _n(ft){if(!ft)return null;const ye=ft.filter(rt);return 0==ye.length?null:function(Xe){return vt(rn(Xe,ye))}}function hn(ft){return null!=ft?_n(fn(ft)):null}function vn(ft){if(!ft)return null;const ye=ft.filter(rt);return 0==ye.length?null:function(Xe){const tn=rn(Xe,ye).map(ot);return(0,m.D)(tn).pipe((0,s.U)(vt))}}function xn(ft){return null!=ft?vn(fn(ft)):null}function dn(ft,ye){return null===ft?[ye]:Array.isArray(ft)?[...ft,ye]:[ft,ye]}function Sn(ft){return ft._rawValidators}function si(ft){return ft._rawAsyncValidators}function cn(ft){return ft?Array.isArray(ft)?ft:[ft]:[]}function yn(ft,ye){return Array.isArray(ft)?ft.includes(ye):ft===ye}function qn(ft,ye){const Xe=cn(ye);return cn(ft).forEach(hi=>{yn(Xe,hi)||Xe.push(hi)}),Xe}function oi(ft,ye){return cn(ye).filter(Xe=>!yn(ft,Xe))}class Yn{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(ye){this._rawValidators=ye||[],this._composedValidatorFn=hn(this._rawValidators)}_setAsyncValidators(ye){this._rawAsyncValidators=ye||[],this._composedAsyncValidatorFn=xn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ye){this._onDestroyCallbacks.push(ye)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ye=>ye()),this._onDestroyCallbacks=[]}reset(ye){this.control&&this.control.reset(ye)}hasError(ye,Xe){return!!this.control&&this.control.hasError(ye,Xe)}getError(ye,Xe){return this.control?this.control.getError(ye,Xe):null}}class Xn extends Yn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gi extends Yn{get formDirective(){return null}get path(){return null}}class Mt{constructor(ye){this._cd=ye}is(ye){var Xe,tn,hi;return"submitted"===ye?!!(null===(Xe=this._cd)||void 0===Xe?void 0:Xe.submitted):!!(null===(hi=null===(tn=this._cd)||void 0===tn?void 0:tn.control)||void 0===hi?void 0:hi[ye])}}class yt extends Mt{constructor(ye){super(ye)}}yt.\u0275fac=function(ye){return new(ye||yt)(n.Y36(Xn,2))},yt.\u0275dir=n.lG2({type:yt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ye,Xe){2&ye&&n.ekj("ng-untouched",Xe.is("untouched"))("ng-touched",Xe.is("touched"))("ng-pristine",Xe.is("pristine"))("ng-dirty",Xe.is("dirty"))("ng-valid",Xe.is("valid"))("ng-invalid",Xe.is("invalid"))("ng-pending",Xe.is("pending"))},features:[n.qOj]});class Je extends Mt{constructor(ye){super(ye)}}Je.\u0275fac=function(ye){return new(ye||Je)(n.Y36(gi,10))},Je.\u0275dir=n.lG2({type:Je,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ye,Xe){2&ye&&n.ekj("ng-untouched",Xe.is("untouched"))("ng-touched",Xe.is("touched"))("ng-pristine",Xe.is("pristine"))("ng-dirty",Xe.is("dirty"))("ng-valid",Xe.is("valid"))("ng-invalid",Xe.is("invalid"))("ng-pending",Xe.is("pending"))("ng-submitted",Xe.is("submitted"))},features:[n.qOj]});function pi(ft,ye){return[...ye.path,ft]}function $n(ft,ye){ri(ft,ye),ye.valueAccessor.writeValue(ft.value),function xi(ft,ye){ye.valueAccessor.registerOnChange(Xe=>{ft._pendingValue=Xe,ft._pendingChange=!0,ft._pendingDirty=!0,"change"===ft.updateOn&&gr(ft,ye)})}(ft,ye),function Li(ft,ye){const Xe=(tn,hi)=>{ye.valueAccessor.writeValue(tn),hi&&ye.viewToModelUpdate(tn)};ft.registerOnChange(Xe),ye._registerOnDestroy(()=>{ft._unregisterOnChange(Xe)})}(ft,ye),function Mr(ft,ye){ye.valueAccessor.registerOnTouched(()=>{ft._pendingTouched=!0,"blur"===ft.updateOn&&ft._pendingChange&&gr(ft,ye),"submit"!==ft.updateOn&&ft.markAsTouched()})}(ft,ye),function Bn(ft,ye){if(ye.valueAccessor.setDisabledState){const Xe=tn=>{ye.valueAccessor.setDisabledState(tn)};ft.registerOnDisabledChange(Xe),ye._registerOnDestroy(()=>{ft._unregisterOnDisabledChange(Xe)})}}(ft,ye)}function wr(ft,ye,Xe=!0){const tn=()=>{};ye.valueAccessor&&(ye.valueAccessor.registerOnChange(tn),ye.valueAccessor.registerOnTouched(tn)),mi(ft,ye),ft&&(ye._invokeOnDestroyCallbacks(),ft._registerOnCollectionChange(()=>{}))}function Pn(ft,ye){ft.forEach(Xe=>{Xe.registerOnValidatorChange&&Xe.registerOnValidatorChange(ye)})}function ri(ft,ye){const Xe=Sn(ft);null!==ye.validator?ft.setValidators(dn(Xe,ye.validator)):"function"==typeof Xe&&ft.setValidators([Xe]);const tn=si(ft);null!==ye.asyncValidator?ft.setAsyncValidators(dn(tn,ye.asyncValidator)):"function"==typeof tn&&ft.setAsyncValidators([tn]);const hi=()=>ft.updateValueAndValidity();Pn(ye._rawValidators,hi),Pn(ye._rawAsyncValidators,hi)}function mi(ft,ye){let Xe=!1;if(null!==ft){if(null!==ye.validator){const hi=Sn(ft);if(Array.isArray(hi)&&hi.length>0){const zr=hi.filter(io=>io!==ye.validator);zr.length!==hi.length&&(Xe=!0,ft.setValidators(zr))}}if(null!==ye.asyncValidator){const hi=si(ft);if(Array.isArray(hi)&&hi.length>0){const zr=hi.filter(io=>io!==ye.asyncValidator);zr.length!==hi.length&&(Xe=!0,ft.setAsyncValidators(zr))}}}const tn=()=>{};return Pn(ye._rawValidators,tn),Pn(ye._rawAsyncValidators,tn),Xe}function gr(ft,ye){ft._pendingDirty&&ft.markAsDirty(),ft.setValue(ft._pendingValue,{emitModelToViewChange:!1}),ye.viewToModelUpdate(ft._pendingValue),ft._pendingChange=!1}function Sr(ft,ye){ri(ft,ye)}function at(ft,ye){if(!ft.hasOwnProperty("model"))return!1;const Xe=ft.model;return!!Xe.isFirstChange()||!Object.is(ye,Xe.currentValue)}function Nn(ft,ye){ft._syncPendingControls(),ye.forEach(Xe=>{const tn=Xe.control;"submit"===tn.updateOn&&tn._pendingChange&&(Xe.viewToModelUpdate(tn._pendingValue),tn._pendingChange=!1)})}function di(ft,ye){if(!ye)return null;let Xe,tn,hi;return Array.isArray(ye),ye.forEach(zr=>{zr.constructor===z?Xe=zr:function Ot(ft){return Object.getPrototypeOf(ft.constructor)===h}(zr)?tn=zr:hi=zr}),hi||tn||Xe||null}function $i(ft,ye){const Xe=ft.indexOf(ye);Xe>-1&&ft.splice(Xe,1)}const Mo="VALID",Jr="INVALID",Bi="PENDING",ks="DISABLED";function Qo(ft){return(Vi(ft)?ft.validators:ft)||null}function mr(ft){return Array.isArray(ft)?hn(ft):ft||null}function Ti(ft,ye){return(Vi(ye)?ye.asyncValidators:ft)||null}function Cr(ft){return Array.isArray(ft)?xn(ft):ft||null}function Vi(ft){return null!=ft&&!Array.isArray(ft)&&"object"==typeof ft}const To=ft=>ft instanceof Dr,qr=ft=>ft instanceof Os,_o=ft=>ft instanceof cs;function jo(ft){return To(ft)?ft.value:ft.getRawValue()}function Do(ft,ye){const Xe=qr(ft),tn=ft.controls;if(!(Xe?Object.keys(tn):tn).length)throw new n.vHH(1e3,"");if(!tn[ye])throw new n.vHH(1001,"")}function gs(ft,ye){qr(ft);ft._forEachChild((tn,hi)=>{if(void 0===ye[hi])throw new n.vHH(1002,"")})}class Ho{constructor(ye,Xe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=ye,this._rawAsyncValidators=Xe,this._composedValidatorFn=mr(this._rawValidators),this._composedAsyncValidatorFn=Cr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(ye){this._rawValidators=this._composedValidatorFn=ye}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ye){this._rawAsyncValidators=this._composedAsyncValidatorFn=ye}get parent(){return this._parent}get valid(){return this.status===Mo}get invalid(){return this.status===Jr}get pending(){return this.status==Bi}get disabled(){return this.status===ks}get enabled(){return this.status!==ks}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ye){this._rawValidators=ye,this._composedValidatorFn=mr(ye)}setAsyncValidators(ye){this._rawAsyncValidators=ye,this._composedAsyncValidatorFn=Cr(ye)}addValidators(ye){this.setValidators(qn(ye,this._rawValidators))}addAsyncValidators(ye){this.setAsyncValidators(qn(ye,this._rawAsyncValidators))}removeValidators(ye){this.setValidators(oi(ye,this._rawValidators))}removeAsyncValidators(ye){this.setAsyncValidators(oi(ye,this._rawAsyncValidators))}hasValidator(ye){return yn(this._rawValidators,ye)}hasAsyncValidator(ye){return yn(this._rawAsyncValidators,ye)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ye={}){this.touched=!0,this._parent&&!ye.onlySelf&&this._parent.markAsTouched(ye)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ye=>ye.markAllAsTouched())}markAsUntouched(ye={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Xe=>{Xe.markAsUntouched({onlySelf:!0})}),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye)}markAsDirty(ye={}){this.pristine=!1,this._parent&&!ye.onlySelf&&this._parent.markAsDirty(ye)}markAsPristine(ye={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Xe=>{Xe.markAsPristine({onlySelf:!0})}),this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye)}markAsPending(ye={}){this.status=Bi,!1!==ye.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ye.onlySelf&&this._parent.markAsPending(ye)}disable(ye={}){const Xe=this._parentMarkedDirty(ye.onlySelf);this.status=ks,this.errors=null,this._forEachChild(tn=>{tn.disable(Object.assign(Object.assign({},ye),{onlySelf:!0}))}),this._updateValue(),!1!==ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},ye),{skipPristineCheck:Xe})),this._onDisabledChange.forEach(tn=>tn(!0))}enable(ye={}){const Xe=this._parentMarkedDirty(ye.onlySelf);this.status=Mo,this._forEachChild(tn=>{tn.enable(Object.assign(Object.assign({},ye),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},ye),{skipPristineCheck:Xe})),this._onDisabledChange.forEach(tn=>tn(!1))}_updateAncestors(ye){this._parent&&!ye.onlySelf&&(this._parent.updateValueAndValidity(ye),ye.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ye){this._parent=ye}updateValueAndValidity(ye={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mo||this.status===Bi)&&this._runAsyncValidator(ye.emitEvent)),!1!==ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ye.onlySelf&&this._parent.updateValueAndValidity(ye)}_updateTreeValidity(ye={emitEvent:!0}){this._forEachChild(Xe=>Xe._updateTreeValidity(ye)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ye.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ks:Mo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ye){if(this.asyncValidator){this.status=Bi,this._hasOwnPendingAsyncValidator=!0;const Xe=ot(this.asyncValidator(this));this._asyncValidationSubscription=Xe.subscribe(tn=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(tn,{emitEvent:ye})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ye,Xe={}){this.errors=ye,this._updateControlsErrors(!1!==Xe.emitEvent)}get(ye){return function so(ft,ye,Xe){if(null==ye||(Array.isArray(ye)||(ye=ye.split(Xe)),Array.isArray(ye)&&0===ye.length))return null;let tn=ft;return ye.forEach(hi=>{tn=qr(tn)?tn.controls.hasOwnProperty(hi)?tn.controls[hi]:null:_o(tn)&&tn.at(hi)||null}),tn}(this,ye,".")}getError(ye,Xe){const tn=Xe?this.get(Xe):this;return tn&&tn.errors?tn.errors[ye]:null}hasError(ye,Xe){return!!this.getError(ye,Xe)}get root(){let ye=this;for(;ye._parent;)ye=ye._parent;return ye}_updateControlsErrors(ye){this.status=this._calculateStatus(),ye&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ye)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?ks:this.errors?Jr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bi)?Bi:this._anyControlsHaveStatus(Jr)?Jr:Mo}_anyControlsHaveStatus(ye){return this._anyControls(Xe=>Xe.status===ye)}_anyControlsDirty(){return this._anyControls(ye=>ye.dirty)}_anyControlsTouched(){return this._anyControls(ye=>ye.touched)}_updatePristine(ye={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ye.onlySelf&&this._parent._updatePristine(ye)}_updateTouched(ye={}){this.touched=this._anyControlsTouched(),this._parent&&!ye.onlySelf&&this._parent._updateTouched(ye)}_isBoxedValue(ye){return"object"==typeof ye&&null!==ye&&2===Object.keys(ye).length&&"value"in ye&&"disabled"in ye}_registerOnCollectionChange(ye){this._onCollectionChange=ye}_setUpdateStrategy(ye){Vi(ye)&&null!=ye.updateOn&&(this._updateOn=ye.updateOn)}_parentMarkedDirty(ye){const Xe=this._parent&&this._parent.dirty;return!ye&&!!Xe&&!this._parent._anyControlsDirty()}}class Dr extends Ho{constructor(ye=null,Xe,tn){super(Qo(Xe),Ti(tn,Xe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ye),this._setUpdateStrategy(Xe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Vi(Xe)&&Xe.initialValueIsDefault&&(this._isBoxedValue(ye)?this.defaultValue=ye.value:this.defaultValue=ye)}setValue(ye,Xe={}){this.value=this._pendingValue=ye,this._onChange.length&&!1!==Xe.emitModelToViewChange&&this._onChange.forEach(tn=>tn(this.value,!1!==Xe.emitViewToModelChange)),this.updateValueAndValidity(Xe)}patchValue(ye,Xe={}){this.setValue(ye,Xe)}reset(ye=this.defaultValue,Xe={}){this._applyFormState(ye),this.markAsPristine(Xe),this.markAsUntouched(Xe),this.setValue(this.value,Xe),this._pendingChange=!1}_updateValue(){}_anyControls(ye){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ye){this._onChange.push(ye)}_unregisterOnChange(ye){$i(this._onChange,ye)}registerOnDisabledChange(ye){this._onDisabledChange.push(ye)}_unregisterOnDisabledChange(ye){$i(this._onDisabledChange,ye)}_forEachChild(ye){}_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(ye){this._isBoxedValue(ye)?(this.value=this._pendingValue=ye.value,ye.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ye}}class Os extends Ho{constructor(ye,Xe,tn){super(Qo(Xe),Ti(tn,Xe)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(Xe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ye,Xe){return this.controls[ye]?this.controls[ye]:(this.controls[ye]=Xe,Xe.setParent(this),Xe._registerOnCollectionChange(this._onCollectionChange),Xe)}addControl(ye,Xe,tn={}){this.registerControl(ye,Xe),this.updateValueAndValidity({emitEvent:tn.emitEvent}),this._onCollectionChange()}removeControl(ye,Xe={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],this.updateValueAndValidity({emitEvent:Xe.emitEvent}),this._onCollectionChange()}setControl(ye,Xe,tn={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),delete this.controls[ye],Xe&&this.registerControl(ye,Xe),this.updateValueAndValidity({emitEvent:tn.emitEvent}),this._onCollectionChange()}contains(ye){return this.controls.hasOwnProperty(ye)&&this.controls[ye].enabled}setValue(ye,Xe={}){gs(this,ye),Object.keys(ye).forEach(tn=>{Do(this,tn),this.controls[tn].setValue(ye[tn],{onlySelf:!0,emitEvent:Xe.emitEvent})}),this.updateValueAndValidity(Xe)}patchValue(ye,Xe={}){null!=ye&&(Object.keys(ye).forEach(tn=>{this.controls[tn]&&this.controls[tn].patchValue(ye[tn],{onlySelf:!0,emitEvent:Xe.emitEvent})}),this.updateValueAndValidity(Xe))}reset(ye={},Xe={}){this._forEachChild((tn,hi)=>{tn.reset(ye[hi],{onlySelf:!0,emitEvent:Xe.emitEvent})}),this._updatePristine(Xe),this._updateTouched(Xe),this.updateValueAndValidity(Xe)}getRawValue(){return this._reduceChildren({},(ye,Xe,tn)=>(ye[tn]=jo(Xe),ye))}_syncPendingControls(){let ye=this._reduceChildren(!1,(Xe,tn)=>!!tn._syncPendingControls()||Xe);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){Object.keys(this.controls).forEach(Xe=>{const tn=this.controls[Xe];tn&&ye(tn,Xe)})}_setUpControls(){this._forEachChild(ye=>{ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ye){for(const Xe of Object.keys(this.controls)){const tn=this.controls[Xe];if(this.contains(Xe)&&ye(tn))return!0}return!1}_reduceValue(){return this._reduceChildren({},(ye,Xe,tn)=>((Xe.enabled||this.disabled)&&(ye[tn]=Xe.value),ye))}_reduceChildren(ye,Xe){let tn=ye;return this._forEachChild((hi,zr)=>{tn=Xe(tn,hi,zr)}),tn}_allControlsDisabled(){for(const ye of Object.keys(this.controls))if(this.controls[ye].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class cs extends Ho{constructor(ye,Xe,tn){super(Qo(Xe),Ti(tn,Xe)),this.controls=ye,this._initObservables(),this._setUpdateStrategy(Xe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ye){return this.controls[ye]}push(ye,Xe={}){this.controls.push(ye),this._registerControl(ye),this.updateValueAndValidity({emitEvent:Xe.emitEvent}),this._onCollectionChange()}insert(ye,Xe,tn={}){this.controls.splice(ye,0,Xe),this._registerControl(Xe),this.updateValueAndValidity({emitEvent:tn.emitEvent})}removeAt(ye,Xe={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),this.controls.splice(ye,1),this.updateValueAndValidity({emitEvent:Xe.emitEvent})}setControl(ye,Xe,tn={}){this.controls[ye]&&this.controls[ye]._registerOnCollectionChange(()=>{}),this.controls.splice(ye,1),Xe&&(this.controls.splice(ye,0,Xe),this._registerControl(Xe)),this.updateValueAndValidity({emitEvent:tn.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ye,Xe={}){gs(this,ye),ye.forEach((tn,hi)=>{Do(this,hi),this.at(hi).setValue(tn,{onlySelf:!0,emitEvent:Xe.emitEvent})}),this.updateValueAndValidity(Xe)}patchValue(ye,Xe={}){null!=ye&&(ye.forEach((tn,hi)=>{this.at(hi)&&this.at(hi).patchValue(tn,{onlySelf:!0,emitEvent:Xe.emitEvent})}),this.updateValueAndValidity(Xe))}reset(ye=[],Xe={}){this._forEachChild((tn,hi)=>{tn.reset(ye[hi],{onlySelf:!0,emitEvent:Xe.emitEvent})}),this._updatePristine(Xe),this._updateTouched(Xe),this.updateValueAndValidity(Xe)}getRawValue(){return this.controls.map(ye=>jo(ye))}clear(ye={}){this.controls.length<1||(this._forEachChild(Xe=>Xe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ye.emitEvent}))}_syncPendingControls(){let ye=this.controls.reduce((Xe,tn)=>!!tn._syncPendingControls()||Xe,!1);return ye&&this.updateValueAndValidity({onlySelf:!0}),ye}_forEachChild(ye){this.controls.forEach((Xe,tn)=>{ye(Xe,tn)})}_updateValue(){this.value=this.controls.filter(ye=>ye.enabled||this.disabled).map(ye=>ye.value)}_anyControls(ye){return this.controls.some(Xe=>Xe.enabled&&ye(Xe))}_setUpControls(){this._forEachChild(ye=>this._registerControl(ye))}_allControlsDisabled(){for(const ye of this.controls)if(ye.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ye){ye.setParent(this),ye._registerOnCollectionChange(this._onCollectionChange)}}const li={provide:gi,useExisting:(0,n.Gpc)(()=>ao)},Qr=Promise.resolve(null);class ao extends gi{constructor(ye,Xe){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.vpe,this.form=new Os({},hn(ye),xn(Xe))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ye){Qr.then(()=>{const Xe=this._findContainer(ye.path);ye.control=Xe.registerControl(ye.name,ye.control),$n(ye.control,ye),ye.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ye)})}getControl(ye){return this.form.get(ye.path)}removeControl(ye){Qr.then(()=>{const Xe=this._findContainer(ye.path);Xe&&Xe.removeControl(ye.name),this._directives.delete(ye)})}addFormGroup(ye){Qr.then(()=>{const Xe=this._findContainer(ye.path),tn=new Os({});Sr(tn,ye),Xe.registerControl(ye.name,tn),tn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ye){Qr.then(()=>{const Xe=this._findContainer(ye.path);Xe&&Xe.removeControl(ye.name)})}getFormGroup(ye){return this.form.get(ye.path)}updateModel(ye,Xe){Qr.then(()=>{this.form.get(ye.path).setValue(Xe)})}setValue(ye){this.control.setValue(ye)}onSubmit(ye){return this.submitted=!0,Nn(this.form,this._directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ye){return ye.pop(),ye.length?this.form.get(ye):this.form}}ao.\u0275fac=function(ye){return new(ye||ao)(n.Y36(S,10),n.Y36(E,10))},ao.\u0275dir=n.lG2({type:ao,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("submit",function(hi){return Xe.onSubmit(hi)})("reset",function(){return Xe.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([li]),n.qOj]});class ys extends gi{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return pi(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}ys.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(ys)))(Xe||ys)}}(),ys.\u0275dir=n.lG2({type:ys,features:[n.qOj]});const Us={provide:gi,useExisting:(0,n.Gpc)(()=>no)};class no extends ys{constructor(ye,Xe,tn){super(),this._parent=ye,this._setValidators(Xe),this._setAsyncValidators(tn)}_checkParentType(){!(this._parent instanceof no)&&this._parent}}no.\u0275fac=function(ye){return new(ye||no)(n.Y36(gi,5),n.Y36(S,10),n.Y36(E,10))},no.\u0275dir=n.lG2({type:no,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n._Bn([Us]),n.qOj]});const ho={provide:Xn,useExisting:(0,n.Gpc)(()=>zs)},ra=Promise.resolve(null);class zs extends Xn{constructor(ye,Xe,tn,hi,zr){super(),this._changeDetectorRef=zr,this.control=new Dr,this._registered=!1,this.update=new n.vpe,this._parent=ye,this._setValidators(Xe),this._setAsyncValidators(tn),this.valueAccessor=di(0,hi)}ngOnChanges(ye){if(this._checkForErrors(),!this._registered||"name"in ye){if(this._registered&&(this._checkName(),this.formDirective)){const Xe=ye.name.previousValue;this.formDirective.removeControl({name:Xe,path:this._getPath(Xe)})}this._setUpControl()}"isDisabled"in ye&&this._updateDisabled(ye),at(ye,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(ye){this.viewModel=ye,this.update.emit(ye)}_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(){$n(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(ye){ra.then(()=>{var Xe;this.control.setValue(ye,{emitViewToModelChange:!1}),null===(Xe=this._changeDetectorRef)||void 0===Xe||Xe.markForCheck()})}_updateDisabled(ye){const Xe=ye.isDisabled.currentValue,tn=""===Xe||Xe&&"false"!==Xe;ra.then(()=>{var hi;tn&&!this.control.disabled?this.control.disable():!tn&&this.control.disabled&&this.control.enable(),null===(hi=this._changeDetectorRef)||void 0===hi||hi.markForCheck()})}_getPath(ye){return this._parent?pi(ye,this._parent):[ye]}}zs.\u0275fac=function(ye){return new(ye||zs)(n.Y36(gi,9),n.Y36(S,10),n.Y36(E,10),n.Y36(v,10),n.Y36(n.sBO,8))},zs.\u0275dir=n.lG2({type:zs,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([ho]),n.qOj,n.TTD]});class bo{}bo.\u0275fac=function(ye){return new(ye||bo)},bo.\u0275dir=n.lG2({type:bo,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const yr={provide:v,useExisting:(0,n.Gpc)(()=>yo),multi:!0};class yo extends h{writeValue(ye){const Xe=null==ye?"":ye;this.setProperty("value",Xe)}registerOnChange(ye){this.onChange=Xe=>{ye(""==Xe?null:parseFloat(Xe))}}}yo.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(yo)))(Xe||yo)}}(),yo.\u0275dir=n.lG2({type:yo,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("input",function(hi){return Xe.onChange(hi.target.value)})("blur",function(){return Xe.onTouched()})},features:[n._Bn([yr]),n.qOj]});const Fo={provide:v,useExisting:(0,n.Gpc)(()=>Xo),multi:!0};class Or{}Or.\u0275fac=function(ye){return new(ye||Or)},Or.\u0275mod=n.oAB({type:Or}),Or.\u0275inj=n.cJS({});class rs{constructor(){this._accessors=[]}add(ye,Xe){this._accessors.push([ye,Xe])}remove(ye){for(let Xe=this._accessors.length-1;Xe>=0;--Xe)if(this._accessors[Xe][1]===ye)return void this._accessors.splice(Xe,1)}select(ye){this._accessors.forEach(Xe=>{this._isSameGroup(Xe,ye)&&Xe[1]!==ye&&Xe[1].fireUncheck(ye.value)})}_isSameGroup(ye,Xe){return!!ye[0].control&&(ye[0]._parent===Xe._control._parent&&ye[1].name===Xe.name)}}rs.\u0275fac=function(ye){return new(ye||rs)},rs.\u0275prov=n.Yz7({token:rs,factory:rs.\u0275fac,providedIn:Or});class Xo extends h{constructor(ye,Xe,tn,hi){super(ye,Xe),this._registry=tn,this._injector=hi,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Xn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ye){this._state=ye===this.value,this.setProperty("checked",this._state)}registerOnChange(ye){this._fn=ye,this.onChange=()=>{ye(this.value),this._registry.select(this)}}fireUncheck(ye){this.writeValue(ye)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}Xo.\u0275fac=function(ye){return new(ye||Xo)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(rs),n.Y36(n.zs3))},Xo.\u0275dir=n.lG2({type:Xo,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("change",function(){return Xe.onChange()})("blur",function(){return Xe.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n._Bn([Fo]),n.qOj]});const ba={provide:v,useExisting:(0,n.Gpc)(()=>xs),multi:!0};class xs extends h{writeValue(ye){this.setProperty("value",parseFloat(ye))}registerOnChange(ye){this.onChange=Xe=>{ye(""==Xe?null:parseFloat(Xe))}}}xs.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(xs)))(Xe||xs)}}(),xs.\u0275dir=n.lG2({type:xs,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("change",function(hi){return Xe.onChange(hi.target.value)})("input",function(hi){return Xe.onChange(hi.target.value)})("blur",function(){return Xe.onTouched()})},features:[n._Bn([ba]),n.qOj]});const Ws=new n.OlP("NgModelWithFormControlWarning"),aa={provide:Xn,useExisting:(0,n.Gpc)(()=>js)};class js extends Xn{constructor(ye,Xe,tn,hi){super(),this._ngModelWarningConfig=hi,this.update=new n.vpe,this._ngModelWarningSent=!1,this._setValidators(ye),this._setAsyncValidators(Xe),this.valueAccessor=di(0,tn)}set isDisabled(ye){}ngOnChanges(ye){if(this._isControlChanged(ye)){const Xe=ye.form.previousValue;Xe&&wr(Xe,this,!1),$n(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}at(ye,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&wr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}_isControlChanged(ye){return ye.hasOwnProperty("form")}}js._ngModelWarningSentOnce=!1,js.\u0275fac=function(ye){return new(ye||js)(n.Y36(S,10),n.Y36(E,10),n.Y36(v,10),n.Y36(Ws,8))},js.\u0275dir=n.lG2({type:js,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n._Bn([aa]),n.qOj,n.TTD]});const Jo={provide:gi,useExisting:(0,n.Gpc)(()=>Vo)};class Vo extends gi{constructor(ye,Xe){super(),this.validators=ye,this.asyncValidators=Xe,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(ye),this._setAsyncValidators(Xe)}ngOnChanges(ye){this._checkFormPresent(),ye.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(mi(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ye){const Xe=this.form.get(ye.path);return $n(Xe,ye),Xe.updateValueAndValidity({emitEvent:!1}),this.directives.push(ye),Xe}getControl(ye){return this.form.get(ye.path)}removeControl(ye){wr(ye.control||null,ye,!1),$i(this.directives,ye)}addFormGroup(ye){this._setUpFormContainer(ye)}removeFormGroup(ye){this._cleanUpFormContainer(ye)}getFormGroup(ye){return this.form.get(ye.path)}addFormArray(ye){this._setUpFormContainer(ye)}removeFormArray(ye){this._cleanUpFormContainer(ye)}getFormArray(ye){return this.form.get(ye.path)}updateModel(ye,Xe){this.form.get(ye.path).setValue(Xe)}onSubmit(ye){return this.submitted=!0,Nn(this.form,this.directives),this.ngSubmit.emit(ye),!1}onReset(){this.resetForm()}resetForm(ye){this.form.reset(ye),this.submitted=!1}_updateDomValue(){this.directives.forEach(ye=>{const Xe=ye.control,tn=this.form.get(ye.path);Xe!==tn&&(wr(Xe||null,ye),To(tn)&&($n(tn,ye),ye.control=tn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ye){const Xe=this.form.get(ye.path);Sr(Xe,ye),Xe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ye){if(this.form){const Xe=this.form.get(ye.path);Xe&&function br(ft,ye){return mi(ft,ye)}(Xe,ye)&&Xe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ri(this.form,this),this._oldForm&&mi(this._oldForm,this)}_checkFormPresent(){this.form}}Vo.\u0275fac=function(ye){return new(ye||Vo)(n.Y36(S,10),n.Y36(E,10))},Vo.\u0275dir=n.lG2({type:Vo,selectors:[["","formGroup",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("submit",function(hi){return Xe.onSubmit(hi)})("reset",function(){return Xe.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([Jo]),n.qOj,n.TTD]});const Io={provide:gi,useExisting:(0,n.Gpc)(()=>or)};class or extends ys{constructor(ye,Xe,tn){super(),this._parent=ye,this._setValidators(Xe),this._setAsyncValidators(tn)}_checkParentType(){me(this._parent)}}or.\u0275fac=function(ye){return new(ye||or)(n.Y36(gi,13),n.Y36(S,10),n.Y36(E,10))},or.\u0275dir=n.lG2({type:or,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n._Bn([Io]),n.qOj]});const q={provide:gi,useExisting:(0,n.Gpc)(()=>ne)};class ne extends gi{constructor(ye,Xe,tn){super(),this._parent=ye,this._setValidators(Xe),this._setAsyncValidators(tn)}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 pi(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){me(this._parent)}}function me(ft){return!(ft instanceof or||ft instanceof Vo||ft instanceof ne)}ne.\u0275fac=function(ye){return new(ye||ne)(n.Y36(gi,13),n.Y36(S,10),n.Y36(E,10))},ne.\u0275dir=n.lG2({type:ne,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n._Bn([q]),n.qOj]});const Be={provide:Xn,useExisting:(0,n.Gpc)(()=>et)};class et extends Xn{constructor(ye,Xe,tn,hi,zr){super(),this._ngModelWarningConfig=zr,this._added=!1,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=ye,this._setValidators(Xe),this._setAsyncValidators(tn),this.valueAccessor=di(0,hi)}set isDisabled(ye){}ngOnChanges(ye){this._added||this._setUpControl(),at(ye,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ye){this.viewModel=ye,this.update.emit(ye)}get path(){return pi(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}et._ngModelWarningSentOnce=!1,et.\u0275fac=function(ye){return new(ye||et)(n.Y36(gi,13),n.Y36(S,10),n.Y36(E,10),n.Y36(v,10),n.Y36(Ws,8))},et.\u0275dir=n.lG2({type:et,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([Be]),n.qOj,n.TTD]});const It={provide:v,useExisting:(0,n.Gpc)(()=>Pt),multi:!0};function Ut(ft,ye){return null==ft?`${ye}`:(ye&&"object"==typeof ye&&(ye="Object"),`${ft}: ${ye}`.slice(0,50))}class Pt extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){this.value=ye;const tn=Ut(this._getOptionId(ye),ye);this.setProperty("value",tn)}registerOnChange(ye){this.onChange=Xe=>{this.value=this._getOptionValue(Xe),ye(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ye){for(const Xe of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Xe),ye))return Xe;return null}_getOptionValue(ye){const Xe=function Wt(ft){return ft.split(":")[0]}(ye);return this._optionMap.has(Xe)?this._optionMap.get(Xe):ye}}Pt.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(Pt)))(Xe||Pt)}}(),Pt.\u0275dir=n.lG2({type:Pt,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("change",function(hi){return Xe.onChange(hi.target.value)})("blur",function(){return Xe.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([It]),n.qOj]});class Et{constructor(ye,Xe,tn){this._element=ye,this._renderer=Xe,this._select=tn,this._select&&(this.id=this._select._registerOption())}set ngValue(ye){null!=this._select&&(this._select._optionMap.set(this.id,ye),this._setElementValue(Ut(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._setElementValue(ye),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}Et.\u0275fac=function(ye){return new(ye||Et)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Pt,9))},Et.\u0275dir=n.lG2({type:Et,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});const Dn={provide:v,useExisting:(0,n.Gpc)(()=>ui),multi:!0};function Ln(ft,ye){return null==ft?`${ye}`:("string"==typeof ye&&(ye=`'${ye}'`),ye&&"object"==typeof ye&&(ye="Object"),`${ft}: ${ye}`.slice(0,50))}class ui extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ye){this._compareWith=ye}writeValue(ye){let Xe;if(this.value=ye,Array.isArray(ye)){const tn=ye.map(hi=>this._getOptionId(hi));Xe=(hi,zr)=>{hi._setSelected(tn.indexOf(zr.toString())>-1)}}else Xe=(tn,hi)=>{tn._setSelected(!1)};this._optionMap.forEach(Xe)}registerOnChange(ye){this.onChange=Xe=>{const tn=[],hi=Xe.selectedOptions;if(void 0!==hi){const zr=hi;for(let io=0;io<zr.length;io++){const $l=zr[io],pa=this._getOptionValue($l.value);tn.push(pa)}}else{const zr=Xe.options;for(let io=0;io<zr.length;io++){const $l=zr[io];if($l.selected){const pa=this._getOptionValue($l.value);tn.push(pa)}}}this.value=tn,ye(tn)}}_registerOption(ye){const Xe=(this._idCounter++).toString();return this._optionMap.set(Xe,ye),Xe}_getOptionId(ye){for(const Xe of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(Xe)._value,ye))return Xe;return null}_getOptionValue(ye){const Xe=function An(ft){return ft.split(":")[0]}(ye);return this._optionMap.has(Xe)?this._optionMap.get(Xe)._value:ye}}ui.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(ui)))(Xe||ui)}}(),ui.\u0275dir=n.lG2({type:ui,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ye,Xe){1&ye&&n.NdJ("change",function(hi){return Xe.onChange(hi.target)})("blur",function(){return Xe.onTouched()})},inputs:{compareWith:"compareWith"},features:[n._Bn([Dn]),n.qOj]});class Ui{constructor(ye,Xe,tn){this._element=ye,this._renderer=Xe,this._select=tn,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ye){null!=this._select&&(this._value=ye,this._setElementValue(Ln(this.id,ye)),this._select.writeValue(this._select.value))}set value(ye){this._select?(this._value=ye,this._setElementValue(Ln(this.id,ye)),this._select.writeValue(this._select.value)):this._setElementValue(ye)}_setElementValue(ye){this._renderer.setProperty(this._element.nativeElement,"value",ye)}_setSelected(ye){this._renderer.setProperty(this._element.nativeElement,"selected",ye)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function hr(ft){return"number"==typeof ft?ft:parseInt(ft,10)}function Ri(ft){return"number"==typeof ft?ft:parseFloat(ft)}Ui.\u0275fac=function(ye){return new(ye||Ui)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(ui,9))},Ui.\u0275dir=n.lG2({type:Ui,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});class Yi{constructor(){this._validator=qe}ngOnChanges(ye){if(this.inputName in ye){const Xe=this.normalizeInput(ye[this.inputName].currentValue);this._enabled=this.enabled(Xe),this._validator=this._enabled?this.createValidator(Xe):qe,this._onChange&&this._onChange()}}validate(ye){return this._validator(ye)}registerOnValidatorChange(ye){this._onChange=ye}enabled(ye){return null!=ye}}Yi.\u0275fac=function(ye){return new(ye||Yi)},Yi.\u0275dir=n.lG2({type:Yi,features:[n.TTD]});const In={provide:S,useExisting:(0,n.Gpc)(()=>Pr),multi:!0};class Pr extends Yi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ye=>Ri(ye),this.createValidator=ye=>X(ye)}}Pr.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(Pr)))(Xe||Pr)}}(),Pr.\u0275dir=n.lG2({type:Pr,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("max",Xe._enabled?Xe.max:null)},inputs:{max:"max"},features:[n._Bn([In]),n.qOj]});const Ir={provide:S,useExisting:(0,n.Gpc)(()=>ir),multi:!0};class ir extends Yi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ye=>Ri(ye),this.createValidator=ye=>U(ye)}}ir.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(ir)))(Xe||ir)}}(),ir.\u0275dir=n.lG2({type:ir,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("min",Xe._enabled?Xe.min:null)},inputs:{min:"min"},features:[n._Bn([Ir]),n.qOj]});const ds={provide:S,useExisting:(0,n.Gpc)(()=>ko),multi:!0},Go={provide:S,useExisting:(0,n.Gpc)(()=>zo),multi:!0};class ko extends Yi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ye=>function kr(ft){return null!=ft&&!1!==ft&&"false"!=`${ft}`}(ye),this.createValidator=ye=>W}enabled(ye){return ye}}ko.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(ko)))(Xe||ko)}}(),ko.\u0275dir=n.lG2({type:ko,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("required",Xe._enabled?"":null)},inputs:{required:"required"},features:[n._Bn([ds]),n.qOj]});class zo extends ko{constructor(){super(...arguments),this.createValidator=ye=>re}}zo.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(zo)))(Xe||zo)}}(),zo.\u0275dir=n.lG2({type:zo,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("required",Xe._enabled?"":null)},features:[n._Bn([Go]),n.qOj]});const Cs={provide:S,useExisting:(0,n.Gpc)(()=>Rr),multi:!0};class Rr extends Yi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=ye=>""===ye||!0===ye||"true"===ye,this.createValidator=ye=>pe}enabled(ye){return ye}}Rr.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(Rr)))(Xe||Rr)}}(),Rr.\u0275dir=n.lG2({type:Rr,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n._Bn([Cs]),n.qOj]});const Qe={provide:S,useExisting:(0,n.Gpc)(()=>Oe),multi:!0};class Oe extends Yi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ye=>hr(ye),this.createValidator=ye=>Ae(ye)}}Oe.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(Oe)))(Xe||Oe)}}(),Oe.\u0275dir=n.lG2({type:Oe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("minlength",Xe._enabled?Xe.minlength:null)},inputs:{minlength:"minlength"},features:[n._Bn([Qe]),n.qOj]});const gt={provide:S,useExisting:(0,n.Gpc)(()=>Nt),multi:!0};class Nt extends Yi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ye=>hr(ye),this.createValidator=ye=>Se(ye)}}Nt.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(Nt)))(Xe||Nt)}}(),Nt.\u0275dir=n.lG2({type:Nt,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("maxlength",Xe._enabled?Xe.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n._Bn([gt]),n.qOj]});const Cn={provide:S,useExisting:(0,n.Gpc)(()=>ze),multi:!0};class ze extends Yi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ye=>ye,this.createValidator=ye=>De(ye)}}ze.\u0275fac=function(){let ft;return function(Xe){return(ft||(ft=n.n5z(ze)))(Xe||ze)}}(),ze.\u0275dir=n.lG2({type:ze,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ye,Xe){2&ye&&n.uIk("pattern",Xe._enabled?Xe.pattern:null)},inputs:{pattern:"pattern"},features:[n._Bn([Cn]),n.qOj]});class zt{}zt.\u0275fac=function(ye){return new(ye||zt)},zt.\u0275mod=n.oAB({type:zt,declarations:[bo,Et,Ui,z,yo,xs,x,Pt,ui,Xo,yt,Je,ko,Oe,Nt,ze,zo,Rr,ir,Pr],imports:[Or],exports:[bo,Et,Ui,z,yo,xs,x,Pt,ui,Xo,yt,Je,ko,Oe,Nt,ze,zo,Rr,ir,Pr]}),zt.\u0275inj=n.cJS({imports:[[Or]]});class Dt{}Dt.\u0275fac=function(ye){return new(ye||Dt)},Dt.\u0275mod=n.oAB({type:Dt,declarations:[zs,no,ao],exports:[zt,zs,no,ao]}),Dt.\u0275inj=n.cJS({imports:[zt]});class En{static withConfig(ye){return{ngModule:En,providers:[{provide:Ws,useValue:ye.warnOnNgModelWithFormControl}]}}}En.\u0275fac=function(ye){return new(ye||En)},En.\u0275mod=n.oAB({type:En,declarations:[js,Vo,et,or,ne],exports:[zt,js,Vo,et,or,ne]}),En.\u0275inj=n.cJS({imports:[zt]});class Ei{group(ye,Xe=null){const tn=this._reduceControls(ye);let io,hi=null,zr=null;return null!=Xe&&(function ci(ft){return void 0!==ft.asyncValidators||void 0!==ft.validators||void 0!==ft.updateOn}(Xe)?(hi=null!=Xe.validators?Xe.validators:null,zr=null!=Xe.asyncValidators?Xe.asyncValidators:null,io=null!=Xe.updateOn?Xe.updateOn:void 0):(hi=null!=Xe.validator?Xe.validator:null,zr=null!=Xe.asyncValidator?Xe.asyncValidator:null)),new Os(tn,{asyncValidators:zr,updateOn:io,validators:hi})}control(ye,Xe,tn){return new Dr(ye,Xe,tn)}array(ye,Xe,tn){const hi=ye.map(zr=>this._createControl(zr));return new cs(hi,Xe,tn)}_reduceControls(ye){const Xe={};return Object.keys(ye).forEach(tn=>{Xe[tn]=this._createControl(ye[tn])}),Xe}_createControl(ye){if(To(ye)||qr(ye)||_o(ye))return ye;if(Array.isArray(ye)){const Xe=ye[0],tn=ye.length>1?ye[1]:null,hi=ye.length>2?ye[2]:null;return this.control(Xe,tn,hi)}return this.control(ye)}}Ei.\u0275fac=function(ye){return new(ye||Ei)},Ei.\u0275prov=n.Yz7({token:Ei,factory:Ei.\u0275fac,providedIn:En});new n.GfV("13.3.12")},50318:(de,$e,B)=>{"use strict";B.d($e,{Dx:()=>xt,H7:()=>br,aF:()=>Xn,b2:()=>pn,se:()=>ot});var n=B(36362),i=B(3184);class P extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class m extends P{static makeCurrent(){(0,n.HT)(new m)}onAndCancel(at,Ot,Nn){return at.addEventListener(Ot,Nn,!1),()=>{at.removeEventListener(Ot,Nn,!1)}}dispatchEvent(at,Ot){at.dispatchEvent(Ot)}remove(at){at.parentNode&&at.parentNode.removeChild(at)}createElement(at,Ot){return(Ot=Ot||this.getDefaultDocument()).createElement(at)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(at){return at.nodeType===Node.ELEMENT_NODE}isShadowRoot(at){return at instanceof DocumentFragment}getGlobalEventTarget(at,Ot){return"window"===Ot?window:"document"===Ot?at:"body"===Ot?at.body:null}getBaseHref(at){const Ot=function o(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==Ot?null:function v(ai){h=h||document.createElement("a"),h.setAttribute("href",ai);const at=h.pathname;return"/"===at.charAt(0)?at:`/${at}`}(Ot)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(at){return(0,n.Mx)(document.cookie,at)}}let h,s=null;const y=new i.OlP("TRANSITION_ID");const C=[{provide:i.ip1,useFactory:function x(ai,at,Ot){return()=>{Ot.get(i.CZH).donePromise.then(()=>{const Nn=(0,n.q)(),di=at.querySelectorAll(`style[ng-transition="${ai}"]`);for(let $i=0;$i<di.length;$i++)Nn.remove(di[$i])})}},deps:[y,n.K0,i.zs3],multi:!0}];class _{static init(){(0,i.VLi)(new _)}addToWindow(at){i.dqk.getAngularTestability=(Nn,di=!0)=>{const $i=at.findTestabilityInTree(Nn,di);if(null==$i)throw new Error("Could not find testability for element.");return $i},i.dqk.getAllAngularTestabilities=()=>at.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>at.getAllRootElements();i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(Nn=>{const di=i.dqk.getAllAngularTestabilities();let $i=di.length,Fi=!1;const Yr=function(Mo){Fi=Fi||Mo,$i--,0==$i&&Nn(Fi)};di.forEach(function(Mo){Mo.whenStable(Yr)})})}findTestabilityInTree(at,Ot,Nn){if(null==Ot)return null;const di=at.getTestability(Ot);return null!=di?di:Nn?(0,n.q)().isShadowRoot(Ot)?this.findTestabilityInTree(at,Ot.host,!0):this.findTestabilityInTree(at,Ot.parentElement,!0):null}}class w{build(){return new XMLHttpRequest}}w.\u0275fac=function(at){return new(at||w)},w.\u0275prov=i.Yz7({token:w,factory:w.\u0275fac});const z=new i.OlP("EventManagerPlugins");class R{constructor(at,Ot){this._zone=Ot,this._eventNameToPlugin=new Map,at.forEach(Nn=>Nn.manager=this),this._plugins=at.slice().reverse()}addEventListener(at,Ot,Nn){return this._findPluginFor(Ot).addEventListener(at,Ot,Nn)}addGlobalEventListener(at,Ot,Nn){return this._findPluginFor(Ot).addGlobalEventListener(at,Ot,Nn)}getZone(){return this._zone}_findPluginFor(at){const Ot=this._eventNameToPlugin.get(at);if(Ot)return Ot;const Nn=this._plugins;for(let di=0;di<Nn.length;di++){const $i=Nn[di];if($i.supports(at))return this._eventNameToPlugin.set(at,$i),$i}throw new Error(`No event manager plugin found for event ${at}`)}}R.\u0275fac=function(at){return new(at||R)(i.LFG(z),i.LFG(i.R0b))},R.\u0275prov=i.Yz7({token:R,factory:R.\u0275fac});class N{constructor(at){this._doc=at}addGlobalEventListener(at,Ot,Nn){const di=(0,n.q)().getGlobalEventTarget(this._doc,at);if(!di)throw new Error(`Unsupported event target ${di} for event ${Ot}`);return this.addEventListener(di,Ot,Nn)}}class S{constructor(){this._stylesSet=new Set}addStyles(at){const Ot=new Set;at.forEach(Nn=>{this._stylesSet.has(Nn)||(this._stylesSet.add(Nn),Ot.add(Nn))}),this.onStylesAdded(Ot)}onStylesAdded(at){}getAllStyles(){return Array.from(this._stylesSet)}}S.\u0275fac=function(at){return new(at||S)},S.\u0275prov=i.Yz7({token:S,factory:S.\u0275fac});class E extends S{constructor(at){super(),this._doc=at,this._hostNodes=new Map,this._hostNodes.set(at.head,[])}_addStylesToHost(at,Ot,Nn){at.forEach(di=>{const $i=this._doc.createElement("style");$i.textContent=di,Nn.push(Ot.appendChild($i))})}addHost(at){const Ot=[];this._addStylesToHost(this._stylesSet,at,Ot),this._hostNodes.set(at,Ot)}removeHost(at){const Ot=this._hostNodes.get(at);Ot&&Ot.forEach(O),this._hostNodes.delete(at)}onStylesAdded(at){this._hostNodes.forEach((Ot,Nn)=>{this._addStylesToHost(at,Nn,Ot)})}ngOnDestroy(){this._hostNodes.forEach(at=>at.forEach(O))}}function O(ai){(0,n.q)().remove(ai)}E.\u0275fac=function(at){return new(at||E)(i.LFG(n.K0))},E.\u0275prov=i.Yz7({token:E,factory:E.\u0275fac});const H={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},U=/%COMP%/g,W="%COMP%",re=`_nghost-${W}`,pe=`_ngcontent-${W}`;function De(ai,at,Ot){for(let Nn=0;Nn<at.length;Nn++){let di=at[Nn];Array.isArray(di)?De(ai,di,Ot):(di=di.replace(U,ai),Ot.push(di))}return Ot}function qe(ai){return at=>{if("__ngUnwrap__"===at)return ai;!1===ai(at)&&(at.preventDefault(),at.returnValue=!1)}}class ot{constructor(at,Ot,Nn){this.eventManager=at,this.sharedStylesHost=Ot,this.appId=Nn,this.rendererByCompId=new Map,this.defaultRenderer=new vt(at)}createRenderer(at,Ot){if(!at||!Ot)return this.defaultRenderer;switch(Ot.encapsulation){case i.ifc.Emulated:{let Nn=this.rendererByCompId.get(Ot.id);return Nn||(Nn=new fn(this.eventManager,this.sharedStylesHost,Ot,this.appId),this.rendererByCompId.set(Ot.id,Nn)),Nn.applyToHost(at),Nn}case 1:case i.ifc.ShadowDom:return new _n(this.eventManager,this.sharedStylesHost,at,Ot);default:if(!this.rendererByCompId.has(Ot.id)){const Nn=De(Ot.id,Ot.styles,[]);this.sharedStylesHost.addStyles(Nn),this.rendererByCompId.set(Ot.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}ot.\u0275fac=function(at){return new(at||ot)(i.LFG(R),i.LFG(E),i.LFG(i.AFp))},ot.\u0275prov=i.Yz7({token:ot,factory:ot.\u0275fac});class vt{constructor(at){this.eventManager=at,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(at,Ot){return Ot?document.createElementNS(H[Ot]||Ot,at):document.createElement(at)}createComment(at){return document.createComment(at)}createText(at){return document.createTextNode(at)}appendChild(at,Ot){at.appendChild(Ot)}insertBefore(at,Ot,Nn){at&&at.insertBefore(Ot,Nn)}removeChild(at,Ot){at&&at.removeChild(Ot)}selectRootElement(at,Ot){let Nn="string"==typeof at?document.querySelector(at):at;if(!Nn)throw new Error(`The selector "${at}" did not match any elements`);return Ot||(Nn.textContent=""),Nn}parentNode(at){return at.parentNode}nextSibling(at){return at.nextSibling}setAttribute(at,Ot,Nn,di){if(di){Ot=di+":"+Ot;const $i=H[di];$i?at.setAttributeNS($i,Ot,Nn):at.setAttribute(Ot,Nn)}else at.setAttribute(Ot,Nn)}removeAttribute(at,Ot,Nn){if(Nn){const di=H[Nn];di?at.removeAttributeNS(di,Ot):at.removeAttribute(`${Nn}:${Ot}`)}else at.removeAttribute(Ot)}addClass(at,Ot){at.classList.add(Ot)}removeClass(at,Ot){at.classList.remove(Ot)}setStyle(at,Ot,Nn,di){di&(i.JOm.DashCase|i.JOm.Important)?at.style.setProperty(Ot,Nn,di&i.JOm.Important?"important":""):at.style[Ot]=Nn}removeStyle(at,Ot,Nn){Nn&i.JOm.DashCase?at.style.removeProperty(Ot):at.style[Ot]=""}setProperty(at,Ot,Nn){at[Ot]=Nn}setValue(at,Ot){at.nodeValue=Ot}listen(at,Ot,Nn){return"string"==typeof at?this.eventManager.addGlobalEventListener(at,Ot,qe(Nn)):this.eventManager.addEventListener(at,Ot,qe(Nn))}}"@".charCodeAt(0);class fn extends vt{constructor(at,Ot,Nn,di){super(at),this.component=Nn;const $i=De(di+"-"+Nn.id,Nn.styles,[]);Ot.addStyles($i),this.contentAttr=function Ae(ai){return pe.replace(U,ai)}(di+"-"+Nn.id),this.hostAttr=function Se(ai){return re.replace(U,ai)}(di+"-"+Nn.id)}applyToHost(at){super.setAttribute(at,this.hostAttr,"")}createElement(at,Ot){const Nn=super.createElement(at,Ot);return super.setAttribute(Nn,this.contentAttr,""),Nn}}class _n extends vt{constructor(at,Ot,Nn,di){super(at),this.sharedStylesHost=Ot,this.hostEl=Nn,this.shadowRoot=Nn.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const $i=De(di.id,di.styles,[]);for(let Fi=0;Fi<$i.length;Fi++){const Yr=document.createElement("style");Yr.textContent=$i[Fi],this.shadowRoot.appendChild(Yr)}}nodeOrShadowRoot(at){return at===this.hostEl?this.shadowRoot:at}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(at,Ot){return super.appendChild(this.nodeOrShadowRoot(at),Ot)}insertBefore(at,Ot,Nn){return super.insertBefore(this.nodeOrShadowRoot(at),Ot,Nn)}removeChild(at,Ot){return super.removeChild(this.nodeOrShadowRoot(at),Ot)}parentNode(at){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(at)))}}class hn extends N{constructor(at){super(at)}supports(at){return!0}addEventListener(at,Ot,Nn){return at.addEventListener(Ot,Nn,!1),()=>this.removeEventListener(at,Ot,Nn)}removeEventListener(at,Ot,Nn){return at.removeEventListener(Ot,Nn)}}hn.\u0275fac=function(at){return new(at||hn)(i.LFG(n.K0))},hn.\u0275prov=i.Yz7({token:hn,factory:hn.\u0275fac});const vn=["alt","control","meta","shift"],dn={"\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"},Sn={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},si={alt:ai=>ai.altKey,control:ai=>ai.ctrlKey,meta:ai=>ai.metaKey,shift:ai=>ai.shiftKey};class cn extends N{constructor(at){super(at)}supports(at){return null!=cn.parseEventName(at)}addEventListener(at,Ot,Nn){const di=cn.parseEventName(Ot),$i=cn.eventCallback(di.fullKey,Nn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(at,di.domEventName,$i))}static parseEventName(at){const Ot=at.toLowerCase().split("."),Nn=Ot.shift();if(0===Ot.length||"keydown"!==Nn&&"keyup"!==Nn)return null;const di=cn._normalizeKey(Ot.pop());let $i="";if(vn.forEach(Yr=>{const Mo=Ot.indexOf(Yr);Mo>-1&&(Ot.splice(Mo,1),$i+=Yr+".")}),$i+=di,0!=Ot.length||0===di.length)return null;const Fi={};return Fi.domEventName=Nn,Fi.fullKey=$i,Fi}static getEventFullKey(at){let Ot="",Nn=function yn(ai){let at=ai.key;if(null==at){if(at=ai.keyIdentifier,null==at)return"Unidentified";at.startsWith("U+")&&(at=String.fromCharCode(parseInt(at.substring(2),16)),3===ai.location&&Sn.hasOwnProperty(at)&&(at=Sn[at]))}return dn[at]||at}(at);return Nn=Nn.toLowerCase()," "===Nn?Nn="space":"."===Nn&&(Nn="dot"),vn.forEach(di=>{di!=Nn&&si[di](at)&&(Ot+=di+".")}),Ot+=Nn,Ot}static eventCallback(at,Ot,Nn){return di=>{cn.getEventFullKey(di)===at&&Nn.runGuarded(()=>Ot(di))}}static _normalizeKey(at){return"esc"===at?"escape":at}}cn.\u0275fac=function(at){return new(at||cn)(i.LFG(n.K0))},cn.\u0275prov=i.Yz7({token:cn,factory:cn.\u0275fac});const Xn=[{provide:i.Lbi,useValue:n.bD},{provide:i.g9A,useValue:function qn(){m.makeCurrent(),_.init()},multi:!0},{provide:n.K0,useFactory:function Yn(){return(0,i.RDi)(document),document},deps:[]}],Mt=((0,i.eFA)(i._c5,"browser",Xn),[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function oi(){return new i.qLn},deps:[]},{provide:z,useClass:hn,multi:!0,deps:[n.K0,i.R0b,i.Lbi]},{provide:z,useClass:cn,multi:!0,deps:[n.K0]},{provide:ot,useClass:ot,deps:[R,E,i.AFp]},{provide:i.FYo,useExisting:ot},{provide:S,useExisting:E},{provide:E,useClass:E,deps:[n.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:R,useClass:R,deps:[z,i.R0b]},{provide:n.JF,useClass:w,deps:[]}]);class pn{constructor(at){if(at)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(at){return{ngModule:pn,providers:[{provide:i.AFp,useValue:at.appId},{provide:y,useExisting:i.AFp},C]}}}pn.\u0275fac=function(at){return new(at||pn)(i.LFG(pn,12))},pn.\u0275mod=i.oAB({type:pn,exports:[n.ez,i.hGG]}),pn.\u0275inj=i.cJS({providers:Mt,imports:[n.ez,i.hGG]});class yt{constructor(at){this._doc=at,this._dom=(0,n.q)()}addTag(at,Ot=!1){return at?this._getOrCreateElement(at,Ot):null}addTags(at,Ot=!1){return at?at.reduce((Nn,di)=>(di&&Nn.push(this._getOrCreateElement(di,Ot)),Nn),[]):[]}getTag(at){return at&&this._doc.querySelector(`meta[${at}]`)||null}getTags(at){if(!at)return[];const Ot=this._doc.querySelectorAll(`meta[${at}]`);return Ot?[].slice.call(Ot):[]}updateTag(at,Ot){if(!at)return null;Ot=Ot||this._parseSelector(at);const Nn=this.getTag(Ot);return Nn?this._setMetaElementAttributes(at,Nn):this._getOrCreateElement(at,!0)}removeTag(at){this.removeTagElement(this.getTag(at))}removeTagElement(at){at&&this._dom.remove(at)}_getOrCreateElement(at,Ot=!1){if(!Ot){const $i=this._parseSelector(at),Fi=this.getTags($i).filter(Yr=>this._containsAttributes(at,Yr))[0];if(void 0!==Fi)return Fi}const Nn=this._dom.createElement("meta");return this._setMetaElementAttributes(at,Nn),this._doc.getElementsByTagName("head")[0].appendChild(Nn),Nn}_setMetaElementAttributes(at,Ot){return Object.keys(at).forEach(Nn=>Ot.setAttribute(this._getMetaKeyMap(Nn),at[Nn])),Ot}_parseSelector(at){const Ot=at.name?"name":"property";return`${Ot}="${at[Ot]}"`}_containsAttributes(at,Ot){return Object.keys(at).every(Nn=>Ot.getAttribute(this._getMetaKeyMap(Nn))===at[Nn])}_getMetaKeyMap(at){return Je[at]||at}}yt.\u0275fac=function(at){return new(at||yt)(i.LFG(n.K0))},yt.\u0275prov=i.Yz7({token:yt,factory:function(at){let Ot=null;return Ot=at?new at:function an(){return new yt((0,i.LFG)(n.K0))}(),Ot},providedIn:"root"});const Je={httpEquiv:"http-equiv"};class xt{constructor(at){this._doc=at}getTitle(){return this._doc.title}setTitle(at){this._doc.title=at||""}}xt.\u0275fac=function(at){return new(at||xt)(i.LFG(n.K0))},xt.\u0275prov=i.Yz7({token:xt,factory:function(at){let Ot=null;return Ot=at?new at:function ht(){return new xt((0,i.LFG)(n.K0))}(),Ot},providedIn:"root"});"undefined"!=typeof window&&window;class $n{constructor(){this.store={},this.onSerializeCallbacks={}}static init(at){const Ot=new $n;return Ot.store=at,Ot}get(at,Ot){return void 0!==this.store[at]?this.store[at]:Ot}set(at,Ot){this.store[at]=Ot}remove(at){delete this.store[at]}hasKey(at){return this.store.hasOwnProperty(at)}onSerialize(at,Ot){this.onSerializeCallbacks[at]=Ot}toJson(){for(const at in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(at))try{this.store[at]=this.onSerializeCallbacks[at]()}catch(Ot){console.warn("Exception in onSerialize callback: ",Ot)}return JSON.stringify(this.store)}}$n.\u0275fac=function(at){return new(at||$n)},$n.\u0275prov=i.Yz7({token:$n,factory:$n.\u0275fac});class Pn{}Pn.\u0275fac=function(at){return new(at||Pn)},Pn.\u0275mod=i.oAB({type:Pn}),Pn.\u0275inj=i.cJS({providers:[{provide:$n,useFactory:function wr(ai,at){const Ot=ai.getElementById(at+"-state");let Nn={};if(Ot&&Ot.textContent)try{Nn=JSON.parse(function _i(ai){const at={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return ai.replace(/&[^;]+;/g,Ot=>at[Ot])}(Ot.textContent))}catch(di){console.warn("Exception while restoring TransferState for app "+at,di)}return $n.init(Nn)},deps:[n.K0,i.AFp]}]});const mi={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},xi=new i.OlP("HammerGestureConfig"),Mr=new i.OlP("HammerLoader");class gr{constructor(){this.events=[],this.overrides={}}buildHammer(at){const Ot=new Hammer(at,this.options);Ot.get("pinch").set({enable:!0}),Ot.get("rotate").set({enable:!0});for(const Nn in this.overrides)Ot.get(Nn).set(this.overrides[Nn]);return Ot}}gr.\u0275fac=function(at){return new(at||gr)},gr.\u0275prov=i.Yz7({token:gr,factory:gr.\u0275fac});class Li extends N{constructor(at,Ot,Nn,di){super(at),this._config=Ot,this.console=Nn,this.loader=di,this._loaderPromise=null}supports(at){return!(!mi.hasOwnProperty(at.toLowerCase())&&!this.isCustomEvent(at)||!window.Hammer&&!this.loader)}addEventListener(at,Ot,Nn){const di=this.manager.getZone();if(Ot=Ot.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let $i=!1,Fi=()=>{$i=!0};return this._loaderPromise.then(()=>{window.Hammer?$i||(Fi=this.addEventListener(at,Ot,Nn)):Fi=()=>{}}).catch(()=>{Fi=()=>{}}),()=>{Fi()}}return di.runOutsideAngular(()=>{const $i=this._config.buildHammer(at),Fi=function(Yr){di.runGuarded(function(){Nn(Yr)})};return $i.on(Ot,Fi),()=>{$i.off(Ot,Fi),"function"==typeof $i.destroy&&$i.destroy()}})}isCustomEvent(at){return this._config.events.indexOf(at)>-1}}Li.\u0275fac=function(at){return new(at||Li)(i.LFG(n.K0),i.LFG(xi),i.LFG(i.c2e),i.LFG(Mr,8))},Li.\u0275prov=i.Yz7({token:Li,factory:Li.\u0275fac});class Sr{}Sr.\u0275fac=function(at){return new(at||Sr)},Sr.\u0275mod=i.oAB({type:Sr}),Sr.\u0275inj=i.cJS({providers:[{provide:z,useClass:Li,multi:!0,deps:[n.K0,xi,i.c2e,[new i.FiY,Mr]]},{provide:xi,useClass:gr,deps:[]}]});class br{}br.\u0275fac=function(at){return new(at||br)},br.\u0275prov=i.Yz7({token:br,factory:function(at){let Ot=null;return Ot=at?new(at||br):i.LFG(uo),Ot},providedIn:"root"});class uo extends br{constructor(at){super(),this._doc=at}sanitize(at,Ot){if(null==Ot)return null;switch(at){case i.q3G.NONE:return Ot;case i.q3G.HTML:return(0,i.qzn)(Ot,"HTML")?(0,i.z3N)(Ot):(0,i.EiD)(this._doc,String(Ot)).toString();case i.q3G.STYLE:return(0,i.qzn)(Ot,"Style")?(0,i.z3N)(Ot):Ot;case i.q3G.SCRIPT:if((0,i.qzn)(Ot,"Script"))return(0,i.z3N)(Ot);throw new Error("unsafe value used in a script context");case i.q3G.URL:(0,i.yhl)(Ot);return(0,i.qzn)(Ot,"URL")?(0,i.z3N)(Ot):(0,i.mCW)(String(Ot));case i.q3G.RESOURCE_URL:if((0,i.qzn)(Ot,"ResourceURL"))return(0,i.z3N)(Ot);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${at} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(at){return(0,i.JVY)(at)}bypassSecurityTrustStyle(at){return(0,i.L6k)(at)}bypassSecurityTrustScript(at){return(0,i.eBb)(at)}bypassSecurityTrustUrl(at){return(0,i.LAX)(at)}bypassSecurityTrustResourceUrl(at){return(0,i.pB0)(at)}}uo.\u0275fac=function(at){return new(at||uo)(i.LFG(n.K0))},uo.\u0275prov=i.Yz7({token:uo,factory:function(at){let Ot=null;return Ot=at?new at:function Xr(ai){return new uo(ai.get(n.K0))}(i.LFG(i.zs3)),Ot},providedIn:"root"});new i.GfV("13.3.12")},52816:(de,$e,B)=>{"use strict";B.d($e,{Bz:()=>Hr,F0:()=>cr,OD:()=>vt,gz:()=>jo,jw:()=>oi,m2:()=>rn});var n=B(3184),i=B(24383),P=B(64139),m=B(84505),s=B(19193),o=B(66587),h=B(90213),v=B(55828),y=B(1635),x=B(52822),C=B(26439),_=B(64483),w=B(92218),z=B(86942),R=B(59095),N=B(83910),S=B(25722),E=B(32647),O=B(59151),H=B(47418),U=B(11133),X=B(35690),W=B(25670),re=B(80522),pe=B(88759),Ae=B(52160),Se=B(38331),De=B(44661),qe=B(76675),rt=B(36362);class ot{constructor(ae,xe){this.id=ae,this.url=xe}}class vt extends ot{constructor(ae,xe,He="imperative",Ke=null){super(ae,xe),this.navigationTrigger=He,this.restoredState=Ke}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class rn extends ot{constructor(ae,xe,He){super(ae,xe),this.urlAfterRedirects=He}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Xt extends ot{constructor(ae,xe,He){super(ae,xe),this.reason=He}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fn extends ot{constructor(ae,xe,He){super(ae,xe),this.error=He}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class _n extends ot{constructor(ae,xe,He,Ke){super(ae,xe),this.urlAfterRedirects=He,this.state=Ke}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hn extends ot{constructor(ae,xe,He,Ke){super(ae,xe),this.urlAfterRedirects=He,this.state=Ke}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vn extends ot{constructor(ae,xe,He,Ke,bt){super(ae,xe),this.urlAfterRedirects=He,this.state=Ke,this.shouldActivate=bt}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class xn extends ot{constructor(ae,xe,He,Ke){super(ae,xe),this.urlAfterRedirects=He,this.state=Ke}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dn extends ot{constructor(ae,xe,He,Ke){super(ae,xe),this.urlAfterRedirects=He,this.state=Ke}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Sn{constructor(ae){this.route=ae}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class si{constructor(ae){this.route=ae}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class cn{constructor(ae){this.snapshot=ae}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yn{constructor(ae){this.snapshot=ae}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class qn{constructor(ae){this.snapshot=ae}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oi{constructor(ae){this.snapshot=ae}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yn{constructor(ae,xe,He){this.routerEvent=ae,this.position=xe,this.anchor=He}toString(){const ae=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${ae}')`}}const Xn="primary";class gi{constructor(ae){this.params=ae||{}}has(ae){return Object.prototype.hasOwnProperty.call(this.params,ae)}get(ae){if(this.has(ae)){const xe=this.params[ae];return Array.isArray(xe)?xe[0]:xe}return null}getAll(ae){if(this.has(ae)){const xe=this.params[ae];return Array.isArray(xe)?xe:[xe]}return[]}get keys(){return Object.keys(this.params)}}function Mt(ge){return new gi(ge)}const pn="ngNavigationCancelingError";function an(ge){const ae=Error("NavigationCancelingError: "+ge);return ae[pn]=!0,ae}function Je(ge,ae,xe){const He=xe.path.split("/");if(He.length>ge.length||"full"===xe.pathMatch&&(ae.hasChildren()||He.length<ge.length))return null;const Ke={};for(let bt=0;bt<He.length;bt++){const Tt=He[bt],gn=ge[bt];if(Tt.startsWith(":"))Ke[Tt.substring(1)]=gn;else if(Tt!==gn.path)return null}return{consumed:ge.slice(0,He.length),posParams:Ke}}function xt(ge,ae){const xe=ge?Object.keys(ge):void 0,He=ae?Object.keys(ae):void 0;if(!xe||!He||xe.length!=He.length)return!1;let Ke;for(let bt=0;bt<xe.length;bt++)if(Ke=xe[bt],!Ht(ge[Ke],ae[Ke]))return!1;return!0}function Ht(ge,ae){if(Array.isArray(ge)&&Array.isArray(ae)){if(ge.length!==ae.length)return!1;const xe=[...ge].sort(),He=[...ae].sort();return xe.every((Ke,bt)=>He[bt]===Ke)}return ge===ae}function $t(ge){return Array.prototype.concat.apply([],ge)}function Jt(ge){return ge.length>0?ge[ge.length-1]:null}function Ft(ge,ae){for(const xe in ge)ge.hasOwnProperty(xe)&&ae(ge[xe],xe)}function ln(ge){return(0,n.CqO)(ge)?ge:(0,n.QGY)(ge)?(0,i.D)(Promise.resolve(ge)):(0,P.of)(ge)}const Mn={exact:function Ki(ge,ae,xe){if(!mi(ge.segments,ae.segments)||!$n(ge.segments,ae.segments,xe)||ge.numberOfChildren!==ae.numberOfChildren)return!1;for(const He in ae.children)if(!ge.children[He]||!Ki(ge.children[He],ae.children[He],xe))return!1;return!0},subset:_i},ti={exact:function ki(ge,ae){return xt(ge,ae)},subset:function Hi(ge,ae){return Object.keys(ae).length<=Object.keys(ge).length&&Object.keys(ae).every(xe=>Ht(ge[xe],ae[xe]))},ignored:()=>!0};function Ai(ge,ae,xe){return Mn[xe.paths](ge.root,ae.root,xe.matrixParams)&&ti[xe.queryParams](ge.queryParams,ae.queryParams)&&!("exact"===xe.fragment&&ge.fragment!==ae.fragment)}function _i(ge,ae,xe){return pi(ge,ae,ae.segments,xe)}function pi(ge,ae,xe,He){if(ge.segments.length>xe.length){const Ke=ge.segments.slice(0,xe.length);return!(!mi(Ke,xe)||ae.hasChildren()||!$n(Ke,xe,He))}if(ge.segments.length===xe.length){if(!mi(ge.segments,xe)||!$n(ge.segments,xe,He))return!1;for(const Ke in ae.children)if(!ge.children[Ke]||!_i(ge.children[Ke],ae.children[Ke],He))return!1;return!0}{const Ke=xe.slice(0,ge.segments.length),bt=xe.slice(ge.segments.length);return!!(mi(ge.segments,Ke)&&$n(ge.segments,Ke,He)&&ge.children[Xn])&&pi(ge.children[Xn],ae,bt,He)}}function $n(ge,ae,xe){return ae.every((He,Ke)=>ti[xe](ge[Ke].parameters,He.parameters))}class wr{constructor(ae,xe,He){this.root=ae,this.queryParams=xe,this.fragment=He}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return Li.serialize(this)}}class Pn{constructor(ae,xe){this.segments=ae,this.children=xe,this.parent=null,Ft(xe,(He,Ke)=>He.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sr(this)}}class Bn{constructor(ae,xe){this.path=ae,this.parameters=xe}get parameterMap(){return this._parameterMap||(this._parameterMap=Mt(this.parameters)),this._parameterMap}toString(){return Nn(this)}}function mi(ge,ae){return ge.length===ae.length&&ge.every((xe,He)=>xe.path===ae[He].path)}class Mr{}class gr{parse(ae){const xe=new so(ae);return new wr(xe.parseRootSegment(),xe.parseQueryParams(),xe.parseFragment())}serialize(ae){const xe=`/${br(ae.root,!0)}`,He=function $i(ge){const ae=Object.keys(ge).map(xe=>{const He=ge[xe];return Array.isArray(He)?He.map(Ke=>`${uo(xe)}=${uo(Ke)}`).join("&"):`${uo(xe)}=${uo(He)}`}).filter(xe=>!!xe);return ae.length?`?${ae.join("&")}`:""}(ae.queryParams);return`${xe}${He}${"string"==typeof ae.fragment?`#${function fa(ge){return encodeURI(ge)}(ae.fragment)}`:""}`}}const Li=new gr;function Sr(ge){return ge.segments.map(ae=>Nn(ae)).join("/")}function br(ge,ae){if(!ge.hasChildren())return Sr(ge);if(ae){const xe=ge.children[Xn]?br(ge.children[Xn],!1):"",He=[];return Ft(ge.children,(Ke,bt)=>{bt!==Xn&&He.push(`${bt}:${br(Ke,!1)}`)}),He.length>0?`${xe}(${He.join("//")})`:xe}{const xe=function xi(ge,ae){let xe=[];return Ft(ge.children,(He,Ke)=>{Ke===Xn&&(xe=xe.concat(ae(He,Ke)))}),Ft(ge.children,(He,Ke)=>{Ke!==Xn&&(xe=xe.concat(ae(He,Ke)))}),xe}(ge,(He,Ke)=>Ke===Xn?[br(ge.children[Xn],!1)]:[`${Ke}:${br(He,!1)}`]);return 1===Object.keys(ge.children).length&&null!=ge.children[Xn]?`${Sr(ge)}/${xe[0]}`:`${Sr(ge)}/(${xe.join("//")})`}}function Xr(ge){return encodeURIComponent(ge).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function uo(ge){return Xr(ge).replace(/%3B/gi,";")}function ai(ge){return Xr(ge).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function at(ge){return decodeURIComponent(ge)}function Ot(ge){return at(ge.replace(/\+/g,"%20"))}function Nn(ge){return`${ai(ge.path)}${function di(ge){return Object.keys(ge).map(ae=>`;${ai(ae)}=${ai(ge[ae])}`).join("")}(ge.parameters)}`}const Fi=/^[^\/()?;=#]+/;function Yr(ge){const ae=ge.match(Fi);return ae?ae[0]:""}const Mo=/^[^=?&#]+/;const Bi=/^[^&#]+/;class so{constructor(ae){this.url=ae,this.remaining=ae}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pn([],{}):new Pn([],this.parseChildren())}parseQueryParams(){const ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(ae)}while(this.consumeOptional("&"));return ae}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ae=[];for(this.peekStartsWith("(")||ae.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ae.push(this.parseSegment());let xe={};this.peekStartsWith("/(")&&(this.capture("/"),xe=this.parseParens(!0));let He={};return this.peekStartsWith("(")&&(He=this.parseParens(!1)),(ae.length>0||Object.keys(xe).length>0)&&(He[Xn]=new Pn(ae,xe)),He}parseSegment(){const ae=Yr(this.remaining);if(""===ae&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(ae),new Bn(at(ae),this.parseMatrixParams())}parseMatrixParams(){const ae={};for(;this.consumeOptional(";");)this.parseParam(ae);return ae}parseParam(ae){const xe=Yr(this.remaining);if(!xe)return;this.capture(xe);let He="";if(this.consumeOptional("=")){const Ke=Yr(this.remaining);Ke&&(He=Ke,this.capture(He))}ae[at(xe)]=at(He)}parseQueryParam(ae){const xe=function Jr(ge){const ae=ge.match(Mo);return ae?ae[0]:""}(this.remaining);if(!xe)return;this.capture(xe);let He="";if(this.consumeOptional("=")){const Tt=function ks(ge){const ae=ge.match(Bi);return ae?ae[0]:""}(this.remaining);Tt&&(He=Tt,this.capture(He))}const Ke=Ot(xe),bt=Ot(He);if(ae.hasOwnProperty(Ke)){let Tt=ae[Ke];Array.isArray(Tt)||(Tt=[Tt],ae[Ke]=Tt),Tt.push(bt)}else ae[Ke]=bt}parseParens(ae){const xe={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const He=Yr(this.remaining),Ke=this.remaining[He.length];if("/"!==Ke&&")"!==Ke&&";"!==Ke)throw new Error(`Cannot parse url '${this.url}'`);let bt;He.indexOf(":")>-1?(bt=He.substr(0,He.indexOf(":")),this.capture(bt),this.capture(":")):ae&&(bt=Xn);const Tt=this.parseChildren();xe[bt]=1===Object.keys(Tt).length?Tt[Xn]:new Pn([],Tt),this.consumeOptional("//")}return xe}peekStartsWith(ae){return this.remaining.startsWith(ae)}consumeOptional(ae){return!!this.peekStartsWith(ae)&&(this.remaining=this.remaining.substring(ae.length),!0)}capture(ae){if(!this.consumeOptional(ae))throw new Error(`Expected "${ae}".`)}}class Qo{constructor(ae){this._root=ae}get root(){return this._root.value}parent(ae){const xe=this.pathFromRoot(ae);return xe.length>1?xe[xe.length-2]:null}children(ae){const xe=mr(ae,this._root);return xe?xe.children.map(He=>He.value):[]}firstChild(ae){const xe=mr(ae,this._root);return xe&&xe.children.length>0?xe.children[0].value:null}siblings(ae){const xe=Ti(ae,this._root);return xe.length<2?[]:xe[xe.length-2].children.map(Ke=>Ke.value).filter(Ke=>Ke!==ae)}pathFromRoot(ae){return Ti(ae,this._root).map(xe=>xe.value)}}function mr(ge,ae){if(ge===ae.value)return ae;for(const xe of ae.children){const He=mr(ge,xe);if(He)return He}return null}function Ti(ge,ae){if(ge===ae.value)return[ae];for(const xe of ae.children){const He=Ti(ge,xe);if(He.length)return He.unshift(ae),He}return[]}class Cr{constructor(ae,xe){this.value=ae,this.children=xe}toString(){return`TreeNode(${this.value})`}}function Vi(ge){const ae={};return ge&&ge.children.forEach(xe=>ae[xe.value.outlet]=xe),ae}class To extends Qo{constructor(ae,xe){super(ae),this.snapshot=xe,Os(this,ae)}toString(){return this.snapshot.toString()}}function qr(ge,ae){const xe=function _o(ge,ae){const Tt=new Ho([],{},{},"",{},Xn,ae,null,ge.root,-1,{});return new Dr("",new Cr(Tt,[]))}(ge,ae),He=new m.X([new Bn("",{})]),Ke=new m.X({}),bt=new m.X({}),Tt=new m.X({}),gn=new m.X(""),yi=new jo(He,Ke,Tt,gn,bt,Xn,ae,xe.root);return yi.snapshot=xe.root,new To(new Cr(yi,[]),xe)}class jo{constructor(ae,xe,He,Ke,bt,Tt,gn,yi){this.url=ae,this.params=xe,this.queryParams=He,this.fragment=Ke,this.data=bt,this.outlet=Tt,this.component=gn,this._futureSnapshot=yi}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,z.U)(ae=>Mt(ae)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,z.U)(ae=>Mt(ae)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Do(ge,ae="emptyOnly"){const xe=ge.pathFromRoot;let He=0;if("always"!==ae)for(He=xe.length-1;He>=1;){const Ke=xe[He],bt=xe[He-1];if(Ke.routeConfig&&""===Ke.routeConfig.path)He--;else{if(bt.component)break;He--}}return function gs(ge){return ge.reduce((ae,xe)=>({params:Object.assign(Object.assign({},ae.params),xe.params),data:Object.assign(Object.assign({},ae.data),xe.data),resolve:Object.assign(Object.assign({},ae.resolve),xe._resolvedData)}),{params:{},data:{},resolve:{}})}(xe.slice(He))}class Ho{constructor(ae,xe,He,Ke,bt,Tt,gn,yi,D,K,he){this.url=ae,this.params=xe,this.queryParams=He,this.fragment=Ke,this.data=bt,this.outlet=Tt,this.component=gn,this.routeConfig=yi,this._urlSegment=D,this._lastPathIndex=K,this._resolve=he}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Mt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Mt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(He=>He.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Dr extends Qo{constructor(ae,xe){super(xe),this.url=ae,Os(this,xe)}toString(){return cs(this._root)}}function Os(ge,ae){ae.value._routerState=ge,ae.children.forEach(xe=>Os(ge,xe))}function cs(ge){const ae=ge.children.length>0?` { ${ge.children.map(cs).join(", ")} } `:"";return`${ge.value}${ae}`}function li(ge){if(ge.snapshot){const ae=ge.snapshot,xe=ge._futureSnapshot;ge.snapshot=xe,xt(ae.queryParams,xe.queryParams)||ge.queryParams.next(xe.queryParams),ae.fragment!==xe.fragment&&ge.fragment.next(xe.fragment),xt(ae.params,xe.params)||ge.params.next(xe.params),function ht(ge,ae){if(ge.length!==ae.length)return!1;for(let xe=0;xe<ge.length;++xe)if(!xt(ge[xe],ae[xe]))return!1;return!0}(ae.url,xe.url)||ge.url.next(xe.url),xt(ae.data,xe.data)||ge.data.next(xe.data)}else ge.snapshot=ge._futureSnapshot,ge.data.next(ge._futureSnapshot.data)}function Qr(ge,ae){const xe=xt(ge.params,ae.params)&&function ri(ge,ae){return mi(ge,ae)&&ge.every((xe,He)=>xt(xe.parameters,ae[He].parameters))}(ge.url,ae.url),He=!ge.parent!=!ae.parent;return xe&&!He&&(!ge.parent||Qr(ge.parent,ae.parent))}function ys(ge,ae,xe){if(xe&&ge.shouldReuseRoute(ae.value,xe.value.snapshot)){const He=xe.value;He._futureSnapshot=ae.value;const Ke=function _a(ge,ae,xe){return ae.children.map(He=>{for(const Ke of xe.children)if(ge.shouldReuseRoute(He.value,Ke.value.snapshot))return ys(ge,He,Ke);return ys(ge,He)})}(ge,ae,xe);return new Cr(He,Ke)}{if(ge.shouldAttach(ae.value)){const bt=ge.retrieve(ae.value);if(null!==bt){const Tt=bt.route;return Tt.value._futureSnapshot=ae.value,Tt.children=ae.children.map(gn=>ys(ge,gn)),Tt}}const He=function Ps(ge){return new jo(new m.X(ge.url),new m.X(ge.params),new m.X(ge.queryParams),new m.X(ge.fragment),new m.X(ge.data),ge.outlet,ge.component,ge)}(ae.value),Ke=ae.children.map(bt=>ys(ge,bt));return new Cr(He,Ke)}}function ji(ge,ae,xe,He,Ke){if(0===xe.length)return no(ae.root,ae.root,ae.root,He,Ke);const bt=function zs(ge){if("string"==typeof ge[0]&&1===ge.length&&"/"===ge[0])return new ra(!0,0,ge);let ae=0,xe=!1;const He=ge.reduce((Ke,bt,Tt)=>{if("object"==typeof bt&&null!=bt){if(bt.outlets){const gn={};return Ft(bt.outlets,(yi,D)=>{gn[D]="string"==typeof yi?yi.split("/"):yi}),[...Ke,{outlets:gn}]}if(bt.segmentPath)return[...Ke,bt.segmentPath]}return"string"!=typeof bt?[...Ke,bt]:0===Tt?(bt.split("/").forEach((gn,yi)=>{0==yi&&"."===gn||(0==yi&&""===gn?xe=!0:".."===gn?ae++:""!=gn&&Ke.push(gn))}),Ke):[...Ke,bt]},[]);return new ra(xe,ae,He)}(xe);if(bt.toRoot())return no(ae.root,ae.root,new Pn([],{}),He,Ke);const Tt=function yr(ge,ae,xe){if(ge.isAbsolute)return new bo(ae.root,!0,0);if(-1===xe.snapshot._lastPathIndex){const bt=xe.snapshot._urlSegment,Tt=bt===ae.root;return new bo(bt,Tt,0)}const He=So(ge.commands[0])?0:1,Ke=xe.snapshot._lastPathIndex+He;return function yo(ge,ae,xe){let He=ge,Ke=ae,bt=xe;for(;bt>Ke;){if(bt-=Ke,He=He.parent,!He)throw new Error("Invalid number of '../'");Ke=He.segments.length}return new bo(He,!1,Ke-bt)}(xe.snapshot._urlSegment,Ke,ge.numberOfDoubleDots)}(bt,ae,ge),gn=Tt.processChildren?Or(Tt.segmentGroup,Tt.index,bt.commands):Po(Tt.segmentGroup,Tt.index,bt.commands);return no(ae.root,Tt.segmentGroup,gn,He,Ke)}function So(ge){return"object"==typeof ge&&null!=ge&&!ge.outlets&&!ge.segmentPath}function Us(ge){return"object"==typeof ge&&null!=ge&&ge.outlets}function no(ge,ae,xe,He,Ke){let bt={};if(He&&Ft(He,(gn,yi)=>{bt[yi]=Array.isArray(gn)?gn.map(D=>`${D}`):`${gn}`}),ge===ae)return new wr(xe,bt,Ke);const Tt=ho(ge,ae,xe);return new wr(Tt,bt,Ke)}function ho(ge,ae,xe){const He={};return Ft(ge.children,(Ke,bt)=>{He[bt]=Ke===ae?xe:ho(Ke,ae,xe)}),new Pn(ge.segments,He)}class ra{constructor(ae,xe,He){if(this.isAbsolute=ae,this.numberOfDoubleDots=xe,this.commands=He,ae&&He.length>0&&So(He[0]))throw new Error("Root segment cannot have matrix parameters");const Ke=He.find(Us);if(Ke&&Ke!==Jt(He))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class bo{constructor(ae,xe,He){this.segmentGroup=ae,this.processChildren=xe,this.index=He}}function Po(ge,ae,xe){if(ge||(ge=new Pn([],{})),0===ge.segments.length&&ge.hasChildren())return Or(ge,ae,xe);const He=function rs(ge,ae,xe){let He=0,Ke=ae;const bt={match:!1,pathIndex:0,commandIndex:0};for(;Ke<ge.segments.length;){if(He>=xe.length)return bt;const Tt=ge.segments[Ke],gn=xe[He];if(Us(gn))break;const yi=`${gn}`,D=He<xe.length-1?xe[He+1]:null;if(Ke>0&&void 0===yi)break;if(yi&&D&&"object"==typeof D&&void 0===D.outlets){if(!Ws(yi,D,Tt))return bt;He+=2}else{if(!Ws(yi,{},Tt))return bt;He++}Ke++}return{match:!0,pathIndex:Ke,commandIndex:He}}(ge,ae,xe),Ke=xe.slice(He.commandIndex);if(He.match&&He.pathIndex<ge.segments.length){const bt=new Pn(ge.segments.slice(0,He.pathIndex),{});return bt.children[Xn]=new Pn(ge.segments.slice(He.pathIndex),ge.children),Or(bt,0,Ke)}return He.match&&0===Ke.length?new Pn(ge.segments,{}):He.match&&!ge.hasChildren()?Xo(ge,ae,xe):He.match?Or(ge,0,Ke):Xo(ge,ae,xe)}function Or(ge,ae,xe){if(0===xe.length)return new Pn(ge.segments,{});{const He=function Fo(ge){return Us(ge[0])?ge[0].outlets:{[Xn]:ge}}(xe),Ke={};return Ft(He,(bt,Tt)=>{"string"==typeof bt&&(bt=[bt]),null!==bt&&(Ke[Tt]=Po(ge.children[Tt],ae,bt))}),Ft(ge.children,(bt,Tt)=>{void 0===He[Tt]&&(Ke[Tt]=bt)}),new Pn(ge.segments,Ke)}}function Xo(ge,ae,xe){const He=ge.segments.slice(0,ae);let Ke=0;for(;Ke<xe.length;){const bt=xe[Ke];if(Us(bt)){const yi=ba(bt.outlets);return new Pn(He,yi)}if(0===Ke&&So(xe[0])){const yi=ge.segments[ae];He.push(new Bn(yi.path,xs(xe[0]))),Ke++;continue}const Tt=Us(bt)?bt.outlets[Xn]:`${bt}`,gn=Ke<xe.length-1?xe[Ke+1]:null;Tt&&gn&&So(gn)?(He.push(new Bn(Tt,xs(gn))),Ke+=2):(He.push(new Bn(Tt,{})),Ke++)}return new Pn(He,{})}function ba(ge){const ae={};return Ft(ge,(xe,He)=>{"string"==typeof xe&&(xe=[xe]),null!==xe&&(ae[He]=Xo(new Pn([],{}),0,xe))}),ae}function xs(ge){const ae={};return Ft(ge,(xe,He)=>ae[He]=`${xe}`),ae}function Ws(ge,ae,xe){return ge==xe.path&&xt(ae,xe.parameters)}class js{constructor(ae,xe,He,Ke){this.routeReuseStrategy=ae,this.futureState=xe,this.currState=He,this.forwardEvent=Ke}activate(ae){const xe=this.futureState._root,He=this.currState?this.currState._root:null;this.deactivateChildRoutes(xe,He,ae),li(this.futureState.root),this.activateChildRoutes(xe,He,ae)}deactivateChildRoutes(ae,xe,He){const Ke=Vi(xe);ae.children.forEach(bt=>{const Tt=bt.value.outlet;this.deactivateRoutes(bt,Ke[Tt],He),delete Ke[Tt]}),Ft(Ke,(bt,Tt)=>{this.deactivateRouteAndItsChildren(bt,He)})}deactivateRoutes(ae,xe,He){const Ke=ae.value,bt=xe?xe.value:null;if(Ke===bt)if(Ke.component){const Tt=He.getContext(Ke.outlet);Tt&&this.deactivateChildRoutes(ae,xe,Tt.children)}else this.deactivateChildRoutes(ae,xe,He);else bt&&this.deactivateRouteAndItsChildren(xe,He)}deactivateRouteAndItsChildren(ae,xe){ae.value.component&&this.routeReuseStrategy.shouldDetach(ae.value.snapshot)?this.detachAndStoreRouteSubtree(ae,xe):this.deactivateRouteAndOutlet(ae,xe)}detachAndStoreRouteSubtree(ae,xe){const He=xe.getContext(ae.value.outlet),Ke=He&&ae.value.component?He.children:xe,bt=Vi(ae);for(const Tt of Object.keys(bt))this.deactivateRouteAndItsChildren(bt[Tt],Ke);if(He&&He.outlet){const Tt=He.outlet.detach(),gn=He.children.onOutletDeactivated();this.routeReuseStrategy.store(ae.value.snapshot,{componentRef:Tt,route:ae,contexts:gn})}}deactivateRouteAndOutlet(ae,xe){const He=xe.getContext(ae.value.outlet),Ke=He&&ae.value.component?He.children:xe,bt=Vi(ae);for(const Tt of Object.keys(bt))this.deactivateRouteAndItsChildren(bt[Tt],Ke);He&&He.outlet&&(He.outlet.deactivate(),He.children.onOutletDeactivated(),He.attachRef=null,He.resolver=null,He.route=null)}activateChildRoutes(ae,xe,He){const Ke=Vi(xe);ae.children.forEach(bt=>{this.activateRoutes(bt,Ke[bt.value.outlet],He),this.forwardEvent(new oi(bt.value.snapshot))}),ae.children.length&&this.forwardEvent(new yn(ae.value.snapshot))}activateRoutes(ae,xe,He){const Ke=ae.value,bt=xe?xe.value:null;if(li(Ke),Ke===bt)if(Ke.component){const Tt=He.getOrCreateContext(Ke.outlet);this.activateChildRoutes(ae,xe,Tt.children)}else this.activateChildRoutes(ae,xe,He);else if(Ke.component){const Tt=He.getOrCreateContext(Ke.outlet);if(this.routeReuseStrategy.shouldAttach(Ke.snapshot)){const gn=this.routeReuseStrategy.retrieve(Ke.snapshot);this.routeReuseStrategy.store(Ke.snapshot,null),Tt.children.onOutletReAttached(gn.contexts),Tt.attachRef=gn.componentRef,Tt.route=gn.route.value,Tt.outlet&&Tt.outlet.attach(gn.componentRef,gn.route.value),li(gn.route.value),this.activateChildRoutes(ae,null,Tt.children)}else{const gn=function Jo(ge){for(let ae=ge.parent;ae;ae=ae.parent){const xe=ae.routeConfig;if(xe&&xe._loadedConfig)return xe._loadedConfig;if(xe&&xe.component)return null}return null}(Ke.snapshot),yi=gn?gn.module.componentFactoryResolver:null;Tt.attachRef=null,Tt.route=Ke,Tt.resolver=yi,Tt.outlet&&Tt.outlet.activateWith(Ke,yi),this.activateChildRoutes(ae,null,Tt.children)}}else this.activateChildRoutes(ae,null,He)}}class Vo{constructor(ae,xe){this.routes=ae,this.module=xe}}function Io(ge){return"function"==typeof ge}function q(ge){return ge instanceof wr}const It=Symbol("INITIAL_VALUE");function Ut(){return(0,R.w)(ge=>(0,s.aj)(ge.map(ae=>ae.pipe((0,N.q)(1),(0,S.O)(It)))).pipe((0,E.R)((ae,xe)=>{let He=!1;return xe.reduce((Ke,bt,Tt)=>Ke!==It?Ke:(bt===It&&(He=!0),He||!1!==bt&&Tt!==xe.length-1&&!q(bt)?Ke:bt),ae)},It),(0,O.h)(ae=>ae!==It),(0,z.U)(ae=>q(ae)?ae:!0===ae),(0,N.q)(1)))}class Wt{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Pt,this.attachRef=null}}class Pt{constructor(){this.contexts=new Map}onChildOutletCreated(ae,xe){const He=this.getOrCreateContext(ae);He.outlet=xe,this.contexts.set(ae,He)}onChildOutletDestroyed(ae){const xe=this.getContext(ae);xe&&(xe.outlet=null,xe.attachRef=null)}onOutletDeactivated(){const ae=this.contexts;return this.contexts=new Map,ae}onOutletReAttached(ae){this.contexts=ae}getOrCreateContext(ae){let xe=this.getContext(ae);return xe||(xe=new Wt,this.contexts.set(ae,xe)),xe}getContext(ae){return this.contexts.get(ae)||null}}class Et{constructor(ae,xe,He,Ke,bt){this.parentContexts=ae,this.location=xe,this.resolver=He,this.changeDetector=bt,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.vpe,this.deactivateEvents=new n.vpe,this.attachEvents=new n.vpe,this.detachEvents=new n.vpe,this.name=Ke||Xn,ae.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const ae=this.parentContexts.getContext(this.name);ae&&ae.route&&(ae.attachRef?this.attach(ae.attachRef,ae.route):this.activateWith(ae.route,ae.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const ae=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ae.instance),ae}attach(ae,xe){this.activated=ae,this._activatedRoute=xe,this.location.insert(ae.hostView),this.attachEvents.emit(ae.instance)}deactivate(){if(this.activated){const ae=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ae)}}activateWith(ae,xe){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=ae;const Ke=ae._futureSnapshot.routeConfig.component,bt=(xe=xe||this.resolver).resolveComponentFactory(Ke),Tt=this.parentContexts.getOrCreateContext(this.name).children,gn=new Dn(ae,Tt,this.location.injector);this.activated=this.location.createComponent(bt,this.location.length,gn),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}Et.\u0275fac=function(ae){return new(ae||Et)(n.Y36(Pt),n.Y36(n.s_b),n.Y36(n._Vd),n.$8M("name"),n.Y36(n.sBO))},Et.\u0275dir=n.lG2({type:Et,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]});class Dn{constructor(ae,xe,He){this.route=ae,this.childContexts=xe,this.parent=He}get(ae,xe){return ae===jo?this.route:ae===Pt?this.childContexts:this.parent.get(ae,xe)}}class Ln{}function An(ge,ae=""){for(let xe=0;xe<ge.length;xe++){const He=ge[xe];Qn(He,ui(ae,He))}}function Qn(ge,ae){ge.children&&An(ge.children,ae)}function ui(ge,ae){return ae?ge||ae.path?ge&&!ae.path?`${ge}/`:!ge&&ae.path?ae.path:`${ge}/${ae.path}`:"":ge}function Ui(ge){const ae=ge.children&&ge.children.map(Ui),xe=ae?Object.assign(Object.assign({},ge),{children:ae}):Object.assign({},ge);return!xe.component&&(ae||xe.loadChildren)&&xe.outlet&&xe.outlet!==Xn&&(xe.component=Ln),xe}function hr(ge){return ge.outlet||Xn}function kr(ge,ae){const xe=ge.filter(He=>hr(He)===ae);return xe.push(...ge.filter(He=>hr(He)!==ae)),xe}Ln.\u0275fac=function(ae){return new(ae||Ln)},Ln.\u0275cmp=n.Xpm({type:Ln,selectors:[["ng-component"]],decls:1,vars:0,template:function(ae,xe){1&ae&&n._UZ(0,"router-outlet")},directives:[Et],encapsulation:2});const Ri={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yi(ge,ae,xe){var He;if(""===ae.path)return"full"===ae.pathMatch&&(ge.hasChildren()||xe.length>0)?Object.assign({},Ri):{matched:!0,consumedSegments:[],remainingSegments:xe,parameters:{},positionalParamSegments:{}};const bt=(ae.matcher||Je)(xe,ge,ae);if(!bt)return Object.assign({},Ri);const Tt={};Ft(bt.posParams,(yi,D)=>{Tt[D]=yi.path});const gn=bt.consumed.length>0?Object.assign(Object.assign({},Tt),bt.consumed[bt.consumed.length-1].parameters):Tt;return{matched:!0,consumedSegments:bt.consumed,remainingSegments:xe.slice(bt.consumed.length),parameters:gn,positionalParamSegments:null!==(He=bt.posParams)&&void 0!==He?He:{}}}function In(ge,ae,xe,He,Ke="corrected"){if(xe.length>0&&function ir(ge,ae,xe){return xe.some(He=>Go(ge,ae,He)&&hr(He)!==Xn)}(ge,xe,He)){const Tt=new Pn(ae,function Ir(ge,ae,xe,He){const Ke={};Ke[Xn]=He,He._sourceSegment=ge,He._segmentIndexShift=ae.length;for(const bt of xe)if(""===bt.path&&hr(bt)!==Xn){const Tt=new Pn([],{});Tt._sourceSegment=ge,Tt._segmentIndexShift=ae.length,Ke[hr(bt)]=Tt}return Ke}(ge,ae,He,new Pn(xe,ge.children)));return Tt._sourceSegment=ge,Tt._segmentIndexShift=ae.length,{segmentGroup:Tt,slicedSegments:[]}}if(0===xe.length&&function ds(ge,ae,xe){return xe.some(He=>Go(ge,ae,He))}(ge,xe,He)){const Tt=new Pn(ge.segments,function Pr(ge,ae,xe,He,Ke,bt){const Tt={};for(const gn of He)if(Go(ge,xe,gn)&&!Ke[hr(gn)]){const yi=new Pn([],{});yi._sourceSegment=ge,yi._segmentIndexShift="legacy"===bt?ge.segments.length:ae.length,Tt[hr(gn)]=yi}return Object.assign(Object.assign({},Ke),Tt)}(ge,ae,xe,He,ge.children,Ke));return Tt._sourceSegment=ge,Tt._segmentIndexShift=ae.length,{segmentGroup:Tt,slicedSegments:xe}}const bt=new Pn(ge.segments,ge.children);return bt._sourceSegment=ge,bt._segmentIndexShift=ae.length,{segmentGroup:bt,slicedSegments:xe}}function Go(ge,ae,xe){return(!(ge.hasChildren()||ae.length>0)||"full"!==xe.pathMatch)&&""===xe.path}function ko(ge,ae,xe,He){return!!(hr(ge)===He||He!==Xn&&Go(ae,xe,ge))&&("**"===ge.path||Yi(ae,ge,xe).matched)}function zo(ge,ae,xe){return 0===ae.length&&!ge.children[xe]}class Cs{constructor(ae){this.segmentGroup=ae||null}}class Rr{constructor(ae){this.urlTree=ae}}function Qe(ge){return(0,o._)(new Cs(ge))}function Oe(ge){return(0,o._)(new Rr(ge))}class ze{constructor(ae,xe,He,Ke,bt){this.configLoader=xe,this.urlSerializer=He,this.urlTree=Ke,this.config=bt,this.allowRedirects=!0,this.ngModule=ae.get(n.h0i)}apply(){const ae=In(this.urlTree.root,[],[],this.config).segmentGroup,xe=new Pn(ae.segments,ae.children);return this.expandSegmentGroup(this.ngModule,this.config,xe,Xn).pipe((0,z.U)(bt=>this.createUrlTree(oe(bt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,H.K)(bt=>{if(bt instanceof Rr)return this.allowRedirects=!1,this.match(bt.urlTree);throw bt instanceof Cs?this.noMatchError(bt):bt}))}match(ae){return this.expandSegmentGroup(this.ngModule,this.config,ae.root,Xn).pipe((0,z.U)(Ke=>this.createUrlTree(oe(Ke),ae.queryParams,ae.fragment))).pipe((0,H.K)(Ke=>{throw Ke instanceof Cs?this.noMatchError(Ke):Ke}))}noMatchError(ae){return new Error(`Cannot match any routes. URL Segment: '${ae.segmentGroup}'`)}createUrlTree(ae,xe,He){const Ke=ae.segments.length>0?new Pn([],{[Xn]:ae}):ae;return new wr(Ke,xe,He)}expandSegmentGroup(ae,xe,He,Ke){return 0===He.segments.length&&He.hasChildren()?this.expandChildren(ae,xe,He).pipe((0,z.U)(bt=>new Pn([],bt))):this.expandSegment(ae,He,xe,He.segments,Ke,!0)}expandChildren(ae,xe,He){const Ke=[];for(const bt of Object.keys(He.children))"primary"===bt?Ke.unshift(bt):Ke.push(bt);return(0,i.D)(Ke).pipe((0,U.b)(bt=>{const Tt=He.children[bt],gn=kr(xe,bt);return this.expandSegmentGroup(ae,gn,Tt,bt).pipe((0,z.U)(yi=>({segment:yi,outlet:bt})))}),(0,E.R)((bt,Tt)=>(bt[Tt.outlet]=Tt.segment,bt),{}),(0,X.Z)())}expandSegment(ae,xe,He,Ke,bt,Tt){return(0,i.D)(He).pipe((0,U.b)(gn=>this.expandSegmentAgainstRoute(ae,xe,He,gn,Ke,bt,Tt).pipe((0,H.K)(D=>{if(D instanceof Cs)return(0,P.of)(null);throw D}))),(0,W.P)(gn=>!!gn),(0,H.K)((gn,yi)=>{if(gn instanceof h.K||"EmptyError"===gn.name)return zo(xe,Ke,bt)?(0,P.of)(new Pn([],{})):Qe(xe);throw gn}))}expandSegmentAgainstRoute(ae,xe,He,Ke,bt,Tt,gn){return ko(Ke,xe,bt,Tt)?void 0===Ke.redirectTo?this.matchSegmentAgainstRoute(ae,xe,Ke,bt,Tt):gn&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(ae,xe,He,Ke,bt,Tt):Qe(xe):Qe(xe)}expandSegmentAgainstRouteUsingRedirect(ae,xe,He,Ke,bt,Tt){return"**"===Ke.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(ae,He,Ke,Tt):this.expandRegularSegmentAgainstRouteUsingRedirect(ae,xe,He,Ke,bt,Tt)}expandWildCardWithParamsAgainstRouteUsingRedirect(ae,xe,He,Ke){const bt=this.applyRedirectCommands([],He.redirectTo,{});return He.redirectTo.startsWith("/")?Oe(bt):this.lineralizeSegments(He,bt).pipe((0,re.zg)(Tt=>{const gn=new Pn(Tt,{});return this.expandSegment(ae,gn,xe,Tt,Ke,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(ae,xe,He,Ke,bt,Tt){const{matched:gn,consumedSegments:yi,remainingSegments:D,positionalParamSegments:K}=Yi(xe,Ke,bt);if(!gn)return Qe(xe);const he=this.applyRedirectCommands(yi,Ke.redirectTo,K);return Ke.redirectTo.startsWith("/")?Oe(he):this.lineralizeSegments(Ke,he).pipe((0,re.zg)(Ee=>this.expandSegment(ae,xe,He,Ee.concat(D),Tt,!1)))}matchSegmentAgainstRoute(ae,xe,He,Ke,bt){if("**"===He.path)return He.loadChildren?(He._loadedConfig?(0,P.of)(He._loadedConfig):this.configLoader.load(ae.injector,He)).pipe((0,z.U)(he=>(He._loadedConfig=he,new Pn(Ke,{})))):(0,P.of)(new Pn(Ke,{}));const{matched:Tt,consumedSegments:gn,remainingSegments:yi}=Yi(xe,He,Ke);return Tt?this.getChildConfig(ae,He,Ke).pipe((0,re.zg)(K=>{const he=K.module,Ee=K.routes,{segmentGroup:We,slicedSegments:wt}=In(xe,gn,yi,Ee),Zt=new Pn(We.segments,We.children);if(0===wt.length&&Zt.hasChildren())return this.expandChildren(he,Ee,Zt).pipe((0,z.U)(tr=>new Pn(gn,tr)));if(0===Ee.length&&0===wt.length)return(0,P.of)(new Pn(gn,{}));const wn=hr(He)===bt;return this.expandSegment(he,Zt,Ee,wt,wn?Xn:bt,!0).pipe((0,z.U)(Si=>new Pn(gn.concat(Si.segments),Si.children)))})):Qe(xe)}getChildConfig(ae,xe,He){return xe.children?(0,P.of)(new Vo(xe.children,ae)):xe.loadChildren?void 0!==xe._loadedConfig?(0,P.of)(xe._loadedConfig):this.runCanLoadGuards(ae.injector,xe,He).pipe((0,re.zg)(Ke=>Ke?this.configLoader.load(ae.injector,xe).pipe((0,z.U)(bt=>(xe._loadedConfig=bt,bt))):function Nt(ge){return(0,o._)(an(`Cannot load children because the guard of the route "path: '${ge.path}'" returned false`))}(xe))):(0,P.of)(new Vo([],ae))}runCanLoadGuards(ae,xe,He){const Ke=xe.canLoad;if(!Ke||0===Ke.length)return(0,P.of)(!0);const bt=Ke.map(Tt=>{const gn=ae.get(Tt);let yi;if(function ne(ge){return ge&&Io(ge.canLoad)}(gn))yi=gn.canLoad(xe,He);else{if(!Io(gn))throw new Error("Invalid CanLoad guard");yi=gn(xe,He)}return ln(yi)});return(0,P.of)(bt).pipe(Ut(),(0,pe.b)(Tt=>{if(!q(Tt))return;const gn=an(`Redirecting to "${this.urlSerializer.serialize(Tt)}"`);throw gn.url=Tt,gn}),(0,z.U)(Tt=>!0===Tt))}lineralizeSegments(ae,xe){let He=[],Ke=xe.root;for(;;){if(He=He.concat(Ke.segments),0===Ke.numberOfChildren)return(0,P.of)(He);if(Ke.numberOfChildren>1||!Ke.children[Xn])return ge=ae.redirectTo,(0,o._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${ge}'`));Ke=Ke.children[Xn]}var ge}applyRedirectCommands(ae,xe,He){return this.applyRedirectCreatreUrlTree(xe,this.urlSerializer.parse(xe),ae,He)}applyRedirectCreatreUrlTree(ae,xe,He,Ke){const bt=this.createSegmentGroup(ae,xe.root,He,Ke);return new wr(bt,this.createQueryParams(xe.queryParams,this.urlTree.queryParams),xe.fragment)}createQueryParams(ae,xe){const He={};return Ft(ae,(Ke,bt)=>{if("string"==typeof Ke&&Ke.startsWith(":")){const gn=Ke.substring(1);He[bt]=xe[gn]}else He[bt]=Ke}),He}createSegmentGroup(ae,xe,He,Ke){const bt=this.createSegments(ae,xe.segments,He,Ke);let Tt={};return Ft(xe.children,(gn,yi)=>{Tt[yi]=this.createSegmentGroup(ae,gn,He,Ke)}),new Pn(bt,Tt)}createSegments(ae,xe,He,Ke){return xe.map(bt=>bt.path.startsWith(":")?this.findPosParam(ae,bt,Ke):this.findOrReturn(bt,He))}findPosParam(ae,xe,He){const Ke=He[xe.path.substring(1)];if(!Ke)throw new Error(`Cannot redirect to '${ae}'. Cannot find '${xe.path}'.`);return Ke}findOrReturn(ae,xe){let He=0;for(const Ke of xe){if(Ke.path===ae.path)return xe.splice(He),Ke;He++}return ae}}function oe(ge){const ae={};for(const He of Object.keys(ge.children)){const bt=oe(ge.children[He]);(bt.segments.length>0||bt.hasChildren())&&(ae[He]=bt)}return function ke(ge){if(1===ge.numberOfChildren&&ge.children[Xn]){const ae=ge.children[Xn];return new Pn(ge.segments.concat(ae.segments),ae.children)}return ge}(new Pn(ge.segments,ae))}function pt(ge,ae,xe,He){return(0,R.w)(Ke=>function Cn(ge,ae,xe,He,Ke){return new ze(ge,ae,xe,He,Ke).apply()}(ge,ae,xe,Ke.extractedUrl,He).pipe((0,z.U)(bt=>Object.assign(Object.assign({},Ke),{urlAfterRedirects:bt}))))}class zt{constructor(ae){this.path=ae,this.route=this.path[this.path.length-1]}}class Dt{constructor(ae,xe){this.component=ae,this.route=xe}}function En(ge,ae,xe){const He=ge._root;return ft(He,ae?ae._root:null,xe,[He.value])}function Ei(ge,ae,xe){const He=function xr(ge){if(!ge)return null;for(let ae=ge.parent;ae;ae=ae.parent){const xe=ae.routeConfig;if(xe&&xe._loadedConfig)return xe._loadedConfig}return null}(ae);return(He?He.module.injector:xe).get(ge)}function ft(ge,ae,xe,He,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const bt=Vi(ae);return ge.children.forEach(Tt=>{(function ye(ge,ae,xe,He,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const bt=ge.value,Tt=ae?ae.value:null,gn=xe?xe.getContext(ge.value.outlet):null;if(Tt&&bt.routeConfig===Tt.routeConfig){const yi=function Xe(ge,ae,xe){if("function"==typeof xe)return xe(ge,ae);switch(xe){case"pathParamsChange":return!mi(ge.url,ae.url);case"pathParamsOrQueryParamsChange":return!mi(ge.url,ae.url)||!xt(ge.queryParams,ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Qr(ge,ae)||!xt(ge.queryParams,ae.queryParams);default:return!Qr(ge,ae)}}(Tt,bt,bt.routeConfig.runGuardsAndResolvers);yi?Ke.canActivateChecks.push(new zt(He)):(bt.data=Tt.data,bt._resolvedData=Tt._resolvedData),bt.component?ft(ge,ae,gn?gn.children:null,He,Ke):ft(ge,ae,xe,He,Ke),yi&&gn&&gn.outlet&&gn.outlet.isActivated&&Ke.canDeactivateChecks.push(new Dt(gn.outlet.component,Tt))}else Tt&&tn(ae,gn,Ke),Ke.canActivateChecks.push(new zt(He)),bt.component?ft(ge,null,gn?gn.children:null,He,Ke):ft(ge,null,xe,He,Ke);return Ke})(Tt,bt[Tt.value.outlet],xe,He.concat([Tt.value]),Ke),delete bt[Tt.value.outlet]}),Ft(bt,(Tt,gn)=>tn(Tt,xe.getContext(gn),Ke)),Ke}function tn(ge,ae,xe){const He=Vi(ge),Ke=ge.value;Ft(He,(bt,Tt)=>{Ke.component?tn(bt,ae?ae.children.getContext(Tt):null,xe):tn(bt,ae,xe)}),Ke.component&&ae&&ae.outlet&&ae.outlet.isActivated?xe.canDeactivateChecks.push(new Dt(ae.outlet.component,Ke)):xe.canDeactivateChecks.push(new Dt(null,Ke))}function hi(ge,ae){return(0,re.zg)(xe=>{const{targetSnapshot:He,currentSnapshot:Ke,guards:{canActivateChecks:bt,canDeactivateChecks:Tt}}=xe;return 0===Tt.length&&0===bt.length?(0,P.of)(Object.assign(Object.assign({},xe),{guardsResult:!0})):function zr(ge,ae,xe,He){return(0,i.D)(ge).pipe((0,re.zg)(Ke=>function bi(ge,ae,xe,He,Ke){const bt=ae&&ae.routeConfig?ae.routeConfig.canDeactivate:null;if(!bt||0===bt.length)return(0,P.of)(!0);const Tt=bt.map(gn=>{const yi=Ei(gn,ae,Ke);let D;if(function et(ge){return ge&&Io(ge.canDeactivate)}(yi))D=ln(yi.canDeactivate(ge,ae,xe,He));else{if(!Io(yi))throw new Error("Invalid CanDeactivate guard");D=ln(yi(ge,ae,xe,He))}return D.pipe((0,W.P)())});return(0,P.of)(Tt).pipe(Ut())}(Ke.component,Ke.route,xe,ae,He)),(0,W.P)(Ke=>!0!==Ke,!0))}(Tt,He,Ke,ge).pipe((0,re.zg)(gn=>gn&&function or(ge){return"boolean"==typeof ge}(gn)?function io(ge,ae,xe,He){return(0,i.D)(ae).pipe((0,U.b)(Ke=>(0,v.z)(function pa(ge,ae){return null!==ge&&ae&&ae(new cn(ge)),(0,P.of)(!0)}(Ke.route.parent,He),function $l(ge,ae){return null!==ge&&ae&&ae(new qn(ge)),(0,P.of)(!0)}(Ke.route,He),function Bl(ge,ae,xe){const He=ae[ae.length-1],bt=ae.slice(0,ae.length-1).reverse().map(Tt=>function ci(ge){const ae=ge.routeConfig?ge.routeConfig.canActivateChild:null;return ae&&0!==ae.length?{node:ge,guards:ae}:null}(Tt)).filter(Tt=>null!==Tt).map(Tt=>(0,y.P)(()=>{const gn=Tt.guards.map(yi=>{const D=Ei(yi,Tt.node,xe);let K;if(function Be(ge){return ge&&Io(ge.canActivateChild)}(D))K=ln(D.canActivateChild(He,ge));else{if(!Io(D))throw new Error("Invalid CanActivateChild guard");K=ln(D(He,ge))}return K.pipe((0,W.P)())});return(0,P.of)(gn).pipe(Ut())}));return(0,P.of)(bt).pipe(Ut())}(ge,Ke.path,xe),function nl(ge,ae,xe){const He=ae.routeConfig?ae.routeConfig.canActivate:null;if(!He||0===He.length)return(0,P.of)(!0);const Ke=He.map(bt=>(0,y.P)(()=>{const Tt=Ei(bt,ae,xe);let gn;if(function me(ge){return ge&&Io(ge.canActivate)}(Tt))gn=ln(Tt.canActivate(ae,ge));else{if(!Io(Tt))throw new Error("Invalid CanActivate guard");gn=ln(Tt(ae,ge))}return gn.pipe((0,W.P)())}));return(0,P.of)(Ke).pipe(Ut())}(ge,Ke.route,xe))),(0,W.P)(Ke=>!0!==Ke,!0))}(He,bt,ge,ae):(0,P.of)(gn)),(0,z.U)(gn=>Object.assign(Object.assign({},xe),{guardsResult:gn})))})}class qo{}function La(ge){return new x.y(ae=>ae.error(ge))}class Na{constructor(ae,xe,He,Ke,bt,Tt){this.rootComponentType=ae,this.config=xe,this.urlTree=He,this.url=Ke,this.paramsInheritanceStrategy=bt,this.relativeLinkResolution=Tt}recognize(){const ae=In(this.urlTree.root,[],[],this.config.filter(Tt=>void 0===Tt.redirectTo),this.relativeLinkResolution).segmentGroup,xe=this.processSegmentGroup(this.config,ae,Xn);if(null===xe)return null;const He=new Ho([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Xn,this.rootComponentType,null,this.urlTree.root,-1,{}),Ke=new Cr(He,xe),bt=new Dr(this.url,Ke);return this.inheritParamsAndData(bt._root),bt}inheritParamsAndData(ae){const xe=ae.value,He=Do(xe,this.paramsInheritanceStrategy);xe.params=Object.freeze(He.params),xe.data=Object.freeze(He.data),ae.children.forEach(Ke=>this.inheritParamsAndData(Ke))}processSegmentGroup(ae,xe,He){return 0===xe.segments.length&&xe.hasChildren()?this.processChildren(ae,xe):this.processSegment(ae,xe,xe.segments,He)}processChildren(ae,xe){const He=[];for(const bt of Object.keys(xe.children)){const Tt=xe.children[bt],gn=kr(ae,bt),yi=this.processSegmentGroup(gn,Tt,bt);if(null===yi)return null;He.push(...yi)}const Ke=ml(He);return function ja(ge){ge.sort((ae,xe)=>ae.value.outlet===Xn?-1:xe.value.outlet===Xn?1:ae.value.outlet.localeCompare(xe.value.outlet))}(Ke),Ke}processSegment(ae,xe,He,Ke){for(const bt of ae){const Tt=this.processSegmentAgainstRoute(bt,xe,He,Ke);if(null!==Tt)return Tt}return zo(xe,He,Ke)?[]:null}processSegmentAgainstRoute(ae,xe,He,Ke){if(ae.redirectTo||!ko(ae,xe,He,Ke))return null;let bt,Tt=[],gn=[];if("**"===ae.path){const We=He.length>0?Jt(He).parameters:{};bt=new Ho(He,We,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ls(ae),hr(ae),ae.component,ae,c1(xe),Ea(xe)+He.length,us(ae))}else{const We=Yi(xe,ae,He);if(!We.matched)return null;Tt=We.consumedSegments,gn=We.remainingSegments,bt=new Ho(Tt,We.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ls(ae),hr(ae),ae.component,ae,c1(xe),Ea(xe)+Tt.length,us(ae))}const yi=function Fs(ge){return ge.children?ge.children:ge.loadChildren?ge._loadedConfig.routes:[]}(ae),{segmentGroup:D,slicedSegments:K}=In(xe,Tt,gn,yi.filter(We=>void 0===We.redirectTo),this.relativeLinkResolution);if(0===K.length&&D.hasChildren()){const We=this.processChildren(yi,D);return null===We?null:[new Cr(bt,We)]}if(0===yi.length&&0===K.length)return[new Cr(bt,[])];const he=hr(ae)===Ke,Ee=this.processSegment(yi,D,K,he?Xn:Ke);return null===Ee?null:[new Cr(bt,Ee)]}}function Ro(ge){const ae=ge.value.routeConfig;return ae&&""===ae.path&&void 0===ae.redirectTo}function ml(ge){const ae=[],xe=new Set;for(const He of ge){if(!Ro(He)){ae.push(He);continue}const Ke=ae.find(bt=>He.value.routeConfig===bt.value.routeConfig);void 0!==Ke?(Ke.children.push(...He.children),xe.add(Ke)):ae.push(He)}for(const He of xe){const Ke=ml(He.children);ae.push(new Cr(He.value,Ke))}return ae.filter(He=>!xe.has(He))}function c1(ge){let ae=ge;for(;ae._sourceSegment;)ae=ae._sourceSegment;return ae}function Ea(ge){let ae=ge,xe=ae._segmentIndexShift?ae._segmentIndexShift:0;for(;ae._sourceSegment;)ae=ae._sourceSegment,xe+=ae._segmentIndexShift?ae._segmentIndexShift:0;return xe-1}function Ls(ge){return ge.data||{}}function us(ge){return ge.resolve||{}}function Ll(ge,ae,xe,He,Ke){return(0,re.zg)(bt=>function Gs(ge,ae,xe,He,Ke="emptyOnly",bt="legacy"){try{const Tt=new Na(ge,ae,xe,He,Ke,bt).recognize();return null===Tt?La(new qo):(0,P.of)(Tt)}catch(Tt){return La(Tt)}}(ge,ae,bt.urlAfterRedirects,xe(bt.urlAfterRedirects),He,Ke).pipe((0,z.U)(Tt=>Object.assign(Object.assign({},bt),{targetSnapshot:Tt}))))}function il(ge,ae){return(0,re.zg)(xe=>{const{targetSnapshot:He,guards:{canActivateChecks:Ke}}=xe;if(!Ke.length)return(0,P.of)(xe);let bt=0;return(0,i.D)(Ke).pipe((0,U.b)(Tt=>function vl(ge,ae,xe,He){return function Da(ge,ae,xe,He){const Ke=d1(ge);if(0===Ke.length)return(0,P.of)({});const bt={};return(0,i.D)(Ke).pipe((0,re.zg)(Tt=>function x1(ge,ae,xe,He){const Ke=Ei(ge,ae,He);return Ke.resolve?ln(Ke.resolve(ae,xe)):ln(Ke(ae,xe))}(ge[Tt],ae,xe,He).pipe((0,pe.b)(gn=>{bt[Tt]=gn}))),(0,Ae.h)(1),(0,re.zg)(()=>d1(bt).length===Ke.length?(0,P.of)(bt):C.E))}(ge._resolve,ge,ae,He).pipe((0,z.U)(bt=>(ge._resolvedData=bt,ge.data=Object.assign(Object.assign({},ge.data),Do(ge,xe).resolve),null)))}(Tt.route,He,ge,ae)),(0,pe.b)(()=>bt++),(0,Ae.h)(1),(0,re.zg)(Tt=>bt===Ke.length?(0,P.of)(xe):C.E))})}function d1(ge){return[...Object.keys(ge),...Object.getOwnPropertySymbols(ge)]}function Rs(ge){return(0,R.w)(ae=>{const xe=ge(ae);return xe?(0,i.D)(xe).pipe((0,z.U)(()=>ae)):(0,P.of)(ae)})}class jl extends class oa{shouldDetach(ae){return!1}store(ae,xe){}shouldAttach(ae){return!1}retrieve(ae){return null}shouldReuseRoute(ae,xe){return ae.routeConfig===xe.routeConfig}}{}const Ia=new n.OlP("ROUTES");class Fl{constructor(ae,xe,He,Ke){this.injector=ae,this.compiler=xe,this.onLoadStartListener=He,this.onLoadEndListener=Ke}load(ae,xe){if(xe._loader$)return xe._loader$;this.onLoadStartListener&&this.onLoadStartListener(xe);const Ke=this.loadModuleFactory(xe.loadChildren).pipe((0,z.U)(bt=>{this.onLoadEndListener&&this.onLoadEndListener(xe);const Tt=bt.create(ae);return new Vo($t(Tt.injector.get(Ia,void 0,n.XFs.Self|n.XFs.Optional)).map(Ui),Tt)}),(0,H.K)(bt=>{throw xe._loader$=void 0,bt}));return xe._loader$=new _.c(Ke,()=>new w.xQ).pipe((0,Se.x)()),xe._loader$}loadModuleFactory(ae){return ln(ae()).pipe((0,re.zg)(xe=>xe instanceof n.YKP?(0,P.of)(xe):(0,i.D)(this.compiler.compileModuleAsync(xe))))}}class jt{shouldProcessUrl(ae){return!0}extract(ae){return ae}merge(ae,xe){return ae}}function Ie(ge){throw ge}function Ze(ge,ae,xe){return ae.parse("/")}function Vt(ge,ae){return(0,P.of)(null)}const Zn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Oi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class cr{constructor(ae,xe,He,Ke,bt,Tt,gn){this.rootComponentType=ae,this.urlSerializer=xe,this.rootContexts=He,this.location=Ke,this.config=gn,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new w.xQ,this.errorHandler=Ie,this.malformedUriErrorHandler=Ze,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Vt,afterPreactivation:Vt},this.urlHandlingStrategy=new jt,this.routeReuseStrategy=new jl,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace";this.ngModule=bt.get(n.h0i),this.console=bt.get(n.c2e);const K=bt.get(n.R0b);this.isNgZoneEnabled=K instanceof n.R0b&&n.R0b.isInAngularZone(),this.resetConfig(gn),this.currentUrlTree=function Jn(){return new wr(new Pn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Fl(bt,Tt,he=>this.triggerEvent(new Sn(he)),he=>this.triggerEvent(new si(he))),this.routerState=qr(this.currentUrlTree,this.rootComponentType),this.transitions=new m.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var ae;return null===(ae=this.location.getState())||void 0===ae?void 0:ae.\u0275routerPageId}setupNavigations(ae){const xe=this.events;return ae.pipe((0,O.h)(He=>0!==He.id),(0,z.U)(He=>Object.assign(Object.assign({},He),{extractedUrl:this.urlHandlingStrategy.extract(He.rawUrl)})),(0,R.w)(He=>{let Ke=!1,bt=!1;return(0,P.of)(He).pipe((0,pe.b)(Tt=>{this.currentNavigation={id:Tt.id,initialUrl:Tt.currentRawUrl,extractedUrl:Tt.extractedUrl,trigger:Tt.source,extras:Tt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,R.w)(Tt=>{const gn=this.browserUrlTree.toString(),yi=!this.navigated||Tt.extractedUrl.toString()!==gn||gn!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||yi)&&this.urlHandlingStrategy.shouldProcessUrl(Tt.rawUrl))return ya(Tt.source)&&(this.browserUrlTree=Tt.extractedUrl),(0,P.of)(Tt).pipe((0,R.w)(K=>{const he=this.transitions.getValue();return xe.next(new vt(K.id,this.serializeUrl(K.extractedUrl),K.source,K.restoredState)),he!==this.transitions.getValue()?C.E:Promise.resolve(K)}),pt(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,pe.b)(K=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:K.urlAfterRedirects})}),Ll(this.rootComponentType,this.config,K=>this.serializeUrl(K),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,pe.b)(K=>{if("eager"===this.urlUpdateStrategy){if(!K.extras.skipLocationChange){const Ee=this.urlHandlingStrategy.merge(K.urlAfterRedirects,K.rawUrl);this.setBrowserUrl(Ee,K)}this.browserUrlTree=K.urlAfterRedirects}const he=new _n(K.id,this.serializeUrl(K.extractedUrl),this.serializeUrl(K.urlAfterRedirects),K.targetSnapshot);xe.next(he)}));if(yi&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:he,extractedUrl:Ee,source:We,restoredState:wt,extras:Zt}=Tt,wn=new vt(he,this.serializeUrl(Ee),We,wt);xe.next(wn);const Rn=qr(Ee,this.rootComponentType).snapshot;return(0,P.of)(Object.assign(Object.assign({},Tt),{targetSnapshot:Rn,urlAfterRedirects:Ee,extras:Object.assign(Object.assign({},Zt),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Tt.rawUrl,Tt.resolve(null),C.E}),Rs(Tt=>{const{targetSnapshot:gn,id:yi,extractedUrl:D,rawUrl:K,extras:{skipLocationChange:he,replaceUrl:Ee}}=Tt;return this.hooks.beforePreactivation(gn,{navigationId:yi,appliedUrlTree:D,rawUrlTree:K,skipLocationChange:!!he,replaceUrl:!!Ee})}),(0,pe.b)(Tt=>{const gn=new hn(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot);this.triggerEvent(gn)}),(0,z.U)(Tt=>Object.assign(Object.assign({},Tt),{guards:En(Tt.targetSnapshot,Tt.currentSnapshot,this.rootContexts)})),hi(this.ngModule.injector,Tt=>this.triggerEvent(Tt)),(0,pe.b)(Tt=>{if(q(Tt.guardsResult)){const yi=an(`Redirecting to "${this.serializeUrl(Tt.guardsResult)}"`);throw yi.url=Tt.guardsResult,yi}const gn=new vn(Tt.id,this.serializeUrl(Tt.extractedUrl),this.serializeUrl(Tt.urlAfterRedirects),Tt.targetSnapshot,!!Tt.guardsResult);this.triggerEvent(gn)}),(0,O.h)(Tt=>!!Tt.guardsResult||(this.restoreHistory(Tt),this.cancelNavigationTransition(Tt,""),!1)),Rs(Tt=>{if(Tt.guards.canActivateChecks.length)return(0,P.of)(Tt).pipe((0,pe.b)(gn=>{const yi=new xn(gn.id,this.serializeUrl(gn.extractedUrl),this.serializeUrl(gn.urlAfterRedirects),gn.targetSnapshot);this.triggerEvent(yi)}),(0,R.w)(gn=>{let yi=!1;return(0,P.of)(gn).pipe(il(this.paramsInheritanceStrategy,this.ngModule.injector),(0,pe.b)({next:()=>yi=!0,complete:()=>{yi||(this.restoreHistory(gn),this.cancelNavigationTransition(gn,"At least one route resolver didn't emit any value."))}}))}),(0,pe.b)(gn=>{const yi=new dn(gn.id,this.serializeUrl(gn.extractedUrl),this.serializeUrl(gn.urlAfterRedirects),gn.targetSnapshot);this.triggerEvent(yi)}))}),Rs(Tt=>{const{targetSnapshot:gn,id:yi,extractedUrl:D,rawUrl:K,extras:{skipLocationChange:he,replaceUrl:Ee}}=Tt;return this.hooks.afterPreactivation(gn,{navigationId:yi,appliedUrlTree:D,rawUrlTree:K,skipLocationChange:!!he,replaceUrl:!!Ee})}),(0,z.U)(Tt=>{const gn=function ao(ge,ae,xe){const He=ys(ge,ae._root,xe?xe._root:void 0);return new To(He,ae)}(this.routeReuseStrategy,Tt.targetSnapshot,Tt.currentRouterState);return Object.assign(Object.assign({},Tt),{targetRouterState:gn})}),(0,pe.b)(Tt=>{this.currentUrlTree=Tt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Tt.urlAfterRedirects,Tt.rawUrl),this.routerState=Tt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Tt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Tt),this.browserUrlTree=Tt.urlAfterRedirects)}),((ge,ae,xe)=>(0,z.U)(He=>(new js(ae,He.targetRouterState,He.currentRouterState,xe).activate(ge),He)))(this.rootContexts,this.routeReuseStrategy,Tt=>this.triggerEvent(Tt)),(0,pe.b)({next(){Ke=!0},complete(){Ke=!0}}),(0,De.x)(()=>{var Tt;if(!Ke&&!bt){const gn=`Navigation ID ${He.id} is not equal to the current navigation id ${this.navigationId}`;this.cancelNavigationTransition(He,gn)}(null===(Tt=this.currentNavigation)||void 0===Tt?void 0:Tt.id)===He.id&&(this.currentNavigation=null)}),(0,H.K)(Tt=>{if(bt=!0,function yt(ge){return ge&&ge[pn]}(Tt)){const gn=q(Tt.url);gn||(this.navigated=!0,this.restoreHistory(He,!0));const yi=new Xt(He.id,this.serializeUrl(He.extractedUrl),Tt.message);xe.next(yi),gn?setTimeout(()=>{const D=this.urlHandlingStrategy.merge(Tt.url,this.rawUrlTree),K={skipLocationChange:He.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||ya(He.source)};this.scheduleNavigation(D,"imperative",null,K,{resolve:He.resolve,reject:He.reject,promise:He.promise})},0):He.resolve(!1)}else{this.restoreHistory(He,!0);const gn=new fn(He.id,this.serializeUrl(He.extractedUrl),Tt);xe.next(gn);try{He.resolve(this.errorHandler(Tt))}catch(yi){He.reject(yi)}}return C.E}))}))}resetRootComponentType(ae){this.rootComponentType=ae,this.routerState.root.component=this.rootComponentType}setTransition(ae){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),ae))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ae=>{const xe="popstate"===ae.type?"popstate":"hashchange";"popstate"===xe&&setTimeout(()=>{var He;const Ke={replaceUrl:!0},bt=(null===(He=ae.state)||void 0===He?void 0:He.navigationId)?ae.state:null;if(bt){const gn=Object.assign({},bt);delete gn.navigationId,delete gn.\u0275routerPageId,0!==Object.keys(gn).length&&(Ke.state=gn)}const Tt=this.parseUrl(ae.url);this.scheduleNavigation(Tt,xe,bt,Ke)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(ae){this.events.next(ae)}resetConfig(ae){An(ae),this.config=ae.map(Ui),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(ae,xe={}){const{relativeTo:He,queryParams:Ke,fragment:bt,queryParamsHandling:Tt,preserveFragment:gn}=xe,yi=He||this.routerState.root,D=gn?this.currentUrlTree.fragment:bt;let K=null;switch(Tt){case"merge":K=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Ke);break;case"preserve":K=this.currentUrlTree.queryParams;break;default:K=Ke||null}return null!==K&&(K=this.removeEmptyProps(K)),ji(yi,this.currentUrlTree,ae,K,null!=D?D:null)}navigateByUrl(ae,xe={skipLocationChange:!1}){const He=q(ae)?ae:this.parseUrl(ae),Ke=this.urlHandlingStrategy.merge(He,this.rawUrlTree);return this.scheduleNavigation(Ke,"imperative",null,xe)}navigate(ae,xe={skipLocationChange:!1}){return function es(ge){for(let ae=0;ae<ge.length;ae++){const xe=ge[ae];if(null==xe)throw new Error(`The requested path contains ${xe} segment at index ${ae}`)}}(ae),this.navigateByUrl(this.createUrlTree(ae,xe),xe)}serializeUrl(ae){return this.urlSerializer.serialize(ae)}parseUrl(ae){let xe;try{xe=this.urlSerializer.parse(ae)}catch(He){xe=this.malformedUriErrorHandler(He,this.urlSerializer,ae)}return xe}isActive(ae,xe){let He;if(He=!0===xe?Object.assign({},Zn):!1===xe?Object.assign({},Oi):xe,q(ae))return Ai(this.currentUrlTree,ae,He);const Ke=this.parseUrl(ae);return Ai(this.currentUrlTree,Ke,He)}removeEmptyProps(ae){return Object.keys(ae).reduce((xe,He)=>{const Ke=ae[He];return null!=Ke&&(xe[He]=Ke),xe},{})}processNavigations(){this.navigations.subscribe(ae=>{this.navigated=!0,this.lastSuccessfulId=ae.id,this.currentPageId=ae.targetPageId,this.events.next(new rn(ae.id,this.serializeUrl(ae.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,ae.resolve(!0)},ae=>{this.console.warn(`Unhandled Navigation Error: ${ae}`)})}scheduleNavigation(ae,xe,He,Ke,bt){var Tt,gn;if(this.disposed)return Promise.resolve(!1);let yi,D,K;bt?(yi=bt.resolve,D=bt.reject,K=bt.promise):K=new Promise((We,wt)=>{yi=We,D=wt});const he=++this.navigationId;let Ee;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(He=this.location.getState()),Ee=He&&He.\u0275routerPageId?He.\u0275routerPageId:Ke.replaceUrl||Ke.skipLocationChange?null!==(Tt=this.browserPageId)&&void 0!==Tt?Tt:0:(null!==(gn=this.browserPageId)&&void 0!==gn?gn:0)+1):Ee=0,this.setTransition({id:he,targetPageId:Ee,source:xe,restoredState:He,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:ae,extras:Ke,resolve:yi,reject:D,promise:K,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),K.catch(We=>Promise.reject(We))}setBrowserUrl(ae,xe){const He=this.urlSerializer.serialize(ae),Ke=Object.assign(Object.assign({},xe.extras.state),this.generateNgRouterState(xe.id,xe.targetPageId));this.location.isCurrentPathEqualTo(He)||xe.extras.replaceUrl?this.location.replaceState(He,"",Ke):this.location.go(He,"",Ke)}restoreHistory(ae,xe=!1){var He,Ke;if("computed"===this.canceledNavigationResolution){const bt=this.currentPageId-ae.targetPageId;"popstate"!==ae.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(He=this.currentNavigation)||void 0===He?void 0:He.finalUrl)||0===bt?this.currentUrlTree===(null===(Ke=this.currentNavigation)||void 0===Ke?void 0:Ke.finalUrl)&&0===bt&&(this.resetState(ae),this.browserUrlTree=ae.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(bt)}else"replace"===this.canceledNavigationResolution&&(xe&&this.resetState(ae),this.resetUrlToCurrentUrlTree())}resetState(ae){this.routerState=ae.currentRouterState,this.currentUrlTree=ae.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ae.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(ae,xe){const He=new Xt(ae.id,this.serializeUrl(ae.extractedUrl),xe);this.triggerEvent(He),ae.resolve(!1)}generateNgRouterState(ae,xe){return"computed"===this.canceledNavigationResolution?{navigationId:ae,\u0275routerPageId:xe}:{navigationId:ae}}}function ya(ge){return"imperative"!==ge}cr.\u0275fac=function(ae){n.$Z()},cr.\u0275prov=n.Yz7({token:cr,factory:cr.\u0275fac});class un{constructor(ae,xe,He,Ke,bt){this.router=ae,this.route=xe,this.tabIndexAttribute=He,this.renderer=Ke,this.el=bt,this.commands=null,this.onChanges=new w.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ae){if(null!=this.tabIndexAttribute)return;const xe=this.renderer,He=this.el.nativeElement;null!==ae?xe.setAttribute(He,"tabindex",ae):xe.removeAttribute(He,"tabindex")}ngOnChanges(ae){this.onChanges.next(this)}set routerLink(ae){null!=ae?(this.commands=Array.isArray(ae)?ae:[ae],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const ae={skipLocationChange:kn(this.skipLocationChange),replaceUrl:kn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ae),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:kn(this.preserveFragment)})}}un.\u0275fac=function(ae){return new(ae||un)(n.Y36(cr),n.Y36(jo),n.$8M("tabindex"),n.Y36(n.Qsj),n.Y36(n.SBq))},un.\u0275dir=n.lG2({type:un,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(ae,xe){1&ae&&n.NdJ("click",function(){return xe.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.TTD]});class Wn{constructor(ae,xe,He){this.router=ae,this.route=xe,this.locationStrategy=He,this.commands=null,this.href=null,this.onChanges=new w.xQ,this.subscription=ae.events.subscribe(Ke=>{Ke instanceof rn&&this.updateTargetUrlAndHref()})}set routerLink(ae){this.commands=null!=ae?Array.isArray(ae)?ae:[ae]:null}ngOnChanges(ae){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(ae,xe,He,Ke,bt){if(0!==ae||xe||He||Ke||bt||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Tt={skipLocationChange:kn(this.skipLocationChange),replaceUrl:kn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Tt),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:kn(this.preserveFragment)})}}function kn(ge){return""===ge||!!ge}Wn.\u0275fac=function(ae){return new(ae||Wn)(n.Y36(cr),n.Y36(jo),n.Y36(rt.S$))},Wn.\u0275dir=n.lG2({type:Wn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(ae,xe){1&ae&&n.NdJ("click",function(Ke){return xe.onClick(Ke.button,Ke.ctrlKey,Ke.shiftKey,Ke.altKey,Ke.metaKey)}),2&ae&&n.uIk("target",xe.target)("href",xe.href,n.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.TTD]});class Wi{constructor(ae,xe,He,Ke,bt,Tt){this.router=ae,this.element=xe,this.renderer=He,this.cdr=Ke,this.link=bt,this.linkWithHref=Tt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.vpe,this.routerEventsSubscription=ae.events.subscribe(gn=>{gn instanceof rn&&this.update()})}ngAfterContentInit(){(0,P.of)(this.links.changes,this.linksWithHrefs.changes,(0,P.of)(null)).pipe((0,qe.J)()).subscribe(ae=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var ae;null===(ae=this.linkInputChangesSubscription)||void 0===ae||ae.unsubscribe();const xe=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(He=>!!He).map(He=>He.onChanges);this.linkInputChangesSubscription=(0,i.D)(xe).pipe((0,qe.J)()).subscribe(He=>{this.isActive!==this.isLinkActive(this.router)(He)&&this.update()})}set routerLinkActive(ae){const xe=Array.isArray(ae)?ae:ae.split(" ");this.classes=xe.filter(He=>!!He)}ngOnChanges(ae){this.update()}ngOnDestroy(){var ae;this.routerEventsSubscription.unsubscribe(),null===(ae=this.linkInputChangesSubscription)||void 0===ae||ae.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const ae=this.hasActiveLinks();this.isActive!==ae&&(this.isActive=ae,this.cdr.markForCheck(),this.classes.forEach(xe=>{ae?this.renderer.addClass(this.element.nativeElement,xe):this.renderer.removeClass(this.element.nativeElement,xe)}),this.isActiveChange.emit(ae))})}isLinkActive(ae){const xe=function Br(ge){return!!ge.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return He=>!!He.urlTree&&ae.isActive(He.urlTree,xe)}hasActiveLinks(){const ae=this.isLinkActive(this.router);return this.link&&ae(this.link)||this.linkWithHref&&ae(this.linkWithHref)||this.links.some(ae)||this.linksWithHrefs.some(ae)}}Wi.\u0275fac=function(ae){return new(ae||Wi)(n.Y36(cr),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(un,8),n.Y36(Wn,8))},Wi.\u0275dir=n.lG2({type:Wi,selectors:[["","routerLinkActive",""]],contentQueries:function(ae,xe,He){if(1&ae&&(n.Suo(He,un,5),n.Suo(He,Wn,5)),2&ae){let Ke;n.iGM(Ke=n.CRH())&&(xe.links=Ke),n.iGM(Ke=n.CRH())&&(xe.linksWithHrefs=Ke)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.TTD]});class fo{}class Ao{preload(ae,xe){return(0,P.of)(null)}}class la{constructor(ae,xe,He,Ke){this.router=ae,this.injector=He,this.preloadingStrategy=Ke;this.loader=new Fl(He,xe,gn=>ae.triggerEvent(new Sn(gn)),gn=>ae.triggerEvent(new si(gn)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,O.h)(ae=>ae instanceof rn),(0,U.b)(()=>this.preload())).subscribe(()=>{})}preload(){const ae=this.injector.get(n.h0i);return this.processRoutes(ae,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ae,xe){const He=[];for(const Ke of xe)if(Ke.loadChildren&&!Ke.canLoad&&Ke._loadedConfig){const bt=Ke._loadedConfig;He.push(this.processRoutes(bt.module,bt.routes))}else Ke.loadChildren&&!Ke.canLoad?He.push(this.preloadConfig(ae,Ke)):Ke.children&&He.push(this.processRoutes(ae,Ke.children));return(0,i.D)(He).pipe((0,qe.J)(),(0,z.U)(Ke=>{}))}preloadConfig(ae,xe){return this.preloadingStrategy.preload(xe,()=>(xe._loadedConfig?(0,P.of)(xe._loadedConfig):this.loader.load(ae.injector,xe)).pipe((0,re.zg)(Ke=>(xe._loadedConfig=Ke,this.processRoutes(Ke.module,Ke.routes)))))}}la.\u0275fac=function(ae){return new(ae||la)(n.LFG(cr),n.LFG(n.Sil),n.LFG(n.zs3),n.LFG(fo))},la.\u0275prov=n.Yz7({token:la,factory:la.\u0275fac});class qs{constructor(ae,xe,He={}){this.router=ae,this.viewportScroller=xe,this.options=He,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},He.scrollPositionRestoration=He.scrollPositionRestoration||"disabled",He.anchorScrolling=He.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(ae=>{ae instanceof vt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ae.navigationTrigger,this.restoredId=ae.restoredState?ae.restoredState.navigationId:0):ae instanceof rn&&(this.lastId=ae.id,this.scheduleScrollEvent(ae,this.router.parseUrl(ae.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(ae=>{ae instanceof Yn&&(ae.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ae.position):ae.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ae.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ae,xe){this.router.triggerEvent(new Yn(ae,"popstate"===this.lastSource?this.store[this.restoredId]:null,xe))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}qs.\u0275fac=function(ae){n.$Z()},qs.\u0275prov=n.Yz7({token:qs,factory:qs.\u0275fac});const ts=new n.OlP("ROUTER_CONFIGURATION"),rl=new n.OlP("ROUTER_FORROOT_GUARD"),ol=[rt.Ye,{provide:Mr,useClass:gr},{provide:cr,useFactory:function _l(ge,ae,xe,He,Ke,bt,Tt={},gn,yi){const D=new cr(null,ge,ae,xe,He,Ke,$t(bt));return gn&&(D.urlHandlingStrategy=gn),yi&&(D.routeReuseStrategy=yi),function xo(ge,ae){ge.errorHandler&&(ae.errorHandler=ge.errorHandler),ge.malformedUriErrorHandler&&(ae.malformedUriErrorHandler=ge.malformedUriErrorHandler),ge.onSameUrlNavigation&&(ae.onSameUrlNavigation=ge.onSameUrlNavigation),ge.paramsInheritanceStrategy&&(ae.paramsInheritanceStrategy=ge.paramsInheritanceStrategy),ge.relativeLinkResolution&&(ae.relativeLinkResolution=ge.relativeLinkResolution),ge.urlUpdateStrategy&&(ae.urlUpdateStrategy=ge.urlUpdateStrategy),ge.canceledNavigationResolution&&(ae.canceledNavigationResolution=ge.canceledNavigationResolution)}(Tt,D),Tt.enableTracing&&D.events.subscribe(K=>{var he,Ee;null===(he=console.group)||void 0===he||he.call(console,`Router Event: ${K.constructor.name}`),console.log(K.toString()),console.log(K),null===(Ee=console.groupEnd)||void 0===Ee||Ee.call(console)}),D},deps:[Mr,Pt,rt.Ye,n.zs3,n.Sil,Ia,ts,[class Kl{},new n.FiY],[class u1{},new n.FiY]]},Pt,{provide:jo,useFactory:function Yo(ge){return ge.routerState.root},deps:[cr]},la,Ao,class eo{preload(ae,xe){return xe().pipe((0,H.K)(()=>(0,P.of)(null)))}},{provide:ts,useValue:{enableTracing:!1}}];function dc(){return new n.PXZ("Router",cr)}class Hr{constructor(ae,xe){}static forRoot(ae,xe){return{ngModule:Hr,providers:[ol,Es(ae),{provide:rl,useFactory:Zl,deps:[[cr,new n.FiY,new n.tp0]]},{provide:ts,useValue:xe||{}},{provide:rt.S$,useFactory:El,deps:[rt.lw,[new n.tBr(rt.mr),new n.FiY],ts]},{provide:qs,useFactory:Ji,deps:[cr,rt.EM,ts]},{provide:fo,useExisting:xe&&xe.preloadingStrategy?xe.preloadingStrategy:Ao},{provide:n.PXZ,multi:!0,useFactory:dc},[$r,{provide:n.ip1,multi:!0,useFactory:$s,deps:[$r]},{provide:nn,useFactory:Ks,deps:[$r]},{provide:n.tb,multi:!0,useExisting:nn}]]}}static forChild(ae){return{ngModule:Hr,providers:[Es(ae)]}}}function Ji(ge,ae,xe){return xe.scrollOffset&&ae.setOffset(xe.scrollOffset),new qs(ge,ae,xe)}function El(ge,ae,xe={}){return xe.useHash?new rt.Do(ge,ae):new rt.b0(ge,ae)}function Zl(ge){return"guarded"}function Es(ge){return[{provide:n.deG,multi:!0,useValue:ge},{provide:Ia,multi:!0,useValue:ge}]}Hr.\u0275fac=function(ae){return new(ae||Hr)(n.LFG(rl,8),n.LFG(cr,8))},Hr.\u0275mod=n.oAB({type:Hr,declarations:[Et,un,Wn,Wi,Ln],exports:[Et,un,Wn,Wi,Ln]}),Hr.\u0275inj=n.cJS({});class $r{constructor(ae){this.injector=ae,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new w.xQ}appInitializer(){return this.injector.get(rt.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let xe=null;const He=new Promise(Tt=>xe=Tt),Ke=this.injector.get(cr),bt=this.injector.get(ts);return"disabled"===bt.initialNavigation?(Ke.setUpLocationChangeListener(),xe(!0)):"enabled"===bt.initialNavigation||"enabledBlocking"===bt.initialNavigation?(Ke.hooks.afterPreactivation=()=>this.initNavigation?(0,P.of)(null):(this.initNavigation=!0,xe(!0),this.resultOfPreactivationDone),Ke.initialNavigation()):xe(!0),He})}bootstrapListener(ae){const xe=this.injector.get(ts),He=this.injector.get(la),Ke=this.injector.get(qs),bt=this.injector.get(cr),Tt=this.injector.get(n.z2F);ae===Tt.components[0]&&(("enabledNonBlocking"===xe.initialNavigation||void 0===xe.initialNavigation)&&bt.initialNavigation(),He.setUpPreloading(),Ke.init(),bt.resetRootComponentType(Tt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}function $s(ge){return ge.appInitializer.bind(ge)}function Ks(ge){return ge.bootstrapListener.bind(ge)}$r.\u0275fac=function(ae){return new(ae||$r)(n.LFG(n.zs3))},$r.\u0275prov=n.Yz7({token:$r,factory:$r.\u0275fac});const nn=new n.OlP("Router Initializer");new n.GfV("13.3.12")},2898:(de,$e,B)=>{"use strict";B.d($e,{ILF:()=>Hi,SZw:()=>ci,Wx7:()=>Rs,XCy:()=>eo,cwv:()=>h,diR:()=>Jo,fT7:()=>Oi,lXL:()=>E,m08:()=>il,qmU:()=>Fs,yfG:()=>Ui});var o={prefix:"far",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z"]},h=o,E={prefix:"far",iconName:"comments",icon:[640,512,[128490,61670],"f086","M208 0C322.9 0 416 78.8 416 176C416 273.2 322.9 352 208 352C189.3 352 171.2 349.7 153.9 345.8C123.3 364.8 79.13 384 24.95 384C14.97 384 5.93 378.1 2.018 368.9C-1.896 359.7-.0074 349.1 6.739 341.9C7.26 341.5 29.38 317.4 45.73 285.9C17.18 255.8 0 217.6 0 176C0 78.8 93.13 0 208 0zM164.6 298.1C179.2 302.3 193.8 304 208 304C296.2 304 368 246.6 368 176C368 105.4 296.2 48 208 48C119.8 48 48 105.4 48 176C48 211.2 65.71 237.2 80.57 252.9L104.1 277.8L88.31 308.1C84.74 314.1 80.73 321.9 76.55 328.5C94.26 323.4 111.7 315.5 128.7 304.1L145.4 294.6L164.6 298.1zM441.6 128.2C552 132.4 640 209.5 640 304C640 345.6 622.8 383.8 594.3 413.9C610.6 445.4 632.7 469.5 633.3 469.9C640 477.1 641.9 487.7 637.1 496.9C634.1 506.1 625 512 615 512C560.9 512 516.7 492.8 486.1 473.8C468.8 477.7 450.7 480 432 480C350 480 279.1 439.8 245.2 381.5C262.5 379.2 279.1 375.3 294.9 369.9C322.9 407.1 373.9 432 432 432C446.2 432 460.8 430.3 475.4 426.1L494.6 422.6L511.3 432.1C528.3 443.5 545.7 451.4 563.5 456.5C559.3 449.9 555.3 442.1 551.7 436.1L535.9 405.8L559.4 380.9C574.3 365.3 592 339.2 592 304C592 237.7 528.7 183.1 447.1 176.6L448 176C448 159.5 445.8 143.5 441.6 128.2H441.6z"]},Hi={prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","M272 304h-96C78.8 304 0 382.8 0 480c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32C448 382.8 369.2 304 272 304zM48.99 464C56.89 400.9 110.8 352 176 352h96c65.16 0 119.1 48.95 127 112H48.99zM224 256c70.69 0 128-57.31 128-128c0-70.69-57.31-128-128-128S96 57.31 96 128C96 198.7 153.3 256 224 256zM224 48c44.11 0 80 35.89 80 80c0 44.11-35.89 80-80 80S144 172.1 144 128C144 83.89 179.9 48 224 48z"]},Jo={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"]},ui={prefix:"far",iconName:"comment-dots",icon:[512,512,[128172,62075,"commenting"],"f4ad","M144 208C126.3 208 112 222.2 112 239.1C112 257.7 126.3 272 144 272s31.1-14.25 31.1-32S161.8 208 144 208zM256 207.1c-17.75 0-31.1 14.25-31.1 32s14.25 31.1 31.1 31.1s31.1-14.25 31.1-31.1S273.8 207.1 256 207.1zM368 208c-17.75 0-31.1 14.25-31.1 32s14.25 32 31.1 32c17.75 0 31.99-14.25 31.99-32C400 222.2 385.8 208 368 208zM256 31.1c-141.4 0-255.1 93.12-255.1 208c0 47.62 19.91 91.25 52.91 126.3c-14.87 39.5-45.87 72.88-46.37 73.25c-6.624 7-8.373 17.25-4.624 26C5.818 474.2 14.38 480 24 480c61.49 0 109.1-25.75 139.1-46.25c28.87 9 60.16 14.25 92.9 14.25c141.4 0 255.1-93.13 255.1-207.1S397.4 31.1 256 31.1zM256 400c-26.75 0-53.12-4.125-78.36-12.12l-22.75-7.125L135.4 394.5c-14.25 10.12-33.87 21.38-57.49 29c7.374-12.12 14.37-25.75 19.87-40.25l10.62-28l-20.62-21.87C69.81 314.1 48.06 282.2 48.06 240c0-88.25 93.24-160 207.1-160s207.1 71.75 207.1 160S370.8 400 256 400z"]},Ui=ui,ci={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M232 120C232 106.7 242.7 96 256 96C269.3 96 280 106.7 280 120V243.2L365.3 300C376.3 307.4 379.3 322.3 371.1 333.3C364.6 344.3 349.7 347.3 338.7 339.1L242.7 275.1C236 271.5 232 264 232 255.1L232 120zM256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256z"]},Fs={prefix:"far",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M256 32V49.88C328.5 61.39 384 124.2 384 200V233.4C384 278.8 399.5 322.9 427.8 358.4L442.7 377C448.5 384.2 449.6 394.1 445.6 402.4C441.6 410.7 433.2 416 424 416H24C14.77 416 6.365 410.7 2.369 402.4C-1.628 394.1-.504 384.2 5.26 377L20.17 358.4C48.54 322.9 64 278.8 64 233.4V200C64 124.2 119.5 61.39 192 49.88V32C192 14.33 206.3 0 224 0C241.7 0 256 14.33 256 32V32zM216 96C158.6 96 112 142.6 112 200V233.4C112 281.3 98.12 328 72.31 368H375.7C349.9 328 336 281.3 336 233.4V200C336 142.6 289.4 96 232 96H216zM288 448C288 464.1 281.3 481.3 269.3 493.3C257.3 505.3 240.1 512 224 512C207 512 190.7 505.3 178.7 493.3C166.7 481.3 160 464.1 160 448H288z"]},Ll={prefix:"far",iconName:"circle-user",icon:[512,512,[62142,"user-circle"],"f2bd","M256 112c-48.6 0-88 39.4-88 88C168 248.6 207.4 288 256 288s88-39.4 88-88C344 151.4 304.6 112 256 112zM256 240c-22.06 0-40-17.95-40-40C216 177.9 233.9 160 256 160s40 17.94 40 40C296 222.1 278.1 240 256 240zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-46.73 0-89.76-15.68-124.5-41.79C148.8 389 182.4 368 220.2 368h71.69c37.75 0 71.31 21.01 88.68 54.21C345.8 448.3 302.7 464 256 464zM416.2 388.5C389.2 346.3 343.2 320 291.8 320H220.2c-51.36 0-97.35 26.25-124.4 68.48C65.96 352.5 48 306.3 48 256c0-114.7 93.31-208 208-208s208 93.31 208 208C464 306.3 446 352.5 416.2 388.5z"]},il=Ll,Rs={prefix:"far",iconName:"map",icon:[576,512,[128506,62072],"f279","M565.6 36.24C572.1 40.72 576 48.11 576 56V392C576 401.1 569.8 410.9 560.5 414.4L392.5 478.4C387.4 480.4 381.7 480.5 376.4 478.8L192.5 417.5L32.54 478.4C25.17 481.2 16.88 480.2 10.38 475.8C3.882 471.3 0 463.9 0 456V120C0 110 6.15 101.1 15.46 97.57L183.5 33.57C188.6 31.6 194.3 31.48 199.6 33.23L383.5 94.52L543.5 33.57C550.8 30.76 559.1 31.76 565.6 36.24H565.6zM48 421.2L168 375.5V90.83L48 136.5V421.2zM360 137.3L216 89.3V374.7L360 422.7V137.3zM408 421.2L528 375.5V90.83L408 136.5V421.2z"]},Oi={prefix:"far",iconName:"calendar",icon:[448,512,[128197,128198],"f133","M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"]},eo={prefix:"far",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M16.1 260.2c-22.6 12.9-20.5 47.3 3.6 57.3L160 376V479.3c0 18.1 14.6 32.7 32.7 32.7c9.7 0 18.9-4.3 25.1-11.8l62-74.3 123.9 51.6c18.9 7.9 40.8-4.5 43.9-24.7l64-416c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256zm52.1 25.5L409.7 90.6 190.1 336l1.2 1L68.2 285.7zM403.3 425.4L236.7 355.9 450.8 116.6 403.3 425.4z"]}},9306:(de,$e,B)=>{"use strict";B.d($e,{$aW:()=>b8,$b3:()=>$f,A35:()=>Oy,Alc:()=>uf,Aq:()=>K2,Au3:()=>Gi,B3e:()=>gt,BC0:()=>zl,BDt:()=>O8,CPW:()=>m2,D37:()=>e2,EdJ:()=>jg,El_:()=>Ei,FKd:()=>Ax,FVb:()=>kd,G8P:()=>Cy,G_j:()=>S4,Hw7:()=>Ia,ILF:()=>Wo,J9Y:()=>x_,JHj:()=>An,JUp:()=>Il,KJ_:()=>j6,KS0:()=>m0,Kb6:()=>qy,Kl4:()=>H4,L5M:()=>rp,LEp:()=>i9,LM3:()=>Yy,Lh7:()=>pt,Mdf:()=>ym,Mzg:()=>X6,Mzo:()=>mt,NBC:()=>K_,Psp:()=>q0,QDM:()=>t0,Qg3:()=>fh,R76:()=>Ns,RLE:()=>us,Rpv:()=>Nc,RrC:()=>Vt,SZw:()=>jn,TzT:()=>gs,U6l:()=>oC,Ukc:()=>Q0,V$d:()=>cu,W2X:()=>Fv,WV2:()=>dC,Wx7:()=>Z_,X7o:()=>Jg,XCy:()=>Vx,Xcf:()=>wt,YHc:()=>pe,YIN:()=>xy,Zrf:()=>ol,_jT:()=>Lp,_tD:()=>zy,b1y:()=>zi,b7W:()=>B4,byT:()=>He,cC_:()=>ju,cf$:()=>A8,diR:()=>Gm,e7M:()=>jx,eHv:()=>Bx,exp:()=>U1,fT7:()=>_x,gJF:()=>yp,gMD:()=>ty,gPx:()=>s2,hL0:()=>zv,iC0:()=>U,iUi:()=>y7,jHE:()=>ad,kRQ:()=>wC,n8J:()=>Iy,nFo:()=>y2,nNP:()=>ug,oTz:()=>Yc,olY:()=>fx,oso:()=>kt,q7m:()=>H7,qA3:()=>Ex,qO$:()=>tx,qmU:()=>H_,r6l:()=>i5,r8p:()=>$_,sqG:()=>yh,tAh:()=>p2,tc$:()=>n9,uM9:()=>Ut,vFF:()=>xr,wKO:()=>lC,wn1:()=>ry,wzO:()=>rm,xKL:()=>br,xiG:()=>$l,yXf:()=>B2,yfG:()=>a5,z1q:()=>ms});var H={prefix:"fas",iconName:"user-xmark",icon:[640,512,["user-times"],"f235","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM471 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},U=H,pe={prefix:"fas",iconName:"info",icon:[192,512,[],"f129","M144 80c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM0 224c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V448h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H64V256H32c-17.7 0-32-14.3-32-32z"]},br={prefix:"fas",iconName:"person",icon:[320,512,[129485,"male"],"f183","M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l58.3 97c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152z"]},gs={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},Ut={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]},An={prefix:"fas",iconName:"gavel",icon:[512,512,["legal"],"f0e3","M318.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-120 120c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l4-4L325.4 293.4l-4 4c-12.5 12.5-12.5 32.8 0 45.3l16 16c12.5 12.5 32.8 12.5 45.3 0l120-120c12.5-12.5 12.5-32.8 0-45.3l-16-16c-12.5-12.5-32.8-12.5-45.3 0l-4 4L330.6 74.6l4-4c12.5-12.5 12.5-32.8 0-45.3l-16-16zm-152 288c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l48 48c12.5 12.5 32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-1.4-1.4L272 285.3 226.7 240 168 298.7l-1.4-1.4z"]},gt={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},pt={prefix:"fas",iconName:"reply",icon:[512,512,[61714,"mail-reply"],"f3e5","M205 34.8c11.5 5.1 19 16.6 19 29.2v64H336c97.2 0 176 78.8 176 176c0 113.3-81.5 163.9-100.2 174.1c-2.5 1.4-5.3 1.9-8.1 1.9c-10.9 0-19.7-8.9-19.7-19.7c0-7.5 4.3-14.4 9.8-19.5c9.4-8.8 22.2-26.4 22.2-56.7c0-53-43-96-96-96H224v64c0 12.6-7.4 24.1-19 29.2s-25 3-34.4-5.4l-160-144C3.9 225.7 0 217.1 0 208s3.9-17.7 10.6-23.8l160-144c9.4-8.5 22.9-10.6 34.4-5.4z"]},ci={prefix:"fas",iconName:"square-minus",icon:[448,512,[61767,"minus-square"],"f146","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 200H296c13.3 0 24 10.7 24 24s-10.7 24-24 24H152c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},Ei=ci,xr={prefix:"fas",iconName:"helicopter",icon:[640,512,[128641],"f533","M128 32c0-17.7 14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H384v64h32c88.4 0 160 71.6 160 160v64c0 17.7-14.3 32-32 32H384 304c-10.1 0-19.6-4.7-25.6-12.8L192 256 47.2 198.1c-9.5-3.8-16.7-12-19.2-22L5 83.9C2.4 73.8 10.1 64 20.5 64H48c10.1 0 19.6 4.7 25.6 12.8L112 128H320V64H160c-17.7 0-32-14.3-32-32zM384 320H512V288c0-53-43-96-96-96H384V320zM630.6 425.4c12.5 12.5 12.5 32.8 0 45.3l-3.9 3.9c-24 24-56.6 37.5-90.5 37.5H256c-17.7 0-32-14.3-32-32s14.3-32 32-32H536.2c17 0 33.3-6.7 45.3-18.7l3.9-3.9c12.5-12.5 32.8-12.5 45.3 0z"]},$l={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},Ls={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zm32 224c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},us=Ls,Ia={prefix:"fas",iconName:"sitemap",icon:[576,512,[],"f0e8","M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]},Vt={prefix:"fas",iconName:"flag",icon:[448,512,[127988,61725],"f024","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V64 368 480c0 17.7 14.3 32 32 32s32-14.3 32-32V352l64.3-16.1c41.1-10.3 84.6-5.5 122.5 13.4c44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30V66.1c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0c-35.1-17.6-75.4-22-113.5-12.5L64 48V32z"]},ol={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]},He={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},We={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.8 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},wt=We,kd={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},K2={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]},kt={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]},U1={prefix:"fas",iconName:"truck-medical",icon:[640,512,[128657,"ambulance"],"f0f9","M48 0C21.5 0 0 21.5 0 48V368c0 26.5 21.5 48 48 48H64c0 53 43 96 96 96s96-43 96-96H384c0 53 43 96 96 96s96-43 96-96h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V288 256 237.3c0-17-6.7-33.3-18.7-45.3L512 114.7c-12-12-28.3-18.7-45.3-18.7H416V48c0-26.5-21.5-48-48-48H48zM416 160h50.7L544 237.3V256H416V160zM208 416c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zm272 48c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48zM112 144c0-8.8 7.2-16 16-16h48V80c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240v48c0 8.8-7.2 16-16 16H192c-8.8 0-16-7.2-16-16V192H128c-8.8 0-16-7.2-16-16V144z"]},Il=U1,ms={prefix:"fas",iconName:"align-justify",icon:[448,512,[],"f039","M448 64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32zm0 256c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32zM0 192c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H32c-17.7 0-32 14.3-32 32zM448 448c0-17.7-14.3-32-32-32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32z"]},O2={prefix:"fas",iconName:"gauge",icon:[512,512,["dashboard","gauge-med","tachometer-alt-average"],"f624","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-26.9-16.5-49.9-40-59.3V88c0-13.3-10.7-24-24-24s-24 10.7-24 24V292.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64zM144 176c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm-16 80c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM400 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},Ns=O2,Wo={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},s2={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]},ad={prefix:"fas",iconName:"repeat",icon:[512,512,[128257],"f363","M0 224c0 17.7 14.3 32 32 32s32-14.3 32-32c0-53 43-96 96-96H320v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S320 19.1 320 32V64H160C71.6 64 0 135.6 0 224zm512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 53-43 96-96 96H192V352c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V448H352c88.4 0 160-71.6 160-160z"]},Ol={prefix:"fas",iconName:"shuffle",icon:[512,512,[128256,"random"],"f074","M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]},cu=Ol,Nc={prefix:"fas",iconName:"fire",icon:[448,512,[128293],"f06d","M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-2.8-5.6-5.6-11.2-9.8-16.8l-50.6 58.8s-81.4-103.6-87.1-110.6C133.1 243.8 112 273.2 112 306.8C112 375.4 162.6 416 225.7 416z"]},ju={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]},p2={prefix:"fas",iconName:"unlock",icon:[448,512,[128275],"f09c","M144 144c0-44.2 35.8-80 80-80c31.9 0 59.4 18.6 72.3 45.7c7.6 16 26.7 22.8 42.6 15.2s22.8-26.7 15.2-42.6C331 33.7 281.5 0 224 0C144.5 0 80 64.5 80 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H144V144z"]},oc={prefix:"fas",iconName:"user-pen",icon:[640,512,["user-edit"],"f4ff","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H322.8c-3.1-8.8-3.7-18.4-1.4-27.8l15-60.1c2.8-11.3 8.6-21.5 16.8-29.7l40.3-40.3c-32.1-31-75.7-50.1-123.9-50.1H178.3zm435.5-68.3c-15.6-15.6-40.9-15.6-56.6 0l-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4zM375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5 .2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4L576.1 358.7l-71-71L375.9 417z"]},B2=oc,Ko={prefix:"fas",iconName:"square-plus",icon:[448,512,[61846,"plus-square"],"f0fe","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM200 344V280H136c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H248v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},m2=Ko,Pf={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},t0=Pf,y2={prefix:"fas",iconName:"list-ol",icon:[512,512,["list-1-2","list-numeric"],"f0cb","M24 56c0-13.3 10.7-24 24-24H80c13.3 0 24 10.7 24 24V176h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H56V80H48C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432H120c13.3 0 24 10.7 24 24s-10.7 24-24 24H32c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},S4={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32H472c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9V448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6V320.9L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},q0={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]},hh={prefix:"fas",iconName:"up-down-left-right",icon:[512,512,["arrows-alt"],"f0b2","M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8h32v96H128V192c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V288h96v96H192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8H288V288h96v32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6v32H288V128h32c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-64-64z"]},fh=hh,o0={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},yp=o0,j6={prefix:"fas",iconName:"road",icon:[576,512,[128739],"f018","M256 32H181.2c-27.1 0-51.3 17.1-60.3 42.6L3.1 407.2C1.1 413 0 419.2 0 425.4C0 455.5 24.5 480 54.6 480H256V416c0-17.7 14.3-32 32-32s32 14.3 32 32v64H521.4c30.2 0 54.6-24.5 54.6-54.6c0-6.2-1.1-12.4-3.1-18.2L455.1 74.6C446 49.1 421.9 32 394.8 32H320V96c0 17.7-14.3 32-32 32s-32-14.3-32-32V32zm64 192v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]},Q0={prefix:"fas",iconName:"person-circle-plus",icon:[576,512,[],"e541","M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm16-208c0-8.8-7.2-16-16-16s-16 7.2-16 16v48H368c-8.8 0-16 7.2-16 16s7.2 16 16 16h48v48c0 8.8 7.2 16 16 16s16-7.2 16-16V384h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H448V304z"]},Ff={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},e2=Ff,Ye={prefix:"fas",iconName:"location-pin",icon:[384,512,["map-marker"],"f041","M384 192c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192z"]},mt=Ye,Gi={prefix:"fas",iconName:"person-circle-question",icon:[576,512,[],"e542","M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zM432 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM368 321.6V328c0 8.8 7.2 16 16 16s16-7.2 16-16v-6.4c0-5.3 4.3-9.6 9.6-9.6h40.5c7.7 0 13.9 6.2 13.9 13.9c0 5.2-2.9 9.9-7.4 12.3l-32 16.8c-5.3 2.8-8.6 8.2-8.6 14.2V384c0 8.8 7.2 16 16 16s16-7.2 16-16v-5.1l23.5-12.3c15.1-7.9 24.5-23.6 24.5-40.6c0-25.4-20.6-45.9-45.9-45.9H409.6c-23 0-41.6 18.6-41.6 41.6z"]},Gm={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"]},ym={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},jg={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 416c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]},i5=jg,c8={prefix:"fas",iconName:"comment-dots",icon:[512,512,[128172,62075,"commenting"],"f4ad","M256 448c141.4 0 256-93.1 256-208S397.4 32 256 32S0 125.1 0 240c0 45.1 17.7 86.8 47.7 120.9c-1.9 24.5-11.4 46.3-21.4 62.9c-5.5 9.2-11.1 16.6-15.2 21.6c-2.1 2.5-3.7 4.4-4.9 5.7c-.6 .6-1 1.1-1.3 1.4l-.3 .3 0 0 0 0 0 0 0 0c-4.6 4.6-5.9 11.4-3.4 17.4c2.5 6 8.3 9.9 14.8 9.9c28.7 0 57.6-8.9 81.6-19.3c22.9-10 42.4-21.9 54.3-30.6c31.8 11.5 67 17.9 104.1 17.9zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zm160-32c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},a5=c8,lf={prefix:"fas",iconName:"location-crosshairs",icon:[512,512,["location"],"f601","M256 0c17.7 0 32 14.3 32 32V66.7C368.4 80.1 431.9 143.6 445.3 224H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H445.3C431.9 368.4 368.4 431.9 288 445.3V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.3C143.6 431.9 80.1 368.4 66.7 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H66.7C80.1 143.6 143.6 80.1 224 66.7V32c0-17.7 14.3-32 32-32zM128 256c0 70.7 57.3 128 128 128s128-57.3 128-128s-57.3-128-128-128s-128 57.3-128 128zm128 80c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80z"]},y7=lf,b8={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},wp={prefix:"fas",iconName:"suitcase-medical",icon:[512,512,["medkit"],"f0fa","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96v32V480H384V128 96 56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM96 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H96V96zM416 480h32c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H416V480zM224 208c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v48h48c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H288v48c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V320H176c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h48V208z"]},$f=wp,zl={prefix:"fas",iconName:"user-secret",icon:[448,512,[128373],"f21b","M224 16c-6.7 0-10.8-2.8-15.5-6.1C201.9 5.4 194 0 176 0c-30.5 0-52 43.7-66 89.4C62.7 98.1 32 112.2 32 128c0 14.3 25 27.1 64.6 35.9c-.4 4-.6 8-.6 12.1c0 17 3.3 33.2 9.3 48H45.4C38 224 32 230 32 237.4c0 1.7 .3 3.4 1 5l38.8 96.9C28.2 371.8 0 423.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7c0-58.5-28.2-110.4-71.7-143L415 242.4c.6-1.6 1-3.3 1-5c0-7.4-6-13.4-13.4-13.4H342.7c6-14.8 9.3-31 9.3-48c0-4.1-.2-8.1-.6-12.1C391 155.1 416 142.3 416 128c0-15.8-30.7-29.9-78-38.6C324 43.7 302.5 0 272 0c-18 0-25.9 5.4-32.5 9.9c-4.7 3.3-8.8 6.1-15.5 6.1zm56 208H267.6c-16.5 0-31.1-10.6-36.3-26.2c-2.3-7-12.2-7-14.5 0c-5.2 15.6-19.9 26.2-36.3 26.2H168c-22.1 0-40-17.9-40-40V169.6c28.2 4.1 61 6.4 96 6.4s67.8-2.3 96-6.4V184c0 22.1-17.9 40-40 40zm-88 96l16 32L176 480 128 288l64 32zm128-32L272 480 240 352l16-32 64-32z"]},X6={prefix:"fas",iconName:"comment",icon:[512,512,[128489,61669],"f075","M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z"]},uf={prefix:"fas",iconName:"paperclip",icon:[512,512,[128206],"f0c6","M396.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z"]},s1={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},yh=s1,Lp={prefix:"fas",iconName:"camera",icon:[512,512,[62258,"camera-alt"],"f030","M149.1 64.8L138.7 96H64C28.7 96 0 124.7 0 160V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H373.3L362.9 64.8C356.4 45.2 338.1 32 317.4 32H194.6c-20.7 0-39 13.2-45.5 32.8zM256 384c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]},m0={prefix:"fas",iconName:"crosshairs",icon:[512,512,[],"f05b","M256 0c17.7 0 32 14.3 32 32V42.4c93.7 13.9 167.7 88 181.6 181.6H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H469.6c-13.9 93.7-88 167.7-181.6 181.6V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V469.6C130.3 455.7 56.3 381.7 42.4 288H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H42.4C56.3 130.3 130.3 56.3 224 42.4V32c0-17.7 14.3-32 32-32zM107.4 288c12.5 58.3 58.4 104.1 116.6 116.6V384c0-17.7 14.3-32 32-32s32 14.3 32 32v20.6c58.3-12.5 104.1-58.4 116.6-116.6H384c-17.7 0-32-14.3-32-32s14.3-32 32-32h20.6C392.1 165.7 346.3 119.9 288 107.4V128c0 17.7-14.3 32-32 32s-32-14.3-32-32V107.4C165.7 119.9 119.9 165.7 107.4 224H128c17.7 0 32 14.3 32 32s-14.3 32-32 32H107.4zM256 288c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},ku={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},Jg=ku,H4={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},rp={prefix:"fas",iconName:"street-view",icon:[512,512,[],"f21d","M320 64c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64zm-96 96c-35.3 0-64 28.7-64 64v48c0 17.7 14.3 32 32 32h1.8l11.1 99.5c1.8 16.2 15.5 28.5 31.8 28.5h38.7c16.3 0 30-12.3 31.8-28.5L318.2 304H320c17.7 0 32-14.3 32-32V224c0-35.3-28.7-64-64-64H224zM132.3 394.2c13-2.4 21.7-14.9 19.3-27.9s-14.9-21.7-27.9-19.3c-32.4 5.9-60.9 14.2-82 24.8c-10.5 5.3-20.3 11.7-27.8 19.6C6.4 399.5 0 410.5 0 424c0 21.4 15.5 36.1 29.1 45c14.7 9.6 34.3 17.3 56.4 23.4C130.2 504.7 190.4 512 256 512s125.8-7.3 170.4-19.6c22.1-6.1 41.8-13.8 56.4-23.4c13.7-8.9 29.1-23.6 29.1-45c0-13.5-6.4-24.5-14-32.6c-7.5-7.9-17.3-14.3-27.8-19.6c-21-10.6-49.5-18.9-82-24.8c-13-2.4-25.5 6.3-27.9 19.3s6.3 25.5 19.3 27.9c30.2 5.5 53.7 12.8 69 20.5c3.2 1.6 5.8 3.1 7.9 4.5c3.6 2.4 3.6 7.2 0 9.6c-8.8 5.7-23.1 11.8-43 17.3C374.3 457 318.5 464 256 464s-118.3-7-157.7-17.9c-19.9-5.5-34.2-11.6-43-17.3c-3.6-2.4-3.6-7.2 0-9.6c2.1-1.4 4.8-2.9 7.9-4.5c15.3-7.7 38.8-14.9 69-20.5z"]},sp={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},B4=sp,jn={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 512C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},Yc={prefix:"fas",iconName:"power-off",icon:[512,512,[9211],"f011","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V256c0 17.7 14.3 32 32 32s32-14.3 32-32V32zM143.5 120.6c13.6-11.3 15.4-31.5 4.1-45.1s-31.5-15.4-45.1-4.1C49.7 115.4 16 181.8 16 256c0 132.5 107.5 240 240 240s240-107.5 240-240c0-74.2-33.8-140.6-86.6-184.6c-13.6-11.3-33.8-9.4-45.1 4.1s-9.4 33.8 4.1 45.1c38.9 32.3 63.5 81 63.5 135.4c0 97.2-78.8 176-176 176s-176-78.8-176-176c0-54.4 24.7-103.1 63.5-135.4z"]},zv={prefix:"fas",iconName:"house-medical-circle-exclamation",icon:[640,512,[],"e512","M320 368c0 59.5 29.5 112.1 74.8 144H128.1c-35.3 0-64-28.7-64-64V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L522.1 193.9c-8.5-1.3-17.3-1.9-26.1-1.9c-54.7 0-103.5 24.9-135.8 64H320V208c0-8.8-7.2-16-16-16H272c-8.8 0-16 7.2-16 16v48H208c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16zM496 512c-79.5 0-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144s-64.5 144-144 144zm0-48c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zm0-192c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16V288c0-8.8-7.2-16-16-16z"]},H7={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},F7={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},x_=F7,rm=F7,om={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},Fv=om,A8={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]},O8={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]},co={prefix:"fas",iconName:"arrow-right-long",icon:[512,512,["long-arrow-right"],"f178","M502.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l370.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"]},zi=co,H_={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]},ty={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z"]},ug={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},iy={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},ry=iy,$_={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},ev={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},xy=ev,Cy=ev,K_=ev,Z_={prefix:"fas",iconName:"map",icon:[576,512,[128506,62072],"f279","M384 476.1L192 421.2V35.9L384 90.8V476.1zm32-1.2V88.4L543.1 37.5c15.8-6.3 32.9 5.3 32.9 22.3V394.6c0 9.8-6 18.6-15.1 22.3L416 474.8zM15.1 95.1L160 37.2V423.6L32.9 474.5C17.1 480.8 0 469.2 0 452.2V117.4c0-9.8 6-18.6 15.1-22.3z"]},Iy={prefix:"fas",iconName:"bell-slash",icon:[640,512,[128277,61943],"f1f6","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7l-87.5-68.6c.5-1.7 .7-3.5 .7-5.4c0-27.6-11-54.1-30.5-73.7L512 320c-20.5-20.5-32-48.3-32-77.3V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V51.2c-42.6 8.6-79 34.2-102 69.3L38.8 5.1zM160 242.7c0 29-11.5 56.8-32 77.3l-1.5 1.5C107 341 96 367.5 96 395.2c0 11.5 9.3 20.8 20.8 20.8H406.2L160 222.1v20.7zM384 448H320 256c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7s18.7-28.3 18.7-45.3z"]},Oy={prefix:"fas",iconName:"chevron-left",icon:[384,512,[9001],"f053","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},zy={prefix:"fas",iconName:"chevron-right",icon:[384,512,[9002],"f054","M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},Yy={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"]},Gy={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.7 8.4 166.9 8 160 8s-13.7 .4-20.4 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM208 176c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 400c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},qy=Gy,ex={prefix:"fas",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z"]},tx=ex,fx={prefix:"fas",iconName:"hashtag",icon:[448,512,[62098],"23","M181.3 32.4c17.4 2.9 29.2 19.4 26.3 36.8L197.8 128h95.1l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3s29.2 19.4 26.3 36.8L357.8 128H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H347.1L325.8 320H384c17.7 0 32 14.3 32 32s-14.3 32-32 32H315.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8l9.8-58.7H155.1l-11.5 69.3c-2.9 17.4-19.4 29.2-36.8 26.3s-29.2-19.4-26.3-36.8L90.2 384H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l21.3-128H64c-17.7 0-32-14.3-32-32s14.3-32 32-32h68.9l11.5-69.3c2.9-17.4 19.4-29.2 36.8-26.3zM187.1 192L165.8 320h95.1l21.3-128H187.1z"]},_x={prefix:"fas",iconName:"calendar",icon:[448,512,[128197,128198],"f133","M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]},t9={prefix:"fas",iconName:"gauge-simple-high",icon:[512,512,[61668,"tachometer","tachometer-fast"],"f62a","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-15.9-5.8-30.4-15.3-41.6l76.6-147.4c6.1-11.8 1.5-26.3-10.2-32.4s-26.2-1.5-32.4 10.2L262.1 288.3c-2-.2-4-.3-6.1-.3c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]},Ex=t9,n9={prefix:"fas",iconName:"desktop",icon:[576,512,[128421,61704,"desktop-alt"],"f390","M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64H240l-10.7 32H160c-17.7 0-32 14.3-32 32s14.3 32 32 32H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H346.7L336 416H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM512 64V288H64V64H512z"]},Ax={prefix:"fas",iconName:"user-plus",icon:[640,512,[],"f234","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM504 312V248H440c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V136c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H552v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},i9={prefix:"fas",iconName:"check",icon:[512,512,[10003,10004],"f00c","M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},o9={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},Bx=o9,jx=o9,Vx={prefix:"fas",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"]},rC={prefix:"fas",iconName:"user-large",icon:[512,512,["user-alt"],"f406","M256 288c79.5 0 144-64.5 144-144S335.5 0 256 0S112 64.5 112 144s64.5 144 144 144zm-94.7 32C72.2 320 0 392.2 0 481.3c0 17 13.8 30.7 30.7 30.7H481.3c17 0 30.7-13.8 30.7-30.7C512 392.2 439.8 320 350.7 320H161.3z"]},oC=rC,lC={prefix:"fas",iconName:"plane",icon:[576,512,[],"f072","M482.3 192c34.2 0 93.7 29 93.7 64c0 36-59.5 64-93.7 64l-116.6 0L265.2 495.9c-5.7 10-16.3 16.1-27.8 16.1l-56.2 0c-10.6 0-18.3-10.2-15.4-20.4l49-171.6L112 320 68.8 377.6c-3 4-7.8 6.4-12.8 6.4l-42 0c-7.8 0-14-6.3-14-14c0-1.3 .2-2.6 .5-3.9L32 256 .5 145.9c-.4-1.3-.5-2.6-.5-3.9c0-7.8 6.3-14 14-14l42 0c5 0 9.8 2.4 12.8 6.4L112 192l102.9 0-49-171.6C162.9 10.2 170.6 0 181.2 0l56.2 0c11.5 0 22.1 6.2 27.8 16.1L365.7 192l116.6 0z"]},dC={prefix:"fas",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M96 64c0-17.7-14.3-32-32-32S32 46.3 32 64V320c0 17.7 14.3 32 32 32s32-14.3 32-32V64zM64 480c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]},wC={prefix:"fas",iconName:"person-circle-check",icon:[576,512,[],"e53e","M208 48c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM152 352V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152zm424 16c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-76.7-43.3c-6.2-6.2-16.4-6.2-22.6 0L416 385.4l-28.7-28.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l40 40c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6z"]}},46229:(de,$e,B)=>{"use strict";B.d($e,{Kz:()=>Rc,vL:()=>k2,NG:()=>S1,FF:()=>E1,IJ:()=>bd});var n=B(3184),i=B(36362),P=B(52822),m=B(26439),s=B(64139),o=B(92218),h=B(36312),v=B(45398),y=B(65763),x=B(84505),C=B(19193),_=B(48130),w=B(49727),z=B(88623),R=B(17295),N=B(85921),S=B(59151),E=B(83910),O=B(86942),H=B(25722),U=B(53298),X=B(59095),W=B(88759),re=B(61745),pe=B(25843),Ae=B(80522),Se=B(16276),De=B(24514),qe=B(44661),rt=B(90587),ot={left:"right",right:"left",bottom:"top",top:"bottom"};function vt(ie){return ie.replace(/left|right|bottom|top/g,function(I){return ot[I]})}function rn(ie){return ie.split("-")[0]}var Xt={start:"end",end:"start"};function fn(ie){return ie.replace(/start|end/g,function(I){return Xt[I]})}var _n="top",hn="bottom",vn="right",xn="left",dn="auto",Sn=[_n,hn,vn,xn],si="start",cn="end",qn="viewport",oi="popper",Xn=Sn.reduce(function(ie,I){return ie.concat([I+"-"+si,I+"-"+cn])},[]),gi=[].concat(Sn,[dn]).reduce(function(ie,I){return ie.concat([I,I+"-"+si,I+"-"+cn])},[]),Jt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function lt(ie){if(null==ie)return window;if("[object Window]"!==ie.toString()){var I=ie.ownerDocument;return I&&I.defaultView||window}return ie}function Ft(ie){return ie instanceof lt(ie).Element||ie instanceof Element}function ln(ie){return ie instanceof lt(ie).HTMLElement||ie instanceof HTMLElement}function Jn(ie){return"undefined"!=typeof ShadowRoot&&(ie instanceof lt(ie).ShadowRoot||ie instanceof ShadowRoot)}function Mn(ie){return((Ft(ie)?ie.ownerDocument:ie.document)||window.document).documentElement}var ti=Math.max,Ai=Math.min,ki=Math.round;function Ki(){var ie=navigator.userAgentData;return null!=ie&&ie.brands?ie.brands.map(function(I){return I.brand+"/"+I.version}).join(" "):navigator.userAgent}function Hi(){return!/^((?!chrome|android).)*safari/i.test(Ki())}function _i(ie,I,$){void 0===I&&(I=!1),void 0===$&&($=!1);var be=ie.getBoundingClientRect(),Re=1,dt=1;I&&ln(ie)&&(Re=ie.offsetWidth>0&&ki(be.width)/ie.offsetWidth||1,dt=ie.offsetHeight>0&&ki(be.height)/ie.offsetHeight||1);var Qt=(Ft(ie)?lt(ie):window).visualViewport,sn=!Hi()&&$,Vn=(be.left+(sn&&Qt?Qt.offsetLeft:0))/Re,ni=(be.top+(sn&&Qt?Qt.offsetTop:0))/dt,Di=be.width/Re,sr=be.height/dt;return{width:Di,height:sr,top:ni,right:Vn+Di,bottom:ni+sr,left:Vn,x:Vn,y:ni}}function pi(ie){var I=lt(ie);return{scrollLeft:I.pageXOffset,scrollTop:I.pageYOffset}}function $n(ie){return _i(Mn(ie)).left+pi(ie).scrollLeft}function Pn(ie){return lt(ie).getComputedStyle(ie)}function ri(ie){return ie?(ie.nodeName||"").toLowerCase():null}function mi(ie){return"html"===ri(ie)?ie:ie.assignedSlot||ie.parentNode||(Jn(ie)?ie.host:null)||Mn(ie)}function xi(ie){var I=Pn(ie),$=I.overflow,be=I.overflowX,Re=I.overflowY;return/auto|scroll|overlay|hidden/.test($+Re+be)}function Mr(ie){return["html","body","#document"].indexOf(ri(ie))>=0?ie.ownerDocument.body:ln(ie)&&xi(ie)?ie:Mr(mi(ie))}function gr(ie,I){var $;void 0===I&&(I=[]);var be=Mr(ie),Re=be===(null==($=ie.ownerDocument)?void 0:$.body),dt=lt(be),Gt=Re?[dt].concat(dt.visualViewport||[],xi(be)?be:[]):be,Qt=I.concat(Gt);return Re?Qt:Qt.concat(gr(mi(Gt)))}function Li(ie){return["table","td","th"].indexOf(ri(ie))>=0}function Sr(ie){return ln(ie)&&"fixed"!==Pn(ie).position?ie.offsetParent:null}function Xr(ie){for(var I=lt(ie),$=Sr(ie);$&&Li($)&&"static"===Pn($).position;)$=Sr($);return $&&("html"===ri($)||"body"===ri($)&&"static"===Pn($).position)?I:$||function br(ie){var I=/firefox/i.test(Ki());if(/Trident/i.test(Ki())&&ln(ie)&&"fixed"===Pn(ie).position)return null;var Re=mi(ie);for(Jn(Re)&&(Re=Re.host);ln(Re)&&["html","body"].indexOf(ri(Re))<0;){var dt=Pn(Re);if("none"!==dt.transform||"none"!==dt.perspective||"paint"===dt.contain||-1!==["transform","perspective"].indexOf(dt.willChange)||I&&"filter"===dt.willChange||I&&dt.filter&&"none"!==dt.filter)return Re;Re=Re.parentNode}return null}(ie)||I}function uo(ie,I){var $=I.getRootNode&&I.getRootNode();if(ie.contains(I))return!0;if($&&Jn($)){var be=I;do{if(be&&ie.isSameNode(be))return!0;be=be.parentNode||be.host}while(be)}return!1}function fa(ie){return Object.assign({},ie,{left:ie.x,top:ie.y,right:ie.x+ie.width,bottom:ie.y+ie.height})}function at(ie,I,$){return I===qn?fa(function wr(ie,I){var $=lt(ie),be=Mn(ie),Re=$.visualViewport,dt=be.clientWidth,Gt=be.clientHeight,Qt=0,sn=0;if(Re){dt=Re.width,Gt=Re.height;var Vn=Hi();(Vn||!Vn&&"fixed"===I)&&(Qt=Re.offsetLeft,sn=Re.offsetTop)}return{width:dt,height:Gt,x:Qt+$n(ie),y:sn}}(ie,$)):Ft(I)?function ai(ie,I){var $=_i(ie,!1,"fixed"===I);return $.top=$.top+ie.clientTop,$.left=$.left+ie.clientLeft,$.bottom=$.top+ie.clientHeight,$.right=$.left+ie.clientWidth,$.width=ie.clientWidth,$.height=ie.clientHeight,$.x=$.left,$.y=$.top,$}(I,$):fa(function Bn(ie){var I,$=Mn(ie),be=pi(ie),Re=null==(I=ie.ownerDocument)?void 0:I.body,dt=ti($.scrollWidth,$.clientWidth,Re?Re.scrollWidth:0,Re?Re.clientWidth:0),Gt=ti($.scrollHeight,$.clientHeight,Re?Re.scrollHeight:0,Re?Re.clientHeight:0),Qt=-be.scrollLeft+$n(ie),sn=-be.scrollTop;return"rtl"===Pn(Re||$).direction&&(Qt+=ti($.clientWidth,Re?Re.clientWidth:0)-dt),{width:dt,height:Gt,x:Qt,y:sn}}(Mn(ie)))}function Nn(ie,I,$,be){var Re="clippingParents"===I?function Ot(ie){var I=gr(mi(ie)),be=["absolute","fixed"].indexOf(Pn(ie).position)>=0&&ln(ie)?Xr(ie):ie;return Ft(be)?I.filter(function(Re){return Ft(Re)&&uo(Re,be)&&"body"!==ri(Re)}):[]}(ie):[].concat(I),dt=[].concat(Re,[$]),Gt=dt[0],Qt=dt.reduce(function(sn,Vn){var ni=at(ie,Vn,be);return sn.top=ti(ni.top,sn.top),sn.right=Ai(ni.right,sn.right),sn.bottom=Ai(ni.bottom,sn.bottom),sn.left=ti(ni.left,sn.left),sn},at(ie,Gt,be));return Qt.width=Qt.right-Qt.left,Qt.height=Qt.bottom-Qt.top,Qt.x=Qt.left,Qt.y=Qt.top,Qt}function di(ie){return ie.split("-")[1]}function $i(ie){return["top","bottom"].indexOf(ie)>=0?"x":"y"}function Fi(ie){var sn,I=ie.reference,$=ie.element,be=ie.placement,Re=be?rn(be):null,dt=be?di(be):null,Gt=I.x+I.width/2-$.width/2,Qt=I.y+I.height/2-$.height/2;switch(Re){case _n:sn={x:Gt,y:I.y-$.height};break;case hn:sn={x:Gt,y:I.y+I.height};break;case vn:sn={x:I.x+I.width,y:Qt};break;case xn:sn={x:I.x-$.width,y:Qt};break;default:sn={x:I.x,y:I.y}}var Vn=Re?$i(Re):null;if(null!=Vn){var ni="y"===Vn?"height":"width";switch(dt){case si:sn[Vn]=sn[Vn]-(I[ni]/2-$[ni]/2);break;case cn:sn[Vn]=sn[Vn]+(I[ni]/2-$[ni]/2)}}return sn}function Mo(ie){return Object.assign({},{top:0,right:0,bottom:0,left:0},ie)}function Jr(ie,I){return I.reduce(function($,be){return $[be]=ie,$},{})}function Bi(ie,I){void 0===I&&(I={});var $=I,be=$.placement,Re=void 0===be?ie.placement:be,dt=$.strategy,Gt=void 0===dt?ie.strategy:dt,Qt=$.boundary,sn=void 0===Qt?"clippingParents":Qt,Vn=$.rootBoundary,ni=void 0===Vn?qn:Vn,Di=$.elementContext,sr=void 0===Di?oi:Di,dr=$.altBoundary,Co=void 0!==dr&&dr,Kr=$.padding,fr=void 0===Kr?0:Kr,ps=Mo("number"!=typeof fr?fr:Jr(fr,Sn)),Bo=sr===oi?"reference":oi,na=ie.rects.popper,ss=ie.elements[Co?Bo:sr],$o=Nn(Ft(ss)?ss:ss.contextElement||Mn(ie.elements.popper),sn,ni,Gt),pr=_i(ie.elements.reference),ma=Fi({reference:pr,element:na,strategy:"absolute",placement:Re}),qa=fa(Object.assign({},na,ma)),dl=sr===oi?qa:pr,Wl={top:$o.top-dl.top+ps.top,bottom:dl.bottom-$o.bottom+ps.bottom,left:$o.left-dl.left+ps.left,right:dl.right-$o.right+ps.right},Pl=ie.modifiersData.offset;if(sr===oi&&Pl){var Ko=Pl[Re];Object.keys(Wl).forEach(function(m2){var v2=[vn,hn].indexOf(m2)>=0?1:-1,P3=[_n,hn].indexOf(m2)>=0?"y":"x";Wl[m2]+=Ko[P3]*v2})}return Wl}const mr={name:"flip",enabled:!0,phase:"main",fn:function Qo(ie){var I=ie.state,$=ie.options,be=ie.name;if(!I.modifiersData[be]._skip){for(var Re=$.mainAxis,dt=void 0===Re||Re,Gt=$.altAxis,Qt=void 0===Gt||Gt,sn=$.fallbackPlacements,Vn=$.padding,ni=$.boundary,Di=$.rootBoundary,sr=$.altBoundary,dr=$.flipVariations,Co=void 0===dr||dr,Kr=$.allowedAutoPlacements,fr=I.options.placement,ps=rn(fr),na=sn||(ps===fr||!Co?[vt(fr)]:function so(ie){if(rn(ie)===dn)return[];var I=vt(ie);return[fn(ie),I,fn(I)]}(fr)),ss=[fr].concat(na).reduce(function(vu,sc){return vu.concat(rn(sc)===dn?function ks(ie,I){void 0===I&&(I={});var $=I,be=$.placement,Re=$.boundary,dt=$.rootBoundary,Gt=$.padding,Qt=$.flipVariations,sn=$.allowedAutoPlacements,Vn=void 0===sn?gi:sn,ni=di(be),Di=ni?Qt?Xn:Xn.filter(function(Co){return di(Co)===ni}):Sn,sr=Di.filter(function(Co){return Vn.indexOf(Co)>=0});0===sr.length&&(sr=Di);var dr=sr.reduce(function(Co,Kr){return Co[Kr]=Bi(ie,{placement:Kr,boundary:Re,rootBoundary:dt,padding:Gt})[rn(Kr)],Co},{});return Object.keys(dr).sort(function(Co,Kr){return dr[Co]-dr[Kr]})}(I,{placement:sc,boundary:ni,rootBoundary:Di,padding:Vn,flipVariations:Co,allowedAutoPlacements:Kr}):sc)},[]),$o=I.rects.reference,pr=I.rects.popper,ma=new Map,qa=!0,dl=ss[0],Wl=0;Wl<ss.length;Wl++){var Pl=ss[Wl],Ko=rn(Pl),m2=di(Pl)===si,v2=[_n,hn].indexOf(Ko)>=0,P3=v2?"width":"height",lo=Bi(I,{placement:Pl,boundary:ni,rootBoundary:Di,altBoundary:sr,padding:Vn}),Jc=v2?m2?vn:xn:m2?hn:_n;$o[P3]>pr[P3]&&(Jc=vt(Jc));var Oh=vt(Jc),u4=[];if(dt&&u4.push(lo[Ko]<=0),Qt&&u4.push(lo[Jc]<=0,lo[Oh]<=0),u4.every(function(vu){return vu})){dl=Pl,qa=!1;break}ma.set(Pl,u4)}if(qa)for(var Qc=function(sc){var kc=ss.find(function(K4){var yd=ma.get(K4);if(yd)return yd.slice(0,sc).every(function(f4){return f4})});if(kc)return dl=kc,"break"},$4=Co?3:1;$4>0;$4--){if("break"===Qc($4))break}I.placement!==dl&&(I.modifiersData[be]._skip=!0,I.placement=dl,I.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Cr(ie,I,$){return ti(ie,Ai(I,$))}function To(ie){var I=_i(ie),$=ie.offsetWidth,be=ie.offsetHeight;return Math.abs(I.width-$)<=1&&($=I.width),Math.abs(I.height-be)<=1&&(be=I.height),{x:ie.offsetLeft,y:ie.offsetTop,width:$,height:be}}const _o={name:"preventOverflow",enabled:!0,phase:"main",fn:function qr(ie){var I=ie.state,$=ie.options,be=ie.name,Re=$.mainAxis,dt=void 0===Re||Re,Gt=$.altAxis,Qt=void 0!==Gt&&Gt,sn=$.boundary,Vn=$.rootBoundary,ni=$.altBoundary,Di=$.padding,sr=$.tether,dr=void 0===sr||sr,Co=$.tetherOffset,Kr=void 0===Co?0:Co,fr=Bi(I,{boundary:sn,rootBoundary:Vn,padding:Di,altBoundary:ni}),ps=rn(I.placement),Bo=di(I.placement),na=!Bo,ss=$i(ps),$o=function Ti(ie){return"x"===ie?"y":"x"}(ss),pr=I.modifiersData.popperOffsets,ma=I.rects.reference,qa=I.rects.popper,dl="function"==typeof Kr?Kr(Object.assign({},I.rects,{placement:I.placement})):Kr,Wl="number"==typeof dl?{mainAxis:dl,altAxis:dl}:Object.assign({mainAxis:0,altAxis:0},dl),Pl=I.modifiersData.offset?I.modifiersData.offset[I.placement]:null,Ko={x:0,y:0};if(pr){if(dt){var m2,v2="y"===ss?_n:xn,P3="y"===ss?hn:vn,lo="y"===ss?"height":"width",Jc=pr[ss],Oh=Jc+fr[v2],u4=Jc-fr[P3],mu=dr?-qa[lo]/2:0,Qc=Bo===si?ma[lo]:qa[lo],$4=Bo===si?-qa[lo]:-ma[lo],h4=I.elements.arrow,vu=dr&&h4?To(h4):{width:0,height:0},sc=I.modifiersData["arrow#persistent"]?I.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},kc=sc[v2],K4=sc[P3],yd=Cr(0,ma[lo],vu[lo]),f4=na?ma[lo]/2-mu-yd-kc-Wl.mainAxis:Qc-yd-kc-Wl.mainAxis,Up=na?-ma[lo]/2+mu+yd+K4+Wl.mainAxis:$4+yd+K4+Wl.mainAxis,Yp=I.elements.arrow&&Xr(I.elements.arrow),p4=Yp?"y"===ss?Yp.clientTop||0:Yp.clientLeft||0:0,g4=null!=(m2=null==Pl?void 0:Pl[ss])?m2:0,c3=Jc+Up-g4,Ud=Cr(dr?Ai(Oh,Jc+f4-g4-p4):Oh,Jc,dr?ti(u4,c3):u4);pr[ss]=Ud,Ko[ss]=Ud-Jc}if(Qt){var Z4,Yd="x"===ss?_n:xn,X4="x"===ss?hn:vn,m4=pr[$o],v4="y"===$o?"height":"width",Cf=m4+fr[Yd],Wp=m4-fr[X4],d3=-1!==[_n,xn].indexOf(ps),dp=null!=(Z4=null==Pl?void 0:Pl[$o])?Z4:0,up=d3?Cf:m4-ma[v4]-qa[v4]-dp+Wl.altAxis,_4=d3?m4+ma[v4]+qa[v4]-dp-Wl.altAxis:Wp,wf=dr&&d3?function Vi(ie,I,$){var be=Cr(ie,I,$);return be>$?$:be}(up,m4,_4):Cr(dr?up:Cf,m4,dr?_4:Wp);pr[$o]=wf,Ko[$o]=wf-m4}I.modifiersData[be]=Ko}},requiresIfExists:["offset"]};const Ho={name:"arrow",enabled:!0,phase:"main",fn:function Do(ie){var I,$=ie.state,be=ie.name,Re=ie.options,dt=$.elements.arrow,Gt=$.modifiersData.popperOffsets,Qt=rn($.placement),sn=$i(Qt),ni=[xn,vn].indexOf(Qt)>=0?"height":"width";if(dt&&Gt){var Di=function(I,$){return Mo("number"!=typeof(I="function"==typeof I?I(Object.assign({},$.rects,{placement:$.placement})):I)?I:Jr(I,Sn))}(Re.padding,$),sr=To(dt),dr="y"===sn?_n:xn,Co="y"===sn?hn:vn,Kr=$.rects.reference[ni]+$.rects.reference[sn]-Gt[sn]-$.rects.popper[ni],fr=Gt[sn]-$.rects.reference[sn],ps=Xr(dt),Bo=ps?"y"===sn?ps.clientHeight||0:ps.clientWidth||0:0,na=Kr/2-fr/2,ss=Di[dr],$o=Bo-sr[ni]-Di[Co],pr=Bo/2-sr[ni]/2+na,ma=Cr(ss,pr,$o),qa=sn;$.modifiersData[be]=((I={})[qa]=ma,I.centerOffset=ma-pr,I)}},effect:function gs(ie){var I=ie.state,be=ie.options.element,Re=void 0===be?"[data-popper-arrow]":be;null!=Re&&("string"==typeof Re&&!(Re=I.elements.popper.querySelector(Re))||!uo(I.elements.popper,Re)||(I.elements.arrow=Re))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function li(ie,I,$){void 0===$&&($=!1);var be=ln(I),Re=ln(I)&&function cs(ie){var I=ie.getBoundingClientRect(),$=ki(I.width)/ie.offsetWidth||1,be=ki(I.height)/ie.offsetHeight||1;return 1!==$||1!==be}(I),dt=Mn(I),Gt=_i(ie,Re,$),Qt={scrollLeft:0,scrollTop:0},sn={x:0,y:0};return(be||!be&&!$)&&(("body"!==ri(I)||xi(dt))&&(Qt=function Os(ie){return ie!==lt(ie)&&ln(ie)?function Dr(ie){return{scrollLeft:ie.scrollLeft,scrollTop:ie.scrollTop}}(ie):pi(ie)}(I)),ln(I)?((sn=_i(I,!0)).x+=I.clientLeft,sn.y+=I.clientTop):dt&&(sn.x=$n(dt))),{x:Gt.left+Qt.scrollLeft-sn.x,y:Gt.top+Qt.scrollTop-sn.y,width:Gt.width,height:Gt.height}}function Qr(ie){var I=new Map,$=new Set,be=[];function Re(dt){$.add(dt.name),[].concat(dt.requires||[],dt.requiresIfExists||[]).forEach(function(Qt){if(!$.has(Qt)){var sn=I.get(Qt);sn&&Re(sn)}}),be.push(dt)}return ie.forEach(function(dt){I.set(dt.name,dt)}),ie.forEach(function(dt){$.has(dt.name)||Re(dt)}),be}function ys(ie){var I;return function(){return I||(I=new Promise(function($){Promise.resolve().then(function(){I=void 0,$(ie())})})),I}}var So={placement:"bottom",modifiers:[],strategy:"absolute"};function Us(){for(var ie=arguments.length,I=new Array(ie),$=0;$<ie;$++)I[$]=arguments[$];return!I.some(function(be){return!(be&&"function"==typeof be.getBoundingClientRect)})}function no(ie){void 0===ie&&(ie={});var I=ie,$=I.defaultModifiers,be=void 0===$?[]:$,Re=I.defaultOptions,dt=void 0===Re?So:Re;return function(Qt,sn,Vn){void 0===Vn&&(Vn=dt);var ni={placement:"bottom",orderedModifiers:[],options:Object.assign({},So,dt),modifiersData:{},elements:{reference:Qt,popper:sn},attributes:{},styles:{}},Di=[],sr=!1,dr={state:ni,setOptions:function(ps){var Bo="function"==typeof ps?ps(ni.options):ps;Kr(),ni.options=Object.assign({},dt,ni.options,Bo),ni.scrollParents={reference:Ft(Qt)?gr(Qt):Qt.contextElement?gr(Qt.contextElement):[],popper:gr(sn)};var na=function ao(ie){var I=Qr(ie);return Jt.reduce(function($,be){return $.concat(I.filter(function(Re){return Re.phase===be}))},[])}(function _a(ie){var I=ie.reduce(function($,be){var Re=$[be.name];return $[be.name]=Re?Object.assign({},Re,be,{options:Object.assign({},Re.options,be.options),data:Object.assign({},Re.data,be.data)}):be,$},{});return Object.keys(I).map(function($){return I[$]})}([].concat(be,ni.options.modifiers)));return ni.orderedModifiers=na.filter(function(Pl){return Pl.enabled}),function Co(){ni.orderedModifiers.forEach(function(fr){var ps=fr.name,Bo=fr.options,na=void 0===Bo?{}:Bo,ss=fr.effect;if("function"==typeof ss){var $o=ss({state:ni,name:ps,instance:dr,options:na}),pr=function(){};Di.push($o||pr)}})}(),dr.update()},forceUpdate:function(){if(!sr){var ps=ni.elements,Bo=ps.reference,na=ps.popper;if(Us(Bo,na)){ni.rects={reference:li(Bo,Xr(na),"fixed"===ni.options.strategy),popper:To(na)},ni.reset=!1,ni.placement=ni.options.placement,ni.orderedModifiers.forEach(function(Pl){return ni.modifiersData[Pl.name]=Object.assign({},Pl.data)});for(var $o=0;$o<ni.orderedModifiers.length;$o++)if(!0!==ni.reset){var pr=ni.orderedModifiers[$o],ma=pr.fn,qa=pr.options,dl=void 0===qa?{}:qa,Wl=pr.name;"function"==typeof ma&&(ni=ma({state:ni,options:dl,name:Wl,instance:dr})||ni)}else ni.reset=!1,$o=-1}}},update:ys(function(){return new Promise(function(fr){dr.forceUpdate(),fr(ni)})}),destroy:function(){Kr(),sr=!0}};if(!Us(Qt,sn))return dr;function Kr(){Di.forEach(function(fr){return fr()}),Di=[]}return dr.setOptions(Vn).then(function(fr){!sr&&Vn.onFirstUpdate&&Vn.onFirstUpdate(fr)}),dr}}var ra={passive:!0};const bo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function zs(ie){var I=ie.state,$=ie.instance,be=ie.options,Re=be.scroll,dt=void 0===Re||Re,Gt=be.resize,Qt=void 0===Gt||Gt,sn=lt(I.elements.popper),Vn=[].concat(I.scrollParents.reference,I.scrollParents.popper);return dt&&Vn.forEach(function(ni){ni.addEventListener("scroll",$.update,ra)}),Qt&&sn.addEventListener("resize",$.update,ra),function(){dt&&Vn.forEach(function(ni){ni.removeEventListener("scroll",$.update,ra)}),Qt&&sn.removeEventListener("resize",$.update,ra)}},data:{}};const yo={name:"popperOffsets",enabled:!0,phase:"read",fn:function yr(ie){var I=ie.state,$=ie.name;I.modifiersData[$]=Fi({reference:I.rects.reference,element:I.rects.popper,strategy:"absolute",placement:I.placement})},data:{}};var Fo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Or(ie){var I,$=ie.popper,be=ie.popperRect,Re=ie.placement,dt=ie.variation,Gt=ie.offsets,Qt=ie.position,sn=ie.gpuAcceleration,Vn=ie.adaptive,ni=ie.roundOffsets,Di=ie.isFixed,sr=Gt.x,dr=void 0===sr?0:sr,Co=Gt.y,Kr=void 0===Co?0:Co,fr="function"==typeof ni?ni({x:dr,y:Kr}):{x:dr,y:Kr};dr=fr.x,Kr=fr.y;var ps=Gt.hasOwnProperty("x"),Bo=Gt.hasOwnProperty("y"),na=xn,ss=_n,$o=window;if(Vn){var pr=Xr($),ma="clientHeight",qa="clientWidth";if(pr===lt($)&&("static"!==Pn(pr=Mn($)).position&&"absolute"===Qt&&(ma="scrollHeight",qa="scrollWidth")),Re===_n||(Re===xn||Re===vn)&&dt===cn)ss=hn,Kr-=(Di&&pr===$o&&$o.visualViewport?$o.visualViewport.height:pr[ma])-be.height,Kr*=sn?1:-1;if(Re===xn||(Re===_n||Re===hn)&&dt===cn)na=vn,dr-=(Di&&pr===$o&&$o.visualViewport?$o.visualViewport.width:pr[qa])-be.width,dr*=sn?1:-1}var m2,Pl=Object.assign({position:Qt},Vn&&Fo),Ko=!0===ni?function Po(ie){var I=ie.x,$=ie.y,Re=window.devicePixelRatio||1;return{x:ki(I*Re)/Re||0,y:ki($*Re)/Re||0}}({x:dr,y:Kr}):{x:dr,y:Kr};return dr=Ko.x,Kr=Ko.y,sn?Object.assign({},Pl,((m2={})[ss]=Bo?"0":"",m2[na]=ps?"0":"",m2.transform=($o.devicePixelRatio||1)<=1?"translate("+dr+"px, "+Kr+"px)":"translate3d("+dr+"px, "+Kr+"px, 0)",m2)):Object.assign({},Pl,((I={})[ss]=Bo?Kr+"px":"",I[na]=ps?dr+"px":"",I.transform="",I))}const Xo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function rs(ie){var I=ie.state,$=ie.options,be=$.gpuAcceleration,Re=void 0===be||be,dt=$.adaptive,Gt=void 0===dt||dt,Qt=$.roundOffsets,sn=void 0===Qt||Qt,ni={placement:rn(I.placement),variation:di(I.placement),popper:I.elements.popper,popperRect:I.rects.popper,gpuAcceleration:Re,isFixed:"fixed"===I.options.strategy};null!=I.modifiersData.popperOffsets&&(I.styles.popper=Object.assign({},I.styles.popper,Or(Object.assign({},ni,{offsets:I.modifiersData.popperOffsets,position:I.options.strategy,adaptive:Gt,roundOffsets:sn})))),null!=I.modifiersData.arrow&&(I.styles.arrow=Object.assign({},I.styles.arrow,Or(Object.assign({},ni,{offsets:I.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:sn})))),I.attributes.popper=Object.assign({},I.attributes.popper,{"data-popper-placement":I.placement})},data:{}};var aa=[bo,yo,Xo,{name:"applyStyles",enabled:!0,phase:"write",fn:function ba(ie){var I=ie.state;Object.keys(I.elements).forEach(function($){var be=I.styles[$]||{},Re=I.attributes[$]||{},dt=I.elements[$];!ln(dt)||!ri(dt)||(Object.assign(dt.style,be),Object.keys(Re).forEach(function(Gt){var Qt=Re[Gt];!1===Qt?dt.removeAttribute(Gt):dt.setAttribute(Gt,!0===Qt?"":Qt)}))})},effect:function xs(ie){var I=ie.state,$={popper:{position:I.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(I.elements.popper.style,$.popper),I.styles=$,I.elements.arrow&&Object.assign(I.elements.arrow.style,$.arrow),function(){Object.keys(I.elements).forEach(function(be){var Re=I.elements[be],dt=I.attributes[be]||{},Qt=Object.keys(I.styles.hasOwnProperty(be)?I.styles[be]:$[be]).reduce(function(sn,Vn){return sn[Vn]="",sn},{});!ln(Re)||!ri(Re)||(Object.assign(Re.style,Qt),Object.keys(dt).forEach(function(sn){Re.removeAttribute(sn)}))})}},requires:["computeStyles"]}],js=no({defaultModifiers:aa});const Io={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function Vo(ie){var I=ie.state,$=ie.options,be=ie.name,Re=$.offset,dt=void 0===Re?[0,0]:Re,Gt=gi.reduce(function(ni,Di){return ni[Di]=function Jo(ie,I,$){var be=rn(ie),Re=[xn,_n].indexOf(be)>=0?-1:1,dt="function"==typeof $?$(Object.assign({},I,{placement:ie})):$,Gt=dt[0],Qt=dt[1];return Gt=Gt||0,Qt=(Qt||0)*Re,[xn,vn].indexOf(be)>=0?{x:Qt,y:Gt}:{x:Gt,y:Qt}}(Di,I.rects,dt),ni},{}),Qt=Gt[I.placement],sn=Qt.x,Vn=Qt.y;null!=I.modifiersData.popperOffsets&&(I.modifiersData.popperOffsets.x+=sn,I.modifiersData.popperOffsets.y+=Vn),I.modifiersData[be]=Gt}};function or(ie,I){}function q(ie,I){if(1&ie&&(n.TgZ(0,"button",3),n._uU(1),n.YNc(2,or,0,0,"ng-template",4),n.qZA()),2&ie){const $=I.$implicit;n.Q6J("ngbPanelToggle",$),n.xp6(1),n.hij(" ",$.title,""),n.xp6(1),n.Q6J("ngTemplateOutlet",null==$.titleTpl?null:$.titleTpl.templateRef)}}function ne(ie,I){}function me(ie,I){}function Be(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"div",8),n.NdJ("ngbRef",function(Re){n.CHM($);return n.oxw().$implicit.panelDiv=Re}),n.TgZ(1,"div",9),n.YNc(2,me,0,0,"ng-template",4),n.qZA()()}if(2&ie){const $=n.oxw().$implicit;n.s9C("id",$.id),n.uIk("aria-labelledby",$.id+"-header"),n.xp6(2),n.Q6J("ngTemplateOutlet",(null==$.contentTpl?null:$.contentTpl.templateRef)||null)}}const et=function(ie,I){return{$implicit:ie,opened:I}};function It(ie,I){if(1&ie&&(n.TgZ(0,"div")(1,"div",5),n.YNc(2,ne,0,0,"ng-template",6),n.qZA(),n.YNc(3,Be,3,3,"div",7),n.qZA()),2&ie){const $=I.$implicit,be=n.oxw(),Re=n.MAs(1);n.Tol("accordion-item "+($.cardClass||"")),n.xp6(1),n.Tol("accordion-header "+($.type?"bg-"+$.type:be.type?"bg-"+be.type:"")),n.MGl("id","",$.id,"-header"),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.headerTpl?null:$.headerTpl.templateRef)||Re)("ngTemplateOutletContext",n.WLB(8,et,$,$.isOpen)),n.xp6(1),n.Q6J("ngIf",!be.destroyOnHide||$.isOpen||$.transitionRunning)}}function Ut(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",1),n.NdJ("click",function(){return n.CHM($),n.oxw().close()}),n.qZA()}}const Wt=["*"];function Pt(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",6),n.NdJ("click",function(){const dt=n.CHM($).$implicit,Gt=n.oxw();return Gt.focus(),Gt.select(dt.id,Gt.NgbSlideEventSource.INDICATOR)}),n.qZA()}if(2&ie){const $=I.$implicit,be=n.oxw();n.ekj("active",$.id===be.activeId),n.uIk("aria-labelledby","slide-"+$.id)("aria-controls","slide-"+$.id)("aria-selected",$.id===be.activeId)}}function Et(ie,I){}function Dn(ie,I){if(1&ie&&(n.TgZ(0,"div",7)(1,"span",8),n.SDv(2,9),n.qZA(),n.YNc(3,Et,0,0,"ng-template",10),n.qZA()),2&ie){const $=I.$implicit,be=I.index,Re=I.count;n.Q6J("id","slide-"+$.id),n.xp6(2),n.pQV(be+1)(Re),n.QtT(2),n.xp6(1),n.Q6J("ngTemplateOutlet",$.tplRef)}}function Ln(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){return n.CHM($),n.oxw().arrowLeft()}),n._UZ(1,"span",12),n.TgZ(2,"span",8),n.SDv(3,13),n.qZA()()}}function An(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",14),n.NdJ("click",function(){return n.CHM($),n.oxw().arrowRight()}),n._UZ(1,"span",15),n.TgZ(2,"span",8),n.SDv(3,16),n.qZA()()}}const ui=["month"],Ui=["year"];function hr(ie,I){if(1&ie&&(n.TgZ(0,"option",5),n._uU(1),n.qZA()),2&ie){const $=I.$implicit,be=n.oxw();n.Q6J("value",$),n.uIk("aria-label",be.i18n.getMonthFullName($,null==be.date?null:be.date.year)),n.xp6(1),n.Oqu(be.i18n.getMonthShortName($,null==be.date?null:be.date.year))}}function kr(ie,I){if(1&ie&&(n.TgZ(0,"option",5),n._uU(1),n.qZA()),2&ie){const $=I.$implicit,be=n.oxw();n.Q6J("value",$),n.xp6(1),n.Oqu(be.i18n.getYearNumerals($))}}function Ri(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"ngb-datepicker-navigation-select",7),n.NdJ("select",function(Re){return n.CHM($),n.oxw().select.emit(Re)}),n.qZA()}if(2&ie){const $=n.oxw();n.Q6J("date",$.date)("disabled",$.disabled)("months",$.selectBoxes.months)("years",$.selectBoxes.years)}}function Yi(ie,I){1&ie&&n._UZ(0,"div",0)}function In(ie,I){1&ie&&n._UZ(0,"div",0)}function Pr(ie,I){if(1&ie&&(n.YNc(0,Yi,1,0,"div",9),n.TgZ(1,"div",10),n._uU(2),n.qZA(),n.YNc(3,In,1,0,"div",9)),2&ie){const $=I.$implicit,be=I.index,Re=n.oxw(2);n.Q6J("ngIf",be>0),n.xp6(2),n.hij(" ",Re.i18n.getMonthLabel($.firstDate)," "),n.xp6(1),n.Q6J("ngIf",be!==Re.months.length-1)}}function Ir(ie,I){if(1&ie&&n.YNc(0,Pr,4,3,"ng-template",8),2&ie){const $=n.oxw();n.Q6J("ngForOf",$.months)}}const ir=["defaultDayTemplate"],ds=["content"];function Go(ie,I){if(1&ie&&n._UZ(0,"div",7),2&ie){const $=I.date,be=I.currentMonth,Re=I.selected,dt=I.disabled,Gt=I.focused;n.Q6J("date",$)("currentMonth",be)("selected",Re)("disabled",dt)("focused",Gt)}}function ko(ie,I){if(1&ie&&(n.TgZ(0,"div",12),n._uU(1),n.qZA()),2&ie){const $=n.oxw().$implicit,be=n.oxw(2);n.xp6(1),n.hij(" ",be.i18n.getMonthLabel($.firstDate)," ")}}function zo(ie,I){if(1&ie&&(n.TgZ(0,"div",9),n.YNc(1,ko,2,1,"div",10),n._UZ(2,"ngb-datepicker-month",11),n.qZA()),2&ie){const $=I.$implicit,be=n.oxw(2);n.xp6(1),n.Q6J("ngIf","none"===be.navigation||be.displayMonths>1&&"select"===be.navigation),n.xp6(1),n.Q6J("month",$.firstDate)}}function Cs(ie,I){if(1&ie&&n.YNc(0,zo,3,2,"div",8),2&ie){const $=n.oxw();n.Q6J("ngForOf",$.model.months)}}function Rr(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"ngb-datepicker-navigation",13),n.NdJ("navigate",function(Re){return n.CHM($),n.oxw().onNavigateEvent(Re)})("select",function(Re){return n.CHM($),n.oxw().onNavigateDateSelect(Re)}),n.qZA()}if(2&ie){const $=n.oxw();n.Q6J("date",$.model.firstDate)("months",$.model.months)("disabled",$.model.disabled)("showSelect","select"===$.model.navigation)("prevDisabled",$.model.prevDisabled)("nextDisabled",$.model.nextDisabled)("selectBoxes",$.model.selectBoxes)}}function Qe(ie,I){}function Oe(ie,I){}function gt(ie,I){if(1&ie&&(n.TgZ(0,"div",5),n._uU(1),n.qZA()),2&ie){const $=n.oxw(2);n.xp6(1),n.Oqu($.i18n.getWeekLabel())}}function Nt(ie,I){if(1&ie&&(n.TgZ(0,"div",6),n._uU(1),n.qZA()),2&ie){const $=I.$implicit;n.xp6(1),n.Oqu($)}}function Cn(ie,I){if(1&ie&&(n.TgZ(0,"div",2),n.YNc(1,gt,2,1,"div",3),n.YNc(2,Nt,2,1,"div",4),n.qZA()),2&ie){const $=n.oxw();n.xp6(1),n.Q6J("ngIf",$.datepicker.showWeekNumbers),n.xp6(1),n.Q6J("ngForOf",$.viewModel.weekdays)}}function ze(ie,I){if(1&ie&&(n.TgZ(0,"div",11),n._uU(1),n.qZA()),2&ie){const $=n.oxw(2).$implicit,be=n.oxw();n.xp6(1),n.Oqu(be.i18n.getWeekNumerals($.number))}}function ke(ie,I){}function oe(ie,I){if(1&ie&&n.YNc(0,ke,0,0,"ng-template",14),2&ie){const $=n.oxw().$implicit,be=n.oxw(3);n.Q6J("ngTemplateOutlet",be.datepicker.dayTemplate)("ngTemplateOutletContext",$.context)}}function pt(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"div",12),n.NdJ("click",function(Re){const Gt=n.CHM($).$implicit;return n.oxw(3).doSelect(Gt),Re.preventDefault()}),n.YNc(1,oe,1,2,"ng-template",13),n.qZA()}if(2&ie){const $=I.$implicit;n.ekj("disabled",$.context.disabled)("hidden",$.hidden)("ngb-dp-today",$.context.today),n.Q6J("tabindex",$.tabindex),n.uIk("aria-label",$.ariaLabel),n.xp6(1),n.Q6J("ngIf",!$.hidden)}}function zt(ie,I){if(1&ie&&(n.TgZ(0,"div",8),n.YNc(1,ze,2,1,"div",9),n.YNc(2,pt,2,9,"div",10),n.qZA()),2&ie){const $=n.oxw().$implicit,be=n.oxw();n.xp6(1),n.Q6J("ngIf",be.datepicker.showWeekNumbers),n.xp6(1),n.Q6J("ngForOf",$.days)}}function Dt(ie,I){if(1&ie&&n.YNc(0,zt,3,2,"div",7),2&ie){const $=I.$implicit;n.Q6J("ngIf",!$.collapsed)}}const En=["dialog"];function Ei(ie,I){}const xr=function(ie){return{$implicit:ie}};function ft(ie,I){if(1&ie&&(n.TgZ(0,"div",2),n.YNc(1,Ei,0,0,"ng-template",3),n.qZA()),2&ie){const $=n.oxw().$implicit,be=n.oxw();n.Q6J("item",$)("nav",be.nav)("role",be.paneRole),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.contentTpl?null:$.contentTpl.templateRef)||null)("ngTemplateOutletContext",n.VKq(5,xr,$.active||be.isPanelTransitioning($)))}}function ye(ie,I){if(1&ie&&n.YNc(0,ft,2,7,"div",1),2&ie){const $=I.$implicit,be=n.oxw();n.Q6J("ngIf",$.isPanelInDom()||be.isPanelTransitioning($))}}function Xe(ie,I){1&ie&&(n.TgZ(0,"span",9),n.SDv(1,10),n.qZA())}function tn(ie,I){1&ie&&(n.TgZ(0,"span",9),n.SDv(1,11),n.qZA())}function hi(ie,I){1&ie&&(n.TgZ(0,"span",9),n.SDv(1,12),n.qZA())}function zr(ie,I){1&ie&&(n.TgZ(0,"span",9),n.SDv(1,13),n.qZA())}function io(ie,I){1&ie&&n._uU(0,"...")}function $l(ie,I){1&ie&&(n.TgZ(0,"span",15),n._uU(1,"(current)"),n.qZA())}function pa(ie,I){if(1&ie&&(n._uU(0),n.YNc(1,$l,2,0,"span",14)),2&ie){const $=I.$implicit,be=I.currentPage;n.hij(" ",$," "),n.xp6(1),n.Q6J("ngIf",$===be)}}function nl(ie,I){}const Bl=function(ie){return{disabled:!0,currentPage:ie}};function bi(ie,I){if(1&ie&&(n.TgZ(0,"a",20),n.YNc(1,nl,0,0,"ng-template",8),n.qZA()),2&ie){const $=n.oxw(2).$implicit,be=n.oxw(),Re=n.MAs(9);n.xp6(1),n.Q6J("ngTemplateOutlet",(null==be.tplEllipsis?null:be.tplEllipsis.templateRef)||Re)("ngTemplateOutletContext",n.VKq(2,Bl,$))}}function qo(ie,I){}const La=function(ie,I,$){return{disabled:ie,$implicit:I,currentPage:$}};function Gs(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"a",21),n.NdJ("click",function(Re){n.CHM($);const dt=n.oxw().$implicit;return n.oxw(2).selectPage(dt),Re.preventDefault()}),n.YNc(1,qo,0,0,"ng-template",8),n.qZA()}if(2&ie){const $=n.oxw().$implicit,be=n.oxw(),Re=be.disabled,dt=be.$implicit,Gt=n.oxw(),Qt=n.MAs(11);n.uIk("tabindex",Re?"-1":null)("aria-disabled",Re?"true":null),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==Gt.tplNumber?null:Gt.tplNumber.templateRef)||Qt)("ngTemplateOutletContext",n.kEZ(4,La,Re,$,dt))}}function Na(ie,I){if(1&ie&&(n.TgZ(0,"li",17),n.YNc(1,bi,2,4,"a",18),n.YNc(2,Gs,2,8,"a",19),n.qZA()),2&ie){const $=I.$implicit,be=n.oxw(),Re=be.$implicit,dt=be.disabled,Gt=n.oxw();n.ekj("active",$===Re)("disabled",Gt.isEllipsis($)||dt),n.uIk("aria-current",$===Re?"page":null),n.xp6(1),n.Q6J("ngIf",Gt.isEllipsis($)),n.xp6(1),n.Q6J("ngIf",!Gt.isEllipsis($))}}function ja(ie,I){if(1&ie&&n.YNc(0,Na,3,7,"li",16),2&ie){const $=I.pages;n.Q6J("ngForOf",$)}}function Fs(ie,I){}const Ro=function(ie,I){return{disabled:ie,currentPage:I}};function ml(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"li",17)(1,"a",22),n.NdJ("click",function(Re){return n.CHM($),n.oxw().selectPage(1),Re.preventDefault()}),n.YNc(2,Fs,0,0,"ng-template",8),n.qZA()()}if(2&ie){const $=n.oxw(),be=n.MAs(1);n.ekj("disabled",$.previousDisabled()),n.xp6(1),n.uIk("tabindex",$.previousDisabled()?"-1":null)("aria-disabled",$.previousDisabled()?"true":null),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.tplFirst?null:$.tplFirst.templateRef)||be)("ngTemplateOutletContext",n.WLB(6,Ro,$.previousDisabled(),$.page))}}function Uo(ie,I){}const c1=function(ie){return{disabled:ie}};function Ea(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"li",17)(1,"a",23),n.NdJ("click",function(Re){n.CHM($);const dt=n.oxw();return dt.selectPage(dt.page-1),Re.preventDefault()}),n.YNc(2,Uo,0,0,"ng-template",8),n.qZA()()}if(2&ie){const $=n.oxw(),be=n.MAs(3);n.ekj("disabled",$.previousDisabled()),n.xp6(1),n.uIk("tabindex",$.previousDisabled()?"-1":null)("aria-disabled",$.previousDisabled()?"true":null),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.tplPrevious?null:$.tplPrevious.templateRef)||be)("ngTemplateOutletContext",n.VKq(6,c1,$.previousDisabled()))}}function Ls(ie,I){}function us(ie,I){}function Ll(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"li",17)(1,"a",24),n.NdJ("click",function(Re){n.CHM($);const dt=n.oxw();return dt.selectPage(dt.page+1),Re.preventDefault()}),n.YNc(2,us,0,0,"ng-template",8),n.qZA()()}if(2&ie){const $=n.oxw(),be=n.MAs(5);n.ekj("disabled",$.nextDisabled()),n.xp6(1),n.uIk("tabindex",$.nextDisabled()?"-1":null)("aria-disabled",$.nextDisabled()?"true":null),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.tplNext?null:$.tplNext.templateRef)||be)("ngTemplateOutletContext",n.WLB(6,Ro,$.nextDisabled(),$.page))}}function il(ie,I){}function vl(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"li",17)(1,"a",25),n.NdJ("click",function(Re){n.CHM($);const dt=n.oxw();return dt.selectPage(dt.pageCount),Re.preventDefault()}),n.YNc(2,il,0,0,"ng-template",8),n.qZA()()}if(2&ie){const $=n.oxw(),be=n.MAs(7);n.ekj("disabled",$.nextDisabled()),n.xp6(1),n.uIk("tabindex",$.nextDisabled()?"-1":null)("aria-disabled",$.nextDisabled()?"true":null),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.tplLast?null:$.tplLast.templateRef)||be)("ngTemplateOutletContext",n.WLB(6,Ro,$.nextDisabled(),$.page))}}const Da=function(ie,I,$){return{$implicit:ie,pages:I,disabled:$}};function d1(ie,I){if(1&ie&&n._uU(0),2&ie){const $=n.oxw(2);n.Oqu($.title)}}function x1(ie,I){}function Rs(ie,I){if(1&ie&&(n.TgZ(0,"h3",3),n.YNc(1,d1,1,1,"ng-template",null,4,n.W1O),n.YNc(3,x1,0,0,"ng-template",5),n.qZA()),2&ie){const $=n.MAs(2),be=n.oxw();n.xp6(3),n.Q6J("ngTemplateOutlet",be.isTitleTemplate()?be.title:$)("ngTemplateOutletContext",be.context)}}function u1(ie,I){if(1&ie&&(n.TgZ(0,"span"),n.SDv(1,2),n.ALo(2,"percent"),n.qZA()),2&ie){const $=n.oxw();n.xp6(2),n.pQV(n.lcZ(2,1,$.getValue()/$.max)),n.QtT(1)}}function oa(ie,I){if(1&ie&&n._uU(0),2&ie){const $=I.fill;n.Oqu(100===$?"\u2605":"\u2606")}}function jl(ie,I){}function Ia(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"span",2),n._uU(1),n.qZA(),n.TgZ(2,"span",3),n.NdJ("mouseenter",function(){const dt=n.CHM($).index;return n.oxw().enter(dt+1)})("click",function(){const dt=n.CHM($).index;return n.oxw().handleClick(dt+1)}),n.YNc(3,jl,0,0,"ng-template",4),n.qZA()}if(2&ie){const $=I.index,be=n.oxw(),Re=n.MAs(1);n.xp6(1),n.hij("(",$<be.nextRate?"*":" ",")"),n.xp6(1),n.Udp("cursor",be.isInteractive()?"pointer":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",be.starTemplate||be.starTemplateFromContent||Re)("ngTemplateOutletContext",be.contexts[$])}}function Fl(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw();return Re.changeHour(Re.hourStep)}),n._UZ(1,"span",12),n.TgZ(2,"span",13),n.SDv(3,14),n.qZA()()}if(2&ie){const $=n.oxw();n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function Kl(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw();return Re.changeHour(-Re.hourStep)}),n._UZ(1,"span",15),n.TgZ(2,"span",13),n.SDv(3,16),n.qZA()()}if(2&ie){const $=n.oxw();n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function jt(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw();return Re.changeMinute(Re.minuteStep)}),n._UZ(1,"span",12),n.TgZ(2,"span",13),n.SDv(3,17),n.qZA()()}if(2&ie){const $=n.oxw();n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function Ie(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw();return Re.changeMinute(-Re.minuteStep)}),n._UZ(1,"span",15),n.TgZ(2,"span",13),n.SDv(3,18),n.qZA()()}if(2&ie){const $=n.oxw();n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function Ze(ie,I){1&ie&&(n.TgZ(0,"div",5),n._uU(1,":"),n.qZA())}function Vt(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw(2);return Re.changeSecond(Re.secondStep)}),n._UZ(1,"span",12),n.TgZ(2,"span",13),n.SDv(3,21),n.qZA()()}if(2&ie){const $=n.oxw(2);n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function Zn(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(){n.CHM($);const Re=n.oxw(2);return Re.changeSecond(-Re.secondStep)}),n._UZ(1,"span",15),n.TgZ(2,"span",13),n.SDv(3,22),n.qZA()()}if(2&ie){const $=n.oxw(2);n.ekj("btn-sm",$.isSmallSize)("btn-lg",$.isLargeSize)("disabled",$.disabled),n.Q6J("disabled",$.disabled)}}function Oi(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"div",19),n.YNc(1,Vt,4,7,"button",3),n.TgZ(2,"input",20),n.NdJ("change",function(Re){return n.CHM($),n.oxw().updateSecond(Re.target.value)})("blur",function(){return n.CHM($),n.oxw().handleBlur()})("input",function(Re){return n.CHM($),n.oxw().formatInput(Re.target)})("keydown.ArrowUp",function(Re){n.CHM($);const dt=n.oxw();return dt.changeSecond(dt.secondStep),Re.preventDefault()})("keydown.ArrowDown",function(Re){n.CHM($);const dt=n.oxw();return dt.changeSecond(-dt.secondStep),Re.preventDefault()}),n.qZA(),n.YNc(3,Zn,4,7,"button",3),n.qZA()}if(2&ie){const $=n.oxw();n.xp6(1),n.Q6J("ngIf",$.spinners),n.xp6(1),n.ekj("form-control-sm",$.isSmallSize)("form-control-lg",$.isLargeSize),n.Q6J("value",$.formatMinSec(null==$.model?null:$.model.second))("readOnly",$.readonlyInputs)("disabled",$.disabled),n.xp6(1),n.Q6J("ngIf",$.spinners)}}function cr(ie,I){1&ie&&n._UZ(0,"div",5)}function es(ie,I){if(1&ie&&(n.ynx(0),n.SDv(1,27),n.BQk()),2&ie){const $=n.oxw(2);n.xp6(1),n.pQV($.i18n.getAfternoonPeriod()),n.QtT(1)}}function ya(ie,I){if(1&ie&&n.SDv(0,28),2&ie){const $=n.oxw(2);n.pQV($.i18n.getMorningPeriod()),n.QtT(0)}}function un(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"div",23)(1,"button",24),n.NdJ("click",function(){return n.CHM($),n.oxw().toggleMeridian()}),n.YNc(2,es,2,1,"ng-container",25),n.YNc(3,ya,1,1,"ng-template",null,26,n.W1O),n.qZA()()}if(2&ie){const $=n.MAs(4),be=n.oxw();n.xp6(1),n.ekj("btn-sm",be.isSmallSize)("btn-lg",be.isLargeSize)("disabled",be.disabled),n.Q6J("disabled",be.disabled),n.xp6(1),n.Q6J("ngIf",be.model&&be.model.hour>=12)("ngIfElse",$)}}function Wn(ie,I){if(1&ie&&(n.TgZ(0,"strong",3),n._uU(1),n.qZA()),2&ie){const $=n.oxw();n.xp6(1),n.Oqu($.header)}}function kn(ie,I){}function Wi(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"div",4),n.YNc(1,kn,0,0,"ng-template",5),n.TgZ(2,"button",6),n.NdJ("click",function(){return n.CHM($),n.oxw().hide()}),n.qZA()()}if(2&ie){const $=n.oxw(),be=n.MAs(1);n.xp6(1),n.Q6J("ngTemplateOutlet",$.contentHeaderTpl||be)}}function Br(ie,I){if(1&ie&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&ie){const $=n.oxw().$implicit,be=n.oxw();n.Tol(be.highlightClass),n.xp6(1),n.Oqu($)}}function fo(ie,I){if(1&ie&&n._uU(0),2&ie){const $=n.oxw().$implicit;n.Oqu($)}}function eo(ie,I){if(1&ie&&(n.YNc(0,Br,2,3,"span",1),n.YNc(1,fo,1,1,"ng-template",null,2,n.W1O)),2&ie){const $=I.odd,be=n.MAs(2);n.Q6J("ngIf",$)("ngIfElse",be)}}function Ao(ie,I){if(1&ie&&n._UZ(0,"ngb-highlight",2),2&ie){const $=I.result,be=I.term,Re=I.formatter;n.Q6J("result",Re($))("term",be)}}function la(ie,I){}const qs=function(ie,I,$){return{result:ie,term:I,formatter:$}};function Fa(ie,I){if(1&ie){const $=n.EpF();n.TgZ(0,"button",3),n.NdJ("mouseenter",function(){const dt=n.CHM($).index;return n.oxw().markActive(dt)})("click",function(){const dt=n.CHM($).$implicit;return n.oxw().select(dt)}),n.YNc(1,la,0,0,"ng-template",4),n.qZA()}if(2&ie){const $=I.$implicit,be=I.index,Re=n.oxw(),dt=n.MAs(1);n.ekj("active",be===Re.activeIdx),n.Q6J("id",Re.id+"-"+be),n.xp6(1),n.Q6J("ngTemplateOutlet",Re.resultTemplate||dt)("ngTemplateOutletContext",n.kEZ(5,qs,$,Re.term,Re.formatter))}}function ts(ie){return parseInt(`${ie}`,10)}function rl(ie){return null!=ie?`${ie}`:""}function ol(ie,I,$=0){return Math.max(Math.min(ie,I),$)}function dc(ie){return"string"==typeof ie}function Hr(ie){return!isNaN(ts(ie))}function Ji(ie){return"number"==typeof ie&&isFinite(ie)&&Math.floor(ie)===ie}function El(ie){return null!=ie}function Zl(ie){return ie&&ie.then}function Es(ie){return Hr(ie)?`0${ie}`.slice(-2):""}function xo(ie,I){return ie&&ie.className&&ie.className.split&&ie.className.split(/\s+/).indexOf(I)>=0}function $r(ie){return(ie||document.body).getBoundingClientRect()}function Ks(ie){return ie.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const Me={animation:!0,transitionTimerDelayMs:5},Fe=()=>{},{transitionTimerDelayMs:ge}=Me,ae=new Map,xe=(ie,I,$,be)=>{let Re=be.context||{};const dt=ae.get(I);if(dt)switch(be.runningTransition){case"continue":return m.E;case"stop":ie.run(()=>dt.transition$.complete()),Re=Object.assign(dt.context,Re),ae.delete(I)}const Gt=$(I,be.animation,Re)||Fe;if(!be.animation||"none"===window.getComputedStyle(I).transitionProperty)return ie.run(()=>Gt()),(0,s.of)(void 0).pipe(function $s(ie){return I=>new P.y($=>I.subscribe({next:Gt=>ie.run(()=>$.next(Gt)),error:Gt=>ie.run(()=>$.error(Gt)),complete:()=>ie.run(()=>$.complete())}))}(ie));const Qt=new o.xQ,sn=new o.xQ,Vn=Qt.pipe((0,R.l)(!0));ae.set(I,{transition$:Qt,complete:()=>{sn.next(),sn.complete()},context:Re});const ni=function nn(ie){const{transitionDelay:I,transitionDuration:$}=window.getComputedStyle(ie);return 1e3*(parseFloat(I)+parseFloat($))}(I);return ie.runOutsideAngular(()=>{const Di=(0,h.R)(I,"transitionend").pipe((0,N.R)(Vn),(0,S.h)(({target:dr})=>dr===I)),sr=(0,v.H)(ni+ge).pipe((0,N.R)(Vn));(0,y.S3)(sr,Di,sn).pipe((0,N.R)(Vn)).subscribe(()=>{ae.delete(I),ie.run(()=>{Gt(),Qt.next(),Qt.complete()})})}),Qt.asObservable()};const bt=(ie,I,$)=>{let{direction:be,maxHeight:Re}=$;const{classList:dt}=ie;function Gt(){dt.add("collapse"),"show"===be?dt.add("show"):dt.remove("show")}if(I)return Re||(Re=function Ke(ie){if("undefined"==typeof navigator)return"0px";const{classList:I}=ie,$=I.contains("show");$||I.add("show"),ie.style.height="";const be=ie.getBoundingClientRect().height+"px";return $||I.remove("show"),be}(ie),$.maxHeight=Re,ie.style.height="show"!==be?Re:"0px",dt.remove("collapse"),dt.remove("collapsing"),dt.remove("show"),$r(ie),dt.add("collapsing")),ie.style.height="show"===be?Re:"0px",()=>{Gt(),dt.remove("collapsing"),ie.style.height=""};Gt()};class Tt{constructor(){this.animation=Me.animation}}Tt.\u0275fac=function(I){return new(I||Tt)},Tt.\u0275prov=n.Yz7({token:Tt,factory:Tt.\u0275fac,providedIn:"root"});class gn{constructor(I){this._ngbConfig=I,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}gn.\u0275fac=function(I){return new(I||gn)(n.LFG(Tt))},gn.\u0275prov=n.Yz7({token:gn,factory:gn.\u0275fac,providedIn:"root"});let yi=0;class D{constructor(I){this.templateRef=I}}D.\u0275fac=function(I){return new(I||D)(n.Y36(n.Rgc))},D.\u0275dir=n.lG2({type:D,selectors:[["ng-template","ngbPanelHeader",""]]});class K{constructor(I){this.templateRef=I}}K.\u0275fac=function(I){return new(I||K)(n.Y36(n.Rgc))},K.\u0275dir=n.lG2({type:K,selectors:[["ng-template","ngbPanelTitle",""]]});class he{constructor(I){this.templateRef=I}}he.\u0275fac=function(I){return new(I||he)(n.Y36(n.Rgc))},he.\u0275dir=n.lG2({type:he,selectors:[["ng-template","ngbPanelContent",""]]});class Ee{constructor(){this.disabled=!1,this.id="ngb-panel-"+yi++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new n.vpe,this.hidden=new n.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}Ee.\u0275fac=function(I){return new(I||Ee)},Ee.\u0275dir=n.lG2({type:Ee,selectors:[["ngb-panel"]],contentQueries:function(I,$,be){if(1&I&&(n.Suo(be,K,4),n.Suo(be,D,4),n.Suo(be,he,4)),2&I){let Re;n.iGM(Re=n.CRH())&&($.titleTpls=Re),n.iGM(Re=n.CRH())&&($.headerTpls=Re),n.iGM(Re=n.CRH())&&($.contentTpls=Re)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"}});class We{constructor(I){this._El=I,this.ngbRef=new n.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}We.\u0275fac=function(I){return new(I||We)(n.Y36(n.SBq))},We.\u0275dir=n.lG2({type:We,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"}});class wt{constructor(I,$,be){this._ngZone=$,this._changeDetector=be,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new n.vpe,this.shown=new n.vpe,this.hidden=new n.vpe,this.animation=I.animation,this.type=I.type,this.closeOtherPanels=I.closeOthers}isExpanded(I){return this.activeIds.indexOf(I)>-1}expand(I){this._changeOpenState(this._findPanelById(I),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(I=>this._changeOpenState(I,!0))}collapse(I){this._changeOpenState(this._findPanelById(I),!1)}collapseAll(){this.panels.forEach(I=>{this._changeOpenState(I,!1)})}toggle(I){const $=this._findPanelById(I);$&&this._changeOpenState($,!$.isOpen)}ngAfterContentChecked(){dc(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(I=>{I.isOpen=!I.disabled&&this.activeIds.indexOf(I.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>{this.panels.forEach(I=>{const $=I.panelDiv;$?I.initClassDone||(I.initClassDone=!0,xe(this._ngZone,$,bt,{animation:!1,runningTransition:"continue",context:{direction:I.isOpen?"show":"hide"}})):I.initClassDone=!1})})}_changeOpenState(I,$){if(null!=I&&!I.disabled&&I.isOpen!==$){let be=!1;this.panelChange.emit({panelId:I.id,nextState:$,preventDefault:()=>{be=!0}}),be||(I.isOpen=$,I.transitionRunning=!0,$&&this.closeOtherPanels&&this._closeOthers(I.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(I,$=!0){this.panels.forEach(be=>{be.id!==I&&be.isOpen&&(be.isOpen=!1,be.transitionRunning=$)})}_findPanelById(I){return this.panels.find($=>$.id===I)||null}_updateActiveIds(){this.activeIds=this.panels.filter(I=>I.isOpen&&!I.disabled).map(I=>I.id)}_runTransitions(I){this._changeDetector.detectChanges(),this.panels.forEach($=>{if($.transitionRunning){const be=$.panelDiv;xe(this._ngZone,be,bt,{animation:I,runningTransition:"stop",context:{direction:$.isOpen?"show":"hide"}}).subscribe(()=>{$.transitionRunning=!1;const{id:Re}=$;$.isOpen?($.shown.emit(),this.shown.emit(Re)):($.hidden.emit(),this.hidden.emit(Re))})}})}}wt.\u0275fac=function(I){return new(I||wt)(n.Y36(gn),n.Y36(n.R0b),n.Y36(n.sBO))},wt.\u0275cmp=n.Xpm({type:wt,selectors:[["ngb-accordion"]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,Ee,4),2&I){let Re;n.iGM(Re=n.CRH())&&($.panels=Re)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(I,$){2&I&&n.uIk("aria-multiselectable",!$.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"accordion-body"]],template:function(I,$){1&I&&(n.YNc(0,q,3,3,"ng-template",0,1,n.W1O),n.YNc(2,It,4,11,"ng-template",2)),2&I&&(n.xp6(2),n.Q6J("ngForOf",$.panels))},directives:function(){return[D,Zt,i.tP,i.sg,i.O5,We]},encapsulation:2});class Zt{constructor(I,$){this.accordion=I,this.panel=$}set ngbPanelToggle(I){I&&(this.panel=I)}}Zt.\u0275fac=function(I){return new(I||Zt)(n.Y36(wt),n.Y36(Ee,9))},Zt.\u0275dir=n.lG2({type:Zt,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(I,$){1&I&&n.NdJ("click",function(){return $.accordion.toggle($.panel.id)}),2&I&&(n.Ikx("disabled",$.panel.disabled),n.uIk("aria-expanded",$.panel.isOpen)("aria-controls",$.panel.id),n.ekj("collapsed",!$.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"}});class Rn{}Rn.\u0275fac=function(I){return new(I||Rn)},Rn.\u0275mod=n.oAB({type:Rn,declarations:[We,wt,Ee,K,he,D,Zt],imports:[i.ez],exports:[wt,Ee,K,he,D,Zt]}),Rn.\u0275inj=n.cJS({imports:[[i.ez]]});const Si=({classList:ie})=>{ie.remove("show")};class tr{constructor(I){this._ngbConfig=I,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}tr.\u0275fac=function(I){return new(I||tr)(n.LFG(Tt))},tr.\u0275prov=n.Yz7({token:tr,factory:tr.\u0275fac,providedIn:"root"});class Wr{constructor(I,$,be,Re){this._renderer=$,this._element=be,this._zone=Re,this.closed=new n.vpe,this.dismissible=I.dismissible,this.type=I.type,this.animation=I.animation}close(){const I=xe(this._zone,this._element.nativeElement,Si,{animation:this.animation,runningTransition:"continue"});return I.subscribe(()=>this.closed.emit()),I}ngOnChanges(I){const $=I.type;$&&!$.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${$.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${$.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}Wr.\u0275fac=function(I){return new(I||Wr)(n.Y36(tr),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(n.R0b))},Wr.\u0275cmp=n.Xpm({type:Wr,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(I,$){2&I&&n.ekj("fade",$.animation)("alert-dismissible",$.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],features:[n.TTD],ngContentSelectors:Wt,decls:2,vars:1,consts:function(){let ie;return ie=$localize`:@@ngb.alert.close:Close`,[["type","button","class","btn-close","aria-label",ie,3,"click",4,"ngIf"],["type","button","aria-label",ie,1,"btn-close",3,"click"]]},template:function(I,$){1&I&&(n.F$t(),n.Hsn(0),n.YNc(1,Ut,1,0,"button",0)),2&I&&(n.xp6(1),n.Q6J("ngIf",$.dismissible))},directives:[i.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0});class po{}po.\u0275fac=function(I){return new(I||po)},po.\u0275mod=n.oAB({type:po,declarations:[Wr],imports:[i.ez],exports:[Wr]}),po.\u0275inj=n.cJS({imports:[[i.ez]]});class Aa{}Aa.\u0275fac=function(I){return new(I||Aa)},Aa.\u0275dir=n.lG2({type:Aa,selectors:[["","ngbButtonLabel",""]],hostVars:8,hostBindings:function(I,$){2&I&&n.ekj("btn",!0)("active",$.active)("disabled",$.disabled)("focus",$.focused)}});class sl{constructor(I,$){this._label=I,this._cd=$,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=be=>{},this.onTouched=()=>{}}set focused(I){this._label.focused=I,I||this.onTouched()}onInputChange(I){const $=I.target.checked?this.valueChecked:this.valueUnChecked;this.onChange($),this.onTouched(),this.writeValue($)}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.disabled=I,this._label.disabled=I}writeValue(I){this.checked=I===this.valueChecked,this._label.active=this.checked,this._cd.markForCheck()}}sl.\u0275fac=function(I){return new(I||sl)(n.Y36(Aa),n.Y36(n.sBO))},sl.\u0275dir=n.lG2({type:sl,selectors:[["","ngbButton","","type","checkbox"]],hostVars:2,hostBindings:function(I,$){1&I&&n.NdJ("change",function(Re){return $.onInputChange(Re)})("focus",function(){return $.focused=!0})("blur",function(){return $.focused=!1}),2&I&&n.Ikx("checked",$.checked)("disabled",$.disabled)},inputs:{disabled:"disabled",valueChecked:"valueChecked",valueUnChecked:"valueUnChecked"},features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>sl),multi:!0}])]});let Xl=0;class ga{constructor(){this._radios=new Set,this._value=null,this.name="ngb-radio-"+Xl++,this.onChange=I=>{},this.onTouched=()=>{}}get disabled(){return this._disabled}set disabled(I){this.setDisabledState(I)}onRadioChange(I){this.writeValue(I.value),this.onChange(I.value)}onRadioValueUpdate(){this._updateRadiosValue()}register(I){this._radios.add(I)}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this._disabled=I,this._updateRadiosDisabled()}unregister(I){this._radios.delete(I)}writeValue(I){this._value=I,this._updateRadiosValue()}_updateRadiosValue(){this._radios.forEach(I=>I.updateValue(this._value))}_updateRadiosDisabled(){this._radios.forEach(I=>I.updateDisabled())}}ga.\u0275fac=function(I){return new(I||ga)},ga.\u0275dir=n.lG2({type:ga,selectors:[["","ngbRadioGroup",""]],hostAttrs:["role","radiogroup"],inputs:{name:"name"},features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>ga),multi:!0}])]});class h1{constructor(I,$,be,Re,dt){this._group=I,this._label=$,this._renderer=be,this._element=Re,this._cd=dt,this._value=null,this._group.register(this),this.updateDisabled()}set value(I){this._value=I;const $=I?I.toString():"";this._renderer.setProperty(this._element.nativeElement,"value",$),this._group.onRadioValueUpdate()}set disabled(I){this._disabled=!1!==I,this.updateDisabled()}set focused(I){this._label&&(this._label.focused=I),I||this._group.onTouched()}get checked(){return this._checked}get disabled(){return this._group.disabled||this._disabled}get value(){return this._value}get nameAttr(){return this.name||this._group.name}ngOnDestroy(){this._group.unregister(this)}onChange(){this._group.onRadioChange(this)}updateValue(I){this.value!==I&&this._cd.markForCheck(),this._checked=this.value===I,this._label.active=this._checked}updateDisabled(){this._label.disabled=this.disabled}}h1.\u0275fac=function(I){return new(I||h1)(n.Y36(ga),n.Y36(Aa),n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(n.sBO))},h1.\u0275dir=n.lG2({type:h1,selectors:[["","ngbButton","","type","radio"]],hostVars:3,hostBindings:function(I,$){1&I&&n.NdJ("change",function(){return $.onChange()})("focus",function(){return $.focused=!0})("blur",function(){return $.focused=!1}),2&I&&n.Ikx("checked",$.checked)("disabled",$.disabled)("name",$.nameAttr)},inputs:{name:"name",value:"value",disabled:"disabled"}});class xc{}var uc,ie;xc.\u0275fac=function(I){return new(I||xc)},xc.\u0275mod=n.oAB({type:xc,declarations:[Aa,sl,ga,h1],exports:[Aa,sl,ga,h1]}),xc.\u0275inj=n.cJS({}),(ie=uc||(uc={})).START="start",ie.END="end";const kd=({classList:ie})=>ie.contains("carousel-item-start")||ie.contains("carousel-item-end"),K2=ie=>{ie.remove("carousel-item-start"),ie.remove("carousel-item-end")},n2=ie=>{K2(ie),ie.remove("carousel-item-prev"),ie.remove("carousel-item-next")},Ds=(ie,I,{direction:$})=>{const{classList:be}=ie;return I?(kd(ie)?K2(be):(be.add("carousel-item-"+($===uc.START?"next":"prev")),$r(ie),be.add("carousel-item-"+$)),()=>{n2(be),be.add("active")}):(K2(be),n2(be),void be.add("active"))},f1=(ie,I,{direction:$})=>{const{classList:be}=ie;return I?(kd(ie)?K2(be):be.add("carousel-item-"+$),()=>{n2(be),be.remove("active")}):(K2(be),n2(be),void be.remove("active"))};class Cc{constructor(I){this._ngbConfig=I,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}Cc.\u0275fac=function(I){return new(I||Cc)(n.LFG(Tt))},Cc.\u0275prov=n.Yz7({token:Cc,factory:Cc.\u0275fac,providedIn:"root"});let Ac=0;class C1{constructor(I){this.tplRef=I,this.id="ngb-slide-"+Ac++,this.slid=new n.vpe}}C1.\u0275fac=function(I){return new(I||C1)(n.Y36(n.Rgc))},C1.\u0275dir=n.lG2({type:C1,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"}});class kt{constructor(I,$,be,Re,dt){this._platformId=$,this._ngZone=be,this._cd=Re,this._container=dt,this.NgbSlideEventSource=Jl,this._destroy$=new o.xQ,this._interval$=new x.X(0),this._mouseHover$=new x.X(!1),this._focused$=new x.X(!1),this._pauseOnHover$=new x.X(!1),this._pauseOnFocus$=new x.X(!1),this._pause$=new x.X(!1),this._wrap$=new x.X(!1),this.slide=new n.vpe,this.slid=new n.vpe,this._transitionIds=null,this.animation=I.animation,this.interval=I.interval,this.wrap=I.wrap,this.keyboard=I.keyboard,this.pauseOnHover=I.pauseOnHover,this.pauseOnFocus=I.pauseOnFocus,this.showNavigationArrows=I.showNavigationArrows,this.showNavigationIndicators=I.showNavigationIndicators}set interval(I){this._interval$.next(I)}get interval(){return this._interval$.value}set wrap(I){this._wrap$.next(I)}get wrap(){return this._wrap$.value}set pauseOnHover(I){this._pauseOnHover$.next(I)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(I){this._pauseOnFocus$.next(I)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(I){this._mouseHover$.next(I)}get mouseHover(){return this._mouseHover$.value}set focused(I){this._focused$.next(I)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(Jl.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Jl.ARROW_RIGHT)}ngAfterContentInit(){(0,i.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const I=(0,C.aj)([this.slide.pipe((0,O.U)($=>$.current),(0,H.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,H.O)(null))]).pipe((0,O.U)(([$,be])=>{const Re=this.slides.toArray(),dt=this._getSlideIdxById($);return be?Re.length>1:dt<Re.length-1}),(0,U.x)());(0,C.aj)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,I]).pipe((0,O.U)(([$,be,Re,dt,Gt,Qt,sn])=>$||be&&Re||dt&&Gt||!sn?0:Qt),(0,U.x)(),(0,X.w)($=>$>0?(0,v.H)($,$):_.C),(0,N.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Jl.TIMER)))}),this.slides.changes.pipe((0,N.R)(this._destroy$)).subscribe(()=>{var I;null===(I=this._transitionIds)||void 0===I||I.forEach($=>(ie=>{var I;null===(I=ae.get(ie))||void 0===I||I.complete()})(this._getSlideElement($))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>{for(const{id:$}of this.slides){const be=this._getSlideElement($);$===this.activeId?be.classList.add("active"):be.classList.remove("active")}})})}ngAfterContentChecked(){let I=this._getSlideById(this.activeId);this.activeId=I?I.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const I=this._getSlideElement(this.activeId);I&&I.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(I,$){this._cycleToSelected(I,this._getSlideEventDirection(this.activeId,I),$)}prev(I){this._cycleToSelected(this._getPrevSlide(this.activeId),uc.END,I)}next(I){this._cycleToSelected(this._getNextSlide(this.activeId),uc.START,I)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(I,$,be){const Re=this._transitionIds;if(Re&&(Re[0]!==I||Re[1]!==this.activeId))return;let dt=this._getSlideById(I);if(dt&&dt.id!==this.activeId){this._transitionIds=[this.activeId,I],this.slide.emit({prev:this.activeId,current:dt.id,direction:$,paused:this._pause$.value,source:be});const Gt={animation:this.animation,runningTransition:"stop",context:{direction:$}},Qt=[],sn=this._getSlideById(this.activeId);if(sn){const sr=xe(this._ngZone,this._getSlideElement(sn.id),f1,Gt);sr.subscribe(()=>{sn.slid.emit({isShown:!1,direction:$,source:be})}),Qt.push(sr)}const Vn=this.activeId;this.activeId=dt.id;const ni=this._getSlideById(this.activeId),Di=xe(this._ngZone,this._getSlideElement(dt.id),Ds,Gt);Di.subscribe(()=>{null==ni||ni.slid.emit({isShown:!0,direction:$,source:be})}),Qt.push(Di),(0,w.$R)(...Qt).pipe((0,E.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:Vn,current:dt.id,direction:$,paused:this._pause$.value,source:be})})}this._cd.markForCheck()}_getSlideEventDirection(I,$){return this._getSlideIdxById(I)>this._getSlideIdxById($)?uc.END:uc.START}_getSlideById(I){return this.slides.find($=>$.id===I)||null}_getSlideIdxById(I){const $=this._getSlideById(I);return null!=$?this.slides.toArray().indexOf($):-1}_getNextSlide(I){const $=this.slides.toArray(),be=this._getSlideIdxById(I);return be===$.length-1?this.wrap?$[0].id:$[$.length-1].id:$[be+1].id}_getPrevSlide(I){const $=this.slides.toArray(),be=this._getSlideIdxById(I);return 0===be?this.wrap?$[$.length-1].id:$[0].id:$[be-1].id}_getSlideElement(I){return this._container.nativeElement.querySelector(`#slide-${I}`)}}var Jl;kt.\u0275fac=function(I){return new(I||kt)(n.Y36(Cc),n.Y36(n.Lbi),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(n.SBq))},kt.\u0275cmp=n.Xpm({type:kt,selectors:[["ngb-carousel"]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,C1,4),2&I){let Re;n.iGM(Re=n.CRH())&&($.slides=Re)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(I,$){1&I&&n.NdJ("keydown.arrowLeft",function(){return $.keyboard&&$.arrowLeft()})("keydown.arrowRight",function(){return $.keyboard&&$.arrowRight()})("mouseenter",function(){return $.mouseHover=!0})("mouseleave",function(){return $.mouseHover=!1})("focusin",function(){return $.focused=!0})("focusout",function(){return $.focused=!1}),2&I&&(n.uIk("aria-activedescendant","slide-"+$.activeId),n.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],decls:6,vars:6,consts:function(){let ie,I,$;return ie=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,I=$localize`:@@ngb.carousel.previous:Previous`,$=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],ie,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],I,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],$]},template:function(I,$){1&I&&(n.TgZ(0,"div",0),n.YNc(1,Pt,1,5,"button",1),n.qZA(),n.TgZ(2,"div",2),n.YNc(3,Dn,4,4,"div",3),n.qZA(),n.YNc(4,Ln,4,0,"button",4),n.YNc(5,An,4,0,"button",5)),2&I&&(n.ekj("visually-hidden",!$.showNavigationIndicators),n.xp6(1),n.Q6J("ngForOf",$.slides),n.xp6(2),n.Q6J("ngForOf",$.slides),n.xp6(1),n.Q6J("ngIf",$.showNavigationArrows),n.xp6(1),n.Q6J("ngIf",$.showNavigationArrows))},directives:[i.sg,i.tP,i.O5],encapsulation:2,changeDetection:0}),function(ie){ie.TIMER="timer",ie.ARROW_LEFT="arrowLeft",ie.ARROW_RIGHT="arrowRight",ie.INDICATOR="indicator"}(Jl||(Jl={}));class to{}to.\u0275fac=function(I){return new(I||to)},to.\u0275mod=n.oAB({type:to,declarations:[kt,C1],imports:[i.ez],exports:[kt,C1]}),to.\u0275inj=n.cJS({imports:[[i.ez]]});class hs{constructor(I){this._ngbConfig=I}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}hs.\u0275fac=function(I){return new(I||hs)(n.LFG(Tt))},hs.\u0275prov=n.Yz7({token:hs,factory:hs.\u0275fac,providedIn:"root"});class i2{constructor(I,$,be){this._element=I,this._zone=be,this.collapsed=!1,this.ngbCollapseChange=new n.vpe,this.shown=new n.vpe,this.hidden=new n.vpe,this.animation=$.animation}ngOnInit(){this._runTransition(this.collapsed,!1)}ngOnChanges({collapsed:I}){I.firstChange||this._runTransitionWithEvents(this.collapsed,this.animation)}toggle(I=this.collapsed){this.collapsed=!I,this.ngbCollapseChange.next(this.collapsed),this._runTransitionWithEvents(this.collapsed,this.animation)}_runTransition(I,$){return xe(this._zone,this._element.nativeElement,bt,{animation:$,runningTransition:"stop",context:{direction:I?"hide":"show"}})}_runTransitionWithEvents(I,$){this._runTransition(I,$).subscribe(()=>{I?this.hidden.emit():this.shown.emit()})}}i2.\u0275fac=function(I){return new(I||i2)(n.Y36(n.SBq),n.Y36(hs),n.Y36(n.R0b))},i2.\u0275dir=n.lG2({type:i2,selectors:[["","ngbCollapse",""]],inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"]},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],features:[n.TTD]});class al{}al.\u0275fac=function(I){return new(I||al)},al.\u0275mod=n.oAB({type:al,declarations:[i2],exports:[i2]}),al.\u0275inj=n.cJS({});class ca{constructor(I,$,be){this.year=Ji(I)?I:null,this.month=Ji($)?$:null,this.day=Ji(be)?be:null}static from(I){return I instanceof ca?I:I?new ca(I.year,I.month,I.day):null}equals(I){return null!=I&&this.year===I.year&&this.month===I.month&&this.day===I.day}before(I){return!!I&&(this.year===I.year?this.month===I.month?this.day!==I.day&&this.day<I.day:this.month<I.month:this.year<I.year)}after(I){return!!I&&(this.year===I.year?this.month===I.month?this.day!==I.day&&this.day>I.day:this.month>I.month:this.year>I.year)}}function Dl(ie,I){return!function Z2(ie,I){return!ie&&!I||!!ie&&!!I&&ie.equals(I)}(ie,I)}function n4(ie,I){return!(!ie&&!I)&&(!ie||!I||(ie.year!==I.year||ie.month!==I.month))}function nu(ie,I,$){return ie&&I&&ie.before(I)?I:ie&&$&&ie.after($)?$:ie||null}function Va(ie,I){const{minDate:$,maxDate:be,disabled:Re,markDisabled:dt}=I;return!(null==ie||Re||dt&&dt(ie,{year:ie.year,month:ie.month})||$&&ie.before($)||be&&ie.after(be))}function p1(ie,I,$,be,Re){const{displayMonths:dt,months:Gt}=$,Qt=Gt.splice(0,Gt.length);return Array.from({length:dt},(Vn,ni)=>{const Di=Object.assign(ie.getNext(I,"m",ni),{day:1});if(Gt[ni]=null,!Re){const sr=Qt.findIndex(dr=>dr.firstDate.equals(Di));-1!==sr&&(Gt[ni]=Qt.splice(sr,1)[0])}return Di}).forEach((Vn,ni)=>{null===Gt[ni]&&(Gt[ni]=function Ld(ie,I,$,be,Re={}){const{dayTemplateData:dt,minDate:Gt,maxDate:Qt,firstDayOfWeek:sn,markDisabled:Vn,outsideDays:ni,weekdayWidth:Di,weekdaysVisible:sr}=$,dr=ie.getToday();Re.firstDate=null,Re.lastDate=null,Re.number=I.month,Re.year=I.year,Re.weeks=Re.weeks||[],Re.weekdays=Re.weekdays||[],I=function X2(ie,I,$){const be=ie.getDaysPerWeek(),Re=new ca(I.year,I.month,1),dt=ie.getWeekday(Re)%be;return ie.getPrev(Re,"d",(be+dt-$)%be)}(ie,I,sn),sr||(Re.weekdays.length=0);for(let Co=0;Co<ie.getWeeksPerMonth();Co++){let Kr=Re.weeks[Co];Kr||(Kr=Re.weeks[Co]={number:0,days:[],collapsed:!0});const fr=Kr.days;for(let ps=0;ps<ie.getDaysPerWeek();ps++){0===Co&&sr&&(Re.weekdays[ps]=be.getWeekdayLabel(ie.getWeekday(I),Di));const Bo=new ca(I.year,I.month,I.day),na=ie.getNext(Bo),ss=be.getDayAriaLabel(Bo);let $o=!!(Gt&&Bo.before(Gt)||Qt&&Bo.after(Qt));!$o&&Vn&&($o=Vn(Bo,{month:Re.number,year:Re.year}));let pr=Bo.equals(dr),ma=dt?dt(Bo,{month:Re.number,year:Re.year}):void 0;null===Re.firstDate&&Bo.month===Re.number&&(Re.firstDate=Bo),Bo.month===Re.number&&na.month!==Re.number&&(Re.lastDate=Bo);let qa=fr[ps];qa||(qa=fr[ps]={}),qa.date=Bo,qa.context=Object.assign(qa.context||{},{$implicit:Bo,date:Bo,data:ma,currentMonth:Re.number,currentYear:Re.year,disabled:$o,focused:!1,selected:!1,today:pr}),qa.tabindex=-1,qa.ariaLabel=ss,qa.hidden=!1,I=na}Kr.number=ie.getWeekNumber(fr.map(ps=>ps.date),sn),Kr.collapsed="collapsed"===ni&&fr[0].date.month!==Re.number&&fr[fr.length-1].date.month!==Re.number}return Re}(ie,Vn,$,be,Qt.shift()||{}))}),Gt}function iu(ie){return new ca(ie.getFullYear(),ie.getMonth()+1,ie.getDate())}function Ua(ie){const I=new Date(ie.year,ie.month-1,ie.day,12);return isNaN(I.getTime())||I.setFullYear(ie.year),I}class k2{}k2.\u0275fac=function(I){return new(I||k2)},k2.\u0275prov=n.Yz7({token:k2,factory:function(){return function Gc(){return new L2}()},providedIn:"root"});class L2 extends k2{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(I,$="d",be=1){let Re=Ua(I),dt=!0,Gt=Re.getMonth();switch($){case"y":Re.setFullYear(Re.getFullYear()+be);break;case"m":Gt+=be,Re.setMonth(Gt),Gt%=12,Gt<0&&(Gt+=12);break;case"d":Re.setDate(Re.getDate()+be),dt=!1;break;default:return I}return dt&&Re.getMonth()!==Gt&&Re.setDate(0),iu(Re)}getPrev(I,$="d",be=1){return this.getNext(I,$,-be)}getWeekday(I){let be=Ua(I).getDay();return 0===be?7:be}getWeekNumber(I,$){7===$&&($=0);const dt=Ua(I[(11-$)%7]);dt.setDate(dt.getDate()+4-(dt.getDay()||7));const Gt=dt.getTime();return dt.setMonth(0),dt.setDate(1),Math.floor(Math.round((Gt-dt.getTime())/864e5)/7)+1}getToday(){return iu(new Date)}isValid(I){if(!(I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)&&0!==I.year))return!1;const $=Ua(I);return!isNaN($.getTime())&&$.getFullYear()===I.year&&$.getMonth()+1===I.month&&$.getDate()===I.day}}L2.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(L2)))($||L2)}}(),L2.\u0275prov=n.Yz7({token:L2,factory:L2.\u0275fac});class Pi{getMonthLabel(I){return`${this.getMonthFullName(I.month,I.year)} ${this.getYearNumerals(I.year)}`}getDayNumerals(I){return`${I.day}`}getWeekNumerals(I){return`${I}`}getYearNumerals(I){return`${I}`}getWeekLabel(){return""}}Pi.\u0275fac=function(I){return new(I||Pi)},Pi.\u0275prov=n.Yz7({token:Pi,factory:function(I){let $=null;return $=I?new I:function E2(ie){return new ru(ie)}(n.LFG(n.soG)),$},providedIn:"root"});class ru extends Pi{constructor(I){super(),this._locale=I,this._monthsShort=(0,i.UT)(I,i.x.Standalone,i.Tn.Abbreviated),this._monthsFull=(0,i.UT)(I,i.x.Standalone,i.Tn.Wide)}getWeekdayLabel(I,$){const be=(0,i.Mn)(this._locale,i.x.Standalone,void 0===$?i.Tn.Short:$);return be.map((dt,Gt)=>be[(Gt+1)%7])[I-1]||""}getMonthShortName(I){return this._monthsShort[I-1]||""}getMonthFullName(I){return this._monthsFull[I-1]||""}getDayAriaLabel(I){const $=new Date(I.year,I.month-1,I.day);return(0,i.p6)($,"fullDate",this._locale)}}ru.\u0275fac=function(I){return new(I||ru)(n.LFG(n.soG))},ru.\u0275prov=n.Yz7({token:ru,factory:ru.\u0275fac});class da{constructor(I,$){this._calendar=I,this._i18n=$,this._VALIDATORS={dayTemplateData:be=>{if(this._state.dayTemplateData!==be)return{dayTemplateData:be}},displayMonths:be=>{if(Ji(be=ts(be))&&be>0&&this._state.displayMonths!==be)return{displayMonths:be}},disabled:be=>{if(this._state.disabled!==be)return{disabled:be}},firstDayOfWeek:be=>{if(Ji(be=ts(be))&&be>=0&&this._state.firstDayOfWeek!==be)return{firstDayOfWeek:be}},focusVisible:be=>{if(this._state.focusVisible!==be&&!this._state.disabled)return{focusVisible:be}},markDisabled:be=>{if(this._state.markDisabled!==be)return{markDisabled:be}},maxDate:be=>{const Re=this.toValidDate(be,null);if(Dl(this._state.maxDate,Re))return{maxDate:Re}},minDate:be=>{const Re=this.toValidDate(be,null);if(Dl(this._state.minDate,Re))return{minDate:Re}},navigation:be=>{if(this._state.navigation!==be)return{navigation:be}},outsideDays:be=>{if(this._state.outsideDays!==be)return{outsideDays:be}},weekdays:be=>{const Re=!0===be||!1===be?i.Tn.Short:be,dt=!0!==be&&!1!==be||be;if(this._state.weekdayWidth!==Re||this._state.weekdaysVisible!==dt)return{weekdayWidth:Re,weekdaysVisible:dt}}},this._model$=new o.xQ,this._dateSelect$=new o.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:i.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,S.h)(I=>I.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,S.h)(I=>null!==I))}set(I){let $=Object.keys(I).map(be=>this._VALIDATORS[be](I[be])).reduce((be,Re)=>Object.assign(Object.assign({},be),Re),{});Object.keys($).length>0&&this._nextState($)}focus(I){const $=this.toValidDate(I,null);null!=$&&!this._state.disabled&&Dl(this._state.focusDate,$)&&this._nextState({focusDate:I})}focusSelect(){Va(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(I){const $=this.toValidDate(I,this._calendar.getToday());null!=$&&!this._state.disabled&&(!this._state.firstDate||n4(this._state.firstDate,$))&&this._nextState({firstDate:$})}select(I,$={}){const be=this.toValidDate(I,null);null!=be&&!this._state.disabled&&(Dl(this._state.selectedDate,be)&&this._nextState({selectedDate:be}),$.emitEvent&&Va(be,this._state)&&this._dateSelect$.next(be))}toValidDate(I,$){const be=ca.from(I);return void 0===$&&($=this._calendar.getToday()),this._calendar.isValid(be)?be:$}getMonth(I){for(let $ of this._state.months)if(I.month===$.number&&I.year===$.year)return $;throw new Error(`month ${I.month} of year ${I.year} not found`)}_nextState(I){const $=this._updateState(I);this._patchContexts($),this._state=$,this._model$.next(this._state)}_patchContexts(I){const{months:$,displayMonths:be,selectedDate:Re,focusDate:dt,focusVisible:Gt,disabled:Qt,outsideDays:sn}=I;I.months.forEach(Vn=>{Vn.weeks.forEach(ni=>{ni.days.forEach(Di=>{dt&&(Di.context.focused=dt.equals(Di.date)&&Gt),Di.tabindex=!Qt&&dt&&Di.date.equals(dt)&&dt.month===Vn.number?0:-1,!0===Qt&&(Di.context.disabled=!0),void 0!==Re&&(Di.context.selected=null!==Re&&Re.equals(Di.date)),Vn.number!==Di.date.month&&(Di.hidden="hidden"===sn||"collapsed"===sn||be>1&&Di.date.after($[0].firstDate)&&Di.date.before($[be-1].lastDate))})})})}_updateState(I){const $=Object.assign({},this._state,I);let be=$.firstDate;if(("minDate"in I||"maxDate"in I)&&(function ll(ie,I){if(I&&ie&&I.before(ie))throw new Error(`'maxDate' ${I} should be greater than 'minDate' ${ie}`)}($.minDate,$.maxDate),$.focusDate=nu($.focusDate,$.minDate,$.maxDate),$.firstDate=nu($.firstDate,$.minDate,$.maxDate),be=$.focusDate),"disabled"in I&&($.focusVisible=!1),"selectedDate"in I&&0===this._state.months.length&&(be=$.selectedDate),"focusVisible"in I||"focusDate"in I&&($.focusDate=nu($.focusDate,$.minDate,$.maxDate),be=$.focusDate,0!==$.months.length&&$.focusDate&&!$.focusDate.before($.firstDate)&&!$.focusDate.after($.lastDate)))return $;if("firstDate"in I&&($.firstDate=nu($.firstDate,$.minDate,$.maxDate),be=$.firstDate),be){const Re="dayTemplateData"in I||"firstDayOfWeek"in I||"markDisabled"in I||"minDate"in I||"maxDate"in I||"disabled"in I||"outsideDays"in I||"weekdaysVisible"in I,dt=p1(this._calendar,be,$,this._i18n,Re);$.months=dt,$.firstDate=dt[0].firstDate,$.lastDate=dt[dt.length-1].lastDate,"selectedDate"in I&&!Va($.selectedDate,$)&&($.selectedDate=null),"firstDate"in I&&(!$.focusDate||$.focusDate.before($.firstDate)||$.focusDate.after($.lastDate))&&($.focusDate=be);const Gt=!this._state.firstDate||this._state.firstDate.year!==$.firstDate.year,Qt=!this._state.firstDate||this._state.firstDate.month!==$.firstDate.month;"select"===$.navigation?(("minDate"in I||"maxDate"in I||0===$.selectBoxes.years.length||Gt)&&($.selectBoxes.years=function Ju(ie,I,$){if(!ie)return[];const be=I?Math.max(I.year,ie.year-500):ie.year-10,dt=($?Math.min($.year,ie.year+500):ie.year+10)-be+1,Gt=Array(dt);for(let Qt=0;Qt<dt;Qt++)Gt[Qt]=be+Qt;return Gt}($.firstDate,$.minDate,$.maxDate)),("minDate"in I||"maxDate"in I||0===$.selectBoxes.months.length||Gt)&&($.selectBoxes.months=function w1(ie,I,$,be){if(!I)return[];let Re=ie.getMonths(I.year);if($&&I.year===$.year){const dt=Re.findIndex(Gt=>Gt===$.month);Re=Re.slice(dt)}if(be&&I.year===be.year){const dt=Re.findIndex(Gt=>Gt===be.month);Re=Re.slice(0,dt+1)}return Re}(this._calendar,$.firstDate,$.minDate,$.maxDate))):$.selectBoxes={years:[],months:[]},("arrows"===$.navigation||"select"===$.navigation)&&(Qt||Gt||"minDate"in I||"maxDate"in I||"disabled"in I)&&($.prevDisabled=$.disabled||function bf(ie,I,$){const be=Object.assign(ie.getPrev(I,"m"),{day:1});return null!=$&&(be.year===$.year&&be.month<$.month||be.year<$.year&&1===$.month)}(this._calendar,$.firstDate,$.minDate),$.nextDisabled=$.disabled||function ap(ie,I,$){const be=Object.assign(ie.getNext(I,"m"),{day:1});return null!=$&&be.after($)}(this._calendar,$.lastDate,$.maxDate))}return $}}var Ed,Is;da.\u0275fac=function(I){return new(I||da)(n.LFG(k2),n.LFG(Pi))},da.\u0275prov=n.Yz7({token:da,factory:da.\u0275fac}),function(ie){ie[ie.PREV=0]="PREV",ie[ie.NEXT=1]="NEXT"}(Ed||(Ed={}));class ns{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=i.Tn.Short}}ns.\u0275fac=function(I){return new(I||ns)},ns.\u0275prov=n.Yz7({token:ns,factory:ns.\u0275fac,providedIn:"root"});class J2{}J2.\u0275fac=function(I){return new(I||J2)},J2.\u0275prov=n.Yz7({token:J2,factory:function(){return function Qu(){return new r2}()},providedIn:"root"});class r2 extends J2{fromModel(I){return I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)?{year:I.year,month:I.month,day:I.day}:null}toModel(I){return I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)?{year:I.year,month:I.month,day:I.day}:null}}r2.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(r2)))($||r2)}}(),r2.\u0275prov=n.Yz7({token:r2,factory:r2.\u0275fac});class e3{constructor(I){this.i18n=I}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}e3.\u0275fac=function(I){return new(I||e3)(n.Y36(Pi))},e3.\u0275cmp=n.Xpm({type:e3,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(I,$){2&I&&n.ekj("bg-primary",$.selected)("text-white",$.selected)("text-muted",$.isMuted())("outside",$.isMuted())("active",$.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},attrs:["ngbDatepickerDayView",""],decls:1,vars:1,template:function(I,$){1&I&&n._uU(0),2&I&&n.Oqu($.i18n.getDayNumerals($.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0});class ou{constructor(I,$){this.i18n=I,this._renderer=$,this.select=new n.vpe,this._month=-1,this._year=-1}changeMonth(I){this.select.emit(new ca(this.date.year,ts(I),1))}changeYear(I){this.select.emit(new ca(ts(I),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}ou.\u0275fac=function(I){return new(I||ou)(n.Y36(Pi),n.Y36(n.Qsj))},ou.\u0275cmp=n.Xpm({type:ou,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(I,$){if(1&I&&(n.Gf(ui,7,n.SBq),n.Gf(Ui,7,n.SBq)),2&I){let be;n.iGM(be=n.CRH())&&($.monthSelect=be.first),n.iGM(be=n.CRH())&&($.yearSelect=be.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},decls:6,vars:4,consts:function(){let ie,I,$,be;return ie=$localize`:@@ngb.datepicker.select-month:Select month`,I=$localize`:@@ngb.datepicker.select-month:Select month`,$=$localize`:@@ngb.datepicker.select-year:Select year`,be=$localize`:@@ngb.datepicker.select-year:Select year`,[["aria-label",ie,"title",I,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",$,"title",be,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(I,$){1&I&&(n.TgZ(0,"select",0,1),n.NdJ("change",function(Re){return $.changeMonth(Re.target.value)}),n.YNc(2,hr,2,3,"option",2),n.qZA(),n.TgZ(3,"select",3,4),n.NdJ("change",function(Re){return $.changeYear(Re.target.value)}),n.YNc(5,kr,2,2,"option",2),n.qZA()),2&I&&(n.Q6J("disabled",$.disabled),n.xp6(2),n.Q6J("ngForOf",$.months),n.xp6(1),n.Q6J("disabled",$.disabled),n.xp6(2),n.Q6J("ngForOf",$.years))},directives:[i.sg,rt.YN,rt.Kr],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0});class su{constructor(I){this.i18n=I,this.navigation=Ed,this.months=[],this.navigate=new n.vpe,this.select=new n.vpe}onClickPrev(I){I.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(I){I.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}su.\u0275fac=function(I){return new(I||su)(n.Y36(Pi))},su.\u0275cmp=n.Xpm({type:su,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},decls:8,vars:4,consts:function(){let ie,I,$,be;return ie=$localize`:@@ngb.datepicker.previous-month:Previous month`,I=$localize`:@@ngb.datepicker.previous-month:Previous month`,$=$localize`:@@ngb.datepicker.next-month:Next month`,be=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",ie,"title",I,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",$,"title",be,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(I,$){1&I&&(n.TgZ(0,"div",0)(1,"button",1),n.NdJ("click",function(Re){return $.onClickPrev(Re)}),n._UZ(2,"span",2),n.qZA()(),n.YNc(3,Ri,1,4,"ngb-datepicker-navigation-select",3),n.YNc(4,Ir,1,1,null,4),n.TgZ(5,"div",5)(6,"button",6),n.NdJ("click",function(Re){return $.onClickNext(Re)}),n._UZ(7,"span",2),n.qZA()()),2&I&&(n.xp6(1),n.Q6J("disabled",$.prevDisabled),n.xp6(2),n.Q6J("ngIf",$.showSelect),n.xp6(1),n.Q6J("ngIf",!$.showSelect),n.xp6(2),n.Q6J("disabled",$.nextDisabled))},directives:[ou,i.O5,i.sg],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),function(ie){ie[ie.Tab=9]="Tab",ie[ie.Enter=13]="Enter",ie[ie.Escape=27]="Escape",ie[ie.Space=32]="Space",ie[ie.PageUp=33]="PageUp",ie[ie.PageDown=34]="PageDown",ie[ie.End=35]="End",ie[ie.Home=36]="Home",ie[ie.ArrowLeft=37]="ArrowLeft",ie[ie.ArrowUp=38]="ArrowUp",ie[ie.ArrowRight=39]="ArrowRight",ie[ie.ArrowDown=40]="ArrowDown"}(Is||(Is={}));class U1{processKey(I,$){const{state:be,calendar:Re}=$;switch(I.which){case Is.PageUp:$.focusDate(Re.getPrev(be.focusedDate,I.shiftKey?"y":"m",1));break;case Is.PageDown:$.focusDate(Re.getNext(be.focusedDate,I.shiftKey?"y":"m",1));break;case Is.End:$.focusDate(I.shiftKey?be.maxDate:be.lastDate);break;case Is.Home:$.focusDate(I.shiftKey?be.minDate:be.firstDate);break;case Is.ArrowLeft:$.focusDate(Re.getPrev(be.focusedDate,"d",1));break;case Is.ArrowUp:$.focusDate(Re.getPrev(be.focusedDate,"d",Re.getDaysPerWeek()));break;case Is.ArrowRight:$.focusDate(Re.getNext(be.focusedDate,"d",1));break;case Is.ArrowDown:$.focusDate(Re.getNext(be.focusedDate,"d",Re.getDaysPerWeek()));break;case Is.Enter:case Is.Space:$.focusSelect();break;default:return}I.preventDefault(),I.stopPropagation()}}U1.\u0275fac=function(I){return new(I||U1)},U1.\u0275prov=n.Yz7({token:U1,factory:U1.\u0275fac,providedIn:"root"});class Il{constructor(I){this.templateRef=I}}Il.\u0275fac=function(I){return new(I||Il)(n.Y36(n.Rgc))},Il.\u0275dir=n.lG2({type:Il,selectors:[["ng-template","ngbDatepickerContent",""]]});class M1{constructor(I,$,be,Re,dt,Gt,Qt,sn){this._service=I,this._calendar=$,this.i18n=be,this._elementRef=Gt,this._ngbDateAdapter=Qt,this._ngZone=sn,this._controlValue=null,this._destroyed$=new o.xQ,this._publicState={},this.navigate=new n.vpe,this.dateSelect=new n.vpe,this.onChange=Vn=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(Vn=>this[Vn]=Re[Vn]),I.dateSelect$.pipe((0,N.R)(this._destroyed$)).subscribe(Vn=>{this.dateSelect.emit(Vn)}),I.model$.pipe((0,N.R)(this._destroyed$)).subscribe(Vn=>{const ni=Vn.firstDate,Di=this.model?this.model.firstDate:null;this._publicState={maxDate:Vn.maxDate,minDate:Vn.minDate,firstDate:Vn.firstDate,lastDate:Vn.lastDate,focusedDate:Vn.focusDate,months:Vn.months.map(fr=>fr.firstDate)};let sr=!1;if(!ni.equals(Di)&&(this.navigate.emit({current:Di?{year:Di.year,month:Di.month}:null,next:{year:ni.year,month:ni.month},preventDefault:()=>sr=!0}),sr&&null!==Di))return void this._service.open(Di);const dr=Vn.selectedDate,Co=Vn.focusDate,Kr=this.model?this.model.focusDate:null;this.model=Vn,Dl(dr,this._controlValue)&&(this._controlValue=dr,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(dr))),Dl(Co,Kr)&&Kr&&Vn.focusVisible&&this.focus(),dt.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(I){this._service.focus(ca.from(I))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{const I=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');I&&I.focus()})}navigateTo(I){this._service.open(ca.from(I?I.day?I:Object.assign(Object.assign({},I),{day:1}):null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const I=(0,h.R)(this._contentEl.nativeElement,"focusin"),$=(0,h.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:be}=this._elementRef;(0,z.T)(I,$).pipe((0,S.h)(({target:Re,relatedTarget:dt})=>!(xo(Re,"ngb-dp-day")&&xo(dt,"ngb-dp-day")&&be.contains(Re)&&be.contains(dt))),(0,N.R)(this._destroyed$)).subscribe(({type:Re})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===Re})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const I={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach($=>I[$]=this[$]),this._service.set(I),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(I){const $={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(be=>be in I).forEach(be=>$[be]=this[be]),this._service.set($),"startDate"in I){const{currentValue:be,previousValue:Re}=I.startDate;n4(Re,be)&&this.navigateTo(this.startDate)}}onDateSelect(I){this._service.focus(I),this._service.select(I,{emitEvent:!0})}onNavigateDateSelect(I){this._service.open(I)}onNavigateEvent(I){switch(I){case Ed.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case Ed.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this._service.set({disabled:I})}writeValue(I){this._controlValue=ca.from(this._ngbDateAdapter.fromModel(I)),this._service.select(this._controlValue)}}M1.\u0275fac=function(I){return new(I||M1)(n.Y36(da),n.Y36(k2),n.Y36(Pi),n.Y36(ns),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(J2),n.Y36(n.R0b))},M1.\u0275cmp=n.Xpm({type:M1,selectors:[["ngb-datepicker"]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,Il,7),2&I){let Re;n.iGM(Re=n.CRH())&&($.contentTemplate=Re.first)}},viewQuery:function(I,$){if(1&I&&(n.Gf(ir,7),n.Gf(ds,7)),2&I){let be;n.iGM(be=n.CRH())&&($._defaultDayTemplate=be.first),n.iGM(be=n.CRH())&&($._contentEl=be.first)}},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>M1),multi:!0},da]),n.TTD],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(I,$){if(1&I&&(n.YNc(0,Go,1,5,"ng-template",null,0,n.W1O),n.YNc(2,Cs,1,1,"ng-template",null,1,n.W1O),n.TgZ(4,"div",2),n.YNc(5,Rr,1,7,"ngb-datepicker-navigation",3),n.qZA(),n.TgZ(6,"div",4,5),n.YNc(8,Qe,0,0,"ng-template",6),n.qZA(),n.YNc(9,Oe,0,0,"ng-template",6)),2&I){const be=n.MAs(3);n.xp6(5),n.Q6J("ngIf","none"!==$.navigation),n.xp6(1),n.ekj("ngb-dp-months",!$.contentTemplate),n.xp6(2),n.Q6J("ngTemplateOutlet",(null==$.contentTemplate?null:$.contentTemplate.templateRef)||be),n.xp6(1),n.Q6J("ngTemplateOutlet",$.footerTemplate)}},directives:function(){return[e3,Y1,su,i.sg,i.O5,i.tP]},styles:["ngb-datepicker{border:1px solid #dfdfdf;border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0});class Y1{constructor(I,$,be,Re){this.i18n=I,this.datepicker=$,this._keyboardService=be,this._service=Re}set month(I){this.viewModel=this._service.getMonth(I)}onKeyDown(I){this._keyboardService.processKey(I,this.datepicker)}doSelect(I){!I.context.disabled&&!I.hidden&&this.datepicker.onDateSelect(I.date)}}Y1.\u0275fac=function(I){return new(I||Y1)(n.Y36(Pi),n.Y36(M1),n.Y36(U1),n.Y36(da))},Y1.\u0275cmp=n.Xpm({type:Y1,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(I,$){1&I&&n.NdJ("keydown",function(Re){return $.onKeyDown(Re)})},inputs:{month:"month"},decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(I,$){1&I&&(n.YNc(0,Cn,3,2,"div",0),n.YNc(1,Dt,1,1,"ng-template",1)),2&I&&(n.Q6J("ngIf",$.viewModel.weekdays.length>0),n.xp6(1),n.Q6J("ngForOf",$.viewModel.weeks))},directives:[i.O5,i.sg,i.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:#0dcaf0;color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid rgba(0,0,0,.125);border-radius:0;background-color:#f8f9fa;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2});const T1=(ie,I)=>!!I&&I.some($=>$.contains(ie)),Du=(ie,I)=>!I||null!=function Yo(ie,I){return I&&void 0!==ie.closest?ie.closest(I):null}(ie,I),Ql="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Ya(ie,I,$,be,Re,dt,Gt,Qt){$&&ie.runOutsideAngular((ie=>Ql?()=>setTimeout(()=>ie(),100):ie)(()=>{const Vn=(0,h.R)(I,"keydown").pipe((0,N.R)(Re),(0,S.h)(sr=>sr.which===Is.Escape),(0,W.b)(sr=>sr.preventDefault())),ni=(0,h.R)(I,"mousedown").pipe((0,O.U)(sr=>{const dr=sr.target;return 2!==sr.button&&!T1(dr,Gt)&&("inside"===$?T1(dr,dt)&&Du(dr,Qt):"outside"===$?!T1(dr,dt):Du(dr,Qt)||!T1(dr,dt))}),(0,N.R)(Re)),Di=(0,h.R)(I,"mouseup").pipe((0,re.M)(ni),(0,S.h)(([sr,dr])=>dr),(0,pe.g)(0),(0,N.R)(Re));(0,y.S3)([Vn.pipe((0,O.U)(sr=>0)),Di.pipe((0,O.U)(sr=>1))]).subscribe(sr=>ie.run(()=>be(sr)))}))}const ec=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function au(ie){const I=Array.from(ie.querySelectorAll(ec)).filter($=>-1!==$.tabIndex);return[I[0],I[I.length-1]]}const Q2=(ie,I,$,be=!1)=>{ie.runOutsideAngular(()=>{const Re=(0,h.R)(I,"focusin").pipe((0,N.R)($),(0,O.U)(dt=>dt.target));(0,h.R)(I,"keydown").pipe((0,N.R)($),(0,S.h)(dt=>dt.which===Is.Tab),(0,re.M)(Re)).subscribe(([dt,Gt])=>{const[Qt,sn]=au(I);(Gt===Qt||Gt===I)&&dt.shiftKey&&(sn.focus(),dt.preventDefault()),Gt===sn&&!dt.shiftKey&&(Qt.focus(),dt.preventDefault())}),be&&(0,h.R)(I,"click").pipe((0,N.R)($),(0,re.M)(Re),(0,O.U)(dt=>dt[1])).subscribe(dt=>dt.focus())})},g1=/\s+/,Iu=/  +/gi,ed=/^start/,Ja=/^end/,D2=/-(top|left)$/,td=/-(bottom|right)$/;const I2=/^left/,Wa=/^right/,Au=/^start/,A2=/^end/;function wc({placement:ie,baseClass:I}){let $=Array.isArray(ie)?ie:ie.split(g1);let Re=$.findIndex(sn=>"auto"===sn);Re>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(sn){null==$.find(Vn=>-1!==Vn.search("^"+sn))&&$.splice(Re++,1,sn)});const dt=$.map(sn=>function lu(ie){return ie.replace(ed,"left").replace(Ja,"right").replace(D2,"-start").replace(td,"-end")}(sn));return{placement:dt.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!I,phase:"write",fn({state:sn}){const Vn=new RegExp(I+"(-[a-z]+)*","gi"),ni=sn.elements.popper,Di=sn.placement;let sr=ni.className;sr=sr.replace(Vn,""),sr+=` ${function Vl(ie,I){let[$,be]=I.split("-");const Re=$.replace(I2,"start").replace(Wa,"end");let dt=[Re];if(be){let Gt=be;("left"===$||"right"===$)&&(Gt=Gt.replace(Au,"top").replace(A2,"bottom")),dt.push(`${Re}-${Gt}`)}return ie&&(dt=dt.map(Gt=>`${ie}-${Gt}`)),dt.join(" ")}(I,Di)}`,sr=sr.trim().replace(Iu," "),ni.className=sr}},mr,_o,Ho,{enabled:!0,name:"flip",options:{fallbackPlacements:dt}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function bl(ie){return ie}function As(){let ie=null;return{createPopper(I){if(!ie){let be=(I.updatePopperOptions||bl)(wc(I));ie=js(I.hostElement,I.targetElement,be)}},update(){ie&&ie.update()},setOptions(I){if(ie){let be=(I.updatePopperOptions||bl)(wc(I));ie.setOptions(be)}},destroy(){ie&&(ie.destroy(),ie=null)}}}class ms extends ns{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.restoreFocus=!0}}function ea(ie){return I=>(I.modifiers.push(Io,{name:"offset",options:{offset:()=>ie}}),I)}ms.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(ms)))($||ms)}}(),ms.\u0275prov=n.Yz7({token:ms,factory:ms.\u0275fac,providedIn:"root"});class S1{}S1.\u0275fac=function(I){return new(I||S1)},S1.\u0275prov=n.Yz7({token:S1,factory:function(){return function nd(){return new W1}()},providedIn:"root"});class W1 extends S1{parse(I){if(null!=I){const $=I.trim().split("-");if(1===$.length&&Hr($[0]))return{year:ts($[0]),month:null,day:null};if(2===$.length&&Hr($[0])&&Hr($[1]))return{year:ts($[0]),month:ts($[1]),day:null};if(3===$.length&&Hr($[0])&&Hr($[1])&&Hr($[2]))return{year:ts($[0]),month:ts($[1]),day:ts($[2])}}return null}format(I){return I?`${I.year}-${Hr(I.month)?Es(I.month):""}-${Hr(I.day)?Es(I.day):""}`:""}}W1.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(W1)))($||W1)}}(),W1.\u0275prov=n.Yz7({token:W1,factory:W1.\u0275fac});class id{constructor(I,$,be,Re,dt,Gt,Qt,sn,Vn,ni){this._parserFormatter=I,this._elRef=$,this._vcRef=be,this._renderer=Re,this._ngZone=dt,this._calendar=Gt,this._dateAdapter=Qt,this._document=sn,this._changeDetector=Vn,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._positioning=As(),this._destroyCloseHandlers$=new o.xQ,this.dateSelect=new n.vpe,this.navigate=new n.vpe,this.closed=new n.vpe,this._onChange=Di=>{},this._onTouched=()=>{},this._validatorChange=()=>{},["autoClose","container","positionTarget","placement"].forEach(Di=>this[Di]=ni[Di])}get disabled(){return this._disabled}set disabled(I){this._disabled=""===I||I&&"false"!==I,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(I){this._onChange=I}registerOnTouched(I){this._onTouched=I}registerOnValidatorChange(I){this._validatorChange=I}setDisabledState(I){this.disabled=I}validate(I){const{value:$}=I;if(null!=$){const be=this._fromDateStruct(this._dateAdapter.fromModel($));if(!be)return{ngbDate:{invalid:$}};if(this.minDate&&be.before(ca.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:$}}};if(this.maxDate&&be.after(ca.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:$}}}}return null}writeValue(I){this._model=this._fromDateStruct(this._dateAdapter.fromModel(I)),this._writeModelValue(this._model)}manualDateChange(I,$=!1){const be=I!==this._inputValue;be&&(this._inputValue=I,this._model=this._fromDateStruct(this._parserFormatter.parse(I))),(be||!$)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===I?null:I),$&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let I;if(this._cRef=this._vcRef.createComponent(M1),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange($=>{this.writeValue($),this._onChange($),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Q2(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>{var $;return null===($=this._cRef)||void 0===$?void 0:$.instance.focus()}),I=dc(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:I,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:ea([0,2])}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!I)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){var I;if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),null===(I=this._zoneSubscription)||void 0===I||I.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let $=this._elWithFocus;dc(this.restoreFocus)?$=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&($=this.restoreFocus),$&&$.focus?$.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(I){this.isOpen()&&this._cRef.instance.navigateTo(I)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(I){if((I.minDate||I.maxDate)&&(this._validatorChange(),this.isOpen()&&(I.minDate&&(this._cRef.instance.minDate=this.minDate),I.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(I))),I.datepickerClass){const{currentValue:$,previousValue:be}=I.datepickerClass;this._applyPopupClass($,be)}I.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(I){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach($=>{void 0!==this[$]&&(I[$]=this[$])}),I.startDate=this.startDate||this._model}_applyPopupClass(I,$){var be;const Re=null===(be=this._cRef)||void 0===be?void 0:be.location.nativeElement;Re&&(I&&this._renderer.addClass(Re,I),$&&this._renderer.removeClass(Re,$))}_applyPopupStyling(I){this._renderer.addClass(I,"dropdown-menu"),this._renderer.addClass(I,"show"),"body"===this.container&&this._renderer.addClass(I,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(I){I.navigate.subscribe($=>this.navigate.emit($)),I.dateSelect.subscribe($=>{this.dateSelect.emit($),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(I){const $=this._parserFormatter.format(I);this._inputValue=$,this._renderer.setProperty(this._elRef.nativeElement,"value",$),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(I)),this._onTouched())}_fromDateStruct(I){const $=I?new ca(I.year,I.month,I.day):null;return this._calendar.isValid($)?$:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Ya(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}id.\u0275fac=function(I){return new(I||id)(n.Y36(S1),n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(k2),n.Y36(J2),n.Y36(i.K0),n.Y36(n.sBO),n.Y36(ms))},id.\u0275dir=n.lG2({type:id,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(I,$){1&I&&n.NdJ("input",function(Re){return $.manualDateChange(Re.target.value)})("change",function(Re){return $.manualDateChange(Re.target.value,!0)})("focus",function(){return $.onFocus()})("blur",function(){return $.onBlur()}),2&I&&n.Ikx("disabled",$.disabled)},inputs:{autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>id),multi:!0},{provide:rt.Cf,useExisting:(0,n.Gpc)(()=>id),multi:!0},{provide:ns,useExisting:ms}]),n.TTD]});class Mc extends k2{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(I,$="d",be=1){switch(I=new ca(I.year,I.month,I.day),$){case"y":return(I=this._setYear(I,I.year+be)).month=1,I.day=1,I;case"m":return(I=this._setMonth(I,I.month+be)).day=1,I;case"d":return this._setDay(I,I.day+be);default:return I}}getPrev(I,$="d",be=1){return this.getNext(I,$,-be)}getWeekday(I){const $=this.toGregorian(I).getDay();return 0===$?7:$}getWeekNumber(I,$){7===$&&($=0);const Re=I[(11-$)%7],dt=this.toGregorian(Re);dt.setDate(dt.getDate()+4-(dt.getDay()||7));const Gt=dt.getTime(),Qt=this.toGregorian(new ca(Re.year,1,1));return Math.floor(Math.round((Gt-Qt.getTime())/864e5)/7)+1}getToday(){return this.fromGregorian(new Date)}isValid(I){return null!=I&&Hr(I.year)&&Hr(I.month)&&Hr(I.day)&&!isNaN(this.toGregorian(I).getTime())}_setDay(I,$){$=+$;let be=this.getDaysPerMonth(I.month,I.year);if($<=0)for(;$<=0;)I=this._setMonth(I,I.month-1),be=this.getDaysPerMonth(I.month,I.year),$+=be;else if($>be)for(;$>be;)$-=be,I=this._setMonth(I,I.month+1),be=this.getDaysPerMonth(I.month,I.year);return I.day=$,I}_setMonth(I,$){return $=+$,I.year=I.year+Math.floor(($-1)/12),I.month=Math.floor((($-1)%12+12)%12)+1,I}_setYear(I,$){return I.year=+$,I}}function Oc(ie){const I=ie.getFullYear();return I%4==0&&I%100!=0||I%400==0}function t3(ie,I){return ie-I*Math.floor(ie/I)}Mc.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(Mc)))($||Mc)}}(),Mc.\u0275prov=n.Yz7({token:Mc,factory:Mc.\u0275fac});const $c=1721425.5,od=1948439.5;class Pc extends Mc{fromGregorian(I){const $=I.getFullYear(),be=I.getMonth(),Re=I.getDate();let dt=$c-1+365*($-1)+Math.floor(($-1)/4)+-Math.floor(($-1)/100)+Math.floor(($-1)/400)+Math.floor((367*(be+1)-362)/12+(be+1<=2?0:Oc(I)?-1:-2)+Re);dt=Math.floor(dt)+.5;const Gt=dt-od,Qt=Math.floor((30*Gt+10646)/10631);let sn=Math.ceil((Gt-29-function qc(ie){return 354*(ie-1)+Math.floor((3+11*ie)/30)}(Qt))/29.5);sn=Math.min(sn,11);const Vn=Math.ceil(Gt-function rd(ie,I){return Math.ceil(29.5*I)+354*(ie-1)+Math.floor((3+11*ie)/30)}(Qt,sn))+1;return new ca(Qt,sn+1,Vn)}toGregorian(I){const $=I.year,be=I.month-1,dt=I.day+Math.ceil(29.5*be)+354*($-1)+Math.floor((3+11*$)/30)+od-1,Gt=Math.floor(dt-.5)+.5,Qt=Gt-$c,sn=Math.floor(Qt/146097),Vn=t3(Qt,146097),ni=Math.floor(Vn/36524),Di=t3(Vn,36524),sr=Math.floor(Di/1461),dr=t3(Di,1461),Co=Math.floor(dr/365);let Kr=400*sn+100*ni+4*sr+Co;4===ni||4===Co||Kr++;const ps=Gt-($c+365*(Kr-1)+Math.floor((Kr-1)/4)-Math.floor((Kr-1)/100)+Math.floor((Kr-1)/400)),na=Gt<$c-1+365*(Kr-1)+Math.floor((Kr-1)/4)-Math.floor((Kr-1)/100)+Math.floor((Kr-1)/400)+Math.floor(739/12+(Oc(new Date(Kr,3,1))?-1:-2)+1)?0:Oc(new Date(Kr,3,1))?1:2,ss=Math.floor((12*(ps+na)+373)/367),$o=$c-1+365*(Kr-1)+Math.floor((Kr-1)/4)-Math.floor((Kr-1)/100)+Math.floor((Kr-1)/400)+Math.floor((367*ss-362)/12+(ss<=2?0:Oc(new Date(Kr,ss-1,1))?-1:-2)+1);return new Date(Kr,ss-1,Gt-$o+1)}getDaysPerMonth(I,$){$+=Math.floor(I/13);let be=29+(I=(I-1)%12+1)%2;return 12===I&&function o2(ie){return(14+11*ie)%30<11}($)&&be++,be}}Pc.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(Pc)))($||Pc)}}(),Pc.\u0275prov=n.Yz7({token:Pc,factory:Pc.\u0275fac});const O2=new Date(1882,10,12),Ns=new Date(2174,10,25),se=1300,it=["101010101010","110101010100","111011001001","011011010100","011011101010","001101101100","101010101101","010101010101","011010101001","011110010010","101110101001","010111010100","101011011010","010101011100","110100101101","011010010101","011101001010","101101010100","101101101010","010110101101","010010101110","101001001111","010100010111","011010001011","011010100101","101011010101","001011010110","100101011011","010010011101","101001001101","110100100110","110110010101","010110101100","100110110110","001010111010","101001011011","010100101011","101010010101","011011001010","101011101001","001011110100","100101110110","001010110110","100101010110","101011001010","101110100100","101111010010","010111011001","001011011100","100101101101","010101001101","101010100101","101101010010","101110100101","010110110100","100110110110","010101010111","001010010111","010101001011","011010100011","011101010010","101101100101","010101101010","101010101011","010100101011","110010010101","110101001010","110110100101","010111001010","101011010110","100101010111","010010101011","100101001011","101010100101","101101010010","101101101010","010101110101","001001110110","100010110111","010001011011","010101010101","010110101001","010110110100","100111011010","010011011101","001001101110","100100110110","101010101010","110101010100","110110110010","010111010101","001011011010","100101011011","010010101011","101001010101","101101001001","101101100100","101101110001","010110110100","101010110101","101001010101","110100100101","111010010010","111011001001","011011010100","101011101001","100101101011","010010101011","101010010011","110101001001","110110100100","110110110010","101010111001","010010111010","101001011011","010100101011","101010010101","101100101010","101101010101","010101011100","010010111101","001000111101","100100011101","101010010101","101101001010","101101011010","010101101101","001010110110","100100111011","010010011011","011001010101","011010101001","011101010100","101101101010","010101101100","101010101101","010101010101","101100101001","101110010010","101110101001","010111010100","101011011010","010101011010","101010101011","010110010101","011101001001","011101100100","101110101010","010110110101","001010110110","101001010110","111001001101","101100100101","101101010010","101101101010","010110101101","001010101110","100100101111","010010010111","011001001011","011010100101","011010101100","101011010110","010101011101","010010011101","101001001101","110100010110","110110010101","010110101010","010110110101","001011011010","100101011011","010010101101","010110010101","011011001010","011011100100","101011101010","010011110101","001010110110","100101010110","101010101010","101101010100","101111010010","010111011001","001011101010","100101101101","010010101101","101010010101","101101001010","101110100101","010110110010","100110110101","010011010110","101010010111","010101000111","011010010011","011101001001","101101010101","010101101010","101001101011","010100101011","101010001011","110101000110","110110100011","010111001010","101011010110","010011011011","001001101011","100101001011","101010100101","101101010010","101101101001","010101110101","000101110110","100010110111","001001011011","010100101011","010101100101","010110110100","100111011010","010011101101","000101101101","100010110110","101010100110","110101010010","110110101001","010111010100","101011011010","100101011011","010010101011","011001010011","011100101001","011101100010","101110101001","010110110010","101010110101","010101010101","101100100101","110110010010","111011001001","011011010010","101011101001","010101101011","010010101011","101001010101","110100101001","110101010100","110110101010","100110110101","010010111010","101000111011","010010011011","101001001101","101010101010","101011010101","001011011010","100101011101","010001011110","101000101110","110010011010","110101010101","011010110010","011010111001","010010111010","101001011101","010100101101","101010010101","101101010010","101110101000","101110110100","010110111001","001011011010","100101011010","101101001010","110110100100","111011010001","011011101000","101101101010","010101101101","010100110101","011010010101","110101001010","110110101000","110111010100","011011011010","010101011011","001010011101","011000101011","101100010101","101101001010","101110010101","010110101010","101010101110","100100101110","110010001111","010100100111","011010010101","011010101010","101011010110","010101011101","001010011101"];class mn extends Pc{fromGregorian(I){let $=1,be=0,Re=1300,dt=function Lt(ie,I){const $=Date.UTC(ie.getFullYear(),ie.getMonth(),ie.getDate()),be=Date.UTC(I.getFullYear(),I.getMonth(),I.getDate()),Re=Math.abs($-be);return Math.round(Re/864e5)}(I,O2);if(I.getTime()-O2.getTime()>=0&&I.getTime()-Ns.getTime()<=0){let Gt=1300;for(let Qt=0;Qt<it.length;Qt++,Gt++)for(let sn=0;sn<12;sn++){let Vn=+it[Qt][sn]+29;if(dt<=Vn)return $=dt+1,$>Vn&&($=1,sn++),sn>11&&(sn=0,Gt++),be=sn,Re=Gt,new ca(Re,be+1,$);dt-=Vn}return null}return super.fromGregorian(I)}toGregorian(I){const $=I.year,be=I.month-1,Re=I.day;let dt=new Date(O2),Gt=Re-1;if($>=se&&$<=1600){for(let Qt=0;Qt<$-se;Qt++)for(let sn=0;sn<12;sn++)Gt+=+it[Qt][sn]+29;for(let Qt=0;Qt<be;Qt++)Gt+=+it[$-se][Qt]+29;dt.setDate(O2.getDate()+Gt)}else dt=super.toGregorian(I);return dt}getDaysPerMonth(I,$){if($>=se&&$<=1600){return+it[$-se][I-1]+29}return super.getDaysPerMonth(I,$)}}function ii(ie){let I=function cp(ie,I,$){let be=i4(ie);return lp(be.gy,3,be.march)+31*(I-1)-Vs(I,7)*(I-7)+$-1}(ie.year,ie.month,ie.day),$=r4(I);return $.setHours(6,30,3,200),$}function Tr(ie){return function Y4(ie){let dt,Gt,Qt,I=r4(ie).getFullYear(),$=I-621,be=i4($),Re=lp(I,3,be.march);if(Qt=ie-Re,Qt>=0){if(Qt<=185)return Gt=1+Vs(Qt,31),dt=os(Qt,31)+1,new ca($,Gt,dt);Qt-=186}else $-=1,Qt+=179,1===be.leap&&(Qt+=1);return Gt=7+Vs(Qt,30),dt=os(Qt,30)+1,new ca($,Gt,dt)}(lp(ie.getFullYear(),ie.getMonth()+1,ie.getDate()))}function fs(ie,I){return I=+I,ie.year=ie.year+Math.floor((I-1)/12),ie.month=Math.floor(((I-1)%12+12)%12)+1,ie}function os(ie,I){return ie-I*Math.floor(ie/I)}function Vs(ie,I){return Math.trunc(ie/I)}function i4(ie){let I=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];const $=I.length,be=ie+621;let Gt,Re=-14,dt=I[0];if(ie<dt||ie>=I[$-1])throw new Error("Invalid Jalali year "+ie);for(let Di=1;Di<$;Di+=1){const sr=I[Di];if(Gt=sr-dt,ie<sr)break;Re=Re+8*Vs(Gt,33)+Vs(os(Gt,33),4),dt=sr}let Qt=ie-dt;Re=Re+8*Vs(Qt,33)+Vs(os(Qt,33)+3,4),4===os(Gt,33)&&Gt-Qt==4&&(Re+=1);const Vn=20+Re-(Vs(be,4)-Vs(3*(Vs(be,100)+1),4)-150);Gt-Qt<6&&(Qt=Qt-Gt+33*Vs(Gt+4,33));let ni=os(os(Qt+1,33)-1,4);return-1===ni&&(ni=4),{leap:ni,gy:be,march:Vn}}function r4(ie){let I=4*ie+139361631;I=I+4*Vs(3*Vs(4*ie+183187720,146097),4)-3908;const $=5*Vs(os(I,1461),4)+308,be=Vs(os($,153),5)+1,Re=os(Vs($,153),12)+1,dt=Vs(I,1461)-100100+Vs(8-Re,6);return new Date(dt,Re-1,be)}function lp(ie,I,$){let be=Vs(1461*(ie+Vs(I-8,6)+100100),4)+Vs(153*os(I+9,12)+2,5)+$-34840408;return be=be-Vs(3*Vs(ie+100100+Vs(I-8,6),100),4)+752,be}function Ou(ie,I){return ie<=6?31:ie<=11||0===i4(I).leap?30:29}mn.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(mn)))($||mn)}}(),mn.\u0275prov=n.Yz7({token:mn,factory:mn.\u0275fac});class Pu extends k2{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(I,$="d",be=1){switch(I=new ca(I.year,I.month,I.day),$){case"y":return I=function Wo(ie,I){return ie.year=+I,ie}(I,I.year+be),I.month=1,I.day=1,I;case"m":return(I=fs(I,I.month+be)).day=1,I;case"d":return function ta(ie,I){let $=Ou(ie.month,ie.year);if(I<=0)for(;I<=0;)$=Ou((ie=fs(ie,ie.month-1)).month,ie.year),I+=$;else if(I>$)for(;I>$;)I-=$,$=Ou((ie=fs(ie,ie.month+1)).month,ie.year);return ie.day=I,ie}(I,I.day+be);default:return I}}getPrev(I,$="d",be=1){return this.getNext(I,$,-be)}getWeekday(I){const $=ii(I).getDay();return 0===$?7:$}getWeekNumber(I,$){7===$&&($=0);const Re=I[(11-$)%7],dt=ii(Re);dt.setDate(dt.getDate()+4-(dt.getDay()||7));const Gt=dt.getTime(),Qt=ii(new ca(Re.year,1,1));return Math.floor(Math.round((Gt-Qt.getTime())/864e5)/7)+1}getToday(){return Tr(new Date)}isValid(I){return null!=I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)&&!isNaN(ii(I).getTime())}}Pu.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(Pu)))($||Pu)}}(),Pu.\u0275prov=n.Yz7({token:Pu,factory:Pu.\u0275fac});const Ih=25920;function zu(ie){return ie%4==0&&ie%100!=0||ie%400==0}function n3(ie){let I=Math.floor((235*ie-234)/19),$=13753*I+12084,be=29*I+Math.floor($/Ih),Re=$%Ih,dt=be%7;return(2===dt||4===dt||6===dt)&&(be++,dt=be%7),1===dt&&Re>16404&&!sd(ie)?be+=2:0===dt&&Re>23269&&sd(ie-1)&&be++,be}function zc(ie,I){let $=[31,28,31,30,31,30,31,31,30,31,30,31];return zu(I)&&$[1]++,$[ie-1]}function i3(ie){return sd(ie)?13:12}function I3(ie){return n3(ie+1)-n3(ie)}function sd(ie){if(null!=ie){let I=(12*ie+17)%19;return I>=(I<0?-7:12)}return!1}function s2(ie,I){let $=n3(I+1)-n3(I),be=($<=380?$:$-30)-353,dt=sd(I)?[30,29,29,29,30,30,29,30,29,30,29,30,29]:[30,29,29,29,30,29,30,29,30,29,30,29];return be>0&&dt[2]++,be>1&&dt[1]++,dt[ie-1]}function tc(ie){let I=0;for(let $=1;$<ie.month;$++)I+=s2($,ie.year);return I+ie.day}function a2(ie){const I=new Date(ie),$=I.getFullYear(),be=I.getMonth(),Re=I.getDate();let dt=1721424.5+365*($-1)+Math.floor(($-1)/4)-Math.floor(($-1)/100)+Math.floor(($-1)/400)+Math.floor((367*(be+1)-362)/12+(be+1<=2?0:zu($)?-1:-2)+Re);dt=Math.floor(dt+.5);let Gt=dt-347997,Qt=Math.floor(Gt*Ih/765433),sn=Math.floor((19*Qt+234)/235)+1,Vn=n3(sn),ni=Gt-Vn;for(;ni<1;)sn--,Vn=n3(sn),ni=Gt-Vn;let Di=1,sr=ni;for(;sr>s2(Di,sn);)sr-=s2(Di,sn),Di++;return new ca(sn,Di,sr)}function za(ie){const I=ie.year,$=ie.month,be=ie.day;let Re=n3(I);for(let ni=1;ni<$;ni++)Re+=s2(ni,I);Re+=be;let dt=Re-2092591,Gt=dt>=0;Gt||(dt=-dt);let Qt=1970,sn=1,Vn=1;for(;dt>0;)Gt?dt>=(zu(Qt)?366:365)?(dt-=zu(Qt)?366:365,Qt++):dt>=zc(sn,Qt)?(dt-=zc(sn,Qt),sn++):(Vn+=dt,dt=0):dt>=(zu(Qt-1)?366:365)?(dt-=zu(Qt-1)?366:365,Qt--):(sn>1?sn--:(sn=12,Qt--),dt>=zc(sn,Qt)?dt-=zc(sn,Qt):(Vn=zc(sn,Qt)-dt+1,dt=0));return new Date(Qt,sn-1,Vn)}function ad(ie){if(!ie)return"";const I=["","\u05d0","\u05d1","\u05d2","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8"],$=["\u05d9","\u05d9\u05d0","\u05d9\u05d1","\u05d9\u05d2","\u05d9\u05d3","\u05d8\u05d5","\u05d8\u05d6","\u05d9\u05d6","\u05d9\u05d7","\u05d9\u05d8"],be=["","","\u05db","\u05dc","\u05de","\u05e0","\u05e1","\u05e2","\u05e4","\u05e6"],Re=["","\u05e7","\u05e8","\u05e9","\u05ea","\u05ea\u05e7","\u05ea\u05e8","\u05ea\u05e9","\u05ea\u05ea","\u05ea\u05ea\u05e7"],dt=["","\u05d0","\u05d1","\u05d1\u05d0","\u05d1\u05d1","\u05d4","\u05d4\u05d0","\u05d4\u05d1","\u05d4\u05d1\u05d0","\u05d4\u05d1\u05d1"];let sn=0,Vn=[],ni=0;for(;ie>0;){let Di=ie%10;if(0===ni)sn=Di;else if(1===ni)1!==Di?Vn.unshift(be[Di],I[sn]):Vn.unshift($[sn]);else{if(2!==ni){5!==Di&&Vn.unshift(dt[Di],"\u05f3"," ");break}Vn.unshift(Re[Di])}ie=Math.floor(ie/10),0===ni&&0===ie&&Vn.unshift(I[Di]),ni++}return Vn=Vn.join("").split(""),1===Vn.length?Vn.push("\u05f3"):Vn.length>1&&Vn.splice(Vn.length-1,0,"\u05f4"),Vn.join("")}class P2 extends k2{getDaysPerWeek(){return 7}getMonths(I){return I&&sd(I)?[1,2,3,4,5,6,7,8,9,10,11,12,13]:[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}isValid(I){if(null!=I){let $=Hr(I.year)&&Hr(I.month)&&Hr(I.day);return $=$&&I.month>0&&I.month<=(sd(I.year)?13:12),$=$&&I.day>0&&I.day<=s2(I.month,I.year),$&&!isNaN(za(I).getTime())}return!1}getNext(I,$="d",be=1){switch(I=new ca(I.year,I.month,I.day),$){case"y":return I.year+=be,I.month=1,I.day=1,I;case"m":return I=function ua(ie,I){let $=I>=0;for($||(I=-I);I>0;)$?I>i3(ie.year)-ie.month?(I-=i3(ie.year)-ie.month+1,ie.year++,ie.month=1):(ie.month+=I,I=0):I>=ie.month?(ie.year--,I-=ie.month,ie.month=i3(ie.year)):(ie.month-=I,I=0);return ie}(I,be),I.day=1,I;case"d":return function xa(ie,I){let $=I>=0;for($||(I=-I);I>0;)$?I>I3(ie.year)-tc(ie)?(I-=I3(ie.year)-tc(ie)+1,ie.year++,ie.month=1,ie.day=1):I>s2(ie.month,ie.year)-ie.day?(I-=s2(ie.month,ie.year)-ie.day+1,ie.month++,ie.day=1):(ie.day+=I,I=0):I>=ie.day?(I-=ie.day,ie.month--,0===ie.month&&(ie.year--,ie.month=i3(ie.year)),ie.day=s2(ie.month,ie.year)):(ie.day-=I,I=0);return ie}(I,be);default:return I}}getPrev(I,$="d",be=1){return this.getNext(I,$,-be)}getWeekday(I){const $=za(I).getDay();return 0===$?7:$}getWeekNumber(I,$){const be=I[I.length-1];return Math.ceil(tc(be)/7)}getToday(){return a2(new Date)}toGregorian(I){return iu(za(I))}fromGregorian(I){return a2(Ua(I))}}P2.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(P2)))($||P2)}}(),P2.\u0275prov=n.Yz7({token:P2,factory:P2.\u0275fac});const G1=["\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","\u05e8\u05d0\u05e9\u05d5\u05df"],Id=["\u05ea\u05e9\u05e8\u05d9","\u05d7\u05e9\u05d5\u05df","\u05db\u05e1\u05dc\u05d5","\u05d8\u05d1\u05ea","\u05e9\u05d1\u05d8","\u05d0\u05d3\u05e8","\u05e0\u05d9\u05e1\u05df","\u05d0\u05d9\u05d9\u05e8","\u05e1\u05d9\u05d5\u05df","\u05ea\u05de\u05d5\u05d6","\u05d0\u05d1","\u05d0\u05dc\u05d5\u05dc"],nc=["\u05ea\u05e9\u05e8\u05d9","\u05d7\u05e9\u05d5\u05df","\u05db\u05e1\u05dc\u05d5","\u05d8\u05d1\u05ea","\u05e9\u05d1\u05d8","\u05d0\u05d3\u05e8 \u05d0\u05f3","\u05d0\u05d3\u05e8 \u05d1\u05f3","\u05e0\u05d9\u05e1\u05df","\u05d0\u05d9\u05d9\u05e8","\u05e1\u05d9\u05d5\u05df","\u05ea\u05de\u05d5\u05d6","\u05d0\u05d1","\u05d0\u05dc\u05d5\u05dc"];class k1 extends Pi{getMonthShortName(I,$){return this.getMonthFullName(I,$)}getMonthFullName(I,$){return sd($)?nc[I-1]||"":Id[I-1]||""}getWeekdayLabel(I,$){return G1[I-1]||""}getDayAriaLabel(I){return`${ad(I.day)} ${this.getMonthFullName(I.month,I.year)} ${ad(I.year)}`}getDayNumerals(I){return ad(I.day)}getWeekNumerals(I){return ad(I)}getYearNumerals(I){return ad(I)}}function l2(ie){return new Date(ie.year-543,ie.month-1,ie.day)}function L1(ie){return new ca(ie.getFullYear()+543,ie.getMonth()+1,ie.getDate())}k1.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(k1)))($||k1)}}(),k1.\u0275prov=n.Yz7({token:k1,factory:k1.\u0275fac});class Al extends L2{getToday(){return L1(new Date)}getNext(I,$="d",be=1){let Re=l2(I),dt=!0,Gt=Re.getMonth();switch($){case"y":Re.setFullYear(Re.getFullYear()+be);break;case"m":Gt+=be,Re.setMonth(Gt),Gt%=12,Gt<0&&(Gt+=12);break;case"d":Re.setDate(Re.getDate()+be),dt=!1;break;default:return I}return dt&&Re.getMonth()!==Gt&&Re.setDate(0),L1(Re)}getPrev(I,$="d",be=1){return this.getNext(I,$,-be)}getWeekday(I){let be=l2(I).getDay();return 0===be?7:be}getWeekNumber(I,$){7===$&&($=0);const dt=l2(I[(11-$)%7]);dt.setDate(dt.getDate()+4-(dt.getDay()||7));const Gt=dt.getTime();return dt.setMonth(0),dt.setDate(1),Math.floor(Math.round((Gt-dt.getTime())/864e5)/7)+1}isValid(I){if(!(I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)&&0!==I.year))return!1;const $=l2(I);return!isNaN($.getTime())&&$.getFullYear()===I.year-543&&$.getMonth()+1===I.month&&$.getDate()===I.day}}Al.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(Al)))($||Al)}}(),Al.\u0275prov=n.Yz7({token:Al,factory:Al.\u0275fac});class ic extends J2{fromModel(I){return I instanceof Date&&!isNaN(I.getTime())?this._fromNativeDate(I):null}toModel(I){return I&&Ji(I.year)&&Ji(I.month)&&Ji(I.day)?this._toNativeDate(I):null}_fromNativeDate(I){return{year:I.getFullYear(),month:I.getMonth()+1,day:I.getDate()}}_toNativeDate(I){const $=new Date(I.year,I.month-1,I.day,12);return $.setFullYear(I.year),$}}ic.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(ic)))($||ic)}}(),ic.\u0275prov=n.Yz7({token:ic,factory:ic.\u0275fac});class Ru extends ic{_fromNativeDate(I){return{year:I.getUTCFullYear(),month:I.getUTCMonth()+1,day:I.getUTCDate()}}_toNativeDate(I){const $=new Date(Date.UTC(I.year,I.month-1,I.day));return $.setUTCFullYear(I.year),$}}Ru.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(Ru)))($||Ru)}}(),Ru.\u0275prov=n.Yz7({token:Ru,factory:Ru.\u0275fac});class Ol{}Ol.\u0275fac=function(I){return new(I||Ol)},Ol.\u0275mod=n.oAB({type:Ol,declarations:[M1,Il,Y1,su,ou,e3,id],imports:[i.ez,rt.u5],exports:[M1,Il,id,Y1]}),Ol.\u0275inj=n.cJS({imports:[[i.ez,rt.u5]]});class cu{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"]}}cu.\u0275fac=function(I){return new(I||cu)},cu.\u0275prov=n.Yz7({token:cu,factory:cu.\u0275fac,providedIn:"root"});class Ad{}Ad.\u0275fac=function(I){return new(I||Ad)},Ad.\u0275dir=n.lG2({type:Ad,selectors:[["",8,"navbar"]]});class Ca{constructor(I,$){this.elementRef=I,this._renderer=$,this._disabled=!1}set disabled(I){this._disabled=""===I||!0===I,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}Ca.\u0275fac=function(I){return new(I||Ca)(n.Y36(n.SBq),n.Y36(n.Qsj))},Ca.\u0275dir=n.lG2({type:Ca,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(I,$){2&I&&(n.Ikx("tabIndex",$.disabled?-1:0),n.ekj("disabled",$.disabled))},inputs:{disabled:"disabled"}});class Hs{constructor(I,$){this.dropdown=I,this.placement="bottom",this.isOpen=!1,this.nativeElement=$.nativeElement}}Hs.\u0275fac=function(I){return new(I||Hs)(n.Y36((0,n.Gpc)(()=>yl)),n.Y36(n.SBq))},Hs.\u0275dir=n.lG2({type:Hs,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,Ca,4),2&I){let Re;n.iGM(Re=n.CRH())&&($.menuItems=Re)}},hostVars:4,hostBindings:function(I,$){1&I&&n.NdJ("keydown.ArrowUp",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.ArrowDown",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Home",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.End",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Enter",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Space",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Tab",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Shift.Tab",function(Re){return $.dropdown.onKeyDown(Re)}),2&I&&n.ekj("dropdown-menu",!0)("show",$.dropdown.isOpen())}});class hc{constructor(I,$){this.dropdown=I,this.nativeElement=$.nativeElement}}hc.\u0275fac=function(I){return new(I||hc)(n.Y36((0,n.Gpc)(()=>yl)),n.Y36(n.SBq))},hc.\u0275dir=n.lG2({type:hc,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(I,$){2&I&&n.uIk("aria-expanded",$.dropdown.isOpen())}});class jr extends hc{constructor(I,$){super(I,$)}}jr.\u0275fac=function(I){return new(I||jr)(n.Y36((0,n.Gpc)(()=>yl)),n.Y36(n.SBq))},jr.\u0275dir=n.lG2({type:jr,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(I,$){1&I&&n.NdJ("click",function(){return $.dropdown.toggle()})("keydown.ArrowUp",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.ArrowDown",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Home",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.End",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Tab",function(Re){return $.dropdown.onKeyDown(Re)})("keydown.Shift.Tab",function(Re){return $.dropdown.onKeyDown(Re)}),2&I&&n.uIk("aria-expanded",$.dropdown.isOpen())},features:[n._Bn([{provide:hc,useExisting:(0,n.Gpc)(()=>jr)}]),n.qOj]});class yl{constructor(I,$,be,Re,dt,Gt,Qt){this._changeDetector=I,this._document=be,this._ngZone=Re,this._elementRef=dt,this._renderer=Gt,this._destroyCloseHandlers$=new o.xQ,this._bodyContainer=null,this._positioning=As(),this._open=!1,this.openChange=new n.vpe,this.placement=$.placement,this.container=$.container,this.autoClose=$.autoClose,this.display=Qt?"static":"dynamic"}ngAfterContentInit(){this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(I){if(I.container&&this._open&&this._applyContainer(this.container),I.placement&&!I.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),I.dropdownClass){const{currentValue:$,previousValue:be}=I.dropdownClass;this._applyCustomDropdownClass($,be)}I.autoClose&&this._open&&(this.autoClose=I.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:ea([0,2])}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),Ya(this._ngZone,this._document,this.autoClose,I=>{this.close(),0===I&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){var I;this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),null===(I=this._zoneSubscription)||void 0===I||I.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(I){const $=I.which,be=this._getMenuElements();let Re=-1,dt=null;const Gt=this._isEventFromToggle(I);if(!Gt&&be.length&&be.forEach((Qt,sn)=>{Qt.contains(I.target)&&(dt=Qt),Qt===this._document.activeElement&&(Re=sn)}),$!==Is.Space&&$!==Is.Enter){if($!==Is.Tab){if(Gt||dt){if(this.open(),be.length){switch($){case Is.ArrowDown:Re=Math.min(Re+1,be.length-1);break;case Is.ArrowUp:if(this._isDropup()&&-1===Re){Re=be.length-1;break}Re=Math.max(Re-1,0);break;case Is.Home:Re=0;break;case Is.End:Re=be.length-1}be[Re].focus()}I.preventDefault()}}else if(I.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===I.target)return void("body"!==this.container||I.shiftKey?I.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const Qt=this._menu.nativeElement.querySelectorAll(ec);I.shiftKey&&I.target===Qt[0]?(this._anchor.nativeElement.focus(),I.preventDefault()):!I.shiftKey&&I.target===Qt[Qt.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,h.R)(I.target,"focusout").pipe((0,E.q)(1)).subscribe(({relatedTarget:Qt})=>{this._elementRef.nativeElement.contains(Qt)||this.close()})}}else dt&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,h.R)(dt,"click").pipe((0,E.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(I){return this._anchor.nativeElement.contains(I.target)}_getMenuElements(){const I=this._menu;return null==I?[]:I.menuItems.filter($=>!$.disabled).map($=>$.elementRef.nativeElement)}_positionMenu(){const I=this._menu;this.isOpen()&&I&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(I){return Array.isArray(I)?I[0]:I.split(" ")[0]}_resetContainer(){const I=this._renderer;if(this._menu){const $=this._elementRef.nativeElement,be=this._menu.nativeElement;I.appendChild($,be)}this._bodyContainer&&(I.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(I=null){if(this._resetContainer(),"body"===I){const $=this._renderer,be=this._menu.nativeElement,Re=this._bodyContainer=this._bodyContainer||$.createElement("div");$.setStyle(Re,"position","absolute"),$.setStyle(be,"position","static"),$.setStyle(Re,"z-index","1055"),$.appendChild(Re,be),$.appendChild(this._document.body,Re)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(I,$){const be="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;be&&($&&this._renderer.removeClass(be,$),I&&this._renderer.addClass(be,I))}_applyPlacementClasses(I){const $=this._menu;if($){I||(I=this._getFirstPlacement(this.placement));const be=this._renderer,Re=this._elementRef.nativeElement;be.removeClass(Re,"dropup"),be.removeClass(Re,"dropdown");const{nativeElement:dt}=$;"static"===this.display?($.placement=null,be.setAttribute(dt,"data-bs-popper","static")):($.placement=I,be.removeAttribute(dt,"data-bs-popper"));const Gt=-1!==I.search("^top")?"dropup":"dropdown";be.addClass(Re,Gt);const Qt=this._bodyContainer;Qt&&(be.removeClass(Qt,"dropup"),be.removeClass(Qt,"dropdown"),be.addClass(Qt,Gt))}}}yl.\u0275fac=function(I){return new(I||yl)(n.Y36(n.sBO),n.Y36(cu),n.Y36(i.K0),n.Y36(n.R0b),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(Ad,8))},yl.\u0275dir=n.lG2({type:yl,selectors:[["","ngbDropdown",""]],contentQueries:function(I,$,be){if(1&I&&(n.Suo(be,Hs,5),n.Suo(be,hc,5)),2&I){let Re;n.iGM(Re=n.CRH())&&($._menu=Re.first),n.iGM(Re=n.CRH())&&($._anchor=Re.first)}},hostVars:2,hostBindings:function(I,$){2&I&&n.ekj("show",$.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],features:[n.TTD]});class wa{}wa.\u0275fac=function(I){return new(I||wa)},wa.\u0275mod=n.oAB({type:wa,declarations:[yl,hc,jr,Hs,Ca,Ad],exports:[yl,hc,jr,Hs,Ca,Ad]}),wa.\u0275inj=n.cJS({});class cl{constructor(I,$,be){this.nodes=I,this.viewRef=$,this.componentRef=be}}class Nu{constructor(I,$,be,Re,dt,Gt){this._type=I,this._injector=$,this._viewContainerRef=be,this._renderer=Re,this._ngZone=dt,this._applicationRef=Gt,this._windowRef=null,this._contentRef=null}open(I,$,be=!1){this._windowRef||(this._contentRef=this._getContentRef(I,$),this._windowRef=this._viewContainerRef.createComponent(this._type,{index:this._viewContainerRef.length,injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:Re}=this._windowRef.location,dt=this._ngZone.onStable.pipe((0,E.q)(1),(0,Ae.zg)(()=>xe(this._ngZone,Re,({classList:Gt})=>Gt.add("show"),{animation:be,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:dt}}close(I=!1){return this._windowRef?xe(this._ngZone,this._windowRef.location.nativeElement,({classList:$})=>$.remove("show"),{animation:I,runningTransition:"stop"}).pipe((0,W.b)(()=>{var $;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),(null===($=this._contentRef)||void 0===$?void 0:$.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,s.of)(void 0)}_getContentRef(I,$){if(I){if(I instanceof n.Rgc){const be=I.createEmbeddedView($);return this._applicationRef.attachView(be),new cl([be.rootNodes],be)}return new cl([[this._renderer.createText(`${I}`)]])}return new cl([])}}class Od{constructor(I,$){this._el=I,this._zone=$}ngOnInit(){this._zone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{xe(this._zone,this._el.nativeElement,(I,$)=>{$&&$r(I),I.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return xe(this._zone,this._el.nativeElement,({classList:I})=>I.remove("show"),{animation:this.animation,runningTransition:"stop"})}}Od.\u0275fac=function(I){return new(I||Od)(n.Y36(n.SBq),n.Y36(n.R0b))},Od.\u0275cmp=n.Xpm({type:Od,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(I,$){2&I&&(n.Tol("modal-backdrop"+($.backdropClass?" "+$.backdropClass:"")),n.ekj("show",!$.animation)("fade",$.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(I,$){},encapsulation:2});class Rc{close(I){}dismiss(I){}}class q1{constructor(I,$,be,Re){this._windowCmptRef=I,this._contentRef=$,this._backdropCmptRef=be,this._beforeDismiss=Re,this._closed=new o.xQ,this._dismissed=new o.xQ,this._hidden=new o.xQ,I.instance.dismissEvent.subscribe(dt=>{this.dismiss(dt)}),this.result=new Promise((dt,Gt)=>{this._resolve=dt,this._reject=Gt}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,N.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,N.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(I){this._windowCmptRef&&(this._closed.next(I),this._resolve(I),this._removeModalElements())}_dismiss(I){this._dismissed.next(I),this._reject(I),this._removeModalElements()}dismiss(I){if(this._windowCmptRef)if(this._beforeDismiss){const $=this._beforeDismiss();Zl($)?$.then(be=>{!1!==be&&this._dismiss(I)},()=>{}):!1!==$&&this._dismiss(I)}else this._dismiss(I)}_removeModalElements(){const I=this._windowCmptRef.instance.hide(),$=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,s.of)(void 0);I.subscribe(()=>{const{nativeElement:be}=this._windowCmptRef.location;be.parentNode.removeChild(be),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),$.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:be}=this._backdropCmptRef.location;be.parentNode.removeChild(be),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),(0,w.$R)(I,$).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var ld;!function(ie){ie[ie.BACKDROP_CLICK=0]="BACKDROP_CLICK",ie[ie.ESC=1]="ESC"}(ld||(ld={}));class du{constructor(I,$,be){this._document=I,this._elRef=$,this._zone=be,this._closed$=new o.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new n.vpe,this.shown=new o.xQ,this.hidden=new o.xQ}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":dc(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(I){this.dismissEvent.emit(I)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:I}=this._elRef,$={animation:this.animation,runningTransition:"stop"},be=xe(this._zone,I,()=>I.classList.remove("show"),$),Re=xe(this._zone,this._dialogEl.nativeElement,()=>{},$),dt=(0,w.$R)(be,Re);return dt.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),dt}_show(){const I={animation:this.animation,runningTransition:"continue"},$=xe(this._zone,this._elRef.nativeElement,(Re,dt)=>{dt&&$r(Re),Re.classList.add("show")},I),be=xe(this._zone,this._dialogEl.nativeElement,()=>{},I);(0,w.$R)($,be).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:I}=this._elRef;this._zone.runOutsideAngular(()=>{(0,h.R)(I,"keydown").pipe((0,N.R)(this._closed$),(0,S.h)(be=>be.which===Is.Escape)).subscribe(be=>{this.keyboard?requestAnimationFrame(()=>{be.defaultPrevented||this._zone.run(()=>this.dismiss(ld.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let $=!1;(0,h.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,N.R)(this._closed$),(0,W.b)(()=>$=!1),(0,X.w)(()=>(0,h.R)(I,"mouseup").pipe((0,N.R)(this._closed$),(0,E.q)(1))),(0,S.h)(({target:be})=>I===be)).subscribe(()=>{$=!0}),(0,h.R)(I,"click").pipe((0,N.R)(this._closed$)).subscribe(({target:be})=>{I===be&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!$&&this._zone.run(()=>this.dismiss(ld.BACKDROP_CLICK))),$=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:I}=this._elRef;if(!I.contains(document.activeElement)){const $=I.querySelector("[ngbAutofocus]"),be=au(I)[0];($||be||I).focus()}}_restoreFocus(){const I=this._document.body,$=this._elWithFocus;let be;be=$&&$.focus&&I.contains($)?$:I,this._zone.runOutsideAngular(()=>{setTimeout(()=>be.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&xe(this._zone,this._elRef.nativeElement,({classList:I})=>(I.add("modal-static"),()=>I.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}du.\u0275fac=function(I){return new(I||du)(n.Y36(i.K0),n.Y36(n.SBq),n.Y36(n.R0b))},du.\u0275cmp=n.Xpm({type:du,selectors:[["ngb-modal-window"]],viewQuery:function(I,$){if(1&I&&n.Gf(En,7),2&I){let be;n.iGM(be=n.CRH())&&($._dialogEl=be.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(I,$){2&I&&(n.uIk("aria-modal",!0)("aria-labelledby",$.ariaLabelledBy)("aria-describedby",$.ariaDescribedBy),n.Tol("modal d-block"+($.windowClass?" "+$.windowClass:"")),n.ekj("fade",$.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Wt,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(I,$){1&I&&(n.F$t(),n.TgZ(0,"div",0,1)(2,"div",2),n.Hsn(3),n.qZA()()),2&I&&n.Tol("modal-dialog"+($.size?" modal-"+$.size:"")+($.centered?" modal-dialog-centered":"")+$.fullscreenClass+($.scrollable?" modal-dialog-scrollable":"")+($.modalDialogClass?" "+$.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2});class Hu{constructor(I){this._document=I}hide(){const I=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),$=this._document.body,be=$.style,{overflow:Re,paddingRight:dt}=be;if(I>0){const Gt=parseFloat(window.getComputedStyle($).paddingRight);be.paddingRight=`${Gt+I}px`}return be.overflow="hidden",()=>{I>0&&(be.paddingRight=dt),be.overflow=Re}}}Hu.\u0275fac=function(I){return new(I||Hu)(n.LFG(i.K0))},Hu.\u0275prov=n.Yz7({token:Hu,factory:Hu.\u0275fac,providedIn:"root"});class A3{constructor(I,$,be,Re,dt,Gt){this._applicationRef=I,this._injector=$,this._document=be,this._scrollBar=Re,this._rendererFactory=dt,this._ngZone=Gt,this._activeWindowCmptHasChanged=new o.xQ,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new n.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Qt=this._windowCmpts[this._windowCmpts.length-1];Q2(this._ngZone,Qt.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Qt.location.nativeElement)}})}_restoreScrollBar(){const I=this._scrollBarRestoreFn;I&&(this._scrollBarRestoreFn=null,I())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(I,$,be,Re){const dt=Re.container instanceof HTMLElement?Re.container:El(Re.container)?this._document.querySelector(Re.container):this._document.body,Gt=this._rendererFactory.createRenderer(null,null);if(!dt)throw new Error(`The specified modal container "${Re.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Qt=new Rc,sn=this._getContentRef(I,Re.injector||$,be,Qt,Re);let Vn=!1!==Re.backdrop?this._attachBackdrop(I,dt):void 0,ni=this._attachWindowComponent(I,dt,sn),Di=new q1(ni,sn,Vn,Re.beforeDismiss);return this._registerModalRef(Di),this._registerWindowCmpt(ni),Di.hidden.pipe((0,E.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(Gt.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Qt.close=sr=>{Di.close(sr)},Qt.dismiss=sr=>{Di.dismiss(sr)},this._applyWindowOptions(ni.instance,Re),1===this._modalRefs.length&&Gt.addClass(this._document.body,"modal-open"),Vn&&Vn.instance&&(this._applyBackdropOptions(Vn.instance,Re),Vn.changeDetectorRef.detectChanges()),ni.changeDetectorRef.detectChanges(),Di}get activeInstances(){return this._activeInstances}dismissAll(I){this._modalRefs.forEach($=>$.dismiss(I))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(I,$){let Re=I.resolveComponentFactory(Od).create(this._injector);return this._applicationRef.attachView(Re.hostView),$.appendChild(Re.location.nativeElement),Re}_attachWindowComponent(I,$,be){let dt=I.resolveComponentFactory(du).create(this._injector,be.nodes);return this._applicationRef.attachView(dt.hostView),$.appendChild(dt.location.nativeElement),dt}_applyWindowOptions(I,$){this._windowAttributes.forEach(be=>{El($[be])&&(I[be]=$[be])})}_applyBackdropOptions(I,$){this._backdropAttributes.forEach(be=>{El($[be])&&(I[be]=$[be])})}_getContentRef(I,$,be,Re,dt){return be?be instanceof n.Rgc?this._createFromTemplateRef(be,Re):dc(be)?this._createFromString(be):this._createFromComponent(I,$,be,Re,dt):new cl([])}_createFromTemplateRef(I,$){const be={$implicit:$,close(dt){$.close(dt)},dismiss(dt){$.dismiss(dt)}},Re=I.createEmbeddedView(be);return this._applicationRef.attachView(Re),new cl([Re.rootNodes],Re)}_createFromString(I){const $=this._document.createTextNode(`${I}`);return new cl([[$]])}_createFromComponent(I,$,be,Re,dt){const Gt=I.resolveComponentFactory(be),Qt=n.zs3.create({providers:[{provide:Rc,useValue:Re}],parent:$}),sn=Gt.create(Qt),Vn=sn.location.nativeElement;return dt.scrollable&&Vn.classList.add("component-host-scrollable"),this._applicationRef.attachView(sn.hostView),new cl([[Vn]],sn.hostView,sn)}_setAriaHidden(I){const $=I.parentElement;$&&I!==this._document.body&&(Array.from($.children).forEach(be=>{be!==I&&"SCRIPT"!==be.nodeName&&(this._ariaHiddenValues.set(be,be.getAttribute("aria-hidden")),be.setAttribute("aria-hidden","true"))}),this._setAriaHidden($))}_revertAriaHidden(){this._ariaHiddenValues.forEach((I,$)=>{I?$.setAttribute("aria-hidden",I):$.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(I){const $=()=>{const be=this._modalRefs.indexOf(I);be>-1&&(this._modalRefs.splice(be,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(I),this._activeInstances.emit(this._modalRefs),I.result.then($,$)}_registerWindowCmpt(I){this._windowCmpts.push(I),this._activeWindowCmptHasChanged.next(),I.onDestroy(()=>{const $=this._windowCmpts.indexOf(I);$>-1&&(this._windowCmpts.splice($,1),this._activeWindowCmptHasChanged.next())})}}A3.\u0275fac=function(I){return new(I||A3)(n.LFG(n.z2F),n.LFG(n.zs3),n.LFG(i.K0),n.LFG(Hu),n.LFG(n.FYo),n.LFG(n.R0b))},A3.\u0275prov=n.Yz7({token:A3,factory:A3.\u0275fac,providedIn:"root"});class $1{constructor(I){this._ngbConfig=I,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}$1.\u0275fac=function(I){return new(I||$1)(n.LFG(Tt))},$1.\u0275prov=n.Yz7({token:$1,factory:$1.\u0275fac,providedIn:"root"});class E1{constructor(I,$,be,Re){this._moduleCFR=I,this._injector=$,this._modalStack=be,this._config=Re}open(I,$={}){const be=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),$);return this._modalStack.open(this._moduleCFR,this._injector,I,be)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(I){this._modalStack.dismissAll(I)}hasOpenModals(){return this._modalStack.hasOpenModals()}}E1.\u0275fac=function(I){return new(I||E1)(n.LFG(n._Vd),n.LFG(n.zs3),n.LFG(A3),n.LFG($1))},E1.\u0275prov=n.Yz7({token:E1,factory:E1.\u0275fac,providedIn:"root"});class Ul{}Ul.\u0275fac=function(I){return new(I||Ul)},Ul.\u0275mod=n.oAB({type:Ul,declarations:[Od,du]}),Ul.\u0275inj=n.cJS({providers:[E1]});class o3{constructor(I){this._ngbConfig=I,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}o3.\u0275fac=function(I){return new(I||o3)(n.LFG(Tt))},o3.\u0275prov=n.Yz7({token:o3,factory:o3.\u0275fac,providedIn:"root"});const W4=ie=>El(ie)&&""!==ie;let G4=0;class cd{constructor(I){this.templateRef=I}}cd.\u0275fac=function(I){return new(I||cd)(n.Y36(n.Rgc))},cd.\u0275dir=n.lG2({type:cd,selectors:[["ng-template","ngbNavContent",""]]});class dd{constructor(I,$){this.elementRef=$,this.disabled=!1,this.shown=new n.vpe,this.hidden=new n.vpe,this._nav=I}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){El(this.domId)||(this.domId="ngb-nav-"+G4++)}get active(){return this._nav.activeId===this.id}get id(){return W4(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(El(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}dd.\u0275fac=function(I){return new(I||dd)(n.Y36((0,n.Gpc)(()=>D1)),n.Y36(n.SBq))},dd.\u0275dir=n.lG2({type:dd,selectors:[["","ngbNavItem",""]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,cd,4),2&I){let Re;n.iGM(Re=n.CRH())&&($.contentTpls=Re)}},hostVars:2,hostBindings:function(I,$){2&I&&n.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"]});class D1{constructor(I,$,be,Re){this.role=I,this._cd=be,this._document=Re,this.activeIdChange=new n.vpe,this.shown=new n.vpe,this.hidden=new n.vpe,this.destroy$=new o.xQ,this.navItemChange$=new o.xQ,this.navChange=new n.vpe,this.animation=$.animation,this.destroyOnHide=$.destroyOnHide,this.orientation=$.orientation,this.roles=$.roles,this.keyboard=$.keyboard}click(I){I.disabled||this._updateActiveId(I.id)}onKeyDown(I){if("tablist"!==this.roles||!this.keyboard)return;const $=I.which,be=this.links.filter(Gt=>!Gt.navItem.disabled),{length:Re}=be;let dt=-1;if(be.forEach((Gt,Qt)=>{Gt.elRef.nativeElement===this._document.activeElement&&(dt=Qt)}),Re){switch($){case Is.ArrowLeft:if("vertical"===this.orientation)return;dt=(dt-1+Re)%Re;break;case Is.ArrowRight:if("vertical"===this.orientation)return;dt=(dt+1)%Re;break;case Is.ArrowDown:if("horizontal"===this.orientation)return;dt=(dt+1)%Re;break;case Is.ArrowUp:if("horizontal"===this.orientation)return;dt=(dt-1+Re)%Re;break;case Is.Home:dt=0;break;case Is.End:dt=Re-1}"changeWithArrows"===this.keyboard&&this.select(be[dt].navItem.id),be[dt].elRef.nativeElement.focus(),I.preventDefault()}}select(I){this._updateActiveId(I,!1)}ngAfterContentInit(){if(!El(this.activeId)){const I=this.items.first?this.items.first.id:null;W4(I)&&(this._updateActiveId(I,!1),this._cd.detectChanges())}this.items.changes.pipe((0,N.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:I}){I&&!I.firstChange&&this._notifyItemChanged(I.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(I,$=!0){if(this.activeId!==I){let be=!1;$&&this.navChange.emit({activeId:this.activeId,nextId:I,preventDefault:()=>{be=!0}}),be||(this.activeId=I,this.activeIdChange.emit(I),this._notifyItemChanged(I))}}_notifyItemChanged(I){this.navItemChange$.next(this._getItemById(I))}_getItemById(I){return this.items&&this.items.find($=>$.id===I)||null}}D1.\u0275fac=function(I){return new(I||D1)(n.$8M("role"),n.Y36(o3),n.Y36(n.sBO),n.Y36(i.K0))},D1.\u0275dir=n.lG2({type:D1,selectors:[["","ngbNav",""]],contentQueries:function(I,$,be){if(1&I&&(n.Suo(be,dd,4),n.Suo(be,c2,5)),2&I){let Re;n.iGM(Re=n.CRH())&&($.items=Re),n.iGM(Re=n.CRH())&&($.links=Re)}},hostVars:6,hostBindings:function(I,$){1&I&&n.NdJ("keydown.arrowLeft",function(Re){return $.onKeyDown(Re)})("keydown.arrowRight",function(Re){return $.onKeyDown(Re)})("keydown.arrowDown",function(Re){return $.onKeyDown(Re)})("keydown.arrowUp",function(Re){return $.onKeyDown(Re)})("keydown.Home",function(Re){return $.onKeyDown(Re)})("keydown.End",function(Re){return $.onKeyDown(Re)}),2&I&&(n.uIk("aria-orientation","vertical"===$.orientation&&"tablist"===$.roles?"vertical":void 0)("role",$.role?$.role:$.roles?"tablist":void 0),n.ekj("nav",!0)("flex-column","vertical"===$.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"],features:[n.TTD]});class c2{constructor(I,$,be,Re){this.role=I,this.navItem=$,this.nav=be,this.elRef=Re}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}c2.\u0275fac=function(I){return new(I||c2)(n.$8M("role"),n.Y36(dd),n.Y36(D1),n.Y36(n.SBq))},c2.\u0275dir=n.lG2({type:c2,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostVars:14,hostBindings:function(I,$){1&I&&n.NdJ("click",function(Re){return $.nav.click($.navItem),Re.preventDefault()}),2&I&&(n.Ikx("id",$.navItem.domId),n.uIk("role",$.role?$.role:$.nav.roles?"tab":void 0)("tabindex",$.navItem.disabled?-1:void 0)("aria-controls",$.navItem.isPanelInDom()?$.navItem.panelDomId:null)("aria-selected",$.navItem.active)("aria-disabled",$.navItem.disabled),n.ekj("nav-link",!0)("nav-item",$.hasNavItemClass())("active",$.navItem.active)("disabled",$.navItem.disabled))}});const s4=({classList:ie})=>(ie.remove("show"),()=>ie.remove("active")),O3=(ie,I)=>{I&&$r(ie),ie.classList.add("show")};class Kc{constructor(I){this.elRef=I}}Kc.\u0275fac=function(I){return new(I||Kc)(n.Y36(n.SBq))},Kc.\u0275dir=n.lG2({type:Kc,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(I,$){2&I&&(n.Ikx("id",$.item.panelDomId),n.uIk("role",$.role?$.role:$.nav.roles?"tabpanel":void 0)("aria-labelledby",$.item.domId),n.ekj("fade",$.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"}});class uu{constructor(I,$){this._cd=I,this._ngZone=$,this._activePane=null}isPanelTransitioning(I){var $;return(null===($=this._activePane)||void 0===$?void 0:$.item)===I}ngAfterViewInit(){var I;this._updateActivePane(),this.nav.navItemChange$.pipe((0,N.R)(this.nav.destroy$),(0,H.O)((null===(I=this._activePane)||void 0===I?void 0:I.item)||null),(0,U.x)(),(0,Se.T)(1)).subscribe($=>{const be={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?xe(this._ngZone,this._activePane.elRef.nativeElement,s4,be).subscribe(()=>{var Re;const dt=null===(Re=this._activePane)||void 0===Re?void 0:Re.item;this._activePane=this._getPaneForItem($),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),xe(this._ngZone,this._activePane.elRef.nativeElement,O3,be).subscribe(()=>{$&&($.shown.emit(),this.nav.shown.emit($.id))})),dt&&(dt.hidden.emit(),this.nav.hidden.emit(dt.id))}):this._updateActivePane()})}_updateActivePane(){var I,$;this._activePane=this._getActivePane(),null===(I=this._activePane)||void 0===I||I.elRef.nativeElement.classList.add("show"),null===($=this._activePane)||void 0===$||$.elRef.nativeElement.classList.add("active")}_getPaneForItem(I){return this._panes&&this._panes.find($=>$.item===I)||null}_getActivePane(){return this._panes&&this._panes.find(I=>I.item.active)||null}}uu.\u0275fac=function(I){return new(I||uu)(n.Y36(n.sBO),n.Y36(n.R0b))},uu.\u0275cmp=n.Xpm({type:uu,selectors:[["","ngbNavOutlet",""]],viewQuery:function(I,$){if(1&I&&n.Gf(Kc,5),2&I){let be;n.iGM(be=n.CRH())&&($._panes=be)}},hostVars:2,hostBindings:function(I,$){2&I&&n.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},attrs:["ngbNavOutlet",""],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(I,$){1&I&&n.YNc(0,ye,1,1,"ng-template",0),2&I&&n.Q6J("ngForOf",$.nav.items)},directives:[i.sg,i.O5,Kc,i.tP],encapsulation:2,changeDetection:0});class m1{}m1.\u0275fac=function(I){return new(I||m1)},m1.\u0275mod=n.oAB({type:m1,declarations:[cd,D1,dd,c2,uu,Kc],imports:[i.ez],exports:[cd,D1,dd,c2,uu,Kc]}),m1.\u0275inj=n.cJS({imports:[[i.ez]]});class d2{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}d2.\u0275fac=function(I){return new(I||d2)},d2.\u0275prov=n.Yz7({token:d2,factory:d2.\u0275fac,providedIn:"root"});class No{constructor(I){this.templateRef=I}}No.\u0275fac=function(I){return new(I||No)(n.Y36(n.Rgc))},No.\u0275dir=n.lG2({type:No,selectors:[["ng-template","ngbPaginationEllipsis",""]]});class u2{constructor(I){this.templateRef=I}}u2.\u0275fac=function(I){return new(I||u2)(n.Y36(n.Rgc))},u2.\u0275dir=n.lG2({type:u2,selectors:[["ng-template","ngbPaginationFirst",""]]});class h2{constructor(I){this.templateRef=I}}h2.\u0275fac=function(I){return new(I||h2)(n.Y36(n.Rgc))},h2.\u0275dir=n.lG2({type:h2,selectors:[["ng-template","ngbPaginationLast",""]]});class Xs{constructor(I){this.templateRef=I}}Xs.\u0275fac=function(I){return new(I||Xs)(n.Y36(n.Rgc))},Xs.\u0275dir=n.lG2({type:Xs,selectors:[["ng-template","ngbPaginationNext",""]]});class f2{constructor(I){this.templateRef=I}}f2.\u0275fac=function(I){return new(I||f2)(n.Y36(n.Rgc))},f2.\u0275dir=n.lG2({type:f2,selectors:[["ng-template","ngbPaginationNumber",""]]});class K1{constructor(I){this.templateRef=I}}K1.\u0275fac=function(I){return new(I||K1)(n.Y36(n.Rgc))},K1.\u0275dir=n.lG2({type:K1,selectors:[["ng-template","ngbPaginationPrevious",""]]});class z2{constructor(I){this.templateRef=I}}z2.\u0275fac=function(I){return new(I||z2)(n.Y36(n.Rgc))},z2.\u0275dir=n.lG2({type:z2,selectors:[["ng-template","ngbPaginationPages",""]]});class rc{constructor(I){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new n.vpe(!0),this.disabled=I.disabled,this.boundaryLinks=I.boundaryLinks,this.directionLinks=I.directionLinks,this.ellipses=I.ellipses,this.maxSize=I.maxSize,this.pageSize=I.pageSize,this.rotate=I.rotate,this.size=I.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(I){this._updatePages(I)}ngOnChanges(I){this._updatePages(this.page)}isEllipsis(I){return-1===I}_applyEllipses(I,$){this.ellipses&&(I>0&&(I>2?this.pages.unshift(-1):2===I&&this.pages.unshift(2),this.pages.unshift(1)),$<this.pageCount&&($<this.pageCount-2?this.pages.push(-1):$===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let I=0,$=this.pageCount,be=Math.floor(this.maxSize/2),Re=this.maxSize%2==0?be-1:be;return this.page<=be?$=this.maxSize:this.pageCount-this.page<be?I=this.pageCount-this.maxSize:(I=this.page-be-1,$=this.page+Re),[I,$]}_applyPagination(){let $=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[$,$+this.maxSize]}_setPageInRange(I){const $=this.page;this.page=ol(I,this.pageCount,1),this.page!==$&&Hr(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(I){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Hr(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let $=1;$<=this.pageCount;$++)this.pages.push($);if(this._setPageInRange(I),this.maxSize>0&&this.pageCount>this.maxSize){let $=0,be=this.pageCount;this.rotate?[$,be]=this._applyRotation():[$,be]=this._applyPagination(),this.pages=this.pages.slice($,be),this._applyEllipses($,be)}}}rc.\u0275fac=function(I){return new(I||rc)(n.Y36(d2))},rc.\u0275cmp=n.Xpm({type:rc,selectors:[["ngb-pagination"]],contentQueries:function(I,$,be){if(1&I&&(n.Suo(be,No,5),n.Suo(be,u2,5),n.Suo(be,h2,5),n.Suo(be,Xs,5),n.Suo(be,f2,5),n.Suo(be,K1,5),n.Suo(be,z2,5)),2&I){let Re;n.iGM(Re=n.CRH())&&($.tplEllipsis=Re.first),n.iGM(Re=n.CRH())&&($.tplFirst=Re.first),n.iGM(Re=n.CRH())&&($.tplLast=Re.first),n.iGM(Re=n.CRH())&&($.tplNext=Re.first),n.iGM(Re=n.CRH())&&($.tplNumber=Re.first),n.iGM(Re=n.CRH())&&($.tplPrevious=Re.first),n.iGM(Re=n.CRH())&&($.tplPages=Re.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},features:[n.TTD],decls:20,vars:12,consts:function(){let ie,I,$,be,Re,dt,Gt,Qt;return ie=$localize`:@@ngb.pagination.first:««`,I=$localize`:@@ngb.pagination.previous:«`,$=$localize`:@@ngb.pagination.next:»`,be=$localize`:@@ngb.pagination.last:»»`,Re=$localize`:@@ngb.pagination.first-aria:First`,dt=$localize`:@@ngb.pagination.previous-aria:Previous`,Gt=$localize`:@@ngb.pagination.next-aria:Next`,Qt=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],ie,I,$,be,["class","visually-hidden",4,"ngIf"],[1,"visually-hidden"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",Re,"href","",1,"page-link",3,"click"],["aria-label",dt,"href","",1,"page-link",3,"click"],["aria-label",Gt,"href","",1,"page-link",3,"click"],["aria-label",Qt,"href","",1,"page-link",3,"click"]]},template:function(I,$){if(1&I&&(n.YNc(0,Xe,2,0,"ng-template",null,0,n.W1O),n.YNc(2,tn,2,0,"ng-template",null,1,n.W1O),n.YNc(4,hi,2,0,"ng-template",null,2,n.W1O),n.YNc(6,zr,2,0,"ng-template",null,3,n.W1O),n.YNc(8,io,1,0,"ng-template",null,4,n.W1O),n.YNc(10,pa,2,2,"ng-template",null,5,n.W1O),n.YNc(12,ja,1,1,"ng-template",null,6,n.W1O),n.TgZ(14,"ul"),n.YNc(15,ml,3,9,"li",7),n.YNc(16,Ea,3,8,"li",7),n.YNc(17,Ls,0,0,"ng-template",8),n.YNc(18,Ll,3,9,"li",7),n.YNc(19,vl,3,9,"li",7),n.qZA()),2&I){const be=n.MAs(13);n.xp6(14),n.Tol("pagination"+($.size?" pagination-"+$.size:"")),n.xp6(1),n.Q6J("ngIf",$.boundaryLinks),n.xp6(1),n.Q6J("ngIf",$.directionLinks),n.xp6(1),n.Q6J("ngTemplateOutlet",(null==$.tplPages?null:$.tplPages.templateRef)||be)("ngTemplateOutletContext",n.kEZ(8,Da,$.page,$.pages,$.disabled)),n.xp6(1),n.Q6J("ngIf",$.directionLinks),n.xp6(1),n.Q6J("ngIf",$.boundaryLinks)}},directives:[i.O5,i.sg,i.tP],encapsulation:2,changeDetection:0});class xl{}xl.\u0275fac=function(I){return new(I||xl)},xl.\u0275mod=n.oAB({type:xl,declarations:[rc,No,u2,h2,Xs,f2,K1,z2],imports:[i.ez],exports:[rc,No,u2,h2,Xs,f2,K1,z2]}),xl.\u0275inj=n.cJS({imports:[[i.ez]]});class Z1{constructor(I,$){this.open=I,this.close=$,$||(this.close=I)}isManual(){return"manual"===this.open||"manual"===this.close}}const Pd={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};const s3=ie=>ie>0?(0,pe.g)(ie):I=>I;function Rd(ie,I,$,be,Re,dt,Gt=0,Qt=0){const sn=function zd(ie,I=Pd){const $=(ie||"").trim();if(0===$.length)return[];const be=$.split(/\s+/).map(dt=>dt.split(":")).map(dt=>{let Gt=I[dt[0]]||dt;return new Z1(Gt[0],Gt[1])}),Re=be.filter(dt=>dt.isManual());if(Re.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Re.length&&be.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return be}($);if(1===sn.length&&sn[0].isManual())return()=>{};const Vn=function go(ie,I,$,be){return new P.y(Re=>{const dt=[],Gt=()=>Re.next(!0),Qt=()=>Re.next(!1),sn=()=>Re.next(!be());return $.forEach(Vn=>{Vn.open===Vn.close?dt.push(ie.listen(I,Vn.open,sn)):dt.push(ie.listen(I,Vn.open,Gt),ie.listen(I,Vn.close,Qt))}),()=>{dt.forEach(Vn=>Vn())}})}(ie,I,sn,be).pipe(function l4(ie,I,$){return be=>{let Re=null;const dt=be.pipe((0,O.U)(sn=>({open:sn})),(0,S.h)(sn=>{const Vn=$();return Vn===sn.open||Re&&Re.open!==Vn?(Re&&Re.open!==sn.open&&(Re=null),!1):(Re=sn,!0)}),(0,De.B)()),Gt=dt.pipe((0,S.h)(sn=>sn.open),s3(ie)),Qt=dt.pipe((0,S.h)(sn=>!sn.open),s3(I));return(0,z.T)(Gt,Qt).pipe((0,S.h)(sn=>sn===Re&&(Re=null,sn.open!==$())),(0,O.U)(sn=>sn.open))}}(Gt,Qt,be)).subscribe(ni=>ni?Re():dt());return()=>Vn.unsubscribe()}class fu{constructor(I){this._ngbConfig=I,this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}fu.\u0275fac=function(I){return new(I||fu)(n.LFG(Tt))},fu.\u0275prov=n.Yz7({token:fu,factory:fu.\u0275fac,providedIn:"root"});let Bu=0;class Nd{isTitleTemplate(){return this.title instanceof n.Rgc}}Nd.\u0275fac=function(I){return new(I||Nd)},Nd.\u0275cmp=n.Xpm({type:Nd,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(I,$){2&I&&(n.Ikx("id",$.id),n.Tol("popover"+($.popoverClass?" "+$.popoverClass:"")),n.ekj("fade",$.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:Wt,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(I,$){1&I&&(n.F$t(),n._UZ(0,"div",0),n.YNc(1,Rs,4,2,"h3",1),n.TgZ(2,"div",2),n.Hsn(3),n.qZA()),2&I&&(n.xp6(1),n.Q6J("ngIf",$.title))},directives:[i.O5,i.tP],encapsulation:2,changeDetection:0});class Cl{constructor(I,$,be,Re,dt,Gt,Qt,sn,Vn){this._elementRef=I,this._renderer=$,this._ngZone=Gt,this._document=Qt,this._changeDetector=sn,this.shown=new n.vpe,this.hidden=new n.vpe,this._ngbPopoverWindowId="ngb-popover-"+Bu++,this._windowRef=null,this._positioning=As(),this.animation=dt.animation,this.autoClose=dt.autoClose,this.placement=dt.placement,this.triggers=dt.triggers,this.container=dt.container,this.disablePopover=dt.disablePopover,this.popoverClass=dt.popoverClass,this.openDelay=dt.openDelay,this.closeDelay=dt.closeDelay,this._popupService=new Nu(Nd,be,Re,$,this._ngZone,Vn)}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(I){if(!this._windowRef&&!this._isDisabled()){const{windowRef:$,transition$:be}=this._popupService.open(this.ngbPopover,I,this.animation);this._windowRef=$,this._windowRef.instance.animation=this.animation,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=I,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:ea([0,8])}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Ya(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),be.subscribe(()=>this.shown.emit())}}close(I=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(I).subscribe(()=>{var $;this._windowRef=null,this._positioning.destroy(),null===($=this._zoneSubscription)||void 0===$||$.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Rd(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:I,popoverTitle:$,disablePopover:be,popoverClass:Re}){Re&&this.isOpen()&&(this._windowRef.instance.popoverClass=Re.currentValue),(I||$||be)&&this._isDisabled()&&this.close()}ngOnDestroy(){var I;this.close(!1),null===(I=this._unregisterListenersFn)||void 0===I||I.call(this)}}Cl.\u0275fac=function(I){return new(I||Cl)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.zs3),n.Y36(n.s_b),n.Y36(fu),n.Y36(n.R0b),n.Y36(i.K0),n.Y36(n.sBO),n.Y36(n.z2F))},Cl.\u0275dir=n.lG2({type:Cl,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[n.TTD]});class Nc{}Nc.\u0275fac=function(I){return new(I||Nc)},Nc.\u0275mod=n.oAB({type:Nc,declarations:[Cl,Nd],imports:[i.ez],exports:[Cl]}),Nc.\u0275inj=n.cJS({imports:[[i.ez]]});class ud{constructor(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}}ud.\u0275fac=function(I){return new(I||ud)},ud.\u0275prov=n.Yz7({token:ud,factory:ud.\u0275fac,providedIn:"root"});class hd{constructor(I){this.value=0,this.max=I.max,this.animated=I.animated,this.striped=I.striped,this.textType=I.textType,this.type=I.type,this.showValue=I.showValue,this.height=I.height}set max(I){this._max=!Hr(I)||I<=0?100:I}get max(){return this._max}getValue(){return ol(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}hd.\u0275fac=function(I){return new(I||hd)(n.Y36(ud))},hd.\u0275cmp=n.Xpm({type:hd,selectors:[["ngb-progressbar"]],hostAttrs:[1,"progress"],hostVars:2,hostBindings:function(I,$){2&I&&n.Udp("height",$.height)},inputs:{max:"max",animated:"animated",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},ngContentSelectors:Wt,decls:3,vars:11,consts:function(){let ie;return ie=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["role","progressbar","aria-valuemin","0"],[4,"ngIf"],ie]},template:function(I,$){1&I&&(n.F$t(),n.TgZ(0,"div",0),n.YNc(1,u1,3,3,"span",1),n.Hsn(2),n.qZA()),2&I&&(n.DjV("progress-bar",$.type?" bg-"+$.type:"","",$.textType?" text-"+$.textType:"","\n    ",$.animated?" progress-bar-animated":"","",$.striped?" progress-bar-striped":"",""),n.Udp("width",$.getPercentValue(),"%"),n.uIk("aria-valuenow",$.getValue())("aria-valuemax",$.max),n.xp6(1),n.Q6J("ngIf",$.showValue))},directives:[i.O5],pipes:[i.Zx],encapsulation:2,changeDetection:0});class Hc{}Hc.\u0275fac=function(I){return new(I||Hc)},Hc.\u0275mod=n.oAB({type:Hc,declarations:[hd],imports:[i.ez],exports:[hd]}),Hc.\u0275inj=n.cJS({imports:[[i.ez]]});class Hd{constructor(){this.max=10,this.readonly=!1,this.resettable=!1}}Hd.\u0275fac=function(I){return new(I||Hd)},Hd.\u0275prov=n.Yz7({token:Hd,factory:Hd.\u0275fac,providedIn:"root"});class Tc{constructor(I,$){this._changeDetectorRef=$,this.contexts=[],this.disabled=!1,this.hover=new n.vpe,this.leave=new n.vpe,this.rateChange=new n.vpe(!0),this.onChange=be=>{},this.onTouched=()=>{},this.max=I.max,this.readonly=I.readonly}ariaValueText(){return`${this.nextRate} out of ${this.max}`}isInteractive(){return!this.readonly&&!this.disabled}enter(I){this.isInteractive()&&this._updateState(I),this.hover.emit(I)}handleBlur(){this.onTouched()}handleClick(I){this.isInteractive()&&this.update(this.resettable&&this.rate===I?0:I)}handleKeyDown(I){switch(I.which){case Is.ArrowDown:case Is.ArrowLeft:this.update(this.rate-1);break;case Is.ArrowUp:case Is.ArrowRight:this.update(this.rate+1);break;case Is.Home:this.update(0);break;case Is.End:this.update(this.max);break;default:return}I.preventDefault()}ngOnChanges(I){I.rate&&this.update(this.rate),I.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(I){this.disabled=I}update(I,$=!0){const be=ol(I,this.max,0);this.isInteractive()&&this.rate!==be&&(this.rate=be,this.rateChange.emit(this.rate)),$&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(I){this.update(I,!1),this._changeDetectorRef.markForCheck()}_updateState(I){this.nextRate=I,this.contexts.forEach(($,be)=>$.fill=Math.round(100*ol(I-be,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(I,$)=>({fill:0,index:$}))}}Tc.\u0275fac=function(I){return new(I||Tc)(n.Y36(Hd),n.Y36(n.sBO))},Tc.\u0275cmp=n.Xpm({type:Tc,selectors:[["ngb-rating"]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,n.Rgc,5),2&I){let Re;n.iGM(Re=n.CRH())&&($.starTemplateFromContent=Re.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(I,$){1&I&&n.NdJ("blur",function(){return $.handleBlur()})("keydown",function(Re){return $.handleKeyDown(Re)})("mouseleave",function(){return $.reset()}),2&I&&(n.Ikx("tabindex",$.disabled?-1:0),n.uIk("aria-valuemax",$.max)("aria-valuenow",$.nextRate)("aria-valuetext",$.ariaValueText())("aria-disabled",!!$.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>Tc),multi:!0}]),n.TTD],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(I,$){1&I&&(n.YNc(0,oa,1,1,"ng-template",null,0,n.W1O),n.YNc(2,Ia,4,5,"ng-template",1)),2&I&&(n.xp6(2),n.Q6J("ngForOf",$.contexts))},directives:[i.sg,i.tP],encapsulation:2,changeDetection:0});class Yl{}Yl.\u0275fac=function(I){return new(I||Yl)},Yl.\u0275mod=n.oAB({type:Yl,declarations:[Tc],imports:[i.ez],exports:[Tc]}),Yl.\u0275inj=n.cJS({imports:[[i.ez]]});class ju{constructor(I,$,be){this.hour=ts(I),this.minute=ts($),this.second=ts(be)}changeHour(I=1){this.updateHour((isNaN(this.hour)?0:this.hour)+I)}updateHour(I){Hr(I)?this.hour=(I<0?24+I:I)%24:this.hour=NaN}changeMinute(I=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+I)}updateMinute(I){Hr(I)?(this.minute=I%60<0?60+I%60:I%60,this.changeHour(Math.floor(I/60))):this.minute=NaN}changeSecond(I=1){this.updateSecond((isNaN(this.second)?0:this.second)+I)}updateSecond(I){Hr(I)?(this.second=I<0?60+I%60:I%60,this.changeMinute(Math.floor(I/60))):this.second=NaN}isValid(I=!0){return Hr(this.hour)&&Hr(this.minute)&&(!I||Hr(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}class fc{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}fc.\u0275fac=function(I){return new(I||fc)},fc.\u0275prov=n.Yz7({token:fc,factory:fc.\u0275fac,providedIn:"root"});class Sc{}Sc.\u0275fac=function(I){return new(I||Sc)},Sc.\u0275prov=n.Yz7({token:Sc,factory:function(){return function wl(){return new I1}()},providedIn:"root"});class I1 extends Sc{fromModel(I){return I&&Ji(I.hour)&&Ji(I.minute)?{hour:I.hour,minute:I.minute,second:Ji(I.second)?I.second:null}:null}toModel(I){return I&&Ji(I.hour)&&Ji(I.minute)?{hour:I.hour,minute:I.minute,second:Ji(I.second)?I.second:null}:null}}I1.\u0275fac=function(){let ie;return function($){return(ie||(ie=n.n5z(I1)))($||I1)}}(),I1.\u0275prov=n.Yz7({token:I1,factory:I1.\u0275fac});class Bd{}Bd.\u0275fac=function(I){return new(I||Bd)},Bd.\u0275prov=n.Yz7({token:Bd,factory:function(I){let $=null;return $=I?new I:function a3(ie){return new p2(ie)}(n.LFG(n.soG)),$},providedIn:"root"});class p2 extends Bd{constructor(I){super(),this._periods=(0,i.ol)(I,i.x.Standalone,i.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}p2.\u0275fac=function(I){return new(I||p2)(n.LFG(n.soG))},p2.\u0275prov=n.Yz7({token:p2,factory:p2.\u0275fac});const fd=/[^0-9]/g;class Zc{constructor(I,$,be,Re){this._config=I,this._ngbTimeAdapter=$,this._cd=be,this.i18n=Re,this.onChange=dt=>{},this.onTouched=()=>{},this.meridian=I.meridian,this.spinners=I.spinners,this.seconds=I.seconds,this.hourStep=I.hourStep,this.minuteStep=I.minuteStep,this.secondStep=I.secondStep,this.disabled=I.disabled,this.readonlyInputs=I.readonlyInputs,this.size=I.size}set hourStep(I){this._hourStep=Ji(I)?I:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(I){this._minuteStep=Ji(I)?I:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(I){this._secondStep=Ji(I)?I:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(I){const $=this._ngbTimeAdapter.fromModel(I);this.model=$?new ju($.hour,$.minute,$.second):new ju,!this.seconds&&(!$||!Hr($.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(I){this.onChange=I}registerOnTouched(I){this.onTouched=I}setDisabledState(I){this.disabled=I}changeHour(I){this.model.changeHour(I),this.propagateModelChange()}changeMinute(I){this.model.changeMinute(I),this.propagateModelChange()}changeSecond(I){this.model.changeSecond(I),this.propagateModelChange()}updateHour(I){const $=this.model.hour>=12,be=ts(I);this.meridian&&($&&be<12||!$&&12===be)?this.model.updateHour(be+12):this.model.updateHour(be),this.propagateModelChange()}updateMinute(I){this.model.updateMinute(ts(I)),this.propagateModelChange()}updateSecond(I){this.model.updateSecond(ts(I)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(I){I.value=I.value.replace(fd,"")}formatHour(I){return Hr(I)?this.meridian?Es(I%12==0?12:I%12):Es(I%24):Es(NaN)}formatMinSec(I){return Es(Hr(I)?I:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(I){I.seconds&&!this.seconds&&this.model&&!Hr(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(I=!0){I&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}Zc.\u0275fac=function(I){return new(I||Zc)(n.Y36(fc),n.Y36(Sc),n.Y36(n.sBO),n.Y36(Bd))},Zc.\u0275cmp=n.Xpm({type:Zc,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>Zc),multi:!0}]),n.TTD],decls:16,vars:25,consts:function(){let ie,I,$,be,Re,dt,Gt,Qt,sn,Vn,ni,Di,sr,dr;return ie=$localize`:@@ngb.timepicker.HH:HH`,I=$localize`:@@ngb.timepicker.hours:Hours`,$=$localize`:@@ngb.timepicker.MM:MM`,be=$localize`:@@ngb.timepicker.minutes:Minutes`,Re=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,dt=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,Gt=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,Qt=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,sn=$localize`:@@ngb.timepicker.SS:SS`,Vn=$localize`:@@ngb.timepicker.seconds:Seconds`,ni=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,Di=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,sr=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,dr=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",ie,"aria-label",I,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",$,"aria-label",be,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],Re,[1,"chevron","ngb-tp-chevron","bottom"],dt,Gt,Qt,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",sn,"aria-label",Vn,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],ni,Di,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],sr,dr]},template:function(I,$){1&I&&(n.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),n.YNc(3,Fl,4,7,"button",3),n.TgZ(4,"input",4),n.NdJ("change",function(Re){return $.updateHour(Re.target.value)})("blur",function(){return $.handleBlur()})("input",function(Re){return $.formatInput(Re.target)})("keydown.ArrowUp",function(Re){return $.changeHour($.hourStep),Re.preventDefault()})("keydown.ArrowDown",function(Re){return $.changeHour(-$.hourStep),Re.preventDefault()}),n.qZA(),n.YNc(5,Kl,4,7,"button",3),n.qZA(),n.TgZ(6,"div",5),n._uU(7,":"),n.qZA(),n.TgZ(8,"div",6),n.YNc(9,jt,4,7,"button",3),n.TgZ(10,"input",7),n.NdJ("change",function(Re){return $.updateMinute(Re.target.value)})("blur",function(){return $.handleBlur()})("input",function(Re){return $.formatInput(Re.target)})("keydown.ArrowUp",function(Re){return $.changeMinute($.minuteStep),Re.preventDefault()})("keydown.ArrowDown",function(Re){return $.changeMinute(-$.minuteStep),Re.preventDefault()}),n.qZA(),n.YNc(11,Ie,4,7,"button",3),n.qZA(),n.YNc(12,Ze,2,0,"div",8),n.YNc(13,Oi,4,9,"div",9),n.YNc(14,cr,1,0,"div",8),n.YNc(15,un,5,9,"div",10),n.qZA()()),2&I&&(n.ekj("disabled",$.disabled),n.Q6J("disabled",$.disabled),n.xp6(3),n.Q6J("ngIf",$.spinners),n.xp6(1),n.ekj("form-control-sm",$.isSmallSize)("form-control-lg",$.isLargeSize),n.Q6J("value",$.formatHour(null==$.model?null:$.model.hour))("readOnly",$.readonlyInputs)("disabled",$.disabled),n.xp6(1),n.Q6J("ngIf",$.spinners),n.xp6(4),n.Q6J("ngIf",$.spinners),n.xp6(1),n.ekj("form-control-sm",$.isSmallSize)("form-control-lg",$.isLargeSize),n.Q6J("value",$.formatMinSec(null==$.model?null:$.model.minute))("readOnly",$.readonlyInputs)("disabled",$.disabled),n.xp6(1),n.Q6J("ngIf",$.spinners),n.xp6(1),n.Q6J("ngIf",$.seconds),n.xp6(1),n.Q6J("ngIf",$.seconds),n.xp6(1),n.Q6J("ngIf",$.meridian),n.xp6(1),n.Q6J("ngIf",$.meridian))},directives:[i.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2});class X1{}X1.\u0275fac=function(I){return new(I||X1)},X1.\u0275mod=n.oAB({type:X1,declarations:[Zc],imports:[i.ez],exports:[Zc]}),X1.\u0275inj=n.cJS({imports:[[i.ez]]});const jd=(ie,I)=>{const{classList:$}=ie;if(I)return $.remove("hide"),$r(ie),$.add("showing"),()=>{$.remove("showing"),$.add("show")};$.add("show")},q4=({classList:ie})=>(ie.remove("show"),()=>{ie.add("hide")});class Fd{constructor(I){this._ngbConfig=I,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}Fd.\u0275fac=function(I){return new(I||Fd)(n.LFG(Tt))},Fd.\u0275prov=n.Yz7({token:Fd,factory:Fd.\u0275fac,providedIn:"root"});class A1{}A1.\u0275fac=function(I){return new(I||A1)},A1.\u0275dir=n.lG2({type:A1,selectors:[["","ngbToastHeader",""]]});class pd{constructor(I,$,be,Re){this.ariaLive=I,this._zone=be,this._element=Re,this.contentHeaderTpl=null,this.shown=new n.vpe,this.hidden=new n.vpe,null==this.ariaLive&&(this.ariaLive=$.ariaLive),this.delay=$.delay,this.autohide=$.autohide,this.animation=$.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(I){"autohide"in I&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const I=xe(this._zone,this._element.nativeElement,q4,{animation:this.animation,runningTransition:"stop"});return I.subscribe(()=>{this.hidden.emit()}),I}show(){const I=xe(this._zone,this._element.nativeElement,jd,{animation:this.animation,runningTransition:"continue"});return I.subscribe(()=>{this.shown.emit()}),I}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}pd.\u0275fac=function(I){return new(I||pd)(n.$8M("aria-live"),n.Y36(Fd),n.Y36(n.R0b),n.Y36(n.SBq))},pd.\u0275cmp=n.Xpm({type:pd,selectors:[["ngb-toast"]],contentQueries:function(I,$,be){if(1&I&&n.Suo(be,A1,7,n.Rgc),2&I){let Re;n.iGM(Re=n.CRH())&&($.contentHeaderTpl=Re.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(I,$){2&I&&(n.uIk("aria-live",$.ariaLive),n.ekj("fade",$.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],features:[n.TTD],ngContentSelectors:Wt,decls:5,vars:1,consts:function(){let ie;return ie=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",ie,1,"btn-close",3,"click"]]},template:function(I,$){1&I&&(n.F$t(),n.YNc(0,Wn,2,1,"ng-template",null,0,n.W1O),n.YNc(2,Wi,3,1,"ng-template",1),n.TgZ(3,"div",2),n.Hsn(4),n.qZA()),2&I&&(n.xp6(2),n.Q6J("ngIf",$.contentHeaderTpl||$.header))},directives:[i.O5,i.tP],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2});class J1{}J1.\u0275fac=function(I){return new(I||J1)},J1.\u0275mod=n.oAB({type:J1,declarations:[pd,A1],imports:[i.ez],exports:[pd,A1]}),J1.\u0275inj=n.cJS({imports:[[i.ez]]});class g2{constructor(I){this._ngbConfig=I,this.autoClose=!0,this.placement="auto",this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}g2.\u0275fac=function(I){return new(I||g2)(n.LFG(Tt))},g2.\u0275prov=n.Yz7({token:g2,factory:g2.\u0275fac,providedIn:"root"});let l3=0;class R2{}R2.\u0275fac=function(I){return new(I||R2)},R2.\u0275cmp=n.Xpm({type:R2,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(I,$){2&I&&(n.Ikx("id",$.id),n.Tol("tooltip"+($.tooltipClass?" "+$.tooltipClass:"")),n.ekj("fade",$.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},ngContentSelectors:Wt,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(I,$){1&I&&(n.F$t(),n._UZ(0,"div",0),n.TgZ(1,"div",1),n.Hsn(2),n.qZA())},encapsulation:2,changeDetection:0});class O1{constructor(I,$,be,Re,dt,Gt,Qt,sn,Vn){this._elementRef=I,this._renderer=$,this._ngZone=Gt,this._document=Qt,this._changeDetector=sn,this.shown=new n.vpe,this.hidden=new n.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+l3++,this._windowRef=null,this._positioning=As(),this.animation=dt.animation,this.autoClose=dt.autoClose,this.placement=dt.placement,this.triggers=dt.triggers,this.container=dt.container,this.disableTooltip=dt.disableTooltip,this.tooltipClass=dt.tooltipClass,this.openDelay=dt.openDelay,this.closeDelay=dt.closeDelay,this._popupService=new Nu(R2,be,Re,$,this._ngZone,Vn)}set ngbTooltip(I){this._ngbTooltip=I,!I&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(I){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:$,transition$:be}=this._popupService.open(this._ngbTooltip,I,this.animation);this._windowRef=$,this._windowRef.instance.animation=this.animation,this._windowRef.instance.tooltipClass=this.tooltipClass,this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip"}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),Ya(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),be.subscribe(()=>this.shown.emit())}}close(I=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(I).subscribe(()=>{var $;this._windowRef=null,this._positioning.destroy(),null===($=this._zoneSubscription)||void 0===$||$.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=Rd(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:I}){I&&this.isOpen()&&(this._windowRef.instance.tooltipClass=I.currentValue)}ngOnDestroy(){var I;this.close(!1),null===(I=this._unregisterListenersFn)||void 0===I||I.call(this)}}O1.\u0275fac=function(I){return new(I||O1)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.zs3),n.Y36(n.s_b),n.Y36(g2),n.Y36(n.R0b),n.Y36(i.K0),n.Y36(n.sBO),n.Y36(n.z2F))},O1.\u0275dir=n.lG2({type:O1,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],features:[n.TTD]});class Ga{}Ga.\u0275fac=function(I){return new(I||Ga)},Ga.\u0275mod=n.oAB({type:Ga,declarations:[O1,R2],exports:[O1]}),Ga.\u0275inj=n.cJS({});class N2{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(I){!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 $=rl(this.result),be=Array.isArray(this.term)?this.term:[this.term],Re=sn=>this.accentSensitive?sn:Ks(sn),dt=be.map(sn=>function _l(ie){return ie.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(Re(rl(sn)))).filter(sn=>sn),Gt=this.accentSensitive?$:Ks($),Qt=dt.length?Gt.split(new RegExp(`(${dt.join("|")})`,"gmi")):[$];if(this.accentSensitive)this.parts=Qt;else{let sn=0;this.parts=Qt.map(Vn=>$.substring(sn,sn+=Vn.length))}}}N2.\u0275fac=function(I){return new(I||N2)},N2.\u0275cmp=n.Xpm({type:N2,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},features:[n.TTD],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(I,$){1&I&&n.YNc(0,eo,3,2,"ng-template",0),2&I&&n.Q6J("ngForOf",$.parts)},directives:[i.sg,i.O5],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0});class pu{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=rl,this.selectEvent=new n.vpe,this.activeChangeEvent=new n.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(I){this.activeIdx=I,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(I){this.selectEvent.emit(I)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}pu.\u0275fac=function(I){return new(I||pu)},pu.\u0275cmp=n.Xpm({type:pu,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(I,$){1&I&&n.NdJ("mousedown",function(Re){return Re.preventDefault()}),2&I&&(n.Ikx("id",$.id),n.Tol("dropdown-menu show"+($.popupClass?" "+$.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(I,$){1&I&&(n.YNc(0,Ao,1,2,"ng-template",null,0,n.W1O),n.YNc(2,Fa,2,9,"ng-template",1)),2&I&&(n.xp6(2),n.Q6J("ngForOf",$.results))},directives:[N2,i.sg,i.tP],encapsulation:2});class Xc{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"]}}Xc.\u0275fac=function(I){return new(I||Xc)},Xc.\u0275prov=n.Yz7({token:Xc,factory:Xc.\u0275fac,providedIn:"root"});const Fu=new n.OlP("live announcer delay",{providedIn:"root",factory:function H2(){return 100}});function oc(ie,I=!1){let $=ie.body.querySelector("#ngb-live");return null==$&&I&&($=ie.createElement("div"),$.setAttribute("id","ngb-live"),$.setAttribute("aria-live","polite"),$.setAttribute("aria-atomic","true"),$.classList.add("visually-hidden"),ie.body.appendChild($)),$}class B2{constructor(I,$){this._document=I,this._delay=$}ngOnDestroy(){const I=oc(this._document);I&&I.parentElement.removeChild(I)}say(I){const $=oc(this._document,!0),be=this._delay;if(null!=$){$.textContent="";const Re=()=>$.textContent=I;null===be?Re():setTimeout(Re,be)}}}B2.\u0275fac=function(I){return new(I||B2)(n.LFG(i.K0),n.LFG(Fu))},B2.\u0275prov=n.Yz7({token:B2,factory:B2.\u0275fac,providedIn:"root"});let gu=0;class gd{constructor(I,$,be,Re,dt,Gt,Qt,sn,Vn,ni,Di){this._elementRef=I,this._renderer=be,this._live=Qt,this._document=sn,this._ngZone=Vn,this._changeDetector=ni,this._subscription=null,this._closed$=new o.xQ,this._inputValueBackup=null,this._windowRef=null,this._positioning=As(),this.autocomplete="off",this.placement="bottom-start",this.selectItem=new n.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+gu++,this._onTouched=()=>{},this._onChange=sr=>{},this.container=dt.container,this.editable=dt.editable,this.focusFirst=dt.focusFirst,this.showHint=dt.showHint,this.placement=dt.placement,this._valueChanges=(0,h.R)(I.nativeElement,"input").pipe((0,O.U)(sr=>sr.target.value)),this._resubscribeTypeahead=new x.X(null),this._popupService=new Nu(pu,Re,$,be,this._ngZone,Di)}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:I}){I&&!I.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(I){this._onChange=I}registerOnTouched(I){this._onTouched=I}writeValue(I){this._writeInputValue(this._formatItemForInput(I)),this.showHint&&(this._inputValueBackup=I)}setDisabledState(I){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",I)}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(I){if(this.isPopupOpen())switch(I.which){case Is.ArrowDown:I.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case Is.ArrowUp:I.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case Is.Enter:case Is.Tab:{const $=this._windowRef.instance.getActive();El($)&&(I.preventDefault(),I.stopPropagation(),this._selectResult($)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:I}=this._popupService.open();this._windowRef=I,this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe($=>this._selectResultClosePopup($)),this._windowRef.instance.activeChangeEvent.subscribe($=>this.activeDescendant=$),this._windowRef.instance.popupClass=this.popupClass,"body"===this.container&&(this._renderer.setStyle(this._windowRef.location.nativeElement,"z-index","1055"),this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:ea([0,2])}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),Ya(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{var I;this._positioning.destroy(),null===(I=this._zoneSubscription)||void 0===I||I.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(I){let $=!1;this.selectItem.emit({item:I,preventDefault:()=>{$=!0}}),this._resubscribeTypeahead.next(null),$||(this.writeValue(I),this._onChange(I))}_selectResultClosePopup(I){this._selectResult(I),this._closePopup()}_showHint(){var I;if(this.showHint&&(null===(I=this._windowRef)||void 0===I?void 0:I.instance.hasActive())&&null!=this._inputValueBackup){const $=this._inputValueBackup.toLowerCase(),be=this._formatItemForInput(this._windowRef.instance.getActive());$===be.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+be.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,be.length])):this._writeInputValue(be)}}_formatItemForInput(I){return null!=I&&this.inputFormatter?this.inputFormatter(I):rl(I)}_writeInputValue(I){this._renderer.setProperty(this._elementRef.nativeElement,"value",rl(I))}_subscribeToUserInput(){const I=this._valueChanges.pipe((0,W.b)($=>{this._inputValueBackup=this.showHint?$:null,this._onChange(this.editable?$:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,s.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,X.w)(()=>I)).subscribe($=>{$&&0!==$.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=$,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const be=$?$.length:0;this._live.say(0===be?"No results available":`${be} result${1===be?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}gd.\u0275fac=function(I){return new(I||gd)(n.Y36(n.SBq),n.Y36(n.s_b),n.Y36(n.Qsj),n.Y36(n.zs3),n.Y36(Xc),n.Y36(n.R0b),n.Y36(B2),n.Y36(i.K0),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(n.z2F))},gd.\u0275dir=n.lG2({type:gd,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(I,$){1&I&&n.NdJ("blur",function(){return $.handleBlur()})("keydown",function(Re){return $.handleKeyDown(Re)}),2&I&&(n.Ikx("autocomplete",$.autocomplete),n.uIk("aria-autocomplete",$.showHint?"both":"list")("aria-activedescendant",$.activeDescendant)("aria-owns",$.isPopupOpen()?$.popupId:null)("aria-expanded",$.isPopupOpen()),n.ekj("open",$.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",showHint:"showHint",placement:"placement",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[n._Bn([{provide:rt.JU,useExisting:(0,n.Gpc)(()=>gd),multi:!0}]),n.TTD]});class md{}var vd;md.\u0275fac=function(I){return new(I||md)},md.\u0275mod=n.oAB({type:md,declarations:[gd,N2,pu],imports:[i.ez],exports:[gd,N2]}),md.\u0275inj=n.cJS({imports:[[i.ez]]}),function(ie){ie[ie.BACKDROP_CLICK=0]="BACKDROP_CLICK",ie[ie.ESC=1]="ESC"}(vd||(vd={}));class P1{constructor(I,$){this._el=I,this._zone=$,this.dismissEvent=new n.vpe}ngOnInit(){this._zone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{xe(this._zone,this._el.nativeElement,(I,$)=>{$&&$r(I),I.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return xe(this._zone,this._el.nativeElement,({classList:I})=>I.remove("show"),{animation:this.animation,runningTransition:"stop"})}dismiss(){this.dismissEvent.emit(vd.BACKDROP_CLICK)}}P1.\u0275fac=function(I){return new(I||P1)(n.Y36(n.SBq),n.Y36(n.R0b))},P1.\u0275cmp=n.Xpm({type:P1,selectors:[["ngb-offcanvas-backdrop"]],hostVars:6,hostBindings:function(I,$){1&I&&n.NdJ("mousedown",function(){return $.dismiss()}),2&I&&(n.Tol("offcanvas-backdrop"+($.backdropClass?" "+$.backdropClass:"")),n.ekj("show",!$.animation)("fade",$.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},outputs:{dismissEvent:"dismiss"},decls:0,vars:0,template:function(I,$){},encapsulation:2});class _d{constructor(I,$,be){this._document=I,this._elRef=$,this._zone=be,this._closed$=new o.xQ,this._elWithFocus=null,this.keyboard=!0,this.position="start",this.dismissEvent=new n.vpe,this.shown=new o.xQ,this.hidden=new o.xQ}dismiss(I){this.dismissEvent.emit(I)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,E.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:I}=this._elRef,$={animation:this.animation,runningTransition:"stop"},be=xe(this._zone,this._elRef.nativeElement,Re=>(I.classList.remove("show"),()=>Re.style.visibility="hidden"),$);return be.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),be}_show(){const I={animation:this.animation,runningTransition:"continue"};xe(this._zone,this._elRef.nativeElement,(be,Re)=>{Re&&$r(be),be.classList.add("show"),be.style.visibility="visible"},I).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:I}=this._elRef;this._zone.runOutsideAngular(()=>{(0,h.R)(I,"keydown").pipe((0,N.R)(this._closed$),(0,S.h)($=>$.which===Is.Escape)).subscribe($=>{this.keyboard&&requestAnimationFrame(()=>{$.defaultPrevented||this._zone.run(()=>this.dismiss(vd.ESC))})})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:I}=this._elRef;if(!I.contains(document.activeElement)){const $=I.querySelector("[ngbAutofocus]"),be=au(I)[0];($||be||I).focus()}}_restoreFocus(){const I=this._document.body,$=this._elWithFocus;let be;be=$&&$.focus&&I.contains($)?$:I,this._zone.runOutsideAngular(()=>{setTimeout(()=>be.focus()),this._elWithFocus=null})}}_d.\u0275fac=function(I){return new(I||_d)(n.Y36(i.K0),n.Y36(n.SBq),n.Y36(n.R0b))},_d.\u0275cmp=n.Xpm({type:_d,selectors:[["ngb-offcanvas-panel"]],hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(I,$){2&I&&(n.uIk("aria-modal",!0)("aria-labelledby",$.ariaLabelledBy)("aria-describedby",$.ariaDescribedBy),n.Tol("offcanvas offcanvas-"+$.position+($.panelClass?" "+$.panelClass:"")))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",keyboard:"keyboard",panelClass:"panelClass",position:"position"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:Wt,decls:1,vars:0,template:function(I,$){1&I&&(n.F$t(),n.Hsn(0))},encapsulation:2});class c4{close(I){}dismiss(I){}}class vs{constructor(I,$,be,Re){this._panelCmptRef=I,this._contentRef=$,this._backdropCmptRef=be,this._beforeDismiss=Re,this._closed=new o.xQ,this._dismissed=new o.xQ,this._hidden=new o.xQ,I.instance.dismissEvent.subscribe(dt=>{this.dismiss(dt)}),be&&be.instance.dismissEvent.subscribe(dt=>{this.dismiss(dt)}),this.result=new Promise((dt,Gt)=>{this._resolve=dt,this._reject=Gt}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,N.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,N.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._panelCmptRef.instance.shown.asObservable()}close(I){this._panelCmptRef&&(this._closed.next(I),this._resolve(I),this._removeOffcanvasElements())}_dismiss(I){this._dismissed.next(I),this._reject(I),this._removeOffcanvasElements()}dismiss(I){if(this._panelCmptRef)if(this._beforeDismiss){const $=this._beforeDismiss();Zl($)?$.then(be=>{!1!==be&&this._dismiss(I)},()=>{}):!1!==$&&this._dismiss(I)}else this._dismiss(I)}_removeOffcanvasElements(){const I=this._panelCmptRef.instance.hide(),$=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,s.of)(void 0);I.subscribe(()=>{const{nativeElement:be}=this._panelCmptRef.location;be.parentNode.removeChild(be),this._panelCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._panelCmptRef=null,this._contentRef=null}),$.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:be}=this._backdropCmptRef.location;be.parentNode.removeChild(be),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),(0,w.$R)(I,$).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}class j2{constructor(I,$,be,Re,dt){this._applicationRef=I,this._injector=$,this._document=be,this._scrollBar=Re,this._ngZone=dt,this._activePanelCmptHasChanged=new o.xQ,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._panelAttributes=["animation","ariaDescribedBy","ariaLabelledBy","keyboard","panelClass","position"],this._activeInstance=new n.vpe,this._activePanelCmptHasChanged.subscribe(()=>{this._panelCmpt&&Q2(this._ngZone,this._panelCmpt.location.nativeElement,this._activePanelCmptHasChanged)})}_restoreScrollBar(){const I=this._scrollBarRestoreFn;I&&(this._scrollBarRestoreFn=null,I())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(I,$,be,Re){const dt=Re.container instanceof HTMLElement?Re.container:El(Re.container)?this._document.querySelector(Re.container):this._document.body;if(!dt)throw new Error(`The specified offcanvas container "${Re.container||"body"}" was not found in the DOM.`);Re.scroll||this._hideScrollBar();const Gt=new c4,Qt=this._getContentRef(I,Re.injector||$,be,Gt);let sn=!1!==Re.backdrop?this._attachBackdrop(I,dt):void 0,Vn=this._attachWindowComponent(I,dt,Qt),ni=new vs(Vn,Qt,sn,Re.beforeDismiss);return this._registerOffcanvasRef(ni),this._registerPanelCmpt(Vn),ni.hidden.pipe((0,qe.x)(()=>this._restoreScrollBar())).subscribe(),Gt.close=Di=>{ni.close(Di)},Gt.dismiss=Di=>{ni.dismiss(Di)},this._applyPanelOptions(Vn.instance,Re),sn&&sn.instance&&(this._applyBackdropOptions(sn.instance,Re),sn.changeDetectorRef.detectChanges()),Vn.changeDetectorRef.detectChanges(),ni}get activeInstance(){return this._activeInstance}dismiss(I){var $;null===($=this._offcanvasRef)||void 0===$||$.dismiss(I)}hasOpenOffcanvas(){return!!this._offcanvasRef}_attachBackdrop(I,$){let Re=I.resolveComponentFactory(P1).create(this._injector);return this._applicationRef.attachView(Re.hostView),$.appendChild(Re.location.nativeElement),Re}_attachWindowComponent(I,$,be){let dt=I.resolveComponentFactory(_d).create(this._injector,be.nodes);return this._applicationRef.attachView(dt.hostView),$.appendChild(dt.location.nativeElement),dt}_applyPanelOptions(I,$){this._panelAttributes.forEach(be=>{El($[be])&&(I[be]=$[be])})}_applyBackdropOptions(I,$){this._backdropAttributes.forEach(be=>{El($[be])&&(I[be]=$[be])})}_getContentRef(I,$,be,Re){return be?be instanceof n.Rgc?this._createFromTemplateRef(be,Re):dc(be)?this._createFromString(be):this._createFromComponent(I,$,be,Re):new cl([])}_createFromTemplateRef(I,$){const be={$implicit:$,close(dt){$.close(dt)},dismiss(dt){$.dismiss(dt)}},Re=I.createEmbeddedView(be);return this._applicationRef.attachView(Re),new cl([Re.rootNodes],Re)}_createFromString(I){const $=this._document.createTextNode(`${I}`);return new cl([[$]])}_createFromComponent(I,$,be,Re){const dt=I.resolveComponentFactory(be),Gt=n.zs3.create({providers:[{provide:c4,useValue:Re}],parent:$}),Qt=dt.create(Gt),sn=Qt.location.nativeElement;return this._applicationRef.attachView(Qt.hostView),new cl([[sn]],Qt.hostView,Qt)}_registerOffcanvasRef(I){const $=()=>{this._offcanvasRef=void 0,this._activeInstance.emit(this._offcanvasRef)};this._offcanvasRef=I,this._activeInstance.emit(this._offcanvasRef),I.result.then($,$)}_registerPanelCmpt(I){this._panelCmpt=I,this._activePanelCmptHasChanged.next(),I.onDestroy(()=>{this._panelCmpt=void 0,this._activePanelCmptHasChanged.next()})}}j2.\u0275fac=function(I){return new(I||j2)(n.LFG(n.z2F),n.LFG(n.zs3),n.LFG(i.K0),n.LFG(Hu),n.LFG(n.R0b))},j2.\u0275prov=n.Yz7({token:j2,factory:j2.\u0275fac,providedIn:"root"});class Vd{constructor(I){this._ngbConfig=I,this.backdrop=!0,this.keyboard=!0,this.position="start",this.scroll=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(I){this._animation=I}}Vd.\u0275fac=function(I){return new(I||Vd)(n.LFG(Tt))},Vd.\u0275prov=n.Yz7({token:Vd,factory:Vd.\u0275fac,providedIn:"root"});class z1{constructor(I,$,be,Re){this._moduleCFR=I,this._injector=$,this._offcanvasStack=be,this._config=Re}open(I,$={}){const be=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),$);return this._offcanvasStack.open(this._moduleCFR,this._injector,I,be)}get activeInstance(){return this._offcanvasStack.activeInstance}dismiss(I){this._offcanvasStack.dismiss(I)}hasOpenOffcanvas(){return this._offcanvasStack.hasOpenOffcanvas()}}z1.\u0275fac=function(I){return new(I||z1)(n.LFG(n._Vd),n.LFG(n.zs3),n.LFG(j2),n.LFG(Vd))},z1.\u0275prov=n.Yz7({token:z1,factory:z1.\u0275fac,providedIn:"root"});class R1{}R1.\u0275fac=function(I){return new(I||R1)},R1.\u0275mod=n.oAB({type:R1,declarations:[_d,P1]}),R1.\u0275inj=n.cJS({});const d4=[Rn,po,xc,to,al,Ol,wa,Ul,m1,R1,xl,Nc,Hc,Yl,X1,J1,Ga,md];class bd{}bd.\u0275fac=function(I){return new(I||bd)},bd.\u0275mod=n.oAB({type:bd,imports:[Rn,po,xc,to,al,Ol,wa,Ul,m1,R1,xl,Nc,Hc,Yl,X1,J1,Ga,md],exports:[Rn,po,xc,to,al,Ol,wa,Ul,m1,R1,xl,Nc,Hc,Yl,X1,J1,Ga,md]}),bd.\u0275inj=n.cJS({imports:[d4,Rn,po,xc,to,al,Ol,wa,Ul,m1,R1,xl,Nc,Hc,Yl,X1,J1,Ga,md]})},66959:(de,$e,B)=>{"use strict";B.d($e,{a4:()=>J6});var n=B(3184),i=B(36362);Object.create;Object.create;class _n{attach(c){return this._attachedHost=c,c.attach(this)}detach(){let c=this._attachedHost;null!=c&&(this._attachedHost=null,c.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(c){this._attachedHost=c}}class hn extends _n{constructor(c,a,T,G){super(),this.component=c,this.viewContainerRef=a,this.injector=T,this.componentFactoryResolver=G}}class vn extends _n{constructor(c,a,T){super(),this.templateRef=c,this.viewContainerRef=a,this.context=T}get origin(){return this.templateRef.elementRef}attach(c,a=this.context){return this.context=a,super.attach(c)}detach(){return this.context=void 0,super.detach()}}class xn extends _n{constructor(c){super(),this.element=c instanceof n.SBq?c.nativeElement:c}}class dn{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(c){return c instanceof hn?(this._attachedPortal=c,this.attachComponentPortal(c)):c instanceof vn?(this._attachedPortal=c,this.attachTemplatePortal(c)):this.attachDomPortal&&c instanceof xn?(this._attachedPortal=c,this.attachDomPortal(c)):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(c){this._disposeFn=c}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class si extends dn{constructor(c,a,T,G,ce){super(),this.outletElement=c,this._componentFactoryResolver=a,this._appRef=T,this._defaultInjector=G,this.attachDomPortal=ve=>{this._document;const Ne=ve.element;Ne.parentNode;const tt=this._document.createComment("dom-portal");Ne.parentNode.insertBefore(tt,Ne),this.outletElement.appendChild(Ne),this._attachedPortal=ve,super.setDisposeFn(()=>{tt.parentNode&&tt.parentNode.replaceChild(Ne,tt)})},this._document=ce}attachComponentPortal(c){const T=(c.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(c.component);let G;return c.viewContainerRef?(G=c.viewContainerRef.createComponent(T,c.viewContainerRef.length,c.injector||c.viewContainerRef.injector),this.setDisposeFn(()=>G.destroy())):(G=T.create(c.injector||this._defaultInjector||n.zs3.NULL),this._appRef.attachView(G.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(G.hostView),G.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(G)),this._attachedPortal=c,G}attachTemplatePortal(c){let a=c.viewContainerRef,T=a.createEmbeddedView(c.templateRef,c.context);return T.rootNodes.forEach(G=>this.outletElement.appendChild(G)),T.detectChanges(),this.setDisposeFn(()=>{let G=a.indexOf(T);-1!==G&&a.remove(G)}),this._attachedPortal=c,T}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(c){return c.hostView.rootNodes[0]}}class yn extends vn{constructor(c,a){super(c,a)}}yn.\u0275fac=function(c){return new(c||yn)(n.Y36(n.Rgc),n.Y36(n.s_b))},yn.\u0275dir=n.lG2({type:yn,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.qOj]});class qn extends yn{}qn.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(qn)))(a||qn)}}(),qn.\u0275dir=n.lG2({type:qn,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[n._Bn([{provide:yn,useExisting:qn}]),n.qOj]});class oi extends dn{constructor(c,a,T){super(),this._componentFactoryResolver=c,this._viewContainerRef=a,this._isInitialized=!1,this.attached=new n.vpe,this.attachDomPortal=G=>{this._document;const ce=G.element;ce.parentNode;const ve=this._document.createComment("dom-portal");G.setAttachedHost(this),ce.parentNode.insertBefore(ve,ce),this._getRootNode().appendChild(ce),this._attachedPortal=G,super.setDisposeFn(()=>{ve.parentNode&&ve.parentNode.replaceChild(ce,ve)})},this._document=T}get portal(){return this._attachedPortal}set portal(c){this.hasAttached()&&!c&&!this._isInitialized||(this.hasAttached()&&super.detach(),c&&super.attach(c),this._attachedPortal=c||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(c){c.setAttachedHost(this);const a=null!=c.viewContainerRef?c.viewContainerRef:this._viewContainerRef,G=(c.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(c.component),ce=a.createComponent(G,a.length,c.injector||a.injector);return a!==this._viewContainerRef&&this._getRootNode().appendChild(ce.hostView.rootNodes[0]),super.setDisposeFn(()=>ce.destroy()),this._attachedPortal=c,this._attachedRef=ce,this.attached.emit(ce),ce}attachTemplatePortal(c){c.setAttachedHost(this);const a=this._viewContainerRef.createEmbeddedView(c.templateRef,c.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=c,this._attachedRef=a,this.attached.emit(a),a}_getRootNode(){const c=this._viewContainerRef.element.nativeElement;return c.nodeType===c.ELEMENT_NODE?c:c.parentNode}}oi.\u0275fac=function(c){return new(c||oi)(n.Y36(n._Vd),n.Y36(n.s_b),n.Y36(i.K0))},oi.\u0275dir=n.lG2({type:oi,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.qOj]});class Yn extends oi{}Yn.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Yn)))(a||Yn)}}(),Yn.\u0275dir=n.lG2({type:Yn,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[n._Bn([{provide:oi,useExisting:Yn}]),n.qOj]});class Xn{}Xn.\u0275fac=function(c){return new(c||Xn)},Xn.\u0275mod=n.oAB({type:Xn,declarations:[yn,oi,qn,Yn],exports:[yn,oi,qn,Yn]}),Xn.\u0275inj=n.cJS({});var Mt=B(36312),pn=B(80823),an=B(31631);function yt(){}function Je(g){return null==g?yt:function(){return this.querySelector(g)}}function xt(g){return"object"==typeof g&&"length"in g?g:Array.from(g)}function Ht(){return[]}function $t(g){return null==g?Ht:function(){return this.querySelectorAll(g)}}function Ft(g){return function(){return this.matches(g)}}function ln(g){return function(c){return c.matches(g)}}var Jn=Array.prototype.find;function ti(){return this.firstElementChild}var ki=Array.prototype.filter;function Ki(){return this.children}function $n(g){return new Array(g.length)}function Pn(g,c){this.ownerDocument=g.ownerDocument,this.namespaceURI=g.namespaceURI,this._next=null,this._parent=g,this.__data__=c}function Bn(g){return function(){return g}}function ri(g,c,a,T,G,ce){for(var Ne,ve=0,tt=c.length,ut=ce.length;ve<ut;++ve)(Ne=c[ve])?(Ne.__data__=ce[ve],T[ve]=Ne):a[ve]=new Pn(g,ce[ve]);for(;ve<tt;++ve)(Ne=c[ve])&&(G[ve]=Ne)}function mi(g,c,a,T,G,ce,ve){var Ne,tt,jn,ut=new Map,Ct=c.length,qt=ce.length,At=new Array(Ct);for(Ne=0;Ne<Ct;++Ne)(tt=c[Ne])&&(At[Ne]=jn=ve.call(tt,tt.__data__,Ne,c)+"",ut.has(jn)?G[Ne]=tt:ut.set(jn,tt));for(Ne=0;Ne<qt;++Ne)jn=ve.call(g,ce[Ne],Ne,ce)+"",(tt=ut.get(jn))?(T[Ne]=tt,tt.__data__=ce[Ne],ut.delete(jn)):a[Ne]=new Pn(g,ce[Ne]);for(Ne=0;Ne<Ct;++Ne)(tt=c[Ne])&&ut.get(At[Ne])===tt&&(G[Ne]=tt)}function xi(g){return g.__data__}function uo(g,c){return g<c?-1:g>c?1:g>=c?0:NaN}Pn.prototype={constructor:Pn,appendChild:function(g){return this._parent.insertBefore(g,this._next)},insertBefore:function(g,c){return this._parent.insertBefore(g,c)},querySelector:function(g){return this._parent.querySelector(g)},querySelectorAll:function(g){return this._parent.querySelectorAll(g)}};var $i="http://www.w3.org/1999/xhtml";const Fi={svg:"http://www.w3.org/2000/svg",xhtml:$i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Yr(g){var c=g+="",a=c.indexOf(":");return a>=0&&"xmlns"!==(c=g.slice(0,a))&&(g=g.slice(a+1)),Fi.hasOwnProperty(c)?{space:Fi[c],local:g}:g}function Mo(g){return function(){this.removeAttribute(g)}}function Jr(g){return function(){this.removeAttributeNS(g.space,g.local)}}function Bi(g,c){return function(){this.setAttribute(g,c)}}function ks(g,c){return function(){this.setAttributeNS(g.space,g.local,c)}}function so(g,c){return function(){var a=c.apply(this,arguments);null==a?this.removeAttribute(g):this.setAttribute(g,a)}}function Qo(g,c){return function(){var a=c.apply(this,arguments);null==a?this.removeAttributeNS(g.space,g.local):this.setAttributeNS(g.space,g.local,a)}}function Ti(g){return g.ownerDocument&&g.ownerDocument.defaultView||g.document&&g||g.defaultView}function Cr(g){return function(){this.style.removeProperty(g)}}function Vi(g,c,a){return function(){this.style.setProperty(g,c,a)}}function To(g,c,a){return function(){var T=c.apply(this,arguments);null==T?this.style.removeProperty(g):this.style.setProperty(g,T,a)}}function _o(g,c){return g.style.getPropertyValue(c)||Ti(g).getComputedStyle(g,null).getPropertyValue(c)}function jo(g){return function(){delete this[g]}}function Do(g,c){return function(){this[g]=c}}function gs(g,c){return function(){var a=c.apply(this,arguments);null==a?delete this[g]:this[g]=a}}function Dr(g){return g.trim().split(/^|\s+/)}function Os(g){return g.classList||new cs(g)}function cs(g){this._node=g,this._names=Dr(g.getAttribute("class")||"")}function li(g,c){for(var a=Os(g),T=-1,G=c.length;++T<G;)a.add(c[T])}function Qr(g,c){for(var a=Os(g),T=-1,G=c.length;++T<G;)a.remove(c[T])}function ao(g){return function(){li(this,g)}}function ys(g){return function(){Qr(this,g)}}function _a(g,c){return function(){(c.apply(this,arguments)?li:Qr)(this,g)}}function ji(){this.textContent=""}function So(g){return function(){this.textContent=g}}function Us(g){return function(){var c=g.apply(this,arguments);this.textContent=null==c?"":c}}function ho(){this.innerHTML=""}function ra(g){return function(){this.innerHTML=g}}function zs(g){return function(){var c=g.apply(this,arguments);this.innerHTML=null==c?"":c}}function yr(){this.nextSibling&&this.parentNode.appendChild(this)}function Fo(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Or(g){return function(){var c=this.ownerDocument,a=this.namespaceURI;return a===$i&&c.documentElement.namespaceURI===$i?c.createElement(g):c.createElementNS(a,g)}}function rs(g){return function(){return this.ownerDocument.createElementNS(g.space,g.local)}}function Xo(g){var c=Yr(g);return(c.local?rs:Or)(c)}function xs(){return null}function aa(){var g=this.parentNode;g&&g.removeChild(this)}function Jo(){var g=this.cloneNode(!1),c=this.parentNode;return c?c.insertBefore(g,this.nextSibling):g}function Vo(){var g=this.cloneNode(!0),c=this.parentNode;return c?c.insertBefore(g,this.nextSibling):g}function ne(g){return g.trim().split(/^|\s+/).map(function(c){var a="",T=c.indexOf(".");return T>=0&&(a=c.slice(T+1),c=c.slice(0,T)),{type:c,name:a}})}function me(g){return function(){var c=this.__on;if(c){for(var ce,a=0,T=-1,G=c.length;a<G;++a)ce=c[a],g.type&&ce.type!==g.type||ce.name!==g.name?c[++T]=ce:this.removeEventListener(ce.type,ce.listener,ce.options);++T?c.length=T:delete this.__on}}}function Be(g,c,a){return function(){var G,T=this.__on,ce=function q(g){return function(c){g.call(this,c,this.__data__)}}(c);if(T)for(var ve=0,Ne=T.length;ve<Ne;++ve)if((G=T[ve]).type===g.type&&G.name===g.name)return this.removeEventListener(G.type,G.listener,G.options),this.addEventListener(G.type,G.listener=ce,G.options=a),void(G.value=c);this.addEventListener(g.type,ce,a),G={type:g.type,name:g.name,value:c,listener:ce,options:a},T?T.push(G):this.__on=[G]}}function It(g,c,a){var T=Ti(g),G=T.CustomEvent;"function"==typeof G?G=new G(c,a):(G=T.document.createEvent("Event"),a?(G.initEvent(c,a.bubbles,a.cancelable),G.detail=a.detail):G.initEvent(c,!1,!1)),g.dispatchEvent(G)}function Ut(g,c){return function(){return It(this,g,c)}}function Wt(g,c){return function(){return It(this,g,c.apply(this,arguments))}}cs.prototype={add:function(g){this._names.indexOf(g)<0&&(this._names.push(g),this._node.setAttribute("class",this._names.join(" ")))},remove:function(g){var c=this._names.indexOf(g);c>=0&&(this._names.splice(c,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(g){return this._names.indexOf(g)>=0}};var Dn=[null];function Ln(g,c){this._groups=g,this._parents=c}function An(){return new Ln([[document.documentElement]],Dn)}Ln.prototype=An.prototype={constructor:Ln,select:function ht(g){"function"!=typeof g&&(g=Je(g));for(var c=this._groups,a=c.length,T=new Array(a),G=0;G<a;++G)for(var tt,ut,ce=c[G],ve=ce.length,Ne=T[G]=new Array(ve),Ct=0;Ct<ve;++Ct)(tt=ce[Ct])&&(ut=g.call(tt,tt.__data__,Ct,ce))&&("__data__"in tt&&(ut.__data__=tt.__data__),Ne[Ct]=ut);return new Ln(T,this._parents)},selectAll:function lt(g){g="function"==typeof g?function Jt(g){return function(){var c=g.apply(this,arguments);return null==c?[]:xt(c)}}(g):$t(g);for(var c=this._groups,a=c.length,T=[],G=[],ce=0;ce<a;++ce)for(var tt,ve=c[ce],Ne=ve.length,ut=0;ut<Ne;++ut)(tt=ve[ut])&&(T.push(g.call(tt,tt.__data__,ut,ve)),G.push(tt));return new Ln(T,G)},selectChild:function Ai(g){return this.select(null==g?ti:function Mn(g){return function(){return Jn.call(this.children,g)}}("function"==typeof g?g:ln(g)))},selectChildren:function _i(g){return this.selectAll(null==g?Ki:function Hi(g){return function(){return ki.call(this.children,g)}}("function"==typeof g?g:ln(g)))},filter:function pi(g){"function"!=typeof g&&(g=Ft(g));for(var c=this._groups,a=c.length,T=new Array(a),G=0;G<a;++G)for(var tt,ce=c[G],ve=ce.length,Ne=T[G]=[],ut=0;ut<ve;++ut)(tt=ce[ut])&&g.call(tt,tt.__data__,ut,ce)&&Ne.push(tt);return new Ln(T,this._parents)},data:function Mr(g,c){if(!arguments.length)return Array.from(this,xi);var a=c?mi:ri,T=this._parents,G=this._groups;"function"!=typeof g&&(g=Bn(g));for(var ce=G.length,ve=new Array(ce),Ne=new Array(ce),tt=new Array(ce),ut=0;ut<ce;++ut){var Ct=T[ut],qt=G[ut],At=qt.length,jn=xt(g.call(Ct,Ct&&Ct.__data__,ut,T)),fi=jn.length,Xi=Ne[ut]=new Array(fi),Hn=ve[ut]=new Array(fi),Qi=tt[ut]=new Array(At);a(Ct,qt,Xi,Hn,Qi,jn,c);for(var Gr,ro,lr=0,ar=0;lr<fi;++lr)if(Gr=Xi[lr]){for(lr>=ar&&(ar=lr+1);!(ro=Hn[ar])&&++ar<fi;);Gr._next=ro||null}}return(ve=new Ln(ve,T))._enter=Ne,ve._exit=tt,ve},enter:function wr(){return new Ln(this._enter||this._groups.map($n),this._parents)},exit:function gr(){return new Ln(this._exit||this._groups.map($n),this._parents)},join:function Li(g,c,a){var T=this.enter(),G=this,ce=this.exit();return T="function"==typeof g?g(T):T.append(g+""),null!=c&&(G=c(G)),null==a?ce.remove():a(ce),T&&G?T.merge(G).order():G},merge:function Sr(g){if(!(g instanceof Ln))throw new Error("invalid merge");for(var c=this._groups,a=g._groups,T=c.length,G=a.length,ce=Math.min(T,G),ve=new Array(T),Ne=0;Ne<ce;++Ne)for(var At,tt=c[Ne],ut=a[Ne],Ct=tt.length,qt=ve[Ne]=new Array(Ct),jn=0;jn<Ct;++jn)(At=tt[jn]||ut[jn])&&(qt[jn]=At);for(;Ne<T;++Ne)ve[Ne]=c[Ne];return new Ln(ve,this._parents)},selection:function Qn(){return this},order:function br(){for(var g=this._groups,c=-1,a=g.length;++c<a;)for(var ve,T=g[c],G=T.length-1,ce=T[G];--G>=0;)(ve=T[G])&&(ce&&4^ve.compareDocumentPosition(ce)&&ce.parentNode.insertBefore(ve,ce),ce=ve);return this},sort:function Xr(g){function c(qt,At){return qt&&At?g(qt.__data__,At.__data__):!qt-!At}g||(g=uo);for(var a=this._groups,T=a.length,G=new Array(T),ce=0;ce<T;++ce){for(var ut,ve=a[ce],Ne=ve.length,tt=G[ce]=new Array(Ne),Ct=0;Ct<Ne;++Ct)(ut=ve[Ct])&&(tt[Ct]=ut);tt.sort(c)}return new Ln(G,this._parents).order()},call:function fa(){var g=arguments[0];return arguments[0]=this,g.apply(null,arguments),this},nodes:function ai(){return Array.from(this)},node:function at(){for(var g=this._groups,c=0,a=g.length;c<a;++c)for(var T=g[c],G=0,ce=T.length;G<ce;++G){var ve=T[G];if(ve)return ve}return null},size:function Ot(){let g=0;for(const c of this)++g;return g},empty:function Nn(){return!this.node()},each:function di(g){for(var c=this._groups,a=0,T=c.length;a<T;++a)for(var Ne,G=c[a],ce=0,ve=G.length;ce<ve;++ce)(Ne=G[ce])&&g.call(Ne,Ne.__data__,ce,G);return this},attr:function mr(g,c){var a=Yr(g);if(arguments.length<2){var T=this.node();return a.local?T.getAttributeNS(a.space,a.local):T.getAttribute(a)}return this.each((null==c?a.local?Jr:Mo:"function"==typeof c?a.local?Qo:so:a.local?ks:Bi)(a,c))},style:function qr(g,c,a){return arguments.length>1?this.each((null==c?Cr:"function"==typeof c?To:Vi)(g,c,null==a?"":a)):_o(this.node(),g)},property:function Ho(g,c){return arguments.length>1?this.each((null==c?jo:"function"==typeof c?gs:Do)(g,c)):this.node()[g]},classed:function Ps(g,c){var a=Dr(g+"");if(arguments.length<2){for(var T=Os(this.node()),G=-1,ce=a.length;++G<ce;)if(!T.contains(a[G]))return!1;return!0}return this.each(("function"==typeof c?_a:c?ao:ys)(a,c))},text:function no(g){return arguments.length?this.each(null==g?ji:("function"==typeof g?Us:So)(g)):this.node().textContent},html:function bo(g){return arguments.length?this.each(null==g?ho:("function"==typeof g?zs:ra)(g)):this.node().innerHTML},raise:function yo(){return this.each(yr)},lower:function Po(){return this.each(Fo)},append:function ba(g){var c="function"==typeof g?g:Xo(g);return this.select(function(){return this.appendChild(c.apply(this,arguments))})},insert:function Ws(g,c){var a="function"==typeof g?g:Xo(g),T=null==c?xs:"function"==typeof c?c:Je(c);return this.select(function(){return this.insertBefore(a.apply(this,arguments),T.apply(this,arguments)||null)})},remove:function js(){return this.each(aa)},clone:function Io(g){return this.select(g?Vo:Jo)},datum:function or(g){return arguments.length?this.property("__data__",g):this.node().__data__},on:function et(g,c,a){var G,ve,T=ne(g+""),ce=T.length;if(!(arguments.length<2)){for(Ne=c?Be:me,G=0;G<ce;++G)this.each(Ne(T[G],c,a));return this}var Ne=this.node().__on;if(Ne)for(var Ct,tt=0,ut=Ne.length;tt<ut;++tt)for(G=0,Ct=Ne[tt];G<ce;++G)if((ve=T[G]).type===Ct.type&&ve.name===Ct.name)return Ct.value},dispatch:function Pt(g,c){return this.each(("function"==typeof c?Wt:Ut)(g,c))},[Symbol.iterator]:function*Et(){for(var g=this._groups,c=0,a=g.length;c<a;++c)for(var ve,T=g[c],G=0,ce=T.length;G<ce;++G)(ve=T[G])&&(yield ve)}};const ui=An;function Ui(g){return"string"==typeof g?new Ln([[document.querySelector(g)]],[document.documentElement]):new Ln([[g]],Dn)}var hr={value:function(){}};function kr(){for(var T,g=0,c=arguments.length,a={};g<c;++g){if(!(T=arguments[g]+"")||T in a||/[\s.]/.test(T))throw new Error("illegal type: "+T);a[T]=[]}return new Ri(a)}function Ri(g){this._=g}function Yi(g,c){return g.trim().split(/^|\s+/).map(function(a){var T="",G=a.indexOf(".");if(G>=0&&(T=a.slice(G+1),a=a.slice(0,G)),a&&!c.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:T}})}function In(g,c){for(var G,a=0,T=g.length;a<T;++a)if((G=g[a]).name===c)return G.value}function Pr(g,c,a){for(var T=0,G=g.length;T<G;++T)if(g[T].name===c){g[T]=hr,g=g.slice(0,T).concat(g.slice(T+1));break}return null!=a&&g.push({name:c,value:a}),g}Ri.prototype=kr.prototype={constructor:Ri,on:function(g,c){var G,a=this._,T=Yi(g+"",a),ce=-1,ve=T.length;if(!(arguments.length<2)){if(null!=c&&"function"!=typeof c)throw new Error("invalid callback: "+c);for(;++ce<ve;)if(G=(g=T[ce]).type)a[G]=Pr(a[G],g.name,c);else if(null==c)for(G in a)a[G]=Pr(a[G],g.name,null);return this}for(;++ce<ve;)if((G=(g=T[ce]).type)&&(G=In(a[G],g.name)))return G},copy:function(){var g={},c=this._;for(var a in c)g[a]=c[a].slice();return new Ri(g)},call:function(g,c){if((G=arguments.length-2)>0)for(var G,ce,a=new Array(G),T=0;T<G;++T)a[T]=arguments[T+2];if(!this._.hasOwnProperty(g))throw new Error("unknown type: "+g);for(T=0,G=(ce=this._[g]).length;T<G;++T)ce[T].value.apply(c,a)},apply:function(g,c,a){if(!this._.hasOwnProperty(g))throw new Error("unknown type: "+g);for(var T=this._[g],G=0,ce=T.length;G<ce;++G)T[G].value.apply(c,a)}};const Ir=kr;function ds(g){g.preventDefault(),g.stopImmediatePropagation()}function Go(g){var c=g.document.documentElement,a=Ui(g).on("dragstart.drag",ds,!0);"onselectstart"in c?a.on("selectstart.drag",ds,!0):(c.__noselect=c.style.MozUserSelect,c.style.MozUserSelect="none")}function ko(g,c){var a=g.document.documentElement,T=Ui(g).on("dragstart.drag",null);c&&(T.on("click.drag",ds,!0),setTimeout(function(){T.on("click.drag",null)},0)),"onselectstart"in a?T.on("selectstart.drag",null):(a.style.MozUserSelect=a.__noselect,delete a.__noselect)}function zo(g,c,a){g.prototype=c.prototype=a,a.constructor=g}function Cs(g,c){var a=Object.create(g.prototype);for(var T in c)a[T]=c[T];return a}function Rr(){}var Oe=1/.7,gt="\\s*([+-]?\\d+)\\s*",Nt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Cn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ze=/^#([0-9a-f]{3,8})$/,ke=new RegExp("^rgb\\("+[gt,gt,gt]+"\\)$"),oe=new RegExp("^rgb\\("+[Cn,Cn,Cn]+"\\)$"),pt=new RegExp("^rgba\\("+[gt,gt,gt,Nt]+"\\)$"),zt=new RegExp("^rgba\\("+[Cn,Cn,Cn,Nt]+"\\)$"),Dt=new RegExp("^hsl\\("+[Nt,Cn,Cn]+"\\)$"),En=new RegExp("^hsla\\("+[Nt,Cn,Cn,Nt]+"\\)$"),ci={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ei(){return this.rgb().formatHex()}function ft(){return this.rgb().formatRgb()}function ye(g){var c,a;return g=(g+"").trim().toLowerCase(),(c=ze.exec(g))?(a=c[1].length,c=parseInt(c[1],16),6===a?Xe(c):3===a?new io(c>>8&15|c>>4&240,c>>4&15|240&c,(15&c)<<4|15&c,1):8===a?tn(c>>24&255,c>>16&255,c>>8&255,(255&c)/255):4===a?tn(c>>12&15|c>>8&240,c>>8&15|c>>4&240,c>>4&15|240&c,((15&c)<<4|15&c)/255):null):(c=ke.exec(g))?new io(c[1],c[2],c[3],1):(c=oe.exec(g))?new io(255*c[1]/100,255*c[2]/100,255*c[3]/100,1):(c=pt.exec(g))?tn(c[1],c[2],c[3],c[4]):(c=zt.exec(g))?tn(255*c[1]/100,255*c[2]/100,255*c[3]/100,c[4]):(c=Dt.exec(g))?Bl(c[1],c[2]/100,c[3]/100,1):(c=En.exec(g))?Bl(c[1],c[2]/100,c[3]/100,c[4]):ci.hasOwnProperty(g)?Xe(ci[g]):"transparent"===g?new io(NaN,NaN,NaN,0):null}function Xe(g){return new io(g>>16&255,g>>8&255,255&g,1)}function tn(g,c,a,T){return T<=0&&(g=c=a=NaN),new io(g,c,a,T)}function hi(g){return g instanceof Rr||(g=ye(g)),g?new io((g=g.rgb()).r,g.g,g.b,g.opacity):new io}function zr(g,c,a,T){return 1===arguments.length?hi(g):new io(g,c,a,null==T?1:T)}function io(g,c,a,T){this.r=+g,this.g=+c,this.b=+a,this.opacity=+T}function $l(){return"#"+nl(this.r)+nl(this.g)+nl(this.b)}function pa(){var g=this.opacity;return(1===(g=isNaN(g)?1:Math.max(0,Math.min(1,g)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===g?")":", "+g+")")}function nl(g){return((g=Math.max(0,Math.min(255,Math.round(g)||0)))<16?"0":"")+g.toString(16)}function Bl(g,c,a,T){return T<=0?g=c=a=NaN:a<=0||a>=1?g=c=NaN:c<=0&&(g=NaN),new La(g,c,a,T)}function bi(g){if(g instanceof La)return new La(g.h,g.s,g.l,g.opacity);if(g instanceof Rr||(g=ye(g)),!g)return new La;if(g instanceof La)return g;var c=(g=g.rgb()).r/255,a=g.g/255,T=g.b/255,G=Math.min(c,a,T),ce=Math.max(c,a,T),ve=NaN,Ne=ce-G,tt=(ce+G)/2;return Ne?(ve=c===ce?(a-T)/Ne+6*(a<T):a===ce?(T-c)/Ne+2:(c-a)/Ne+4,Ne/=tt<.5?ce+G:2-ce-G,ve*=60):Ne=tt>0&&tt<1?0:ve,new La(ve,Ne,tt,g.opacity)}function La(g,c,a,T){this.h=+g,this.s=+c,this.l=+a,this.opacity=+T}function Gs(g,c,a){return 255*(g<60?c+(a-c)*g/60:g<180?a:g<240?c+(a-c)*(240-g)/60:c)}function Na(g,c,a,T,G){var ce=g*g,ve=ce*g;return((1-3*g+3*ce-ve)*c+(4-6*ce+3*ve)*a+(1+3*g+3*ce-3*ve)*T+ve*G)/6}zo(Rr,ye,{copy:function(g){return Object.assign(new this.constructor,this,g)},displayable:function(){return this.rgb().displayable()},hex:Ei,formatHex:Ei,formatHsl:function xr(){return bi(this).formatHsl()},formatRgb:ft,toString:ft}),zo(io,zr,Cs(Rr,{brighter:function(g){return g=null==g?Oe:Math.pow(Oe,g),new io(this.r*g,this.g*g,this.b*g,this.opacity)},darker:function(g){return g=null==g?.7:Math.pow(.7,g),new io(this.r*g,this.g*g,this.b*g,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$l,formatHex:$l,formatRgb:pa,toString:pa})),zo(La,function qo(g,c,a,T){return 1===arguments.length?bi(g):new La(g,c,a,null==T?1:T)},Cs(Rr,{brighter:function(g){return g=null==g?Oe:Math.pow(Oe,g),new La(this.h,this.s,this.l*g,this.opacity)},darker:function(g){return g=null==g?.7:Math.pow(.7,g),new La(this.h,this.s,this.l*g,this.opacity)},rgb:function(){var g=this.h%360+360*(this.h<0),c=isNaN(g)||isNaN(this.s)?0:this.s,a=this.l,T=a+(a<.5?a:1-a)*c,G=2*a-T;return new io(Gs(g>=240?g-240:g+120,G,T),Gs(g,G,T),Gs(g<120?g+240:g-120,G,T),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var g=this.opacity;return(1===(g=isNaN(g)?1:Math.max(0,Math.min(1,g)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===g?")":", "+g+")")}}));const Ro=g=>()=>g;function ml(g,c){return function(a){return g+a*c}}function Ea(g){return 1==(g=+g)?Ls:function(c,a){return a-c?function Uo(g,c,a){return g=Math.pow(g,a),c=Math.pow(c,a)-g,a=1/a,function(T){return Math.pow(g+T*c,a)}}(c,a,g):Ro(isNaN(c)?a:c)}}function Ls(g,c){var a=c-g;return a?ml(g,a):Ro(isNaN(g)?c:g)}const us=function g(c){var a=Ea(c);function T(G,ce){var ve=a((G=zr(G)).r,(ce=zr(ce)).r),Ne=a(G.g,ce.g),tt=a(G.b,ce.b),ut=Ls(G.opacity,ce.opacity);return function(Ct){return G.r=ve(Ct),G.g=Ne(Ct),G.b=tt(Ct),G.opacity=ut(Ct),G+""}}return T.gamma=g,T}(1);function Ll(g){return function(c){var ve,Ne,a=c.length,T=new Array(a),G=new Array(a),ce=new Array(a);for(ve=0;ve<a;++ve)Ne=zr(c[ve]),T[ve]=Ne.r||0,G[ve]=Ne.g||0,ce[ve]=Ne.b||0;return T=g(T),G=g(G),ce=g(ce),Ne.opacity=1,function(tt){return Ne.r=T(tt),Ne.g=G(tt),Ne.b=ce(tt),Ne+""}}}Ll(function ja(g){var c=g.length-1;return function(a){var T=a<=0?a=0:a>=1?(a=1,c-1):Math.floor(a*c),G=g[T],ce=g[T+1],ve=T>0?g[T-1]:2*G-ce,Ne=T<c-1?g[T+2]:2*ce-G;return Na((a-T/c)*c,ve,G,ce,Ne)}}),Ll(function Fs(g){var c=g.length;return function(a){var T=Math.floor(((a%=1)<0?++a:a)*c),G=g[(T+c-1)%c],ce=g[T%c],ve=g[(T+1)%c],Ne=g[(T+2)%c];return Na((a-T/c)*c,G,ce,ve,Ne)}});function d1(g,c){var ve,a=c?c.length:0,T=g?Math.min(a,g.length):0,G=new Array(T),ce=new Array(a);for(ve=0;ve<T;++ve)G[ve]=Ze(g[ve],c[ve]);for(;ve<a;++ve)ce[ve]=c[ve];return function(Ne){for(ve=0;ve<T;++ve)ce[ve]=G[ve](Ne);return ce}}function x1(g,c){var a=new Date;return g=+g,c=+c,function(T){return a.setTime(g*(1-T)+c*T),a}}function Rs(g,c){return g=+g,c=+c,function(a){return g*(1-a)+c*a}}function u1(g,c){var G,a={},T={};for(G in(null===g||"object"!=typeof g)&&(g={}),(null===c||"object"!=typeof c)&&(c={}),c)G in g?a[G]=Ze(g[G],c[G]):T[G]=c[G];return function(ce){for(G in a)T[G]=a[G](ce);return T}}var oa=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jl=new RegExp(oa.source,"g");function Kl(g,c){var T,G,ce,a=oa.lastIndex=jl.lastIndex=0,ve=-1,Ne=[],tt=[];for(g+="",c+="";(T=oa.exec(g))&&(G=jl.exec(c));)(ce=G.index)>a&&(ce=c.slice(a,ce),Ne[ve]?Ne[ve]+=ce:Ne[++ve]=ce),(T=T[0])===(G=G[0])?Ne[ve]?Ne[ve]+=G:Ne[++ve]=G:(Ne[++ve]=null,tt.push({i:ve,x:Rs(T,G)})),a=jl.lastIndex;return a<c.length&&(ce=c.slice(a),Ne[ve]?Ne[ve]+=ce:Ne[++ve]=ce),Ne.length<2?tt[0]?function Fl(g){return function(c){return g(c)+""}}(tt[0].x):function Ia(g){return function(){return g}}(c):(c=tt.length,function(ut){for(var qt,Ct=0;Ct<c;++Ct)Ne[(qt=tt[Ct]).i]=qt.x(ut);return Ne.join("")})}function jt(g,c){c||(c=[]);var G,a=g?Math.min(c.length,g.length):0,T=c.slice();return function(ce){for(G=0;G<a;++G)T[G]=g[G]*(1-ce)+c[G]*ce;return T}}function Ze(g,c){var T,a=typeof c;return null==c||"boolean"===a?Ro(c):("number"===a?Rs:"string"===a?(T=ye(c))?(c=T,us):Kl:c instanceof ye?us:c instanceof Date?x1:function Ie(g){return ArrayBuffer.isView(g)&&!(g instanceof DataView)}(c)?jt:Array.isArray(c)?d1:"function"!=typeof c.valueOf&&"function"!=typeof c.toString||isNaN(c)?u1:Rs)(g,c)}function Zn(g,c){if(g=function Vt(g){let c;for(;c=g.sourceEvent;)g=c;return g}(g),void 0===c&&(c=g.currentTarget),c){var a=c.ownerSVGElement||c;if(a.createSVGPoint){var T=a.createSVGPoint();return T.x=g.clientX,T.y=g.clientY,[(T=T.matrixTransform(c.getScreenCTM().inverse())).x,T.y]}if(c.getBoundingClientRect){var G=c.getBoundingClientRect();return[g.clientX-G.left-c.clientLeft,g.clientY-G.top-c.clientTop]}}return[g.pageX,g.pageY]}var un,Wn,Oi=0,cr=0,es=0,kn=0,Wi=0,Br=0,fo="object"==typeof performance&&performance.now?performance:Date,eo="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(g){setTimeout(g,17)};function Ao(){return Wi||(eo(la),Wi=fo.now()+Br)}function la(){Wi=0}function qs(){this._call=this._time=this._next=null}function Fa(g,c,a){var T=new qs;return T.restart(g,c,a),T}function rl(){Wi=(kn=fo.now())+Br,Oi=cr=0;try{!function ts(){Ao(),++Oi;for(var c,g=un;g;)(c=Wi-g._time)>=0&&g._call.call(null,c),g=g._next;--Oi}()}finally{Oi=0,function dc(){for(var g,a,c=un,T=1/0;c;)c._call?(T>c._time&&(T=c._time),g=c,c=c._next):(a=c._next,c._next=null,c=g?g._next=a:un=a);Wn=g,Hr(T)}(),Wi=0}}function ol(){var g=fo.now(),c=g-kn;c>1e3&&(Br-=c,kn=g)}function Hr(g){Oi||(cr&&(cr=clearTimeout(cr)),g-Wi>24?(g<1/0&&(cr=setTimeout(rl,g-fo.now()-Br)),es&&(es=clearInterval(es))):(es||(kn=fo.now(),es=setInterval(ol,1e3)),Oi=1,eo(rl)))}function Ji(g,c,a){var T=new qs;return c=null==c?0:+c,T.restart(function(G){T.stop(),g(G+c)},c,a),T}qs.prototype=Fa.prototype={constructor:qs,restart:function(g,c,a){if("function"!=typeof g)throw new TypeError("callback is not a function");a=(null==a?Ao():+a)+(null==c?0:+c),!this._next&&Wn!==this&&(Wn?Wn._next=this:un=this,Wn=this),this._call=g,this._time=a,Hr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Hr())}};var El=Ir("start","end","cancel","interrupt"),Zl=[];function nn(g,c,a,T,G,ce){var ve=g.__transition;if(ve){if(a in ve)return}else g.__transition={};!function ae(g,c,a){var G,T=g.__transition;function ce(ut){a.state=1,a.timer.restart(ve,a.delay,a.time),a.delay<=ut&&ve(ut-a.delay)}function ve(ut){var Ct,qt,At,jn;if(1!==a.state)return tt();for(Ct in T)if((jn=T[Ct]).name===a.name){if(3===jn.state)return Ji(ve);4===jn.state?(jn.state=6,jn.timer.stop(),jn.on.call("interrupt",g,g.__data__,jn.index,jn.group),delete T[Ct]):+Ct<c&&(jn.state=6,jn.timer.stop(),jn.on.call("cancel",g,g.__data__,jn.index,jn.group),delete T[Ct])}if(Ji(function(){3===a.state&&(a.state=4,a.timer.restart(Ne,a.delay,a.time),Ne(ut))}),a.state=2,a.on.call("start",g,g.__data__,a.index,a.group),2===a.state){for(a.state=3,G=new Array(At=a.tween.length),Ct=0,qt=-1;Ct<At;++Ct)(jn=a.tween[Ct].value.call(g,g.__data__,a.index,a.group))&&(G[++qt]=jn);G.length=qt+1}}function Ne(ut){for(var Ct=ut<a.duration?a.ease.call(null,ut/a.duration):(a.timer.restart(tt),a.state=5,1),qt=-1,At=G.length;++qt<At;)G[qt].call(g,Ct);5===a.state&&(a.on.call("end",g,g.__data__,a.index,a.group),tt())}function tt(){for(var ut in a.state=6,a.timer.stop(),delete T[c],T)return;delete g.__transition}T[c]=a,a.timer=Fa(ce,0,a.time)}(g,a,{name:c,index:T,group:G,on:El,tween:Zl,time:ce.time,delay:ce.delay,duration:ce.duration,ease:ce.ease,timer:null,state:0})}function Me(g,c){var a=ge(g,c);if(a.state>0)throw new Error("too late; already scheduled");return a}function Fe(g,c){var a=ge(g,c);if(a.state>3)throw new Error("too late; already running");return a}function ge(g,c){var a=g.__transition;if(!a||!(a=a[c]))throw new Error("transition not found");return a}function xe(g,c){var T,G,ve,a=g.__transition,ce=!0;if(a){for(ve in c=null==c?null:c+"",a)(T=a[ve]).name===c?(G=T.state>2&&T.state<5,T.state=6,T.timer.stop(),T.on.call(G?"interrupt":"cancel",g,g.__data__,T.index,T.group),delete a[ve]):ce=!1;ce&&delete g.__transition}}var gn,Ke=180/Math.PI,bt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Tt(g,c,a,T,G,ce){var ve,Ne,tt;return(ve=Math.sqrt(g*g+c*c))&&(g/=ve,c/=ve),(tt=g*a+c*T)&&(a-=g*tt,T-=c*tt),(Ne=Math.sqrt(a*a+T*T))&&(a/=Ne,T/=Ne,tt/=Ne),g*T<c*a&&(g=-g,c=-c,tt=-tt,ve=-ve),{translateX:G,translateY:ce,rotate:Math.atan2(c,g)*Ke,skewX:Math.atan(tt)*Ke,scaleX:ve,scaleY:Ne}}function K(g,c,a,T){function G(ut){return ut.length?ut.pop()+" ":""}return function(ut,Ct){var qt=[],At=[];return ut=g(ut),Ct=g(Ct),function ce(ut,Ct,qt,At,jn,fi){if(ut!==qt||Ct!==At){var Xi=jn.push("translate(",null,c,null,a);fi.push({i:Xi-4,x:Rs(ut,qt)},{i:Xi-2,x:Rs(Ct,At)})}else(qt||At)&&jn.push("translate("+qt+c+At+a)}(ut.translateX,ut.translateY,Ct.translateX,Ct.translateY,qt,At),function ve(ut,Ct,qt,At){ut!==Ct?(ut-Ct>180?Ct+=360:Ct-ut>180&&(ut+=360),At.push({i:qt.push(G(qt)+"rotate(",null,T)-2,x:Rs(ut,Ct)})):Ct&&qt.push(G(qt)+"rotate("+Ct+T)}(ut.rotate,Ct.rotate,qt,At),function Ne(ut,Ct,qt,At){ut!==Ct?At.push({i:qt.push(G(qt)+"skewX(",null,T)-2,x:Rs(ut,Ct)}):Ct&&qt.push(G(qt)+"skewX("+Ct+T)}(ut.skewX,Ct.skewX,qt,At),function tt(ut,Ct,qt,At,jn,fi){if(ut!==qt||Ct!==At){var Xi=jn.push(G(jn)+"scale(",null,",",null,")");fi.push({i:Xi-4,x:Rs(ut,qt)},{i:Xi-2,x:Rs(Ct,At)})}else(1!==qt||1!==At)&&jn.push(G(jn)+"scale("+qt+","+At+")")}(ut.scaleX,ut.scaleY,Ct.scaleX,Ct.scaleY,qt,At),ut=Ct=null,function(jn){for(var Hn,fi=-1,Xi=At.length;++fi<Xi;)qt[(Hn=At[fi]).i]=Hn.x(jn);return qt.join("")}}}var he=K(function yi(g){const c=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(g+"");return c.isIdentity?bt:Tt(c.a,c.b,c.c,c.d,c.e,c.f)},"px, ","px)","deg)"),Ee=K(function D(g){return null!=g&&(gn||(gn=document.createElementNS("http://www.w3.org/2000/svg","g")),gn.setAttribute("transform",g),g=gn.transform.baseVal.consolidate())?Tt((g=g.matrix).a,g.b,g.c,g.d,g.e,g.f):bt},", ",")",")");function We(g,c){var a,T;return function(){var G=Fe(this,g),ce=G.tween;if(ce!==a)for(var ve=0,Ne=(T=a=ce).length;ve<Ne;++ve)if(T[ve].name===c){(T=T.slice()).splice(ve,1);break}G.tween=T}}function wt(g,c,a){var T,G;if("function"!=typeof a)throw new Error;return function(){var ce=Fe(this,g),ve=ce.tween;if(ve!==T){G=(T=ve).slice();for(var Ne={name:c,value:a},tt=0,ut=G.length;tt<ut;++tt)if(G[tt].name===c){G[tt]=Ne;break}tt===ut&&G.push(Ne)}ce.tween=G}}function wn(g,c,a){var T=g._id;return g.each(function(){var G=Fe(this,T);(G.value||(G.value={}))[c]=a.apply(this,arguments)}),function(G){return ge(G,T).value[c]}}function Rn(g,c,a){g.prototype=c.prototype=a,a.constructor=g}function Si(g,c){var a=Object.create(g.prototype);for(var T in c)a[T]=c[T];return a}function tr(){}var po=1/.7,Aa="\\s*([+-]?\\d+)\\s*",sl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Xl="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ga=/^#([0-9a-f]{3,8})$/,h1=new RegExp("^rgb\\("+[Aa,Aa,Aa]+"\\)$"),tu=new RegExp("^rgb\\("+[Xl,Xl,Xl]+"\\)$"),xc=new RegExp("^rgba\\("+[Aa,Aa,Aa,sl]+"\\)$"),uc=new RegExp("^rgba\\("+[Xl,Xl,Xl,sl]+"\\)$"),kd=new RegExp("^hsl\\("+[sl,Xl,Xl]+"\\)$"),K2=new RegExp("^hsla\\("+[sl,Xl,Xl,sl]+"\\)$"),n2={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ds(){return this.rgb().formatHex()}function Cc(){return this.rgb().formatRgb()}function Ac(g){var c,a;return g=(g+"").trim().toLowerCase(),(c=ga.exec(g))?(a=c[1].length,c=parseInt(c[1],16),6===a?C1(c):3===a?new to(c>>8&15|c>>4&240,c>>4&15|240&c,(15&c)<<4|15&c,1):8===a?kt(c>>24&255,c>>16&255,c>>8&255,(255&c)/255):4===a?kt(c>>12&15|c>>8&240,c>>8&15|c>>4&240,c>>4&15|240&c,((15&c)<<4|15&c)/255):null):(c=h1.exec(g))?new to(c[1],c[2],c[3],1):(c=tu.exec(g))?new to(255*c[1]/100,255*c[2]/100,255*c[3]/100,1):(c=xc.exec(g))?kt(c[1],c[2],c[3],c[4]):(c=uc.exec(g))?kt(255*c[1]/100,255*c[2]/100,255*c[3]/100,c[4]):(c=kd.exec(g))?ca(c[1],c[2]/100,c[3]/100,1):(c=K2.exec(g))?ca(c[1],c[2]/100,c[3]/100,c[4]):n2.hasOwnProperty(g)?C1(n2[g]):"transparent"===g?new to(NaN,NaN,NaN,0):null}function C1(g){return new to(g>>16&255,g>>8&255,255&g,1)}function kt(g,c,a,T){return T<=0&&(g=c=a=NaN),new to(g,c,a,T)}function Jl(g){return g instanceof tr||(g=Ac(g)),g?new to((g=g.rgb()).r,g.g,g.b,g.opacity):new to}function to(g,c,a,T){this.r=+g,this.g=+c,this.b=+a,this.opacity=+T}function hs(){return"#"+al(this.r)+al(this.g)+al(this.b)}function i2(){var g=this.opacity;return(1===(g=isNaN(g)?1:Math.max(0,Math.min(1,g)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===g?")":", "+g+")")}function al(g){return((g=Math.max(0,Math.min(255,Math.round(g)||0)))<16?"0":"")+g.toString(16)}function ca(g,c,a,T){return T<=0?g=c=a=NaN:a<=0||a>=1?g=c=NaN:c<=0&&(g=NaN),new Z2(g,c,a,T)}function Dl(g){if(g instanceof Z2)return new Z2(g.h,g.s,g.l,g.opacity);if(g instanceof tr||(g=Ac(g)),!g)return new Z2;if(g instanceof Z2)return g;var c=(g=g.rgb()).r/255,a=g.g/255,T=g.b/255,G=Math.min(c,a,T),ce=Math.max(c,a,T),ve=NaN,Ne=ce-G,tt=(ce+G)/2;return Ne?(ve=c===ce?(a-T)/Ne+6*(a<T):a===ce?(T-c)/Ne+2:(c-a)/Ne+4,Ne/=tt<.5?ce+G:2-ce-G,ve*=60):Ne=tt>0&&tt<1?0:ve,new Z2(ve,Ne,tt,g.opacity)}function Z2(g,c,a,T){this.h=+g,this.s=+c,this.l=+a,this.opacity=+T}function ll(g,c,a){return 255*(g<60?c+(a-c)*g/60:g<180?a:g<240?c+(a-c)*(240-g)/60:c)}function nu(g,c){var a;return("number"==typeof c?Rs:c instanceof Ac?us:(a=Ac(c))?(c=a,us):Kl)(g,c)}function Va(g){return function(){this.removeAttribute(g)}}function w1(g){return function(){this.removeAttributeNS(g.space,g.local)}}function Ju(g,c,a){var T,ce,G=a+"";return function(){var ve=this.getAttribute(g);return ve===G?null:ve===T?ce:ce=c(T=ve,a)}}function ap(g,c,a){var T,ce,G=a+"";return function(){var ve=this.getAttributeNS(g.space,g.local);return ve===G?null:ve===T?ce:ce=c(T=ve,a)}}function bf(g,c,a){var T,G,ce;return function(){var ve,tt,Ne=a(this);return null==Ne?void this.removeAttribute(g):(ve=this.getAttribute(g))===(tt=Ne+"")?null:ve===T&&tt===G?ce:(G=tt,ce=c(T=ve,Ne))}}function p1(g,c,a){var T,G,ce;return function(){var ve,tt,Ne=a(this);return null==Ne?void this.removeAttributeNS(g.space,g.local):(ve=this.getAttributeNS(g.space,g.local))===(tt=Ne+"")?null:ve===T&&tt===G?ce:(G=tt,ce=c(T=ve,Ne))}}function X2(g,c){return function(a){this.setAttribute(g,c.call(this,a))}}function iu(g,c){return function(a){this.setAttributeNS(g.space,g.local,c.call(this,a))}}function Ua(g,c){var a,T;function G(){var ce=c.apply(this,arguments);return ce!==T&&(a=(T=ce)&&iu(g,ce)),a}return G._value=c,G}function Gc(g,c){var a,T;function G(){var ce=c.apply(this,arguments);return ce!==T&&(a=(T=ce)&&X2(g,ce)),a}return G._value=c,G}function L2(g,c){return function(){Me(this,g).delay=+c.apply(this,arguments)}}function E2(g,c){return c=+c,function(){Me(this,g).delay=c}}function ru(g,c){return function(){Fe(this,g).duration=+c.apply(this,arguments)}}function da(g,c){return c=+c,function(){Fe(this,g).duration=c}}function ns(g,c){if("function"!=typeof c)throw new Error;return function(){Fe(this,g).ease=c}}function Is(g,c,a){var T,G,ce=function su(g){return(g+"").trim().split(/^|\s+/).every(function(c){var a=c.indexOf(".");return a>=0&&(c=c.slice(0,a)),!c||"start"===c})}(c)?Me:Fe;return function(){var ve=ce(this,g),Ne=ve.on;Ne!==T&&(G=(T=Ne).copy()).on(c,a),ve.on=G}}Rn(tr,Ac,{copy:function(g){return Object.assign(new this.constructor,this,g)},displayable:function(){return this.rgb().displayable()},hex:Ds,formatHex:Ds,formatHsl:function f1(){return Dl(this).formatHsl()},formatRgb:Cc,toString:Cc}),Rn(to,function D3(g,c,a,T){return 1===arguments.length?Jl(g):new to(g,c,a,null==T?1:T)},Si(tr,{brighter:function(g){return g=null==g?po:Math.pow(po,g),new to(this.r*g,this.g*g,this.b*g,this.opacity)},darker:function(g){return g=null==g?.7:Math.pow(.7,g),new to(this.r*g,this.g*g,this.b*g,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:hs,formatHex:hs,formatRgb:i2,toString:i2})),Rn(Z2,function n4(g,c,a,T){return 1===arguments.length?Dl(g):new Z2(g,c,a,null==T?1:T)},Si(tr,{brighter:function(g){return g=null==g?po:Math.pow(po,g),new Z2(this.h,this.s,this.l*g,this.opacity)},darker:function(g){return g=null==g?.7:Math.pow(.7,g),new Z2(this.h,this.s,this.l*g,this.opacity)},rgb:function(){var g=this.h%360+360*(this.h<0),c=isNaN(g)||isNaN(this.s)?0:this.s,a=this.l,T=a+(a<.5?a:1-a)*c,G=2*a-T;return new to(ll(g>=240?g-240:g+120,G,T),ll(g,G,T),ll(g<120?g+240:g-120,G,T),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var g=this.opacity;return(1===(g=isNaN(g)?1:Math.max(0,Math.min(1,g)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===g?")":", "+g+")")}}));var Du=ui.prototype.constructor;function Ya(g){return function(){this.style.removeProperty(g)}}function Iu(g,c,a){return function(T){this.style.setProperty(g,c.call(this,T),a)}}function ed(g,c,a){var T,G;function ce(){var ve=c.apply(this,arguments);return ve!==G&&(T=(G=ve)&&Iu(g,ve,a)),T}return ce._value=c,ce}function I2(g){return function(c){this.textContent=g.call(this,c)}}function Wa(g){var c,a;function T(){var G=g.apply(this,arguments);return G!==a&&(c=(a=G)&&I2(G)),c}return T._value=g,T}var wc=0;function bl(g,c,a,T){this._groups=g,this._parents=c,this._name=a,this._id=T}function ms(){return++wc}var ea=ui.prototype;bl.prototype=function As(g){return ui().transition(g)}.prototype={constructor:bl,select:function Y1(g){var c=this._name,a=this._id;"function"!=typeof g&&(g=Je(g));for(var T=this._groups,G=T.length,ce=new Array(G),ve=0;ve<G;++ve)for(var Ct,qt,Ne=T[ve],tt=Ne.length,ut=ce[ve]=new Array(tt),At=0;At<tt;++At)(Ct=Ne[At])&&(qt=g.call(Ct,Ct.__data__,At,Ne))&&("__data__"in Ct&&(qt.__data__=Ct.__data__),ut[At]=qt,nn(ut[At],c,a,At,ut,ge(Ct,a)));return new bl(ce,this._parents,c,a)},selectAll:function T1(g){var c=this._name,a=this._id;"function"!=typeof g&&(g=$t(g));for(var T=this._groups,G=T.length,ce=[],ve=[],Ne=0;Ne<G;++Ne)for(var Ct,tt=T[Ne],ut=tt.length,qt=0;qt<ut;++qt)if(Ct=tt[qt]){for(var jn,At=g.call(Ct,Ct.__data__,qt,tt),fi=ge(Ct,a),Xi=0,Hn=At.length;Xi<Hn;++Xi)(jn=At[Xi])&&nn(jn,c,a,Xi,At,fi);ce.push(At),ve.push(Ct)}return new bl(ce,ve,c,a)},filter:function e3(g){"function"!=typeof g&&(g=Ft(g));for(var c=this._groups,a=c.length,T=new Array(a),G=0;G<a;++G)for(var tt,ce=c[G],ve=ce.length,Ne=T[G]=[],ut=0;ut<ve;++ut)(tt=ce[ut])&&g.call(tt,tt.__data__,ut,ce)&&Ne.push(tt);return new bl(T,this._parents,this._name,this._id)},merge:function ou(g){if(g._id!==this._id)throw new Error;for(var c=this._groups,a=g._groups,T=c.length,G=a.length,ce=Math.min(T,G),ve=new Array(T),Ne=0;Ne<ce;++Ne)for(var At,tt=c[Ne],ut=a[Ne],Ct=tt.length,qt=ve[Ne]=new Array(Ct),jn=0;jn<Ct;++jn)(At=tt[jn]||ut[jn])&&(qt[jn]=At);for(;Ne<T;++Ne)ve[Ne]=c[Ne];return new bl(ve,this._parents,this._name,this._id)},selection:function Ql(){return new Du(this._groups,this._parents)},transition:function A2(){for(var g=this._name,c=this._id,a=ms(),T=this._groups,G=T.length,ce=0;ce<G;++ce)for(var tt,ve=T[ce],Ne=ve.length,ut=0;ut<Ne;++ut)if(tt=ve[ut]){var Ct=ge(tt,c);nn(tt,g,a,ut,ve,{time:Ct.time+Ct.delay+Ct.duration,delay:0,duration:Ct.duration,ease:Ct.ease})}return new bl(T,this._parents,g,a)},call:ea.call,nodes:ea.nodes,node:ea.node,size:ea.size,empty:ea.empty,each:ea.each,on:function U1(g,c){var a=this._id;return arguments.length<2?ge(this.node(),a).on.on(g):this.each(Is(a,g,c))},attr:function Ld(g,c){var a=Yr(g),T="transform"===a?Ee:nu;return this.attrTween(g,"function"==typeof c?(a.local?p1:bf)(a,T,wn(this,"attr."+g,c)):null==c?(a.local?w1:Va)(a):(a.local?ap:Ju)(a,T,c))},attrTween:function k2(g,c){var a="attr."+g;if(arguments.length<2)return(a=this.tween(a))&&a._value;if(null==c)return this.tween(a,null);if("function"!=typeof c)throw new Error;var T=Yr(g);return this.tween(a,(T.local?Ua:Gc)(T,c))},style:function g1(g,c,a){var T="transform"==(g+="")?he:nu;return null==c?this.styleTween(g,function Dd(g,c){var a,T,G;return function(){var ce=_o(this,g),ve=(this.style.removeProperty(g),_o(this,g));return ce===ve?null:ce===a&&ve===T?G:G=c(a=ce,T=ve)}}(g,T)).on("end.style."+g,Ya(g)):"function"==typeof c?this.styleTween(g,function au(g,c,a){var T,G,ce;return function(){var ve=_o(this,g),Ne=a(this),tt=Ne+"";return null==Ne&&(this.style.removeProperty(g),tt=Ne=_o(this,g)),ve===tt?null:ve===T&&tt===G?ce:(G=tt,ce=c(T=ve,Ne))}}(g,T,wn(this,"style."+g,c))).each(function Q2(g,c){var a,T,G,Ne,ce="style."+c,ve="end."+ce;return function(){var tt=Fe(this,g),ut=tt.on,Ct=null==tt.value[ce]?Ne||(Ne=Ya(c)):void 0;(ut!==a||G!==Ct)&&(T=(a=ut).copy()).on(ve,G=Ct),tt.on=T}}(this._id,g)):this.styleTween(g,function ec(g,c,a){var T,ce,G=a+"";return function(){var ve=_o(this,g);return ve===G?null:ve===T?ce:ce=c(T=ve,a)}}(g,T,c),a).on("end.style."+g,null)},styleTween:function Ja(g,c,a){var T="style."+(g+="");if(arguments.length<2)return(T=this.tween(T))&&T._value;if(null==c)return this.tween(T,null);if("function"!=typeof c)throw new Error;return this.tween(T,ed(g,c,null==a?"":a))},text:function lu(g){return this.tween("text","function"==typeof g?function td(g){return function(){var c=g(this);this.textContent=null==c?"":c}}(wn(this,"text",g)):function D2(g){return function(){this.textContent=g}}(null==g?"":g+""))},textTween:function Au(g){var c="text";if(arguments.length<1)return(c=this.tween(c))&&c._value;if(null==g)return this.tween(c,null);if("function"!=typeof g)throw new Error;return this.tween(c,Wa(g))},remove:function M1(){return this.on("end.remove",function Il(g){return function(){var c=this.parentNode;for(var a in this.__transition)if(+a!==g)return;c&&c.removeChild(this)}}(this._id))},tween:function Zt(g,c){var a=this._id;if(g+="",arguments.length<2){for(var ve,T=ge(this.node(),a).tween,G=0,ce=T.length;G<ce;++G)if((ve=T[G]).name===g)return ve.value;return null}return this.each((null==c?We:wt)(a,g,c))},delay:function Pi(g){var c=this._id;return arguments.length?this.each(("function"==typeof g?L2:E2)(c,g)):ge(this.node(),c).delay},duration:function Ed(g){var c=this._id;return arguments.length?this.each(("function"==typeof g?ru:da)(c,g)):ge(this.node(),c).duration},ease:function Qu(g){var c=this._id;return arguments.length?this.each(ns(c,g)):ge(this.node(),c).ease},easeVarying:function r2(g){if("function"!=typeof g)throw new Error;return this.each(function J2(g,c){return function(){var a=c.apply(this,arguments);if("function"!=typeof a)throw new Error;Fe(this,g).ease=a}}(this._id,g))},end:function Vl(){var g,c,a=this,T=a._id,G=a.size();return new Promise(function(ce,ve){var Ne={value:ve},tt={value:function(){0==--G&&ce()}};a.each(function(){var ut=Fe(this,T),Ct=ut.on;Ct!==g&&((c=(g=Ct).copy())._.cancel.push(Ne),c._.interrupt.push(Ne),c._.end.push(tt)),ut.on=c}),0===G&&ce()})},[Symbol.iterator]:ea[Symbol.iterator]};var id={time:null,delay:0,duration:250,ease:function W1(g){return((g*=2)<=1?g*g*g:(g-=2)*g*g+2)/2}};function Mc(g,c){for(var a;!(a=g.__transition)||!(a=a[c]);)if(!(g=g.parentNode))throw new Error(`transition ${c} not found`);return a}ui.prototype.interrupt=function He(g){return this.each(function(){xe(this,g)})},ui.prototype.transition=function o2(g){var c,a;g instanceof bl?(c=g._id,g=g._name):(c=ms(),(a=id).time=Ao(),g=null==g?null:g+"");for(var T=this._groups,G=T.length,ce=0;ce<G;++ce)for(var tt,ve=T[ce],Ne=ve.length,ut=0;ut<Ne;++ut)(tt=ve[ut])&&nn(tt,g,c,ut,ve,a||Mc(tt,c));return new bl(T,this._parents,g,c)};const qc=g=>()=>g;function t3(g,{sourceEvent:c,target:a,selection:T,mode:G,dispatch:ce}){Object.defineProperties(this,{type:{value:g,enumerable:!0,configurable:!0},sourceEvent:{value:c,enumerable:!0,configurable:!0},target:{value:a,enumerable:!0,configurable:!0},selection:{value:T,enumerable:!0,configurable:!0},mode:{value:G,enumerable:!0,configurable:!0},_:{value:ce}})}function $c(g){g.stopImmediatePropagation()}function od(g){g.preventDefault(),g.stopImmediatePropagation()}var Pc={name:"drag"},O2={name:"space"},Ns={name:"handle"},se={name:"center"};const{abs:Te,max:Ue,min:it}=Math;function Lt(g){return[+g[0],+g[1]]}function mn(g){return[Lt(g[0]),Lt(g[1])]}var ii={name:"x",handles:["w","e"].map(r4),input:function(g,c){return null==g?null:[[+g[0],c[0][1]],[+g[1],c[1][1]]]},output:function(g){return g&&[g[0][0],g[1][0]]}},Tr={name:"y",handles:["n","s"].map(r4),input:function(g,c){return null==g?null:[[c[0][0],+g[0]],[c[1][0],+g[1]]]},output:function(g){return g&&[g[0][1],g[1][1]]}},fs=(["n","w","e","s","nw","ne","sw","se"].map(r4),{overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"}),ta={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},os={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Vs={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},i4={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function r4(g){return{type:g}}function lp(g){return!g.ctrlKey&&!g.button}function Y4(){var g=this.ownerSVGElement||this;return g.hasAttribute("viewBox")?[[(g=g.viewBox.baseVal).x,g.y],[g.x+g.width,g.y+g.height]]:[[0,0],[g.width.baseVal.value,g.height.baseVal.value]]}function cp(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ou(g){for(;!g.__brush;)if(!(g=g.parentNode))return;return g.__brush}function Pu(g){return g[0][0]===g[1][0]||g[0][1]===g[1][1]}function xf(g){var Ne,c=Y4,a=lp,T=cp,G=!0,ce=Ir("start","brush","end"),ve=6;function tt(Hn){var Qi=Hn.property("__brush",Xi).selectAll(".overlay").data([r4("overlay")]);Qi.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",fs.overlay).merge(Qi).each(function(){var ar=Ou(this).extent;Ui(this).attr("x",ar[0][0]).attr("y",ar[0][1]).attr("width",ar[1][0]-ar[0][0]).attr("height",ar[1][1]-ar[0][1])}),Hn.selectAll(".selection").data([r4("selection")]).enter().append("rect").attr("class","selection").attr("cursor",fs.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var lr=Hn.selectAll(".handle").data(g.handles,function(ar){return ar.type});lr.exit().remove(),lr.enter().append("rect").attr("class",function(ar){return"handle handle--"+ar.type}).attr("cursor",function(ar){return fs[ar.type]}),Hn.each(ut).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",At).filter(T).on("touchstart.brush",At).on("touchmove.brush",jn).on("touchend.brush touchcancel.brush",fi).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function ut(){var Hn=Ui(this),Qi=Ou(this).selection;Qi?(Hn.selectAll(".selection").style("display",null).attr("x",Qi[0][0]).attr("y",Qi[0][1]).attr("width",Qi[1][0]-Qi[0][0]).attr("height",Qi[1][1]-Qi[0][1]),Hn.selectAll(".handle").style("display",null).attr("x",function(lr){return"e"===lr.type[lr.type.length-1]?Qi[1][0]-ve/2:Qi[0][0]-ve/2}).attr("y",function(lr){return"s"===lr.type[0]?Qi[1][1]-ve/2:Qi[0][1]-ve/2}).attr("width",function(lr){return"n"===lr.type||"s"===lr.type?Qi[1][0]-Qi[0][0]+ve:ve}).attr("height",function(lr){return"e"===lr.type||"w"===lr.type?Qi[1][1]-Qi[0][1]+ve:ve})):Hn.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function Ct(Hn,Qi,lr){var ar=Hn.__brush.emitter;return!ar||lr&&ar.clean?new qt(Hn,Qi,lr):ar}function qt(Hn,Qi,lr){this.that=Hn,this.args=Qi,this.state=Hn.__brush,this.active=0,this.clean=lr}function At(Hn){if((!Ne||Hn.touches)&&a.apply(this,arguments)){var Pa,vo,wo,Za,Rl,Nl,fl,l1,vf,Sh,e4,Qi=this,lr=Hn.target.__data__.type,ar="selection"===(G&&Hn.metaKey?lr="overlay":lr)?Pc:G&&Hn.altKey?se:Ns,Gr=g===Tr?null:Vs[lr],ro=g===ii?null:i4[lr],Lr=Ou(Qi),kl=Lr.extent,Oa=Lr.selection,lc=kl[0][0],Oo=kl[0][1],T2=kl[1][0],y1=kl[1][1],pl=0,Uc=0,E3=Gr&&ro&&G&&Hn.shiftKey,V1=Array.from(Hn.touches||[Hn],Ts=>{const Wc=Ts.identifier;return(Ts=Zn(Ts,Qi)).point0=Ts.slice(),Ts.identifier=Wc,Ts});if("overlay"===lr){Oa&&(vf=!0);const Ts=[V1[0],V1[1]||V1[0]];Lr.selection=Oa=[[Pa=g===Tr?lc:it(Ts[0][0],Ts[1][0]),wo=g===ii?Oo:it(Ts[0][1],Ts[1][1])],[Rl=g===Tr?T2:Ue(Ts[0][0],Ts[1][0]),fl=g===ii?y1:Ue(Ts[0][1],Ts[1][1])]],V1.length>1&&Dc()}else Pa=Oa[0][0],wo=Oa[0][1],Rl=Oa[1][0],fl=Oa[1][1];vo=Pa,Za=wo,Nl=Rl,l1=fl;var kh=Ui(Qi).attr("pointer-events","none"),Vr=kh.selectAll(".overlay").attr("cursor",fs[lr]);xe(Qi);var Ms=Ct(Qi,arguments,!0).beforestart();if(Hn.touches)Ms.moved=rr,Ms.ended=Sa;else{var Xa=Ui(Hn.view).on("mousemove.brush",rr,!0).on("mouseup.brush",Sa,!0);G&&Xa.on("keydown.brush",Lu,!0).on("keyup.brush",Yc,!0),Go(Hn.view)}ut.call(Qi),Ms.start(Hn,ar.name)}function rr(Ts){for(const Wc of Ts.changedTouches||[Ts])for(const Lh of V1)Lh.identifier===Wc.identifier&&(Lh.cur=Zn(Wc,Qi));if(E3&&!Sh&&!e4&&1===V1.length){const Wc=V1[0];Te(Wc.cur[0]-Wc[0])>Te(Wc.cur[1]-Wc[1])?e4=!0:Sh=!0}for(const Wc of V1)Wc.cur&&(Wc[0]=Wc.cur[0],Wc[1]=Wc.cur[1]);vf=!0,od(Ts),Dc(Ts)}function Dc(Ts){const Wc=V1[0],Lh=Wc.point0;var Xu;switch(pl=Wc[0]-Lh[0],Uc=Wc[1]-Lh[1],ar){case O2:case Pc:Gr&&(pl=Ue(lc-Pa,it(T2-Rl,pl)),vo=Pa+pl,Nl=Rl+pl),ro&&(Uc=Ue(Oo-wo,it(y1-fl,Uc)),Za=wo+Uc,l1=fl+Uc);break;case Ns:V1[1]?(Gr&&(vo=Ue(lc,it(T2,V1[0][0])),Nl=Ue(lc,it(T2,V1[1][0])),Gr=1),ro&&(Za=Ue(Oo,it(y1,V1[0][1])),l1=Ue(Oo,it(y1,V1[1][1])),ro=1)):(Gr<0?(pl=Ue(lc-Pa,it(T2-Pa,pl)),vo=Pa+pl,Nl=Rl):Gr>0&&(pl=Ue(lc-Rl,it(T2-Rl,pl)),vo=Pa,Nl=Rl+pl),ro<0?(Uc=Ue(Oo-wo,it(y1-wo,Uc)),Za=wo+Uc,l1=fl):ro>0&&(Uc=Ue(Oo-fl,it(y1-fl,Uc)),Za=wo,l1=fl+Uc));break;case se:Gr&&(vo=Ue(lc,it(T2,Pa-pl*Gr)),Nl=Ue(lc,it(T2,Rl+pl*Gr))),ro&&(Za=Ue(Oo,it(y1,wo-Uc*ro)),l1=Ue(Oo,it(y1,fl+Uc*ro)))}Nl<vo&&(Gr*=-1,Xu=Pa,Pa=Rl,Rl=Xu,Xu=vo,vo=Nl,Nl=Xu,lr in ta&&Vr.attr("cursor",fs[lr=ta[lr]])),l1<Za&&(ro*=-1,Xu=wo,wo=fl,fl=Xu,Xu=Za,Za=l1,l1=Xu,lr in os&&Vr.attr("cursor",fs[lr=os[lr]])),Lr.selection&&(Oa=Lr.selection),Sh&&(vo=Oa[0][0],Nl=Oa[1][0]),e4&&(Za=Oa[0][1],l1=Oa[1][1]),(Oa[0][0]!==vo||Oa[0][1]!==Za||Oa[1][0]!==Nl||Oa[1][1]!==l1)&&(Lr.selection=[[vo,Za],[Nl,l1]],ut.call(Qi),Ms.brush(Ts,ar.name))}function Sa(Ts){if($c(Ts),Ts.touches){if(Ts.touches.length)return;Ne&&clearTimeout(Ne),Ne=setTimeout(function(){Ne=null},500)}else ko(Ts.view,vf),Xa.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);kh.attr("pointer-events","all"),Vr.attr("cursor",fs.overlay),Lr.selection&&(Oa=Lr.selection),Pu(Oa)&&(Lr.selection=null,ut.call(Qi)),Ms.end(Ts,ar.name)}function Lu(Ts){switch(Ts.keyCode){case 16:E3=Gr&&ro;break;case 18:ar===Ns&&(Gr&&(Rl=Nl-pl*Gr,Pa=vo+pl*Gr),ro&&(fl=l1-Uc*ro,wo=Za+Uc*ro),ar=se,Dc());break;case 32:(ar===Ns||ar===se)&&(Gr<0?Rl=Nl-pl:Gr>0&&(Pa=vo-pl),ro<0?fl=l1-Uc:ro>0&&(wo=Za-Uc),ar=O2,Vr.attr("cursor",fs.selection),Dc());break;default:return}od(Ts)}function Yc(Ts){switch(Ts.keyCode){case 16:E3&&(Sh=e4=E3=!1,Dc());break;case 18:ar===se&&(Gr<0?Rl=Nl:Gr>0&&(Pa=vo),ro<0?fl=l1:ro>0&&(wo=Za),ar=Ns,Dc());break;case 32:ar===O2&&(Ts.altKey?(Gr&&(Rl=Nl-pl*Gr,Pa=vo+pl*Gr),ro&&(fl=l1-Uc*ro,wo=Za+Uc*ro),ar=se):(Gr<0?Rl=Nl:Gr>0&&(Pa=vo),ro<0?fl=l1:ro>0&&(wo=Za),ar=Ns),Vr.attr("cursor",fs[lr]),Dc());break;default:return}od(Ts)}}function jn(Hn){Ct(this,arguments).moved(Hn)}function fi(Hn){Ct(this,arguments).ended(Hn)}function Xi(){var Hn=this.__brush||{selection:null};return Hn.extent=mn(c.apply(this,arguments)),Hn.dim=g,Hn}return tt.move=function(Hn,Qi){Hn.tween?Hn.on("start.brush",function(lr){Ct(this,arguments).beforestart().start(lr)}).on("interrupt.brush end.brush",function(lr){Ct(this,arguments).end(lr)}).tween("brush",function(){var lr=this,ar=lr.__brush,Gr=Ct(lr,arguments),ro=ar.selection,Lr=g.input("function"==typeof Qi?Qi.apply(this,arguments):Qi,ar.extent),kl=Ze(ro,Lr);function Oa(lc){ar.selection=1===lc&&null===Lr?null:kl(lc),ut.call(lr),Gr.brush()}return null!==ro&&null!==Lr?Oa:Oa(1)}):Hn.each(function(){var lr=this,ar=arguments,Gr=lr.__brush,ro=g.input("function"==typeof Qi?Qi.apply(lr,ar):Qi,Gr.extent),Lr=Ct(lr,ar).beforestart();xe(lr),Gr.selection=null===ro?null:ro,ut.call(lr),Lr.start().brush().end()})},tt.clear=function(Hn){tt.move(Hn,null)},qt.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(Hn,Qi){return this.starting?(this.starting=!1,this.emit("start",Hn,Qi)):this.emit("brush",Hn),this},brush:function(Hn,Qi){return this.emit("brush",Hn,Qi),this},end:function(Hn,Qi){return 0==--this.active&&(delete this.state.emitter,this.emit("end",Hn,Qi)),this},emit:function(Hn,Qi,lr){var ar=Ui(this.that).datum();ce.call(Hn,this.that,new t3(Hn,{sourceEvent:Qi,target:tt,selection:g.output(this.state.selection),mode:lr,dispatch:ce}),ar)}},tt.extent=function(Hn){return arguments.length?(c="function"==typeof Hn?Hn:qc(mn(Hn)),tt):c},tt.filter=function(Hn){return arguments.length?(a="function"==typeof Hn?Hn:qc(!!Hn),tt):a},tt.touchable=function(Hn){return arguments.length?(T="function"==typeof Hn?Hn:qc(!!Hn),tt):T},tt.handleSize=function(Hn){return arguments.length?(ve=+Hn,tt):ve},tt.keyModifiers=function(Hn){return arguments.length?(G=!!Hn,tt):G},tt.on=function(){var Hn=ce.on.apply(ce,arguments);return Hn===ce?tt:Hn},tt}function o4(g,c){return g<c?-1:g>c?1:g>=c?0:NaN}function Ah(g){let c=g,a=g;function T(ve,Ne,tt,ut){for(null==tt&&(tt=0),null==ut&&(ut=ve.length);tt<ut;){const Ct=tt+ut>>>1;a(ve[Ct],Ne)<0?tt=Ct+1:ut=Ct}return tt}return 1===g.length&&(c=(ve,Ne)=>g(ve)-Ne,a=function zu(g){return(c,a)=>o4(g(c),a)}(g)),{left:T,center:function ce(ve,Ne,tt,ut){null==tt&&(tt=0),null==ut&&(ut=ve.length);const Ct=T(ve,Ne,tt,ut-1);return Ct>tt&&c(ve[Ct-1],Ne)>-c(ve[Ct],Ne)?Ct-1:Ct},right:function G(ve,Ne,tt,ut){for(null==tt&&(tt=0),null==ut&&(ut=ve.length);tt<ut;){const Ct=tt+ut>>>1;a(ve[Ct],Ne)>0?ut=Ct:tt=Ct+1}return tt}}}var n3=Math.sqrt(50),zc=Math.sqrt(10),i3=Math.sqrt(2);function sd(g,c,a){var T=(c-g)/Math.max(0,a),G=Math.floor(Math.log(T)/Math.LN10),ce=T/Math.pow(10,G);return G>=0?(ce>=n3?10:ce>=zc?5:ce>=i3?2:1)*Math.pow(10,G):-Math.pow(10,-G)/(ce>=n3?10:ce>=zc?5:ce>=i3?2:1)}function s2(g,c,a){var T=Math.abs(c-g)/Math.max(0,a),G=Math.pow(10,Math.floor(Math.log(T)/Math.LN10)),ce=T/G;return ce>=n3?G*=10:ce>=zc?G*=5:ce>=i3&&(G*=2),c<g?-G:G}const tc=1e3,ua=6e4,xa=60*ua,a2=24*xa,za=7*a2,ad=30*a2,P2=365*a2;var G1=new Date,Id=new Date;function nc(g,c,a,T){function G(ce){return g(ce=0===arguments.length?new Date:new Date(+ce)),ce}return G.floor=function(ce){return g(ce=new Date(+ce)),ce},G.ceil=function(ce){return g(ce=new Date(ce-1)),c(ce,1),g(ce),ce},G.round=function(ce){var ve=G(ce),Ne=G.ceil(ce);return ce-ve<Ne-ce?ve:Ne},G.offset=function(ce,ve){return c(ce=new Date(+ce),null==ve?1:Math.floor(ve)),ce},G.range=function(ce,ve,Ne){var ut,tt=[];if(ce=G.ceil(ce),Ne=null==Ne?1:Math.floor(Ne),!(ce<ve&&Ne>0))return tt;do{tt.push(ut=new Date(+ce)),c(ce,Ne),g(ce)}while(ut<ce&&ce<ve);return tt},G.filter=function(ce){return nc(function(ve){if(ve>=ve)for(;g(ve),!ce(ve);)ve.setTime(ve-1)},function(ve,Ne){if(ve>=ve)if(Ne<0)for(;++Ne<=0;)for(;c(ve,-1),!ce(ve););else for(;--Ne>=0;)for(;c(ve,1),!ce(ve););})},a&&(G.count=function(ce,ve){return G1.setTime(+ce),Id.setTime(+ve),g(G1),g(Id),Math.floor(a(G1,Id))},G.every=function(ce){return ce=Math.floor(ce),isFinite(ce)&&ce>0?ce>1?G.filter(T?function(ve){return T(ve)%ce==0}:function(ve){return G.count(0,ve)%ce==0}):G:null}),G}var k1=nc(function(){},function(g,c){g.setTime(+g+c)},function(g,c){return c-g});k1.every=function(g){return g=Math.floor(g),isFinite(g)&&g>0?g>1?nc(function(c){c.setTime(Math.floor(c/g)*g)},function(c,a){c.setTime(+c+a*g)},function(c,a){return(a-c)/g}):k1:null};const l2=k1;k1.range;var Al=nc(function(g){g.setTime(g-g.getMilliseconds())},function(g,c){g.setTime(+g+c*tc)},function(g,c){return(c-g)/tc},function(g){return g.getUTCSeconds()});const ic=Al;Al.range;var Ol=nc(function(g){g.setTime(g-g.getMilliseconds()-g.getSeconds()*tc)},function(g,c){g.setTime(+g+c*ua)},function(g,c){return(c-g)/ua},function(g){return g.getMinutes()});const cu=Ol;Ol.range;var Ca=nc(function(g){g.setTime(g-g.getMilliseconds()-g.getSeconds()*tc-g.getMinutes()*ua)},function(g,c){g.setTime(+g+c*xa)},function(g,c){return(c-g)/xa},function(g){return g.getHours()});const Hs=Ca;Ca.range;var jr=nc(g=>g.setHours(0,0,0,0),(g,c)=>g.setDate(g.getDate()+c),(g,c)=>(c-g-(c.getTimezoneOffset()-g.getTimezoneOffset())*ua)/a2,g=>g.getDate()-1);const yl=jr;jr.range;function wa(g){return nc(function(c){c.setDate(c.getDate()-(c.getDay()+7-g)%7),c.setHours(0,0,0,0)},function(c,a){c.setDate(c.getDate()+7*a)},function(c,a){return(a-c-(a.getTimezoneOffset()-c.getTimezoneOffset())*ua)/za})}var cl=wa(0),Nu=wa(1),Od=wa(2),Rc=wa(3),q1=wa(4),ld=wa(5),du=wa(6),G4=(cl.range,Nu.range,Od.range,Rc.range,q1.range,ld.range,du.range,nc(function(g){g.setDate(1),g.setHours(0,0,0,0)},function(g,c){g.setMonth(g.getMonth()+c)},function(g,c){return c.getMonth()-g.getMonth()+12*(c.getFullYear()-g.getFullYear())},function(g){return g.getMonth()}));const cd=G4;G4.range;var D1=nc(function(g){g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,c){g.setFullYear(g.getFullYear()+c)},function(g,c){return c.getFullYear()-g.getFullYear()},function(g){return g.getFullYear()});D1.every=function(g){return isFinite(g=Math.floor(g))&&g>0?nc(function(c){c.setFullYear(Math.floor(c.getFullYear()/g)*g),c.setMonth(0,1),c.setHours(0,0,0,0)},function(c,a){c.setFullYear(c.getFullYear()+a*g)}):null};const c2=D1;D1.range;var O3=nc(function(g){g.setUTCSeconds(0,0)},function(g,c){g.setTime(+g+c*ua)},function(g,c){return(c-g)/ua},function(g){return g.getUTCMinutes()});const Kc=O3;O3.range;var hu=nc(function(g){g.setUTCMinutes(0,0,0)},function(g,c){g.setTime(+g+c*xa)},function(g,c){return(c-g)/xa},function(g){return g.getUTCHours()});const m1=hu;hu.range;var No=nc(function(g){g.setUTCHours(0,0,0,0)},function(g,c){g.setUTCDate(g.getUTCDate()+c)},function(g,c){return(c-g)/a2},function(g){return g.getUTCDate()-1});const u2=No;No.range;function Xs(g){return nc(function(c){c.setUTCDate(c.getUTCDate()-(c.getUTCDay()+7-g)%7),c.setUTCHours(0,0,0,0)},function(c,a){c.setUTCDate(c.getUTCDate()+7*a)},function(c,a){return(a-c)/za})}var f2=Xs(0),K1=Xs(1),z2=Xs(2),rc=Xs(3),a4=Xs(4),xl=Xs(5),Z1=Xs(6),Bu=(f2.range,K1.range,z2.range,rc.range,a4.range,xl.range,Z1.range,nc(function(g){g.setUTCDate(1),g.setUTCHours(0,0,0,0)},function(g,c){g.setUTCMonth(g.getUTCMonth()+c)},function(g,c){return c.getUTCMonth()-g.getUTCMonth()+12*(c.getUTCFullYear()-g.getUTCFullYear())},function(g){return g.getUTCMonth()}));const Nd=Bu;Bu.range;var Nc=nc(function(g){g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,c){g.setUTCFullYear(g.getUTCFullYear()+c)},function(g,c){return c.getUTCFullYear()-g.getUTCFullYear()},function(g){return g.getUTCFullYear()});Nc.every=function(g){return isFinite(g=Math.floor(g))&&g>0?nc(function(c){c.setUTCFullYear(Math.floor(c.getUTCFullYear()/g)*g),c.setUTCMonth(0,1),c.setUTCHours(0,0,0,0)},function(c,a){c.setUTCFullYear(c.getUTCFullYear()+a*g)}):null};const ud=Nc;Nc.range;function Hc(g,c,a,T,G,ce){const ve=[[ic,1,tc],[ic,5,5e3],[ic,15,15e3],[ic,30,3e4],[ce,1,ua],[ce,5,5*ua],[ce,15,15*ua],[ce,30,30*ua],[G,1,xa],[G,3,3*xa],[G,6,6*xa],[G,12,12*xa],[T,1,a2],[T,2,2*a2],[a,1,za],[c,1,ad],[c,3,3*ad],[g,1,P2]];function tt(ut,Ct,qt){const At=Math.abs(Ct-ut)/qt,jn=Ah(([,,Hn])=>Hn).right(ve,At);if(jn===ve.length)return g.every(s2(ut/P2,Ct/P2,qt));if(0===jn)return l2.every(Math.max(s2(ut,Ct,qt),1));const[fi,Xi]=ve[At/ve[jn-1][2]<ve[jn][2]/At?jn-1:jn];return fi.every(Xi)}return[function Ne(ut,Ct,qt){const At=Ct<ut;At&&([ut,Ct]=[Ct,ut]);const jn=qt&&"function"==typeof qt.range?qt:tt(ut,Ct,qt),fi=jn?jn.range(ut,+Ct+1):[];return At?fi.reverse():fi},tt]}const[Hd,Tc]=Hc(ud,Nd,f2,u2,m1,Kc),[Yl,ju]=Hc(c2,cd,cl,yl,Hs,cu);var fc=new Date,wl=new Date;function Sc(g,c,a,T){function G(ce){return g(ce=0===arguments.length?new Date:new Date(+ce)),ce}return G.floor=function(ce){return g(ce=new Date(+ce)),ce},G.ceil=function(ce){return g(ce=new Date(ce-1)),c(ce,1),g(ce),ce},G.round=function(ce){var ve=G(ce),Ne=G.ceil(ce);return ce-ve<Ne-ce?ve:Ne},G.offset=function(ce,ve){return c(ce=new Date(+ce),null==ve?1:Math.floor(ve)),ce},G.range=function(ce,ve,Ne){var ut,tt=[];if(ce=G.ceil(ce),Ne=null==Ne?1:Math.floor(Ne),!(ce<ve&&Ne>0))return tt;do{tt.push(ut=new Date(+ce)),c(ce,Ne),g(ce)}while(ut<ce&&ce<ve);return tt},G.filter=function(ce){return Sc(function(ve){if(ve>=ve)for(;g(ve),!ce(ve);)ve.setTime(ve-1)},function(ve,Ne){if(ve>=ve)if(Ne<0)for(;++Ne<=0;)for(;c(ve,-1),!ce(ve););else for(;--Ne>=0;)for(;c(ve,1),!ce(ve););})},a&&(G.count=function(ce,ve){return fc.setTime(+ce),wl.setTime(+ve),g(fc),g(wl),Math.floor(a(fc,wl))},G.every=function(ce){return ce=Math.floor(ce),isFinite(ce)&&ce>0?ce>1?G.filter(T?function(ve){return T(ve)%ce==0}:function(ve){return G.count(0,ve)%ce==0}):G:null}),G}var fd=6048e5;function Zc(g){return Sc(function(c){c.setUTCDate(c.getUTCDate()-(c.getUTCDay()+7-g)%7),c.setUTCHours(0,0,0,0)},function(c,a){c.setUTCDate(c.getUTCDate()+7*a)},function(c,a){return(a-c)/fd})}var X1=Zc(0),jd=Zc(1),q4=Zc(2),Fd=Zc(3),A1=Zc(4),pd=Zc(5),J1=Zc(6),Xc=(X1.range,jd.range,q4.range,Fd.range,A1.range,pd.range,J1.range,Sc(function(g){g.setUTCHours(0,0,0,0)},function(g,c){g.setUTCDate(g.getUTCDate()+c)},function(g,c){return(c-g)/864e5},function(g){return g.getUTCDate()-1}));const Fu=Xc;Xc.range;function oc(g){return Sc(function(c){c.setDate(c.getDate()-(c.getDay()+7-g)%7),c.setHours(0,0,0,0)},function(c,a){c.setDate(c.getDate()+7*a)},function(c,a){return(a-c-6e4*(a.getTimezoneOffset()-c.getTimezoneOffset()))/fd})}var B2=oc(0),gu=oc(1),gd=oc(2),md=oc(3),vd=oc(4),P1=oc(5),_d=oc(6),bd=(B2.range,gu.range,gd.range,md.range,vd.range,P1.range,_d.range,Sc(function(g){g.setHours(0,0,0,0)},function(g,c){g.setDate(g.getDate()+c)},function(g,c){return(c-g-6e4*(c.getTimezoneOffset()-g.getTimezoneOffset()))/864e5},function(g){return g.getDate()-1}));const ie=bd;bd.range;var $=Sc(function(g){g.setMonth(0,1),g.setHours(0,0,0,0)},function(g,c){g.setFullYear(g.getFullYear()+c)},function(g,c){return c.getFullYear()-g.getFullYear()},function(g){return g.getFullYear()});$.every=function(g){return isFinite(g=Math.floor(g))&&g>0?Sc(function(c){c.setFullYear(Math.floor(c.getFullYear()/g)*g),c.setMonth(0,1),c.setHours(0,0,0,0)},function(c,a){c.setFullYear(c.getFullYear()+a*g)}):null};const be=$;$.range;var dt=Sc(function(g){g.setUTCMonth(0,1),g.setUTCHours(0,0,0,0)},function(g,c){g.setUTCFullYear(g.getUTCFullYear()+c)},function(g,c){return c.getUTCFullYear()-g.getUTCFullYear()},function(g){return g.getUTCFullYear()});dt.every=function(g){return isFinite(g=Math.floor(g))&&g>0?Sc(function(c){c.setUTCFullYear(Math.floor(c.getUTCFullYear()/g)*g),c.setUTCMonth(0,1),c.setUTCHours(0,0,0,0)},function(c,a){c.setUTCFullYear(c.getUTCFullYear()+a*g)}):null};const Gt=dt;dt.range;function sn(g){if(0<=g.y&&g.y<100){var c=new Date(-1,g.m,g.d,g.H,g.M,g.S,g.L);return c.setFullYear(g.y),c}return new Date(g.y,g.m,g.d,g.H,g.M,g.S,g.L)}function Vn(g){if(0<=g.y&&g.y<100){var c=new Date(Date.UTC(-1,g.m,g.d,g.H,g.M,g.S,g.L));return c.setUTCFullYear(g.y),c}return new Date(Date.UTC(g.y,g.m,g.d,g.H,g.M,g.S,g.L))}function ni(g,c,a){return{y:g,m:c,d:a,H:0,M:0,S:0,L:0}}var Mf,f3,sr={"-":"",_:" ",0:"0"},dr=/^\s*\d+/,Co=/^%/,Kr=/[\\^$*+?|[\]().{}]/g;function fr(g,c,a){var T=g<0?"-":"",G=(T?-g:g)+"",ce=G.length;return T+(ce<a?new Array(a-ce+1).join(c)+G:G)}function ps(g){return g.replace(Kr,"\\$&")}function Bo(g){return new RegExp("^(?:"+g.map(ps).join("|")+")","i")}function na(g){return new Map(g.map((c,a)=>[c.toLowerCase(),a]))}function ss(g,c,a){var T=dr.exec(c.slice(a,a+1));return T?(g.w=+T[0],a+T[0].length):-1}function $o(g,c,a){var T=dr.exec(c.slice(a,a+1));return T?(g.u=+T[0],a+T[0].length):-1}function pr(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.U=+T[0],a+T[0].length):-1}function ma(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.V=+T[0],a+T[0].length):-1}function qa(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.W=+T[0],a+T[0].length):-1}function dl(g,c,a){var T=dr.exec(c.slice(a,a+4));return T?(g.y=+T[0],a+T[0].length):-1}function Wl(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.y=+T[0]+(+T[0]>68?1900:2e3),a+T[0].length):-1}function Pl(g,c,a){var T=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(c.slice(a,a+6));return T?(g.Z=T[1]?0:-(T[2]+(T[3]||"00")),a+T[0].length):-1}function Ko(g,c,a){var T=dr.exec(c.slice(a,a+1));return T?(g.q=3*T[0]-3,a+T[0].length):-1}function m2(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.m=T[0]-1,a+T[0].length):-1}function v2(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.d=+T[0],a+T[0].length):-1}function P3(g,c,a){var T=dr.exec(c.slice(a,a+3));return T?(g.m=0,g.d=+T[0],a+T[0].length):-1}function lo(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.H=+T[0],a+T[0].length):-1}function Jc(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.M=+T[0],a+T[0].length):-1}function Oh(g,c,a){var T=dr.exec(c.slice(a,a+2));return T?(g.S=+T[0],a+T[0].length):-1}function u4(g,c,a){var T=dr.exec(c.slice(a,a+3));return T?(g.L=+T[0],a+T[0].length):-1}function mu(g,c,a){var T=dr.exec(c.slice(a,a+6));return T?(g.L=Math.floor(T[0]/1e3),a+T[0].length):-1}function Qc(g,c,a){var T=Co.exec(c.slice(a,a+1));return T?a+T[0].length:-1}function $4(g,c,a){var T=dr.exec(c.slice(a));return T?(g.Q=+T[0],a+T[0].length):-1}function h4(g,c,a){var T=dr.exec(c.slice(a));return T?(g.s=+T[0],a+T[0].length):-1}function vu(g,c){return fr(g.getDate(),c,2)}function sc(g,c){return fr(g.getHours(),c,2)}function kc(g,c){return fr(g.getHours()%12||12,c,2)}function K4(g,c){return fr(1+ie.count(be(g),g),c,3)}function yd(g,c){return fr(g.getMilliseconds(),c,3)}function f4(g,c){return yd(g,c)+"000"}function Up(g,c){return fr(g.getMonth()+1,c,2)}function Yp(g,c){return fr(g.getMinutes(),c,2)}function p4(g,c){return fr(g.getSeconds(),c,2)}function g4(g){var c=g.getDay();return 0===c?7:c}function pc(g,c){return fr(B2.count(be(g)-1,g),c,2)}function c3(g){var c=g.getDay();return c>=4||0===c?vd(g):vd.ceil(g)}function Ud(g,c){return g=c3(g),fr(vd.count(be(g),g)+(4===be(g).getDay()),c,2)}function Z4(g){return g.getDay()}function Yd(g,c){return fr(gu.count(be(g)-1,g),c,2)}function X4(g,c){return fr(g.getFullYear()%100,c,2)}function m4(g,c){return fr((g=c3(g)).getFullYear()%100,c,2)}function v4(g,c){return fr(g.getFullYear()%1e4,c,4)}function Cf(g,c){var a=g.getDay();return fr((g=a>=4||0===a?vd(g):vd.ceil(g)).getFullYear()%1e4,c,4)}function Wp(g){var c=g.getTimezoneOffset();return(c>0?"-":(c*=-1,"+"))+fr(c/60|0,"0",2)+fr(c%60,"0",2)}function d3(g,c){return fr(g.getUTCDate(),c,2)}function dp(g,c){return fr(g.getUTCHours(),c,2)}function up(g,c){return fr(g.getUTCHours()%12||12,c,2)}function _4(g,c){return fr(1+Fu.count(Gt(g),g),c,3)}function wf(g,c){return fr(g.getUTCMilliseconds(),c,3)}function J4(g,c){return wf(g,c)+"000"}function um(g,c){return fr(g.getUTCMonth()+1,c,2)}function pg(g,c){return fr(g.getUTCMinutes(),c,2)}function C0(g,c){return fr(g.getUTCSeconds(),c,2)}function Gp(g){var c=g.getUTCDay();return 0===c?7:c}function k6(g,c){return fr(X1.count(Gt(g)-1,g),c,2)}function gg(g){var c=g.getUTCDay();return c>=4||0===c?A1(g):A1.ceil(g)}function mg(g,c){return g=gg(g),fr(A1.count(Gt(g),g)+(4===Gt(g).getUTCDay()),c,2)}function vg(g){return g.getUTCDay()}function hp(g,c){return fr(jd.count(Gt(g)-1,g),c,2)}function Vu(g,c){return fr(g.getUTCFullYear()%100,c,2)}function u3(g,c){return fr((g=gg(g)).getUTCFullYear()%100,c,2)}function Q4(g,c){return fr(g.getUTCFullYear()%1e4,c,4)}function _g(g,c){var a=g.getUTCDay();return fr((g=a>=4||0===a?A1(g):A1.ceil(g)).getUTCFullYear()%1e4,c,4)}function L6(){return"+0000"}function qp(){return"%"}function w0(g){return+g}function h3(g){return Math.floor(+g/1e3)}function M0(g){return null===g?NaN:+g}!function Tf(g){return Mf=function Di(g){var c=g.dateTime,a=g.date,T=g.time,G=g.periods,ce=g.days,ve=g.shortDays,Ne=g.months,tt=g.shortMonths,ut=Bo(G),Ct=na(G),qt=Bo(ce),At=na(ce),jn=Bo(ve),fi=na(ve),Xi=Bo(Ne),Hn=na(Ne),Qi=Bo(tt),lr=na(tt),ar={a:function Nl(Vr){return ve[Vr.getDay()]},A:function y1(Vr){return ce[Vr.getDay()]},b:function fl(Vr){return tt[Vr.getMonth()]},B:function l1(Vr){return Ne[Vr.getMonth()]},c:null,d:vu,e:vu,f:f4,g:m4,G:Cf,H:sc,I:kc,j:K4,L:yd,m:Up,M:Yp,p:function pl(Vr){return G[+(Vr.getHours()>=12)]},q:function Uc(Vr){return 1+~~(Vr.getMonth()/3)},Q:w0,s:h3,S:p4,u:g4,U:pc,V:Ud,w:Z4,W:Yd,x:null,X:null,y:X4,Y:v4,Z:Wp,"%":qp},Gr={a:function vf(Vr){return ve[Vr.getUTCDay()]},A:function E3(Vr){return ce[Vr.getUTCDay()]},b:function Sh(Vr){return tt[Vr.getUTCMonth()]},B:function e4(Vr){return Ne[Vr.getUTCMonth()]},c:null,d:d3,e:d3,f:J4,g:u3,G:_g,H:dp,I:up,j:_4,L:wf,m:um,M:pg,p:function V1(Vr){return G[+(Vr.getUTCHours()>=12)]},q:function kh(Vr){return 1+~~(Vr.getUTCMonth()/3)},Q:w0,s:h3,S:C0,u:Gp,U:k6,V:mg,w:vg,W:hp,x:null,X:null,y:Vu,Y:Q4,Z:L6,"%":qp},ro={a:function Pa(Vr,Ms,Xa){var rr=jn.exec(Ms.slice(Xa));return rr?(Vr.w=fi.get(rr[0].toLowerCase()),Xa+rr[0].length):-1},A:function vo(Vr,Ms,Xa){var rr=qt.exec(Ms.slice(Xa));return rr?(Vr.w=At.get(rr[0].toLowerCase()),Xa+rr[0].length):-1},b:function Oo(Vr,Ms,Xa){var rr=Qi.exec(Ms.slice(Xa));return rr?(Vr.m=lr.get(rr[0].toLowerCase()),Xa+rr[0].length):-1},B:function wo(Vr,Ms,Xa){var rr=Xi.exec(Ms.slice(Xa));return rr?(Vr.m=Hn.get(rr[0].toLowerCase()),Xa+rr[0].length):-1},c:function Za(Vr,Ms,Xa){return Oa(Vr,c,Ms,Xa)},d:v2,e:v2,f:mu,g:Wl,G:dl,H:lo,I:lo,j:P3,L:u4,m:m2,M:Jc,p:function lc(Vr,Ms,Xa){var rr=ut.exec(Ms.slice(Xa));return rr?(Vr.p=Ct.get(rr[0].toLowerCase()),Xa+rr[0].length):-1},q:Ko,Q:$4,s:h4,S:Oh,u:$o,U:pr,V:ma,w:ss,W:qa,x:function T2(Vr,Ms,Xa){return Oa(Vr,a,Ms,Xa)},X:function Rl(Vr,Ms,Xa){return Oa(Vr,T,Ms,Xa)},y:Wl,Y:dl,Z:Pl,"%":Qc};function Lr(Vr,Ms){return function(Xa){var Yc,Ts,Wc,rr=[],Dc=-1,Sa=0,Lu=Vr.length;for(Xa instanceof Date||(Xa=new Date(+Xa));++Dc<Lu;)37===Vr.charCodeAt(Dc)&&(rr.push(Vr.slice(Sa,Dc)),null!=(Ts=sr[Yc=Vr.charAt(++Dc)])?Yc=Vr.charAt(++Dc):Ts="e"===Yc?" ":"0",(Wc=Ms[Yc])&&(Yc=Wc(Xa,Ts)),rr.push(Yc),Sa=Dc+1);return rr.push(Vr.slice(Sa,Dc)),rr.join("")}}function kl(Vr,Ms){return function(Xa){var Sa,Lu,rr=ni(1900,void 0,1);if(Oa(rr,Vr,Xa+="",0)!=Xa.length)return null;if("Q"in rr)return new Date(rr.Q);if("s"in rr)return new Date(1e3*rr.s+("L"in rr?rr.L:0));if(Ms&&!("Z"in rr)&&(rr.Z=0),"p"in rr&&(rr.H=rr.H%12+12*rr.p),void 0===rr.m&&(rr.m="q"in rr?rr.q:0),"V"in rr){if(rr.V<1||rr.V>53)return null;"w"in rr||(rr.w=1),"Z"in rr?(Lu=(Sa=Vn(ni(rr.y,0,1))).getUTCDay(),Sa=Lu>4||0===Lu?jd.ceil(Sa):jd(Sa),Sa=Fu.offset(Sa,7*(rr.V-1)),rr.y=Sa.getUTCFullYear(),rr.m=Sa.getUTCMonth(),rr.d=Sa.getUTCDate()+(rr.w+6)%7):(Lu=(Sa=sn(ni(rr.y,0,1))).getDay(),Sa=Lu>4||0===Lu?gu.ceil(Sa):gu(Sa),Sa=ie.offset(Sa,7*(rr.V-1)),rr.y=Sa.getFullYear(),rr.m=Sa.getMonth(),rr.d=Sa.getDate()+(rr.w+6)%7)}else("W"in rr||"U"in rr)&&("w"in rr||(rr.w="u"in rr?rr.u%7:"W"in rr?1:0),Lu="Z"in rr?Vn(ni(rr.y,0,1)).getUTCDay():sn(ni(rr.y,0,1)).getDay(),rr.m=0,rr.d="W"in rr?(rr.w+6)%7+7*rr.W-(Lu+5)%7:rr.w+7*rr.U-(Lu+6)%7);return"Z"in rr?(rr.H+=rr.Z/100|0,rr.M+=rr.Z%100,Vn(rr)):sn(rr)}}function Oa(Vr,Ms,Xa,rr){for(var Yc,Ts,Dc=0,Sa=Ms.length,Lu=Xa.length;Dc<Sa;){if(rr>=Lu)return-1;if(37===(Yc=Ms.charCodeAt(Dc++))){if(Yc=Ms.charAt(Dc++),!(Ts=ro[Yc in sr?Ms.charAt(Dc++):Yc])||(rr=Ts(Vr,Xa,rr))<0)return-1}else if(Yc!=Xa.charCodeAt(rr++))return-1}return rr}return ar.x=Lr(a,ar),ar.X=Lr(T,ar),ar.c=Lr(c,ar),Gr.x=Lr(a,Gr),Gr.X=Lr(T,Gr),Gr.c=Lr(c,Gr),{format:function(Vr){var Ms=Lr(Vr+="",ar);return Ms.toString=function(){return Vr},Ms},parse:function(Vr){var Ms=kl(Vr+="",!1);return Ms.toString=function(){return Vr},Ms},utcFormat:function(Vr){var Ms=Lr(Vr+="",Gr);return Ms.toString=function(){return Vr},Ms},utcParse:function(Vr){var Ms=kl(Vr+="",!0);return Ms.toString=function(){return Vr},Ms}}}(g),f3=Mf.format,Mf.parse,Mf.utcFormat,Mf.utcParse,Mf}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const T0=Ah(o4),Rh=T0.right,Nh=(T0.left,Ah(M0).center,Rh);function th(g,c){return g=+g,c=+c,function(a){return Math.round(g*(1-a)+c*a)}}function _u(g){return+g}var Kp=[0,1];function R3(g){return g}function N3(g,c){return(c-=g=+g)?function(a){return(a-g)/c}:function nh(g){return function(){return g}}(isNaN(c)?NaN:.5)}function ih(g,c,a){var T=g[0],G=g[1],ce=c[0],ve=c[1];return G<T?(T=N3(G,T),ce=a(ve,ce)):(T=N3(T,G),ce=a(ce,ve)),function(Ne){return ce(T(Ne))}}function Sf(g,c,a){var T=Math.min(g.length,c.length)-1,G=new Array(T),ce=new Array(T),ve=-1;for(g[T]<g[0]&&(g=g.slice().reverse(),c=c.slice().reverse());++ve<T;)G[ve]=N3(g[ve],g[ve+1]),ce[ve]=a(c[ve],c[ve+1]);return function(Ne){var tt=Nh(g,Ne,1,T)-1;return ce[tt](G[tt](Ne))}}function k0(g,c){return c.domain(g.domain()).range(g.range()).interpolate(g.interpolate()).clamp(g.clamp()).unknown(g.unknown())}function L0(){var T,G,ce,Ne,tt,ut,g=Kp,c=Kp,a=Ze,ve=R3;function Ct(){var At=Math.min(g.length,c.length);return ve!==R3&&(ve=function S0(g,c){var a;return g>c&&(a=g,g=c,c=a),function(T){return Math.max(g,Math.min(c,T))}}(g[0],g[At-1])),Ne=At>2?Sf:ih,tt=ut=null,qt}function qt(At){return null==At||isNaN(At=+At)?ce:(tt||(tt=Ne(g.map(T),c,a)))(T(ve(At)))}return qt.invert=function(At){return ve(G((ut||(ut=Ne(c,g.map(T),Rs)))(At)))},qt.domain=function(At){return arguments.length?(g=Array.from(At,_u),Ct()):g.slice()},qt.range=function(At){return arguments.length?(c=Array.from(At),Ct()):c.slice()},qt.rangeRound=function(At){return c=Array.from(At),a=th,Ct()},qt.clamp=function(At){return arguments.length?(ve=!!At||R3,Ct()):ve!==R3},qt.interpolate=function(At){return arguments.length?(a=At,Ct()):a},qt.unknown=function(At){return arguments.length?(ce=At,qt):ce},function(At,jn){return T=At,G=jn,Ct()}}function kf(){return L0()(R3,R3)}function Hh(g,c){switch(arguments.length){case 0:break;case 1:this.range(g);break;default:this.range(c).domain(g)}return this}function Bs(g){return new Date(g)}function yg(g){return g instanceof Date?+g:+new Date(+g)}function rh(g,c,a,T,G,ce,ve,Ne,tt,ut){var Ct=kf(),qt=Ct.invert,At=Ct.domain,jn=ut(".%L"),fi=ut(":%S"),Xi=ut("%I:%M"),Hn=ut("%I %p"),Qi=ut("%a %d"),lr=ut("%b %d"),ar=ut("%B"),Gr=ut("%Y");function ro(Lr){return(tt(Lr)<Lr?jn:Ne(Lr)<Lr?fi:ve(Lr)<Lr?Xi:ce(Lr)<Lr?Hn:T(Lr)<Lr?G(Lr)<Lr?Qi:lr:a(Lr)<Lr?ar:Gr)(Lr)}return Ct.invert=function(Lr){return new Date(qt(Lr))},Ct.domain=function(Lr){return arguments.length?At(Array.from(Lr,yg)):At().map(Bs)},Ct.ticks=function(Lr){var kl=At();return g(kl[0],kl[kl.length-1],null==Lr?10:Lr)},Ct.tickFormat=function(Lr,kl){return null==kl?ro:ut(kl)},Ct.nice=function(Lr){var kl=At();return(!Lr||"function"!=typeof Lr.range)&&(Lr=c(kl[0],kl[kl.length-1],null==Lr?10:Lr)),Lr?At(function Lf(g,c){var ve,a=0,T=(g=g.slice()).length-1,G=g[a],ce=g[T];return ce<G&&(ve=a,a=T,T=ve,ve=G,G=ce,ce=ve),g[a]=c.floor(G),g[T]=c.ceil(ce),g}(kl,Lr)):Ct},Ct.copy=function(){return k0(Ct,rh(g,c,a,T,G,ce,ve,Ne,tt,ut))},Ct}function N1(){return Hh.apply(rh(Yl,ju,c2,cd,cl,yl,Hs,cu,ic,f3).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Lc,E0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fp(g){if(!(c=E0.exec(g)))throw new Error("invalid format: "+g);var c;return new oh({fill:c[1],align:c[2],sign:c[3],symbol:c[4],zero:c[5],width:c[6],comma:c[7],precision:c[8]&&c[8].slice(1),trim:c[9],type:c[10]})}function oh(g){this.fill=void 0===g.fill?" ":g.fill+"",this.align=void 0===g.align?">":g.align+"",this.sign=void 0===g.sign?"-":g.sign+"",this.symbol=void 0===g.symbol?"":g.symbol+"",this.zero=!!g.zero,this.width=void 0===g.width?void 0:+g.width,this.comma=!!g.comma,this.precision=void 0===g.precision?void 0:+g.precision,this.trim=!!g.trim,this.type=void 0===g.type?"":g.type+""}function Ef(g,c){if((a=(g=c?g.toExponential(c-1):g.toExponential()).indexOf("e"))<0)return null;var a,T=g.slice(0,a);return[T.length>1?T[0]+T.slice(2):T,+g.slice(a+1)]}function pp(g){return(g=Ef(Math.abs(g)))?g[1]:NaN}function xd(g,c){var a=Ef(g,c);if(!a)return g+"";var T=a[0],G=a[1];return G<0?"0."+new Array(-G).join("0")+T:T.length>G+1?T.slice(0,G+1)+"."+T.slice(G+1):T+new Array(G-T.length+2).join("0")}fp.prototype=oh.prototype,oh.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const D0={"%":(g,c)=>(100*g).toFixed(c),b:g=>Math.round(g).toString(2),c:g=>g+"",d:function p3(g){return Math.abs(g=Math.round(g))>=1e21?g.toLocaleString("en").replace(/,/g,""):g.toString(10)},e:(g,c)=>g.toExponential(c),f:(g,c)=>g.toFixed(c),g:(g,c)=>g.toPrecision(c),o:g=>Math.round(g).toString(8),p:(g,c)=>xd(100*g,c),r:xd,s:function xg(g,c){var a=Ef(g,c);if(!a)return g+"";var T=a[0],G=a[1],ce=G-(Lc=3*Math.max(-8,Math.min(8,Math.floor(G/3))))+1,ve=T.length;return ce===ve?T:ce>ve?T+new Array(ce-ve+1).join("0"):ce>0?T.slice(0,ce)+"."+T.slice(ce):"0."+new Array(1-ce).join("0")+Ef(g,Math.max(0,c+ce-1))[0]},X:g=>Math.round(g).toString(16).toUpperCase(),x:g=>Math.round(g).toString(16)};function Bh(g){return g}var F2,A0,Bc,D6=Array.prototype.map,jh=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function I0(g){var c=void 0===g.grouping||void 0===g.thousands?Bh:function Lo(g,c){return function(a,T){for(var G=a.length,ce=[],ve=0,Ne=g[0],tt=0;G>0&&Ne>0&&(tt+Ne+1>T&&(Ne=Math.max(1,T-tt)),ce.push(a.substring(G-=Ne,G+Ne)),!((tt+=Ne+1)>T));)Ne=g[ve=(ve+1)%g.length];return ce.reverse().join(c)}}(D6.call(g.grouping,Number),g.thousands+""),a=void 0===g.currency?"":g.currency[0]+"",T=void 0===g.currency?"":g.currency[1]+"",G=void 0===g.decimal?".":g.decimal+"",ce=void 0===g.numerals?Bh:function Df(g){return function(c){return c.replace(/[0-9]/g,function(a){return g[+a]})}}(D6.call(g.numerals,String)),ve=void 0===g.percent?"%":g.percent+"",Ne=void 0===g.minus?"\u2212":g.minus+"",tt=void 0===g.nan?"NaN":g.nan+"";function ut(qt){var At=(qt=fp(qt)).fill,jn=qt.align,fi=qt.sign,Xi=qt.symbol,Hn=qt.zero,Qi=qt.width,lr=qt.comma,ar=qt.precision,Gr=qt.trim,ro=qt.type;"n"===ro?(lr=!0,ro="g"):D0[ro]||(void 0===ar&&(ar=12),Gr=!0,ro="g"),(Hn||"0"===At&&"="===jn)&&(Hn=!0,At="0",jn="=");var Lr="$"===Xi?a:"#"===Xi&&/[boxX]/.test(ro)?"0"+ro.toLowerCase():"",kl="$"===Xi?T:/[%p]/.test(ro)?ve:"",Oa=D0[ro],lc=/[defgprs%]/.test(ro);function Pa(vo){var Za,T2,Rl,Oo=Lr,wo=kl;if("c"===ro)wo=Oa(vo)+wo,vo="";else{var Nl=(vo=+vo)<0||1/vo<0;if(vo=isNaN(vo)?tt:Oa(Math.abs(vo),ar),Gr&&(vo=function Wd(g){e:for(var G,c=g.length,a=1,T=-1;a<c;++a)switch(g[a]){case".":T=G=a;break;case"0":0===T&&(T=a),G=a;break;default:if(!+g[a])break e;T>0&&(T=0)}return T>0?g.slice(0,T)+g.slice(G+1):g}(vo)),Nl&&0==+vo&&"+"!==fi&&(Nl=!1),Oo=(Nl?"("===fi?fi:Ne:"-"===fi||"("===fi?"":fi)+Oo,wo=("s"===ro?jh[8+Lc/3]:"")+wo+(Nl&&"("===fi?")":""),lc)for(Za=-1,T2=vo.length;++Za<T2;)if(48>(Rl=vo.charCodeAt(Za))||Rl>57){wo=(46===Rl?G+vo.slice(Za+1):vo.slice(Za))+wo,vo=vo.slice(0,Za);break}}lr&&!Hn&&(vo=c(vo,1/0));var y1=Oo.length+vo.length+wo.length,fl=y1<Qi?new Array(Qi-y1+1).join(At):"";switch(lr&&Hn&&(vo=c(fl+vo,fl.length?Qi-wo.length:1/0),fl=""),jn){case"<":vo=Oo+vo+wo+fl;break;case"=":vo=Oo+fl+vo+wo;break;case"^":vo=fl.slice(0,y1=fl.length>>1)+Oo+vo+wo+fl.slice(y1);break;default:vo=fl+Oo+vo+wo}return ce(vo)}return ar=void 0===ar?6:/[gprs]/.test(ro)?Math.max(1,Math.min(21,ar)):Math.max(0,Math.min(20,ar)),Pa.toString=function(){return qt+""},Pa}return{format:ut,formatPrefix:function Ct(qt,At){var jn=ut(((qt=fp(qt)).type="f",qt)),fi=3*Math.max(-8,Math.min(8,Math.floor(pp(At)/3))),Xi=Math.pow(10,-fi),Hn=jh[8+fi/3];return function(Qi){return jn(Xi*Qi)+Hn}}}}function e1(g,c,a,T){var ce,G=s2(g,c,a);switch((T=fp(null==T?",f":T)).type){case"s":var ve=Math.max(Math.abs(g),Math.abs(c));return null==T.precision&&!isNaN(ce=function g3(g,c){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pp(c)/3)))-pp(Math.abs(g)))}(G,ve))&&(T.precision=ce),Bc(T,ve);case"":case"e":case"g":case"p":case"r":null==T.precision&&!isNaN(ce=function If(g,c){return g=Math.abs(g),c=Math.abs(c)-g,Math.max(0,pp(c)-pp(g))+1}(G,Math.max(Math.abs(g),Math.abs(c))))&&(T.precision=ce-("e"===T.type));break;case"f":case"%":null==T.precision&&!isNaN(ce=function ac(g){return Math.max(0,-pp(Math.abs(g)))}(G))&&(T.precision=ce-2*("%"===T.type))}return A0(T)}function b4(g){var c=g.domain;return g.ticks=function(a){var T=c();return function I3(g,c,a){var T,ce,ve,Ne,G=-1;if(a=+a,(g=+g)==(c=+c)&&a>0)return[g];if((T=c<g)&&(ce=g,g=c,c=ce),0===(Ne=sd(g,c,a))||!isFinite(Ne))return[];if(Ne>0){let tt=Math.round(g/Ne),ut=Math.round(c/Ne);for(tt*Ne<g&&++tt,ut*Ne>c&&--ut,ve=new Array(ce=ut-tt+1);++G<ce;)ve[G]=(tt+G)*Ne}else{Ne=-Ne;let tt=Math.round(g*Ne),ut=Math.round(c*Ne);for(tt/Ne<g&&++tt,ut/Ne>c&&--ut,ve=new Array(ce=ut-tt+1);++G<ce;)ve[G]=(tt+G)/Ne}return T&&ve.reverse(),ve}(T[0],T[T.length-1],null==a?10:a)},g.tickFormat=function(a,T){var G=c();return e1(G[0],G[G.length-1],null==a?10:a,T)},g.nice=function(a){null==a&&(a=10);var tt,ut,T=c(),G=0,ce=T.length-1,ve=T[G],Ne=T[ce],Ct=10;for(Ne<ve&&(ut=ve,ve=Ne,Ne=ut,ut=G,G=ce,ce=ut);Ct-- >0;){if((ut=sd(ve,Ne,a))===tt)return T[G]=ve,T[ce]=Ne,c(T);if(ut>0)ve=Math.floor(ve/ut)*ut,Ne=Math.ceil(Ne/ut)*ut;else{if(!(ut<0))break;ve=Math.ceil(ve*ut)/ut,Ne=Math.floor(Ne*ut)/ut}tt=ut}return g},g}function Ml(){var g=kf();return g.copy=function(){return k0(g,Ml())},Hh.apply(g,arguments),b4(g)}function O0(g,c,a){g=+g,c=+c,a=(G=arguments.length)<2?(c=g,g=0,1):G<3?1:+a;for(var T=-1,G=0|Math.max(0,Math.ceil((c-g)/a)),ce=new Array(G);++T<G;)ce[T]=g+T*a;return ce}!function m3(g){return F2=I0(g),A0=F2.format,Bc=F2.formatPrefix,F2}({thousands:",",grouping:[3],currency:["$",""]});const P0=Symbol("implicit");function H3(){var g=new Map,c=[],a=[],T=P0;function G(ce){var ve=ce+"",Ne=g.get(ve);if(!Ne){if(T!==P0)return T;g.set(ve,Ne=c.push(ce))}return a[(Ne-1)%a.length]}return G.domain=function(ce){if(!arguments.length)return c.slice();c=[],g=new Map;for(const ve of ce){const Ne=ve+"";g.has(Ne)||g.set(Ne,c.push(ve))}return G},G.range=function(ce){return arguments.length?(a=Array.from(ce),G):a.slice()},G.unknown=function(ce){return arguments.length?(T=ce,G):T},G.copy=function(){return H3(c,a).unknown(T)},Hh.apply(G,arguments),G}function v1(){var ce,ve,g=H3().unknown(void 0),c=g.domain,a=g.range,T=0,G=1,Ne=!1,tt=0,ut=0,Ct=.5;function qt(){var At=c().length,jn=G<T,fi=jn?G:T,Xi=jn?T:G;ce=(Xi-fi)/Math.max(1,At-tt+2*ut),Ne&&(ce=Math.floor(ce)),fi+=(Xi-fi-ce*(At-tt))*Ct,ve=ce*(1-tt),Ne&&(fi=Math.round(fi),ve=Math.round(ve));var Hn=O0(At).map(function(Qi){return fi+ce*Qi});return a(jn?Hn.reverse():Hn)}return delete g.unknown,g.domain=function(At){return arguments.length?(c(At),qt()):c()},g.range=function(At){return arguments.length?([T,G]=At,T=+T,G=+G,qt()):[T,G]},g.rangeRound=function(At){return[T,G]=At,T=+T,G=+G,Ne=!0,qt()},g.bandwidth=function(){return ve},g.step=function(){return ce},g.round=function(At){return arguments.length?(Ne=!!At,qt()):Ne},g.padding=function(At){return arguments.length?(tt=Math.min(1,ut=+At),qt()):tt},g.paddingInner=function(At){return arguments.length?(tt=Math.min(1,At),qt()):tt},g.paddingOuter=function(At){return arguments.length?(ut=+At,qt()):ut},g.align=function(At){return arguments.length?(Ct=Math.max(0,Math.min(1,At)),qt()):Ct},g.copy=function(){return v1(c(),[T,G]).round(Ne).paddingInner(tt).paddingOuter(ut).align(Ct)},Hh.apply(qt(),arguments)}function z0(g){var c=g.copy;return g.padding=g.paddingOuter,delete g.paddingInner,delete g.paddingOuter,g.copy=function(){return z0(c())},g}function v3(){return z0(v1.apply(null,arguments).paddingInner(1))}function Uu(g,c){let a;if(void 0===c)for(const T of g)null!=T&&(a<T||void 0===a&&T>=T)&&(a=T);else{let T=-1;for(let G of g)null!=(G=c(G,++T,g))&&(a<G||void 0===a&&G>=G)&&(a=G)}return a}function B3(g,c){let a;if(void 0===c)for(const T of g)null!=T&&(a>T||void 0===a&&T>=T)&&(a=T);else{let T=-1;for(let G of g)null!=(G=c(G,++T,g))&&(a>G||void 0===a&&G>=G)&&(a=G)}return a}function Zp(g,c,a=0,T=g.length-1,G=o4){for(;T>a;){if(T-a>600){const tt=T-a+1,ut=c-a+1,Ct=Math.log(tt),qt=.5*Math.exp(2*Ct/3),At=.5*Math.sqrt(Ct*qt*(tt-qt)/tt)*(ut-tt/2<0?-1:1);Zp(g,c,Math.max(a,Math.floor(c-ut*qt/tt+At)),Math.min(T,Math.floor(c+(tt-ut)*qt/tt+At)),G)}const ce=g[c];let ve=a,Ne=T;for(bu(g,a,c),G(g[T],ce)>0&&bu(g,a,T);ve<Ne;){for(bu(g,ve,Ne),++ve,--Ne;G(g[ve],ce)<0;)++ve;for(;G(g[Ne],ce)>0;)--Ne}0===G(g[a],ce)?bu(g,a,Ne):(++Ne,bu(g,Ne,T)),Ne<=c&&(a=Ne+1),c<=Ne&&(T=Ne-1)}return g}function bu(g,c,a){const T=g[c];g[c]=g[a],g[a]=T}function Fh(g,c,a){if(g=Float64Array.from(function*zh(g,c){if(void 0===c)for(let a of g)null!=a&&(a=+a)>=a&&(yield a);else{let a=-1;for(let T of g)null!=(T=c(T,++a,g))&&(T=+T)>=T&&(yield T)}}(g,a)),T=g.length){if((c=+c)<=0||T<2)return B3(g);if(c>=1)return Uu(g);var T,G=(T-1)*c,ce=Math.floor(G),ve=Uu(Zp(g,ce).subarray(0,ce+1));return ve+(B3(g.subarray(ce+1))-ve)*(G-ce)}}function Yu(g,c,a=M0){if(T=g.length){if((c=+c)<=0||T<2)return+a(g[0],0,g);if(c>=1)return+a(g[T-1],T-1,g);var T,G=(T-1)*c,ce=Math.floor(G),ve=+a(g[ce],ce,g);return ve+(+a(g[ce+1],ce+1,g)-ve)*(G-ce)}}function Gd(){var T,g=[],c=[],a=[];function G(){var ve=0,Ne=Math.max(1,c.length);for(a=new Array(Ne-1);++ve<Ne;)a[ve-1]=Yu(g,ve/Ne);return ce}function ce(ve){return null==ve||isNaN(ve=+ve)?T:c[Nh(a,ve)]}return ce.invertExtent=function(ve){var Ne=c.indexOf(ve);return Ne<0?[NaN,NaN]:[Ne>0?a[Ne-1]:g[0],Ne<a.length?a[Ne]:g[g.length-1]]},ce.domain=function(ve){if(!arguments.length)return g.slice();g=[];for(let Ne of ve)null!=Ne&&!isNaN(Ne=+Ne)&&g.push(Ne);return g.sort(o4),G()},ce.range=function(ve){return arguments.length?(c=Array.from(ve),G()):c.slice()},ce.unknown=function(ve){return arguments.length?(T=ve,ce):T},ce.quantiles=function(){return a.slice()},ce.copy=function(){return Gd().domain(g).range(c).unknown(T)},Hh.apply(ce,arguments)}var y4=Math.PI,Xp=2*y4,Vh=1e-6,R0=Xp-Vh;function sh(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Jp(){return new sh}sh.prototype=Jp.prototype={constructor:sh,moveTo:function(g,c){this._+="M"+(this._x0=this._x1=+g)+","+(this._y0=this._y1=+c)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(g,c){this._+="L"+(this._x1=+g)+","+(this._y1=+c)},quadraticCurveTo:function(g,c,a,T){this._+="Q"+ +g+","+ +c+","+(this._x1=+a)+","+(this._y1=+T)},bezierCurveTo:function(g,c,a,T,G,ce){this._+="C"+ +g+","+ +c+","+ +a+","+ +T+","+(this._x1=+G)+","+(this._y1=+ce)},arcTo:function(g,c,a,T,G){g=+g,c=+c,a=+a,T=+T,G=+G;var ce=this._x1,ve=this._y1,Ne=a-g,tt=T-c,ut=ce-g,Ct=ve-c,qt=ut*ut+Ct*Ct;if(G<0)throw new Error("negative radius: "+G);if(null===this._x1)this._+="M"+(this._x1=g)+","+(this._y1=c);else if(qt>Vh)if(Math.abs(Ct*Ne-tt*ut)>Vh&&G){var At=a-ce,jn=T-ve,fi=Ne*Ne+tt*tt,Xi=At*At+jn*jn,Hn=Math.sqrt(fi),Qi=Math.sqrt(qt),lr=G*Math.tan((y4-Math.acos((fi+qt-Xi)/(2*Hn*Qi)))/2),ar=lr/Qi,Gr=lr/Hn;Math.abs(ar-1)>Vh&&(this._+="L"+(g+ar*ut)+","+(c+ar*Ct)),this._+="A"+G+","+G+",0,0,"+ +(Ct*At>ut*jn)+","+(this._x1=g+Gr*Ne)+","+(this._y1=c+Gr*tt)}else this._+="L"+(this._x1=g)+","+(this._y1=c)},arc:function(g,c,a,T,G,ce){g=+g,c=+c,ce=!!ce;var ve=(a=+a)*Math.cos(T),Ne=a*Math.sin(T),tt=g+ve,ut=c+Ne,Ct=1^ce,qt=ce?T-G:G-T;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+tt+","+ut:(Math.abs(this._x1-tt)>Vh||Math.abs(this._y1-ut)>Vh)&&(this._+="L"+tt+","+ut),a&&(qt<0&&(qt=qt%Xp+Xp),qt>R0?this._+="A"+a+","+a+",0,1,"+Ct+","+(g-ve)+","+(c-Ne)+"A"+a+","+a+",0,1,"+Ct+","+(this._x1=tt)+","+(this._y1=ut):qt>Vh&&(this._+="A"+a+","+a+",0,"+ +(qt>=y4)+","+Ct+","+(this._x1=g+a*Math.cos(G))+","+(this._y1=c+a*Math.sin(G))))},rect:function(g,c,a,T){this._+="M"+(this._x0=this._x1=+g)+","+(this._y0=this._y1=+c)+"h"+ +a+"v"+ +T+"h"+-a+"Z"},toString:function(){return this._}};const yu=Jp;Array.prototype.slice;function _2(g){return"object"==typeof g&&"length"in g?g:Array.from(g)}function _s(g){return function(){return g}}function N0(g){this._context=g}function x4(g){return new N0(g)}function Ma(g){return g[0]}function Qp(g){return g[1]}function Uh(g,c){var a=_s(!0),T=null,G=x4,ce=null;function ve(Ne){var tt,Ct,At,ut=(Ne=_2(Ne)).length,qt=!1;for(null==T&&(ce=G(At=yu())),tt=0;tt<=ut;++tt)!(tt<ut&&a(Ct=Ne[tt],tt,Ne))===qt&&((qt=!qt)?ce.lineStart():ce.lineEnd()),qt&&ce.point(+g(Ct,tt,Ne),+c(Ct,tt,Ne));if(At)return ce=null,At+""||null}return g="function"==typeof g?g:void 0===g?Ma:_s(g),c="function"==typeof c?c:void 0===c?Qp:_s(c),ve.x=function(Ne){return arguments.length?(g="function"==typeof Ne?Ne:_s(+Ne),ve):g},ve.y=function(Ne){return arguments.length?(c="function"==typeof Ne?Ne:_s(+Ne),ve):c},ve.defined=function(Ne){return arguments.length?(a="function"==typeof Ne?Ne:_s(!!Ne),ve):a},ve.curve=function(Ne){return arguments.length?(G=Ne,null!=T&&(ce=G(T)),ve):G},ve.context=function(Ne){return arguments.length?(null==Ne?T=ce=null:ce=G(T=Ne),ve):T},ve}function _3(g,c,a){var T=null,G=_s(!0),ce=null,ve=x4,Ne=null;function tt(Ct){var qt,At,jn,Xi,Qi,fi=(Ct=_2(Ct)).length,Hn=!1,lr=new Array(fi),ar=new Array(fi);for(null==ce&&(Ne=ve(Qi=yu())),qt=0;qt<=fi;++qt){if(!(qt<fi&&G(Xi=Ct[qt],qt,Ct))===Hn)if(Hn=!Hn)At=qt,Ne.areaStart(),Ne.lineStart();else{for(Ne.lineEnd(),Ne.lineStart(),jn=qt-1;jn>=At;--jn)Ne.point(lr[jn],ar[jn]);Ne.lineEnd(),Ne.areaEnd()}Hn&&(lr[qt]=+g(Xi,qt,Ct),ar[qt]=+c(Xi,qt,Ct),Ne.point(T?+T(Xi,qt,Ct):lr[qt],a?+a(Xi,qt,Ct):ar[qt]))}if(Qi)return Ne=null,Qi+""||null}function ut(){return Uh().defined(G).curve(ve).context(ce)}return g="function"==typeof g?g:void 0===g?Ma:_s(+g),c="function"==typeof c?c:_s(void 0===c?0:+c),a="function"==typeof a?a:void 0===a?Qp:_s(+a),tt.x=function(Ct){return arguments.length?(g="function"==typeof Ct?Ct:_s(+Ct),T=null,tt):g},tt.x0=function(Ct){return arguments.length?(g="function"==typeof Ct?Ct:_s(+Ct),tt):g},tt.x1=function(Ct){return arguments.length?(T=null==Ct?null:"function"==typeof Ct?Ct:_s(+Ct),tt):T},tt.y=function(Ct){return arguments.length?(c="function"==typeof Ct?Ct:_s(+Ct),a=null,tt):c},tt.y0=function(Ct){return arguments.length?(c="function"==typeof Ct?Ct:_s(+Ct),tt):c},tt.y1=function(Ct){return arguments.length?(a=null==Ct?null:"function"==typeof Ct?Ct:_s(+Ct),tt):a},tt.lineX0=tt.lineY0=function(){return ut().x(g).y(c)},tt.lineY1=function(){return ut().x(g).y(a)},tt.lineX1=function(){return ut().x(T).y(c)},tt.defined=function(Ct){return arguments.length?(G="function"==typeof Ct?Ct:_s(!!Ct),tt):G},tt.curve=function(Ct){return arguments.length?(ve=Ct,null!=ce&&(Ne=ve(ce)),tt):ve},tt.context=function(Ct){return arguments.length?(null==Ct?ce=Ne=null:Ne=ve(ce=Ct),tt):ce},tt}N0.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(g,c){switch(g=+g,c=+c,this._point){case 0:this._point=1,this._line?this._context.lineTo(g,c):this._context.moveTo(g,c);break;case 1:this._point=2;default:this._context.lineTo(g,c)}}};var qd=Math.abs,V2=Math.atan2,j3=Math.cos,H0=Math.max,b3=Math.min,y3=Math.sin,$d=Math.sqrt,b2=1e-12,F3=Math.PI,ah=F3/2,Af=2*F3;function Of(g){return g>1?0:g<-1?F3:Math.acos(g)}function lh(g){return g>=1?ah:g<=-1?-ah:Math.asin(g)}function e0(g){return g.innerRadius}function Cg(g){return g.outerRadius}function Wu(g){return g.startAngle}function I6(g){return g.endAngle}function Yh(g){return g&&g.padAngle}function Wh(g,c,a,T,G,ce,ve,Ne){var tt=a-g,ut=T-c,Ct=ve-G,qt=Ne-ce,At=qt*tt-Ct*ut;if(!(At*At<b2))return[g+(At=(Ct*(c-ce)-qt*(g-G))/At)*tt,c+At*ut]}function gc(g,c,a,T,G,ce,ve){var Ne=g-a,tt=c-T,ut=(ve?ce:-ce)/$d(Ne*Ne+tt*tt),Ct=ut*tt,qt=-ut*Ne,At=g+Ct,jn=c+qt,fi=a+Ct,Xi=T+qt,Hn=(At+fi)/2,Qi=(jn+Xi)/2,lr=fi-At,ar=Xi-jn,Gr=lr*lr+ar*ar,ro=G-ce,Lr=At*Xi-fi*jn,kl=(ar<0?-1:1)*$d(H0(0,ro*ro*Gr-Lr*Lr)),Oa=(Lr*ar-lr*kl)/Gr,lc=(-Lr*lr-ar*kl)/Gr,Pa=(Lr*ar+lr*kl)/Gr,vo=(-Lr*lr+ar*kl)/Gr,Oo=Oa-Hn,wo=lc-Qi,Za=Pa-Hn,T2=vo-Qi;return Oo*Oo+wo*wo>Za*Za+T2*T2&&(Oa=Pa,lc=vo),{cx:Oa,cy:lc,x01:-Ct,y01:-qt,x11:Oa*(G/ro-1),y11:lc*(G/ro-1)}}function $a(){var g=e0,c=Cg,a=_s(0),T=null,G=Wu,ce=I6,ve=Yh,Ne=null;function tt(){var ut,Ct,qt=+g.apply(this,arguments),At=+c.apply(this,arguments),jn=G.apply(this,arguments)-ah,fi=ce.apply(this,arguments)-ah,Xi=qd(fi-jn),Hn=fi>jn;if(Ne||(Ne=ut=yu()),At<qt&&(Ct=At,At=qt,qt=Ct),At>b2)if(Xi>Af-b2)Ne.moveTo(At*j3(jn),At*y3(jn)),Ne.arc(0,0,At,jn,fi,!Hn),qt>b2&&(Ne.moveTo(qt*j3(fi),qt*y3(fi)),Ne.arc(0,0,qt,fi,jn,Hn));else{var Oo,wo,Qi=jn,lr=fi,ar=jn,Gr=fi,ro=Xi,Lr=Xi,kl=ve.apply(this,arguments)/2,Oa=kl>b2&&(T?+T.apply(this,arguments):$d(qt*qt+At*At)),lc=b3(qd(At-qt)/2,+a.apply(this,arguments)),Pa=lc,vo=lc;if(Oa>b2){var Za=lh(Oa/qt*y3(kl)),T2=lh(Oa/At*y3(kl));(ro-=2*Za)>b2?(ar+=Za*=Hn?1:-1,Gr-=Za):(ro=0,ar=Gr=(jn+fi)/2),(Lr-=2*T2)>b2?(Qi+=T2*=Hn?1:-1,lr-=T2):(Lr=0,Qi=lr=(jn+fi)/2)}var Rl=At*j3(Qi),Nl=At*y3(Qi),y1=qt*j3(Gr),fl=qt*y3(Gr);if(lc>b2){var E3,l1=At*j3(lr),pl=At*y3(lr),Uc=qt*j3(ar),vf=qt*y3(ar);if(Xi<F3&&(E3=Wh(Rl,Nl,Uc,vf,l1,pl,y1,fl))){var Sh=Rl-E3[0],e4=Nl-E3[1],V1=l1-E3[0],kh=pl-E3[1],Vr=1/y3(Of((Sh*V1+e4*kh)/($d(Sh*Sh+e4*e4)*$d(V1*V1+kh*kh)))/2),Ms=$d(E3[0]*E3[0]+E3[1]*E3[1]);Pa=b3(lc,(qt-Ms)/(Vr-1)),vo=b3(lc,(At-Ms)/(Vr+1))}}Lr>b2?vo>b2?(Oo=gc(Uc,vf,Rl,Nl,At,vo,Hn),wo=gc(l1,pl,y1,fl,At,vo,Hn),Ne.moveTo(Oo.cx+Oo.x01,Oo.cy+Oo.y01),vo<lc?Ne.arc(Oo.cx,Oo.cy,vo,V2(Oo.y01,Oo.x01),V2(wo.y01,wo.x01),!Hn):(Ne.arc(Oo.cx,Oo.cy,vo,V2(Oo.y01,Oo.x01),V2(Oo.y11,Oo.x11),!Hn),Ne.arc(0,0,At,V2(Oo.cy+Oo.y11,Oo.cx+Oo.x11),V2(wo.cy+wo.y11,wo.cx+wo.x11),!Hn),Ne.arc(wo.cx,wo.cy,vo,V2(wo.y11,wo.x11),V2(wo.y01,wo.x01),!Hn))):(Ne.moveTo(Rl,Nl),Ne.arc(0,0,At,Qi,lr,!Hn)):Ne.moveTo(Rl,Nl),qt>b2&&ro>b2?Pa>b2?(Oo=gc(y1,fl,l1,pl,qt,-Pa,Hn),wo=gc(Rl,Nl,Uc,vf,qt,-Pa,Hn),Ne.lineTo(Oo.cx+Oo.x01,Oo.cy+Oo.y01),Pa<lc?Ne.arc(Oo.cx,Oo.cy,Pa,V2(Oo.y01,Oo.x01),V2(wo.y01,wo.x01),!Hn):(Ne.arc(Oo.cx,Oo.cy,Pa,V2(Oo.y01,Oo.x01),V2(Oo.y11,Oo.x11),!Hn),Ne.arc(0,0,qt,V2(Oo.cy+Oo.y11,Oo.cx+Oo.x11),V2(wo.cy+wo.y11,wo.cx+wo.x11),Hn),Ne.arc(wo.cx,wo.cy,Pa,V2(wo.y11,wo.x11),V2(wo.y01,wo.x01),!Hn))):Ne.arc(0,0,qt,Gr,ar,Hn):Ne.lineTo(y1,fl)}else Ne.moveTo(0,0);if(Ne.closePath(),ut)return Ne=null,ut+""||null}return tt.centroid=function(){var ut=(+g.apply(this,arguments)+ +c.apply(this,arguments))/2,Ct=(+G.apply(this,arguments)+ +ce.apply(this,arguments))/2-F3/2;return[j3(Ct)*ut,y3(Ct)*ut]},tt.innerRadius=function(ut){return arguments.length?(g="function"==typeof ut?ut:_s(+ut),tt):g},tt.outerRadius=function(ut){return arguments.length?(c="function"==typeof ut?ut:_s(+ut),tt):c},tt.cornerRadius=function(ut){return arguments.length?(a="function"==typeof ut?ut:_s(+ut),tt):a},tt.padRadius=function(ut){return arguments.length?(T=null==ut?null:"function"==typeof ut?ut:_s(+ut),tt):T},tt.startAngle=function(ut){return arguments.length?(G="function"==typeof ut?ut:_s(+ut),tt):G},tt.endAngle=function(ut){return arguments.length?(ce="function"==typeof ut?ut:_s(+ut),tt):ce},tt.padAngle=function(ut){return arguments.length?(ve="function"==typeof ut?ut:_s(+ut),tt):ve},tt.context=function(ut){return arguments.length?(Ne=null==ut?null:ut,tt):Ne},tt}var ch=t0(x4);function Pf(g){this._curve=g}function t0(g){function c(a){return new Pf(g(a))}return c._curve=g,c}function Gh(){return function B0(g){var c=g.curve;return g.angle=g.x,delete g.x,g.radius=g.y,delete g.y,g.curve=function(a){return arguments.length?c(t0(a)):c()._curve},g}(Uh().curve(ch))}function j0(){}function zf(g,c,a){g._context.bezierCurveTo(g._x1+g._k*(g._x2-g._x0),g._y1+g._k*(g._y2-g._y0),g._x2+g._k*(g._x1-c),g._y2+g._k*(g._y1-a),g._x2,g._y2)}function gp(g,c){this._context=g,this._k=(1-c)/6}Pf.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(g,c){this._curve.point(c*Math.sin(g),c*-Math.cos(g))}},gp.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:zf(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(g,c){switch(g=+g,c=+c,this._point){case 0:this._point=1,this._line?this._context.lineTo(g,c):this._context.moveTo(g,c);break;case 1:this._point=2,this._x1=g,this._y1=c;break;case 2:this._point=3;default:zf(this,g,c)}this._x0=this._x1,this._x1=this._x2,this._x2=g,this._y0=this._y1,this._y1=this._y2,this._y2=c}};(function g(c){function a(T){return new gp(T,c)}return a.tension=function(T){return g(+T)},a})(0);function n0(g,c){this._context=g,this._k=(1-c)/6}n0.prototype={areaStart:j0,areaEnd:j0,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(g,c){switch(g=+g,c=+c,this._point){case 0:this._point=1,this._x3=g,this._y3=c;break;case 1:this._point=2,this._context.moveTo(this._x4=g,this._y4=c);break;case 2:this._point=3,this._x5=g,this._y5=c;break;default:zf(this,g,c)}this._x0=this._x1,this._x1=this._x2,this._x2=g,this._y0=this._y1,this._y1=this._y2,this._y2=c}};const hm=function g(c){function a(T){return new n0(T,c)}return a.tension=function(T){return g(+T)},a}(0);function F0(g,c){return c<g?-1:c>g?1:c>=g?0:NaN}function C4(g){return g}function vp(){var g=C4,c=F0,a=null,T=_s(0),G=_s(Af),ce=_s(0);function ve(Ne){var tt,Ct,qt,Qi,Gr,ut=(Ne=_2(Ne)).length,At=0,jn=new Array(ut),fi=new Array(ut),Xi=+T.apply(this,arguments),Hn=Math.min(Af,Math.max(-Af,G.apply(this,arguments)-Xi)),lr=Math.min(Math.abs(Hn)/ut,ce.apply(this,arguments)),ar=lr*(Hn<0?-1:1);for(tt=0;tt<ut;++tt)(Gr=fi[jn[tt]=tt]=+g(Ne[tt],tt,Ne))>0&&(At+=Gr);for(null!=c?jn.sort(function(ro,Lr){return c(fi[ro],fi[Lr])}):null!=a&&jn.sort(function(ro,Lr){return a(Ne[ro],Ne[Lr])}),tt=0,qt=At?(Hn-ut*ar)/At:0;tt<ut;++tt,Xi=Qi)Ct=jn[tt],Qi=Xi+((Gr=fi[Ct])>0?Gr*qt:0)+ar,fi[Ct]={data:Ne[Ct],index:tt,value:Gr,startAngle:Xi,endAngle:Qi,padAngle:lr};return fi}return ve.value=function(Ne){return arguments.length?(g="function"==typeof Ne?Ne:_s(+Ne),ve):g},ve.sortValues=function(Ne){return arguments.length?(c=Ne,a=null,ve):c},ve.sort=function(Ne){return arguments.length?(a=Ne,c=null,ve):a},ve.startAngle=function(Ne){return arguments.length?(T="function"==typeof Ne?Ne:_s(+Ne),ve):T},ve.endAngle=function(Ne){return arguments.length?(G="function"==typeof Ne?Ne:_s(+Ne),ve):G},ve.padAngle=function(Ne){return arguments.length?(ce="function"==typeof Ne?Ne:_s(+Ne),ve):ce},ve}var _p=Math.PI;function $h(g){return(1-Math.cos(_p*g))/2}var i0=B(4229);function bp(g,c,a){g.prototype=c.prototype=a,a.constructor=g}function Gu(g,c){var a=Object.create(g.prototype);for(var T in c)a[T]=c[T];return a}function w4(){}var M4=1/.7,Kh="\\s*([+-]?\\d+)\\s*",x3="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",qu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A6=/^#([0-9a-f]{3,8})$/,O6=new RegExp(`^rgb\\(${Kh},${Kh},${Kh}\\)$`),V0=new RegExp(`^rgb\\(${qu},${qu},${qu}\\)$`),P6=new RegExp(`^rgba\\(${Kh},${Kh},${Kh},${x3}\\)$`),U0=new RegExp(`^rgba\\(${qu},${qu},${qu},${x3}\\)$`),Zh=new RegExp(`^hsl\\(${x3},${qu},${qu}\\)$`),Y0=new RegExp(`^hsla\\(${x3},${qu},${qu},${x3}\\)$`),r0={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function W0(){return this.rgb().formatHex()}function Hf(){return this.rgb().formatRgb()}function dh(g){var c,a;return g=(g+"").trim().toLowerCase(),(c=A6.exec(g))?(a=c[1].length,c=parseInt(c[1],16),6===a?G0(c):3===a?new U2(c>>8&15|c>>4&240,c>>4&15|240&c,(15&c)<<4|15&c,1):8===a?T4(c>>24&255,c>>16&255,c>>8&255,(255&c)/255):4===a?T4(c>>12&15|c>>8&240,c>>8&15|c>>4&240,c>>4&15|240&c,((15&c)<<4|15&c)/255):null):(c=O6.exec(g))?new U2(c[1],c[2],c[3],1):(c=V0.exec(g))?new U2(255*c[1]/100,255*c[2]/100,255*c[3]/100,1):(c=P6.exec(g))?T4(c[1],c[2],c[3],c[4]):(c=U0.exec(g))?T4(255*c[1]/100,255*c[2]/100,255*c[3]/100,c[4]):(c=Zh.exec(g))?M3(c[1],c[2]/100,c[3]/100,1):(c=Y0.exec(g))?M3(c[1],c[2]/100,c[3]/100,c[4]):r0.hasOwnProperty(g)?G0(r0[g]):"transparent"===g?new U2(NaN,NaN,NaN,0):null}function G0(g){return new U2(g>>16&255,g>>8&255,255&g,1)}function T4(g,c,a,T){return T<=0&&(g=c=a=NaN),new U2(g,c,a,T)}function Tg(g){return g instanceof w4||(g=dh(g)),g?new U2((g=g.rgb()).r,g.g,g.b,g.opacity):new U2}function Jh(g,c,a,T){return 1===arguments.length?Tg(g):new U2(g,c,a,null==T?1:T)}function U2(g,c,a,T){this.r=+g,this.g=+c,this.b=+a,this.opacity=+T}function C3(){return`#${t1(this.r)}${t1(this.g)}${t1(this.b)}`}function Q1(){const g=w3(this.opacity);return`${1===g?"rgb(":"rgba("}${y2(this.r)}, ${y2(this.g)}, ${y2(this.b)}${1===g?")":`, ${g})`}`}function w3(g){return isNaN(g)?1:Math.max(0,Math.min(1,g))}function y2(g){return Math.max(0,Math.min(255,Math.round(g)||0))}function t1(g){return((g=y2(g))<16?"0":"")+g.toString(16)}function M3(g,c,a,T){return T<=0?g=c=a=NaN:a<=0||a>=1?g=c=NaN:c<=0&&(g=NaN),new x2(g,c,a,T)}function xu(g){if(g instanceof x2)return new x2(g.h,g.s,g.l,g.opacity);if(g instanceof w4||(g=dh(g)),!g)return new x2;if(g instanceof x2)return g;var c=(g=g.rgb()).r/255,a=g.g/255,T=g.b/255,G=Math.min(c,a,T),ce=Math.max(c,a,T),ve=NaN,Ne=ce-G,tt=(ce+G)/2;return Ne?(ve=c===ce?(a-T)/Ne+6*(a<T):a===ce?(T-c)/Ne+2:(c-a)/Ne+4,Ne/=tt<.5?ce+G:2-ce-G,ve*=60):Ne=tt>0&&tt<1?0:ve,new x2(ve,Ne,tt,g.opacity)}function x2(g,c,a,T){this.h=+g,this.s=+c,this.l=+a,this.opacity=+T}function Cd(g){return(g=(g||0)%360)<0?g+360:g}function U3(g){return Math.max(0,Math.min(1,g||0))}function uh(g,c,a){return 255*(g<60?c+(a-c)*g/60:g<180?a:g<240?c+(a-c)*(240-g)/60:c)}function Qh(g){g.x0=Math.round(g.x0),g.y0=Math.round(g.y0),g.x1=Math.round(g.x1),g.y1=Math.round(g.y1)}function mc(g,c,a,T,G){for(var ve,ce=g.children,Ne=-1,tt=ce.length,ut=g.value&&(T-c)/g.value;++Ne<tt;)(ve=ce[Ne]).y0=a,ve.y1=G,ve.x0=c,ve.x1=c+=ve.value*ut}function S4(g,c,a,T,G){for(var ve,ce=g.children,Ne=-1,tt=ce.length,ut=g.value&&(G-a)/g.value;++Ne<tt;)(ve=ce[Ne]).x0=c,ve.x1=T,ve.y0=a,ve.y1=a+=ve.value*ut}bp(w4,dh,{copy(g){return Object.assign(new this.constructor,this,g)},displayable(){return this.rgb().displayable()},hex:W0,formatHex:W0,formatHex8:function Xh(){return this.rgb().formatHex8()},formatHsl:function Mg(){return xu(this).formatHsl()},formatRgb:Hf,toString:Hf}),bp(U2,Jh,Gu(w4,{brighter(g){return g=null==g?M4:Math.pow(M4,g),new U2(this.r*g,this.g*g,this.b*g,this.opacity)},darker(g){return g=null==g?.7:Math.pow(.7,g),new U2(this.r*g,this.g*g,this.b*g,this.opacity)},rgb(){return this},clamp(){return new U2(y2(this.r),y2(this.g),y2(this.b),w3(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:C3,formatHex:C3,formatHex8:function Kd(){return`#${t1(this.r)}${t1(this.g)}${t1(this.b)}${t1(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Q1,toString:Q1})),bp(x2,function V3(g,c,a,T){return 1===arguments.length?xu(g):new x2(g,c,a,null==T?1:T)},Gu(w4,{brighter(g){return g=null==g?M4:Math.pow(M4,g),new x2(this.h,this.s,this.l*g,this.opacity)},darker(g){return g=null==g?.7:Math.pow(.7,g),new x2(this.h,this.s,this.l*g,this.opacity)},rgb(){var g=this.h%360+360*(this.h<0),c=isNaN(g)||isNaN(this.s)?0:this.s,a=this.l,T=a+(a<.5?a:1-a)*c,G=2*a-T;return new U2(uh(g>=240?g-240:g+120,G,T),uh(g,G,T),uh(g<120?g+240:g-120,G,T),this.opacity)},clamp(){return new x2(Cd(this.h),U3(this.s),U3(this.l),w3(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const g=w3(this.opacity);return`${1===g?"hsl(":"hsla("}${Cd(this.h)}, ${100*U3(this.s)}%, ${100*U3(this.l)}%${1===g?")":`, ${g})`}`}}));const hh=function g(c){function a(T,G,ce,ve,Ne){!function $0(g,c,a,T,G,ce){for(var tt,ut,jn,fi,Hn,Qi,lr,ar,Gr,ro,Lr,ve=[],Ne=c.children,Ct=0,qt=0,At=Ne.length,Xi=c.value;Ct<At;){jn=G-a,fi=ce-T;do{Hn=Ne[qt++].value}while(!Hn&&qt<At);for(Qi=lr=Hn,Lr=Hn*Hn*(ro=Math.max(fi/jn,jn/fi)/(Xi*g)),Gr=Math.max(lr/Lr,Lr/Qi);qt<At;++qt){if(Hn+=ut=Ne[qt].value,ut<Qi&&(Qi=ut),ut>lr&&(lr=ut),Lr=Hn*Hn*ro,(ar=Math.max(lr/Lr,Lr/Qi))>Gr){Hn-=ut;break}Gr=ar}ve.push(tt={value:Hn,dice:jn<fi,children:Ne.slice(Ct,qt)}),tt.dice?mc(tt,a,T,G,Xi?T+=fi*Hn/Xi:ce):S4(tt,a,T,Xi?a+=jn*Hn/Xi:G,ce),Xi-=Hn,Ct=qt}return ve}(c,T,G,ce,ve,Ne)}return a.ratio=function(T){return g((T=+T)>1?T:1)},a}((1+Math.sqrt(5))/2);function ph(g){if("function"!=typeof g)throw new Error;return g}function Bf(){return 0}function Y3(g){return function(){return g}}function k4(g){var c=0,a=g.children,T=a&&a.length;if(T)for(;--T>=0;)c+=a[T].value;else c=1;g.value=c}function s0(g,c){g instanceof Map?(g=[void 0,g],void 0===c&&(c=gh)):void 0===c&&(c=j6);for(var T,ce,ve,Ne,tt,a=new Ff(g),G=[a];T=G.pop();)if((ve=c(T.data))&&(tt=(ve=Array.from(ve)).length))for(T.children=ve,Ne=tt-1;Ne>=0;--Ne)G.push(ce=ve[Ne]=new Ff(ve[Ne])),ce.parent=T,ce.depth=T.depth+1;return a.eachBefore(Q0)}function j6(g){return g.children}function gh(g){return Array.isArray(g)?g[1]:null}function Lg(g){void 0!==g.data.value&&(g.value=g.data.value),g.data=g.data.data}function Q0(g){var c=0;do{g.height=c}while((g=g.parent)&&g.height<++c)}function Ff(g){this.data=g,this.depth=this.height=0,this.parent=null}Ff.prototype=s0.prototype={constructor:Ff,count:function Sg(){return this.eachAfter(k4)},each:function z6(g,c){let a=-1;for(const T of this)g.call(c,T,++a,this);return this},eachAfter:function ef(g,c){for(var ce,ve,Ne,a=this,T=[a],G=[],tt=-1;a=T.pop();)if(G.push(a),ce=a.children)for(ve=0,Ne=ce.length;ve<Ne;++ve)T.push(ce[ve]);for(;a=G.pop();)g.call(c,a,++tt,this);return this},eachBefore:function Z0(g,c){for(var G,ce,a=this,T=[a],ve=-1;a=T.pop();)if(g.call(c,a,++ve,this),G=a.children)for(ce=G.length-1;ce>=0;--ce)T.push(G[ce]);return this},find:function R6(g,c){let a=-1;for(const T of this)if(g.call(c,T,++a,this))return T},sum:function N6(g){return this.eachAfter(function(c){for(var a=+g(c.data)||0,T=c.children,G=T&&T.length;--G>=0;)a+=T[G].value;c.value=a})},sort:function o0(g){return this.eachBefore(function(c){c.children&&c.children.sort(g)})},path:function yp(g){for(var c=this,a=function jf(g,c){if(g===c)return g;var a=g.ancestors(),T=c.ancestors(),G=null;for(g=a.pop(),c=T.pop();g===c;)G=g,g=a.pop(),c=T.pop();return G}(c,g),T=[c];c!==a;)c=c.parent,T.push(c);for(var G=T.length;g!==a;)T.splice(G,0,g),g=g.parent;return T},ancestors:function X0(){for(var g=this,c=[g];g=g.parent;)c.push(g);return c},descendants:function H6(){return Array.from(this)},leaves:function kg(){var g=[];return this.eachBefore(function(c){c.children||g.push(c)}),g},links:function B6(){var g=this,c=[];return g.each(function(a){a!==g&&c.push({source:a.parent,target:a})}),c},copy:function J0(){return s0(this).eachBefore(Lg)},[Symbol.iterator]:function*W3(){var c,T,G,ce,g=this,a=[g];do{for(c=a.reverse(),a=[];g=c.pop();)if(yield g,T=g.children)for(G=0,ce=T.length;G<ce;++G)a.push(T[G])}while(a.length)}};var e2={depth:-1},e6={};function Eg(g){return g.id}function G3(g){return g.parentId}const tf=["caretElm"];function Ig(g,c){}const t6=function(g){return{model:g}};function V(g,c){if(1&g&&(n.TgZ(0,"span"),n.YNc(1,Ig,0,0,"ng-template",5),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",a.template)("ngTemplateOutletContext",n.VKq(2,t6,a.context))}}function ee(g,c){if(1&g&&n._UZ(0,"span",6),2&g){const a=n.oxw();n.Q6J("innerHTML",a.title,n.oJD)}}function Ce(g,c){if(1&g&&(n.TgZ(0,"header",4)(1,"span",5),n._uU(2),n.qZA()()),2&g){const a=n.oxw();n.xp6(2),n.Oqu(a.title)}}function Ye(g,c){if(1&g){const a=n.EpF();n.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),n.NdJ("select",function(G){return n.CHM(a),n.oxw().labelClick.emit(G)})("activate",function(G){return n.CHM(a),n.oxw().activate(G)})("deactivate",function(G){return n.CHM(a),n.oxw().deactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("label",a.label)("formattedLabel",a.formattedLabel)("color",a.color)("isActive",T.isActive(a))}}function mt(g,c){if(1&g&&(n.O4$(),n.kcU(),n._UZ(0,"ngx-charts-scale-legend",4)),2&g){const a=n.oxw();n.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("valueRange",a.legendOptions.domain)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)}}function Rt(g,c){if(1&g){const a=n.EpF();n.O4$(),n.kcU(),n.TgZ(0,"ngx-charts-legend",5),n.NdJ("labelClick",function(G){return n.CHM(a),n.oxw().legendLabelClick.emit(G)})("labelActivate",function(G){return n.CHM(a),n.oxw().legendLabelActivate.emit(G)})("labelDeactivate",function(G){return n.CHM(a),n.oxw().legendLabelDeactivate.emit(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("data",a.legendOptions.domain)("title",a.legendOptions.title)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)("activeEntries",a.activeEntries)}}const en=["*"],Fn=["ticksel"];function Mi(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g",3)(1,"title"),n._uU(2),n.qZA(),n.TgZ(3,"text",4),n._uU(4),n.qZA()()),2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",T.tickTransform(a)),n.xp6(2),n.Oqu(T.tickFormat(a)),n.xp6(1),n.Udp("font-size","12px"),n.uIk("text-anchor",T.textAnchor)("transform",T.textTransform),n.xp6(1),n.hij(" ",T.tickTrim(T.tickFormat(a))," ")}}function Ni(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"line",6),n.qZA()),2&g){const a=n.oxw(2);n.uIk("transform",a.gridLineTransform()),n.xp6(1),n.uIk("y1",-a.gridLineHeight)}}function vr(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Ni,2,2,"g",5),n.qZA()),2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",T.tickTransform(a)),n.xp6(1),n.Q6J("ngIf",T.showGridLines)}}function b(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().emitTicksHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("trimTicks",a.trimTicks)("rotateTicks",a.rotateTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickStroke",a.tickStroke)("scale",a.xScale)("orient",a.xOrient)("showGridLines",a.showGridLines)("gridLineHeight",a.dims.height)("width",a.dims.width)("tickValues",a.ticks)}}function j(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",3)),2&g){const a=n.oxw();n.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.orientation.Bottom)("height",a.dims.height)("width",a.dims.width)}}function fe(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g",4)(1,"title"),n._uU(2),n.qZA(),n.TgZ(3,"text",5),n._uU(4),n.qZA()()),2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",T.transform(a)),n.xp6(2),n.Oqu(T.tickFormat(a)),n.xp6(1),n.Udp("font-size","12px"),n.uIk("dy",T.dy)("x",T.x1)("y",T.y1)("text-anchor",T.textAnchor),n.xp6(1),n.hij(" ",T.tickTrim(T.tickFormat(a))," ")}}function ue(g,c){if(1&g&&(n.O4$(),n._UZ(0,"path",6)),2&g){const a=n.oxw();n.uIk("d",a.referenceAreaPath)("transform",a.gridLineTransform())}}function je(g,c){if(1&g&&(n.O4$(),n._UZ(0,"line",9)),2&g){const a=n.oxw(3);n.uIk("x2",a.gridLineWidth)}}function nt(g,c){if(1&g&&(n.O4$(),n._UZ(0,"line",9)),2&g){const a=n.oxw(3);n.uIk("x2",-a.gridLineWidth)}}function Un(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,je,1,1,"line",8),n.YNc(2,nt,1,1,"line",8),n.qZA()),2&g){const a=n.oxw(2);n.uIk("transform",a.gridLineTransform()),n.xp6(1),n.Q6J("ngIf",a.orient===a.Orientation.Left),n.xp6(1),n.Q6J("ngIf",a.orient===a.Orientation.Right)}}function ei(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Un,3,3,"g",7),n.qZA()),2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",T.transform(a)),n.xp6(1),n.Q6J("ngIf",T.showGridLines)}}function vi(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g")(1,"title"),n._uU(2),n.qZA(),n.TgZ(3,"text",11),n._uU(4),n.qZA()()),2&g){const a=n.oxw(2).$implicit,T=n.oxw();n.xp6(2),n.Oqu(T.tickTrim(T.tickFormat(a.value))),n.xp6(1),n.uIk("dy",T.dy)("y",-6)("x",T.gridLineWidth)("text-anchor",T.textAnchor),n.xp6(1),n.hij(" ",a.name," ")}}function Gi(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"line",10),n.YNc(2,vi,5,6,"g",7),n.qZA()),2&g){const a=n.oxw().$implicit,T=n.oxw();n.uIk("transform",T.transform(a.value)),n.xp6(1),n.uIk("x2",T.gridLineWidth)("transform",T.gridLineTransform()),n.xp6(1),n.Q6J("ngIf",T.showRefLabels)}}function mo(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Gi,3,4,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngIf",a.showRefLines)}}function jc(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().emitTicksWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("trimTicks",a.trimTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickValues",a.ticks)("tickStroke",a.tickStroke)("scale",a.yScale)("orient",a.yOrient)("showGridLines",a.showGridLines)("gridLineWidth",a.dims.width)("referenceLines",a.referenceLines)("showRefLines",a.showRefLines)("showRefLabels",a.showRefLabels)("height",a.dims.height)}}function wd(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",3)),2&g){const a=n.oxw();n.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.yOrient)("height",a.dims.height)("width",a.dims.width)}}function L4(g,c){if(1&g&&(n.O4$(),n._UZ(0,"stop")),2&g){const a=c.$implicit;n.Udp("stop-color",a.color)("stop-opacity",a.opacity),n.uIk("offset",a.offset+"%")}}function q3(g,c){if(1&g&&(n.O4$(),n._UZ(0,"rect",4)),2&g){const a=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("x",a.circle.cx-a.circle.radius)("y",a.circle.cy)("width",2*a.circle.radius)("height",a.circle.height)("fill",a.gradientFill)}}function wu(g,c){if(1&g&&(n.O4$(),n._UZ(0,"rect",4)),2&g){const a=n.oxw(2);n.uIk("x",a.circle.cx-a.circle.radius)("y",a.circle.cy)("width",2*a.circle.radius)("height",a.circle.height)("fill",a.gradientFill)}}const nf=function(g){return{name:g}};function Vf(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"defs"),n._UZ(2,"g",1),n.qZA(),n.YNc(3,q3,1,6,"rect",2),n.YNc(4,wu,1,5,"rect",2),n.TgZ(5,"g",3),n.NdJ("select",function(){n.CHM(a);const G=n.oxw();return G.onClick(G.circle.data)})("activate",function(){return n.CHM(a),n.oxw().activateCircle()})("deactivate",function(){return n.CHM(a),n.oxw().deactivateCircle()}),n.qZA()()}if(2&g){const a=n.oxw();n.xp6(2),n.Q6J("orientation",a.barOrientation.Vertical)("name",a.gradientId)("stops",a.circle.gradientStops),n.xp6(1),n.Q6J("ngIf",!a.isSSR&&a.barVisible&&"standard"===a.type),n.xp6(1),n.Q6J("ngIf",a.isSSR&&a.barVisible&&"standard"===a.type),n.xp6(1),n.ekj("active",a.isActive(n.VKq(20,nf,a.circle.seriesName))),n.Q6J("cx",a.circle.cx)("cy",a.circle.cy)("r",a.circle.radius)("fill",a.circle.color)("pointerEvents",0===a.circle.value?"none":"all")("data",a.circle.value)("classNames",a.circle.classNames)("tooltipDisabled",a.tooltipDisabled)("tooltipPlacement",a.placementTypes.Top)("tooltipType",a.styleTypes.tooltip)("tooltipTitle",a.tooltipTemplate?void 0:a.getTooltipText(a.circle))("tooltipTemplate",a.tooltipTemplate)("tooltipContext",a.circle.data)}}function F6(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",1)),2&g){const a=c.$implicit;n.ekj("grid-panel",!0)("odd","odd"===a.class)("even","even"===a.class),n.Q6J("height",a.height)("width",a.width)("x",a.x)("y",a.y)}}function Z8(g,c){if(1&g&&(n.O4$(),n._UZ(0,"stop")),2&g){const a=c.$implicit;n.Udp("stop-color",a.color)("stop-opacity",a.opacity),n.uIk("offset",a.offset+"%")}}function P5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"defs"),n._UZ(1,"g",2),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("orientation",a.barOrientation.Vertical)("name",a.gradientId)("stops",a.gradientStops)}}const Ag=["tooltipAnchor"];function R5(g,c){if(1&g&&(n.TgZ(0,"div",6),n._UZ(1,"span",7),n._uU(2),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Udp("background-color",a.color),n.xp6(1),n.hij(" ",T.getToolTipText(a)," ")}}function Wm(g,c){if(1&g&&(n.O4$(),n.kcU(),n.TgZ(0,"div",4),n.YNc(1,R5,3,3,"div",5),n.qZA()),2&g){const a=c.model;n.xp6(1),n.Q6J("ngForOf",a)}}function U6(g,c){if(1&g&&n._UZ(0,"div",7),2&g){const a=n.oxw();n.Q6J("countTo",a.roundedTotal)("valueFormatting",a.valueFormatting)}}function pm(g,c){if(1&g&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.hij(" ",a.valueFormatting?a.valueFormatting(a.roundedTotal):a.defaultValueFormatting(a.roundedTotal)," ")}}function Og(g,c){if(1&g&&n._UZ(0,"div",16),2&g){const a=n.oxw().$implicit,T=n.oxw();n.Q6J("countTo",a._value)("valueFormatting",T.valueFormatting)}}function N5(g,c){if(1&g&&(n.TgZ(0,"div",17),n._uU(1),n.qZA()),2&g){const a=n.oxw().$implicit,T=n.oxw();n.xp6(1),n.hij(" ",T.valueFormatting?T.valueFormatting(a.value):T.defaultValueFormatting(a.value)," ")}}function Sv(g,c){if(1&g&&n._UZ(0,"div",18),2&g){const a=n.oxw().$implicit;n.Q6J("countTo",a.percentage)("countSuffix","%")}}function kv(g,c){if(1&g&&(n.TgZ(0,"div",19),n._uU(1),n.qZA()),2&g){const a=n.oxw().$implicit;n.xp6(1),n.hij("",a.percentage.toLocaleString(),"%")}}function J8(g,c){if(1&g){const a=n.EpF();n.TgZ(0,"div",9),n.NdJ("mouseenter",function(){const ce=n.CHM(a).$implicit;return n.oxw().activate.emit(ce.data)})("mouseleave",function(){const ce=n.CHM(a).$implicit;return n.oxw().deactivate.emit(ce.data)})("click",function(){const ce=n.CHM(a).$implicit;return n.oxw().select.emit(ce.data)}),n._UZ(1,"div",10),n.YNc(2,Og,1,2,"div",11),n.YNc(3,N5,2,1,"div",12),n.TgZ(4,"div",13),n._uU(5),n.qZA(),n.YNc(6,Sv,1,2,"div",14),n.YNc(7,kv,2,1,"div",15),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Udp("border-left-color",a.color),n.xp6(1),n.Q6J("ngIf",T.animations),n.xp6(1),n.Q6J("ngIf",!T.animations),n.xp6(2),n.Oqu(a.displayLabel),n.xp6(1),n.Q6J("ngIf",T.animations),n.xp6(1),n.Q6J("ngIf",!T.animations)}}const n1=["tooltipTemplate"],_1=["seriesTooltipTemplate"];function H5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function B5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",8),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function j5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",9),n.qZA()),2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("baseValue",T.baseValue)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("scaleType",T.scaleType)("gradient",T.gradient)("curve",T.curve)("animations",T.animations)}}function e7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",13),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("activeEntries",T.activeEntries)("data",a)("scaleType",T.scaleType)("visibleValue",T.hoveredVertical)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function Gm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",10),n.NdJ("mouseleave",function(){return n.CHM(a),n.oxw().hideCircles()}),n.TgZ(1,"g",11),n.NdJ("hover",function(G){return n.CHM(a),n.oxw().updateHoveredVertical(G)}),n.qZA(),n.YNc(2,e7,2,9,"g",12),n.qZA()}if(2&g){const a=n.oxw();n.xp6(1),n.Q6J("dims",a.dims)("xSet",a.xSet)("xScale",a.xScale)("yScale",a.yScale)("results",a.results)("colors",a.colors)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.seriesTooltipTemplate),n.xp6(1),n.Q6J("ngForOf",a.results)}}function gm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",15),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.timelineXScale)("yScale",T.timelineYScale)("baseValue",T.baseValue)("colors",T.colors)("data",a)("scaleType",T.scaleType)("gradient",T.gradient)("curve",T.curve)("animations",T.animations)}}const vc=function(g,c){return[g,c]};function Pg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",14),n.NdJ("onDomainChange",function(G){return n.CHM(a),n.oxw().updateDomain(G)}),n.YNc(1,gm,2,9,"g",4),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("results",a.results)("view",n.WLB(10,vc,a.timelineWidth,a.height))("height",a.timelineHeight)("scheme",a.scheme)("customColors",a.customColors)("legend",a.legend)("scaleType",a.scaleType),n.uIk("transform",a.timelineTransform),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function t7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function n7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",8),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function F5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",9),n.qZA()),2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("activeEntries",T.activeEntries)("gradient",T.gradient)("normalized",!0)("curve",T.curve)("animations",T.animations)}}function qm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",13),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("type",T.seriesType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("activeEntries",T.activeEntries)("data",a)("scaleType",T.scaleType)("visibleValue",T.hoveredVertical)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function V5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",10),n.NdJ("mouseleave",function(){return n.CHM(a),n.oxw().hideCircles()}),n.TgZ(1,"g",11),n.NdJ("hover",function(G){return n.CHM(a),n.oxw().updateHoveredVertical(G)}),n.qZA(),n.YNc(2,qm,2,10,"g",12),n.qZA()}if(2&g){const a=n.oxw();n.xp6(1),n.Q6J("dims",a.dims)("xSet",a.xSet)("xScale",a.xScale)("yScale",a.yScale)("results",a.results)("colors",a.colors)("showPercentage",!0)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.seriesTooltipTemplate),n.xp6(1),n.Q6J("ngForOf",a.results)}}function Lv(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",15),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.timelineXScale)("yScale",T.timelineYScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("gradient",T.gradient)("normalized",!0)("curve",T.curve)("animations",T.animations)}}function $m(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",14),n.NdJ("onDomainChange",function(G){return n.CHM(a),n.oxw().updateDomain(G)}),n.YNc(1,Lv,2,9,"g",4),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("results",a.results)("view",n.WLB(10,vc,a.timelineWidth,a.height))("height",a.timelineHeight)("scheme",a.scheme)("customColors",a.customColors)("legend",a.legend)("scaleType",a.scaleType),n.uIk("transform",a.timelineTransform),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}const H1=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n";function Uf(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function i7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",8),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function Km(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",9),n.qZA()),2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("gradient",T.gradient)("activeEntries",T.activeEntries)("stacked",!0)("curve",T.curve)("animations",T.animations)}}function xp(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",12),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("type",T.seriesType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("activeEntries",T.activeEntries)("data",a)("scaleType",T.scaleType)("visibleValue",T.hoveredVertical)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function of(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",10),n.NdJ("mouseleave",function(){return n.CHM(a),n.oxw().hideCircles()}),n.TgZ(1,"g",11),n.NdJ("hover",function(G){return n.CHM(a),n.oxw().updateHoveredVertical(G)}),n.qZA(),n.YNc(2,xp,2,10,"g",4),n.qZA()}if(2&g){const a=n.oxw();n.xp6(1),n.Q6J("dims",a.dims)("xSet",a.xSet)("xScale",a.xScale)("yScale",a.yScale)("results",a.results)("colors",a.colors)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.seriesTooltipTemplate),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function sf(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",14),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.timelineXScale)("yScale",T.timelineYScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("gradient",T.gradient)("stacked",!0)("curve",T.curve)("animations",T.animations)}}function r7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",13),n.NdJ("onDomainChange",function(G){return n.CHM(a),n.oxw().updateDomain(G)}),n.YNc(1,sf,2,9,"g",4),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("results",a.results)("view",n.WLB(10,vc,a.timelineWidth,a.height))("height",a.timelineHeight)("scheme",a.scheme)("customColors",a.customColors)("legend",a.legend)("scaleType",a.scaleType),n.uIk("transform",a.timelineTransform),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Y5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"defs"),n._UZ(1,"g",2),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("orientation",a.orientation)("name",a.gradientId)("stops",a.gradientStops)}}function Zo(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(G){return n.CHM(a),n.oxw().click(G)})("activate",function(G){return n.CHM(a),n.oxw().activate.emit(G)})("deactivate",function(G){return n.CHM(a),n.oxw().deactivate.emit(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Q6J("@animationState","active")("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",T.barOrientation.Horizontal)("roundEdges",a.roundEdges)("gradient",T.gradient)("isActive",T.isActive(a.data))("ariaLabel",a.ariaLabel)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.tooltipPlacement)("tooltipType",T.tooltipType)("tooltipTitle",T.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",T.noBarWhenZero)}}function i1(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",4),n.NdJ("dimensionsChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).dataLabelWidthChanged.emit({size:G,index:ve})}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("barX",a.x)("barY",a.y)("barWidth",a.width)("barHeight",a.height)("value",a.total)("valueFormatting",T.dataLabelFormatting)("orientation",T.barOrientation.Horizontal)}}function mm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,i1,1,7,"g",3),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.barsForDataLabels)("ngForTrackBy",a.trackDataLabelBy)}}function Dv(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function Zm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)("yAxisOffset",a.dataLabelMaxWidth.negative)}}function s7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.valueScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function W5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.groupScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)("yAxisOffset",a.dataLabelMaxWidth.negative)}}function zg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelWidthChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxWidthChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("xScale",T.valueScale)("activeEntries",T.activeEntries)("yScale",T.innerScale)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("roundEdges",T.roundEdges)("animations",T.animations)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("noBarWhenZero",T.noBarWhenZero)}}function vm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,zg,2,17,"g",8),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function a7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelWidthChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxWidthChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("xScale",T.valueScale)("activeEntries",T.activeEntries)("yScale",T.innerScale)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("roundEdges",T.roundEdges)("animations",T.animations)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("noBarWhenZero",T.noBarWhenZero)}}function l0(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,a7,2,16,"g",8),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function G5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function _m(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function Xm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Normalized)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function q5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Xm,2,15,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function $5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Normalized)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function W2(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,$5,2,14,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function _c(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function K5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)("yAxisOffset",a.dataLabelMaxWidth.negative)}}function Yf(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelWidthChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxWidthChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("series",a.series)("activeEntries",T.activeEntries)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("noBarWhenZero",T.noBarWhenZero)}}function _r(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Yf,2,17,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Mu(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelWidthChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxWidthChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("series",a.series)("activeEntries",T.activeEntries)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("noBarWhenZero",T.noBarWhenZero)}}function bm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Mu,2,16,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function c7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(G){return n.CHM(a),n.oxw(2).onClick(G)})("activate",function(G){return n.CHM(a),n.oxw(2).activate.emit(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).deactivate.emit(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active")("@.disabled",!T.animations)("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",T.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",T.gradient)("ariaLabel",a.ariaLabel)("isActive",T.isActive(a.data))("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.tooltipPlacement)("tooltipType",T.tooltipType)("tooltipTitle",T.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",T.noBarWhenZero)("animations",T.animations)}}function Z5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,c7,1,22,"g",1),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function X5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(G){return n.CHM(a),n.oxw(2).onClick(G)})("activate",function(G){return n.CHM(a),n.oxw(2).activate.emit(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).deactivate.emit(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",T.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",T.gradient)("ariaLabel",a.ariaLabel)("isActive",T.isActive(a.data))("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.tooltipPlacement)("tooltipType",T.tooltipType)("tooltipTitle",T.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",T.noBarWhenZero)("animations",T.animations)}}function d7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,X5,1,20,"g",1),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function af(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",4),n.NdJ("dimensionsChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).dataLabelHeightChanged.emit({size:G,index:ve})}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("barX",a.x)("barY",a.y)("barWidth",a.width)("barHeight",a.height)("value",a.total)("valueFormatting",T.dataLabelFormatting)("orientation",T.barOrientation.Vertical)}}function Qa(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,af,1,7,"g",3),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.barsForDataLabels)("ngForTrackBy",a.trackDataLabelBy)}}function ul(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function J5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function Wf(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.groupScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function Rg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.valueScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function u7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelHeightChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxHeightChanged(G,ve)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active")("activeEntries",T.activeEntries)("xScale",T.innerScale)("yScale",T.valueScale)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("seriesName",a.name)("roundEdges",T.roundEdges)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero),n.uIk("transform",T.groupTransform(a))}}function h7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,u7,1,17,"g",8),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Q5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelHeightChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxHeightChanged(G,ve)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("activeEntries",T.activeEntries)("xScale",T.innerScale)("yScale",T.valueScale)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("seriesName",a.name)("roundEdges",T.roundEdges)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero),n.uIk("transform",T.groupTransform(a))}}function f7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Q5,1,16,"g",8),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function e8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function t8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function Jm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Normalized)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function n6(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Jm,2,15,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Y6(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Normalized)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function n8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Y6,2,14,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function i8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function r8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function Qm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelHeightChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxHeightChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function o8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Qm,2,17,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function ym(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",8),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onActivate(G,ve)})("deactivate",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onDeactivate(G,ve)})("dataLabelHeightChanged",function(G){const ve=n.CHM(a).index;return n.oxw(2).onDataLabelMaxHeightChanged(G,ve)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.uIk("transform",T.groupTransform(a)),n.xp6(1),n.Q6J("type",T.barChartType.Stacked)("xScale",T.xScale)("yScale",T.yScale)("activeEntries",T.activeEntries)("colors",T.colors)("series",a.series)("dims",T.dims)("gradient",T.gradient)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("showDataLabel",T.showDataLabel)("dataLabelFormatting",T.dataLabelFormatting)("seriesName",a.name)("animations",T.animations)("noBarWhenZero",T.noBarWhenZero)}}function Ng(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,ym,2,16,"g",7),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function i6(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",5)),2&g){const a=n.oxw();n.Q6J("orientation",a.BarOrientation.Vertical)("name",a.gradientId)("stops",a.gradientStops)}}function p7(g,c){if(1&g&&(n.O4$(),n._UZ(0,"line",6)),2&g){const a=c.$implicit,T=c.index,G=n.oxw();n.ekj("hidden",G.hideBar),n.uIk("x1",a.v1.x)("y1",a.v1.y)("x2",a.v2.x)("y2",a.v2.y)("stroke",G.strokeColor)("stroke-width",2===T?G.medianLineWidth:G.whiskerStrokeWidth)("mask",T?void 0:G.maskLine)}}function r1(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",5),n.NdJ("activate",function(G){return n.CHM(a),n.oxw().onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw().onDeactivate(G)})("select",function(G){return n.CHM(a),n.oxw().onClick(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("roundEdges",T.roundEdges)("strokeColor",T.strokeColor)("strokeWidth",T.strokeWidth)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("series",a)("dims",T.dims)("animations",T.animations)("gradient",T.gradient)}}function $3(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().onClick(G.data)})("activate",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().activateCircle(G)})("deactivate",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().deactivateCircle(G)}),n.qZA()}if(2&g){const a=n.oxw().$implicit,T=n.oxw();n.Udp("opacity",a.opacity),n.ekj("active",a.isActive),n.Q6J("@animationState","active")("cx",0)("cy",0)("r",a.radius)("fill",a.color)("pointerEvents","all")("data",a.value)("classNames",a.classNames)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.getTooltipText(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)}}function g7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().onClick(G.data)})("activate",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().activateCircle(G)})("deactivate",function(){n.CHM(a);const G=n.oxw().$implicit;return n.oxw().deactivateCircle(G)}),n.qZA()}if(2&g){const a=n.oxw().$implicit,T=n.oxw();n.Udp("opacity",a.opacity),n.ekj("active",a.isActive),n.Q6J("cx",0)("cy",0)("r",a.radius)("fill",a.color)("pointerEvents","all")("data",a.value)("classNames",a.classNames)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.getTooltipText(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)}}function xm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g")(1,"g"),n.YNc(2,$3,1,18,"g",1),n.YNc(3,g7,1,17,"g",1),n.qZA()()),2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",!T.isSSR),n.xp6(1),n.Q6J("ngIf",T.isSSR)}}function a8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("showGridLines",a.showGridLines)("dims",a.dims)("xScale",a.xScale)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function t5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("showGridLines",a.showGridLines)("yScale",a.yScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function r6(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("rScale",T.rScale)("xScaleType",T.xScaleType)("yScaleType",T.yScaleType)("xAxisLabel",T.xAxisLabel)("yAxisLabel",T.yAxisLabel)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function m7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,r6,2,13,"g",8),n.qZA()),2&g){const a=n.oxw();n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngForOf",a.data)("ngForTrackBy",a.trackBy)}}function l8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",9),n.NdJ("select",function(G){const ve=n.CHM(a).$implicit;return n.oxw(2).onClick(G,ve)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("rScale",T.rScale)("xScaleType",T.xScaleType)("yScaleType",T.yScaleType)("xAxisLabel",T.xAxisLabel)("yAxisLabel",T.yAxisLabel)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function v7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,l8,2,12,"g",8),n.qZA()),2&g){const a=n.oxw();n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngForOf",a.data)("ngForTrackBy",a.trackBy)}}function n5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"defs"),n._UZ(1,"g",3),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("orientation",a.barOrientation.Vertical)("name",a.gradientId)("stops",a.gradientStops)}}const Bg=function(g,c,a){return{series:g,name:c,value:a}};function Tu(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",1),n.NdJ("select",function(){const ce=n.CHM(a).$implicit;return n.oxw().onClick(ce.cell)})("activate",function(){const ce=n.CHM(a).$implicit;return n.oxw().activate.emit(ce.cell)})("deactivate",function(){const ce=n.CHM(a).$implicit;return n.oxw().deactivate.emit(ce.cell)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Q6J("x",a.x)("y",a.y)("width",a.width)("height",a.height)("fill",a.fill)("data",a.data)("gradient",T.gradient)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.tooltipText(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",n.kEZ(14,Bg,a.series,a.label,a.data))}}function s6(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",6),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function jg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function i5(g,c){if(1&g&&(n.O4$(),n._UZ(0,"rect")),2&g){const a=c.$implicit;n.uIk("x",a.x)("y",a.y)("rx",a.rx)("width",a.width)("height",a.height)("fill",a.fill)}}function Cm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"path",1),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("@animationState","active"),n.uIk("d",a.initialPath)("fill",a.fill)("stroke",a.stroke)}}function r5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"path",1),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.uIk("d",a.initialPath)("fill",a.fill)("stroke",a.stroke)}}function s5(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",4)),2&g){const a=n.oxw();n.Q6J("orientation",a.barOrientation.Vertical)("name",a.gradientId)("stops",a.gradientStops)}}function c8(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",5)),2&g){const a=n.oxw();n.ekj("active",a.isActive(a.data))("inactive",a.isInactive(a.data)),n.Q6J("data",a.data)("path",a.outerPath)("fill",a.hasGradient?a.gradientUrl:a.colors.getColor(a.data.name))("opacity",a.rangeFillOpacity)("animations",a.animations)}}function a5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",7),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateXAxisHeight(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)}}function _7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",8),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)("referenceLines",a.referenceLines)("showRefLines",a.showRefLines)("showRefLabels",a.showRefLabels)}}function Fg(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",10),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("scaleType",T.scaleType)("curve",T.curve)("rangeFillOpacity",T.rangeFillOpacity)("hasRange",T.hasRange)("animations",T.animations)}}function d8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Fg,2,11,"g",9),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Gf(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",10),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("scaleType",T.scaleType)("curve",T.curve)("rangeFillOpacity",T.rangeFillOpacity)("hasRange",T.hasRange)("animations",T.animations)}}function l5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,Gf,2,10,"g",9),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Vg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",14),n.NdJ("select",function(G){return n.CHM(a),n.oxw(2).onClick(G)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("visibleValue",T.hoveredVertical)("activeEntries",T.activeEntries)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function Ug(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",11),n.NdJ("mouseleave",function(){return n.CHM(a),n.oxw().hideCircles()}),n.TgZ(1,"g",12),n.NdJ("hover",function(G){return n.CHM(a),n.oxw().updateHoveredVertical(G)}),n.qZA(),n.YNc(2,Vg,2,9,"g",13),n.qZA()}if(2&g){const a=n.oxw();n.xp6(1),n.Q6J("dims",a.dims)("xSet",a.xSet)("xScale",a.xScale)("yScale",a.yScale)("results",a.results)("colors",a.colors)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.seriesTooltipTemplate),n.xp6(1),n.Q6J("ngForOf",a.results)}}function wm(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n._UZ(1,"g",16),n.qZA()),2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("xScale",T.timelineXScale)("yScale",T.timelineYScale)("colors",T.colors)("data",a)("scaleType",T.scaleType)("curve",T.curve)("hasRange",T.hasRange)("animations",T.animations)}}function u8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",15),n.NdJ("onDomainChange",function(G){return n.CHM(a),n.oxw().updateDomain(G)}),n.YNc(1,wm,2,8,"g",9),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("results",a.results)("view",n.WLB(10,vc,a.timelineWidth,a.height))("height",a.timelineHeight)("scheme",a.scheme)("customColors",a.customColors)("scaleType",a.scaleType)("legend",a.legend),n.uIk("transform",a.timelineTransform),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Yg(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",4)),2&g){const a=n.oxw();n.Q6J("color",a.seriesColor)("name",a.gradientId)("startOpacity",.25)("endOpacity",1)("stops",a.gradientStops)}}function Mm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",5),n.NdJ("select",function(){const ce=n.CHM(a).$implicit;return n.oxw().select.emit(ce.data)})("activate",function(){const ce=n.CHM(a).$implicit;return n.oxw().activate.emit({name:ce.data.series})})("deactivate",function(){const ce=n.CHM(a).$implicit;return n.oxw().deactivate.emit({name:ce.data.series})}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Udp("opacity",T.inactive?.2:1),n.Q6J("cx",a.cx)("cy",a.cy)("r",T.circleRadius)("fill",a.color)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.tooltipText(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)}}function b7(g,c){if(1&g&&(n.O4$(),n._UZ(0,"circle",7)),2&g){const a=c.$implicit;n.uIk("r",a)}}function c5(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,b7,1,1,"circle",6),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.radiusTicks)}}function f8(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",9)),2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("data",a)("radius",T.outerRadius)("label",a.label)("max",T.outerRadius)("value",T.showGridLines?1:T.outerRadius)("explodeSlices",!0)("animations",T.animations)("labelTrim",T.labelTrim)("labelTrimSize",T.labelTrimSize)}}function p8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,f8,1,9,"g",8),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("ngForOf",a.thetaTicks)}}function lf(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",10),n.NdJ("dimensionsChanged",function(G){return n.CHM(a),n.oxw().updateYAxisWidth(G)}),n.qZA()}if(2&g){const a=n.oxw();n.Q6J("yScale",a.yAxisScale)("dims",a.yAxisDims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting),n.uIk("transform",a.transformYAxis)}}function y7(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",11)),2&g){const a=n.oxw();n.Q6J("label",a.xAxisLabel)("offset",a.labelOffset)("orient",a.orientation.Bottom)("height",a.dims.height)("width",a.dims.width)}}function g8(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",13),n.NdJ("select",function(G){return n.CHM(a),n.oxw(2).onClick(G)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.Q6J("@animationState","active"),n.xp6(1),n.Q6J("gradient",T.gradient)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("scaleType",T.scaleType)("curve",T.curve)("rangeFillOpacity",T.rangeFillOpacity)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function x7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,g8,2,13,"g",12),n.qZA()),2&g){const a=n.oxw();n.uIk("transform",a.transformPlot),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function C7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",13),n.NdJ("select",function(G){return n.CHM(a),n.oxw(2).onClick(G)})("activate",function(G){return n.CHM(a),n.oxw(2).onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw(2).onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw(2);n.xp6(1),n.Q6J("gradient",T.gradient)("xScale",T.xScale)("yScale",T.yScale)("colors",T.colors)("data",a)("activeEntries",T.activeEntries)("scaleType",T.scaleType)("curve",T.curve)("rangeFillOpacity",T.rangeFillOpacity)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)}}function w7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,C7,2,12,"g",12),n.qZA()),2&g){const a=n.oxw();n.uIk("transform",a.transformPlot),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function Ov(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"defs"),n._UZ(1,"g",3),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("color",a.fill)("name",a.radialGradientId)("startOpacity",a.startOpacity)}}function G6(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",3)),2&g){const a=n.oxw().$implicit,T=n.oxw();n.Q6J("data",a)("radius",T.outerRadius)("color",T.color(a))("label",T.labelText(a))("labelTrim",T.trimLabels)("labelTrimSize",T.maxLabelLength)("max",T.max)("value",a.value)("explodeSlices",T.explodeSlices)("animations",T.animations)}}function Tm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g"),n.YNc(1,G6,1,10,"g",1),n.TgZ(2,"g",2),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)})("activate",function(G){return n.CHM(a),n.oxw().activate.emit(G)})("deactivate",function(G){return n.CHM(a),n.oxw().deactivate.emit(G)})("dblclick",function(G){return n.CHM(a),n.oxw().dblclick.emit(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw();n.xp6(1),n.Q6J("ngIf",T.labelVisible(a)),n.xp6(1),n.Q6J("startAngle",a.startAngle)("endAngle",a.endAngle)("innerRadius",T.innerRadius)("outerRadius",T.outerRadius)("fill",T.color(a))("value",a.data.value)("gradient",T.gradient)("data",a.data)("max",T.max)("explodeSlices",T.explodeSlices)("isActive",T.isActive(a.data))("animate",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.getTooltipTitle(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)}}function Wg(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",2),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)})("activate",function(G){return n.CHM(a),n.oxw().activate.emit(G)})("deactivate",function(G){return n.CHM(a),n.oxw().deactivate.emit(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Q6J("startAngle",a.startAngle)("endAngle",a.endAngle)("innerRadius",T.innerRadius)("outerRadius",T.outerRadius)("fill",T.color(a))("value",a.data.value)("data",a.data)("gradient",!1)("pointerEvents",a.pointerEvents)("animate",a.animate),n.uIk("class",a.class)}}function Gg(g,c){if(1&g&&(n.O4$(),n._UZ(0,"text",10)),2&g){const a=n.oxw().$implicit;n.Q6J("countTo",a.percent)("countSuffix","%")}}function v8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"text",11),n._uU(1),n.qZA()),2&g){const a=n.oxw().$implicit;n.xp6(1),n.hij(" ",a.percent.toLocaleString()," ")}}function Ka(g,c){if(1&g&&(n.O4$(),n._UZ(0,"text",12)),2&g){const a=n.oxw().$implicit,T=n.oxw();n.Q6J("countTo",a.total)("countPrefix",T.label+": "),n.uIk("y",a.outerRadius)}}function S7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"text",13),n._uU(1),n.qZA()),2&g){const a=n.oxw().$implicit,T=n.oxw();n.uIk("y",a.outerRadius),n.xp6(1),n.AsE(" ",T.label,": ",a.total.toLocaleString()," ")}}const _8=function(g){return{data:g}};function u5(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",3)(1,"g",4),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)})("activate",function(G){return n.CHM(a),n.oxw().onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw().onDeactivate(G)}),n.qZA(),n.YNc(2,Gg,1,2,"text",5),n.YNc(3,v8,2,1,"text",6),n.TgZ(4,"text",7),n._uU(5),n.qZA(),n.YNc(6,Ka,1,3,"text",8),n.YNc(7,S7,2,3,"text",9),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",a.transform),n.xp6(1),n.Q6J("colors",a.colors)("data",a.data)("innerRadius",a.innerRadius)("outerRadius",a.outerRadius)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.tooltipText(n.VKq(17,_8,a)))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data[0].data),n.xp6(1),n.Q6J("ngIf",T.animations),n.xp6(1),n.Q6J("ngIf",!T.animations),n.xp6(2),n.hij(" ",a.label," "),n.xp6(1),n.Q6J("ngIf",T.animations),n.xp6(1),n.Q6J("ngIf",!T.animations)}}const h5=["textEl"];function k7(g,c){if(1&g&&(n.O4$(),n._UZ(0,"path",7)),2&g){const a=n.oxw();n.uIk("fill",a.bandColor)("transform",a.transformBand)("d",a.bandPath)}}function q6(g,c){if(1&g&&(n.O4$(),n._UZ(0,"rect",2)),2&g){const a=c.$implicit,T=n.oxw();n.Udp("fill",T.emptyColor),n.uIk("x",a.x)("y",a.y)("width",a.width)("height",a.height)}}function Sm(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",3),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Q6J("x",a.x)("y",a.y)("width",a.width)("height",a.height)("color",a.color)("bandColor",a.bandColor)("textColor",a.textColor)("data",a.data)("label",a.label)("medianSize",T.medianSize)("valueFormatting",T.valueFormatting)("labelFormatting",T.labelFormatting)("animations",T.animations)}}function qg(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"defs"),n._UZ(1,"g",3),n.qZA()),2&g){const a=n.oxw();n.xp6(1),n.Q6J("orientation",a.orientation.Vertical)("name",a.gradientId)("stops",a.gradientStops)}}function b8(g,c){if(1&g&&n._UZ(0,"span",8),2&g){const a=n.oxw(2);n.Q6J("countTo",a.value)("valueFormatting",a.valueFormatting)}}function E4(g,c){if(1&g&&(n.TgZ(0,"span",9),n._uU(1),n.qZA()),2&g){const a=n.oxw(2);n.xp6(1),n.hij(" ",a.formattedValue," ")}}function K6(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"foreignObject",4),n.kcU(),n.TgZ(1,"p"),n._UZ(2,"span",5)(3,"br"),n.YNc(4,b8,1,2,"span",6),n.YNc(5,E4,2,1,"span",7),n.qZA()()),2&g){const a=n.oxw();n.Udp("pointer-events","none"),n.uIk("x",a.x)("y",a.y)("width",a.width)("height",a.height),n.xp6(1),n.Udp("color",a.getTextColor())("height",a.height+"px")("width",a.width+"px"),n.xp6(1),n.Q6J("innerHTML",a.formattedLabel,n.oJD),n.xp6(2),n.Q6J("ngIf",a.animations),n.xp6(1),n.Q6J("ngIf",!a.animations)}}function L7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g",1),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)}),n.qZA()}if(2&g){const a=c.$implicit,T=n.oxw();n.Q6J("data",a.data)("x",a.x)("y",a.y)("width",a.width)("height",a.height)("fill",a.fill)("label",a.label)("value",a.value)("valueFormatting",T.valueFormatting)("labelFormatting",T.labelFormatting)("gradient",T.gradient)("animations",T.animations)("tooltipDisabled",T.tooltipDisabled)("tooltipPlacement",T.placementTypes.Top)("tooltipType",T.styleTypes.tooltip)("tooltipTitle",T.tooltipTemplate?void 0:T.getTooltipText(a))("tooltipTemplate",T.tooltipTemplate)("tooltipContext",a.data)}}const b1=["valueTextEl"],Fr=["unitsTextEl"];function km(g,c){if(1&g&&(n.O4$(),n._UZ(0,"line",10)),2&g){const a=n.oxw();n.uIk("transform",a.transformLine)("stroke",a.colors.getColor(a.units))}}function Ec(g,c){if(1&g&&(n.O4$(),n._UZ(0,"line",11)),2&g){const a=n.oxw();n.uIk("transform",a.transformLine)("stroke",a.colors.getColor(a.units))}}const y8=function(){return{}};function x8(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g",2),n._UZ(1,"path"),n.qZA()),2&g){const a=c.$implicit;n.xp6(1),n.uIk("d",a.line)}}function st(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g",2)(1,"text",3),n._uU(2),n.qZA()()),2&g){const a=c.$implicit;n.xp6(1),n.Udp("text-anchor",a.textAnchor),n.uIk("transform",a.textTransform),n.xp6(1),n.hij(" ",a.text," ")}}function $g(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"g",4),n._UZ(1,"path"),n.qZA()),2&g){const a=c.$implicit;n.xp6(1),n.uIk("d",a.line)}}function D7(g,c){if(1&g){const a=n.EpF();n.O4$(),n.TgZ(0,"g")(1,"g",5),n.NdJ("select",function(G){return n.CHM(a),n.oxw().onClick(G)})("activate",function(G){return n.CHM(a),n.oxw().onActivate(G)})("deactivate",function(G){return n.CHM(a),n.oxw().onDeactivate(G)}),n.qZA()()}if(2&g){const a=c.$implicit,T=n.oxw();n.uIk("transform",T.rotation),n.xp6(1),n.Q6J("backgroundArc",a.backgroundArc)("valueArc",a.valueArc)("cornerRadius",T.cornerRadius)("colors",T.colors)("isActive",T.isActive(a.valueArc.data))("tooltipDisabled",T.tooltipDisabled)("tooltipTemplate",T.tooltipTemplate)("valueFormatting",T.valueFormatting)("animations",T.animations)}}function Z6(g,c){if(1&g&&(n.O4$(),n._UZ(0,"g",6)),2&g){const a=n.oxw();n.Q6J("bigSegments",a.bigSegments)("smallSegments",a.smallSegments)("min",a.min)("max",a.max)("radius",a.outerRadius)("angleSpan",a.angleSpan)("valueScale",a.valueScale)("startAngle",a.startAngle)("tickFormatting",a.axisTickFormatting)}}function I7(g,c){if(1&g&&(n.O4$(),n.TgZ(0,"text",7,8)(2,"tspan",9),n._uU(3),n.qZA(),n.TgZ(4,"tspan",10),n._uU(5),n.qZA()()),2&g){const a=n.oxw();n.Udp("text-anchor","middle"),n.uIk("transform",a.textTransform),n.xp6(3),n.Oqu(a.displayValue),n.xp6(2),n.Oqu(a.units)}}function A7(g,c,a){a=a||{};let T,G,ce,ve=null,Ne=0;function tt(){Ne=!1===a.leading?0:+new Date,ve=null,ce=g.apply(T,G)}return function(){const ut=+new Date;!Ne&&!1===a.leading&&(Ne=ut);const Ct=c-(ut-Ne);return T=this,G=arguments,Ct<=0?(clearTimeout(ve),ve=null,Ne=ut,ce=g.apply(T,G)):!ve&&!1!==a.trailing&&(ve=setTimeout(tt,Ct)),ce}}var bs,g;(g=bs||(bs={})).Top="top",g.Bottom="bottom",g.Left="left",g.Right="right",g.Center="center";function Lm(g,c,a){return a===bs.Top?g.top-7:a===bs.Bottom?g.top+g.height-c.height+7:a===bs.Center?g.top+g.height/2-c.height/2:void 0}function ia(g,c,a){return a===bs.Left?g.left-7:a===bs.Right?g.left+g.width-c.width+7:a===bs.Center?g.left+g.width/2-c.width/2:void 0}class D4{static calculateVerticalAlignment(c,a,T){let G=Lm(c,a,T);return G+a.height>window.innerHeight&&(G=window.innerHeight-a.height),G}static calculateVerticalCaret(c,a,T,G){let ce;G===bs.Top&&(ce=c.height/2-T.height/2+7),G===bs.Bottom&&(ce=a.height-c.height/2-T.height/2-7),G===bs.Center&&(ce=a.height/2-T.height/2);const ve=Lm(c,a,G);return ve+a.height>window.innerHeight&&(ce+=ve+a.height-window.innerHeight),ce}static calculateHorizontalAlignment(c,a,T){let G=ia(c,a,T);return G+a.width>window.innerWidth&&(G=window.innerWidth-a.width),G}static calculateHorizontalCaret(c,a,T,G){let ce;G===bs.Left&&(ce=c.width/2-T.width/2+7),G===bs.Right&&(ce=a.width-c.width/2-T.width/2-7),G===bs.Center&&(ce=a.width/2-T.width/2);const ve=ia(c,a,G);return ve+a.width>window.innerWidth&&(ce+=ve+a.width-window.innerWidth),ce}static shouldFlip(c,a,T,G){let ce=!1;return T===bs.Right&&c.left+c.width+a.width+G>window.innerWidth&&(ce=!0),T===bs.Left&&c.left-a.width-G<0&&(ce=!0),T===bs.Top&&c.top-a.height-G<0&&(ce=!0),T===bs.Bottom&&c.top+c.height+a.height+G>window.innerHeight&&(ce=!0),ce}static positionCaret(c,a,T,G,ce){let ve=0,Ne=0;return c===bs.Right?(Ne=-7,ve=D4.calculateVerticalCaret(T,a,G,ce)):c===bs.Left?(Ne=a.width,ve=D4.calculateVerticalCaret(T,a,G,ce)):c===bs.Top?(ve=a.height,Ne=D4.calculateHorizontalCaret(T,a,G,ce)):c===bs.Bottom&&(ve=-7,Ne=D4.calculateHorizontalCaret(T,a,G,ce)),{top:ve,left:Ne}}static positionContent(c,a,T,G,ce){let ve=0,Ne=0;return c===bs.Right?(Ne=T.left+T.width+G,ve=D4.calculateVerticalAlignment(T,a,ce)):c===bs.Left?(Ne=T.left-a.width-G,ve=D4.calculateVerticalAlignment(T,a,ce)):c===bs.Top?(ve=T.top-a.height-G,Ne=D4.calculateHorizontalAlignment(T,a,ce)):c===bs.Bottom&&(ve=T.top+T.height+G,Ne=D4.calculateHorizontalAlignment(T,a,ce)),{top:ve,left:Ne}}static determinePlacement(c,a,T,G){if(D4.shouldFlip(T,a,c,G)){if(c===bs.Right)return bs.Left;if(c===bs.Left)return bs.Right;if(c===bs.Top)return bs.Bottom;if(c===bs.Bottom)return bs.Top}return c}}class qf{constructor(c,a,T){this.element=c,this.renderer=a,this.platformId=T}get cssClasses(){let c="ngx-charts-tooltip-content";return c+=` position-${this.placement}`,c+=` type-${this.type}`,c+=` ${this.cssClass}`,c}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,i.NF)(this.platformId))return;const c=this.element.nativeElement,a=this.host.nativeElement.getBoundingClientRect();if(!a.height&&!a.width)return;const T=c.getBoundingClientRect();this.checkFlip(a,T),this.positionContent(c,a,T),this.showCaret&&this.positionCaret(a,T),setTimeout(()=>this.renderer.addClass(c,"animate"),1)}positionContent(c,a,T){const{top:G,left:ce}=D4.positionContent(this.placement,T,a,this.spacing,this.alignment);this.renderer.setStyle(c,"top",`${G}px`),this.renderer.setStyle(c,"left",`${ce}px`)}positionCaret(c,a){const T=this.caretElm.nativeElement,G=T.getBoundingClientRect(),{top:ce,left:ve}=D4.positionCaret(this.placement,a,c,G,this.alignment);this.renderer.setStyle(T,"top",`${ce}px`),this.renderer.setStyle(T,"left",`${ve}px`)}checkFlip(c,a){this.placement=D4.determinePlacement(this.placement,a,c,this.spacing)}onWindowResize(){this.position()}}qf.\u0275fac=function(c){return new(c||qf)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.Lbi))},qf.\u0275cmp=n.Xpm({type:qf,selectors:[["ngx-tooltip-content"]],viewQuery:function(c,a){if(1&c&&n.Gf(tf,5),2&c){let T;n.iGM(T=n.CRH())&&(a.caretElm=T.first)}},hostVars:2,hostBindings:function(c,a){1&c&&n.NdJ("resize",function(){return a.onWindowResize()},!1,n.Jf7),2&c&&n.Tol(a.cssClasses)},inputs:{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},decls:6,vars:6,consts:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(c,a){1&c&&(n.TgZ(0,"div"),n._UZ(1,"span",0,1),n.TgZ(3,"div",2),n.YNc(4,V,2,4,"span",3),n.YNc(5,ee,1,1,"span",4),n.qZA()()),2&c&&(n.xp6(1),n.Gre("tooltip-caret position-",a.placement,""),n.Q6J("hidden",!a.showCaret),n.xp6(3),n.Q6J("ngIf",!a.title),n.xp6(1),n.Q6J("ngIf",a.title))},directives:[i.O5,i.tP],styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{transform:translate(10px)}.ngx-charts-tooltip-content.position-left{transform:translate(-10px)}.ngx-charts-tooltip-content.position-top{transform:translateY(-10px)}.ngx-charts-tooltip-content.position-bottom{transform:translateY(10px)}.ngx-charts-tooltip-content.animate{opacity:1;transition:opacity .3s,transform .3s;transform:translate(0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}\n"],encapsulation:2}),function h(g,c,a,T){var ve,G=arguments.length,ce=G<3?c:null===T?T=Object.getOwnPropertyDescriptor(c,a):T;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)ce=Reflect.decorate(g,c,a,T);else for(var Ne=g.length-1;Ne>=0;Ne--)(ve=g[Ne])&&(ce=(G<3?ve(ce):G>3?ve(c,a,ce):ve(c,a))||ce);return G>3&&ce&&Object.defineProperty(c,a,ce),ce}([function O7(g,c){return function(T,G,ce){return{configurable:!0,enumerable:ce.enumerable,get:function(){return Object.defineProperty(this,G,{configurable:!0,enumerable:ce.enumerable,value:A7(ce.value,g,c)}),this[G]}}}}(100)],qf.prototype,"onWindowResize",null);class I4{constructor(c,a,T){this.applicationRef=c,this.componentFactoryResolver=a,this.injector=T}static setGlobalRootViewContainer(c){I4.globalRootViewContainer=c}getRootViewContainer(){if(this._container)return this._container;if(I4.globalRootViewContainer)return I4.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(c){this._container=c}getComponentRootNode(c){return function Cp(g){return g.element}(c)?c.element.nativeElement:c.hostView&&c.hostView.rootNodes.length>0?c.hostView.rootNodes[0]:c.location.nativeElement}getRootViewContainerNode(c){return this.getComponentRootNode(c)}projectComponentBindings(c,a){if(a){if(void 0!==a.inputs){const T=Object.getOwnPropertyNames(a.inputs);for(const G of T)c.instance[G]=a.inputs[G]}if(void 0!==a.outputs){const T=Object.getOwnPropertyNames(a.outputs);for(const G of T)c.instance[G]=a.outputs[G]}}return c}appendComponent(c,a={},T){T||(T=this.getRootViewContainer());const G=this.getComponentRootNode(T),ce=new si(G,this.componentFactoryResolver,this.applicationRef,this.injector),ve=new hn(c),Ne=ce.attach(ve);return this.projectComponentBindings(Ne,a),Ne}}I4.globalRootViewContainer=null,I4.\u0275fac=function(c){return new(c||I4)(n.LFG(n.z2F),n.LFG(n._Vd),n.LFG(n.zs3))},I4.\u0275prov=n.Yz7({token:I4,factory:I4.\u0275fac});class Su extends class ws{constructor(c){this.injectionService=c,this.defaults={},this.components=new Map}getByType(c=this.type){return this.components.get(c)}create(c){return this.createByType(this.type,c)}createByType(c,a){a=this.assignDefaults(a);const T=this.injectComponent(c,a);return this.register(c,T),T}destroy(c){const a=this.components.get(c.componentType);if(a&&a.length){const T=a.indexOf(c);T>-1&&(a[T].destroy(),a.splice(T,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(c){const a=this.components.get(c);if(a&&a.length){let T=a.length-1;for(;T>=0;)this.destroy(a[T--])}}injectComponent(c,a){return this.injectionService.appendComponent(c,a)}assignDefaults(c){const a=Object.assign({},this.defaults.inputs),T=Object.assign({},this.defaults.outputs);return!c.inputs&&!c.outputs&&(c={inputs:c}),a&&(c.inputs=Object.assign(Object.assign({},a),c.inputs)),T&&(c.outputs=Object.assign(Object.assign({},T),c.outputs)),c}register(c,a){this.components.has(c)||this.components.set(c,[]),this.components.get(c).push(a)}}{constructor(c){super(c),this.type=qf}}var bc,A4,zn,G2,Tl,hl,T3;Su.\u0275fac=function(c){return new(c||Su)(n.LFG(I4))},Su.\u0275prov=n.Yz7({token:Su,factory:Su.\u0275fac}),function(g){g.Right="right",g.Below="below"}(bc||(bc={})),function(g){g.ScaleLegend="scaleLegend",g.Legend="legend"}(A4||(A4={})),function(g){g.Time="time",g.Linear="linear",g.Ordinal="ordinal",g.Quantile="quantile"}(zn||(zn={}));class Qs{constructor(){this.horizontal=!1}ngOnChanges(c){const a=this.gradientString(this.colors.range(),this.colors.domain()),T=this.horizontal?"right":"bottom";this.gradient=`linear-gradient(to ${T}, ${a})`}gradientString(c,a){a.push(1);const T=[];return c.reverse().forEach((G,ce)=>{T.push(`${G} ${Math.round(100*a[ce])}%`)}),T.join(", ")}}function Xd(g){return g=g instanceof Date?g.toLocaleDateString():g.toLocaleString()}function Fc(g){return g.toLocaleString().replace(/[&'`"<>]/g,c=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[c]))}Qs.\u0275fac=function(c){return new(c||Qs)},Qs.\u0275cmp=n.Xpm({type:Qs,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[n.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(c,a){1&c&&(n.TgZ(0,"div",0)(1,"div",1)(2,"span"),n._uU(3),n.qZA()(),n._UZ(4,"div",2),n.TgZ(5,"div",1)(6,"span"),n._uU(7),n.qZA()()()),2&c&&(n.Udp("height",a.horizontal?void 0:a.height,"px")("width",a.width,"px"),n.ekj("horizontal-legend",a.horizontal),n.xp6(3),n.Oqu(a.valueRange[1].toLocaleString()),n.xp6(1),n.Udp("background",a.gradient),n.xp6(3),n.Oqu(a.valueRange[0].toLocaleString()))},styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{text-align:center;display:flex;flex-direction:column}.chart-legend .scale-legend-wrap{display:inline-block;flex:1;width:30px;border-radius:5px;margin:0 auto}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{width:auto;height:30px;margin:0 16px}\n"],encapsulation:2,changeDetection:0});class wp{constructor(){this.isActive=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.toggle=new n.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}wp.\u0275fac=function(c){return new(c||wp)},wp.\u0275cmp=n.Xpm({type:wp,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(c,a){1&c&&n.NdJ("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(){return a.onMouseLeave()})},inputs:{color:"color",label:"label",formattedLabel:"formattedLabel",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",toggle:"toggle"},decls:4,vars:6,consts:[["tabindex","-1",3,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(c,a){1&c&&(n.TgZ(0,"span",0),n.NdJ("click",function(){return a.select.emit(a.formattedLabel)}),n.TgZ(1,"span",1),n.NdJ("click",function(){return a.toggle.emit(a.formattedLabel)}),n.qZA(),n.TgZ(2,"span",2),n._uU(3),n.qZA()()),2&c&&(n.ekj("active",a.isActive),n.Q6J("title",a.formattedLabel),n.xp6(1),n.Udp("background-color",a.color),n.xp6(2),n.hij(" ",a.trimmedLabel," "))},encapsulation:2,changeDetection:0});class $f{constructor(c){this.cd=c,this.horizontal=!1,this.labelClick=new n.vpe,this.labelActivate=new n.vpe,this.labelDeactivate=new n.vpe,this.legendEntries=[]}ngOnChanges(c){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const c=[];for(const a of this.data){const T=Xd(a);-1===c.findIndex(ce=>ce.label===T)&&c.push({label:a,formattedLabel:T,color:this.colors.getColor(a)})}return c}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.label===T.name)}activate(c){this.labelActivate.emit(c)}deactivate(c){this.labelDeactivate.emit(c)}trackBy(c,a){return a.label}}$f.\u0275fac=function(c){return new(c||$f)(n.Y36(n.sBO))},$f.\u0275cmp=n.Xpm({type:$f,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[n.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"div"),n.YNc(1,Ce,3,1,"header",0),n.TgZ(2,"div",1)(3,"ul",2),n.YNc(4,Ye,2,4,"li",3),n.qZA()()()),2&c&&(n.Udp("width",a.width,"px"),n.xp6(1),n.Q6J("ngIf",(null==a.title?null:a.title.length)>0),n.xp6(2),n.Udp("max-height",a.height-45,"px"),n.ekj("horizontal-legend",a.horizontal),n.xp6(1),n.Q6J("ngForOf",a.legendEntries)("ngForTrackBy",a.trackBy))},directives:[wp,i.O5,i.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0});class zl{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new n.vpe,this.legendLabelActivate=new n.vpe,this.legendLabelDeactivate=new n.vpe,this.LegendPosition=bc,this.LegendType=A4}ngOnChanges(c){this.update()}update(){let c=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===bc.Right)&&(c=this.legendType===A4.ScaleLegend?1:2));const a=12-c;this.chartWidth=Math.floor(this.view[0]*a/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==bc.Right?this.chartWidth:Math.floor(this.view[0]*c/12)}getLegendType(){return this.legendOptions.scaleType===zn.Linear?A4.ScaleLegend:A4.Legend}}zl.\u0275fac=function(c){return new(c||zl)},zl.\u0275cmp=n.Xpm({type:zl,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[n._Bn([Su]),n.TTD],ngContentSelectors:en,decls:5,vars:8,consts:[[1,"ngx-charts-outer"],[1,"ngx-charts"],["class","chart-legend",3,"horizontal","valueRange","colors","height","width",4,"ngIf"],["class","chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate",4,"ngIf"],[1,"chart-legend",3,"horizontal","valueRange","colors","height","width"],[1,"chart-legend",3,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(c,a){1&c&&(n.F$t(),n.TgZ(0,"div",0),n.O4$(),n.TgZ(1,"svg",1),n.Hsn(2),n.qZA(),n.YNc(3,mt,1,5,"ngx-charts-scale-legend",2),n.YNc(4,Rt,1,7,"ngx-charts-legend",3),n.qZA()),2&c&&(n.Udp("width",a.view[0],"px")("height",a.view[1],"px"),n.xp6(1),n.uIk("width",a.chartWidth)("height",a.view[1]),n.xp6(2),n.Q6J("ngIf",a.showLegend&&a.legendType===a.LegendType.ScaleLegend),n.xp6(1),n.Q6J("ngIf",a.showLegend&&a.legendType===a.LegendType.Legend))},directives:[Qs,$f,i.O5],encapsulation:2,changeDetection:0});class vh{constructor(c,a){this.element=c,this.zone=a,this.visible=new n.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const c=()=>{if(!this.element)return;const{offsetHeight:a,offsetWidth:T}=this.element.nativeElement;a&&T?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>c(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>c())})}}function Kg(g){return"[object Date]"===toString.call(g)}function C8(g){return"number"==typeof g}vh.\u0275fac=function(c){return new(c||vh)(n.Y36(n.SBq),n.Y36(n.R0b))},vh.\u0275dir=n.lG2({type:vh,selectors:[["visibility-observer"]],outputs:{visible:"visible"}});class Zi{constructor(c,a,T,G){this.chartElement=c,this.zone=a,this.cd=T,this.platformId=G,this.scheme="cool",this.schemeType=zn.Ordinal,this.animations=!0,this.select=new n.vpe}ngOnInit(){(0,i.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new vh(this.chartElement,this.zone),this.visibilityObserver.visible.subscribe(this.update.bind(this))}ngOnDestroy(){this.unbindEvents(),this.visibilityObserver&&(this.visibilityObserver.visible.unsubscribe(),this.visibilityObserver.destroy())}ngOnChanges(c){this.update()}update(){if(this.results?this.results=this.cloneData(this.results):this.results=[],this.view)this.width=this.view[0],this.height=this.view[1];else{const c=this.getContainerDims();c&&(this.width=c.width,this.height=c.height)}this.width||(this.width=600),this.height||(this.height=400),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this.cd&&this.cd.markForCheck()}getContainerDims(){let c,a;const T=this.chartElement.nativeElement;if((0,i.NF)(this.platformId)&&null!==T.parentNode){const G=T.parentNode.getBoundingClientRect();c=G.width,a=G.height}return c&&a?{width:c,height:a}:null}formatDates(){for(let c=0;c<this.results.length;c++){const a=this.results[c];if(a.label=a.name,Kg(a.label)&&(a.label=a.label.toLocaleDateString()),a.series)for(let T=0;T<a.series.length;T++){const G=a.series[T];G.label=G.name,Kg(G.label)&&(G.label=G.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,i.NF)(this.platformId))return;const a=(0,Mt.R)(window,"resize").pipe((0,pn.b)(200)).subscribe(T=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=a}cloneData(c){const a=[];for(const T of c){const G={name:T.name};if(void 0!==T.value&&(G.value=T.value),void 0!==T.series){G.series=[];for(const ce of T.series){const ve=Object.assign({},ce);G.series.push(ve)}}void 0!==T.extra&&(G.extra=JSON.parse(JSON.stringify(T.extra))),a.push(G)}return a}}Zi.\u0275fac=function(c){return new(c||Zi)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(n.Lbi))},Zi.\u0275cmp=n.Xpm({type:Zi,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[n.TTD],decls:1,vars:0,template:function(c,a){1&c&&n._UZ(0,"div")},encapsulation:2}),function(g){g.Top="top",g.Bottom="bottom",g.Left="left",g.Right="right"}(G2||(G2={}));class q2{constructor(c){this.textHeight=25,this.margin=5,this.element=c.nativeElement}ngOnChanges(c){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case G2.Top:case G2.Bottom:this.y=this.offset,this.x=this.width/2;break;case G2.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case G2.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}function Mp(g,c=16){return"string"!=typeof g?"number"==typeof g?g+"":"":(g=g.trim()).length<=c?g:`${g.slice(0,c)}...`}function l6(g,c){if(g.length>c){const a=[],T=Math.floor(g.length/c);for(let G=0;G<g.length;G++)G%T==0&&a.push(g[G]);g=a}return g}q2.\u0275fac=function(c){return new(c||q2)(n.Y36(n.SBq))},q2.\u0275cmp=n.Xpm({type:q2,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[n.TTD],attrs:["ngx-charts-axis-label",""],decls:2,vars:6,template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"text"),n._uU(1),n.qZA()),2&c&&(n.uIk("stroke-width",a.strokeWidth)("x",a.x)("y",a.y)("text-anchor",a.textAnchor)("transform",a.transform),n.xp6(1),n.hij(" ",a.label," "))},encapsulation:2,changeDetection:0}),function(g){g.Start="start",g.Middle="middle",g.End="end"}(Tl||(Tl={}));class Kf{constructor(c){this.platformId=c,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new n.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Tl.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(c){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,i.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const c=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);c!==this.height&&(this.height=c,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const c=this.scale;this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:c.tickFormat?this.tickFormat=c.tickFormat.apply(c,this.tickArguments):this.tickFormat=function(T){return"Date"===T.constructor.name?T.toLocaleDateString():T.toLocaleString()};const a=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(T){return this.scale(T)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",a&&0!==a?(this.textTransform=`rotate(${a})`,this.textAnchor=Tl.End,this.verticalSpacing=10):this.textAnchor=Tl.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(c){let a=0;this.maxTicksLength=0;for(let tt=0;tt<c.length;tt++){const ut=this.tickFormat(c[tt]).toString();let Ct=ut.length;this.trimTicks&&(Ct=this.tickTrim(ut).length),Ct>this.maxTicksLength&&(this.maxTicksLength=Ct)}const ce=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let ve=ce;const Ne=Math.floor(this.width/c.length);for(;ve>Ne&&a>-90;)a-=30,ve=Math.cos(a*(Math.PI/180))*ce;return this.approxHeight=Math.max(Math.abs(Math.sin(a*(Math.PI/180))*ce),10),a}getTicks(){let c;const a=this.getMaxTicks(20),T=this.getMaxTicks(100);return this.tickValues?c=this.tickValues:this.scale.ticks?c=this.scale.ticks.apply(this.scale,[T]):(c=this.scale.domain(),c=l6(c,a)),c}getMaxTicks(c){return Math.floor(this.width/c)}tickTransform(c){return"translate("+this.adjustedScale(c)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(c){return this.trimTicks?Mp(c,this.maxTickLength):c}}Kf.\u0275fac=function(c){return new(c||Kf)(n.Y36(n.Lbi))},Kf.\u0275cmp=n.Xpm({type:Kf,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(c,a){if(1&c&&n.Gf(Fn,5),2&c){let T;n.iGM(T=n.CRH())&&(a.ticksElement=T.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[n.TTD],attrs:["ngx-charts-x-axis-ticks",""],decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",null,0),n.YNc(2,Mi,5,7,"g",1),n.qZA(),n.YNc(3,vr,2,2,"g",2)),2&c&&(n.xp6(2),n.Q6J("ngForOf",a.ticks),n.xp6(1),n.Q6J("ngForOf",a.ticks))},directives:[i.sg,i.O5],encapsulation:2,changeDetection:0});class C2{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=G2.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new n.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=G2}ngOnChanges(c){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,void 0!==this.xAxisTickCount&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:c}){const a=c+25+5;a!==this.labelOffset&&(this.labelOffset=a,setTimeout(()=>{this.dimensionsChanged.emit({height:c})},0))}}function _h(g,c,a,T,G,[ce,ve,Ne,tt]){let ut="";return ut=`M${[g+G,c]}`,ut+="h"+((a=0===(a=Math.floor(a))?1:a)-2*G),ut+=ve?`a${[G,G]} 0 0 1 ${[G,G]}`:`h${G}v${G}`,ut+="v"+((T=0===(T=Math.floor(T))?1:T)-2*G),ut+=tt?`a${[G,G]} 0 0 1 ${[-G,G]}`:`v${G}h${-G}`,ut+="h"+(2*G-a),ut+=Ne?`a${[G,G]} 0 0 1 ${[-G,-G]}`:`h${-G}v${-G}`,ut+="v"+(2*G-T),ut+=ce?`a${[G,G]} 0 0 1 ${[G,-G]}`:`v${-G}h${G}`,ut+="z",ut}C2.\u0275fac=function(c){return new(c||C2)},C2.\u0275cmp=n.Xpm({type:C2,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(c,a){if(1&c&&n.Gf(Kf,5),2&c){let T;n.iGM(T=n.CRH())&&(a.ticksComponent=T.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[n.TTD],attrs:["ngx-charts-x-axis",""],decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,b,1,12,"g",0),n.YNc(2,j,1,5,"g",1),n.qZA()),2&c&&(n.uIk("class",a.xAxisClassName)("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xScale),n.xp6(1),n.Q6J("ngIf",a.showLabel))},directives:[Kf,q2,i.O5],encapsulation:2,changeDetection:0});class Tp{constructor(c){this.platformId=c,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new n.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Tl.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=G2}ngOnChanges(c){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,i.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const c=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);c!==this.width&&(this.width=c,this.dimensionsChanged.emit({width:c}),setTimeout(()=>this.updateDims()))}update(){const c=this.scale,a=this.orient===G2.Top||this.orient===G2.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormatting?this.tickFormat=this.tickFormatting:c.tickFormat?this.tickFormat=c.tickFormat.apply(c,this.tickArguments):this.tickFormat=function(T){return"Date"===T.constructor.name?T.toLocaleDateString():T.toLocaleString()},this.adjustedScale=c.bandwidth?function(T){return c(T)+.5*c.bandwidth()}:c,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case G2.Top:case G2.Bottom:this.transform=function(T){return"translate("+this.adjustedScale(T)+",0)"},this.textAnchor=Tl.Middle,this.y2=this.innerTickSize*a,this.y1=this.tickSpacing*a,this.dy=a<0?"0em":".71em";break;case G2.Left:this.transform=function(T){return"translate(0,"+this.adjustedScale(T)+")"},this.textAnchor=Tl.End,this.x2=this.innerTickSize*-a,this.x1=this.tickSpacing*-a,this.dy=".32em";break;case G2.Right:this.transform=function(T){return"translate(0,"+this.adjustedScale(T)+")"},this.textAnchor=Tl.Start,this.x2=this.innerTickSize*-a,this.x1=this.tickSpacing*-a,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(c=>c.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(c=>c.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=_h(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let c;const a=this.getMaxTicks(20),T=this.getMaxTicks(50);return this.tickValues?c=this.tickValues:this.scale.ticks?c=this.scale.ticks.apply(this.scale,[T]):(c=this.scale.domain(),c=l6(c,a)),c}getMaxTicks(c){return Math.floor(this.height/c)}tickTransform(c){return`translate(${this.adjustedScale(c)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(c){return this.trimTicks?Mp(c,this.maxTickLength):c}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(T=>this.tickTrim(this.tickFormat(T)).length))}}Tp.\u0275fac=function(c){return new(c||Tp)(n.Y36(n.Lbi))},Tp.\u0275cmp=n.Xpm({type:Tp,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(c,a){if(1&c&&n.Gf(Fn,5),2&c){let T;n.iGM(T=n.CRH())&&(a.ticksElement=T.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[n.TTD],attrs:["ngx-charts-y-axis-ticks",""],decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",null,0),n.YNc(2,fe,5,9,"g",1),n.qZA(),n.YNc(3,ue,1,2,"path",2),n.YNc(4,ei,2,2,"g",3),n.YNc(5,mo,2,1,"g",3)),2&c&&(n.xp6(2),n.Q6J("ngForOf",a.ticks),n.xp6(1),n.Q6J("ngIf",a.referenceLineLength>1&&a.refMax&&a.refMin&&a.showRefLines),n.xp6(1),n.Q6J("ngForOf",a.ticks),n.xp6(1),n.Q6J("ngForOf",a.referenceLines))},directives:[i.sg,i.O5],encapsulation:2,changeDetection:0});class sa{constructor(){this.showGridLines=!1,this.yOrient=G2.Left,this.yAxisOffset=0,this.dimensionsChanged=new n.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(c){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===G2.Right?(this.labelOffset=65,this.transform=`translate(${this.offset+this.dims.width} , 0)`):this.transform=`translate(${this.offset} , 0)`,void 0!==this.yAxisTickCount&&(this.tickArguments=[this.yAxisTickCount])}emitTicksWidth({width:c}){c!==this.labelOffset&&this.yOrient===G2.Right?(this.labelOffset=c+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:c})},0)):c!==this.labelOffset&&(this.labelOffset=c,setTimeout(()=>{this.dimensionsChanged.emit({width:c})},0))}}sa.\u0275fac=function(c){return new(c||sa)},sa.\u0275cmp=n.Xpm({type:sa,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(c,a){if(1&c&&n.Gf(Tp,5),2&c){let T;n.iGM(T=n.CRH())&&(a.ticksComponent=T.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[n.TTD],attrs:["ngx-charts-y-axis",""],decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,jc,1,14,"g",0),n.YNc(2,wd,1,5,"g",1),n.qZA()),2&c&&(n.uIk("class",a.yAxisClassName)("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.yScale),n.xp6(1),n.Q6J("ngIf",a.showLabel))},directives:[Tp,q2,i.O5],encapsulation:2,changeDetection:0});class bh{}bh.\u0275fac=function(c){return new(c||bh)},bh.\u0275mod=n.oAB({type:bh,declarations:[q2,C2,Kf,sa,Tp],imports:[i.ez],exports:[q2,C2,Kf,sa,Tp]}),bh.\u0275inj=n.cJS({imports:[[i.ez]]}),function(g){g.popover="popover",g.tooltip="tooltip"}(hl||(hl={})),function(g){g[g.all="all"]="all",g[g.focus="focus"]="focus",g[g.mouseover="mouseover"]="mouseover"}(T3||(T3={}));class o1{constructor(c,a,T){this.tooltipService=c,this.viewContainerRef=a,this.renderer=T,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=bs.Top,this.tooltipAlignment=bs.Center,this.tooltipType=hl.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=T3.all,this.tooltipImmediateExit=!1,this.show=new n.vpe,this.hide=new n.vpe}get listensForFocus(){return this.tooltipShowEvent===T3.all||this.tooltipShowEvent===T3.focus}get listensForHover(){return this.tooltipShowEvent===T3.all||this.tooltipShowEvent===T3.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(c){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(c))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(c){if(this.component||this.tooltipDisabled)return;const a=c?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const T=this.createBoundOptions();this.component=this.tooltipService.create(T),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},a)}addHideListeners(c){this.mouseEnterContentEvent=this.renderer.listen(c,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(c,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",a=>{c.contains(a.target)||this.hideTooltip()}))}hideTooltip(c=!1){if(!this.component)return;const a=()=>{this.mouseLeaveContentEvent&&this.mouseLeaveContentEvent(),this.mouseEnterContentEvent&&this.mouseEnterContentEvent(),this.documentClickEvent&&this.documentClickEvent(),this.hide.emit(!0),this.tooltipService.destroy(this.component),this.component=void 0};clearTimeout(this.timeout),c?a():this.timeout=setTimeout(a,this.tooltipHideTimeout)}createBoundOptions(){return{title:this.tooltipTitle,template:this.tooltipTemplate,host:this.viewContainerRef.element,placement:this.tooltipPlacement,alignment:this.tooltipAlignment,type:this.tooltipType,showCaret:this.tooltipShowCaret,cssClass:this.tooltipCssClass,spacing:this.tooltipSpacing,context:this.tooltipContext}}}o1.\u0275fac=function(c){return new(c||o1)(n.Y36(Su),n.Y36(n.s_b),n.Y36(n.Qsj))},o1.\u0275dir=n.lG2({type:o1,selectors:[["","ngx-tooltip",""]],hostBindings:function(c,a){1&c&&n.NdJ("focusin",function(){return a.onFocus()})("blur",function(){return a.onBlur()})("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(G){return a.onMouseLeave(G.target)})("click",function(){return a.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}});class Md{}Md.\u0275fac=function(c){return new(c||Md)},Md.\u0275mod=n.oAB({type:Md,declarations:[qf,o1],imports:[i.ez],exports:[qf,o1]}),Md.\u0275inj=n.cJS({providers:[I4,Su],imports:[[i.ez]]});const X6={};function j1(){let g=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return g=`a${g}`,X6[g]?j1():(X6[g]=!0,g)}var Gl,d0,O4;!function(g){g.Vertical="vertical",g.Horizontal="horizontal"}(Gl||(Gl={}));class F1{constructor(){this.orientation=Gl.Vertical}ngOnChanges(c){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Gl.Horizontal?this.x2="100%":this.orientation===Gl.Vertical&&(this.y1="100%")}}F1.\u0275fac=function(c){return new(c||F1)},F1.\u0275cmp=n.Xpm({type:F1,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[n.TTD],attrs:["ngx-charts-svg-linear-gradient",""],decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"linearGradient",0),n.YNc(1,L4,1,5,"stop",1),n.qZA()),2&c&&(n.Q6J("id",a.name),n.uIk("x1",a.x1)("y1",a.y1)("x2",a.x2)("y2",a.y2),n.xp6(1),n.Q6J("ngForOf",a.stops))},directives:[i.sg],encapsulation:2,changeDetection:0});class df{constructor(){this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}ngOnChanges(c){this.classNames=Array.isArray(this.classNames)?this.classNames.join(" "):"",this.classNames+="circle"}}df.\u0275fac=function(c){return new(c||df)},df.\u0275cmp=n.Xpm({type:df,selectors:[["g","ngx-charts-circle",""]],hostBindings:function(c,a){1&c&&n.NdJ("click",function(){return a.onClick()})("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(){return a.onMouseLeave()})},inputs:{cx:"cx",cy:"cy",r:"r",fill:"fill",stroke:"stroke",data:"data",classNames:"classNames",circleOpacity:"circleOpacity",pointerEvents:"pointerEvents"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-circle",""],decls:1,vars:8,template:function(c,a){1&c&&(n.O4$(),n._UZ(0,"circle")),2&c&&n.uIk("cx",a.cx)("cy",a.cy)("r",a.r)("fill",a.fill)("stroke",a.stroke)("opacity",a.circleOpacity)("class",a.classNames)("pointer-events",a.pointerEvents)},encapsulation:2,changeDetection:0}),function(g){g.Standard="standard",g.Stacked="stacked"}(d0||(d0={}));class qi{constructor(c){this.platformId=c,this.type=d0.Standard,this.tooltipDisabled=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.barVisible=!1,this.barOrientation=Gl,this.placementTypes=bs,this.styleTypes=hl,this.isSSR=!1}ngOnInit(){this.gradientId="grad"+j1().toString(),this.gradientFill=`url(#${this.gradientId})`,(0,i.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(){this.update()}update(){this.circle=this.getActiveCircle()}getActiveCircle(){const c=this.data.series.findIndex(a=>{const T=a.name;return T&&this.visibleValue&&T.toString()===this.visibleValue.toString()&&void 0!==a.value});if(-1!==c)return this.mapDataPointToCircle(this.data.series[c],c)}mapDataPointToCircle(c,a){const T=this.data.name,G=c.value,ce=c.name,ve=Xd(ce);let Ne;Ne=this.scaleType===zn.Time?this.xScale(ce):this.scaleType===zn.Linear?this.xScale(Number(ce)):this.xScale(ce);const tt=this.yScale(this.type===d0.Standard?G:c.d1),Ct=this.yScale.range()[0]-tt;let At;At=this.colors.scaleType===zn.Linear?this.type===d0.Standard?this.colors.getColor(G):this.colors.getColor(c.d1):this.colors.getColor(T);return{classNames:[`circle-data-${a}`],value:G,label:ce,data:Object.assign({},c,{series:T,value:G,name:ce}),cx:Ne,cy:tt,radius:5,height:Ct,tooltipLabel:ve,color:At,opacity:1,seriesName:T,gradientStops:this.getGradientStops(At),min:c.min,max:c.max}}getTooltipText({tooltipLabel:c,value:a,seriesName:T,min:G,max:ce}){return`\n      <span class="tooltip-label">${Fc(T)} \u2022 ${Fc(c)}</span>\n      <span class="tooltip-val">${a.toLocaleString()}${this.getTooltipMinMaxText(G,ce)}</span>\n    `}getTooltipMinMaxText(c,a){if(void 0!==c||void 0!==a){let T=" (";return void 0!==c?(void 0===a&&(T+="\u2265"),T+=c.toLocaleString(),void 0!==a&&(T+=" - ")):void 0!==a&&(T+="\u2264"),void 0!==a&&(T+=a.toLocaleString()),T+=")",T}return""}getGradientStops(c){return[{offset:0,color:c,opacity:.2},{offset:100,color:c,opacity:1}]}onClick(c){this.select.emit(c)}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name)}activateCircle(){this.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(){this.barVisible=!1,this.circle.opacity=0,this.deactivate.emit({name:this.data.name})}}qi.\u0275fac=function(c){return new(c||qi)(n.Y36(n.Lbi))},qi.\u0275cmp=n.Xpm({type:qi,selectors:[["g","ngx-charts-circle-series",""]],inputs:{data:"data",type:"type",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",visibleValue:"visibleValue",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-circle-series",""],decls:1,vars:1,consts:[[4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["class","tooltip-bar",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],[1,"tooltip-bar"]],template:function(c,a){1&c&&n.YNc(0,Vf,6,22,"g",0),2&c&&n.Q6J("ngIf",a.circle)},directives:[F1,df,i.O5,o1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":enter",[(0,an.oB)({opacity:0}),(0,an.jt)(250,(0,an.oB)({opacity:1}))])])]},changeDetection:0});class uf{}uf.\u0275fac=function(c){return new(c||uf)},uf.\u0275cmp=n.Xpm({type:uf,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:["ngx-charts-grid-panel",""],decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(c,a){1&c&&(n.O4$(),n._UZ(0,"rect",0)),2&c&&n.uIk("height",a.height)("width",a.width)("x",a.x)("y",a.y)},encapsulation:2,changeDetection:0}),function(g){g.Odd="odd",g.Even="even"}(O4||(O4={}));class u0{ngOnChanges(c){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(c=>{let a,T,G,ce,ve,Ne=O4.Odd;if(this.orient===Gl.Vertical){const tt=this.xScale(c.name);Number.parseInt((tt/this.xScale.step()).toString(),10)%2==1&&(Ne=O4.Even),a=this.xScale.bandwidth()*this.xScale.paddingInner(),T=this.xScale.bandwidth()+a,G=this.dims.height,ce=this.xScale(c.name)-a/2,ve=0}else if(this.orient===Gl.Horizontal){const tt=this.yScale(c.name);Number.parseInt((tt/this.yScale.step()).toString(),10)%2==1&&(Ne=O4.Even),a=this.yScale.bandwidth()*this.yScale.paddingInner(),T=this.dims.width,G=this.yScale.bandwidth()+a,ce=0,ve=this.yScale(c.name)-a/2}return{name:c.name,class:Ne,height:G,width:T,x:ce,y:ve}})}}u0.\u0275fac=function(c){return new(c||u0)},u0.\u0275cmp=n.Xpm({type:u0,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[n.TTD],attrs:["ngx-charts-grid-panel-series",""],decls:1,vars:1,consts:[["ngx-charts-grid-panel","",3,"height","width","x","y","grid-panel","odd","even",4,"ngFor","ngForOf"],["ngx-charts-grid-panel","",3,"height","width","x","y"]],template:function(c,a){1&c&&n.YNc(0,F6,1,10,"g",0),2&c&&n.Q6J("ngForOf",a.gridPanels)},directives:[uf,i.sg],encapsulation:2,changeDetection:0});class Sp{constructor(){this.endOpacity=1,this.cx=0,this.cy=0}get stops(){return this.stopsInput||this.stopsDefault}set stops(c){this.stopsInput=c}ngOnChanges(c){this.r="30%",("color"in c||"startOpacity"in c||"endOpacity"in c)&&(this.stopsDefault=[{offset:0,color:this.color,opacity:this.startOpacity},{offset:100,color:this.color,opacity:this.endOpacity}])}}Sp.\u0275fac=function(c){return new(c||Sp)},Sp.\u0275cmp=n.Xpm({type:Sp,selectors:[["g","ngx-charts-svg-radial-gradient",""]],inputs:{color:"color",name:"name",startOpacity:"startOpacity",endOpacity:"endOpacity",cx:"cx",cy:"cy",stops:"stops"},features:[n.TTD],attrs:["ngx-charts-svg-radial-gradient",""],decls:2,vars:5,consts:[["gradientUnits","userSpaceOnUse",3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"radialGradient",0),n.YNc(1,Z8,1,5,"stop",1),n.qZA()),2&c&&(n.Q6J("id",a.name),n.uIk("cx",a.cx)("cy",a.cy)("r",a.r),n.xp6(1),n.Q6J("ngForOf",a.stops))},directives:[i.sg],encapsulation:2,changeDetection:0});class hf{constructor(c){this.opacity=1,this.startOpacity=.5,this.endOpacity=1,this.gradient=!1,this.animations=!0,this.select=new n.vpe,this.animationsLoaded=!1,this.hasGradient=!1,this.barOrientation=Gl,this.element=c.nativeElement}ngOnChanges(){this.update(),this.animationsLoaded||(this.loadAnimation(),this.animationsLoaded=!0)}update(){this.gradientId="grad"+j1().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl()}loadAnimation(){this.areaPath=this.startingPath,setTimeout(this.updatePathEl.bind(this),100)}updatePathEl(){const c=Ui(this.element).select(".area");this.animations?c.transition().duration(750).attr("d",this.path):c.attr("d",this.path)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:this.endOpacity}]}}function S3(g,c,a,T){return a*(1-Math.pow(2,-10*g/T))*1024/1023+c}function f5(g,c,a,T,G){const ce=Number(g),ve=Number(c),Ne=ce>ve,tt=Math.max(0,a),ut=Math.pow(10,tt),Ct=1e3*Number(T);let qt;function At(jn){let fi;const Xi=jn-qt;fi=Ne?ce-S3(Xi,0,ce-ve,Ct):S3(Xi,ce,ve-ce,Ct),fi=Ne?fi<ve?ve:fi:fi>ve?ve:fi,fi=Math.round(fi*ut)/ut;const Hn=Xi<Ct;if(G({value:fi,progress:Xi,timestamp:jn,finished:!Hn}),Hn)return requestAnimationFrame(Qi=>At(Qi))}return requestAnimationFrame(jn=>(qt=jn,At(jn)))}function c6(g){const c=Number(g);return c%1!=0&&Math.abs(c)<=10?2:0}hf.\u0275fac=function(c){return new(c||hf)(n.Y36(n.SBq))},hf.\u0275cmp=n.Xpm({type:hf,selectors:[["g","ngx-charts-area",""]],inputs:{data:"data",path:"path",startingPath:"startingPath",fill:"fill",opacity:"opacity",startOpacity:"startOpacity",endOpacity:"endOpacity",gradient:"gradient",stops:"stops",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-area",""],decls:2,vars:5,consts:[[4,"ngIf"],[1,"area"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(c,a){1&c&&(n.YNc(0,P5,2,3,"defs",0),n.O4$(),n._UZ(1,"path",1)),2&c&&(n.Q6J("ngIf",a.gradient),n.xp6(1),n.Udp("opacity",a.opacity),n.uIk("d",a.areaPath)("fill",a.gradient?a.gradientFill:a.fill))},directives:[F1,i.O5],encapsulation:2,changeDetection:0});class kp{constructor(c,a){this.cd=c,this.countDuration=1,this.countPrefix="",this.countSuffix="",this.countChange=new n.vpe,this.countFinish=new n.vpe,this.value="",this._countDecimals=0,this._countTo=0,this._countFrom=0,this.nativeElement=a.nativeElement}set countDecimals(c){this._countDecimals=c}get countDecimals(){return this._countDecimals?this._countDecimals:c6(this.countTo)}set countTo(c){this._countTo=parseFloat(c),this.start()}get countTo(){return this._countTo}set countFrom(c){this._countFrom=parseFloat(c),this.start()}get countFrom(){return this._countFrom}ngOnDestroy(){cancelAnimationFrame(this.animationReq)}start(){cancelAnimationFrame(this.animationReq);const c=this.valueFormatting||(T=>`${this.countPrefix}${T.toLocaleString()}${this.countSuffix}`);this.animationReq=f5(this.countFrom,this.countTo,this.countDecimals,this.countDuration,({value:T,progress:G,finished:ce})=>{this.value=c(T),this.cd.markForCheck(),ce||this.countChange.emit({value:this.value,progress:G}),ce&&this.countFinish.emit({value:this.value,progress:G})})}}let Zf;kp.\u0275fac=function(c){return new(c||kp)(n.Y36(n.sBO),n.Y36(n.SBq))},kp.\u0275cmp=n.Xpm({type:kp,selectors:[["","ngx-charts-count-up",""]],inputs:{countDuration:"countDuration",countPrefix:"countPrefix",countSuffix:"countSuffix",valueFormatting:"valueFormatting",countDecimals:"countDecimals",countTo:"countTo",countFrom:"countFrom"},outputs:{countChange:"countChange",countFinish:"countFinish"},attrs:["ngx-charts-count-up",""],decls:1,vars:1,template:function(c,a){1&c&&n._uU(0),2&c&&n.hij(" ",a.value," ")},encapsulation:2}),"undefined"!=typeof window?Zf=window:"undefined"!=typeof global&&(Zf=global);const w8=Zf.MouseEvent;function Xf(g,c=!1,a=!0){if("function"==typeof w8)return new w8(g,{bubbles:c,cancelable:a});{const T=document.createEvent("MouseEvent");return T.initEvent(g,c,a),T}}class Nr{constructor(c){this.platformId=c,this.anchorOpacity=0,this.anchorPos=-1,this.anchorValues=[],this.placementTypes=bs,this.styleTypes=hl,this.showPercentage=!1,this.tooltipDisabled=!1,this.hover=new n.vpe}getValues(c){const a=[];for(const T of this.results){const G=T.series.find(ve=>ve.name.toString()===c.toString());let ce=T.name;if(ce instanceof Date&&(ce=ce.toLocaleDateString()),G){const ve=G.name;let tt,Ne=G.value;if(this.showPercentage&&(Ne=(G.d1-G.d0).toFixed(2)+"%"),this.colors.scaleType===zn.Linear){let Ct=Ne;G.d1&&(Ct=G.d1),tt=this.colors.getColor(Ct)}else tt=this.colors.getColor(T.name);const ut=Object.assign({},G,{value:Ne,name:ve,series:ce,min:G.min,max:G.max,color:tt});a.push(ut)}}return a}mouseMove(c){if(!(0,i.NF)(this.platformId))return;const a=c.pageX-c.target.getBoundingClientRect().left,T=this.findClosestPointIndex(a),G=this.xSet[T];if(this.anchorPos=this.xScale(G),this.anchorPos=Math.max(0,this.anchorPos),this.anchorPos=Math.min(this.dims.width,this.anchorPos),this.anchorValues=this.getValues(G),this.anchorPos!==this.lastAnchorPos){const ce=Xf("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(ce),this.anchorOpacity=.7,this.hover.emit({value:G}),this.showTooltip(),this.lastAnchorPos=this.anchorPos}}findClosestPointIndex(c){let a=0,T=this.xSet.length-1,G=Number.MAX_VALUE,ce=0;for(;a<=T;){const ve=(a+T)/2|0,Ne=this.xScale(this.xSet[ve]),tt=Math.abs(Ne-c);if(tt<G&&(G=tt,ce=ve),Ne<c)a=ve+1;else{if(!(Ne>c)){G=0,ce=ve;break}T=ve-1}}return ce}showTooltip(){const c=Xf("mouseenter");this.tooltipAnchor.nativeElement.dispatchEvent(c)}hideTooltip(){const c=Xf("mouseleave");this.tooltipAnchor.nativeElement.dispatchEvent(c),this.anchorOpacity=0,this.lastAnchorPos=-1}getToolTipText(c){let a="";return void 0!==c.series?a+=c.series:a+="???",a+=": ",void 0!==c.value&&(a+=c.value.toLocaleString()),(void 0!==c.min||void 0!==c.max)&&(a+=" (",void 0!==c.min?(void 0===c.max&&(a+="\u2265"),a+=c.min.toLocaleString(),void 0!==c.max&&(a+=" - ")):void 0!==c.max&&(a+="\u2264"),void 0!==c.max&&(a+=c.max.toLocaleString()),a+=")"),a}}Nr.\u0275fac=function(c){return new(c||Nr)(n.Y36(n.Lbi))},Nr.\u0275cmp=n.Xpm({type:Nr,selectors:[["g","ngx-charts-tooltip-area",""]],viewQuery:function(c,a){if(1&c&&n.Gf(Ag,5),2&c){let T;n.iGM(T=n.CRH())&&(a.tooltipAnchor=T.first)}},inputs:{dims:"dims",xSet:"xSet",xScale:"xScale",yScale:"yScale",results:"results",colors:"colors",showPercentage:"showPercentage",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{hover:"hover"},attrs:["ngx-charts-tooltip-area",""],decls:6,vars:18,consts:[["y","0",1,"tooltip-area",2,"opacity","0","cursor","auto",3,"mousemove","mouseleave"],["defaultTooltipTemplate",""],["y","0","ngx-tooltip","",1,"tooltip-anchor",3,"tooltipDisabled","tooltipPlacement","tooltipType","tooltipSpacing","tooltipTemplate","tooltipContext","tooltipImmediateExit"],["tooltipAnchor",""],[1,"area-tooltip-container"],["class","tooltip-item",4,"ngFor","ngForOf"],[1,"tooltip-item"],[1,"tooltip-item-color"]],template:function(c,a){if(1&c&&(n.O4$(),n.TgZ(0,"g")(1,"rect",0),n.NdJ("mousemove",function(G){return a.mouseMove(G)})("mouseleave",function(){return a.hideTooltip()}),n.qZA(),n.YNc(2,Wm,2,1,"ng-template",null,1,n.W1O),n._UZ(4,"rect",2,3),n.qZA()),2&c){const T=n.MAs(3);n.xp6(1),n.uIk("x",0)("width",a.dims.width)("height",a.dims.height),n.xp6(3),n.Udp("opacity",a.anchorOpacity)("pointer-events","none"),n.Q6J("@animationState",0!==a.anchorOpacity?"active":"inactive")("tooltipDisabled",a.tooltipDisabled)("tooltipPlacement",a.placementTypes.Right)("tooltipType",a.styleTypes.tooltip)("tooltipSpacing",15)("tooltipTemplate",a.tooltipTemplate?a.tooltipTemplate:T)("tooltipContext",a.anchorValues)("tooltipImmediateExit",!0),n.uIk("x",a.anchorPos)("width",1)("height",a.dims.height)}},directives:[i.sg,o1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)("inactive => active",[(0,an.oB)({opacity:0}),(0,an.jt)(250,(0,an.oB)({opacity:.7}))]),(0,an.eR)("active => inactive",[(0,an.oB)({opacity:.7}),(0,an.jt)(250,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class Ha{constructor(c,a){this.cd=a,this.height=50,this.select=new n.vpe,this.onDomainChange=new n.vpe,this.initialized=!1,this.element=c.nativeElement}ngOnChanges(c){this.update(),this.initialized||(this.addBrush(),this.initialized=!0)}update(){this.dims=this.getDims(),this.height=this.dims.height;const c=this.view[1]-this.height;this.xDomain=this.getXDomain(),this.xScale=this.getXScale(),this.brush&&this.updateBrush(),this.transform=`translate(0 , ${c})`,this.filterId="filter"+j1().toString(),this.filter=`url(#${this.filterId})`,this.cd.markForCheck()}getXDomain(){let c=[];for(const T of this.results)for(const G of T.series)c.includes(G.name)||c.push(G.name);let a=[];if(this.scaleType===zn.Time){a=[Math.min(...c),Math.max(...c)]}else if(this.scaleType===zn.Linear){c=c.map(ce=>Number(ce));a=[Math.min(...c),Math.max(...c)]}else a=c;return a}getXScale(){let c;return this.scaleType===zn.Time?c=N1().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===zn.Linear?c=Ml().range([0,this.dims.width]).domain(this.xDomain):this.scaleType===zn.Ordinal&&(c=v3().range([0,this.dims.width]).padding(.1).domain(this.xDomain)),c}addBrush(){if(this.brush)return;const c=this.height,a=this.view[0];this.brush=function Ih(){return xf(ii)}().extent([[0,0],[a,c]]).on("brush end",({selection:T})=>{const ce=(T||this.xScale.range()).map(this.xScale.invert);this.onDomainChange.emit(ce),this.cd.markForCheck()}),Ui(this.element).select(".brush").call(this.brush)}updateBrush(){if(!this.brush)return;const c=this.height,a=this.view[0];this.brush.extent([[0,0],[a,c]]),Ui(this.element).select(".brush").call(this.brush),Ui(this.element).select(".selection").attr("fill",void 0).attr("stroke",void 0).attr("fill-opacity",void 0),this.cd.markForCheck()}getDims(){return{width:this.view[0],height:this.height}}}Ha.\u0275fac=function(c){return new(c||Ha)(n.Y36(n.SBq),n.Y36(n.sBO))},Ha.\u0275cmp=n.Xpm({type:Ha,selectors:[["g","ngx-charts-timeline",""]],inputs:{view:"view",results:"results",scheme:"scheme",customColors:"customColors",legend:"legend",autoScale:"autoScale",scaleType:"scaleType",height:"height"},outputs:{select:"select",onDomainChange:"onDomainChange"},features:[n.TTD],attrs:["ngx-charts-timeline",""],ngContentSelectors:en,decls:7,vars:4,consts:[[1,"timeline"],["in","SourceGraphic","type","matrix","values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"],[1,"embedded-chart"],["x","0","y","0",1,"brush-background"],[1,"brush"]],template:function(c,a){1&c&&(n.F$t(),n.O4$(),n.TgZ(0,"g",0)(1,"filter"),n._UZ(2,"feColorMatrix",1),n.qZA(),n.TgZ(3,"g",2),n.Hsn(4),n.qZA(),n._UZ(5,"rect",3)(6,"g",4),n.qZA()),2&c&&(n.uIk("transform",a.transform),n.xp6(1),n.uIk("id",a.filterId),n.xp6(4),n.uIk("width",a.view[0])("height",a.height))},styles:[".timeline .brush-background{fill:#0000000d}.timeline .brush .selection{fill:#0000001a;stroke-width:1px;stroke:#888}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}\n"],encapsulation:2,changeDetection:0});class h0{constructor(){this.label="Total",this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.legendItems=[],this.labelFormatting=c=>c,this.percentageFormatting=c=>c,this.defaultValueFormatting=c=>c.toLocaleString()}ngOnChanges(c){this.update()}getTotal(){return this.data.map(c=>Number(c.value)).reduce((c,a)=>c+a,0)}update(){this.total=this.getTotal(),this.roundedTotal=this.total,this.legendItems=this.getLegendItems()}getLegendItems(){return this.data.map(c=>{const a=Xd(c.name),T=c.value,G=this.colors.getColor(a),ce=this.total>0?T/this.total*100:0,ve="function"==typeof this.labelFormatting?this.labelFormatting(a):a;return{_value:T,data:c,value:T,color:G,label:ve,displayLabel:Mp(ve,20),origialLabel:c.name,percentage:this.percentageFormatting?this.percentageFormatting(ce):ce.toLocaleString()}})}trackBy(c,a){return a.label}}h0.\u0275fac=function(c){return new(c||h0)},h0.\u0275cmp=n.Xpm({type:h0,selectors:[["ngx-charts-advanced-legend"]],inputs:{width:"width",data:"data",colors:"colors",label:"label",animations:"animations",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",percentageFormatting:"percentageFormatting"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],decls:8,vars:7,consts:[[1,"advanced-pie-legend"],["class","total-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","total-value",4,"ngIf"],[1,"total-label"],[1,"legend-items-container"],[1,"legend-items"],["tabindex","-1","class","legend-item",3,"mouseenter","mouseleave","click",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-count-up","",1,"total-value",3,"countTo","valueFormatting"],[1,"total-value"],["tabindex","-1",1,"legend-item",3,"mouseenter","mouseleave","click"],[1,"item-color"],["class","item-value","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","item-value",4,"ngIf"],[1,"item-label"],["class","item-percent","ngx-charts-count-up","",3,"countTo","countSuffix",4,"ngIf"],["class","item-percent",4,"ngIf"],["ngx-charts-count-up","",1,"item-value",3,"countTo","valueFormatting"],[1,"item-value"],["ngx-charts-count-up","",1,"item-percent",3,"countTo","countSuffix"],[1,"item-percent"]],template:function(c,a){1&c&&(n.TgZ(0,"div",0),n.YNc(1,U6,1,2,"div",1),n.YNc(2,pm,2,1,"div",2),n.TgZ(3,"div",3),n._uU(4),n.qZA(),n.TgZ(5,"div",4)(6,"div",5),n.YNc(7,J8,8,7,"div",6),n.qZA()()()),2&c&&(n.Udp("width",a.width,"px"),n.xp6(1),n.Q6J("ngIf",a.animations),n.xp6(1),n.Q6J("ngIf",!a.animations),n.xp6(2),n.hij(" ",a.label," "),n.xp6(3),n.Q6J("ngForOf",a.legendItems)("ngForTrackBy",a.trackBy))},directives:[kp,i.O5,i.sg],styles:[".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{white-space:nowrap;overflow:auto}.advanced-pie-legend .legend-items-container .legend-items .legend-item{margin-right:20px;display:inline-block;cursor:pointer}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-top:-6px;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;opacity:.7;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;opacity:.7;margin-left:11px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;width:4px;height:42px;float:left;margin-right:7px}\n"],encapsulation:2,changeDetection:0});class Ra{}function s1({width:g,height:c,margins:a,showXAxis:T=!1,showYAxis:G=!1,xAxisHeight:ce=0,yAxisWidth:ve=0,showXLabel:Ne=!1,showYLabel:tt=!1,showLegend:ut=!1,legendType:Ct=zn.Ordinal,legendPosition:qt=bc.Right,columns:At=12}){let jn=a[3],fi=g,Xi=c-a[0]-a[2];return ut&&qt===bc.Right&&(Ct===zn.Ordinal?At-=2:At-=1),fi=fi*At/12,fi=fi-a[1]-a[3],T&&(Xi-=5,Xi-=ce,Ne&&(Xi-=30)),G&&(fi-=5,fi-=ve,jn+=ve,jn+=10,tt&&(fi-=30,jn+=30)),fi=Math.max(0,fi),Xi=Math.max(0,Xi),{width:Math.floor(fi),height:Math.floor(Xi),xOffset:Math.floor(jn)}}Ra.\u0275fac=function(c){return new(c||Ra)},Ra.\u0275mod=n.oAB({type:Ra,declarations:[hf,Zi,kp,Nr,zl,$f,wp,Qs,df,qi,uf,u0,F1,Sp,Ha,h0,vh],imports:[i.ez,bh,Md],exports:[i.ez,bh,Md,hf,Zi,kp,Nr,zl,$f,wp,Qs,df,qi,uf,u0,F1,Sp,Ha,h0,vh]}),Ra.\u0275inj=n.cJS({imports:[[i.ez,bh,Md],i.ez,bh,Md]});const yh=[{name:"vivid",selectable:!0,group:zn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:zn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:zn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:zn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:zn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:zn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:zn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:zn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:zn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:zn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:zn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:zn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:zn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:zn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:zn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Vc{constructor(c,a,T,G){"string"==typeof c&&(c=yh.find(ce=>ce.name===c)),this.colorDomain=c.domain,this.scaleType=a,this.domain=T,this.customColors=G,this.scale=this.generateColorScheme(c,a,this.domain)}generateColorScheme(c,a,T){let G;switch("string"==typeof c&&(c=yh.find(ce=>ce.name===c)),a){case zn.Quantile:G=Gd().range(c.domain).domain(T);break;case zn.Ordinal:G=H3().range(c.domain).domain(T);break;case zn.Linear:{const ce=[...c.domain];1===ce.length&&(ce.push(ce[0]),this.colorDomain=ce);const ve=O0(0,1,1/ce.length);G=Ml().range(ce).domain(ve)}}return G}getColor(c){if(null==c)throw new Error("Value can not be null");if(this.scaleType===zn.Linear){const a=Ml().domain(this.domain).range([0,1]);return this.scale(a(c))}{if("function"==typeof this.customColors)return this.customColors(c);const a=c.toString();let T;return this.customColors&&this.customColors.length>0&&(T=this.customColors.find(G=>G.name.toLowerCase()===a.toLowerCase())),T?T.value:this.scale(c)}}getLinearGradientStops(c,a){void 0===a&&(a=this.domain[0]);const T=Ml().domain(this.domain).range([0,1]),G=v1().domain(this.colorDomain).range([0,1]),ce=this.getColor(c),ve=T(a),Ne=this.getColor(a),tt=T(c);let ut=1,Ct=ve;const qt=[];for(qt.push({color:Ne,offset:ve,originalOffset:ve,opacity:1});Ct<tt&&ut<this.colorDomain.length;){const At=this.colorDomain[ut],jn=G(At);if(jn<=ve)ut++;else{if(jn.toFixed(4)>=(tt-G.bandwidth()).toFixed(4))break;qt.push({color:At,offset:jn,opacity:1}),Ct=jn,ut++}}if(qt[qt.length-1].offset<100&&qt.push({color:ce,offset:tt,opacity:1}),tt===ve)qt[0].offset=0,qt[1].offset=100;else if(100!==qt[qt.length-1].offset)for(const At of qt)At.offset=(At.offset-ve)/(tt-ve)*100;return qt}}function Lp(g){const c=new Set;for(const a of g)for(const T of a.series)c.add(T.name);return Array.from(c)}function Jd(g,c=!0){return c&&g.every(G=>G instanceof Date)?zn.Time:g.every(T=>"number"==typeof T)?zn.Linear:zn.Ordinal}function Zg(g,c,a="asc"){return g.sort((T,G)=>"asc"===a?T[c]-G[c]:G[c]-T[c])}function Xg(g,c,a="asc",T){return g.sort((G,ce)=>{const ve=G[c],Ne=ce[c],tt=T.indexOf(ve),ut=T.indexOf(Ne);return"asc"===a?tt-ut:ut-tt})}function Em(g,c,a="asc"){return g.sort((T,G)=>{const ce=T[c].getTime(),ve=G[c].getTime();return"asc"===a?ce>ve?1:ve>ce?-1:0:ce>ve?-1:ve>ce?1:0})}class k3{constructor(){this.baseValue="auto",this.stacked=!1,this.normalized=!1,this.animations=!0,this.select=new n.vpe}ngOnChanges(c){this.update()}update(){let c,a;this.updateGradient();const T=ce=>{const ve=ce.name;return this.xScale(ve)};this.stacked||this.normalized?(c=_3().x(T).y0((ce,ve)=>this.yScale(ce.d0)).y1((ce,ve)=>this.yScale(ce.d1)),a=_3().x(T).y0(ce=>this.yScale.range()[0]).y1(ce=>this.yScale.range()[0])):(c=_3().x(T).y0(()=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(ce=>this.yScale(ce.value)),a=_3().x(T).y0(ce=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue)).y1(ce=>"auto"===this.baseValue?this.yScale.range()[0]:this.yScale(this.baseValue))),c.curve(this.curve),a.curve(this.curve),this.opacity=.8;let G=this.data.series;G=this.scaleType===zn.Linear?Zg(G,"name"):this.scaleType===zn.Time?Em(G,"name"):Xg(G,"name","asc",this.xScale.domain()),this.path=c(G),this.startingPath=a(G)}updateGradient(){if(this.colors.scaleType===zn.Linear)if(this.hasGradient=!0,this.stacked||this.normalized){const c=this.data.series.map(ce=>ce.d0),a=this.data.series.map(ce=>ce.d1),T=Math.max(...a),G=Math.min(...c);this.gradientStops=this.colors.getLinearGradientStops(T,G)}else{const c=this.data.series.map(T=>T.value),a=Math.max(...c);this.gradientStops=this.colors.getLinearGradientStops(a)}else this.hasGradient=!1,this.gradientStops=void 0}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name)}isInactive(c){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(T=>c.name===T.name)}}k3.\u0275fac=function(c){return new(c||k3)},k3.\u0275cmp=n.Xpm({type:k3,selectors:[["g","ngx-charts-area-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",baseValue:"baseValue",colors:"colors",scaleType:"scaleType",stacked:"stacked",normalized:"normalized",gradient:"gradient",curve:"curve",activeEntries:"activeEntries",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-area-series",""],decls:1,vars:12,consts:[["ngx-charts-area","",1,"area-series",3,"data","path","fill","stops","startingPath","opacity","gradient","animations"]],template:function(c,a){1&c&&(n.O4$(),n._UZ(0,"g",0)),2&c&&(n.ekj("active",a.isActive(a.data))("inactive",a.isInactive(a.data)),n.Q6J("data",a.data)("path",a.path)("fill",a.colors.getColor(a.data.name))("stops",a.gradientStops)("startingPath",a.startingPath)("opacity",a.opacity)("gradient",a.gradient||a.hasGradient)("animations",a.animations))},directives:[hf],encapsulation:2,changeDetection:0});class Ep extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.xAxis=!1,this.yAxis=!1,this.baseValue="auto",this.autoScale=!1,this.timeline=!1,this.showGridLines=!0,this.curve=x4,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(c,a)=>a.name}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.clipPathId="clip"+j1().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let c=Lp(this.results);this.scaleType=Jd(c);let T,G,a=[];return this.scaleType===zn.Linear&&(c=c.map(ce=>Number(ce))),(this.scaleType===zn.Time||this.scaleType===zn.Linear)&&(T=this.xScaleMin?this.xScaleMin:Math.min(...c),G=this.xScaleMax?this.xScaleMax:Math.max(...c)),this.scaleType===zn.Time?(a=[new Date(T),new Date(G)],this.xSet=[...c].sort((ce,ve)=>{const Ne=ce.getTime(),tt=ve.getTime();return Ne>tt?1:tt>Ne?-1:0})):this.scaleType===zn.Linear?(a=[T,G],this.xSet=[...c].sort((ce,ve)=>ce-ve)):(a=c,this.xSet=c),a}getYDomain(){const c=[];for(const ce of this.results)for(const ve of ce.series)c.includes(ve.value)||c.push(ve.value);const a=[...c];this.autoScale||a.push(0),"auto"!==this.baseValue&&a.push(this.baseValue);return[this.yScaleMin?this.yScaleMin:Math.min(...a),this.yScaleMax?this.yScaleMax:Math.max(...a)]}getSeriesDomain(){return this.results.map(c=>c.name)}getXScale(c,a){let T;return this.scaleType===zn.Time?T=N1():this.scaleType===zn.Linear?T=Ml():this.scaleType===zn.Ordinal&&(T=v3().padding(.1)),T.range([0,a]).domain(c),this.roundDomains?T.nice():T}getYScale(c,a){const T=Ml().range([a,0]).domain(c);return this.roundDomains?T.nice():T}getScaleType(c){let a=!0,T=!0;for(const G of c)Kg(G)&&(a=!1),C8(G)&&(T=!1);return a?zn.Time:T?zn.Linear:zn.Ordinal}updateDomain(c){this.filteredDomain=c,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(c){this.hoveredVertical=c.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.seriesDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.yDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1||(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}}Ep.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Ep)))(a||Ep)}}(),Ep.\u0275cmp=n.Xpm({type:Ep,selectors:[["ngx-charts-area-chart"]],contentQueries:function(c,a,T){if(1&c&&(n.Suo(T,n1,5),n.Suo(T,_1,5)),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first),n.iGM(G=n.CRH())&&(a.seriesTooltipTemplate=G.first)}},hostBindings:function(c,a){1&c&&n.NdJ("mouseleave",function(){return a.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",baseValue:"baseValue",autoScale:"autoScale",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","activeEntries","scaleType","gradient","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","baseValue","colors","data","scaleType","gradient","curve","animations"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"defs")(2,"clipPath"),n._UZ(3,"rect"),n.qZA()(),n.TgZ(4,"g",1),n.YNc(5,H5,1,10,"g",2),n.YNc(6,B5,1,9,"g",3),n.TgZ(7,"g"),n.YNc(8,j5,2,10,"g",4),n.YNc(9,Gm,3,9,"g",5),n.qZA()(),n.YNc(10,Pg,2,13,"g",6),n.qZA()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(2),n.uIk("id",a.clipPathId),n.xp6(1),n.uIk("width",a.dims.width+10)("height",a.dims.height+10)("transform","translate(-5, -5)"),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngIf",!a.tooltipDisabled),n.xp6(1),n.Q6J("ngIf",a.timeline&&"ordinal"!=a.scaleType))},directives:[zl,C2,sa,k3,Nr,qi,Ha,i.O5,i.sg],styles:[".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}.ngx-charts{float:left;overflow:visible}.ngx-charts .circle,.ngx-charts .cell,.ngx-charts .bar,.ngx-charts .arc{cursor:pointer}.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover,.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .card.active,.ngx-charts .card:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .bar:focus,.ngx-charts .cell:focus,.ngx-charts .arc:focus,.ngx-charts .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.hidden,.ngx-charts .card.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .line-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .polar-series-path.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .area-series.inactive{transition:opacity .1s ease-in-out;opacity:.2}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{stroke:#ddd;stroke-width:1;fill:none}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-width:1;stroke-dasharray:5;stroke-dashoffset:5}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill-opacity:.05;fill:#000}.ngx-charts .gridline-path-dotted{stroke:#ddd;stroke-width:1;fill:none;stroke-dasharray:1,20;stroke-dashoffset:3}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:#0000000d}\n"],encapsulation:2,changeDetection:0});class f0 extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.showXAxisLabel=!1,this.showYAxisLabel=!1,this.showGridLines=!0,this.curve=x4,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new n.vpe,this.deactivate=new n.vpe,this.yDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.seriesType=d0,this.timelineHeight=50,this.timelinePadding=10,this.trackBy=(c,a)=>a.name}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let c=0;c<this.xSet.length;c++){const a=this.xSet[c];let T=0,G=0;for(const ce of this.results){const ve=ce.series.find(Ne=>{let tt=Ne.name,ut=a;return this.scaleType===zn.Time&&(tt=tt.valueOf(),ut=ut.valueOf()),tt===ut});ve&&(G+=ve.value)}for(const ce of this.results){let ve=ce.series.find(Ne=>{let tt=Ne.name,ut=a;return this.scaleType===zn.Time&&(tt=tt.valueOf(),ut=ut.valueOf()),tt===ut});ve?(ve.d0=T,ve.d1=T+ve.value,T+=ve.value):(ve={name:a,value:0,d0:T,d1:T},ce.series.push(ve)),G>0?(ve.d0=100*ve.d0/G,ve.d1=100*ve.d1/G):(ve.d0=0,ve.d1=0)}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+j1().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let c=Lp(this.results);this.scaleType=Jd(c);let a=[];if(this.scaleType===zn.Time){const T=Math.min(...c),G=Math.max(...c);a=[new Date(T),new Date(G)],this.xSet=[...c].sort((ce,ve)=>{const Ne=ce.getTime(),tt=ve.getTime();return Ne>tt?1:tt>Ne?-1:0})}else if(this.scaleType===zn.Linear){c=c.map(ce=>Number(ce));a=[Math.min(...c),Math.max(...c)],this.xSet=[...c].sort((ce,ve)=>ce-ve)}else a=c,this.xSet=c;return a}getSeriesDomain(){return this.results.map(c=>c.name)}getXScale(c,a){let T;return this.scaleType===zn.Time?T=N1():this.scaleType===zn.Linear?T=Ml():this.scaleType===zn.Ordinal&&(T=v3().padding(.1)),T.range([0,a]).domain(c),this.roundDomains?T.nice():T}getYScale(c,a){const T=Ml().range([a,0]).domain(c);return this.roundDomains?T.nice():T}updateDomain(c){this.filteredDomain=c,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(c){this.hoveredVertical=c.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.seriesDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.yDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1||(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}}f0.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(f0)))(a||f0)}}(),f0.\u0275cmp=n.Xpm({type:f0,selectors:[["ngx-charts-area-chart-normalized"]],contentQueries:function(c,a,T){if(1&c&&(n.Suo(T,n1,5),n.Suo(T,_1,5)),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first),n.iGM(G=n.CRH())&&(a.seriesTooltipTemplate=G.first)}},hostBindings:function(c,a){1&c&&n.NdJ("mouseleave",function(){return a.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","activeEntries","gradient","normalized","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","showPercentage","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","normalized","curve","animations"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"defs")(2,"clipPath"),n._UZ(3,"rect"),n.qZA()(),n.TgZ(4,"g",1),n.YNc(5,t7,1,10,"g",2),n.YNc(6,n7,1,9,"g",3),n.TgZ(7,"g"),n.YNc(8,F5,2,10,"g",4),n.YNc(9,V5,3,10,"g",5),n.qZA()(),n.YNc(10,$m,2,13,"g",6),n.qZA()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(2),n.uIk("id",a.clipPathId),n.xp6(1),n.uIk("width",a.dims.width+10)("height",a.dims.height+10)("transform","translate(-5, -5)"),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngIf",!a.tooltipDisabled),n.xp6(1),n.Q6J("ngIf",a.timeline&&"ordinal"!=a.scaleType))},directives:[zl,C2,sa,k3,Nr,qi,Ha,i.O5,i.sg],styles:[H1],encapsulation:2,changeDetection:0});class Jf extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.xAxis=!1,this.yAxis=!1,this.timeline=!1,this.showGridLines=!0,this.curve=x4,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.seriesType=d0}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height);for(let c=0;c<this.xSet.length;c++){const a=this.xSet[c];let T=0;for(const G of this.results){let ce=G.series.find(ve=>{let Ne=ve.name,tt=a;return this.scaleType===zn.Time&&(Ne=Ne.valueOf(),tt=tt.valueOf()),Ne===tt});ce?(ce.d0=T,ce.d1=T+ce.value,T+=ce.value):(ce={name:a,value:0,d0:T,d1:T},G.series.push(ce))}}this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+j1().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let c=Lp(this.results);this.scaleType=Jd(c);let T,G,a=[];return this.scaleType===zn.Linear&&(c=c.map(ce=>Number(ce))),(this.scaleType===zn.Time||this.scaleType===zn.Linear)&&(T=this.xScaleMin?this.xScaleMin:Math.min(...c),G=this.xScaleMax?this.xScaleMax:Math.max(...c)),this.scaleType===zn.Time?(a=[new Date(T),new Date(G)],this.xSet=[...c].sort((ce,ve)=>{const Ne=ce.getTime(),tt=ve.getTime();return Ne>tt?1:tt>Ne?-1:0})):this.scaleType===zn.Linear?(a=[T,G],this.xSet=[...c].sort((ce,ve)=>ce-ve)):(a=c,this.xSet=c),a}getYDomain(){const c=[];for(let G=0;G<this.xSet.length;G++){const ce=this.xSet[G];let ve=0;for(const Ne of this.results){const tt=Ne.series.find(ut=>{let Ct=ut.name,qt=ce;return this.scaleType===zn.Time&&(Ct=Ct.valueOf(),qt=qt.valueOf()),Ct===qt});tt&&(ve+=tt.value)}c.push(ve)}return[this.yScaleMin?this.yScaleMin:Math.min(0,...c),this.yScaleMax?this.yScaleMax:Math.max(...c)]}getSeriesDomain(){return this.results.map(c=>c.name)}getXScale(c,a){let T;return this.scaleType===zn.Time?T=N1():this.scaleType===zn.Linear?T=Ml():this.scaleType===zn.Ordinal&&(T=v3().padding(.1)),T.range([0,a]).domain(c),this.roundDomains?T.nice():T}getYScale(c,a){const T=Ml().range([a,0]).domain(c);return this.roundDomains?T.nice():T}updateDomain(c){this.filteredDomain=c,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(c){this.hoveredVertical=c.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}trackBy(c,a){return`${a.name}`}setColors(){let c;c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.seriesDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.yDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1||(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}}Jf.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Jf)))(a||Jf)}}(),Jf.\u0275cmp=n.Xpm({type:Jf,selectors:[["ngx-charts-area-chart-stacked"]],contentQueries:function(c,a,T){if(1&c&&(n.Suo(T,n1,5),n.Suo(T,_1,5)),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first),n.iGM(G=n.CRH())&&(a.seriesTooltipTemplate=G.first)}},hostBindings:function(c,a){1&c&&n.NdJ("mouseleave",function(){return a.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:11,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"area-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","activeEntries","stacked","curve","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],["ngx-charts-circle-series","",3,"type","xScale","yScale","colors","activeEntries","data","scaleType","visibleValue","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","legend","scaleType","onDomainChange"],["ngx-charts-area-series","",3,"xScale","yScale","colors","data","scaleType","gradient","stacked","curve","animations"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"defs")(2,"clipPath"),n._UZ(3,"rect"),n.qZA()(),n.TgZ(4,"g",1),n.YNc(5,Uf,1,10,"g",2),n.YNc(6,i7,1,9,"g",3),n.TgZ(7,"g"),n.YNc(8,Km,2,10,"g",4),n.YNc(9,of,3,10,"g",5),n.qZA()(),n.YNc(10,r7,2,13,"g",6),n.qZA()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(2),n.uIk("id",a.clipPathId),n.xp6(1),n.uIk("width",a.dims.width+10)("height",a.dims.height+10)("transform","translate(-5, -5)"),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngIf",!a.tooltipDisabled),n.xp6(1),n.Q6J("ngIf",a.timeline&&"ordinal"!=a.scaleType))},directives:[zl,C2,sa,k3,Nr,qi,Ha,i.O5,i.sg],styles:[H1],encapsulation:2,changeDetection:0});class p0{}p0.\u0275fac=function(c){return new(c||p0)},p0.\u0275mod=n.oAB({type:p0,declarations:[Ep,f0,Jf,k3],imports:[Ra],exports:[Ep,f0,Jf,k3]}),p0.\u0275inj=n.cJS({imports:[[Ra]]});class Dp{constructor(c){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=c.nativeElement}ngOnChanges(c){c.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+j1().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient||this.stops?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updatePathEl(),this.checkToHideBar()}loadAnimation(){this.path=this.getStartingPath(),setTimeout(this.update.bind(this),100)}updatePathEl(){const c=Ui(this.element).select(".bar"),a=this.getPath();this.animations?c.transition().duration(500).attr("d",a):c.attr("d",a)}getGradient(){return this.stops?this.stops:[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartingPath(){if(!this.animations)return this.getPath();let a,c=this.getRadius();return this.roundEdges?this.orientation===Gl.Vertical?(c=Math.min(this.height,c),a=_h(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Gl.Horizontal&&(c=Math.min(this.width,c),a=_h(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Gl.Vertical?a=_h(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Gl.Horizontal&&(a=_h(this.x,this.y,1,this.height,0,this.edges)),a}getPath(){let a,c=this.getRadius();return this.roundEdges?this.orientation===Gl.Vertical?(c=Math.min(this.height,c),a=_h(this.x,this.y,this.width,this.height,c,this.edges)):this.orientation===Gl.Horizontal&&(c=Math.min(this.width,c),a=_h(this.x,this.y,this.width,this.height,c,this.edges)):a=_h(this.x,this.y,this.width,this.height,c,this.edges),a}getRadius(){let c=0;return this.roundEdges&&this.height>5&&this.width>5&&(c=Math.floor(Math.min(5,this.height/2,this.width/2))),c}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let c=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Gl.Vertical?c=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Gl.Horizontal&&(c=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),c}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Gl.Vertical&&0===this.height||this.orientation===Gl.Horizontal&&0===this.width)}}var a1,xh;Dp.\u0275fac=function(c){return new(c||Dp)(n.Y36(n.SBq))},Dp.\u0275cmp=n.Xpm({type:Dp,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(c,a){1&c&&n.NdJ("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(){return a.onMouseLeave()})},inputs:{fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",orientation:"orientation",roundEdges:"roundEdges",gradient:"gradient",offset:"offset",isActive:"isActive",stops:"stops",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-bar",""],decls:2,vars:8,consts:[[4,"ngIf"],["stroke","none","role","img","tabIndex","-1",1,"bar",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(c,a){1&c&&(n.YNc(0,Y5,2,3,"defs",0),n.O4$(),n.TgZ(1,"path",1),n.NdJ("click",function(){return a.select.emit(a.data)}),n.qZA()),2&c&&(n.Q6J("ngIf",a.hasGradient),n.xp6(1),n.ekj("active",a.isActive)("hidden",a.hideBar),n.uIk("d",a.path)("aria-label",a.ariaLabel)("fill",a.hasGradient?a.gradientFill:a.fill))},directives:[F1,i.O5],encapsulation:2,changeDetection:0}),function(g){g.Standard="standard",g.Normalized="normalized",g.Stacked="stacked"}(a1||(a1={})),function(g){g.positive="positive",g.negative="negative"}(xh||(xh={}));class $u{constructor(c){this.dimensionsChanged=new n.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=c.nativeElement}ngOnChanges(c){this.update()}getSize(){return{height:this.element.getBoundingClientRect().height,width:this.element.getBoundingClientRect().width,negative:this.value<0}}ngAfterViewInit(){this.dimensionsChanged.emit(this.getSize())}update(){this.valueFormatting?this.formatedValue=this.valueFormatting(this.value):this.formatedValue=Xd(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}$u.\u0275fac=function(c){return new(c||$u)(n.Y36(n.SBq))},$u.\u0275cmp=n.Xpm({type:$u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[n.TTD],attrs:["ngx-charts-bar-label",""],decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"text",0),n._uU(1),n.qZA()),2&c&&(n.uIk("text-anchor",a.textAnchor)("transform",a.transform)("x",a.x)("y",a.y),n.xp6(1),n.hij(" ",a.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0});class ff{constructor(){this.type=a1.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.dataLabelWidthChanged=new n.vpe,this.barsForDataLabels=[],this.barOrientation=Gl}ngOnChanges(c){this.update()}update(){this.updateTooltipSettings();const c={[xh.positive]:0,[xh.negative]:0};let a,T;a=xh.positive,this.type===a1.Normalized&&(T=this.series.map(ce=>ce.value).reduce((ce,ve)=>ce+ve,0));const G=Math.max(this.xScale.domain()[0],0);this.bars=this.series.map(ce=>{let ve=ce.value;const Ne=this.getLabel(ce),tt=Xd(Ne),ut=this.roundEdges;a=ve>0?xh.positive:xh.negative;const Ct={value:ve,label:Ne,roundEdges:ut,data:ce,formattedLabel:tt};if(Ct.height=this.yScale.bandwidth(),this.type===a1.Standard)Ct.width=Math.abs(this.xScale(ve)-this.xScale(G)),Ct.x=ve<0?this.xScale(ve):this.xScale(G),Ct.y=this.yScale(Ne);else if(this.type===a1.Stacked){const At=c[a],jn=At+ve;c[a]+=ve,Ct.width=this.xScale(jn)-this.xScale(At),Ct.x=this.xScale(At),Ct.y=0,Ct.offset0=At,Ct.offset1=jn}else if(this.type===a1.Normalized){let At=c[a],jn=At+ve;c[a]+=ve,T>0?(At=100*At/T,jn=100*jn/T):(At=0,jn=0),Ct.width=this.xScale(jn)-this.xScale(At),Ct.x=this.xScale(At),Ct.y=0,Ct.offset0=At,Ct.offset1=jn,ve=(jn-At).toFixed(2)+"%"}this.colors.scaleType===zn.Ordinal?Ct.color=this.colors.getColor(Ne):this.type===a1.Standard?(Ct.color=this.colors.getColor(ve),Ct.gradientStops=this.colors.getLinearGradientStops(ve)):(Ct.color=this.colors.getColor(Ct.offset1),Ct.gradientStops=this.colors.getLinearGradientStops(Ct.offset1,Ct.offset0));let qt=tt;return Ct.ariaLabel=tt+" "+ve.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(qt=`${this.seriesName} \u2022 ${tt}`,Ct.data.series=this.seriesName,Ct.ariaLabel=this.seriesName+" "+Ct.ariaLabel),Ct.tooltipText=this.tooltipDisabled?void 0:`\n        <span class="tooltip-label">${Fc(qt)}</span>\n        <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(ve):ve.toLocaleString()}</span>\n      `,Ct}),this.updateDataLabels()}updateDataLabels(){if(this.type===a1.Stacked){this.barsForDataLabels=[];const c={};c.series=this.seriesName;const a=this.series.map(G=>G.value).reduce((G,ce)=>ce>0?G+ce:G,0),T=this.series.map(G=>G.value).reduce((G,ce)=>ce<0?G+ce:G,0);c.total=a+T,c.x=0,c.y=0,c.total>0?c.width=this.xScale(a):c.width=this.xScale(T),c.height=this.yScale.bandwidth(),this.barsForDataLabels.push(c)}else this.barsForDataLabels=this.series.map(c=>{var a;const T={};return T.series=null!==(a=this.seriesName)&&void 0!==a?a:c.label,T.total=c.value,T.x=this.xScale(0),T.y=this.yScale(c.label),T.width=this.xScale(T.total)-this.xScale(0),T.height=this.yScale.bandwidth(),T})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:bs.Top,this.tooltipType=this.tooltipDisabled?void 0:hl.tooltip}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name&&c.value===T.value)}getLabel(c){return c.label?c.label:c.name}trackBy(c,a){return a.label}trackDataLabelBy(c,a){return c+"#"+a.series+"#"+a.total}click(c){this.select.emit(c)}}ff.\u0275fac=function(c){return new(c||ff)},ff.\u0275cmp=n.Xpm({type:ff,selectors:[["g","ngx-charts-series-horizontal",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",tooltipDisabled:"tooltipDisabled",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelWidthChanged:"dataLabelWidthChanged"},features:[n.TTD],attrs:["ngx-charts-series-horizontal",""],decls:2,vars:3,consts:[["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","isActive","ariaLabel","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(c,a){1&c&&(n.YNc(0,Zo,1,21,"g",0),n.YNc(1,mm,2,2,"g",1)),2&c&&(n.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngIf",a.showDataLabel))},directives:[Dp,$u,i.sg,o1,i.O5],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class g0 extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getXScale(){this.xDomain=this.getXDomain();const c=Ml().range([0,this.dims.width]).domain(this.xDomain);return this.roundDomains?c.nice():c}getYScale(){this.yDomain=this.getYDomain();const c=this.yDomain.length/(this.dims.height/this.barPadding+1);return v1().rangeRound([0,this.dims.height]).paddingInner(c).domain(this.yDomain)}getXDomain(){const c=this.results.map(G=>G.value);return[this.xScaleMin?Math.min(this.xScaleMin,...c):Math.min(0,...c),this.xScaleMax?Math.max(this.xScaleMax,...c):Math.max(0,...c)]}getYDomain(){return this.results.map(c=>c.label)}onClick(c){this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.yDomain:this.xDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return"ordinal"===c.scaleType?(c.domain=this.yDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.xDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onDataLabelMaxWidthChanged(c){c.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,c.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,c.size.width),c.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name),!(this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series)>-1)&&(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name);const T=this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series);this.activeEntries.splice(T,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}}g0.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(g0)))(a||g0)}}(),g0.\u0275cmp=n.Xpm({type:g0,selectors:[["ngx-charts-bar-horizontal"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",xScaleMax:"xScaleMax",xScaleMin:"xScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-series-horizontal","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","activeEntries","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,!0)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,Dv,1,10,"g",2),n.YNc(3,Zm,1,9,"g",3),n.TgZ(4,"g",4),n.NdJ("select",function(G){return a.onClick(G)})("activate",function(G){return a.onActivate(G)})("deactivate",function(G){return a.onDeactivate(G)})("dataLabelWidthChanged",function(G){return a.onDataLabelMaxWidthChanged(G)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(22,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("xScale",a.xScale)("yScale",a.yScale)("colors",a.colors)("series",a.results)("dims",a.dims)("gradient",a.gradient)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("activeEntries",a.activeEntries)("roundEdges",a.roundEdges)("animations",a.animations)("showDataLabel",a.showDataLabel)("dataLabelFormatting",a.dataLabelFormatting)("noBarWhenZero",a.noBarWhenZero))},directives:[zl,C2,sa,ff,i.O5],styles:[H1],encapsulation:2,changeDetection:0});class ha extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Gl,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupScale(){const c=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return v1().rangeRound([0,this.dims.height]).paddingInner(c).paddingOuter(c/2).domain(this.groupDomain)}getInnerScale(){const c=this.groupScale.bandwidth(),a=this.innerDomain.length/(c/this.barPadding+1);return v1().rangeRound([0,c]).paddingInner(a).domain(this.innerDomain)}getValueScale(){const c=Ml().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?c.nice():c}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getValueDomain(){const c=[];for(const G of this.results)for(const ce of G.series)c.includes(ce.value)||c.push(ce.value);return[Math.min(0,...c),this.xScaleMax?Math.max(this.xScaleMax,...c):Math.max(0,...c)]}groupTransform(c){return`translate(0, ${this.groupScale(c.label)})`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onDataLabelMaxWidthChanged(c,a){c.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,c.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,c.size.width),a===this.results.length-1&&setTimeout(()=>this.update())}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}ha.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(ha)))(a||ha)}}(),ha.\u0275cmp=n.Xpm({type:ha,selectors:[["ngx-charts-bar-horizontal-2d"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"xScale","activeEntries","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","roundEdges","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n._UZ(2,"g",2),n.YNc(3,s7,1,10,"g",3),n.YNc(4,W5,1,9,"g",4),n.YNc(5,vm,2,2,"g",5),n.YNc(6,l0,2,2,"g",5),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(15,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("xScale",a.valueScale)("yScale",a.groupScale)("data",a.results)("dims",a.dims)("orient",a.barOrientation.Horizontal),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,u0,C2,sa,ff,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class m0 extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.barChartType=a1,this.isSSR=!1,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getYScale(){const c=this.groupDomain.length/(this.dims.height/this.barPadding+1);return v1().rangeRound([0,this.dims.height]).paddingInner(c).domain(this.groupDomain)}getXScale(){const c=Ml().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?c.nice():c}groupTransform(c){return`translate(0, ${this.yScale(c.name)})`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}m0.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(m0)))(a||m0)}}(),m0.\u0275cmp=n.Xpm({type:m0,selectors:[["ngx-charts-bar-horizontal-normalized"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,G5,1,10,"g",2),n.YNc(3,_m,1,8,"g",3),n.YNc(4,q5,2,2,"g",4),n.YNc(5,W2,2,2,"g",4),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(10,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,C2,sa,ff,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class pf extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxWidth={negative:0,positive:0},this.barChartType=a1,this.isSSR=!1,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxWidth={negative:0,positive:0}),this.margin=[10,20+this.dataLabelMaxWidth.positive,10,20+this.dataLabelMaxWidth.negative],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getValueDomain(){const c=[];let a=0,T=0;for(const ve of this.results){let Ne=0,tt=0;for(const ut of ve.series)ut.value<0?Ne+=ut.value:tt+=ut.value,a=ut.value<a?ut.value:a,T=ut.value>T?ut.value:T;c.push(Ne),c.push(tt)}c.push(a),c.push(T);return[Math.min(0,...c),this.xScaleMax?Math.max(this.xScaleMax,...c):Math.max(...c)]}getYScale(){const c=this.groupDomain.length/(this.dims.height/this.barPadding+1);return v1().rangeRound([0,this.dims.height]).paddingInner(c).domain(this.groupDomain)}getXScale(){const c=Ml().range([0,this.dims.width]).domain(this.valueDomain);return this.roundDomains?c.nice():c}groupTransform(c){return`translate(0, ${this.yScale(c.name)})`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onDataLabelMaxWidthChanged(c,a){c.size.negative?this.dataLabelMaxWidth.negative=Math.max(this.dataLabelMaxWidth.negative,c.size.width):this.dataLabelMaxWidth.positive=Math.max(this.dataLabelMaxWidth.positive,c.size.width),a===this.results.length-1&&setTimeout(()=>this.update())}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}pf.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(pf)))(a||pf)}}(),pf.\u0275cmp=n.Xpm({type:pf,selectors:[["ngx-charts-bar-horizontal-stacked"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",xScaleMax:"xScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","yAxisOffset","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-horizontal","",3,"type","xScale","yScale","colors","series","activeEntries","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","showDataLabel","dataLabelFormatting","noBarWhenZero","select","activate","deactivate","dataLabelWidthChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,_c,1,10,"g",2),n.YNc(3,K5,1,9,"g",3),n.YNc(4,_r,2,2,"g",4),n.YNc(5,bm,2,2,"g",4),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(10,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,C2,sa,ff,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class K3{constructor(c){this.platformId=c,this.type=a1.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.dataLabelHeightChanged=new n.vpe,this.barsForDataLabels=[],this.barOrientation=Gl,this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(c){this.update()}update(){let c;this.updateTooltipSettings(),this.series.length&&(c=this.xScale.bandwidth()),c=Math.round(c);const a=Math.max(this.yScale.domain()[0],0),T={[xh.positive]:0,[xh.negative]:0};let ce,G=xh.positive;this.type===a1.Normalized&&(ce=this.series.map(ve=>ve.value).reduce((ve,Ne)=>ve+Ne,0)),this.bars=this.series.map((ve,Ne)=>{let tt=ve.value;const ut=this.getLabel(ve),Ct=Xd(ut),qt=this.roundEdges;G=tt>0?xh.positive:xh.negative;const At={value:tt,label:ut,roundEdges:qt,data:ve,width:c,formattedLabel:Ct,height:0,x:0,y:0};if(this.type===a1.Standard)At.height=Math.abs(this.yScale(tt)-this.yScale(a)),At.x=this.xScale(ut),At.y=tt<0?this.yScale(0):this.yScale(tt);else if(this.type===a1.Stacked){const fi=T[G],Xi=fi+tt;T[G]+=tt,At.height=this.yScale(fi)-this.yScale(Xi),At.x=0,At.y=this.yScale(Xi),At.offset0=fi,At.offset1=Xi}else if(this.type===a1.Normalized){let fi=T[G],Xi=fi+tt;T[G]+=tt,ce>0?(fi=100*fi/ce,Xi=100*Xi/ce):(fi=0,Xi=0),At.height=this.yScale(fi)-this.yScale(Xi),At.x=0,At.y=this.yScale(Xi),At.offset0=fi,At.offset1=Xi,tt=(Xi-fi).toFixed(2)+"%"}this.colors.scaleType===zn.Ordinal?At.color=this.colors.getColor(ut):this.type===a1.Standard?(At.color=this.colors.getColor(tt),At.gradientStops=this.colors.getLinearGradientStops(tt)):(At.color=this.colors.getColor(At.offset1),At.gradientStops=this.colors.getLinearGradientStops(At.offset1,At.offset0));let jn=Ct;return At.ariaLabel=Ct+" "+tt.toLocaleString(),null!==this.seriesName&&void 0!==this.seriesName&&(jn=`${this.seriesName} \u2022 ${Ct}`,At.data.series=this.seriesName,At.ariaLabel=this.seriesName+" "+At.ariaLabel),At.tooltipText=this.tooltipDisabled?void 0:`\n        <span class="tooltip-label">${Fc(jn)}</span>\n        <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(tt):tt.toLocaleString()}</span>\n      `,At}),this.updateDataLabels()}updateDataLabels(){if(this.type===a1.Stacked){this.barsForDataLabels=[];const c={};c.series=this.seriesName;const a=this.series.map(G=>G.value).reduce((G,ce)=>ce>0?G+ce:G,0),T=this.series.map(G=>G.value).reduce((G,ce)=>ce<0?G+ce:G,0);c.total=a+T,c.x=0,c.y=0,c.total>0?c.height=this.yScale(a):c.height=this.yScale(T),c.width=this.xScale.bandwidth(),this.barsForDataLabels.push(c)}else this.barsForDataLabels=this.series.map(c=>{var a;const T={};return T.series=null!==(a=this.seriesName)&&void 0!==a?a:c.label,T.total=c.value,T.x=this.xScale(c.label),T.y=this.yScale(0),T.height=this.yScale(T.total)-this.yScale(0),T.width=this.xScale.bandwidth(),T})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:bs.Top,this.tooltipType=this.tooltipDisabled?void 0:hl.tooltip}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name&&c.value===T.value)}onClick(c){this.select.emit(c)}getLabel(c){return c.label?c.label:c.name}trackBy(c,a){return a.label}trackDataLabelBy(c,a){return c+"#"+a.series+"#"+a.total}}K3.\u0275fac=function(c){return new(c||K3)(n.Y36(n.Lbi))},K3.\u0275cmp=n.Xpm({type:K3,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[n.TTD],attrs:["ngx-charts-series-vertical",""],decls:3,vars:3,consts:[[4,"ngIf"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar","","ngx-tooltip","",3,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(c,a){1&c&&(n.YNc(0,Z5,2,2,"g",0),n.YNc(1,d7,2,2,"g",0),n.YNc(2,Qa,2,2,"g",0)),2&c&&(n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR),n.xp6(1),n.Q6J("ngIf",a.showDataLabel))},directives:[Dp,$u,i.O5,i.sg,o1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class Ip extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getXScale(){this.xDomain=this.getXDomain();const c=this.xDomain.length/(this.dims.width/this.barPadding+1);return v1().range([0,this.dims.width]).paddingInner(c).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const c=Ml().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?c.nice():c}getXDomain(){return this.results.map(c=>c.label)}getYDomain(){const c=this.results.map(G=>G.value);let a=this.yScaleMin?Math.min(this.yScaleMin,...c):Math.min(0,...c);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(a=Math.min(a,...this.yAxisTicks));let T=this.yScaleMax?Math.max(this.yScaleMax,...c):Math.max(0,...c);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(T=Math.max(T,...this.yAxisTicks)),[a,T]}onClick(c){this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.xDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.xDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.yDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onDataLabelMaxHeightChanged(c){c.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,c.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,c.size.height),c.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name),!(this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series)>-1)&&(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name);const T=this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series);this.activeEntries.splice(T,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}}Ip.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Ip)))(a||Ip)}}(),Ip.\u0275cmp=n.Xpm({type:Ip,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,!0)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,ul,1,11,"g",2),n.YNc(3,J5,1,9,"g",3),n.TgZ(4,"g",4),n.NdJ("activate",function(G){return a.onActivate(G)})("deactivate",function(G){return a.onDeactivate(G)})("select",function(G){return a.onClick(G)})("dataLabelHeightChanged",function(G){return a.onDataLabelMaxHeightChanged(G)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(22,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("xScale",a.xScale)("yScale",a.yScale)("colors",a.colors)("series",a.results)("dims",a.dims)("gradient",a.gradient)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("showDataLabel",a.showDataLabel)("dataLabelFormatting",a.dataLabelFormatting)("activeEntries",a.activeEntries)("roundEdges",a.roundEdges)("animations",a.animations)("noBarWhenZero",a.noBarWhenZero))},directives:[zl,C2,sa,K3,i.O5],styles:[H1],encapsulation:2,changeDetection:0});class Ku extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.scaleType=zn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=Gl,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.groupScale=this.getGroupScale(),this.innerScale=this.getInnerScale(),this.valueScale=this.getValueScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}onDataLabelMaxHeightChanged(c,a){c.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,c.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,c.size.height),a===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const c=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return v1().rangeRound([0,this.dims.width]).paddingInner(c).paddingOuter(c/2).domain(this.groupDomain)}getInnerScale(){const c=this.groupScale.bandwidth(),a=this.innerDomain.length/(c/this.barPadding+1);return v1().rangeRound([0,c]).paddingInner(a).domain(this.innerDomain)}getValueScale(){const c=Ml().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?c.nice():c}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getValueDomain(){const c=[];for(const G of this.results)for(const ce of G.series)c.includes(ce.value)||c.push(ce.value);return[Math.min(0,...c),this.yScaleMax?Math.max(this.yScaleMax,...c):Math.max(0,...c)]}groupTransform(c){return`translate(${this.groupScale(c.label)}, 0)`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}Ku.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Ku)))(a||Ku)}}(),Ku.\u0275cmp=n.Xpm({type:Ku,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n._UZ(2,"g",2),n.YNc(3,Wf,1,10,"g",3),n.YNc(4,Rg,1,9,"g",4),n.YNc(5,h7,2,2,"g",5),n.qZA(),n.YNc(6,f7,2,2,"g",5),n.qZA()),2&c&&(n.Q6J("view",n.WLB(15,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("xScale",a.groupScale)("yScale",a.valueScale)("data",a.results)("dims",a.dims)("orient",a.barOrientation.Vertical),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,u0,C2,sa,K3,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class Ap extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.valueDomain=[0,100],this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.isSSR=!1,this.barChartType=a1,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getXScale(){const c=this.groupDomain.length/(this.dims.width/this.barPadding+1);return v1().rangeRound([0,this.dims.width]).paddingInner(c).domain(this.groupDomain)}getYScale(){const c=Ml().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?c.nice():c}groupTransform(c){return`translate(${this.xScale(c.name)}, 0)`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}Ap.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Ap)))(a||Ap)}}(),Ap.\u0275cmp=n.Xpm({type:Ap,selectors:[["ngx-charts-bar-vertical-normalized"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","seriesName","animations","noBarWhenZero","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,e8,1,9,"g",2),n.YNc(3,t8,1,9,"g",3),n.YNc(4,n6,2,2,"g",4),n.YNc(5,n8,2,2,"g",4),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(10,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,C2,sa,K3,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class P4 extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barChartType=a1,this.trackBy=(c,a)=>a.name}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.showDataLabel&&(this.dims.height-=this.dataLabelMaxHeight.negative),this.formatDates(),this.groupDomain=this.getGroupDomain(),this.innerDomain=this.getInnerDomain(),this.valueDomain=this.getValueDomain(),this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]+this.dataLabelMaxHeight.negative})`}getGroupDomain(){const c=[];for(const a of this.results)c.includes(a.label)||c.push(a.label);return c}getInnerDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.label)||c.push(T.label);return c}getValueDomain(){const c=[];let a=0,T=0;for(const ve of this.results){let Ne=0,tt=0;for(const ut of ve.series)ut.value<0?Ne+=ut.value:tt+=ut.value,a=ut.value<a?ut.value:a,T=ut.value>T?ut.value:T;c.push(Ne),c.push(tt)}c.push(a),c.push(T);return[Math.min(0,...c),this.yScaleMax?Math.max(this.yScaleMax,...c):Math.max(...c)]}getXScale(){const c=this.groupDomain.length/(this.dims.width/this.barPadding+1);return v1().rangeRound([0,this.dims.width]).paddingInner(c).domain(this.groupDomain)}getYScale(){const c=Ml().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?c.nice():c}onDataLabelMaxHeightChanged(c,a){c.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,c.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,c.size.height),a===this.results.length-1&&setTimeout(()=>this.update())}groupTransform(c){return`translate(${this.xScale(c.name)||0}, 0)`}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){let c;c=this.schemeType===zn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.innerDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.valueDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}P4.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(P4)))(a||P4)}}(),P4.\u0275cmp=n.Xpm({type:P4,selectors:[["ngx-charts-bar-vertical-stacked"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"type","xScale","yScale","activeEntries","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,void 0,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,void 0,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,i8,1,10,"g",2),n.YNc(3,r8,1,9,"g",3),n.YNc(4,o8,2,2,"g",4),n.qZA(),n.YNc(5,Ng,2,2,"g",4),n.qZA()),2&c&&(n.Q6J("view",n.WLB(10,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,C2,sa,K3,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1,transform:"*"}),(0,an.jt)(500,(0,an.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0});class Z3{}Z3.\u0275fac=function(c){return new(c||Z3)},Z3.\u0275mod=n.oAB({type:Z3,declarations:[Dp,g0,ha,m0,pf,Ip,Ku,Ap,P4,$u,ff,K3],imports:[Ra],exports:[Dp,g0,ha,m0,pf,Ip,Ku,Ap,P4,$u,ff,K3]}),Z3.\u0275inj=n.cJS({imports:[[Ra]]});const P7=i0();class d6{constructor(c,a){this.cd=a,this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.BarOrientation=Gl,this.initialized=!1,this.hasGradient=!1,this.hideBar=!1,this.nativeElm=c.nativeElement}ngOnChanges(c){this.initialized?this.update():(this.loadAnimation(),this.initialized=!0)}update(){this.boxStrokeWidth=Math.max(this.strokeWidth,1),this.whiskerStrokeWidth=Math.max(this.strokeWidth/2,1),this.medianLineWidth=1.5*this.strokeWidth,this.gradientId="grad"+j1().toString(),this.gradientFill=`url(#${this.gradientId})`,this.gradient?(this.gradientStops=this.getGradient(),this.hasGradient=!0):this.hasGradient=!1,this.updateLineEl(),this.updatePathEl(),this.checkToHideBar(),this.maskLineId="mask"+j1().toString(),this.maskLine=`url(#${this.maskLineId})`,this.cd&&this.cd.markForCheck()}loadAnimation(){this.boxPath=this.oldPath=this.getStartingPath(),this.oldLineCoordinates=this.getStartingLineCoordinates(),setTimeout(this.update.bind(this),100)}updatePathEl(){const c=Ui(this.nativeElm).selectAll(".bar"),a=this.getPath();this.animations?c.attr("d",this.oldPath).transition().ease($h).duration(500).attrTween("d",this.pathTween(a,4)):c.attr("d",a),this.oldPath=a}updateLineEl(){const c=Ui(this.nativeElm).selectAll(".bar-line"),a=this.lineCoordinates,T=this.oldLineCoordinates;this.animations?c.attr("x1",(G,ce)=>T[ce].v1.x).attr("y1",(G,ce)=>T[ce].v1.y).attr("x2",(G,ce)=>T[ce].v2.x).attr("y2",(G,ce)=>T[ce].v2.y).transition().ease($h).duration(500).attr("x1",(G,ce)=>a[ce].v1.x).attr("y1",(G,ce)=>a[ce].v1.y).attr("x2",(G,ce)=>a[ce].v2.x).attr("y2",(G,ce)=>a[ce].v2.y):c.attr("x1",(G,ce)=>a[ce].v1.x).attr("y1",(G,ce)=>a[ce].v1.y).attr("x2",(G,ce)=>a[ce].v2.x).attr("y2",(G,ce)=>a[ce].v2.y),this.oldLineCoordinates=[...a]}lineTween(c,a,T,G){return G[T][c].baseVal.value}pathTween(c,a){return function(){const T=this,G=this.cloneNode();G.setAttribute("d",c);const ce=null==T?void 0:T.getTotalLength(),ve=null==G?void 0:G.getTotalLength(),Ne=[0];let tt=0;const ut=a/Math.max(ce,ve);for(;tt<1;)Ne.push(tt),tt+=ut;Ne.push(1);const Ct=Ne.map(qt=>{const At=T.getPointAtLength(qt*ce),jn=G.getPointAtLength(qt*ve);return Ze([At.x,At.y],[jn.x,jn.y])});return qt=>qt<1?"M"+Ct.map(At=>At(qt)).join("L"):c}}getStartingPath(){if(!this.animations)return this.getPath();const c=this.roundEdges?1:0,{x:a,y:T}=this.lineCoordinates[2].v1;return _h(a-this.width,T-1,this.width,2,c,this.edges)}getPath(){const c=this.getRadius();let a="";return a=_h(this.x,this.y,this.width,this.height,Math.min(this.height,c),this.edges),a}getStartingLineCoordinates(){if(!this.animations)return[...this.lineCoordinates];const c=P7(this.lineCoordinates);return c[1].v1.y=c[1].v2.y=c[3].v1.y=c[3].v2.y=c[0].v1.y=c[0].v2.y=c[2].v1.y,c}getRadius(){let c=0;return this.roundEdges&&this.height>5&&this.width>5&&(c=Math.floor(Math.min(5,this.height/2,this.width/2))),c}getGradient(){return[{offset:0,color:this.fill,opacity:this.getStartOpacity()},{offset:100,color:this.fill,opacity:1}]}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let c=[!1,!1,!1,!1];return this.roundEdges&&(c=[!0,!0,!0,!0]),c}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&0===this.height}}d6.\u0275fac=function(c){return new(c||d6)(n.Y36(n.SBq),n.Y36(n.sBO))},d6.\u0275cmp=n.Xpm({type:d6,selectors:[["g","ngx-charts-box",""]],hostBindings:function(c,a){1&c&&n.NdJ("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(){return a.onMouseLeave()})},inputs:{strokeColor:"strokeColor",strokeWidth:"strokeWidth",fill:"fill",data:"data",width:"width",height:"height",x:"x",y:"y",lineCoordinates:"lineCoordinates",roundEdges:"roundEdges",gradient:"gradient",gradientStops:"gradientStops",offset:"offset",isActive:"isActive",animations:"animations",ariaLabel:"ariaLabel",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-box",""],decls:9,vars:13,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["height","100%","width","100%","fill","white","fill-opacity","1"],["fill","black","fill-opacity","1",1,"bar"],["role","img","tabIndex","-1",1,"bar",3,"click"],["class","bar-line","fill","none",3,"hidden",4,"ngFor","ngForOf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["fill","none",1,"bar-line"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"defs"),n.YNc(1,i6,1,3,"g",0),n.TgZ(2,"mask")(3,"g"),n._UZ(4,"rect",1)(5,"path",2),n.qZA()()(),n.TgZ(6,"g")(7,"path",3),n.NdJ("click",function(){return a.select.emit(a.data)}),n.qZA(),n.YNc(8,p7,1,9,"line",4),n.qZA()),2&c&&(n.xp6(1),n.Q6J("ngIf",a.hasGradient),n.xp6(1),n.uIk("id",a.maskLineId),n.xp6(3),n.uIk("d",a.boxPath),n.xp6(2),n.ekj("active",a.isActive)("hidden",a.hideBar),n.uIk("d",a.boxPath)("stroke",a.strokeColor)("stroke-width",a.boxStrokeWidth)("aria-label",a.ariaLabel)("fill",a.hasGradient?a.gradientFill:a.fill),n.xp6(1),n.Q6J("ngForOf",a.lineCoordinates))},directives:[F1,i.O5,i.sg],encapsulation:2,changeDetection:0});class ku{constructor(){this.animations=!0,this.tooltipDisabled=!1,this.gradient=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe}ngOnChanges(c){this.update()}onClick(c){this.select.emit(c)}update(){this.updateTooltipSettings();const c=this.series&&this.series.series.length?Math.round(this.xScale.bandwidth()):null,a=this.series.name;this.counts=this.series.series;const T=this.counts.map(Ct=>Number(Ct.value));this.whiskers=[B3(T),Uu(T)];const G=this.counts.map(Ct=>Ct.value).sort((Ct,qt)=>Number(Ct)-Number(qt));this.quartiles=this.getBoxQuantiles(G),this.lineCoordinates=this.getLinesCoordinates(a.toString(),this.whiskers,this.quartiles,c);const ce=this.quartiles[1],ve=Xd(a),Ne={value:ce,data:this.counts,label:a,formattedLabel:ve,width:c,height:0,x:0,y:0,roundEdges:this.roundEdges,quartiles:this.quartiles,lineCoordinates:this.lineCoordinates};Ne.height=Math.abs(this.yScale(this.quartiles[0])-this.yScale(this.quartiles[2])),Ne.x=this.xScale(a.toString()),Ne.y=this.yScale(this.quartiles[2]),Ne.ariaLabel=ve+" - Median: "+ce.toLocaleString(),this.colors.scaleType===zn.Ordinal?Ne.color=this.colors.getColor(a):(Ne.color=this.colors.getColor(this.quartiles[1]),Ne.gradientStops=this.colors.getLinearGradientStops(this.quartiles[0],this.quartiles[2]));const ut=`\n    <span class="tooltip-label">${Fc(ve)}</span>\n    <span class="tooltip-val">\n      \u2022 Q1: ${this.quartiles[0]} \u2022 Q2: ${this.quartiles[1]} \u2022 Q3: ${this.quartiles[2]}<br>\n      \u2022 Min: ${this.whiskers[0]} \u2022 Max: ${this.whiskers[1]}\n    </span>`;Ne.tooltipText=this.tooltipDisabled?void 0:ut,this.tooltipTitle=this.tooltipDisabled?void 0:Ne.tooltipText,this.box=Ne}getBoxQuantiles(c){return[Fh(c,.25),Fh(c,.5),Fh(c,.75)]}getLinesCoordinates(c,a,T,G){const ve=this.xScale(c)+G/2,Ne=Math.max(G+4*this.strokeWidth,1),tt=Math.max(G/3,1),ut=this.yScale(a[0]),Ct=this.yScale(a[1]),qt=this.yScale(T[1]);return[{v1:{x:ve,y:ut},v2:{x:ve,y:Ct}},{v1:{x:ve+tt/2,y:ut},v2:{x:ve-tt/2,y:ut}},{v1:{x:ve+Ne/2,y:qt},v2:{x:ve-Ne/2,y:qt}},{v1:{x:ve+tt/2,y:Ct},v2:{x:ve-tt/2,y:Ct}}]}updateTooltipSettings(){this.tooltipDisabled?(this.tooltipPlacement=void 0,this.tooltipType=void 0):(this.tooltipPlacement||(this.tooltipPlacement=bs.Top),this.tooltipType||(this.tooltipType=hl.tooltip))}}ku.\u0275fac=function(c){return new(c||ku)},ku.\u0275cmp=n.Xpm({type:ku,selectors:[["g","ngx-charts-box-series",""]],inputs:{dims:"dims",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",animations:"animations",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",tooltipPlacement:"tooltipPlacement",tooltipType:"tooltipType",roundEdges:"roundEdges",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-box-series",""],decls:1,vars:22,consts:[["ngx-charts-box","","ngx-tooltip","",3,"width","height","x","y","roundEdges","fill","gradientStops","strokeColor","strokeWidth","data","lineCoordinates","gradient","ariaLabel","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","animations","select","activate","deactivate"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0),n.NdJ("select",function(G){return a.onClick(G)})("activate",function(G){return a.activate.emit(G)})("deactivate",function(G){return a.deactivate.emit(G)}),n.qZA()),2&c&&n.Q6J("@animationState","active")("@.disabled",!a.animations)("width",a.box.width)("height",a.box.height)("x",a.box.x)("y",a.box.y)("roundEdges",a.box.roundEdges)("fill",a.box.color)("gradientStops",a.box.gradientStops)("strokeColor",a.strokeColor)("strokeWidth",a.strokeWidth)("data",a.box.data)("lineCoordinates",a.box.lineCoordinates)("gradient",a.gradient)("ariaLabel",a.box.ariaLabel)("tooltipDisabled",a.tooltipDisabled)("tooltipPlacement",a.tooltipPlacement)("tooltipType",a.tooltipType)("tooltipTitle",a.tooltipTitle)("tooltipTemplate",a.tooltipTemplate)("tooltipContext",a.box.data)("animations",a.animations)},directives:[d6,o1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class Qf extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendPosition=bc.Right,this.legendTitle="Legend",this.showGridLines=!0,this.xAxis=!0,this.yAxis=!0,this.showXAxisLabel=!0,this.showYAxisLabel=!0,this.roundDomains=!1,this.roundEdges=!0,this.strokeColor="#FFFFFF",this.strokeWidth=2,this.tooltipDisabled=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0}trackBy(c,a){return a.name}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendPosition:this.legendPosition}),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}setColors(){let c=[];c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}setScales(){this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height)}getXScale(c,a){return v1().domain(c.map(G=>G.toString())).rangeRound([0,a]).padding(.5)}getYScale(c,a){const T=Ml().domain(c).range([a,0]);return this.roundDomains?T.nice():T}getUniqueBoxChartXDomainValues(c){const a=new Set;for(const T of c)a.add(T.name);return Array.from(a)}getXDomain(){let c=[];const a=this.getUniqueBoxChartXDomainValues(this.results);let T,G;if("string"==typeof a[0])c=a.map(ce=>ce.toString());else if("number"==typeof a[0]){const ce=a.map(ve=>Number(ve));T=Math.min(...ce),G=Math.max(...ce),c=[T,G]}else{const ce=a.map(ve=>Number(new Date(ve)));T=Math.min(...ce),G=Math.max(...ce),c=[new Date(T),new Date(G)]}return c}getYDomain(){const c=[];for(const ve of this.results)for(const Ne of ve.series)c.indexOf(Ne.value)<0&&c.push(Ne.value);const T=[...c].map(ve=>Number(ve));return[Math.min(...T),Math.max(...T)]}getSeriesDomain(){return this.results.map(c=>`${c.name}`)}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onClick(c){this.select.emit(c)}onActivate(c){this.activate.emit(c)}onDeactivate(c){this.deactivate.emit(c)}getLegendOptions(){const c={scaleType:this.schemeType,colors:this.colors,domain:[],position:this.legendPosition,title:this.legendTitle};return this.schemeType===zn.Ordinal?(c.domain=this.xDomain,c.colors=this.colors):(c.domain=this.yDomain,c.colors=this.colors.scale),c}}Qf.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Qf)))(a||Qf)}}(),Qf.\u0275cmp=n.Xpm({type:Qf,selectors:[["ngx-charts-box-chart"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendPosition:"legendPosition",legendTitle:"legendTitle",legendOptionsConfig:"legendOptionsConfig",showGridLines:"showGridLines",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",roundDomains:"roundDomains",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",roundEdges:"roundEdges",strokeColor:"strokeColor",strokeWidth:"strokeWidth",tooltipDisabled:"tooltipDisabled",gradient:"gradient"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:21,consts:[[3,"view","showLegend","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"box-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","dims","yScale","showLabel","labelText","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-box-series","",3,"xScale","yScale","colors","roundEdges","strokeColor","strokeWidth","tooltipDisabled","tooltipTemplate","series","dims","animations","gradient","activate","deactivate","select"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"g",1)(2,"g",2),n.NdJ("dimensionsChanged",function(G){return a.updateXAxisHeight(G)}),n.qZA(),n.TgZ(3,"g",3),n.NdJ("dimensionsChanged",function(G){return a.updateYAxisWidth(G)}),n.qZA()(),n.TgZ(4,"g"),n.YNc(5,r1,2,12,"g",4),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(18,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("showGridLines",a.showGridLines)("dims",a.dims)("xScale",a.xScale)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel),n.xp6(1),n.Q6J("showGridLines",a.showGridLines)("dims",a.dims)("yScale",a.yScale)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy))},directives:[zl,C2,sa,ku,i.sg],styles:[H1],encapsulation:2,changeDetection:0});class gf{}function Sl(g,c,a,T,G){let ce=[];if(c===zn.Linear&&(g=g.map(ve=>Number(ve)),a||g.push(0)),c===zn.Time||c===zn.Linear){ce=[T||0===T?T:Math.min(...g),G||Math.max(...g)]}else ce=g;return ce}function Jg(g,c,a,T){switch(a){case zn.Time:return N1().range(c).domain(g);case zn.Linear:{const G=Ml().range(c).domain(g);return T?G.nice():G}case zn.Ordinal:return v3().range([c[0],c[1]]).domain(g.map(G=>G.toString()));default:return}}gf.\u0275fac=function(c){return new(c||gf)},gf.\u0275mod=n.oAB({type:gf,declarations:[Qf,ku,d6],imports:[Ra],exports:[Qf,ku,d6]}),gf.\u0275inj=n.cJS({imports:[[Ra]]});class Zu{constructor(c){this.platformId=c,this.tooltipDisabled=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.placementTypes=bs,this.styleTypes=hl,this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(c){this.update()}update(){this.circles=this.getCircles()}getCircles(){const c=this.data.name;return this.data.series.map((a,T)=>{if(void 0!==a.y&&void 0!==a.x){const G=a.y,ce=a.x,ve=a.r,Ne=this.rScale(ve||1),tt=Xd(a.name),ut=this.xScaleType===zn.Linear?this.xScale(Number(ce)):this.xScale(ce),Ct=this.yScaleType===zn.Linear?this.yScale(Number(G)):this.yScale(G),qt=this.colors.scaleType===zn.Linear?this.colors.getColor(ve):this.colors.getColor(c),At=!this.activeEntries.length||this.isActive({name:c}),jn=At?1:.3;return{data:Object.assign({},a,{series:c,name:a.name,value:a.y,x:a.x,radius:a.r}),x:ce,y:G,r:ve,classNames:[`circle-data-${T}`],value:G,label:ce,cx:ut,cy:Ct,radius:Ne,tooltipLabel:tt,color:qt,opacity:jn,seriesName:c,isActive:At,transform:`translate(${ut},${Ct})`}}}).filter(a=>void 0!==a)}getTooltipText(c){const a=void 0!==c.r,T=c.tooltipLabel&&c.tooltipLabel.length,G=c.seriesName&&c.seriesName.length,ce=a?Xd(c.r):"",ve=this.xAxisLabel&&""!==this.xAxisLabel?`${this.xAxisLabel}:`:"",Ne=this.yAxisLabel&&""!==this.yAxisLabel?`${this.yAxisLabel}:`:"",tt=Xd(c.x),ut=Xd(c.y),Ct=G&&T?`${c.seriesName} \u2022 ${c.tooltipLabel}`:c.seriesName+c.tooltipLabel;return`\n      ${G||T?`<span class="tooltip-label">${Fc(Ct)}</span>`:""}\n      <span class="tooltip-label">\n        <label>${Fc(ve)}</label> ${Fc(tt)}<br />\n        <label>${Fc(Ne)}</label> ${Fc(ut)}\n      </span>\n      <span class="tooltip-val">\n        ${Fc(ce)}\n      </span>\n    `}onClick(c){this.select.emit(c)}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name)}isVisible(c){return this.activeEntries.length>0?this.isActive({name:c.seriesName}):0!==c.opacity}activateCircle(c){c.barVisible=!0,this.activate.emit({name:this.data.name})}deactivateCircle(c){c.barVisible=!1,this.deactivate.emit({name:this.data.name})}trackBy(c,a){return`${a.data.series} ${a.data.name}`}}Zu.\u0275fac=function(c){return new(c||Zu)(n.Y36(n.Lbi))},Zu.\u0275cmp=n.Xpm({type:Zu,selectors:[["g","ngx-charts-bubble-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",rScale:"rScale",xScaleType:"xScaleType",yScaleType:"yScaleType",colors:"colors",visibleValue:"visibleValue",activeEntries:"activeEntries",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-bubble-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","active","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngIf"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","pointerEvents","data","classNames","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(c,a){1&c&&n.YNc(0,xm,4,3,"g",0),2&c&&n.Q6J("ngForOf",a.circles)("ngForTrackBy",a.trackBy)},directives:[df,i.sg,i.O5,o1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":enter",[(0,an.oB)({opacity:0,transform:"scale(0)"}),(0,an.jt)(250,(0,an.oB)({opacity:1,transform:"scale(1)"}))])])]},changeDetection:0});class X3 extends Zi{constructor(){super(...arguments),this.showGridLines=!0,this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.xAxis=!0,this.yAxis=!0,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.maxRadius=10,this.minRadius=3,this.schemeType=zn.Ordinal,this.tooltipDisabled=!1,this.activate=new n.vpe,this.deactivate=new n.vpe,this.scaleType=zn.Linear,this.margin=[10,20,10,20],this.bubblePadding=[0,0,0,0],this.xAxisHeight=0,this.yAxisWidth=0,this.activeEntries=[],this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.seriesDomain=this.results.map(a=>a.name),this.rDomain=this.getRDomain(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.transform=`translate(${this.dims.xOffset},${this.margin[0]})`;const c=this.schemeType===zn.Ordinal?this.seriesDomain:this.rDomain;this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors),this.data=this.results,this.minRadius=Math.max(this.minRadius,1),this.maxRadius=Math.max(this.maxRadius,1),this.rScale=this.getRScale(this.rDomain,[this.minRadius,this.maxRadius]),this.bubblePadding=[0,0,0,0],this.setScales(),this.bubblePadding=this.getBubblePadding(),this.setScales(),this.legendOptions=this.getLegendOptions(),this.clipPathId="clip"+j1().toString(),this.clipPath=`url(#${this.clipPathId})`}hideCircles(){this.deactivateAll()}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}getBubblePadding(){let c=0,a=0,T=this.dims.height,G=this.dims.width;for(const ce of this.data)for(const ve of ce.series){const Ne=this.rScale(ve.r),tt=this.xScaleType===zn.Linear?this.xScale(Number(ve.x)):this.xScale(ve.x),ut=this.yScaleType===zn.Linear?this.yScale(Number(ve.y)):this.yScale(ve.y);a=Math.max(Ne-tt,a),c=Math.max(Ne-ut,c),T=Math.max(ut+Ne,T),G=Math.max(tt+Ne,G)}return G=Math.max(G-this.dims.width,0),T=Math.max(T-this.dims.height,0),[c,G,T,a]}setScales(){let c=this.dims.width;void 0===this.xScaleMin&&void 0===this.xScaleMax&&(c-=this.bubblePadding[1]);let a=this.dims.height;void 0===this.yScaleMin&&void 0===this.yScaleMax&&(a-=this.bubblePadding[2]),this.xScale=this.getXScale(this.xDomain,c),this.yScale=this.getYScale(this.yDomain,a)}getYScale(c,a){return Jg(c,[a,this.bubblePadding[0]],this.yScaleType,this.roundDomains)}getXScale(c,a){return Jg(c,[this.bubblePadding[3],a],this.xScaleType,this.roundDomains)}getRScale(c,a){const T=Ml().range(a).domain(c);return this.roundDomains?T.nice():T}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],position:this.legendPosition,title:void 0};return c.scaleType===zn.Ordinal?(c.domain=this.seriesDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.rDomain,c.colors=this.colors.scale),c}getXDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.x)||c.push(T.x);return this.xScaleType=Jd(c),Sl(c,this.xScaleType,this.autoScale,this.xScaleMin,this.xScaleMax)}getYDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.y)||c.push(T.y);return this.yScaleType=Jd(c),Sl(c,this.yScaleType,this.autoScale,this.yScaleMin,this.yScaleMax)}getRDomain(){let c=1/0,a=-1/0;for(const T of this.results)for(const G of T.series){const ce=Number(G.r)||1;c=Math.min(c,ce),a=Math.max(a,ce)}return[c,a]}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name)>-1||(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}trackBy(c,a){return`${a.name}`}}X3.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(X3)))(a||X3)}}(),X3.\u0275cmp=n.Xpm({type:X3,selectors:[["ngx-charts-bubble-chart"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},hostBindings:function(c,a){1&c&&n.NdJ("mouseleave",function(){return a.hideCircles()})},inputs:{showGridLines:"showGridLines",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",maxRadius:"maxRadius",minRadius:"minRadius",autoScale:"autoScale",schemeType:"schemeType",tooltipDisabled:"tooltipDisabled",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:10,vars:19,consts:[[3,"view","showLegend","activeEntries","legendOptions","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bubble-chart","chart"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["x","0","y","0",1,"bubble-chart-area",2,"fill","rgb(255, 0, 0)","opacity","0","cursor","auto",3,"mouseenter"],[4,"ngIf"],["ngx-charts-x-axis","",3,"showGridLines","dims","xScale","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"showGridLines","yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bubble-series","",3,"xScale","yScale","rScale","xScaleType","yScaleType","xAxisLabel","yAxisLabel","colors","data","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"defs")(2,"clipPath"),n._UZ(3,"rect"),n.qZA()(),n.TgZ(4,"g",1),n.YNc(5,a8,1,10,"g",2),n.YNc(6,t5,1,9,"g",3),n.TgZ(7,"rect",4),n.NdJ("mouseenter",function(){return a.deactivateAll()}),n.qZA(),n.YNc(8,m7,2,3,"g",5),n.YNc(9,v7,2,3,"g",5),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(16,vc,a.width,a.height))("showLegend",a.legend)("activeEntries",a.activeEntries)("legendOptions",a.legendOptions)("animations",a.animations),n.xp6(2),n.uIk("id",a.clipPathId),n.xp6(1),n.uIk("width",a.dims.width+10)("height",a.dims.height+10)("transform","translate(-5, -5)"),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.uIk("width",a.dims.width)("height",a.dims.height),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,C2,sa,Zu,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class ep{}ep.\u0275fac=function(c){return new(c||ep)},ep.\u0275mod=n.oAB({type:ep,declarations:[X3,Zu],imports:[Ra],exports:[X3,Zu]}),ep.\u0275inj=n.cJS({imports:[[Ra]]});class w2{constructor(c){this.gradient=!1,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.barOrientation=Gl,this.element=c.nativeElement}ngOnChanges(c){this.transform=`translate(${this.x} , ${this.y})`,this.startOpacity=.3,this.gradientId="grad"+j1().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops(),this.animations&&this.loadAnimation()}getGradientStops(){return[{offset:0,color:this.fill,opacity:this.startOpacity},{offset:100,color:this.fill,opacity:1}]}loadAnimation(){Ui(this.element).select(".cell").attr("opacity",0),this.animateToCurrentForm()}animateToCurrentForm(){Ui(this.element).select(".cell").transition().duration(750).attr("opacity",1)}onClick(){this.select.emit(this.data)}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}}w2.\u0275fac=function(c){return new(c||w2)(n.Y36(n.SBq))},w2.\u0275cmp=n.Xpm({type:w2,selectors:[["g","ngx-charts-heat-map-cell",""]],hostBindings:function(c,a){1&c&&n.NdJ("mouseenter",function(){return a.onMouseEnter()})("mouseleave",function(){return a.onMouseLeave()})},inputs:{fill:"fill",x:"x",y:"y",width:"width",height:"height",data:"data",gradient:"gradient",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-heat-map-cell",""],decls:3,vars:5,consts:[[1,"cell"],[4,"ngIf"],["rx","3",1,"cell",3,"click"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0),n.YNc(1,n5,2,3,"defs",1),n.TgZ(2,"rect",2),n.NdJ("click",function(){return a.onClick()}),n.qZA()()),2&c&&(n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.gradient),n.xp6(1),n.uIk("fill",a.gradient?a.gradientUrl:a.fill)("width",a.width)("height",a.height))},directives:[F1,i.O5],encapsulation:2,changeDetection:0});class u6{constructor(){this.tooltipDisabled=!1,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.placementTypes=bs,this.styleTypes=hl}ngOnInit(){this.tooltipText||(this.tooltipText=this.getTooltipText)}ngOnChanges(c){this.update()}update(){this.cells=this.getCells()}getCells(){const c=[];return this.data.map(a=>{a.series.map(T=>{const G=T.value;T.series=a.name,c.push({row:a,cell:T,x:this.xScale(a.name),y:this.yScale(T.name),width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:this.colors.getColor(G),data:G,label:Xd(T.name),series:a.name})})}),c}getTooltipText({label:c,data:a,series:T}){return`\n      <span class="tooltip-label">${Fc(T)} \u2022 ${Fc(c)}</span>\n      <span class="tooltip-val">${a.toLocaleString()}</span>\n    `}trackBy(c,a){return a.label}onClick(c){this.select.emit(c)}}u6.\u0275fac=function(c){return new(c||u6)},u6.\u0275cmp=n.Xpm({type:u6,selectors:[["g","ngx-charts-heat-map-cell-series",""]],inputs:{data:"data",colors:"colors",xScale:"xScale",yScale:"yScale",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-heat-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-heat-map-cell","","ngx-tooltip","",3,"x","y","width","height","fill","data","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(c,a){1&c&&n.YNc(0,Tu,1,18,"g",0),2&c&&n.Q6J("ngForOf",a.cells)("ngForTrackBy",a.trackBy)},directives:[w2,i.sg,o1],encapsulation:2,changeDetection:0});class z4 extends Zi{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=bc.Right,this.innerPadding=8,this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.tooltipDisabled=!1,this.activeEntries=[],this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.scaleType=zn.Linear}update(){if(super.update(),this.formatDates(),this.xDomain=this.getXDomain(),this.yDomain=this.getYDomain(),this.valueDomain=this.getValueDomain(),this.scaleType=Jd(this.valueDomain,!1),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.scaleType,legendPosition:this.legendPosition}),this.scaleType===zn.Linear){let c=this.min,a=this.max;this.min||(c=Math.min(0,...this.valueDomain)),this.max||(a=Math.max(...this.valueDomain)),this.valueDomain=[c,a]}this.xScale=this.getXScale(),this.yScale=this.getYScale(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.rects=this.getRects()}getXDomain(){const c=[];for(const a of this.results)c.includes(a.name)||c.push(a.name);return c}getYDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.name)||c.push(T.name);return c}getValueDomain(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.value)||c.push(T.value);return c}getDimension(c,a=0,T,G){return"string"==typeof c&&((c=c.replace("[","").replace("]","").replace("px","").replace("'","")).includes(",")&&(c=c.split(","))),Array.isArray(c)&&"number"==typeof a?this.getDimension(c[a],null,T,G):"string"==typeof c&&c.includes("%")?+c.replace("%","")/100:T/(G/+c+1)}getXScale(){const c=this.getDimension(this.innerPadding,0,this.xDomain.length,this.dims.width);return v1().rangeRound([0,this.dims.width]).domain(this.xDomain).paddingInner(c)}getYScale(){const c=this.getDimension(this.innerPadding,1,this.yDomain.length,this.dims.height);return v1().rangeRound([this.dims.height,0]).domain(this.yDomain).paddingInner(c)}getRects(){const c=[];return this.xDomain.map(a=>{this.yDomain.map(T=>{c.push({x:this.xScale(a),y:this.yScale(T),rx:3,width:this.xScale.bandwidth(),height:this.yScale.bandwidth(),fill:"rgba(200,200,200,0.03)"})})}),c}onClick(c){this.select.emit(c)}setColors(){this.colors=new Vc(this.scheme,this.scaleType,this.valueDomain)}getLegendOptions(){return{scaleType:this.scaleType,domain:this.valueDomain,colors:this.scaleType===zn.Ordinal?this.colors:this.colors.scale,title:this.scaleType===zn.Ordinal?this.legendTitle:void 0,position:this.legendPosition}}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name);const ce=this.results.map(ve=>ve.series).flat().filter(ve=>T?ve.label===G.name:ve.name===G.name&&ve.series===G.series);this.activeEntries=[...ce],this.activate.emit({value:G,entries:this.activeEntries})}onDeactivate(c,a,T=!1){const G=Object.assign({},c);a&&(G.series=a.name),this.activeEntries=this.activeEntries.filter(ce=>T?ce.label!==G.name:!(ce.name===G.name&&ce.series===G.series)),this.deactivate.emit({value:G,entries:this.activeEntries})}}z4.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(z4)))(a||z4)}}(),z4.\u0275cmp=n.Xpm({type:z4,selectors:[["ngx-charts-heat-map"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",gradient:"gradient",innerPadding:"innerPadding",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",min:"min",max:"max",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:6,vars:20,consts:[[3,"view","showLegend","animations","legendOptions","legendLabelClick"],[1,"heat-map","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngFor","ngForOf"],["ngx-charts-heat-map-cell-series","",3,"xScale","yScale","colors","data","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","select","activate","deactivate"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,s6,1,9,"g",2),n.YNc(3,jg,1,8,"g",3),n.YNc(4,i5,1,6,"rect",4),n.TgZ(5,"g",5),n.NdJ("select",function(G){return a.onClick(G)})("activate",function(G){return a.onActivate(G,void 0)})("deactivate",function(G){return a.onDeactivate(G,void 0)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",a.legend)("animations",a.animations)("legendOptions",a.legendOptions),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngForOf",a.rects),n.xp6(1),n.Q6J("xScale",a.xScale)("yScale",a.yScale)("colors",a.colors)("data",a.results)("gradient",a.gradient)("animations",a.animations)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("tooltipText",a.tooltipText))},directives:[zl,C2,sa,u6,i.O5,i.sg],styles:[H1],encapsulation:2,changeDetection:0});class as{}as.\u0275fac=function(c){return new(c||as)},as.\u0275mod=n.oAB({type:as,declarations:[w2,u6,z4],imports:[Ra],exports:[w2,u6,z4]}),as.\u0275inj=n.cJS({imports:[[Ra]]});class tp{constructor(c,a){this.element=c,this.platformId=a,this.fill="none",this.animations=!0,this.initialized=!1,this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(c){this.initialized?this.updatePathEl():(this.initialized=!0,this.initialPath=this.path)}updatePathEl(){const c=Ui(this.element.nativeElement).select(".line");this.animations?c.transition().duration(750).attr("d",this.path):c.attr("d",this.path)}}tp.\u0275fac=function(c){return new(c||tp)(n.Y36(n.SBq),n.Y36(n.Lbi))},tp.\u0275cmp=n.Xpm({type:tp,selectors:[["g","ngx-charts-line",""]],inputs:{path:"path",stroke:"stroke",data:"data",fill:"fill",animations:"animations"},features:[n.TTD],attrs:["ngx-charts-line",""],decls:2,vars:2,consts:[[4,"ngIf"],["stroke-width","1.5px",1,"line"]],template:function(c,a){1&c&&(n.YNc(0,Cm,2,4,"g",0),n.YNc(1,r5,2,3,"g",0)),2&c&&(n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[i.O5],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":enter",[(0,an.oB)({strokeDasharray:2e3,strokeDashoffset:2e3}),(0,an.jt)(1e3,(0,an.oB)({strokeDashoffset:0}))])])]},changeDetection:0});class J3{constructor(){this.animations=!0,this.barOrientation=Gl}ngOnChanges(c){this.update()}update(){this.updateGradients();const c=this.sortData(this.data.series),a=this.getLineGenerator();this.path=a(c)||"";const T=this.getAreaGenerator();if(this.areaPath=T(c)||"",this.hasRange){const G=this.getRangeGenerator();this.outerPath=G(c)||""}if(this.hasGradient){this.stroke=this.gradientUrl;const G=this.data.series.map(Ne=>Ne.value),ce=Math.max(...G);ce===Math.min(...G)&&(this.stroke=this.colors.getColor(ce))}else this.stroke=this.colors.getColor(this.data.name)}getLineGenerator(){return Uh().x(c=>{const a=c.name;let T;return T=this.scaleType===zn.Time?this.xScale(a):this.scaleType===zn.Linear?this.xScale(Number(a)):this.xScale(a),T}).y(c=>this.yScale(c.value)).curve(this.curve)}getRangeGenerator(){return _3().x(c=>{const a=c.name;let T;return T=this.scaleType===zn.Time?this.xScale(a):this.scaleType===zn.Linear?this.xScale(Number(a)):this.xScale(a),T}).y0(c=>this.yScale("number"==typeof c.min?c.min:c.value)).y1(c=>this.yScale("number"==typeof c.max?c.max:c.value)).curve(this.curve)}getAreaGenerator(){return _3().x(a=>{const T=a.name;return this.xScale(T)}).y0(()=>this.yScale.range()[0]).y1(a=>this.yScale(a.value)).curve(this.curve)}sortData(c){return c=this.scaleType===zn.Linear?Zg(c,"name"):this.scaleType===zn.Time?Em(c,"name"):Xg(c,"name","asc",this.xScale.domain())}updateGradients(){if(this.colors.scaleType===zn.Linear){this.hasGradient=!0,this.gradientId="grad"+j1().toString(),this.gradientUrl=`url(#${this.gradientId})`;const c=this.data.series.map(G=>G.value),a=Math.max(...c),T=Math.min(...c);this.gradientStops=this.colors.getLinearGradientStops(a,T),this.areaGradientStops=this.colors.getLinearGradientStops(a)}else this.hasGradient=!1,this.gradientStops=void 0,this.areaGradientStops=void 0}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name)}isInactive(c){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(T=>c.name===T.name)}}J3.\u0275fac=function(c){return new(c||J3)},J3.\u0275cmp=n.Xpm({type:J3,selectors:[["g","ngx-charts-line-series",""]],inputs:{data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",hasRange:"hasRange",animations:"animations"},features:[n.TTD],attrs:["ngx-charts-line-series",""],decls:6,vars:22,consts:[["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops",4,"ngIf"],["ngx-charts-area","",1,"line-highlight",3,"data","path","fill","opacity","startOpacity","gradient","stops","animations"],["ngx-charts-line","",1,"line-series",3,"data","path","stroke","animations"],["ngx-charts-area","","class","line-series-range",3,"data","path","fill","active","inactive","opacity","animations",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],["ngx-charts-area","",1,"line-series-range",3,"data","path","fill","opacity","animations"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g")(1,"defs"),n.YNc(2,s5,1,3,"g",0),n.qZA(),n._UZ(3,"g",1)(4,"g",2),n.YNc(5,c8,1,9,"g",3),n.qZA()),2&c&&(n.xp6(2),n.Q6J("ngIf",a.hasGradient),n.xp6(1),n.ekj("active",a.isActive(a.data))("inactive",a.isInactive(a.data)),n.Q6J("data",a.data)("path",a.areaPath)("fill",a.hasGradient?a.gradientUrl:a.colors.getColor(a.data.name))("opacity",.25)("startOpacity",0)("gradient",!0)("stops",a.areaGradientStops)("animations",a.animations),n.xp6(1),n.ekj("active",a.isActive(a.data))("inactive",a.isInactive(a.data)),n.Q6J("data",a.data)("path",a.path)("stroke",a.stroke)("animations",a.animations),n.xp6(1),n.Q6J("ngIf",a.hasRange))},directives:[F1,hf,tp,i.O5],encapsulation:2,changeDetection:0});class Op extends Zi{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=bc.Right,this.showGridLines=!0,this.curve=x4,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showRefLines=!1,this.showRefLabels=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.timelineHeight=50,this.timelinePadding=10,this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition}),this.timeline&&(this.dims.height-=this.timelineHeight+this.margin[2]+this.timelinePadding),this.xDomain=this.getXDomain(),this.filteredDomain&&(this.xDomain=this.filteredDomain),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,this.dims.width),this.yScale=this.getYScale(this.yDomain,this.dims.height),this.updateTimeline(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`,this.clipPathId="clip"+j1().toString(),this.clipPath=`url(#${this.clipPathId})`}updateTimeline(){this.timeline&&(this.timelineWidth=this.dims.width,this.timelineXDomain=this.getXDomain(),this.timelineXScale=this.getXScale(this.timelineXDomain,this.timelineWidth),this.timelineYScale=this.getYScale(this.yDomain,this.timelineHeight),this.timelineTransform=`translate(${this.dims.xOffset}, ${-this.margin[2]})`)}getXDomain(){let c=Lp(this.results);this.scaleType=Jd(c);let T,G,a=[];return this.scaleType===zn.Linear&&(c=c.map(ce=>Number(ce))),(this.scaleType===zn.Time||this.scaleType===zn.Linear)&&(T=this.xScaleMin?this.xScaleMin:Math.min(...c),G=this.xScaleMax?this.xScaleMax:Math.max(...c)),this.scaleType===zn.Time?(a=[new Date(T),new Date(G)],this.xSet=[...c].sort((ce,ve)=>{const Ne=ce.getTime(),tt=ve.getTime();return Ne>tt?1:tt>Ne?-1:0})):this.scaleType===zn.Linear?(a=[T,G],this.xSet=[...c].sort((ce,ve)=>ce-ve)):(a=c,this.xSet=c),a}getYDomain(){const c=[];for(const ce of this.results)for(const ve of ce.series)c.indexOf(ve.value)<0&&c.push(ve.value),void 0!==ve.min&&(this.hasRange=!0,c.indexOf(ve.min)<0&&c.push(ve.min)),void 0!==ve.max&&(this.hasRange=!0,c.indexOf(ve.max)<0&&c.push(ve.max));const a=[...c];this.autoScale||a.push(0);return[this.yScaleMin?this.yScaleMin:Math.min(...a),this.yScaleMax?this.yScaleMax:Math.max(...a)]}getSeriesDomain(){return this.results.map(c=>c.name)}getXScale(c,a){let T;return this.scaleType===zn.Time?T=N1().range([0,a]).domain(c):this.scaleType===zn.Linear?(T=Ml().range([0,a]).domain(c),this.roundDomains&&(T=T.nice())):this.scaleType===zn.Ordinal&&(T=v3().range([0,a]).padding(.1).domain(c)),T}getYScale(c,a){const T=Ml().range([a,0]).domain(c);return this.roundDomains?T.nice():T}updateDomain(c){this.filteredDomain=c,this.xDomain=this.filteredDomain,this.xScale=this.getXScale(this.xDomain,this.dims.width)}updateHoveredVertical(c){this.hoveredVertical=c.value,this.deactivateAll()}hideCircles(){this.hoveredVertical=null,this.deactivateAll()}onClick(c){this.select.emit(c)}trackBy(c,a){return`${a.name}`}setColors(){let c;c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain,this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){const c={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return c.scaleType===zn.Ordinal?(c.domain=this.seriesDomain,c.colors=this.colors,c.title=this.legendTitle):(c.domain=this.yDomain,c.colors=this.colors.scale),c}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.deactivateAll(),!(this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1)&&(this.activeEntries=[c],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}}Op.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Op)))(a||Op)}}(),Op.\u0275cmp=n.Xpm({type:Op,selectors:[["ngx-charts-line-chart"]],contentQueries:function(c,a,T){if(1&c&&(n.Suo(T,n1,5),n.Suo(T,_1,5)),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first),n.iGM(G=n.CRH())&&(a.seriesTooltipTemplate=G.first)}},hostBindings:function(c,a){1&c&&n.NdJ("mouseleave",function(){return a.hideCircles()})},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",timeline:"timeline",gradient:"gradient",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showRefLines:"showRefLines",referenceLines:"referenceLines",showRefLabels:"showRefLabels",xScaleMin:"xScaleMin",xScaleMax:"xScaleMax",yScaleMin:"yScaleMin",yScaleMax:"yScaleMax"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:12,vars:20,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"line-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged",4,"ngIf"],[4,"ngIf"],[3,"mouseleave",4,"ngIf"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange",4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","referenceLines","showRefLines","showRefLabels","dimensionsChanged"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","hasRange","animations"],[3,"mouseleave"],["ngx-charts-tooltip-area","",3,"dims","xSet","xScale","yScale","results","colors","tooltipDisabled","tooltipTemplate","hover"],[4,"ngFor","ngForOf"],["ngx-charts-circle-series","",3,"xScale","yScale","colors","data","scaleType","visibleValue","activeEntries","tooltipDisabled","tooltipTemplate","select","activate","deactivate"],["ngx-charts-timeline","",3,"results","view","height","scheme","customColors","scaleType","legend","onDomainChange"],["ngx-charts-line-series","",3,"xScale","yScale","colors","data","scaleType","curve","hasRange","animations"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"defs")(2,"clipPath"),n._UZ(3,"rect"),n.qZA()(),n.TgZ(4,"g",1),n.YNc(5,a5,1,10,"g",2),n.YNc(6,_7,1,12,"g",3),n.TgZ(7,"g"),n.YNc(8,d8,2,2,"g",4),n.YNc(9,l5,2,2,"g",4),n.YNc(10,Ug,3,9,"g",5),n.qZA()(),n.YNc(11,u8,2,13,"g",6),n.qZA()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(2),n.uIk("id",a.clipPathId),n.xp6(1),n.uIk("width",a.dims.width+10)("height",a.dims.height+10)("transform","translate(-5, -5)"),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.uIk("clip-path",a.clipPath),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR),n.xp6(1),n.Q6J("ngIf",!a.tooltipDisabled),n.xp6(1),n.Q6J("ngIf",a.timeline&&"ordinal"!=a.scaleType))},directives:[zl,C2,sa,J3,Nr,qi,Ha,i.O5,i.sg],styles:[H1],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class mf{}mf.\u0275fac=function(c){return new(c||mf)},mf.\u0275mod=n.oAB({type:mf,declarations:[tp,Op,J3],imports:[Ra],exports:[tp,Op,J3]}),mf.\u0275inj=n.cJS({imports:[[Ra]]});class Q3{constructor(c){this.platformId=c,this.animations=!0,this.labelTrim=!0,this.labelTrimSize=10,this.trimLabel=Mp}ngOnChanges(c){this.setTransforms(),this.update()}setTransforms(){if((0,i.PM)(this.platformId))this.styleTransform=`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=`translate(${this.textX},${this.textY})`,this.textTransition=this.animations?"transform 0.75s":null;else{const c=/(edge|msie|trident)/i.test(navigator.userAgent);this.styleTransform=c?null:`translate3d(${this.textX}px,${this.textY}px, 0)`,this.attrTransform=c?`translate(${this.textX},${this.textY})`:null,this.textTransition=c||!this.animations?null:"transform 0.75s"}}update(){let c=this.radius;this.explodeSlices&&(c=this.radius*this.value/this.max);const T=$a().innerRadius(c).outerRadius(c).centroid(this.data);let G=this.data.pos[1]/T[1];(0===this.data.pos[1]||0===T[1])&&(G=1);const ce=[G*T[0],G*T[1]];this.line=`M${T}L${ce}L${this.data.pos}`}get textX(){return this.data.pos[0]}get textY(){return this.data.pos[1]}textAnchor(){return this.midAngle(this.data)<Math.PI?Tl.Start:Tl.End}midAngle(c){return c.startAngle+(c.endAngle-c.startAngle)/2}}Q3.\u0275fac=function(c){return new(c||Q3)(n.Y36(n.Lbi))},Q3.\u0275cmp=n.Xpm({type:Q3,selectors:[["g","ngx-charts-pie-label",""]],inputs:{data:"data",radius:"radius",label:"label",color:"color",max:"max",value:"value",explodeSlices:"explodeSlices",animations:"animations",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},features:[n.TTD],attrs:["ngx-charts-pie-label",""],decls:6,vars:17,consts:[["dy",".35em",1,"pie-label"],["fill","none",1,"pie-label-line","line"]],template:function(c,a){1&c&&(n.TgZ(0,"title"),n._uU(1),n.qZA(),n.O4$(),n.TgZ(2,"g")(3,"text",0),n._uU(4),n.qZA()(),n._UZ(5,"path",1)),2&c&&(n.xp6(1),n.Oqu(a.label),n.xp6(1),n.Udp("transform",a.styleTransform)("transition",a.textTransition),n.uIk("transform",a.attrTransform),n.xp6(1),n.Udp("text-anchor",a.textAnchor())("shape-rendering","crispEdges"),n.ekj("animation",a.animations),n.xp6(1),n.hij(" ",a.labelTrim?a.trimLabel(a.label,a.labelTrimSize):a.label," "),n.xp6(1),n.ekj("animation",a.animations),n.uIk("d",a.line)("stroke",a.color))},encapsulation:2,changeDetection:0});class h6{constructor(){this.tooltipDisabled=!1,this.gradient=!1,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.circleRadius=3,this.barOrientation=Gl,this.placementTypes=bs,this.styleTypes=hl}ngOnChanges(c){this.update()}update(){this.updateGradients();const c=this.getLineGenerator(),a=this.sortData(this.data.series),T=this.data.name,G=this.colors.scaleType===zn.Linear,ce=this.yScale.domain()[0];this.seriesColor=this.colors.getColor(G?ce:T),this.path=c(a)||"",this.circles=a.map(ve=>{const Ne=this.getAngle(ve),tt=this.getRadius(ve),ut=ve.value,Ct=this.colors.getColor(G?Math.abs(ut):T);return{data:Object.assign({},ve,{series:T,value:ut,name:ve.name}),cx:tt*Math.sin(Ne),cy:-tt*Math.cos(Ne),value:ut,color:Ct,label:ve.name}}),this.active=this.isActive(this.data),this.inactive=this.isInactive(this.data),this.tooltipText=this.tooltipText||(ve=>this.defaultTooltipText(ve))}getAngle(c){const a=c.name;return this.scaleType===zn.Time?this.xScale(a):this.scaleType===zn.Linear?this.xScale(Number(a)):this.xScale(a)}getRadius(c){return this.yScale(c.value)}getLineGenerator(){return Gh().angle(c=>this.getAngle(c)).radius(c=>this.getRadius(c)).curve(this.curve)}sortData(c){return this.scaleType===zn.Linear?Zg(c,"name"):this.scaleType===zn.Time?Em(c,"name"):Xg(c,"name","asc",this.xScale.domain())}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name)}isInactive(c){return!(!this.activeEntries||0===this.activeEntries.length)&&void 0===this.activeEntries.find(T=>c.name===T.name)}defaultTooltipText({label:c,value:a}){return`\n      <span class="tooltip-label">${Fc(this.data.name)} \u2022 ${Fc(c)}</span>\n      <span class="tooltip-val">${a.toLocaleString()}</span>\n    `}updateGradients(){if(this.hasGradient=this.gradient||this.colors.scaleType===zn.Linear,this.hasGradient)if(this.gradientId="grad"+j1().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.colors.scaleType===zn.Linear){const c=this.data.series.map(G=>G.value),a=Math.max(...c),T=Math.min(...c);this.gradientStops=this.colors.getLinearGradientStops(a,T)}else this.gradientStops=void 0}}h6.\u0275fac=function(c){return new(c||h6)},h6.\u0275cmp=n.Xpm({type:h6,selectors:[["g","ngx-charts-polar-series",""]],inputs:{name:"name",data:"data",xScale:"xScale",yScale:"yScale",colors:"colors",scaleType:"scaleType",curve:"curve",activeEntries:"activeEntries",rangeFillOpacity:"rangeFillOpacity",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",gradient:"gradient",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-polar-series",""],decls:5,vars:11,consts:[[1,"polar-charts-series"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops",4,"ngIf"],["ngx-charts-line","",1,"polar-series-path",3,"path","stroke","fill","animations"],["ngx-charts-circle","","class","circle","ngx-tooltip","",3,"cx","cy","r","fill","opacity","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate",4,"ngFor","ngForOf"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity","endOpacity","stops"],["ngx-charts-circle","","ngx-tooltip","",1,"circle",3,"cx","cy","r","fill","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0)(1,"defs"),n.YNc(2,Yg,1,5,"g",1),n.qZA(),n._UZ(3,"g",2),n.YNc(4,Mm,1,12,"g",3),n.qZA()),2&c&&(n.xp6(2),n.Q6J("ngIf",a.hasGradient),n.xp6(1),n.ekj("active",a.active)("inactive",a.inactive),n.Q6J("path",a.path)("stroke",a.hasGradient?a.gradientUrl:a.seriesColor)("fill",a.hasGradient?a.gradientUrl:a.seriesColor)("animations",a.animations),n.uIk("fill-opacity",a.rangeFillOpacity),n.xp6(1),n.Q6J("ngForOf",a.circles))},directives:[Sp,tp,df,i.O5,i.sg,o1],encapsulation:2,changeDetection:0});const f6=2*Math.PI;class p6 extends Zi{constructor(){super(...arguments),this.legendTitle="Legend",this.legendPosition=bc.Right,this.showGridLines=!0,this.curve=hm,this.activeEntries=[],this.rangeFillOpacity=.15,this.trimYAxisTicks=!0,this.maxYAxisTickLength=16,this.roundDomains=!1,this.tooltipDisabled=!1,this.showSeriesOnHover=!0,this.gradient=!1,this.yAxisMinScale=0,this.labelTrim=!0,this.labelTrimSize=10,this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.orientation=G2,this.isSSR=!1}ngOnInit(){(0,i.PM)(this.platformId)&&(this.isSSR=!0)}update(){super.update(),this.setDims(),this.setScales(),this.setColors(),this.legendOptions=this.getLegendOptions(),this.setTicks()}setDims(){this.dims=s1({width:this.width,height:this.height,margins:this.margin,showXAxis:this.xAxis,showYAxis:this.yAxis,xAxisHeight:this.xAxisHeight,yAxisWidth:this.yAxisWidth,showXLabel:this.showXAxisLabel,showYLabel:this.showYAxisLabel,showLegend:this.legend,legendType:this.schemeType,legendPosition:this.legendPosition});const c=Math.floor(this.dims.width/2),a=Math.floor(this.dims.height/2),T=this.outerRadius=Math.min(a/1.5,c/1.5),G=Math.max(0,a-T);this.yAxisDims=Object.assign(Object.assign({},this.dims),{width:c}),this.transform=`translate(${this.dims.xOffset}, ${this.margin[0]})`,this.transformYAxis=`translate(0, ${G})`,this.labelOffset=this.dims.height+40,this.transformPlot=`translate(${c}, ${a})`}setScales(){const c=this.getXValues();this.scaleType=Jd(c),this.xDomain=this.filteredDomain||this.getXDomain(c),this.yDomain=this.getYDomain(),this.seriesDomain=this.getSeriesDomain(),this.xScale=this.getXScale(this.xDomain,f6),this.yScale=this.getYScale(this.yDomain,this.outerRadius),this.yAxisScale=this.getYScale(this.yDomain.reverse(),this.outerRadius)}setTicks(){let c;c=this.xAxisTickFormatting?this.xAxisTickFormatting:this.xScale.tickFormat?this.xScale.tickFormat.apply(this.xScale,[5]):ce=>Kg(ce)?ce.toLocaleDateString():ce.toLocaleString();const a=this.outerRadius;this.thetaTicks=this.xDomain.map(ce=>{const ve=this.xScale(ce),Ne=1.1*a*(ve>Math.PI?-1:1),tt=c(ce),ut=[a*Math.sin(ve),-a*Math.cos(ve)],Ct=[Ne,1.1*ut[1]];return{innerRadius:0,outerRadius:a,startAngle:ve,endAngle:ve,value:a,label:tt,startPos:ut,pos:Ct}});for(let ce=0;ce<this.thetaTicks.length-1;ce++){const ve=this.thetaTicks[ce];for(let Ne=ce+1;Ne<this.thetaTicks.length;Ne++){const tt=this.thetaTicks[Ne];if(tt.pos[0]*ve.pos[0]>0){const ut=10-Math.abs(tt.pos[1]-ve.pos[1]);ut>0&&(tt.pos[1]+=Math.sign(tt.pos[0])*ut)}}}this.radiusTicks=this.yAxisScale.ticks(Math.floor(this.dims.height/50)).map(ce=>this.yScale(ce))}getXValues(){const c=[];for(const a of this.results)for(const T of a.series)c.includes(T.name)||c.push(T.name);return c}getXDomain(c=this.getXValues()){if(this.scaleType===zn.Time){return[Math.min(...c),Math.max(...c)]}if(this.scaleType===zn.Linear){c=c.map(G=>Number(G));return[Math.min(...c),Math.max(...c)]}return c}getYValues(){const c=[];for(const a of this.results)for(const T of a.series)c.indexOf(T.value)<0&&c.push(T.value),void 0!==T.min&&c.indexOf(T.min)<0&&c.push(T.min),void 0!==T.max&&c.indexOf(T.max)<0&&c.push(T.max);return c}getYDomain(c=this.getYValues()){let a=Math.min(...c);const T=Math.max(this.yAxisMinScale,...c);return a=Math.max(0,a),this.autoScale||(a=Math.min(0,a)),[a,T]}getSeriesDomain(){return this.results.map(c=>c.name)}getXScale(c,a){switch(this.scaleType){case zn.Time:return N1().range([0,a]).domain(c);case zn.Linear:{const T=Ml().range([0,a]).domain(c);return this.roundDomains?T.nice():T}default:return v3().range([0,a-f6/c.length]).padding(0).domain(c)}}getYScale(c,a){const T=Ml().range([0,a]).domain(c);return this.roundDomains?T.nice():T}onClick(c,a){a&&(c.series=a.name),this.select.emit(c)}setColors(){const c=this.schemeType===zn.Ordinal?this.seriesDomain:this.yDomain.reverse();this.colors=new Vc(this.scheme,this.schemeType,c,this.customColors)}getLegendOptions(){return this.schemeType===zn.Ordinal?{scaleType:this.schemeType,colors:this.colors,domain:this.seriesDomain,title:this.legendTitle,position:this.legendPosition}:{scaleType:this.schemeType,colors:this.colors.scale,domain:this.yDomain,title:void 0,position:this.legendPosition}}updateYAxisWidth({width:c}){this.yAxisWidth=c,this.update()}updateXAxisHeight({height:c}){this.xAxisHeight=c,this.update()}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1||(this.activeEntries=this.showSeriesOnHover?[c,...this.activeEntries]:this.activeEntries,this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}deactivateAll(){this.activeEntries=[...this.activeEntries];for(const c of this.activeEntries)this.deactivate.emit({value:c,entries:[]});this.activeEntries=[]}trackBy(c,a){return`${a.name}`}}p6.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(p6)))(a||p6)}}(),p6.\u0275cmp=n.Xpm({type:p6,selectors:[["ngx-charts-polar-chart"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",autoScale:"autoScale",showGridLines:"showGridLines",curve:"curve",activeEntries:"activeEntries",schemeType:"schemeType",rangeFillOpacity:"rangeFillOpacity",trimYAxisTicks:"trimYAxisTicks",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",roundDomains:"roundDomains",tooltipDisabled:"tooltipDisabled",showSeriesOnHover:"showSeriesOnHover",gradient:"gradient",yAxisMinScale:"yAxisMinScale",labelTrim:"labelTrim",labelTrimSize:"labelTrimSize"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:10,vars:17,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"polar-chart","chart"],["cx","0","cy","0",1,"polar-chart-background"],[4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["class","gridline-path radial-gridline-path","cx","0","cy","0",4,"ngFor","ngForOf"],["cx","0","cy","0",1,"gridline-path","radial-gridline-path"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize",4,"ngFor","ngForOf"],["ngx-charts-pie-label","",3,"data","radius","label","max","value","explodeSlices","animations","labelTrim","labelTrimSize"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-polar-series","",3,"gradient","xScale","yScale","colors","data","activeEntries","scaleType","curve","rangeFillOpacity","animations","tooltipDisabled","tooltipTemplate","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"g",1)(2,"g"),n._UZ(3,"circle",2),n.YNc(4,c5,2,1,"g",3),n.YNc(5,p8,2,1,"g",3),n.qZA(),n.YNc(6,lf,1,9,"g",4),n.YNc(7,y7,1,5,"g",5),n.YNc(8,x7,2,3,"g",3),n.YNc(9,w7,2,3,"g",3),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(14,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.uIk("transform",a.transformPlot),n.xp6(1),n.uIk("r",a.outerRadius),n.xp6(1),n.Q6J("ngIf",a.showGridLines),n.xp6(1),n.Q6J("ngIf",a.xAxis),n.xp6(1),n.Q6J("ngIf",a.yAxis),n.xp6(1),n.Q6J("ngIf",a.xAxis&&a.showXAxisLabel),n.xp6(1),n.Q6J("ngIf",!a.isSSR),n.xp6(1),n.Q6J("ngIf",a.isSSR))},directives:[zl,Q3,sa,q2,h6,i.O5,i.sg],styles:[H1,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n",".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{stroke-dasharray:10 10;fill:none}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}\n"],encapsulation:2,data:{animation:[(0,an.X$)("animationState",[(0,an.eR)(":leave",[(0,an.oB)({opacity:1}),(0,an.jt)(500,(0,an.oB)({opacity:0}))])])]},changeDetection:0});class np{constructor(c){this.startAngle=0,this.endAngle=2*Math.PI,this.cornerRadius=0,this.explodeSlices=!1,this.gradient=!1,this.animate=!0,this.pointerEvents=!0,this.isActive=!1,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.dblclick=new n.vpe,this.barOrientation=Gl,this.initialized=!1,this.element=c.nativeElement}ngOnChanges(c){this.update()}getGradient(){return this.gradient?this.gradientFill:this.fill}getPointerEvents(){return this.pointerEvents?"auto":"none"}update(){const c=this.calculateArc();this.startOpacity=.5,this.radialGradientId="linearGrad"+j1().toString(),this.gradientFill=`url(#${this.radialGradientId})`,this.animate?this.initialized?this.updateAnimation():(this.loadAnimation(),this.initialized=!0):this.path=c.startAngle(this.startAngle).endAngle(this.endAngle)()}calculateArc(){let c=this.outerRadius;return this.explodeSlices&&0===this.innerRadius&&(c=this.outerRadius*this.value/this.max),$a().innerRadius(this.innerRadius).outerRadius(c).cornerRadius(this.cornerRadius)}loadAnimation(){const c=Ui(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),a=this.calculateArc();c.transition().attrTween("d",function(T){this._current=this._current||T;const G=Object.assign({},T);G.endAngle=G.startAngle;const ce=Ze(G,G);return this._current=ce(0),function(ve){return a(ce(ve))}}).transition().duration(750).attrTween("d",function(T){this._current=this._current||T;const G=Ze(this._current,T);return this._current=G(0),function(ce){return a(G(ce))}})}updateAnimation(){const c=Ui(this.element).selectAll(".arc").data([{startAngle:this.startAngle,endAngle:this.endAngle}]),a=this.calculateArc();c.transition().duration(750).attrTween("d",function(T){this._current=this._current||T;const G=Ze(this._current,T);return this._current=G(0),function(ce){return a(G(ce))}})}onClick(){clearTimeout(this._timeout),this._timeout=setTimeout(()=>this.select.emit(this.data),200)}onDblClick(c){c.preventDefault(),c.stopPropagation(),clearTimeout(this._timeout),this.dblclick.emit({data:this.data,nativeEvent:c})}}np.\u0275fac=function(c){return new(c||np)(n.Y36(n.SBq))},np.\u0275cmp=n.Xpm({type:np,selectors:[["g","ngx-charts-pie-arc",""]],inputs:{fill:"fill",startAngle:"startAngle",endAngle:"endAngle",innerRadius:"innerRadius",outerRadius:"outerRadius",cornerRadius:"cornerRadius",value:"value",max:"max",data:"data",explodeSlices:"explodeSlices",gradient:"gradient",animate:"animate",pointerEvents:"pointerEvents",isActive:"isActive"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[n.TTD],attrs:["ngx-charts-pie-arc",""],decls:3,vars:7,consts:[[1,"arc-group"],[4,"ngIf"],[1,"arc",3,"click","dblclick","mouseenter","mouseleave"],["ngx-charts-svg-radial-gradient","",3,"color","name","startOpacity"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0),n.YNc(1,Ov,2,3,"defs",1),n.TgZ(2,"path",2),n.NdJ("click",function(){return a.onClick()})("dblclick",function(G){return a.onDblClick(G)})("mouseenter",function(){return a.activate.emit(a.data)})("mouseleave",function(){return a.deactivate.emit(a.data)}),n.qZA()()),2&c&&(n.xp6(1),n.Q6J("ngIf",a.gradient),n.xp6(1),n.Udp("pointer-events",a.getPointerEvents()),n.ekj("active",a.isActive),n.uIk("d",a.path)("fill",a.getGradient()))},directives:[Sp,i.O5],encapsulation:2,changeDetection:0});class Pp{constructor(){this.series=[],this.innerRadius=60,this.outerRadius=80,this.trimLabels=!0,this.maxLabelLength=10,this.tooltipDisabled=!1,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.dblclick=new n.vpe,this.placementTypes=bs,this.styleTypes=hl}ngOnChanges(c){this.update()}update(){const a=vp().value(T=>T.value).sort(null)(this.series);this.max=Uu(a,T=>T.value),this.data=this.calculateLabelPositions(a),this.tooltipText=this.tooltipText||this.defaultTooltipText}midAngle(c){return c.startAngle+(c.endAngle-c.startAngle)/2}outerArc(){return $a().innerRadius(1.5*this.outerRadius).outerRadius(1.5*this.outerRadius)}calculateLabelPositions(c){const G=c;G.forEach(ce=>{ce.pos=this.outerArc().centroid(ce),ce.pos[0]=1.5*this.outerRadius*(this.midAngle(ce)<Math.PI?1:-1)});for(let ce=0;ce<G.length-1;ce++){const ve=G[ce];if(this.labelVisible(ve))for(let Ne=ce+1;Ne<G.length;Ne++){const tt=G[Ne];if(this.labelVisible(tt)&&tt.pos[0]*ve.pos[0]>0){const ut=10-Math.abs(tt.pos[1]-ve.pos[1]);ut>0&&(tt.pos[1]+=Math.sign(tt.pos[0])*ut)}}}return G}labelVisible(c){return this.showLabels&&c.endAngle-c.startAngle>Math.PI/30}getTooltipTitle(c){return this.tooltipTemplate?void 0:this.tooltipText(c)}labelText(c){return this.labelFormatting?this.labelFormatting(c.data.name):this.label(c)}label(c){return Xd(c.data.name)}defaultTooltipText(c){const a=this.label(c),T=Xd(c.data.value);return`\n      <span class="tooltip-label">${Fc(a)}</span>\n      <span class="tooltip-val">${T}</span>\n    `}color(c){return this.colors.getColor(this.label(c))}trackBy(c,a){return a.data.name}onClick(c){this.select.emit(c)}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name&&c.series===T.series)}}Pp.\u0275fac=function(c){return new(c||Pp)},Pp.\u0275cmp=n.Xpm({type:Pp,selectors:[["g","ngx-charts-pie-series",""]],inputs:{colors:"colors",series:"series",dims:"dims",innerRadius:"innerRadius",outerRadius:"outerRadius",explodeSlices:"explodeSlices",showLabels:"showLabels",gradient:"gradient",activeEntries:"activeEntries",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dblclick:"dblclick"},features:[n.TTD],attrs:["ngx-charts-pie-series",""],decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations",4,"ngIf"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","gradient","data","max","explodeSlices","isActive","animate","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate","dblclick"],["ngx-charts-pie-label","",3,"data","radius","color","label","labelTrim","labelTrimSize","max","value","explodeSlices","animations"]],template:function(c,a){1&c&&n.YNc(0,Tm,3,19,"g",0),2&c&&n.Q6J("ngForOf",a.data)("ngForTrackBy",a.trackBy)},directives:[Q3,np,i.sg,i.O5,o1],encapsulation:2,changeDetection:0});class R4 extends Zi{constructor(){super(...arguments),this.activeEntries=[],this.tooltipDisabled=!1,this.label="Total",this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[20,20,20,20]}update(){super.update(),this.dims=s1({width:4*this.width/12,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors();const c=this.dims.width/2,a=this.margin[0]+this.dims.height/2;this.legendWidth=this.width-this.dims.width-this.margin[1],this.outerRadius=Math.min(this.dims.width,this.dims.height)/2.5,this.innerRadius=.75*this.outerRadius,this.transform=`translate(${c} , ${a})`}getDomain(){return this.results.map(c=>c.label)}onClick(c){this.select.emit(c)}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}onActivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name),!(this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series)>-1)&&(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name);const T=this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series);this.activeEntries.splice(T,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}}R4.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(R4)))(a||R4)}}(),R4.\u0275cmp=n.Xpm({type:R4,selectors:[["ngx-charts-advanced-pie-chart"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",valueFormatting:"valueFormatting",nameFormatting:"nameFormatting",percentageFormatting:"percentageFormatting"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:7,vars:37,consts:[[1,"advanced-pie","chart"],[3,"view","showLegend","animations"],[1,"pie","chart"],["ngx-charts-pie-series","",3,"colors","series","innerRadius","activeEntries","outerRadius","gradient","tooltipDisabled","tooltipTemplate","tooltipText","animations","select","activate","deactivate"],[1,"advanced-pie-legend-wrapper"],[3,"data","colors","width","label","animations","valueFormatting","labelFormatting","percentageFormatting","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"div")(1,"div",0)(2,"ngx-charts-chart",1),n.O4$(),n.TgZ(3,"g",2)(4,"g",3),n.NdJ("select",function(G){return a.onClick(G)})("activate",function(G){return a.onActivate(G)})("deactivate",function(G){return a.onDeactivate(G)}),n.qZA()()()(),n.kcU(),n.TgZ(5,"div",4)(6,"ngx-charts-advanced-legend",5),n.NdJ("select",function(G){return a.onClick(G)})("activate",function(G){return a.onActivate(G,!0)})("deactivate",function(G){return a.onDeactivate(G,!0)}),n.qZA()()()),2&c&&(n.Udp("width",a.width,"px")("height",a.height,"px"),n.xp6(1),n.Udp("width",a.dims.width,"px")("height",a.dims.height,"px"),n.xp6(1),n.Q6J("view",n.WLB(34,vc,a.width,a.height))("showLegend",!1)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("colors",a.colors)("series",a.results)("innerRadius",a.innerRadius)("activeEntries",a.activeEntries)("outerRadius",a.outerRadius)("gradient",a.gradient)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("tooltipText",a.tooltipText)("animations",a.animations),n.xp6(1),n.Udp("width",a.width-a.dims.width,"px")("height",a.height,"px"),n.xp6(1),n.Q6J("data",a.results)("colors",a.colors)("width",a.width-a.dims.width-a.margin[1])("label",a.label)("animations",a.animations)("valueFormatting",a.valueFormatting)("labelFormatting",a.nameFormatting)("percentageFormatting",a.percentageFormatting))},directives:[zl,Pp,h0],styles:[H1,".advanced-pie{display:inline-block;float:left}.advanced-pie-legend-wrapper{display:inline-block}\n"],encapsulation:2,changeDetection:0});class ip extends Zi{constructor(){super(...arguments),this.labels=!1,this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.explodeSlices=!1,this.doughnut=!1,this.arcWidth=.25,this.activeEntries=[],this.tooltipDisabled=!1,this.trimLabels=!0,this.maxLabelLength=10,this.dblclick=new n.vpe,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe}update(){super.update(),this.labels&&this.hasNoOptionalMarginsSet()?this.margins=[30,80,30,80]:!this.labels&&this.hasNoOptionalMarginsSet()&&(this.margins=[20,20,20,20]),this.dims=s1({width:this.width,height:this.height,margins:this.margins,showLegend:this.legend,legendPosition:this.legendPosition}),this.formatDates();const c=this.margins[3]+this.dims.width/2,a=this.margins[0]+this.dims.height/2;this.translation=`translate(${c}, ${a})`,this.outerRadius=Math.min(this.dims.width,this.dims.height),this.labels?this.outerRadius/=3:this.outerRadius/=2,this.innerRadius=0,this.doughnut&&(this.innerRadius=this.outerRadius*(1-this.arcWidth)),this.domain=this.getDomain(),this.data=this.results.sort((T,G)=>this.domain.indexOf(T.name)-this.domain.indexOf(G.name)),this.setColors(),this.legendOptions=this.getLegendOptions()}getDomain(){return this.results.map(c=>c.label)}onClick(c){this.select.emit(c)}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}getLegendOptions(){return{scaleType:zn.Ordinal,domain:this.domain,colors:this.colors,title:this.legendTitle,position:this.legendPosition}}onActivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name),!(this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series)>-1)&&(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name);const T=this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series);this.activeEntries.splice(T,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}hasNoOptionalMarginsSet(){return!this.margins||this.margins.length<=0}}function g5(g,c,a){let T=1,G=c;const ce=g.width;if(ce>a)for(;ce/G<a;)T+=1,G=Math.ceil(c/T);return[G,T]}function m5(g,c,a,T){const G=v1(),ce=v1(),ve=g.width,Ne=g.height,[tt,ut]=g5(g,c.length,a),Ct=[],qt=[];for(let Hn=0;Hn<ut;Hn++)qt.push(Hn);for(let Hn=0;Hn<tt;Hn++)Ct.push(Hn);G.domain(Ct),ce.domain(qt),G.rangeRound([0,ve],.1),ce.rangeRound([0,Ne],.1);const At=[],jn=T||function g6(g){return g.map(c=>c?c.value:0).reduce((c,a)=>c+a,0)}(c),fi=G.bandwidth(),Xi=ce.bandwidth();for(let Hn=0;Hn<c.length;Hn++)At[Hn]={},At[Hn].data={name:c[Hn]?c[Hn].name:"",value:c[Hn]?c[Hn].value:void 0,extra:c[Hn]?c[Hn].extra:void 0,label:c[Hn]?c[Hn].label:""},At[Hn].x=G(Hn%tt),At[Hn].y=ce(Math.floor(Hn/tt)),At[Hn].width=fi,At[Hn].height=Xi,At[Hn].data.percent=jn>0?At[Hn].data.value/jn:0,At[Hn].data.total=jn;return At}ip.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(ip)))(a||ip)}}(),ip.\u0275cmp=n.Xpm({type:ip,selectors:[["ngx-charts-pie-chart"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{labels:"labels",legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",explodeSlices:"explodeSlices",doughnut:"doughnut",arcWidth:"arcWidth",gradient:"gradient",activeEntries:"activeEntries",tooltipDisabled:"tooltipDisabled",labelFormatting:"labelFormatting",trimLabels:"trimLabels",maxLabelLength:"maxLabelLength",tooltipText:"tooltipText",margins:"margins"},outputs:{dblclick:"dblclick",select:"select",activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:3,vars:24,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"pie-chart","chart"],["ngx-charts-pie-series","",3,"colors","series","showLabels","labelFormatting","trimLabels","maxLabelLength","activeEntries","innerRadius","outerRadius","explodeSlices","gradient","animations","tooltipDisabled","tooltipTemplate","tooltipText","dblclick","select","activate","deactivate"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelActivate",function(G){return a.onActivate(G,!0)})("legendLabelDeactivate",function(G){return a.onDeactivate(G,!0)})("legendLabelClick",function(G){return a.onClick(G)}),n.O4$(),n.TgZ(1,"g",1)(2,"g",2),n.NdJ("dblclick",function(G){return a.dblclick.emit(G)})("select",function(G){return a.onClick(G)})("activate",function(G){return a.onActivate(G)})("deactivate",function(G){return a.onDeactivate(G)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(21,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.translation),n.xp6(1),n.Q6J("colors",a.colors)("series",a.data)("showLabels",a.labels)("labelFormatting",a.labelFormatting)("trimLabels",a.trimLabels)("maxLabelLength",a.maxLabelLength)("activeEntries",a.activeEntries)("innerRadius",a.innerRadius)("outerRadius",a.outerRadius)("explodeSlices",a.explodeSlices)("gradient",a.gradient)("animations",a.animations)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("tooltipText",a.tooltipText))},directives:[zl,Pp],styles:[H1,".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:.75s ease-in fadeIn;animation:.75s ease-in fadeIn}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:3s linear drawOut;animation:3s linear drawOut;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}\n"],encapsulation:2,changeDetection:0});class m6{constructor(c){this.innerRadius=70,this.outerRadius=80,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.element=c.nativeElement}ngOnChanges(c){this.update()}update(){this.layout=vp().value(c=>c.data.value).sort(null),this.arcs=this.getArcs()}getArcs(){return this.layout(this.data).map((c,a)=>{const T=c.data.data.name,G=c.data.data.other;0===a&&(c.startAngle=0);const ce=this.colors(T);return{data:c.data.data,class:"arc arc"+a,fill:ce,startAngle:G?0:c.startAngle,endAngle:c.endAngle,animate:this.animations&&!G,pointerEvents:!G}})}onClick(c){this.select.emit(this.data[0].data)}trackBy(c,a){return a.data.name}label(c){return c.data.name}color(c){return this.colors(this.label(c))}}m6.\u0275fac=function(c){return new(c||m6)(n.Y36(n.SBq))},m6.\u0275cmp=n.Xpm({type:m6,selectors:[["g","ngx-charts-pie-grid-series",""]],inputs:{colors:"colors",data:"data",innerRadius:"innerRadius",outerRadius:"outerRadius",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},features:[n.TTD],attrs:["ngx-charts-pie-grid-series",""],decls:2,vars:2,consts:[[1,"pie-grid-arcs"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-pie-arc","",3,"startAngle","endAngle","innerRadius","outerRadius","fill","value","data","gradient","pointerEvents","animate","select","activate","deactivate"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0),n.YNc(1,Wg,1,11,"g",1),n.qZA()),2&c&&(n.xp6(1),n.Q6J("ngForOf",a.arcs)("ngForTrackBy",a.trackBy))},directives:[np,i.sg],encapsulation:2,changeDetection:0});class zp extends Zi{constructor(){super(...arguments),this.tooltipDisabled=!1,this.label="Total",this.minWidth=150,this.activeEntries=[],this.activate=new n.vpe,this.deactivate=new n.vpe,this.margin=[20,20,20,20],this.placementTypes=bs,this.styleTypes=hl}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.data=m5(this.dims,this.results,this.minWidth,this.designatedTotal),this.transform=`translate(${this.margin[3]} , ${this.margin[0]})`,this.series=this.getSeries(),this.setColors(),this.tooltipText=this.tooltipText||this.defaultTooltipText}defaultTooltipText({data:c}){return`\n      <span class="tooltip-label">${Mp(Xd(c.name))}</span>\n      <span class="tooltip-val">${c.value.toLocaleString()}</span>\n    `}getDomain(){return this.results.map(c=>c.label)}getSeries(){const c=this.designatedTotal?this.designatedTotal:this.getTotal();return this.data.map(a=>{const ce=a.data.name,ve=Xd(ce),Ne=a.data.value,tt=B3([a.width-10,a.height-20])/2-5,ut=.9*tt;let Ct=0;return{transform:`translate(${a.x+(a.width-10)/2}, ${a.y+(a.height-20)/2})`,colors:()=>(Ct+=1,1===Ct?"rgba(100,100,100,0.3)":this.colorScale.getColor(ve)),innerRadius:ut,outerRadius:tt,name:ce,label:Mp(ve),total:Ne,value:Ne,percent:A0(".1%")(a.data.percent),data:[a,{data:{other:!0,value:c-Ne,name:a.data.name}}]}})}getTotal(){return this.results.map(c=>c.value).reduce((c,a)=>c+a,0)}onClick(c){this.select.emit(c)}setColors(){this.colorScale=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}onActivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name),!(this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series)>-1)&&(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c,a=!1){c=this.results.find(G=>a?G.label===c.name:G.name===c.name);const T=this.activeEntries.findIndex(G=>G.name===c.name&&G.value===c.value&&G.series===c.series);this.activeEntries.splice(T,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}}zp.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(zp)))(a||zp)}}(),zp.\u0275cmp=n.Xpm({type:zp,selectors:[["ngx-charts-pie-grid"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{designatedTotal:"designatedTotal",tooltipDisabled:"tooltipDisabled",tooltipText:"tooltipText",label:"label",minWidth:"minWidth",activeEntries:"activeEntries"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:3,vars:8,consts:[[3,"view","showLegend","animations"],[1,"pie-grid","chart"],["class","pie-grid-item",4,"ngFor","ngForOf"],[1,"pie-grid-item"],["ngx-charts-pie-grid-series","","ngx-tooltip","",3,"colors","data","innerRadius","outerRadius","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"],["class","label percent-label","dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",3,"countTo","countSuffix",4,"ngIf"],["class","label percent-label","dy","-0.5em","x","0","y","5","text-anchor","middle",4,"ngIf"],["dy","0.5em","x","0","y","5","text-anchor","middle",1,"label"],["class","label","dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",3,"countTo","countPrefix",4,"ngIf"],["class","label","dy","1.23em","x","0","text-anchor","middle",4,"ngIf"],["dy","-0.5em","x","0","y","5","ngx-charts-count-up","","text-anchor","middle",1,"label","percent-label",3,"countTo","countSuffix"],["dy","-0.5em","x","0","y","5","text-anchor","middle",1,"label","percent-label"],["dy","1.23em","x","0","text-anchor","middle","ngx-charts-count-up","",1,"label",3,"countTo","countPrefix"],["dy","1.23em","x","0","text-anchor","middle",1,"label"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,u5,8,19,"g",2),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(5,vc,a.width,a.height))("showLegend",!1)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngForOf",a.series))},directives:[zl,m6,kp,i.sg,o1,i.O5],styles:[H1,".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}\n"],encapsulation:2,changeDetection:0});class Ch{}Ch.\u0275fac=function(c){return new(c||Ch)},Ch.\u0275mod=n.oAB({type:Ch,declarations:[R4,Q3,np,ip,zp,m6,Pp],imports:[Ra],exports:[R4,Q3,np,ip,zp,m6,Pp]}),Ch.\u0275inj=n.cJS({imports:[[Ra]]});class N4{}function v5(g,c,a=8){return c.split("").reduce((T,G)=>T+(g[G]||a),0)}N4.\u0275fac=function(c){return new(c||N4)},N4.\u0275mod=n.oAB({type:N4,declarations:[p6,h6],imports:[Ra,Ch,mf],exports:[p6,h6]}),N4.\u0275inj=n.cJS({imports:[[Ra,Ch,mf]]});const _5={0:10,1:10,2:10,3:10,4:10,5:10,6:10,7:10,8:10,9:10,A:11,B:11,C:11,D:12,E:10,F:9,G:12,H:12,I:7,J:7,K:11,L:9,M:13,N:12,O:13,P:10,Q:13,R:11,S:11,T:10,U:12,V:11,W:16,X:11,Y:10,Z:11,a:10,b:10,c:8,d:10,e:10,f:6,g:10,h:10,i:4,j:6,k:9,l:4,m:16,n:10,o:10,p:10,q:10,r:7,s:8,t:6,u:10,v:9,w:13,x:9,y:9,z:8,"!":6,"@":16,"#":13,$:10,"%":17,"^":13,"&":12,"*":10,"(":7,")":7,_:10,"-":7,"+":13,"=":13,",":6,".":6,"/":7,"'":4,":":7,"|":7,"?":9,";":7,"<":13,">":13};class M2{constructor(c,a,T,G){this.cd=a,this.zone=T,this.platformId=G,this.animations=!0,this.select=new n.vpe,this.value="",this.textFontSize=12,this.textTransform="",this.initialized=!1,this.bandHeight=10,this.textPadding=[10,20,5,20],this.labelFontSize=15,this.element=c.nativeElement}ngOnChanges(c){this.update()}ngOnInit(){(0,i.PM)(this.platformId)&&this.scaleTextSSR()}ngOnDestroy(){(0,i.NF)(this.platformId)&&cancelAnimationFrame(this.animationReq)}update(){this.zone.run(()=>{const c=this.data&&void 0!==this.data.value,a=this.valueFormatting||(ve=>ve.value.toLocaleString()),T=this.labelFormatting||(ve=>Fc(Mp(ve.label,55)));this.transform=`translate(${this.x} , ${this.y})`,this.textWidth=Math.max(0,this.width)-this.textPadding[1]-this.textPadding[3],this.cardWidth=Math.max(0,this.width),this.cardHeight=Math.max(0,this.height),this.label=this.label?this.label:this.data.name;const G={label:this.label,data:this.data,value:this.data.value};this.formattedLabel=T(G),this.transformBand=`translate(0 , ${this.cardHeight-this.bandHeight})`;const ce=c?a(G):"";this.value=this.paddedValue(ce),this.setPadding(),this.bandPath=_h(0,0,this.cardWidth,this.bandHeight,3,[!1,!1,!0,!0]),setTimeout(()=>{(0,i.NF)(this.platformId)&&this.scaleText(),this.value=ce,c&&!this.initialized&&setTimeout(()=>this.startCount(),20)},8)})}paddedValue(c){return this.medianSize&&this.medianSize>c.length&&(c+="\u2007".repeat(this.medianSize-c.length)),c}startCount(){if(!this.initialized&&this.animations){cancelAnimationFrame(this.animationReq);const c=this.data.value,a=c6(c),T=this.valueFormatting||(ce=>ce.value.toLocaleString()),G=({value:ce,finished:ve})=>{this.zone.run(()=>{ce=ve?c:ce,this.value=T({label:this.label,data:this.data,value:ce}),ve||(this.value=this.paddedValue(this.value)),this.cd.markForCheck()})};this.animationReq=f5(0,c,a,1,G),this.initialized=!0}}scaleText(){this.zone.run(()=>{const{width:c,height:a}=this.textEl.nativeElement.getBoundingClientRect();if(0===c||0===a)return;const T=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,G=this.cardWidth-2*T,ce=this.cardHeight/3,ve=Math.min(G/c,ce/a);this.textFontSize=Math.floor(this.textFontSize*ve),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding(),this.cd.markForCheck()})}scaleTextSSR(){const c=v5(_5,this.value,10),T=this.textPadding[1]=this.textPadding[3]=this.cardWidth/8,G=this.cardWidth-2*T,ce=this.cardHeight/3,ve=Math.min(G/c,ce/18);this.textFontSize=Math.floor(this.textFontSize*ve),this.labelFontSize=Math.min(this.textFontSize,15),this.setPadding()}setPadding(){this.textPadding[1]=this.textPadding[3]=this.cardWidth/8;const c=this.cardHeight/2;this.textPadding[0]=c-this.textFontSize-this.labelFontSize/2,this.textPadding[2]=c-this.labelFontSize}onClick(){this.select.emit(this.data)}}function T8(g){const c=Jh(g),{r:a,g:T,b:G,opacity:ce}=c;if(0===ce)return c.toString();return function z7({r:g,g:c,b:a},T){const G=T<0?0:255,ce=T<0?-1*T:T;return g=Math.round((G-g)*ce)+g,c=Math.round((G-c)*ce)+c,a=Math.round((G-a)*ce)+a,`rgb(${g}, ${c}, ${a})`}(c,(299*a+587*T+114*G)/1e3>=128?-.8:.8)}M2.\u0275fac=function(c){return new(c||M2)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(n.Lbi))},M2.\u0275cmp=n.Xpm({type:M2,selectors:[["g","ngx-charts-card",""]],viewQuery:function(c,a){if(1&c&&n.Gf(h5,5),2&c){let T;n.iGM(T=n.CRH())&&(a.textEl=T.first)}},inputs:{color:"color",bandColor:"bandColor",textColor:"textColor",x:"x",y:"y",width:"width",height:"height",label:"label",data:"data",medianSize:"medianSize",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-card",""],decls:10,vars:25,consts:[[1,"cell",3,"click"],["rx","3","ry","3",1,"card"],["class","card-band","stroke","none",4,"ngIf"],["x","5","alignment-baseline","hanging",1,"trimmed-label"],[3,"innerHTML"],["text-anchor","start","alignment-baseline","hanging",1,"value-text"],["textEl",""],["stroke","none",1,"card-band"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g",0),n.NdJ("click",function(){return a.onClick()}),n._UZ(1,"rect",1),n.YNc(2,k7,1,3,"path",2),n.TgZ(3,"title"),n._uU(4),n.qZA(),n.TgZ(5,"foreignObject",3),n.kcU(),n._UZ(6,"p",4),n.qZA(),n.O4$(),n.TgZ(7,"text",5,6),n._uU(9),n.qZA()()),2&c&&(n.uIk("transform",a.transform),n.xp6(1),n.Udp("fill",a.color),n.uIk("width",a.cardWidth)("height",a.cardHeight),n.xp6(1),n.Q6J("ngIf",a.bandColor&&a.bandColor!==a.color),n.xp6(2),n.Oqu(a.label),n.xp6(1),n.uIk("x",a.textPadding[3])("y",a.cardHeight-a.textPadding[2])("width",a.textWidth)("height",a.labelFontSize+a.textPadding[2]),n.xp6(1),n.Udp("color",a.textColor)("font-size",a.labelFontSize,"px")("line-height",a.labelFontSize,"px"),n.Q6J("innerHTML",a.formattedLabel,n.oJD),n.xp6(1),n.Udp("fill",a.textColor)("font-size",a.textFontSize,"pt"),n.uIk("x",a.textPadding[3])("y",a.textPadding[0]),n.xp6(2),n.hij(" ",a.value," "))},directives:[i.O5],encapsulation:2,changeDetection:0});class v6{constructor(){this.innerPadding=15,this.emptyColor="rgba(0, 0, 0, 0)",this.animations=!0,this.select=new n.vpe}ngOnChanges(c){this.update()}update(){if(this.data.length>2){const a=this.valueFormatting||(ce=>ce.value.toLocaleString()),T=this.data.map(ce=>ce&&ce.data&&void 0!==ce.data.value&&null!==ce.data.value?a({data:ce.data,label:ce?ce.data.name:"",value:ce&&ce.data?ce.data.value:""}).length:0).sort((ce,ve)=>ve-ce),G=Math.ceil(this.data.length/2);this.medianSize=T[G]}const c=this.getCards();this.cards=c.filter(a=>null!==a.data.value),this.emptySlots=c.filter(a=>null===a.data.value)}getCards(){const c="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[0]+this.innerPadding[2],a="number"==typeof this.innerPadding?this.innerPadding:this.innerPadding[1]+this.innerPadding[3];return this.data.map((T,G)=>{let ce=T.data.name;ce=ce&&"Date"===ce.constructor.name?ce.toLocaleDateString():ce&&ce.toLocaleString();const ve=T.data.value,Ne=ce?this.colors.getColor(ce):this.emptyColor,tt=this.cardColor||Ne||"#000";return{x:T.x,y:T.y,width:T.width-a,height:T.height-c,color:tt,bandColor:this.bandColor||Ne,textColor:this.textColor||T8(tt),label:ce,data:T.data,tooltipText:`${ce}: ${ve}`}})}trackBy(c,a){return a.label}onClick(c){this.select.emit(c)}}v6.\u0275fac=function(c){return new(c||v6)},v6.\u0275cmp=n.Xpm({type:v6,selectors:[["g","ngx-charts-card-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",innerPadding:"innerPadding",cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-card-series",""],decls:2,vars:4,consts:[["class","card-empty","rx","3","ry","3",3,"fill",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select",4,"ngFor","ngForOf","ngForTrackBy"],["rx","3","ry","3",1,"card-empty"],["ngx-charts-card","",3,"x","y","width","height","color","bandColor","textColor","data","label","medianSize","valueFormatting","labelFormatting","animations","select"]],template:function(c,a){1&c&&(n.YNc(0,q6,1,6,"rect",0),n.YNc(1,Sm,1,13,"g",1)),2&c&&(n.Q6J("ngForOf",a.emptySlots)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngForOf",a.cards)("ngForTrackBy",a.trackBy))},directives:[M2,i.sg],encapsulation:2,changeDetection:0});class L3 extends Zi{constructor(){super(...arguments),this.emptyColor="rgba(0, 0, 0, 0)",this.innerPadding=15,this.margin=[10,10,10,10]}get clickable(){return!!this.select.observers.length}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin}),this.formatDates(),this.domain=this.getDomain(),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`;const c=g5(this.dims,this.results.length,150),a=c[0]*c[1],T=this.results.slice();for(;T.length<a;)T.push({value:null});this.data=m5(this.dims,T,150,this.designatedTotal)}getDomain(){return this.results.map(c=>c.label)}onClick(c){this.select.emit(c)}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}}L3.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(L3)))(a||L3)}}(),L3.\u0275cmp=n.Xpm({type:L3,selectors:[["ngx-charts-number-card"]],inputs:{cardColor:"cardColor",bandColor:"bandColor",emptyColor:"emptyColor",innerPadding:"innerPadding",textColor:"textColor",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",designatedTotal:"designatedTotal"},features:[n.qOj],decls:3,vars:20,consts:[[3,"view","showLegend","animations"],[1,"number-card","chart"],["ngx-charts-card-series","",3,"colors","cardColor","bandColor","textColor","emptyColor","data","dims","innerPadding","valueFormatting","labelFormatting","animations","select"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.O4$(),n.TgZ(1,"g",1)(2,"g",2),n.NdJ("select",function(G){return a.onClick(G)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(17,vc,a.width,a.height))("showLegend",!1)("animations",a.animations),n.xp6(1),n.ekj("clickable",a.clickable),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("colors",a.colors)("cardColor",a.cardColor)("bandColor",a.bandColor)("textColor",a.textColor)("emptyColor",a.emptyColor)("data",a.data)("dims",a.dims)("innerPadding",a.innerPadding)("valueFormatting",a.valueFormatting)("labelFormatting",a.labelFormatting)("animations",a.animations))},directives:[zl,v6],styles:[H1,"ngx-charts-number-card .cell .trimmed-label{font-size:12px;pointer-events:none;overflow:hidden;text-align:left;line-height:1em}ngx-charts-number-card .cell .trimmed-label p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;padding:0;margin:0}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}\n"],encapsulation:2,changeDetection:0});class _6{}_6.\u0275fac=function(c){return new(c||_6)},_6.\u0275mod=n.oAB({type:_6,declarations:[M2,v6,L3],imports:[Ra],exports:[M2,v6,L3]}),_6.\u0275inj=n.cJS({imports:[[Ra]]});class rp{constructor(c){this.gradient=!1,this.animations=!0,this.select=new n.vpe,this.initialized=!1,this.orientation=Gl,this.element=c.nativeElement}ngOnChanges(){this.update(),this.valueFormatting=this.valueFormatting||(T=>T.toLocaleString());const c=this.labelFormatting||(T=>Fc(Mp(T.label,55))),a={data:this.data,label:this.label,value:this.value};this.formattedValue=this.valueFormatting(a.value),this.formattedLabel=c(a),this.gradientId="grad"+j1().toString(),this.gradientUrl=`url(#${this.gradientId})`,this.gradientStops=this.getGradientStops()}update(){this.initialized?this.animateToCurrentForm():(this.animations&&this.loadAnimation(),this.initialized=!0)}loadAnimation(){Ui(this.element).select(".cell").attr("opacity",0).attr("x",this.x).attr("y",this.y),this.animateToCurrentForm()}getTextColor(){return T8(this.fill)}animateToCurrentForm(){const c=Ui(this.element).select(".cell");this.animations?c.transition().duration(750).attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height):c.attr("opacity",1).attr("x",this.x).attr("y",this.y).attr("width",this.width).attr("height",this.height)}onClick(){this.select.emit(this.data)}getGradientStops(){return[{offset:0,color:this.fill,opacity:.3},{offset:100,color:this.fill,opacity:1}]}}rp.\u0275fac=function(c){return new(c||rp)(n.Y36(n.SBq))},rp.\u0275cmp=n.Xpm({type:rp,selectors:[["g","ngx-charts-tree-map-cell",""]],inputs:{data:"data",fill:"fill",x:"x",y:"y",width:"width",height:"height",label:"label",value:"value",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-tree-map-cell",""],decls:4,vars:7,consts:[[4,"ngIf"],[1,"cell",3,"click"],["class","treemap-label",3,"pointer-events",4,"ngIf"],["ngx-charts-svg-linear-gradient","",3,"orientation","name","stops"],[1,"treemap-label"],[1,"treemap-label",3,"innerHTML"],["class","treemap-val","ngx-charts-count-up","",3,"countTo","valueFormatting",4,"ngIf"],["class","treemap-val",4,"ngIf"],["ngx-charts-count-up","",1,"treemap-val",3,"countTo","valueFormatting"],[1,"treemap-val"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,qg,2,3,"defs",0),n.TgZ(2,"rect",1),n.NdJ("click",function(){return a.onClick()}),n.qZA(),n.YNc(3,K6,6,15,"foreignObject",2),n.qZA()),2&c&&(n.xp6(1),n.Q6J("ngIf",a.gradient),n.xp6(1),n.uIk("fill",a.gradient?a.gradientUrl:a.fill)("width",a.width)("height",a.height)("x",a.x)("y",a.y),n.xp6(1),n.Q6J("ngIf",a.width>=70&&a.height>=35))},directives:[F1,kp,i.O5],encapsulation:2,changeDetection:0});class b6{constructor(){this.gradient=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new n.vpe,this.styleTypes=hl,this.placementTypes=bs}ngOnChanges(c){this.cells=this.getCells()}getCells(){return this.data.children.filter(c=>1===c.depth).map((c,a)=>{const T=c.id;return{data:c.data,x:c.x0,y:c.y0,width:c.x1-c.x0,height:c.y1-c.y0,fill:this.colors.getColor(T),label:T,value:c.value}})}getTooltipText({label:c,value:a}){return`\n      <span class="tooltip-label">${Fc(c)}</span>\n      <span class="tooltip-val">${a.toLocaleString()}</span>\n    `}onClick(c){this.select.emit(c)}trackBy(c,a){return a.label}}b6.\u0275fac=function(c){return new(c||b6)},b6.\u0275cmp=n.Xpm({type:b6,selectors:[["g","ngx-charts-tree-map-cell-series",""]],inputs:{data:"data",dims:"dims",colors:"colors",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select"},features:[n.TTD],attrs:["ngx-charts-tree-map-cell-series",""],decls:1,vars:2,consts:[["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-tree-map-cell","","ngx-tooltip","",3,"data","x","y","width","height","fill","label","value","valueFormatting","labelFormatting","gradient","animations","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select"]],template:function(c,a){1&c&&n.YNc(0,L7,1,18,"g",0),2&c&&n.Q6J("ngForOf",a.cells)("ngForTrackBy",a.trackBy)},directives:[rp,i.sg,o1],encapsulation:2,changeDetection:0});class wh extends Zi{constructor(){super(...arguments),this.tooltipDisabled=!1,this.gradient=!1,this.select=new n.vpe,this.margin=[10,10,10,10]}update(){super.update(),this.dims=s1({width:this.width,height:this.height,margins:this.margin}),this.domain=this.getDomain(),this.treemap=function K0(){var g=hh,c=!1,a=1,T=1,G=[0],ce=Bf,ve=Bf,Ne=Bf,tt=Bf,ut=Bf;function Ct(At){return At.x0=At.y0=0,At.x1=a,At.y1=T,At.eachBefore(qt),G=[0],c&&At.eachBefore(Qh),At}function qt(At){var jn=G[At.depth],fi=At.x0+jn,Xi=At.y0+jn,Hn=At.x1-jn,Qi=At.y1-jn;Hn<fi&&(fi=Hn=(fi+Hn)/2),Qi<Xi&&(Xi=Qi=(Xi+Qi)/2),At.x0=fi,At.y0=Xi,At.x1=Hn,At.y1=Qi,At.children&&(jn=G[At.depth+1]=ce(At)/2,fi+=ut(At)-jn,Xi+=ve(At)-jn,(Hn-=Ne(At)-jn)<fi&&(fi=Hn=(fi+Hn)/2),(Qi-=tt(At)-jn)<Xi&&(Xi=Qi=(Xi+Qi)/2),g(At,fi,Xi,Hn,Qi))}return Ct.round=function(At){return arguments.length?(c=!!At,Ct):c},Ct.size=function(At){return arguments.length?(a=+At[0],T=+At[1],Ct):[a,T]},Ct.tile=function(At){return arguments.length?(g=ph(At),Ct):g},Ct.padding=function(At){return arguments.length?Ct.paddingInner(At).paddingOuter(At):Ct.paddingInner()},Ct.paddingInner=function(At){return arguments.length?(ce="function"==typeof At?At:Y3(+At),Ct):ce},Ct.paddingOuter=function(At){return arguments.length?Ct.paddingTop(At).paddingRight(At).paddingBottom(At).paddingLeft(At):Ct.paddingTop()},Ct.paddingTop=function(At){return arguments.length?(ve="function"==typeof At?At:Y3(+At),Ct):ve},Ct.paddingRight=function(At){return arguments.length?(Ne="function"==typeof At?At:Y3(+At),Ct):Ne},Ct.paddingBottom=function(At){return arguments.length?(tt="function"==typeof At?At:Y3(+At),Ct):tt},Ct.paddingLeft=function(At){return arguments.length?(ut="function"==typeof At?At:Y3(+At),Ct):ut},Ct}().size([this.dims.width,this.dims.height]);const a=function Dg(){var g=Eg,c=G3;function a(T){var ve,Ne,tt,ut,Ct,qt,At,G=Array.from(T),ce=G.length,jn=new Map;for(Ne=0;Ne<ce;++Ne)ve=G[Ne],Ct=G[Ne]=new Ff(ve),null!=(qt=g(ve,Ne,T))&&(qt+="")&&(At=Ct.id=qt,jn.set(At,jn.has(At)?e6:Ct)),null!=(qt=c(ve,Ne,T))&&(qt+="")&&(Ct.parent=qt);for(Ne=0;Ne<ce;++Ne)if(qt=(Ct=G[Ne]).parent){if(!(ut=jn.get(qt)))throw new Error("missing: "+qt);if(ut===e6)throw new Error("ambiguous: "+qt);ut.children?ut.children.push(Ct):ut.children=[Ct],Ct.parent=ut}else{if(tt)throw new Error("multiple roots");tt=Ct}if(!tt)throw new Error("no root");if(tt.parent=e2,tt.eachBefore(function(fi){fi.depth=fi.parent.depth+1,--ce}).eachBefore(Q0),tt.parent=null,ce>0)throw new Error("cycle");return tt}return a.id=function(T){return arguments.length?(g=ph(T),a):g},a.parentId=function(T){return arguments.length?(c=ph(T),a):c},a}().id(T=>{let G=T.name;return G="Date"===G.constructor.name?G.toLocaleDateString():G.toLocaleString(),G}).parentId(T=>T.isRoot?null:"root")([{name:"root",value:0,isRoot:!0},...this.results]).sum(T=>T.value);this.data=this.treemap(a),this.setColors(),this.transform=`translate(${this.dims.xOffset} , ${this.margin[0]})`}getDomain(){return this.results.map(c=>c.name)}onClick(c){this.select.emit(c)}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}}wh.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(wh)))(a||wh)}}(),wh.\u0275cmp=n.Xpm({type:wh,selectors:[["ngx-charts-tree-map"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},inputs:{results:"results",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",labelFormatting:"labelFormatting",gradient:"gradient"},outputs:{select:"select"},features:[n.qOj],decls:3,vars:16,consts:[[3,"view","showLegend","animations"],[1,"tree-map","chart"],["ngx-charts-tree-map-cell-series","",3,"colors","data","dims","tooltipDisabled","tooltipTemplate","valueFormatting","labelFormatting","gradient","animations","select"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.O4$(),n.TgZ(1,"g",1)(2,"g",2),n.NdJ("select",function(G){return a.onClick(G)}),n.qZA()()()),2&c&&(n.Q6J("view",n.WLB(13,vc,a.width,a.height))("showLegend",!1)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("colors",a.colors)("data",a.data)("dims",a.dims)("tooltipDisabled",a.tooltipDisabled)("tooltipTemplate",a.tooltipTemplate)("valueFormatting",a.valueFormatting)("labelFormatting",a.labelFormatting)("gradient",a.gradient)("animations",a.animations))},directives:[zl,b6],styles:[".tree-map .treemap-val{font-size:1.3em;padding-top:5px;display:inline-block}.tree-map .treemap-label p{display:table-cell;text-align:center;line-height:1.2em;vertical-align:middle}\n"],encapsulation:2,changeDetection:0});class op{}var v0;op.\u0275fac=function(c){return new(c||op)},op.\u0275mod=n.oAB({type:op,declarations:[rp,b6,wh],imports:[Ra],exports:[rp,b6,wh]}),op.\u0275inj=n.cJS({imports:[[Ra]]}),function(g){g.Value="value",g.Units="units"}(v0||(v0={}));class Mh extends Zi{constructor(){super(...arguments),this.min=0,this.max=100,this.value=0,this.margin=[10,20,10,20],this.valueResizeScale=1,this.unitsResizeScale=1,this.valueTextTransform="",this.valueTranslate="",this.unitsTextTransform="",this.unitsTranslate="",this.barOrientation=Gl}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.scaleText(v0.Value),this.scaleText(v0.Units)})}update(){super.update(),this.hasPreviousValue=void 0!==this.previousValue,this.max=Math.max(this.max,this.value),this.min=Math.min(this.min,this.value),this.hasPreviousValue&&(this.max=Math.max(this.max,this.previousValue),this.min=Math.min(this.min,this.previousValue)),this.dims=s1({width:this.width,height:this.height,margins:this.margin}),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.setColors();const c=this.margin[3]+this.dims.width/2,a=this.margin[0]+this.dims.height/2;this.transform=`translate(${c}, ${a})`,this.transformLine=`translate(${this.margin[3]+this.valueScale(this.previousValue)}, ${a})`,this.valueTranslate="translate(0, -15)",this.unitsTranslate="translate(0, 15)",(0,i.PM)(this.platformId)?(this.scaleTextSSR("value"),this.scaleTextSSR("units")):(setTimeout(()=>this.scaleText(v0.Value),50),setTimeout(()=>this.scaleText(v0.Units),50))}getValueDomain(){return[this.min,this.max]}getValueScale(){return Ml().range([0,this.dims.width]).domain(this.valueDomain)}getDisplayValue(){return this.valueFormatting?this.valueFormatting(this.value):this.value.toLocaleString()}scaleText(c,a=!0){let T,G;c===v0.Value?(T=this.valueTextEl,G=this.valueResizeScale):(T=this.unitsTextEl,G=this.unitsResizeScale);const{width:ce,height:ve}=T.nativeElement.getBoundingClientRect();if(0===ce||0===ve)return;const Ne=G,tt=this.dims.width,ut=Math.max(this.dims.height/2-15,0),Ct=Math.floor(tt/(ce/G)*100)/100,qt=Math.floor(ut/(ve/G)*100)/100;G=Math.min(qt,Ct),G!==Ne&&(c===v0.Value?(this.valueResizeScale=G,this.valueTextTransform=`scale(${G}, ${G})`):(this.unitsResizeScale=G,this.unitsTextTransform=`scale(${G}, ${G})`),this.cd.markForCheck(),a&&(0,i.NF)(this.platformId)&&setTimeout(()=>{this.scaleText(c,!1)},50))}scaleTextSSR(c){let a=1;const T="value"===c?this.displayValue:this.units,G=v5(_5,T,10),ve=this.dims.width,Ne=Math.max(this.dims.height/2-15,0),tt=Math.floor(ve/(G/a)*100)/100,ut=Math.floor(Ne/(25/a)*100)/100;a=Math.min(ut,tt),"value"===c?(this.valueResizeScale=a,this.valueTextTransform=`scale(${a}, ${a})`):(this.unitsResizeScale=a,this.unitsTextTransform=`scale(${a}, ${a})`),this.cd.markForCheck()}onClick(){this.select.emit({name:"Value",value:this.value})}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,[this.value],this.customColors)}}Mh.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(Mh)))(a||Mh)}}(),Mh.\u0275cmp=n.Xpm({type:Mh,selectors:[["ngx-charts-linear-gauge"]],viewQuery:function(c,a){if(1&c&&(n.Gf(b1,5),n.Gf(Fr,5)),2&c){let T;n.iGM(T=n.CRH())&&(a.valueTextEl=T.first),n.iGM(T=n.CRH())&&(a.unitsTextEl=T.first)}},inputs:{min:"min",max:"max",value:"value",units:"units",previousValue:"previousValue",valueFormatting:"valueFormatting"},features:[n.qOj],decls:15,vars:38,consts:[[3,"view","showLegend","animations","click"],[1,"linear-gauge","chart"],["ngx-charts-bar","",1,"background-bar",3,"width","height","x","y","data","orientation","roundEdges","animations"],["ngx-charts-bar","",3,"width","height","x","y","fill","data","orientation","roundEdges","animations"],["x1","0","y1","5","x2","0","y2","15",4,"ngIf"],["x1","0","y1","-5","x2","0","y2","-15",4,"ngIf"],["alignment-baseline","after-edge",1,"value"],["valueTextEl",""],["alignment-baseline","before-edge",1,"units"],["unitsTextEl",""],["x1","0","y1","5","x2","0","y2","15"],["x1","0","y1","-5","x2","0","y2","-15"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("click",function(){return a.onClick()}),n.O4$(),n.TgZ(1,"g",1),n._UZ(2,"g",2)(3,"g",3),n.YNc(4,km,1,2,"line",4),n.YNc(5,Ec,1,2,"line",5),n.TgZ(6,"g")(7,"g")(8,"text",6,7),n._uU(10),n.qZA()(),n.TgZ(11,"g")(12,"text",8,9),n._uU(14),n.qZA()()()()()),2&c&&(n.Q6J("view",n.WLB(33,vc,a.width,a.height))("showLegend",!1)("animations",a.animations),n.xp6(2),n.Q6J("width",a.dims.width)("height",3)("x",a.margin[3])("y",a.dims.height/2+a.margin[0]-2)("data",n.DdM(36,y8))("orientation",a.barOrientation.Horizontal)("roundEdges",!0)("animations",a.animations),n.xp6(1),n.Q6J("width",a.valueScale(a.value))("height",3)("x",a.margin[3])("y",a.dims.height/2+a.margin[0]-2)("fill",a.colors.getColor(a.units))("data",n.DdM(37,y8))("orientation",a.barOrientation.Horizontal)("roundEdges",!0)("animations",a.animations),n.xp6(1),n.Q6J("ngIf",a.hasPreviousValue),n.xp6(1),n.Q6J("ngIf",a.hasPreviousValue),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.uIk("transform",a.valueTranslate),n.xp6(1),n.Udp("text-anchor","middle"),n.uIk("transform",a.valueTextTransform),n.xp6(2),n.hij(" ",a.displayValue," "),n.xp6(1),n.uIk("transform",a.unitsTranslate),n.xp6(1),n.Udp("text-anchor","middle"),n.uIk("transform",a.unitsTextTransform),n.xp6(2),n.hij(" ",a.units," "))},directives:[zl,Dp,i.O5],styles:[H1,".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:#0000000d}.linear-gauge .units{fill:#666}\n"],encapsulation:2,changeDetection:0});class Th{constructor(){this.isActive=!1,this.tooltipDisabled=!1,this.animations=!0,this.select=new n.vpe,this.activate=new n.vpe,this.deactivate=new n.vpe,this.placementTypes=bs,this.styleTypes=hl}tooltipText(c){const a=Xd(c.data.name);let T;return T=this.valueFormatting?this.valueFormatting(c.data.value):Xd(c.data.value),`\n      <span class="tooltip-label">${Fc(a)}</span>\n      <span class="tooltip-val">${T}</span>\n    `}}Th.\u0275fac=function(c){return new(c||Th)},Th.\u0275cmp=n.Xpm({type:Th,selectors:[["g","ngx-charts-gauge-arc",""]],inputs:{backgroundArc:"backgroundArc",valueArc:"valueArc",cornerRadius:"cornerRadius",colors:"colors",isActive:"isActive",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",tooltipTemplate:"tooltipTemplate",animations:"animations"},outputs:{select:"select",activate:"activate",deactivate:"deactivate"},attrs:["ngx-charts-gauge-arc",""],decls:2,vars:23,consts:[["ngx-charts-pie-arc","",1,"background-arc",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","data","animate","pointerEvents"],["ngx-charts-pie-arc","","ngx-tooltip","",3,"startAngle","endAngle","innerRadius","outerRadius","cornerRadius","fill","data","animate","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","select","activate","deactivate"]],template:function(c,a){1&c&&(n.O4$(),n._UZ(0,"g",0),n.TgZ(1,"g",1),n.NdJ("select",function(G){return a.select.emit(G)})("activate",function(G){return a.activate.emit(G)})("deactivate",function(G){return a.deactivate.emit(G)}),n.qZA()),2&c&&(n.Q6J("startAngle",0)("endAngle",a.backgroundArc.endAngle)("innerRadius",a.backgroundArc.innerRadius)("outerRadius",a.backgroundArc.outerRadius)("cornerRadius",a.cornerRadius)("data",a.backgroundArc.data)("animate",!1)("pointerEvents",!1),n.xp6(1),n.Q6J("startAngle",0)("endAngle",a.valueArc.endAngle)("innerRadius",a.valueArc.innerRadius)("outerRadius",a.valueArc.outerRadius)("cornerRadius",a.cornerRadius)("fill",a.colors.getColor(a.valueArc.data.name))("data",a.valueArc.data)("animate",a.animations)("isActive",a.isActive)("tooltipDisabled",a.tooltipDisabled)("tooltipPlacement",a.placementTypes.Top)("tooltipType",a.styleTypes.tooltip)("tooltipTitle",a.tooltipTemplate?void 0:a.tooltipText(a.valueArc))("tooltipTemplate",a.tooltipTemplate)("tooltipContext",a.valueArc.data))},directives:[np,o1],encapsulation:2,changeDetection:0});class sp{constructor(){this.rotate=""}ngOnChanges(c){this.update()}update(){this.rotationAngle=-90+this.startAngle,this.rotate=`rotate(${this.rotationAngle})`,this.ticks=this.getTicks()}getTicks(){const c=this.angleSpan/this.bigSegments,a=c/this.smallSegments,G={big:[],small:[]},ce=this.radius+10,ve=ce+20+10;for(let Ne=0;Ne<=this.bigSegments;Ne++){const tt=Ne*c,ut=tt*Math.PI/180,Ct=this.getTextAnchor(tt);let qt=!1;if(0===Ne&&360===this.angleSpan&&(qt=!0),!qt){let At=Number.parseFloat(this.valueScale.invert(tt).toString()).toLocaleString();this.tickFormatting&&(At=this.tickFormatting(At)),G.big.push({line:this.getTickPath(ce,20,ut),textAnchor:Ct,text:At,textTransform:`\n            translate(${ve*Math.cos(ut)}, ${ve*Math.sin(ut)}) rotate(${-this.rotationAngle})\n          `})}if(Ne!==this.bigSegments)for(let At=1;At<=this.smallSegments;At++){const fi=(tt+At*a)*Math.PI/180;G.small.push({line:this.getTickPath(ce,10,fi)})}}return G}getTextAnchor(c){c=(this.startAngle+c)%360;let a=Tl.Middle;return c>45&&c<=135?a=Tl.Start:c>225&&c<=315&&(a=Tl.End),a}getTickPath(c,a,T){const G=c*Math.sin(T),ce=(c+a)*Math.sin(T),tt=[{x:c*Math.cos(T),y:G},{x:(c+a)*Math.cos(T),y:ce}];return Uh().x(Ct=>Ct.x).y(Ct=>Ct.y)(tt)}}sp.\u0275fac=function(c){return new(c||sp)},sp.\u0275cmp=n.Xpm({type:sp,selectors:[["g","ngx-charts-gauge-axis",""]],inputs:{bigSegments:"bigSegments",smallSegments:"smallSegments",min:"min",max:"max",angleSpan:"angleSpan",startAngle:"startAngle",radius:"radius",valueScale:"valueScale",tickFormatting:"tickFormatting"},features:[n.TTD],attrs:["ngx-charts-gauge-axis",""],decls:4,vars:4,consts:[["class","gauge-tick gauge-tick-large",4,"ngFor","ngForOf"],["class","gauge-tick gauge-tick-small",4,"ngFor","ngForOf"],[1,"gauge-tick","gauge-tick-large"],["alignment-baseline","central"],[1,"gauge-tick","gauge-tick-small"]],template:function(c,a){1&c&&(n.O4$(),n.TgZ(0,"g"),n.YNc(1,x8,2,1,"g",0),n.YNc(2,st,3,4,"g",0),n.YNc(3,$g,2,1,"g",1),n.qZA()),2&c&&(n.uIk("transform",a.rotate),n.xp6(1),n.Q6J("ngForOf",a.ticks.big),n.xp6(1),n.Q6J("ngForOf",a.ticks.big),n.xp6(1),n.Q6J("ngForOf",a.ticks.small))},directives:[i.sg],encapsulation:2,changeDetection:0});class B4 extends Zi{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bc.Right,this.min=0,this.max=100,this.bigSegments=10,this.smallSegments=5,this.showAxis=!0,this.startAngle=-120,this.angleSpan=240,this.activeEntries=[],this.tooltipDisabled=!1,this.showText=!0,this.activate=new n.vpe,this.deactivate=new n.vpe,this.resizeScale=1,this.rotation="",this.textTransform="scale(1, 1)",this.cornerRadius=10}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>this.scaleText())}update(){super.update(),this.showAxis?this.margin||(this.margin=[60,100,60,100]):this.margin||(this.margin=[10,20,10,20]),this.startAngle<0&&(this.startAngle=this.startAngle%360+360),this.angleSpan=Math.min(this.angleSpan,360),this.dims=s1({width:this.width,height:this.height,margins:this.margin,showLegend:this.legend,legendPosition:this.legendPosition}),this.domain=this.getDomain(),this.valueDomain=this.getValueDomain(),this.valueScale=this.getValueScale(),this.displayValue=this.getDisplayValue(),this.outerRadius=Math.min(this.dims.width,this.dims.height)/2,this.arcs=this.getArcs(),this.setColors(),this.legendOptions=this.getLegendOptions();const c=this.margin[3]+this.dims.width/2,a=this.margin[0]+this.dims.height/2;this.transform=`translate(${c}, ${a})`,this.rotation=`rotate(${this.startAngle})`,setTimeout(()=>this.scaleText(),50)}getArcs(){const c=[],a=.7*this.outerRadius,T=Math.min(a/this.results.length,10),G=.7*T;this.textRadius=this.outerRadius-this.results.length*T,this.cornerRadius=Math.floor(G/2);let ce=0;for(const ve of this.results){const Ne=this.outerRadius-ce*T,tt=Ne-G,qt={backgroundArc:{endAngle:this.angleSpan*Math.PI/180,innerRadius:tt,outerRadius:Ne,data:{value:this.max,name:ve.name}},valueArc:{endAngle:Math.min(this.valueScale(ve.value),this.angleSpan)*Math.PI/180,innerRadius:tt,outerRadius:Ne,data:{value:ve.value,name:ve.name}}};c.push(qt),ce++}return c}getDomain(){return this.results.map(c=>c.name)}getValueDomain(){const c=this.results.map(G=>G.value),a=Math.min(...c),T=Math.max(...c);return void 0!==this.min?this.min=Math.min(this.min,a):this.min=a,void 0!==this.max?this.max=Math.max(this.max,T):this.max=T,[this.min,this.max]}getValueScale(){return Ml().range([0,this.angleSpan]).nice().domain(this.valueDomain)}getDisplayValue(){const c=this.results.map(a=>a.value).reduce((a,T)=>a+T,0);return this.textValue&&0!==this.textValue.length?this.textValue.toLocaleString():this.valueFormatting?this.valueFormatting(c):c.toLocaleString()}scaleText(c=!0){if(!this.showText)return;const{width:a}=this.textEl.nativeElement.getBoundingClientRect(),T=this.resizeScale;if(0===a)this.resizeScale=1;else{const G=this.textRadius;this.resizeScale=Math.floor(G/(a/this.resizeScale)*100)/100}this.resizeScale!==T&&(this.textTransform=`scale(${this.resizeScale}, ${this.resizeScale})`,this.cd.markForCheck(),c&&setTimeout(()=>this.scaleText(!1),50))}onClick(c){this.select.emit(c)}getLegendOptions(){return{scaleType:zn.Ordinal,colors:this.colors,domain:this.domain,title:this.legendTitle,position:this.legendPosition}}setColors(){this.colors=new Vc(this.scheme,zn.Ordinal,this.domain,this.customColors)}onActivate(c){this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value)>-1||(this.activeEntries=[c,...this.activeEntries],this.activate.emit({value:c,entries:this.activeEntries}))}onDeactivate(c){const a=this.activeEntries.findIndex(T=>T.name===c.name&&T.value===c.value);this.activeEntries.splice(a,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:c,entries:this.activeEntries})}isActive(c){return!!this.activeEntries&&void 0!==this.activeEntries.find(T=>c.name===T.name&&c.series===T.series)}trackBy(c,a){return a.valueArc.data.name}}B4.\u0275fac=function(){let g;return function(a){return(g||(g=n.n5z(B4)))(a||B4)}}(),B4.\u0275cmp=n.Xpm({type:B4,selectors:[["ngx-charts-gauge"]],contentQueries:function(c,a,T){if(1&c&&n.Suo(T,n1,5),2&c){let G;n.iGM(G=n.CRH())&&(a.tooltipTemplate=G.first)}},viewQuery:function(c,a){if(1&c&&n.Gf(h5,5),2&c){let T;n.iGM(T=n.CRH())&&(a.textEl=T.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",min:"min",max:"max",textValue:"textValue",units:"units",bigSegments:"bigSegments",smallSegments:"smallSegments",results:"results",showAxis:"showAxis",startAngle:"startAngle",angleSpan:"angleSpan",activeEntries:"activeEntries",axisTickFormatting:"axisTickFormatting",tooltipDisabled:"tooltipDisabled",valueFormatting:"valueFormatting",showText:"showText",margin:"margin"},outputs:{activate:"activate",deactivate:"deactivate"},features:[n.qOj],decls:5,vars:13,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"gauge","chart"],[4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting",4,"ngIf"],["alignment-baseline","central",3,"textAnchor",4,"ngIf"],["ngx-charts-gauge-arc","",3,"backgroundArc","valueArc","cornerRadius","colors","isActive","tooltipDisabled","tooltipTemplate","valueFormatting","animations","select","activate","deactivate"],["ngx-charts-gauge-axis","",3,"bigSegments","smallSegments","min","max","radius","angleSpan","valueScale","startAngle","tickFormatting"],["alignment-baseline","central"],["textEl",""],["x","0","dy","0"],["x","0","dy","1.2em"]],template:function(c,a){1&c&&(n.TgZ(0,"ngx-charts-chart",0),n.NdJ("legendLabelClick",function(G){return a.onClick(G)})("legendLabelActivate",function(G){return a.onActivate(G)})("legendLabelDeactivate",function(G){return a.onDeactivate(G)}),n.O4$(),n.TgZ(1,"g",1),n.YNc(2,D7,2,10,"g",2),n.YNc(3,Z6,1,9,"g",3),n.YNc(4,I7,6,5,"text",4),n.qZA()()),2&c&&(n.Q6J("view",n.WLB(10,vc,a.width,a.height))("showLegend",a.legend)("legendOptions",a.legendOptions)("activeEntries",a.activeEntries)("animations",a.animations),n.xp6(1),n.uIk("transform",a.transform),n.xp6(1),n.Q6J("ngForOf",a.arcs)("ngForTrackBy",a.trackBy),n.xp6(1),n.Q6J("ngIf",a.showAxis),n.xp6(1),n.Q6J("ngIf",a.showText))},directives:[zl,Th,sp,i.sg,i.O5],styles:[H1,".gauge .background-arc path{fill:#0000000d}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{font-size:12px;fill:#666;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}\n"],encapsulation:2,changeDetection:0});class Rp{}Rp.\u0275fac=function(c){return new(c||Rp)},Rp.\u0275mod=n.oAB({type:Rp,declarations:[Mh,B4,Th,sp],imports:[Ra,Ch,Z3],exports:[Mh,B4,Th,sp]}),Rp.\u0275inj=n.cJS({imports:[[Ra,Ch,Z3]]});class J6{constructor(){!function R7(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}J6.\u0275fac=function(c){return new(c||J6)},J6.\u0275mod=n.oAB({type:J6,exports:[Ra,p0,Z3,gf,ep,as,mf,N4,_6,Ch,op,Rp]}),J6.\u0275inj=n.cJS({imports:[Ra,p0,Z3,gf,ep,as,mf,N4,_6,Ch,op,Rp]})},26149:(de,$e,B)=>{"use strict";B.d($e,{o:()=>x});var n=B(3184),i=B(90587),P=B(14545),m=B(36362);function s(C,_){}class o{constructor(){this.onChange=new n.vpe,this.onBeforeEnter=new n.vpe(!1),this.onKeydown=new n.vpe(!1),this.onMousedown=new n.vpe(!1),this.onClick=new n.vpe(!1),this.onFocus=new n.vpe,this.onBlur=new n.vpe,this.onPaste=new n.vpe(!1),this.onResize=new n.vpe,this.onBeforeCommand=new n.vpe(!1),this.onAfterCommand=new n.vpe,this.onAfterExec=new n.vpe,this.onAfterPaste=new n.vpe,this.onChangeSelection=new n.vpe}}o.\u0275fac=function(_){return new(_||o)},o.\u0275dir=n.lG2({type:o,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"}});const h=["onChange","onBeforeEnter","onKeydown","onMousedown","onClick","onFocus","onBlur","onPaste","onResize","onBeforeCommand","onAfterCommand","onAfterExec","onAfterPaste","onChangeSelection"],v={provide:i.JU,useExisting:(0,n.Gpc)(()=>y),multi:!0};class y extends o{constructor(_,w){super(),this.elementRef=_,this.ngZone=w,this._config={},this.tagName="textarea",this.elementRef=_,this.ngZone=w}set config(_){this._config=_,this.element&&this.resetEditor()}get config(){return this._config}createElement(){const _="string"==typeof this.tagName?this.tagName:"textarea";this.element=document.createElement(_),this.element&&(this.element.id=this.id,this.elementRef.nativeElement.appendChild(this.element))}get value(){return this.editor?this.editor.getEditorValue():""}set value(_){this.editor?this.editor.setEditorValue(_||""):this.defaultValue=_}resetEditor(){this.editor.destruct(),this.createEditor()}ngAfterViewInit(){this.element||(this.createElement(),this.createEditor())}createEditor(){this.ngZone.runOutsideAngular(()=>{this.editor=new P.Jodit(this.element,this.config)}),this.defaultValue&&(this.editor.value=this.defaultValue),this.editor.events.on("change",_=>{"function"==typeof this.onChangeCallback&&this.ngZone.run(()=>this.onChangeCallback(_))}).on("blur",()=>{"function"==typeof this.onTouchedCallback&&this.ngZone.run(()=>this.onTouchedCallback())}),h.forEach(_=>{const w=this[_];if(w.observers.length>0){let z=_.substring(2);z=z.substr(0,1).toLowerCase()+z.substring(1),this.editor.events.on(z,this.ngZone.run(()=>(...R)=>w.emit({args:R,editor:this.editor})))}})}ngOnDestroy(){this.editor&&this.editor.destruct()}writeValue(_){this.value=_}registerOnChange(_){this.onChangeCallback=_}registerOnTouched(_){this.onTouchedCallback=_}setDisabledState(_){this.editor.setReadOnly(_)}}y.\u0275fac=function(_){return new(_||y)(n.Y36(n.SBq),n.Y36(n.R0b))},y.\u0275cmp=n.Xpm({type:y,selectors:[["jodit-editor"]],inputs:{config:"config",tagName:"tagName",id:"id",defaultValue:"defaultValue"},features:[n._Bn([v]),n.qOj],decls:1,vars:0,template:function(_,w){1&_&&n.YNc(0,s,0,0,"ng-template")},styles:['/*!\n * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)\n * Version: v3.23.3\n * Url: https://xdsoft.net/jodit/\n * License(s): MIT\n */.jodit-wysiwyg{outline:0}.jodit-wysiwyg ::-moz-selection,.jodit-wysiwyg::-moz-selection{background:#b5d6fd;color:#4c4c4c}.jodit-wysiwyg ::selection,.jodit-wysiwyg::selection{background:#b5d6fd;color:#4c4c4c}.jodit-container:not(.jodit_inline) .jodit-wysiwyg{margin:0;outline:0;overflow-x:auto;padding:8px;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg img{max-width:100%;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media{position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media *{position:relative;z-index:0}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media:before{content:"";inset:0;position:absolute;z-index:1}.jodit-form{color:#4c4c4c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-form.jodit_error{border-color:#ff3b3b;box-shadow:inset 0 0 3px #bdbdbd4d}@media (max-width:768px){.jodit-form{min-width:150px}}.jodit-form button{background:#d6d6d6;border:none;color:#4c4c4c;cursor:pointer;font-size:16px;height:36px;line-height:1;margin-bottom:8px;margin-top:8px;outline:none;padding:8px;text-decoration:none;transition:background .2s ease 0s}.jodit-form button:hover{background-color:#ecebe9;color:#4c4c4c}.jodit-form button:active{background:#ecebe9;color:#4c4c4c}.jodit-form label{align-items:center;display:flex;margin-bottom:8px;text-align:left;white-space:nowrap}.jodit-form label:last-child{margin-bottom:0}.jodit-form .jodit-form__center{justify-content:center}.jodit .jodit-input,.jodit .jodit-select,.jodit .jodit-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit .jodit-input[disabled],.jodit .jodit-select[disabled],.jodit .jodit-textarea[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-input_has-error_true,.jodit .jodit-select_has-error_true,.jodit .jodit-textarea_has-error_true{border-color:#ff3b3b}.jodit .jodit-input:focus{border-color:#66afe9;outline:0}.jodit-checkbox{border:0;cursor:pointer;height:16px;margin:0 4px 0 0;outline:none;padding:0;position:relative;width:16px;z-index:2}.jodit-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg id=\'Layer_1\' data-name=\'Layer 1\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 4.95 10\'%3E%3Cdefs%3E%3Cstyle%3E.cls-2{fill:%23444}%3C/style%3E%3C/defs%3E%3Cpath style=\'fill:%23fff\' d=\'M0 0h4.95v10H0z\'/%3E%3Cpath class=\'cls-2\' d=\'m1.41 4.67 1.07-1.49 1.06 1.49H1.41zM3.54 5.33 2.48 6.82 1.41 5.33h2.13z\'/%3E%3C/svg%3E");background-position:98% 50%;background-repeat:no-repeat;padding-right:16px}.jodit-textarea{height:auto}.jodit-form__group,.jodit-textarea{min-width:180px}.jodit-form__group{display:flex;flex-direction:column}.jodit-form__group{margin-bottom:8px}.jodit-form__group>label{margin-bottom:8px}.jodit-button{align-items:center;background-color:#dadada;border:0;border-radius:.25rem;color:#4c4c4c;cursor:pointer;display:inline-flex;height:32px;justify-content:center;line-height:1;margin:0;padding:0 8px;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto}.jodit-button svg{display:inline-block;height:24px;width:24px}.jodit-button svg+span{margin-left:4px}.jodit-button:active,.jodit-button:focus{outline:0}.jodit-button.disabled{opacity:.7}.jodit-buttons{display:flex;flex-wrap:nowrap;justify-content:space-between;margin-bottom:8px}.jodit-button .jodit_icon,.jodit-button svg,.jodit-dialog__header .jodit_icon,.jodit-dialog__header svg{display:inline-block;height:16px;vertical-align:middle;width:16px}.jodit-switcher{display:inline-block;height:32px;position:relative;width:60px}.jodit-switcher input{height:0;opacity:0;width:0}.jodit-switcher .jodit-switcher__slider{background-color:#dadada;border-radius:32px;cursor:pointer;inset:0;position:absolute;transition:.4s}.jodit-switcher .jodit-switcher__slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}input:checked+.jodit-switcher__slider{background-color:#2196f3}input:checked+.jodit-switcher__slider:before{transform:translate(28px)}input:focus+.jodit-switcher__slider{box-shadow:0 0 1px #2196f3}.jodit-button-group{display:flex}.jodit-button-group input{display:none}.jodit-button-group button{display:flex;flex:1;justify-content:center;text-align:center}.jodit-button-group button+button{margin-left:-1px}.jodit-button-group button:first-child,.jodit-button-group input:first-child+button{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.jodit-button-group button:last-child,.jodit-button-group input:last-child+button{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.jodit-button-group input[type=checkbox]:checked+button,.jodit-button-group input[type=checkbox]:not(:checked)+button+button{background-image:none;box-shadow:inset 0 2px 4px #0000004d,0 1px 2px #0000000d}.jodit_text_icons .jodit_icon{font-size:14px;width:auto}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:auto}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a i{width:auto}.jodit_text_icons.jodit-dialog .jodit-button,.jodit_text_icons.jodit-dialog .jodit-dialog__header a{color:#000000bf;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-button .jodit_icon,.jodit_text_icons.jodit-dialog .jodit-dialog__header a .jodit_icon{width:auto}.jodit-grid{display:flex;width:100%}.jodit-grid.jodit-grid_column{flex-direction:column}@media (max-width:480px){.jodit-grid.jodit-grid_xs-column{flex-direction:column}}.jodit-grid [class*=jodit_col-]{flex:1 1 auto}.jodit-grid .jodit_col-lg-5-5{width:100%}.jodit-grid .jodit_col-lg-4-5{width:80%}.jodit-grid .jodit_col-lg-3-5{width:60%}.jodit-grid .jodit_col-lg-2-5{width:40%}.jodit-grid .jodit_col-lg-1-5{width:20%}.jodit-grid .jodit_col-lg-4-4{width:100%}.jodit-grid .jodit_col-lg-3-4{width:75%}.jodit-grid .jodit_col-lg-2-4{width:50%}.jodit-grid .jodit_col-lg-1-4{width:25%}@media (max-width:992px){.jodit-grid .jodit_col-md-5-5{width:100%}.jodit-grid .jodit_col-md-4-5{width:80%}.jodit-grid .jodit_col-md-3-5{width:60%}.jodit-grid .jodit_col-md-2-5{width:40%}.jodit-grid .jodit_col-md-1-5{width:20%}.jodit-grid .jodit_col-md-4-4{width:100%}.jodit-grid .jodit_col-md-3-4{width:75%}.jodit-grid .jodit_col-md-2-4{width:50%}.jodit-grid .jodit_col-md-1-4{width:25%}}@media (max-width:768px){.jodit-grid .jodit_col-sm-5-5{width:100%}.jodit-grid .jodit_col-sm-4-5{width:80%}.jodit-grid .jodit_col-sm-3-5{width:60%}.jodit-grid .jodit_col-sm-2-5{width:40%}.jodit-grid .jodit_col-sm-1-5{width:20%}.jodit-grid .jodit_col-sm-4-4{width:100%}.jodit-grid .jodit_col-sm-3-4{width:75%}.jodit-grid .jodit_col-sm-2-4{width:50%}.jodit-grid .jodit_col-sm-1-4{width:25%}}@media (max-width:480px){.jodit-grid .jodit_col-xs-5-5{width:100%}.jodit-grid .jodit_col-xs-4-5{width:80%}.jodit-grid .jodit_col-xs-3-5{width:60%}.jodit-grid .jodit_col-xs-2-5{width:40%}.jodit-grid .jodit_col-xs-1-5{width:20%}.jodit-grid .jodit_col-xs-4-4{width:100%}.jodit-grid .jodit_col-xs-3-4{width:75%}.jodit-grid .jodit_col-xs-2-4{width:50%}.jodit-grid .jodit_col-xs-1-4{width:25%}}@keyframes a{to{transform:rotate(1turn)}}.jodit-icon_loader{animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;display:inline-block;height:48px;vertical-align:middle;width:48px;will-change:transform}.jodit-icon{fill:#4c4c4c;background:50% no-repeat;background-size:contain;height:14px;overflow:visible;transform-origin:0 0!important;width:14px}.jodit-icon,.jodit-icon_close{stroke:#4c4c4c}svg.jodit-icon{height:auto;isolation:isolate}.jodit-icon_text{font-size:14px}.jodit,.jodit *,.jodit-container,.jodit-container *{box-sizing:border-box}.jodit .jodit-workplace,.jodit-container .jodit-workplace{overflow:auto;position:relative}.jodit .jodit-workplace .jodit-wysiwyg,.jodit .jodit-workplace .jodit-wysiwyg_iframe,.jodit-container .jodit-workplace .jodit-wysiwyg,.jodit-container .jodit-workplace .jodit-wysiwyg_iframe{height:100%;width:100%}.jodit-wysiwyg [contenteditable=false]{cursor:default}.jodit-container:not(.jodit_inline){background-color:#f5f5f6;border:1px solid #dadada;border-radius:3px}.jodit-container:not(.jodit_inline) .jodit-workplace{background-color:#fff;border:0 solid #dadada;max-height:100%}.jodit-container:not(.jodit_inline).jodit_disabled{background:#dadada}.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:.4}.jodit_disabled,.jodit_lock{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_vertical_middle{align-items:center;display:flex}.jodit-box,.jodit-context-menu{background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.jodit-context-menu{box-shadow:0 4px 1px -2px #4c4c4c33,0 3px 3px #4c4c4c26,0 1px 4px #4c4c4c21;display:inline-block;position:fixed;transform:translateZ(0);z-index:10000001;z-index:30000005}.jodit-context-menu__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-context-menu_padding_false .jodit-context-menu__content{padding:0}.jodit-context-menu_max-height_false .jodit-context-menu__content{max-height:-moz-fit-content;max-height:fit-content}.jodit-context-menu .jodit-ui-button{display:flex}.jodit-context-menu__actions{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-context-menu__actions button{width:100%}.jodit-context-menu_theme_dark .jodit-context-menu__content{background-color:#575757}.jodit-popup{background:0 0;border:0;box-shadow:0 4px 1px -2px #4c4c4c33,0 3px 3px #4c4c4c26,0 1px 4px #4c4c4c21;display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;transform:translateZ(0);width:auto;z-index:10000001}.jodit-popup__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-popup_padding_false .jodit-popup__content{padding:0}.jodit-popup_max-height_false .jodit-popup__content{max-height:-moz-fit-content;max-height:fit-content}.jodit-ui-button-icon-text__icon{display:none}.jodit-ui-button-icon-text__icon:not(:empty){display:inline-flex}.jodit-ui-button-icon-text__text{display:none}.jodit-ui-button-icon-text__text:not(:empty){display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text{justify-content:left;padding-left:8px;position:relative}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-ui-button-icon-text__icon:not(:empty)+.jodit-ui-button-icon-text__text:not(:empty){margin-left:8px}.jodit-ui-button-icon-text__icon:empty+.jodit-ui-button-icon-text__text:not(:empty){padding:0 8px}.jodit-ui-button-clear,.jodit-ui-button_clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;box-shadow:none;box-sizing:border-box;font-style:normal;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-ui-button-sizes{height:34px;min-width:34px}.jodit-ui-button-sizes .jodit-icon{height:14px;width:14px}.jodit-ui-button-sizes button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button-sizes_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_tiny{height:16px;min-width:16px}.jodit-ui-button-sizes_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button-sizes_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button-sizes_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_xsmall{height:22px;min-width:22px}.jodit-ui-button-sizes_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button-sizes_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button-sizes_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_small{height:28px;min-width:28px}.jodit-ui-button-sizes_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button-sizes_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button-sizes_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_large{height:40px;min-width:40px}.jodit-ui-button-sizes_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button-sizes_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button-sizes_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button-variants_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button-variants_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default [disabled]{opacity:.7}.jodit-ui-button-variants_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button-variants_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button-variants_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button-variants_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button-variants_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success [disabled]{opacity:.7}.jodit-ui-button-variants_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button-variants_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button-variants_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button-variants_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger [disabled]{opacity:.7}.jodit-ui-button-variants_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-style{border-radius:3px;padding:0 8px}.jodit-ui-button,.jodit-ui-button-style{align-items:center;color:#000000bf;display:inline-flex;justify-content:center}.jodit-ui-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;box-shadow:none;box-sizing:border-box;cursor:pointer;font-style:normal;height:34px;min-width:34px;outline:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-ui-button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:active:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-ui-button[aria-pressed=true]:hover:not([disabled]){background-color:#dbdbdb99}.jodit-ui-button[disabled]{opacity:.3;pointer-events:none}.jodit-ui-button .jodit-icon{height:14px;width:14px}.jodit-ui-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button_text-icons_true button{padding:0 8px}.jodit-ui-button_size_tiny{height:16px;min-width:16px}.jodit-ui-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button_size_xsmall{height:22px;min-width:22px}.jodit-ui-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button_size_small{height:28px;min-width:28px}.jodit-ui-button_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button_size_large{height:40px;min-width:40px}.jodit-ui-button_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button__icon{display:none}.jodit-ui-button__icon:not(:empty){display:inline-flex}.jodit-ui-button__text{display:none}.jodit-ui-button__text:not(:empty){display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-ui-button_context_menu .jodit-ui-button__text{justify-content:left;padding-left:8px;position:relative}.jodit-ui-button_context_menu .jodit-ui-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-ui-button__icon:not(:empty)+.jodit-ui-button__text:not(:empty){margin-left:8px}.jodit-ui-button__icon:empty+.jodit-ui-button__text:not(:empty){padding:0 8px}.jodit-ui-button:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-ui-button_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default [disabled]{opacity:.7}.jodit-ui-button_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary [disabled]{opacity:.7}.jodit-ui-button_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary [disabled]{opacity:.7}.jodit-ui-button_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success [disabled]{opacity:.7}.jodit-ui-button_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger [disabled]{opacity:.7}.jodit-ui-button_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-list{display:flex;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-ui-group{background-color:transparent;border:0;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-toolbar-button{height:auto;min-height:38px}.jodit-ui-list_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:38px;width:100%}.jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty){justify-content:left}.jodit-ui-separator{border-left:0;border-right:1px solid #dadada;cursor:default;margin:2px;padding:0}.jodit-ui-break{border-top:1px solid #dadada;flex-basis:100%;height:0!important;width:0}.jodit-ui-spacer{flex:1}.jodit-ui-group{display:inline-flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{display:flex;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid #dadada;content:"";cursor:default;margin:2px;padding:0}.jodit-ui-group:last-child{border-bottom:0}.jodit-ui-button-group{margin-bottom:8px}.jodit-ui-button-group__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-button-group__options{display:flex;justify-content:flex-start}.jodit-ui-button-group .jodit-ui-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.jodit-ui-button-group .jodit-ui-button+.jodit-ui-button{border-bottom-left-radius:0;border-left:1px solid hsla(0,0%,86%,.4);border-top-left-radius:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:#dcdcdc;border-left:0;box-shadow:inset 0 0 3px #4c4c4c;color:#4c4c4c;outline:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled])+.jodit-ui-button{border:0}.jodit-ui-tooltip{background:#727171;background-clip:padding-box;border-radius:2px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-size:11px;line-height:1.4;max-width:120px;opacity:0;padding:2px 4px;position:fixed;text-rendering:optimizeLegibility;transition:opacity .2s ease 0s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:normal;width:auto;z-index:30000006}@media (max-width:768px){.jodit-ui-tooltip{display:none}}.jodit-ui-tooltip.jodit-ui-tooltip_visible_true{opacity:1}.jodit-dialog{border:0;box-sizing:border-box;display:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:0;position:absolute;width:0;will-change:left,top,width,height}.jodit-dialog_moved_true{-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-dialog *{box-sizing:border-box}.jodit-dialog .jodit_elfinder,.jodit-dialog .jodit_elfinder *{box-sizing:content-box;box-sizing:initial}.jodit-dialog__overlay{background-color:#00000080;display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;white-space:nowrap;width:100%;z-index:20000003}.jodit-dialog_static_true .jodit-dialog__overlay{display:none}.jodit-dialog_active_true,.jodit-dialog_modal_true .jodit-dialog__overlay{display:block}.jodit-dialog__panel{background-color:#fff;box-shadow:0 8px 16px #00000030,0 6px 6px #0000003b;display:flex;flex-flow:column nowrap;left:0;max-height:100%;max-width:100%;min-height:100px;min-width:200px;position:fixed;text-align:left;top:0;white-space:normal;z-index:20000004}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__panel{height:100%!important;left:0!important;max-width:100%;top:0!important;width:100%!important}}.jodit-dialog_static_true{box-sizing:border-box;display:block;height:auto;position:static;width:auto}.jodit-dialog_static_true .jodit-dialog__panel{border:1px solid #dadada;box-shadow:none;left:auto!important;position:relative;top:auto!important;width:100%!important}.jodit-dialog_theme_dark,.jodit-dialog_theme_dark .jodit-dialog__panel{background-color:#353535;color:#fff}.jodit-dialog__header{border-bottom:1px solid #dadada;cursor:move;display:flex;justify-content:space-between;min-height:50px;text-align:left}.jodit-dialog__header-title,.jodit-dialog__header-toolbar{align-items:center;display:flex;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}@media (max-width:480px){.jodit-dialog__header-toolbar{padding-left:0}}.jodit-dialog__header-button{color:#222;flex-basis:48px;font-size:28px;height:48px;line-height:48px;text-align:center;text-decoration:none;transition:background-color .2s ease 0s}.jodit-dialog__header-button:hover{background-color:#ecebe9}.jodit-dialog__header .jodit_toolbar{background:transparent;border:0;box-shadow:none}.jodit-dialog__header .jodit_toolbar>li.jodit-toolbar-button .jodit-input{padding-left:8px;width:auto}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__header{flex-direction:column}}.jodit-dialog_slim_true .jodit-dialog__header{min-height:10px}.jodit-dialog_slim_true .jodit-dialog__header-title,.jodit-dialog_slim_true .jodit-dialog__header-toolbar{padding:0 2px}.jodit-dialog_theme_dark .jodit-dialog__header{border-color:#4c4c4c}.jodit-dialog_fullsize_true .jodit-dialog__header{cursor:default}.jodit-dialog__content{flex:1;min-height:100px;overflow:auto}.jodit-dialog__content .jodit-form__group{margin-bottom:12px;padding:0 8px}.jodit-dialog__content .jodit-form__group:first-child{margin-top:8px}.jodit-dialog__content .jodit-form__group label+.jodit-grid{margin-top:4px}.jodit-dialog__content .jodit-form__group label+.jodit-input_group{margin-top:4px}.jodit-dialog__content .jodit-form__group label+.jodit-select{margin-top:4px}.jodit-dialog__content .jodit-form__group label+input{margin-top:4px}.jodit-dialog__content .jodit-form__group .jodit-input_group{border-collapse:separate;display:table;width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group>*{display:table-cell;height:34px;vertical-align:middle}.jodit-dialog__content .jodit-form__group .jodit-input_group>input{margin:0!important}.jodit-dialog__content .jodit-form__group .jodit-input_group>input:not([class*=col-]){width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons{font-size:0;vertical-align:middle;white-space:nowrap;width:1%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons>.jodit-button{border:1px solid #dadada;border-radius:0;height:34px;line-height:34px;margin-left:-1px}.jodit-dialog__footer{display:none;flex-wrap:nowrap;justify-content:space-between;padding:8px}.jodit-dialog__footer button{margin-right:4px}.jodit-dialog__footer button:last-child{margin-right:0}.jodit-dialog__column{display:flex}.jodit-dialog__resizer{display:none;position:relative}.jodit-dialog__resizer svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:12px}.jodit-dialog_resizable_true .jodit-dialog__resizer{display:block}@media (max-width:480px){.jodit-dialog__resizer{display:none}}.jodit-dialog_prompt{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_prompt label{display:block;margin-bottom:4px}.jodit-dialog_alert{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_footer_true .jodit-dialog__footer{display:flex}.jodit_fullsize .jodit-dialog__panel{height:100%!important;inset:0!important;width:100%!important}.jodit_fullsize .jodit-dialog__panel .jodit-dialog__resizer{display:none}.jodit-toolbar__box:not(:empty){background-color:#fff;border-bottom:1px solid #dadada;border-radius:3px 3px 0 0;overflow:hidden}.jodit-toolbar__box:not(:empty):not(:empty){background-color:#f9f9f9}.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#f9f9f9}.jodit-ui-messages{bottom:0;height:0;overflow:visible;position:absolute;right:0;width:0;z-index:3}.jodit-ui-message{background:#cfe2ff;border:1px solid #b6d4fe;border-radius:.375rem;bottom:0;color:#084298;cursor:pointer;display:block;font-size:1rem;opacity:0;padding:.5rem 1rem;position:absolute;right:4px;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;white-space:pre}.jodit-ui-message_active_true{opacity:1}.jodit-ui-message:active{transform:scale(.76)}.jodit-ui-message_variant_danger,.jodit-ui-message_variant_error{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_secondary{background:#e2e3e5;border-color:#d3d6d8;color:#41464b}.jodit-ui-message_variant_success{background:#d1e7dd;border-color:#badbcc;color:#0f5132}.jodit-ui-label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-input{display:flex;flex-direction:column;margin-bottom:8px}.jodit-ui-input__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-input__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-input__input_has-error_true{border-color:#ff3b3b}.jodit-ui-input__input:focus{outline:0}.jodit-ui-input_theme_dark .jodit-ui-input__input{background-color:#dadada}.jodit-ui-input_has-error_true .jodit-ui-input__input{border-color:#ff3b3b}.jodit-ui-input__error,.jodit-ui-input__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-input__error,.jodit-ui-input_has-error_true .jodit-ui-input__label{color:#ff3b3b}.jodit-ui-input__wrapper{align-items:center;background-color:#fff;border:1px solid #dadada;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-input__wrapper{min-width:140px}}.jodit-ui-input_theme_dark .jodit-ui-input__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-input_focused_true .jodit-ui-input__wrapper{border-color:#1e88e5}.jodit-ui-input__icon:not(:empty){align-items:center;display:flex;padding:0 8px}.jodit-ui-input__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-input__icon:not(:empty)+.jodit-ui-input__input{padding-left:0}.jodit-ui-input__clear{align-items:center;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-input__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-input__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-input_theme_dark .jodit-ui-input__clear svg{fill:#4c4c4c}.jodit-ui-input_theme_dark .jodit-ui-input__icon svg{fill:#4c4c4c}.jodit-ui-block .jodit-ui-input{margin-bottom:0}.jodit-ui-select{display:flex;flex-direction:column;margin-bottom:8px}.jodit-ui-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-select__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-select__input_has-error_true{border-color:#ff3b3b}.jodit-ui-select__input:focus{outline:0}.jodit-ui-select_theme_dark .jodit-ui-select__input{background-color:#dadada}.jodit-ui-select_has-error_true .jodit-ui-select__input{border-color:#ff3b3b}.jodit-ui-select__error,.jodit-ui-select__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-select__error,.jodit-ui-select_has-error_true .jodit-ui-select__label{color:#ff3b3b}.jodit-ui-select__wrapper{align-items:center;background-color:#fff;border:1px solid #dadada;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-select__wrapper{min-width:140px}}.jodit-ui-select_theme_dark .jodit-ui-select__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-select_focused_true .jodit-ui-select__wrapper{border-color:#1e88e5}.jodit-ui-select__icon:not(:empty){align-items:center;display:flex;padding:0 8px}.jodit-ui-select__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-select__icon:not(:empty)+.jodit-ui-select__input{padding-left:0}.jodit-ui-select__clear{align-items:center;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-select__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-select__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-select_theme_dark .jodit-ui-select__clear svg{fill:#4c4c4c}.jodit-ui-select_theme_dark .jodit-ui-select__icon svg{fill:#4c4c4c}.jodit-ui-select__input{background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBzdHlsZT0iZmlsbDojZmZmIiBkPSJNMCAwaDQuOTV2MTBIMHoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==);background-position:98% 50%;background-repeat:no-repeat;padding-right:16px}.jodit-ui-select_size_tiny{margin-bottom:0}.jodit-ui-select_size_tiny .jodit-ui-select__input{height:calc(32px/1.8);line-height:calc(32px/1.8)}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper{border:0}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper select{outline:0}.jodit-ui-select_width_auto{width:auto}.jodit-ui-select_width_auto .jodit-ui-select__wrapper{min-width:auto}.jodit-ui-text-area{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.jodit-ui-text-area__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-text-area__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-text-area__input_has-error_true{border-color:#ff3b3b}.jodit-ui-text-area__input:focus{outline:0}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__input{background-color:#dadada}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__input{border-color:#ff3b3b}.jodit-ui-text-area__error,.jodit-ui-text-area__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-text-area__error,.jodit-ui-text-area_has-error_true .jodit-ui-text-area__label{color:#ff3b3b}.jodit-ui-text-area__wrapper{align-items:center;background-color:#fff;border:1px solid #dadada;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-text-area__wrapper{min-width:140px}}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper{border-color:#1e88e5}.jodit-ui-text-area__icon:not(:empty){align-items:center;display:flex;padding:0 8px}.jodit-ui-text-area__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-text-area__icon:not(:empty)+.jodit-ui-text-area__input{padding-left:0}.jodit-ui-text-area__clear{align-items:center;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-text-area__clear:active{opacity:1;transform:scale(1.1)}.jodit-ui-text-area__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg{fill:#4c4c4c}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__icon svg{fill:#4c4c4c}.jodit-ui-text-area__wrapper{flex:1}.jodit-ui-text-area__input{height:100%;min-height:60px}.jodit-ui-checkbox{align-items:center;display:flex;flex-direction:row-reverse;justify-content:flex-end;margin-bottom:8px}.jodit-ui-checkbox__input{margin-right:8px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper{display:inline-block;height:34px;margin-right:8px;position:relative;width:60px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper input{height:0;opacity:0;width:0}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider{background-color:#ccc;border-radius:34px;cursor:pointer;inset:0;position:absolute;transition:.4s}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:26px;left:4px;position:absolute;transition:.4s;width:26px}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider{background-color:#2196f3}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider:before{transform:translate(26px)}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_focused_true .jodit-ui-checkbox__switch-slider{box-shadow:0 0 1px #2196f3}.jodit-ui-block .jodit-ui-checkbox{margin-bottom:0}.jodit-ui-file-input{overflow:hidden;position:relative}.jodit-ui-file-input__input{bottom:0;cursor:pointer;font-size:400px;margin:0 -8px 0 0;opacity:0;padding:0;position:absolute;right:0;top:0}.jodit-ui-block{align-items:center;display:flex;justify-content:stretch;margin-bottom:8px}.jodit-ui-block_width_full{width:100%}.jodit-ui-block_align_full{justify-content:space-between}.jodit-ui-block_align_right{justify-content:flex-end}.jodit-ui-block_padding_true{padding:8px}@keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit-progress-bar{border-radius:1px;height:2px;left:0;opacity:.7;position:absolute;top:0;z-index:2147483647}.jodit-progress-bar div{background:#b91f1f;height:2px;position:relative;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit-progress-bar div:after{animation:b 2s ease-out 0s infinite;border-radius:100%;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{animation:b 2s ease-out 0s infinite;border-radius:100%;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{clip:rect(-6px,90px,14px,-6px);right:-80px;width:180px}.jodit-progress-bar div:after{clip:rect(-6px,22px,14px,8px);right:0;width:20px}.jodit-toolbar-collection,.jodit-toolbar-editor-collection{display:flex;flex-direction:column}.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);position:relative}.jodit-toolbar-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_mode_vertical .jodit-ui-group,.jodit-toolbar-editor-collection_mode_vertical .jodit-ui-group{background-color:transparent;border:0;flex-direction:column}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:38px}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:38px;width:100%}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty){justify-content:left}.jodit-toolbar-collection .jodit-toolbar-button,.jodit-toolbar-collection .jodit-toolbar-content,.jodit-toolbar-editor-collection .jodit-toolbar-button,.jodit-toolbar-editor-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-dialog .jodit-toolbar-collection_mode_horizontal,.jodit-dialog .jodit-toolbar-editor-collection_mode_horizontal{background-image:none}.jodit-toolbar-button{align-items:center;border:1px solid transparent;border-radius:3px;display:flex;height:34px;justify-content:center;min-width:34px;overflow:hidden}.jodit-toolbar-button__icon{display:none}.jodit-toolbar-button__icon:not(:empty){display:inline-flex}.jodit-toolbar-button__text{display:none}.jodit-toolbar-button__text:not(:empty){display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text{justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-toolbar-button__icon:not(:empty)+.jodit-toolbar-button__text:not(:empty){margin-left:8px}.jodit-toolbar-button__icon:empty+.jodit-toolbar-button__text:not(:empty){padding:0}.jodit-toolbar-button .jodit-icon{height:14px;width:14px}.jodit-toolbar-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-button_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_tiny{height:16px;min-width:16px}.jodit-toolbar-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_small{height:28px;min-width:28px}.jodit-toolbar-button_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-button_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_large{height:40px;min-width:40px}.jodit-toolbar-button_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-button_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-button__button{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#000000bf;cursor:pointer;display:inline-flex;font-style:normal;justify-content:center;outline:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-toolbar-button__button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:active:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-button__button[aria-pressed=true]:hover:not([disabled]){background-color:#dbdbdb99}.jodit-toolbar-button__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger{align-items:center;border-radius:0 3px 3px 0;cursor:pointer;display:flex;height:100%;justify-content:center;opacity:.4;width:14px}.jodit-toolbar-button__trigger:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:active:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:hover:not([disabled]){background-color:#dbdbdb99}.jodit-toolbar-button__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger svg{width:10px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger{width:8px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg{width:4px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger{width:10px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg{width:6px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger{width:12px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg{width:8px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger{width:16px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg{width:12px}.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button{border-radius:3px 0 0 3px}.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:#dadada}.jodit-toolbar-button_stroke_false svg{stroke:none}.jodit-toolbar-content{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:1px solid transparent;border-radius:3px;box-shadow:none;box-sizing:border-box;color:#000000bf;cursor:pointer;display:inline-flex;font-style:normal;height:34px;justify-content:center;min-width:34px;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-toolbar-content:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:active:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-content[aria-pressed=true]:not([disabled]){background-color:#dbdbdb66;outline:0}.jodit-toolbar-content[aria-pressed=true]:hover:not([disabled]){background-color:#dbdbdb99}.jodit-toolbar-content[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-content .jodit-icon{height:14px;width:14px}.jodit-toolbar-content button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-content_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_tiny{height:16px;min-width:16px}.jodit-toolbar-content_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-content_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-content_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-content_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-content_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-content_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_small{height:28px;min-width:28px}.jodit-toolbar-content_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-content_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-content_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_large{height:40px;min-width:40px}.jodit-toolbar-content_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-content_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-content_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-content__icon{display:none}.jodit-toolbar-content__icon:not(:empty){display:inline-flex}.jodit-toolbar-content__text{display:none}.jodit-toolbar-content__text:not(:empty){display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text{justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-toolbar-content__icon:not(:empty)+.jodit-toolbar-content__text:not(:empty){margin-left:8px}.jodit-toolbar-content__icon:empty+.jodit-toolbar-content__text:not(:empty){padding:0 8px}.jodit-toolbar-content:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-toolbar-content_variant_default{background-color:#e3e3e3;color:#212529}.jodit-toolbar-content_variant_default svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default [disabled]{opacity:.7}.jodit-toolbar-content_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_primary{background-color:#007bff;color:#fff}.jodit-toolbar-content_variant_primary svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary [disabled]{opacity:.7}.jodit-toolbar-content_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-toolbar-content_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-toolbar-content_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-toolbar-content_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary [disabled]{opacity:.7}.jodit-toolbar-content_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_success{background-color:#28a745;color:#fff}.jodit-toolbar-content_variant_success svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success [disabled]{opacity:.7}.jodit-toolbar-content_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-toolbar-content_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-toolbar-content_variant_danger{background-color:#dc3545;color:#fff}.jodit-toolbar-content_variant_danger svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger [disabled]{opacity:.7}.jodit-toolbar-content_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-toolbar-content_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-toolbar-content:hover:not([disabled]){background-color:transparent;opacity:1;outline:0}.jodit-filebrowser{display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:100%}.jodit-filebrowser_no-files_true{padding:8px}@media (max-width:480px){.jodit-filebrowser{flex-flow:column-reverse}}.jodit-dialog .jodit-dialog__header-title.jodit-filebrowser__title-box{align-items:center;display:flex;padding-left:8px}.jodit-filebrowser-preview{align-items:center;display:flex;height:100%;justify-content:center;margin:auto;max-height:100%;max-width:Min(100%,1000px);min-height:Min(100%,500px);min-width:400px;position:relative;text-align:center}@media (max-width:768px){.jodit-filebrowser-preview{height:100%;max-height:100%;max-width:100%;min-height:auto;min-width:auto}}.jodit-filebrowser-preview__box{align-items:center;display:flex;flex-grow:1;justify-content:center}.jodit-filebrowser-preview__navigation{cursor:pointer;height:100%;left:0;position:absolute;top:0}.jodit-filebrowser-preview__navigation_arrow_next{left:auto;right:0}.jodit-filebrowser-preview__navigation svg{fill:#9e9ba7;height:45px;position:relative;top:50%;transform:translateY(-50%);transition:fill .3s linear;width:45px}.jodit-filebrowser-preview__navigation:hover svg{fill:#000}.jodit-filebrowser-preview img{max-height:100%;max-width:100%}.jodit-image-editor{height:100%;overflow:hidden;padding:8px;width:100%}@media (max-width:768px){.jodit-image-editor{height:auto}}.jodit-image-editor>div,.jodit-image-editor>div>div{height:100%}@media (max-width:768px){.jodit-image-editor>div,.jodit-image-editor>div>div{height:auto;min-height:200px}}.jodit-image-editor *{box-sizing:border-box}.jodit-image-editor .jodit-image-editor__slider-title{background-color:#f9f9f9;border-bottom:1px solid hsla(0,0%,62%,.31);color:#333;cursor:pointer;font-weight:700;line-height:1em;padding:.8em 1em;text-overflow:ellipsis;text-shadow:#f3f3f3 0 1px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.jodit-image-editor .jodit-image-editor__slider-title svg{display:inline-block;margin-right:8px;vertical-align:middle;width:16px}.jodit-image-editor .jodit-image-editor__slider-content{display:none}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title svg{fill:#fff}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-content{display:block}.jodit-image-editor__area{background-color:#eee;background-image:linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada),linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada);background-position:0 0,15px 15px;background-size:30px 30px;display:none;height:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.jodit-image-editor__area.jodit-image-editor_active{display:block}.jodit-image-editor__area .jodit-image-editor__box{height:100%;overflow:hidden;pointer-events:none;position:relative;z-index:1}.jodit-image-editor__area .jodit-image-editor__box img{max-height:100%;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-image-editor__area .jodit-image-editor__croper,.jodit-image-editor__area .jodit-image-editor__resizer{background-repeat:no-repeat;border:1px solid #fff;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:-8px;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:-8px;width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright:active,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit-image-editor__area.jodit-image-editor__area_crop{background:#eee;height:100%;line-height:100%;position:relative;text-align:center}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box{height:100%;line-height:100%;overflow:visible;pointer-events:all;text-align:left}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box img{height:100%;max-height:100%;max-width:100%;width:100%}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box:after{background:hsla(0,0%,100%,.3);content:"";inset:0;margin:auto;position:absolute;z-index:1}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper{cursor:move;pointer-events:all}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper i.jodit-image-editor__sizes{background:rgba(0,0,0,.2);border-radius:.4em;bottom:-30px;color:#fff;display:block;font-size:12px;left:100%;padding:9px 6px;position:absolute;text-align:center;text-shadow:none;white-space:pre}.jodit-image-editor__area.jodit-image-editor__area_crop.jodit-image-editor_active{align-items:center;display:flex;justify-content:center}.jodit-filebrowser-files{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-files .jodit-button{border-radius:0}.jodit-filebrowser-files_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-files_loading_true:after{animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:-24px;margin-top:-24px;opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-files_active_true{display:flex}.jodit-filebrowser-files::-webkit-scrollbar{width:4px}.jodit-filebrowser-files::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-files::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-files_active_true{align-content:flex-start;flex-wrap:wrap;overflow-y:auto;padding:4px;width:100%}.jodit-filebrowser-files__item{align-items:center;border:1px solid #dadada;display:flex;font-size:0;height:150px;justify-content:center;margin:4px;overflow:hidden;position:relative;text-align:center;transition:border .1s linear,bottom .1s linear;width:150px}@media (max-width:480px){.jodit-filebrowser-files__item{width:calc(50% - 8px)}}.jodit-filebrowser-files__item img{max-width:100%}.jodit-filebrowser-files__item:hover{border-color:#433b5c}.jodit-filebrowser-files__item_active_true{background-color:#b5b5b5;border-color:#1e88e5}.jodit-filebrowser-files__item_active_true .jodit-filebrowser-files__item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit-filebrowser-files__item-info{background-color:#e9e9e9;bottom:0;color:#333;font-size:14px;left:0;line-height:16px;opacity:.85;overflow:visible;padding:.3em .6em;position:absolute;right:0;text-align:left;text-shadow:#eee 0 1px 0;transition:opacity .4s ease;white-space:normal}.jodit-filebrowser-files__item-info>span{display:block;font-size:.75em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jodit-filebrowser-files__item-info>span.jodit-filebrowser-files__item-info-filename{font-size:.9em;font-weight:700}.jodit-filebrowser-files__item:hover:not(.jodit-filebrowser-files__item_active_true) .jodit-filebrowser-files__item-info{bottom:-100px}.jodit-filebrowser-files_view_list{scroll-behavior:smooth}.jodit-filebrowser-files_view_list a{border-width:0 0 1px;display:block;height:26px;line-height:26px;margin:0;text-align:left;white-space:nowrap;width:100%}.jodit-filebrowser-files_view_list a img{display:inline-block;margin-left:4px;max-width:16px;min-width:16px;vertical-align:middle}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info{background-color:transparent;display:inline-block;font-size:0;height:100%;line-height:inherit;margin-left:4px;padding:0;position:static;vertical-align:middle;width:calc(100% - 20px)}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info>span{display:inline-block;font-size:12px;height:100%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filename{width:50%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filechanged,.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filesize{width:25%}.jodit-filebrowser-files_view_list a:hover{background-color:#433b5c}.jodit-filebrowser-files_view_list a:hover .jodit-filebrowser-files__item-info{color:#fff;text-shadow:none}.jodit-filebrowser-files_view_list a:before{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit-filebrowser-tree{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-tree .jodit-button{border-radius:0}.jodit-filebrowser-tree_active_true{display:flex}.jodit-filebrowser-tree_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-tree_loading_true:after{animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:-24px;margin-top:-24px;opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-tree::-webkit-scrollbar{width:4px}.jodit-filebrowser-tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-tree_active_true{background-color:#3f3f3f;flex-direction:column;max-width:290px;min-width:200px;overflow-y:auto;width:31%;z-index:2}@media (max-width:480px){.jodit-filebrowser-tree_active_true{height:100px;max-width:100%;width:auto}}.jodit-filebrowser-tree_active_true::-webkit-scrollbar{width:4px}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-thumb{background-color:#80808080;outline:1px solid #708090}.jodit-filebrowser-tree__item{align-items:center;border-bottom:1px solid #474747;color:#b1b1b1;display:flex;justify-content:space-between;min-height:38px;padding:4px 8px;position:relative;text-decoration:none;transition:background-color .2s ease 0s;word-break:break-all}.jodit-filebrowser-tree__item-title{color:#b1b1b1;flex:1}.jodit-filebrowser-tree__item .jodit-icon_folder{align-items:center;display:flex;height:16px;justify-content:center;margin-left:4px;opacity:.3;width:16px}.jodit-filebrowser-tree__item .jodit-icon_folder svg{fill:#b1b1b1!important;stroke:#b1b1b1!important;height:12px;width:12px}.jodit-filebrowser-tree__item .jodit-icon_folder:hover{background:#696969}.jodit-filebrowser-tree__item:hover{background-color:#ecebe9}.jodit-filebrowser-tree__item:hover-title{color:#222}.jodit-filebrowser-tree__item:hover i.jodit-icon_folder{opacity:.6}.jodit-filebrowser-tree__source-title{background:#5a5a5a;border-bottom:1px solid #484848;color:#969696;display:block;font-size:12px;padding:2px 4px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;word-break:break-all}a+.jodit-filebrowser-tree__source-title{margin-top:8px}.jodit-status-bar{align-items:center;background-color:#f9f9f9;border-radius:0 0 3px 3px;color:#000000bf;display:flex;font-size:11px;height:20px;justify-content:flex-start;overflow:hidden;padding:0 4px;text-transform:uppercase}.jodit-status-bar_resize-handle_true{padding-right:14px}.jodit-status-bar:before{content:"";flex:auto;order:1}.jodit-status-bar .jodit-status-bar__item{line-height:1.57142857em;margin:0 8px 0 0;order:0;padding:0}.jodit-status-bar .jodit-status-bar__item{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item>span{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item.jodit-status-bar__item-right{margin:0 0 0 8px;order:2}.jodit-status-bar .jodit-status-bar__item a{border-radius:3px;cursor:default;text-decoration:none}.jodit-status-bar .jodit-status-bar__item a:hover{background-color:#dadada;text-decoration:none}.jodit-status-bar a.jodit-status-bar-link{cursor:pointer}.jodit-status-bar a.jodit-status-bar-link,.jodit-status-bar a.jodit-status-bar-link:hover,.jodit-status-bar a.jodit-status-bar-link:visited{background-color:transparent;color:#000000bf}.jodit-status-bar a.jodit-status-bar-link:hover{text-decoration:underline}.jodit-workplace+.jodit-status-bar:not(:empty){border-top:1px solid #dadada}.jodit_disabled .jodit-status-bar{opacity:.4}.jodit-drag-and-drop__file-box,.jodit_uploadfile_button{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit-drag-and-drop__file-box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit-drag-and-drop__file-box input,.jodit_uploadfile_button input{cursor:pointer;font-size:400px;inset:0;margin:0;opacity:0;padding:0;position:absolute}@media (max-width:768px){.jodit-drag-and-drop__file-box{max-width:100%;min-width:180px;width:auto}}.jodit-about{padding:20px}.jodit-about a{color:#459ce7;text-decoration:none}.jodit-about a:focus,.jodit-about a:hover{color:#23527c;outline:0;text-decoration:underline}.jodit-about div{margin-bottom:4px}.jodit-add-new-line{display:block;height:1px;outline:none;position:fixed;top:0;z-index:1}.jodit-add-new-line,.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:after{background-color:#6b6b6b;content:"";display:block;height:1px;width:100%}.jodit-add-new-line span{align-items:center;background:hsla(40,7%,92%,.3);border:1px solid #6b6b6b;cursor:pointer;display:flex;height:30px;justify-content:center;left:calc(100% - 30px);position:absolute;width:30px}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line_after span{bottom:0}.jodit-add-new-line svg{fill:#6b6b6b;width:16px}.jodit-source__mode .jodit-add-new-line{display:none!important}.jodit-color-picker{margin:0;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-color-picker__group{display:flex;flex-wrap:wrap;margin-bottom:4px;max-width:240px;white-space:normal}.jodit-color-picker__color-item{border:1px solid transparent;display:block;height:24px;text-align:center;text-decoration:none;vertical-align:middle;width:24px}.jodit-color-picker__color-item:hover{border-color:#000}.jodit-color-picker__color-item:active,.jodit-color-picker__color-item_active_true{border:2px solid #1e88e5}.jodit-color-picker__native svg{display:inline-block;height:16px;margin-right:4px;width:16px}.jodit-color-picker__native input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:18px;padding:0;width:18px}.jodit-color-picker__native input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit-color-picker__native input input[type=color]::-webkit-color-swatch{border:none}.jodit-tabs{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-tabs .jodit-tabs__buttons{display:flex;justify-content:center;line-height:18px;margin-bottom:4px;margin-top:4px}.jodit-tabs .jodit-tabs__buttons>*{cursor:pointer;margin-left:4px}.jodit-tabs .jodit-tabs__buttons>:only-of-type{width:100%}.jodit-tabs .jodit-tabs__buttons>:first-child{margin-left:0}@media (max-width:480px){.jodit-tabs .jodit-tabs__buttons{display:block}.jodit-tabs .jodit-tabs__buttons>*{margin-left:0;width:100%}}.jodit-tabs__button{min-width:80px}.jodit-tabs__button_columns_3{width:33.33333%}.jodit-tabs__button_columns_2{width:50%}.jodit-tabs .jodit-tabs__wrapper .jodit-tab{display:none}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_active{display:block}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_empty{min-height:100px;min-width:220px}.jodit_fullsize-box_true{overflow:visible!important;position:static!important;z-index:100000!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{height:0!important;overflow:hidden!important;width:0!important}html.jodit_fullsize-box_true{position:fixed!important}.jodit_fullsize{inset:0;max-width:none!important;position:absolute;z-index:100000}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit__area,.jodit_fullsize .jodit_editor{height:100%}.jodit-properties__lock>svg,.jodit-properties__unlock>svg{fill:#222;display:inline-block;font-size:8px;font-style:normal;height:14px;line-height:14px;overflow:hidden;transform-origin:0 0!important;vertical-align:middle;width:14px}.jodit-properties .jodit-properties_view_box{padding:8px}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view{align-items:center;background-color:#f6f6f6;display:flex;height:150px;justify-content:center;margin:0 0 8px;padding:0}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view img{max-height:100%;max-width:100%}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group{align-items:center;flex-direction:row;margin:0!important;min-width:auto;padding:0!important}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group a{cursor:pointer;display:inline-block}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group .jodit-input{width:calc(50% - 8px)!important}.jodit-popup-inline__container{min-width:700px;z-index:1300}.jodit-paste-storage{max-width:600px;padding:8px}@media (max-width:768px){.jodit-paste-storage{max-width:100%}}.jodit-paste-storage>div{border:1px solid #dadada;max-height:300px;max-width:100%}.jodit-paste-storage>div:first-child{margin-bottom:8px}.jodit-paste-storage>div:first-child a{border:1px solid transparent;box-sizing:border-box;color:#4c4c4c;display:block;margin:0;max-width:100%;outline:none;overflow:hidden;padding:4px;text-decoration:none;text-overflow:ellipsis;white-space:pre}.jodit-paste-storage>div:first-child a.jodit_active{background-color:#575757;color:#fff}.jodit-paste-storage>div:first-child a:focus{outline:none}.jodit-paste-storage>div:last-child{overflow:auto;padding:8px}.jodit-paste-storage>div:last-child li,.jodit-paste-storage>div:last-child ul{margin:0}.jodit-placeholder{color:#a5a5a5;display:block;left:0;padding:8px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;width:100%;z-index:1}.jodit__preview-box table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit__preview-box table tr{-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit__preview-box table tr td,.jodit__preview-box table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;user-select:text;vertical-align:middle}.jodit-table-resizer{cursor:col-resize;margin-left:-4px;padding-left:4px;padding-right:4px;position:absolute;z-index:3}.jodit-table-resizer:after{border:0;content:"";display:block;height:100%;width:0}.jodit-table-resizer_moved{background-color:#b5d6fd;z-index:2}.jodit-table-resizer_moved:after{border-right:1px solid moved}[data-jodit_iframe_wrapper]{display:block;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-jodit_iframe_wrapper] iframe{position:relative}[data-jodit_iframe_wrapper]:after{background:transparent;content:"";cursor:pointer;display:block;inset:0;position:absolute;z-index:1}[data-jodit_iframe_wrapper][data-jodit-wrapper_active=true] iframe{z-index:2}.jodit_lock [data-jodit-wrapper_active=true] iframe{z-index:1}.jodit-resizer{font-size:0;height:100px;left:0;outline:3px solid #98c1f1;pointer-events:none;position:absolute;top:0;width:100px}.jodit-resizer,.jodit-resizer *{box-sizing:border-box}.jodit-resizer>span{background-color:#a5a5a5;color:#fff;display:inline-block;font-size:12px;height:24px;left:50%;line-height:24px;margin-left:-35px;margin-top:-12px;opacity:0;overflow:visible;position:absolute;text-align:center;top:50%;transition:opacity .2s linear;width:70px}.jodit-resizer>div{background-color:#5ba4f3;display:inline-block;height:10px;pointer-events:all;position:absolute;width:10px;z-index:4}.jodit-resizer>div:hover{background-color:#537ebb}.jodit-resizer>div:first-child{cursor:nwse-resize;left:-5px;top:-5px}.jodit-resizer>div:nth-child(2){cursor:nesw-resize;right:-5px;top:-5px}.jodit-resizer>div:nth-child(3){bottom:-5px;cursor:nwse-resize;right:-5px}.jodit-resizer>div:nth-child(4){bottom:-5px;cursor:nesw-resize;left:-5px}.jodit-ui-search{height:0;position:absolute;right:0;top:0;width:0}.jodit-ui-search_sticky_true{position:fixed}.jodit-ui-search__box{background-color:#f9f9f9;border:solid #dadada;border-width:0 0 1px 1px;display:flex;max-width:100vw;padding:4px;position:absolute;right:0;width:320px}.jodit-ui-search__box input{background-color:transparent;border:0;height:100%;margin:0;outline:none;padding:0 8px;width:100%}.jodit-ui-search__box input[data-ref=replace]{display:none}.jodit-ui-search__box input:not(:focus)+input:not(:focus){border-top:1px solid #dadada}.jodit-ui-search__buttons,.jodit-ui-search__counts,.jodit-ui-search__inputs{height:30px}.jodit-ui-search__inputs{padding-right:4px;width:60%}.jodit-ui-search__counts{border-left:1px solid #dadada;color:#dadada;width:15%}.jodit-ui-search__buttons,.jodit-ui-search__counts{align-items:center;display:flex;justify-content:center}.jodit-ui-search__buttons{flex:1;padding-left:0}.jodit-ui-search__buttons button{background-color:transparent;border:1px solid transparent;height:100%;margin-right:1%;width:32%}.jodit-ui-search__buttons button[data-ref=replace-btn]{border:1px solid #dadada;display:none;margin-top:2px;width:100%}.jodit-ui-search__buttons button:hover{background-color:#ecebe9}.jodit-ui-search__buttons button:focus{border:1px solid rgba(181,214,253,.995)}.jodit-ui-search__buttons button:active{border:1px solid #b5d6fd;transform:scale(.95)}.jodit-ui-search_empty-query_true [data-ref=next],.jodit-ui-search_empty-query_true [data-ref=prev]{opacity:.5}.jodit-ui-search_replace_true .jodit-ui-search__counts,.jodit-ui-search_replace_true .jodit-ui-search__inputs{height:60px}.jodit-ui-search_replace_true .jodit-ui-search__counts input,.jodit-ui-search_replace_true .jodit-ui-search__inputs input{height:50%;transition:background-color .1s linear}.jodit-ui-search_replace_true .jodit-ui-search__counts input:focus{box-shadow:inset 0 0 3px #dadada}.jodit-ui-search_replace_true .jodit-ui-search__inputs input:focus{box-shadow:inset 0 0 3px #dadada}.jodit-ui-search_replace_true .jodit-ui-search__counts input[data-ref=replace],.jodit-ui-search_replace_true .jodit-ui-search__inputs input[data-ref=replace]{display:block}.jodit-ui-search_replace_true .jodit-ui-search__buttons{flex-wrap:wrap}.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref=replace-btn]{display:block}[jd-tmp-selection]{background-color:#7fffd4}.jodit-container:not(.jodit_inline){min-height:100px}.jodit-container:not(.jodit_inline) .jodit-workplace{display:flex;flex-direction:column;height:auto;min-height:50px;overflow:hidden}.jodit-container:not(.jodit_inline) .jodit-editor__resize{position:relative}.jodit-container:not(.jodit_inline) .jodit-editor__resize svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:12px}.jodit-source{background-color:#323232;display:none;flex:auto;overflow:auto;position:relative}.jodit-source,.jodit-source .jodit-source__mirror-fake{min-height:100%}.jodit-source *{font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace}.jodit-container.jodit-source__mode .jodit-wysiwyg,.jodit-container.jodit-source__mode .jodit-wysiwyg_iframe{display:none!important}.jodit-container.jodit-source__mode .jodit-source{display:block!important}.jodit-container.jodit_split_mode .jodit-workplace{flex-direction:row;flex-wrap:nowrap}.jodit-container.jodit_split_mode .jodit-source,.jodit-container.jodit_split_mode .jodit-wysiwyg,.jodit-container.jodit_split_mode .jodit-wysiwyg_iframe{display:block!important;flex:1;width:50%}.jodit-source__mirror{background:#323232;border:0;box-shadow:none;box-sizing:border-box;color:#f0f0f0;height:100%;line-height:1.5;font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;margin:0;min-height:100%;outline:none;overflow:auto;padding:8px;resize:none;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;white-space:pre-wrap;width:100%;z-index:2}.jodit-source__mirror::-moz-selection{background:#bdbdbd}.jodit-source__mirror::selection{background:#bdbdbd}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit-toolbar__box{border-bottom:1px solid #dadada;left:auto;position:fixed;position:sticky;top:0;z-index:3}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit-symbols{padding:8px;width:460px}.jodit-symbols__container{display:flex}.jodit-symbols__container_table{width:88%}.jodit-symbols__container_preview{width:12%}.jodit-symbols__preview{border:1px solid #dadada;font-size:34px;padding:20px 0;text-align:center}.jodit-symbols__table{border:0;border-spacing:0;table-layout:fixed}.jodit-symbols__table td{padding:0}.jodit-symbols__table td a{border:1px solid transparent;box-sizing:border-box;color:#4c4c4c;cursor:pointer;display:inline-block;font-size:16px;height:calc(18px*1.2);line-height:calc(18px*1.2);text-align:center;text-decoration:none;vertical-align:top;width:calc(18px*1.2)}.jodit-symbols__table td a:focus{outline:2px solid #dadada}.jodit-symbols__table td a:hover{outline:2px solid #dadada}.jodit-context table,.jodit-wysiwyg table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit-context table tr,.jodit-wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;user-select:none}.jodit-context table tr td,.jodit-context table tr th,.jodit-wysiwyg table tr td,.jodit-wysiwyg table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;user-select:text;vertical-align:middle}.jodit-form__inserter .jodit-form__table-creator-box{display:flex}@media (max-width:768px){.jodit-form__inserter .jodit-form__table-creator-box{flex-direction:column}}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container{font-size:0;margin:0;min-width:180px;padding:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span{border:1px solid #dadada;box-sizing:border-box;display:inline-block;height:18px;margin-bottom:2px;margin-left:2px;vertical-align:top;width:18px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span:first-child{margin-left:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span.jodit_hovered{background:#7a450f;border-color:#7a450f}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options{font-size:14px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label{padding-top:0;text-align:left}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input{margin-right:8px}.jodit-form__inserter label{font-size:14px;margin:0;padding:8px;text-align:center}.jodit-xpath{align-items:center;display:flex;margin-left:-4px}.jodit-xpath__item{display:flex;height:11px;line-height:10px}.jodit-xpath__item a{color:#4c4c4c;font-size:11px;margin-left:2px;outline:0;padding:0 3px}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:repeating-linear-gradient(transparent 0,transparent 37px,#6b6b6b 38px)}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container,.jodit_theme_dark.jodit-container{background-color:#575757;border-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container.jodit_disabled,.jodit_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit-dialog_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit-dialog_theme_dark .jodit-popup__content,.jodit_theme_dark .jodit-popup__content{background:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__text,.jodit-dialog_theme_dark .jodit-ui-button__text,.jodit_theme_dark .jodit-toolbar-button__text,.jodit_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-status-bar,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit-dialog_theme_dark .jodit-icon,.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit__upload-button svg{fill:silver;stroke:silver}.jodit_theme_dark .jodit-icon,.jodit_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger{fill:silver;stroke:silver}.jodit_theme_dark .jodit__upload-button svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-icon-close,.jodit_theme_dark .jodit-icon-close{stroke:silver}.jodit-dialog_theme_dark .jodit-wysiwyg,.jodit-dialog_theme_dark .jodit-wysiwyg_iframe,.jodit_theme_dark .jodit-wysiwyg,.jodit_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=text],.jodit-dialog_theme_dark .jodit-form input[type=url],.jodit-dialog_theme_dark .jodit-form textarea,.jodit_theme_dark .jodit-form input[type=text],.jodit_theme_dark .jodit-form input[type=url],.jodit_theme_dark .jodit-form textarea{background-color:#51515169;border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form button,.jodit_theme_dark .jodit-form button{background-color:#696969bf;color:#d1cccc}.jodit-dialog_theme_dark .jodit-placeholder,.jodit_theme_dark .jodit-placeholder{color:#d1cccccc}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box,.jodit-dialog_theme_dark .jodit_uploadfile_button,.jodit_theme_dark .jodit-drag-and-drop__file-box,.jodit_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit-dialog_theme_dark .jodit_uploadfile_button:hover,.jodit_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit_theme_dark .jodit_uploadfile_button:hover{background-color:#696969bf}.jodit-dialog_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span,.jodit_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit-dialog_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit-dialog_theme_dark .jodit-input,.jodit-dialog_theme_dark .jodit-select,.jodit_theme_dark .jodit-input,.jodit_theme_dark .jodit-select{background-color:#787878;border-color:#444;color:#444}.jodit-dialog_theme_dark.jodit-dialog,.jodit_theme_dark.jodit-dialog{background-color:#575757}.jodit-dialog_theme_dark.jodit-dialog .jodit-dialog__header,.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item,.jodit_theme_dark.jodit-dialog .jodit-dialog__header,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}\n'],encapsulation:2});class x{}x.\u0275fac=function(_){return new(_||x)},x.\u0275mod=n.oAB({type:x,declarations:[y],imports:[m.ez],exports:[y]}),x.\u0275inj=n.cJS({imports:[[m.ez]]})},73328:(de,$e,B)=>{"use strict";B.d($e,{_G:()=>U});var n=B(3184),i=B(56908);class P{transform(W,re,pe){if(void 0===re||"number"==typeof re&&void 0===pe)throw new Error("AddPipe: missing required arguments");return i(W).add(re,pe)}}P.\u0275fac=function(W){return new(W||P)},P.\u0275pipe=n.Yjl({name:"amAdd",type:P,pure:!0});class m{constructor(W,re){this.cdRef=W,this.ngZone=re,m.initTimer(re),m.refs++,this.midnightSub=m.midnight.subscribe(()=>{this.ngZone.run(()=>this.cdRef.markForCheck())})}transform(W,...re){let pe=null,Ae=null;for(let Se=0,De=re.length;Se<De;Se++)null!==re[Se]&&("object"!=typeof re[Se]||i.isMoment(re[Se])?Ae=i(re[Se]):pe=re[Se]);return i(W).calendar(Ae,pe)}ngOnDestroy(){m.refs>0&&m.refs--,0===m.refs&&m.removeTimer(),this.midnightSub.unsubscribe()}static initTimer(W){if(!m.midnight&&(m.midnight=new n.vpe,"undefined"!=typeof window)){const re=m._getMillisecondsUntilUpdate();m.timer=W.runOutsideAngular(()=>window.setTimeout(()=>{m.midnight.emit(new Date),m.removeTimer(),m.initTimer(W)},re))}}static removeTimer(){m.timer&&(window.clearTimeout(m.timer),m.timer=null,m.midnight=null)}static _getMillisecondsUntilUpdate(){const W=i();return i().startOf("day").add(1,"days").valueOf()-W.valueOf()+1e3}}m.refs=0,m.timer=null,m.midnight=null,m.\u0275fac=function(W){return new(W||m)(n.Y36(n.sBO,16),n.Y36(n.R0b,16))},m.\u0275pipe=n.Yjl({name:"amCalendar",type:m,pure:!1});class s{transform(W,...re){return W?i(W).format(re[0]):""}}s.\u0275fac=function(W){return new(W||s)},s.\u0275pipe=n.Yjl({name:"amDateFormat",type:s,pure:!0});class o{transform(W,re,pe,Ae){const Se=i(W),De=null!==re?i(re):i();return Se.diff(De,pe,Ae)}}o.\u0275fac=function(W){return new(W||o)},o.\u0275pipe=n.Yjl({name:"amDifference",type:o,pure:!0});const h=new n.OlP("NGX_MOMENT_OPTIONS");class v{constructor(W){this.allowedUnits=["ss","s","m","h","d","M"],this._applyOptions(W)}transform(W,...re){if(void 0===re||1!==re.length)throw new Error("DurationPipe: missing required time unit argument");return i.duration(W,re[0]).humanize()}_applyOptions(W){!W||W.relativeTimeThresholdOptions&&Object.keys(W.relativeTimeThresholdOptions).filter(Ae=>-1!==this.allowedUnits.indexOf(Ae)).forEach(Ae=>{i.relativeTimeThreshold(Ae,W.relativeTimeThresholdOptions[Ae])})}}v.\u0275fac=function(W){return new(W||v)(n.Y36(h,24))},v.\u0275pipe=n.Yjl({name:"amDuration",type:v,pure:!0});class y{transform(W,...re){return"string"==typeof W?i.unix(parseInt(W,10)):i.unix(W)}}y.\u0275fac=function(W){return new(W||y)},y.\u0275pipe=n.Yjl({name:"amFromUnix",type:y,pure:!0});class x{transform(W,re){return i(W,re)}}x.\u0275fac=function(W){return new(W||x)},x.\u0275pipe=n.Yjl({name:"amParse",type:x,pure:!0});class C{transform(W,re,...pe){return re?i.utc(W,re):i.utc(W)}}C.\u0275fac=function(W){return new(W||C)},C.\u0275pipe=n.Yjl({name:"amFromUtc",type:C,pure:!0});class _{transform(W,re,pe){return i(W).isAfter(i(re),pe)}}_.\u0275fac=function(W){return new(W||_)},_.\u0275pipe=n.Yjl({name:"amIsAfter",type:_,pure:!0});class w{transform(W,re,pe){return i(W).isBefore(i(re),pe)}}w.\u0275fac=function(W){return new(W||w)},w.\u0275pipe=n.Yjl({name:"amIsBefore",type:w,pure:!0});class z{transform(W){return i(W).local()}}z.\u0275fac=function(W){return new(W||z)},z.\u0275pipe=n.Yjl({name:"amLocal",type:z,pure:!0});class R{transform(W,re){return i(W).locale(re)}}R.\u0275fac=function(W){return new(W||R)},R.\u0275pipe=n.Yjl({name:"amLocale",type:R,pure:!0});class N{transform(W){return i.parseZone(W)}}N.\u0275fac=function(W){return new(W||N)},N.\u0275pipe=n.Yjl({name:"amParseZone",type:N,pure:!0});class S{transform(W,re,pe){if(void 0===re||"number"==typeof re&&void 0===pe)throw new Error("SubtractPipe: missing required arguments");return i(W).subtract(re,pe)}}S.\u0275fac=function(W){return new(W||S)},S.\u0275pipe=n.Yjl({name:"amSubtract",type:S,pure:!0});class E{constructor(W,re){this.cdRef=W,this.ngZone=re}format(W){return W.from(i(),this.lastOmitSuffix)}transform(W,re,pe){return this.hasChanged(W,re)?(this.lastTime=this.getTime(W),this.lastValue=W,this.lastOmitSuffix=re,this.lastLocale=this.getLocale(W),this.formatFn=pe||this.format.bind(this),this.removeTimer(),this.createTimer(),this.lastText=this.formatFn(i(W))):this.createTimer(),this.lastText}ngOnDestroy(){this.removeTimer()}createTimer(){if(this.currentTimer)return;const W=i(this.lastValue),re=1e3*this.getSecondsUntilUpdate(W);this.currentTimer=this.ngZone.runOutsideAngular(()=>"undefined"!=typeof window?window.setTimeout(()=>{this.lastText=this.formatFn(i(this.lastValue)),this.currentTimer=null,this.ngZone.run(()=>this.cdRef.markForCheck())},re):null)}removeTimer(){this.currentTimer&&(window.clearTimeout(this.currentTimer),this.currentTimer=null)}getSecondsUntilUpdate(W){const re=Math.abs(i().diff(W,"minute"));return re<1?1:re<60?30:re<180?300:3600}hasChanged(W,re){return this.getTime(W)!==this.lastTime||this.getLocale(W)!==this.lastLocale||re!==this.lastOmitSuffix}getTime(W){return i.isDate(W)?W.getTime():i.isMoment(W)?W.valueOf():i(W).valueOf()}getLocale(W){return i.isMoment(W)?W.locale():i.locale()}}E.\u0275fac=function(W){return new(W||E)(n.Y36(n.sBO,16),n.Y36(n.R0b,16))},E.\u0275pipe=n.Yjl({name:"amTimeAgo",type:E,pure:!1});class O{transform(W){return i(W).utc()}}O.\u0275fac=function(W){return new(W||O)},O.\u0275pipe=n.Yjl({name:"amUtc",type:O,pure:!0});class U{static forRoot(W){return{ngModule:U,providers:[{provide:h,useValue:Object.assign({},W)}]}}}U.\u0275fac=function(W){return new(W||U)},U.\u0275mod=n.oAB({type:U,declarations:[P,m,s,o,v,y,x,S,E,O,C,z,R,N,w,_],exports:[P,m,s,o,v,y,x,S,E,O,C,z,R,N,w,_]}),U.\u0275inj=n.cJS({})}},de=>{var n;n=32815,de(de.s=n)}]);
//# sourceMappingURL=main.2ab96435689b3ba9.js.map