PageSourceSearch

https://www.foresightnews.com/main.4423847bc6ead85b.js

js foresightnews.com collected 2026-10-05 19:09:59 UTC 1,547,529 bytes, 1 lines download raw bytes

1(self.webpackChunkforesightnews_web=self.webpackChunkforesightnews_web||[]).push([[792],{8506:(Ot,ke,w)=>{"use strict";w.d(ke,{o:()=>e});var i=w(7705);let e=(()=>{class ee{constructor(){this.baseUrls=["localhost","pm.localhost","www.foresightnews.com"],this.cloudFrontUrl="https://cdn.i.foresightnews.com/",this.dragonUrl="https://dragon.i.foresightnews.com",this.blogUrl="https://advance.foresightnews.com",this.blueskyUkHandle="foresightnews.com",this.blueskyUsHandle="us.foresightnews.com",this.bootstrapColumns=12,this.telUk="020 7970 4293",this.telUkClient="020 7970 4203",this.telUs="(646) 351-8632",this.email="[email protected]",this.emailClient="[email protected]",this.emailEditorial="[email protected]",this.emailSales="[email protected]",this.officeAddress="47 Crookham Road, Fleet, GU51 5DT",this.iOS=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),this.datePipePattern="d MMM yy HH:mm",this.eventsGridPageSize=6}static{this.\u0275fac=function(Z){return new(Z||ee)}}static{this.\u0275prov=i.jDH({token:ee,factory:ee.\u0275fac})}}return ee})()},4339:(Ot,ke,w)=>{"use strict";w.d(ke,{c:()=>i});const i={production:!0,apiUrl:"https://webapi.foresightnews.com",pianoUrl:"//experience.tinypass.com/xbuilder/experience/load?aid=",pianoKey:"28C3eb1vpu",loadAdobeScript:!1,adobeScript:"https://assets.adobedtm.com/5c58cf5bd44b/02216f55dad7/launch-233eede769ce-development.min.js",s3Prefix:"staging/"}},4166:(Ot,ke,w)=>{"use strict";w.d(ke,{R:()=>$,i:()=>le});var i=w(5992),e=w(8580),ee=w(510),K=w(9156),ae=w(7705);let Z=(()=>{class W{static{this.\u0275fac=function(Be){return new(Be||W)}}static{this.\u0275mod=ae.$C({type:W})}static{this.\u0275inj=ae.G2t({imports:[ee.V2,K.H]})}}return W})(),$=(()=>{class W{static{this.\u0275fac=function(Be){return new(Be||W)}}static{this.\u0275mod=ae.$C({type:W})}static{this.\u0275inj=ae.G2t({imports:[i.G.forRoot(),e.zE.forRoot(),ee.V2,Z]})}}return W})();var z=w(345);let le=(()=>{class W{constructor(J,Be){this.titleService=J,this.metaService=Be,this.productName="Foresight News",this.setPageTitle=(pe,ze,xe=!0)=>{pe+=ze?ze+" - ":"",xe&&this.titleService.setTitle(this.productName+"|"+pe),this.titleService.setTitle(xe?this.productName+" | "+pe:pe)},this.setPageDescription=pe=>{this.metaService.updateTag({name:"description",content:pe})},this.setViewport=pe=>{this.metaService.updateTag({name:"viewport",content:pe?"width=1296,shrink-to-fit=yes":"width=device-width,shrink-to-fit=no"},"name='viewport'")}}static{this.\u0275fac=function(Be){return new(Be||W)(ae.KVO(z.hE),ae.KVO(z.W8))}}static{this.\u0275prov=ae.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})()},2327:(Ot,ke,w)=>{"use strict";var i=w(345),e=w(7705),ee=w(9969);function ae(c){return new e.wOt(3e3,!1)}function Ie(c){switch(c.length){case 0:return new ee.sf;case 1:return c[0];default:return new ee.ui(c)}}function Ge(c,m,s=new Map,u=new Map){const h=[],x=[];let G=-1,ne=null;if(m.forEach(Ee=>{const De=Ee.get("offset"),we=De==G,ot=we&&ne||new Map;Ee.forEach((tn,Wt)=>{let Ut=Wt,cn=tn;if("offset"!==Wt)switch(Ut=c.normalizePropertyName(Ut,h),cn){case ee.FX:cn=s.get(Wt);break;case ee.kp:cn=u.get(Wt);break;default:cn=c.normalizeStyleValue(Wt,Ut,cn,h)}ot.set(Ut,cn)}),we||x.push(ot),ne=ot,G=De}),h.length)throw function Te(c){return new e.wOt(3502,!1)}();return x}function zt(c,m,s,u){switch(m){case"start":c.onStart(()=>u(s&&ut(s,"start",c)));break;case"done":c.onDone(()=>u(s&&ut(s,"done",c)));break;case"destroy":c.onDestroy(()=>u(s&&ut(s,"destroy",c)))}}function ut(c,m,s){const x=nn(c.element,c.triggerName,c.fromState,c.toState,m||c.phaseName,s.totalTime??c.totalTime,!!s.disabled),G=c._data;return null!=G&&(x._data=G),x}function nn(c,m,s,u,h="",x=0,G){return{element:c,triggerName:m,fromState:s,toState:u,phaseName:h,totalTime:x,disabled:!!G}}function un(c,m,s){let u=c.get(m);return u||c.set(m,u=s),u}function We(c){const m=c.indexOf(":");return[c.substring(1,m),c.slice(m+1)]}const yt=(()=>typeof document>"u"?null:document.documentElement)();function nt(c){const m=c.parentNode||c.host||null;return m===yt?null:m}let Vt=null,Hn=!1;function li(c,m){for(;m;){if(m===c)return!0;m=nt(m)}return!1}function pi(c,m,s){if(s)return Array.from(c.querySelectorAll(m));const u=c.querySelector(m);return u?[u]:[]}let Fn=(()=>{class c{validateStyleProperty(s){return function Gn(c){Vt||(Vt=function bs(){return typeof document<"u"?document.body:null}()||{},Hn=!!Vt.style&&"WebkitAppearance"in Vt.style);let m=!0;return Vt.style&&!function lt(c){return"ebkit"==c.substring(1,6)}(c)&&(m=c in Vt.style,!m&&Hn&&(m="Webkit"+c.charAt(0).toUpperCase()+c.slice(1)in Vt.style)),m}(s)}matchesElement(s,u){return!1}containsElement(s,u){return li(s,u)}getParentElement(s){return nt(s)}query(s,u,h){return pi(s,u,h)}computeStyle(s,u,h){return h||""}animate(s,u,h,x,G,ne=[],Ee){return new ee.sf(h,x)}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}}return c})(),ln=(()=>{class c{static{this.NOOP=new Fn}}return c})();const Oi=1e3,hn="ng-enter",wi="ng-leave",to="ng-trigger",Kn=".ng-trigger",Ys="ng-animating",An=".ng-animating";function Gi(c){if("number"==typeof c)return c;const m=c.match(/^(-?[\.\d]+)(m?s)/);return!m||m.length<2?0:Ri(parseFloat(m[1]),m[2])}function Ri(c,m){return"s"===m?c*Oi:c}function Ni(c,m,s){return c.hasOwnProperty("duration")?c:function sn(c,m,s){let h,x=0,G="";if("string"==typeof c){const ne=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ne)return m.push(ae()),{duration:0,delay:0,easing:""};h=Ri(parseFloat(ne[1]),ne[2]);const Ee=ne[3];null!=Ee&&(x=Ri(parseFloat(Ee),ne[4]));const De=ne[5];De&&(G=De)}else h=c;if(!s){let ne=!1,Ee=m.length;h<0&&(m.push(function Z(){return new e.wOt(3100,!1)}()),ne=!0),x<0&&(m.push(function $(){return new e.wOt(3101,!1)}()),ne=!0),ne&&m.splice(Ee,0,ae())}return{duration:h,delay:x,easing:G}}(c,m,s)}function xi(c,m={}
vendor: 18,876 bytes, line 1
1){return Object.keys(c).forEach(s=>{m[s]=c[s]}),m}function ue(c){const m=new Map;return Object.keys(c).forEach(s=>{m.set(s,c[s])}),m}function rt(c,m=new Map,s){if(s)for(let[u,h]of s)m.set(u,h);for(let[u,h]of c)m.set(u,h);return m}function Tt(c,m,s){m.forEach((u,h)=>{const x=At(h);s&&!s.has(h)&&s.set(h,c.style[x]),c.style[x]=u})}function Bt(c,m){m.forEach((s,u)=>{const h=At(u);c.style[h]=""})}function en(c){return Array.isArray(c)?1==c.length?c[0]:(0,ee.K2)(c):c}const qe=new RegExp("{{\\s*(.+?)\\s*}}","g");function Qe(c){let m=[];if("string"==typeof c){let s;for(;s=qe.exec(c);)m.push(s[1]);qe.lastIndex=0}return m}function he(c,m,s){const u=c.toString(),h=u.replace(qe,(x,G)=>{let ne=m[G];return null==ne&&(s.push(function le(c){return new e.wOt(3003,!1)}()),ne=""),ne.toString()});return h==u?c:h}function Re(c){const m=[];let s=c.next();for(;!s.done;)m.push(s.value),s=c.next();return m}const pt=/-+([a-z0-9])/g;function At(c){return c.replace(pt,(...m)=>m[1].toUpperCase())}function Sn(c,m,s){switch(m.type){case 7:return c.visitTrigger(m,s);case 0:return c.visitState(m,s);case 1:return c.visitTransition(m,s);case 2:return c.visitSequence(m,s);case 3:return c.visitGroup(m,s);case 4:return c.visitAnimate(m,s);case 5:return c.visitKeyframes(m,s);case 6:return c.visitStyle(m,s);case 8:return c.visitReference(m,s);case 9:return c.visitAnimateChild(m,s);case 10:return c.visitAnimateRef(m,s);case 11:return c.visitQuery(m,s);case 12:return c.visitStagger(m,s);default:throw function W(c){return new e.wOt(3004,!1)}()}}function Wi(c,m){return window.getComputedStyle(c)[m]}const qt="*";function Gt(c,m){const s=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(u=>function wn(c,m,s){if(":"==c[0]){const Ee=function Rn(c,m){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(s,u)=>parseFloat(u)>parseFloat(s);case":decrement":return(s,u)=>parseFloat(u)<parseFloat(s);default:return m.push(function Le(c){return new e.wOt(3016,!1)}()),"* => *"}}(c,s);if("function"==typeof Ee)return void m.push(Ee);c=Ee}const u=c.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==u||u.length<4)return s.push(function fe(c){return new e.wOt(3015,!1)}()),m;const h=u[1],x=u[2],G=u[3];m.push(Ui(h,G));"<"==x[0]&&!(h==qt&&G==qt)&&m.push(Ui(G,h))}(u,s,m)):s.push(c),s}const Ii=new Set(["true","1"]),Ji=new Set(["false","0"]);function Ui(c,m){const s=Ii.has(c)||Ji.has(c),u=Ii.has(m)||Ji.has(m);return(h,x)=>{let G=c==qt||c==h,ne=m==qt||m==x;return!G&&s&&"boolean"==typeof h&&(G=h?Ii.has(c):Ji.has(c)),!ne&&u&&"boolean"==typeof x&&(ne=x?Ii.has(m):Ji.has(m)),G&&ne}}const Zs=new RegExp("s*:selfs*,?","g");function Gs(c,m,s,u){return new Mi(c).build(m,s,u)}class Mi{constructor(m){this._driver=m}build(m,s,u){const h=new Si(s);return this._resetContextStyleTimingState(h),Sn(this,en(m),h)}_resetContextStyleTimingState(m){m.currentQuerySelector="",m.collectedStyles=new Map,m.collectedStyles.set("",new Map),m.currentTime=0}visitTrigger(m,s){let u=s.queryCount=0,h=s.depCount=0;const x=[],G=[];return"@"==m.name.charAt(0)&&s.errors.push(function J(){return new e.wOt(3006,!1)}()),m.definitions.forEach(ne=>{if(this._resetContextStyleTimingState(s),0==ne.type){const Ee=ne,De=Ee.name;De.toString().split(/\s*,\s*/).forEach(we=>{Ee.name=we,x.push(this.visitState(Ee,s))}),Ee.name=De}else if(1==ne.type){const Ee=this.visitTransition(ne,s);u+=Ee.queryCount,h+=Ee.depCount,G.push(Ee)}else s.errors.push(function Be(){return new e.wOt(3007,!1)}())}),{type:7,name:m.name,states:x,transitions:G,queryCount:u,depCount:h,options:null}}visitState(m,s){const u=this.visitStyle(m.styles,s),h=m.options&&m.options.params||null;if(u.containsDynamicStyles){const x=new Set,G=h||{};u.styles.forEach(ne=>{ne instanceof Map&&ne.forEach(Ee=>{Qe(Ee).forEach(De=>{G.hasOwnProperty(De)||x.add(De)})})}),x.size&&(Re(x.values()),s.errors.push(function pe(c,m){return new e.wOt(3008,!1)}()))}return{type:0,name:m.name,style:u,options:h?{params:h}:null}}visitTransition(m,s){s.queryCount=0,s.depCount=0;const u=Sn(this,en(m.animation),s);return{type:1,matchers:Gt(m.expr,s.errors),animation:u,queryCount:s.queryCount,depCount:s.depCount,options:ss(m.options)}}visitSequence(m,s){return{type:2,steps:m.steps.map(u=>Sn(this,u,s)),options:ss(m.options)}}visitGroup(m,s){const u=s.currentTime;let h=0;const x=m.steps.map(G=>{s.currentTime=u;const ne=Sn(this,G,s);return h=Math.max(h,s.currentTime),ne});return s.currentTime=h,{type:3,steps:x,options:ss(m.options)}}visitAnimate(m,s){const u=function Rs(c,m){if(c.hasOwnProperty("duration"))return c;if("number"==typeof c)return Ws(Ni(c,m).duration,0,"");const s=c;if(s.split(/\s+/).some(x=>"{"==x.charAt(0)&&"{"==x.charAt(1))){const x=Ws(0,0,"");return x.dynamic=!0,x.strValue=s,x}const h=Ni(s,m);return Ws(h.duration,h.delay,h.easing)}(m.timings,s.errors);s.currentAnimateTimings=u;let h,x=m.styles?m.styles:(0,ee.iF)({});if(5==x.type)h=this.visitKeyframes(x,s);else{let G=m.styles,ne=!1;if(!G){ne=!0;const De={};u.easing&&(De.easing=u.easing),G=(0,ee.iF)(De)}s.currentTime+=u.duration+u.delay;const Ee=this.visitStyle(G,s);Ee.isEmptyStep=ne,h=Ee}return s.currentAnimateTimings=null,{type:4,timings:u,style:h,options:null}}visitStyle(m,s){const u=this._makeStyleAst(m,s);return this._validateStyleAst(u,s),u}_makeStyleAst(m,s){const u=[],h=Array.isArray(m.styles)?m.styles:[m.styles];for(let ne of h)"string"==typeof ne?ne===ee.kp?u.push(ne):s.errors.push(new e.wOt(3002,!1)):u.push(ue(ne));let x=!1,G=null;return u.forEach(ne=>{if(ne instanceof Map&&(ne.has("easing")&&(G=ne.get("easing"),ne.delete("easing")),!x))for(let Ee of ne.values())if(Ee.toString().indexOf("{{")>=0){x=!0;break}}),{type:6,styles:u,easing:G,offset:m.offset,containsDynamicStyles:x,options:null}}_validateStyleAst(m,s){const u=s.currentAnimateTimings;let h=s.currentTime,x=s.currentTime;u&&x>0&&(x-=u.duration+u.delay),m.styles.forEach(G=>{"string"!=typeof G&&G.forEach((ne,Ee)=>{const De=s.collectedStyles.get(s.currentQuerySelector),we=De.get(Ee);let ot=!0;we&&(x!=h&&x>=we.startTime&&h<=we.endTime&&(s.errors.push(function Fe(c,m,s,u,h){return new e.wOt(3010,!1)}()),ot=!1),x=we.startTime),ot&&De.set(Ee,{startTime:x,endTime:h}),s.options&&function Qt(c,m,s){const u=m.params||{},h=Qe(c);h.length&&h.forEach(x=>{u.hasOwnProperty(x)||s.push(function z(c){return new e.wOt(3001,!1)}())})}(ne,s.options,s.errors)})})}visitKeyframes(m,s){const u={type:5,styles:[],options:null};if(!s.currentAnimateTimings)return s.errors.push(function $e(){return new e.wOt(3011,!1)}()),u;let x=0;const G=[];let ne=!1,Ee=!1,De=0;const we=m.steps.map(hs=>{const Fs=this._makeStyleAst(hs,s);let Oo=null!=Fs.offset?Fs.offset:function is(c){if("string"==typeof c)return null;let m=null;if(Array.isArray(c))c.forEach(s=>{if(s instanceof Map&&s.has("offset")){const u=s;m=parseFloat(u.get("offset")),u.delete("offset")}});else if(c instanceof Map&&c.has("offset")){const s=c;m=parseFloat(s.get("offset")),s.delete("offset")}return m}(Fs.styles),ps=0;return null!=Oo&&(x++,ps=Fs.offset=Oo),Ee=Ee||ps<0||ps>1,ne=ne||ps<De,De=ps,G.push(ps),Fs});Ee&&s.errors.push(function it(){return new e.wOt(3012,!1)}()),ne&&s.errors.push(function _e(){return new e.wOt(3200,!1)}());const ot=m.steps.length;let tn=0;x>0&&x<ot?s.errors.push(function B(){return new e.wOt(3202,!1)}()):0==x&&(tn=1/(ot-1));const Wt=ot-1,Ut=s.currentTime,cn=s.currentAnimateTimings,$n=cn.duration;return we.forEach((hs,Fs)=>{const Oo=tn>0?Fs==Wt?1:tn*Fs:G[Fs],ps=Oo*$n;s.currentTime=Ut+cn.delay+ps,cn.duration=ps,this._validateStyleAst(hs,s),hs.offset=Oo,u.styles.push(hs)}),u}visitReference(m,s){return{type:8,animation:Sn(this,en(m.animation),s),options:ss(m.options)}}visitAnimateChild(m,s){return s.depCount++,{type:9,options:ss(m.options)}}visitAnimateRef(m,s){return{type:10,animation:this.visitReference(m.animation,s),options:ss(m.options)}}visitQuery(m,s){const u=s.currentQuerySelector,h=m.options||{};s.queryCount++,s.currentQuery=m;const[x,G]=function xs(c){const m=!!c.split(/\s*,\s*/).find(s=>":self"==s);return m&&(c=c.replace(Zs,"")),c=c.replace(/@\*/g,Kn).replace(/@\w+/g,s=>Kn+"-"+s.slice(1)).replace(/:animating/g,An),[c,m]}(m.selector);s.currentQuerySelector=u.length?u+" "+x:x,un(s.collectedStyles,s.currentQuerySelector,new Map);const ne=Sn(this,en(m.animation),s);return s.currentQuery=null,s.currentQuerySelector=u,{type:11,selector:x,limit:h.limit||0,optional:!!h.optional,includeSelf:G,animation:ne,originalSelector:m.selector,options:ss(m.options)}}visitStagger(m,s){s.currentQuery||s.errors.push(function H(){return new e.wOt(3013,!1)}());const u="full"===m.timings?{duration:0,delay:0,easing:"full"}:Ni(m.timings,s.errors,!0);return{type:12,animation:Sn(this,en(m.animation),s),timings:u,options:null}}}class Si{constructor(m){this.errors=m,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ss(c){return c?(c=xi(c)).params&&(c.params=function wo(c){return c?xi(c):null}(c.params)):c={},c}function Ws(c,m,s){return{duration:c,delay:m,easing:s}}function os(c,m,s,u,h,x,G=null,ne=!1){return{type:1,element:c,keyframes:m,preStyleProps:s,postStyleProps:u,duration:h,delay:x,totalTime:h+x,easing:G,subTimeline:ne}}class Ps{constructor(){this._map=new Map}get(m){return this._map.get(m)||[]}append(m,s){let u=this._map.get(m);u||this._map.set(m,u=[]),u.push(...s)}has(m){return this._map.has(m)}clear(){this._map.clear()}}const er=new RegExp(":enter","g"),Xr=new RegExp(":leave","g");function Ro(c,m,s,u,h,x=new Map,G=new Map,ne,Ee,De=[]){return(new No).buildKeyframes(c,m,s,u,h,x,G,ne,Ee,De)}class No{buildKeyframes(m,s,u,h,x,G,ne,Ee,De,we=[]){De=De||new Ps;const ot=new tr(m,s,De,h,x,we,[]);ot.options=Ee;const tn=Ee.delay?Gi(Ee.delay):0;ot.currentTimeline.delayNextStep(tn),ot.currentTimeline.setStyles([G],null,ot.errors,Ee),Sn(this,u,ot);const Wt=ot.timelines.filter(Ut=>Ut.containsAnimation());if(Wt.length&&ne.size){let Ut;for(let cn=Wt.length-1;cn>=0;cn--){const $n=Wt[cn];if($n.element===s){Ut=$n;break}}Ut&&!Ut.allowOnlyTimelineStyles()&&Ut.setStyles([ne],null,ot.errors,Ee)}return Wt.length?Wt.map(Ut=>Ut.buildKeyframes()):[os(s,[],[],[],0,tn,"",!1)]}visitTrigger(m,s){}visitState(m,s){}visitTransition(m,s){}visitAnimateChild(m,s){const u=s.subInstructions.get(s.element);if(u){const h=s.createSubContext(m.options),x=s.currentTimeline.currentTime,G=this._visitSubInstructions(u,h,h.options);x!=G&&s.transformIntoNewTimeline(G)}s.previousNode=m}visitAnimateRef(m,s){const u=s.createSubContext(m.options);u.transformIntoNewTimeline(),this._applyAnimationRefDelays([m.options,m.animation.options],s,u),this.visitReference(m.animation,u),s.transformIntoNewTimeline(u.currentTimeline.currentTime),s.previousNode=m}_applyAnimationRefDelays(m,s,u){for(const h of m){const x=h?.delay;if(x){const G="number"==typeof x?x:Gi(he(x,h?.params??{},s.errors));u.delayNextStep(G)}}}_visitSubInstructions(m,s,u){let x=s.currentTimeline.currentTime;const G=null!=u.duration?Gi(u.duration):null,ne=null!=u.delay?Gi(u.delay):null;return 0!==G&&m.forEach(Ee=>{const De=s.appendInstructionToTimeline(Ee,G,ne);x=Math.max(x,De.duration+De.delay)}),x}visitReference(m,s){s.updateOptions(m.options,!0),Sn(this,m.animation,s),s.previousNode=m}visitSequence(m,s){const u=s.subContextCount;let h=s;const x=m.options;if(x&&(x.params||x.delay)&&(h=s.createSubContext(x),h.transformIntoNewTimeline(),null!=x.delay)){6==h.previousNode.type&&(h.currentTimeline.snapshotCurrentStyles(),h.previousNode=Ns);const G=Gi(x.delay);h.delayNextStep(G)}m.steps.length&&(m.steps.forEach(G=>Sn(this,G,h)),h.currentTimeline.applyStylesToKeyframe(),h.subContextCount>u&&h.transformIntoNewTimeline()),s.previousNode=m}visitGroup(m,s){const u=[];let h=s.currentTimeline.currentTime;const x=m.options&&m.options.delay?Gi(m.options.delay):0;m.steps.forEach(G=>{const ne=s.createSubContext(m.options);x&&ne.delayNextStep(x),Sn(this,G,ne),h=Math.max(h,ne.currentTimeline.currentTime),u.push(ne.currentTimeline)}),u.forEach(G=>s.currentTimeline.mergeTimelineCollectedStyles(G)),s.transformIntoNewTimeline(h),s.previousNode=m}_visitTiming(m,s){if(m.dynamic){const u=m.strValue;return Ni(s.params?he(u,s.params,s.errors):u,s.errors)}return{duration:m.duration,delay:m.delay,easing:m.easing}}visitAnimate(m,s){const u=s.currentAnimateTimings=this._visitTiming(m.timings,s),h=s.currentTimeline;u.delay&&(s.incrementTime(u.delay),h.snapshotCurrentStyles());const x=m.style;5==x.type?this.visitKeyframes(x,s):(s.incrementTime(u.duration),this.visitStyle(x,s),h.applyStylesToKeyframe()),s.currentAnimateTimings=null,s.previousNode=m}visitStyle(m,s){const u=s.currentTimeline,h=s.currentAnimateTimings;!h&&u.hasCurrentStyleProperties()&&u.forwardFrame();const x=h&&h.easing||m.easing;m.isEmptyStep?u.applyEmptyStep(x):u.setStyles(m.styles,x,s.errors,s.options),s.previousNode=m}visitKeyframes(m,s){const u=s.currentAnimateTimings,h=s.currentTimeline.duration,x=u.duration,ne=s.createSubContext().currentTimeline;ne.easing=u.easing,m.styles.forEach(Ee=>{ne.forwardTime((Ee.offset||0)*x),ne.setStyles(Ee.styles,Ee.easing,s.errors,s.options),ne.applyStylesToKeyframe()}),s.currentTimeline.mergeTimelineCollectedStyles(ne),s.transformIntoNewTimeline(h+x),s.previousNode=m}visitQuery(m,s){const u=s.currentTimeline.currentTime,h=m.options||{},x=h.delay?Gi(h.delay):0;x&&(6===s.previousNode.type||0==u&&s.currentTimeline.hasCurrentStyleProperties())&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Ns);let G=u;const ne=s.invokeQuery(m.selector,m.originalSelector,m.limit,m.includeSelf,!!h.optional,s.errors);s.currentQueryTotal=ne.length;let Ee=null;ne.forEach((De,we)=>{s.currentQueryIndex=we;const ot=s.createSubContext(m.options,De);x&&ot.delayNextStep(x),De===s.element&&(Ee=ot.currentTimeline),Sn(this,m.animation,ot),ot.currentTimeline.applyStylesToKeyframe(),G=Math.max(G,ot.currentTimeline.currentTime)}),s.currentQueryIndex=0,s.currentQueryTotal=0,s.transformIntoNewTimeline(G),Ee&&(s.currentTimeline.mergeTimelineCollectedStyles(Ee),s.currentTimeline.snapshotCurrentStyles()),s.previousNode=m}visitStagger(m,s){const u=s.parentContext,h=s.currentTimeline,x=m.timings,G=Math.abs(x.duration),ne=G*(s.currentQueryTotal-1);let Ee=G*s.currentQueryIndex;switch(x.duration<0?"reverse":x.easing){case"reverse":Ee=ne-Ee;break;case"full":Ee=u.currentStaggerTime}const we=s.currentTimeline;Ee&&we.delayNextStep(Ee);const ot=we.currentTime;Sn(this,m.animation,s),s.previousNode=m,u.currentStaggerTime=h.currentTime-ot+(h.startTime-u.currentTimeline.startTime)}}const Ns={};class tr{constructor(m,s,u,h,x,G,ne,Ee){this._driver=m,this.element=s,this.subInstructions=u,this._enterClassName=h,this._leaveClassName=x,this.errors=G,this.timelines=ne,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ns,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ee||new xr(this._driver,s,0),ne.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(m,s){if(!m)return;const u=m;let h=this.options;null!=u.duration&&(h.duration=Gi(u.duration)),null!=u.delay&&(h.delay=Gi(u.delay));const x=u.params;if(x){let G=h.params;G||(G=this.options.params={}),Object.keys(x).forEach(ne=>{(!s||!G.hasOwnProperty(ne))&&(G[ne]=he(x[ne],G,this.errors))})}}_copyOptions(){const m={};if(this.options){const s=this.options.params;if(s){const u=m.params={};Object.keys(s).forEach(h=>{u[h]=s[h]})}}return m}createSubContext(m=null,s,u){const h=s||this.element,x=new tr(this._driver,h,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(h,u||0));return x.previousNode=this.previousNode,x.currentAnimateTimings=this.currentAnimateTimings,x.options=this._copyOptions(),x.updateOptions(m),x.currentQueryIndex=this.currentQueryIndex,x.currentQueryTotal=this.currentQueryTotal,x.parentContext=this,this.subContextCount++,x}transformIntoNewTimeline(m){return this.previousNode=Ns,this.currentTimeline=this.currentTimeline.fork(this.element,m),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(m,s,u){const h={duration:s??m.duration,delay:this.currentTimeline.currentTime+(u??0)+m.delay,easing:""},x=new zs(this._driver,m.element,m.keyframes,m.preStyleProps,m.postStyleProps,h,m.stretchStartingKeyframe);return this.timelines.push(x),h}incrementTime(m){this.currentTimeline.forwardTime(this.currentTimeline.duration+m)}delayNextStep(m){m>0&&this.currentTimeline.delayNextStep(m)}invokeQuery(m,s,u,h,x,G){let ne=[];if(h&&ne.push(this.element),m.length>0){m=(m=m.replace(er,"."+this._enterClassName)).replace(Xr,"."+this._leaveClassName);let De=this._driver.query(this.element,m,1!=u);0!==u&&(De=u<0?De.slice(De.length+u,De.length):De.slice(0,u)),ne.push(...De)}return!x&&0==ne.length&&G.push(function ie(c){return new e.wOt(3014,!1)}()),ne}}class xr{constructor(m,s,u,h){this._driver=m,this.element=s,this.startTime=u,this._elementTimelineStylesLookup=h,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(s),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(s,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(m){const s=1===this._keyframes.size&&this._pendingStyles.size;this.duration||s?(this.forwardTime(this.currentTime+m),s&&this.snapshotCurrentStyles()):this.startTime+=m}fork(m,s){return this.applyStylesToKeyframe(),new xr(this._driver,m,s||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(m){this.applyStylesToKeyframe(),this.duration=m,this._loadKeyframe()}_updateStyle(m,s){this._localTimelineStyles.set(m,s),this._globalTimelineStyles.set(m,s),this._styleSummary.set(m,{time:this.currentTime,value:s})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
1applyEmptyStep(m){m&&this._previousKeyframe.set("easing",m);for(let[s,u]of this._globalTimelineStyles)this._backFill.set(s,u||ee.kp),this._currentKeyframe.set(s,ee.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(m,s,u,h){s&&this._previousKeyframe.set("easing",s);const x=h&&h.params||{},G=function jr(c,m){const s=new Map;let u;return c.forEach(h=>{if("*"===h){u=u||m.keys();for(let x of u)s.set(x,ee.kp)}else rt(h,s)}),s}(m,this._globalTimelineStyles);for(let[ne,Ee]of G){const De=he(Ee,x,u);this._pendingStyles.set(ne,De),this._localTimelineStyles.has(ne)||this._backFill.set(ne,this._globalTimelineStyles.get(ne)??ee.kp),this._updateStyle(ne,De)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((m,s)=>{this._currentKeyframe.set(s,m)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((m,s)=>{this._currentKeyframe.has(s)||this._currentKeyframe.set(s,m)}))}snapshotCurrentStyles(){for(let[m,s]of this._localTimelineStyles)this._pendingStyles.set(m,s),this._updateStyle(m,s)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const m=[];for(let s in this._currentKeyframe)m.push(s);return m}
vendor: 37,678 bytes, line 1
1mergeTimelineCollectedStyles(m){m._styleSummary.forEach((s,u)=>{const h=this._styleSummary.get(u);(!h||s.time>h.time)&&this._updateStyle(u,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const m=new Set,s=new Set,u=1===this._keyframes.size&&0===this.duration;let h=[];this._keyframes.forEach((ne,Ee)=>{const De=rt(ne,new Map,this._backFill);De.forEach((we,ot)=>{we===ee.FX?m.add(ot):we===ee.kp&&s.add(ot)}),u||De.set("offset",Ee/this.duration),h.push(De)});const x=m.size?Re(m.values()):[],G=s.size?Re(s.values()):[];if(u){const ne=h[0],Ee=new Map(ne);ne.set("offset",0),Ee.set("offset",1),h=[ne,Ee]}return os(this.element,h,x,G,this.duration,this.startTime,this.easing,!1)}}class zs extends xr{constructor(m,s,u,h,x,G,ne=!1){super(m,s,G.delay),this.keyframes=u,this.preStyleProps=h,this.postStyleProps=x,this._stretchStartingKeyframe=ne,this.timings={duration:G.duration,delay:G.delay,easing:G.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let m=this.keyframes,{delay:s,duration:u,easing:h}=this.timings;if(this._stretchStartingKeyframe&&s){const x=[],G=u+s,ne=s/G,Ee=rt(m[0]);Ee.set("offset",0),x.push(Ee);const De=rt(m[0]);De.set("offset",gr(ne)),x.push(De);const we=m.length-1;for(let ot=1;ot<=we;ot++){let tn=rt(m[ot]);const Wt=tn.get("offset");tn.set("offset",gr((s+Wt*u)/G)),x.push(tn)}u=G,s=0,h="",m=x}return os(this.element,m,this.preStyleProps,this.postStyleProps,u,s,h,!0)}}function gr(c,m=3){const s=Math.pow(10,m-1);return Math.round(c*s)/s}class Wo{}const pa=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class lo extends Wo{normalizePropertyName(m,s){return At(m)}normalizeStyleValue(m,s,u,h){let x="";const G=u.toString().trim();if(pa.has(s)&&0!==u&&"0"!==u)if("number"==typeof u)x="px";else{const ne=u.match(/^[+-]?[\d\.]+([a-z]*)$/);ne&&0==ne[1].length&&h.push(function ge(c,m){return new e.wOt(3005,!1)}())}return G+x}}function co(c,m,s,u,h,x,G,ne,Ee,De,we,ot,tn){return{type:0,element:c,triggerName:m,isRemovalTransition:h,fromState:s,fromStyles:x,toState:u,toStyles:G,timelines:ne,queriedElements:Ee,preStyleProps:De,postStyleProps:we,totalTime:ot,errors:tn}}const no={};class ti{constructor(m,s,u){this._triggerName=m,this.ast=s,this._stateStyles=u}match(m,s,u,h){return function Xi(c,m,s,u,h){return c.some(x=>x(m,s,u,h))}(this.ast.matchers,m,s,u,h)}buildStyles(m,s,u){let h=this._stateStyles.get("*");return void 0!==m&&(h=this._stateStyles.get(m?.toString())||h),h?h.buildStyles(s,u):new Map}build(m,s,u,h,x,G,ne,Ee,De,we){const ot=[],tn=this.ast.options&&this.ast.options.params||no,Ut=this.buildStyles(u,ne&&ne.params||no,ot),cn=Ee&&Ee.params||no,$n=this.buildStyles(h,cn,ot),hs=new Set,Fs=new Map,Oo=new Map,ps="void"===h,ba={params:Ls(cn,tn),delay:this.ast.options?.delay},da=we?[]:Ro(m,s,this.ast.animation,x,G,Ut,$n,ba,De,ot);let fr=0;if(da.forEach(Cl=>{fr=Math.max(Cl.duration+Cl.delay,fr)}),ot.length)return co(s,this._triggerName,u,h,ps,Ut,$n,[],[],Fs,Oo,fr,ot);da.forEach(Cl=>{const Aa=Cl.element,ef=un(Fs,Aa,new Set);Cl.preStyleProps.forEach(vl=>ef.add(vl));const md=un(Oo,Aa,new Set);Cl.postStyleProps.forEach(vl=>md.add(vl)),Aa!==s&&hs.add(Aa)});const Es=Re(hs.values());return co(s,this._triggerName,u,h,ps,Ut,$n,da,Es,Fs,Oo,fr)}}function Ls(c,m){const s=xi(m);for(const u in c)c.hasOwnProperty(u)&&null!=c[u]&&(s[u]=c[u]);return s}class Xs{constructor(m,s,u){this.styles=m,this.defaultParams=s,this.normalizer=u}buildStyles(m,s){const u=new Map,h=xi(this.defaultParams);return Object.keys(m).forEach(x=>{const G=m[x];null!==G&&(h[x]=G)}),this.styles.styles.forEach(x=>{"string"!=typeof x&&x.forEach((G,ne)=>{G&&(G=he(G,h,s));const Ee=this.normalizer.normalizePropertyName(ne,s);G=this.normalizer.normalizeStyleValue(ne,Ee,G,s),u.set(ne,G)})}),u}}class fa{constructor(m,s,u){this.name=m,this.ast=s,this._normalizer=u,this.transitionFactories=[],this.states=new Map,s.states.forEach(h=>{this.states.set(h.name,new Xs(h.style,h.options&&h.options.params||{},u))}),Vr(this.states,"true","1"),Vr(this.states,"false","0"),s.transitions.forEach(h=>{this.transitionFactories.push(new ti(m,h,this.states))}),this.fallbackTransition=function gs(c,m,s){return new ti(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(G,ne)=>!0],options:null,queryCount:0,depCount:0},m)}(m,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(m,s,u,h){return this.transitionFactories.find(G=>G.match(m,s,u,h))||null}matchStyles(m,s,u){return this.fallbackTransition.buildStyles(m,s,u)}}function Vr(c,m,s){c.has(m)?c.has(s)||c.set(s,c.get(m)):c.has(s)&&c.set(m,c.get(s))}const mr=new Ps;class Ti{constructor(m,s,u){this.bodyNode=m,this._driver=s,this._normalizer=u,this._animations=new Map,this._playersById=new Map,this.players=[]}register(m,s){const u=[],x=Gs(this._driver,s,u,[]);if(u.length)throw function mt(c){return new e.wOt(3503,!1)}();this._animations.set(m,x)}_buildPlayer(m,s,u){const h=m.element,x=Ge(this._normalizer,m.keyframes,s,u);return this._driver.animate(h,x,m.duration,m.delay,m.easing,[],!0)}create(m,s,u={}){const h=[],x=this._animations.get(m);let G;const ne=new Map;if(x?(G=Ro(this._driver,s,x,hn,wi,new Map,new Map,u,mr,h),G.forEach(we=>{const ot=un(ne,we.element,new Map);we.postStyleProps.forEach(tn=>ot.set(tn,null))})):(h.push(function ht(){return new e.wOt(3300,!1)}()),G=[]),h.length)throw function Xt(c){return new e.wOt(3504,!1)}();ne.forEach((we,ot)=>{we.forEach((tn,Wt)=>{we.set(Wt,this._driver.computeStyle(ot,Wt,ee.kp))})});const De=Ie(G.map(we=>{const ot=ne.get(we.element);return this._buildPlayer(we,new Map,ot)}));return this._playersById.set(m,De),De.onDestroy(()=>this.destroy(m)),this.players.push(De),De}destroy(m){const s=this._getPlayer(m);s.destroy(),this._playersById.delete(m);const u=this.players.indexOf(s);u>=0&&this.players.splice(u,1)}_getPlayer(m){const s=this._playersById.get(m);if(!s)throw function gt(c){return new e.wOt(3301,!1)}();return s}listen(m,s,u,h){const x=nn(s,"","","");return zt(this._getPlayer(m),u,x,h),()=>{}}command(m,s,u,h){if("register"==u)return void this.register(m,h[0]);if("create"==u)return void this.create(m,s,h[0]||{});const x=this._getPlayer(m);switch(u){case"play":x.play();break;case"pause":x.pause();break;case"reset":x.reset();break;case"restart":x.restart();break;case"finish":x.finish();break;case"init":x.init();break;case"setPosition":x.setPosition(parseFloat(h[0]));break;case"destroy":this.destroy(m)}}}const on="ng-animate-queued",Li="ng-animate-disabled",Q=[],Se={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ce={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Oe="__ng_removed";class Ve{get params(){return this.options.params}constructor(m,s=""){this.namespaceId=s;const u=m&&m.hasOwnProperty("value");if(this.value=function gi(c){return c??null}(u?m.value:m),u){const x=xi(m);delete x.value,this.options=x}else this.options={};this.options.params||(this.options.params={})}absorbOptions(m){const s=m.params;if(s){const u=this.options.params;Object.keys(s).forEach(h=>{null==u[h]&&(u[h]=s[h])})}}}const kt="void",Jt=new Ve(kt);class Mn{constructor(m,s,u){this.id=m,this.hostElement=s,this._engine=u,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+m,ws(s,this._hostClassName)}listen(m,s,u,h){if(!this._triggers.has(s))throw function gn(c,m){return new e.wOt(3302,!1)}();if(null==u||0==u.length)throw function Je(c){return new e.wOt(3303,!1)}();if(!function Vi(c){return"start"==c||"done"==c}(u))throw function ve(c,m){return new e.wOt(3400,!1)}();const x=un(this._elementListeners,m,[]),G={name:s,phase:u,callback:h};x.push(G);const ne=un(this._engine.statesByElement,m,new Map);return ne.has(s)||(ws(m,to),ws(m,to+"-"+s),ne.set(s,Jt)),()=>{this._engine.afterFlush(()=>{const Ee=x.indexOf(G);Ee>=0&&x.splice(Ee,1),this._triggers.has(s)||ne.delete(s)})}}register(m,s){return!this._triggers.has(m)&&(this._triggers.set(m,s),!0)}_getTrigger(m){const s=this._triggers.get(m);if(!s)throw function te(c){return new e.wOt(3401,!1)}();return s}trigger(m,s,u,h=!0){const x=this._getTrigger(s),G=new kn(this.id,s,m);let ne=this._engine.statesByElement.get(m);ne||(ws(m,to),ws(m,to+"-"+s),this._engine.statesByElement.set(m,ne=new Map));let Ee=ne.get(s);const De=new Ve(u,this.id);if(!(u&&u.hasOwnProperty("value"))&&Ee&&De.absorbOptions(Ee.options),ne.set(s,De),Ee||(Ee=Jt),De.value!==kt&&Ee.value===De.value){if(!function Fi(c,m){const s=Object.keys(c),u=Object.keys(m);if(s.length!=u.length)return!1;for(let h=0;h<s.length;h++){const x=s[h];if(!m.hasOwnProperty(x)||c[x]!==m[x])return!1}return!0}(Ee.params,De.params)){const cn=[],$n=x.matchStyles(Ee.value,Ee.params,cn),hs=x.matchStyles(De.value,De.params,cn);cn.length?this._engine.reportError(cn):this._engine.afterFlush(()=>{Bt(m,$n),Tt(m,hs)})}return}const tn=un(this._engine.playersByElement,m,[]);tn.forEach(cn=>{cn.namespaceId==this.id&&cn.triggerName==s&&cn.queued&&cn.destroy()});let Wt=x.matchTransition(Ee.value,De.value,m,De.params),Ut=!1;if(!Wt){if(!h)return;Wt=x.fallbackTransition,Ut=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:m,triggerName:s,transition:Wt,fromState:Ee,toState:De,player:G,isFallbackTransition:Ut}),Ut||(ws(m,on),G.onStart(()=>{bn(m,on)})),G.onDone(()=>{let cn=this.players.indexOf(G);cn>=0&&this.players.splice(cn,1);const $n=this._engine.playersByElement.get(m);if($n){let hs=$n.indexOf(G);hs>=0&&$n.splice(hs,1)}}),this.players.push(G),tn.push(G),G}deregister(m){this._triggers.delete(m),this._engine.statesByElement.forEach(s=>s.delete(m)),this._elementListeners.forEach((s,u)=>{this._elementListeners.set(u,s.filter(h=>h.name!=m))})}clearElementCache(m){this._engine.statesByElement.delete(m),this._elementListeners.delete(m);const s=this._engine.playersByElement.get(m);s&&(s.forEach(u=>u.destroy()),this._engine.playersByElement.delete(m))}_signalRemovalForInnerTriggers(m,s){const u=this._engine.driver.query(m,Kn,!0);u.forEach(h=>{if(h[Oe])return;const x=this._engine.fetchNamespacesByElement(h);x.size?x.forEach(G=>G.triggerLeaveAnimation(h,s,!1,!0)):this.clearElementCache(h)}),this._engine.afterFlushAnimationsDone(()=>u.forEach(h=>this.clearElementCache(h)))}triggerLeaveAnimation(m,s,u,h){const x=this._engine.statesByElement.get(m),G=new Map;if(x){const ne=[];if(x.forEach((Ee,De)=>{if(G.set(De,Ee.value),this._triggers.has(De)){const we=this.trigger(m,De,kt,h);we&&ne.push(we)}}),ne.length)return this._engine.markElementAsRemoved(this.id,m,!0,s,G),u&&Ie(ne).onDone(()=>this._engine.processLeaveNode(m)),!0}return!1}prepareLeaveAnimationListeners(m){const s=this._elementListeners.get(m),u=this._engine.statesByElement.get(m);if(s&&u){const h=new Set;s.forEach(x=>{const G=x.name;if(h.has(G))return;h.add(G);const Ee=this._triggers.get(G).fallbackTransition,De=u.get(G)||Jt,we=new Ve(kt),ot=new kn(this.id,G,m);this._engine.totalQueuedPlayers++,this._queue.push({element:m,triggerName:G,transition:Ee,fromState:De,toState:we,player:ot,isFallbackTransition:!0})})}}removeNode(m,s){const u=this._engine;if(m.childElementCount&&this._signalRemovalForInnerTriggers(m,s),this.triggerLeaveAnimation(m,s,!0))return;let h=!1;if(u.totalAnimations){const x=u.players.length?u.playersByQueriedElement.get(m):[];if(x&&x.length)h=!0;else{let G=m;for(;G=G.parentNode;)if(u.statesByElement.get(G)){h=!0;break}}}if(this.prepareLeaveAnimationListeners(m),h)u.markElementAsRemoved(this.id,m,!1,s);else{const x=m[Oe];(!x||x===Se)&&(u.afterFlush(()=>this.clearElementCache(m)),u.destroyInnerAnimations(m),u._onRemovalComplete(m,s))}}insertNode(m,s){ws(m,this._hostClassName)}drainQueuedTransitions(m){const s=[];return this._queue.forEach(u=>{const h=u.player;if(h.destroyed)return;const x=u.element,G=this._elementListeners.get(x);G&&G.forEach(ne=>{if(ne.name==u.triggerName){const Ee=nn(x,u.triggerName,u.fromState.value,u.toState.value);Ee._data=m,zt(u.player,ne.phase,Ee,ne.callback)}}),h.markedForDestroy?this._engine.afterFlush(()=>{h.destroy()}):s.push(u)}),this._queue=[],s.sort((u,h)=>{const x=u.transition.ast.depCount,G=h.transition.ast.depCount;return 0==x||0==G?x-G:this._engine.driver.containsElement(u.element,h.element)?1:-1})}destroy(m){this.players.forEach(s=>s.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,m)}}class Nt{_onRemovalComplete(m,s){this.onRemovalComplete(m,s)}constructor(m,s,u){this.bodyNode=m,this.driver=s,this._normalizer=u,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=(h,x)=>{}}get queuedPlayers(){const m=[];return this._namespaceList.forEach(s=>{s.players.forEach(u=>{u.queued&&m.push(u)})}),m}createNamespace(m,s){const u=new Mn(m,s,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,s)?this._balanceNamespaceList(u,s):(this.newHostElements.set(s,u),this.collectEnterElement(s)),this._namespaceLookup[m]=u}_balanceNamespaceList(m,s){const u=this._namespaceList,h=this.namespacesByHostElement;if(u.length-1>=0){let G=!1,ne=this.driver.getParentElement(s);for(;ne;){const Ee=h.get(ne);if(Ee){const De=u.indexOf(Ee);u.splice(De+1,0,m),G=!0;break}ne=this.driver.getParentElement(ne)}G||u.unshift(m)}else u.push(m);return h.set(s,m),m}register(m,s){let u=this._namespaceLookup[m];return u||(u=this.createNamespace(m,s)),u}registerTrigger(m,s,u){let h=this._namespaceLookup[m];h&&h.register(s,u)&&this.totalAnimations++}destroy(m,s){m&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const u=this._fetchNamespace(m);this.namespacesByHostElement.delete(u.hostElement);const h=this._namespaceList.indexOf(u);h>=0&&this._namespaceList.splice(h,1),u.destroy(s),delete this._namespaceLookup[m]}))}_fetchNamespace(m){return this._namespaceLookup[m]}fetchNamespacesByElement(m){const s=new Set,u=this.statesByElement.get(m);if(u)for(let h of u.values())if(h.namespaceId){const x=this._fetchNamespace(h.namespaceId);x&&s.add(x)}return s}trigger(m,s,u,h){if(ji(s)){const x=this._fetchNamespace(m);if(x)return x.trigger(s,u,h),!0}return!1}insertNode(m,s,u,h){if(!ji(s))return;const x=s[Oe];if(x&&x.setForRemoval){x.setForRemoval=!1,x.setForMove=!0;const G=this.collectedLeaveElements.indexOf(s);G>=0&&this.collectedLeaveElements.splice(G,1)}if(m){const G=this._fetchNamespace(m);G&&G.insertNode(s,u)}h&&this.collectEnterElement(s)}collectEnterElement(m){this.collectedEnterElements.push(m)}markElementAsDisabled(m,s){s?this.disabledNodes.has(m)||(this.disabledNodes.add(m),ws(m,Li)):this.disabledNodes.has(m)&&(this.disabledNodes.delete(m),bn(m,Li))}removeNode(m,s,u){if(ji(s)){const h=m?this._fetchNamespace(m):null;h?h.removeNode(s,u):this.markElementAsRemoved(m,s,!1,u);const x=this.namespacesByHostElement.get(s);x&&x.id!==m&&x.removeNode(s,u)}else this._onRemovalComplete(s,u)}markElementAsRemoved(m,s,u,h,x){this.collectedLeaveElements.push(s),s[Oe]={namespaceId:m,setForRemoval:h,hasAnimation:u,removedBeforeQueried:!1,previousTriggersValues:x}}listen(m,s,u,h,x){return ji(s)?this._fetchNamespace(m).listen(s,u,h,x):()=>{}}_buildInstruction(m,s,u,h,x){return m.transition.build(this.driver,m.element,m.fromState.value,m.toState.value,u,h,m.fromState.options,m.toState.options,s,x)}destroyInnerAnimations(m){let s=this.driver.query(m,Kn,!0);s.forEach(u=>this.destroyActiveAnimationsForElement(u)),0!=this.playersByQueriedElement.size&&(s=this.driver.query(m,An,!0),s.forEach(u=>this.finishActiveQueriedAnimationOnElement(u)))}destroyActiveAnimationsForElement(m){const s=this.playersByElement.get(m);s&&s.forEach(u=>{u.queued?u.markedForDestroy=!0:u.destroy()})}finishActiveQueriedAnimationOnElement(m){const s=this.playersByQueriedElement.get(m);s&&s.forEach(u=>u.finish())}whenRenderingDone(){return new Promise(m=>{if(this.players.length)return Ie(this.players).onDone(()=>m());m()})}processLeaveNode(m){const s=m[Oe];if(s&&s.setForRemoval){if(m[Oe]=Se,s.namespaceId){this.destroyInnerAnimations(m);const u=this._fetchNamespace(s.namespaceId);u&&u.clearElementCache(m)}this._onRemovalComplete(m,s.setForRemoval)}m.classList?.contains(Li)&&this.markElementAsDisabled(m,!1),this.driver.query(m,".ng-animate-disabled",!0).forEach(u=>{this.markElementAsDisabled(u,!1)})}flush(m=-1){let s=[];if(this.newHostElements.size&&(this.newHostElements.forEach((u,h)=>this._balanceNamespaceList(u,h)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let u=0;u<this.collectedEnterElements.length;u++)ws(this.collectedEnterElements[u],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const u=[];try{s=this._flushAnimations(u,m)}finally{for(let h=0;h<u.length;h++)u[h]()}}else for(let u=0;u<this.collectedLeaveElements.length;u++)this.processLeaveNode(this.collectedLeaveElements[u]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(u=>u()),this._flushFns=[],this._whenQuietFns.length){const u=this._whenQuietFns;this._whenQuietFns=[],s.length?Ie(s).onDone(()=>{u.forEach(h=>h())}):u.forEach(h=>h())}}reportError(m){throw function me(c){return new e.wOt(3402,!1)}()}_flushAnimations(m,s){const u=new Ps,h=[],x=new Map,G=[],ne=new Map,Ee=new Map,De=new Map,we=new Set;this.disabledNodes.forEach(In=>{we.add(In);const qn=this.driver.query(In,".ng-animate-queued",!0);for(let oi=0;oi<qn.length;oi++)we.add(qn[oi])});const ot=this.bodyNode,tn=Array.from(this.statesByElement.keys()),Wt=ir(tn,this.collectedEnterElements),Ut=new Map;let cn=0;Wt.forEach((In,qn)=>{const oi=hn+cn++;Ut.set(qn,oi),In.forEach(ts=>ws(ts,oi))});const $n=[],hs=new Set,Fs=new Set;for(let In=0;In<this.collectedLeaveElements.length;In++){const qn=this.collectedLeaveElements[In],oi=qn[Oe];oi&&oi.setForRemoval&&($n.push(qn),hs.add(qn),oi.hasAnimation?this.driver.query(qn,".ng-star-inserted",!0).forEach(ts=>hs.add(ts)):Fs.add(qn))}const Oo=new Map,ps=ir(tn,Array.from(hs));ps.forEach((In,qn)=>{const oi=wi+cn++;Oo.set(qn,oi),In.forEach(ts=>ws(ts,oi))}),m.push(()=>{Wt.forEach((In,qn)=>{const oi=Ut.get(qn);In.forEach(ts=>bn(ts,oi))}),ps.forEach((In,qn)=>{const oi=Oo.get(qn);In.forEach(ts=>bn(ts,oi))}),$n.forEach(In=>{this.processLeaveNode(In)})});const ba=[],da=[];for(let In=this._namespaceList.length-1;In>=0;In--)this._namespaceList[In].drainQueuedTransitions(s).forEach(oi=>{const ts=oi.player,Yo=oi.element;if(ba.push(ts),this.collectedEnterElements.length){const Zo=Yo[Oe];if(Zo&&Zo.setForMove){if(Zo.previousTriggersValues&&Zo.previousTriggersValues.has(oi.triggerName)){const Vl=Zo.previousTriggersValues.get(oi.triggerName),ha=this.statesByElement.get(oi.element);if(ha&&ha.has(oi.triggerName)){const Tc=ha.get(oi.triggerName);Tc.value=Vl,ha.set(oi.triggerName,Tc)}}return void ts.destroy()}}const ua=!ot||!this.driver.containsElement(ot,Yo),Nr=Oo.get(Yo),Wr=Ut.get(Yo),fs=this._buildInstruction(oi,u,Wr,Nr,ua);if(fs.errors&&fs.errors.length)return void da.push(fs);if(ua)return ts.onStart(()=>Bt(Yo,fs.fromStyles)),ts.onDestroy(()=>Tt(Yo,fs.toStyles)),void h.push(ts);if(oi.isFallbackTransition)return ts.onStart(()=>Bt(Yo,fs.fromStyles)),ts.onDestroy(()=>Tt(Yo,fs.toStyles)),void h.push(ts);const ic=[];fs.timelines.forEach(Zo=>{Zo.stretchStartingKeyframe=!0,this.disabledNodes.has(Zo.element)||ic.push(Zo)}),fs.timelines=ic,u.append(Yo,fs.timelines),G.push({instruction:fs,player:ts,element:Yo}),fs.queriedElements.forEach(Zo=>un(ne,Zo,[]).push(ts)),fs.preStyleProps.forEach((Zo,Vl)=>{if(Zo.size){let ha=Ee.get(Vl);ha||Ee.set(Vl,ha=new Set),Zo.forEach((Tc,Ao)=>ha.add(Ao))}}),fs.postStyleProps.forEach((Zo,Vl)=>{let ha=De.get(Vl);ha||De.set(Vl,ha=new Set),Zo.forEach((Tc,Ao)=>ha.add(Ao))})});if(da.length){const In=[];da.forEach(qn=>{In.push(function Ye(c,m){return new e.wOt(3505,!1)}())}),ba.forEach(qn=>qn.destroy()),this.reportError(In)}const fr=new Map,Es=new Map;G.forEach(In=>{const qn=In.element;u.has(qn)&&(Es.set(qn,qn),this._beforeAnimationBuild(In.player.namespaceId,In.instruction,fr))}),h.forEach(In=>{const qn=In.element;this._getPreviousPlayers(qn,!1,In.namespaceId,In.triggerName,null).forEach(ts=>{un(fr,qn,[]).push(ts),ts.destroy()})});const Cl=$n.filter(In=>ks(In,Ee,De)),Aa=new Map;uo(Aa,this.driver,Fs,De,ee.kp).forEach(In=>{ks(In,Ee,De)&&Cl.push(In)});const md=new Map;Wt.forEach((In,qn)=>{uo(md,this.driver,new Set(In),Ee,ee.FX)}),Cl.forEach(In=>{const qn=Aa.get(In),oi=md.get(In);Aa.set(In,new Map([...qn?.entries()??[],...oi?.entries()??[]]))});const vl=[],Sh=[],Th={};G.forEach(In=>{const{element:qn,player:oi,instruction:ts}=In;if(u.has(qn)){if(we.has(qn))return oi.onDestroy(()=>Tt(qn,ts.toStyles)),oi.disabled=!0,oi.overrideTotalTime(ts.totalTime),void h.push(oi);let Yo=Th;if(Es.size>1){let Nr=qn;const Wr=[];for(;Nr=Nr.parentNode;){const fs=Es.get(Nr);if(fs){Yo=fs;break}Wr.push(Nr)}Wr.forEach(fs=>Es.set(fs,Yo))}const ua=this._buildAnimation(oi.namespaceId,ts,fr,x,md,Aa);if(oi.setRealPlayer(ua),Yo===Th)vl.push(oi);else{const Nr=this.playersByElement.get(Yo);Nr&&Nr.length&&(oi.parentPlayer=Ie(Nr)),h.push(oi)}}else Bt(qn,ts.fromStyles),oi.onDestroy(()=>Tt(qn,ts.toStyles)),Sh.push(oi),we.has(qn)&&h.push(oi)}),Sh.forEach(In=>{const qn=x.get(In.element);if(qn&&qn.length){const oi=Ie(qn);In.setRealPlayer(oi)}}),h.forEach(In=>{In.parentPlayer?In.syncPlayerEvents(In.parentPlayer):In.destroy()});for(let In=0;In<$n.length;In++){const qn=$n[In],oi=qn[Oe];if(bn(qn,wi),oi&&oi.hasAnimation)continue;let ts=[];if(ne.size){let ua=ne.get(qn);ua&&ua.length&&ts.push(...ua);let Nr=this.driver.query(qn,An,!0);for(let Wr=0;Wr<Nr.length;Wr++){let fs=ne.get(Nr[Wr]);fs&&fs.length&&ts.push(...fs)}}const Yo=ts.filter(ua=>!ua.destroyed);Yo.length?Vo(this,qn,Yo):this.processLeaveNode(qn)}return $n.length=0,vl.forEach(In=>{this.players.push(In),In.onDone(()=>{In.destroy();const qn=this.players.indexOf(In);this.players.splice(qn,1)}),In.play()}),vl}afterFlush(m){this._flushFns.push(m)}afterFlushAnimationsDone(m){this._whenQuietFns.push(m)}_getPreviousPlayers(m,s,u,h,x){let G=[];if(s){const ne=this.playersByQueriedElement.get(m);ne&&(G=ne)}else{const ne=this.playersByElement.get(m);if(ne){const Ee=!x||x==kt;ne.forEach(De=>{De.queued||!Ee&&De.triggerName!=h||G.push(De)})}}return(u||h)&&(G=G.filter(ne=>!(u&&u!=ne.namespaceId||h&&h!=ne.triggerName))),G}_beforeAnimationBuild(m,s,u){const x=s.element,G=s.isRemovalTransition?void 0:m,ne=s.isRemovalTransition?void 0:s.triggerName;for(const Ee of s.timelines){const De=Ee.element,we=De!==x,ot=un(u,De,[]);this._getPreviousPlayers(De,we,G,ne,s.toState).forEach(Wt=>{const Ut=Wt.getRealPlayer();Ut.beforeDestroy&&Ut.beforeDestroy(),Wt.destroy(),ot.push(Wt)})}Bt(x,s.fromStyles)}_buildAnimation(m,s,u,h,x,G){const ne=s.triggerName,Ee=s.element,De=[],we=new Set,ot=new Set,tn=s.timelines.map(Ut=>{const cn=Ut.element;we.add(cn);const $n=cn[Oe];if($n&&$n.removedBeforeQueried)return new ee.sf(Ut.duration,Ut.delay);const hs=cn!==Ee,Fs=function ls(c){const m=[];return sr(c,m),m}((u.get(cn)||Q).map(fr=>fr.getRealPlayer())).filter(fr=>!!fr.element&&fr.element===cn),Oo=x.get(cn),ps=G.get(cn),ba=Ge(this._normalizer,Ut.keyframes,Oo,ps),da=this._buildPlayer(Ut,ba,Fs);if(Ut.subTimeline&&h&&ot.add(cn),hs){const fr=new kn(m,ne,cn);fr.setRealPlayer(da),De.push(fr)}return da});De.forEach(Ut=>{un(this.playersByQueriedElement,Ut.element,[]).push(Ut),Ut.onDone(()=>function _i(c,m,s){let u=c.get(m);if(u){if(u.length){const h=u.indexOf(s);u.splice(h,1)}0==u.length&&c.delete(m)}return u}(this.playersByQueriedElement,Ut.element,Ut))}),we.forEach(Ut=>ws(Ut,Ys));const Wt=Ie(tn);return Wt.onDestroy(()=>{we.forEach(Ut=>bn(Ut,Ys)),Tt(Ee,s.toStyles)}),ot.forEach(Ut=>{un(h,Ut,[]).push(Wt)}),Wt}_buildPlayer(m,s,u){return s.length>0?this.driver.animate(m.element,s,m.duration,m.delay,m.easing,u):new ee.sf(m.duration,m.delay)}}class kn{constructor(m,s,u){this.namespaceId=m,this.triggerName=s,this.element=u,this._player=new ee.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(m){this._containsRealPlayer||(this._player=m,this._queuedCallbacks.forEach((s,u)=>{s.forEach(h=>zt(m,u,void 0,h))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(m.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(m){this.totalTime=m}syncPlayerEvents(m){const s=this._player;s.triggerCallback&&m.onStart(()=>s.triggerCallback("start")),m.onDone(()=>this.finish()),m.onDestroy(()=>this.destroy())}_queueEvent(m,s){un(this._queuedCallbacks,m,[]).push(s)}onDone(m){this.queued&&this._queueEvent("done",m),this._player.onDone(m)}onStart(m){this.queued&&this._queueEvent("start",m),this._player.onStart(m)}onDestroy(m){this.queued&&this._queueEvent("destroy",m),this._player.onDestroy(m)}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(m){this.queued||this._player.setPosition(m)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(m){const s=this._player;s.triggerCallback&&s.triggerCallback(m)}}function ji(c){return c&&1===c.nodeType}function jo(c,m){const s=c.style.display;return c.style.display=m??"none",s}function uo(c,m,s,u,h){const x=[];s.forEach(Ee=>x.push(jo(Ee)));const G=[];u.forEach((Ee,De)=>{const we=new Map;Ee.forEach(ot=>{const tn=m.computeStyle(De,ot,h);we.set(ot,tn),(!tn||0==tn.length)&&(De[Oe]=ce,G.push(De))}),c.set(De,we)});let ne=0;return s.forEach(Ee=>jo(Ee,x[ne++])),G}function ir(c,m){const s=new Map;if(c.forEach(ne=>s.set(ne,[])),0==m.length)return s;const h=new Set(m),x=new Map;function G(ne){if(!ne)return 1;let Ee=x.get(ne);if(Ee)return Ee;const De=ne.parentNode;return Ee=s.has(De)?De:h.has(De)?1:G(De),x.set(ne,Ee),Ee}return m.forEach(ne=>{const Ee=G(ne);1!==Ee&&s.get(Ee).push(ne)}),s}function ws(c,m){c.classList?.add(m)}function bn(c,m){c.classList?.remove(m)}function Vo(c,m,s){Ie(s).onDone(()=>c.processLeaveNode(m))}function sr(c,m){for(let s=0;s<c.length;s++){const u=c[s];u instanceof ee.ui?sr(u.players,m):m.push(u)}}function ks(c,m,s){const u=s.get(c);if(!u)return!1;let h=m.get(c);return h?u.forEach(x=>h.add(x)):m.set(c,u),s.delete(c),!0}class ho{constructor(m,s,u){this.bodyNode=m,this._driver=s,this._normalizer=u,this._triggerCache={},this.onRemovalComplete=(h,x)=>{},this._transitionEngine=new Nt(m,s,u),this._timelineEngine=new Ti(m,s,u),this._transitionEngine.onRemovalComplete=(h,x)=>this.onRemovalComplete(h,x)}registerTrigger(m,s,u,h,x){const G=m+"-"+h;let ne=this._triggerCache[G];if(!ne){const Ee=[],we=Gs(this._driver,x,Ee,[]);if(Ee.length)throw function re(c,m){return new e.wOt(3404,!1)}();ne=function Lo(c,m,s){return new fa(c,m,s)}(h,we,this._normalizer),this._triggerCache[G]=ne}this._transitionEngine.registerTrigger(s,h,ne)}register(m,s){this._transitionEngine.register(m,s)}destroy(m,s){this._transitionEngine.destroy(m,s)}onInsert(m,s,u,h){this._transitionEngine.insertNode(m,s,u,h)}onRemove(m,s,u){this._transitionEngine.removeNode(m,s,u)}disableAnimations(m,s){this._transitionEngine.markElementAsDisabled(m,s)}process(m,s,u,h){if("@"==u.charAt(0)){const[x,G]=We(u);this._timelineEngine.command(x,s,G,h)}else this._transitionEngine.trigger(m,s,u,h)}listen(m,s,u,h,x){if("@"==u.charAt(0)){const[G,ne]=We(u);return this._timelineEngine.listen(G,s,ne,x)}return this._transitionEngine.listen(m,s,u,h,x)}flush(m=-1){this._transitionEngine.flush(m)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(m){this._transitionEngine.afterFlushAnimationsDone(m)}}let cs=(()=>{class c{static{this.initialStylesByElement=new WeakMap}constructor(s,u,h){this._element=s,this._startStyles=u,this._endStyles=h,this._state=0;let x=c.initialStylesByElement.get(s);x||c.initialStylesByElement.set(s,x=new Map),this._initialStyles=x}start(){this._state<1&&(this._startStyles&&Tt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Tt(this._element,this._initialStyles),this._endStyles&&(Tt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(Bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Bt(this._element,this._endStyles),this._endStyles=null),Tt(this._element,this._initialStyles),this._state=3)}}return c})();function ga(c){let m=null;return c.forEach((s,u)=>{(function Ln(c){return"display"===c||"position"===c})(u)&&(m=m||new Map,m.set(u,s))}),m}class Hi{constructor(m,s,u,h){this.element=m,this.keyframes=s,this.options=u,this._specialStyles=h,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=u.duration,this._delay=u.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(m=>m()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const m=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,m,this.options),this._finalKeyframe=m.length?m[m.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(m){const s=[];return m.forEach(u=>{s.push(Object.fromEntries(u))}),s}_triggerWebAnimation(m,s,u){return m.animate(this._convertKeyframesToObject(s),u)}onStart(m){this._originalOnStartFns.push(m),this._onStartFns.push(m)}onDone(m){this._originalOnDoneFns.push(m),this._onDoneFns.push(m)}onDestroy(m){this._onDestroyFns.push(m)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(m=>m()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(m=>m()),this._onDestroyFns=[])}setPosition(m){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=m*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const m=new Map;this.hasStarted()&&this._finalKeyframe.forEach((u,h)=>{"offset"!==h&&m.set(h,this._finished?u:Wi(this.element,h))}),this.currentSnapshot=m}triggerCallback(m){const s="start"===m?this._onStartFns:this._onDoneFns;s.forEach(u=>u()),s.length=0}}class po{validateStyleProperty(m){return!0}validateAnimatableStyleProperty(m){return!0}matchesElement(m,s){return!1}containsElement(m,s){return li(m,s)}getParentElement(m){return nt(m)}query(m,s,u){return pi(m,s,u)}computeStyle(m,s,u){return window.getComputedStyle(m)[s]}animate(m,s,u,h,x,G=[]){const Ee={duration:u,delay:h,fill:0==h?"both":"forwards"};x&&(Ee.easing=x);const De=new Map,we=G.filter(Wt=>Wt instanceof Hi);(function Wn(c,m){return 0===c||0===m})(u,h)&&we.forEach(Wt=>{Wt.currentSnapshot.forEach((Ut,cn)=>De.set(cn,Ut))});let ot=function et(c){return c.length?c[0]instanceof Map?c:c.map(m=>ue(m)):[]}(s).map(Wt=>rt(Wt));ot=function pn(c,m,s){if(s.size&&m.length){let u=m[0],h=[];if(s.forEach((x,G)=>{u.has(G)||h.push(G),u.set(G,x)}),h.length)for(let x=1;x<m.length;x++){let G=m[x];h.forEach(ne=>G.set(ne,Wi(c,ne)))}}return m}(m,ot,De);const tn=function ms(c,m){let s=null,u=null;return Array.isArray(m)&&m.length?(s=ga(m[0]),m.length>1&&(u=ga(m[m.length-1]))):m instanceof Map&&(s=ga(m)),s||u?new cs(c,s,u):null}(m,ot);return new Hi(m,ot,Ee,tn)}}var Lt=w(177);let Br=(()=>{class c extends ee.S6{constructor(s,u){super(),this._nextAnimationId=0,this._renderer=s.createRenderer(u.body,{id:"0",encapsulation:e.gXe.None,styles:[],data:{animation:[]}})}build(s){const u=this._nextAnimationId.toString();this._nextAnimationId++;const h=Array.isArray(s)?(0,ee.K2)(s):s;return wa(this._renderer,null,u,"register",[h]),new js(u,this._renderer)}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(e._9s),e.KVO(Lt.qQ))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}}return c})();class js extends ee.Ro{constructor(m,s){super(),this._id=m,this._renderer=s}create(m,s){return new zo(this._id,m,s||{},this._renderer)}}class zo{constructor(m,s,u,h){this.id=m,this.element=s,this._renderer=h,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",u)}_listen(m,s){return this._renderer.listen(this.element,`@@${this.id}:${m}`,s)}_command(m,...s){return wa(this._renderer,this.element,this.id,m,s)}onDone(m){this._listen("done",m)}onStart(m){this._listen("start",m)}onDestroy(m){this._listen("destroy",m)}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(m){this._command("setPosition",m)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wa(c,m,s,u,h){return c.setProperty(m,`@@${s}:${u}`,h)}const Xo="@.disabled";let Vs=(()=>{class c{constructor(s,u,h){this.delegate=s,this.engine=u,this._zone=h,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,u.onRemovalComplete=(x,G)=>{const ne=G?.parentNode(x);ne&&G.removeChild(ne,x)}}createRenderer(s,u){const x=this.delegate.createRenderer(s,u);if(!(s&&u&&u.data&&u.data.animation)){let we=this._rendererCache.get(x);return we||(we=new fo("",x,this.engine,()=>this._rendererCache.delete(x)),this._rendererCache.set(x,we)),we}const G=u.id,ne=u.id+"-"+this._currentId;this._currentId++,this.engine.register(ne,s);const Ee=we=>{Array.isArray(we)?we.forEach(Ee):this.engine.registerTrigger(G,ne,s,we.name,we)};return u.data.animation.forEach(Ee),new V(this,ne,x,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(s,u,h){s>=0&&s<this._microtaskId?this._zone.run(()=>u(h)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(x=>{const[G,ne]=x;G(ne)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([u,h]))}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()}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(e._9s),e.KVO(ho),e.KVO(e.SKi))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}}return c})();class fo{constructor(m,s,u,h){this.namespaceId=m,this.delegate=s,this.engine=u,this._onDestroy=h}get data(){return this.delegate.data}destroyNode(m){this.delegate.destroyNode?.(m)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(m,s){return this.delegate.createElement(m,s)}createComment(m){return this.delegate.createComment(m)}createText(m){return this.delegate.createText(m)}appendChild(m,s){this.delegate.appendChild(m,s),this.engine.onInsert(this.namespaceId,s,m,!1)}insertBefore(m,s,u,h=!0){this.delegate.insertBefore(m,s,u),this.engine.onInsert(this.namespaceId,s,m,h)}removeChild(m,s,u){this.engine.onRemove(this.namespaceId,s,this.delegate)}selectRootElement(m,s){return this.delegate.selectRootElement(m,s)}parentNode(m){return this.delegate.parentNode(m)}nextSibling(m){return this.delegate.nextSibling(m)}setAttribute(m,s,u,h){this.delegate.setAttribute(m,s,u,h)}removeAttribute(m,s,u){this.delegate.removeAttribute(m,s,u)}addClass(m,s){this.delegate.addClass(m,s)}removeClass(m,s){this.delegate.removeClass(m,s)}setStyle(m,s,u,h){this.delegate.setStyle(m,s,u,h)}removeStyle(m,s,u){this.delegate.removeStyle(m,s,u)}
1setProperty(m,s,u){"@"==s.charAt(0)&&s==Xo?this.disableAnimations(m,!!u):this.delegate.setProperty(m,s,u)}setValue(m,s){this.delegate.setValue(m,s)}listen(m,s,u){return this.delegate.listen(m,s,u)}disableAnimations(m,s){this.engine.disableAnimations(m,s)}}class V extends fo{constructor(m,s,u,h,x){super(s,u,h,x),this.factory=m,this.namespaceId=s}setProperty(m,s,u){"@"==s.charAt(0)?"."==s.charAt(1)&&s==Xo?this.disableAnimations(m,u=void 0===u||!!u):this.engine.process(this.namespaceId,m,s.slice(1),u):this.delegate.setProperty(m,s,u)}listen(m,s,u){if("@"==s.charAt(0)){const h=function Y(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(m);let x=s.slice(1),G="";return"@"!=x.charAt(0)&&([x,G]=function F(c){const m=c.indexOf(".");return[c.substring(0,m),c.slice(m+1)]}(x)),this.engine.listen(this.namespaceId,h,x,G,ne=>{this.factory.scheduleListenerCallback(ne._data||-1,u,ne)})}return this.delegate.listen(m,s,u)}}const Zn=[{provide:ee.S6,useClass:Br},{provide:Wo,useFactory:function Ne(){return new lo}},{provide:ho,useClass:(()=>{class c extends ho{constructor(s,u,h,x){super(s.body,u,h)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(Lt.qQ),e.KVO(ln),e.KVO(Wo),e.KVO(e.o8S))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}}return c})()},{provide:e._9s,useFactory:function yn(c,m,s){return new Vs(c,m,s)},deps:[i.B7,ho,e.SKi]}],Bs=[{provide:ln,useFactory:()=>new po},{provide:e.bc$,useValue:"BrowserAnimations"},...Zn],Cr=[{provide:ln,useClass:Fn},{provide:e.bc$,useValue:"NoopAnimations"},...Zn];let or=(()=>{class c{static withConfig(s){return{ngModule:c,providers:s.disableAnimations?Cr:Bs}}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({providers:Bs,imports:[i.Bb]})}}return c})();var Sr=w(1626),ui=w(8617),Kr=w(9437),Ba=w(8141);const ar=new e.nKC("NGXS_DEVTOOLS_OPTIONS");let ko=(()=>{class c{constructor(s,u,h){this._options=s,this._injector=u,this._ngZone=h,this.devtoolsExtension=null,this.globalDevtools=e.JZv.__REDUX_DEVTOOLS_EXTENSION__||e.JZv.devToolsExtension,this.unsubscribe=null,this.connect()}ngOnDestroy(){null!==this.unsubscribe&&this.unsubscribe(),this.globalDevtools&&this.globalDevtools.disconnect()}get store(){return this._injector.get(ui.il)}handle(s,u,h){return!this.devtoolsExtension||this._options.disabled?h(s,u):h(s,u).pipe((0,Kr.W)(x=>{const G=this.store.snapshot();throw this.sendToDevTools(s,u,G),x}),(0,Ba.M)(x=>{this.sendToDevTools(s,u,x)}))}sendToDevTools(s,u,h){const x=(0,ui.Ak)(u);"@@INIT"===x?this.devtoolsExtension.init(s):this.devtoolsExtension.send(Object.assign(Object.assign({},u),{action:null,type:x}),h)}dispatched(s){if("DISPATCH"===s.type){if("JUMP_TO_ACTION"===s.payload.type||"JUMP_TO_STATE"===s.payload.type){const u=JSON.parse(s.state);u.router&&u.router.trigger&&(u.router.trigger="devtools"),this.store.reset(u)}else if("TOGGLE_ACTION"===s.payload.type)console.warn("Skip is not supported at this time.");else if("IMPORT_STATE"===s.payload.type){const{actionsById:u,computedStates:h,currentStateIndex:x}=s.payload.nextLiftedState;this.devtoolsExtension.init(h[0].state),Object.keys(u).filter(G=>"0"!==G).forEach(G=>this.devtoolsExtension.send(u[G],h[G].state)),this.store.reset(h[x].state)}}else if("ACTION"===s.type){const u=JSON.parse(s.payload);this.store.dispatch(u)}}connect(){!this.globalDevtools||this._options.disabled||(this.devtoolsExtension=this._ngZone.runOutsideAngular(()=>this.globalDevtools.connect(this._options)),this.unsubscribe=this.devtoolsExtension.subscribe(s=>{("DISPATCH"===s.type||"ACTION"===s.type)&&this._ngZone.run(()=>{this.dispatched(s)})}))}}return c.\u0275fac=function(s){return new(s||c)(e.KVO(ar),e.KVO(e.zZn),e.KVO(e.SKi))},c.\u0275prov=e.jDH({token:c,factory:c.\u0275fac}),c})();function Qr(c){return Object.assign({name:"NGXS"},c)}const Bo=new e.nKC("USER_OPTIONS");let ds=(()=>{class c{static forRoot(s){return{ngModule:c,providers:[{provide:ui.qu,useClass:ko,multi:!0},{provide:Bo,useValue:s},{provide:ar,useFactory:Qr,deps:[Bo]}]}}}return c.\u0275fac=function(s){return new(s||c)},c.\u0275mod=e.$C({type:c}),c.\u0275inj=e.G2t({}),c})();var Jr=w(2200),Ki=w(5794),Do=w(5992),Eo=w(534),xo=w(4339),Pa=w(1284),an=w(6497),go=w(7673),_s=w(4572),jt=w(6977),Pn=w(5964),mo=w(5558),Ci=w(6354),St=w(510),ei=w(148),$o=function(c){return c.Today="TODAY",c.Tomorrow="TOMORROW",c.NextWeek="NEXTWEEK",c}($o||{}),So=w(1887),Ke=w(8766),wt=w(2251),bt=w(4166),mn=w(8397),Dn=w(8506),jn=w(8870);function Cs(c,m){1&c&&(e.j41(0,"span",4),e.EFF(1,"Edit"),e.k0s())}function ai(c,m){if(1&c&&(e.j41(0,"a",1),e.nrm(1,"icon",2),e.DNE(2,Cs,2,0,"span",3),e.k0s()),2&c){const s=e.XpG();e.Y8G("href",s.cmsUrl,e.B4B),e.R7$(1),e.Y8G("size",s.size)("hover",!0),e.R7$(1),e.Y8G("ngIf",s.showLabel)}}let lr=(()=>
1{class c{set cmsId(s){this._cmsId=s,this.updateCmsUrl()}get cmsId(){return this._cmsId}constructor(s,u){this.appConfig=s,this.store=u,this.size="16px",this.showLabel=!1}updateCmsUrl(){const u=this.store.selectSnapshot(h=>h.app.user.user)?.contentPermissions?.includes(mn.l.Cms);this.cmsUrl=u&&this.cmsId?`${this.appConfig.dragonUrl}/article/${this.cmsId}`:null}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o),e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["cms-edit-link"]],inputs:{cmsId:"cmsId",size:"size",showLabel:"showLabel"},decls:1,vars:1,consts:[["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],["icon","edit","cssClass","lavender-1",3,"size","hover"],["class","label",4,"ngIf"],[1,"label"]],template:function(u,h){1&u&&e.DNE(0,ai,3,4,"a",0),2&u&&e.Y8G("ngIf",h.cmsUrl)},dependencies:[Lt.bT,jn.R],styles:[".is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;position:relative;text-decoration:none}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:4px}"]})}}return c})();var $r=w(4639),Yn=w(9417),_o=w(4412),ka=w(7647),O=w(779);function _(c,m){if(1&c){const s=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.page="add-to-existing")}),e.nrm(1,"icon",12),e.EFF(2,"Add to existing planner "),e.k0s()}if(2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode)}}function d(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",7)(1,"div",8)(2,"button",9),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.page="create-new")}),e.nrm(3,"icon",10),e.EFF(4,"Create a new planner "),e.k0s(),e.DNE(5,_,3,2,"button",11),e.nI1(6,"async"),e.k0s()()}if(2&c){const s=e.XpG();let u;e.R7$(2),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(3),e.Y8G("ngIf",(null==(u=e.bMT(6,3,s.myPlanners$))?null:u.items.length)>0)}}function C(c,m){if(1&c&&(e.j41(0,"option",22),e.EFF(1),e.k0s()),2&c){const s=m.$implicit;e.FS9("value",s.id),e.R7$(1),e.JRh(s.name)}}function M(c,m){if(1&c){const s=e.RV6();e.j41(0,"div")(1,"div",13)(2,"div",14)(3,"label",15),e.EFF(4,"Add to an existing planner:"),e.k0s(),e.j41(5,"select",16)(6,"option",17),e.EFF(7,"Please select"),e.k0s(),e.DNE(8,C,2,2,"option",18),e.nI1(9,"async"),e.k0s()()(),e.j41(10,"footer",19)(11,"button",20),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.saveToExistingMyPlanner())}),e.nrm(12,"icon",21),e.EFF(13,"Save "),e.k0s()()()}if(2&c){const s=e.XpG();let u;e.R7$(5),e.Y8G("formControl",s.existingPlannerControl),e.R7$(3),e.Y8G("ngForOf",null==(u=e.bMT(9,5,s.myPlanners$))?null:u.items),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("disabled",!s.checkedMyPlannerId)}}function R(c,m){if(1&c){const s=e.RV6();e.j41(0,"div")(1,"div",13)(2,"div",14)(3,"label",23),e.EFF(4,"Please give a name to the new planner:"),e.k0s(),e.j41(5,"input",24,25),e.bIt("keyup",function(){return 0}),e.k0s()()(),e.j41(7,"footer",19)(8,"button",20),e.bIt("click",function(){e.eBV(s);const h=e.sdS(6),x=e.XpG();return e.Njj(x.saveToNewMyPlanner(h.value))}),e.nrm(9,"icon",21),e.EFF(10,"Save "),e.k0s()()()}if(2&c){const s=e.sdS(6),u=e.XpG();e.R7$(8),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("disabled",!s.value||s.value.length>50)}}function be(c,m){if(1&c){const s=e.RV6();e.j41(0,"div")(1,"div",13)(2,"div",26)(3,"label",27),e.EFF(4,"Selection saved successfully"),e.k0s()()(),e.j41(5,"footer",19)(6,"button",9),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.navigateToPlanner())}),e.nrm(7,"icon",28),e.EFF(8,"View the planner "),e.k0s()()()}if(2&c){const s=e.XpG();e.R7$(6),e.AVh("is-dark-mode",s.isDarkMode)}}let Ct=(()=>{class c extends St.$G{constructor(s,u,h,x,G){super(),this.router=s,this.bsModalRef=u,this.store=h,this.accountApi=x,this.pinningService=G,this.header="Save this planner",this.confirmed=new e.bkB,this.page="start",this.checkedMyPlannerId=null,this.existingPlannerControl=new Yn.MJ(""),this.myPlannerPage$=new _o.t(1)}ngOnInit(){this.myPlanners$=this.myPlannerPage$.pipe((0,mo.n)(s=>this.accountApi.getMyPlannerSummaries(s,20)),(0,ka.u)()),this.totalCount$=this.pinningService.totalCount$,this.existingPlannerControl.valueChanges.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.checkedMyPlannerId=s,this.errorMessage=null})}closeModal(){this.bsModalRef.hide()}clear(){this.pinningService.clearElements(),this.closeModal()}saveToExistingMyPlanner(){let s=this.pinningService.getAllElements().map(u=>({websiteId:u.websiteId}));this.accountApi.addItemsToMyPlanner(this.checkedMyPlannerId,{items:s}).subscribe(u=>{this.savedMyPlanner=u,this.page="completed",this.pinningService.clearElements(),this.errorMessage=null},u=>{"Duplicates"===u.reason&&(this.errorMessage="Planner contains duplicate items.")})}saveToNewMyPlanner(s){this.errorMessage=null;let u=this.pinningService.getAllElements().map(h=>({websiteId:h.websiteId}));this.accountApi.addMyPlanner({myPlannerName:s,items:u}).subscribe(h=>
1{null==h?this.errorMessage="The name entered was invalid - please ensure there is no html in the name and try again":(this.savedMyPlanner=h,this.page="completed",this.pinningService.clearElements())})}navigateToPlanner(){this.closeModal(),this.router.navigate(["/account/planners",this.savedMyPlanner.id])}confirm(){this.confirmed.next(),this.closeModal()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(O.Y$),e.rXU(ui.il),e.rXU(wt.yo),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["ng-component"]],inputs:{isDarkMode:"isDarkMode",header:"header",message:"message"},outputs:{confirmed:"confirmed"},features:[e.Vt3],decls:12,vars:10,consts:[["type","button",1,"btn","btn-close-modal",3,"click"],["icon","close","size","19px","cssClass","grey-4"],[1,"p-3","text-center"],[1,"modal-container"],[3,"ngSwitch"],["class","list-page text-center","style","position: relative",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"list-page","text-center",2,"position","relative"],[1,"pin-modal-actions"],["type","button",1,"btn","btn-fsn-icon",3,"click"],["icon","add","size","25px","cssClass","lavender-1"],["type","button","class","btn btn-fsn-icon",3,"is-dark-mode","click",4,"ngIf"],["icon","note_add","size","22px","cssClass","lavender-1"],[1,"model-content"],[1,"mb-4"],["for","new-list-name",1,"form-label"],[1,"form-control","form-control-sm","col-8",3,"formControl"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"text-center"],["type","button",1,"btn","btn-fsn-icon",3,"disabled","click"],["icon","check_circle","size","22px","cssClass","lavender-1"],[3,"value"],["for","new-planner-name",1,"form-label"],["type","text","id","new-planner-name","placeholder","Type the name of the new planner...","maxlength","50",1,"form-control",3,"keyup"],["nameInput",""],[1,"mb-2"],[1,"form-label"],["icon","visibility","size","22px","cssClass","lavender-1"]],template:function(u,h){1&u&&(e.j41(0,"button",0),e.bIt("click",function(){return h.closeModal()}),e.EFF(1,"Close"),e.nrm(2,"icon",1),e.k0s(),e.j41(3,"header",2)(4,"h5"),e.EFF(5),e.k0s()(),e.j41(6,"div",3),e.qex(7,4),e.DNE(8,d,7,5,"div",5),e.DNE(9,M,14,7,"div",6),e.DNE(10,R,11,3,"div",6),e.DNE(11,be,9,2,"div",6),e.bVm(),e.k0s()),2&u&&(e.R7$(5),e.JRh(h.header),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode)("is-white","start"==h.page),e.R7$(1),e.Y8G("ngSwitch",h.page),e.R7$(1),e.Y8G("ngSwitchCase","start"),e.R7$(1),e.Y8G("ngSwitchCase","add-to-existing"),e.R7$(1),e.Y8G("ngSwitchCase","create-new"),e.R7$(1),e.Y8G("ngSwitchCase","completed"))},dependencies:[Lt.Sq,Lt.bT,Lt.ux,Lt.e1,Yn.xH,Yn.y7,Yn.wz,Yn.BC,Yn.l_,jn.R,Lt.Jj],styles:[".btn-close-modal[_ngcontent-%COMP%]{position:absolute;right:-15px;top:-33px;color:#fff;padding:0;font-size:14px;font-weight:700;text-decoration:underline}.btn-close-modal[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;padding-top:3px;width:28px;height:28px;border-radius:14px;background-color:#fff}header[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:54px;border-radius:20px 20px 0 0;background-color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;color:#fff}.modal-container[_ngcontent-%COMP%]{min-height:75px;padding-top:14px}.modal-container.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}.modal-container.is-dark-mode.is-white[_ngcontent-%COMP%]:not(.export){padding-top:72px}.modal-container.is-dark-mode[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{background-color:#26224f}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#e6e6ff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white{background-color:#fff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white:not(.export){padding-top:72px}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode)   footer[_ngcontent-%COMP%]{background-color:#f7f7fd}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]{padding:0 30px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   .form-label[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:16px;font-weight:600}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .modal
1-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border-radius:8px;height:36px;font-size:14px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:none}footer[_ngcontent-%COMP%]{height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:8px}.pin-modal-actions[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:52px;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.pin-modal-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:background-color .4s ease,color .4s ease,border-color .4s ease;cursor:pointer;display:inline-block;margin:8px 4px 0;padding:0 10px;height:36px;line-height:36px;border-radius:6px}.pin-modal-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:4px}.is-dark-mode[_nghost-%COMP%]   .pin-modal-actions[_ngcontent-%COMP%]{background-color:#26224f;color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .pin-modal-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#131128;color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .pin-modal-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}"]})}}return c})();function Kt(c,m){if(1&c&&e.nrm(0,"icon",2),2&c){const s=e.XpG();e.Y8G("icon",s.icon)("working",s.working)("size",s.iconSize)("cssClass",s.iconColor)}}let En=(()=>{class c{constructor(){this.disabled=!1,this.small=!1,this.rounded=!1,this.light=!1,this.lightGray=!1,this.whiteText=!1,this.working=!1,this.color=null,this.iconColor=null,this.selected=!1,this.iconRight=!1,this.outline=!1}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["fsn-button"]],inputs:{text:"text",disabled:["disabled","disabled",e.L39],small:["small","small",e.L39],rounded:["rounded","rounded",e.L39],light:["light","light",e.L39],lightGray:["lightGray","lightGray",e.L39],whiteText:["whiteText","whiteText",e.L39],working:["working","working",e.L39],color:"color",iconColor:"iconColor",icon:"icon",iconSize:"iconSize",selected:["selected","selected",e.L39],iconRight:["iconRight","iconRight",e.L39],outline:["outline","outline",e.L39]},features:[e.GFd],decls:3,vars:18,consts:[["type","button",1,"btn",3,"disabled","ngClass"],[3,"icon","working","size","cssClass",4,"ngIf"],[3,"icon","working","size","cssClass"]],template:function(u,h){1&u&&(e.j41(0,"button",0),e.DNE(1,Kt,1,4,"icon",1),e.EFF(2),e.k0s()),2&u&&(e.AVh("btn-sm",h.small)("rounded",h.rounded)("is-selected",h.selected)("is-light",h.light)("is-light-gray",h.lightGray)("white-text",h.whiteText)("outline",h.outline),e.Y8G("disabled",h.disabled)("ngClass",h.color),e.R7$(1),e.Y8G("ngIf",h.icon&&!h.iconRight),e.R7$(1),e.SpI(" ",h.text,"\n"))},dependencies:[Lt.YU,Lt.bT,jn.R],styles:["[_nghost-%COMP%]{display:inline-block}.btn[_ngcontent-%COMP%]{border-style:none;border-radius:6px}.btn.btn-sm[_ngcontent-%COMP%]{height:22px;padding-top:0;padding-bottom:0;font-size:12px}.btn.rounded[_ngcontent-%COMP%]{border-radius:11px!important}.btn.is-light[_ngcontent-%COMP%]{border-color:#e6e6ff;color:#d4d4ee}.btn.is-light-gray[_ngcontent-%COMP%]{border-color:#d4d4ee;color:#8c8cb5}.btn.outline[_ngcontent-%COMP%]{border-style:solid;border-width:1px}.btn.lavender-1[_ngcontent-%COMP%]{border-color:#26224f;background-color:#b2aaff;color:#26224f}.btn.lavender-1[_ngcontent-%COMP%]:hover{border-color:#26224f;background-color:#26224f;color:#b2aaff}.btn.lavender-3[_ngcontent-%COMP%]{border-color:#26224f;background-color:#e6e6ff;color:#26224f}.btn.lavender-3[_ngcontent-%COMP%]:hover{border-color:#26224f;background-color:#26224f;color:#b2aaff}.btn.white[_ngcontent-%COMP%]{border-color:#26224f;background-color:#fff;color:#26224f}.btn.white[_ngcontent-%COMP%]:hover{border-color:#26224f;background-color:#26224f;color:#fff}.btn.gray-3[_ngcontent-%COMP%]{border-color:#26224f;background-color:#d4d4ee;color:#26224f}.btn.gray-3[_ngcontent-%COMP%]:hover{border-color:#26224f;background-color:#8c8cb5;color:#26224f}.btn.white-text[_ngcontent-%COMP%]{color:#fff!important}"]})}}return c})();var Bn=w(9941);function Vn(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",10),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(3);return e.Njj(x.pageChanged(h))})("viewAllChanged",function(h){e.eBV(s);const x=e.XpG(3);return e.Njj(x.viewAllChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(3);e.Y8G("page",s.model)("scrollUpOnPageChange",!1)}}function Tn(c,m){if(1&c&&(e.j41(0,"div",8),e.DNE(1,Vn,1,2,"pagination-dots",9),e.k0s()),2&c){const s=e.XpG(2);e.R7$(1),e.Y8G("ngIf",s.model.totalCount>s.model.pageSize||1e3==s.model.pageSize)}}function as(c,m){if(1&c&&(e.j41(0,"li"),e.nrm(1,"event-basket-card",11),e.k0s()),2&c){const s=m.$implicit,u=e.XpG(2);e.R7$(1),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("model",s)("isDarkMode",u.isDarkMode)}}function Bi(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",12),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.pageChanged(h))})("viewAllChanged",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.viewAllChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(2);e.Y8G("page",s.model)("disableShowAll",!0)("scrollUpOnPageChange",!1)}}function vs(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"header",1)(2,"span"),e.EFF(3,"Add to Planner"),e.k0s(),e.j41(4,"span"),e.EFF(5),e.nI1(6,"number"),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"span",2)(10,"fsn-button",3),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.createNewPlanner())}),e.k0s(),e.j41(11,"fsn-button",4),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.clear())}),e.k0s()(),e.DNE(12,Tn,2,1,"div",5),e.k0s(),e.j41(13,"ul"),e.DNE(14,as,2,4,"li",6),e.k0s(),e.DNE(15,Bi,1,3,"pagination-dots",7),e.bVm()}if(2&c){const s=e.XpG();e.R7$(2),e.ZvI("header ",s.view,""),e.R7$(2),e.ZvI("count ",s.view,""),e.R7$(1),e.SpI("",e.bMT(6,16,s.model.totalCount)," "),e.R7$(3),e.JRh(1!=s.model.totalCount?"Events":"Event"),e.R7$(1),e.AVh("float-end","is-list"==s.view),e.R7$(3),e.Y8G("ngIf","is-grid"==s.view),e.R7$(1),e.ZvI("results ",s.view," row"),e.R7$(1),e.Y8G("ngForOf",s.model.items),e.R7$(1),e.Y8G("ngIf","is-list"==s.view&&s.model.totalCount>s.model.pageSize||1e3==s.model.pageSize)}}let Zi=(()=>{class c extends St.$G{constructor(s,u,h,x){super(),this.router=s,this.route=u,this.modalService=h,this.pinningService=x,this.isHidden=!1,this.pageSize=6,this.queryStringKey="basket"}ngOnInit(){this.route.queryParams.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{"true"===s[`${this.queryStringKey}ViewAll`]?(this.pageSize=1e3,this.buildPage()):(this.pageSize=6,this.buildPage()),s[`${this.queryStringKey}Page`]?(this.pageNo=+s[`${this.queryStringKey}Page`],this.buildPage()):(this.pageNo=1,this.buildPage())}),this.totalCount$.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.pinnedItems=this.pinningService.getAllElements(),this.buildPage()})}get totalCount$(){return this.pinningService.totalCount$}clear(){this.pinningService.clearElements(),this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}Page`]:1,[`${this.queryStringKey}ViewAll`]:!1},queryParamsHandling:"merge"})}createNewPlanner(){this.modalRef=this.modalService.show(Ct,{initialState:{isDarkMode:this.isDarkMode},backdrop:!0,ignoreBackdropClick:!1,class:this.isDarkMode?"fsn-modal is-dark-mode":"fsn-modal"})}pageChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}Page`]:s.pageNo},queryParamsHandling:"merge"})}viewAllChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}ViewAll`]:s.viewAll,[`${this.queryStringKey}Page`]:1},queryParamsHandling:"merge"})}buildPage(){this.model=null;let s=new St.YW;s.totalCount=this.pinnedItems?.length,s.pageNo=this.pageNo,s.pageSize=this.pageSize,s.items=this.getItemsForPage(this.pageNo),this.model=s}getItemsForPage(s){if(null==this.pinnedItems||0==this.pinnedItems?.length)return;const u=(s-1)*this.pageSize;return this.pinnedItems.slice(u,u+this.pageSize)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(O.I8),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["pin-basket"]],inputs:{isDarkMode:"isDarkMode",view:"view"},features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[1,"clearfix"],[1,"actions"],["text","Save","color","lavender-1","whiteText","","small","","rounded","",3,"click"],["text","Clear","lightGray","","outline","","small","","rounded","",3,"click"],["class","float-end",4,"ngIf"],[4,"ngFor","ngForOf"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged","viewAllChanged",4,"ngIf"],[1,"float-end"],["maxSize","7","isEsLimited","true",3,"page","scrollUpOnPageChange","pageChanged","viewAllChanged",4,"ngIf"],["maxSize","7","isEsLimited","true",3,"page","scrollUpOnPageChange","pageChanged","viewAllChanged"],[3,"model","isDarkMode"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged","viewAllChanged"]],template:function(u,h){1&u&&e.DNE(0,vs,16,18,"ng-container",0),2&u&&e.Y8G("ngIf",(null==h.model?null:h.model.totalCount)>0)},dependencies:[Lt.Sq,Lt.bT,En,$r.E,Bn.I,Lt.QX],styles:["[_nghost-%COMP%]{display:block;padding:0 8px 30px 5px}.for-home[_nghost-%COMP%]{padding-left:20px;padding-right:26px}.is-list[_nghost-%COMP%]{padding:0}[_nghost-%COMP%]   header[_ngcontent-%COMP%]{margin-bottom:5px}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:16px;line-height:32px;font-weight:600;font-family:Anek Bangla,serif}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .header.is-list[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{padding-left:15px;font-size:14px;line-height:16px;color:#8c8cb5}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .count.is-list[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:400}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]{position:relative;top:-2px;padding-left:14px}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]:first-of-type{display:inline-block;margin-right:4px}[_nghost-%COMP%]   .results.is-grid[_ngcontent-%COMP%]{padding:0 0 0 12px}[_nghost-%COMP%]   .results.is-grid[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0 3px 0 0;flex:0 0 16.6666666667%;max-width:16.6666666667%}[_nghost-%COMP%]   .results.is-list[_ngcontent-%COMP%]{padding:0 0 0 12px}[_nghost-%COMP%]   .results.is-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0;flex:0 0 100%;max-width:188px}[_nghost-%COMP%]   .results.is-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   event-basket-card[_ngcontent-%COMP%]{margin-bottom:8px}"]})}}return c})();var ni=w(8054);function Ks(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",5),e.EFF(2,"SET UP A SEARCH ALERT"),e.k0s(),e.nrm(3,"img",6),e.j41(4,"div",7),e.EFF(5,"Get started using search f
1ilters or keywords."),e.k0s(),e.j41(6,"div",8),e.EFF(7,"Use the Save/Alert button to set up email alerts so you never miss a story."),e.k0s(),e.bVm()),2&c){const s=e.XpG(2);e.R7$(3),e.Y8G("src","/assets/images/your-dashboard/filters"+(s.isDarkMode?"-dark-mode":"")+".png",e.B4B)}}function oo(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",9),e.EFF(2,"CREATE A PERSONAL PLANNER"),e.k0s(),e.nrm(3,"img",6),e.j41(4,"div",7),e.EFF(5,"Use the pin icon to select events."),e.k0s(),e.nrm(6,"img",6),e.j41(7,"div",7),e.EFF(8,"Click save to add pinned events to a new or existing planner, which you can access from My Planners."),e.k0s(),e.bVm()),2&c){const s=e.XpG(2);e.R7$(3),e.Y8G("src","/assets/images/your-dashboard/pin"+(s.isDarkMode?"-dark-mode":"")+".png",e.B4B),e.R7$(3),e.Y8G("src","/assets/images/your-dashboard/add-to-planner"+(s.isDarkMode?"-dark-mode":"")+".png",e.B4B)}}const ys=function(){return["/planner"]};function cr(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",4),e.DNE(2,Ks,8,1,"ng-container",2),e.DNE(3,oo,9,2,"ng-container",2),e.k0s(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("routerLink",e.lJ4(3,ys)),e.R7$(1),e.Y8G("ngIf",s.imageToDisplay==s.YourDashboardInfoImage.Both||s.imageToDisplay==s.YourDashboardInfoImage.SearchAlertsOnly),e.R7$(1),e.Y8G("ngIf",s.imageToDisplay==s.YourDashboardInfoImage.Both)}}function qr(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"div",13),e.bIt("click",function(){const x=e.eBV(s).$implicit,G=e.XpG(2);return e.Njj(G.runSearch(x))}),e.j41(2,"div",14),e.EFF(3),e.k0s(),e.j41(4,"div",15),e.EFF(5),e.k0s()(),e.bVm()}if(2&c){const s=m.$implicit;e.R7$(3),e.JRh(s.name),e.R7$(2),e.SpI("",s.count," New/Updated")}}const Ms=function(){return["/account/my-alerts/search-alerts"]};function To(c,m){if(1&c&&(e.j41(0,"div",10)(1,"a",11)(2,"span"),e.EFF(3,"SEARCH ALERTS"),e.k0s(),e.j41(4,"span"),e.EFF(5,"SEARCH ALERT UPDATES"),e.k0s()(),e.DNE(6,qr,6,2,"ng-container",12),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("routerLink",e.lJ4(2,Ms)),e.R7$(5),e.Y8G("ngForOf",s.searchAlerts)}}function Da(c,m){1&c&&(e.qex(0),e.j41(1,"div",4)(2,"div",9),e.EFF(3,"CREATE A PERSONAL PLANNER"),e.k0s(),e.nrm(4,"img",16),e.j41(5,"div",7),e.EFF(6,"Use the pin icon to select events."),e.k0s(),e.nrm(7,"img",17),e.j41(8,"div",7),e.EFF(9,"Click save to add pinned events to a new or existing planner, which you can access from My Planners."),e.k0s()(),e.bVm()),2&c&&(e.R7$(1),e.Y8G("routerLink",e.lJ4(1,ys)))}const es=function(c){return["/account/planners",c]};function Ea(c,m){if(1&c&&(e.qex(0),e.j41(1,"a",18)(2,"div",14),e.EFF(3),e.k0s(),e.j41(4,"div",15),e.EFF(5),e.k0s()(),e.bVm()),2&c){const s=m.$implicit;e.R7$(1),e.Y8G("routerLink",e.eq3(4,es,s.id)),e.R7$(2),e.JRh(s.name),e.R7$(2),e.Lme("",s.count," Event",1===s.count?"":"s","")}}const ac=function(){return["/account/planners"]};function $a(c,m){if(1&c&&(e.j41(0,"div",10)(1,"a",11)(2,"span"),e.EFF(3,"UPDATES FROM"),e.k0s(),e.EFF(4," YOUR PLANNERS"),e.k0s(),e.DNE(5,Ea,6,6,"ng-container",12),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("routerLink",e.lJ4(2,ac)),e.R7$(4),e.Y8G("ngForOf",s.myplanners)}}var Qs=function(c){return c[c.None=0]="None",c[c.Both=1]="Both",c[c.SearchAlertsOnly=2]="SearchAlertsOnly",c[c.PlannersOnly=3]="PlannersOnly",c}(Qs||{});let Nc=(()=>{class c extends St.$G{constructor(s,u,h,x,G){super(),this.store=s,this.router=u,this.eventsApi=h,this.plannerSearch=x,this.accountApi=G,this.maxToDisplay=6,this.preferredPerSection=this.maxToDisplay/2,this.hasLessThanMax=!1,this.imageToDisplay=Qs.None,this.YourDashboardInfoImage=Qs}ngOnInit(){(0,_s.z)([this.accountApi.getSearchAlertsWithNewUpdatedCounts(1,6,!0),this.accountApi.getMyPlanners(1,5)]).pipe((0,jt.Q)(this.destroyed$)).subscribe(([s,u])=>{const x=u.items||[];let G=(s.items||[]).slice(0,this.preferredPerSection),ne=x.slice(0,this.preferredPerSection);this.searchAlerts=G,this.myplanners=ne,this.hasLessThanMax=G.length+ne.length<this.maxToDisplay,this.imageToDisplay=this.setYourDashboardImage(G.length,ne.length)})}runSearch(s){this.router.navigate(["/planner"],{queryParams:this.plannerSearch.getQueryParams(JSON.parse(s.searchJson).searchParams,s.alertId,s.siteCulture,s.isAlert)})}setYourDashboardImage(s,u){return 0==s&&0==u?Qs.Both:s>0&&0==u?Qs.PlannersOnly:u>0&&0==s?Qs.SearchAlertsOnly:Qs.None}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(an.Ix),e.rXU(wt._y),e.rXU(ni.t9),e.rXU(wt.yo))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["your-dashboard"]],inputs:{isDarkMode:"isDarkMode"},features:[e.Vt3],decls:7,vars:4,consts:[[1,"dashboard"],[1,"title"],[4,"ngIf"],["class","section",4,"ngIf"],["role","link",1,"section","cursor-pointer",3,"routerLink"],[1,"sub-title"],["height","18",1,"d-block","mx-auto",3,"src"],[1,"text"],[1,"text","mt-1"],[1,"sub-title","mt-2"],[1,"section"],[1,"sub-title",3,"routerLink"],[4,"ngFor","ngForOf"],[1,"item",3,"click"],[1,"title","text-truncate"],[1,"count"],["src","/assets/images/your-dashboard/pin.png","height","18",1,"d-block","mx-auto"],["src","/assets/images/your-dashboard/add-to-planner.png","height","18",1,"d-block","mx-auto"],[1,"item",3,"routerLink"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1),e.EFF(2,"Your Dashboard"),e.k0s(),e.DNE(3,cr,4,4,"ng-container",2),e.DNE(4,To,7,3,"div",3),e.DNE(
15,Da,10,2,"ng-container",2),e.DNE(6,$a,6,3,"div",3),e.k0s()),2&u&&(e.R7$(3),e.Y8G("ngIf",h.imageToDisplay!=h.YourDashboardInfoImage.None),e.R7$(1),e.Y8G("ngIf",(null==h.searchAlerts?null:h.searchAlerts.length)>0),e.R7$(1),e.Y8G("ngIf",h.imageToDisplay==h.YourDashboardInfoImage.PlannersOnly),e.R7$(1),e.Y8G("ngIf",(null==h.myplanners?null:h.myplanners.length)>0))},dependencies:[Lt.Sq,Lt.bT,an.Wk],styles:["[_nghost-%COMP%]{width:100%}.is-dark-mode[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]{background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .dashboard[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .dashboard[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{color:#746ad5}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]{border-radius:8px;padding:10px 14px 4px;height:307px;max-height:307px}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:188px;max-height:130px}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   img.full-size[_ngcontent-%COMP%]{max-height:260px}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-bottom:3px;font-size:16px;font-family:Anek Bangla,serif;font-weight:700}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   a.sub-title[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:underline}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   a.sub-title[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{font-size:10px;font-weight:600;text-decoration:none}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:none}@media (min-width: 1270px){[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:inline-block}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-of-type{display:none}}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:4px auto}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:10px;font-weight:400}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{display:block;padding:5px 0;border-bottom:solid 1px #e6e6ff;text-decoration:none}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:hover{cursor:pointer}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:last-of-type{border-bottom:0}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0;font-size:12px;line-height:14px;font-weight:600}[_nghost-%COMP%]   .dashboard[_ngcontent-%COMP%]   .section[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{font-size:10px;line-height:12px;font-family:Anek Bangla,serif;font-weight:600}"]})}}return c})();function eo(c,m){if(1&c&&(e.j41(0,"li")(1,"a",6)(2,"span",7),e.EFF(3),e.k0s(),e.nrm(4,"img",8),e.k0s()()),2&c){const s=m.$implicit,u=e.XpG(2);e.R7$(1),e.AVh("is-list-view",u.isListView),e.Y8G("href",s.url,e.B4B),e.R7$(2),e.JRh(s.title),e.R7$(1),e.Y8G("src",s.imageUrl,e.B4B)("alt",s.title)}}function Co(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",9),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.pageChanged(h))})("viewAllChanged",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.viewAllChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(2);e.Y8G("page",s.model)("disableShowAll",!0)("scrollUpOnPageChange",!1)}}function Zr(c,m){if(1&c&&(e.qex(0),e.j41(1,"h2",1),e.EFF(2,"Hot Topics"),e.k0s(),e.j41(3,"ul",2),e.DNE(4,eo,5,6,"li",3),e.k0s(),e.j41(5,"div",4),e.DNE(6,Co,1,3,"pagination-dots",5),e.k0s(),e.bVm()),2&c){const s=e.XpG();e.R7$(3),e.AVh("row",!s.isListView),e.R7$(1),e.Y8G("ngForOf",s.model.items),e.R7$(2),e.Y8G("ngIf",s.model.totalCount>s.model.pageSize||1e3==s.model.pageSize)}}let xa=(()=>{class c extends St.$G{constructor(s,u,h,x){super(),this.router=s,this.route=u,this.store=h,this.contentButtonsApi=x,this.siteCulture=null,this.queryStringKey="hotTopic"}ngOnInit(){this.pageSize=this.isListView?5:6,this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{s.siteCulture!=this.siteCulture&&(this.siteCulture=s.siteCulture,this.contentButtonsApi.getContentButtons(this.siteCulture).subscribe(u=>{this.contentButtons=u,this.buildPage()}))}),this.route.queryParams.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{s[`${this.queryStringKey}Page`]?(this.pageNo=+s[`${this.queryStringKey}Page`],this.buildPage()):(this.pageNo=1,this.buildPage())})}pageChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}Page`]:s.pageNo},queryParamsHandling:"merge"})}viewAllChanged(s){}buildPage(){this.model=null;let s=new St.YW;s.totalCount=this.contentButtons?.length,s.pageNo=this.pageNo,s.pageSize=this.pageSize,s.items=this.getItemsForPage(this.pageNo),this.model=s}
1getItemsForPage(s){if(null==this.contentButtons||0==this.contentButtons?.length)return;const u=(s-1)*this.pageSize;return this.contentButtons.slice(u,u+this.pageSize)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(wt.PR))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["content-buttons"]],inputs:{isListView:"isListView",isDarkMode:"isDarkMode"},features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[1,"underlined"],[1,"results"],[4,"ngFor","ngForOf"],[1,"mt-3"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged","viewAllChanged",4,"ngIf"],[3,"href"],[1,"text","text-center"],[3,"src","alt"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged","viewAllChanged"]],template:function(u,h){1&u&&e.DNE(0,Zr,7,4,"ng-container",0),2&u&&e.Y8G("ngIf",(null==h.contentButtons?null:h.contentButtons.length)>0)},dependencies:[Lt.Sq,Lt.bT,$r.E],styles:["[_nghost-%COMP%]{display:inline-block;margin-bottom:40px;width:100%;position:relative}.for-home[_nghost-%COMP%]{max-width:1178px;margin-top:23px;padding-top:18px;padding-bottom:17px;border-radius:8px}.for-home[_nghost-%COMP%]   h2.underlined[_ngcontent-%COMP%]{position:absolute;top:-36px}.for-insight[_nghost-%COMP%]{position:relative!important;right:unset!important}.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:105px}.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{bottom:8px!important}@media (min-width: 1100px){.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:115px}.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{bottom:8px!important}}@media (min-width: 1200px){.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:121px!important}}@media (min-width: 1250px){.for-insight[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:131px!important}}.is-list-view[_nghost-%COMP%]{display:block;position:static;width:100%}@media (min-width: 1400px){.is-list-view[_nghost-%COMP%]{width:100%}}.is-list-view[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{margin-top:18px}.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{padding:0}.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0 0 10px;flex:0 0 100%;max-width:100%;max-width:190px}@media (min-width: 1200px){.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:105px}}@media (min-width: 1400px){.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{height:130px}}.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{bottom:5px}@media (min-width: 1400px){.is-list-view[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{bottom:10px}}.is-list-view[_nghost-%COMP%]   pagination-dots[_ngcontent-%COMP%]{display:block;margin-right:22px}.is-dark-mode.for-home[_nghost-%COMP%]{background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   .text[_ngcontent-%COMP%]{background-color:#e6e6ff;color:#26224f}.is-dark-mode[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{background-color:#26224f;color:#fff}[_nghost-%COMP%]:not(.is-dark-mode).for-home{background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   .text[_ngcontent-%COMP%]{background-color:#26224f;color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{background-color:#e6e6ff;color:#26224f}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{padding:15px 8px 10px 12px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0 3px 0 0;flex:0 0 16.6666666667%;max-width:16.6666666667%}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;padding:0 3px 0 0;height:100px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a.is-list-view[_ngcontent-%COMP%]{margin-bottom:10px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a.is-list-view[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{filter:grayscale(100%)}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:8px;transition:filter .3s ease-in-out;filter:grayscale(0%);max-width:100%}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{z-index:1;position:absolute;
1left:49%;bottom:10px;width:155px;transform:translate(-50%);display:inline-block;padding:7px 10px;line-height:16px;border-radius:6px;font-size:13px;font-weight:600;font-family:Anek Bangla,serif;max-width:90%;transition:ease-in-out .15s all}@media (min-width: 1200px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{bottom:0}}"]})}}return c})();var rn=w(7376),dr=w(6926);function Ts(c,m){if(1&c&&(e.j41(0,"div",7),e.nrm(1,"img",8),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("src",null==s.model?null:s.model.image.url,e.B4B)}}function nl(c,m){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const s=m.$implicit;e.R7$(1),e.SpI(" ",s," ")}}const Lc=function(c,m){return["/insight",c,m]};let xn=(()=>{class c extends dr.${constructor(){super()}ngOnInit(){this.urlName=(0,rn.kebabCase)(this.model?.headline)}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["insight-card"]],inputs:{model:"model",isDarkMode:"isDarkMode",isLoggedIn:"isLoggedIn"},features:[e.Vt3],decls:11,vars:14,consts:[["role","button",3,"routerLink"],["class","image",4,"ngIf"],[1,"categories"],[4,"ngFor","ngForOf"],[1,"headline"],[1,"intro"],[1,"date","text-truncate"],[1,"image"],[3,"src"]],template:function(u,h){1&u&&(e.j41(0,"a",0),e.DNE(1,Ts,2,1,"div",1),e.j41(2,"div",2),e.DNE(3,nl,2,1,"span",3),e.k0s(),e.j41(4,"div",4),e.EFF(5),e.k0s(),e.j41(6,"div",5),e.EFF(7),e.k0s(),e.j41(8,"div",6),e.EFF(9),e.nI1(10,"date"),e.k0s()()),2&u&&(e.AVh("is-logged-in",h.isLoggedIn),e.Y8G("routerLink",e.l_i(11,Lc,h.model.articleHash,h.urlName)),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.image),e.R7$(2),e.Y8G("ngForOf",null==h.model?null:h.model.categories),e.R7$(2),e.SpI(" ",h.model.headline," "),e.R7$(2),e.SpI(" ",h.model.intro," "),e.R7$(2),e.JRh(e.i5U(10,8,h.model.date,"MMMM d, y")))},dependencies:[Lt.Sq,Lt.bT,an.Wk,Lt.vh],styles:["[_nghost-%COMP%]{display:inline-block;width:100%;margin-bottom:3px}.is-first[_nghost-%COMP%]   a[_ngcontent-%COMP%]{padding-top:16px}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]{border:solid 1px #fff;background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]{border:solid 1px #fff;background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]:not(is-logged-in){box-shadow:0 0 10px #8c8cb533}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{position:relative;margin-bottom:15px;padding:16px 14px 26px 16px;display:inline-block;width:100%;border-radius:8px;text-decoration:none;transition:background-color .3s ease,border-color .3s ease}[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover   .headline[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{margin-bottom:4px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:8px;max-width:100%}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{position:absolute;bottom:5px;left:11px;max-width:calc(100% - 50px);display:inline-block;padding:0 6px;border-radius:6px;height:13px;line-height:13px;font-weight:900;font-size:8px;text-align:center;color:#26224f!important}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{margin-bottom:8px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-right:6px;padding:0 8px;height:16px;line-height:16px;font-weight:600;font-size:8px;border-radius:8px;text-transform:uppercase}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{margin-right:0}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{margin:0 0 4px;padding:0;font-weight:600!important;font-size:12px;line-height:14px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-wrap:balance}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:0;white-space:nowrap}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]{font-weight:400;font-size:10px;line-height:12px}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#26224f;border-color:#26224f}.is-dark-mode[_nghost-%COMP%]   a.is-home[_ngcontent-%COMP%]{border-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   a.is-politics[_ngcontent-%COMP%]{border-color:#360c82}.is-dark-mode[_nghost-%COMP%]   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-law-security[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-health-science[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-health-science.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#7b4a22}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}.is-dark-mode[_nghost-%COMP%]   a.is-world[_ngcontent-%COMP%]{border-color:#771e35}.is-dark-mode[_nghost-%COMP%]   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}.is-dark-mode[_nghost-%COMP%]   a.is-general[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-general.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-uk[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode).is-newsbreak   a[_ngcontent-%COMP%]{border:solid 10px red}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a[_ngcontent-%COMP%]:hover{background-color:#ebe7fd;border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home[_ngcontent-%COMP%]{border-color:#ebe7fd;border-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-politics[_ngcontent-%COMP%]{border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-law-security[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-business-economy[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#fdeee2}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-business-economy.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-world[_ngcontent-%COMP%]{border-color:#ffebf0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-general[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-entertainment-culture-sport[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-general.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-entertainment-culture-sport.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-uk[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}"]})}}return c})();
1var yl=w(1807),il=w(983),Ua=w(9371),Tr=w(1358),Ha=w(6036);function $l(c,m){if(1&c){const s=e.RV6();e.j41(0,"div")(1,"div",7)(2,"div",8)(3,"label",9),e.EFF(4,"Click the delete button below to remove this alert"),e.k0s()()(),e.j41(5,"footer",10)(6,"button",11),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.delete())}),e.nrm(7,"icon",12),e.EFF(8,"Delete "),e.k0s()()()}if(2&c){const s=e.XpG();e.R7$(6),e.AVh("is-dark-mode",s.isDarkMode)}}function Ml(c,m){if(1&c){const s=e.RV6();e.j41(0,"div")(1,"div",7)(2,"div",13)(3,"label",14),e.EFF(4,"Please give a name to your alert:"),e.k0s(),e.j41(5,"input",15,16),e.bIt("keyup",function(){return 0}),e.k0s()()(),e.j41(7,"footer",10)(8,"button",17),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.save())}),e.nrm(9,"icon",12),e.EFF(10,"Save "),e.k0s()()()}if(2&c){const s=e.sdS(6),u=e.XpG();e.R7$(5),e.FS9("placeholder",u.alert.name),e.Y8G("formControl",u.nameControl),e.R7$(3),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("disabled",!s.value||s.value>150)}}function Ul(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",18)(1,"div",7)(2,"div",8)(3,"label",9),e.EFF(4,"Alert saved successfully"),e.k0s()()(),e.j41(5,"footer",10)(6,"button",11),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.navigateToAlerts())}),e.nrm(7,"icon",19),e.EFF(8,"View your saved alerts "),e.k0s()()()}if(2&c){const s=e.XpG();e.R7$(6),e.AVh("is-dark-mode",s.isDarkMode)}}function jc(c,m){1&c&&(e.j41(0,"div",18)(1,"div",7)(2,"div",8)(3,"label",9),e.EFF(4,"Alert successfully deleted"),e.k0s()()()())}let sl=(()=>{class c extends St.$G{constructor(s,u,h){super(),this.router=s,this.bsModalRef=u,this.accountApi=h,this.alertChange=new e.bkB,this.nameControl=new Yn.MJ,this.alertFrequencyControl=new Yn.MJ(1),this.alertTypeControl=new Yn.MJ(1),this.trackerAlertType=""}ngOnInit(){this.page=this.alert.hasAlert?"existing":"details",this.nameControl.setValue(this.alert?.customName??null)}closeModal(){this.bsModalRef.hide()}save(){this.alert.name=this.alert.name,this.alert.customName=this.nameControl.value??this.alert.name,this.accountApi.addAlert(this.alert).subscribe(s=>{this.alertChange.next(s),this.page="completed",window.setTimeout(()=>{this.closeModal()},4e3)})}delete(){this.alert.hasAlert=!0,this.accountApi.deleteAlert(this.alert).subscribe(()=>{this.alertChange.next(null),this.page="deleted",window.setTimeout(()=>{this.closeModal()},4e3)})}navigateToAlerts(){this.closeModal(),this.router.navigate(["/account/my-alerts/tracker-alerts"])}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(O.Y$),e.rXU(wt.yo))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["ng-component"]],inputs:{alert:"alert",isDarkMode:"isDarkMode"},outputs:{alertChange:"alertChange"},features:[e.Vt3],decls:12,vars:8,consts:[["type","button",1,"btn","btn-close-modal",3,"click"],["icon","close","size","19px","cssClass","grey-4"],[1,"p-3","text-center"],[1,"modal-container"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","completed-page",4,"ngSwitchCase"],[1,"model-content"],[1,"mb-2"],[1,"form-label"],[1,"text-center"],["type","button",1,"btn","btn-fsn-icon",3,"click"],["icon","check_circle","size","22px","cssClass","lavender-1"],[1,"mb-4"],["for","new-alert-name",1,"form-label"],["type","text","id","new-alert-name","maxlength","150",1,"form-control",3,"placeholder","formControl","keyup"],["nameInput",""],["type","button",1,"btn","btn-fsn-icon",3,"disabled","click"],[1,"completed-page"],["icon","visibility","size","22px","cssClass","lavender-1"]],template:function(u,h){1&u&&(e.j41(0,"button",0),e.bIt("click",function(){return h.closeModal()}),e.EFF(1,"Close"),e.nrm(2,"icon",1),e.k0s(),e.j41(3,"header",2)(4,"h5"),e.EFF(5),e.k0s()(),e.j41(6,"div",3),e.qex(7,4),e.DNE(8,$l,9,2,"div",5),e.DNE(9,Ml,11,5,"div",5),e.DNE(10,Ul,9,2,"div",6),e.DNE(11,jc,5,0,"div",6),e.bVm(),e.k0s()),2&u&&(e.R7$(5),e.SpI("",h.alert.hasAlert?"Edit":"Add"," an alert"),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.Y8G("ngSwitch",h.page),e.R7$(1),e.Y8G("ngSwitchCase","existing"),e.R7$(1),e.Y8G("ngSwitchCase","details"),e.R7$(1),e.Y8G("ngSwitchCase","completed"),e.R7$(1),e.Y8G("ngSwitchCase","deleted"))},dependencies:[Lt.ux,Lt.e1,Yn.me,Yn.BC,Yn.tU,Yn.l_,jn.R],styles:[".btn-close-modal[_ngcontent-%COMP%]{position:absolute;right:-15px;top:-33px;color:#fff;padding:0;font-size:14px;font-weight:700;text-decoration:underline}.btn-close-modal[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;padding-top:3px;width:28px;height:28px;border-radius:14px;background-color:#fff}header[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:54px;border-radius:20px 20px 0 0;background-color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;color:#fff}.modal-container[_ngcontent-%COMP%]{min-height:75px;padding-top:14px}.modal-container.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}.modal-container.is-dark-mode.is-white[_ngcontent-%COMP%]:not(.export){padding-top:72px}.modal-container.is-dark-mode[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{background-color:#26224f}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#e6e6ff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white{background-color:#fff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white:not(.export){padding-top:72px}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode)   footer[_ngcontent-%COMP%]{background-color:#f7f7fd}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]{padding:0 30px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   .form-label[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:16px;font-weight:600}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .modal
1-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border-radius:8px;height:36px;font-size:14px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:none}footer[_ngcontent-%COMP%]{height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:8px}"]})}}return c})();var Ir=w(6541);function vd(c,m){1&c&&(e.j41(0,"span",3),e.EFF(1,"Track"),e.k0s())}let U=(()=>{class c extends St.$G{constructor(s,u){super(),this.modalService=s,this.analytics=u,this.showLabel=!1,this.size="16px",this.alertChange=new e.bkB,this.alwaysVisible=!1}ngOnChanges(s){s.websiteId&&(this.hostOpacity=s.hasAlert.currentValue||this.alwaysVisible?1:null)}alertClicked(s){s.stopPropagation(),this.analytics.trackFeatureUsage("track",{article_id:this.articleId||this.websiteId,event_headline:this.name,source:"planner"}),this.modalService.show(sl,{initialState:{alert:{eventArticleCalendarId:this.websiteId,name:this.name,customName:this.trackerAlert?.customName??this.name,hasAlert:this.hasAlert},isDarkMode:this.isDarkMode},backdrop:!0,ignoreBackdropClick:!1,class:this.isDarkMode?"fsn-modal is-dark-mode":"fsn-modal"}).content.alertChange.subscribe(x=>{x&&(this.hasAlert=!0,this.name=x.name),this.alertChange.next(x)})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(O.I8),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["alert-button"]],hostVars:2,hostBindings:function(u,h){2&u&&e.xc7("opacity",h.hostOpacity)},inputs:{isDarkMode:"isDarkMode",websiteId:"websiteId",articleId:"articleId",hasAlert:"hasAlert",trackerAlert:"trackerAlert",name:"name",showLabel:"showLabel",size:"size",alwaysVisible:"alwaysVisible"},outputs:{alertChange:"alertChange"},features:[e.Vt3,e.OA$],decls:3,vars:5,consts:[[3,"click"],["cssClass","lavender-1",3,"icon","size","filled","hover"],["class","label",4,"ngIf"],[1,"label"]],template:function(u,h){1&u&&(e.j41(0,"span",0),e.bIt("click",function(G){return h.alertClicked(G)}),e.nrm(1,"icon",1),e.DNE(2,vd,2,0,"span",2),e.k0s()),2&u&&(e.R7$(1),e.Y8G("icon",h.hasAlert?"notifications_active":"notification_important")("size",h.size)("filled",h.hasAlert)("hover",!h.showLabel),e.R7$(1),e.Y8G("ngIf",h.showLabel))},dependencies:[Lt.bT,jn.R],styles:["[_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:4px}"]})}}return c})();var ci=w(6697);
1function ol(c,m){1&c&&(e.j41(0,"span",3),e.EFF(1,"Pin"),e.k0s())}let vo=(()=>{class c extends St.$G{constructor(s,u,h){super(),this.pinningService=s,this.toastrService=u,this.analytics=h,this.alwaysVisible=!1,this.showLabel=!1,this.size="18px",this.isGridView=!0}ngOnChanges(s){s.websiteId&&(this.isPinned$=this.pinningService.isElementPinned$(s.websiteId.currentValue),this.isPinned$.pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.hostOpacity=u||this.alwaysVisible?1:null}))}pinClicked(s){s.stopPropagation(),this.pinningService.isElementPinned$(this.websiteId).pipe((0,ci.s)(1)).subscribe(u=>{u?(this.analytics.trackFeatureUsage("pin",{article_id:this.articleId||this.websiteId,event_headline:this.eventHeadline,source:"planner"}),this.pinningService.removeElement(this.websiteId)):(0==this.pinningService.getTotalCount()&&this.toastrService.showMessage(St.Jw.Saved,"Pinned items appear at the bottom of the page"),this.analytics.trackFeatureUsage("pin",{article_id:this.articleId||this.websiteId,event_headline:this.eventHeadline,source:"planner"}),this.pinningService.addElement(this.websiteId))})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(So.N),e.rXU(St.ad),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["pin-button"]],hostVars:2,hostBindings:function(u,h){2&u&&e.xc7("opacity",h.hostOpacity)},inputs:{websiteId:"websiteId",articleId:"articleId",eventHeadline:"eventHeadline",alwaysVisible:"alwaysVisible",showLabel:"showLabel",size:"size",isGridView:"isGridView"},features:[e.Vt3,e.OA$],decls:4,vars:6,consts:[[3,"click"],["icon","keep","cssClass","lavender-1",3,"size","filled","hover"],["class","label",4,"ngIf"],[1,"label"]],template:function(u,h){1&u&&(e.j41(0,"span",0),e.bIt("click",function(G){return h.pinClicked(G)}),e.nrm(1,"icon",1),e.nI1(2,"async"),e.DNE(3,ol,2,0,"span",2),e.k0s()),2&u&&(e.R7$(1),e.Y8G("size",h.size)("filled",e.bMT(2,4,h.isPinned$))("hover",!h.showLabel),e.R7$(2),e.Y8G("ngIf",h.showLabel))},dependencies:[Lt.bT,jn.R,Lt.Jj],styles:["[_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:4px}"]})}}return c})();function Xn(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",12),2&c){const s=e.XpG(2);e.Y8G("isDarkMode",!s.isDarkMode)}}function Vc(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",13),2&c){const s=e.XpG(2);e.Y8G("isDarkMode",!s.isDarkMode)}}function Uo(c,m){if(1&c&&(e.j41(0,"span"),e.DNE(1,Xn,1,1,"new-or-updated-badge",10),e.DNE(2,Vc,1,1,"new-or-updated-badge",11),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",s.model.isNew),e.R7$(1),e.Y8G("ngIf",s.model.isUpdated)}}function ea(c,m){if(1&c&&(e.j41(0,"div",14),e.EFF(1),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.SpI(" ",s.model.copy," ")}}function vr(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",15)(1,"alert-button",16),e.bIt("alertChange",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.alertChanged(h))}),e.k0s(),e.nrm(2,"pin-button",17)(3,"copy-text",18),e.k0s()}if(2&c){const s=e.XpG();e.R7$(1),e.Y8G("websiteId",s.model.calendarArticleId)("hasAlert",s.model.hasAlert)("name",s.model.headline)("trackerAlert",s.model.trackerAlert)("isDarkMode",s.isDarkMode)("alwaysVisible",!0),e.R7$(1),e.Y8G("websiteId",s.model.calendarArticleId)("alwaysVisible",!0),e.R7$(1),e.Y8G("textToCopy",null)("articleHash",s.model.articleHash)}}function Hl(c,m){1&c&&e.nrm(0,"icon",19),2&c&&(e.XpG(),e.Y8G("cssClass","gray-2"))}function yr(c,m){1&c&&e.nrm(0,"icon",20),2&c&&(e.XpG(),e.Y8G("cssClass","gray-2"))}function Bc(c,m){1&c&&e.nrm(0,"icon",21),2&c&&(e.XpG(),e.Y8G("cssClass","gray-2")("filled",!0))}let $c=(()=>{class c extends dr.${constructor(s,u,h,x,G){super(),this.router=s,this.route=u,this.store=h,this.modalService=x,this.pinningService=G,this.isListed=!1,this.onRemoveFromList=new e.bkB,this.NewsbreaksPosition=Ua.j,this.getUrlName=()=>(0,rn.kebabCase)(this.model.headline)}ngOnChanges(s){s.model&&(this.isPinned$=this.pinningService.isElementPinned$(this.model.calendarArticleId),this.hasAlert$=new _o.t(this.model.hasAlert),this.showButtons$=(0,_s.z)([this.isPinned$,this.hasAlert$]).pipe((0,Ci.T)(([u,h])=>u||h)))}alertChanged(s){this.model.hasAlert=s,this.hasAlert$.next(s)}removeFromList(s){this.onRemoveFromList.emit(s)}showEvent(){this.router.navigate([],{relativeTo:this.route,queryParams:{articleId:this.model.articleHash},queryParamsHandling:"merge"})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(O.I8),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["newsbreak-event-card"]],inputs:{model:"model",position:"position",isDarkMode:"isDarkMode",isListed:"isListed"},outputs:{onRemoveFromList:"onRemoveFromList"},features:[e.Vt3,e.OA$],decls:13,vars:19,consts:[["role","button",3,"click"],[1,"headline"],[4,"ngIf"],["class","intro",4,"ngIf"],[1,"date","text-truncate","d-inline-block"],["class","action-icons text-center",4,"ngIf"],[1,"info-icons"],["icon","error","size","17px",3,"cssClass",4,"ngIf"],["icon","star","size","17px",3,"cssClass",4,"ngIf"],["icon","stars","size","17px",3,"cssClass","filled",4,"ngIf"],["label","new","cssClass","is-newsbreaks",3,"isDarkMode",4,"ngIf"],["label","updated","cssClass","is-newsbreaks",3,"isDarkMode",4,"ngIf"],["label","new","cssClass","is-newsbreaks",3,"isDarkMode"],["label","updated","cssClass","is-newsbreaks",3,"isDarkMode"],[1,"intro"],[1,"action-icons","text-center"],[3,"websiteId","hasAlert","name","trackerAlert","isDarkMode","alwaysVisible","alertChange"],[3,"websiteId","alwaysVisible"],[3,"textToCopy","articleHash"],["icon","error","size","17px",3,"cssClass"],["
1icon","star","size","17px",3,"cssClass"],["icon","stars","size","17px",3,"cssClass","filled"]],template:function(u,h){1&u&&(e.j41(0,"a",0),e.bIt("click",function(){return h.showEvent()}),e.nI1(1,"async"),e.j41(2,"div",1),e.EFF(3),e.DNE(4,Uo,3,2,"span",2),e.k0s(),e.DNE(5,ea,2,1,"div",3),e.j41(6,"div",4),e.EFF(7),e.k0s(),e.DNE(8,vr,4,10,"div",5),e.j41(9,"div",6),e.DNE(10,Hl,1,1,"icon",7),e.DNE(11,yr,1,1,"icon",8),e.DNE(12,Bc,1,2,"icon",9),e.k0s()()),2&u&&(e.HbH(h.model.categoryCssClass),e.AVh("is-pinned",e.bMT(1,17,h.isPinned$))("is-vertical",h.position==h.NewsbreaksPosition.Vertical)("is-horizontal",h.position==h.NewsbreaksPosition.Horizontal),e.R7$(3),e.SpI(" ",h.model.headline," "),e.R7$(1),e.Y8G("ngIf",h.model.isNew||h.model.isUpdated),e.R7$(1),e.Y8G("ngIf",h.position==h.NewsbreaksPosition.Vertical),e.R7$(2),e.SpI(" ",h.model.eventDate," "),e.R7$(1),e.Y8G("ngIf",h.position==h.NewsbreaksPosition.Vertical),e.R7$(2),e.Y8G("ngIf",h.model.isOperational||h.model.isEmbargoed),e.R7$(1),e.Y8G("ngIf",h.model.isTopStory&&!h.model.isKeyEvent),e.R7$(1),e.Y8G("ngIf",h.model.isKeyEvent))},dependencies:[Lt.bT,Tr.a,jn.R,Ha.n,U,vo,Lt.Jj],styles:['[_nghost-%COMP%]{display:inline-block;width:100%;margin-bottom:3px}.is-last[_nghost-%COMP%]   a[_ngcontent-%COMP%]:after{border-bottom-color:transparent!important}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]:after{border-bottom-color:#212121!important}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]:after{border-bottom-color:#f7f7fd!important}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{position:relative;margin-top:4px;padding:6px 28px 6px 0;display:inline-block;width:100%;text-decoration:none;transition:background-color .3s ease,border-color .3s ease}[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover   .headline[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   a.white-background[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]   a.is-horizontal[_ngcontent-%COMP%]{height:65px;padding:4px 18px 0 12px}[_nghost-%COMP%]   a.is-horizontal[_ngcontent-%COMP%]:after{content:"";position:absolute;top:3px;right:0;height:43px;border-right:solid 2px #131128}[_nghost-%COMP%]   a.is-horizontal[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{min-height:31px;font-weight:400;font-size:11px;line-height:15px;-webkit-line-clamp:2}[_nghost-%COMP%]   a.is-horizontal[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{position:absolute;bottom:7px;left:12px;height:13px;line-height:13px;font-weight:600;font-size:10px;text-align:center;color:#fff;max-width:calc(100% - 50px)}[_nghost-%COMP%]   a.is-horizontal[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]{bottom:15px;right:12px}[_nghost-%COMP%]   a.is-vertical[_ngcontent-%COMP%]{padding:6px 28px 6px 0}[_nghost-%COMP%]   a.is-vertical[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-6px;left:0;width:100%;border-bottom:solid 2px transparent}[_nghost-%COMP%]   a.is-vertical[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-weight:600;font-size:12px;-webkit-line-clamp:4}[_nghost-%COMP%]   a.is-vertical[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{display:inline-block;padding:0 6px;border-radius:6px;height:13px;line-height:13px;font-weight:900;font-size:8px;text-align:center;background-color:#fff;color:#26224f!important}[_nghost-%COMP%]   a.is-vertical[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]{bottom:11px;right:8px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]{position:absolute;top:2px;right:6px;width:20px;height:70px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]{position:absolute;width:37px;height:13px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{float:right;margin-right:3px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]:first-of-type{margin-right:0}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{margin:0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:7px;white-space:nowrap}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3;text-wrap:balance}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:7px;white-space:nowrap}']})}}return c})();function ur(c,m){if(1&c){const s=e.RV6();e.j41(0,"button",11),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.refreshNewItems())}),e.j41(1,"span",12),e.nrm(2,"icon",13),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&c){const s=e.XpG(2);e.R7$(1),e.Y8G("@newItemsFlag",s.newItemsCount),e.R7$(3),e.Lme("",s.newItemsCount," new item",1==s.newItemsCount?"":"s","")}}function yo(c,m){if(1&c){const s=e.RV6();e.j41(0,"a",14),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.changePage(!1))}),e.nrm(1,"icon",15),e.k0s()}2&c&&(e.XpG(2),e.R7$(1),e.Y8G("cssClass","lavender-1")("hover",!0))}function Uc(c,m){if(1&c&&(e.qex(0),e.nrm(1,"newsbreak-event-card",16),e.bVm()),2&c){const s=m.$implicit,u=m.last,h=e.XpG(2);e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode)("is-last",u&&!h.nextPreviewEvent),e.Y8G("model",s)("position",h.position)("isDarkMode",h.isDarkMode)}}function Sa(c,m){if(1&c&&e.nrm(0,"newsbreak-event-card",17),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",s.nextPreviewEvent)("position",s.position)("isDarkMode",s.isDarkMode)}}function ta(c,m){if(1&c){const s=e.RV6();e.j41(0,"a",18),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.changePage(!0))}),e.nrm(1,"icon",19),e.k0s()}2&c&&(e.XpG(2),e.R7$(1),e.Y8G("cssClass","lavender-1")("hover",!0))}function vu(c,m){if(1&c&&(e.j41(0,"div",1)(1,"div",2)(2,"h2",3),e.EFF(3,"Newsbreaks"),e.k0s(),e.DNE(4,ur,5,3,"button",4),e.k0s(),e.j41(5,"div",5),e.DNE(6,yo,2,2,"a",6),e.j41(7,"div",7),e.DNE(8,Uc,2,7,"ng-container",8),e.DNE(9,Sa,1,5,"newsbreak-event-card",9),e.k0s(),e.DNE(10,ta,2,2,"a",10),e.k0s()()),2&c){const s=e.XpG();e.R7$(4),e.Y8G("ngIf",s.newItemsCount>0),e.R7$(2),e.Y8G("ngIf",s.position==s.NewsbreaksPosition.Horizontal&&(null==s.events?null:s.events.pageNo)>1),e.R7$(1),e.AVh("has-next-preview",s.position==s.NewsbreaksPosition.Horizontal&&s.nextPreviewEvent),e.Y8G("@pageSlide",s.position==s.NewsbreaksPosition.Horizontal?s.pageSlideState:null),e.R7$(1),e.Y8G("ngForOf",null==s.events?null:s.events.items)("ngForTrackBy",s.trackByNewsbreak),e.R7$(1),e.Y8G("ngIf",s.position==s.NewsbreaksPosition.Horizontal&&s.nextPreviewEvent),e.R7$(1),e.Y8G("ngIf",s.position==s.NewsbreaksPosition.Horizontal&&s.hasNextPage)}}let D=(()=>{class c extends St.$G{constructor(s,u){super(),this.store=s,this.contentListsApi=u,this.isNewslettersActive=!1,this.itemsToDisplay=0,this.ukContentListIds=[253,32],this.usContentListIds=[254,58],this.hasNextPage=!1,this.newItemsCount=0,this.NewsbreaksPosition=St.jH,this.prefetchRequestVersion=0,this.pageSlideDirection="next",this.newsbreaksPollingIntervalMs=6e4,this.hasStartedPolling=!1,this.trackByNewsbreak=(h,x)=>x.dragonId}ngOnInit(){this.itemsToDisplay=this.position==St.jH.Horizontal?6:100,this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{const u=this.siteCulture!==s.siteCulture;this.siteCulture=s.siteCulture,u&&this.resetNewItemsState(),this.fetchPage(1).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.setEvents(h),this.startPollingForNewItems()})})}changePage(s){this.pageSlideDirection=s?"next":"prev";const u=s?this.prefetchedNextPage:this.prefetchedPreviousPage;this.position==St.jH.Horizontal&&u?this.setEvents(u):this.fetchPage(s?this.events.pageNo+1:this.events.pageNo-1).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.setEvents(h)})}refreshNewItems(){this.pageSlideDirection="next",this.fetchPage(1).pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.newItemsCount=0,this.setEvents(this.mergeNewestPage(s))})}get nextPreviewEvent(){return this.prefetchedNextPage?.items?.[0]}fetchPage(s){return this.contentListsApi.getNewsbreaks({contentListIds:this.contentListIds,keyContentListId:this.contentListIds[0],pageNo:s,pageSize:this.itemsToDisplay,minDate:null,maxDate:null})}setEvents(s){this.events=s,this.updateLastViewedIndexUpdatedOn(s),this.calcHasNextPage(),this.position==St.jH.Horizontal&&(this.pageSlideState=`${this.pageSlideDirection}-${this.events.pageNo}`,this.prefetchAdjacentPages())}prefetchAdjacentPages(){this.prefetchedNextPage=void 0,this.prefetchedPreviousPage=void 0;const s=++this.prefetchRequestVersion;if(this.hasNextPage){const u=this.events.pageNo+1;this.fetchPage(u).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.prefetchRequestVersion==s&&h.pageNo==u&&(this.prefetchedNextPage=h)})}if(this.events.pageNo>1){const u=this.events.pageNo-1;this.fetchPage(u).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.prefetchRequestVersion==s&&h.pageNo==u&&(this.prefetchedPreviousPage=h)})}}calcHasNextPage(){const s=Math.ceil(this.events.totalCount/this.events.pageSize);this.hasNextPage=this.events.pageNo<s}mergeNewestPage(s){if(!this.events?.items?.length)return s;const u=new Map;
1[...this.events.items,...s.items].forEach(G=>{const ne=u.get(G.dragonId);(!ne||this.isNewer(G,ne))&&u.set(G.dragonId,G)});const h=new Set,x=[...s.items,...this.events.items].map(G=>u.get(G.dragonId)).filter(G=>!h.has(G.dragonId)&&(h.add(G.dragonId),!0)).slice(0,s.pageSize);return{...s,items:x}}isNewer(s,u){const h=this.toDate(s.indexUpdatedOn),x=this.toDate(u.indexUpdatedOn);return!!h&&(!x||h>x)}startPollingForNewItems(){this.hasStartedPolling||(this.hasStartedPolling=!0,(0,yl.O)(this.newsbreaksPollingIntervalMs,this.newsbreaksPollingIntervalMs).pipe((0,Pn.p)(()=>!!this.lastViewedIndexUpdatedOn),(0,Pn.p)(()=>typeof document>"u"||!document.hidden),(0,mo.n)(()=>this.contentListsApi.getNewsbreakUpdates({contentListIds:this.contentListIds,lastViewedIndexUpdatedOn:this.lastViewedIndexUpdatedOn}).pipe((0,Kr.W)(()=>il.w))),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.newItemsCount=s.count}))}updateLastViewedIndexUpdatedOn(s){const u=s.items.map(h=>this.toDate(h.indexUpdatedOn)).filter(h=>null!==h).sort((h,x)=>x.getTime()-h.getTime())[0];u&&(!this.lastViewedIndexUpdatedOn||u>this.lastViewedIndexUpdatedOn)&&(this.lastViewedIndexUpdatedOn=u)}toDate(s){if(!s)return null;const u=s instanceof Date?s:new Date(s);return isNaN(u.getTime())?null:u}resetNewItemsState(){this.newItemsCount=0,this.lastViewedIndexUpdatedOn=void 0}get contentListIds(){return this.siteCulture==St._u.US?this.usContentListIds:this.ukContentListIds}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(wt.Tx))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["newsbreaks"]],inputs:{position:"position",isDarkMode:"isDarkMode"},features:[e.Vt3],decls:1,vars:1,consts:[["class","newsbreaks",4,"ngIf"],[1,"newsbreaks"],[1,"newsbreaks-header"],[1,"underlined"],["type","button","class","new-items-flag",3,"click",4,"ngIf"],[1,"events"],["class","pagination-prev",3,"click",4,"ngIf"],[1,"events-list"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","is-preview is-next-preview",3,"model","position","is-dark-mode","isDarkMode",4,"ngIf"],["class","pagination-next",3,"click",4,"ngIf"],["type","button",1,"new-items-flag",3,"click"],[1,"new-items-flag-content"],["role","presentation","size","14px","cssClass","blue-1","icon","refresh"],[1,"pagination-prev",3,"click"],["role","button","size","32px","icon","chevron_backward",3,"cssClass","hover"],[3,"model","position","isDarkMode"],[1,"is-preview","is-next-preview",3,"model","position","isDarkMode"],[1,"pagination-next",3,"click"],["role","button","size","32px","icon","chevron_forward",3,"cssClass","hover"]],template:function(u,h){1&u&&e.DNE(0,vu,11,9,"div",0),2&u&&e.Y8G("ngIf",(null==h.events?null:h.events.totalCount)>0)},dependencies:[Lt.Sq,Lt.bT,jn.R,$c],styles:['[_nghost-%COMP%]{display:block}.is-horizontal[_nghost-%COMP%]{max-height:70px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]{position:relative;border-radius:0;padding:0 8px 10px 139px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;height:65px;width:120px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .newsbreaks-header[_ngcontent-%COMP%]{position:absolute;top:8px;left:15px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:105px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .newsbreaks-header[_ngcontent-%COMP%]   h2.underlined[_ngcontent-%COMP%]{margin:0}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   h2.underlined[_ngcontent-%COMP%]{margin:0}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .new-items-flag[_ngcontent-%COMP%]{position:absolute;top:35px;left:43%;transform:translate(-50%)}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .pagination-prev[_ngcontent-%COMP%]{position:absolute;top:7px;left:119px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .pagination-next[_ngcontent-%COMP%]{position:absolute;top:7px;right:-5px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]{padding-right:4px;overflow:hidden}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%]{display:flex;align-items:stretch}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%] > newsbreak-event-card[_ngcontent-%COMP%]{display:inline-block;flex:0 0 16.6666666667%;width:auto}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%] > newsbreak-event-card.is-preview[_ngcontent-%COMP%]{opacity:.35;pointer-events:none}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%] > newsbreak-event-card.is-next-preview[_ngcontent-%COMP%]{-webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.15) 70%,rgba(0,0,0,.15) 100%);mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.15) 70%,rgba(0,0,0,.15) 100%)}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list.has-next-preview[_ngcontent-%COMP%] > newsbreak-event-card[_ngcontent-%COMP%]{flex-basis:calc((100% - 54px) / 6)}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list.has-next-preview[_ngcontent-%COMP%] > newsbreak-event-card.is-preview[_ngcontent-%COMP%]{flex-basis:54px}.is-horizontal[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;margin-top:8px;margin-bottom:8px;font-weight:600;text-decoration:none}.is-vertical[_nghost-%COMP%]{min-height:0}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]{border-radius:0;padding:0 8px 10px 14px;height:100%;min-height:0;display:flex;flex-direction:column}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .newsbreaks-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex:0 0 auto}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .newsbreaks-header[_ngcontent-%COMP%]   h2.underlined[_ngcontent-%COMP%]{margin-bottom:0}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .newsbreaks-header[_ngcontent-%COMP%]   .new-items-flag[_ngcontent-%COMP%]{position:absolute;top:15px;right:15px}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;margin-top:15px;margin-bottom:10px;padding-right:4px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#f7f7fd transparent}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px!important}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#f7f7fd;border-radius:999px;min-height:28px}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#b2aaff}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none;width:0;height:0}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%] > newsbreak-event-card[_ngcontent-%COMP%]{display:inline-block}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   .events-list[_ngcontent-%COMP%] > newsbreak-event-card[_ngcontent-%COMP%]:first-of-type{margin-top:-11px}.is-vertical[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;margin-top:8px;margin-bottom:8px;font-weight:600;text-decoration:none}[_nghost-%COMP%]   h2.underlined[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:8px}[_nghost-%COMP%]   .new-items-flag[_ngcontent-%COMP%]{position:relative;border:0;border-radius:10px;padding:0 8px;min-height:20px;line-height:20px;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer;color:#26224f;background-color:#b2aaff;display:inline-flex;align-items:center;transform-origin:left center}[_nghost-%COMP%]   .new-items-flag[_ngcontent-%COMP%]   .new-items-flag-content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;transform-origin:center}[_nghost-%COMP%]   .new-items-flag[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .new-items-flag[_ngcontent-%COMP%]:focus{background-color:#fff}.is-dark-mode[_nghost-%COMP%]{background-color:#4a4951;color:#fff}.is-dark-mode[_nghost-%COMP%]   .newsbreaks[_ngcontent-%COMP%]:before{background-color:#212121}.is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode){background-color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .newsbreaks[_ngcontent-%COMP%]:before{background-color:#131128}[_nghost-%COMP%]:not(.is-dark-mode)   h2.underlined[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   h2.underlined[_ngcontent-%COMP%]:after{border-bottom-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   newsbreak-event-card[_ngcontent-%COMP%]{display:inline-block;margin-bottom:8px}'],data:{animation:[(0,ee.hZ)("pageSlide",[(0,ee.kY)((s,u)=>"void"!==s&&`${u}
1`.startsWith("next-"),[(0,ee.iF)({transform:"translateX(100%)",opacity:0}),(0,ee.i0)("220ms ease-out",(0,ee.iF)({transform:"translateX(0)",opacity:1}))]),(0,ee.kY)((s,u)=>"void"!==s&&`${u}`.startsWith("prev-"),[(0,ee.iF)({transform:"translateX(-100%)",opacity:0}),(0,ee.i0)("220ms ease-out",(0,ee.iF)({transform:"translateX(0)",opacity:1}))])]),(0,ee.hZ)("newItemsFlag",[(0,ee.kY)(":enter",[(0,ee.iF)({opacity:1,transform:"scale(1)",boxShadow:"0 0 0 0 rgba(190, 183, 255, 0.7)"}),(0,ee.i0)("160ms 500ms ease-out",(0,ee.iF)({transform:"scale(1.16)",boxShadow:"0 0 0 6px rgba(190, 183, 255, 0.5)"})),(0,ee.i0)("220ms ease-out",(0,ee.iF)({transform:"scale(1)",boxShadow:"0 0 0 0 rgba(190, 183, 255, 0)"}))]),(0,ee.kY)(":leave",[]),(0,ee.kY)("* => *",[(0,ee.iF)({transform:"scale(1)"}),(0,ee.i0)("140ms ease-out",(0,ee.iF)({transform:"scale(1.14)"})),(0,ee.i0)("180ms ease-out",(0,ee.iF)({transform:"scale(1)"}))])])]}})}}return c})();function T(c,m){if(1&c&&(e.j41(0,"p",18),e.EFF(1," Select at least one newsletter. "),e.k0s()),2&c){const s=e.XpG();e.Y8G("id",s.idPrefix+"-newsletter-error")}}let P=(()=>{class c{constructor(){this.idPrefix="advance-signup",this.newsletterSelectionInvalid=!1}onNewsletterChanged(s,u){(s||u)&&(this.newsletterSelectionInvalid=!1)}onSubmit(s,u,h){this.newsletterSelectionInvalid=!u&&!h,this.newsletterSelectionInvalid&&s.preventDefault()}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["advance-signup"]],inputs:{idPrefix:"idPrefix"},decls:46,vars:15,consts:[[1,"advance-signup"],[3,"id"],["action","https://foresightnews.us13.list-manage.com/subscribe/post?u=a98686cbb4d018258b1147903&id=090db0a687&f_id=006303e9f0","method","post","target","_blank","rel","noopener","accept-charset","UTF-8","ngNoForm","",3,"submit"],[1,"field"],["aria-hidden","true"],["name","EMAIL","type","email","autocomplete","email","required","",3,"id"],["name","FNAME","type","text","autocomplete","given-name",3,"id"],["name","LNAME","type","text","autocomplete","family-name",3,"id"],["name","MMERGE5","type","text","autocomplete","organization",3,"id"],[1,"checkbox"],["type","checkbox","name","group[700175][256]","value","",3,"change"],["advanceUk",""],["type","checkbox","name","group[700175][512]","value","",3,"change"],["advanceUs",""],["class","validation-error","role","alert",3,"id",4,"ngIf"],["aria-hidden","true",1,"mailchimp-honeypot"],["type","text","name","b_a98686cbb4d018258b1147903_090db0a687","tabindex","-1","autocomplete","off",3,"id"],["type","submit"],["role","alert",1,"validation-error",3,"id"]],template:function(u,h){if(1&u){const x=e.RV6();e.j41(0,"section",0)(1,"h2",1),e.EFF(2,"Sign up for Advance"),e.k0s(),e.j41(3,"p"),e.EFF(4,"Get the latest Foresight News insight delivered to your inbox."),e.k0s(),e.j41(5,"form",2),e.bIt("submit",function(ne){e.eBV(x);const Ee=e.sdS(31),De=e.sdS(36);return e.Njj(h.onSubmit(ne,Ee.checked,De.checked))}),e.j41(6,"div",3)(7,"label"),e.EFF(8,"Email address "),e.j41(9,"span",4),e.EFF(10,"*"),e.k0s()(),e.nrm(11,"input",5),e.k0s(),e.j41(12,"div",3)(13,"label"),e.EFF(14,"First name"),e.k0s(),e.nrm(15,"input",6),e.k0s(),e.j41(16,"div",3)(17,"label"),e.EFF(18,"Last name"),e.k0s(),e.nrm(19,"input",7),e.k0s(),e.j41(20,"div",3)(21,"label"),e.EFF(22,"Company"),e.k0s(),e.nrm(23,"input",8),e.k0s(),e.j41(24,"fieldset")(25,"legend"),e.EFF(26,"Newsletter "),e.j41(27,"span",4),e.EFF(28,"*"),e.k0s()(),e.j41(29,"label",9)(30,"input",10,11),e.bIt("change",function(){e.eBV(x);const ne=e.sdS(31),Ee=e.sdS(36);return e.Njj(h.onNewsletterChanged(ne.checked,Ee.checked))}),e.k0s(),e.j41(32,"span"),e.EFF(33,"Advance UK"),e.k0s()(),e.j41(34,"label",9)(35,"input",12,13),e.bIt("change",function(){e.eBV(x);const ne=e.sdS(31),Ee=e.sdS(36);return e.Njj(h.onNewsletterChanged(ne.checked,Ee.checked))}),e.k0s(),e.j41(37,"span"),e.EFF(38,"Advance US"),e.k0s()(),e.DNE(39,T,2,1,"p",14),e.k0s(),e.j41(40,"div",15)(41,"label"),e.EFF(42,"Leave this field empty"),e.k0s(),e.nrm(43,"input",16),e.k0s(),e.j41(44,"button",17),e.EFF(45,"Subscribe"),e.k0s()()()}2&u&&(e.BMQ("aria-labelledby",h.idPrefix+"-heading"),e.R7$(1),e.Y8G("id",h.idPrefix+"-heading"),e.R7$(6),e.BMQ("for",h.idPrefix+"-email"),e.R7$(4),e.Y8G("id",h.idPrefix+"-email"),e.R7$(2),e.BMQ("for",h.idPrefix+"-first-name"),e.R7$(2),e.Y8G("id",h.idPrefix+"-first-name"),e.R7$(2),e.BMQ("for",h.idPrefix+"-last-name"),e.R7$(2),e.Y8G("id",h.idPrefix+"-last-name"),e.R7$(2),e.BMQ("for",h.idPrefix+"-company"),e.R7$(2),e.Y8G("id",h.idPrefix+"-company"),e.R7$(1),e.BMQ("aria-describedby",h.newsletterSelectionInvalid?h.idPrefix+"-newsletter-error":null)("aria-invalid",h.newsletterSelectionInvalid),e.R7$(15),e.Y8G("ngIf",h.newsletterSelectionInvalid),e.R7$(2),e.BMQ("for",h.idPrefix+"-mailchimp-honeypot"),e.R7$(2),e.Y8G("id",h.idPrefix+"-mailchimp-honeypot"))},dependencies:[Lt.bT],styles:["[_nghost-%COMP%]{display:block;margin-bottom:20px}.advance-signup[_ngcontent-%COMP%]{padding:18px;border-radius:8px;background-color:#26224f;color:#fff;text-align:left}.advance-signup[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0 0 8px;color:#fff;font-family:Anek Bangla,serif;font-size:20px;font-weight:600;line-height:24px}.advance-signup[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 0 16px;font-size:13px;line-height:18px}.advance-signup[_ngcontent-%COMP%]   .field[_ngcontent-%COMP%]{margin-bottom:12px}.advance-signup[_ngcontent-%COMP%]   label[_ngcontent-%COMP%], .advance-signup[_ngcontent-%COMP%]   legend[_ngcontent-%COMP%]{margin-bottom:4px;font-size:13px;font-weight:600}.advance-signup[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%], .advance-signup[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{display:block;width:100%;min-width:0;padding:8px 10px;border:1px solid #D4D4EE;border-radius:4px;background-color:#fff;color:#26224f;font:inherit}.advance-signup[_ngcontent-%COMP%]   input[type=email][_ngcontent-%COMP%]:focus, .advance-signup[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{border-color:#b2aaff;outline:2px solid #b2aaff;outline-offset:1px}.advance-signup[_ngcontent-%COMP%]   fieldset[_ngcontent-%COMP%]{margin:4px 0 14px;padding:0;border:0}.advance-signup[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:6px 0 0;cursor:pointer;font-weight:400}.advance-signup[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:0 0 auto;margin:0}.advance-signup[_ngcontent-%COMP%]   .validation-error[_ngcontent-%COMP%]{margin:8px 0 0;color:#fff;font-size:12px;font-weight:600}.advance-signup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;padding:9px 14px;border:0;border-radius:4px;background-color:#b2aaff;color:#26224f;font:inherit;font-weight:700;cursor:pointer}.advance-signup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}.advance-signup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #fff;outline-offset:2px}.mailchimp-honeypot[_ngcontent-%COMP%]{position:absolute;
1left:-10000px;width:1px;height:1px;overflow:hidden}"]})}}return c})(),I=(()=>{class c{constructor(s){this._sanitizer=s}transform(s,u){switch(u){case"html":default:return this._sanitizer.bypassSecurityTrustHtml(s);case"style":return this._sanitizer.bypassSecurityTrustStyle(s);case"script":return this._sanitizer.bypassSecurityTrustScript(s);case"url":return this._sanitizer.bypassSecurityTrustUrl(s);case"resourceUrl":return this._sanitizer.bypassSecurityTrustResourceUrl(s)}}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(i.up,16))}}static{this.\u0275pipe=e.EJ8({name:"safe",type:c,pure:!0})}}return c})();function j(c,m){if(1&c&&(e.j41(0,"div",22),e.EFF(1),e.k0s()),2&c){const s=e.XpG(4);e.R7$(1),e.JRh(null==s.model?null:s.model.heroImage.photographer)}}function oe(c,m){if(1&c&&(e.j41(0,"div",19),e.nrm(1,"img",20),e.DNE(2,j,2,1,"div",21),e.k0s()),2&c){const s=e.XpG(3);e.R7$(1),e.Y8G("src",null==s.model||null==s.model.heroImage?null:s.model.heroImage.url,e.B4B)("alt",null==s.model||null==s.model.heroImage?null:s.model.heroImage.description),e.R7$(1),e.Y8G("ngIf",null==s.model||null==s.model.heroImage?null:s.model.heroImage.photographer)}}function Ae(c,m){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const s=e.XpG(3);e.R7$(1),e.SpI("by ",null==s.model?null:s.model.author," ")}}function vt(c,m){if(1&c&&(e.nrm(0,"div",23),e.nI1(1,"safe")),2&c){const s=e.XpG(3);e.Y8G("innerHTML",e.i5U(1,1,null==s.model?null:s.model.copy,"html"),e.npT)}}function Mt(c,m){if(1&c&&(e.qex(0),e.nrm(1,"insight-card",30),e.bVm()),2&c){const s=m.$implicit,u=m.first,h=e.XpG(4);e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode)("is-logged-in",h.isLoggedIn)("is-first",u),e.Y8G("model",s)("isDarkMode",h.isDarkMode)("isLoggedIn",h.isLoggedIn)}}function fn(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",31),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(4);return e.Njj(x.previousPostsPageChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(4);e.Y8G("hideShowAll",!0)("page",s.previousPosts)("scrollUpOnPageChange",!1)}}function Jn(c,m){if(1&c&&(e.j41(0,"div",24)(1,"div",25)(2,"h2",26),e.EFF(3,"Previous Posts"),e.k0s(),e.DNE(4,Mt,2,9,"ng-container",27),e.DNE(5,fn,1,3,"pagination-dots",28),e.k0s(),e.nrm(6,"advance-signup",29),e.k0s()),2&c){const s=e.XpG(3);e.R7$(4),e.Y8G("ngForOf",null==s.previousPosts?null:s.previousPosts.items),e.R7$(1),e.Y8G("ngIf",(null==s.previousPosts?null:s.previousPosts.totalCount)>(null==s.previousPosts?null:s.previousPosts.pageSize))}}function Ds(c,m){if(1&c&&(e.j41(0,"div",3)(1,"div",4)(2,"div",5)(3,"div",4)(4,"div",6)(5,"div",7)(6,"a",8)(7,"picture"),e.nrm(8,"source",9)(9,"img",10),e.k0s()()(),e.nrm(10,"advance-signup",11),e.k0s(),e.j41(11,"div",12)(12,"div",13)(13,"h2",14),e.EFF(14),e.k0s(),e.DNE(15,oe,3,3,"div",15),e.j41(16,"div",16),e.DNE(17,Ae,2,1,"span",0),e.EFF(18),e.nI1(19,"date"),e.k0s(),e.DNE(20,vt,2,4,"div",17),e.k0s()(),e.DNE(21,Jn,7,2,"div",18),e.k0s()()()()),2&c){const s=e.XpG(2);e.R7$(2),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(9),e.AVh("is-dark-mode",s.isDarkMode)("is-logged-out",!s.isLoggedIn),e.R7$(3),e.JRh(null==s.model?null:s.model.headline),e.R7$(1),e.Y8G("ngIf",null==s.model?null:s.model.heroImage),e.R7$(2),e.Y8G("ngIf",null==s.model?null:s.model.author),e.R7$(1),e.JRh(e.i5U(19,12,null==s.model?null:s.model.date,"MMMM d, y")),e.R7$(2),e.Y8G("ngIf",null==s.model?null:s.model.copy),e.R7$(1),e.Y8G("ngIf",(null==s.previousPosts?null:s.previousPosts.totalCount)>0)}}function $i(c,m){if(1&c&&(e.qex(0),e.j41(1,"section",1)(2,"h1"),e.EFF(3,"Insight"),e.k0s()(),e.DNE(4,Ds,22,15,"div",2),e.bVm()),2&c){const s=e.XpG();e.R7$(4),e.Y8G("ngIf",s.model)}}function Mr(c,m){if(1&c&&e.nrm(0,"your-dashboard",42),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}function Ya(c,m){if(1&c&&e.nrm(0,"content-buttons",43),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isListView",!0)("isDarkMode",s.isDarkMode)}}function bl(c,m){if(1&c&&(e.j41(0,"div",22),e.EFF(1),e.k0s()),2&c){const s=e.XpG(3);e.R7$(1),e.JRh(null==s.model?null:s.model.heroImage.photographer)}}function Ol(c,m){if(1&c&&(e.j41(0,"div",19),e.nrm(1,"img",20),e.DNE(2,bl,2,1,"div",21),e.k0s()),2&c){const s=e.XpG(2);e.R7$(1),e.Y8G("src",null==s.model||null==s.model.heroImage?null:s.model.heroImage.url,e.B4B)("alt",null==s.model||null==s.model.heroImage?null:s.model.heroImage.description),e.R7$(1),e.Y8G("ngIf",null==s.model||null==s.model.heroImage?null:s.model.heroImage.photographer)}}function Js(c,m){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const s=e.XpG(2);e.R7$(1),e.SpI("by ",null==s.model?null:s.model.author," ")}}function br(c,m){if(1&c&&(e.nrm(0,"div",23),e.nI1(1,"safe")),2&c){const s=e.XpG(2);e.Y8G("innerHTML",e.i5U(1,1,null==s.model?null:s.model.copy,"html"),e.npT)}}function $s(c,m){if(1&c&&e.nrm(0,"cms-edit-link",44),2&c){const s=e.XpG(2);e.Y8G("cmsId",null==s.model?null:s.model.dragonId)("size","19px")("showLabel",!0)}}function na(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"a",45),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.bustInsightCache())}),e.nrm(2,"icon",46),e.EFF(3,"Reset insight cache"),e.k0s(),e.j41(4,"a",45),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.bustLatestCache())}),e.nrm(5,"icon",46),e.EFF(6,"Reset latest post cache"),e.k0s(),e.bVm()}}function ma(c,m){if(1&c&&(e.qex(0),e.nrm(1,"insight-card",47),e.bVm()),2&c){const s=m.$implicit,u=m.first,h=e.XpG(3);e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode)("is-first",u),e.Y8G("model",s)("isDarkMode",h.isDarkMode)}}function Hc(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",31),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(3);return e.Njj(x.previousPostsPageChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(3);e.Y8G("hideShowAll",!0)("page",s.previousPosts)("scrollUpOnPageChange",!1)}}function jh(c,m){if(1&c&&(e.j41(0,"div",34)(1,"div",25)(2,"h2",26),e.EFF(3,"Previous Posts"),e.k0s(),e.DNE(4,ma,2,6,"ng-container",27),e.DNE(5,Hc,1,3,"pagination-dots",28),e.k0s()()),2&c){const s=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",null==s.previousPosts?null:s.previousPosts.items),e.R7$(1),e.Y8G("ngIf",(null==s.previousPosts?null:s.previousPosts.totalCount)>(null==s.previousPosts?null:s.previousPosts.pageSize))}}function Or(c,m){if(1&c&&e.nrm(0,"pin-basket",48),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}function yu(c,m){if(1&c&&e.nrm(0,"newsbreaks",51),2&c){const s=e.XpG(3);e.AVh("is-vertical",!0)("is-dark-mode",s.isDarkMode),e.Y8G("position",s.NewsbreaksPosition.Vertical)("isDarkMode",s.isDarkMode)}}function Ur(c,m){if(1&c&&(e.j41(0,"div",49),e.DNE(1,yu,1,6,"newsbreaks",50),e.k0s()),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn)}}function ia(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",3)(2,"div",4)(3,"div",32)(4,"div",33)(5,"div",34),e.DNE(6,Mr,1,3,"your-dashboard",35),e.DNE(7,Ya,1,4,"content-buttons",36),e.k0s(),e.j41(8,"div",37)(9,"h2",14),e.EFF(10),e.k0s(),e.DNE(11,Ol,3,3,"div",15),e.j41(12,"div",16),e.DNE(13,Js,2,1,"span",0),e.EFF(14),e.nI1(15,"date"),e.k0s(),e.DNE(16,br,2,4,"div",17),e.DNE(17,$s,1,3,"cms-edit-link",38),e.DNE(18,n
1a,7,0,"ng-container",0),e.k0s(),e.DNE(19,jh,6,2,"div",39),e.k0s(),e.j41(20,"div",4),e.DNE(21,Or,1,3,"pin-basket",40),e.k0s()(),e.DNE(22,Ur,2,3,"div",41),e.k0s()(),e.bVm()),2&c){const s=e.XpG();e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(3),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode)("is-logged-out",!s.isLoggedIn),e.R7$(2),e.JRh(null==s.model?null:s.model.headline),e.R7$(1),e.Y8G("ngIf",null==s.model?null:s.model.heroImage),e.R7$(2),e.Y8G("ngIf",null==s.model?null:s.model.author),e.R7$(1),e.JRh(e.i5U(15,18,null==s.model?null:s.model.date,"MMMM d, y")),e.R7$(2),e.Y8G("ngIf",null==s.model?null:s.model.copy),e.R7$(1),e.Y8G("ngIf",s.model),e.R7$(1),e.Y8G("ngIf",s.hasCmsAccess&&s.model),e.R7$(1),e.Y8G("ngIf",(null==s.previousPosts?null:s.previousPosts.totalCount)>0),e.R7$(2),e.Y8G("ngIf",s.isLoggedIn&&s.displayPinBasket),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn)}}let Ga=(()=>{class c extends St.$G{constructor(s,u,h,x,G,ne,Ee,De){super(),this.route=s,this.router=u,this.store=h,this.pinningService=x,this.userLocation=G,this.insightApi=ne,this.metaService=Ee,this.toastr=De,this.articleHash="",this.previousPosts=new St.YW,this.previousPostsPageNo=1,this.isLoggedIn=null,this.hasCmsAccess=!1,this.displayPinBasket=!1,this.totalPinned=0,this.previousPostsQueryStringKey="previousPosts",this.HomeContentListPosition=$o,this.NewsbreaksPosition=St.jH}ngOnInit(){super.ngOnInit(),this.pinningService.totalCount$.pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.displayPinBasket=u>0,this.totalPinned=u,3==this.totalPinned&&(this.totalPinned=900)});const s=this.store.select(ei.is.user).pipe((0,Pn.p)(u=>void 0!==u),(0,mo.n)(u=>u?(0,go.of)({user:u,siteCulture:u.siteCulture}):this.userLocation.getSiteCulture().pipe((0,Ci.T)(h=>({user:u,siteCulture:h})))));(0,_s.z)([s,this.route.paramMap]).pipe((0,jt.Q)(this.destroyed$),(0,mo.n)(([{user:u,siteCulture:h},x])=>(this.isDarkMode=u?.isDarkMode??!1,this.isLoggedIn=!!u,this.siteCulture=h,this.articleHash=x.get("hashId"),this.hasCmsAccess=u?.contentPermissions?.includes(St.l_.Cms)??!1,this.insightApi.getInsight(h,this.articleHash??"")))).subscribe(u=>this.applyInsightPage(u)),this.route.queryParams.pipe((0,jt.Q)(this.destroyed$)).subscribe(()=>{this.model&&this.loadPreviousPostsFromQueryParams()})}bustLatestCache(){this.insightApi.bustLatestPostCache(this.siteCulture).subscribe(s=>{this.showToastrMessage("Lastest post",s)})}bustInsightCache(){const s=this.articleHash??"";this.insightApi.bustInsightCache(this.siteCulture,s).pipe((0,mo.n)(u=>(this.showToastrMessage("Insight",u),this.insightApi.getInsight(this.siteCulture,s))),(0,jt.Q)(this.destroyed$)).subscribe(u=>this.applyInsightPage(u))}showToastrMessage(s,u){u?this.toastr.success(`${s} cache reset`):this.toastr.error(`${s}
1 cache could not be cleared - please try again`)}previousPostsPageChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.previousPostsQueryStringKey}Page`]:s.pageNo},queryParamsHandling:"merge"})}loadPreviousPostsFromQueryParams(){const s=this.route.snapshot.queryParams[`${this.previousPostsQueryStringKey}Page`],u=s?+s:1;this.previousPostsPageNo===u&&this.previousPosts?.pageNo===u||(this.previousPostsPageNo=u,this.insightApi.getInsightPreviousPosts(this.siteCulture,this.articleHash??"",u).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.previousPosts=h}))}applyInsightPage(s){s?(this.model=s.article,this.previousPosts=s.previousPosts,this.loadPreviousPostsFromQueryParams(),this.metaService.setPageTitle(this.model.headline+" | Insight",null,!1),this.model.intro&&this.metaService.setPageDescription(this.model.intro)):this.router.navigate(["/insight"])}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.nX),e.rXU(an.Ix),e.rXU(ui.il),e.rXU(So.N),e.rXU(Ke.dy),e.rXU(wt.RW),e.rXU(bt.i),e.rXU(Ki.tw))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["insight-view"]],features:[e.Vt3],decls:2,vars:2,consts:[[4,"ngIf"],[1,"title"],["class","container",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-12","col-xxl-12"],[1,"col-12","col-lg-2"],[1,"info","text-center"],["href","mailto:[email protected]"],["media","(min-width: 992px)","srcset","/assets/images/logged-out/insight/banner-blue-vertical.jpg"],["src","/assets/images/logged-out/insight/banner-blue-horizontal.jpg",1,"img-fluid"],["idPrefix","advance-signup-desktop",1,"d-none","d-lg-block"],[1,"col-12","col-sm-8","col-md-9","col-lg-7","col-xxl-7","insight-content"],[1,"insight-container"],[1,"headline"],["class","hero-image",4,"ngIf"],[1,"author-date"],["class","copy",3,"innerHTML",4,"ngIf"],["class","col-12 col-sm-4 col-md-3 col-lg-3 col-xxl-3",4,"ngIf"],[1,"hero-image"],[3,"src","alt"],["class","photographer",4,"ngIf"],[1,"photographer"],[1,"copy",3,"innerHTML"],[1,"col-12","col-sm-4","col-md-3","col-lg-3","col-xxl-3"],[1,"previous-posts"],[1,"underlined"],[4,"ngFor","ngForOf"],["maxSize","5",3,"hideShowAll","page","scrollUpOnPageChange","pageChanged",4,"ngIf"],["idPrefix","advance-signup-mobile",1,"d-lg-none"],[3,"model","isDarkMode","isLoggedIn"],["maxSize","5",3,"hideShowAll","page","scrollUpOnPageChange","pageChanged"],[1,"col-10","col-xxl-10"],[1,"row","row-cols-5"],[1,"col"],[3,"isDarkMode","is-dark-mode",4,"ngIf"],["class","is-list-view for-insight",3,"isListView","isDarkMode","is-dark-mode",4,"ngIf"],[1,"col-7","col-xxl","insight-content"],[3,"cmsId","size","showLabel",4,"ngIf"],["class","col",4,"ngIf"],["class","for-home","view","is-grid",3,"isDarkMode","is-dark-mode",4,"ngIf"],["class","col-2 col-xxl-2",3,"is-dark-mode",4,"ngIf"],[3,"isDarkMode"],[1,"is-list-view","for-insight",3,"isListView","isDarkMode"],[3,"cmsId","size","showLabel"],[1,"reset-insight-cache",3,"click"],["icon","cached","size","19px","cssClass","lavender-1"],[3,"model","isDarkMode"],["view","is-grid",1,"for-home",3,"isDarkMode"],[1,"col-2","col-xxl-2"],[3,"position","is-vertical","isDarkMode","is-dark-mode",4,"ngIf"],[3,"position","isDarkMode"]],template:function(u,h){1&u&&(e.DNE(0,$i,5,1,"ng-container",0),e.DNE(1,ia,23,21,"ng-container",0)),2&u&&(e.Y8G("ngIf",!1===h.isLoggedIn),e.R7$(1),e.Y8G("ngIf",h.isLoggedIn))},dependencies:[Lt.Sq,Lt.bT,lr,jn.R,$r.E,Zi,Nc,xa,xn,D,P,Lt.vh,I],styles:['[_nghost-%COMP%]{display:block;min-height:inherit}[_nghost-%COMP%]   .info[_ngcontent-%COMP%]{margin-bottom:20px}@media (min-width: 992px){[_nghost-%COMP%]   .info[_ngcontent-%COMP%]{margin-bottom:0}}[_nghost-%COMP%]   .info[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%]   advance-signup[_ngcontent-%COMP%]{display:inline-block;margin-top:20px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]   .insight-content.is-logged-out[_ngcontent-%COMP%]{padding:0}@media (min-width: 576px){[_nghost-%COMP%]   .insight-content.is-logged-out[_ngcontent-%COMP%]{margin-bottom:80px}}[_nghost-%COMP%]   .insight-content.is-logged-out[_ngcontent-%COMP%]   .insight-container[_ngcontent-%COMP%]{margin-left:0;padding:20px 24px;background:#fff}@media (min-width: 576px){[_nghost-%COMP%]   .insight-content.is-logged-out[_ngcontent-%COMP%]   .insight-container[_ngcontent-%COMP%]{margin-left:10px;border-radius:8px;box-shadow:0 0 10px #8c8cb533}}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-logged-out){margin-top:15px;padding:10px 14px;border-radius:8px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-logged-out)   .reset-insight-cache[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;position:relative;text-decoration:none;padding-left:24px;margin-top:10px;margin-left:20px;font-size:14px;font-weight:700}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-logged-out)   .reset-insight-cache[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-logged-out)   .reset-insight-cache[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:absolute;top:0;left:0}[_nghost-%COMP%]   .insight-content.is-dark-mode[_ngcontent-%COMP%]{background-color:#26224f}[_nghost-%COMP%]   .insight-content.is-dark-mode[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]   .photographer[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]   .insight-content.is-dark-mode[_ngcontent-%COMP%]     .txt-photographer{background-color:#131128}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode):not(.is-logged-out){background-color:#fff}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode)   .insight-container[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode)   .hero-image[_ngcontent-%COMP%]{margin-bottom:20px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode)   .hero-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode)   .hero-image[_ngcontent-%COMP%]   .photographer[_ngcontent-%COMP%]{background-color:#26224f}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]:not(.is-dark-mode)     .txt-photographer{background-color:#26224f}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{margin:0 0 10px;padding:0;font-size:24px;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]{margin-bottom:20px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .hero-image[_ngcontent-%COMP%]   .photographer[_ngcontent-%COMP%]{height:22px;line-height:22px;padding-left:15px;color:#fff;font-size:11px;font-style:italic;font-weight:700}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .author-date[_ngcontent-%COMP%]{margin-bottom:10px;font-size:12px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .author-date[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:13px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]{font-size:14px;line-height:18px;font-weight:400}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     .txt-fn{color:#b2aaff}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     .txt-centered, [_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     .ql-align-center{text-align:center}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     .txt-photographer{height:22px;line-height:22px;padding-left:15px;color:#fff;font-size:11px;font-style:italic;font-weight:700}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     p:has(+p.txt-photographer){margin-bottom:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     p:has(+p.txt-photographer) img{margin-bottom:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     p.txt-photographer{margin-top:0;margin-bottom:15px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     h3{font-size:17px;line-height:21px;font-family:Anek Bangla,serif;font-weight:600;margin:10px 0;padding:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     h4{text-transform:uppercase;font-size:17px;line-height:21px;font-family:Anek Bangla,serif;font-weight:600;margin:10px 0;padding:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     h5{font-size:20px;line-height:24px;font-family:Anek Bangla,serif;font-weight:600;margin:10px 0;padding:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     h6{text-transform:uppercase;font-size:20px;line-height:24px;font-family:Anek Bangla,serif;font-weight:600;margin:10px 0;padding:0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     iframe{width:100%;min-height:300px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul{padding-left:30px;list-style:disc!important}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li{padding-bottom:5px}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     .txt-two-column{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;row-gap:32px;margin:24px 0}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     img{max-width:100%}[_nghost-%COMP%]   .insight-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;line-height:19px;font-weight:400}[_nghost-%COMP%]   .previous-posts[_ngcontent-%COMP%]   h2.underlined[_ngcontent-%COMP%]{z-index:1;margin-top:15px;margin-left:14px;margin-bottom:6px}[_nghost-%COMP%]   .previous-posts[_ngcontent-%COMP%]   pagination-dots[_ngcontent-%COMP%]{display:block;margin-bottom:30px}[_nghost-%COMP%]   your-dashboard[_ngcontent-%COMP%], [_nghost-%COMP%]   insight-latest[_ngcontent-%COMP%]{display:inline-block;margin-top:15px}[_nghost-%COMP%]   home-insight[_ngcontent-%COMP%]{display:inline-block;margin-top:15px}[_nghost-%COMP%]   pin-basket[_ngcontent-%COMP%]{display:inline-block;margin-left:6px}[_nghost-%COMP%]   content-buttons[_ngcontent-%COMP%]{display:inline-block;margin-left:12px}[_nghost-%COMP%]   .col-2[_ngcontent-%COMP%] > home-content-list[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]   .container[_ngcontent-%COMP%]{min-height:inherit}[_nghost-%COMP%]   .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{min-height:inherit}[_nghost-%COMP%]   .col-2[_ngcontent-%COMP%]{position:relative;min-height:0}[_nghost-%COMP%]   newsbreaks.is-vertical[_ngcontent-%COMP%]{position:absolute;height:auto;inset:0;min-height:0}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]{min-height:600px;transition:background-color .4s ease,color .4s ease,border-color .4s ease}[_nghost-%COMP%]   .col-9.is-dark-mode[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%]:not(.is-dark-mode), [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#f8f7fd}.title[_ngcontent-%COMP%]{margin-top:52px;margin-bottom:20px;padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{margin-bottom:30px;padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{margin-bottom:40px;padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:400;text-align:center;margin:20px auto;max-width:595px}@media (min-width: 992px){.top-text[_ngcontent-%COMP%]{font-size:16px;margin:30px auto;max-width:705px}}@media (min-width: 1200px){.top-text[_ngcontent-%COMP%]{font-size:18px;margin:40px auto}}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{display:inline-block;position:relative}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;border-bottom:solid 2px #b2aaff}']})}}return c})();const Ho=function(){return["/"]},Yl=function(){return["/contact"]};let lc=(()=>{class c extends St.$G{constructor(s){super(),this.store=s}ngOnInit(){}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["not-found-view"]],features:[e.Vt3],decls:20,vars:4,consts:[[1,"title"],[1,"top-text","container"],[1,"fw-bold"],[1,"container"],[1,"row"],[1,"col-md-6","offset-md-3","content"],[3,"routerLink"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"404"),e.k0s()(),e.j41(3,"div",1)(4,"span",2),e.EFF(5,"The page you were looking for does not exist."),e.k0s()(),e.j41(6,"div",3)(7,"div",4)(8,"div",5)(9,"ul")(10,"li"),e.EFF(11,"Here are a few things to help you get back on track:"),e.k0s(),e.j41(12,"li"),e.EFF(13,"Go to our "),e.j41(14,"a",6),e.EFF(15,"home page"),e.k0s()(),e.j41(16,"li"),e.EFF(17,"Visit our "),e.j41(18,"a",6),e.EFF(19,"contact page"),e.k0s()()()()()()),2&u&&(e.R7$(14),e.Y8G("routerLink",e.lJ4(2,Ho)),e.R7$(4),e.Y8G("routerLink",e.lJ4(3,Yl)))},dependencies:[an.Wk],styles:['[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px;height:calc(100vh - 102px)}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:400;text-align:center;margin:20px auto;max-width:800px}@media (min-width: 992px){.top-text[_ngcontent-%COMP%]{font-size:16px;margin:30px auto}}@media (min-width: 1200px){.top-text[_ngcontent-%COMP%]{font-size:18px;margin:40px auto}}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{display:inline-block;position:relative}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;border-bottom:solid 2px #b2aaff}.content[_ngcontent-%COMP%]{background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533;padding:20px 30px}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:5px;margin-left:18px;list-style-position:outside;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]::marker{color:#b2aaff}']})}}return c})(),Gl=(()=>{class c extends St.$G{constructor(s,u){super(),this.staticTypeApi=s,this.store=u}ngOnInit(){this.staticTypeApi.getCountries().subscribe(s=>{this.countries=s})}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(wt.Nc),e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["status-view"]],features:[e.Vt3],decls:5,vars:1,consts:[[1,"main-content","p-2"],[1,"mt-2"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"h3"),e.EFF(2,"Status"),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.k0s()()),2&u&&(e.R7$(4),e.JRh(h.countries.length))},encapsulation:2})}}return c})();function wl(c,m){if(1&c&&(e.j41(0,"div",10),e.nrm(1,"img",11),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("src",null==s.insightPost?null:s.insightPost.image.url,e.B4B)}}function sa(c,m){if(1&c&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&c){const s=m.$implicit;e.R7$(1),e.SpI(" ",s," ")}}const cc=fu
1nction(c,m){return["/insight",c,m]};let Wl=(()=>{class c extends St.$G{constructor(s,u){super(),this.store=s,this.insightApi=u}ngOnInit(){this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.siteCulture=s.siteCulture,this.insightApi.getLatestPost(this.siteCulture).pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.insightPost=u,this.urlName=(0,rn.kebabCase)(this.insightPost?.headline),this.setHeading()})})}setHeading(){const s=this.insightPost.categories.map(u=>u.toLowerCase());switch(!0){case s.some(u=>u.includes("month")):this.heading="The Month Ahead";break;case s.some(u=>u.includes("insights")):this.heading="Latest Insights";break;default:this.heading="The Week Ahead"}}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(wt.RW))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["insight-latest"]],inputs:{isDarkMode:"isDarkMode"},features:[e.Vt3],decls:14,vars:15,consts:[[1,"underlined"],[1,"insight-post-card"],[3,"routerLink"],["class","image",4,"ngIf"],[1,"categories"],[4,"ngFor","ngForOf"],[1,"title"],[1,"intro"],[1,"insight","text-center",3,"routerLink"],["icon","add","size","18px","verticalAlign","text-bottom",3,"cssClass","hover"],[1,"image"],[3,"src"]],template:function(u,h){1&u&&(e.j41(0,"h2",0),e.EFF(1),e.k0s(),e.j41(2,"div",1)(3,"a",2),e.DNE(4,wl,2,1,"div",3),e.j41(5,"div",4),e.DNE(6,sa,2,1,"span",5),e.k0s(),e.j41(7,"div",6),e.EFF(8),e.k0s(),e.j41(9,"div",7),e.EFF(10),e.k0s()(),e.j41(11,"a",8),e.nrm(12,"icon",9),e.EFF(13," Read more "),e.k0s()()),2&u&&(e.R7$(1),e.JRh(h.heading),e.R7$(2),e.Y8G("routerLink",e.l_i(9,cc,null==h.insightPost?null:h.insightPost.articleHash,h.urlName)),e.R7$(1),e.Y8G("ngIf",null==h.insightPost?null:h.insightPost.image),e.R7$(2),e.Y8G("ngForOf",null==h.insightPost?null:h.insightPost.categories),e.R7$(2),e.JRh(null==h.insightPost?null:h.insightPost.headline),e.R7$(2),e.JRh(null==h.insightPost?null:h.insightPost.intro),e.R7$(1),e.Y8G("routerLink",e.l_i(12,cc,null==h.insightPost?null:h.insightPost.articleHash,h.urlName)),e.R7$(1),e.Y8G("cssClass",h.isDarkMode?"white":"gray-2")("hover",!1))},dependencies:[Lt.Sq,Lt.bT,an.Wk,jn.R],styles:["[_nghost-%COMP%]{width:100%}.is-dark-mode[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]{border:solid 1px #fff;background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .insight-post-card[_ngcontent-%COMP%]{border:solid 1px #fff;background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .insight-post-card[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .insight-post-card[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]   h2.underlined[_ngcontent-%COMP%]{z-index:1;margin-top:0;margin-left:14px;margin-bottom:6px}[_nghost-%COMP%]   h2.underlined[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none}@media (min-width: 1270px){[_nghost-%COMP%]   h2.underlined[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block}}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]{position:relative;display:inline-block;padding:16px 14px 42px 16px;width:100%;border-radius:8px;height:304px;max-height:304px}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{margin-bottom:4px}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:8px;max-width:100%}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{margin-bottom:8px}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-right:6px;padding:0 8px;height:16px;line-height:16px;font-weight:600;font-size:8px;border-radius:8px;text-transform:uppercase}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{margin-right:0}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0 0 4px;padding:0;font-weight:600!important;font-size:12px;line-height:14px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;text-wrap:balance}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:0;white-space:nowrap}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   .intro[_ngcontent-%COMP%]{font-weight:400;font-size:10px;line-height:12px}[_nghost-%COMP%]   .insight-post-card[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{position:absolute;bottom:13px;left:50%;transform:translate(-50%);white-space:nowrap;font-weight:600;text-decoration:none}"]})}}return c})();var Ai=w(7374),yd=w(5859);function zl(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",14),2&c){const s=e.XpG(2);e.Y8G("cssClass",s.model.categoryCssClass)("isDarkMode",s.isDarkMode)}}function Is(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",15),2&c){const s=e.XpG(2);e.Y8G("cssClass",s.model.categoryCssClass)("isDarkMode",s.isDarkMode)}}function Mu(c,m){if(1&c&&(e.j41(0,"span"),e.DNE(1,zl,1,2,"new-or-updated-badge",12),e.DNE(2,Is,1,2,"new-or-updated-badge",13),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",s.model.isNew),e.R7$(1),e.Y8G("ngIf",s.model.isUpdated)}}function bu(c,m){if(1&c&&(e.j41(0,"div",16),e.EFF(1),e.k0s()),2&c){const s=e.XpG();e.AVh("has-two-info-icons",s.hasTwoInfoIcons),e.R7$(1),e.JRh(s.model.eventDate)}}function hr(c,m){if(1&c&&e.nrm(0,"icon",17),2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")}}function Ou(c,m){if(1&c&&e.nrm(0,"icon",18),2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")}}function Yc(c,m){if(1&c&&e.nrm(0,"icon",19),2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")("filled",!0)}}let Qo=(()=>{class c extends dr.${constructor(s,u,h,x,G){super(),this.router=s,this.route=u,this.store=h,this.modalService=x,this.pinningService=G,this.isListed=!1,this.whiteBackgroun
1d=!1,this.isHomePage=!1,this.isNewsbreak=!1,this.onRemoveFromList=new e.bkB,this.hasTwoInfoIcons=!1,this.getUrlName=()=>(0,rn.kebabCase)(this.model.headline)}ngOnChanges(s){s.model&&(this.isPinned$=this.pinningService.isElementPinned$(this.model.calendarArticleId),this.hasAlert$=new _o.t(this.model.hasAlert),this.showButtons$=(0,_s.z)([this.isPinned$,this.hasAlert$]).pipe((0,Ci.T)(([u,h])=>u||h)),this.isHomePage&&(this.model.categoryCssClass="is-home",this.hasTwoInfoIcons=(this.model.isOperational||this.model.isEmbargoed)&&(this.model.isTopStory||this.model.isKeyEvent)))}alertChanged(s){this.model.hasAlert=s,this.hasAlert$.next(s)}removeFromList(s){this.onRemoveFromList.emit(s)}showEvent(){this.router.navigate([],{relativeTo:this.route,queryParams:{articleId:this.model.articleHash},queryParamsHandling:"merge"})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(O.I8),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["event-card"]],inputs:{model:"model",isDarkMode:"isDarkMode",isListed:"isListed",whiteBackground:"whiteBackground",isHomePage:"isHomePage",isNewsbreak:"isNewsbreak"},outputs:{onRemoveFromList:"onRemoveFromList"},features:[e.Vt3,e.OA$],decls:14,vars:34,consts:[["role","button",3,"click"],[1,"headline"],[4,"ngIf"],["class","date text-truncate",3,"has-two-info-icons",4,"ngIf"],[1,"action-icons","text-center"],[3,"websiteId","articleId","hasAlert","name","trackerAlert","isDarkMode","alwaysVisible","alertChange"],[3,"websiteId","articleId","eventHeadline","alwaysVisible"],[3,"textToCopy","articleHash","articleId","eventHeadline"],[1,"info-icons"],["icon","error","size","17px",3,"cssClass",4,"ngIf"],["icon","star","size","17px",3,"cssClass",4,"ngIf"],["icon","stars","size","17px",3,"cssClass","filled",4,"ngIf"],["label","new",3,"cssClass","isDarkMode",4,"ngIf"],["label","updated",3,"cssClass","isDarkMode",4,"ngIf"],["label","new",3,"cssClass","isDarkMode"],["label","updated",3,"cssClass","isDarkMode"],[1,"date","text-truncate"],["icon","error","size","17px",3,"cssClass"],["icon","star","size","17px",3,"cssClass"],["icon","stars","size","17px",3,"cssClass","filled"]],template:function(u,h){1&u&&(e.j41(0,"a",0),e.bIt("click",function(){return h.showEvent()}),e.nI1(1,"async"),e.j41(2,"div",1),e.EFF(3),e.DNE(4,Mu,3,2,"span",2),e.k0s(),e.DNE(5,bu,2,3,"div",3),e.j41(6,"div",4)(7,"alert-button",5),e.bIt("alertChange",function(G){return h.alertChanged(G)}),e.k0s(),e.nrm(8,"pin-button",6)(9,"copy-text",7),e.k0s(),e.j41(10,"div",8),e.DNE(11,hr,1,1,"icon",9),e.DNE(12,Ou,1,1,"icon",10),e.DNE(13,Yc,1,2,"icon",11),e.k0s()()),2&u&&(e.HbH(h.model.categoryCssClass),e.AVh("white-background",h.whiteBackground)("is-home-page",h.isHomePage)("is-newsbreak",h.isNewsbreak)("is-pinned",e.bMT(1,32,h.isPinned$)),e.R7$(3),e.SpI(" ",h.model.headline," "),e.R7$(1),e.Y8G("ngIf",h.model.isNew||h.model.isUpdated),e.R7$(1),e.Y8G("ngIf",h.isHomePage),e.R7$(2),e.Y8G("websiteId",h.model.calendarArticleId)("articleId",h.model.articleHash)("hasAlert",h.model.hasAlert)("name",h.model.headline)("trackerAlert",h.model.trackerAlert)("isDarkMode",h.isDarkMode)("alwaysVisible",!0),e.R7$(1),e.Y8G("websiteId",h.model.calendarArticleId)("articleId",h.model.articleHash)("eventHeadline",h.model.headline)("alwaysVisible",!0),e.R7$(1),e.Y8G("textToCopy",null)("articleHash",h.model.articleHash)("articleId",h.model.articleHash)("eventHeadline",h.model.headline),e.R7$(2),e.Y8G("ngIf",h.model.isOperational||h.model.isEmbargoed),e.R7$(1),e.Y8G("ngIf",h.model.isTopStory&&!h.model.isKeyEvent),e.R7$(1),e.Y8G("ngIf",h.model.isKeyEvent))},dependencies:[Lt.bT,Tr.a,jn.R,Ha.n,U,vo,Lt.Jj],styles:["[_nghost-%COMP%]{display:inline-block;width:100%;height:100px;margin-bottom:3px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]{position:relative;padding:6px 28px 12px 12px;display:inline-block;width:100%;height:100px;border:solid 1px #fff;border-radius:8px;text-decoration:none;transition:background-color .3s ease,border-color .3s ease}[_nghost-%COMP%]   a.white-background[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]   a.is-home-page[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{-webkit-line-clamp:3}[_nghost-%COMP%]   a[_ngcontent-%COMP%]:not(.is-home-page)   .headline[_ngcontent-%COMP%]{-webkit-line-clamp:4}[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]{position:absolute;top:2px;right:6px;width:20px;height:70px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]{position:absolute;bottom:11px;right:8px;width:37px;height:13px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{float:right;margin-right:3px}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]:first-of-type{margin-right:0}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{position:absolute;bottom:5px;left:11px;max-width:calc(100% - 50px);display:inline-block;padding:0 6px;border-radius:6px;height:13px;line-height:13px;font-weight:900;font-size:8px;text-align:center;background-color:#f2f2ff;color:#26224f!important}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .date.has-two-info-icons[_ngcontent-%COMP%]{max-width:calc(100% - 66px)}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{margin:0;padding:0;font-size:12px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance}[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:7px;white-space:nowrap}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#26224f;border-color:#26224f}.is-dark-mode[_nghost-%COMP%]   a.is-home[_ngcontent-%COMP%]{border-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   a.is-politics[_ngcontent-%COMP%]{border-color:#360c82}.is-dark-mode[_nghost-%COMP%]   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-law-security[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-health-science[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-health-science.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#7b4a22}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}.is-dark-mode[_nghost-%COMP%]   a.is-world[_ngcontent-%COMP%]{border-color:#771e35}.is-dark-mode[_nghost-%COMP%]   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}.is-dark-mode[_nghost-%COMP%]   a.is-general[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-general.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-uk[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode).is-newsbreak   a[_ngcontent-%COMP%]{border:solid 10px red}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a[_ngcontent-%COMP%]:hover{background-color:#ebe7fd;border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home[_ngcontent-%COMP%]{border-color:#ebe7fd;border-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-politics[_ngcontent-%COMP%]{border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-law-security[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-business-economy[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#fdeee2}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-business-economy.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-world[_ngcontent-%COMP%]{border-color:#ffebf0}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-general[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-entertainment-culture-sport[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-general.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-entertainment-culture-sport.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-uk[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode):not(.is-newsbreak)   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}"]})}}return c})();function Wa(c,m){if(1&c&&(e.qex(0),e.nrm(1,"event-card",4),e.bVm()),2&c){const s=m.$implicit,u=e.XpG();e.R7$(1),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("model",s)("isDarkMode",u.isDarkMode)("whiteBackgroun
1d",!u.isDarkMode)("isHomePage",!0)}}Ai.extend(yd);const wr={[$o.Today]:{ukContentListIds:[249],usContentListIds:[251],title:"Happening Today",titleConcise:"Today",ukLinkParams:{dateRangeId:1},usLinkParams:{dateRangeId:1},class:"today",minDate:Ai.utc().startOf("day").toDate(),maxDate:Ai.utc().startOf("day").toDate()},[$o.Tomorrow]:{ukContentListIds:[249],usContentListIds:[251],title:"Coming Up Tomorrow",titleConcise:"Tomorrow",ukLinkParams:{dateRangeId:2},usLinkParams:{dateRangeId:2},class:"tomorrow",minDate:Ai.utc().add(1,"day").startOf("day").toDate(),maxDate:Ai.utc().add(1,"day").startOf("day").toDate()},[$o.NextWeek]:{ukContentListIds:[250],usContentListIds:[252],title:"Key Events Next Week",titleConcise:"Next Week",ukLinkParams:{contentListIds:"177",view:"list",contentbutton:"site",contentListName:"Week Ahead"},usLinkParams:{contentListIds:"191",view:"list",contentbutton:"site",contentListName:"Week Ahead"},class:"next-week",minDate:Ai.utc().day(8).startOf("day").toDate(),maxDate:Ai.utc().day(14).startOf("day").toDate()}};let rl=(()=>{class c extends St.$G{constructor(s,u){super(),this.store=s,this.contentListsApi=u,this.SiteCulture=St._u,this.HomeContentListPosition=$o,this.itemsToDisplay=4,this.events=[]}ngOnInit(){this.getPosition(),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.siteCulture=s.siteCulture,this.contentListsApi.getForContentList({pageNo:1,pageSize:this.itemsToDisplay,contentListIds:this.siteCulture==St._u.US?this.positionInfo.usContentListIds:this.positionInfo.ukContentListIds,keyContentListId:null,minDate:this.positionInfo.minDate,maxDate:this.positionInfo.maxDate}).pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.events=u.items})})}getPosition(){this.positionInfo=wr[this.position]}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(wt.Tx))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["home-content-list"]],inputs:{isDarkMode:"isDarkMode",position:"position"},features:[e.Vt3],decls:11,vars:12,consts:[[1,"title"],[4,"ngFor","ngForOf"],["routerLink","/planner",1,"text-center",3,"queryParams"],["icon","add","size","18px","verticalAlign","text-bottom",3,"cssClass","hover"],[3,"model","isDarkMode","whiteBackground","isHomePage"]],template:function(u,h){1&u&&(e.j41(0,"div")(1,"div",0)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.j41(6,"div"),e.DNE(7,Wa,2,6,"ng-container",1),e.k0s(),e.j41(8,"a",2),e.nrm(9,"icon",3),e.EFF(10," Show more "),e.k0s()()),2&u&&(e.ZvI("",h.positionInfo.class," content-list"),e.R7$(3),e.JRh(h.positionInfo.titleConcise),e.R7$(2),e.JRh(h.positionInfo.title),e.R7$(1),e.ZvI("events ",h.positionInfo.class,""),e.R7$(1),e.Y8G("ngForOf",h.events),e.R7$(1),e.Y8G("queryParams",h.siteCulture==h.SiteCulture.US?h.positionInfo.usLinkParams:h.positionInfo.ukLinkParams),e.R7$(1),e.Y8G("cssClass",h.position==h.HomeContentListPosition.Today||h.isDarkMode?"white-1":"blue-1")("hover",!1))},dependencies:[an.Wk,Lt.Sq,jn.R,Qo],styles:["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]{position:relative;border-radius:8px;padding:10px 14px 42px;height:514px;max-height:514px}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin-bottom:6px;font-size:16px;font-family:Anek Bangla,serif;font-weight:700}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:none}@media (min-width: 1270px){[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:inline-block}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-of-type{display:none}}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   .events[_ngcontent-%COMP%]   event-card[_ngcontent-%COMP%]{margin-bottom:8px}[_nghost-%COMP%]   .content-list[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;bottom:13px;left:50%;transform:translate(-50%);white-space:nowrap;font-weight:600;text-decoration:none}.is-dark-mode[_nghost-%COMP%]   .today[_ngcontent-%COMP%]{background-color:#8d8cb6;background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   .tomorrow[_ngcontent-%COMP%]{background-color:#d4d4ee;background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   .next-week[_ngcontent-%COMP%]{background-color:#e6e6ff;background-color:#26224f}.is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .today[_ngcontent-%COMP%]{background-color:#8d8cb6}[_nghost-%COMP%]:not(.is-dark-mode)   .today[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .today[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .tomorrow[_ngcontent-%COMP%]{background-color:#d4d4ee}[_nghost-%COMP%]:not(.is-dark-mode)   .next-week[_ngcontent-%COMP%]{background-color:#e6e6ff}"]})}}return c})();function Gc(c,m){if(1&c&&e.nrm(0,"div",4),2&c){const s=e.XpG();e.Y8G("id",s.divId)}}let Ta=(()=>{class c extends St.$G{constructor(s,u){super(),this.router=s,this.ngZone=u,this.divReady=!1,this.maxPianoLoadAttempts=20}ngOnInit(){this.currentRoutePath=this.getRoutePath(this.router.url),this.router.events.pipe((0,Pn.p)(s=>s instanceof an.wF),(0,Pn.p)(s=>{const u=this.getRoutePath(s.urlAfterRedirects||s.url),h=u!==this.currentRoutePath;return this.currentRoutePath=u,h}),(0,jt.Q)(this.destroyed$)).subscribe(()=>{this.loadPianoComposerExperience(!0)})}ngOnChanges(s){(s.isDarkMode||s.siteCulture)&&void 0!==this.isDarkMode&&void 0!==this.siteCulture&&(this.applySettings(),this.loadPianoComposerExperience(!1))}applySettings(){this.divId="piano-home-insights-"+(this.siteCulture===St._u.US?"us":"uk"),this.divReady=!0}getRoutePath(s){return s.split(/[?#]/)[0]}loadPianoComposerExperience(s,u=1){!this.divReady||!this.divId||this.ngZone.runOutsideAngular(()=>{clearTimeout(this.pianoReloadTimer),this.pianoReloadTimer=setTimeout(()=>{const h=document.getElementById(this.divId);if(!h||!window.tp)return void(u<this.maxPianoLoadAttempts&&this.loadPianoComposerExperience(s,u+1));const x=window.tp;
1s&&(h.innerHTML=""),x.push?.(["setZone",this.divId]),x.experience?.execute?x.experience.execute():x.experience?.init?x.experience.init():x.push(["init",()=>{const G=window.tp;G.push?.(["setZone",this.divId]),G.experience?.execute?G.experience.execute():G.experience?.init?.()}])},250)})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(e.SKi))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["home-insights"]],inputs:{isDarkMode:"isDarkMode",siteCulture:"siteCulture"},features:[e.Vt3,e.OA$],decls:5,vars:1,consts:[[1,"insights-container"],[1,"insights"],[1,"underlined"],[3,"id",4,"ngIf"],[3,"id"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1)(2,"h2",2),e.EFF(3,"Featured"),e.k0s(),e.DNE(4,Gc,1,1,"div",3),e.k0s()()),2&u&&(e.R7$(4),e.Y8G("ngIf",h.divReady))},dependencies:[Lt.bT],styles:["[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%]   .insights-container[_ngcontent-%COMP%]{margin-top:18px;height:188px}[_nghost-%COMP%]   .insights-container[_ngcontent-%COMP%]   .insights[_ngcontent-%COMP%]{position:relative;height:174px;max-height:174px;padding:13px;border-radius:8px}[_nghost-%COMP%]   .insights-container[_ngcontent-%COMP%]   .insights[_ngcontent-%COMP%]   h2.underlined[_ngcontent-%COMP%]{position:absolute;margin:0;top:-25px;left:14px}.is-dark-mode[_nghost-%COMP%]   .insights[_ngcontent-%COMP%]{border:solid 1px #e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .insights[_ngcontent-%COMP%]{border:solid 1px #26224f}"]})}}return c})();function oa(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",2)(2,"a",3)(3,"div",4)(4,"h3"),e.EFF(5,"Latest from"),e.k0s(),e.nrm(6,"img",5),e.k0s(),e.j41(7,"div",6)(8,"div",7),e.EFF(9),e.k0s()(),e.j41(10,"div",8),e.EFF(11),e.nI1(12,"date"),e.k0s(),e.j41(13,"div",9),e.EFF(14),e.k0s()(),e.j41(15,"a",10),e.nrm(16,"icon",11),e.EFF(17," Follow "),e.k0s()(),e.bVm()),2&c){const s=m.ngIf,u=e.XpG();e.R7$(2),e.Y8G("href",s.url,e.B4B),e.R7$(7),e.SpI("@",s.handle,""),e.R7$(2),e.JRh(e.i5U(12,7,s.createdAt,"d MMM y, h:mma")),e.R7$(3),e.JRh(s.text),e.R7$(1),e.Y8G("href",u.blueSkyBaseUrl+s.handle,e.B4B),e.R7$(1),e.Y8G("cssClass",u.isDarkMode?"white":"lavender-1")("hover",!1)}}function Wc(c,m){1&c&&(e.j41(0,"div",12),e.EFF(1,"Loading latest Bluesky post"),e.k0s())}let Fr=(()=>{class c extends St.$G{constructor(s,u){super(),this.appConfig=s,this.blueskyService=u,this.blueSkyBaseUrl="https://bsky.app/profile/"}ngOnChanges(s){(s.isDarkMode||s.siteCulture)&&void 0!==this.isDarkMode&&void 0!==this.siteCulture&&this.loadPost()}ngOnInit(){}loadPost(){this.post$=this.blueskyService.getLatestPost(this.siteCulture==St._u.US?this.appConfig.blueskyUsHandle:this.appConfig.blueskyUkHandle)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o),e.rXU(St.YC))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["home-social-feed"]],inputs:{isDarkMode:"isDarkMode",siteCulture:"siteCulture"},features:[e.Vt3,e.OA$],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"social-post-card"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"bluesky-header"],["src","/assets/images/logged-out/bluesky.svg","alt","Bluesky",1,"logo"],[1,"header"],[1,"account-name"],[1,"date"],[1,"text"],["target","_blank",1,"follow","text-center",3,"href"],["icon","add","size","18px","verticalAlign","text-bottom",3,"cssClass","hover"],[1,"social-post-card","bsky-muted"]],template:function(u,h){if(1&u&&(e.DNE(0,oa,18,10,"ng-container",0),e.nI1(1,"async"),e.DNE(2,Wc,2,0,"ng-template",null,1,e.C5r)),2&u){const x=e.sdS(3);e.Y8G("ngIf",e.bMT(1,2,h.post$))("ngIfElse",x)}},dependencies:[Lt.bT,jn.R,Lt.Jj,Lt.vh],styles:["[_nghost-%COMP%]{display:block;margin-top:15px;width:100%}.is-dark-mode[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]{background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .account-name[_ngcontent-%COMP%]{color:#26224f}.is-dark-mode[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%]{color:#26224f}.is-dark-mode[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#71707c}.is-dark-mode[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   a.insight[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   .bluesky-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   .bluesky-header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1)}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .account-name[_ng
1content-%COMP%]{color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .social-post-card[_ngcontent-%COMP%]   a.follow[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]{position:relative;display:block;height:168px;max-height:168px;padding:12px 14px 44px;border-radius:8px}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]:hover{border-color:#1185fe}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover   .text[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .bluesky-header[_ngcontent-%COMP%]{display:flex;gap:.75rem;align-items:center;margin-bottom:5px}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .bluesky-header[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:0;font-family:Anek Bangla,serif;font-size:16px;font-weight:700}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .bluesky-header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:17px;height:17px}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;gap:.45rem;align-items:center;margin-bottom:0}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .account-name[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:12px;font-weight:700}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .handle[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:12px;font-weight:400}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{margin:0 0 3px;font-family:Anek Bangla,serif;font-weight:400;font-size:10px;line-height:12px}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:4;text-wrap:balance;color:#fff;font-weight:400;font-size:12px;line-height:14px}[_nghost-%COMP%]   .social-post-card[_ngcontent-%COMP%]   a.follow[_ngcontent-%COMP%]{position:absolute;bottom:13px;left:50%;transform:translate(-50%);font-weight:600;text-decoration:none}"]})}}return c})();function dc(c,m){if(1&c&&e.nrm(0,"pin-basket",11),2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}let _a=(()=>{class c extends St.$G{constructor(s,u){super(),this.store=s,this.pinningService=u,this.displayPinBasket=!1,this.totalPinned=0,this.HomeContentListPosition=$o,this.NewsbreaksPosition=St.jH}ngOnInit(){super.ngOnInit(),this.pinningService.totalCount$.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.displayPinBasket=s>0,this.totalPinned=s,3==this.totalPinned&&(this.totalPinned=900)}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode,this.siteCulture=s.siteCulture})}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["home-view"]],features:[e.Vt3],decls:21,vars:40,consts:[[1,"container"],[1,"row"],[1,"col-10","col-xxl-10"],[1,"row","row-cols-5"],[1,"col"],[3,"isDarkMode"],[3,"siteCulture","isDarkMode"],[3,"position","isDarkMode"],["class","for-home","view","is-grid",3,"isDarkMode","is-dark-mode",4,"ngIf"],[1,"for-home",3,"isDarkMode"],[1,"col-2","col-xxl-2"],["view","is-grid",1,"for-home",3,"isDarkMode"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),e.nrm(5,"your-dashboard",5)(6,"home-insights",6),e.k0s(),e.j41(7,"div",4),e.nrm(8,"home-content-list",7),e.k0s(),e.j41(9,"div",4),e.nrm(10,"home-content-list",7),e.k0s(),e.j41(11,"div",4),e.nrm(12,"home-content-list",7),e.k0s(),e.j41(13,"div",4),e.nrm(14,"insight-latest",5)(15,"home-social-feed",6),e.k0s()(),e.j41(16,"div",1),e.DNE(17,dc,1,3,"pin-basket",8),e.nrm(18,"content-buttons",9),e.k0s()(),e.j41(19,"div",10),e.nrm(20,"newsbreaks",7),e.k0s()()()),2&u&&(e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(3),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("siteCulture",h.siteCulture)("isDarkMode",h.isDarkMode),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("position",h.HomeContentListPosition.Today)("isDarkMode",h.isDarkMode),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("position",h.HomeContentListPosition.Tomorrow)("isDarkMode",h.isDarkMode),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("position",h.HomeContentListPosition.NextWeek)("isDarkMode",h.isDarkMode),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("siteCulture",h.siteCulture)("isDarkMode",h.isDarkMode),e.R7$(2),e.Y8G("ngIf",h.displayPinBasket),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.AVh("is-vertical",!0)("is-dark-mode",h.isDarkMode),e.Y8G("position",h.NewsbreaksPosition.Vertical)("isDarkMode",h.isDarkMode))},dependencies:[Lt.bT,Zi,Nc,xa,Wl,D,rl,Ta,Fr],styles:["[_nghost-%COMP%]{display:block;min-height:inherit}[_nghost-%COMP%]   home-content-list[_ngcontent-%COMP%], [_nghost-%COMP%]   your-dashboard[_ngcontent-%COMP%], [_nghost-%COMP%]   insight-latest[_ngcontent-%COMP%]{display:inline-block;margin-top:15px}[_nghost-%COMP%]   home-insights[_ngcontent-%COMP%]{display:inline-block;margin-top:15px}[_nghost-%COMP%]   pin-basket[_ngcontent-%COMP%]{display:inline-block;margin-left:6px}[_nghost-%COMP%]   content-buttons[_ngcontent-%COMP%]{display:inline-block;margin-left:12px}[_nghost-%COMP%]   .col-2[_ngcontent-%COMP%] > home-content-list[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]   .container[_ngcontent-%COMP%]{min-height:inherit}[_nghost-%COMP%]   .container[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{min-height:inherit}[_nghost-%COMP%]   .col-2[_ngcontent-%COMP%]{position:relative;min-height:0}[_nghost-%COMP%]   newsbreaks.is-vertical[_ngcontent-%COMP%]{position:absolute;height:auto;inset:0;min-height:0}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]{min-height:600px;transition:background-color .4s ease,color .4s ease,border-color .4s ease}[_nghost-%COMP%]   .col-9.is-dark-mode[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%]:not(.is-dark-mode), [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#f8f7fd}"]})}}return c})();const Vh=function(){return["/contact"]};let zc=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["about-view"]],decls:29,vars:2,consts:[[1,"banner"],[1,"container"],[1,"row"],[1,"col-xs-12","col-xl-7","text"],[3,"routerLink"],["text","Speak to us","color","gray-3"],[1,"col-xs-12","col-xl-5"],["src","/assets/images/logo-initials-dark-mode.svg"],[1,"container","team"],[1,"cards"],[1,"card"],["src","/assets/images/logged-out/about/nicole-wilkins.png",1,"avatar"],[1,"name"],[1,"job"],[1,"socials"],["src","/assets/images/logged-out/x.svg","alt","X"],["src","/assets/images/logged-out/linked-in.svg","alt","Linked In"],[1,"text"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),e.EFF(5,"About us"),e.k0s(),e.j41(6,"p"),e.EFF(7,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin imperdiet, urna a ornare pellentesque, neque libero finibus augue, ac auctor nisi turpis non nisi. Donec pulvinar metus est, eu scelerisque nunc viverra in. Fusce rhoncus augue eu augue dictum tristique. Suspendisse ut nunc ut neque commodo pharetra. Aenean interdum orci ut suscipit scelerisque. Sed so
1dales ac mauris id fringilla. Nunc molestie feugiat feugiat."),e.k0s(),e.j41(8,"p"),e.EFF(9,"Donec quam orci, porttitor in arcu tempor, pretium imperdiet nisi. Fusce luctus sodales ante ac rutrum. Duis in nisl sit amet ex iaculis vehicula ut sit amet justo. Vivamus sed lacus quis tellus ullamcorper efficitur. Mauris nibh est, posuere id turpis sed, viverra mollis nunc. Duis aliquet sollicitudin augue non consequat. Donec id dui vitae erat cursus porttitor at vitae libero. Fusce eget semper arcu. Aenean scelerisque risus eu nisi dictum auctor."),e.k0s(),e.j41(10,"a",4),e.nrm(11,"fsn-button",5),e.k0s()(),e.j41(12,"div",6),e.nrm(13,"img",7),e.k0s()()()(),e.j41(14,"div",8)(15,"h2"),e.EFF(16,"Meet the team"),e.k0s(),e.j41(17,"div",9)(18,"div",10),e.nrm(19,"img",11),e.j41(20,"div",12),e.EFF(21,"Nicole Wilkins"),e.k0s(),e.j41(22,"div",13),e.EFF(23,"Publisher"),e.k0s(),e.j41(24,"div",14),e.nrm(25,"img",15)(26,"img",16),e.k0s(),e.j41(27,"p",17),e.EFF(28," Nicole loves dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. "),e.k0s()()()()),2&u&&(e.R7$(10),e.Y8G("routerLink",e.lJ4(1,Vh)))},dependencies:[an.Wk,En],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:80px}.banner[_ngcontent-%COMP%]{background:#26224f;color:#fff}.banner[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{padding-top:60px}.banner[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding-right:80px;padding-bottom:80px}.banner[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:36px;font-weight:700;margin-bottom:40px}.banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:16px;font-weight:400;margin-bottom:20px}.banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.team[_ngcontent-%COMP%]{margin:80px auto;text-align:center}.team[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:36px;font-weight:700;margin-bottom:40px}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{background:#e6e6ff;border:none;border-radius:8px;padding:30px;flex:0 0 300px;color:#26224f;font-family:Anek Bangla,serif;font-size:14px;font-weight:400}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{width:145px;height:145px;border-radius:50%;margin:0 auto 12px}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:1}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]{margin:16px auto;display:flex;gap:20px}.team[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;margin:0}"]})}}return c})(),za=(()=>{class c{constructor(s){this.userLocation=s}ngOnInit(){this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["calendar-view"]],decls:22,vars:0,consts:[[1,"container"],[1,"row"],[1,"col-xs-12","col-sm-7","col-md-6","col-xl-6","content",2,"align-items","flex-start"],[1,"col-xs-12","col-sm-5","col-md-6","col-xl-6"],["width","100%","height","900px","src","https://eu.bigin.online/org20109472215/forms/2026-calendar"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1"),e.EFF(4,"Our 2026 Calendar"),e.k0s(),e.j41(5,"p"),e.EFF(6,"To help you plan your editorial and media strategy in 2026, we\u2019ve put together a downloadable calendar which highlights over 500 key stories and events for the year, including:"),e.k0s(),e.j41(7,"ul")(8,"li"),e.EFF(9,"Elections"),e.k0s(),e.j41(10,"li"),e.EFF(11,"Major summits and conferences"),e.k0s(),e.j41(12,"li"),e.EFF(13,"Sporting events and festivals"),e.k0s(),e.j41(14,"li"),e.EFF(15,"Public and religious holidays"),e.k0s()(),e.j41(16,"p"),e.EFF(17,"\xa0"),e.k0s(),e.j41(18,"p"),e.EFF(19,"\xa0"),e.k0s()(),e.j41(20,"div",3),e.nrm(21,"iframe",4),e.k0s()()())},styles:["[_nghost-%COMP%]{display:block;background:#26224f;padding-top:72px;padding-bottom:20px;color:#fff}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}h1[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:20px;font-weight:700;margin-bottom:20px}@media (min-width: 992px){h1[_ngcontent-%COMP%]{margin-bottom:30px;font-size:30px}}@media (min-width: 1200px){h1[_ngcontent-%COMP%]{margin-bottom:40px;font-size:36px}}p[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;margin-bottom:20px}@media (min-width: 992px){p[_ngcontent-%COMP%]{margin-bottom:30px;font-size:15px}}@media (min-width: 1200px){p[_ngcontent-%COMP%]{margin-bottom:40px;font-size:16px}}
1ul[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:14px;font-weight:700;margin-bottom:20px;list-style-type:disc;list-style-position:inside}@media (min-width: 992px){ul[_ngcontent-%COMP%]{margin-bottom:30px}}@media (min-width: 1200px){ul[_ngcontent-%COMP%]{margin-bottom:40px}}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin-bottom:10px}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{margin-bottom:0}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]::marker{color:#b2aaff}fsn-button[_ngcontent-%COMP%]{display:block;margin-bottom:10px}img[_ngcontent-%COMP%]{margin:20px 0 10px;border-radius:8px;width:100%}@media (min-width: 576px){img[_ngcontent-%COMP%]{margin:0}}"]})}}return c})(),uc=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["clients-view"]],decls:105,vars:0,consts:[[1,"title"],[1,"top-text"],[1,"container"],[1,"logos"],["src","/assets/images/logged-out/clients/media.png"],[1,"testimonials"],[1,"testimonial"],[1,"heading"],[1,"avatar"],["src","/assets/images/logged-out/clients/deborah-smith.png"],[1,"details"],[1,"name"],[1,"job"],[1,"company"],[1,"content"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"Our clients"),e.k0s()(),e.j41(3,"div",1),e.EFF(4," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent scelerisque bibendum eleifend. Sed nec nulla sed metus viverra egestas.\n"),e.k0s(),e.j41(5,"section",2)(6,"h2"),e.EFF(7,"UK Media"),e.k0s(),e.j41(8,"div",3),e.nrm(9,"img",4),e.k0s(),e.j41(10,"div",5)(11,"div",6)(12,"div",7)(13,"div",8),e.nrm(14,"img",9),e.k0s(),e.j41(15,"div",10)(16,"div",11),e.EFF(17,"Deborah Smith"),e.k0s(),e.j41(18,"div",12),e.EFF(19,"Event manager"),e.k0s(),e.j41(20,"div",13),e.EFF(21,"Company name"),e.k0s()()(),e.j41(22,"div",14),e.EFF(23," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()(),e.j41(24,"div",6)(25,"div",7)(26,"div",8),e.nrm(27,"img",9),e.k0s(),e.j41(28,"div",10)(29,"div",11),e.EFF(30,"Deborah Smith"),e.k0s(),e.j41(31,"div",12),e.EFF(32,"Event manager"),e.k0s(),e.j41(33,"div",13),e.EFF(34,"Company name"),e.k0s()()(),e.j41(35,"div",14),e.EFF(36," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()(),e.j41(37,"div",6)(38,"div",7)(39,"div",8),e.nrm(40,"img",9),e.k0s(),e.j41(41,"div",10)(42,"div",11),e.EFF(43,"Deborah Smith"),e.k0s(),e.j41(44,"div",12),e.EFF(45,"Event manager"),e.k0s(),e.j41(46,"div",13),e.EFF(47,"Company name"),e.k0s()()(),e.j41(48,"div",14),e.EFF(49," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()()()(),e.j41(50,"section",2)(51,"h2"),e.EFF(52,"International Media"),e.k0s(),e.j41(53,"div",3),e.nrm(54,"img",4),e.k0s()(),e.j41(55,"section",2)(56,"h2"),e.EFF(57,"Public Sector"),e.k0s(),e.j41(58,"div",3),e.nrm(59,"img",4),e.k0s(),e.j41(60,"div",5)(61,"div",6)(62,"div",7)(63,"div",8),e.nrm(64,"img",9),e.k0s(),e.j41(65,"div",10)(66,"div",11),e.EFF(67,"Deborah Smith"),e.k0s(),e.j41(68,"div",12),e.EFF(69,"Event manager"),e.k0s(),e.j41(70,"div",13),e.EFF(71,"Company name"),e.k0s()()(),e.j41(72,"div",14),e.EFF(73," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()(),e.j41(74,"div",6)(75,"div",7)(76,"div",8),e.nrm(77,"img",9),e.k0s(),e.j41(78,"div",10)(79,"div",11),e.EFF(80,"Deborah Smith"),e.k0s(),e.j41(81,"div",12),e.
1EFF(82,"Event manager"),e.k0s(),e.j41(83,"div",13),e.EFF(84,"Company name"),e.k0s()()(),e.j41(85,"div",14),e.EFF(86," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()(),e.j41(87,"div",6)(88,"div",7)(89,"div",8),e.nrm(90,"img",9),e.k0s(),e.j41(91,"div",10)(92,"div",11),e.EFF(93,"Deborah Smith"),e.k0s(),e.j41(94,"div",12),e.EFF(95,"Event manager"),e.k0s(),e.j41(96,"div",13),e.EFF(97,"Company name"),e.k0s()()(),e.j41(98,"div",14),e.EFF(99," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. Proin in suscipit eros. Mauris quis ex hendrerit, tristique ipsum ut, luctus diam. In ac eleifend nibh. Aliquam euismod consectetur vestibulum. Donec rutrum erat in felis rutrum vestibulum. Integer vulputate tortor et eleifend fringilla. "),e.k0s()()()(),e.j41(100,"section",2)(101,"h2"),e.EFF(102,"PR"),e.k0s(),e.j41(103,"div",3),e.nrm(104,"img",4),e.k0s()())},styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:80px}.title[_ngcontent-%COMP%]{padding:28px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px;font-weight:700;margin:0}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:400;text-align:center;margin:40px auto;max-width:800px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]{margin-bottom:40px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:inline-block;font-family:Anek Bangla,serif;font-size:24px;font-weight:700;margin-bottom:-4px;margin-left:14px;border-bottom:4px solid #26224f}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]{background:#fff;border-radius:8px;box-shadow:0 0 10px #8c8cb533;margin-bottom:40px;padding:50px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]{display:flex;gap:16px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]{background:#e6e6ff;border-radius:8px;padding:20px 30px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{margin-right:10px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{color:#26224f;line-height:1.4;font-family:Anek Bangla,serif;font-size:14px;font-weight:400}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:18px;font-weight:700}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .company[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%] > section[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{color:#26224f;font-size:14px;font-weight:400;margin-top:16px}"]})}}return c})();function Xc(c,m){if(1&c&&(e.qSk(),e.j41(0,"svg",2)(1,"defs")(2,"clipPath",3),e.nrm(3,"circle",4),e.k0s()(),e.j41(4,"g",5),e.nrm(5,"circle",4),e.j41(6,"g",6),e.nrm(7,"polygon",7)(8,"path",8)(9,"rect",9)(10,"rect",10),e.k0s()()()),2&c){const s=e.XpG();e.HbH(s.cssClass),e.xc7("vertical-align",s.verticalAlign),e.BMQ("width",s.size)("height",s.size)}}
1function Xl(c,m){if(1&c&&(e.qSk(),e.j41(0,"svg",11)(1,"defs")(2,"clipPath",12),e.nrm(3,"circle",13),e.k0s()(),e.j41(4,"g",14)(5,"g",15)(6,"g"),e.nrm(7,"path",16)(8,"path",17)(9,"path",18)(10,"path",19)(11,"path",20)(12,"path",21),e.k0s(),e.nrm(13,"path",22)(14,"path",23)(15,"path",24)(16,"path",25)(17,"path",26),e.k0s()()()),2&c){const s=e.XpG();e.HbH(s.cssClass),e.xc7("vertical-align",s.verticalAlign),e.BMQ("width",s.size)("height",s.size)}}let Ca=(()=>{class c{constructor(){this.size="24px",this.cssClass=null,this.cssClassFill=null,this.verticalAlign="middle",this.filled=!1,this.hover=!1,this.rotate90=!1,this.rotate180=!1,this.rotate270=!1}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["icon-inline-svg"]],inputs:{icon:"icon",size:"size",cssClass:"cssClass",cssClassFill:"cssClassFill",verticalAlign:"verticalAlign",filled:"filled",hover:"hover",rotate90:"rotate90",rotate180:"rotate180",rotate270:"rotate270"},decls:2,vars:2,consts:[["viewBox","0 0 232.98 232.98","xmlns","http://www.w3.org/2000/svg","class","site-culture-flag-uk",3,"class","vertical-align",4,"ngIf"],["viewBox","0 0 238.03 238.03","xmlns","http://www.w3.org/2000/svg","class","site-culture-flag-us",3,"class","vertical-align",4,"ngIf"],["viewBox","0 0 232.98 232.98","xmlns","http://www.w3.org/2000/svg",1,"site-culture-flag-uk"],["id","a"],["cx","116.49","cy","116.49","r","116.49",1,"cls-1"],["data-name","Layer_1"],[1,"cls-2"],["points","249.91 88.23 165.18 88.23 226.66 26.75 212.42 12.51 151.32 73.62 151.32 -14.22 84.19 -14.22 84.19 73.62 23.08 12.51 8.84 26.75 70.32 88.23 -14.4 88.23 -14.4 141.85 83.08 141.85 8.84 216.09 23.08 230.33 84.19 169.22 84.19 250.1 151.32 250.1 151.32 169.22 212.42 230.33 226.66 216.09 152.42 141.85 249.91 141.85",1,"cls-1"],["d","M151.32,252.1h-67.13c-1.1,0-2-.9-2-2v-76.04l-57.69,57.69c-.78.78-2.05.78-2.83,0l-14.24-14.24c-.38-.38-.59-.88-.59-1.41s.21-1.04.59-1.41l70.83-70.83H-14.4c-1.1,0-2-.9-2-2v-53.62c0-1.1.9-2,2-2h79.9L7.43,28.17c-.38-.38-.59-.88-.59-1.41s.21-1.04.59-1.41l14.24-14.24c.78-.78,2.05-.78,2.83,0l57.69,57.69V-14.22c0-1.1.9-2,2-2h67.13c1.1,0,2,.9,2,2v83.01l57.69-57.69c.78-.78,2.05-.78,2.83,0l14.24,14.24c.78.78.78,2.05,0,2.83l-58.06,58.06h79.9c1.1,0,2,.9,2,2v53.62c0,1.1-.9,2-2,2h-92.66l70.83,70.83c.78.78.78,2.05,0,2.83l-14.24,14.24c-.78.78-2.05.78-2.83,0l-57.69-57.69v76.04c0,1.1-.9,2-2,2ZM86.19,248.1h63.13v-78.87c0-.81.49-1.54,1.23-1.85.75-.31,1.61-.14,2.18.43l59.69,59.69,11.41-11.41-72.83-72.83c-.57-.57-.74-1.43-.43-2.18.31-.75,1.04-1.23,1.85-1.23h95.49v-49.62h-82.72c-.81,0-1.54-.49-1.85-1.23-.31-.75-.14-1.61.43-2.18l60.06-60.06-11.41-11.41-59.69,59.69c-.57.57-1.43.74-2.18.43-.75-.31-1.23-1.04-1.23-1.85V-12.22h-63.13v85.84c0,.81-.49,1.54-1.23,1.85-.75.31-1.61.14-2.18-.43L23.08,15.34l-11.41,11.41,60.06,60.06c.57.57.74,1.43.43,2.18-.31.75-1.04,1.23-1.85,1.23H-12.4v49.62h95.49c.81,0,1.54.49,1.85,1.23.31.75.14,1.61-.43,2.18L11.67,216.09l11.41,11.41,59.69-59.69c.57-.57,1.43-.74,2.18-.43.75.31,1.23,1.04,1.23,1.85v78.87Z"],["x","109.06","y","-14.22","width","14.85","height","264.31"],["transform","translate(232.98) rotate(90)","x","109.06","y","-15.67","width","14.85","height","264.31"],["viewBox","0 0 238.03 238.03","xmlns","http://www.w3.org/2000/svg",1,"site-culture-flag-us"],["id","clippath"],["cx","119.01","cy","119.01","r","119.01",1,"cls-1-us"],["id","Layer_1-2","data-name","Layer_1"],[1,"cls-2-us"],["d","M3.52,67.19c-.41,0-.83-.13-1.18-.38-.66-.48-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74,4.24-10.64c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11s-1.55.51-2.24.07l-9.68-6.12-9.68,6.12c-.33.21-.7.31-1.07.31ZM2.02,46.41l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M67.53,98.99c-.37,0-.74-.1-1.07-.31l-9.68-6.12-9.68,6.12c-.69.44-1.58.41-2.24-.07-.66-.48-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74,4.24-10.64c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11-.35.25-.76.38-1.18.38ZM44.54,78.21l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M25.02,130.78c-.37,0-.74-.1-1.07-.31l-9.68-6.12-9.68,6.12c-.69.44-1.58.41-2.24-.07s-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74,4.24-10.64c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11-.35.25-.76.38-1.18.38ZM2.02,110.01l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M46.04,35.33c-.41,0-.83-.13-1.18-.38-.66-.48-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74L54.93-.5c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11-.66.48-1.55.51-2.24.07l-9.68-6.12-9.68,6.12c-.33.21-.7.31-1.07.31ZM44.54,14.55l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M110.05,130.78c-.37,0-.74-.1-1.07-.31l-9.68-6.12-9.68,6.12c-.69.44-1.58.41-2.24-.07-.66-.48-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74,4.24-10.64c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11-.35.25-.76.38-1.18.38ZM87.05,110.01l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M88.55,67.19c-.41,0-.83-.13-1.18-.38-.66-.48-.96-1.32-.76-2.11l2.83-11.1-8.81-7.32c-.63-.52-.88-1.38-.62-2.16s.96-1.33,1.77-1.38l11.43-.74,4.24-10.64c.3-.76,1.04-1.26,1.86-1.26h0c.82,0,1.56.5,1.86,1.26l4.23,10.64,11.43.74c.82.05,1.52.6,1.77,1.38s0,1.63-.62,2.16l-8.81,7.32,2.83,11.1c.2.79-.1,1.63-.76,2.11-.66.48-1.55.51-2.24.07l-9.68-6.12-9.68,6.12c-.33.21-.7.31-1.07.31ZM87.05,46.41l5.92,4.91c.59.49.85,1.29.66,2.03l-1.9,7.45,6.5-4.11c.65-.41,1.48-.41,2.14,0l6.5,4.11-1.9-7.45c-.19-.75.07-1.54.66-2.03l5.92-4.91-7.67-.5c-.77-.05-1.44-.54-1.73-1.26l-2.84-7.15-2.84,7.15c-.29.72-.96,1.21-1.73,1.26l-7.67.5Z"],["d","M263.89,33.24h-118.45c-5.52,0-10-4.48-10-10s4.48-10,10-10h118.45c5.52,0,10,4.48,10,10s-4.48,10-10,10Z"],["d","M263.89,83.24h-118.45c-5.52,0-10-4.48-10-10s4.48-10,10-10h118.45c5.52,0,10,4.48,10,10s-4.48,10-10,10Z"],["d","M263.89,133.24h-118.45c-5.52,0-10-4.48-10-10s4.48-10,10-10h118.45c5.52,0,10,4.48,10,10s-4.48,10-10,10Z"],["d","M277.89,183.24H-11.24c-5.52,0-10-4.48-10-10s4.48-10,10-10h289.12c5.52,0,10,4.48,10,10s-4.48,10-10,10Z"],["d","M277.89,233.24H-11.24c-5.52,0-10-4.48-10-10s4.48-10,10-10h289.12c5.52,0,10,4.48,10,10s-4.48,10-10,10Z"]],template:function(u,h){1&u&&(e.DNE(0,Xc,11,7,"svg",0),e.DNE(1,Xl,18,7,"svg",1)),2&u&&(e.Y8G("ngIf","site-culture-flag-uk"==h.icon),e.R7$(1),e.Y8G("ngIf","site-culture-flag-us"==h.icon))},dependencies:[Lt.bT],styles:[".site-culture-flag-uk[_ngcontent-%COMP%]   .cls-1[_ngcontent-%COMP%]{fill:transparent}.site-culture-flag-uk[_ngcontent-%COMP%]   .cls-2[_ngcontent-%COMP%]{clip-path:url(#a);transition:all .3s}.site-culture-flag-uk.blue-1[_ngcontent-%COMP%]   .cls-2[_ngcontent-%COMP%], .site-culture-flag-uk.blue-1[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#26224f}.site-culture-flag-uk.gray-2[_ngcontent-%COMP%]   .cls-2[_ngcontent-%COMP%]{fill:#8c8cb5}.site-culture-flag-uk.gray-2[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#26224f}.site-culture-flag-uk.lavender-1[_ngcontent-%COMP%]   .cls-2[_ngcontent-%COMP%], .site-culture-flag-uk.lavender-1[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#b2aaff}.site-culture-flag-uk.white[_ngcontent-%COMP%]   .cls-2[_ngcontent-%COMP%], .site-culture-flag-uk.white[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#fff}.site-culture-flag-us[_ngcontent-%COMP%]   .cls-1-us[_ngcontent-%COMP%]{fill:none}.site-culture-flag-us[_ngcontent-%COMP%]   .cls-2-us[_ngcontent-%COMP%]{clip-path:url(#clippath)}.site-culture-flag-us.blue-1[_ngcontent-%COMP%]   .cls-1-us[_ngcontent-%COMP%]{fill:none;stroke:#26224f}.site-culture-flag-us.blue-1[_ngcontent-%COMP%]   .cls-2-us[_ngcontent-%COMP%]{clip-path:url(#clippath);stroke:#26224f;fill:#26224f}.site-culture-flag-us.blue-1[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#26224f}.site-culture-flag-us.lavender-1[_ngcontent-%COMP%]   .cls-1-us[_ngcontent-%COMP%]{fill:none;stroke:#b2aaff}.site-culture-flag-us.lavender-1[_ngcontent-%COMP%]   .cls-2-us[_ngcontent-%COMP%]{clip-path:url(#clippath);stroke:#b2aaff;fill:#b2aaff}.site-culture-flag-us.lavender-1[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#b2aaff}.site-culture-flag-us.white[_ngcontent-%COMP%]   .cls-1-us[_ngcontent-%COMP%]{fill:none;stroke:#fff}.site-culture-flag-us.white[_ngcontent-%COMP%]   .cls-2-us[_ngcontent-%COMP%]{clip-path:url(#clippath);stroke:#fff;fill:#fff}.site-culture-flag-us.white[_ngcontent-%COMP%]:hover   .cls-2[_ngcontent-%COMP%]{fill:#fff}"]})}}return c})(),Md=(()=>{class c{constructor(s,u){this.appConfig=s,this.userLocation=u}ngOnInit(){this.email=this.appConfig.email,this.emailClient=this.appConfig.emailClient,this.emailEditorial=this.appConfig.emailEditorial,this.emailSales=this.appConfig.emailS
1ales,this.telUk=this.appConfig.telUk,this.telUkClient=this.appConfig.telUkClient,this.telUs=this.appConfig.telUs,this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o),e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["contact-view"]],decls:58,vars:24,consts:[[1,"title"],[1,"banner"],[1,"container"],[1,"cards"],[1,"card"],["icon","site-culture-flag-uk","cssClass","lavender-1","size","24px","verticalAlign","top"],[1,"content"],[1,"bold",3,"href"],[1,"bold"],["icon","site-culture-flag-us","cssClass","lavender-1","size","23px","verticalAlign","top"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"Contact us"),e.k0s()(),e.j41(3,"div",1)(4,"div",2)(5,"div",3)(6,"div",4)(7,"h2"),e.nrm(8,"icon-inline-svg",5),e.EFF(9," Foresight News UK"),e.k0s(),e.j41(10,"div",6)(11,"p"),e.EFF(12,"To submit an event for consideration, please email "),e.j41(13,"a",7),e.EFF(14),e.k0s(),e.EFF(15," or contact our editorial team on "),e.j41(16,"span",8),e.EFF(17),e.k0s(),e.EFF(18,"."),e.k0s(),e.j41(19,"p"),e.EFF(20,"If you are interested in a subscription or want more information about the service, please contact "),e.j41(21,"a",7),e.EFF(22),e.k0s(),e.EFF(23," or "),e.j41(24,"span",8),e.EFF(25),e.k0s(),e.EFF(26,"."),e.k0s(),e.j41(27,"p"),e.EFF(28,"If you are having trouble logging in or need help with an existing subscription, please contact "),e.j41(29,"a",7),e.EFF(30),e.k0s(),e.EFF(31,"."),e.k0s()()(),e.j41(32,"div",4)(33,"h2"),e.nrm(34,"icon-inline-svg",9),e.EFF(35,"Foresight News US"),e.k0s(),e.j41(36,"div",6)(37,"p"),e.EFF(38,"To submit an event for consideration, please email "),e.j41(39,"a",7),e.EFF(40),e.k0s(),e.EFF(41," or contact our editorial team on "),e.j41(42,"span",8),e.EFF(43),e.k0s(),e.EFF(44,"."),e.k0s(),e.j41(45,"p"),e.EFF(46,"If you are interested in a subscription or want more information about the service, please contact "),e.j41(47,"a",7),e.EFF(48),e.k0s(),e.EFF(49," or "),e.j41(50,"span",8),e.EFF(51),e.k0s(),e.EFF(52,"."),e.k0s(),e.j41(53,"p"),e.EFF(54,"If you are having trouble logging in or need help with an existing subscription, please contact "),e.j41(55,"a",7),e.EFF(56),e.k0s(),e.EFF(57,"."),e.k0s()()()()()()),2&u&&(e.R7$(6),e.AVh("first",1==h.siteCulture)("second",2==h.siteCulture),e.R7$(7),e.Mz_("href","mailto:",h.emailEditorial,"",e.B4B),e.R7$(1),e.JRh(h.emailEditorial),e.R7$(3),e.JRh(h.telUk),e.R7$(4),e.Mz_("href","mailto:",h.email,"",e.B4B),e.R7$(1),e.JRh(h.email),e.R7$(3),e.JRh(h.telUkClient),e.R7$(4),e.Mz_("href","mailto:",h.emailClient,"",e.B4B),e.R7$(1),e.JRh(h.emailClient),e.R7$(2),e.AVh("first",2==h.siteCulture)("second",1==h.siteCulture),e.R7$(7),e.Mz_("href","mailto:",h.emailEditorial,"",e.B4B),e.R7$(1),e.JRh(h.emailEditorial),e.R7$(3),e.JRh(h.telUs),e.R7$(4),e.Mz_("href","mailto:",h.email,"",e.B4B),e.R7$(1),e.JRh(h.email),e.R7$(3),e.JRh(h.telUs),e.R7$(4),e.Mz_("href","mailto:",h.emailClient,"",e.B4B),e.R7$(1),e.JRh(h.emailClient))},dependencies:[Ca],styles:["[_nghost-%COMP%]{display:block;padding-top:52px}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.banner[_ngcontent-%COMP%]{background:#e6e6ff;padding:30px 0}@media (min-width: 992px){.banner[_ngcontent-%COMP%]{padding:50px 0}}@media (min-width: 1200px){.banner[_ngcontent-%COMP%]{padding:70px 0}}.cards[_ngcontent-%COMP%]{gap:16px}@media (min-width: 576px){.cards[_ngcontent-%COMP%]{display:inline-flex}.cards[_ngcontent-%COMP%]   .first[_ngcontent-%COMP%]{order:1}.cards[_ngcontent-%COMP%]   .second[_ngcontent-%COMP%]{order:2}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{background:none;border:none;display:block;margin-bottom:20px}@media (min-width: 576px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{margin-bottom:0}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:inline-block;color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;margin-bottom:-4px;margin-left:14px;border-bottom:4px solid #26224f}@media (min-width: 992px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:20px}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:24px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{padding-right:8px}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{background:#fff;border-radius:8px;color:#26224f;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;padding:20px}@media (min-width: 992px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:30px;font-size:15px}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:40px;font-size:16px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .bold[_ngcontent-%COMP%]{font-weight:700}"]})}}return c})(),al=(()=>{class c{constructor(s){this.userLocation=s}ngOnInit(){this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["features-view"]],decls:124,vars:5,consts:[[1,"title"],[1,"top-text","container"],[1,"fw-bold"],[1,"emphasis"],[1,"container"],[1,"cards"],["id","events",1,"card"],[1,"text"],[1,"bold"],[1,"mt-4"],[1,"image"],["src","/assets/images/logged-out/features/event-planner.png"],["id","personalisation",1,"card"],["src","/assets/images/logged-out/features/personalisation.png"],[1,"card"],["src","/assets/images/logged-out/features/editorial-expertise.png"],["id","api-integration",1,"card"],["src","/assets/images/logged-out/features/api.png"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"Explore our platform"),e.k0s()(),e.j41(3,"div",1)(4,"span",2),e.EFF(5,"Intelligence in action"),e.k0s(),e.EFF(6,". When you can "),e.j41(7,"span",3),e.
1EFF(8,"plan in advance"),e.k0s(),e.EFF(9," for each moment, the future comes into focus. Our comprehensive suite of tools gives you the power to be ready and the knowledge to lead.\n"),e.k0s(),e.j41(10,"div",4)(11,"div",5)(12,"div",6)(13,"div",7)(14,"h4"),e.EFF(15,"Event planner"),e.k0s(),e.j41(16,"p"),e.EFF(17,"Stay ahead of the news agenda with a live view of what\u2019s next, and why it matters. Our planner isn\u2019t just a calendar, it\u2019s a window on the world, giving you access to upcoming events across politics, science, business, law, culture and more."),e.k0s(),e.j41(18,"ul")(19,"li")(20,"span",8),e.EFF(21,"Review quickly"),e.k0s(),e.EFF(22," with our structured grid layout, to see what\u2019s happening and when "),e.k0s(),e.j41(23,"li")(24,"span",8),e.EFF(25),e.k0s(),e.EFF(26," based on what\u2019s relevant to you, including location, date, sector, status, story type and more "),e.k0s(),e.j41(27,"li")(28,"span",8),e.EFF(29,"Filter out the noise,"),e.k0s(),e.EFF(30," seeing only what matters to your mission"),e.k0s(),e.j41(31,"li")(32,"span",8),e.EFF(33,"Build your own planner"),e.k0s(),e.EFF(34," and shape your response before the news breaks "),e.k0s()(),e.j41(35,"p",9),e.EFF(36,"When the moment arrives, your strategy is already in place."),e.k0s()(),e.j41(37,"div",10),e.nrm(38,"img",11),e.k0s()(),e.j41(39,"div",12)(40,"div",7)(41,"h4"),e.EFF(42),e.k0s(),e.j41(43,"p"),e.EFF(44,"Foresight News adapts to how you operate, not the other way around. Now you can track what matters most, the way that works for you."),e.k0s(),e.j41(45,"ul")(46,"li")(47,"span",8),e.EFF(48,"Create smart alerts"),e.k0s(),e.EFF(49," for the topics or timelines you care about "),e.k0s(),e.j41(50,"li")(51,"span",8),e.EFF(52,"Set your own frequency,"),e.k0s(),e.EFF(53," whether that\u2019s daily, weekly or in real time"),e.k0s(),e.j41(54,"li")(55,"span",8),e.EFF(56,"Receive updates"),e.k0s(),e.EFF(57," when they\u2019re useful, not disruptive"),e.k0s(),e.j41(58,"li")(59,"span",8),e.EFF(60,"Stay aware"),e.k0s(),e.EFF(61," of shifts, risks and opportunities on your terms"),e.k0s()(),e.j41(62,"p",9),e.EFF(63,"Know more, sooner, with no surprises \u2013 just informed planning and confident action."),e.k0s()(),e.j41(64,"div",10),e.nrm(65,"img",13),e.k0s()(),e.j41(66,"div",14)(67,"div",7)(68,"h4"),e.EFF(69,"Editorial Intelligence"),e.k0s(),e.j41(70,"p"),e.EFF(71,"Stay ahead with twice-daily curated bulletins and two weekly look-aheads, giving you tomorrow\u2019s headlines today."),e.k0s(),e.j41(72,"p"),e.EFF(73,"Our newsroom doesn\u2019t just track policy decisions, legal hearings and industry movements. We actively seek out, verify and curate the stories that help shape how your audience sees the world."),e.k0s(),e.j41(74,"p"),e.EFF(75,"Every moment, every event, every highlight is handpicked by senior editors with decades of experience in forward planning. We know what drives headlines, shapes narratives and matters most to you."),e.k0s(),e.j41(76,"ul")(77,"li")(78,"span",8),e.EFF(79,"Access verified upcoming events"),e.k0s(),e.EFF(80," with critical details and real contacts"),e.k0s(),e.j41(81,"li")(82,"span",8),e.EFF(83,"Track fast-moving issues"),e.k0s(),e.EFF(84,", with curated topic streams built for today\u2019s pace"),e.k0s(),e.j41(85,"li")(86,"span",8),e.EFF(87,"Understand the context"),e.k0s(),e.EFF(88," of every story before it enters the mainstream"),e.k0s(),e.j41(89,"li")(90,"span",8),e.EFF(91,"Pinpoint the key moments"),e.k0s(),e.EFF(92," with precision and editorial insight"),e.k0s()(),e.j41(93,"p",9),e.EFF(94,"This isn\u2019t a feed. It\u2019s foresight, created by journalists, powered by experience and delivered for impact."),e.k0s()(),e.j41(95,"div",10),e.nrm(96,"img",15),e.k0s()(),e.j41(97,"div",16)(98,"div",7)(99,"h4"),e.EFF(100,"API integration"),e.k0s(),e.j41(101,"p"),e.EFF(102,"Use our Foresight News API to deliver forward-looking intelligence directly into your own systems, dashboards and workflows."),e.k0s(),e.j41(103,"ul")(104,"li")(105,"span",8),e.EFF(106,"Integrate and connect"),e.k0s(),e.EFF(107," planning tools, internal 
1comms platforms and business intelligence systems"),e.k0s(),e.j41(108,"li")(109,"span",8),e.EFF(110,"Distribute alerts and updates"),e.k0s(),e.EFF(111),e.k0s(),e.j41(112,"li")(113,"span",8),e.EFF(114),e.k0s(),e.EFF(115," with your internal calendars, briefings and decision cycles"),e.k0s(),e.j41(116,"li")(117,"span",8),e.EFF(118),e.k0s(),e.EFF(119," that reflect your exact priorities"),e.k0s()(),e.j41(120,"p",9),e.EFF(121,"Our API gives you one platform and infinite possibilities, with our intelligence delivered where you need it."),e.k0s()(),e.j41(122,"div",10),e.nrm(123,"img",17),e.k0s()()()()),2&u&&(e.R7$(25),e.SpI("",1==h.siteCulture?"Prioritise":"Prioritize"," and sort"),e.R7$(17),e.SpI("",1==h.siteCulture?"Personalisation":"Personalization"," and alerts"),e.R7$(69),e.SpI(", delivering ",1==h.siteCulture?"personalised":"personalized"," data feeds at scale"),e.R7$(3),e.SpI("",1==h.siteCulture?"Synchronise":"Synchronize"," key developments"),e.R7$(4),e.SpI("Create dynamic, ",1==h.siteCulture?"personalised":"personalized"," experiences"))},styles:['[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:400;text-align:center;margin:20px auto;max-width:800px}@media (min-width: 992px){.top-text[_ngcontent-%COMP%]{font-size:16px;margin:30px auto}}@media (min-width: 1200px){.top-text[_ngcontent-%COMP%]{font-size:18px;margin:40px auto}}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{display:inline-block;position:relative}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;border-bottom:solid 2px #b2aaff}.middle-text[_ngcontent-%COMP%]{margin:40px auto;display:flex;flex-direction:column;align-items:center}.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:20px;font-weight:700;text-align:center;margin-bottom:15px}@media (min-width: 992px){.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:36px}}.cards[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}@media (min-width: 992px){.cards[_ngcontent-%COMP%]{gap:30px}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]{gap:40px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533;display:flex;flex-direction:row;flex-wrap:wrap;color:#26224f;font-size:14px;font-weight:400}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:15px}@media (min-width: 992px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:20px;margin:10px auto}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:24px;margin-bottom:25px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:15px 20px}@media (min-width: 992px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:20px 35px}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding:40px 60px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:100%}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .bold[_ngcontent-%COMP%]{font-weight:700}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:15px;margin-left:18px;list-style-position:outside;list-style-type:disc}@media (min-width: 992px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:20px}}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:25px}}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]::marker{color:#b2aaff}@media (min-width: 1200px){.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%], .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{width:50%}.cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:nth-child(2n){flex-direction:row-reverse}}']})}}return c})();const Kc=function(){return["/solutions"]},bd=function(){return["/features"]};let Od=(()=>{class c{constructor(s){this.userLocation=s}ngOnInit(){this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["home-view"]],decls:86,vars:12,consts:[[1,"banner"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-5","col-lg-6","col-xl-6","left-box"],[1,"buttons"],["href","mailto:[email protected]"],["text","Request a demo","color","lavender-1"],[1,"col-xs-12","col-md-7","col-lg-6","col-xl-6"],["src","/assets/images/logged-out/home-preview.png","alt","Home preview"],[1,"client-logos"],[1,"logos"],["alt","Media Client Logos",3,"src"],["alt","PR Client Logos",3,"src"],[1,"our-solutions"],[1,"text"],[1,"cards"],[1,"card"],["src","/assets/images/logged-out/media-icon.png","alt","Media Icon",1,"icon"],[1,"btn-container"],["fragment","solutions-media",3,"routerLink"],["text","More","icon","add","color","lavender-3","iconColor","lavender-1"],["src","/assets/images/logged-out/pr-icon.png","alt","PR Icon",1,"icon"],["fragment","solutions-pr",3,"routerLink"],["src","/assets/images/logged-out/strategy-icon.png","alt","Strategy Icon",1,"icon"],["fragment","solutions-strategy",3,"routerLink"],[1,"features"],["src","/assets/images/logged-out/event-calendar.png","alt","Event Calendar"],["src","/assets/images/logged-out/personalisation.png","alt","Personalisation"],["src","/assets/images/logged-out/api.png","alt","API"],[3,"routerLink"],["text","View all","icon","add","color","white","iconColor","lavender-1","outline",""]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2"),e.EFF(5,"Don\u2019t follow the headlines."),e.nrm(6,"br"),e.EFF(7,"Antici
1pate them."),e.k0s(),e.j41(8,"p"),e.EFF(9,"News doesn't wait, and you shouldn't either. When stories break, foresight is the difference between influence and irrelevance."),e.k0s(),e.j41(10,"div",4)(11,"a",5),e.nrm(12,"fsn-button",6),e.k0s()()(),e.j41(13,"div",7),e.nrm(14,"img",8),e.k0s()()()(),e.j41(15,"section",9)(16,"div",1)(17,"p"),e.EFF(18,"Trusted by global leaders in media, government and business"),e.k0s()(),e.j41(19,"div",10),e.nrm(20,"img",11)(21,"img",12),e.k0s()(),e.j41(22,"section",13)(23,"div",1)(24,"div",14)(25,"h4"),e.EFF(26,"For those who shape the story"),e.k0s(),e.j41(27,"p"),e.EFF(28,"The pace of news has never been faster. The stakes have never been higher. In an era defined by rapid information cycles, staying ahead isn\u2019t just an advantage \u2013 it\u2019s essential."),e.k0s(),e.j41(29,"p"),e.EFF(30),e.k0s()(),e.j41(31,"div",15)(32,"div",16),e.nrm(33,"img",17),e.j41(34,"h4"),e.EFF(35,"For media"),e.k0s(),e.j41(36,"p"),e.EFF(37,"Modern newsrooms are under mounting pressure. With smaller teams and relentless content flow, the challenge isn\u2019t just reporting, it\u2019s knowing what\u2019s coming. We help you anticipate and plan your coverage with certainty, ensuring you\u2019re never late to a story."),e.k0s(),e.j41(38,"p"),e.EFF(39,"When timing is everything, we deliver the information you need, so you can focus on covering what matters."),e.k0s(),e.j41(40,"div",18)(41,"a",19),e.nrm(42,"fsn-button",20),e.k0s()()(),e.j41(43,"div",16),e.nrm(44,"img",21),e.j41(45,"h4"),e.EFF(46,"For communications"),e.k0s(),e.j41(47,"p"),e.EFF(48,"Brands, businesses and institutions are jostling for influence in a crowded, competitive and constantly shifting media space. But real impact comes from messaging that is perfectly placed and precisely timed."),e.k0s(),e.j41(49,"p"),e.EFF(50,"Be ready for the headlines before they happen, and respond to emerging issues before they dominate the news cycle. We give you the insights you need to make your voice authoritative, aligned and heard at the right time."),e.k0s(),e.j41(51,"div",18)(52,"a",22),e.nrm(53,"fsn-button",20),e.k0s()()(),e.j41(54,"div",16),e.nrm(55,"img",23),e.j41(56,"h4"),e.EFF(57,"For strategy"),e.k0s(),e.j41(58,"p"),e.EFF(59,"The news agenda is never static. That means your strategy has to anticipate change, not chase it. The right intelligence ensures your decisions are proactive and fully informed."),e.k0s(),e.j41(60,"p"),e.EFF(61,"We provide the clarity that lets you plan with confidence, align your priorities with the moments that matter, and execute with precision. When the headlines break, your plans are already in motion."),e.k0s(),e.j41(62,"div",18)(63,"a",24),e.nrm(64,"fsn-button",20),e.k0s()()()()()(),e.j41(65,"section",25)(66,"div",1)(67,"div",14)(68,"h4"),e.EFF(69,"Foresight News Features"),e.k0s()(),e.j41(70,"div",15)(71,"div",16),e.nrm(72,"img",26),e.j41(73,"h5"),e.EFF(74,"Event Calendar"),e.k0s()(),e.j41(75,"div",16),e.nrm(76,"img",27),e.j41(77,"h5"),e.EFF(78),e.k0s()(),e.j41(79,"div",16),e.nrm(80,"img",28),e.j41(81,"h5"),e.
1EFF(82,"API"),e.k0s()()(),e.j41(83,"div",18)(84,"a",29),e.nrm(85,"fsn-button",30),e.k0s()()()()),2&u&&(e.R7$(20),e.Mz_("src","/assets/images/logged-out/clients/media-",1==h.siteCulture?"home-uk":"us",".png",e.B4B),e.R7$(1),e.Mz_("src","/assets/images/logged-out/clients/pr-",1==h.siteCulture?"uk":"us",".png",e.B4B),e.R7$(9),e.SpI("When success ",1==h.siteCulture?"favours":"favors"," those who know what\u2019s next, Foresight News gives you the intelligence to act, not react. Be ready for the headlines before they happen."),e.R7$(11),e.Y8G("routerLink",e.lJ4(8,Kc)),e.R7$(11),e.Y8G("routerLink",e.lJ4(9,Kc)),e.R7$(11),e.Y8G("routerLink",e.lJ4(10,Kc)),e.R7$(15),e.JRh(1==h.siteCulture?"Personalisation":"Personalization"),e.R7$(6),e.Y8G("routerLink",e.lJ4(11,bd)))},dependencies:[an.Wk,En],styles:['.banner[_ngcontent-%COMP%]{background:#131128;padding-top:52px;display:flex;align-items:center;position:relative;overflow:hidden}.banner[_ngcontent-%COMP%]:before{content:"";background:url(/assets/images/logged-out/header-accent.png) no-repeat;background-size:cover;position:absolute;width:75%;height:100%;top:0;right:0}.banner[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{z-index:1}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0;padding-top:25px;padding-bottom:25px}@media (min-width: 768px){.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]{gap:40px;padding-top:58px;padding-bottom:110px}}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-family:Anek Bangla,serif;font-size:32px;font-weight:900}@media (min-width: 992px){.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:48px}}@media (min-width: 1200px){.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:64px}}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-color:#b2aaff}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#fff;font-family:DM Sans,sans-serif;font-size:18px;font-weight:400}@media (min-width: 992px){.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:19px}}@media (min-width: 1200px){.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:20px}}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]{font-weight:700}.banner[_ngcontent-%COMP%]   .left-box[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]:first-child{margin-right:14px}@media (min-width: 768px){.banner[_ngcontent-%COMP%]{min-height:640px}}@media (min-width: 992px){.banner[_ngcontent-%COMP%]{min-height:740px}}@media (min-width: 1200px){.banner[_ngcontent-%COMP%]{min-height:740px}}.client-logos[_ngcontent-%COMP%]{background:#fff;display:flex;flex-direction:column;align-items:center;padding:30px 0}.client-logos[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#26224f;font-size:16px;font-weight:400;text-align:center;margin:0}.client-logos[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]{width:100%;justify-content:center;overflow:hidden;margin-top:20px}@media (min-width: 992px){.client-logos[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]{display:flex}}.client-logos[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;max-height:70px;max-width:100%}@media (min-width: 992px){.client-logos[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:50%}}.our-solutions[_ngcontent-%COMP%]{background:#f7f7fd;padding:30px 0}@media (min-width: 992px){.our-solutions[_ngcontent-%COMP%]{padding:50px 0}}@media (min-width: 1200px){.our-solutions[_ngcontent-%COMP%]{padding:50px 0 80px}}.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:flex;gap:20px;flex-direction:column;align-items:center;text-align:center;max-width:800px;margin:0 auto}.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ng
1content-%COMP%]{font-size:30px}}@media (min-width: 1200px){.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:36px}}.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:15px;font-weight:400}@media (min-width: 992px){.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:17px}}@media (min-width: 1200px){.our-solutions[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px}}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:27px;margin-top:30px}@media (min-width: 992px){.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{gap:47px}}@media (min-width: 1200px){.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{gap:67px}}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{background:#fff;padding:20px;box-shadow:0 0 10px #8c8cb533;border:none;border-radius:8px;flex:1 1 0;color:#26224f;display:flex;gap:15px}@media (min-width: 992px){.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding:30px}}@media (min-width: 1200px){.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding:40px}}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:24px;font-weight:700;margin:0}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;margin:0}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-family:DM Sans,sans-serif;font-size:14px;font-weight:400;list-style-position:inside;list-style-type:disc}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]::marker{color:#b2aaff}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]{font-weight:600}@media (max-width: 768px){.our-solutions[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{flex:1 1 100%}}.features[_ngcontent-%COMP%]{background:#fff;padding:30px 0}@media (min-width: 992px){.features[_ngcontent-%COMP%]{padding:50px 0}}@media (min-width: 1200px){.features[_ngcontent-%COMP%]{padding:80px 0}}.features[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{text-align:center}.features[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.features[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.features[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:36px}}.features[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]{margin-top:30px;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:30px}.features[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px;border:none;flex:1 1 calc((100% - 32px) / 3)}.features[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.features[_ngcontent-%COMP%]   .cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;margin:0}.features[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]{margin-top:40px;
1display:flex;justify-content:center}.features[_ngcontent-%COMP%]   .btn-container[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]{font-weight:600}']})}}return c})();var f=w(1635),y=w(1413),E=w(152);let X=(()=>{class c{constructor(s,u){this.document=s,this.platformId=u,this.documentIsAccessible=(0,Lt.UE)(this.platformId)}static getCookieRegExp(s){const u=s.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+u+"|;\\s*"+u+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(s){try{return decodeURIComponent(s)}catch{return s}}check(s){return!!this.documentIsAccessible&&(s=encodeURIComponent(s),c.getCookieRegExp(s).test(this.document.cookie))}get(s){if(this.documentIsAccessible&&this.check(s)){s=encodeURIComponent(s);const h=c.getCookieRegExp(s).exec(this.document.cookie);return h[1]?c.safeDecodeURIComponent(h[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const s={},u=this.document;return u.cookie&&""!==u.cookie&&u.cookie.split(";").forEach(h=>{const[x,G]=h.split("=");s[c.safeDecodeURIComponent(x.replace(/^ /,""))]=c.safeDecodeURIComponent(G)}),s}set(s,u,h,x,G,ne,Ee){if(!this.documentIsAccessible)return;if("number"==typeof h||h instanceof Date||x||G||ne||Ee)return void this.set(s,u,{expires:h,path:x,domain:G,secure:ne,sameSite:Ee||"Lax"});let De=encodeURIComponent(s)+"="+encodeURIComponent(u)+";";const we=h||{};we.expires&&(De+="number"==typeof we.expires?"expires="+new Date((new Date).getTime()+1e3*we.expires*60*60*24).toUTCString()+";":"expires="+we.expires.toUTCString()+";"),we.path&&(De+="path="+we.path+";"),we.domain&&(De+="domain="+we.domain+";"),!1===we.secure&&"None"===we.sameSite&&(we.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${s} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),we.secure&&(De+="secure;"),we.sameSite||(we.sameSite="Lax"),De+="sameSite="+we.sameSite+";",this.document.cookie=De}delete(s,u,h,x,G="Lax"){this.documentIsAccessible&&this.set(s,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:u,domain:h,secure:x,sameSite:G})}deleteAll(s,u,h,x="Lax"){if(!this.documentIsAccessible)return;const G=this.getAll();for(const ne in G)G.hasOwnProperty(ne)&&this.delete(ne,s,u,h,x)}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(Lt.qQ),e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();function je(c,m){1&c&&(e.j41(0,"div",9),e.EFF(1," Logging In\n"),e.k0s())}function ft(c,m){if(1&c&&(e.j41(0,"div",10),e.EFF(1),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.SpI(" ",s.errorMsg,"\n")}}function Et(c,m){1&c&&(e.j41(0,"div",9),e.EFF(1," Loading\n"),e.k0s())}class On extends St.$G{constructor(m,s,u,h,x,G,ne){super(),this.router=m,this.route=s,this.store=u,this.appConfig=h,this.userLocation=x,this.cookieService=G,this.pianoService=ne,this.returnUrl=null,this.loginData$=new y.B,this.waitingForReset=!1,this.loggingIn=!1,this.errorMsg=null,this.formReady=!1,this.view="login",this.resetSent=!1,this.activationSent=!1,this.currentProductId=0,this.authStatus=St.TD.NotLoggedIn,this.loginFsn=Ee=>{this.loggingIn=!0,this.errorMsg="",console.log("[Login.View] Piano Form Login"),this.store.dispatch(new ei.zd.FsnLogin(Ee.token,Ee.user.uid,Ee.user.email,null===Ee.source))}}ngOnInit(){this.userLocation.getSiteCulture().subscribe(m=>{this.siteCulture=m}),this.loginData$=new y.B,this.loginData$.pipe((0,E.B)(100),(0,jt.Q)(this.destroyed$)).subscribe(this.loginFsn),this.route.queryParams.pipe((0,jt.Q)(this.destroyed$)).subscribe(m=>{this.returnUrl=m.returnUrl}),this.current$.pipe(function N(c){return(0,Pn.p)((m,s)=>c<=s)}(1),(0,jt.Q)(this.destroyed$)).subscribe(m=>{switch(console.log("[Login.Comp]: Current user changed",m),this.authStatus=m.status,this.loggingIn=!1,m.status){case St.TD.Successful:this.router.navigateByUrl(this.returnUrl||"/");break;case St.TD.Error:console.log("Auth Error"),this.errorMsg="There was an error preventing login",this.pianoService.logoutFromPiano(),this.loadPianoLoginform();break;case St.TD.PlatformAccessDenied:this.router.navigate(["/set-access"])}}),this.loadPianoLoginform()}ngOnDestroy(){super.ngOnDestroy()}loadPianoLoginform(){this.pianoService.whenPianoIdReady(m=>{m.push(["init",()=>{var s=location.search.match(/reset_token=([A-Za-z0-9]+)/),u=location.href.match(/newpassword/);if(s){var h=s[1];this.formReady=!0,m.pianoId.show({resetPasswordToken:h,containerSelector:"#piano-login",displayMode:"inline",loggedIn:x=>{this.loginData$.next(x)}})}else u?(this.formReady=!0,m.pianoId.show({screen:"restore",containerSelector:"#piano-login",displayMode:"inline"})):(console.log("tp.pianoId.show"),m.pianoId.show({disableSignUp:!1,displayMode:"inline",screen:"login",containerSelector:"#piano-login",loggedIn:x=>{x.source&&x.user.email_confirmation_required||this.loginData$.next(x)},loginDisplayed:()=>{this.formReady=!0}}),m.push(["addHandler","loginSuccess",x=>{x.source&&x.params.email_confirmation_required||this.loginData$.next({token:x.user_token,user:{uid:x.params.uid,email:x.params.email},source:x.source})}]))}])})}static{this.\u0275fac=function(s){return new(s||On)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(Dn.o),e.rXU(Ke.dy),e.rXU(X),e.rXU(St.F))}}static{this.\u0275cmp=e.VBU({type:On,selectors:[["login-view"]],features:[e.Vt3],decls:14,vars:7,consts:[[1,"background"],[1,"container"],[1,"row"],[1,"col-xs-12","col-sm-4","col-md-6","title"],[1,"emphasis"],[1,"col-xs-12","col-sm-8","col-md-6"],["id","piano-login"],["class","alert alert-info mt-4","role","alert",4,"ngIf"],["id","login-error-msg","class","alert alert-danger mt-4","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-info","mt-4"],["id","login-error-msg","role","alert",1,"alert","alert-danger","mt-4"]],template:function(s,u){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2"),e.EFF(5,"Helping you "),e.j41(6,"span",4),e.EFF(7,"stay ahead"),e.k0s(),e.EFF(8," of the news agenda."),e.k0s()(),e.j41(9,"div",5),e.nrm(10,"div",6),e.k0s()()()(),e.DNE(11,je,2,0,"div",7),e.DNE(12,ft,2,1,"div",8),e.DNE(13,Et,2,0,"div",7)),2&s&&(e.AVh("is-uk",1==u.siteCulture)("is-us",2==u.siteCulture),e.R7$(11),e.Y8G("ngIf",u.loggingIn),e.R7$(1),e.Y8G("ngIf",u.errorMsg),e.R7$(1),e.Y8G("ngIf",!u.formReady))},dependencies:[Lt.bT],styles:[".background[_ngcontent-%COMP%]{display:block;background-size:cover}.background.is-uk[_ngcontent-%COMP%]{background:url(/assets/images/logged-out/login-background-uk.png) no-repeat}.background.is-us[_ngcontent-%COMP%]{background:url(/assets/images/logged-out/login-background-us.png) no-repeat}.container[_ngcontent-%COMP%]{padding-top:72px;padding-bottom:20px}.container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;text-align:center}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{min-height:600px}}h2[_ngcontent-%COMP%]{color:#fff;font-family:Anek Bangla,serif;margin:0 0 20px;font-size:32px;font-weight:900}@media (min-width: 768px){h2[_ngcontent-%COMP%]{margin-bottom:0}}@media (min-width: 992px){h2[_ngcontent-%COMP%]{font-size:48px}}@media (min-width: 1200px){h2[_ngcontent-%COMP%]{font-size:64px}}.emphasis[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-color:#b2aaff;text-decoration-thickness:6px}.alert[_ngcontent-%COMP%]{margin:0 auto 20px;max-width:600px}"]})}}function Us(c,m){if(1&c&&(e.j41(0,"div",21)(1,"div",22)(2,"div",23)(3,"div",24)(4,"div",25)(5,"div",26),e.EFF(6,"Built for the way newsrooms w
1ork today"),e.k0s()()(),e.j41(7,"div",27)(8,"p"),e.EFF(9,"Foresight News is built for newsrooms that do more than report. We\u2019re here to help you inform public understanding, hold power to account and lead global conversations."),e.k0s(),e.j41(10,"p"),e.EFF(11,"Whether you're planning the week ahead or coordinating live coverage, our platform slides right into your editorial workflows. Assign coverage, share calendars and adapt quickly as events evolve, all within one intuitive platform."),e.k0s(),e.j41(12,"ul")(13,"li"),e.EFF(14),e.k0s(),e.j41(15,"li"),e.EFF(16),e.k0s(),e.j41(17,"li"),e.EFF(18,"Stay ahead, with alerts and briefings tailored to the way you work"),e.k0s()()()(),e.j41(19,"div",23)(20,"div",24)(21,"div",25)(22,"div",26),e.EFF(23,"All the event details, ready when you are"),e.k0s()()(),e.j41(24,"div",27)(25,"p"),e.EFF(26,"Our journalists compile and filter information from hundreds of sources. It\u2019s a constantly evolving agenda of verified, forward-looking events. Zero noise, zero speculation. Nothing but the moments that matter."),e.k0s(),e.j41(27,"p"),e.EFF(28,"Every event comes with verified contact and location information, so your teams know who to speak to, where to be and how to capture the full story."),e.k0s(),e.j41(29,"p"),e.EFF(30,"Where possible, we provide original copies of announcements and reports, live video feeds and photo downloads, so you have everything at your fingertips when you decide to push the button."),e.k0s(),e.j41(31,"p"),e.EFF(32,"From logistics to context, we help you move faster with less friction."),e.k0s()()(),e.j41(33,"div",23)(34,"div",24)(35,"div",25)(36,"div",26),e.EFF(37,"Why newsrooms choose Foresight News"),e.k0s()()(),e.j41(38,"div",27)(39,"p"),e.EFF(40,"With foresight, editorial teams are better prepared, better informed and better positioned to stay ahead. Our platform lets you take the lead on every story, every briefing and every deadline."),e.k0s(),e.j41(41,"ul")(42,"li"),e.EFF(43),e.k0s(),e.j41(44,"li"),e.EFF(45,"Make faster decisions, with verified opportunities confirmed at source"),e.k0s(),e.j41(46,"li"),e.EFF(47,"Fast-track your team, by assigning coverage with confidence and speed"),e.k0s(),e.j41(48,"li"),e.EFF(49,"Anticipate change, with insights and context already in hand"),e.k0s()(),e.j41(50,"p",16),e.EFF(51,"This isn\u2019t content for content\u2019s sake. It\u2019s intelligence, designed to help you deliver accuracy with urgency, context with precision, and stories that stand up to scrutiny."),e.k0s()()()()()),2&c){const s=e.XpG();e.R7$(14),e.SpI("",1==s.siteCulture?"Personalise":"Personalize"," planning, with interactive user journeys and layouts that visualise your agenda"),e.R7$(2),e.SpI("Collaborate effortlessly, with ",1==s.siteCulture?"customisable":"customizable"," planners for individuals or teams"),e.R7$(27),e.SpI("Stay ",1==s.siteCulture?"organised":"organized",", know what\u2019s coming and plan with certainty")}}function ll(c,m){1&c&&(e.j41(0,"div",21)(1,"div",22)(2,"div",23)(3,"div",24)(4,"div",25)(5,"div",26),e.EFF(6,"Plan ahead to stay ahead"),e.k0s()()(),e.j41(7,"div",27)(8,"p"),e.EFF(9,"Whether you\u2019re launching a product or releasing a report, briefing journalists or managing your reputation, timing is everything. We help you look beyond today\u2019s news cycle, with access to:"),e.k0s(),e.j41(10,"ul")(11,"li"),e.EFF(12,"Key political and regulatory dates"),e.k0s(),e.j41(13,"li"),e.EFF(14,"Sector-specific developments and data drops"),e.k0s(),e.j41(15,"li"),e.EFF(16,"Major media moments, launches and global events"),e.k0s(),e.j41(17,"li"),e.EFF(18,"Embargoed content and planned releases"),e.k0s(),e.j41(19,"li"),e.EFF(20,"Contact information and logistical details"),e.k0s()(),e.j41(21,"p",16),e.EFF(22,"It\u2019s everything you need to make key decisions quickly, move with purpose, and deliver messages that land with authority."),e.k0s()()(),e.j41(23,"div",23)(24,"div",24)(25,"div",25)(26,"div",26),e.EFF(27,"Built for those who shape the narrative"),e.k0s()()(),e.j41(28,"div",27)(29,"p"),e.EFF(30,"We\u2019re not only trusted by the strategic communications teams behind governments, global institutions, world-leading NGOs and the brands shaping our economies. We\u2019re also the intelligence behind some of the biggest and most influential media outlets worldwide."),e.k0s(),e.j41(31,"p"),e.EFF(32,"That means you\u2019re operating with the same foresight as the journalists setting the agenda. We give you a direct line to what\u2019s coming, and the clarity to prepare for it."),e.k0s(),e.j41(33,"p"),e.EFF(34,"Foresight News is about owning every moment."),e.k0s()()(),e.j41(35,"div",23)(36,"div",24)(37,"div",25)(38,"div",26),e.EFF(39,"Why communications teams choose Foresight News"),e.k0s()()(),e.j41(40,"div",27)(41,"p"),e.EFF(42,"With foresight, communications teams are better prepared, better informed and better positioned to stay ahead. Our platform lets you take the lead on every opportunity, instead of chasing coverage."),e.k0s(),e.j41(43,"ul")(44,"li"),e.EFF(45,"Time it right, announcing with impact and maximum visibility"),e.k0s(),e.j41(46,"li"),e.EFF(47,"Respond quickly, gaining the first-mover advantage"),e.k0s(),e.j41(48,"li"),e.EFF(49,"Add value, positioning your experts where they\u2019ll be relevant"),e.k0s(),e.j41(50,"li"),e.EFF(51,"Stay in control, coordinating messaging across departments"),e.k0s()(),e.j41(52,"p",16),e.EFF(53,"When the world turns to the news, you\u2019re already part of it."),e.k0s()()()()())}function Qc(c,m){if(1&c&&(e.j41(0,"div",21)(1,"div",22)(2,"div",23)(3,"div",24)(4,"div",25)(5,"div",26),e.EFF(6,"Broader vision, sharper focus"),e.k0s()()(),e.j41(7,"div",27)(8,"p"),e.EFF(9),e.k0s(),e.j41(10,"ul")(11,"li"),e.EFF(12,"Ensure your public affairs teams are equipped to engage with policymakers"),e.k0s(),e.j41(13,"li"),e.EFF(14,"Track corporate earnings and competitor activity, market trends and regulatory changes"),e.k0s(),e.j41(15,"li"),e.EFF(16,"Identify emerging risks and sidestep or manage crises proactively"),e.k0s(),e.j41(17,"li"),e.EFF(18,"Shape stronger product, marketing and communications plans with context"),e.k0s(),e.j41(19,"li"),e.EFF(20,"Uncover thought leadership and speaking opportunities that build authority"),e.k0s()(),e.j41(21,"p",16),e.EFF(22,"This is far more than information. It\u2019s critical intelligence for decision-makers."),e.k0s()()(),e.j41(23,"div",23)(24,"div",24)(25,"div",25)(26,"div",26),e.EFF(27,"Strategic agility, operational confidence"),e.k0s()()(),e.j41(28,"div",27)(29,"p"),e.EFF(30,"When you\u2019re responsible for steering through uncertainty, your speed and accuracy matter. That\u2019s why our platform integrates effortlessly into your workflows, giving you:"),e.k0s(),e.j41(31,"ul")(32,"li"),e.EFF(33,"A real-time view of global developments and local impl
1ications"),e.k0s(),e.j41(34,"li"),e.EFF(35,"Alerts and briefings tailored to your risk and opportunity landscape"),e.k0s(),e.j41(36,"li"),e.EFF(37,"Tools to coordinate teams and align activities, regardless of how fast events evolve"),e.k0s()(),e.j41(38,"p",16),e.EFF(39,"Because when the headlines break, your plans should already be in motion."),e.k0s()()(),e.j41(40,"div",23)(41,"div",24)(42,"div",25)(43,"div",26),e.EFF(44,"Why strategy teams choose Foresight News"),e.k0s()()(),e.j41(45,"div",27)(46,"p"),e.EFF(47,"With foresight, you\u2019re not only keeping up, you\u2019re setting the pace. Our platform gives strategy leaders the insight to see further, the context to act decisively and the direction to move forward with purpose."),e.k0s(),e.j41(48,"ul")(49,"li"),e.EFF(50,"Make decisions that are informed by what\u2019s ahead"),e.k0s(),e.j41(51,"li"),e.EFF(52),e.k0s(),e.j41(53,"li"),e.EFF(54,"Align every department behind a proactive, agile plan"),e.k0s(),e.j41(55,"li"),e.EFF(56,"Be ready to lead, regardless of what the future brings"),e.k0s()()()()()()),2&c){const s=e.XpG();e.R7$(9),e.SpI("Our forward-planning platform gives you a comprehensive view of the events, political shifts and policy decisions that could open new doors or reshape your priorities. We help you spot the signposts that guide opportunity, strengthen resilience and position your ",1==s.siteCulture?"organisation":"organization"," to lead."),e.R7$(43),e.SpI("Anticipate risks and ",1==s.siteCulture?"maximise":"maximize"," opportunities")}}(0,f.Cg)([(0,ui.l6)(ei.is.current)],On.prototype,"current$",void 0);const Pl=function(){return["/solutions"]};let wd=(()=>{class c{constructor(s,u){this.activatedRoute=s,this.userLocation=u,this.showMedia=!1,this.showPr=!1,this.showStrategy=!1,this.headerHeight=85}ngOnInit(){this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s}),this.activatedRoute.fragment.subscribe(s=>{this.toggleContent(s)})}toggleContent(s){switch(s){case"solutions-media":this.showMedia=!0;break;case"solutions-pr":this.showPr=!0;break;case"solutions-strategy":this.showStrategy=!0;break;default:return}setTimeout(()=>{const u=document.getElementById(s);if(u){const h=u.getBoundingClientRect().top+window.scrollY-this.headerHeight;window.scrollTo({top:h,behavior:"smooth"})}},100)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.nX),e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["solutions-view"]],decls:105,vars:14,consts:[[1,"title"],[1,"top-text"],["id","solutions-media",1,"container","is-header-section"],[1,"card","blue"],["src","/assets/images/logged-out/media-icon-light.svg","alt","Media Icon",1,"icon"],[1,"card"],[1,"mt-2"],[1,"container"],[1,"col-lg-2","col-sm-4","col-6","offset-lg-5","offset-sm-4","offset-3","center","text-center","mt-4"],["fragment","solutions-media",3,"routerLink"],["type","button"],["class","container mt-4",4,"ngIf"],[1,"logos","mt-4"],[3,"src"],["id","solutions-pr",1,"container","mt-5","is-header-section"],["src","/assets/images/logged-out/pr-icon-light.svg","alt","PR Icon",1,"icon"],[1,"mt-3"],["fragment","solutions-pr",3,"routerLink"],["id","solutions-strategy",1,"container","mt-5","is-header-section"],["src","/assets/images/logged-out/strategy-icon-light.svg","alt","Strategy Icon",1,"icon"],["fragment","solutions-strategy",3,"routerLink"],[1,"container","mt-4"],[1,"testimonials"],[1,"testimonial"],[1,"heading"],[1,"details"],[1,"name"],[1,"content"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"Solutions"),e.k0s()(),e.j41(3,"div",1),e.EFF(4," Take a closer look at what foresight can do for you.\n"),e.k0s(),e.j41(5,"div",2)(6,"div",3),e.nrm(7,"img",4),e.j41(8,"h3"),e.EFF(9,"Media"),e.k0s()(),e.j41(10,"div",5)(11,"h2"),e.EFF(12,"Media"),e.k0s(),e.j41(13,"p"),e.EFF(14,"Modern newsrooms demand precision, timing and smart planning. When every story is an opportunity to inform, shape or inspire, your teams need to be equipped to perform, every time."),e.k0s(),e.j41(15,"p"),e.EFF(16,"Foresight News gives your journalists, editors and producers the tools to anticipate with confidence, align resources, and focus on delivering meaningful and distinctive reporting."),e.k0s(),e.j41(17,"h4",6),e.EFF(18,"Smarter planning starts here"),e.k0s(),e.j41(19,"p"),e.EFF(20,"Our forward-planning platform puts tomorrow\u2019s news at your fingertips. From political activity and court hearings to industry milestones and cultural moments, Foresight News presents a real-time stream of confirmed upcoming events."),e.k0s(),e.j41(21,"p"),e.EFF(22,"It\u2019s all searchable, easily filtered, and tailored to your specific coverage priorities and needs."),e.k0s(),e.j41(23,"p"),e.EFF(24,"We deliver a dynamic view of the days and weeks ahead. No more guesswork. No more noise. Just clear, actionable intelligence."),e.k0s()()(),e.j41(25,"div",7)(26,"div",8)(27,"a",9)(28,"button",10),e.EFF(29,"Learn more"),e.k0s()()()(),e.DNE(30,Us,52,3,"div",11),e.j41(31,"div",7)(32,"div",12),e.nrm(33,"img",13),e.k0s()(),e.j41(34,"div",14)(35,"div",3),e.nrm(36,"img",15),e.j41(37,"h3"),e.EFF(38,"PR"),e.k0s()(),e.j41(39,"div",5)(40,"h2"),e.EFF(41,"Communications"),e.k0s(),e.j41(42,"p"),e.EFF(43,"Real influence isn\u2019t reactive. It\u2019s deliberate, informed and built on foresight. To shape public understanding, PR teams and press officers need to anticipate the future, understand the context and deliver the right messages at the right time."),e.k0s(),e.j41(44,"p"),e.EFF(45,"We c
1onnect you with the moments that move the agenda, enabling you to guide the stories as they unfold."),e.k0s(),e.j41(46,"h4",6),e.EFF(47,"Precision timing with strategic impact "),e.k0s(),e.j41(48,"p"),e.EFF(49,"We track the events, decisions and developments that drive the headlines. Whether it\u2019s politics, business, law, science, society or culture, our platform presents you with a forward-looking view."),e.k0s(),e.j41(50,"ul")(51,"li"),e.EFF(52,"Identify the right moments for campaigns and commentary"),e.k0s(),e.j41(53,"li"),e.EFF(54),e.k0s(),e.j41(55,"li"),e.EFF(56,"Respond with authority to fast-moving issues"),e.k0s(),e.j41(57,"li"),e.EFF(58,"Prepare your spokespeople for prominent coverage opportunities"),e.k0s(),e.j41(59,"li"),e.EFF(60,"Avoid clashes, delays or missed windows of influence"),e.k0s()(),e.j41(61,"p",16),e.EFF(62,"Don\u2019t second-guess what the media will care about. See it coming before it happens."),e.k0s()()(),e.j41(63,"div",7)(64,"div",8)(65,"a",17)(66,"button",10),e.EFF(67,"Learn more"),e.k0s()()()(),e.DNE(68,ll,54,0,"div",11),e.j41(69,"div",7)(70,"div",12),e.nrm(71,"img",13),e.k0s()(),e.j41(72,"div",18)(73,"div",3),e.nrm(74,"img",19),e.j41(75,"h3"),e.EFF(76,"Strategy"),e.k0s()(),e.j41(77,"div",5)(78,"h2"),e.EFF(79,"Strategy"),e.k0s(),e.j41(80,"p"),e.EFF(81,"The intelligence to stay ahead. The insight to plan for uncertainty."),e.k0s(),e.j41(82,"p"),e.EFF(83),e.k0s(),e.j41(84,"p"),e.EFF(85,"Foresight News gives your team the clarity to anticipate what\u2019s coming, assess risks and opportunities, and shape strategies that look beyond your industry and around the world."),e.k0s(),e.j41(86,"h4",6),e.EFF(87,"We help you shape, not follow"),e.k0s(),e.j41(88,"ul",6)(89,"li"),e.EFF(90,"A live stream of verified, forward-looking intelligence"),e.k0s(),e.j41(91,"li"),e.EFF(92,"Built and updated by real journalists, not algorithms"),e.k0s(),e.j41(93,"li"),e.EFF(94,"Seamlessly integrated into your workflows, calendars and systems"),e.k0s(),e.j41(95,"li"),e.EFF(96,"Designed for clarity, collaboration and confident action"),e.k0s(),e.j41(97,"li"),e.EFF(98),e.k0s()()()(),e.j41(99,"div",7)(100,"div",8)(101,"a",20)(102,"button",10),e.EFF(103,"Learn more"),e.k0s()()()(),e.DNE(104,Qc,57,2,"div",11)),2&u&&(e.R7$(27),e.Y8G("routerLink",e.lJ4(11,Pl)),e.R7$(3),e.Y8G("ngIf",h.showMedia),e.R7$(3),e.Mz_("src","/assets/images/logged-out/clients/media-",1==h.siteCulture?"uk":"us",".png",e.B4B),e.R7$(21),e.SpI("Position your brand at the ",1==h.siteCulture?"centre":"center"," of key developments and debates"),e.R7$(11),e.Y8G("routerLink",e.lJ4(12,Pl)),e.R7$(3),e.Y8G("ngIf",h.showPr),e.R7$(3),e.Mz_("src","/assets/images/logged-out/clients/pr-",1==h.siteCulture?"uk":"us",".png",e.B4B),e.R7$(12),e.SpI("In a world of constant change, strategy isn\u2019t about being able to predict the future, it\u2019s about being prepared for whatever comes. From political upheavals to regulatory shifts and cultural movements, the forces shaping your ",1==h.siteCulture?"organisation":"organization"," can appear from anywhere."),e.R7$(15),e.SpI("Trusted by governments, international media and world-leading ",1==h.siteCulture?"organisations":"organizations",""),e.R7$(3),e.Y8G("routerLink",e.lJ4(13,Pl)),e.R7$(3),e.Y8G("ngIf",h.showStrategy))},dependencies:[Lt.bT,an.Wk],styles:['[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:80px}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{width:100%;padding:6px 12px;color:#26224f;font-size:15px;font-weight:700;background:transparent;border:2px solid #D4D4EE;border-radius:8px;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (min-width: 992px){[_nghost-%COMP%]   button[_ngcontent-%COMP%]{padding:8px 16px;font-size:16px}}@media (min-width: 1200px){[_nghost-%COMP%]   button[_ngcontent-%COMP%]{padding:10px 20px;font-size:18px}}[_nghost-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#000;border-color:#e6e6ff;background-color:#e6e6ff}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:400;text-align:center;margin:20px auto;max-width:800px}@media (min-width: 992px){.top-text[_ngcontent-%COMP%]{font-size:16px;margin:30px auto}}@media (min-width: 1200px){.top-text[_ngcontent-%COMP%]{font-size:18px;margin:40px auto}}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{display:inline-block;position:relative}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;border-bottom:solid 2px #b2aaff}.middle-text[_ngcontent-%COMP%]{margin:40px auto;display:flex;flex-direction:column;align-items:center}.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:36px;font-weight:700;text-align:center;margin-bottom:15px}.container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:15px}.container.is-header-section[_ngcontent-%COMP%]{max-width:1100px;margin-top:25px}@media (min-width: 576px){.container.is-header-section[_ngcontent-%COMP%]{margin-top:50px}}@media (min-width: 992px){.container.is-header-section[_ngcontent-%COMP%]{margin-top:70px}}
1.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533;display:flex;flex-direction:row;flex-wrap:wrap;color:#26224f;font-size:14px;font-weight:400;padding:20px 35px;position:relative}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{padding:40px 55px}}.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]{background:#26224f;flex:0 0 20%;flex-direction:column;align-items:flex-start;padding:10px 55px}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]{gap:35px;padding:40px 30px}}@media (min-width: 768px){.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]{gap:35px;padding:40px 55px}}.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:10px;height:41px}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:0;height:51px}}.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{position:relative;color:#fff;font-family:Anek Bangla,serif;font-size:22px;font-weight:700;margin:0}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .card.blue[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{display:block}}.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:none;position:absolute;top:-30px;color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:700;margin-bottom:-4px;border-bottom:4px solid #26224f}@media (min-width: 576px){.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:block;top:-21px;font-size:18px}}@media (min-width: 768px){.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{top:-25px;font-size:20px}}@media (min-width: 992px){.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{top:-30px;font-size:24px}}.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:17px;font-weight:700}.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .bold[_ngcontent-%COMP%]{font-weight:700}.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style-position:inside;list-style-type:disc}.container[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]::marker{color:#b2aaff}@media (max-width: 576px){.container[_ngcontent-%COMP%]{flex-direction:column}}.container[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]{background:#fff;border-radius:8px;box-shadow:0 0 10px #8c8cb533;margin-bottom:40px;padding:20px;font-weight:400}.container[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:24px;font-weight:700;margin-bottom:15px}.container[_ngcontent-%COMP%]   .logos[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]{display:block;gap:16px}@media (min-width: 768px){.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]{display:flex}}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]{background:#e6e6ff;border-radius:8px;margin-bottom:20px;padding:20px 30px;width:100%}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}@media (min-width: 768px){.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]{margin-bottom:0;width:33%}}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]{display:flex}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{margin-right:10px}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .avatar[_ng
1content-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{color:#26224f;line-height:1.4;font-family:Anek Bangla,serif;font-size:14px;font-weight:400}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:18px;font-weight:700}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .heading[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .company[_ngcontent-%COMP%]{color:#8c8cb5}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{color:#26224f;font-size:14px;font-weight:400;margin-top:16px}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:15px;margin-left:18px;list-style-position:outside;list-style-type:disc}@media (min-width: 992px){.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:20px}}@media (min-width: 1200px){.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:25px}}.container[_ngcontent-%COMP%]   .testimonials[_ngcontent-%COMP%]   .testimonial[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]::marker{color:#b2aaff}']})}}return c})();const Xa=function(){return["/solutions"]},hc=function(){return["/features"]};let kl=(()=>{class c{constructor(s){this.userLocation=s}ngOnInit(){this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["subscriptions-view"]],decls:117,vars:11,consts:[[1,"title"],[1,"top-text","container"],[1,"container"],[1,"plans"],[1,"plan"],[1,"details"],[1,"name"],[1,"type"],["fragment","solutions-media",3,"routerLink"],["type","button"],[1,"features"],["icon","task_alt","cssClass","gray-2"],["fragment","solutions-pr",3,"routerLink"],["fragment","solutions-strategy",3,"routerLink"],["type","button",1,"btn-lavender-1"],[1,"details","full-width"],["fragment","api-integration",3,"routerLink"],[1,"middle-text"],["href","mailto:[email protected]"],["text","Contact us","color","lavender-3"]],template:function(u,h){1&u&&(e.j41(0,"section",0)(1,"h1"),e.EFF(2,"Subscriptions"),e.k0s()(),e.j41(3,"div",1),e.EFF(4),e.k0s(),e.j41(5,"div",2)(6,"div",3)(7,"div",4)(8,"div",5)(9,"h4",6),e.EFF(10,"Newsrooms"),e.k0s(),e.j41(11,"span",7),e.EFF(12,"Single location/Worldwide"),e.k0s(),e.j41(13,"a",8)(14,"button",9),e.EFF(15,"Learn more"),e.k0s()()(),e.nrm(16,"hr"),e.j41(17,"div",10)(18,"ul")(19,"li"),e.nrm(20,"icon",11),e.j41(21,"span"),e.EFF(22,"Access comprehensive event intelligence"),e.k0s()(),e.j41(23,"li"),e.nrm(24,"icon",11),e.j41(25,"span"),e.EFF(26,"Support editorial planning"),e.k0s()(),e.j41(27,"li"),e.nrm(28,"icon",11),e.j41(29,"span"),e.EFF(30,"Streamline newsroom workflows"),e.k0s()(),e.j41(31,"li"),e.nrm(32,"icon",11),e.j41(33,"span"),e.EFF(34,"Direct access to our experienced editorial team"),e.k0s()(),e.j41(35,"li"),e.nrm(36,"icon",11),e.j41(37,"span"),e.EFF(38,"Unlimited licenses for global newsrooms"),e.k0s()()()()(),e.j41(39,"div",4)(40,"div",5)(41,"h4",6),e.EFF(42,"Communications Teams"),e.k0s(),e.j41(43,"span",7),e.EFF(44,"Single location/Worldwide"),e.k0s(),e.j41(45,"a",12)(46,"button",9),e.EFF(47,"Learn more"),e.k0s()()(),e.nrm(48,"hr"),e.j41(49,"div",10)(50,"ul")(51,"li"),e.nrm(52,"icon",11),e.j41(53,"span"),e.EFF(54,"Stay ahead of the news cycle"),e.k0s()(),e.j41(55,"li"),e.nrm(56,"icon",11),e.j41(57,"span"),e.EFF(58,"Share intelligence across departments"),e.k0s()(),e.j41(59,"li"),e.nrm(60,"icon",11),e.j41(61,"span"),e.EFF(62,"Provide clients with proactive media opportunities"),e.k0s()(),e.j41(63,"li"),e.nrm(64,"icon",11),e.j41(65,"span"),e.EFF(66,"Access embargoed content"),e.k0s()(),e.j41(67,"li"),e.nrm(68,"icon",11),e.j41(69,"span"),e.EFF(70,"Tailored solutions for internal and external teams"),e.k0s()()()()(),e.j41(71,"div",4)(72,"div",5)(73,"h4",6),e.EFF(74,"Strategic Planning"),e.k0s(),e.j41(75,"span",7),e.EFF(76,"Single location/Worldwide"),e.k0s(),e.j41(77,"a",13)(78,"button",14),e.EFF(79,"Learn more"),e.k0s()()(),e.nrm(80,"hr"),e.j41(81,"div",10)(82,"ul")(83,"li"),e.nrm(84,"icon",11),e.j41(85,"span"),e.EFF(86,"Track policy developments and global affairs"),e.k0s()(),e.j41(87,"li"),e.nrm(88,"icon",11),e.j41(89,"span"),e.EFF(90,"Monitor competitor and industry developments"),e.k0s()(),e.j41(91,"li"),e.nrm(92,"icon",11),e.j41(93,"span"),e.EFF(94),e.k0s()(),e.j41(95,"li"),e.nrm(96,"icon",11),e.j41(97,"span"),e.EFF(98,"Easily export content for wider distribution"),e.k0s()(),e.j41(99,"li"),e.nrm(100,"icon",11),e.j41(101,"span"),e.EFF(102),e.k0s()()()()(),e.j41(103,"div",4)(104,"div",15)(105,"h4",6),e.EFF(106,"API integration"),e.k0s(),e.j41(107,"span",7),e.EFF(108,"Want to integrate Foresight News\u2019 intelligence seamlessly into your own systems? Our API add-on gives you access to all of our forward-looking data in a direct feed that allows you to deliver information exactly where you need it. "),e.k0s(),e.j41(109,"a",16)(110,"button",9),e.EFF(111,"Learn more"),e.k0s()()()()()(),e.j41(112,"div",17)(113,"h2"),e.EFF(114,"Ready for a demo?"),e.k0s(),e.j41(115,"a",18),e.nrm(116,"fsn-button",19),e.k0s()()),2&u&&(e.R7$(4),e.SpI(" Whether you\u2019re a small team or a global ",1==h.siteCulture?"organisation":"organization",", we have a bespoke subscription plan to help you make the most of foresight.\n"),e.R7$(9),e.Y8G("routerLink",e.lJ4(7,Xa)),e.R7$(32),e.Y8G("routerLink",e.lJ4(8,Xa)),e.R7$(32),e.Y8G("routerLink",e.lJ4(9,Xa)),e.R7$(17),e.SpI("Set ",1==h.siteCulture?"personalised":"personalized"," alerts for key topics"),e.R7$(8),e.SpI("",1==h.siteCulture?"Organisation":"Organization","-wide access for strategic alignment"),e.R7$(7),e.Y8G("routerLink",e.lJ4(10,hc)))},dependencies:[an.Wk,En,jn.R],styles:['[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.top-text[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:15px;font-weight:400;text-align:center;margin:20px auto;max-width:595px}@media (min-width: 992px){.top-text[_ngcontent-%COMP%]{font-size:16px;margin:30px auto;max-width:705px}}@media (min-width: 1200px){.top-text[_ngcontent-%COMP%]{font-size:18px;margin:40px auto}}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{display:inline-block;position:relative}.top-text[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;border-bottom:solid 2px #b2aaff}.middle-text[_ngcontent-%COMP%]{margin:40px auto;display:flex;flex-direction:column;align-items:center}.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#26224f;font-family:Anek Bangla,serif;font-size:20px;font-weight:700;text-align:center;margin-bottom:15px}@media (min-width: 992px){.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.middle-text[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:36px}}.plans[_ngcontent-%COMP%]{display:block}@media (min-width: 576px){.plans[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;column-gap:10px;row-gap:20px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]{column-gap:20px;row-gap:30px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]{margin-bottom:20px;flex:0 0 calc((100% - 20px) / 3);background:#fff;border-radius:8px;box-shadow:0 0 10px #8c8cb533;display:flex;flex-direction:column}@media (min-width: 576px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]{margin-bottom:0}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]{flex:0 0 calc((100% - 40px) / 3)}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]:last-child{background:#f2f2ff;flex-direction:row;flex:0 0 100%}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]:last-child   .details[_ngcontent-%COMP%]{width:50%}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]:last-child   .details.full-width[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:100%;max-width:750px}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]:last-child   hr[_ngcontent-%COMP%]{display:none}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{padding:20px}@media (min-width: 992px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{padding:30px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{padding:40px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{display:block;color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700}@media (min-width: 992px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:20px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:24px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{margin-bottom:15px;
1display:block;color:#8c8cb5;font-size:14px;font-weight:400}@media (min-width: 992px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{margin-bottom:20px;font-size:15px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .type[_ngcontent-%COMP%]{margin-bottom:25px;font-size:16px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:100%;max-width:220px;padding:6px 12px;color:#26224f;font-size:15px;font-weight:700;background:transparent;background:#b2aaff;border:0px;border-radius:8px;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (min-width: 992px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:8px 16px;font-size:16px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:10px 20px;font-size:18px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{color:#b2aaff;background-color:#26224f}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{margin:0}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]{padding:20px}@media (min-width: 992px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]{padding:30px}}@media (min-width: 1200px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]{padding:40px}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.9rem;margin-block:1.3rem}@media (min-width: 768px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{gap:1rem;margin-block:1.5rem}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-of-type{margin-block-start:0}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{flex:0 0 auto;width:.9rem;height:.9rem;margin-top:0}@media (min-width: 768px){.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem}}.plans[_ngcontent-%COMP%]   .plan[_ngcontent-%COMP%]   .features[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1 1 auto}']})}}return c})(),ki=(()=>{class c extends St.$G{constructor(){super()}ngOnInit(){}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["corporate-subscription"]],features:[e.Vt3],decls:6,vars:0,consts:[[1,"marketing-view","piano-view"],["product-style","",1,"marketing","is-small"],[1,"container"],[1,"row"],[1,"col-16"],["id","piano-corporate-subscription"]],template:function(u,h){1&u&&(e.j41(0,"div",0),e.nrm(1,"header",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.nrm(5,"div",5),e.k0s()()()())},styles:["header[_ngcontent-%COMP%]{height:60px}"]})}}return c})(),wu=(()=>{class c extends St.$G{constructor(s,u){super(),this.store=s,this.router=u}ngOnInit(){}ngOnDestroy(){super.ngOnDestroy()}logoutOfPiano(){this.store.dispatch(new ei.zd.Logout),this.router.navigateByUrl("/login")}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(an.Ix))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["set-access-view"]],features:[e.Vt3],decls:10,vars:0,consts:[[1,"marketing-view","piano-view"],["product-style","",1,"marketing","is-small"],[1,"container"],[1,"row"],[1,"col-16"],[1,"change-user"],[1,"highlighted",3,"click"],["id","piano-set-
1access"]],template:function(u,h){1&u&&(e.j41(0,"div",0),e.nrm(1,"header",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4)(5,"p",5),e.EFF(6," Login as another user "),e.j41(7,"a",6),e.bIt("click",function(){return h.logoutOfPiano()}),e.EFF(8,"here"),e.k0s()(),e.nrm(9,"div",7),e.k0s()()()())},styles:["header[_ngcontent-%COMP%]{height:60px}.change-user[_ngcontent-%COMP%]{width:100%;margin:30px 0}"]})}}return c})();class pc{constructor(){this.address="",this.newsletterCode="",this.pianoId=""}}function Pd(c,m){1&c&&(e.j41(0,"div",10)(1,"h3"),e.EFF(2,"Error"),e.k0s(),e.j41(3,"p"),e.EFF(4,"There has been a problem unsubscribing from this email - please try again."),e.k0s()())}function Bh(c,m){1&c&&(e.j41(0,"div")(1,"h3"),e.EFF(2,"Success"),e.k0s(),e.j41(3,"p"),e.EFF(4,"You have successfully unsubscribed from the email."),e.k0s()())}let Vg=(()=>{class c extends St.$G{constructor(s,u,h){super(),this.accountApi=s,this.router=u,this.route=h,this.showError=!1,this.showSuccess=!1}ngOnInit(){(0,_s.z)(this.route.queryParams,s=>({qparams:s})).pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{let u=s.qparams.email,h=s.qparams.newsletterCode,x=s.qparams.pianoId||s.qparams.partyid;if(!h||!x)return void this.router.navigate(["/not-found"]);let G=new pc;G.address=u,G.pianoId=x,G.newsletterCode=h,this.accountApi.unsubscribeFromNewsletter(G).subscribe(ne=>{this.showError=!ne,this.showSuccess=!this.showError})})}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(wt.yo),e.rXU(an.Ix),e.rXU(an.nX))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["unsubscribe"]],features:[e.Vt3],decls:12,vars:2,consts:[["id","unsubscribe-view",1,"marketing-view","two-panels-layout"],[1,"background"],[1,"container"],[1,"row"],[1,"col-16","col-sm-8","content","has-background-image"],[1,"blurb"],[1,"col-16","col-sm-8","content","no-background-image"],[1,"unsubscribe-view"],["id","unsubscribe-error-msg","class","alert alert-danger","role","alert",4,"ngIf"],[4,"ngIf"],["id","unsubscribe-error-msg","role","alert",1,"alert","alert-danger"]],template:function(u,h){1&u&&(e.j41(0,"div",0),e.nrm(1,"div",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h1"),e.EFF(7,"Unsubscribe"),e.k0s()()(),e.j41(8,"div",6)(9,"div",7),e.DNE(10,Pd,5,0,"div",8),e.DNE(11,Bh,5,0,"div",9),e.k0s()()()()()),2&u&&(e.R7$(10),e.Y8G("ngIf",h.showError),e.R7$(1),e.Y8G("ngIf",h.showSuccess))},dependencies:[Lt.bT],styles:["#unsubscribe-view[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .unsubscribe-view[_ngcontent-%COMP%]{width:100%;max-width:415px;padding-top:20px;padding-bottom:20px}#unsubscribe-view[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .unsubscribe-view[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-weight:700}#unsubscribe-view[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   #unsubscribe-error-msg[_ngcontent-%COMP%]{margin-top:20px}#unsubscribe-view[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   #unsubscribe-error-msg[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-weight:700}"]})}}return c})();function Bg(c,m){1&c&&(e.j41(0,"section",8)(1,"h1"),e.EFF(2,"Booking Terms & Conditions"),e.k0s()())}function Ia(c,m){1&c&&(e.j41(0,"h2"),e.EFF(1,"Booking Terms & Conditions"),e.k0s())}const $g=function(){return["/terms-conditions"]},Pu=function(){return["/privacy-policy"]};function $h(c,m){if(1&c&&(e.qex(0),e.DNE(1,Bg,3,0,"section",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(5,Ia,2,0,"h2",0),e.j41(6,"div",5)(7,"p"),e.EFF(8,"These Terms, together with any terms and conditions stated in the Order Form, set out the terms and conditions of your subscription for Content."),e.k0s(),e.j41(9,"p",6),e.EFF(10,"1. DEFINITIONS AND INTERPRETATION"),e.k0s(),e.j41(11,"p"),e.EFF(12,"1.1. The following definitions apply to these Terms:"),e.k0s(),e.j41(13,"p")(14,"span",6),e.EFF(15,'Affiliates"'),e.k0s(),e.EFF(16," means any entity that directly or indirectly Controls, is Controlled by, or is under common Control with another entity;"),e.k0s(),e.j41(17,"p")(18,"span",6),e.EFF(19,'"Authorised Users"'),e.k0s(),e.EFF(20," means those employees in your organisation who are entitled to have access to the Content as specified in the Order Form, which shall be a fixed number of employees and subject to any limitations set out in the Order Form;"),e.k0s(),e.j41(21,"p")(22,"span",6),e.EFF(23,"\u201cBusiness Days\u201d"),e.k0s(),e.EFF(24," means any day other than a Saturday or Sunday or any day which a public holiday in the UK is;"),e.k0s(),e.j41(25,"p")(26,"span",6),e.EFF(27,'"Content"'),e.k0s(),e.EFF(28," means the publications, articles, materials, documents, data, research, reports and/or other information that is provided to subscribers by us or one or more of our Affiliates, in print copy or in electronic format as applicable;"),e.k0s(),e.j41(29,"p")(30,"span",6),e.EFF(31,'"Control"'),e.k0s(),e.EFF(32," means, in respect of any corporate entity, the beneficial ownership of more than 50% of the issued share capital of that entity or the legal power to direct or cause the direction of the general management of that entity, and "),e.j41(33,"span",6),e.EFF(34,"Controls"),e.k0s(),e.EFF(35," and "),e.j41(36,"span",6),e.EFF(37,"Controlled"),e.k0s(),e.EFF(38," shall be construed accordingly;"),e.k0s(),e.j41(39,"p")(40,"span",6),e.EFF(41,'"Data Protection Legislation"'),e.k0s(),e.EFF(42," means all applicable data protection, privacy and electronic marketing legislation including Regulation (EU) 2016/679 ("),e.j41(43,"span",6),e.EFF(44,"\u201cGDPR\u201d"),e.k0s(),e.EFF(45,"), the GDPR as it forms part of the laws of the UK by virtue of section 3 of the European Union (Withdrawal) Act 2018 and as amended by the Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 ("),e.j41(46,"span",6),e.EFF(47,"\u201cUK GDPR\u201d"),e.k0s(),e.EFF(48,") and any related national legislation including the Data Protection Act 2018, any national legislation implementing Directive 2002/58/EC including the Privacy and Electronic Communications (EC Directive) Regulations 2003 (as amended) and any replacement or repealing legislation;"),e.k0s(),e.j41(49,"p")(50,"span",6),e.EFF(51,'"Event Outside Our Control"'),e.k0s(),e.EFF(52," means any act or event beyond our reasonable control, including without limitation strikes, lock-outs or other industrial action, civil commotion, riot, invasion, terrorist attack or threat of terrorist attack, war (whether declared or not) or threat or preparation for war, fire, explosion, storm, flood, earthquake, subsidence, epidemic or other natural disaster, or failure of public or private telecommunications networks;"),e.k0s(),e.j41(53,"p")(54,"span",6),e.EFF(55,'"Intellectual Property Rights"'),e.k0s(),e.EFF(56," means any and all present and future, patents, inventions, know- how, trade secrets and other confidential information, trademarks, service marks, logos, emblems, badges, mascots, insignia, identifying music and sounds, get-up, domain names, business names, trade names, moral rights, performance rights, registered designs, copyrights, database r
1ights, the sui generis rights of extraction relating to databases, design rights and other intellectual property rights of whatever nature, in each case whether registered or unregistered and including applications for registration, and all rights or forms of protection having equivalent or similar effect anywhere in the world;"),e.k0s(),e.j41(57,"p")(58,"span",6),e.EFF(59,'"Offers"'),e.k0s(),e.EFF(60," is defined in clause 5.11;"),e.k0s(),e.j41(61,"p")(62,"span",6),e.EFF(63,'"Offer-specific Terms"'),e.k0s(),e.EFF(64," is defined in clause 5.11;"),e.k0s(),e.j41(65,"p")(66,"span",6),e.EFF(67,'"Order"'),e.k0s(),e.EFF(68," means an order for Content placed by you with us pursuant to an Order Form in accordance with these Terms (and "),e.j41(69,"span",6),e.EFF(70,'Ordered"'),e.k0s(),e.EFF(71," shall be construed accordingly);"),e.k0s(),e.j41(72,"p")(73,"span",6),e.EFF(74,'"Order Form"'),e.k0s(),e.EFF(75," is defined in clause 2.1.1;"),e.k0s(),e.j41(76,"p")(77,"span",6),e.EFF(78,'"Payment Methods"'),e.k0s(),e.EFF(79," is defined in clause 5.6;"),e.k0s(),e.j41(80,"p")(81,"span",6),e.EFF(82,'"Personal Data"'),e.k0s(),e.EFF(83," has the meaning given to it in the GDPR or the UK GDPR as applicable;"),e.k0s(),e.j41(84,"p")(85,"span",6),e.EFF(86,'\u201cRenewal Notice"'),e.k0s(),e.EFF(87," is defined in clause 8.3;"),e.k0s(),e.j41(88,"p")(89,"span",6),e.EFF(90,"\u201cRenewal Term\u201d"),e.k0s(),e.EFF(91," means a period of 12 months (or such other period as shall be specified in the Renewal Notice and/or Order Form) following the expiry of the Initial Term or the immediately preceding Renewal Term (as the case may be);"),e.k0s(),e.j41(92,"p")(93,"span",6),e.EFF(94,'"Subscription"'),e.k0s(),e.EFF(95," means your subscription for Content which is subject to these Terms, and includes Smaller Business Subscriptions and Sales Teams Subscriptions where applicable (and "),e.j41(96,"span",6),e.EFF(97,'"Subscribe"'),e.k0s(),e.EFF(98," shall be construed accordingly);"),e.k0s(),e.j41(99,"p")(100,"span",6),e.EFF(101,'"Terms"'),e.k0s(),e.EFF(102," means these subscription terms and conditions which apply to your Subscription;"),e.k0s(),e.j41(103,"p")(104,"span",6),e.EFF(105,'"we"'),e.k0s(),e.EFF(106," means FORESIGHT NEWS LIMITED incorporated and registered in England and Wales with company number 16385394 whose registered office is at 10 York Road, London, SE1 7ND., the legal entity specified on the Order Form;"),e.k0s(),e.j41(107,"p")(108,"span",6),e.EFF(109,'"Website"'),e.k0s(),e.EFF(110," means the website for the Subscription specified on your Order Form, which shall be as follows:"),e.k0s(),e.j41(111,"p"),e.EFF(112,"For a Subscription to"),e.nrm(113,"br"),e.EFF(114,"Foresight News: https://foresightnews.com"),e.k0s(),e.j41(115,"p")(116,"span",6),e.EFF(117,'"you"'),e.k0s(),e.EFF(118," means you, the business user (being either an individual acting in the course or in relation to your business, trade or profession or a corporate entity) which has placed an Order either yourself, or in the case of a corporate entity via an individual who is authorised to place an Order on your behalf, and each of your Authorised Users."),e.k0s(),e.j41(119,"p"),e.EFF(120,"1.2\tReferences to clauses are to the clauses of these Terms."),e.k0s(),e.j41(121,"p"),e.EFF(122,"1.3\tReferences to words following the terms "),e.j41(123,"span",6),e.EFF(124,"including, include, in particular, such as, for example"),e.k0s(),e.EFF(125," or any similar expression shall be construed as illustrative and shall not limit the sense of the words, description, definition, phrase or term preceding those terms."),e.k0s(),e.j41(126,"p"),e.EFF(127,"1.4\tThe clause headings are included for c
1onvenience only and shall not affect the interpretation of these Terms."),e.k0s(),e.j41(128,"p"),e.EFF(129,"1.5\tA "),e.j41(130,"span",6),e.EFF(131,"person"),e.k0s(),e.EFF(132," includes a natural person, corporate or unincorporated body (whether or not having separate legal personality) and that person's personal representatives, successors and permitted assigns."),e.k0s(),e.j41(133,"p"),e.EFF(134,"1.6\tA reference to a "),e.j41(135,"span",6),e.EFF(136,"company"),e.k0s(),e.EFF(137," shall include any company, corporation or other body corporate, wherever and however incorporated or established."),e.k0s(),e.j41(138,"p"),e.EFF(139,"1.7\tA reference to any party shall include that party\u2019s personal representatives, successors and permitted assigns."),e.k0s(),e.j41(140,"p"),e.EFF(141,"1.8\tUnless the context otherwise requires, words in the singular shall include the plural and, in the plural, shall include the singular and a reference to one gender shall include a reference to the other genders"),e.k0s(),e.j41(142,"p"),e.EFF(143,"1.9\tA reference to a statute or statutory provision is a reference to it as amended, extended or re-enacted from time to time and a reference to a statute or statutory provision shall include all subordinate legislation made from time to time under that statute or statutory provision."),e.k0s(),e.j41(144,"p"),e.EFF(145,"1.10\tA reference to "),e.j41(146,"span",6),e.EFF(147,"these Terms"),e.k0s(),e.EFF(148," or to any other agreement or document referred to in these Terms is a reference to these Terms or such other agreement or document as varied (other than in breach of the provisions of these Terms) from time to time."),e.k0s(),e.j41(149,"p"),e.EFF(150,"1.11\tIn the event of conflict between a clause in these Terms, the Order Form and any document incorporated by reference into these Terms, the document higher in the order of precedence listed below will prevail in relation to such conflict:"),e.k0s(),e.j41(151,"p"),e.EFF(152,"1.11.1\tthe Order Form;"),e.k0s(),e.j41(153,"p"),e.EFF(154,"1.11.2\tthe provisions of these Terms; and"),e.k0s(),e.j41(155,"p"),e.EFF(156,"1.11.3\tany document incorporated by reference."),e.k0s(),e.j41(157,"p",6),e.EFF(158,"2.\tORDERS AND FORMING YOUR SUBSCRIPTION"),e.k0s(),e.j41(159,"p"),e.EFF(160,"2.1\tAn offer is made by Foresight News for the provision of the Services pursuant to these Terms when we provide a completed order form or Renewal Notice summarising your Order (the "),e.j41(161,"span",6),e.EFF(162,"\u201cOrder Form\u201d"),e.k0s(),e.EFF(163,") to you. These Terms shall come into force and bind the parties upon your acceptance. You can accept these Terms by:"),e.k0s(),e.j41(164,"p"),e.EFF(165,"2.1.1\tmanually signing the Order Form and emailing a scan of the signed form to us;"),e.k0s(),e.j41(166,"p"),e.EFF(167,"2.1.2\telectronically signing the Order Form where such option is made available by us;"),e.k0s(),e.j41(168,"p"),e.EFF(169,"2.1.3 confirming by email that you accept the Order Form and attaching it to such email; or"),e.k0s(),e.j41(170,"p"),e.EFF(171,"2.1.4\tin the case of an Order placed via our Website, electronically submitting your Order to us in accordance with the instructions set out on the Website."),e.k0s(),e.j41(172,"p"),e.EFF(173,"2.3 Please note that your use of our Website is governed by our Website Terms and Conditions at "),e.j41(174,"a",7),e.EFF(175,"https://www.foresightnews.com/terms-conditions"),e.k0s(),e.EFF(176," and that we will use any Personal Data you provide to us in connection with your Subscription in accordance with our Privacy Policy which can be found at "),e.j41(177,"a",7),e.EFF(178,"https://www.foresightnews.com/privacy-policy"),e.k0s(),e.EFF(179,"."),e.k0s(),e.j41(180,"p"),e.EFF(181,"2.4 You, the business user, will ensure that all Authorised Users and any other person using your Subscription pursuant to these Terms is made aware of and complies with these Terms, our Website Terms and Conditions, our Privacy Policy and any other terms and conditions applicable to your Subscription (as notified to you by us from time to time)."),e.k0s(),e.j41(182,"p"),e.EFF(183,"2.5 You, the business user, will ensure that Authorised Users are aware that we may share information about their use of Subscriptions with you (in accordance with our Privacy Policy)."),e.k0s(),e.j41(184,"p"),e.EFF(185,"2.6 If there is any conflict between our Website Terms and Conditions or Privacy Policy and these Subscription Terms and Conditions, then these Subscription Terms and Conditions shall govern and take precedence."),e.k0s(),e.j41(186,"p"),e.EFF(187,"2.7\tAs noted 
1in the definitions above, you acknowledge that you are a business and/or corporate entity effecting the Order through an authorized individual, and you are not purchasing the Content as an individual consumer."),e.k0s(),e.j41(188,"p",6),e.EFF(189,"3. PROVIDING CONTENT"),e.k0s(),e.j41(190,"p"),e.EFF(191,"3.1 Following conclusion of your Order in accordance with clause 2, we shall supply you with the Content. The amount and type of Content we supply you with and the duration for which we will supply it is set out in the Order Form."),e.k0s(),e.j41(192,"p"),e.EFF(193,"3.2\tWhere we say that we will provide you with the Content, or with access to the Content, this means that we will provide you with the relevant type of access for the Content, as specified in your Order Form. For example, where your Order is for print copy Content only, a reference to us providing you with Content is a reference to us delivering print copy Content to you, and where your Order is for a mixture of print copy and digital Content, a reference to us providing you with the Content is a reference to us delivering print copy Content in relation to the print copy part of that Order and a reference to us making available digital Content through the internet in relation to the digital part of that Order."),e.k0s(),e.j41(194,"p"),e.EFF(195,"3.3 Where the Content consists (solely or partly) of digital Content:"),e.k0s(),e.j41(196,"p"),e.EFF(197,"3.3.1 we grant you a limited, non-exclusive, non-transferable licence to use the Content for the duration of these Terms in accordance with these Terms;"),e.k0s(),e.j41(198,"p"),e.EFF(199,"3.3.2\tthe licence granted in clause 3.3.1 is limited, if applicable, to the number of Authorised Users specified in your Order Form."),e.k0s(),e.j41(200,"p"),e.EFF(201,"3.4\tWe will carry out our obligation to provide you with Content with reasonable skill and care."),e.k0s(),e.j41(202,"p"),e.EFF(203,"3.5\tWe shall endeavour to provide constant, uninterrupted access to the Website and the Content, but we cannot and do not guarantee to do so. Access to our Website is permitted on a temporary basis. We may suspend, withdraw, discontinue or change all or any part of our Website without notice. You are responsible for making all arrangements necessary for you to have access to our Website."),e.k0s(),e.j41(204,"p"),e.EFF(205,"3.6\tIf the Website is unavailable for a continuous period of 14 days, you may terminate your Subscription immediately by giving written notice to us. If you exercise this right, our sole liability to you shall be to refund you, on a pro rata basis, the charges paid by you for the portion of your Subscription remaining after the date on which the Website ceased to be available."),e.k0s(),e.j41(206,"p",6),e.EFF(207,"4. YOUR CONTENT OBLIGATIONS"),e.k0s(),e.j41(208,"p"),e.EFF(209,"4.1 You agree that you shall, and (where applicable) shall procure that your Authorised Users shall, only access, use, reproduce, modify, license, download, print or otherwise make available the Content for your own business use within your company. Neither you nor your Authorised Users may provide the Content to any individuals outside your company, nor to any individuals within your company who are not Authorised Users, without our prior consent."),e.k0s(),e.j41(210,"p"),e.EFF(211,"4.2 You agree that you:"),e.k0s(),e.j41(212,"p"),e.EFF(213,"4.2.1 shall not use the Content to develop or provide, directly or indirectly, any product or service that competes with our business or any of our Affiliates' businesses;"),e.k0s(),e.j41(214,"p"),e.EFF(215,"4.2.2\tshall not use the Content in any way which might infringe any third-party rights, including third party Intellectual Property Rights;"),e.k0s(),e.j41(216,"p"),e.EFF(217,"4.2.3\tshall not, to the extent the Content contains Personal Data, share that Personal Data with any third party or use the Personal Data other than for purposes for which the Content is expressly provided;"),e.k0s(),e.j41(218,"p"),e.EFF(219,"4.2.4\tshall, to the extent the Content contains Personal Data, comply with any obligations you may have under Data Protection Legislation;"),e.k0s(),e.j41(220,"p"),e.EFF(221,"4.2.5\tshall, to the extent the Content contains Personal Data, take appropriate technical and organizational measures to keep such Personal Data secure;"),e.k0s(),e.j41(222,"p"),e.EFF(223,"4.2.6\tshall not use the Content in any way that is contrary to applicable law;"),e.k0s(),e.j41(224,"p"),e.EFF(225,"4.2.7\tshall not modify, decompile or reverse engineer any software supplied as part of the Content;"),e.k0s(),e.j41(226,"p"),e.EFF(227,"4.2.8\tshall not alter any copyright notice or other notices indicating rights in Content; and"),e.k0s(),e.j41(228,"p"),e.EFF(229,"4.2.9\tshall not commercially exploit the Content."),e.k0s(),e.j41(230,"p"),e.EFF(231,"4.3\tYou shall, or where applicable each of your Authorised Users shall, set up a user name and password on the Website to access the Content. You acknowledge and agree that all user name(s) and password(s) are personal to the applicable Authorised User(s) and you shall ensure, as a principal obligation, that the Authorised User(s) shall treat such logins, passwords and other Authorised User identification as confidential and n
1ot disclose, share or transfer them to any person. You must notify us immediately of any unauthorised use of them or any other breach of security regarding our website that comes to your attention. Without prejudice to any other right or remedy available to us, we have the right to disable any user name, password or other Authorised User identification at any time if, in our sole opinion, you or any Authorised User has failed to comply with this clause. We may monitor usage to detect non-compliance with this clause including unauthorised password sharing."),e.k0s(),e.j41(232,"p"),e.EFF(233,"4.4 We may add Authorised Users on your behalf. You shall inform us if an Authorised User is no longer authorised to have access to the Content (for example, because they have left your organisation) ("),e.j41(234,"span",6),e.EFF(235,"\u201cOutgoing Authorised User\u201d"),e.k0s(),e.EFF(236,"). You may ask us to add a new Authorised User in place of the Outgoing Authorised User. We have sole discretion to refuse such a request if we reasonably suspect it will result in non-compliance with the terms of your Order, which limits the number of Authorised Users to a fixed number."),e.k0s(),e.j41(237,"p",6),e.EFF(238,"5. CHARGES AND PAYMENT CHARGES"),e.k0s(),e.j41(239,"p"),e.EFF(240,"Charges"),e.k0s(),e.j41(241,"p"),e.EFF(242,"5.1\tThe charges for your Content will be set out in your Order Form. In addition to our charges for your Subscription, where you Subscribe for digital Content, you are responsible for paying any internet connection or other telecommunication charges payable for accessing the Content."),e.k0s(),e.j41(243,"p"),e.EFF(244,"5.2 The charges are exclusive of VAT or any other sales tax applicable to your country of residence, and such taxes shall be payable by you at the applicable current rate chargeable at the time that we invoice you."),e.k0s(),e.j41(245,"p"),e.EFF(246,"5.3 If the price we state to you in your Order Form is clearly incorrect then we are not obliged to provide you with a Subscription at that price even if we have accepted your Order. If we notify you of a pricing error, you may continue your Subscription at the correct price or cancel your Subscription without any obligation to us and we shall refund you any monies that you have paid to us in respect of that Subscription."),e.k0s(),e.j41(247,"p"),e.EFF(248,"5.4\tWe have the right to make changes to the charges from time to time. If these changes result in an increase in the charges payable by you, we shall inform you in advance of the change. If you do not agree to pay the increased charges, you may terminate your Subscription in accordance with clause 8."),e.k0s(),e.j41(249,"p"),e.EFF(250,"5.5 We may give you the option to pay the charges on, usually, either a monthly or an annual basis. Any such options and any other options for payment will be specified in your Order Form."),e.k0s(),e.j41(251,"p"),e.EFF(252,"Payment"),e.k0s(),e.j41(253,"p"),e.EFF(254,"5.6. You shall pay the charges by credit or debit card, direct debit or by invoice, as applicable to your Order (the "),e.j41(255,"span",6),e.EFF(256,'"Payment Methods"'),e.k0s(),e.EFF(257,")."),e.k0s(),e.j41(258,"p"),e.EFF(259,"5.7 If your Payment Method is a credit or debit card, you authorise us to take payments from the credit or debit card chosen by you on a recurring monthly or annual basis as applicable, for the duration of your Subscription."),e.k0s(),e.j41(260,"p"),e.EFF(261,"5.8\tIf your Payment Method is invoice, we shall be entitled to issue an invoice to you for the charges on an annual basis as applicable and you shall pay each invoice submitted by us:"),e.k0s(),e.j41(262,"p"),e.EFF(263,"5.8.1\timmediately upon receipt of the invoice (unless otherwise specified in the Order Form); and"),e.k0s(),e.j41(264,"p"),e.EFF(265,"5.8.2\tin full and cleared funds to the bank account nominated by us on the invoice."),e.k0s(),e.j41(266,"p"),e.EFF(267,"5.9 Please note that if you have any queries or complaints in respect of an invoice, such queries or complaints must be notified to our Finance Department in writing within 14 days of the date of such invoice."),e.k0s(),e.j41(268,"p"),e.EFF(269,"5.10 You shall pay all amounts due under these Terms in full without any deduction or withholding except as required or permitted by law. We may, without limiting our other rights or remedies, set off any amount owing to us by you against any amount payable by us to you."),e.k0s(),e.j41(270,"p"),e.EFF(271,"Special Offers"),e.k0s(),e.j41(272,"p"),e.EFF(273,"5.11\tFrom time to time, we may inform you of special offers in relation to Content on the Website or by email (the "),e.j41(274,"span",6),e.EFF(275,'"Offers"'),e.k0s(),e.EFF(276,"). Offers may have minimum subscription terms, payment terms, termination terms or other terms which are different to the equivalent provisions set out in these Terms (the "),e.j41(277,"span",6),e.EFF(278,'"Offer-specific Terms"'),e.k0s(),e.EFF(279,")."),e.k0s(),e.j41(280,"p"),e.EFF(281,"5.12 Where an Offer applies to your Order, the Offer-specific Terms applicable to that Offer will apply to your Subscription to the exclusion of the equivalent provisions in these Terms. Any Offerspecific Terms will be stated on the Offer and set out in your Order Form."),e.k0s(),e.j41(282,"p",6),e.EFF(283,"6. OUR RIGHT TO VARY THESE TERMS"),e.k0s(),e.j41(284,"p"),e.EFF(285,"6.1\tWe may revise these Terms from time to time. Eac
1h time you place an Order for Content, the Terms in force at the time you place your Order will apply to the subscription formed by that Order."),e.k0s(),e.j41(286,"p"),e.EFF(287,"6.2\tWe may revise these Terms as they apply to your Subscription from time to time to reflect changes in relevant laws and regulatory requirements."),e.k0s(),e.j41(288,"p"),e.EFF(289,"6.3\tIf we have to revise these Terms as they apply to your Subscription, we will contact you to give you reasonable advance notice of the changes and let you know how to cancel your Subscription if you are not happy with the changes."),e.k0s(),e.j41(290,"p",6),e.EFF(291,"7. DELIVERY"),e.k0s(),e.j41(292,"p"),e.EFF(293,"7.1\tIf your Subscription consists of print copy Content, the Content will be delivered to you periodically as described in your Order Form."),e.k0s(),e.j41(294,"p"),e.EFF(295,"7.2\tAny delivery dates provided are estimates only. Delivery services are provided by a third party, not by us, and, as set out in clause 11.3, we will not be liable for any delay in delivering your Content caused by our delivery services provider(s)."),e.k0s(),e.j41(296,"p",6),e.EFF(297,"8. TERM AND TERMINATION"),e.k0s(),e.j41(298,"p"),e.EFF(299,"8.1\tUnless terminated earlier in accordance with these Terms, your Subscription will last for a period of 12 months from the start date set out in the Order Form (the "),e.j41(300,"span",6),e.EFF(301,"\u201cInitial Term\u201d"),e.k0s(),e.EFF(302,")."),e.k0s(),e.j41(303,"p"),e.EFF(304,"8.2\tFollowing expiry of the Initial Term, your Subscription will automatically renew upon these Terms as amended by the relevant Renewal Notice for additional, successive Renewal Terms unless: (i) we provide you with written notice of cancellation at least 90 days prior to the expiration of the then current Initial Term or Renewal Term; or (ii) you inform us in writing no later than one month prior to the expiry of the then current Initial Term or Renewal Term that you wish to cancel your Subscription with effect from the expiry of then current Initial Term or Renewal Term."),e.k0s(),e.j41(305,"p"),e.EFF(306,"8.3\tUnless your Subscription has terminated earlier in accordance with these Terms, we shall send you a renewal notice setting out details of the renewal of your Subscription no less than two months prior to the end of the then current Initial Term or Renewal Term (the "),e.j41(307,"span",6),e.EFF(308,"\u201cRenewal Notice\u201d"),e.k0s(),e.EFF(309,")."),e.k0s(),e.j41(310,"p"),e.EFF(311,"8.4 We may cancel your Subscription at any time by giving you at least 90 days\u2019 notice in writing. If we exercise this right, we shall refund you, on a pro rata basis, the charges paid by you that are for the portion of your Subscription remaining after termination of your Subscription."),e.k0s(),e.j41(312,"p"),e.EFF(313,"8.5\tWe may, at our option, suspend access to digital Content, suspend delivery of print copy Content or terminate your Subscription at any time with immediate effect by giving written notice to you if:"),e.k0s(),e.j41(314,"p"),e.EFF(315,"8.5.1\tyou fail to pay any amount due under these Terms on the due date for payment;"),e.k0s(),e.j41(316,"p"),e.EFF(317,"8.5.2 you have a Smaller Business Subscription but are not or cease to be a Smaller Business;"),e.k0s(),e.j41(318,"p"),e.EFF(319,"8.5.3\tyou otherwise breach these Terms; or"),e.k0s(),e.j41(320,"p"),e.EFF(321,"8.5.4\twe reasonably believe that your use of the Content is infringing or is likely to infringe any third-party rights."),e.k0s(),e.j41(322,"p"),e.EFF(323,"8.6\tWe may, at our option, suspend access to digital Content, suspend delivery of print copy Content or terminate your Subscription with immediate effect if you become subject to any of the following events, or we reasonably believe that you are about to become subject to any of them:"),e.k0s(),e.j41(324,"p"),e.EFF(325,"8.6.1\tyou, other than for the purpose of a bona fide reconstruction or amalgamation pass a resolution for your winding up, or a court of competent jurisdiction makes an order for you to be wound up or dissolved;"),e.k0s(),e.j41(326,"p"),e.EFF(327,"8.6.2\tan administrator is appointed, or an administrative order is made in relation to you or the appointment of a receiver or administrative receiver of, or an encumbrancer taking possession of or selling, the whole or any part of the entity\u2019s undertaking assets, rights or revenue;"),e.k0s(),e.j41(328,"p"),e.EFF(329,"8.6.3\tyou enter into an arrangement, compromise or composition in satisfaction of you debts with your creditors or any class of them, or take steps to obtain a moratorium, or make an application to a court of competent jurisdiction for protection from your creditors;"),e.k0s(),e.j41(330,"p"),e.EFF(331,"8.6.4\tyou are unable to pay your debts, or you are capable of being deemed unable to pay your debts, within the meaning of section 123 of the Insolvency Act 1986; or"),e.k0s(),e.j41(332,"p"),e.EFF(333,"8.6.5\tyou enter into any arrangement, compromise or composition in satisfaction of your debts with your creditors."),e.k0s(),e.j41(334,"p",6),e.EFF(335,"9. CONSEQUENCES OF TERMINATION"),e.k0s(),e.j41(336,"p"),e.EFF(337,"On expiry or termination of your Subscription for any reason:"),e.k0s(),e.j41(338,"p"),e.EFF(339,"9.1 you shall immediately pay to us all outstanding unpaid charges;"),e.k0s(),e.j41(340,"p"),e.EFF(341,"9.2\tyour, and where applicable, your Authorised Users\u2019 access to digital Content will be revoked; and"),e.k0s(),e.j41(342,"p"),e.EFF(343,"9.3 the licence granted in clause 3.3.1 will cease."),e.k0s(),e.j41(344,"p",6),e.EFF(345,"10. INTELLECTUAL PROPERTY RIGHTS"),e.k0s(),e.j41(346,"p"),e.EFF(347,"10.
11\tWe or our content providers, are the owners or licence holders of the Intellectual Property Rights in the Content. Subject to clause 3.3, you acknowledge and agree that nothing in these Terms or in an Order Form shall be construed so as to transfer any Intellectual Property Rights in the Content to you."),e.k0s(),e.j41(348,"p"),e.EFF(349,"10.2\tDigital Content may contain links to third party websites. You are responsible for deciding whether to access a third-party website and your use of third party websites will be governed by the terms of that third-party website. We have no responsibility for any aspect of third party websites."),e.k0s(),e.j41(350,"p",6),e.EFF(351,"11. LIMITATION OF LIABILITY"),e.k0s(),e.j41(352,"p"),e.EFF(353,"11.1\tThe Content is provided to you for general information purposes only and does not address individual requirements. It is not intended to amount to advice, recommendations, representations or endorsements on which you should rely. You should obtain professional or specialist advice before taking, or refraining from taking, any action on the basis of any Content."),e.k0s(),e.j41(354,"p"),e.EFF(355,"11.2 Nothing in these Terms shall limit or exclude our liability for:"),e.k0s(),e.j41(356,"p"),e.EFF(357,"11.2.1\tdeath or personal injury caused by its negligence, or the negligence of its employees, agents or subcontractors;"),e.k0s(),e.j41(358,"p"),e.EFF(359,"11.2.2\tfraud or fraudulent misrepresentation; or"),e.k0s(),e.j41(360,"p"),e.EFF(361,"11.2.3\tbreach of the terms implied by section 2 of the Supply of Goods and Services Act 1982 (title and quiet possession)."),e.k0s(),e.j41(362,"p"),e.EFF(363,"11.3\tSubject to clause 11.2, we shall under no circumstances whatever be liable to you, whether in contract, tort (including negligence), breach of statutory duty, or otherwise, arising under or in connection with these Terms for:"),e.k0s(),e.j41(364,"p"),e.EFF(365,"11.3.1\tany loss of profit, business, business opportunity, contracts, anticipated savings, goodwill, or revenue;"),e.k0s(),e.j41(366,"p"),e.EFF(367,"11.3.2\tany wasted expenditure;"),e.k0s(),e.j41(368,"p"),e.EFF(369,"11.3.3\tany inaccuracies in the Content or unavailability of the Content;"),e.k0s(),e.j41(370,"p"),e.EFF(371,"11.3.4 any delay in delivery of print copy Content (if any);"),e.k0s(),e.j41(372,"p"),e.EFF(373,"11.3.5 any use by you of Personal Data displayed on our Website or within any Content;"),e.k0s(),e.j41(374,"p"),e.EFF(375,"11.3.7 any loss or corruption of data; or"),e.k0s(),e.j41(376,"p"),e.EFF(377,"11.3.8\tany indirect or consequential loss,"),e.k0s(),e.j41(378,"p"),e.EFF(379,"even if we have been advised of the possibility of such damage."),e.k0s(),e.j41(380,"p"),e.EFF(381,"11.4\tSubject to clause 11.2, our total liability to you in respect of all other losses arising under or in connection with these Terms, whether in contract, tort (including negligence), breach of statutory duty, or otherwise, shall in no circumstances exceed 100% of the charges paid by you for your Subscription."),e.k0s(),e.j41(382,"p"),e.EFF(383,"11.5 Except as set out in these Terms, all warranties, conditions and other terms implied by statute or common law are, to the fullest extent permitted by law, excluded from these Terms."),e.k0s(),e.j41(384,"p"),e.EFF(385,"11.6 This clause 11 shall survive termination or expiry of these Terms."),e.k0s(),e.j41(386,"p",6),e.EFF(387,"12. EVENTS OUTSIDE OUR CONTROL"),e.k0s(),e.j41(388,"p"),e.EFF(389,"12.1\tWe will not be liable or responsible for any failure to perform, or delay in performance of, any of our obligations under these Terms that is caused by an Event Outside Our Control."),e.k0s(),e.j41(390,"p"),e.EFF(391,"12.2\tIf an Event Outside Our Control takes place that affects the performance of our obligations under these Terms:"),e.k0s(),e.j41(392,"p"),e.EFF(393,"12.2.1\twe will attempt to contact you as soon as reasonably possible to notify you; and"),e.k0s(),e.j41(394,"p"),e.EFF(395,"12.2.2 obligations under these Terms will be suspended and the time for performance of our obligations will be extended for the duration of the Event Outside our Control."),e.k0s(),e.j41(396,"p"),e.EFF(397,"12.3\tEither party may terminate the contract if an Event Outside Our Control affects the performance of our obligations under these Terms for 60 days. If we exercise this right of termination, we shall refund you in accordance with clause 8.4."),e.k0s(),e.j41(398,"p",6),e.EFF(399,"13. COMMUNICATIONS BETWEEN US"),e.k0s(),e.j41(400,"p"),e.EFF(401,'13.1 When we refer, in these Terms, to "in writing", this will include e-mail.'),e.k0s(),e.j41(402,"p"),e.EFF(403,"13.2 Any notice or other communication given by you to us, or by us to you, under or in connection with these Terms shall be in 
1writing and shall be sent by pre-paid first-class post or other next working day delivery service or by email."),e.k0s(),e.j41(404,"p"),e.EFF(405,"13.3 A notice or other communication shall be deemed to have been received: if sent by pre- paid first-class post or other next working day delivery service, at 9.00 am on the second Business Day after posting or if sent by e-mail, one Business Day after transmission."),e.k0s(),e.j41(406,"p"),e.EFF(407,"13.4 In proving the service of any notice, it will be sufficient to prove, in the case of a letter, that such letter was properly addressed, stamped and placed in the post and, in the case of an email, that such email was sent to the specified e-mail address of the addressee."),e.k0s(),e.j41(408,"p"),e.EFF(409,"13.5 The provisions of this clause shall not apply to the service of any proceedings or other documents in any legal action."),e.k0s(),e.j41(410,"p",6),e.EFF(411,"14. GENERAL"),e.k0s(),e.j41(412,"p"),e.EFF(413,"14.1 We may at any time assign, mortgage, charge, subcontract, delegate or declare a trust over any or all of our rights and obligations under these Terms to or for the benefit of any person."),e.k0s(),e.j41(414,"p"),e.EFF(415,"14.2 You may not transfer, assign, sub-licence, sub-contract, divest or otherwise deal with your rights or your obligations under these Terms without our prior written consent."),e.k0s(),e.j41(416,"p"),e.EFF(417,"14.3 These Terms are made between you and us but are also made for the benefit of our Affiliates. It is intended that all our Affiliates may enforce the benefits conferred on it under these Terms in accordance with the terms of the Contracts (Rights of Third Parties) Act 1999. Apart from our Affiliates, no other person shall have any rights to enforce any of its terms, whether under the Contracts (Rights of Third Parties) Act 1999 or otherwise."),e.k0s(),e.j41(418,"p"),e.EFF(419,"14.4 Each of the provisions and part-provisions of these Terms operates separately. If any court or relevant authority decides that any of them are unlawful or unenforceable, the remaining provision, or part-provision as applicable, will remain in full force and effect."),e.k0s(),e.j41(420,"p"),e.EFF(421,"14.5 If we fail to insist that you perform any of your obligations under these Terms, or if we do not enforce our rights against you, or if we delay in doing so, that will not mean that we have waived our rights against you and will not mean that you do not have to comply with those obligations. If we do waive a default by you, we will only do so in writing, and that will not mean that we will automatically waive any later default by you."),e.k0s(),e.j41(422,"p"),e.EFF(423,"14.6 Please note that these Terms are governed by English law. This means that any dispute or claim arising out of or in connection with these Terms or your Subscription will be governed by English law. You and we both agree that the courts of England and Wales will have exclusive jurisdiction."),e.k0s(),e.j41(424,"p"),e.EFF(425,'14.7 Each party shall: (i) comply with all applicable laws, regulations, codes and sanctions relating to anti-bribery and anti-corruption including the Bribery Act 2010 ("Relevant Requirements"); (ii) not engage in any activity, practice or conduct which would constitute an offence under sections 1, 2 or 6 of the Bribery Act 2010 if such activity, practice or conduct had been carried out in the UK; (iii) have and shall maintain in place its own policies and procedures to ensure compliance with Relevant Requirements and will enforce them where appropriate; and (iv) promptly report to the other Party any request or demand for any undue financial or other advantage of any kind received by it in connection with the performance of these Terms.'),e.k0s(),e.j41(426,"p"),e.EFF(427,"14.8 These Terms and our Website Terms and Conditions and Privacy Policy constitute the entire agreement between you and us and supersede and extinguish all previous agreements, promises, assurances, warranties, representations and understandings between us, whether written or oral, relating to its subject matter."),e.k0s(),e.j41(428,"p"),e.EFF(429,"14.9. You acknowledge that in entering into these Terms you do not rely on any statement, representation, assurance or warranty (whether made innocently or negligently) that is not set out in these Terms or our Website Terms and Conditions and Privacy Policy."),e.k0s(),e.j41(430,"p"),e.EFF(431,"14.10\tNothing in these terms is intended to, or shall be deemed to, establish any partnership or joint venture between us, constitute either of us the agent of the other, or authorise either of us to make or enter into commitments for or on behalf of the other."),e.k0s(),e.j41(432,"p"),e.EFF(433,"14.11\tYou and we agree that neither of us shall have any claim for innocent or negligent misrepresentation or negligent misstatement based on any statement in these Terms."),e.k0s(),e.j41(434,"p"),e.EFF(435,"14.12 If you have placed an Order on behalf of a business, you confirm that you have authority to bind the business on whose behalf you are placing the Order."),e.k0s(),e.j41(436,"p"),e.EFF(437,"V01092025"),e.k0s()()()()(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.isLoggedIn),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-logged-in",s.isLoggedIn),e.R7$(168),e.Y8G("routerLink",e.lJ4(8,$g)),e.R7$(3),e.Y8G("routerLink",e.lJ4(9,Pu))}}let Kl=(()=>{class c extends St.$G{constructor(s){super(),this.store=s,this.isLoggedIn=null}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status==St.TD.Successful}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["booking-terms-conditions-view"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","title",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-md-8","col-12","offset-md-2"],[1,"content"],[1,"fw-bold"],["target","_blank",3,"routerLink"],[1,"title"]],template:function(u,h){1&u&&e.DNE(0,$h,438,10,"ng-container",0),2&u&&e.Y8G("ngIf",null!=h.isLoggedIn)},dependencies:[Lt.bT,an.Wk],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-size:14px;font-weight:400}.content[_ngcontent-%COMP%]:not(.is-logged-in){margin-top:40px;padding:30px;background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:30px;margin-bottom:10px;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:block;width:100%}.content[_ngcontent-%COMP%]   p.indent[_ngcontent-%COMP%]{padding-left:20px}"]})}}return c})();function Uh(c,m){1&c&&(e.j41(0,"section",14)(1,"h1"),e.EFF(2,"Co
1okie Policy"),e.k0s()())}function ra(c,m){1&c&&(e.j41(0,"h2"),e.EFF(1,"Cookie Policy"),e.k0s())}const Hs=function(){return["/privacy-policy"]};function ku(c,m){if(1&c&&(e.qex(0),e.DNE(1,Uh,3,0,"section",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(5,ra,2,0,"h2",0),e.j41(6,"div",5)(7,"p",6),e.EFF(8,"Use of Cookies"),e.k0s(),e.j41(9,"p"),e.EFF(10,"Please read this Cookie Policy alongside our "),e.j41(11,"a",7),e.EFF(12,"Privacy Policy"),e.k0s(),e.EFF(13,"."),e.k0s(),e.j41(14,"p",6),e.EFF(15,"Use of Cookies on our website"),e.k0s(),e.j41(16,"p"),e.EFF(17,"We use cookies to collect information about store your online preference. Cookies are small pieces of information sent by a web server to a web browser which allows the server to uniquely identify the browser on each page. You can learn more about cookies and how to disable/enable them here."),e.k0s(),e.j41(18,"p"),e.EFF(19,"We use the following categories of cookies on our website:"),e.k0s(),e.j41(20,"p",6),e.EFF(21,"Strictly Necessary Cookies"),e.k0s(),e.j41(22,"p"),e.EFF(23,"These cookies are essential in order to enable you to move around the website and use its features. Without these cookies, services you have asked for such as remembering your login details or shopping basket items cannot be provided."),e.k0s(),e.j41(24,"p",6),e.EFF(25,"Performance Cookies"),e.k0s(),e.j41(26,"p"),e.EFF(27,"These cookies collect anonymous information on how people use our website. For example, we use Adobe Analytics cookies to help us understand how customers arrive at our site, browse or use our site and highlight areas where we can improve areas such as navigation, shopping experience and marketing campaigns. The data stored by these cookies never shows personal details from which your individual identity can be established."),e.k0s(),e.j41(28,"p",6),e.EFF(29,"Functionality Cookies"),e.k0s(),e.j41(30,"p"),e.EFF(31,"These cookies remember choices you make such as the country you visit our website from, language and search parameters such as size, colour or product line. These can then be used to provide you with an experience more appropriate to your selections and to make the visits more tailored and pleasant. The information these cookies collect may be anonymised and they cannot track your browsing activity on other websites."),e.k0s(),e.j41(32,"p",6),e.EFF(33,"Targeting Cookies or Advertising Cookies"),e.k0s(),e.j41(34,"p"),e.EFF(35,"These cookies collect information about your browsing habits in order to make advertising more relevant to you and your interests. They are also used to limit the number of times you see an advert as well as help measure the effectiveness of an advertising campaign. The cookies are usually placed by third party advertising networks. They remember the websites you visit and that information is shared with other parties such as advertisers."),e.k0s(),e.j41(36,"p",6),e.EFF(37,"Social Media Cookies"),e.k0s(),e.j41(38,"p"),e.EFF(39,"These cookies allow you to share what you\u2019ve been doing on the website on social media such as Facebook and Twitter. These cookies are not within our control. Please refer to the respective privacy policies for how their cookies work."),e.k0s(),e.j41(40,"p"),e.EFF(41,"If you want to delete any cookies that are already on your computer, please refer to the help and support area on your internet browser for instructions on how to locate the file or directory that stores cookies. More information about how to do this is given in the link above."),e.k0s(),e.j41(42,"p"),e.EFF(43,"If you want to learn more about what targeting and advertising cookies are on your device (whether or not related to us) and how to disable them you can do so here."),e.k0s(),e.j41(44,"p",6),e.EFF(45,"Use of Web Beacons."),e.k0s(),e.j41(46,"p"),e.EFF(47,"Some of our web pages may contain electronic images known as Web beacons (sometimes known as clear gifs) that allow us to count users who have visited these pages. Web beacons collect only limited information which including a cookie number, time and date of a page view, and a description of the page on which the web beacon resides. We may al
1so carry web beacons placed by third party advertisers. These beacons do not carry any personally identifiable information and are only used to track the effectiveness of a particular campaign."),e.k0s(),e.j41(48,"p"),e.EFF(49,"We may also use web beacons or similar technology to learn whether or not emails sent to you have been opened."),e.k0s(),e.j41(50,"table",8)(51,"thead",9)(52,"tr")(53,"th"),e.EFF(54,"Name"),e.k0s(),e.j41(55,"th"),e.EFF(56,"Provider"),e.k0s(),e.j41(57,"th",10),e.EFF(58,"Purpose"),e.k0s()()(),e.j41(59,"tbody")(60,"tr")(61,"td"),e.EFF(62,"s_cc"),e.k0s(),e.j41(63,"td"),e.EFF(64,"Adobe"),e.k0s(),e.j41(65,"td",10),e.EFF(66,"Adobe Analytics Cookie"),e.k0s()(),e.j41(67,"tr")(68,"td"),e.EFF(69,"s_fid"),e.k0s(),e.j41(70,"td"),e.EFF(71,"Adobe"),e.k0s(),e.j41(72,"td",10),e.EFF(73,"Adobe Analytics Cookie"),e.k0s()(),e.j41(74,"tr")(75,"td"),e.EFF(76,"s_sq"),e.k0s(),e.j41(77,"td"),e.EFF(78,"Adobe"),e.k0s(),e.j41(79,"td",10)(80,"p"),e.EFF(81,"Adobe Analytics Cookie"),e.k0s(),e.j41(82,"p"),e.EFF(83,"\xa0"),e.k0s()()(),e.j41(84,"tr")(85,"td"),e.EFF(86,"s_vi*"),e.k0s(),e.j41(87,"td"),e.EFF(88,"Adobe"),e.k0s(),e.j41(89,"td",10),e.EFF(90,"Adobe Analytics Cookie"),e.k0s()(),e.j41(91,"tr")(92,"td"),e.EFF(93,"AWSELBCORS"),e.k0s(),e.j41(94,"td"),e.EFF(95,"Amazon"),e.k0s(),e.j41(96,"td",10),e.EFF(97,"Amazon hosting performance cookie"),e.k0s()(),e.j41(98,"tr")(99,"td"),e.EFF(100,"_lfa"),e.k0s(),e.j41(101,"td"),e.EFF(102,"Amazon"),e.k0s(),e.j41(103,"td",10),e.EFF(104,"Amazon hosting performance cookie"),e.k0s()(),e.j41(105,"tr")(106,"td"),e.EFF(107,"has_js"),e.k0s(),e.j41(108,"td"),e.EFF(109,"Drupal"),e.k0s(),e.j41(110,"td",10),e.EFF(111,"Drupal JS flag cookie"),e.k0s()(),e.j41(112,"tr")(113,"td"),e.EFF(114,"_fbp"),e.k0s(),e.j41(115,"td"),e.EFF(116,"FaceBook"),e.k0s(),e.j41(117,"td",10),e.EFF(118,"Facebook targetting and tracking cookie"),e.k0s()(),e.j41(119,"tr")(120,"td"),e.EFF(121,"__gads"),e.k0s(),e.j41(122,"td"),e.EFF(123,"Google"),e.k0s(),e.j41(124,"td",10),e.EFF(125,"Google Advertising Cookie"),e.k0s()(),e.j41(126,"tr")(127,"td"),e.EFF(128,"__gpi"),e.k0s(),e.j41(129,"td"),e.EFF(130,"Google"),e.k0s(),e.j41(131,"td",10),e.EFF(132,"Google Advertising Cookie"),e.k0s()(),e.j41(133,"tr")(134,"td"),e.EFF(135,"_gcl_au"),e.k0s(),e.j41(136,"td"),e.EFF(137,"Google"),e.k0s(),e.j41(138,"td",10),e.EFF(139,"Google Advertising Cookie"),e.k0s()(),e.j41(140,"tr")(141,"td"),e.EFF(142,"IDE"),e.k0s(),e.j41(143,"td"),e.EFF(144,"Google"),e.k0s(),e.j41(145,"td",10),e.EFF(146,"Google Advertising Cookie"),e.k0s()(),e.j41(147,"tr")(148,"td"),e.EFF(149,"_ga"),e.k0s(),e.j41(150,"td"),e.EFF(151,"Google"),e.k0s(),e.j41(152,"td",10),e.EFF(153,"Google Analytics cookie"),e.k0s()(),e.j41(154,"tr")(155,"td"),e.EFF(156,"_ga_*"),e.k0s(),e.j41(157,"td"),e.EFF(158,"Google"),e.k0s(),e.j41(159,"td",10),e.EFF(160,"Google Analytics cookie"),e.k0s()(),e.j41(161,"tr")(162,"td"),e.EFF(163,"_gid"),e.k0s(),e.j41(164,"td"),e.EFF(165,"Google"),e.k0s(),e.j41(166,"td",10),e.EFF(167,"Google Analytics cookie"),e.k0s()(),e.j41(168,"tr")(169,"td"),e.EFF(170,"_gat"),e.k0s(),e.j41(171,"td"),e.EFF(172,"Google"),e.k0s(),e.j41(173,"td",10),e.EFF(174,"Google Analytics cookie"),e.k0s()(),e.j41(175,"tr")(176,"td"),e.EFF(177,"__eoi"),e.k0s(),e.j41(178,"td"),e.EFF(179,"Google"),e.k0s(),e.j41(180,"td",10),e.EFF(181,"Google product security"),e.k0s()(),e.j41(182,"tr")(183,"td"),e.EFF(184,"incap_ses_xxx"),e.k0s(),e.j41(185,"td"),e.EFF(186,"Incapsula"),e.k0s(),e.j41(187,"td",10),e.EFF(188,"Incapsula Ddos protection cookie"),e.k0s()(),e.j41(189,"tr")(190,"td"),e.EFF(191,"nlbi_"),e.k0s(),e.j41(192,"td"),e.EFF(193,"Incapsula"),e.k0s(),e.j41(194,"td",10),e.EFF(195,"Incapsula Ddos protection cookie"),e.k0s()(),e.j41(196,"tr")(197,"td"),e.EFF(198,"visid_incap_"),e.k0s(),e.j41(199,"td"),e.EFF(200,"Incapsula"),e.k0s(),e.j41(201,"td",10),e.EFF(202,"Incapsula Ddos protection cookie"),e.k0s()(),e.j41(203,"tr")(204,"td"),e.EFF(205,"__CookieConsentV300"),e.k0s(),e.j41(206,"td"),e.EFF(207,"Investis"),e.k0s(),e.j41(208,"td",10),e.EFF(209,"Investis Cookie consent cookie"),e.k0s()(),e.j41(210,"tr")(211,"td"),e.EFF(212,"bcookie"),e.k0s(),e.j41(213,"td"),e.EFF(214,"Linkedin"),e.k0s(),e.j41(215,"td",10),e.EFF(216,"Linkedin targetting and tracking cookie"),e.k0s()(),e.j41(217,"tr")(218,"td"),e.EFF(219,"li_gc"),e.k0s(),e.j41(220,"td"),e.EFF(221,"Linkedin"),e.k0s(),e.j41(222,"td",10),e.EFF(223,"Linkedin targetting and tracking cookie"),e.k0s()(),e.j41(224,"tr")(225,"td"),e.EFF(226,"li_sugr"),e.k0s(),e.j41(227,"td"),e.EFF(228,"Linkedin"),e.k0s(),e.j41(229,"td",10),e.EFF(230,"Linkedin targetting and tracking cookie"),e.k0s()(),e.j41(231,"tr")(232,"td"),e.EFF(233,"lidc"),e.k0s(),e.j41(234,"td"),e.EFF(235,"Linkedin"),e.k0s(),e.j41(236,"td",10),e.EFF(237,"Linkedin targetting and tracking cookie"),e.k0s()(),e.j41(238,"tr")(239,"td"),e.EFF(240,"OptanonAlertBoxClosed"),e.k0s(),e.j41(241,"td"),e.EFF(242,"OneTrust"),e.k0s(),e.j41(243,"td",10),e.EFF(244,"OneTrust Consent Acknowledgement"),e.k0s()(),e.j41(245,"tr")(246,"td"),e.EFF(247,"OptanonConsent"),e.k0s(),e.j41(248,"td"),e.EFF(249,"OneTrust"),e.k0s(),e.j41(250,"td",10),e.EFF(251,"OneTrust Consent Acknowledgement"),e.k0s()(),e.j41(252,"tr")(253,"td"),e.EFF(254,"eupubconsent-v2"),e.k0s(),e.j41(255,"td"),e.EFF(256,"OneTrust"),e.k0s(),e.j41(257,"td",10),e.EFF(258,"OneTrust Consent IAB TCF"),e.k0s()(),e.j41(259,"tr")(260,"td"),e.EFF(261,"lp*"),e.k0s(),e.j41(262,"td"),e.EFF(263,"Pardot"),e.k0s(),e.j41(264,"td",10),e.EFF(265,"Pardot marketing tracking cookie"),e.k0s()(),e.j41(266,"tr")(267,"td"),e.EFF(268,"pardot"),e.k0s(),e.j41(269,"td"),e.EFF(270,"Pardot"),e.k0s(),e.j41(271,"td",10),e.EFF(272,"Pardot marketing tracking cookie"),e.k0s()(),e.j41(273,"tr")(274,"td"),e.EFF(275,"visitor_id*"),e.k0s(),e.j41(276,"td"),e.EFF(277,"Pardot"),e.k0s(),e.j41(278,"td",10),e.EFF(279,"Pardot marketing tracking cookie"),e.k0s()(),e.j41(280,"tr")(281,"td"),e.EFF(282,"*__idr"),e.k0s(),e.j41(283,"td"),e.EFF(284,"Piano"),e.k0s(),e.j41(285,"td",10)(286,"table",11)(287,"tbody")(288,"tr",12)(289,"td",13),e.EFF(290,"Piano application cookie"),e.k0s()()()()()(),e.j41(291,"tr")(292,"td"),e.EFF(293,"*__ut"),e.k0s(),e.j41(294,"td"),e.EFF(295,"Piano"),e.k0s(),e.j41(296,"td",10)(297,"table",11)(298,"tbody")(299,"tr",12)(300,"td",13),e.EFF(301,"Piano application cookie"),e.k0s()()()()()(),e.j41(302,"tr")(303,"td"),e.EFF(304,"LANG"),e.k0s(),e.j41(305,"td"),e.EFF(306,"Piano"),e.k0s(),e.j41(307,"td",10)(308,"table",11)(309,"tbody")(310,"tr",12)(311,"td",13),e.EFF(312,"Piano application cookie"),e.k0s()()()()()(),e.j41(313,"tr")(314,"td"),e.EFF(315,"__idr"),e.k0s(),e.j41(316,"td"),e.EFF(317,"Piano"),e.k0s(),e.j41(318,"td",10)(319,"table",11)(320,"tbody")(321,"tr",12)(322,"td",13),e.EFF(323,"Piano application cookie"),e.k0s()()()()()(),e.j41(324,"tr")(325,"td"),e.EFF(326,"__pat"),e.k0s(),e.j41(327,"td"),e.EFF(328,"Piano"),e.k0s(),e.j41(329,"td",10)(330,"table",11)(331,"tbody")(332,"tr",12)(333,"td",13),e.EFF(334,"Piano application cookie"),e.k0s()()()()()(),e.j41(335,"tr")(336,"td"),e.EFF(337,"__pid"),e.k0s(),e.j41(338,"td"),e.EFF(339,"Piano"),e.k0s(),e.j41(340,"td",10)(341,"table",11)(342,"tbody")(343,"tr",12)(344,"td",13),e.EFF(345,"Piano application cookie"),e.k0s()()()()()(),e.j41(346,"tr")(347,"td"),e.EFF(348,"__pvi"),e.k0s(),e.j41(349,"td"),e.EFF(350,"Piano"),e.k0s(),e.j41(351,"td",10)(352,"table",11)(353,"tbody")(354,"tr",12)(355,"td",13),e.EFF(356,"Piano application cookie"),e.k0s()()()()()(),e.j41(357,"tr")(358,"td"),e.EFF(359,"__tac"),e.k0s(),e.j41(360,"td"),e.EFF(361,"Piano"),e.k0s(),e.j41(362,"td",10)(363,"table",11)(364,"tbody")(365,"tr",12)(366,"td",13),e.EFF(367,"Piano application cookie"),e.k0s()()()()()(),e.j41(368,"tr")(369,"td"),e.EFF(370,"__tae"),e.k0s(),e.j41(371,"td"),e.EFF(372,"Piano"),e.k0s(),e.j41(373,"td",10)(374,"table",11)(375,"tbody")(376,"tr",12)(377,"td",13),e.EFF(378,"Piano application cookie"),e.k0s()()()()()(),e.j41(379,"tr")(380,"td"),e.EFF(381,"__tbc"),e.k0s(),e.j41(382,"td"),e.EFF(383,"Piano"),e.k0s(),e.j41(384,"td",10)(385,"table",11)(386,"tbody")(387,"tr",12)(388,"td",13),e.EFF(389,"P
1iano application cookie"),e.k0s()()()()()(),e.j41(390,"tr")(391,"td"),e.EFF(392,"__utp"),e.k0s(),e.j41(393,"td"),e.EFF(394,"Piano"),e.k0s(),e.j41(395,"td",10)(396,"table",11)(397,"tbody")(398,"tr",12)(399,"td",13),e.EFF(400,"Piano application cookie"),e.k0s()()()()()(),e.j41(401,"tr")(402,"td"),e.EFF(403,"_pc*"),e.k0s(),e.j41(404,"td"),e.EFF(405,"Piano"),e.k0s(),e.j41(406,"td",10)(407,"table",11)(408,"tbody")(409,"tr",12)(410,"td",13),e.EFF(411,"Piano application cookie"),e.k0s()()()()()(),e.j41(412,"tr")(413,"td"),e.EFF(414,"cX_P"),e.k0s(),e.j41(415,"td"),e.EFF(416,"Piano"),e.k0s(),e.j41(417,"td",10)(418,"table",11)(419,"tbody")(420,"tr",12)(421,"td",13),e.EFF(422,"Piano application cookie"),e.k0s()()()()()(),e.j41(423,"tr")(424,"td"),e.EFF(425,"gckp"),e.k0s(),e.j41(426,"td"),e.EFF(427,"Piano"),e.k0s(),e.j41(428,"td",10)(429,"table",11)(430,"tbody")(431,"tr",12)(432,"td",13),e.EFF(433,"Piano application cookie"),e.k0s()()()()()(),e.j41(434,"tr")(435,"td"),e.EFF(436,"piano-id-initial-gm-sso-shown-3j6Or6UFpu"),e.k0s(),e.j41(437,"td"),e.EFF(438,"Piano"),e.k0s(),e.j41(439,"td",10)(440,"table",11)(441,"tbody")(442,"tr",12)(443,"td",13),e.EFF(444,"Piano application cookie"),e.k0s()()()()()(),e.j41(445,"tr")(446,"td"),e.EFF(447,"xbc"),e.k0s(),e.j41(448,"td"),e.EFF(449,"Piano"),e.k0s(),e.j41(450,"td",10)(451,"table",11)(452,"tbody")(453,"tr",12)(454,"td",13),e.EFF(455,"Piano application cookie"),e.k0s()()()()()(),e.j41(456,"tr")(457,"td"),e.EFF(458,"__cf_bm"),e.k0s(),e.j41(459,"td"),e.EFF(460,"Piano"),e.k0s(),e.j41(461,"td",10),e.EFF(462,"Piano/CloudFlare load balancing cookie"),e.k0s()(),e.j41(463,"tr")(464,"td"),e.EFF(465,"vuid"),e.k0s(),e.j41(466,"td"),e.EFF(467,"Vimeo"),e.k0s(),e.j41(468,"td",10),e.EFF(469,"Vimeo tracking cookie"),e.k0s()(),e.j41(470,"tr")(471,"td"),e.EFF(472,"wordpress*"),e.k0s(),e.j41(473,"td"),e.EFF(474,"WordPress"),e.k0s(),e.j41(475,"td",10),e.EFF(476,"Wordpress application functional cookies"),e.k0s()(),e.j41(477,"tr")(478,"td"),e.EFF(479,"__cf_bm"),e.k0s(),e.j41(480,"td"),e.EFF(481,"CloudFlare"),e.k0s(),e.j41(482,"td",10),e.EFF(483,"To improve the performance, security, and reliability"),e.k0s()(),e.j41(484,"tr")(485,"td"),e.EFF(486,"_cfuvid"),e.k0s(),e.j41(487,"td"),e.EFF(488,"CloudFlare"),e.k0s(),e.j41(489,"td",10),e.EFF(490,"To improve the performance, security, and reliability"),e.k0s()(),e.j41(491,"tr")(492,"td"),e.EFF(493,"cf_clearance"),e.k0s(),e.j41(494,"td"),e.EFF(495,"CloudFlare"),e.k0s(),e.j41(496,"td",10),e.EFF(497,"To improve the performance, security, and reliability"),e.k0s()()()()()()()(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.isLoggedIn),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-logged-in",s.isLoggedIn),e.R7$(5),e.Y8G("routerLink",e.lJ4(7,Hs))}}let fc=(()=>{class c extends St.$G{constructor(s){super(),this.store=s,this.isLoggedIn=null}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status==St.TD.Successful}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["cookie-policy-view"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","title",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-md-8","col-12","offset-md-2"],[1,"content"],[1,"fw-bold"],["target","_blank",3,"routerLink"],[1,"table","table-striped"],[1,"thead"],[2,"width","453px"],["width","352",2,"border-collapse","collapse","width","264pt"],["height","19",2,"height","14.25pt"],["height","19","width","352",2,"height","14.25pt","width","264pt"],[1,"title"]],template:function(u,h){1&u&&e.DNE(0,ku,498,8,"ng-container",0),2&u&&e.Y8G("ngIf",null!=h.isLoggedIn)},dependencies:[Lt.bT,an.Wk],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-size:14px;font-weight:400}.content[_ngcontent-%COMP%]:not(.is-logged-in){margin-top:40px;padding:30px;background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:30px;margin-bottom:10px;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:block;width:100%}.content[_ngcontent-%COMP%]   p.indent[_ngcontent-%COMP%]{padding-left:20px}"]})}}return c})();function kd(c,m){1&c&&(e.j41(0,"section",8)(1,"h1"),e.EFF(2,"Notice of change of data controller"),e.k0s()())}function aa(c,m){1&c&&(e.j41(0,"h2"),e.EFF(1,"Notice of change of data controller"),e.k0s())}const Dl=function(){return["/privacy-policy"]};function Du(c,m){if(1&c&&(e.qex(0),e.DNE(1,kd,3,0,"section",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(
15,aa,2,0,"h2",0),e.j41(6,"div",5)(7,"p"),e.EFF(8,"We, Foresight News Limited, are contacting you to let you know that following a change in ownership, we now own and run Foresight News, which was previously owned and run by Xeim Limited as part of Centaur Media plc."),e.k0s(),e.j41(9,"p"),e.EFF(10,"For data protection purposes we need to let you know that as part of the re-structure, Xeim Limited has transferred to us its Foresight News customer and marketing databases so we can continue to run the Foresight News business."),e.k0s(),e.j41(11,"p"),e.EFF(12,"For data protection purposes we are now the \u201ccontroller\u201d of any personal data we hold about you in connection with Foresight News (such as your customer account details and contact details) \u2013 this means we are responsible for how that data is used. We will continue to use your personal data in accordance with our "),e.j41(13,"a",6),e.EFF(14,"privacy policy"),e.k0s(),e.EFF(15,"."),e.k0s(),e.j41(16,"p"),e.EFF(17,"If you have any questions, please contact us at "),e.j41(18,"a",7),e.EFF(19,"[email protected]"),e.k0s(),e.EFF(20,"."),e.k0s()()()()(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.isLoggedIn),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-logged-in",s.isLoggedIn),e.R7$(7),e.Y8G("routerLink",e.lJ4(7,Dl))}}let gc=(()=>{class c extends St.$G{constructor(s){super(),this.store=s,this.isLoggedIn=null}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status==St.TD.Successful}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["data-controller-view"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","title",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-md-8","col-12","offset-md-2"],[1,"content"],["target","_blank",3,"routerLink"],["href","mailto: [email protected]"],[1,"title"]],template:function(u,h){1&u&&e.DNE(0,Du,21,8,"ng-container",0),2&u&&e.Y8G("ngIf",null!=h.isLoggedIn)},dependencies:[Lt.bT,an.Wk],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-size:14px;font-weight:400}.content[_ngcontent-%COMP%]:not(.is-logged-in){margin-top:40px;padding:30px;background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:30px;margin-bottom:10px;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:block;width:100%}.content[_ngcontent-%COMP%]   p.indent[_ngcontent-%COMP%]{padding-left:20px}"]})}}return c})();function Ql(c,m){1&c&&(e.j41(0,"section",8)(1,"h1"),e.EFF(2,"Privacy Policy"),e.k0s()())}function El(c,m){1&c&&(e.j41(0,"h2"),e.EFF(1,"Privacy Policy"),e.k0s())}function Ug(c,m){if(1&c&&(e.qex(0),e.DNE(1,Ql,3,0,"section",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(5,El,2,0,"h2",0),e.j41(6,"div",5)(7,"ol")(8,"li")(9,"p",6),e.EFF(10,"SCOPE AND CONTACT "),e.k0s(),e.j41(11,"p"),e.EFF(12,"This Privacy Policy applies to personal data collected by Foresight News Limited on websites (including mobile sites and apps) which link to this Privacy Policy, via registration forms, surveys, if you contact us (online, by post, telep
1hone or social media) and in the course of providing our services. "),e.k0s(),e.j41(13,"p"),e.EFF(14,"Your privacy is very important to us and this Privacy Policy sets out how we will process your personal data and what rights you have in respect of your own personal data. We will securely store and process personal data which you have provided to us. "),e.k0s(),e.j41(15,"p"),e.EFF(16,"The aim of this Privacy Policy is to tell you how we will use any personal data we collect or you provide to us. Please read it carefully before you proceed. "),e.k0s(),e.j41(17,"p"),e.EFF(18,"If you have any questions about this Privacy Policy or your rights in respect of your personal data, please contact us at [email protected]."),e.k0s()(),e.j41(19,"li")(20,"p",6),e.EFF(21,"WHAT PERSONAL DATA DO WE COLLECT? "),e.k0s(),e.j41(22,"p"),e.EFF(23,"If you wish to register on our websites or mobile apps, subscribe to or use our services, request further information, contact us, complete any surveys, provide feedback on our services, enter competitions, or provide content for our events or inclusion on our website, we will collect certain data, including personal data. The data we collect may include "),e.k0s(),e.j41(24,"ul")(25,"li"),e.EFF(26,"title, name, address, business phone number(s), email address and gender;"),e.k0s(),e.j41(27,"li"),e.EFF(28,"employment details, such as your current role and responsibilities, experience, seniority, salary and education;"),e.k0s(),e.j41(29,"li"),e.EFF(30,"information about your organisation and the industry that you work in;"),e.k0s(),e.j41(31,"li"),e.EFF(32,"areas of interest which you have notified us about, as well as what we can infer from your engagement with our products and services;"),e.k0s(),e.j41(33,"li"),e.EFF(34,"your CV;"),e.k0s(),e.j41(35,"li"),e.EFF(36,"your marketing preferences;"),e.k0s(),e.j41(37,"li"),e.EFF(38,"your newsletter preferences;"),e.k0s(),e.j41(39,"li"),e.EFF(40,"data collected from social networking sites;"),e.k0s(),e.j41(41,"li"),e.EFF(42,"information regarding materials that you might be interested in (for example, information regarding materials we share on our networking platforms);"),e.k0s(),e.j41(43,"li"),e.EFF(44,"questions, comments, requests and feedback that you provide to us as part of your use of our services; and"),e.k0s(),e.j41(45,"li"),e.EFF(46,"any other information that you submit to us"),e.k0s()(),e.j41(47,"p"),e.EFF(48,"We may receive the above information directly from you (for example, when you register) or from your colleague or corporate contact who registers for a subscription on your behalf. We may also receive personal data about you from third parties we have a contractual relationship with."),e.k0s(),e.j41(49,"p"),e.EFF(50,"Please note that not all of the information we request is mandatory to provide you with our services, and you are not required to provide any optional information when setting up an account on our website. You may choose to add more information other than required by the necessary fields when registering for the platform."),e.k0s(),e.j41(51,"p"),e.EFF(52,"When someone else uploads information about you on one of our platforms, for example, to register you as a user for a subscription, we will receive that information about you, including any personal data. We do not have control over any information that might be uploaded by any members of our platform at the point at which they upload it."),e.k0s(),e.j41(53,"p"),e.EFF(54,"If your behaviour on the platform is deemed inappropriate, we may close down your account and prohibit you from taking part. For more information on the codes of conduct or terms of use which apply to our platform, please see our booking terms and conditions."),e.k0s(),e.j41(55,"p"),e.EFF(56,"Financial Information: We will keep a record of any financial transaction you make with us. Online payments, including those made through our websites, are processed securely by the following Stripe. Please refer to Stripe\u2019s privacy policy at https://stripe.com/gb/privacy for details of how your payment card data is processed by them."),e.k0s(),e.j41(57,"p"),e.EFF(58,"Device and browsing data: In addition, we may automatically collect information about any website that you came from or are going to. We also collect information about the pages of our websites which you visit (including those on which you access our services), the links you click on, IP addresses, the type of browser you use and the times you access our websites. Some of this information is aggregated and is not used to identify you, but we also use analytics software on our websites which allows us to link information about your use of our websites back to you, where you have logged into your account. We may observe your use of our websites and services, and whether you open emails we have sent to you. We may infer and derive certain information from these observations such as what additional subscriptions, content or newsletters you or a user similar to you may be interested in. This information will be used for our own internal and marketing purposes."),e.k0s(),e.j41(59,"p"),e.EFF(60,"Sales and marketing solutions data: We obtain data relating to business professionals from third party data providers. This includes data concerning job role and business contact information. We use this information to contact people in their professional capacity about content, subscriptions and webinars that we are participating in that we believe will be of interest to them."),e.k0s(),e.j41(61,"p"),e.EFF(62,"Online publications and insight products: Our online publications and insight products contain personal data related to relevant industry professionals and public figures."),e.k0s(),e.j41(63,"p"),e.EFF(64,"We process information in press releases and materials promoting events, including press contact information, which we may make available, where relevant, to our subscribers. We also use a range of publicly available sources such as government, company and law firm websites, social media, such as LinkedIn, court records and regulatory websites, such as the SRA, legal directories, other news reports and online commentary."),e.k0s(),e.j41(65,"p"),e.EFF(66,"Cookies: We use cookies to collect information about you online. Please read our Cookie Policy for further information on the cookies we use and how you can enable/disable them."),e.k0s()(),e.j41(67,"li")(68,"p",6),e.EFF(69,"HOW WILL YOUR PERSONAL DATA BE USED AND SHARED? "),e.k0s(),e.j41(70,"p"),e.EFF(71,"In accordance with data protection legislation, we will only process your personal data where we have a lawful basis for doing so. These bases are: (i) where it is necessary for the performance of a contract we have with you; (ii) where you have provided your consent; (iii) where it is necessary for us to comply with a legal obligation that we are subject to; or (iv) where it is in our (or a third party\u2019s) legitimate interests and such interests are not overridden by your interests or fundamental rights and freedoms."),e.k0s(),e.j41(72,"p"),e.EFF(73,"Specifically, we\u2019ve set out in this Privacy Policy the purposes for which we process your personal data and the lawful basis on which we carry out such processing."),e.k0s(),e.j41(74,"p"),e.EFF(75,"We use the personal data we collect to:"),e.k0s(),e.j41(76,"ul")(77,"li"),e.EFF(78,"provide the products and services you (or the company you work for) have ordered, signed-up to or otherwise use (necessary for a contract or, where your company contracts with us, our legitimate interests in fulfilling our contract with the company you work for);"),e.k0s(),e.j41(79,"li"),e.EFF(80,"notify you of key information in relation to your subscription (necessary for a contract and legitimate interests, of our customers, to ensure they are up to date with necessary information);"),e.k0s(),e.j41(81,"li"),e.EFF(82,"verify your identity and details of your purchase (where payments are required) (necessary to comply with our legal obligations);"),e.k0s(),e.j41(83,"li"),e.EFF(84,"administer our websites and mobile apps (such as access controls) and provide customer services (legitimate interests, of us and our customers, to ensure a good quality of service and security);"),e.k0s(),e.j41(85,"li"),e.EFF(86,"aggregate information about you with other users (legitimate interests, of us, to better understand what services our users will be interested in);"),e.k0s(),e.j41(87,"li"),e.EFF(88,"meet legal, regulatory and compliance requirements (necessary to comply with our legal obligations);"),e.k0s(),e.j41(89,"li"),e.EFF(90,"monitor and analyse the use of any account to prevent, investigate and/or report fraud, terrorism, misrepresentation, security incidents or crime (legitimate interests, of us and our users, for security);"),e.k0s(),e.j41(91,"li"),e.EFF(92,"gather information to form statistical and trend anal
1ysis including to monitor user demographic (legitimate interests, of us, so we can better understand those that use our products and services and improve our products, services, events and marketing practices);"),e.k0s(),e.j41(93,"li"),e.EFF(94,"monitor your use of our products and services, as well as your responses to targeted direct marketing emails, in order to build up customer profiles (including through use of analytics software) (legitimate interests, of us, to help us identify content and marketing materials which will be of interest to you and other customers like you);"),e.k0s(),e.j41(95,"li"),e.EFF(96,"in the case of special category personal data on Foresight News, such data is included in the profile only where this is manifestly made public by the person in question;"),e.k0s(),e.j41(97,"li"),e.EFF(98,"communicate with you including responding to your enquiries (necessary for a contract, or consent);"),e.k0s(),e.j41(99,"li"),e.EFF(100,"send you surveys (consent);"),e.k0s(),e.j41(101,"li"),e.EFF(102,"send you market research questions to help us better understand our position in the market (legitimate interests);"),e.k0s(),e.j41(103,"li"),e.EFF(104,"contact you to seek your feedback (legitimate interests, of us, in helping us improve);"),e.k0s(),e.j41(105,"li"),e.EFF(106,"use your feedback in our marketing materials (legitimate interests, of us, to promote our products and services);"),e.k0s(),e.j41(107,"li"),e.EFF(108,"investigate any complaints about our websites, products, services or events (legitimate interests, for us and our customers, to ensure that we maintain high service levels);"),e.k0s(),e.j41(109,"li"),e.EFF(110,"develop, enhance and improve products and services, including by reviewing how individuals use our products and services and feedback that we receive; in some circumstances, we may use personal data contained in content on our online publications to tailor AI systems to be incorporated into our products and services (legitimate interests to develop, enhance and improve our service offering, consent in respect of the use of cookies or similar technologies);"),e.k0s(),e.j41(111,"li"),e.EFF(112,"personalise your experience of our websites, products, services and events. This includes, without limitation, by displaying targeted advertising and content which we believe likely to be relevant and of interest to you (please see below for further details) (consent or legitimate interests (as indicated in our consent management platform). We will also personalise your use of our services by providing you with information about our content, events and products that we think will be of interest to you based on how you interact with our services (legitimate interests to provide tailored content for you, or consent where required by law). We will seek your consent for the use of any cookies in connection with this;"),e.k0s(),e.j41(113,"li"),e.EFF(114,"provide you with the prize for competitions you enter and win (necessary for a contract) and to comply with regulatory requirements to disclose a competition winner\u2019s name and county (necessary to comply with our legal obligations); and"),e.k0s(),e.j41(115,"li"),e.EFF(116,"send you newsletters, briefings and other industry updates that you have selected to receive (consent) or which are included as part of our subscription product offering and which you have not opted out of receiving (legitimate interests in bringing relevant industry news and insights directly to our users and delivering the subscription products customers have purchased). You can manage which updates you want to receive via your account"),e.k0s()(),e.j41(117,"p"),e.EFF(118,"We may also process your personal data for additional purposes in the future, but only if such purposes are compatible with those listed above and if we believe that the same lawful basis applies."),e.k0s(),e.j41(119,"p"),e.EFF(120,"In certain circumstances, you may be obliged to provide us with your personal data under a statutory or contractual requirement. This might include, but is not limited to, personal data we require to enter into an agreement with you (for example, information required for registration for our platform); for tax and accounting purposes; and to enable us to fulfil our compliance and other obligations under relevant legislation or regulation. Failure to provide us with personal data required under a statutory or contractual requirement may prevent us from performing our obligations under a contract with you or entering into a contract with you (for example, our networking platforms will not be available to you if you do not provide the necessary information for the registration form)."),e.k0s(),e.j41(121,"p",7),e.EFF(122,"Marketing Communications"),e.k0s(),e.j41(123,"p"),e.EFF(124,"Our own marketing: We may from time to time contact you by email, SMS, telephone or post about our products and services that may be of interest to you (legitimate interests, of us, to promote our products and services, and of our customers, to keep them up to date with promotions, events and subscriptions which may be relevant to their professions and job roles). Further information about such marketing is below."),e.k0s(),e.j41(125,"p"),e.EFF(126,"We will also use your personal data to send you business-to-business marketing about products, services and events."),e.k0s(),e.j41(127,"p"),e.nrm(128,"span",7),e.EFF(129,"Opting-out: Our customers and potential customers always have the right to let us know that they no longer want to be contacted for marketing purposes. If at any point you would like to opt-out of receiving such marketing communications from us, or would like to change the channels that we use to contact you, please click on the unsubscribe link at the bottom of any emails you receive, or email us, stating your preferences, at [email protected]"),e.k0s(),e.j41(130,"p"),e.EFF(131,"Third party marketing: We may share your registration information (including name, job title and contact details) with third parties for marketing purposes, where you have provided consent for us to do so or otherwise in the circumstances set out below and in the \u201cother ways in which we use and share your personal data\u201d section."),e.k0s(),e.j41(132,"p",7),e.EFF(133,"Other ways in which we use and share your personal data"),e.k0s(),e.j41(134,"p"),e.EFF(135,"Sales calls recordings: We may record calls and video calls made by our sales team for internal training purposes, including following a complaint (legitimate interests, of us, to maintain high standards and establish facts). We keep the recordings and written transcripts for 3 years."),e.k0s(),e.j41(136,"p"),e.EFF(137,"Events (including webinars): Where you are attending a virtual event, we may use a third party technology service provider to help facilitate this, meaning the information you provide to us may also be shared with them (for the purpose of administering the event)."),e.k0s(),e.j41(138,"p"),e.EFF(139,"Sponsored webinars and whitepapers: Where you sign up for a sponsored webinar or to access sponsored content such as whitepapers, we share your sign-up details with that sponsor who may contact you (legitimate interests, of us, to enable us to offer our users premium business content free of charge, and of our sponsors, to facilitate business-to-business relationships). We use third party technology service providers to help facilitate this. If you do not wish for your details to be shared with a sponsor we usually offer an alternative means of accessing this content."),e.k0s(),e.j41(140,"p"),e.EFF(141,"Your employer: Where your subscription to our service is a part of a wider corporate subscription (i.e. your employer obtains a subscription for its employees) we may share information about your use of the service with your employer (legitimate interests, of your employer, so they can understand how their staff are making use of the resources they have purchased)."),e.k0s(),e.j41(142,"p"),e.EFF(143,"Service providers: We may employ the services of third party service providers, including (but not limited to) technology platforms, to help us in certain areas such as website hosting, maintenance, call centre operation, the operation of events and customer relationship management, including to track our marketing efforts. We also use third party technology and AI providers to assist us to provide our services. In some cases the third party may receive your personal data (in some instances this will be on the basis of legitimate interests, of us, for service eff
1iciency and to benefit from third party expertise, and our customers so they experience a good quality of service). However, at all times, we will control and be responsible for the use of your personal data and we will endeavour to ensure that our service providers are bound by contractual obligations to only process your personal data in accordance with our instructions. In some circumstances, we may enable third party service providers to anonymise your personal data and use the anonymised and aggregated data to enable them to improve their underlying services."),e.k0s(),e.j41(144,"p"),e.EFF(145,"Aggregate information: As mentioned above, we may use aggregated information so we can administer and improve our website, and services, analyse trends and gather broad demographic information and detect suspicious or fraudulent transactions. We may pass this information to third parties. In most cases this information will be anonymised, meaning that you will not be able to be identified from it."),e.k0s(),e.j41(146,"p"),e.EFF(147,"Surveys: If you complete a survey, unless we inform you otherwise, your answers will be aggregated and anonymised for research and analysis purposes. However, if you choose to provide any information in your response to a survey which identifies you (e.g. name, job title), we may be able to identify you from this. If you choose to submit your email address to enter into any prize associated with the survey, this will be used to administer the prize only and will not be linked to your survey responses (necessary for a contract). We may share your responses in an aggregated and anonymised form with third parties carrying out research relating to the topics covered in the survey or, if the survey relates to your use of one of our subscription products, and this forms part of a corporate subscription taken out by your employer for you and other employees, we may share information provided in your survey responses about your use of the subscription with your employer (legitimate interests, for research purposes). If you have included information about yourself in your survey responses (e.g. name, job title), third parties or your employer (as appropriate) may be able to identify you from this. Our surveys may be sent out directly by us or by third parties on our behalf."),e.k0s(),e.j41(148,"p"),e.EFF(149,"Administration of justice: We may occasionally be required by law, court order or governmental authority to disclose certain types of personal data (necessary to comply with a legal obligation, or for legitimate interests in connection with a legal claim against us). Examples of the type of situation where this would occur would be:"),e.k0s(),e.j41(150,"ul")(151,"li"),e.EFF(152,"in the administration of justice; or"),e.k0s(),e.j41(153,"li"),e.EFF(154,"where we have to defend ourselves legally."),e.k0s()(),e.j41(155,"p"),e.EFF(156,"Journalism and insight products: We process personal data about individuals who feature in our online publications and insight products on the basis of legitimate interests (disseminating information to the public) and for journalistic purposes. Occasionally, our publications include personal data of a sensitive nature, such as political affiliations, health data or information about criminal offences. We process this information where the individual has made the information public, where they have given their express consent or where we consider there is a substantial public interest in making this information available to the public for journalistic purposes. Content in our online publications and in our insight products is either publicly available or available to our subscribers worldwide and is used to develop and provide our products and services."),e.k0s(),e.j41(157,"p"),e.EFF(158,"Other:"),e.k0s(),e.j41(159,"p"),e.EFF(160,"We use publicly available sources to research prospective customers in order to send them marketing information about products and services relevant to them (legitimate interests, to grow our business)."),e.k0s(),e.j41(161,"p"),e.EFF(162,"If you are submitting personal data on behalf of another or are submitting personal data which may be used publicly on our products, you should only do so where you have the consent of the individual and it will be your responsibility to ensure that the individual is made aware of this Privacy Policy and our processing of their personal data."),e.k0s()(),e.j41(163,"li")(164,"p"),e.EFF(165,"SALE OF THE BUSINESS"),e.k0s(),e.j41(166,"p"),e.EFF(167,"In the event that the business is sold or integrated 
1with another business, your details will be disclosed to our advisers and any prospective purchaser\u2019s advisers and will be passed to the new owners of the business (our legitimate interests in the transaction, including our commercial interests). "),e.k0s()(),e.j41(168,"li")(169,"p"),e.EFF(170,"FRAUD PREVENTION AND AUTOMATED DECISION-MAKING"),e.k0s(),e.j41(171,"p"),e.EFF(172,"Our third party payment service providers may check the validity of the sort code, account number and card number you submit in order to prevent fraud as well as to process any transaction you attempt via our websites. Any decision to deny you services based on the validity of your card details will be made solely by automated means. If you are denied a service because of this automated decision-making you are entitled to request us to further investigate. Please contact us at [email protected] where you have been denied access to a service based on your card details being declared invalid and you consider this to be in error. It may al
1so be the case that you will need to contact your bank / payment provider. "),e.k0s(),e.j41(173,"p"),e.EFF(174,"If false or inaccurate information is provided and fraud is identified, details may be passed to fraud prevention agencies. Law enforcement agencies may access and use this information. We and other organisations may also access and use this information to prevent fraud and money laundering, for example when: "),e.k0s(),e.j41(175,"ul")(176,"li"),e.EFF(177,"checking details in applications for credit and credit related or other facilities;"),e.k0s(),e.j41(178,"li"),e.EFF(179,"managing credit and credit related accounts or facilities;"),e.k0s(),e.j41(180,"li"),e.EFF(181,"recovering debt;"),e.k0s(),e.j41(182,"li"),e.EFF(183,"checking details on proposals and claims for all types of insurance; and"),e.k0s(),e.j41(184,"li"),e.EFF(185,"checking details of job applicants and employees."),e.k0s()()(),e.j41(186,"li")(187,"p"),e.EFF(188,"TRANSFER OF YOUR PERSONAL DATA OUTSIDE THE UK AND EEA"),e.k0s(),e.j41(189,"p"),e.EFF(190,"We may transfer some of your personal data to our group company in the United States of America. In addition, we and third parties (such as service providers processing personal data on our behalf), transfer personal data to servers and third parties outside the UK and EEA including in the United States of America and India. These countries may not have equivalent data protection legislation to the UK. However, when we transfer your personal data in this way we will endeavour to ensure that adequate safeguard measures are in place so that your personal data is treated in a way that is consistent with and which respects the UK and EEA laws on data protection, including via standard contractual clauses. If you require further information about our safeguard measures in place you can request it from [email protected]. "),e.k0s()(),e.j41(191,"li")(192,"p"),e.EFF(193,"LINKS"),e.k0s(),e.j41(194,"p"),e.EFF(195,"Our site contains links to other websites over which we have no control. We are not responsible for privacy policies or practices of other websites to which you choose to link from this site. We encourage you to review the privacy policies of those other websites so you can understand how they collect, use and share your personal data. "),e.k0s()(),e.j41(196,"li")(197,"p"),e.EFF(198,"SECURITY"),e.k0s(),e.j41(199,"p"),e.EFF(200,"We have implemented reasonable technical and organisational measures designed to secure your personal data from accidental loss and from unauthorised access, use, alteration or disclosure. However, the Internet is an open system and we cannot guarantee that unauthorised third parties will never be able to defeat those measures or use your personal data for improper purposes. "),e.k0s()(),e.j41(201,"li")(202,"p"),e.EFF(203,"YOUR RIGHTS"),e.k0s(),e.j41(204,"p"),e.EFF(205,"Under certain circumstances, by law, you have the following rights in relation to your personal data: "),e.k0s(),e.j41(206,"ul")(207,"li"),e.EFF(208,"a right of access to your personal data held by us; "),e.k0s(),e.j41(209,"li"),e.EFF(210,"a right to receive your personal data in machine-readable format (known as data portability); "),e.k0s(),e.j41(211,"li"),e.EFF(212,"a right to object to processing of your personal data where we are relying on legitimate interests (or those of a third party) for a particular purpose and you believe your circumstances mean you are unjustifiably prejudiced by this processing and where we do not have compelling legitimate interests to override such objection; "),e.k0s(),e.j41(213,"li"),e.EFF(214,"a right to ask us not to process your personal data for direct marketing purposes (including profiling for the purpose of direct marketing) and you can find out more information about how to unsubscribe or adjust your marketing preferences in Paragraph 3 above. "),e.k0s(),e.j41(215,"li"),e.EFF(216,"a right to object to decisions being taken by automated means which significantly affects you (for more information on how to exercise this right see Paragraph 5 above); "),e.k0s(),e.j41(217,"li"),e.EFF(218,"where we have sought your consent to use your personal data for a particular purpose, a right to withdraw your consent at any time. You can do that by the methods set out in this Privacy Policy or by any other method we inform you of when seeking your consent; "),e.k0s(),e.j41(219,"li"),e.EFF(220,"a right in certain circumstances to have personal data rectified, blocked, erased or destroyed; and "),e.k0s(),e.j41(221,"li"),e.EFF(222,"a right to complain to your data protection supervisory authority."),e.k0s()(),e.j41(223,"p"),e.EFF(224,"These rights can be exercised by contacting us at [email protected]. In order to protect you, we reserve the right to verify your identity before processing any such request. "),e.k0s()()()()()()(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.isLoggedIn),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-logged-in",s.isLoggedIn)}}let xl=(()=>{class c extends St.$G{constructor(s){super(),this.store=s,this.isLoggedIn=null}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status==St.TD.Successful}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["privacy-policy-view"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","title",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-md-8","col-12","offset-md-2"],[1,"content"],[1,"font-weight-bold"],[2,"text-decoration","underline","font-weight","bold"],[1,"title"]],template:function(u,h){1&u&&e.DNE(0,Ug,225,6,"ng-container",0),2&u&&e.Y8G("ngIf",null!=h.isLoggedIn)},dependencies:[Lt.bT],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-size:14px;font-weight:400}.content[_ngcontent-%COMP%]:not(.is-logged-in){margin-top:40px;padding:30px;background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:30px;margin-bottom:10px;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:block;width:100%}.content[_ngcontent-%COMP%]   p.indent[_ngcontent-%COMP%]{padding-left:20px}"]})}}return c})();function wf(c,m){1&c&&(e.j41(0,"section",10)(1,"h1"),e.EFF(2,"Terms & Conditions"),e.k0s()())}function Hr(c,m){1&c&&(e.j41(0,"h2"),e.EFF(1,"Terms & Conditions"),e.k0s())}const Jl=function(){return["/privacy-policy"]},mc=function(){return["/cookie-policy"]};function Hg(c,m){if(1&c&&(e.qex(0),e.DNE(1,wf,3,0,"section",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.DNE(
15,Hr,2,0,"h2",0),e.j41(6,"div",5)(7,"p"),e.EFF(8,"These Website Terms and Conditions (the \u201cTerms and Conditions\u201d) apply to the website owned and operated by Foresight News Limited, https://www.foresightnews.com (the \u201cWebsite\u201d)."),e.k0s(),e.j41(9,"p"),e.EFF(10,"When we mention \u201cwe\u201d, \u201cus\u201d and/or \u201cour\u201d in these Terms and Conditions, we are referring to Foresight News Limited, registered in England and Wales with company number 16385394."),e.k0s(),e.j41(11,"p"),e.EFF(12,"\u201cUser\u201d, \u201cCustomer\u201d, \u201cyou\u201d and/or \u201cyour\u201d means any person who uses the Website."),e.k0s(),e.j41(13,"p",6),e.EFF(14,"1. INTRODUCTION"),e.k0s(),e.j41(15,"p"),e.EFF(16,"1.1 Please read these Terms and Conditions carefully and make sure that you understand them before you start to use the Website. We recommend that you print a copy of these Terms and Conditions for future reference."),e.k0s(),e.j41(17,"p"),e.EFF(18,"1.2 These Terms and Conditions govern:"),e.k0s(),e.j41(19,"p",7),e.EFF(20,"\u2022\t1.2.1 your access to, and use of, the Website and the content on it; and"),e.k0s(),e.j41(21,"p",7),e.EFF(22,"\u2022\t1.2.2 your submission of any comments, postings, contributions, designs, words, images or other material to the Website (\u201cContributions\u201d)."),e.k0s(),e.j41(23,"p"),e.EFF(24,"1.3 If you choose to subscribe to any publication and/or other services that are available via the Website your subscription will be subject to additional terms and conditions which will be notified to you when you subscribe for the relevant publication or service. Some of the provisions contained in these Terms and Conditions may also be superseded or supplemented by additional terms and conditions or notices published elsewhere on the Website. These will be drawn to your attention where applicable to you. In the event that there is any conflict between these Terms and Conditions and any additional or supplemental terms on the Website (\u201cAdditional Terms\u201d), the Additional Terms shall prevail."),e.k0s(),e.j41(25,"p"),e.EFF(26,"1.4 By using the Website you confirm that you accept these Terms and Conditions and that you agree to comply with them."),e.k0s(),e.j41(27,"p"),e.EFF(28,"1.5 We may revise these Terms and Conditions at any time. You should check this page from time to time to take note of any changes we make, as they are binding on you from the date that we make them."),e.k0s(),e.j41(29,"p"),e.EFF(30,"1.6 These Terms and Conditions, any Additional Terms and any contract concluded between us via the Website, are only available in the English language."),e.k0s(),e.j41(31,"p",6),e.EFF(32,"2. ACCESS TO OUR WEBSITE"),e.k0s(),e.j41(33,"p"),e.EFF(34,"2.1 We shall endeavour to provide constant, uninterrupted access to the Website and any content on it, but we cannot and do not guarantee to do so. Access to our Website is permitted on a temporary basis. We may suspend, withdraw, discontinue or change all or any part of our Website without notice. Save where expressly stated otherwise in any Additional Terms, we will not be liable to you if for any reason our Website is unavailable or is withdrawn at any time or for any period."),e.k0s(),e.j41(35,"p"),e.EFF(36,"2.2 You are responsible for making all arrangements necessary for you to have access to our Website."),e.k0s(),e.j41(37,"p",6),e.EFF(38,"3. CHANGES TO THE WEBSITE"),e.k0s(),e.j41(39,"p"),e.EFF(40,"3.1 We may update the Website from time to time, and may change the content of the Website at any time. However, please note that any of the content on the Website may be out of date at any given time, and we are under no obligation to update it."),e.k0s(),e.j41(41,"p",6),e.EFF(42,"4. YOUR CUSTOMER ACCOUNT AND PASSWORD"),e.k0s(),e.j41(43,"p"),e.EFF(44,"4.1 We may choose to restrict access to the Website or to parts of it to registered users."),e.k0s(),e.j41(45,"p"),e.EFF(46,"4.2 If you choose, or you are provided with, a user identification name, code or password to access certain parts of our Website, you must treat such information as confidential. Your identification name, code and/or password are non-transferable."),e.k0s(),e.j41(47,"p"),e.EFF(48,"4.3 We have the right to disable any user identification name, code or password, whether chosen by you or allocated by us, at any time, if in our reasonable opinion you have failed to comply with any of the provisions of these Terms and Conditions or any Additional Terms."),e.k0s(),e.j41(49,"p"),e.EFF(50,"4.4 If you know or suspect that anyone other than you knows your user identification name, code or password, you must immediately notify us at "),e.j41(51,"a",8),e.EFF(52,"[email protected]"),e.k0s(),e.EFF(53,"."),e.k0s(),e.j41(54,"p"),e.EFF(55,"4.5 You are liable for any unauthorised use of your user name, code and/or password."),e.k0s(),e.j41(56,"p",6),e.EFF(57,"5. ACCEPTABLE USE POLICY"),e.k0s(),e.j41(58,"p"),e.EFF(59,"5.1 General"),e.k0s(),e.j41(60,"p"),e.EFF(61,"5.1.1 You may only use our Website for lawful purposes. You may not use our Website:"),e.k0s(),e.j41(62,"p",7),e.EFF(63,"\u2022\t(a) in any way that breaches any applicable local, national or international law or regulation;"),e.k0s(),e.j41(64,"p",7),e.EFF(65,"\u2022\t(b) in any way that is unlawful or fraudulent, or has any unlawful or fraudulent purpose or effect;"),e.k0s(),e.j41(66,"p",7),e.EFF(67,"\u2022\t(c) to send, knowingly receive, upload, download, use or re-use any material (including Contributions) which does not comply with the Standards (as defined in Clause 5);"),e.k0s(),e.j41(68,"p",7),e.EFF(69,"\u2022\t(d) to transmit, or procure the sending of, any unsolicited or unauthorised advertising or promotional material or any other form of similar solicitation (spam); or"),e.k0s(),e.j41(70,"p",7),e.EFF(71,"\u2022\t(e) to knowingly transmit any data, send or upload any material (including Contributions) that contains viruses, Trojan horses, worms, time-bombs, keystroke loggers, spyware, adware or any other harmful programs or similar computer code intended to damage, detrimentally interfere with, surreptitiously intercept or expropriate any system, data or personal information or adversely affect the operation of any computer softw
1are or hardware."),e.k0s(),e.j41(72,"p"),e.EFF(73,"5.1.2 You agree:"),e.k0s(),e.j41(74,"p",7),e.EFF(75,"\u2022\t(a) not to reproduce, duplicate, copy or re-sell any part of our Website save where expressly permitted to do so by these Terms and Conditions or any Additional Terms; and"),e.k0s(),e.j41(76,"p",7),e.EFF(77,"\u2022\t(b) not to access without authority, interfere with, damage or disrupt:"),e.k0s(),e.j41(78,"p",7),e.EFF(79,"\u2022\t(i) any part of our Website;"),e.k0s(),e.j41(80,"p",7),e.EFF(81,"\u2022\t(ii) any equipment or network on which our Website is stored;"),e.k0s(),e.j41(82,"p",7),e.EFF(83,"\u2022\t(iii) any software used in the provision of our Website; or"),e.k0s(),e.j41(84,"p",7),e.EFF(85,"\u2022\t(iv) any equipment or network or software owned or used by any third party."),e.k0s(),e.j41(86,"p"),e.EFF(87,"5.2 Interactive Services"),e.k0s(),e.j41(88,"p"),e.EFF(89,"5.2.1 We may from time to time provide interactive services on our Website which shall enable you to upload or post Contributions to the Website, including, without limitation:"),e.k0s(),e.j41(90,"p",7),e.EFF(91,"\u2022\t(a) comment facilities;"),e.k0s(),e.j41(92,"p",7),e.EFF(93,"\u2022\t(b) uploading and exhibiting user designs;"),e.k0s(),e.j41(94,"p",7),e.EFF(95,"\u2022\t(c) chat rooms; and/or"),e.k0s(),e.j41(96,"p",7),e.EFF(97,"\u2022\t(d) bulletin boards,"),e.k0s(),e.j41(98,"p"),e.EFF(99,"(together \u201cInteractive Services\u201d)."),e.k0s(),e.j41(100,"p"),e.EFF(101,"5.2.2 Where we provide an Interactive Service, we will use reasonable endeavours to provide information to you about the kind of service offered and if it is moderated. However, we are under no obligation to oversee, monitor or moderate any Interactive Service we provide, and we expressly exclude our liability for any loss or damage arising from the use of any Interactive Service by a user or from the Contributions posted or uploaded to any Interactive Service by another user whether the Interactive Service is moderated or not."),e.k0s(),e.j41(102,"p"),e.EFF(103,"5.2.3 The use of any of our Interactive Services by a minor is subject to the consent of their parent or guardian. We advise parents who permit their children to use an Interactive Service that it is important that they communicate with their children about their safety online. Minors who are using any Interactive Service should be made aware of the potential risks to them."),e.k0s(),e.j41(104,"p"),e.EFF(105,"5.3 Content Standards"),e.k0s(),e.j41(106,"p"),e.EFF(107,"5.3.1 The content standards set out in this Clause 5 (\u201cStandards\u201d) apply to any and all Contributions, and to any Interactive Service associated with them."),e.k0s(),e.j41(108,"p"),e.EFF(109,"5.3.2 Any Contributions will be considered non-confidential and non-proprietary. You retain all of your ownership rights in your Contributions, but you are required to grant us and other users of the Website a limited licence to use, store and copy that content and to distribute and make it available to third parties. The rights you license to us are described in Clause 6 (Grant of Licence to Use Contributions)."),e.k0s(),e.j41(110,"p"),e.EFF(111,"5.3.3 You must comply with the spirit and the letter of the following standards."),e.k0s(),e.j41(112,"p"),e.EFF(113,"5.3.4 Contributions must:"),e.k0s(),e.j41(114,"p",7),e.EFF(115,"\u2022\t(a) be accurate (where they state facts);"),e.k0s(),e.j41(116,"p",7),e.EFF(117,"\u2022\t(b) be genuinely held (where they state opinions); and"),e.k0s(),e.j41(118,"p",7),e.EFF(119,"\u2022\t(c) comply with applicable law."),e.k0s(),e.j41(120,"p"),e.EFF(121,"5.3.5 Contributions must not:"),e.k0s(),e.j41(122,"p",7),e.EFF(123,"\u2022\t(a) contain any material which is trade libellous or defamatory of any person;"),e.k0s(),e.j41(124,"p",7),e.EFF(125,"\u2022\t(b) contain any material which is obscene, pornographic, offensive, hateful or inflammatory;"),e.k0s(),e.j41(126,"p",7),e.EFF(127,"\u2022\t(c) promote violence or promote discrimination based on race, sex, religion, nationality, disability, sexual orientation or age;"),e.k0s(),e.j41(128,"p",7),e.EFF(129,"\u2022\t(d) be threatening, abuse or invade another\u2019s privacy, or cause annoyance, inconvenience or needless anxiety;"),e.k0s(),e.j41(130,"p",7),e.EFF(131,"\u2022\t(e) be likely to harass, upset, embarrass, alarm or annoy any other person;"),e.k0s(),e.j41(132,"p",7),e.EFF(133,"\u2022\t(f) be likely to deceive any person;"),e.k0s(),e.j41(134,"p",7),e.EFF(135,"\u2022\t(g) infringe any intellectual property rights, other proprietary rights or the privacy or c
1onfidential information of any person;"),e.k0s(),e.j41(136,"p",7),e.EFF(137,"\u2022\t(h) be used to impersonate any person, or to misrepresent your identity or affiliation with any person;"),e.k0s(),e.j41(138,"p",7),e.EFF(139,"\u2022\t(i) advertise any goods or service or be for a commercial purpose;"),e.k0s(),e.j41(140,"p",7),e.EFF(141,"\u2022\t(j) give the impression that they emanate from us, if this is not the case; or"),e.k0s(),e.j41(142,"p",7),e.EFF(143,"\u2022\t(k) advocate, promote or assist any unlawful act such as (by way of example only) copyright infringement or computer misuse."),e.k0s(),e.j41(144,"p"),e.EFF(145,"5.4 Suspension and Termination"),e.k0s(),e.j41(146,"p"),e.EFF(147,"5.4.1 If we determine, in our absolute discretion, that you have breached this Clause 5 we may immediately take all or any of the following actions:"),e.k0s(),e.j41(148,"p",7),e.EFF(149,"\u2022\t(a) temporarily or permanently withdraw your right to use the Website;"),e.k0s(),e.j41(150,"p",7),e.EFF(151,"\u2022\t(b) temporarily or permanently remove any Contribution uploaded by you to our Website;"),e.k0s(),e.j41(152,"p",7),e.EFF(153,"\u2022\t(c) issue a warning to you;"),e.k0s(),e.j41(154,"p",7),e.EFF(155,"\u2022\t(d) issue legal proceedings against you for reimbursement of all costs on an indemnity basis (including, but not limited to, reasonable administrative and legal costs) resulting from the breach;"),e.k0s(),e.j41(156,"p",7),e.EFF(157,"\u2022\t(e) take further legal action against you; and/or"),e.k0s(),e.j41(158,"p",7),e.EFF(159,"\u2022\t(f) disclose such information to law enforcement authorities as we reasonably feel is necessary to do so."),e.k0s(),e.j41(160,"p"),e.EFF(161,"5.4.2 We exclude liability for actions taken in response to breaches of this Clause 5. The responses described in this Clause 5 are not limited, and we may take any other action we reasonably deem appropriate in respect of your breach."),e.k0s(),e.j41(162,"p"),e.EFF(163,"5.4.3 We will not be responsible, or liable to any third party, for the content or accuracy of any Contributions posted by you or any other user of our Website."),e.k0s(),e.j41(164,"p"),e.EFF(165,"5.4.4 You acknowledge that your breach of this Clause 5 may cause damage or loss to us and you agree to indemnify us in full against any third party liabilities, claims, costs, loss or damage including consequential losses, incurred as a result of such a breach. If you are a consumer, this means you will be responsible for any loss or damage we suffer as a result of your breach of this Clause 5."),e.k0s(),e.j41(166,"p"),e.EFF(167,"5.4.5 We may provide your identity to a third party who is claiming that any content posted or uploaded by you to our Website constitutes a violation of their intellectual property rights, or of their right to privacy. You also acknowledge that we may be required to hand over such information by order of a court of law. Please see our "),e.j41(168,"a",9),e.EFF(169,"Privacy Policy"),e.k0s(),e.EFF(170," for further information."),e.k0s(),e.j41(171,"p"),e.EFF(172,"5.5 Complaints"),e.k0s(),e.j41(173,"p"),e.EFF(174,"5.5.1 If you wish to complain about any Contribution posted to an Interactive Service, please e-mail us at "),e.j41(175,"a",8),e.EFF(176,"[email protected]"),e.k0s(),e.EFF(177," setting out full details of your complaint. We will then review the Contribution and decide whether it complies with the Standards."),e.k0s(),e.j41(178,"p"),e.EFF(179,"5.5.2 In order to investigate your complaint, we may need to share your identity and the details of your complaint with the user that posted the Contribution that is the subject of your complaint. Please see our "),e.j41(180,"a",9),e.EFF(181,"Privacy Policy"),e.k0s(),e.EFF(182,"."),e.k0s(),e.j41(183,"p"),e.EFF(184,"5.5.3 The views expressed by other users on our Website, including in any Contributions, do not represent our views or values."),e.k0s(),e.j41(185,"p",6),e.EFF(186,"6. GRANT OF LICENCE TO USE CONTRIBUTIONS"),e.k0s(),e.j41(187,"p"),e.EFF(188,"6.1 You grant us a non-exclusive, transferable, perpetual, royalty-free, worldwide licence to copy, use, reproduce, distribute, display, publish, adapt, prepare derivative works of and/or amend any Contribution in any format, including in our services and products for any purpose including in relation to the promotion of our services and products. This licence shall include the right for any user of the Website to access and use the Contribution in accordance with Clause 7.2 and in connection with the functionality of the Website."),e.k0s(),e.j41(189,"p"),e.EFF(190,"6.2 We reserve the right, at our sole discretion, to make additions or deleti
1ons to, to edit, crop or arrange any Contributions prior to publication. We also reserve the right not to publish a Contribution in whole or in part or to remove a Contribution in whole or in part."),e.k0s(),e.j41(191,"p"),e.EFF(192,"6.3 You warrant that you are entitled to grant us the rights set out in Clause 6.1 and that the use by us of any Contribution submitted by you shall not infringe the rights (including the intellectual property rights and privacy rights) of any third party."),e.k0s(),e.j41(193,"p",6),e.EFF(194,"7. INTELLECTUAL PROPERTY RIGHTS"),e.k0s(),e.j41(195,"p"),e.EFF(196,"7.1 We are the owners or licensees of all intellectual property rights in the Website. All text, information, graphics, interfaces, photographs, video and other material available on the Website is protected by copyright, trade mark and other proprietary and intellectual property laws."),e.k0s(),e.j41(197,"p"),e.EFF(198,"7.2 You may not use any of our intellectual property rights without our express written consent, however you are permitted to print or save to your individual PC, tablet or storage extracts from this Website for your own personal non-commercial use. This does not include downloading, storing, transmitting, displaying, copying or distributing any materials on the Website, or extracts from it, in a structured manner or creating a database in any form comprising all or part of any material on the Website."),e.k0s(),e.j41(199,"p"),e.EFF(200,"7.3 If you are a business user, you may draw the attention of others within your organisation to content posted on our Website."),e.k0s(),e.j41(201,"p"),e.EFF(202,"7.4 You must not modify any paper or digital copies of any materials you have printed off or downloaded from the Website and you must not use any illustrations, photographs, video or audio sequences or any graphics separately from any accompanying text. Our status (and that of any identified contributors) as the authors of content on our Website must always be acknowledged."),e.k0s(),e.j41(203,"p"),e.EFF(204,"7.5 You must not use any part of the content on our Website for commercial purposes without obtaining a licence to do so from us or our licensors."),e.k0s(),e.j41(205,"p",6),e.EFF(206,"8. LINKS"),e.k0s(),e.j41(207,"p"),e.EFF(208,"8.1 Where the Website contains links to other sites or resources, these links are provided for your information only. Such links should not be interpreted as endorsement by us of those linked websites or resources. We have no control over the content of those sites or resources and accept no responsibility for them or for any loss or damage that may arise from your use of them. You should check the terms of use applicable to any website or other resource that you link to from the Website."),e.k0s(),e.j41(209,"p"),e.EFF(210,"8.2 You may link to the home page of the Website, provided you do so in a way that is fair and legal and does not damage our reputation or take advantage of it, but you must not establish a link in such a way as to suggest any form of association, approval or endorsement on our part where none exists. You must not establish a link from any website that is not owned by you. The Website must not be framed on any other site, nor may you create a link to any part of the Website other than the home page. We reserve the right to withdraw linking permission without notice."),e.k0s(),e.j41(211,"p",6),e.EFF(212,"9. ADVERTISING AND SPONSORSHIP"),e.k0s(),e.j41(213,"p"),e.EFF(214,"9.1 The inclusion of any advertising or any sponsorship material on the Website does not constitute an endorsement of the relevant advertiser or sponsor or their goods or services. Any correspondence or dealings you have with advertisers or sponsors are solely between you and the relevant advertiser or sponsor. We shall not be responsible for any loss or damage of any kind suffered or incurred by you as a result of any correspondence or dealing you have with any advertiser or sponsor."),e.k0s(),e.j41(215,"p",6),e.EFF(216,"10. DATA PROTECTION AND COOKIES"),e.k0s(),e.j41(217,"p"),e.EFF(218,"10.1 Our "),e.j41(219,"a",9),e.EFF(220,"Privacy Policy"),e.k0s(),e.EFF(221," and "),e.j41(222,"a",9),e.EFF(223,"Cookies Policy"),e.k0s(),e.EFF(224," set out the terms on which we process any personal data we collect from you, or that you provide to us when using the Website and set out information about the cookies we use on the Website. By using our Website, you warrant that all data provided by you is accurate."),e.k0s(),e.j41(225,"p",6),e.EFF(226,"11. NO RELIANCE ON INFORMATION"),e.k0s(),e.j41(227,"p"),e.EFF(228,"11.1 The content on our Website is provided for general information only. It is not intended to amount to advice on which you should rely. You must obtain professional or specialist advice before taking, or refraining from taking, any action on the basis of the content on our Website."),e.k0s(),e.j41(229,"p"),e.EFF(230,"11.2 Although we make reasonable efforts to update the information and content on our Website, we make no representations, warranties or guarantees, whether express or implied, that the information and content on our Website is accurate, complete or up-to-date at any time."),e.k0s(),e.j41(231,"p",6),e.EFF(232,"12. LIMITATION OF OUR LIABILITY"),e.k0s(),e.j41(233,"p"),e.EFF(234,"12.1 Save as expressly provided in any Additional Terms, all warranties, conditions and other terms implied by statute or common law are, to the fullest extent permitted by law, excluded from these Terms and Conditions."),e.k0s(),e.j41(235,"p"),e.EFF(236,"12.2 To the maximum extent permitted by law, we and our respective agents and representatives shall have no liability whatsoever to you or any third party for any loss or damage, whether in contract, tort (including negligence), breach of statutory duty, or otherwise, even if foreseeable, arising under or in connection with your:"),e.k0s(),e.j41(237,"p",7),e.EFF(238,"\u2022\t12.2.1 use of, or inability to use, our Website; or"),e.k0s(),e.j41(239,"p",7),e.EFF(240,"\u2022\t12.2.2 use of or reliance on any content displayed on our Website, including your or a third party\u2019s Contribution(s)."),e.k0s(),e.j41(241,"p"),e.EFF(242,"12.3 If you are a business, please note that in particular, we will not be liable for:"),e.k0s(),e.j41(243,"p",7),e.EFF(244,"\u2022\t12.3.1 loss of profits, sales, business, or revenue;"),e.k0s(),e.j41(245,"p",7),e.EFF(246,"\u2022\t12.3.2 business interruption;"),e.k0s(),e.j41(247,"p",7),e.EFF(248,"\u2022\t12.3.3 loss of anticipated savings;"),e.k0s(),e.j41(249,"p",7),e.EFF(250,"\u2022\t12.3.4 loss of business opportunity, goodwill or reputation; or"),e.k0s(),e.j41(251,"p",7),e.EFF(252,"\u2022\t12.3.5 any indirect or consequential loss or damage."),e.k0s(),e.j41(253,"p"),e.EFF(254,"12.4 If you are a consumer, please note that we only provide our Website for your domestic and private use only. You agree not to use our Website for any commercial or business purposes, and we have no liability to you for any loss of profit, loss of business, business interruption, or loss of business opportunity."),e.k0s(),e.j41(255,"p"),e.EFF(256,"12.5 We will not be liable for any loss or damage caused by a virus, distributed de
1nial-of-service attack, or other technologically harmful material that may infect your computer equipment, computer programs, data or other proprietary material due to your use of our Website or to your downloading of any content on it, or on any website linked to it."),e.k0s(),e.j41(257,"p"),e.EFF(258,"12.6 Nothing in these Terms and Conditions excludes or limits our liability for:"),e.k0s(),e.j41(259,"p",7),e.EFF(260,"\u2022\t12.6.1 death or personal injury caused by our negligence;"),e.k0s(),e.j41(261,"p",7),e.EFF(262,"\u2022\t12.6.2 fraud or fraudulent misrepresentation; or"),e.k0s(),e.j41(263,"p",7),e.EFF(264,"\u2022\t12.6.3 any other liability that cannot be limited or excluded by law."),e.k0s(),e.j41(265,"p",6),e.EFF(266,"13. MISCELLANEOUS"),e.k0s(),e.j41(267,"p"),e.EFF(268,"13.1 If any provision in these Terms and Conditions is deemed unlawful, void, or for any reason unenforceable, then that provision shall be enforced to the maximum extent permissible, and the remainder of the Terms and Conditions shall remain in full force and effect."),e.k0s(),e.j41(269,"p"),e.EFF(270,"13.2 Any failure by us to enforce or exercise any provision in these Terms and Conditions shall not constitute a waiver of that provision or any other provision."),e.k0s(),e.j41(271,"p"),e.EFF(272,"13.3 We may transfer, assign, sublicense or pledge in any manner whatsoever, any of our rights and obligations under these Terms and Conditions to any third party without notice and without the need to receive your consent. You may only transfer, assign, sublicense or pledge your rights or your obligations under these Terms and Conditions to another person if we provide our consent to you in writing."),e.k0s(),e.j41(273,"p",6),e.EFF(274,"14. APPLICABLE LAW AND JURISDICTION"),e.k0s(),e.j41(275,"p"),e.EFF(276,"14.1 These Terms and Conditions, their subject matter and their formation, are governed by English law."),e.k0s(),e.j41(277,"p"),e.EFF(278,"14.2 The courts of England and Wales shall have exclusive jurisdiction to settle any disputes arising in connection with these Terms and Conditions (including any non-contractual terms). However, if you are a consumer and are a resident of Northern Ireland you may also bring proceedings in Northern Ireland, and if you are resident of Scotland, you may also bring proceedings in Scotland."),e.k0s(),e.j41(279,"p",6),e.EFF(280,"15. CONTACT US"),e.k0s(),e.j41(281,"p"),e.EFF(282,"To contact us, please e-mail "),e.j41(283,"a",8),e.EFF(284,"[email protected]"),e.k0s()()()()()(),e.bVm()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.isLoggedIn),e.R7$(3),e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.isLoggedIn),e.R7$(1),e.AVh("is-logged-in",s.isLoggedIn),e.R7$(162),e.Y8G("routerLink",e.lJ4(10,Jl)),e.R7$(12),e.Y8G("routerLink",e.lJ4(11,Jl)),e.R7$(39),e.Y8G("routerLink",e.lJ4(12,Jl)),e.R7$(3),e.Y8G("routerLink",e.lJ4(13,mc))}}let Hh=(()=>{class c extends St.$G{constructor(s){super(),this.store=s,this.isLoggedIn=null}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status==St.TD.Successful}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["terms-conditions-view"]],features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],["class","title",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-md-8","col-12","offset-md-2"],[1,"content"],[1,"fw-bold"],[1,"indent"],["href","mailto:[email protected]"],["target","_blank",3,"routerLink"],[1,"title"]],template:function(u,h){1&u&&e.DNE(0,Hg,285,14,"ng-container",0),2&u&&e.Y8G("ngIf",null!=h.isLoggedIn)},dependencies:[Lt.bT,an.Wk],styles:["[_nghost-%COMP%]{display:block;padding-top:52px;padding-bottom:10px}@media (min-width: 1200px){[_nghost-%COMP%]{padding-bottom:80px}}.title[_ngcontent-%COMP%]{padding:14px 0;background:#26224f;color:#fff;text-align:center}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px;font-weight:700;margin:0}@media (min-width: 992px){.title[_ngcontent-%COMP%]{padding:22px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.title[_ngcontent-%COMP%]{padding:28px 0}.title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:36px}}.content[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-size:14px;font-weight:400}.content[_ngcontent-%COMP%]:not(.is-logged-in){margin-top:40px;padding:30px;background:linear-gradient(180deg,rgb(255,255,255),rgb(247,247,253));border:none;border-radius:8px;box-shadow:0 0 10px #8c8cb533}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-left:30px;margin-bottom:10px;list-style-type:disc}.content[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:5px}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:block;width:100%}.content[_ngcontent-%COMP%]   p.indent[_ngcontent-%COMP%]{padding-left:20px}"]})}}return c})();var Mo=w(3294),Io=w(4668),Yh=w(9974),Dd=w(4360),Eu=w(8750),Yr=w(3669),va=w(5343),Ed=w(9326);function ya(...c){const m=(0,Ed.ms)(c);return(0,Yh.N)((s,u)=>{const h=c.length,x=new Array(h);let G=c.map(()=>!1),ne=!1;for(let Ee=0;Ee<h;
1Ee++)(0,Eu.Tg)(c[Ee]).subscribe((0,Dd._)(u,De=>{x[Ee]=De,!ne&&!G[Ee]&&(G[Ee]=!0,(ne=G.every(Yr.D))&&(G=null))},va.l));s.subscribe((0,Dd._)(u,Ee=>{if(ne){const De=[Ee,...x];u.next(m?m(...De):De)}}))})}var dn=w(8124),_c=w(2771);let Ma=(()=>{class c{constructor(){this.destroyed$=new y.B,this.selectionGroups$=new _c.m,this.keyStore={},this.pushGroup=s=>{this.selectionGroups$.next(s)},this.push=(s,u,h)=>{this.selectionGroups$.next({key:s,cssClass:u,selections:h})},this.selections$=this.selectionGroups$.pipe((0,jt.Q)(this.destroyed$),(0,Ba.M)(s=>{s.selections&&s.selections.length>0?this.keyStore[s.key]=s.selections:delete this.keyStore[s.key]}),(0,E.B)(500),(0,Ci.T)(s=>(0,rn.chain)(this.keyStore).values().flatten().value()))}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}}return c})();var xu=w(1721),Gh=w(4296);function xd(c,m){1&c&&e.eu8(0)}function cl(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",7)(1,"a",8),e.bIt("click",function(){e.eBV(s);const h=e.XpG(4);return e.Njj(h.requestTopLevelSelection("All"))}),e.EFF(2,"All"),e.k0s(),e.j41(3,"a",8),e.bIt("click",function(){e.eBV(s);const h=e.XpG(4);return e.Njj(h.selectNone("None"))}),e.EFF(4,"None"),e.k0s()()}if(2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.AVh("is-active",s.isTopLevelSelectionActive("All")||s.isTopLevelSelectionActive("Only")),e.R7$(2),e.AVh("is-active",s.isTopLevelSelectionActive("None"))}}function Cc(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",9),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2).$implicit,x=e.XpG(2);return e.Njj(x.select(h))}),e.nrm(1,"input",10),e.j41(2,"label",11),e.EFF(3,"All"),e.k0s()()}if(2&c){const s=e.XpG(2).$implicit,u=e.XpG(2);e.R7$(1),e.ZvI("form-check-input ",u.cssClass,""),e.Y8G("checked",u.isSelected(s)),e.R7$(1),e.AVh("is-dark-mode",u.isDarkMode)}}function Pf(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",9),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2).$implicit,x=e.XpG(2);return e.Njj(x.select(h))}),e.nrm(1,"input",10),e.j41(2,"label",11),e.EFF(3),e.k0s()()}if(2&c){const s=e.XpG(2).$implicit,u=e.XpG(2);e.R7$(1),e.ZvI("form-check-input ",u.cssClass,""),e.Y8G("checked",u.isSelected(s)),e.R7$(1),e.AVh("is-dark-mode",u.isDarkMode),e.R7$(1),e.JRh(s.name)}}function Wh(c,m){1&c&&e.eu8(0)}const Sl=function(c){return{$implicit:c}};function Tl(c,m){if(1&c&&(e.qex(0),e.DNE(1,Wh,1,0,"ng-container",0),e.bVm()),2&c){const s=e.XpG(2).$implicit;e.XpG(2);const u=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",u)("ngTemplateOutletContext",e.eq3(2,Sl,s.children))}}function zh(c,m){if(1&c&&(e.j41(0,"li"),e.DNE(1,cl,5,6,"div",4),e.DNE(2,Cc,4,6,"div",5),e.DNE(3,Pf,4,7,"div",5),e.DNE(4,Tl,2,4,"ng-container",6),e.k0s()),2&c){const s=e.XpG().$implicit,u=e.XpG(2);e.AVh("is-selected",u.isSelected(s))("is-dark-mode",u.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.id==s.selectAllId&&u.hasDeselect),e.R7$(1),e.Y8G("ngIf",s.id==s.selectAllId&&!u.hasDeselect),e.R7$(1),e.Y8G("ngIf",s.id!==s.selectAllId),e.R7$(1),e.Y8G("ngIf",u.isOpened(s)||!u.isOpened(s))}}function Su(c,m){if(1&c&&(e.qex(0),e.DNE(1,zh,5,8,"li",3),e.bVm()),2&c){const s=m.$implicit;e.R7$(1),e.Y8G("ngIf",s.id>=0)}}function Sd(c,m){if(1&c&&(e.j41(0,"ul"),e.DNE(1,Su,2,1,"ng-container",2),e.k0s()),2&c){const s=m.$implicit,u=e.XpG();e.HbH(u.cssClass),e.R7$(1),e.Y8G("ngForOf",s)("ngForTrackBy",u.trackOptions)}}let Td=(()=>{class c extends St.$G{constructor(){super(...arguments),this._selectedIds$=new _o.t((0,go.of)([])),this._selectedIds=this._selectedIds$.pipe((0,mo.n)(s=>(s??(0,go.of)([])).pipe((0,Ci.T)(u=>u??[]),(0,Kr.W)(()=>(0,go.of)([])))),(0,Io.t)(1)),this._topLevelSelectionType="",this.selectedIdValues=[],this.selected={},this.opened={},this.flattenedOptions=[],this.excludeId=-1,this.singleSelect=!1,this.hasDeselect=!1,this.selectionChanged=new e.bkB,this.topLevelSelectionChanged=new e.bkB,this.trackOptions=(s,u)=>u.id,this.isSelected=s=>!(s.children&&s.children.length>0||!this.shouldTreatAllOptionsAsSelected(s)&&!this.selected[s.id]),this.select=s=>{s.children&&s.children.length?this.opened[s.id]=!this.opened[s.id]:this.singleSelect?this.processSingleSelect(s):this.processMultiSelect(s)},this.selectAllActive=()=>(0,rn.isEmpty)(this.selected),this.toggleSelectAll=()=>{this.selectAllActive()?this.selectionChanged.emit([{id:this.excludeId,name:"Exclude",selectAllId:0}]):this.selectionChanged.emit([])},this.isOpened=s=>this.opened[s.id],this.hasExcludeSelection=()=>this.selectedIdValues.some(s=>+s===this.excludeId),this.processMultiSelect=s=>
1{const u=this.areAllTopLevelOptionsSelected()?this.getSelectableTopLevelOptions():Object.values(this.selected).filter(x=>!!x);let h=!1;(0,rn.remove)(u,x=>x.id==s.id?(h=!0,!0):s.selectAllId==x.id||x.selectAllId==s.id),h||(s.id!=this.excludeId&&(0,rn.remove)(u,x=>x.id==this.excludeId),u.push(s)),this.selectionChanged.emit(u)},this.areAllTopLevelOptionsSelected=()=>this.hasDeselect&&("All"===this.topLevelSelectionType||"Only"===this.topLevelSelectionType),this.shouldTreatAllOptionsAsSelected=s=>this.areAllTopLevelOptionsSelected()&&+s.id!==this.excludeId&&s.id!==s.selectAllId,this.getSelectableTopLevelOptions=()=>this.flattenedOptions.filter(s=>(!s.children||0===s.children.length)&&+s.id>=0&&s.id!==s.selectAllId),this.processSingleSelect=s=>{this.selectionChanged.emit(this.selected[s.id]?[]:[s])}}set selectedIds(s){this._selectedIds$.next(s??(0,go.of)([]))}set topLevelSelectionType(s){this._topLevelSelectionType=s??""}get topLevelSelectionType(){return this._topLevelSelectionType?this._topLevelSelectionType:this.hasExcludeSelection()?"None":""}ngOnInit(){const s=h=>[h,...h.children?.flatMap(s)??[]];this.allOptions.pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{this.flattenedOptions=h.flatMap(s),h.filter(x=>x.isOpen).forEach(({id:x})=>{this.opened[x]=!0})});const u=this.allOptions.pipe((0,Ci.T)(h=>Object.fromEntries(h.flatMap(s).map(x=>[x.id,x]))));(0,_s.z)([u,this._selectedIds]).pipe((0,jt.Q)(this.destroyed$)).subscribe(([h,x])=>{this.selectedIdValues=x,this.selected=Object.fromEntries(x.map(G=>[G,h[G]]).filter(([,G])=>!!G))})}requestTopLevelSelection(s){this.topLevelSelectionChanged.emit(s)}isTopLevelSelectionActive(s){return this.topLevelSelectionType===s}selectNone(s){this.hasExcludeSelection()||(this.selectionChanged.emit([{id:this.excludeId,name:"Exclude",selectAllId:0}]),this.topLevelSelectionChanged.emit(s))}selectOnly(s){this.topLevelSelectionChanged.emit(s)}static{this.\u0275fac=function(){let s;return function(h){return(s||(s=e.xGo(c)))(h||c)}}()}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-filter-checkbox"]],inputs:{allOptions:"allOptions",selectedIds:"selectedIds",singleSelect:"singleSelect",hasDeselect:"hasDeselect",cssClass:"cssClass",isDarkMode:"isDarkMode",topLevelSelectionType:"topLevelSelectionType"},outputs:{selectionChanged:"selectionChanged",topLevelSelectionChanged:"topLevelSelectionChanged"},features:[e.Vt3],decls:5,vars:6,consts:[[4,"ngTemplateOutlet","ngTemplateOutletContext"],["itemTemplate",""],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"is-selected","is-dark-mode",4,"ngIf"],["class","top-level-category-buttons",3,"is-dark-mode",4,"ngIf"],["class","form-check","role","button",3,"click",4,"ngIf"],[4,"ngIf"],[1,"top-level-category-buttons"],["role","button",1,"option",3,"click"],["role","button",1,"form-check",3,"click"],["type","checkbox",3,"checked"],[1,"form-check-label"]],template:function(u,h){if(1&u&&(e.qex(0),e.DNE(1,xd,1,0,"ng-container",0),e.nI1(2,"async"),e.bVm(),e.DNE(3,Sd,2,4,"ng-template",null,1,e.C5r)),2&u){const x=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",x)("ngTemplateOutletContext",e.eq3(4,Sl,e.bMT(2,2,h.allOptions)))}},dependencies:[Lt.Sq,Lt.bT,Lt.T3,Lt.Jj],styles:['ul.is-politics[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ebe7fd}ul.is-home-affairs[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#f9ebfe}ul.is-law-security[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#f9ebfe}ul.is-world[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ffebf0}ul.is-business-economy[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#fdeee2}ul.is-health-science[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#fcf1d0}ul.is-general[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ecf6cc}ul.is-culture-sport[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ecf6cc}ul.is-culture-sports[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ecf6cc}ul.is-uk[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{background-color:#ecf6cc}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;min-height:24px;margin-bottom:2px}
1ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-of-type{margin-bottom:6px}ul[_ngcontent-%COMP%] > li.is-selected[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:-3px;width:100%;height:100%;background-color:#e6e6ff;border-radius:6px;z-index:-1}ul[_ngcontent-%COMP%] > li.is-selected.is-dark-mode[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{color:#26224f!important}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]{cursor:pointer}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{cursor:pointer;margin-top:3px;border:solid 1px #D4D4EE;width:15px;height:15px}@media (min-width: 1400px){ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:18px;height:18px}}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:checked{background-color:#26224f;accent-color:#26224f;border-color:#26224f}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{cursor:pointer;margin-top:3px;margin-left:2px;vertical-align:middle;font-size:12px;line-height:15px;color:#8c8cb5;font-weight:400}@media (min-width: 1400px){ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   .form-check-label[_ngcontent-%COMP%]{margin-top:2px;margin-left:5px;font-size:13px}}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .form-check[_ngcontent-%COMP%]   .form-check-label.is-dark-mode[_ngcontent-%COMP%]{color:#d4d4ee}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;position:relative;min-height:35px;border-left:2px solid #fff;font-size:12px;font-weight:500}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]{position:absolute;top:5px;left:0;width:2px;height:25px}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block;margin-left:10px;position:relative;line-height:35px}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]   span.has-children[_ngcontent-%COMP%]{border-bottom:1px solid #C5CDEC}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover, ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a.is-selected[_ngcontent-%COMP%]{font-weight:700}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > .feather[_ngcontent-%COMP%]{position:absolute;top:6px;right:3px}
1ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .divider[_ngcontent-%COMP%]{margin-left:12px;width:100%;height:1px;border-bottom:solid 1px #8c8cb5}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child   .has-children[_ngcontent-%COMP%]{border-bottom:none!important}ul[_ngcontent-%COMP%]   a.is-selected[_ngcontent-%COMP%]{border-left:2px solid #26224f}ul[_ngcontent-%COMP%]   .indicator[_ngcontent-%COMP%]{background-color:#26224f}']})}}return c})(),Id=(()=>{class c{constructor(){this.cssClass=null,this.size="6px"}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["category-indicator"]],inputs:{cssClass:"cssClass",size:"size"},decls:1,vars:6,template:function(u,h){1&u&&e.nrm(0,"span"),2&u&&(e.HbH(h.cssClass),e.xc7("width",h.size)("height",h.size))},styles:["[_nghost-%COMP%]{-webkit-user-select:none!important;user-select:none!important}[_nghost-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;margin-top:-2px;margin-right:5px;border-radius:50%;background-color:#000}@media (min-width: 1200px){[_nghost-%COMP%]   span[_ngcontent-%COMP%]{margin-right:6px}}@media (min-width: 1400px){[_nghost-%COMP%]   span[_ngcontent-%COMP%]{margin-right:10px}}[_nghost-%COMP%]   span.is-politics[_ngcontent-%COMP%]{background-color:#5211c8}[_nghost-%COMP%]   span.is-home-affairs[_ngcontent-%COMP%]{background-color:#9716a8}[_nghost-%COMP%]   span.is-law-security[_ngcontent-%COMP%]{background-color:#9716a8}[_nghost-%COMP%]   span.is-world[_ngcontent-%COMP%]{background-color:#f83d6d}[_nghost-%COMP%]   span.is-business-economy[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-economy-business-finance[_ngcontent-%COMP%]{background-color:#f29041}[_nghost-%COMP%]   span.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-health-science-climate[_ngcontent-%COMP%]{background-color:#ffcc36}[_nghost-%COMP%]   span.is-science-sport-arts[_ngcontent-%COMP%]{background-color:#ffcc36}[_nghost-%COMP%]   span.is-general[_ngcontent-%COMP%]{background-color:#a5c82d}[_nghost-%COMP%]   span.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-culture-sports[_ngcontent-%COMP%]{background-color:#a5c82d}[_nghost-%COMP%]   span.is-uk[_ngcontent-%COMP%]{background-color:#a5c82d}"]})}}return c})();function Xh(c,m){if(1&c&&e.nrm(0,"category-indicator",7),2&c){const s=e.XpG();e.Y8G("cssClass",s.cssClass)}}function Fd(c,m){1&c&&e.eu8(0)}let Kh=(()=>{class c{constructor(s){this.appConfig=s,this.isChild=!1,this.isLastChild=!1,this.isDarkMode=!1,this.isOpenChange=new e.bkB,this.toggleOpen=()=>{this.isOpen=!this.isOpen,this.isOpenChange.emit(this.isOpen)}}ngOnInit(){this.showAnimations=!this.appConfig.iOS}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-filter-container"]],inputs:{contentTemplate:"contentTemplate",heading:"heading",cssClass:"cssClass",isOpen:"isOpen",isChild:"isChild",isLastChild:"isLastChild",isDarkMode:"isDarkMode",hasSelections:"hasSelections"},outputs:{isOpenChange:"isOpenChange"},decls:8,vars:15,consts:[[1,"filter-container-wrapper"],[1,"filter-container-header",3,"click"],[3,"cssClass",4,"ngIf"],[1,"text","text-truncate"],["rotate90","true",1,"float-end",3,"icon","hover"],[1,"filter-container-body",3,"collapse","isAnimated"],[4,"ngTemplateOutlet"],[3,"cssClass"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1),e.bIt("click",function(){return h.toggleOpen()}
1),e.DNE(2,Xh,1,1,"category-indicator",2),e.j41(3,"span",3),e.EFF(4),e.k0s(),e.nrm(5,"icon",4),e.k0s(),e.j41(6,"div",5),e.DNE(7,Fd,1,0,"ng-container",6),e.k0s()()),2&u&&(e.AVh("is-active",h.hasSelections||h.isOpen)("is-child",h.isChild)("is-last-child",h.isLastChild),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.Y8G("ngIf",h.cssClass),e.R7$(2),e.JRh(h.heading),e.R7$(1),e.Y8G("icon",h.isOpen?"chevron_backward":"chevron_forward")("hover",!1),e.R7$(1),e.Y8G("collapse",!h.isOpen)("isAnimated",h.showAnimations),e.R7$(1),e.Y8G("ngTemplateOutlet",h.contentTemplate))},dependencies:[Do.D,Lt.bT,Lt.T3,Id,jn.R],styles:[".is-dark-mode[_nghost-%COMP%]   .filter-container-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #131128}.is-dark-mode[_nghost-%COMP%]   .filter-container-wrapper.is-child[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]{font-size:13px;color:#d4d4ee!important}[_nghost-%COMP%]:not(.is-dark-mode)   .filter-container-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .filter-container-wrapper.is-child[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]{color:#767698!important}[_nghost-%COMP%]:not(.is-dark-mode)   .filter-container-wrapper[_ngcontent-%COMP%]:not(.is-child)   .filter-container-header[_ngcontent-%COMP%]{color:#26224f}.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]{position:relative;font-size:12px;font-weight:600;line-height:45px;cursor:pointer}@media (min-width: 1400px){.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]{font-size:13px}}.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:122px}@media (min-width: 1200px){.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{width:140px}}@media (min-width: 1300px){.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{width:150px}}@media (min-width: 1400px){.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{width:auto}}.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin:0;width:22px}.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   category-indicator[_ngcontent-%COMP%]{display:none}@media (min-width: 1200px){.filter-container-wrapper[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]   category-indicator[_ngcontent-%COMP%]{display:inline-block}}.filter-container-wrapper.is-child[_ngcontent-%COMP%]   .filter-container-header[_ngcontent-%COMP%]{line-height:31px}.filter-container-wrapper.is-child.is-last-child[_ngcontent-%COMP%]{border-bottom:0}"]})}}return c})();var ql=w(2460),Zl=w(810);let Qh=(()=>{class c extends St.$G{constructor(s,u){super(),this.formBuilder=s,this.localeService=u,this.selectionChanged=new e.bkB,this.formControl=new Yn.MJ,this.currentYear=(new Date).getFullYear(),this.startDate=null,this.startMaxDate=new Date,this.endMaxDate=new Date,this.startDateActive=!1,this.endDateActive=!1,this.datePickerConfig={};const h={...ql.F_,weekdaysShort:["Su","Mo","Tu","We","Th","Fr","Sa"]};(0,ql.mO)("custom-en-gb",h),this.localeService.use("custom-en-gb")}ngOnInit(){this.form=this.formBuilder.group({startDate:null,endDate:null}),this.selection.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{if(s){let u={startDate:s.startDate?this.isDST(Ai(s.startDate))?Ai(s.startDate).add(1,"h").toDate():Ai(s.startDate).toDate():null,endDate:s.endDate?this.isDST(Ai(s.endDate))?Ai(s.endDate).add(1,"h").toDate():Ai(s.endDate).toDate():null};this.formControl.setValue(this.getDateRangeValue(u),{emitEvent:!1}),this.form.setValue(u,{emitEvent:!1}),this.startDate=u.startDate,u.endDate&&(this.startMaxDate=u.endDate)}else this.formControl.setValue(null,{emitEvent:!1})}),this.formControl.valueChanges.pipe((0,jt.Q)(this.destroyed$),(0,Ci.T)(s=>{const u=this.getDateSelection(s);
1return{startDate:u.startDate,endDate:u.endDate}})).subscribe(s=>{this.selectionChanged.emit(s)})}ngOnChanges(s){this.datePickerConfig={showWeekNumbers:!1,containerClass:s.isDarkMode.currentValue?"fsn-datepicker is-dark-mode":"fsn-datepicker",rangeInputFormat:"MMM D, YYYY",dateInputFormat:"ddd, MMM DD",minDate:new Date,adaptivePosition:!0}}formatRange(s,u){if(!s||!u)return"";const h=x=>{const G=x.getFullYear(),ne=x.toLocaleString("default",{month:"short"}),Ee=x.getDate();return G!==this.currentYear?`${ne} ${Ee}, ${G}`:`${ne} ${Ee}`};return`${h(s)} - ${h(u)}`}getDateRangeValue(s){return s?.startDate&&s?.endDate?[s.startDate,s.endDate]:null}getDateSelection(s){return s&&s[0]&&s[1]?{startDate:s[0],endDate:s[1]}:{startDate:null,endDate:null}}setFocus(s){"startDate"==s?this.startDateActive=!0:this.endDateActive=!0}blur(s){"startDate"==s?this.startDateActive=!1:this.endDateActive=!1}clearDate(s){this.form.get(s).setValue(null)}isDST(s){return s.utcOffset()!==Ai(s).month(0).utcOffset()}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Yn.ok),e.rXU(Zl.ZJ))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-filter-date-range"]],inputs:{selection:"selection",isDarkMode:"isDarkMode"},outputs:{selectionChanged:"selectionChanged"},features:[e.Vt3,e.OA$],decls:5,vars:5,consts:[[3,"formGroup"],[1,"input","d-flex","flex-row"],[1,"date-input-container"],["icon","calendar_month","size","16px","cssClass","gray-2","verticalAlign","text-bottom",1,"calendar"],["type","text","placeholder","Select a date range","bsDaterangepicker","",1,"form-control",3,"bsConfig","formControl"]],template:function(u,h){1&u&&(e.j41(0,"form",0)(1,"div",1)(2,"div",2),e.nrm(3,"icon",3)(4,"input",4),e.k0s()()()),2&u&&(e.Y8G("formGroup",h.form),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(2),e.Y8G("bsConfig",h.datePickerConfig)("formControl",h.formControl))},dependencies:[Zl.Kn,Zl.mO,Yn.qT,Yn.me,Yn.BC,Yn.cb,Yn.l_,Yn.j4,jn.R],styles:["form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]{position:relative;width:208px}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container.is-dark-mode[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background-color:#131128;color:#fff;border:solid 2px #131128}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container.is-dark-mode[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#fff}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]:not(.is-dark-mode)   input[_ngcontent-%COMP%]{background-color:#fff;color:#26224f;border:solid 2px #e6e6ff}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]:not(.is-dark-mode)   input[_ngcontent-%COMP%]::placeholder{color:#26224f}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:relative;border-radius:6px;padding-left:24px;padding-right:5px;font-size:12px;font-weight:600}@media (min-width: 1200px){form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:13px}}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]   .calendar[_ngcontent-%COMP%]{z-index:1;position:absolute;display:inline-block;top:6px;left:6px;width:13px;height:13px}form[_ngcontent-%COMP%]   .input[_ngcontent-%COMP%]   .date-input-container[_ngcontent-%COMP%]   .delete[_ngcontent-%COMP%]{z-index:1;position:absolute;display:inline-block;top:-1px;right:5px;width:16px;height:16px;stroke:#f7f7fd;cursor:pointer}"]})}}return c})();function Ka(c,m){if(1&c&&(e.j41(0,"option",37),e.EFF(1),e.k0s()),2&c){const s=m.$implicit;e.FS9("value",s.alertId),e.R7$(1),e.JRh(s.name)}}function kf(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"fsn-button",38),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.clearFilters())}),e.k0s(),e.j41(2,"fsn-button",39),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.saveSearch())}),e.k0s(),e.bVm()}}function Tu(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-date-range",40),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectDates(h))}),e.k0s(),e.j41(1,"div",41)(2,"div",42),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.toggleDateTab("date-range"))}),e.EFF(3," Preset date "),e.nrm(4,"icon",43),e.k0s()(),e.j41(5,"search-filter-checkbox",44),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectDateRange(h,null))}),e.k0s(),e.j41(6,"div",41)(7,"div",42),e.bIt("click",function(){e.eBV(s);const h=e.XpG();
1return e.Njj(h.toggleNewDateTab("new-date-range"))}),e.EFF(8," New "),e.nrm(9,"icon",43),e.k0s()(),e.j41(10,"search-filter-checkbox",44),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectDateRange(h,"new"))}),e.k0s(),e.j41(11,"div",41)(12,"div",42),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.toggleUpdatedDateTab("updated-date-range"))}),e.EFF(13," Updated "),e.nrm(14,"icon",43),e.k0s()(),e.j41(15,"search-filter-checkbox",44),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectDateRange(h,"updated"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("selection",s.selectedDates)("collapse",!1)("isDarkMode",s.isDarkMode)("isAnimated",s.animateDateTab),e.R7$(2),e.AVh("is-active",s.isDateTabOpen["date-range"])("is-dark-mode",s.isDarkMode),e.R7$(2),e.Y8G("icon",s.isDateTabOpen["date-range"]?"chevron_backward":"chevron_forward")("hover",!1),e.R7$(1),e.Y8G("allOptions",s.dateRangeOptions)("selectedIds",s.selectedDateRangeIds)("collapse",!s.isDateTabOpen["date-range"])("isDarkMode",s.isDarkMode)("isAnimated",s.animateDateTab),e.R7$(2),e.AVh("is-active",s.isNewDateTabOpen["new-date-range"])("is-dark-mode",s.isDarkMode),e.R7$(2),e.Y8G("icon",s.isNewDateTabOpen["new-date-range"]?"chevron_backward":"chevron_forward")("hover",!1),e.R7$(1),e.Y8G("allOptions",s.dateNewUpdatedRangeOptions)("selectedIds",s.selectedNewDateRangeIds)("collapse",!s.isNewDateTabOpen["new-date-range"])("isDarkMode",s.isDarkMode)("isAnimated",s.animateNewDateTab),e.R7$(2),e.AVh("is-active",s.isUpdatedDateTabOpen["updated-date-range"])("is-dark-mode",s.isDarkMode),e.R7$(2),e.Y8G("icon",s.isUpdatedDateTabOpen["updated-date-range"]?"chevron_backward":"chevron_forward")("hover",!1),e.R7$(1),e.Y8G("allOptions",s.dateNewUpdatedRangeOptions)("selectedIds",s.selectedUpdatedDateRangeIds)("collapse",!s.isUpdatedDateTabOpen["updated-date-range"])("isDarkMode",s.isDarkMode)("isAnimated",s.animateUpdatedDateTab)}}function Yg(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",45),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"keyEventTopStoryId"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.keyEventTopStoryOptions)("selectedIds",s.selectedKeyEventsTopStoriesIds)("isDarkMode",s.isDarkMode)}}function Jh(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"search-filter-container",48),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukPolitics=h)}),e.k0s(),e.j41(2,"search-filter-container",49),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukHomeAffairs=h)}),e.k0s(),e.j41(3,"search-filter-container",50),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukWorld=h)}),e.k0s(),e.j41(4,"search-filter-container",51),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukBusinessEconomy=h)}),e.k0s(),e.j41(5,"search-filter-container",52),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukHealthScience=h)}),e.k0s(),e.j41(6,"search-filter-container",53),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukCultureSport=h)}),e.k0s(),e.bVm()}if(2&c){const s=e.XpG(2),u=e.sdS(35),h=e.sdS(37),x=e.sdS(39),G=e.sdS(41),ne=e.sdS(43),Ee=e.sdS(45);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukPolitics)("contentTemplate",u)("hasSelections",s.hasSelections.ukPolitics)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukHomeAffairs)("contentTemplate",h)("hasSelections",s.hasSelections.ukHomeAffairs)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukWorld)("contentTemplate",x)("hasSelections",s.hasSelections.ukWorld)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukBusinessEconomy)("contentTemplate",G)("hasSelections",s.hasSelections.ukBusinessEconomy)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukHealthScience)("contentTemplate",ne)("hasSelections",s.hasSelections.ukHealthScience)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukCultureSport)("contentTemplate",Ee)("hasSelections",s.hasSelections.ukCultureSport)("isChild",!0)("isLastChild",!0)}}function Df(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"search-filter-container",54),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);
1return e.Njj(x.isOpen.usPolitics=h)}),e.k0s(),e.j41(2,"search-filter-container",55),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usLawSecurity=h)}),e.EFF(3,">"),e.k0s(),e.j41(4,"search-filter-container",50),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usWorld=h)}),e.k0s(),e.j41(5,"search-filter-container",51),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usBusinessEconomy=h)}),e.k0s(),e.j41(6,"search-filter-container",52),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usScienceSportArts=h)}),e.k0s(),e.j41(7,"search-filter-container",56),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usCultureSport=h)}),e.k0s(),e.bVm()}if(2&c){const s=e.XpG(2),u=e.sdS(51),h=e.sdS(55),x=e.sdS(59),G=e.sdS(53),ne=e.sdS(57),Ee=e.sdS(61);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usPolitics)("contentTemplate",u)("hasSelections",s.hasSelections.usPolitics)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usLawSecurity)("contentTemplate",h)("hasSelections",s.hasSelections.ukLawSecurity)("isChild",!0),e.R7$(2),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usWorld)("contentTemplate",x)("hasSelections",s.hasSelections.usWorld)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usBusinessEconomy)("contentTemplate",G)("hasSelections",s.hasSelections.usBusinessEconomy)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usScienceSportArts)("contentTemplate",ne)("hasSelections",s.hasSelections.usScienceSportArts)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usCultureSport)("contentTemplate",Ee)("hasSelections",s.hasSelections.usCultureSport)("isChild",!0)("isLastChild",!0)}}function Iu(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",46)(1,"a",47),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.toggleAllTopLevelCategories())}),e.EFF(2,"Expand All"),e.k0s(),e.j41(3,"a",47),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.toggleAllTopLevelCategories())}),e.EFF(4,"Collapse All"),e.k0s()(),e.DNE(5,Jh,7,37,"ng-container",4),e.DNE(6,Df,8,37,"ng-container",4)}if(2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode),e.R7$(1),e.AVh("is-active","All"!=s.toggleTopLevelCategoryLabel),e.R7$(2),e.AVh("is-active","All"==s.toggleTopLevelCategoryLabel),e.R7$(2),e.Y8G("ngIf",1==s.siteCulture),e.R7$(1),e.Y8G("ngIf",2==s.siteCulture)}}function Il(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",45),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"embargoed"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.embargoedOptions)("selectedIds",s.selectedEmbargoedIds)("isDarkMode",s.isDarkMode)}}function qh(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"eventTypeIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.eventTypeOptions)("selectedIds",s.selectedEventTypeIds)("isDarkMode",s.isDarkMode)}}function Jc(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"search-filter-container",58),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.ukRegion=h)}),e.k0s(),e.j41(2,"search-filter-container",59),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.globalRegion=h)}),e.k0s(),e.bVm()}if(2&c){const s=e.XpG(2),u=e.sdS(47),h=e.sdS(49);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.ukRegion)("contentTemplate",u)("hasSelections",s.hasSelections.ukRegion)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.globalRegion)("contentTemplate",h)("hasSelections",s.hasSelections.globalRegion)("isChild",!0)("isLastChild",!0)}}function Zh(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"search-filter-container",60),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.usRegion=h)}),e.k0s(),e.j41(2,"search-filter-container",59),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.isOpen.globalRegion=h)}),e.k0s(),e.bVm()}if(2&c){const s=e.XpG(2),u=e.sdS(63),h=e.sdS(49);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usRegion)("contentTemplate",u)("hasSelections",s.hasSelections.usRegion)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.globalRegion)("contentTemplate",h)("hasSelections",s.hasSelections.globalRegion)("isChild",!0)("isLastChild",!0)}}function Fu(c,m){if(1&c&&(e.DNE(0,Jc,3,13,"ng-container",4),e.DNE(1,Zh,3,13,"ng-container",4)),2&c){const s=e.XpG();e.Y8G("ngIf",1==s.siteCulture),e.R7$(1),e.Y8G("ngIf",2==s.siteCulture)}}function qc(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",61),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukPoliticsIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukPoliticsIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukPoliticsOptions)("selectedIds",s.selectedUkPol
1iticsIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukPoliticsIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function si(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",62),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukHomeAffairsIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukHomeAffairsIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukHomeAffairsOptions)("selectedIds",s.selectedUkHomeAffairsIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukHomeAffairsIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Au(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",63),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukWorldIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukWorldIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukWorldOptions)("selectedIds",s.selectedUkWorldIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukWorldIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Ru(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",64),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukBusinessEconomyIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukBusinessEconomyIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukBusinessEconomyOptions)("selectedIds",s.selectedUkBusinessEconomyIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukBusinessEconomyIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Qa(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",65),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukHealthScienceIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukHealthScienceIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukHealthScienceOptions)("selectedIds",s.selectedUkHealthScienceIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukHealthScienceIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Ad(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",66),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukCultureSportIds"))})("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"ukCultureSportIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukCultureSportOptions)("selectedIds",s.selectedukCultureSportIds)("topLevelSelectionType",s.topLevelSelectionTypes.ukCultureSportIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Rd(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"ukRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.ukRegionOptions)("selectedIds",s.selectedUkRegionIds)("isDarkMode",s.isDarkMode)}}function Nu(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"globalRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.globalRegionOptions)("selectedIds",s.selectedGlobalRegionIds)("isDarkMode",s.isDarkMode)}}function pr(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",67),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usPoliticsIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usPoliticsIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usPoliticsOptions)("selectedIds",s.selectedUsPoliticsIds)("topLevelSelectionType",s.topLevelSelectionTypes.usPoliticsIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function vc(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",68),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usBusinessEconomyIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usBusinessEconomyIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usBusinessEconomyOptions)("selectedIds",s.selectedUsBusinessEconomyIds)("topLevelSelectionType",s.topLevelSelectionTypes.usBusinessEconomyIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function ep(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",69),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usLawSecurityIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usLawSecurityIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usLawSecurityOptions)("selectedIds",s.selectedUsLawSecurityIds)("topLevelSelectionType",s.topLevelSelectionTypes.usLawSecurityIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Lu(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",70),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usScienceSportArtsIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usScienceSportArtsIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usScienceSportArtsOptions)("selectedIds",s.selectedUsScienceSportArtsIds)("topLevelSelectionType",s.topLevelSelectionTypes.usScienceSportArtsIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Nd(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",71),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usWorldIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usWorldIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usWorldOptions)("selectedIds",s.selectedUsWorldIds)("topLevelSelectionType",s.topLevelSelectionTypes.usWorldIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Zc(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",72),e.bIt("topLevelSelectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectTopLevelCategoryAction(h,"usCultureSportIds"))})("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usCultureSportIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usCultureSportOptions)("selectedIds",s.selectedusCultureSportIds)("topLevelSelectionType",s.topLevelSelectionTypes.usCultureSportIds)("hasDeselect",!0)("isDarkMode",s.isDarkMode)}}function Ld(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-container",73),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.isOpen.usNortheastRegion=h)}),e.k0s(),e.j41(1,"search-filter-container",74),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.isOpen.usMidwestRegion=h)}),e.k0s(),e.j41(2,"search-filter-container",75),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.isOpen.usSouthRegion=h)}),e.k0s(),e.j41(3,"search-filter-container",76),e.bIt("isOpenChange",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.isOpen.usWestRegion=h)}),e.k0s()}if(2&c){const s=e.XpG(),u=e.sdS(65),h=e.sdS(67),x=e.sdS(69),G=e.sdS(71);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usNortheastRegion)("contentTemplate",u)("hasSelections",s.hasSelections.usNortheastRegion)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usMidwestRegion)("contentTemplate",h)("hasSelections",s.hasSelections.usMidwestRegion)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usSouthRegion)("contentTemplate",x)("hasSelections",s.hasSelections.usSouthRegion)("isChild",!0),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isOpen",s.isOpen.usWestRegion)("contentTemplate",G)("hasSelections",s.hasSelections.usWestRegion)("isChild",!0)("isLastChild",!0)}}function Ef(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usNortheastRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usNortheastRegionOptions)("selectedIds",s.selectedUsNortheastRegionIds)("isDarkMode",s.isDarkMode)}}function xf(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usMidwestRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usMidwestRegionOptions)("selectedIds",s.selectedUsMidwestRegionIds)("isDarkMode",s.isDarkMode)}}function dl(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usSouthRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usSouthRegionOptions)("selectedIds",s.selectedUsSouthRegionIds)("isDarkMode",s.isDarkMode)}}function Pr(c,m){if(1&c){const s=e.RV6();e.j41(0,"search-filter-checkbox",57),e.bIt("selectionChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.selectId(h,"usWestRegionIds"))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("allOptions",s.usWestRegionOptions)("selectedIds",s.selectedUsWestRegionIds)("isDarkMode",s.isDarkMode)}}let ed=(()=>{class c extends St.$G{constructor(s,u,h,x,G,ne,Ee){super(),this.route=s,this.router=u,this.plannerSearch=h,this.modalService=x,this.accountApi=G,this.store=ne,this.currentSelectionService=Ee,this.ukCategoryKeys=["ukPolitics","ukHomeAffairs","ukWorld","ukBusinessEconomy","ukHealthScience","ukCultureSport"],this.usCategoryKeys=["usPolitics","usBusinessEconomy","usLawSecurity","usScienceSportArts","usWorld","usCultureSport"],this.otherKeys=["dates","categories","eventTypes","regions"],this.keys=[...this.otherKeys,...this.ukCategoryKeys,...this.usCategoryKeys],this.openKeys=["dates","categories"],this.topLevelSelectableIds={},this.excludeId=-1,this.toggleTopLevelCategoryLabel="All",this.topLevelSelectionTypes={},this.hasFilters=!1,this.isOpen={},this.hasSelections={},this.isDateTabOpen={},this.animateDateTab=!0,this.isNewDateTabOpen={},this.animateNewDateTab=!0,this.isUpdatedDateTabOpen={},this.animateUpdatedDateTab=!0,this.isCategoryTabOpen={},this.animateCategoryTab=!0,this.dateRangeOptions=dn.wl,this.dateNewUpdatedRangeOptions=dn.V,this.keyEventTopStoryOptions=dn.cs,this.embargoedOptions=dn.n6,this.ukPoliticsOptions=dn.u4,this.ukHomeAffairsOptions=dn.yN,this.ukWorldOptions=dn.Z
1H,this.ukBusinessEconomyOptions=dn.Xv,this.ukHealthScienceOptions=dn.xF,this.ukCultureSportOptions=dn.he,this.ukRegionOptions=dn.nH,this.usPoliticsOptions=dn.Uf,this.usBusinessEconomyOptions=dn.rP,this.usLawSecurityOptions=dn.XF,this.usScienceSportArtsOptions=dn.hx,this.usWorldOptions=dn.vA,this.usCultureSportOptions=dn.bX,this.usNortheastRegionOptions=dn.jn,this.usMidwestRegionOptions=dn.S2,this.usSouthRegionOptions=dn.KK,this.usWestRegionOptions=dn.wR,this.eventTypeOptions=dn.XS,this.globalRegionOptions=dn.yE,this.savedSearchControl=new Yn.MJ(""),this.selectedSearch=null,this.setupDates=De=>{this.selectedDateRangeIds=De.pipe((0,Ci.T)(we=>we.dateRangeId),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDates=De.pipe((0,Ci.T)(we=>we.dateSelection),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDateOptions=De.pipe((0,Ci.T)(we=>we.dateOptions),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDates.subscribe(we=>{this.setDateSelections(we,"From","To","startDate","endDate")}),this.selectedDateRangeIds.pipe(ya(this.dateRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(we=>{const ot="dateRangeId",Wt=we[0].length>0?(0,rn.map)(we[0],Ut=>({text:`Date: ${(0,rn.find)(we[1],$n=>$n.id==Ut).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(we[0],Ut),ot)})):null;this.currentSelectionService.push(ot,"",Wt)})},this.setupNewDates=De=>{this.selectedNewDateRangeIds=De.pipe((0,Ci.T)(we=>we.newDateRangeId),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedNewDateRangeIds.pipe(ya(this.dateNewUpdatedRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(we=>{const ot="newDateRangeId",Wt=we[0].length>0?(0,rn.map)(we[0],Ut=>({text:`New Date: ${(0,rn.find)(we[1],$n=>$n.id==Ut).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(we[0],Ut),ot)})):null;this.currentSelectionService.push(ot,"",Wt)})},this.setupUpdatedDates=De=>{this.selectedUpdatedDateRangeIds=De.pipe((0,Ci.T)(we=>we.updatedDateRangeId),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedUpdatedDateRangeIds.pipe(ya(this.dateNewUpdatedRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(we=>{const ot="updatedDateRangeId",Wt=we[0].length>0?(0,rn.map)(we[0],Ut=>({text:`Updated Date: ${(0,rn.find)(we[1],$n=>$n.id==Ut).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(we[0],Ut),ot)})):null;this.currentSelectionService.push(ot,"",Wt)})},this.setupKeyEventsTopStories=De=>{this.selectedKeyEventsTopStoriesIds=De.pipe((0,Ci.T)(we=>we.keyEventTopStoryId),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedKeyEventsTopStoriesIds.pipe(ya(this.keyEventTopStoryOptions),(0,jt.Q)(this.destroyed$)).subscribe(we=>{const ot="keyEventTopStoryId",Wt=we[0].length>0?(0,rn.map)(we[0],Ut=>({text:`${(0,rn.find)(we[1],$n=>$n.id==Ut).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(we[0],Ut),ot)})):null;this.currentSelectionService.push(ot,"",Wt)})},this.setupEmbargoed=De=>{this.selectedEmbargoedIds=De.pipe((0,Ci.T)(we=>we.embargoed),(0,Mo.F)((we,ot)=>(0,rn.isEqual)(we,ot)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedEmbargoedIds.pipe(ya(this.embargoedOptions),(0,jt.Q)(this.destroyed$)).subscribe(we=>{const ot="embargoed",Wt=we[0].length>0?(0,rn.map)(we[0],Ut=>({text:`${(0,rn.find)(we[1],$n=>$n.id==Ut).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(we[0],Ut),ot)})):null;this.currentSelectionService.push(ot,"",Wt)})},this.setupUkCategories=De=>{this.setupCategories([[this.ukPoliticsOptions,"selectedUkPoliticsIds","ukPoliticsIds","ukPolitics.ids","is-politics-light"],[this.ukHomeAffairsOptions,"selectedUkHomeAffairsIds","ukHomeAffairsIds","ukHomeAffairs.ids","is-home-affairs-light"],[this.ukWorldOptions,"selectedUkWorldIds","ukWorldIds","ukWorld.ids","is-world-light"],[this.ukBusinessEconomyOptions,"selectedUkBusinessEconomyIds","ukBusinessEconomyIds","ukBusinessEconomy.ids","is-business-economy-light"],[this.ukHealthScienceOptions,"selectedUkHealthScienceIds","ukHealthScienceIds","ukHealthScience.ids","is-health-science-light"],[this.ukCultureSportOptions,"selectedukCultureSportIds","ukCultureSportIds","ukCultureSport.ids","is-culture-sport-light"],[this.eventTypeOptions,"selectedEventTypeIds","eventTypeIds","eventTypeIds",null],[this.ukRegionOptions,"selectedUkRegionIds","ukRegionIds","ukRegionIds",null],[this.globalRegionOptions,"selectedGlobalRegionIds","globalRegionIds","globalRegionIds",null]],De)},this.setupUsCategories=De=>{this.setupCategories([[this.usPoliticsOptions,"selectedUsPoliticsIds","usPoliticsIds","usPolitics.ids","is-politics-light"],[this.usBusinessEconomyOptions,"selectedUsBusinessEconomyIds","usBusinessEconomyIds","usBusinessEconomy.ids","is-business-economy-light"],[this.usLawSecurityOptions,"selectedUsLawSecurityIds","usLawSecurityIds","usLawSecurity.ids","is-home-affairs-light"],[this.usScienceSportArtsOptions,"selectedUsScienceSportArtsIds","usScienceSportArtsIds","usScienceSportArts.ids","is-health-science-light"],[this.usWorldOptions,"selectedUsWorldIds","usWorldIds","usWorld.ids","is-world-light"],[this.usCultureSportOptions,"selectedusCultureSportIds","usCultureSportIds","usCultureSport.ids","is-culture-sport-light"],[this.eventTypeOptions,"selectedEventTypeIds","eventTypeIds","eventTypeIds",null],[this.usNortheastRegionOptions,"selectedUsNortheastRegionIds","usNortheastRegionIds","usNortheastRegionIds",null],[this.usMidwestRegionOptions,"selectedUsMidwestRegionIds","usMidwestRegionIds","usMidwestRegionIds",null],[this.usSouthRegionOptions,"selectedUsSouthRegionIds","usSouthRegionIds","usSouthRegionIds",null],[this.usWestRegionOptions,"selectedUsWestRegionIds","usWestRegionIds","usWestRegionIds",null],[this.globalRegionOptions,"selectedGlobalRegionIds","globalRegionIds","globalRegionIds",null]],De)},this.setupCategories=(De,we)=>{De.forEach(([ot,tn,Wt,Ut,cn])=>{this[tn]=we.pipe((0,Ci.T)($n=>Ut.includes(".")?(0,rn.get)($n,Ut):$n[Ut]),(0,Mo.F)(($n,hs)=>(0,rn.isEqual)($n,hs)),(0,Io.t)({bufferSize:1,refCount:!0})),this[tn].pipe(ya(ot),(0,jt.Q)(this.destroyed$)).subscribe($n=>{const hs=(0,rn.some)($n[0]),Oo=hs&&hs&&$n[0][0]!==this.excludeId?(0,rn.map)($n[0],ps=>{let ba=this.flattenData($n[1]);return{text:(0,rn.find)(ba,fr=>fr.id==ps).name,cssClass:cn,remove:()=>this.plannerSearch.setIds((0,rn.without)($n[0],ps),Wt)}}):null;this.currentSelectionService.push(Wt,cn,Oo),this.hasSelections[Wt]=hs})})},this.clearFilters=()=>{this.plannerSearch.clearFilters(),this.savedSearchControl.setValue("",{emitEvent:!1})},this.selectDateRange=(De,we)=>{this.plannerSearch.setDateRangeIds(De.map(ot=>+ot.id),we)},this.selectDates=De=>{this.plannerSearch.setDateSelection(De,null)},this.selectDateOptions=De=>{this.plannerSearch.setIds(De.map(we=>+we.id),"dateOptions")},this.selectId=(De,we)=>{const ot=De.map(tn=>+tn.id);if(this.shouldResetTopLevelCategoryParams(we,ot))this.plannerSearch.setMultiple(this.buildResetTopLevelCategoryParams(we));else if(this.shouldSelectAllTopLevelCategory(we,ot)){const tn=this.getTopLevelCategoryParams(we),Wt=!this.hasAnyTopLevelCategoryQueryParams(tn);
1this.plannerSearch.setMultiple(this.buildTopLevelCategoryParams(we,null,Wt))}else this.shouldSelectOnlyCurrentTopLevelCategory(we,ot)?this.plannerSearch.setMultiple(this.buildTopLevelCategoryParams(we,ot.length?ot.join(","):null,!0)):this.shouldSetNoneOnClearedTopLevelCategory(we,ot)?this.plannerSearch.setMultiple(this.buildTopLevelCategoryParams(we,this.excludeId,!1)):this.plannerSearch.setIds(ot,we)},this.selectTopLevelCategoryAction=(De,we)=>{if("All"!==De&&"Only"!==De)return;const ot=this.getTopLevelCategoryParams(we);if(!ot.length)return;const tn="Only"===De||!this.hasAnyTopLevelCategoryQueryParams(ot);this.plannerSearch.setMultiple(this.buildTopLevelCategoryParams(we,null,tn))},this.syncTopLevelSelectionTypes=De=>{dn.SA.forEach(we=>{this.topLevelSelectionTypes[we]=this.getTopLevelSelectionType(De,we)})},this.getTopLevelSelectionType=(De,we)=>{const ot=this.getTopLevelCategoryParams(we);if(!ot.length)return"";const tn=dn.jI[we],Wt=tn?De[tn]:null;if(!Wt)return"";if(!1===Wt.active)return"None";const Ut=Wt.ids?.length>0,cn=ot.filter(hs=>hs!==we).filter(hs=>{const Fs=dn.jI[hs];return!1===(Fs?De[Fs]:null)?.active});return Ut?"Some":cn.length===ot.length-1?"Only":cn.length>0?"All":""},this.shouldSelectOnlyCurrentTopLevelCategory=(De,we)=>{const ot=this.getTopLevelCategoryParams(De);return!(!ot.length||!we.length||we.includes(this.excludeId)||this.hasAnyTopLevelCategoryQueryParams(ot))},this.shouldSelectAllTopLevelCategory=(De,we)=>{if(!this.getTopLevelCategoryParams(De).length||!we.length||we.includes(this.excludeId))return!1;const tn=this.topLevelSelectableIds[De]??[];return!(!tn.length||we.length!==tn.length)&&tn.every(Wt=>we.includes(Wt))},this.shouldSetNoneOnClearedTopLevelCategory=(De,we)=>{if(!this.getTopLevelCategoryParams(De).length||we.length>0)return!1;const ot=this.route.snapshot.queryParams;return Object.prototype.hasOwnProperty.call(ot,De)&&`${ot[De]}`!=`${this.excludeId}`},this.shouldResetTopLevelCategoryParams=(De,we)=>{const ot=this.getTopLevelCategoryParams(De);if(!ot.length)return!1;const tn=we.includes(this.excludeId),Wt=!we.length&&this.shouldSetNoneOnClearedTopLevelCategory(De,we);if(!tn&&!Wt)return!1;const Ut=this.route.snapshot.queryParams;return ot.filter(cn=>cn!==De).every(cn=>`${Ut[cn]}`==`${this.excludeId}`)},this.hasAnyTopLevelCategoryQueryParams=De=>{const we=this.route.snapshot.queryParams;return De.some(ot=>Object.prototype.hasOwnProperty.call(we,ot))},this.buildResetTopLevelCategoryParams=De=>{const we=this.getTopLevelCategoryParams(De),ot=this.getTopLevelCategoryPageParams(De),tn=this.getTopLevelCategoryViewAllParams(De),Wt={page:null};return we.forEach(Ut=>{Wt[Ut]=null}),ot.forEach(Ut=>{Wt[Ut]=null}),tn.forEach(Ut=>{Wt[Ut]=null}),Wt},this.buildTopLevelCategoryParams=(De,we,ot)=>{const tn=this.getTopLevelCategoryParams(De),Wt=this.getTopLevelCategoryPageParams(De),Ut=this.getTopLevelCategoryViewAllParams(De),cn={page:null};return ot?(Wt.forEach($n=>{cn[$n]=null}),Ut.forEach($n=>{cn[$n]=null}),tn.forEach($n=>{cn[$n]=$n===De?we:this.excludeId})):(cn[De]=we,cn[De.replace("Ids","Page")]=null,cn[De.replace("Ids","ViewAll")]=null),cn},this.getTopLevelCategoryParams=De=>dn.wX.includes(De)?dn.wX:dn.Oc.includes(De)?dn.Oc:[],this.getTopLevelCategoryPageParams=De=>dn.wX.includes(De)?dn.fM:dn.Oc.includes(De)?dn.BX:[],this.getTopLevelCategoryViewAllParams=De=>dn.wX.includes(De)?dn.IP:dn.Oc.includes(De)?dn.w3:[],this.initialiseTopLevelSelectableIds=()=>{dn.SA.forEach(De=>{const we=dn.ac[De];we&&we.pipe((0,ci.s)(1),(0,jt.Q)(this.destroyed$),(0,Ci.T)(ot=>this.flattenData(ot).filter(tn=>+tn.id>=0&&tn.id!==tn.selectAllId).map(tn=>+tn.id))).subscribe(ot=>{this.topLevelSelectableIds[De]=ot})})},this.toggleDateTab=De=>{if(1==this.isDateTabOpen[De])this.isDateTabOpen[De]=!1,this.animateDateTab=!0;else{let we=!1;(0,rn.keys)(this.isDateTabOpen).forEach(ot=>{this.isDateTabOpen[ot]&&(we=!0),this.isDateTabOpen[ot]=ot==De}),this.animateDateTab=!we}},this.toggleNewDateTab=De=>{if(1==this.isNewDateTabOpen[De])this.isNewDateTabOpen[De]=!1,this.animateNewDateTab=!0;else{let we=!1;
1(0,rn.keys)(this.isNewDateTabOpen).forEach(ot=>{this.isNewDateTabOpen[ot]&&(we=!0),this.isNewDateTabOpen[ot]=ot==De}),this.animateNewDateTab=!we}},this.toggleUpdatedDateTab=De=>{if(1==this.isUpdatedDateTabOpen[De])this.isUpdatedDateTabOpen[De]=!1,this.animateUpdatedDateTab=!0;else{let we=!1;(0,rn.keys)(this.isUpdatedDateTabOpen).forEach(ot=>{this.isUpdatedDateTabOpen[ot]&&(we=!0),this.isUpdatedDateTabOpen[ot]=ot==De}),this.animateUpdatedDateTab=!we}},this.toggleAllTopLevelCategories=()=>{this.setAllTopLevel(this.siteCulture==St._u.US?this.usCategoryKeys:this.ukCategoryKeys)},this.setAllTopLevel=De=>{(0,rn.every)(De,we=>this.isOpen[we])?(De.forEach(we=>{this.isOpen[we]=!1}),this.toggleTopLevelCategoryLabel="All"):(De.forEach(we=>{this.isOpen[we]=!0}),this.toggleTopLevelCategoryLabel="None")},this.flattenData=De=>(0,rn.flatMapDeep)(De,we=>Array.isArray(we)?this.flattenData(we):"object"==typeof we&&"children"in we?[{id:we.id,name:we.name},...this.flattenData(we.children||[])]:we)}setDateSelections(s,u,h,x,G){const ne=[{text:`${u}: ${s?.startDate?Ai(s?.startDate).format("DD-MMM-YY"):""}`,cssClass:"",remove:()=>this.plannerSearch.setDate(null,x)}];let Ee=!1;if("startDate"==x&&s?.startDate){let we=Ai(),ot=Ai(s.startDate);we.format("YYYY-MMM-DD")==ot.format("YYYY-MMM-DD")&&(Ee=!0)}this.currentSelectionService.push(x,"",s?.startDate&&!Ee?ne:null);const De=[{text:`${h}: ${s?.endDate?Ai(s?.endDate).format("DD-MMM-YY"):""}`,cssClass:"",remove:()=>this.plannerSearch.setDate(null,G)}];this.currentSelectionService.push(G,"",s?.endDate?De:null)}ngOnInit(){const s=this.plannerSearch.getSearchParams().pipe((0,jt.Q)(this.destroyed$));this.initialiseTopLevelSelectableIds(),this.savedSearchControl.valueChanges.pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{u?this.router.navigate([],{relativeTo:this.route,queryParams:{alertId:u}}):this.clearFilters()}),dn.SA.forEach(u=>{this.topLevelSelectionTypes[u]=""}),s.pipe((0,Pn.p)(u=>!!u)).subscribe(u=>{this.syncTopLevelSelectionTypes(u)}),(0,_s.z)([this.accountApi.getSearchAlertsAndSavedSearches(),this.route.queryParams]).pipe((0,jt.Q)(this.destroyed$)).subscribe(([u,h])=>{this.savedSeachesAndSearchAlerts=u;let x=h.alertId??void 0;if(x){let G=!1;if(this.selectedSearch?.alertId!=x&&(G=!0),this.selectedSearch=(0,rn.find)(this.savedSeachesAndSearchAlerts,ne=>ne.alertId==x),this.selectedSearch){if(this.savedSearchControl.setValue(x,{emitEvent:!1}),G){const ne=this.store.selectSnapshot(De=>De.app.user.user);let Ee=JSON.parse(this.selectedSearch.searchJson).searchParams;this.selectedSearch.isAlert&&(Ee.newDateRangeId=[this.selectedSearch.frequency==xu.T7.Weekly?4:6],Ee.updatedDateRangeId=[this.selectedSearch.frequency==xu.T7.Weekly?4:6]),this.selectedSearch.siteCulture!=ne.siteCulture?this.store.dispatch(new ei.zd.SwitchCulture(this.selectedSearch.siteCulture)).pipe((0,jt.Q)(this.destroyed$)).subscribe(De=>{this.router.navigate([],{relativeTo:this.route,queryParams:this.plannerSearch.getQueryParams(Ee,x,this.selectedSearch.siteCulture,this.selectedSearch.isAlert),replaceUrl:!0})}):this.router.navigate([],{relativeTo:this.route,queryParams:this.plannerSearch.getQueryParams(Ee,x,this.selectedSearch.siteCulture,this.selectedSearch.isAlert),replaceUrl:!0})}}else this.selectedSearch=null}else this.selectedSearch=null}),this.keys.forEach(u=>{this.isOpen[u]=!!this.openKeys.includes(u),this.hasSelections[u]=!1}),this.isDateTabOpen["date-range"]=!1,this.isDateTabOpen["date-selection"]=!1,this.isDateTabOpen["date-options"]=!1,this.isNewDateTabOpen["new-date-range"]=!1,this.isNewDateTabOpen["new-date-selection"]=!1,this.isUpdatedDateTabOpen["updated-date-range"]=!1,this.isUpdatedDateTabOpen["updated-date-selection"]=!1,this.setupDates(s),this.setupNewDates(s),this.setupUpdatedDates(s),this.setupKeyEventsTopStories(s),this.setupEmbargoed(s),this.store.select(ei.is.user).pipe((0,Pn.p)(u=>void 0!==u),(0,Pn.p)(u=>null!==u),(0,jt.Q)(this.destroyed$)).subscribe(u=>{this.siteCulture&&u.siteCulture!=this.siteCulture&&(this.plannerSearch.switchCulture(u.siteCulture),this.toggleTopLevelCategoryLabel=u.siteCulture==St._u.US?(0,rn.every
1)(this.usCategoryKeys,h=>this.isOpen[h])?"None":"All":(0,rn.every)(this.ukCategoryKeys,h=>this.isOpen[h])?"None":"All"),this.siteCulture=u.siteCulture,u.siteCulture==St._u.US?this.setupUsCategories(s):this.setupUkCategories(s)}),this.plannerSearch.hasFilters.pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.hasFilters=u})}saveSearch(){this.plannerSearch.getSearchParams().pipe((0,ci.s)(1)).subscribe(s=>{let u=s.dateSelection;u&&!u.endDate&&Ai(u.startDate).isSame(Ai(new Date),"day")&&(s.dateSelection.startDate=null),s.displayedDate&&(s.displayedDate=null),this.modalService.show(Gh.z,{initialState:{search:{page:"planner",searchParams:s,version:1},existingAlert:this.selectedSearch,isDarkMode:this.isDarkMode},backdrop:!0,ignoreBackdropClick:!1,class:this.isDarkMode?"fsn-modal is-dark-mode":"fsn-modal"})})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.nX),e.rXU(an.Ix),e.rXU(ni.t9),e.rXU(O.I8),e.rXU(wt.yo),e.rXU(ui.il),e.rXU(Ma))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["planner-search-filter"]],inputs:{isDarkMode:"isDarkMode"},features:[e.Jv_([Ma]),e.Vt3],decls:72,vars:33,consts:[[1,"saved-searches"],[1,"form-control","form-control-sm","col-8",3,"formControl"],["value",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"search-filter"],["heading","Dates",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["heading","Key Events/Top Stories",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["heading","Category",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["heading","Embargoed",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["heading","Event Types",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["heading","Location",3,"isOpen","contentTemplate","hasSelections","isOpenChange"],["dates",""],["keyEventsTopStories",""],["categories",""],["embargoed",""],["eventTypes",""],["regions",""],["ukPolitics",""],["ukHomeAffairs",""],["ukWorld",""],["ukBusinessEconomy",""],["ukHealthScience",""],["ukCultureSport",""],["ukRegion",""],["globalRegion",""],["usPolitics",""],["usBusinessEconomy",""],["usLawSecurity",""],["usScienceSportArts",""],["usWorld",""],["usCultureSport",""],["usRegions",""],["usNortheastRegion",""],["usMidwestRegion",""],["usSouthRegion",""],["usWestRegion",""],[3,"value"],["text","Clear","lightGray","","small","","outline","","rounded","",3,"click"],["text","Save/Alert","color","lavender-1","whiteText","","small","","rounded","","icon","add","iconSize","14px",3,"click"],[3,"selection","collapse","isDarkMode","isAnimated","selectionChanged"],[1,"tabs"],[1,"tab",3,"click"],["rotate90","true",1,"float-end",3,"icon","hover"],["singleSelect","true",3,"allOptions","selectedIds","collapse","isDarkMode","isAnimated","selectionChanged"],["singleSelect","true",3,"allOptions","selectedIds","isDarkMode","selectionChanged"],[1,"toggle-top-level-categories-2"],["role","button",1,"option",3,"click"],["heading","UK Politics","cssClass","is-politics",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Home Affairs","cssClass","is-home-affairs",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","World","cssClass","is-world",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Business & Economy","cssClass","is-business-economy",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Health, Science & Climate","cssClass","is-health-science",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Culture & Sport","cssClass","is-culture-sport",3,"isOpen","contentTemplate","hasSelections","isChild","isLastChild","isOpenChange"],["heading","US Politics","cssClass","is-politics",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Law & Security","cssClass","is-home-affairs",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Culture & Sports","cssClass","is-culture-sport",3,"isOpen","contentTemplate","hasSelections","isChild","isLastChild","isOpenChange"],[3,"allOptions","selectedIds","isDarkMode","selectionChanged"],["heading","UK",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Global",3,"isOpen","contentTemplate","hasSelections","isChild","isLastChild","isOpenChange"],["heading","US",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["cssClass","is-politics",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-home-affairs",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-world",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-business-economy",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-health-science",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-culture-sport",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","selectionChanged","topLevelSelectionChanged"],["cssClass","is-politics",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["cssClass","is-business-economy",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["cssClass","is-home-affairs",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["cssClass","is-health-science",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["cssClass","is-world",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["cssClass","is-culture-sport",3,"allOptions","selectedIds","topLevelSelectionType","hasDeselect","isDarkMode","topLevelSelectionChanged","selectionChanged"],["heading","Northeast",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","Midwest",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","South",3,"isOpen","contentTemplate","hasSelections","isChild","isOpenChange"],["heading","West",3,"isOpen","contentTemplate","hasSelections","isChild","isLastChild","isOpenChange"]],template:function(u,h){if(1&u&&(e.j41(0,"div",0),e.EFF(1," SAVED SEARCH "),e.j41(2,"select",1)(3,"option",2),e.EFF(4,"Load saved search"),e.k0s(),e.DNE(5,Ka,2,2,"option",3),e.k0s()(),e.j41(6,"header"),e.EFF(7," FILTERS "),e.DNE(8,kf,3,0,"ng-container",4),e.k0s(),e.j41(9,"ul",5)(10,"li")(11,"search-filter-container",6),e.bIt("isOpenChange",function(G){return h.isOpen.dates=G}),e.k0s()(),e.j41(12,"li")(13,"search-filter-container",7),e.bIt("isOpenChange",function(G){return h.isOpen.keyEventsTopStories=G}),e.k0s()(),e.j41(14,"li")(15,"search-filter-container",8),e.bIt("isOpenChange",function(G){return h.isOpen.categories=G}),e.k0s()(),e.j41(16,"li")(17,"search-filter-container",9),e.bIt("isOpenChange",function(G){return h.isOpen.embargoed=G}),e.k0s()(),e.j41(18,"li")(19,"search-filter-container",10),e.bIt("isOpenChange",function(G){return h.isOpen.eventTypes=G}),e.k0s()(),e.j41(20,"li")(21,"search-filter-container",11),e.bIt("isOpenChange",function(G){return h.isOpen.regions=G}),e.k0s()()(),e.DNE(22,Tu,16,37,"ng-template",null,12,e.C5r),e.DNE(24,Yg,1,3,"
1ng-template",null,13,e.C5r),e.DNE(26,Iu,7,8,"ng-template",null,14,e.C5r),e.DNE(28,Il,1,3,"ng-template",null,15,e.C5r),e.DNE(30,qh,1,3,"ng-template",null,16,e.C5r),e.DNE(32,Fu,2,2,"ng-template",null,17,e.C5r),e.DNE(34,qc,1,5,"ng-template",null,18,e.C5r),e.DNE(36,si,1,5,"ng-template",null,19,e.C5r),e.DNE(38,Au,1,5,"ng-template",null,20,e.C5r),e.DNE(40,Ru,1,5,"ng-template",null,21,e.C5r),e.DNE(42,Qa,1,5,"ng-template",null,22,e.C5r),e.DNE(44,Ad,1,5,"ng-template",null,23,e.C5r),e.DNE(46,Rd,1,3,"ng-template",null,24,e.C5r),e.DNE(48,Nu,1,3,"ng-template",null,25,e.C5r),e.DNE(50,pr,1,5,"ng-template",null,26,e.C5r),e.DNE(52,vc,1,5,"ng-template",null,27,e.C5r),e.DNE(54,ep,1,5,"ng-template",null,28,e.C5r),e.DNE(56,Lu,1,5,"ng-template",null,29,e.C5r),e.DNE(58,Nd,1,5,"ng-template",null,30,e.C5r),e.DNE(60,Zc,1,5,"ng-template",null,31,e.C5r),e.DNE(62,Ld,4,25,"ng-template",null,32,e.C5r),e.DNE(64,Ef,1,3,"ng-template",null,33,e.C5r),e.DNE(66,xf,1,3,"ng-template",null,34,e.C5r),e.DNE(68,dl,1,3,"ng-template",null,35,e.C5r),e.DNE(70,Pr,1,3,"ng-template",null,36,e.C5r)),2&u){const x=e.sdS(23),G=e.sdS(25),ne=e.sdS(27),Ee=e.sdS(29),De=e.sdS(31),we=e.sdS(33);e.R7$(2),e.Y8G("formControl",h.savedSearchControl),e.R7$(3),e.Y8G("ngForOf",h.savedSeachesAndSearchAlerts),e.R7$(3),e.Y8G("ngIf",h.hasFilters),e.R7$(3),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.dates)("contentTemplate",x)("hasSelections",h.hasSelections.dates),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.keyEventsTopStories)("contentTemplate",G)("hasSelections",h.hasSelections.keyEventsTopStories),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.categories)("contentTemplate",ne)("hasSelections",h.hasSelections.categories),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.embargoed)("contentTemplate",Ee)("hasSelections",h.hasSelections.embargoed),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.eventTypes)("contentTemplate",De)("hasSelections",h.hasSelections.eventTypes),e.R7$(2),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isOpen",h.isOpen.regions)("contentTemplate",we)("hasSelections",h.hasSelections.ukRegions||h.hasSelections.usRegions)}},dependencies:[Do.D,Lt.Sq,Lt.bT,Yn.xH,Yn.y7,Yn.wz,Yn.BC,Yn.l_,En,jn.R,Td,Kh,Qh],styles:["[_nghost-%COMP%]    {display:block;padding:0 0 30px}[_nghost-%COMP%]     .top-level-category-buttons{margin-bottom:5px;width:148px;height:52px}@media (min-width: 1200px){[_nghost-%COMP%]     .top-level-category-buttons{width:168px}}@media (min-width: 1400px){[_nghost-%COMP%]     .top-level-category-buttons{width:208px;height:26px}}[_nghost-%COMP%]     .top-level-category-buttons.is-dark-mode .option{color:#d4d4ee;background-color:#b2aaff}[_nghost-%COMP%]     .top-level-category-buttons.is-dark-mode .option.is-active{color:#26224f;background-color:#fff}[_nghost-%COMP%]     .top-level-category-buttons:not(.is-dark-mode) .option{color:#8c8cb5;background-color:#e6e6ff}[_nghost-%COMP%]     .top-level-category-buttons:not(.is-dark-mode) .option.is-active{color:#fff;background-color:#26224f}[_nghost-%COMP%]     .top-level-category-buttons .option{display:inline-block;margin:2px;width:70px;height:22px;line-height:22px;border-radius:5px;text-align:center;font-size:11px;text-decoration:none}[_nghost-%COMP%]     .top-level-category-buttons .option:last-of-type{margin-right:0}@media (min-width: 1200px){[_nghost-%COMP%]     .top-level-category-buttons .option{font-size:12px;width:80px}}@media (min-width: 1400px){[_nghost-%COMP%]     .top-level-category-buttons .option{width:100px;width:48px}}[_nghost-%COMP%]     .toggle-top-level-categories-2{margin-bottom:5px;width:148px;height:26px;border-radius:5px}@media (min-width: 1200px){[_nghost-%COMP%]     .toggle-top-level-categories-2{width:168px}}@media (min-width: 1400px){[_nghost-%COMP%]     .toggle-top-level-categories-2{width:208px}}[_nghost-%COMP%]     .toggle-top-level-categories-2.is-dark-mode{color:#d4d4ee;background-color:#b2aaff}[_nghost-%COMP%]     .toggle-top-level-categories-2:not(.is-dark-mode){color:#8c8cb5;background-color:#e6e6ff}
1[_nghost-%COMP%]     .toggle-top-level-categories-2 .option{display:inline-block;margin:2px;width:70px;height:22px;line-height:22px;border-radius:5px;text-align:center;font-size:11px;text-decoration:none}[_nghost-%COMP%]     .toggle-top-level-categories-2 .option.is-active{color:#26224f;background-color:#fff}@media (min-width: 1200px){[_nghost-%COMP%]     .toggle-top-level-categories-2 .option{font-size:12px;width:80px}}@media (min-width: 1400px){[_nghost-%COMP%]     .toggle-top-level-categories-2 .option{width:100px}}[_nghost-%COMP%]     .toggle-top-level-categories{font-size:13px;text-decoration:none;height:25px;line-height:23px}[_nghost-%COMP%]     .toggle-top-level-categories.is-dark-mode{color:#d4d4ee}[_nghost-%COMP%]     .toggle-top-level-categories:not(.is-dark-mode){color:#767698}[_nghost-%COMP%]     .toggle-top-level-categories icon{margin:0 0 0 2px;width:22px}[_nghost-%COMP%]     sub-filter-wrapper:last-of-type{border-bottom:0}[_nghost-%COMP%]     sub-filter-wrapper:last-of-type .sub-filter-container{border-bottom-color:#fff!important}@media (min-width: 1400px){[_nghost-%COMP%]    {padding-left:5px}}@media (min-width: 1410px){[_nghost-%COMP%]    {padding-left:8px}}[_nghost-%COMP%]     .saved-searches{position:relative;margin:10px 0 5px;padding-bottom:15px;color:#8c8cb5;font-size:14px;font-weight:300;border-bottom:solid 1px #e6e6ff}[_nghost-%COMP%]     .saved-searches select{margin-top:4px;border-radius:6px;height:30px;line-height:30px;padding:0 10px;border:solid 1px #e6e6ff;color:#8c8cb5;font-size:13px}[_nghost-%COMP%]     header{position:relative;margin:15px 0 5px;color:#8c8cb5;font-size:14px;font-weight:300}[_nghost-%COMP%]     header fsn-button{position:absolute;top:-1px;right:0}[_nghost-%COMP%]     header fsn-button:nth-of-type(2){right:53px}[_nghost-%COMP%]     ul.search-filter .tabs{display:flex;flex-direction:row;height:35px;line-height:35px}[_nghost-%COMP%]     ul.search-filter .tabs>.tab{position:relative;font-size:13px;color:#767698;cursor:pointer;flex-grow:1}[_nghost-%COMP%]     ul.search-filter .tabs>.tab.is-dark-mode{color:#d4d4ee}[_nghost-%COMP%]     ul.search-filter .tabs>.tab>icon{height:24px;width:22px}[_nghost-%COMP%]     ul.search-filter .tabs>.tab icon.chevron{position:absolute;top:6px;right:3px}[_nghost-%COMP%]     ul.search-filter .sub-filter-header{color:#d4d4ee;font-size:12px;font-weight:600;line-height:45px;cursor:pointer}[_nghost-%COMP%]     ul.search-filter .sub-filter-header.is-active{color:#f7f7fd}[_nghost-%COMP%]     ul.search-filter .sub-filter-header icon{margin:11px 3px 0 0}[_nghost-%COMP%]     hr.thin{margin:.5rem 0}[_nghost-%COMP%]     search-filter-checkbox.no-parent-checkbox>ul>li>a{font-weight:600!important}"]})}}return c})();var Sf=w(2900);let ju=(()=>{class c{constructor(){this.size="17",this.icon="star"}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["events-key"]],inputs:{isDarkMode:"isDarkMode"},decls:19,vars:10,consts:[["icon","stars","size","17px",1,"is-wide-icon",3,"cssClass","filled"],["icon","star","size","17px",3,"cssClass"],["icon","error","size","17px",1,"is-wide-icon",3,"cssClass"],["icon","notification_important","size","17px",3,"cssClass"],["icon","keep","size","17px",3,"cssClass"],["icon","content_copy","size","17px",1,"is-wide-icon",3,"cssClass","rotate270"]],template:function(u,h){1&u&&(e.j41(0,"ul")(1,"li"),e.nrm(2,"icon",0),e.EFF(3,"Key Event"),e.k0s(),e.j41(4,"li"),e.nrm(5,"icon",1),e.EFF(6,"Top Story"),e.k0s(),e.j41(7,"li"),e.nrm(8,"icon",2),e.EFF(9,"Embargoed/Operational"),e.k0s(),e.j41(10,"li"),e.nrm(11,"icon",3),e.EFF(12,"Alert"),e.k0s(),e.j41(13,"li"),e.nrm(14,"icon",4),e.EFF(15,"Pin"),e.k0s(),e.j41(16,"li"),e.nrm(17,"icon",5),e.EFF(18,"Copy"),e.k0s()()),2&u&&(e.AVh("is-dark-mode",h.isDarkMode),e.R7$(2),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1")("filled",!0),e.R7$(3),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1"),e.R7$(3),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1"),e.R7$(3),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1"),e.R7$(3),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1"),e.R7$(3),e.Y8G("cssClass",h.isDarkMode?"gray-2":"blue-1")("rotate270",!0))},dependencies:[jn.R],styles:["ul[_ngcontent-%COMP%]{margin-left:3px;margin-bottom:20px}ul.is-dark-mode[_ngcontent-%COMP%]{color:#8c8cb5}ul[_ngcontent-%COMP%]:not(.is-dark-mode){color:#26224f}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline;margin-right:20px;font-size:10px;font-weight:400}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-right:3px}
1ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   icon.is-wide-icon[_ngcontent-%COMP%]{margin-right:5px}"]})}}return c})();function Tf(c,m){1&c&&e.nrm(0,"icon",4),2&c&&e.Y8G("hover",!1)}const tp=function(c,m){return{"is-fixed":c,"is-dark-mode":m}};function td(c,m){if(1&c){const s=e.RV6();e.qex(0),e.j41(1,"li",1),e.bIt("click",function(){const x=e.eBV(s).$implicit;return e.Njj(!x.isFixed&&x.remove())}),e.nrm(2,"span",2),e.nI1(3,"safe"),e.DNE(4,Tf,1,1,"icon",3),e.k0s(),e.bVm()}if(2&c){const s=m.$implicit,u=e.XpG();e.R7$(1),e.HbH(s.cssClass?s.cssClass:"default-bg"),e.FS9("title",s.isFixed?"":"Remove"),e.Y8G("ngClass",e.l_i(9,tp,s.isFixed,u.isDarkMode)),e.R7$(1),e.Y8G("innerHtml",e.i5U(3,6,s.text,"html"),e.npT),e.R7$(2),e.Y8G("ngIf",!s.isFixed)}}let np=(()=>{class c extends St.$G{constructor(s){super(),this.selectionService=s}ngOnInit(){this.current$=this.selectionService.selections$}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Ma))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-filter-current-selection"]],inputs:{isDarkMode:"isDarkMode"},features:[e.Vt3],decls:3,vars:3,consts:[[4,"ngFor","ngForOf"],[3,"title","ngClass","click"],[1,"text",3,"innerHtml"],["icon","close","size","17px","class","float-end",3,"hover",4,"ngIf"],["icon","close","size","17px",1,"float-end",3,"hover"]],template:function(u,h){1&u&&(e.j41(0,"ul"),e.DNE(1,td,5,12,"ng-container",0),e.nI1(2,"async"),e.k0s()),2&u&&(e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,h.current$)))},dependencies:[Lt.YU,Lt.Sq,Lt.bT,jn.R,Lt.Jj,I],styles:["[_nghost-%COMP%]{display:inline-block}[_nghost-%COMP%]   .text[_ngcontent-%COMP%] {padding-left:4px}[_nghost-%COMP%]   .text[_ngcontent-%COMP%]  .feather{margin:0 3px 0 2px;width:16px;stroke-width:1px;font-weight:300}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{float:left;font-size:12px;font-weight:400;cursor:pointer;margin:0 6px 8px 0;padding:0 10px;height:26px;line-height:26px;border-radius:11px;color:#8c8cb5}ul[_ngcontent-%COMP%] > li.is-dark-mode[_ngcontent-%COMP%]{color:#26224f}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-of-type{margin-right:0}ul[_ngcontent-%COMP%] > li.default-bg[_ngcontent-%COMP%]{background-color:#e6e6ff}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{padding-right:5px}ul[_ngcontent-%COMP%] > li.is-fixed[_ngcontent-%COMP%]{padding-left:16px;cursor:default;color:#d4d4ee}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > .feather[_ngcontent-%COMP%]{width:16px;stroke-width:1px;font-weight:300}"]})}}return c})();function Ar(c,m){if(1&c&&e.nrm(0,"icon",26),2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")}}function Vu(c,m){if(1&c&&e.nrm(0,"icon",27),2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")("filled",!0)}}function ip(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",28),2&c){const s=e.XpG();e.Y8G("cssClass",null==s.model?null:s.model.categoryCssClass)("forCard",!1)("isDarkMode",s.isDarkMode)}}function Bu(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",29),2&c){const s=e.XpG();e.Y8G("cssClass",null==s.model?null:s.model.categoryCssClass)("forCard",!1)("isDarkMode",s.isDarkMode)}}function kr(c,m){1&c&&(e.j41(0,"span",30),e.nrm(1,"icon",31),e.EFF(2,"Operational use only; not for publication/broadcast"),e.k0s())}function yc(c,m){if(1&c&&(e.j41(0,"span",30),e.nrm(1,"icon",31),e.EFF(2),e.nI1(3,"date"),e.k0s()),2&c){const s=e.XpG();e.R7$(2),e.SpI("Embargoed until ",e.brH(3,1,null==s.model?null:s.model.embargoedDate,"EEE, MMM d, HH:mm","UTC"),"")}}function $u(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",34),e.nrm(2,"icon",35),e.j41(3,"a",36),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit,u=m.index;e.R7$(1),e.AVh("not-first",u>0),e.R7$(2),e.FS9("href",s.value.url,e.B4B),e.R7$(1),e.JRh(s.value.text)}}function sp(c,m){if(1&c&&(e.j41(0,"div",32),e.DNE(1,$u,5,4,"ng-container",33),e.nI1(2,"keyvalue"),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,null==s.model?null:s.model.links))}}function Uu(c,m){if(1&c&&(e.qex(0),e.j41(1,"div"),e.nrm(2,"icon",43),e.j41(3,"a",44),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit;e.R7$(3),e.Mz_("href","mailto:",s,"",e.B4B),e.R7$(1),e.JRh(s)}}function Hu(c,m){if(1&c&&(e.j41(0,"div"),e.nrm(1,"icon",45),e.EFF(2),e.k0s()),2&c){const s=e.XpG().$implicit;e.R7$(2),e.JRh(s.value.phone)}}
1function nd(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",42)(2,"div"),e.EFF(3),e.k0s(),e.DNE(4,Uu,5,2,"ng-container",33),e.DNE(5,Hu,3,1,"div",41),e.k0s(),e.bVm()),2&c){const s=m.$implicit,u=m.index,h=e.XpG(3);e.R7$(1),e.AVh("not-first",u>0||(null==h.model?null:h.model.links.length)>0),e.R7$(2),e.Lme("",s.value.name,"",s.value.companyName!==s.value.name?", "+s.value.companyName:"",""),e.R7$(1),e.Y8G("ngForOf",s.value.emails),e.R7$(1),e.Y8G("ngIf",s.value.phone)}}function jd(c,m){if(1&c&&(e.qex(0),e.DNE(1,nd,6,6,"ng-container",33),e.nI1(2,"keyvalue"),e.bVm()),2&c){const s=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,null==s.model?null:s.model.contacts))}}function op(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",37)(1,"div",38)(2,"a",39),e.bIt("click",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.toggleContactsVisible(h))}),e.EFF(3),e.nrm(4,"icon",40),e.k0s()(),e.DNE(5,jd,3,3,"ng-container",41),e.k0s()}if(2&c){const s=e.XpG();e.AVh("contacts-visible",null==s.model?null:s.model.contactsVisible),e.R7$(3),e.SpI("",null!=s.model&&s.model.contactsVisible?"Hide":"View"," Contacts"),e.R7$(1),e.Y8G("icon",null!=s.model&&s.model.contactsVisible?"chevron_backward":"chevron_forward")("hover",!1),e.R7$(1),e.Y8G("ngIf",null==s.model?null:s.model.contactsVisible)}}function Yu(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",46),e.nrm(2,"icon",47),e.j41(3,"a",36),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit,u=m.index;e.R7$(1),e.AVh("not-first",u>0),e.R7$(2),e.FS9("href",s.value.url,e.B4B),e.R7$(1),e.JRh(s.value.title)}}function Vd(c,m){if(1&c&&(e.j41(0,"div",37)(1,"div",38),e.EFF(2,"Documents"),e.k0s(),e.DNE(3,Yu,5,4,"ng-container",33),e.nI1(4,"keyvalue"),e.k0s()),2&c){const s=e.XpG();e.AVh("mt-3",(null==s.model?null:s.model.contacts.length)>0||(null==s.model?null:s.model.links.length)>0),e.R7$(3),e.Y8G("ngForOf",e.bMT(4,3,null==s.model?null:s.model.documents))}}let rp=(()=>{class c extends dr.${constructor(s,u,h,x,G){super(),this.router=s,this.route=u,this.store=h,this.modalService=x,this.pinningService=G,this.isListed=!1,this.onRemoveFromList=new e.bkB,this.getUrlName=()=>(0,rn.kebabCase)(this.model.headline)}ngOnChanges(s){s.model&&(this.isPinned$=this.pinningService.isElementPinned$(this.model.calendarArticleId),this.hasAlert$=new _o.t(this.model.hasAlert),this.hasAlert$=new _o.t(!1),this.showButtons$=(0,_s.z)([this.isPinned$,this.hasAlert$]).pipe((0,Ci.T)(([u,h])=>u||h)))}alertChanged(s){this.model.hasAlert=s,this.hasAlert$.next(s)}removeFromList(s){this.onRemoveFromList.emit(s)}togglePinned(s){s.stopPropagation(),this.isPinned$=(0,go.of)(!0)}toggleContactsVisible(s){s.stopPropagation(),this.model.contactsVisible=!this.model.contactsVisible}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(O.I8),e.rXU(So.N))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["event-list-card"]],inputs:{model:"model",isDarkMode:"isDarkMode",isListed:"isListed"},outputs:{onRemoveFromList:"onRemoveFromList"},features:[e.Vt3,e.OA$],decls:33,vars:48,consts:[[1,"article"],[1,"category-icons"],[1,"category-info"],["size","8px",3,"cssClass"],[1,"category"],[1,"icons"],["icon","star","size","23px",3,"cssClass",4,"ngIf"],["icon","stars","size","23px",3,"cssClass","filled",4,"ngIf"],["label","new",3,"cssClass","forCard","isDarkMode",4,"ngIf"],["label","updated",3,"cssClass","forCard","isDarkMode",4,"ngIf"],[1,"article-list-card","clearfix"],[1,"article-list-card-left","float-start"],[1,"date-embargo"],[1,"date"],[1,"headline"],["class","info",4,"ngIf"],[1,"address"],[1,"copy",3,"innerHTML"],["class","links",4,"ngIf"],["class","contacts-links",3,"contacts-visible",4,"ngIf"],["class","contacts-links",3,"mt-3",4,"ngIf"],[1,"article-list-card-right","float-end","text-end"],[3,"websiteId","articleId","hasAlert","name","trackerAlert","isDarkMode","alwaysVisible","size","alertChange"],[3,"websiteId","articleId","eventHeadline","alwaysVisible","size","isGridView"],[3,"textToCopy","articleHash","articleId","eventHeadline","size"],[3,"cmsId","size"],["icon","star","size","23px",3,"cssClass"],["icon","stars","size","23px",3,"cssClass","filled"],["label","new",3,"cssClass","forCard","isDarkMode"],["label","updated",3,"cssClass","forCard","isDarkMode"],[1,"info"],["icon","error","size","22px","cssClass","blue-1"],[1,"links"],[4,"ngFor","ngForOf"],[1,"link"],["icon","link","size","14px","cssClass","gray-2"],["target","_blank",3,"href"],[1,"contacts-links"],[1,"header"],["role","button",1,"toggle-contacts",3,"click"],["rotate90","true",1,"float-end",3,"icon","hover"],[4,"ngIf"],[1,"contact"],["icon","alternate_email","size","14px","cssClass","gray-2"],[3,"href"],["icon","call","size","14px","cssClass","gray-2"],[1,"document"],["icon","download","size","18px","cssClass","gray-2"]],template:function(u,h){1&u&&(e.j41(0,"div",0),e.nI1(1,"async"),e.j41(2,"div",1)(3,"div",2),e.nrm(4,"category-indicator",3),e.j41(5,"span",4),e.EFF(6),e.k0s()(),e.j41(7,"div",5),e.DNE(8,Ar,1,1,"icon",6),e.DNE(9,Vu,1,2,"icon",7),e.DNE(10,ip,1,3,"new-or-updated-badge",8),e.DNE(11,Bu,1,3,"new-or-updated-badge",9),e.k0s()(),e.j41(12,"div",10)(13,"div",11)(14,"div",12)(15,"div",13),e.EFF(16),e.k0s()(),e.j41(17,"div",14)(18,"span",14),e.EFF(19),e.k0s(),e.DNE(20,kr,3,0,"span",15),e.DNE(21,yc,4,5,"span",15),e.k0s(),e.j41(22,"div",16),e.EFF(23),e.k0s(),e.nrm(24,"div",17),e.DNE(25,sp,3,3,"div",18),e.DNE(26,op,6,6,"div",19),e.DNE(27,Vd,5,5,"div",20),e.k0s(),e.j41(28,"div",21)(29,"alert-button",22),e.bIt("alertChange",function(G){return h.alertChanged(G)}),e.k0s(),e.nrm(30,"pin-button",23)(31,"copy-text",24)(32,"cms-edit-link",25),e.k0s()()()),2&u&&(e.HbH(h.model.categoryCssClass),e.AVh("is-dark-mode",h.isDarkMode)("is-pinned",e.bMT(1,46,h.isPinned$)),e.R7$(4),e.Y8G("cssClass",null==h.model?null:h.model.categoryCssClass),e.R7$(2),e.JRh(null==h.model?null:h.model.mainCategory),e.R7$(2),e.Y8G("ngIf",(null==h.model?null:h.model.isTopStory)&&!(null!=h.model&&h.model.isKeyEvent)),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isKeyEvent),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isNew),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isUpdated),e.R7$(5),e.Lme("",null==h.model?null:h.model.eventDate,"",null==h.model?null:h.model.eventTime,""),e.R7$(2),e.AVh("has-info",(null==h.model?null:h.model.isOperational)||(null==h.model?null:h.model.isEmbargoed)),e.R7$(1),e.JRh(null==h.model?null:h.model.headline),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isOperational),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isEmbargoed),e.R7$(2),e.JRh(null==h.model?null:h.model.address),e.R7$(1),e.Y8G("innerHTML",null==h.model?null:h.model.copy,e.npT),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.links.length)>0),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.contacts.length)>0),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.documents.length)>0),e.R7$(2),e.Y8G("websiteId",null==h.model?null:h.model.calendarArticleId)("articleId",null==h.model?null:h.model.articleHash)("hasAlert",null==h.model?null:h.model.hasAlert)("name",null==h.model?null:h.model.headline)("trackerAlert",null==h.model?null:h.model.trackerAlert)("isDarkMode",h.isDarkMode)("alwaysVisible",!0)("size","18px"),e.R7$(1),e.Y8G("websiteId",null==h.model?null:h.model.calendarArticleId)("articleId",null==h.model?null:h.model.articleHash)("eventHeadline",null==h.model?null:h.model.headline)("alwaysVisible",!0)("size","21p
1x")("isGridView",!1),e.R7$(1),e.Y8G("textToCopy",null==h.model?null:h.model.textToCopy)("articleHash",null==h.model?null:h.model.articleHash)("articleId",null==h.model?null:h.model.articleHash)("eventHeadline",null==h.model?null:h.model.headline)("size","19px"),e.R7$(1),e.Y8G("cmsId",null==h.model?null:h.model.dragonId)("size","19px"))},dependencies:[Lt.Sq,Lt.bT,Id,lr,Tr.a,jn.R,Ha.n,U,vo,Lt.Jj,Lt.vh,Lt.lG],styles:["[_nghost-%COMP%]{display:inline-block;width:100%;margin-bottom:6px}[_nghost-%COMP%]   .article[_ngcontent-%COMP%]{border:solid 1px #fff;border-radius:8px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]{position:relative;padding:18px}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#fff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{background-color:#26224f;color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#131128;color:#fff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .info[_ngcontent-%COMP%]{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]{background-color:#f7f7fd}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]{position:relative}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]{height:22px;line-height:22px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-size:12px;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:11px;display:inline-block;font-size:12px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]:last-of-type{margin-right:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;vertical-align:middle}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   new-or-updated-badge[_ngcontent-%COMP%]{margin-left:11px;margin-right:2px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:318px}@media (min-width: 1060px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:338px}}@media (min-width: 1130px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:397px}}@media (min-width: 1200px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:437px}}@media (min-width: 1300px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:477px}}@media (min-width: 1400px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:567px}}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]{position:relative;margin-top:6px;padding-right:2px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   alert-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   pin-button[_ngcontent-%COMP%]{display:block;position:absolute;top:25px;right:1px;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   copy-text[_ngcontent-%COMP%]{display:block;position:absolute;top:50px;right:0;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   cms-edit-link[_ngcontent-%COMP%]{display:block;position:absolute;top:75px;right:0;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:16px;font-family:Anek Bangla,serif;font-weight:700}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-size:16px;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .headline.has-info[_ngcontent-%COMP%]{margin-right:8px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:bottom;padding:0 8px 0 33px;height:28px;line-height:28px;border-radius:6px;font-size:12px;font-family:DM Sans,sans-serif;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:absolute;top:-1px;left:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .address[_ngcontent-%COMP%]{margin:5px 0;font-size:13px;line-height:17px;font-weight:600;color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]{font-size:13px;line-height:15px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul{padding-left:30px;list-style:disc!important}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li{padding-bottom:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{padding-bottom:12px;font-size:12px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]{padding-top:9px;border-top:solid 1px #e6e6ff;overflow:hidden;transition:max-height .3s linear;max-height:28px;font-size:12px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .toggle-contacts[_ngcontent-%COMP%]{display:inline-block}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links.contacts-visible[_ngcontent-%COMP%]{max-height:250px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:14px;color:#8c8cb5;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .contact.not-first[_ngcontent-%COMP%]{margin-top:10px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:background-color .4s ease,color .4s ease,border-color .4s ease;cursor:pointer;display:inline-block;margin-top:8px;padding:0 10px;height:36px;line-height:36px;border-radius:6px}.is-dark-mode[_nghost-%COMP%]   .article.is-home[_ngcontent-%COMP%]{border-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   .article.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .article.is-politics[_ngcontent-%COMP%]{border-color:#360c82}.is-dark-mode[_nghost-%COMP%]   .article.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}.is-dark-mode[_nghost-%COMP%]   .article.is-home-affairs[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   .article.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   .article.is-law-security[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   .article.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   .article.is-health-science[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-health-science-climate[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   .article.is-health-science.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   .article.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   .article.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   .article.is-business-economy[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#7b4a22}.is-dark-mode[_nghost-%COMP%]   .article.is-business-economy.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}.is-dark-mode[_nghost-%COMP%]   .article.is-world[_ngcontent-%COMP%]{border-color:#771e35}.is-dark-mode[_nghost-%COMP%]   .article.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}.is-dark-mode[_nghost-%COMP%]   .article.is-general[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   .article.is-general.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   .article.is-culture-sport[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-culture-sports[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   .article.is-culture-sport.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   .article.is-uk[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   .article.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]{position:relative;padding:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{background-color:#26224f;color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#131128;color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .info[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]{background-color:#f7f7fd}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]{height:22px;line-height:22px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-size:12px;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{position:absolute;top:0;right:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:11px;display:inline-block;font-size:12px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]:last-of-type{margin-right:5px}[
1_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;vertical-align:middle}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   new-or-updated-badge[_ngcontent-%COMP%]{margin-left:11px;margin-right:2px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:318px}@media (min-width: 1060px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:338px}}@media (min-width: 1130px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:397px}}@media (min-width: 1200px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:437px}}@media (min-width: 1300px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:477px}}@media (min-width: 1400px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:567px}}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]{position:relative;margin-top:6px;padding-right:2px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   alert-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   pin-button[_ngcontent-%COMP%]{display:block;position:absolute;top:25px;right:1px;width:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   copy-text[_ngcontent-%COMP%]{display:block;position:absolute;top:50px;right:0;width:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   cms-edit-link[_ngcontent-%COMP%]{display:block;position:absolute;top:75px;right:0;width:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:16px;font-family:Anek Bangla,serif;font-weight:700}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-size:16px;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .headline.has-info[_ngcontent-%COMP%]{margin-right:8px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:bottom;padding:0 8px 0 33px;height:28px;line-height:28px;border-radius:6px;font-size:12px;font-family:DM Sans,sans-serif;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:absolute;top:-1px;left:5px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .address[_ngcontent-%COMP%]{margin:5px 0;font-size:13px;line-height:17px;font-weight:600;color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]{font-size:13px;line-height:15px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul{padding-left:30px;list-style:disc!important}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li{padding-bottom:5px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{padding-bottom:12px;font-size:12px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]{padding-top:9px;border-top:solid 1px #e6e6ff;overflow:hidden;transition:max-height .3s linear;max-height:28px;font-size:12px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .toggle-contacts[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links.contacts-visible[_ngcontent-%COMP%]{max-height:250px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:14px;color:#8c8cb5;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .contact.not-first[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:background-color .4s ease,color .4s ease,border-color .4s ease;cursor:pointer;display:inline-block;margin-top:8px;padding:0 10px;height:36px;line-height:36px;border-radius:6px}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-home[_ngcontent-%COMP%]{border-color:#ebe7fd;border-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-politics[_ngcontent-%COMP%]{border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-home-affairs[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-law-security[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-health-science-climate[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-health-science.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-business-economy[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#fdeee2}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-business-economy.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-world[_ngcontent-%COMP%]{border-color:#ffebf0}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-general[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-entertainment-culture-sport[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-general.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-entertainment-culture-sport.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-culture-sports[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-culture-sport.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-uk[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}"]})}}return c})();function la(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",8),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.pageChanged(h))})("viewAllChanged",function(h){e.eBV(s);const x=e.XpG();return e.Njj(x.viewAllChanged(h))}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("page",s.model)("scrollUpOnPageChange",!1)}}function ul(c,m){if(1&c&&(e.j41(0,"li"),e.nrm(1,"event-card",9),e.k0s()),2&c){const s=m.$implicit,u=e.XpG();e.R7$(1),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("model",s)("isDarkMode",u.isDarkMode)}}let If=(()=>{class c extends St.$G{constructor(s,u){super(),this.router=s,this.route=u}pageChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}Page`]:s.pageNo},queryParamsHandling:"merge"})}viewAllChanged(s){this.router.navigate([],{relativeTo:this.route,queryParams:{[`${this.queryStringKey}ViewAll`]:s.viewAll,[`${this.queryStringKey}Page`]:1},queryParamsHandling:"merge"})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["event-category-results"]],inputs:{model:"model",heading:"heading",cssClass:"cssClass",queryStringKey:"queryStringKey",isDarkMode:"isDarkMode"},features:[e.Vt3],decls:13,vars:9,consts:[[1,"clearfix"],[3,"cssClass"],[1,"category-name"],[1,"count"],[1,"float-end"],["maxSize","7","isEsLimited","true",3,"page","scrollUpOnPageChange","pageChanged","viewAllChanged",4,"ngIf"],[1,"results","row"],[4,"ngFor","ngForOf"],["maxSize","7","isEsLimited","true",3,"page","scrollUpOnPageChange","pageChanged","viewAllChanged"],[3,"model","isDarkMode"]],template:function(u,h){1&u&&(e.j41(0,"header",0),e.nrm(1,"category-indicator",1),e.j41(2,"span",2),e.EFF(3),e.k0s(),e.j41(4,"span",3),e.
1EFF(5),e.nI1(6,"number"),e.j41(7,"span"),e.EFF(8),e.k0s()(),e.j41(9,"div",4),e.DNE(10,la,1,2,"pagination-dots",5),e.k0s()(),e.j41(11,"ul",6),e.DNE(12,ul,2,4,"li",7),e.k0s()),2&u&&(e.R7$(1),e.Y8G("cssClass",h.cssClass),e.R7$(2),e.JRh(h.heading),e.R7$(2),e.SpI("",e.bMT(6,7,h.model.totalCount)," "),e.R7$(3),e.Lme("",1!=h.model.totalCount?"Events":"Event","",0==h.model.totalCount?" Today":"",""),e.R7$(2),e.Y8G("ngIf",h.model.totalCount>h.model.pageSize||1e3==h.model.pageSize),e.R7$(2),e.Y8G("ngForOf",h.model.items))},dependencies:[Lt.Sq,Lt.bT,Id,$r.E,Qo,Lt.QX],styles:["[_nghost-%COMP%]{display:inline-block;margin-bottom:6px;width:100%}.is-dark-mode[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .category.name[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%]:not(.is-dark-mode)   header[_ngcontent-%COMP%]   .category-name[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .category-name[_ngcontent-%COMP%]{font-size:16px;line-height:32px;font-weight:600;font-family:Anek Bangla,serif}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{padding-left:15px;font-size:14px;line-height:16px;color:#8c8cb5}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-weight:400}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{padding:0 8px 0 12px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0 3px 0 0;flex:0 0 16.6666666667%;max-width:16.6666666667%}"]})}}return c})();function Mc(c,m){if(1&c){const s=e.RV6();e.j41(0,"icon",15),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.changeDisplayedDate("backward"))}),e.k0s()}}function Ff(c,m){if(1&c){const s=e.RV6();e.j41(0,"icon",16),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.changeDisplayedDate("forward"))}),e.k0s()}}function Af(c,m){if(1&c&&(e.j41(0,"span",11),e.EFF(1),e.j41(2,"span",12),e.EFF(3),e.k0s(),e.DNE(4,Mc,1,0,"icon",13),e.DNE(5,Ff,1,0,"icon",14),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.SpI(" ",s.displayedDateText,""),e.R7$(2),e.JRh(s.displayedDateYear),e.R7$(1),e.Y8G("ngIf",s.previousDayEnabled),e.R7$(1),e.Y8G("ngIf",s.nextDayEnabled)}}function ap(c,m){1&c&&(e.qex(0),e.EFF(1,"All Events"),e.bVm())}function lp(c,m){if(1&c&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.nI1(3,"number"),e.k0s(),e.j41(4,"span",18),e.EFF(5),e.k0s(),e.bVm()),2&c){const s=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,2,null==s.results?null:s.results.totalCount)),e.R7$(3),e.JRh(1!=(null==s.results?null:s.results.totalCount)?"Events":"Event")}}function cp(c,m){if(1&c&&(e.j41(0,"div",17),e.DNE(1,ap,2,0,"ng-container",9),e.DNE(2,lp,6,4,"ng-container",9),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.hasFilters),e.R7$(1),e.Y8G("ngIf",s.hasFilters)}}function bc(c,m){1&c&&(e.qex(0),e.EFF(1,"All Events"),e.bVm())}function Bd(c,m){if(1&c&&(e.qex(0),e.EFF(1),e.nI1(2,"number"),e.j41(3,"span",12),e.EFF(4),e.k0s(),e.bVm()),2&c){const s=e.XpG(2);e.R7$(1),e.SpI(" ",e.bMT(2,2,null==s.results?null:s.results.totalCount)," "),e.R7$(3),e.JRh(1!=(null==s.results?null:s.results.totalCount)?"Events":"Event")}}function dp(c,m){if(1&c&&(e.j41(0,"span",19),e.DNE(1,bc,2,0,"ng-container",9),e.DNE(2,Bd,5,4,"ng-container",9),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",!s.hasFilters),e.R7$(1),e.Y8G("ngIf",s.hasFilters)}}function Gu(c,m){if(1&c){const s=e.RV6();e.j41(0,"span",20)(1,"a",21),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.setView("grid"))}),e.nrm(2,"icon",22),e.k0s(),e.j41(3,"a",21),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.setView("list"))}),e.nrm(4,"icon",23),e.k0s()()}if(2&c){const s=e.XpG();e.R7$(1),e.AVh("is-active","grid"==s.view),e.R7$(1),e.Y8G("cssClass","grid"==s.view?"blue-1":s.isDarkMode?"white blue-1-hover":"gray-2")("hover",!1),e.R7$(1),e.AVh("is-active","list"==s.view),e.R7$(1),e.Y8G("cssClass","list"==s.view?"blue-1":s.isDarkMode?"white blue-1-hover":"gray-2")("hover",!1)}}function $d(c,m){if(1&c){const s=e.RV6();e.j41(0,"span",24)(1,"a",25),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.toggleShowAll())}),e.nrm(2,"icon",26),e.EFF(3),e.k0s()()}if(2&c){const s=e.XpG();e.R7$(2),e.Y8G("icon",null!=s.results&&s.results.viewAll?"remove":"add")("hover",!1),e.R7$(1),e.JRh(null!=s.results&&s.results.viewAll?"Reduce":"Expand all")}}function Rf(c,m){if(1&c&&e.nrm(0,"event-category-results",41),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukPolitics)("isDarkMode",s.isDarkMode)}}function up(c,m){if(1&c&&e.nrm(0,"event-category-results",42),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukHomeAffairs)("isDarkMode",s.isDarkMode)}}function hp(c,m){if(1&c&&e.nrm(0,"event-category-results",43),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukWorld)("isDarkMode",s.isDarkMode)}}function pp(c,m){if(1&c&&e.nrm(0,"event-category-results",44),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukBusinessEconomy)("isDarkMode",s.isDarkMode)}}function Nf(c,m){if(1&c&&e.nrm(0,"event-category-results",45),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukHealthScience)("isDarkMode",s.isDarkMode)}}function Lf(c,m){if(1&c&&e.nrm(0,"event-category-results",46),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.ukCultureSport)("isDarkMode",s.isDarkMode)}}function fp(c,m){if(1&c&&e.nrm(0,"event-category-results",47),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usPolitics)("isDarkMode",s.isDarkMode)}}function id(c,m){if(1&c&&e.nrm(0,"event-category-results",48),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usLawSecurity)("isDarkMode",s.isDarkMode)}}function Wu(c,m){if(1&c&&e.nrm(0,"event-category-results",49),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usWorld)("isDarkMode",s.isDarkMode)}}function zu(c,m){if(1&c&&e.nrm(0,"event-category-results",50),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usBusinessEconomy)("isDarkMode",s.isDarkMode)}}function jf(c,m){if(1&c&&e.nrm(0,"event-category-results",51),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usScienceSportArts)("isDarkMode",s.isDarkMode)}}function Vf(c,m){if(1&c&&e.nrm(0,"event-category-results",52),2&c){const s=e.XpG(2);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("model",null==s.results?null:s.results.usCultureSport)("isDarkMode",s.isDarkMode)}}function Xu(c,m){if(1&c&&(e.j41(0,"div",53),e.nrm(1,"pin-basket",54),e.k0s()),2&c){const s=e.XpG(2);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}function gp(c,m){if(1&c&&(e.j41(0,"div"),e.DNE(1,Rf,1,4,"event-category-results",27),e.DNE(2,up,1,4,"event-category-results",28),e.DNE(3,hp,1,4,"event-category-results",29),e.DNE(4,pp,1,4,"event-category-results",30),e.DNE(5,Nf,1,4,"event-category-results",31),e.DNE(6,Lf,1,4,"event-category-results",32),e.DNE(7,fp,1,4,"event-category-results",33),e.DNE(8,id,1,4,"event-category-results",34),e.DNE(9,Wu,1,4,"event-category-results",35),e.DNE(10,zu,1,4,"event-category-results",36),e.DNE(11,jf,1,4,"event-category-results",37),e.DNE(12,Vf,1,4,"event-category-results",38),e.nrm(13,"events-key",39),e.DNE(14,Xu,2,3,"div",40),e.nrm(15,"content-buttons",39),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukPolitics),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukHomeAffairs),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukWorld),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukBusinessEconomy),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukHealthScience),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.ukCultureSport),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usPolitics),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usLawSecurity),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usWorld),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usBusinessEconomy),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usScienceSportArts),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.usCultureSport),e.R7$(1),e.Y8G("isDarkMode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.displayPinBasket),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}function Jo(c,m){if(1&c&&(e.qex(0),e.nrm(1,"event-list-card",63),e.bVm()),2&c){const s=m.$implicit,u=e.XpG(2);e.R7$(1),e.HbH(s.categoryCssClass),e.AVh("is-dark-mode",u.isDarkMode),e.Y8G("model",s)("isDarkMode",u.isDarkMode)}}function mp(c,m){if(1&c){const s=e.RV6();e.j41(0,"pagination-dots",64),e.bIt("pageChanged",function(h){e.eBV(s);const x=e.XpG(2);return e.Njj(x.pageChanged(h))}),e.k0s()}if(2&c){const s=e.XpG(2);e.Y8G("page",null==s.results?null:s.results.listResults)("disableShowAll",!0)("scrollUpOnPageChange",!0)}}function _p(c,m){if(1&c&&(e.j41(0,"div",65),e.nrm(1,"pin-basket",54),e.k0s()),2&c){const s=e.XpG(2);e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}function Bf(c,m){if(1&c&&(e.j41(0,"div",55)(1,"div",56),e.DNE(2,Jo,2,7,"ng-container",57),e.DNE(3,mp,1,3,"pagination-dots",58),e.nrm(4,"events-key",39),e.DNE(
15,_p,2,3,"div",59),e.k0s(),e.nrm(6,"content-buttons",60),e.j41(7,"div",61),e.nrm(8,"newsbreaks",62),e.k0s()()),2&c){const s=e.XpG();e.R7$(2),e.Y8G("ngForOf",null==s.results?null:s.results.listResults.items),e.R7$(1),e.Y8G("ngIf",null==s.results?null:s.results.listResults),e.R7$(1),e.Y8G("isDarkMode",s.isDarkMode),e.R7$(1),e.Y8G("ngIf",s.displayPinBasket),e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isListView",!0)("isDarkMode",s.isDarkMode),e.R7$(2),e.AVh("is-vertical",!0)("is-dark-mode",s.isDarkMode),e.Y8G("position",s.NewsbreaksPosition.Vertical)("isDarkMode",s.isDarkMode)}}Ai.extend(Sf);let $f=(()=>{class c extends St.$G{constructor(s,u,h,x,G,ne){super(),this.store=s,this.plannerSearch=u,this.currentSelectionService=h,this.pinningService=x,this.toastrService=G,this.analytics=ne,this.results=null,this.pageNo=1,this.freetext=new Yn.MJ(""),this.sortControl=new Yn.MJ,this.hasFilters=!1,this.view="grid",this.NewsbreaksPosition=St.jH,this.previousDayEnabled=!1,this.nextDayEnabled=!1,this.displayPinBasket=!1,this.pinAllEnabled=!1,this.pinAllSubmitting=!1,this.maxPinned=1e3,this.totalPinned=0}ngOnInit(){this.pinningService.totalCount$.subscribe(s=>{this.displayPinBasket=s>0,this.totalPinned=s,3==this.totalPinned&&(this.totalPinned=900),this.updatePinAllStatus()}),this.selections$.subscribe(s=>{this.currentSelectionService.pushGroup(s)}),this.plannerSearch.hasFilters.pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.hasFilters=s}),this.plannerSearch.getSearchParams().pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{s.view!=this.view&&null!=this.results&&(this.results=null),this.view=s.view}),this.plannerSearch.getSearchResults().pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{this.results=s,this.updateDisplayedDateText(),this.updatePinAllStatus(),this.previousDayEnabled=s.displayedDate>s.startDate,this.nextDayEnabled=(!s.endDate||s.displayedDate<s.endDate)&&null!==s.nextDayWithResults}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.siteCulture=s.siteCulture})}setView(s){this.analytics.trackUiInteraction("change_view",{view:s,source:"planner"}),this.plannerSearch.setView(s)}updateDisplayedDateText(){let s=Ai(this.results.displayedDate);this.displayedDateText=s.format("dddd D MMMM"),this.displayedDateYear=s.format(" YYYY")}changeDisplayedDate(s){this.plannerSearch.setDate("forward"==s?this.results.nextDayWithResults:this.results.previousDayWithResults,"displayedDate")}toggleShowAll(){this.analytics.trackUiInteraction("expand_all",{source:"planner"});let s=this.siteCulture==St._u.US?St.tO:St.jd;s=(0,rn.pull)(s,"ukRegionViewAll","usRegionViewAll");let u=(0,rn.fromPairs)(s.map(G=>[G,!this.results.viewAll||null])),x=(0,rn.fromPairs)((this.siteCulture==St._u.US?St.wv:St.gz).map(G=>[G,null]));u=(0,rn.merge)({},u,x),this.plannerSearch.setMultiple(u)}pageChanged(s){this.plannerSearch.setPageNo(s.pageNo)}pinAll(){this.pinAllEnabled&&(this.pinAllSubmitting=!0,this.analytics.trackFeatureUsage("pin",{article_id:"all",source:"planner"}),this.plannerSearch.pinAll().subscribe(s=>{s.isSuccess&&this.pinningService.refreshPinnedElements(),this.toastrService.showMessageFromResult(s,s.isSuccess?"Events successfully pinned":s.failureReason),setTimeout(()=>this.pinAllSubmitting=!1,1200)}))}updatePinAllStatus(){this.pinAllEnabled=!(this.totalPinned>=this.maxPinned||this.results?.totalCount>=this.maxPinned||this.totalPinned+this.results?.totalCount>this.maxPinned)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(ni.t9),e.rXU(Ma),e.rXU(So.N),e.rXU(St.ad),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["planner-results"]],inputs:{isDarkMode:"isDarkMode",selections$:"selections$"},features:[e.Jv_([Ma]),e.Vt3],decls:12,vars:17,consts:[["class","date",4,"ngIf"],[1,"pin-all"],["text","Pin All","iconColor","lavender-1",3,"disabled","working","icon","whiteText","tooltip","click"],[1,"count-selected-filters","clearfix","cf"],["class","count float-start",4,"ngIf"],["class","date is-list-view",4,"ngIf"],[1,"float-start",3,"isDarkMode"],["class","view-type-switch float-end",4,"ngIf"],["class","expand-all float-end",4,"ngIf"],[4,"ngIf"],["class","results results-list-layout mt-1",4,"ngIf"],[1,"date"],[1,"year"],["icon","chevron_backward","size","28px","verticalAlign","top","hover","true","role","button",3,"click",4,"ngIf"],["icon","chevron_forward","size","28px","verticalAlign","top","hover","true","role","button",3,"click",4,"ngIf"],["icon","chevron_backward","size","28px","verticalAlign","top","hover","true","role","button",3,"click"],["icon","chevron_forward","size","28px","verticalAlign","top","hover","true","role","button",3,"click"],[1,"count","float-start"],[1,"count-label"],[1,"date","is-list-view"],[1,"view-type-switch","float-end"],[3,"click"],["icon","apps","size","18px",3,"cssClass","hover"],["icon","list","size","22px",3,"cssClass","hover"],[1,"expand-all","float-end"],["role","button",3,"click"],["size","18px","cssClass","gray-2",3,"icon","hover"],["heading","UK Politics","cssClass","is-politics","queryStringKey","ukPolitics",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Home Affairs","cssClass","is-home-affairs","queryStringKey","ukHomeAffairs",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","World","cssClass","is-world","queryStringKey","ukWorld",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Business & Economy","cssClass","is-business-economy","queryStringKey","ukBusinessEconomy",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Health, Science & Climate","cssClass","is-health-science","queryStringKey","ukHealthScience",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Culture & Sport","cssClass","is-culture-sport","queryStringKey","ukCultureSport",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","US Politics","cssClass","is-politics","queryStringKey","usPolitics",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Law & Security","cssClass","is-home-affairs","queryStringKey","usLawSecurity",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","World","cssClass","is-world","queryStringKey","usWorld",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Business & Economy","cssClass","is-business-economy","queryStringKey","usBusinessEconomy",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Health, Science & Climate","cssClass","is-health-science","queryStringKey","usScienceSportArts",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],["heading","Culture & Sports","cssClass","is-culture-sport","queryStringKey","usCultureSport",3,"model","is-dark-mode","isDarkMode",4,"ngIf"],[3,"isDarkMode"],["class","pin-tray-grid",4,"ngIf"],["heading","UK Politics","cssClass","is-politics","queryStringKey","ukPolitics",3,"model","isDarkMode"],["heading","Home Affairs","cssClass","is-home-affairs","queryStringKey","ukHomeAffairs",3,"model","isDarkMode"],["heading","World","cssClass","is-world","queryStringKey","ukWorld",3,"model","isDarkMode"],["heading","Business & Economy","cssClass","is-business-economy","queryStringKey","ukBusinessEconomy",3,"model","isDarkMode"],["heading","Health, Science & Climate","cssClass","is-health-science","queryStringKey","ukHealthScience",3,"model","isDarkMode"],["heading","Culture & Sport","cssClass","is-culture-sport","queryStringKey","ukCultureSport",3,"model","isDarkMode"],["heading","US Politics","cssClass","is-politics","queryStringKey","usPolitics",3,"model","isDarkMode"],["heading","Law & Security","cssClass","is-home-affairs","queryStringKey","usLawSecurity",3,"model","isDarkMode"],["heading","World","cssClass","is-world","queryStringKey","usWorld",3,"model","isDarkMode"],["heading","Business & Economy","cssClass","is-business-economy","queryStringKey","usBusinessEconomy",3,"model","isDarkMode"],["heading","Health, Science & Climate","cssClass","is-health-science","queryStringKey","usScienceSportArts",3,"model","isDarkMode"],["heading","Culture & Sports","cssClass","is-culture-sport","queryStringKey","usCultureSport",3,"model","isDarkMode"],[1,"pin-tray-grid"],["view","is-grid",3,"isDarkMode"],[1,"results","results-list-layout","mt-1"],[1,"results-list-cards"],[4,"ngFor","ngForOf"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged",4,"ngIf"],["class","pin-tray-list",4,"ngIf"],[1,"is-list-view",3,"isListView","isDarkMode"],[1,"newsbreaks-rail"],[3,"position","isDarkMode"],[3,"model","isDarkMode"],["maxSize","7","isEsLimited","true",3,"page","disableShowAll","scrollUpOnPageChange","pageChanged"],[1,"pin-tray-list"]],template:function(u,h){1&u&&(e.j41(0,"header"),e.DNE(1,Af,6,4,"span",0),e.j41(2,"span",1)(3,"fsn-button",2),e.bIt("click",function(){return h.pinAll()}
1),e.k0s()(),e.j41(4,"div",3),e.DNE(5,cp,3,2,"div",4),e.DNE(6,dp,3,2,"span",5),e.nrm(7,"search-filter-current-selection",6),e.DNE(8,Gu,5,8,"span",7),e.DNE(9,$d,4,3,"span",8),e.k0s()(),e.DNE(10,gp,16,17,"div",9),e.DNE(11,Bf,9,14,"div",10)),2&u&&(e.R7$(1),e.Y8G("ngIf","list"!==h.view),e.R7$(2),e.Y8G("disabled",!h.pinAllEnabled||h.pinAllSubmitting)("working",h.pinAllSubmitting)("icon",h.pinAllSubmitting?"hourglass":"keep")("whiteText",h.isDarkMode)("tooltip",h.pinAllEnabled?"":"Pin All can only be used to pin less that 1000 events (including those already in the basket)"),e.R7$(1),e.AVh("is-list-view","list"==h.view),e.R7$(1),e.Y8G("ngIf",h.results&&"grid"==h.view),e.R7$(1),e.Y8G("ngIf",h.results&&"list"==h.view),e.R7$(1),e.AVh("is-list-view","list"==h.view),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(1),e.Y8G("ngIf",h.results),e.R7$(1),e.Y8G("ngIf",null==h.results?null:h.results.displayViewAll),e.R7$(1),e.Y8G("ngIf",h.results&&"grid"==h.view),e.R7$(1),e.Y8G("ngIf",(null==h.results?null:h.results.listResults)&&"list"==h.view))},dependencies:[Eo.dg,Lt.Sq,Lt.bT,En,ju,jn.R,$r.E,Zi,xa,np,rp,If,D,Lt.QX],styles:["[_nghost-%COMP%]{display:block;padding:19px 20px 0 5px}.is-dark-mode[_nghost-%COMP%]   header[_ngcontent-%COMP%]{border-bottom:solid 1px #26224f}.is-dark-mode[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#fff}.is-dark-mode[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{color:#d4d4ee}.is-dark-mode[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .view-type-switch[_ngcontent-%COMP%]{background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .pin-tray-grid[_ngcontent-%COMP%]{border-top:solid 1px #26224f;background-color:#191638}.is-dark-mode[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]{background-color:#191638}[_nghost-%COMP%]:not(.is-dark-mode)   header[_ngcontent-%COMP%]{border-bottom:solid 1px #f2f2ff}[_nghost-%COMP%]:not(.is-dark-mode)   header[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .count-selected-filters[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .count-selected-filters[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .view-type-switch[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .pin-tray-grid[_ngcontent-%COMP%]{height:100%;border-top:solid 1px #e6e6ff;background-color:#fcfcff}[_nghost-%COMP%]:not(.is-dark-mode)   .pin-tray-list[_ngcontent-%COMP%]{padding-top:15px;border-top:solid 1px #e6e6ff;background-color:#fcfcff}[_nghost-%COMP%]:not(.is-dark-mode)   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]{background-color:#fcfcff}[_nghost-%COMP%]   header[_ngcontent-%COMP%]{margin-bottom:2px;padding-bottom:5px}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:22px;line-height:26px;font-weight:600;font-family:Anek Bangla,serif}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]   .year[_ngcontent-%COMP%]{font-weight:400}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .date.is-list-view[_ngcontent-%COMP%]{float:left;margin-right:20px}[_nghost-%COMP%]   header[_ngcontent-%COMP%]   .pin-all[_ngcontent-%COMP%]{float:right}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]{margin-top:14px;min-height:34px}[_nghost-%COMP%]   .count-selected-filters.is-list-view[_ngcontent-%COMP%]{margin-top:0}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;font-size:14px;line-height:26px}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%] > .count-label[_ngcontent-%COMP%]{padding-left:6px;font-weight:400}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   search-filter-current-selection[_ngcontent-%COMP%]{display:inline-block;max-width:65%}@media (min-width: 1200px){[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   search-filter-current-selection[_ngcontent-%COMP%]{max-width:70%}}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   search-filter-current-selection.is-list-view[_ngcontent-%COMP%]{max-width:60%}@media (min-width: 1200px){[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   search-filter-current-selection.is-list-view[_ngcontent-%COMP%]{max-width:65%}}@media (min-width: 1300px){[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   search-filter-current-selection.is-list-view[_ngcontent-%COMP%]{max-width:70%}}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .expand-all[_ngcontent-%COMP%]{margin-top:4px}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]{margin-left:18px;width:60px;height:30px;border-radius:5px}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:inline-block;margin:2px;width:26px;height:26px;border-radius:5px;text-align:center}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.is-active){transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;cursor:pointer}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:not(.is-active):hover{background-color:#fff}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]   a.is-active[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]   .count-selected-filters[_ngcontent-%COMP%]   .view-type-switch[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] > icon[_ngcontent-%COMP%]{display:inline-block;padding-top:2px}[_nghost-%COMP%]   .pin-tray-grid[_ngcontent-%COMP%]{margin-left:-17px;margin-right:-32px;padding:10px 32px 0 12px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(430px,1fr) 150px 225px;column-gap:20px;align-items:stretch}@media (min-width: 1050px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(450px,1fr) 150px 225px}}@media (min-width: 1130px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(509px,1fr) 150px 225px}}@media (min-width: 1200px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(549px,1fr) 150px 245px}}@media (min-width: 1300px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(589px,1fr) 150px 245px}}@media (min-width: 1400px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(679px,1fr) 190px 245px}}@media (min-width: 1450px){[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]{grid-template-columns:minmax(679px,1fr) 190px 265px}}[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:auto;min-width:0}[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]   content-buttons.is-list-view[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]   .newsbreaks-rail[_ngcontent-%COMP%]{position:relative;width:100%;min-height:0;overflow:hidden}[_nghost-%COMP%]   .results.results-list-layout[_ngcontent-%COMP%]   .newsbreaks-rail[_ngcontent-%COMP%]   newsbreaks.is-vertical[_ngcontent-%COMP%]{position:absolute;height:auto;inset:0;min-height:0}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{margin:7px 0 0 10px;padding:0;width:430px}@media (min-width: 1060px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:450px}}@media (min-width: 1130px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:509px}}@media (min-width: 1200px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:549px}}@media (min-width: 1300px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:589px}}@media (min-width: 1400px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]{width:679px}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-list-cards[_ngcontent-%COMP%]   pagination-dots[_ngcontent-%COMP%]{display:inline-block;margin:15px auto 10px;width:100%}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]{position:absolute;top:-4px;right:180px;margin-left:131px;padding:10px 0 0 19px;width:239px;
1width:200px;height:100%}@media (min-width: 1200px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]{right:180px}}@media (min-width: 1400px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]{right:240px}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .results-pin-basket[_ngcontent-%COMP%]   .pin-tray[_ngcontent-%COMP%]{width:189px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding:0 3px 0 0;flex:0 0 16.6666666667%;max-width:16.6666666667%}"]})}}return c})();function Ud(c,m){if(1&c&&(e.j41(0,"div",7)(1,"div",1)(2,"div",2)(3,"div",8),e.nrm(4,"newsbreaks",9),e.k0s()()()()),2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode),e.R7$(4),e.AVh("is-horizontal",!0)("is-dark-mode",s.isDarkMode),e.Y8G("position",s.NewsbreaksPosition.Horizontal)("isDarkMode",s.isDarkMode)}}function Uf(c,m){if(1&c&&e.nrm(0,"planner-results",10),2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("selections$",s.selectionGroups$)("isDarkMode",s.isDarkMode)}}let Cp=(()=>{class c extends St.$G{constructor(s,u,h,x){super(),this.store=s,this.route=u,this.plannerSearch=h,this.currentSelectionService=x,this.intro="planner",this.NewsbreaksPosition=St.jH,this.dateRangeOptions=dn.wl,this.dateNewUpdatedRangeOptions=dn.V,this.keyEventTopStoryOptions=dn.cs,this.embargoedOptions=dn.n6,this.ukPoliticsOptions=dn.u4,this.ukHomeAffairsOptions=dn.yN,this.ukWorldOptions=dn.ZH,this.ukBusinessEconomyOptions=dn.Xv,this.ukHealthScienceOptions=dn.xF,this.ukCultureSportOptions=dn.he,this.ukRegionOptions=dn.nH,this.usPoliticsOptions=dn.Uf,this.usBusinessEconomyOptions=dn.rP,this.usLawSecurityOptions=dn.XF,this.usScienceSportArtsOptions=dn.hx,this.usWorldOptions=dn.vA,this.usCultureSportOptions=dn.bX,this.usNortheastRegionOptions=dn.jn,this.usMidwestRegionOptions=dn.S2,this.usSouthRegionOptions=dn.KK,this.usWestRegionOptions=dn.wR,this.eventTypeOptions=dn.XS,this.globalRegionOptions=dn.yE,this.excludeId=-1,this.setupFreetext=G=>{G.pipe((0,Ci.T)(ne=>ne.text),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee))).subscribe(ne=>{this.currentSelectionService.push("freetext","",ne?[{text:`<span class="fw-semi-bold">Search:</span> ${ne}`,cssClass:"",remove:()=>this.plannerSearch.setText(null,"text")}]:null)})},this.setupContentLists=G=>{G.pipe((0,Ci.T)(ne=>({contentListIds:ne.contentListIds,contentListName:ne.contentListName})),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee))).subscribe(ne=>{const Ee="contentListIds";this.currentSelectionService.push(Ee,"",ne.contentListIds.length>0?[{text:`<span class="fw-semi-bold">List:</span> ${ne.contentListName}`,cssClass:"",remove:()=>this.plannerSearch.clearContentList(Ee,"contentListName")}]:null)})},this.setupDates=G=>{this.selectedDateRangeIds=G.pipe((0,Ci.T)(ne=>ne.dateRangeId),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDates=G.pipe((0,Ci.T)(ne=>ne.dateSelection),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDateOptions=G.pipe((0,Ci.T)(ne=>ne.dateOptions),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedDates.subscribe(ne=>{this.setDateSelections(ne,"startDate","endDate")}),this.selectedDateRangeIds.pipe(ya(this.dateRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="dateRangeId",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`Date: ${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)}),this.selectedDateOptions.pipe(ya(this.dateRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="dateOptions",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`Date: ${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)})},this.setupNewDates=G=>{this.selectedNewDateRangeIds=G.pipe((0,Ci.T)(ne=>ne.newDateRangeId),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedNewDateRangeIds.pipe(ya(this.dateNewUpdatedRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="newDateRangeId",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`New: ${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)})},this.setupUpdatedDates=G=>{this.selectedUpdatedDateRangeIds=G.pipe((0,Ci.T)(ne=>ne.updatedDateRangeId),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedUpdatedDateRangeIds.pipe(ya(this.dateNewUpdatedRangeOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="updatedDateRangeId",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`Updated: ${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)})},this.setupTopStoriesKeyEvents=G=>{this.selectedTopStoryKeyEventIds=G.pipe((0,Ci.T)(ne=>ne.keyEventTopStoryId),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedTopStoryKeyEventIds.pipe(ya(this.keyEventTopStoryOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="keyEventTopStoryId",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)})},this.setupEmbargoed=G=>{this.selectedEmbargoIds=G.pipe((0,Ci.T)(ne=>ne.embargoed),(0,Mo.F)((ne,Ee)=>(0,rn.isEqual)(ne,Ee)),(0,Io.t)({bufferSize:1,refCount:!0})),this.selectedEmbargoIds.pipe(ya(this.embargoedOptions),(0,jt.Q)(this.destroyed$)).subscribe(ne=>{const Ee="embargoed",we=ne[0].length>0?(0,rn.map)(ne[0],ot=>({text:`${(0,rn.find)(ne[1],Wt=>Wt.id==ot).name}`,cssClass:"",remove:()=>this.plannerSearch.setIds((0,rn.without)(ne[0],ot),Ee)})):null;this.currentSelectionService.push(Ee,"",we)})},this.setupUkCategories=G=>
1{this.setupCategories([[this.ukPoliticsOptions,"selectedUkPoliticsIds","ukPoliticsIds","ukPolitics.ids","is-politics-light"],[this.ukHomeAffairsOptions,"selectedUkHomeAffairsIds","ukHomeAffairsIds","ukHomeAffairs.ids","is-home-affairs-light"],[this.ukWorldOptions,"selectedUkWorldIds","ukWorldIds","ukWorld.ids","is-world-light"],[this.ukBusinessEconomyOptions,"selectedUkBusinessEconomyIds","ukBusinessEconomyIds","ukBusinessEconomy.ids","is-business-economy-light"],[this.ukHealthScienceOptions,"selectedUkHealthScienceIds","ukHealthScienceIds","ukHealthScience.ids","is-health-science-light"],[this.ukCultureSportOptions,"selectedukCultureSportIds","ukCultureSportIds","ukCultureSport.ids","is-culture-sport-light"],[this.eventTypeOptions,"selectedEventTypeIds","eventTypeIds","eventTypeIds",null],[this.ukRegionOptions,"selectedUkRegionIds","ukRegionIds","ukRegionIds",null],[this.globalRegionOptions,"selectedGlobalRegionIds","globalRegionIds","globalRegionIds",null]],G)},this.setupUsCategories=G=>{this.setupCategories([[this.usPoliticsOptions,"selectedUsPoliticsIds","usPoliticsIds","usPolitics.ids","is-politics-light"],[this.usBusinessEconomyOptions,"selectedUsBusinessEconomyIds","usBusinessEconomyIds","usBusinessEconomy.ids","is-business-economy-light"],[this.usLawSecurityOptions,"selectedUsLawSecurityIds","usLawSecurityIds","usLawSecurity.ids","is-home-affairs-light"],[this.usScienceSportArtsOptions,"selectedUsScienceSportArtsIds","usScienceSportArtsIds","usScienceSportArts.ids","is-health-science-light"],[this.usWorldOptions,"selectedUsWorldIds","usWorldIds","usWorld.ids","is-world-light"],[this.usCultureSportOptions,"selectedusCultureSportIds","usCultureSportIds","usCultureSport.ids","is-culture-sport-light"],[this.eventTypeOptions,"selectedEventTypeIds","eventTypeIds","eventTypeIds",null],[this.usNortheastRegionOptions,"selectedUsNortheastRegionIds","usNortheastRegionIds","usNortheastRegionIds",null],[this.usMidwestRegionOptions,"selectedUsMidwestRegionIds","usMidwestRegionIds","usMidwestRegionIds",null],[this.usSouthRegionOptions,"selectedUsSouthRegionIds","usSouthRegionIds","usSouthRegionIds",null],[this.usWestRegionOptions,"selectedUsWestRegionIds","usWestRegionIds","usWestRegionIds",null],[this.globalRegionOptions,"selectedGlobalRegionIds","globalRegionIds","globalRegionIds",null]],G)},this.setupCategories=(G,ne)=>{G.forEach(([Ee,De,we,ot,tn])=>{this[De]=ne.pipe((0,Ci.T)(Wt=>ot.includes(".")?(0,rn.get)(Wt,ot):Wt[ot]),(0,Mo.F)((Wt,Ut)=>(0,rn.isEqual)(Wt,Ut)),(0,Io.t)({bufferSize:1,refCount:!0})),(0,_s.z)([Ee,ne]).pipe((0,jt.Q)(this.destroyed$)).subscribe(([Wt,Ut])=>{const cn=(ot.includes(".")?(0,rn.get)(Ut,ot):Ut[ot])||[],$n=(0,rn.some)(cn),hs=$n&&cn[0]!==this.excludeId,Fs=this.getTopLevelSelectionType(Ut,we),ps="All"!==Fs&&"Only"!==Fs||!dn.hU[we]?$n&&hs?(0,rn.map)(cn,ba=>{let da=this.flattenData(Wt);return{text:(0,rn.find)(da,Es=>Es.id==ba).name,cssClass:ot.includes(".")?tn:"",remove:()=>this.removeCategorySelection(we,cn,ba)}}):null:[{text:dn.hU[we],cssClass:tn,remove:()=>this.removeTopLevelCurrentSelection(we,Fs)}];this.currentSelectionService.push(we,tn,ps)})})},this.getTopLevelSelectionType=(G,ne)=>{const Ee=this.getTopLevelCategoryParams(ne);if(!Ee.length)return"";const De=dn.jI[ne],we=De?G[De]:null;if(!we)return"";if(!1===we.active)return"None";const ot=we.ids?.length>0,tn=Ee.filter(Ut=>Ut!==ne).filter(Ut=>{const cn=dn.jI[Ut];return!1===(cn?G[cn]:null)?.active});return ot?"Some":tn.length===Ee.length-1?"Only":tn.length>0?"All":""},this.removeTopLevelCurrentSelection=(G,ne)=>{this.plannerSearch.setMultiple("Only"===ne?this.buildResetTopLevelCategoryParams(G):this.buildSingleTopLevelCategoryParams(G,this.excludeId))},this.removeCategorySelection=(G,ne,Ee)=>{const De=(0,rn.without)(ne,Ee);this.getTopLevelCategoryParams(G).length?De.length>0?this.plannerSearch.setIds(De,G):this.shouldResetTopLevelCategoryParams(G)?this.plannerSearch.setMultiple(this.buildResetTopLevelCategoryParams(G)):this.plannerSearch.setMultiple(this.buildSingleTopLevelCategoryParams(G,this.excludeId)):this.plannerSearch.setIds(De,G)},this.shouldResetTopLevelCategoryParams=G=>
1{const ne=this.getTopLevelCategoryParams(G),Ee=this.route.snapshot.queryParams;return ne.filter(De=>De!==G).every(De=>`${Ee[De]}`==`${this.excludeId}`)},this.buildResetTopLevelCategoryParams=G=>{const ne=this.getTopLevelCategoryParams(G),Ee=this.getTopLevelCategoryPageParams(G),De=this.getTopLevelCategoryViewAllParams(G),we={page:null};return ne.forEach(ot=>{we[ot]=null}),Ee.forEach(ot=>{we[ot]=null}),De.forEach(ot=>{we[ot]=null}),we},this.buildSingleTopLevelCategoryParams=(G,ne)=>({page:null,[G]:ne,[G.replace("Ids","Page")]:null,[G.replace("Ids","ViewAll")]:null}),this.getTopLevelCategoryParams=G=>dn.wX.includes(G)?dn.wX:dn.Oc.includes(G)?dn.Oc:[],this.getTopLevelCategoryPageParams=G=>dn.wX.includes(G)?dn.fM:dn.Oc.includes(G)?dn.BX:[],this.getTopLevelCategoryViewAllParams=G=>dn.wX.includes(G)?dn.IP:dn.Oc.includes(G)?dn.w3:[],this.flattenData=G=>(0,rn.flatMapDeep)(G,ne=>Array.isArray(ne)?this.flattenData(ne):"object"==typeof ne&&"children"in ne?[{id:ne.id,name:ne.name},...this.flattenData(ne.children||[])]:ne)}ngOnInit(){super.ngOnInit(),this.selectionGroups$=this.currentSelectionService.selectionGroups$;const s=this.plannerSearch.getSearchParams().pipe((0,jt.Q)(this.destroyed$));this.setupFreetext(s),this.setupContentLists(s),this.setupDates(s),this.setupNewDates(s),this.setupUpdatedDates(s),this.setupTopStoriesKeyEvents(s),this.setupEmbargoed(s),this.store.select(ei.is.user).pipe((0,Pn.p)(u=>void 0!==u),(0,Pn.p)(u=>null!==u),(0,jt.Q)(this.destroyed$)).subscribe(u=>{this.isDarkMode=u.isDarkMode,u.siteCulture==St._u.US?this.setupUsCategories(s):this.setupUkCategories(s)}),this.plannerSearch.getSearchParams().pipe((0,jt.Q)(this.destroyed$)).subscribe(u=>{this.view=u.view})}ngOnDestroy(){super.ngOnDestroy()}setDateSelections(s,u,h){let x="";x=s?.startDate&&s?.endDate&&s?.startDate==s?.endDate?`${s?.startDate?Ai(s?.startDate).format("MMM DD, YYYY"):""}`:`${s?.startDate?Ai(s?.startDate).format("MMM DD, YYYY"):""} - ${s?.endDate?Ai(s?.endDate).format("MMM DD, YYYY"):""}`;
1const G=[{text:x,cssClass:"",remove:()=>this.plannerSearch.clearDateRange(u,h)}];let ne=!1;if("startDate"==u&&s?.startDate){let Ee=Ai(),De=Ai(s.startDate);Ee.format("YYYY-MMM-DD")==De.format("YYYY-MMM-DD")&&!s.endDate&&(ne=!0)}this.currentSelectionService.push(u,"",s?.startDate&&!ne?G:null)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(an.nX),e.rXU(ni.t9),e.rXU(Ma))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["planner-view"]],features:[e.Jv_([Ma]),e.Vt3],decls:8,vars:11,consts:[["class","newsbreaks-container",3,"is-dark-mode",4,"ngIf"],[1,"container"],[1,"row"],[1,"col-2","col-xxl-2"],[3,"isDarkMode"],[1,"col-10","col-xxl-10"],[3,"selections$","isDarkMode","is-dark-mode",4,"ngIf"],[1,"newsbreaks-container"],[1,"col-12"],[3,"position","isDarkMode"],[3,"selections$","isDarkMode"]],template:function(u,h){1&u&&(e.DNE(0,Ud,5,8,"div",0),e.j41(1,"div",1)(2,"div",2)(3,"div",3),e.nrm(4,"planner-search-filter",4),e.k0s(),e.j41(5,"div",5),e.DNE(6,Uf,1,4,"planner-results",6),e.nI1(7,"async"),e.k0s()()()),2&u&&(e.Y8G("ngIf","grid"==h.view),e.R7$(3),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.Y8G("ngIf",e.bMT(7,9,h.selectionGroups$)))},dependencies:[Lt.bT,D,ed,$f,Lt.Jj],styles:["[_nghost-%COMP%]{padding-top:30px}[_nghost-%COMP%]   .newsbreaks-container.is-dark-mode[_ngcontent-%COMP%]{border-top:solid 1px #f7f7fd;border-bottom:solid 1px #f7f7fd;background-color:#4a4951}[_nghost-%COMP%]   .newsbreaks-container[_ngcontent-%COMP%]:not(.is-dark-mode){border-top:solid 1px #f7f7fd;border-bottom:solid 1px transparent;background-color:#26224f}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]{min-height:600px;transition:background-color .4s ease,color .4s ease,border-color .4s ease}[_nghost-%COMP%]   .col-9.is-dark-mode[_ngcontent-%COMP%], [_nghost-%COMP%]   .col-10.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%]:not(.is-dark-mode), [_nghost-%COMP%]   .col-10[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#fff}"]})}}return c})(),vp=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[an.iI.forRoot([{path:"",component:Od,data:{title:"Home",name:"home"},canActivate:[Ke.qo]},{path:"about",component:zc,data:{title:"About Us",name:"about"},canActivate:[Ke.qo]},{path:"calendar",component:za,data:{title:"Our Calendar",name:"calendar",smallFooter:!0},canActivate:[Ke.qo]},{path:"contact",component:Md,data:{title:"Contact Us",name:"contact"},canActivate:[Ke.qo]},{path:"clients",component:uc,data:{title:"Clients",name:"clients"},canActivate:[Ke.qo]},{path:"features",component:al,data:{title:"Features",name:"features"},canActivate:[Ke.qo]},{path:"solutions",component:wd,data:{title:"Solutions",name:"solutions"},canActivate:[Ke.qo]},{path:"subscriptions",component:kl,data:{title:"Subscriptions",name:"subscriptions"},canActivate:[Ke.qo]},{path:"unsubscribe",component:Vg,data:{title:"Unsubscribe",name:"unsubscribe"},canActivate:[Ke.qo]},{path:"login",component:On,data:{title:"Login",name:"login",smallFooter:!0},canActivate:[Ke.qo]},{path:"get-account",component:ki,data:{title:"Get Account",name:"getAccount",smallFooter:!0},canActivate:[Ke.qo]},{path:"set-access",component:wu,data:{title:"Set Access",name:"set-access",smallFooter:!0}},{path:"data-controller",component:gc,data:{title:"Data Controller",name:"data-controller",smallFooter:!0}},{path:"booking-terms-and-conditions",component:Kl,data:{title:"Booking Terms & Conditions",name:"booking-terms-conditions",smallFooter:!0}},{path:"cookie-policy",component:fc,data:{title:"Cookie Policy",name:"cookie-policy",smallFooter:!0}},{path:"privacy-policy",component:xl,data:{title:"Privacy Policy",name:"privacy-policy",smallFooter:!0}},{path:"terms-conditions",component:Hh,data:{title:"Terms & Conditions",name:"terms-conditions",smallFooter:!0}},{path:"home",component:_a,data:{title:"Home",name:"home"},canActivate:[Ke.q_]},{path:"insight",component:Ga,data:{title:"$dynamic",name:"insight"}},{path:"insight/:hashId/:headline",component:Ga,data:{title:"$dynamic",name:"insight"}},{path:"planner",component:Cp,data:{title:"Planner",name:"planner"},canActivate:[Ke.q_]},{path:"account",loadChildren:()=>Promise.resolve().then(w.bind(w,4285)).then(s=>s.AccountModule),data:{title:"$dynamic",name:"account"},canActivate:[Ke.q_]},{path:"status",component:Gl,data:{title:"Status",name:"status"}},{path:"not-found",component:lc,data:{title:"Not found",name:"not-found",smallFooter:!0}},{path:"events",redirectTo:"planner"},{path:"account-panel",redirectTo:"account/my-account"},{path:"email-preferences",redirectTo:"account/newsletters"},{path:"**",redirectTo:"not-found"}],{anchorScrolling:"enabled"}),an.iI]})}}return c})();var Hd=w(3236),Ku=w(8211),yp=w(1853),Yd=w(5225);const sd=(0,yp.L)(c=>function(s=null){c(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=s});function Qu(c){throw new sd(c)}const Ju=function(){return["/"]},od=function(c){return{show:c}},Hf=function(){return["/features"]},Op=function(){return["/solutions"]},Yf=function(){return["/subscriptions"]},Gf=function(){return["/insight"]},Wf=function(){return["/login"]};let wp=(()=>{class c extends St.$G{constructor(s){super(),this.isHome=!1,this.isScrolled=!1,this.isNavbarCollapsed=!0,this.headerHeight=52,this.isHome="/"===s.url,s.events.pipe((0,Pn.p)(u=>u instanceof an.wF),(0,jt.Q)(this.destroyed$)).subscribe(u=>{this.isHome="/"===u.url})}onScrollOrResize(){this.isScrolled=window.pageYOffset>=this.headerHeight}closeNavbar(){window.innerWidth<992&&(this.isNavbarCollapsed=!0)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["logged-out-header"]],hostBindings:function(u,h){1&u&&e.bIt("scroll",function(G){return h.onScrollOrResize(G)},!1,e.tSv)("resize",function(G){return h.onScrollOrResize(G)},!1,e.tSv)},features:[e.Vt3],decls:28,vars:24,consts:[[1,"container"],[1,"row"],[1,"col-12"],[1,"navbar","navbar-expand-lg"],[1,"navbar-brand",3,"routerLink"],["alt","Logo","height","34",1,"d-inline-block","align-text-top",2,"object-fit","contain",3,"src"],["type","button","aria-controls","navbarText","aria-expanded","!isNavbarCollapsed","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],["id","navbarText",1,"collapse","navbar-collapse","custom-collapse",3,"collapse","ngClass"],[1,"navbar-nav","ms-auto"],[1,"nav-item"],["routerLinkActive","active",1,"nav-link",3,"routerLink","click"],[1,"navbar-text"],["href","mailto:[email protected]","fragment","footer-request-demo",3,"click"],["text","Request a demo","color","lavender-1"],[3,"routerLink","click"],["text","Login","color","white","outline","",1,"login-btn",3,"light"]],template:function(u,h){1&u&&(e.j41(0,"header")(1,"div",0)(2,"div",1)(3,"div",2)(4,"nav",3)(5,"a",4),e.nrm(6,"img",5),e.k0s(),e.j41(7,"button",6),e.bIt("click",function(){return h.isNavbarCollapsed=!h.isNavbarCollapsed}),e.nrm(8,"span",7),e.k0s(),e.j41(9,"div",8)(10,"ul",9)(11,"li",10)(12,"a",11),e.bIt("click",function(){return h.closeNavbar()}),e.EFF(13,"Features"),e.k0s()(),e.j41(14,"li",10)(15,"a",11),e.bIt("click",function(){return h.closeNavbar()}),e.EFF(16,"Solutions"),e.k0s()(),e.j41(17,"li",10)(18,"a",11),e.bIt("click",function(){return h.closeNavbar()}),e.EFF(19,"Subscriptions"),e.k0s()(),e.j41(20,"li",10)(21,"a",11),e.bIt("click",function(){return h.closeNavbar()}),e.EFF(22,"Insight"),e.k0s()()(),e.j41(23,"span",12)(24,"a",13),e.bIt("click",function(){return h.closeNavbar()}),e.nrm(25,"fsn-button",14),e.k0s(),e.j41(26,"a",15),e.bIt("click",function(){return h.closeNavbar()}),e.nrm(27,"fsn-button",16),e.k0s()()()()()()()()),2&u&&(e.AVh("is-scrolled",h.isScrolled)("is-home",h.isHome),e.R7$(4),e.AVh("navbar-dark",h.isHome),e.R7$(1),e.Y8G("routerLink",e.lJ4(16,Ju)),e.R7$(1),e.Y8G("src",h.isHome?"/assets/images/logo-dark-mode.svg":"/assets/images/logo.svg",e.B4B),e.R7$(3),e.Y8G("collapse",h.isNavbarCollapsed)("ngClass",e.eq3(17,od,!h.isNavbarCollapsed)),e.R7$(3),e.Y8G("routerLink",e.lJ4(19,Hf)),e.R7$(3),e.Y8G("routerLink",e.lJ4(20,Op)),e.R7$(3),e.Y8G("routerLink",e.lJ4(21,Yf)),e.R7$(3),e.Y8G("routerLink",e.lJ4(22,Gf)),e.R7$(5),e.Y8G("routerLink",e.lJ4(23,Wf)),e.R7$(1),e.Y8G("light",h.isHome))},dependencies:[Do.D,Lt.YU,an.Wk,an.wQ,En],styles:["[_nghost-%COMP%] > header[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]{padding-top:5px;--bs-navbar-padding-y: 0}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]:focus{box-shadow:none}@media (max-width: 991.98px){[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{padding:1rem;background-color:#fff}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding:.5rem 1rem}}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{--bs-navbar-active-color: #26224f;--bs-nav-link-color: #26224f;--bs-nav-link-font-size: 18px;--bs-nav-link-font-weight: 700;--bs-navbar-nav-link-padding-x: 0}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{margin:0 10px}@media (min-width: 1090px){[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item[_ngcontent-%COMP%]{margin:0 20px}}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#fff;border-radius:.25rem;box-shadow:0 .5rem 1rem #0000001a}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#26224f;font-size:15px;font-weight:600}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;color:#b2aaff}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border-bottom:4px solid transparent}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border-color:#26224f}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:hover{color:#26224f!important}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#b2aaff}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .demo-btn[_ngcontent-%COMP%]{margin-left:40px}[_nghost-%COMP%] > header[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .login-btn[_ngcontent-%COMP%]{margin-left:20px}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]{background-color:transparent}[_nghost-%COMP%] > header.is-home.is-scrolled[_ngcontent-%COMP%]{background-color:#131128}@media (max-width: 991.98px){[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{background-color:#131128;border-bottom:solid 1px #b2aaff}}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{--bs-navbar-active-color: #fff;--bs-nav-link-color: #fff}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{color:#fff;font-weight:600}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-item.dropdown[_ngcontent-%COMP%]   .dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:focus{background-color:transparent;color:#b2aaff}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{border-color:#fff}[_nghost-%COMP%] > header.is-home[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#b2aaff}"]})}}return c})();var Pp=w(1985);function rd(c){c||((0,e.Af3)(rd),c=(0,e.WQX)(e.abz));const m=new Pp.c(s=>c.onDestroy(s.next.bind(s)));return s=>s.pipe((0,jt.Q)(m))}Error;var eu=w(9172);function tu(c,m){1&c&&(e.j41(0,"section",35)(1,"h2"),e.EFF(2,"Want to sign up?"),e.k0s(),e.j41(3,"a",36),e.nrm(4,"fsn-button",37),e.k0s()())}const nh=function(){return["/login"]};function Rl(c,m){1&c&&(e.j41(0,"section",35)(1,"h2"),e.EFF(2,"Already a subscriber?"),e.k0s(),e.j41(3,"a",22),e.nrm(4,"fsn-button",38),e.k0s()()),2&c&&(e.R7$(3),e.Y8G("routerLink",e.lJ4(1,nh)))}function ih(c,m){if(1&c){const s=e.RV6();e.qex(0),e.EFF(1," | "),e.j41(2,"a",39),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.switchCulture(1))}),e.EFF(3,"UK"),e.k0s(),e.EFF(4," | "),e.j41(5,"a",39),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.switchCulture(2))}),e.EFF(6,"US"),e.k0s(),e.bVm()}}const nu=function(){return["/features"]},Ec=function(){return["/solutions"]},Vp=function(){return["/subscriptions"]},iu=function(){return["/insight"]},su=function(){return["/contact"]},Qf=function(){return[]},Jf=function(){return["/terms-conditions"]},ou=function(){return["/privacy-policy"]},qf=function(){return["/cookie-policy"]};let em=(()=>{class c extends St.$G{constructor(s,u,h,x,G){super(),this.router=s,this.destroyRef=u,this.activatedRoute=h,this.appConfig=x,this.userLocation=G,this.isSmallFooter=!1,this.showRequestDemo=!1,this.showCultureSwitcher=!1,this.requestDemo
1Form=new Yn.gE({name:new Yn.MJ(null),email:new Yn.MJ(null),company:new Yn.MJ(null),job:new Yn.MJ(null),phone:new Yn.MJ(null),country:new Yn.MJ(null)}),this.switchCulture=ne=>{this.userLocation.setCulture(ne)},xo.c.production&&(this.showCultureSwitcher=!0),this.router.events.pipe((0,Pn.p)(ne=>ne instanceof an.wF),(0,eu.Z)(null),(0,Ci.T)(()=>{let ne=this.router.routerState.root;for(;ne.firstChild;)ne=ne.firstChild;return ne.snapshot.data}),rd(this.destroyRef)).subscribe(ne=>{console.log("route data",ne),this.isSmallFooter=!!ne.smallFooter})}ngOnInit(){this.email=this.appConfig.email,this.telUk=this.appConfig.telUk,this.telUs=this.appConfig.telUs,this.userLocation.getSiteCulture().subscribe(s=>{this.siteCulture=s}),this.year=(new Date).getFullYear(),console.log("HERE"),this.activatedRoute.fragment.subscribe(s=>{"footer-request-demo"===s&&this.toggleRequestDemo()})}ngOnDestroy(){this.routeSub?.unsubscribe(),super.ngOnDestroy()}toggleRequestDemo(){this.showRequestDemo=!0,setTimeout(()=>{const s=document.getElementById("footer-request-demo");s&&s.scrollIntoView({behavior:"smooth",block:"start"})},100)}applyFromSnapshot(s){let u=s;for(;u.firstChild;)u=u.firstChild;this.isSmallFooter=!!u.snapshot.data.smallFooter}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(e.abz),e.rXU(an.nX),e.rXU(Dn.o),e.rXU(Ke.dy))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["logged-out-footer"]],features:[e.Vt3],decls:91,vars:50,consts:[["class","login",4,"ngIf"],["id","footer-contact",1,"contact"],[1,"container"],[1,"row"],[1,"col-xs-12","col-md-5","col-lg-6","left"],["src","/assets/images/logo-initials.svg","alt","FN",1,"logo"],[1,"details"],[1,"bold"],[1,"phone"],["icon","site-culture-flag-uk","cssClass","blue-1","size","16px"],[1,"or","bold"],["icon","site-culture-flag-us","cssClass","blue-1","size","16px"],[1,"email"],[1,"bold",3,"href"],[1,"socials"],["target","_blank",3,"href"],["src","/assets/images/logged-out/x.svg","alt","X"],["href","https://bsky.app/profile/foresightnews.com","target","_blank"],["src","/assets/images/logged-out/bluesky.svg","alt","Bluesky"],["href","https://www.linkedin.com/company/foresight-news/","target","_blank"],["src","/assets/images/logged-out/linked-in.svg","alt","Linked In"],[1,"col-xs-12","col-md-7","col-lg-6","right"],[3,"routerLink"],["fragment","events",3,"routerLink"],["fragment","solutions-media",3,"routerLink"],["fragment","personalisation",3,"routerLink"],["fragment","solutions-pr",3,"routerLink"],["fragment","footer-request-demo",3,"routerLink"],["fragment","api-integration",3,"routerLink"],["fragment","solutions-strategy",3,"routerLink"],[1,"bottom"],[1,"col-xs-12","col-sm-4","links"],["target","_blank",3,"routerLink"],[4,"ngIf"],[1,"col-xs-12","col-sm-8","copyright"],[1,"login"],["href","mailto:[email protected]"],["text","Get in touch","color","white"],["text","Login","color","white"],[3,"click"]],template:function(u,h){1&u&&(e.DNE(0,tu,5,0,"section",0),e.DNE(1,Rl,5,2,"section",0),e.j41(2,"section",1)(3,"div",2)(4,"div",3)(5,"div",4),e.nrm(6,"img",5),e.j41(7,"div",6)(8,"span",7),e.EFF(9,"Get in touch"),e.k0s(),e.j41(10,"span",8)(11,"span"),e.nrm(12,"icon-inline-svg",9),e.EFF(13),e.k0s(),e.j41(14,"span",10),e.EFF(15," or "),e.k0s(),e.j41(16,"span"),e.nrm(17,"icon-inline-svg",11),e.EFF(18),e.k0s()(),e.j41(19,"span",12)(20,"a",13),e.EFF(21),e.k0s()(),e.j41(22,"div",14)(23,"a",15),e.nrm(24,"img",16),e.k0s(),e.j41(25,"a",17),e.nrm(26,"img",18),e.k0s(),e.j41(27,"a",19),e.nrm(28,"img",20),e.k0s()()()(),e.j41(29,"div",21)(30,"ul")(31,"li",7)(32,"a",22),e.EFF(33,"Features"),e.k0s()(),e.j41(34,"li",7)(35,"a",22),e.EFF(36,"Solutions"),e.k0s()(),e.j41(37,"li",7)(38,"a",22),e.EFF(39,"Subscriptions"),e.k0s()(),e.j41(40,"li",7)(41,"a",22),e.EFF(42,"Insight"),e.k0s()(),e.j41(43,"li")(44,"a",23),e.EFF(45,"Events"),e.k0s()(),e.j41(46,"li")(47,"a",24),e.EFF(48,"Media"),e.k0s()(),e.j41(49,"li",7)(50,"a",22),e.EFF(51,"Contact us"),e.k0s()(),e.j41(52,"li",7)(53,"a",22),e.EFF(54,"Login"),e.k0s()(),e.j41(55,"li")(56,"a",25),e.EFF(57),e.k0s()(),e.j41(58,"li")(59,"a",26),e.EFF(60,"Communications"),e.k0s()(),e.j41(61,"li",7)(62,"a",27),e.EFF(63,"Request a demo"),e.k0s()(),e.nrm(64,"li",7),e.j41(65,"li")(66,"a",28),e.EFF(67,"API"),e.k0s()(),e.j41(68,"li")(69,"a",29),e.EFF(70,"Strategy"),e.k0s()(),e.nrm(71,"li",7)(72,"li")(73,"li"),e.k0s()()()()(),e.j41(74,"section",30)(75,"div",2)(76,"div",3)(77,"div",31)(78,"a",22),e.EFF(79,"Website Terms & Conditions"),e.k0s(),e.EFF(80," | "),e.j41(81,"a",32),e.EFF(82,"Privacy"),e.k0s(),e.EFF(83," | "),e.j41(84,"a",22),e.EFF(85,"Cookie"),e.k0s(),e.DNE(86,ih,7,0,"ng-container",33),e.k0s(),e.j41(87,"div",34),e.EFF(88," Foresight News Limited | Registered in England and Wales with number 16385394 | Registered office at 47 Crookham Road, Fleet, GU51 5DT"),e.nrm(89,"br"),e.EFF(90),e.k0s()()()()),2&u&&(e.Y8G("ngIf",h.isSmallFooter),e.R7$(1),e.Y8G("ngIf",!h.isSmallFooter),e.R7$(10),e.AVh("first",1==h.siteCulture)("second",2==h.siteCulture),e.R7$(2),e.SpI(" ",h.telUk," "),e.R7$(3),e.AVh("first",2==h.siteCulture)("second",1==h.siteCulture),e.R7$(2),e.SpI(" ",h.telUs," "),e.R7$(2),e.Mz_("href","mailto:",h.email,"",e.B4B),e.R7$(1),e.JRh(h.email),e.R7$(2),e.Y8G("href",1==h.siteCulture?"https://x.com/ForesightNewsUK":"https://x.com/ForesightNewsUS",e.B4B),e.R7$(9),e.Y8G("routerLink",e.lJ4(34,nu)),e.R7$(3),e.Y8G("routerLink",e.lJ4(35,Ec)),e.R7$(3),e.Y8G("routerLink",e.lJ4(36,Vp)),e.R7$(3),e.Y8G("routerLink",e.lJ4(37,iu)),e.R7$(3),e.Y8G("routerLink",e.lJ4(38,nu)),e.R7$(3),e.Y8G("routerLink",e.lJ4(39,Ec)),e.R7$(3),e.Y8G("routerLink",e.lJ4(40,su)),e.R7$(3),e.Y8G("routerLink",e.lJ4(41,nh)),e.R7$(3),e.Y8G("routerLink",e.lJ4(42,nu)),e.R7$(1),e.JRh(1==h.siteCulture?"Personalisation":"Personalization"),e.R7$(2),e.Y8G("routerLink",e.lJ4(43,Ec)),e.R7$(3),e.Y8G("routerLink",e.lJ4(44,Qf)),e.R7$(4),e.Y8G("routerLink",e.lJ4(45,nu)),e.R7$(3),e.Y8G("routerLink",e.lJ4(46,Ec)),e.R7$(9),e.Y8G("routerLink",e.lJ4(47,Jf)),e.R7$(3),e.Y8G("routerLink",e.lJ4(48,ou)),e.R7$(3),e.Y8G("routerLink",e.lJ4(49,qf)),e.R7$(2),e.Y8G("ngIf",h.showCultureSwitcher),e.R7$(4),e.SpI(" Copyright \xa9 ",h.year," Foresight News Limited. All rights reserved. "))},dependencies:[Lt.bT,an.Wk,En,Ca],styles:['.request-demo[_ngcontent-%COMP%]{background:#26224f;color:#fff;padding:20px 0}@media (min-width: 992px){.request-demo[_ngcontent-%COMP%]{padding:30px 0}}@media (min-width: 1200px){.request-demo[_ngcontent-%COMP%]{padding:40px 0}}.request-demo[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-bottom:40px}.request-demo[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-weight:700;font-size:20px;margin-bottom:15px}@media (min-width: 992px){.request-demo[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px;margin-bottom:20px}}@media (min-width: 1200px){.request-demo[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:36px;margin-bottom:30px}}.request-demo[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:15px;margin-bottom:15px}@media (min-width: 992px){.request-demo[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:16px;margin-bottom:20px}}@media (min-width: 1200px){.request-demo[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-size:18px;margin-bottom:25px}}.request-demo[_ngcontent-%COMP%]   .emphasis[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-color:#b2aaff;text-decoration-thickness:2px}.request-demo[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:14px;font-weight:400;margin-bottom:20px;padding-left:20px;
1display:flex;flex-direction:column;gap:20px}@media (min-width: 992px){.request-demo[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:15px;margin-bottom:30px}}@media (min-width: 1200px){.request-demo[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{font-size:16px;margin-bottom:35px}}.request-demo[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:15px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]{position:relative;background:#131128;border-radius:8px;padding:20px 30px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]:before{content:"";background:url(/assets/images/logged-out/request-demo-arrow.svg) no-repeat;position:absolute;width:185px;height:150px;top:-5px;right:-50px;transform:scaleX(-1) translate(50px,10px)}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:#b2aaff;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;margin-bottom:15px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .bold[_ngcontent-%COMP%]{font-weight:700}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%], .request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#fff;font-size:14px;font-weight:400;text-decoration:none;margin-bottom:5px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:inline-flex}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .first[_ngcontent-%COMP%]{order:1}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .or[_ngcontent-%COMP%]{order:2;padding:0 6px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .second[_ngcontent-%COMP%]{order:3}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{display:inline-block;margin-right:3px;vertical-align:text-bottom}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]:last-of-type{margin-left:3px}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]{position:relative;margin:0 20px}@media (min-width: 576px){.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]{margin:0 30px}}@media (min-width: 768px){.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]{margin:0 60px}}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{background:#fff;border-radius:8px;padding:15px 20px;position:relative;z-index:1;display:flex;flex-direction:column;gap:10px}@media (min-width: 576px){.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{padding:20px 30px}}@media (min-width: 768px){.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{padding:25px 40px}}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:7px;color:#26224f;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{line-height:18px}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border:1px solid #e6e6ff;border-radius:8px;line-height:18px;padding:11px}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{color:#8c8cb5}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .form-ctrl[_ngcontent-%COMP%]   select.selected[_ngcontent-%COMP%]{color:#26224f}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   fsn-button[_ngcontent-%COMP%]{margin-top:10px;align-self:center}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]:before{content:"";position:absolute;bottom:-20px;left:-20px;border:1px solid #b2aaff;border-radius:8px;width:100%;height:100%}@media (min-width: 1200px){.request-demo[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-top:40px;padding-right:120px}.request-demo[_ngcontent-%COMP%]   .questions[_ngcontent-%COMP%]:before{transform:none}.request-demo[_ngcontent-%COMP%]   .form-container[_ngcontent-%COMP%]{margin:0}}.login[_ngcontent-%COMP%]{background:#b2aaff;color:#fff;text-align:center;padding:20px}@media (min-width: 992px){.login[_ngcontent-%COMP%]{padding:30px}}@media (min-width: 1200px){.login[_ngcontent-%COMP%]{padding:40px}}.login[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:20px;font-weight:700;margin-bottom:15px}@media (min-width: 992px){.login[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:30px}}@media (min-width: 1200px){.login[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:36px}}.contact[_ngcontent-%COMP%]{background:#e6e6ff;padding:20px 0;font-size:12px;font-weight:400}.contact[_ngcontent-%COMP%]   .bold[_ngcontent-%COMP%]{font-weight:700}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{display:flex;gap:20px}@media (min-width: 400px){.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-bottom:20px;border-bottom:solid 1px #b2aaff;margin-bottom:20px}}@media (min-width: 768px){.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{padding-bottom:0;border-bottom:0;margin-bottom:0}}@media (min-width: 992px){.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{gap:34px}}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{height:30px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-size:12px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%], .contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{font-size:14px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]{display:inline-flex}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .first[_ngcontent-%COMP%]{order:1}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .or[_ngcontent-%COMP%]{order:2;padding:0 6px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .phone[_ngcontent-%COMP%]   .second[_ngcontent-%COMP%]{order:3}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{display:inline-block;margin-right:3px;vertical-align:text-bottom}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]:last-of-type{margin-left:3px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]{margin-top:15px;
1display:flex;gap:20px}.contact[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .details[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{flex:0 0 20px;width:20px;height:20px}.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{display:none}@media (min-width: 400px){.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{display:block}}.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;column-gap:60px}.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}@media (max-width: 1200px){.contact[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{column-gap:15px}}.bottom[_ngcontent-%COMP%]{background:#fff;color:#26224f;font-size:9px;padding:12px 0}.bottom[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{font-weight:700}.bottom[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.bottom[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.bottom[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{font-weight:400;margin-top:10px}@media (min-width: 576px){.bottom[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{margin-top:0;text-align:right}}']})}}return c})();var Nl=w(8580),us=w(1234);function ud(c,m){if(1&c&&(e.j41(0,"div",26),e.nrm(1,"icon",27),e.j41(2,"span"),e.EFF(3,"Top Story"),e.k0s()()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")}}function sh(c,m){if(1&c&&(e.j41(0,"div",26),e.nrm(1,"icon",28),e.j41(2,"span"),e.EFF(3,"Key Event"),e.k0s()()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("cssClass",s.isDarkMode?"gray-2":"blue-1")("filled",!0)}}function Bp(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",29),2&c){const s=e.XpG();e.Y8G("cssClass",null==s.model?null:s.model.categoryCssClass)("forCard",!1)("isDarkMode",s.isDarkMode)}}function oh(c,m){if(1&c&&e.nrm(0,"new-or-updated-badge",30),2&c){const s=e.XpG();e.Y8G("cssClass",null==s.model?null:s.model.categoryCssClass)("forCard",!1)("isDarkMode",s.isDarkMode)}}function rh(c,m){1&c&&(e.j41(0,"span",31),e.nrm(1,"icon",32),e.EFF(2,"Operational use only; not for publication/broadcast"),e.k0s())}function Zf(c,m){if(1&c&&(e.j41(0,"span",31),e.nrm(1,"icon",32),e.EFF(2),e.nI1(3,"date"),e.k0s()),2&c){const s=e.XpG();e.R7$(2),e.SpI("Embargoed until ",e.brH(3,1,null==s.model?null:s.model.embargoedDate,"EEE, MMM d, HH:mm","UTC"),"")}}function $p(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",35),e.nrm(2,"icon",36),e.j41(3,"a",37),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit,u=m.index;e.R7$(1),e.AVh("not-first",u>0),e.R7$(2),e.FS9("href",s.value.url,e.B4B),e.R7$(1),e.JRh(s.value.text)}}function Up(c,m){if(1&c&&(e.j41(0,"div",33),e.DNE(1,$p,5,4,"ng-container",34),e.nI1(2,"keyvalue"),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngForOf",e.bMT(2,1,null==s.model?null:s.model.links))}}function ru(c,m){if(1&c&&(e.qex(0),e.j41(1,"div"),e.nrm(2,"icon",42),e.j41(3,"a",43),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit;e.R7$(3),e.Mz_("href","mailto:",s,"",e.B4B),e.R7$(1),e.JRh(s)}}function Ja(c,m){if(1&c&&(e.j41(0,"div"),e.nrm(1,"icon",44),e.EFF(2),e.k0s()),2&c){const s=e.XpG().$implicit;e.R7$(2),e.JRh(s.value.phone)}}function ah(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",40)(2,"div"),e.EFF(3),e.k0s(),e.DNE(4,ru,5,2,"ng-container",34),e.DNE(5,Ja,3,1,"div",41),e.k0s(),e.bVm()),2&c){const s=m.$implicit,u=m.index,h=e.XpG(2);e.R7$(1),e.AVh("not-first",u>0||(null==h.model?null:h.model.links.length)>0),e.R7$(2),e.Lme("",s.value.name,"",s.value.companyName!==s.value.name?", "+s.value.companyName:"",""),e.R7$(1),e.Y8G("ngForOf",s.value.emails),e.R7$(1),e.Y8G("ngIf",s.value.phone)}}function eg(c,m){if(1&c&&(e.j41(0,"div",38)(1,"div",39),e.EFF(2,"Contact"),e.k0s(),e.DNE(3,ah,6,6,"ng-container",34),e.nI1(4,"keyvalue"),e.k0s()),2&c){const s=e.XpG();e.R7$(3),e.Y8G("ngForOf",e.bMT(4,1,null==s.model?null:s.model.contacts))}}function fl(c,m){if(1&c&&(e.qex(0),e.j41(1,"div",45),e.nrm(2,"icon",46),e.j41(3,"a",37),e.EFF(4),e.k0s()(),e.bVm()),2&c){const s=m.$implicit,u=m.index;e.R7$(1),e.AVh("not-first",u>0),e.R7$(2),e.FS9("href",s.value.url,e.B4B),e.R7$(1),e.JRh(s.value.title)}}function mi(c,m){if(1&c&&(e.j41(0,"div",38)(1,"div",39),e.EFF(2,"Documents"),e.k0s(),e.DNE(3,fl,5,4,"ng-container",34),e.nI1(4,"keyvalue"),e.k0s()),2&c){const s=e.XpG();e.AVh("mt-3",(null==s.model?null:s.model.contacts.length)>0||(null==s.model?null:s.model.links.length)>0),e.R7$(3),e.Y8G("ngForOf",e.bMT(4,3,null==s.model?null:s.model.documents))}}function Hp(c,m){if(1&c&&(e.j41(0,"div",21),e.nrm(1,"cms-edit-link",47),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("cmsId",null==s.model?null:s.model.dragonId)("showLabel",!0)}}let Fo=(()=>{class c extends St.$G{constructor(s,u){super(),this.bsModalRef=s,this.store=u,this.confirmed=new e.bkB,this.textCopied=!1,this.hasCmsAccess=!1}ngOnInit(){const s=this.store.selectSnapshot(u=>u.app.user.user);!this.hasAlert$&&this.model&&(this.hasAlert$=new _o.t(this.model.hasAlert)),s.contentPermissions.includes(St.l_.Cms)&&(this.hasCmsAccess=!0)}ngOnChanges(s){s.model&&(this.hasAlert$=new _o.t(this.model.hasAlert))}closeModal(){this.bsModalRef.hide()}confirm(){this.confirmed.next(),this.closeModal()}alertChanged(s){this.model.hasAlert=s,this.hasAlert$.next(s)}copyText(){navigator.clipboard.writeText(this.model.copy).then(()=>{this.textCopied=!0,setTimeout(()=>this.textCopied=!1,2e3)})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(O.Y$),e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["ng-component"]],inputs:{model:"model",isDarkMode:"isDarkMode",header:"header",message:"message"},outputs:{confirmed:"confirmed"},features:[e.Vt3,e.OA$],decls:36,vars:39,consts:[["type","button",1,"btn","btn-close-modal",3,"click"],["icon","close","size","19px","cssClass","grey-4",1,"close-modal"],[1,"article"],[1,"category-icons"],[1,"category-info"],["size","8px",3,"cssClass"],[1,"category"],[1,"icons"],["class","icon-with-label",4,"ngIf"],["label","new",3,"cssClass","forCard","isDarkMode",4,"ngIf"],["label","updated",3,"cssClass","forCard","isDarkMode",4,"ngIf"],[1,"date-embargo"],[1,"date"],[1,"headline"],["class","info",4,"ngIf"],[1,"address"],[1,"copy",3,"innerHTML"],["class","links",4,"ngIf"],["class","contacts-links",4,"ngIf"],["class","contacts-links",3,"mt-3",4,"ngIf"],[1,"article-actions","text-center"],[1,"action"],[3,"websiteId","articleId","hasAlert","name","trackerAlert","isDarkMode","alwaysVisible","showLabel","alertChange"],[3,"websiteId","articleId","eventHeadline","alwaysVisible","showLabel"],[3,"textToCopy","articleHash","articleId","eventHeadline","showLabel"],["class","action",4,"ngIf"],[1,"icon-with-label"],["icon","star","size","19px",3,"cssClass"],["
1icon","stars","size","20px",3,"cssClass","filled"],["label","new",3,"cssClass","forCard","isDarkMode"],["label","updated",3,"cssClass","forCard","isDarkMode"],[1,"info"],["icon","error","size","22px","cssClass","blue-1"],[1,"links"],[4,"ngFor","ngForOf"],[1,"link"],["icon","link","size","18px","cssClass","gray-2"],["target","_blank",3,"href"],[1,"contacts-links"],[1,"header"],[1,"contact"],[4,"ngIf"],["icon","alternate_email","size","18px","cssClass","gray-2"],[3,"href"],["icon","call","size","18px","cssClass","gray-2"],[1,"document"],["icon","download","size","18px","cssClass","gray-2"],[3,"cmsId","showLabel"]],template:function(u,h){1&u&&(e.j41(0,"button",0),e.bIt("click",function(){return h.closeModal()}),e.EFF(1,"Close"),e.nrm(2,"icon",1),e.k0s(),e.j41(3,"div",2)(4,"div",3)(5,"div",4),e.nrm(6,"category-indicator",5),e.j41(7,"span",6),e.EFF(8),e.k0s()(),e.j41(9,"div",7),e.DNE(10,ud,4,1,"div",8),e.DNE(11,sh,4,2,"div",8),e.DNE(12,Bp,1,3,"new-or-updated-badge",9),e.DNE(13,oh,1,3,"new-or-updated-badge",10),e.k0s()(),e.j41(14,"div",11)(15,"div",12),e.EFF(16),e.k0s()(),e.j41(17,"div",13)(18,"span",13),e.EFF(19),e.k0s(),e.DNE(20,rh,3,0,"span",14),e.DNE(21,Zf,4,5,"span",14),e.k0s(),e.j41(22,"div",15),e.EFF(23),e.k0s(),e.nrm(24,"div",16),e.DNE(25,Up,3,3,"div",17),e.DNE(26,eg,5,3,"div",18),e.DNE(27,mi,5,5,"div",19),e.j41(28,"div",20)(29,"div",21)(30,"alert-button",22),e.bIt("alertChange",function(G){return h.alertChanged(G)}),e.k0s()(),e.j41(31,"div",21),e.nrm(32,"pin-button",23),e.k0s(),e.j41(33,"div",21),e.nrm(34,"copy-text",24),e.k0s(),e.DNE(35,Hp,2,4,"div",25),e.k0s()()),2&u&&(e.R7$(3),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(3),e.Y8G("cssClass",null==h.model?null:h.model.categoryCssClass),e.R7$(2),e.JRh(null==h.model?null:h.model.mainCategory),e.R7$(2),e.Y8G("ngIf",(null==h.model?null:h.model.isTopStory)&&!(null!=h.model&&h.model.isKeyEvent)),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isKeyEvent),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isNew),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isUpdated),e.R7$(3),e.Lme("",null==h.model?null:h.model.eventDate,"",null==h.model?null:h.model.eventTime,""),e.R7$(2),e.AVh("has-info",(null==h.model?null:h.model.isOperational)||(null==h.model?null:h.model.isEmbargoed)),e.R7$(1),e.JRh(null==h.model?null:h.model.headline),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isOperational),e.R7$(1),e.Y8G("ngIf",null==h.model?null:h.model.isEmbargoed),e.R7$(2),e.JRh(null==h.model?null:h.model.address),e.R7$(1),e.Y8G("innerHTML",null==h.model?null:h.model.copy,e.npT),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.links.length)>0),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.contacts.length)>0),e.R7$(1),e.Y8G("ngIf",(null==h.model?null:h.model.documents.length)>0),e.R7$(3),e.Y8G("websiteId",null==h.model?null:h.model.calendarArticleId)("articleId",null==h.model?null:h.model.articleHash)("hasAlert",null==h.model?null:h.model.hasAlert)("name",null==h.model?null:h.model.headline)("trackerAlert",null==h.model?null:h.model.trackerAlert)("isDarkMode",h.isDarkMode)("alwaysVisible",!0)("showLabel",!0),e.R7$(2),e.Y8G("websiteId",null==h.model?null:h.model.calendarArticleId)("articleId",null==h.model?null:h.model.articleHash)("eventHeadline",null==h.model?null:h.model.headline)("alwaysVisible",!0)("showLabel",!0),e.R7$(2),e.Y8G("textToCopy",null==h.model?null:h.model.textToCopy)("articleHash",null==h.model?null:h.model.articleHash)("articleId",null==h.model?null:h.model.articleHash)("eventHeadline",null==h.model?null:h.model.headline)("showLabel",!0),e.R7$(1),e.Y8G("ngIf",h.hasCmsAccess))},dependencies:[Lt.Sq,Lt.bT,Id,lr,Tr.a,jn.R,Ha.n,U,vo,Lt.vh,Lt.lG],styles:[".btn-close-modal[_ngcontent-%COMP%]{position:absolute;right:-15px;top:-33px;color:#fff;padding:0;font-size:14px;font-weight:700;text-decoration:underline}.btn-close-modal[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;padding-top:3px;width:28px;height:28px;border-radius:14px;background-color:#fff}header[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:54px;border-radius:20px 20px 0 0;background-color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;color:#fff}.modal-container[_ngcontent-%COMP%]{min-height:75px;padding-top:14px}.modal-container.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}.modal-container.is-dark-mode.is-white[_ngcontent-%COMP%]:not(.export){padding-top:72px}.modal-container.is-dark-mode[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{background-color:#26224f}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#e6e6ff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white{background-color:#fff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white:not(.export){padding-top:72px}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode)   footer[_ngcontent-%COMP%]{background-color:#f7f7fd}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]{padding:0 30px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   .form-label[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:16px;font-weight:600}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .modal
1-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border-radius:8px;height:36px;font-size:14px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:none}footer[_ngcontent-%COMP%]{height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:8px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]{position:relative;padding:30px 30px 72px}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#fff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{background-color:#26224f;color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#131128;color:#fff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .info[_ngcontent-%COMP%]{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]{background-color:#f7f7fd}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]{position:relative}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]{height:22px;line-height:22px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-size:12px;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:11px;display:inline-block;font-size:12px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]:last-of-type{margin-right:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;vertical-align:middle}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   new-or-updated-badge[_ngcontent-%COMP%]{margin-left:11px;margin-right:2px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:318px}@media (min-width: 1060px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:338px}}@media (min-width: 1130px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:397px}}@media (min-width: 1200px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:437px}}@media (min-width: 1300px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:477px}}@media (min-width: 1400px){.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:567px}}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]{position:relative;margin-top:6px;padding-right:2px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   alert-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   pin-button[_ngcontent-%COMP%]{display:block;position:absolute;top:25px;right:1px;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   copy-text[_ngcontent-%COMP%]{display:block;position:absolute;top:50px;right:0;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   cms-edit-link[_ngcontent-%COMP%]{display:block;position:absolute;top:75px;right:0;width:18px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:16px;font-size:18px;font-family:Anek Bangla,serif;font-weight:700}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-size:16px;font-size:20px;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .headline.has-info[_ngcontent-%COMP%]{margin-right:8px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:bottom;padding:0 8px 0 33px;height:28px;line-height:28px;border-radius:6px;font-size:12px;font-family:DM Sans,sans-serif;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:absolute;top:-1px;left:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .address[_ngcontent-%COMP%]{margin:5px 0;font-size:13px;line-height:17px;font-weight:600;color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]{font-size:13px;line-height:15px;padding-bottom:0;font-size:14px;line-height:19px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul{padding-left:30px;list-style:disc!important}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li{padding-bottom:5px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li:last-of-type{padding-bottom:15px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{padding-bottom:12px;font-size:12px;font-size:14px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:10px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]{padding-top:9px;border-top:solid 1px #e6e6ff;border-top-color:#d4d4ee;font-size:12px;font-size:14px;font-weight:400}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .toggle-contacts[_ngcontent-%COMP%]{display:inline-block}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:14px;font-size:16px;color:#8c8cb5;font-family:Anek Bangla,serif;font-weight:600}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:10px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .contact.not-first[_ngcontent-%COMP%]{margin-top:10px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}.is-dark-mode[_nghost-%COMP%]   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:background-color .4s ease,color .4s ease,border-color .4s ease;cursor:pointer;display:inline-block;margin-top:8px;padding:0 10px;height:36px;line-height:36px;border-radius:6px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]{position:relative;padding:30px 30px 72px}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:#26224f;background-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{background-color:#26224f;color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .article.is-dark-mode[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#131128;color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .info[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]{background-color:#f7f7fd}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]:not(.is-dark-mode)   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]:hover{background-color:#e6e6ff}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]{height:22px;line-height:22px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .category-info[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-size:12px;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{position:absolute;top:0;right:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]{position:relative;top:-1px;margin-right:11px;display:inline-block;font-size:12px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]:last-of-type{margin-right:5px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   .icon-with-label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:6px;vertical-align:middle}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .category-icons[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]   new-or-updated-badge[_ngcontent-%COMP%]{margin-left:11px;margin-right:2px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:318px}@media (min-width: 1060px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:338px}}@media (min-width: 1130px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:397px}}@media (min-width: 1200px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:437px}}@media (min-width: 1300px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:477px}}@media (min-width: 1400px){[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-left[_ngcontent-%COMP%]{width:567px}}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]{position:relative;margin-top:6px;padding-right:2px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   alert-button[_ngcontent-%COMP%]{position:absolute;top:0;right:0}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   pin-button[_ngcontent-%COMP%]{display:block;position:absolute;top:25px;right:1px;width:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   copy-text[_ngcontent-%COMP%]{display:block;position:absolute;top:50px;right:0;width:18px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-list-card[_ngcontent-%COMP%]   .article-list-card-right[_ngcontent-%COMP%]   cms-edit-link[_ngcontent-%COMP%]{display:block;position:absolute;top:75px;right:0;width:18px}[_nghost-%COMP%]:not(.is-dar
1k-mode)   .article[_ngcontent-%COMP%]   .date-embargo[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{font-size:16px;font-size:18px;font-family:Anek Bangla,serif;font-weight:700}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{font-size:16px;font-size:20px;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .headline.has-info[_ngcontent-%COMP%]{margin-right:8px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{position:relative;display:inline-block;vertical-align:bottom;padding:0 8px 0 33px;height:28px;line-height:28px;border-radius:6px;font-size:12px;font-family:DM Sans,sans-serif;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:absolute;top:-1px;left:5px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .address[_ngcontent-%COMP%]{margin:5px 0;font-size:13px;line-height:17px;font-weight:600;color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]{font-size:13px;line-height:15px;padding-bottom:0;font-size:14px;line-height:19px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul{padding-left:30px;list-style:disc!important}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li{padding-bottom:5px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .copy[_ngcontent-%COMP%]     ul li:last-of-type{padding-bottom:15px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{padding-bottom:12px;font-size:12px;font-size:14px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]{padding-top:9px;border-top:solid 1px #e6e6ff;border-top-color:#d4d4ee;font-size:12px;font-size:14px;font-weight:400}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .toggle-contacts[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{font-size:14px;font-size:16px;color:#8c8cb5;font-family:Anek Bangla,serif;font-weight:600}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{margin-right:7px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link.not-first[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document.not-first[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .document[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{word-break:break-all}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .contacts-links[_ngcontent-%COMP%]   .contact.not-first[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}[_nghost-%COMP%]:not(.is-dark-mode)   .article[_ngcontent-%COMP%]   .article-actions[_ngcontent-%COMP%]   .action[_ngcontent-%COMP%]{transition:background-color .4s ease,color .4s ease,border-color .4s ease;cursor:pointer;display:inline-block;margin-top:8px;padding:0 10px;height:36px;line-height:36px;border-radius:6px}"]})}}return c})();var bo=w(1522);let lh=(()=>{class c extends dr.${constructor(s,u,h,x,G,ne){super(),this.router=s,this.route=u,this.store=h,this.eventsApi=x,this.modalService=G,this.analytics=ne,this.showArticle=!1,this.trackedArticleId=null}ngOnInit(){(0,_s.z)([this.store.select(ei.is.user),this.route.queryParams]).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(([s,u])=>{const h=u.articleId;this.showArticle=!!h,this.showArticle?this.eventsApi.getEventArticle(h).pipe((0,jt.Q)(this.destroyed$)).subscribe(x=>{this.modalRef=this.modalService.show(Fo,{initialState:{model:x,isDarkMode:s.isDarkMode},backdrop:!0,ignoreBackdropClick:!1,class:s.isDarkMode?"fsn-modal event-article-modal is-dark-mode":"fsn-modal event-article-modal"}),this.trackedArticleId!==h&&(this.trackedArticleId=h,this.analytics.plannerEventView(h,x.headline||x.title||"Untitled",{event_date:x.eventDate||x.date,organisation:x.organisation||x.companyName,article_type:x.type,topic:x.topic,hot_topic:x.hotTopic})),this.modalRef.onHide?.pipe((0,jt.Q)(this.destroyed$)).subscribe(()=>{this.trackedArticleId=null,this.router.navigate([],{relativeTo:this.route,queryParams:{articleId:null},queryParamsHandling:"merge"})})}):this.trackedArticleId=null})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX),e.rXU(ui.il),e.rXU(bo._),e.rXU(O.I8),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["event-article"]],features:[e.Vt3],decls:0,vars:0,template:function(u,h){},encapsulation:2})}}return c})();function Fa(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",5)(1,"div",6),e.bIt("click",function(h){const G=e.eBV(s).$implicit,ne=e.XpG(2);return e.Njj(ne.showEvent(h,G.articleHash))}),e.EFF(2),e.k0s(),e.j41(3,"div",7),e.EFF(4),e.k0s()()}if(2&c){const s=m.$implicit;e.R7$(2),e.SpI(" ",s.headline," "),e.R7$(2),e.SpI(" ",s.eventDate," ")}}function tg(c,m){if(1&c&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"category-indicator",3),e.EFF(3),e.k0s(),e.DNE(4,Fa,5,2,"div",4),e.k0s()),2&c){const s=e.XpG();e.R7$(2),e.Y8G("cssClass",s.categoryCssClass),e.R7$(1),e.SpI(" ",s.name," "),e.R7$(1),e.Y8G("ngForOf",null==s.category?null:s.category.items)}}let ch=(()=>{class c extends St.$G{constructor(s,u){super(),this.router=s,this.route=u,this.freetext=new Yn.MJ(""),this.hasSearch=!1,this.results=null}showEvent(s,u){s.stopPropagation(),s.preventDefault(),this.router.navigate([],{relativeTo:this.route,queryParams:{articleId:u},queryParamsHandling:"merge"})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(an.Ix),e.rXU(an.nX))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-bar-result-category"]],inputs:{category:"category",name:"name",categoryCssClass:"categoryCssClass",isDarkMode:"isDarkMode"},features:[e.Vt3],decls:1,vars:1,consts:[["class","category",4,"ngIf"],[1,"category"],[1,"header"],["size","6px",3,"cssClass"],["class","event row",4,"ngFor","ngForOf"],[1,"event","row"],["role","button",1,"headline","text-truncate",3,"click"],[1,"date"]],template:function(u,h){1&u&&e.DNE(0,tg,5,3,"div",0),2&u&&e.Y8G("ngIf",h.category&&(null==h.category?null:h.category.totalCount)>0)},dependencies:[Lt.Sq,Lt.bT,Id],styles:[".is-dark-mode[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{color:#fff}.is-dark-mode[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .category[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]{display:inline-block;width:100%;margin-top:8px;padding-left:16px}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{position:relative;font-family:Anek Bangla,serif;font-weight:600;font-size:12px}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   category-indicator[_ngcontent-%COMP%]{position:absolute;display:inline-block;left:-15px}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]{font-size:10px;font-weight:400}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{flex:0 0 70%;max-width:70%}@media (min-width: 1300px){[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{flex:0 0 75%;max-width:75%}}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5;flex:0 0 30%;max-width:30%;text-align:right}@media (min-width: 1300px){[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{flex:0 0 25%;max-width:25%}}"]})}}return c})();function au(c,m){if(1&c){const s=e.RV6();e.j41(0,"icon",5),e.bIt("click",function(){e.eBV(s);const h=e.XpG();return e.Njj(h.closeSearch())}),e.k0s()}if(2&c){const s=e.XpG();e.Y8G("cssClass",s.isDarkMode?"lavender-1":"blue-1")}}function qa(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",19),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukPolitics)("isDarkMode",s.isDarkMode)}}function lu(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",20),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukHomeAffairs)("isDarkMode",s.isDarkMode)}}function hd(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",21),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukWorld)("isDarkMode",s.isDarkMode)}}function ng(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",22),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukBusinessEconomy)("isDarkMode",s.isDarkMode)}}function gl(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",23),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukHealthScience)("isDarkMode",s.isDarkMode)}}function dh(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",24),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.ukCultureSport)("isDarkMode",s.isDarkMode)}}function ml(c,m){if(1&c&&(e.qex(0),e.DNE(1,qa,1,4,"search-bar-result-category",13),e.DNE(2,lu,1,4,"search-bar-result-category",14),e.DNE(3,hd,1,4,"search-bar-result-category",15),e.DNE(4,ng,1,4,"search-bar-result-category",16),e.DNE(5,gl,1,4,"search-bar-result-category",17),e.DNE(6,dh,1,4,"search-bar-result-category",18),e.bVm()),2&c){const s=e.XpG(3);e.R7$(1),e.Y8G("ngIf",s.results.ukPoliticsActive),e.R7$(1),e.Y8G("ngIf",s.results.ukHomeAffairsActive),e.R7$(1),e.Y8G("ngIf",s.results.ukWorldActive),e.R7$(1),e.Y8G("ngIf",s.results.ukBusinessEconomyActive),e.R7$(1),e.Y8G("ngIf",s.results.ukHealthScienceActive),e.R7$(1),e.Y8G("ngIf",s.results.ukCultureSportActive)}}function io(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",28),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usPolitics)("isDarkMode",s.isDarkMode)}}function ro(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",29),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usLawSecurity)("isDarkMode",s.isDarkMode)}}function Yp(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",21),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usWorld)("isDarkMode",s.isDarkMode)}}function uh(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",22),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usBusinessEconomy)("isDarkMode",s.isDarkMode)}}function Gp(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",23),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usScienceSportArts)("isDarkMode",s.isDarkMode)}}function ig(c,m){if(1&c&&e.nrm(0,"search-bar-result-category",30),2&c){const s=e.XpG(4);e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("category",s.results.usCultureSport)("isDarkMode",s.isDarkMode)}}function Wp(c,m){if(1&c&&(e.qex(0),e.DNE(1,io,1,4,"search-bar-result-category",25),e.DNE(2,ro,1,4,"search-bar-result-category",26),e.DNE(3,Yp,1,4,"search-bar-result-category",15),e.DNE(4,uh,1,4,"search-bar-result-category",16),e.DNE(5,Gp,1,4,"search-bar-result-category",17),e.DNE(6,ig,1,4,"search-bar-result-category",27),e.bVm()),2&c){const s=e.XpG(3);e.R7$(1),e.Y8G("ngIf",s.results.usPoliticsActive),e.R7$(1),e.Y8G("ngIf",s.results.usLawSecurityActive),e.R7$(1),e.Y8G("ngIf",s.results.usWorldActive),e.R7$(1),e.Y8G("ngIf",s.results.usBusinessEconomyActive),e.R7$(1),e.Y8G("ngIf",s.results.usScienceSportArtsActive),e.R7$(1),e.Y8G("ngIf",s.results.usCultureSportActive)}}function hh(c,m){1&c&&(e.j41(0,"div",31),e.EFF(1,"Your search returned no results"),e.k0s())}function tm(c,m){if(1&c){const s=e.RV6();e.j41(0,"a",32),e.bIt("click",function(){e.eBV(s);const h=e.XpG(3);return e.Njj(h.search())}
1),e.nrm(1,"icon",33),e.EFF(2,"View all"),e.k0s()}2&c&&(e.R7$(1),e.Y8G("hover",!1))}function zp(c,m){if(1&c&&(e.qex(0),e.j41(1,"header",8)(2,"div",9),e.EFF(3,"SEARCH RESULTS"),e.k0s(),e.j41(4,"div",10),e.EFF(5),e.k0s()(),e.DNE(6,ml,7,6,"ng-container",7),e.DNE(7,Wp,7,6,"ng-container",7),e.DNE(8,hh,2,0,"div",11),e.DNE(9,tm,3,1,"a",12),e.bVm()),2&c){const s=e.XpG(2);e.R7$(5),e.SpI("",null==s.results?null:s.results.totalCount," Events"),e.R7$(1),e.Y8G("ngIf",1==s.siteCulture),e.R7$(1),e.Y8G("ngIf",2==s.siteCulture),e.R7$(1),e.Y8G("ngIf",0==s.results.totalCount),e.R7$(1),e.Y8G("ngIf",s.results.totalCount>0)}}function pd(c,m){if(1&c&&(e.j41(0,"div",6),e.DNE(1,zp,10,5,"ng-container",7),e.k0s()),2&c){const s=e.XpG();e.R7$(1),e.Y8G("ngIf",s.results)}}let ph=(()=>{class c extends dr.${get isExpanded(){return this.isFocused||this.hasSearch}constructor(s,u,h,x,G,ne){super(),this.elementRef=s,this.router=u,this.route=h,this.eventsApi=x,this.store=G,this.analytics=ne,this.freetext=new Yn.MJ(""),this.hasSearch=!1,this.isFocused=!1,this.results=null}onDocumentClick(s){if(this.hasSearch&&!this.elementRef.nativeElement.contains(s.target)){let h=s.target;h.classList.contains("material-symbols-outlined")&&(h=h.parentElement),!h.classList.contains("modal")&&!h.classList.contains("btn-close-modal")&&!h.classList.contains("close-modal")&&this.closeSearch()}}ngOnInit(){this.store.select(us.i.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.siteCulture=s.siteCulture}),this.freetext.valueChanges.pipe((0,E.B)(500),(0,Mo.F)(),(0,Io.t)(1),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.hasSearch=""!=s,this.hasSearch?this.eventsApi.searchPredictive({siteCulture:this.siteCulture,text:s}).subscribe(u=>{this.results=u}):this.results=null})}search(){const s="planner",u=this.router.parseUrl(this.router.url).root.children.primary?.segments.map(x=>x.path).join("/");let h=this.freetext.value;this.analytics.event("search",{search_term:h,...this.getPlannerSearchFilters(),source:"planner"}),this.closeSearch(),u===s&&this.router.navigate([],{relativeTo:this.route,queryParams:{text:h,view:"list"}}),this.router.navigate([`/${s}`],{queryParams:{text:h,view:"list"}})}getPlannerSearchFilters(){const s=this.route.snapshot.queryParams,u=this.joinQueryParams(s,["ukPoliticsIds","ukHomeAffairsIds","ukWorldIds","ukBusinessEconomyIds","ukHealthScienceIds","ukCultureSportIds","usPoliticsIds","usBusinessEconomyIds","usLawSecurityIds","usScienceSportArtsIds","usWorldIds","usCultureSportIds"]),h=this.joinQueryParams(s,["ukRegionIds","usNortheastRegionIds","usMidwestRegionIds","usSouthRegionIds","usWestRegionIds","globalRegionIds"]),x=this.joinQueryParams(s,["dateRangeId","startDate","endDate","dateOptions","newDateRangeId","updatedDateRangeId"]);return{filters:this.joinQueryParams(s,["dateRangeId","startDate","endDate","dateOptions","newDateRangeId","updatedDateRangeId","ukPoliticsIds","ukHomeAffairsIds","ukWorldIds","ukBusinessEconomyIds","ukHealthScienceIds","ukCultureSportIds","usPoliticsIds","usBusinessEconomyIds","usLawSecurityIds","usScienceSportArtsIds","usWorldIds","usCultureSportIds","ukRegionIds","usNortheastRegionIds","usMidwestRegionIds","usSouthRegionIds","usWestRegionIds","globalRegionIds","contentListIds","contentListName"]),filter_region:h,filter_category:u,filter_date_range:x,filter_topic:s.contentListName||s.contentListIds}}joinQueryParams(s,u){const h=u.map(x=>s[x]).filter(x=>null!=x&&""!==x);return h.length?h.join(","):void 0}closeSearch(){this.freetext.setValue(""),this.hasSearch=!1,this.isFocused=!1,this.results=null}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(e.aKT),e.rXU(an.Ix),e.rXU(an.nX),e.rXU(wt._y),e.rXU(ui.il),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["search-bar"]],hostVars:2,hostBindings:function(u,h){1&u&&e.bIt("click",function(G){return h.onDocumentClick(G)},!1,e.EBC),2&u&&e.AVh("is-expanded",h.isExpanded)},inputs:{isDarkMode:"isDarkMode"},features:[e.Vt3],decls:6,vars:6,consts:[[1,"search-bar"],["type","text","placeholder","Type your search here...",3,"formControl","focus","blur","keydown.enter"],["icon","search","size","19px",3,"cssClass"],["
1icon","close","size","19px","class","is-close","role","button",3,"cssClass","click",4,"ngIf"],["class","search-results",4,"ngIf"],["icon","close","size","19px","role","button",1,"is-close",3,"cssClass","click"],[1,"search-results"],[4,"ngIf"],[1,"row"],[1,"col-6"],[1,"col-6","text-end"],["class","no-results",4,"ngIf"],["class","view-all","role","button",3,"click",4,"ngIf"],["name","UK Politics","categoryCssClass","is-politics",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Home Affairs","categoryCssClass","is-home-affairs",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","World","categoryCssClass","is-world",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Business & Economy","categoryCssClass","is-business-economy",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Health, Science & Climate","categoryCssClass","is-health-science",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Culture & Sport","categoryCssClass","is-culture-sport",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","UK Politics","categoryCssClass","is-politics",3,"category","isDarkMode"],["name","Home Affairs","categoryCssClass","is-home-affairs",3,"category","isDarkMode"],["name","World","categoryCssClass","is-world",3,"category","isDarkMode"],["name","Business & Economy","categoryCssClass","is-business-economy",3,"category","isDarkMode"],["name","Health, Science & Climate","categoryCssClass","is-health-science",3,"category","isDarkMode"],["name","Culture & Sport","categoryCssClass","is-culture-sport",3,"category","isDarkMode"],["name","US Politics","categoryCssClass","is-politics",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Law & Security","categoryCssClass","is-law-security",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","Culture & Sports","categoryCssClass","is-culture-sport",3,"category","isDarkMode","is-dark-mode",4,"ngIf"],["name","US Politics","categoryCssClass","is-politics",3,"category","isDarkMode"],["name","Law & Security","categoryCssClass","is-law-security",3,"category","isDarkMode"],["name","Culture & Sports","categoryCssClass","is-culture-sport",3,"category","isDarkMode"],[1,"no-results"],["role","button",1,"view-all",3,"click"],["icon","add","size","18px","cssClass","gray-2",3,"hover"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"input",1),e.bIt("focus",function(){return h.isFocused=!0})("blur",function(){return h.isFocused=!1})("keydown.enter",function(){return h.search()}),e.k0s(),e.nrm(2,"icon",2),e.DNE(3,au,1,1,"icon",3),e.k0s(),e.DNE(4,pd,2,1,"div",4),e.nrm(5,"event-article")),2&u&&(e.R7$(1),e.AVh("has-search",h.hasSearch),e.Y8G("formControl",h.freetext),e.R7$(1),e.Y8G("cssClass",h.isDarkMode?"lavender-1":"blue-1"),e.R7$(1),e.Y8G("ngIf",h.hasSearch),e.R7$(1),e.Y8G("ngIf",h.hasSearch))},dependencies:[Lt.bT,Yn.me,Yn.BC,Yn.l_,jn.R,lh,ch],styles:['[_nghost-%COMP%]{display:inline-block;position:relative;width:260px;z-index:2}@media (min-width: 1150px){[_nghost-%COMP%]{width:360px}}@media (min-width: 1200px){[_nghost-%COMP%]{width:370px}}@media (min-width: 1300px){[_nghost-%COMP%]{width:470px}}@media (min-width: 1440px){[_nghost-%COMP%]{width:520px}}.is-expanded[_nghost-%COMP%]{z-index:20}.is-expanded[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%], .is-expanded[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{width:min(490px,calc(100vw - 270px))}.is-dark-mode[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;background-color:#131128;border:solid 1px #131128}.is-dark-mode[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]::placeholder{color:#8c8cb5}.is-dark-mode[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{color:#fff;border:solid 1px #b2aaff;background-color:#131128}.is-dark-mode[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text].has-search[_ngcontent-%COMP%]{color:#fff;border:solid 1px #b2aaff;border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#131128}.is-dark-mode[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{background-color:#131128;border:solid 1px #b2aaff;border-top:0}
1[_nghost-%COMP%]:not(.is-dark-mode)   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;background-color:#f7f7fd;border:solid 1px #f7f7fd}[_nghost-%COMP%]:not(.is-dark-mode)   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]::placeholder{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]:focus{color:#26224f;border:solid 1px #26224f;background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .search-bar[_ngcontent-%COMP%]   input[type=text].has-search[_ngcontent-%COMP%]{color:#26224f;border:solid 1px #26224f;border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .search-results[_ngcontent-%COMP%]{background-color:#fff;border:solid 1px #26224f;border-top:0}[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{position:relative;margin-left:20px;width:240px;transition:width .22s ease}@media (min-width: 1200px){[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{margin-left:30px}}@media (min-width: 1150px){[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{width:340px}}@media (min-width: 1300px){[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{width:440px}}@media (min-width: 1440px){[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{width:490px}}[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%]{transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;padding-left:38px;padding-right:38px;width:100%;height:30px;line-height:30px;border-radius:15px;outline:none;font-weight:400;font-size:12px;z-index:2;transition:width .22s ease,color .16s ease,background-color .16s ease,border-color .16s ease}[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   input[type=text].has-search[_ngcontent-%COMP%]{box-shadow:0 -1px #26224f66,-1px 0 #26224f66,1px 0 #26224f66}[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;position:absolute;top:3px;left:12px}[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]   icon.is-close[_ngcontent-%COMP%]{left:auto;top:4px;right:9px}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{position:absolute;top:30px;left:20px;width:240px;border-top:0;padding:0 12px 10px;border-bottom-left-radius:15px;border-bottom-right-radius:15px;z-index:1;box-shadow:1px 0 #26224f66,-1px 0 #26224f66,0 1px #26224f66;transition:width .22s ease}@media (min-width: 1200px){[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{left:30px}}@media (min-width: 1150px){[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{width:340px}}@media (min-width: 1300px){[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{width:440px}}@media (min-width: 1440px){[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]{width:490px}}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]{position:relative;padding-top:8px;color:#8c8cb5;font-size:10px;font-weight:400}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]   header[_ngcontent-%COMP%]:before{content:"";position:absolute;height:1px;left:10px;top:0;width:calc(100% - 24px);background-color:#e6e6ff}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]   search-bar-result-category[_ngcontent-%COMP%]{display:inline-block;width:100%}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]   .no-results[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center;font-size:12px}[_nghost-%COMP%]   .search-results[_ngcontent-%COMP%]   .view-all[_ngcontent-%COMP%]{display:block;margin-top:10px;text-align:center;font-size:14px;color:#8c8cb5;text-decoration:none}']})}}return c})();const nm=function(){return["/account/my-account"]},sg=function(){return["/account/settings"]};function ec(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",18)(1,"a",19),e.EFF(2,"My Account"),e.k0s(),e.j41(3,"a",19),e.EFF(4,"Settings"),e.k0s(),e.j41(5,"a",20),e.EFF(6,"My Newsletters"),e.k0s(),e.j41(7,"a",21),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.logOut())}),e.EFF(8,"Logout"),e.k0s()()}2&c&&(e.R7$(1),e.Y8G("routerLink",e.lJ4(2,nm)),e.R7$(2),e.Y8G("routerLink",e.lJ4(3,sg)))}function ca(c,m){if(1&c){const s=e.RV6();e.j41(0,"li",14,15),e.bIt("mouseenter",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!0)})("mouseleave",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!1)}),e.nrm(2,"icon",16),e.DNE(3,ec,9,4,"div",17),e.k0s()}if(2&c){const s=e.XpG();e.R7$(2),e.Y8G("cssClass",s.isDarkMode?"white":"blue-1")}}function Ll(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",28)(1,"a",29),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.setDarkLightMode(!!h.isDarkMode))}),e.j41(2,"div",30)(3,"span",25),e.nrm(4,"icon",31),e.k0s()()(),e.j41(5,"a",29),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.setDarkLightMode(!h.isDarkMode))}),e.j41(6,"div",30)(7,"span",25)(8,"icon",32),e.bIt("mouseenter",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.hoverClass="blue-1")})("mouseleave",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.hoverClass=null)}),e.k0s()()()()()}if(2&c){const s=e.XpG(2);e.R7$(4),e.Y8G("icon",s.isDarkMode?"dark_mode":"light_mode")("cssClass",s.isDarkMode?"gray-2":"blue-1"),e.R7$(4),e.Y8G("icon",s.isDarkMode?"light_mode":"dark_mode")("cssClass",null==s.hoverClass?"gray-2":s.hoverClass)}}function fh(c,m){if(1&c){const s=e.RV6();e.j41(0,"li",22,23),e.bIt("mouseenter",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!0)})("mouseleave",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!1)}),e.j41(2,"span",24)(3,"span",25),e.nrm(4,"icon",26),e.k0s()(),e.DNE(5,Ll,9,4,"div",27),e.k0s()}if(2&c){const s=e.XpG();e.R7$(4),e.Y8G("icon",s.isDarkMode?"dark_mode":"light_mode")}}function xc(c,m){if(1&c){const s=e.RV6();e.j41(0,"div",36)(1,"a",29),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.setSiteCulture(1==h.siteCulture?1:2))}),e.j41(2,"div",30)(3,"span",25),e.nrm(4,"icon-inline-svg",37),e.j41(5,"span",38),e.EFF(6),e.k0s()()()(),e.j41(7,"a",29),e.bIt("click",function(){e.eBV(s);const h=e.XpG(2);return e.Njj(h.setSiteCulture(1==h.siteCulture?2:1))}),e.j41(8,"div",30)(9,"span",25),e.nrm(10,"icon-inline-svg",37),e.j41(11,"span",38),e.EFF(12),e.k0s()()()()()}if(2&c){const s=e.XpG(2);e.R7$(4),e.Y8G("icon",1==s.siteCulture?"site-culture-flag-uk":"site-culture-flag-us")("cssClass",1==s.siteCulture?"blue-1":"gray-2")("size","16px"),e.R7$(2),e.JRh(1==s.siteCulture?"UK":"US"),e.R7$(4),e.Y8G("icon",1==s.siteCulture?"site-culture-flag-us":"site-culture-flag-uk")("cssClass",1==s.siteCulture?"gray-2":"blue-1")("size","16px"),e.R7$(2),e.JRh(1==s.siteCulture?"US":"UK")}}function gh(c,m){if(1&c){const s=e.RV6();e.j41(0,"li",22,33),e.bIt("mouseenter",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!0)})("mouseleave",function(){e.eBV(s);const h=e.sdS(1);return e.Njj(h.isOpen=!1)}),e.j41(2,"span",24)(3,"span",25),e.nrm(4,"icon-inline-svg",34),e.k0s()(),e.DNE(5,xc,13,8,"div",35),e.k0s()}if(2&c){const s=e.XpG();e.R7$(4),e.Y8G("icon",1==s.siteCulture?"site-culture-flag-uk":"site-culture-flag-us")("size","16px")}}const mh=function(){return["/home"]},fd=function(){return["/planner"]},tc=function(){return["active"]},Gr=function(){return["/account/planners"]},vi=function(){return["/account/my-alerts"]},cu=function(){return["/insight"]};let Rr=(()=>{class c extends St.$G{toggleDropdown(){console.log("toggleDropdown"),this.isOpen=!this.isOpen}constructor(s,u){super(),this.store=s,this.analytics=u,this.isOpen=!1,this.isDarkMode=!1,this.isLoggedIn=!1,this.toggleDarkMode=()=>{this.isDarkMode=!this.isDarkMode,this.analytics.trackUiInteraction("toggle_theme",{theme:this.isDarkMode?"dark":"light",source:"planner"}),this.store.dispatch(new ei.zd.SwitchDarkMode(this.isDarkMode)).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{console.log(h)})},this.setDarkLightMode=h=>{this.isDarkMode!=h&&(this.isDarkMode=h,this.analytics.trackUiInteraction("toggle_theme",{theme:this.isDarkMode?"dark":"light",source:"planner"}),this.store.dispatch(new ei.zd.SwitchDarkMode(this.isDarkMode)).pipe((0,jt.Q)(this.destroyed$)).subscribe(x=>{console.log(x)}))},this.setSiteCulture=h=>{this.siteCulture!=h&&(this.siteCulture=h,this.store.dispatch(new ei.zd.SwitchCulture(this.siteCulture)).pipe((0,jt.Q)(this.destroyed$)).subscribe(x=>{console.log("site culture switch",x)}))},this.toggleSiteCulture=()=>{this.siteCulture=this.siteCulture==St._u.GB?St._u.US:St._u.GB,this.store.dispatch(new ei.zd.SwitchCulture(this.siteCulture)).pipe((0,jt.Q)(this.destroyed$)).subscribe(h=>{console.log("site culture switch",h)})},this.logOut=()=>{this.store.dispatch(new ei.zd.Logout)}}ngOnInit(){this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status===St.TD.Successful||s.status===St.TD.PlatformAccessDenied}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isDarkMode=s.isDarkMode,this.siteCulture=s.siteCulture})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(ui.il),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["site-header"]],features:[e.Jv_([{provide:Nl.Tb,useValue:{isAnimated:!0,autoClose:!0}}]),e.Vt3],decls:32,vars:23,consts:[[1,"container"],[1,"row"],[1,"col-12"],[1,"navbar","navbar-expand-lg"],[1,"navbar-brand",3,"routerLink"],["alt","Logo",1,"d-inline-block","align-text-top",2,"object-fit","contain",3,"src"],[3,"isDarkMode"],[1,"navbar-nav","ms-auto"],[1,"nav-item"],[1,"nav-link",3,"routerLink","routerLinkActive"],[1,"nav-link",3,"routerLink"],["href","/account/newsletters",1,"nav-link"],["class","nav-item dropdown is-account","dropdown","",3,"mouseenter","mouseleave",4,"ngIf"],["class","nav-item dropdown","dropdown","",3,"mouseenter","mouseleave",4,"ngIf"],["dropdown","",1,"nav-item","dropdown","is-account",3,"mouseenter","mouseleave"],["accountDD2","bs-dropdown"],["icon","person","size","30px","dropdownToggle","",1,"is-account",3,"cssClass"],["class","dropdown-menu dropdown-menu-end is-account",4,"dropdownMenu"],[1,"dropdown-menu","dropdown-menu-end","is-account"],[1,"nav-link","dropdown-link",3,"routerLink"],["href","/account/newsletters",1,"nav-link","dropdown-link"],[1,"nav-link","dropdown-link",3,"click"],["dropdown","",1,"nav-item","dropdown",3,"mouseenter","mouseleave"],["darkModeDD","bs-dropdown"],["dropdownToggle","",1,"nav-link","no-hover"],[1,"icon-container"],["size","15px","verticalAlign","baseline",3,"icon"],["class","dropdown-menu is-dark-light-mode",4,"dropdownMenu"],[1,"dropdown-menu","is-dark-light-mode"],[3,"click"],[1,"dropdown-item"],["size","15px","verticalAlign","baseline",3,"icon","cssClass"],["size","15px","verticalAlign","baseline",3,"icon","cssClass","mouseenter","mouseleave"],["siteCultureDD2","bs-dropdown"],["cssClass","blue-1",3,"icon","size"],["class","dropdown-menu dropdown-menu-end is-site-culture",4,"dropdownMenu"],[1,"dropdown-menu","dropdown-menu-end","is-site-culture"],[3,"icon","cssClass","size"],[1,"label"]],template:function(u,h){1&u&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),e.nrm(5,"img",5),e.k0s(),e.nrm(6,"search-bar",6),e.j41(7,"ul",7)(8,"li",8)(9,"a",9),e.EFF(10,"News Planner"),e.k0s()(),e.j41(11,"li",8)(12,"a",9)(13,"span"),e.EFF(14,"Planners"),e.k0s(),e.j41(15,"span"),e.EFF(16,"My Planners"),e.k0s()()(),e.j41(17,"li",8)(18,"a",10)(19,"span"),e.EFF(20,"Alerts"),e.k0s(),e.j41(21,"span"),e.EFF(22,"My Alerts"),e.k0s()()(),e.j41(23,"li",8)(24,"a",11),e.EFF(25,"Newsletters"),e.k0s()(),e.j41(26,"li",8)(27,"a",9),e.EFF(28,"Insight"),e.k0s()(),e.DNE(29,ca,4,1,"li",12),e.DNE(30,fh,6,1,"li",13),e.DNE(31,gh,6,2,"li",13),e.k0s()()()()()),2&u&&(e.R7$(4),e.Y8G("routerLink",e.lJ4(15,mh)),e.R7$(1),e.Y8G("src",h.isDarkMode?"/assets/images/logo-dark-mode.svg":"/assets/images/logo.svg",e.B4B),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.Y8G("isDarkMode",h.isDarkMode),e.R7$(3),e.Y8G("routerLink",e.lJ4(16,fd))("routerLinkActive",e.lJ4(17,tc)),e.R7$(3),e.Y8G("routerLink",e.lJ4(18,Gr))("routerLinkActive",e.lJ4(19,tc)),e.R7$(6),e.Y8G("routerLink",e.lJ4(20,vi)),e.R7$(9),e.Y8G("routerLink",e.lJ4(21,cu))("routerLinkActive",e.lJ4(22,tc)),e.R7$(2),e.Y8G("ngIf",h.isLoggedIn),e.R7$(1),e.Y8G("ngIf",h.isLoggedIn),e.R7$(1),e.Y8G("ngIf",h.isLoggedIn))},dependencies:[Nl.hs,Nl.UL,Nl.Kk,Lt.bT,an.Wk,an.wQ,jn.R,Ca,ph],styles:['.dropdown[_ngcontent-%COMP%]{position:relative}.dropdown.is-account[_ngcontent-%COMP%]{width:50px}.dropdown[_ngcontent-%COMP%]   .is-account[_ngcontent-%COMP%]{position:absolute;top:5px;left:10px}.dropdown-menu[_ngcontent-%COMP%]{margin-top:-36px;margin-left:10px;padding:0;border-radius:17px;box-shadow:0 0 4px #26224f4d}.dropdown-menu.is-account[_ngcontent-%COMP%]{margin-top:1px;right:-76px!important;width:163px;min-width:163px}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]{width:63px;min-width:63px;right:0!important}@media (max-width: 1400px){.dropdown-menu.is-site-culture[_ngcontent-%COMP%]{margin-top:-38px;right:2px!important}}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding-left:4px;padding-right:8px;text-align:right}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:flex-end;width:100%}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;position:relative;top:-1px;right:3px;width:24px}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{order:-1;padding-right:12px}@media (min-width: 1475px){.dropdown-menu.is-site-culture[_ngcontent-%COMP%]{width:63px;min-width:63px;left:-6px!important;right:auto!important;margin-left:6px}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{position:relative;margin-top:0;padding-left:6px;padding-right:0;text-align:left}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]{display:inline-block;width:auto}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{top:0;left:3px;right:unset;width:16px}.dropdown-menu.is-site-culture[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{display:inline-block;position:absolute;margin-top:-1px;order:0;padding-right:0;padding-left:10px}}.dropdown-menu.is-dark-light-mode[_ngcontent-%COMP%]{width:33px;min-width:33px;margin-left:2px}@media (max-width: 1400px){.dropdown-menu.is-dark-light-mode[_ngcontent-%COMP%]{margin-top:-35px;margin-left:-1px}}.dropdown-menu[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none}.dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding-left:8px;color:#26224f;font-weight:700;font-family:Anek Bangla,serif;font-size:14px;text-decoration:none}.dropdown-menu[_ngcontent-%COMP%]   .dropdown-item[_ngcontent-%COMP%]:hover{background-color:transparent}.dropdown-menu.is-wide[_ngcontent-%COMP%]{width:220px}.dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;height:46px;line-height:46px;margin:0;color:#f7f7fd;font-size:14px;font-weight:600;border-bottom:1px #f7f7fd solid}.dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{border-bottom:none}.navbar-expand-1000[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:none!important}@media (min-width: 1000px){.navbar-expand-1000[_ngcontent-%COMP%]   .navbar-collapse[_ngcontent-%COMP%]{display:flex!important}.navbar-expand-1000[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{display:none}}.is-dark-mode[_nghost-%COMP%]{background-color:#26224f;color:#fff;box-shadow:0 1px 2px #15132b}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover[_ngcontent-%COMP%], .dropdown-link)[_ngcontent-%COMP%]{color:#fff}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover[_ngcontent-%COMP%], .dropdown-link)[_ngcontent-%COMP%]:hover{color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   .
1container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover[_ngcontent-%COMP%], .dropdown-link)[_ngcontent-%COMP%]:hover:after{border-bottom:4px solid #b2aaff}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after{border-bottom:4px solid #b2aaff}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]{display:inline-block;text-align:center;width:24px;height:24px;background-color:#fff;border-radius:12px}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{position:relative;top:-2px}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:20px}.is-dark-mode[_nghost-%COMP%]   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .dark-mode-toggle[_ngcontent-%COMP%]{display:inline-block;text-align:center;width:24px;height:24px;background-color:#fff;border-radius:12px}[_nghost-%COMP%]:not(.is-dark-mode){background-color:#fff;box-shadow:0 1px 2px #c7c7eb42}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]:hover{color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]:hover:after{border-bottom:4px solid #b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after{border-bottom:4px solid #26224f}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]{display:inline-block;text-align:center;width:24px;height:24px;background-color:#e6e6ff;border-radius:12px}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon-inline-svg[_ngcontent-%COMP%]{position:relative;top:-2px}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:20px}[_nghost-%COMP%]:not(.is-dark-mode)   .container[_ngcontent-%COMP%]   .navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .dark-mode-toggle[_ngcontent-%COMP%]{display:inline-block;text-align:center;width:24px;height:24px;background-color:#f7f7fd;border-radius:12px}.navbar-expand-lg[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{flex-direction:row!important}.navbar[_ngcontent-%COMP%]{padding:0;height:50px;position:relative}.navbar[_ngcontent-%COMP%]   search-bar[_ngcontent-%COMP%]{position:relative;z-index:2}.navbar[_ngcontent-%COMP%]   search-bar.is-expanded[_ngcontent-%COMP%]{z-index:20}.navbar[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]{position:relative;z-index:1}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin:3px 0 0 6px}@media (min-width: 1200px){.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin-left:12px}}@media (min-width: 1400px){.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]{margin-left:22px}}.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:28px}@media (min-width: 1200px){.navbar[_ngcontent-%COMP%]   .navbar-brand[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:34px}}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{position:relative;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;margin-left:2px;margin-right:2px;font-size:1rem;font-size:16px;font-family:Anek Bangla,serif;padding-left:0}@media (min-width: 1240px){.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-left:4px;margin-right:4px}}@media (min-width: 1400px){.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{margin-left:6px;margin-right:6px;font-size:18px}}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]{color:#26224f}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]:hover{color:#b2aaff}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]:hover:after{content:"";position:absolute;bottom:-3px;left:0;width:100%;border-bottom:4px solid #26224f;pointer-events:none}@media (min-width: 1400px){.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:not(.btn, .no-hover)[_ngcontent-%COMP%]:hover:after{bottom:-2px}}.navbar[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-3px;left:0;width:100%;border-bottom:4px solid #26224f;pointer-events:none}@media (min-width: 1400px){.navbar[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]:after{bottom:-2px}}.navbar[_ngcontent-%COMP%]   .nav-link.dropdown-link[_ngcontent-%COMP%]:hover:after{border-bottom:none!important}.navbar[_ngcontent-%COMP%]   .nav-link.btn[_ngcontent-%COMP%]{margin-top:4px;padding-top:4px;padding-bottom:4px}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-of-type{display:inline-block}@media (min-width: 1105px){.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-of-type{display:none}}.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:none}@media (min-width: 1105px){.navbar[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-of-type{display:inline-block}}.nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-top:2px}@media (min-width: 1400px){.nav-link[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inherit;margin-top:0}}'],data:{animation:[(0,ee.hZ)("dropdownAnimation",[(0,ee.wk)("void",(0,ee.iF)({opacity:0,transform:"translateY(-10px)"})),(0,ee.wk)("open",(0,ee.iF)({opacity:1,transform:"translateY(0)"})),(0,ee.kY)("void <=> open",(0,ee.i0)("300ms ease-in-out"))])]}})}}return c})();const og=function(){return["/terms-conditions"]},_h=function(){return["/privacy-policy"]},qi=function(){return["/cookie-policy"]};let rg=(()=>{class c extends St.$G{constructor(s,u){super(),this.appConfig=s,this.store=u}ngOnInit(){this.email=this.appConfig.email,this.year=(new Date).getFullYear().toString(),this.officeAddress=this.appConfig.officeAddress,this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.siteCulture=s.siteCulture,s.siteCulture==St._u.GB?(this.firstTelNo="UK - "+this.appConfig.telUk,this.secondTelNo="US - "+this.appConfig.telUs):(this.firstTelNo="US - "+this.appConfig.telUs,this.secondTelNo="UK - "+this.appConfig.telUk)})}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o),e.rXU(ui.il))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["site-footer"]],inputs:{isDarkMode:"isDarkMode"},features:[e.Vt3],decls:41,vars:14,consts:[[1,"footer","align-middle"],[1,"container","h-100"],[1,"row","h-100"],[1,"col-5","col-xl-6","d-flex","align-items-center","justify-content-center"],[1,"w-100","text-start"],[1,"logo"],["alt","Logo",1,"d-inline-block","align-text-top",2,"object-fit","contain",3,"src"],[1,"socials"],["target","_blank",3,"href"],["src","/assets/images/logged-out/x.svg","alt","X"],["href","https://bsky.app/profile/foresightnews.com","target","_blank"],["src","/assets/images/logged-out/bluesky.svg","alt","Bluesky"],["href","https://www.linkedin.com/company/foresight-news/","target","_blank"],["src","/assets/images/logged-out/linked-in.svg","alt","Linked In"],[1,"fw-bold","text-capitalize"],[1,"fw-bold"],[3,"href"],[1,"col-7","col-xl-6","d-flex","align-items-center","justify-content-center"],[1,"w-100","text-end"],[1,"fw-bold",3,"routerLink"],["target","_blank",1,"fw-bold",3,"routerLink"]],template:function(u,h){1&u&&(e.j41(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),e.nrm(6,"img",6),e.k0s(),e.j41(7,"div",7)(8,"a",8),e.nrm(9,"img",9),e.k0s(),e.j41(10,"a",10),e.nrm(11,"img",11),e.k0s(),e.j41(12,"a",12),e.nrm(13,"img",13),e.k0s()(),e.j41(14,"p")(15,"span",14),e.EFF(16,"CALL US ON: "),e.k0s(),e.EFF(17),e.j41(18,"span",15),e.EFF(19,"or"),e.k0s(),e.EFF(20),e.k0s(),e.j41(21,"p")(22,"span",14),e.EFF(23,"EMAIL US AT: "),e.k0s(),e.j41(24,"a",16),e.EFF(25),e.k0s()()()(),e.j41(26,"div",17)(27,"div",18)(28,"p")(29,"a",19),e.EFF(30,"Website Terms & Conditions"),e.k0s(),e.EFF(31," | "),e.j41(32,"a",20),e.EFF(33,"Privacy"),e.k0s(),e.EFF(34," | "),e.j41(35,"a",19),e.EFF(36,"Cookie"),e.k0s()(),e.j41(37,"p"),e.EFF(38),e.k0s(),e.j41(39,"p"),e.EFF(40),e.k0s()()()()()()),2&u&&(e.R7$(6),e.Y8G("src",h.isDarkMode?"/assets/images/logo-initials-dark-mode.svg":"/assets/images/logo-initials.svg",e.B4B),e.R7$(2),e.Y8G("href",1==h.siteCulture?"https://x.com/ForesightNewsUK":"https://x.com/ForesightNewsUS",e.B4B),e.R7$(9),e.SpI(" ",h.firstTelNo," "),e.R7$(3),e.SpI(" ",h.secondTelNo,""),e.R7$(4),e.Mz_("href","mailto:",h.email,"",e.B4B),e.R7$(1),e.JRh(h.email),e.R7$(4),e.Y8G("routerLink",e.lJ4(11,og)),e.R7$(3),e.Y8G("routerLink",e.lJ4(12,_h)),e.R7$(3),e.Y8G("routerLink",e.lJ4(13,qi)
1),e.R7$(3),e.SpI("Foresight News Limited | Registered in England & Wales with number 16385394 | Registered office: ",h.officeAddress,""),e.R7$(2),e.SpI("Copyright \xa9 ",h.year," Foresight News Limited. All rights reserved."))},dependencies:[an.Wk],styles:[".is-dark-mode[_nghost-%COMP%]   footer[_ngcontent-%COMP%]{border-top:solid 2px #26224f;background-color:#131128;color:#d4d4ee}.is-dark-mode[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#d4d4ee}[_nghost-%COMP%]:not(.is-dark-mode)   footer[_ngcontent-%COMP%]{border-top:solid 2px #D4D4EE;background-color:#d4d4ee;color:#26224f}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]{height:50px;font-size:9px;font-weight:400}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{display:inline-block;float:left;margin-right:18px;width:30px;height:27px}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]{float:left;margin:3px 20px 0 0;display:flex;gap:10px}@media (min-width: 1200px){[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]{gap:20px}}[_nghost-%COMP%]   footer[_ngcontent-%COMP%]   .socials[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{flex:0 0 20px;width:20px;height:20px}"]})}}return c})();function Ch(c,m){1&c&&e.nrm(0,"logged-out-header")}function Xp(c,m){if(1&c&&e.nrm(0,"site-header"),2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode)}}function vh(c,m){1&c&&e.nrm(0,"logged-out-footer")}function yh(c,m){if(1&c&&e.nrm(0,"site-footer",5),2&c){const s=e.XpG();e.AVh("is-dark-mode",s.isDarkMode),e.Y8G("isDarkMode",s.isDarkMode)}}let Kp=(()=>{class c extends St.$G{constructor(s,u,h,x,G,ne,Ee,De,we,ot,tn,Wt){super(),this.appConfig=s,this.rendererFactory=u,this.router=h,this.activatedRoute=x,this.metaService=G,this.cookieService=ne,this.store=Ee,this.pianoService=De,this.pianoExperienceService=we,this.pinningService=ot,this.title=tn,this.analytics=Wt,this.isDarkMode=!1,this.isFullScreen=!1,this.isLoggedIn=null,this.hasAccess=!1,this.renderer=u.createRenderer(null,null)}ngOnInit(){this.setup3rdPartyScripts(),this.pianoService.initPiano(),this.pianoExperienceService.callInit(),this.store.select(ei.is.current).pipe((0,Pn.p)(s=>void 0!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{this.isLoggedIn=s.status===St.TD.Successful||s.status===St.TD.PlatformAccessDenied,this.hasAccess=s.status===St.TD.Successful,s.status==St.TD.NotLoggedIn&&(this.pinningService.clearLocal(),this.renderer.removeClass(document.body,"is-dark-mode")),this.metaService.setViewport(this.isLoggedIn)}),this.store.select(ei.is.user).pipe((0,Pn.p)(s=>void 0!==s),(0,Pn.p)(s=>null!==s),(0,jt.Q)(this.destroyed$)).subscribe(s=>{s.isDarkMode?this.renderer.addClass(document.body,"is-dark-mode"):this.renderer.removeClass(document.body,"is-dark-mode"),this.isDarkMode=s.isDarkMode,this.pinningService.refreshPinnedElements()}),function bp(c,m){return c.events.pipe((0,Pn.p)(s=>s instanceof an.wF),(0,mo.n)(s=>m.pipe((0,Pn.p)(u=>void 0!==u),(0,ci.s)(1),(0,Ci.T)(()=>s),function Mp(c,m){const{first:s,each:u,with:h=Qu,scheduler:x=m??Hd.E,meta:G=null}=(0,Ku.v)(c)?{first:c}:"number"==typeof c?{each:c}:c;if(null==s&&null==u)throw new TypeError("No timeout provided.");return(0,Yh.N)((ne,Ee)=>{let De,we,ot=null,tn=0;const Wt=Ut=>{we=(0,Yd.N)(Ee,x,()=>{try{De.unsubscribe(),(0,Eu.Tg)(h({meta:G,lastValue:ot,seen:tn})).subscribe(Ee)}catch(cn){Ee.error(cn)}},Ut)};De=ne.subscribe((0,Dd._)(Ee,Ut=>{we?.unsubscribe(),tn++,Ee.next(ot=Ut),u>0&&Wt(u)},void 0,void 0,()=>{we?.closed||we?.unsubscribe(),ot=null})),!tn&&Wt(null!=s?"number"==typeof s?s:+s-x.now():u)})}(31e3),(0,Kr.W)(()=>(0,go.of)(s)))),(0,Ci.T)(s=>function Gd(c,m){const s=m.parseUrl(c);return delete s.queryParams.articleId,m.serializeUrl(s)}(s.urlAfterRedirects,c)),(0,Mo.F)())}(this.router,this.store.select(ei.is.current)).pipe((0,jt.Q)(this.destroyed$)).subscribe(s=>{const u=this.title.getTitle();this.analytics.pageView(s,u)}),this.router.events.pipe((0,Pn.p)(s=>s instanceof an.wF),(0,Ci.T)(()=>{let s=this.activatedRoute;for(;s.firstChild;)s=s.firstChild;return s}),(0,Pn.p)(s=>"primary"===s.outlet),(0,Ci.T)(s=>s.snapshot),(0,Ci.T)(s=>"$dynamic"===s.data.title||""===s.data.title?"":s.data.title)).subscribe(s=>{s&&""!==s&&this.metaService.setPageTitle(`${s}`)})}ngOnDestroy(){super.ngOnDestroy()}onDeactivate(){window.scrollTo(0,0)}setup3rdPartyScripts(){this.addPianoScript()}addPianoScript(){var s=xo.c.pianoKey,u=xo.c.pianoUrl,h=document.createElement("script");h.type="text/javascript",h.defer=!0,h.id="pianoScript",h.src=u+s,h.onerror=function(G){return console.log("Piano failed:",G),!0};var x=document.getElementsByTagName("head")[0];x.insertBefore(h,x.firstChild)}static{this.\u0275fac=function(u){return new(u||c)(e.rXU(Dn.o),e.rXU(e._9s),e.rXU(an.Ix),e.rXU(an.nX),e.rXU(bt.i),e.rXU(X),e.rXU(ui.il),e.rXU(St.F),e.rXU(St.pK),e.rXU(So.N),e.rXU(i.hE),e.rXU(Ir.c))}}static{this.\u0275cmp=e.VBU({type:c,selectors:[["fsn-app"]],features:[e.Vt3],decls:6,vars:10,consts:[[4,"ngIf"],[3,"is-dark-mode",4,"ngIf"],[1,"flex-shrink-0"],[3,"deactivate"],[3,"is-dark-mode","isDarkMode",4,"ngIf"],[3,"isDarkMode"]],template:function(u,h){1&u&&(e.DNE(0,Ch,1,0,"logged-out-header",0),e.DNE(1,Xp,1,2,"site-header",1),e.j41(2,"main",2)(3,"router-outlet",3),e.bIt("deactivate",function(){return h.onDeactivate()}),e.k0s()(),e.DNE(4,vh,1,0,"logged-out-footer",0),e.DNE(5,yh,1,3,"site-footer",4)),2&u&&(e.Y8G("ngIf",null!=h.isLoggedIn&&!h.isLoggedIn),e.R7$(1),e.Y8G("ngIf",null!=h.isLoggedIn&&h.isLoggedIn),e.R7$(1),e.AVh("logged-in",h.isLoggedIn)("is-dark-mode",h.isDarkMode),e.R7$(1),e.AVh("is-dark-mode",h.isDarkMode),e.R7$(1),e.Y8G("ngIf",null!=h.isLoggedIn&&!h.isLoggedIn),e.R7$(1),e.Y8G("ngIf",null!=h.isLoggedIn&&h.isLoggedIn))},dependencies:[Lt.bT,an.n3,wp,em,Rr,rg],styles:["logged-out-header[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:1000}main.logged-in[_ngcontent-%COMP%]{min-height:calc(100vh - 102px);min-width:1007px}"]})}}return c})();var Qp=w(5004);let Mh=class Xm{static{this.\u0275fac=function(s){return new(s||Xm)}}static{this.\u0275prov=e.jDH({token:Xm,factory:Xm.\u0275fac})}};Mh=(0,f.Cg)([(0,ui.Uw)({name:"app",defaults:{},children:[Qp.b]})],Mh);var ag=w(7014),Jp=w(3454);let Sc=class Km{static{this.\u0275fac=function(s){return new(s||Km)}}static{this.\u0275prov=e.jDH({token:Km,factory:Km.\u0275fac})}};Sc=(0,f.Cg)([(0,ui.Uw)({name:"myPlanners",children:[ag.W,Jp.I]})],Sc);var du=w(8810);const uu=w(1397).Z;var bh=w(3489);let hu=(()=>{class c{constructor(s,u,h,x,G){this.store=s,this.router=u,this.appConfig=h,this.authApi=x,this.pianoService=G,this.apiUrl="/api/"}intercept(s,u){return s.url.includes("/refresh-token")?u.handle(s):u.handle(s).pipe((0,Kr.W)(h=>{if(401===h.status)return console.error("Unauthorized"),this.tryRefreshToken().pipe((0,Pn.p)(x=>!!x),(0,mo.n)(x=>{const G=s.clone({setHeaders:{Authorization:`Bearer ${x.accessToken}`}});return u.handle(G)}),(0,Kr.W)(x=>(0,du.$)(()=>x)));if(403===h.status)return this.router.navigate(["/"]),(0,go.of)(null);if(404===h.status){for(const x of this.appConfig.baseUrls)if(s.url.includes(x))return this.router.navigate(["/not-found"],{replaceUrl:!0}),(0,go.of)(null);return(0,go.of)(null)}return(0,du.$)(()=>h.error)}))}tryRefreshToken(){if(null!=this.refreshAccess$)return this.refreshAccess$;
1var s=this.store.select(ei.is.tokenRefresh).pipe((0,Pn.p)(x=>void 0!==x),(0,ci.s)(1)),u=this.pianoService.waitForPiano().pipe((0,Ci.T)(x=>x.pianoId.getToken()));return this.refreshAccess$=(0,_s.z)(s,u).pipe(uu(([x,G])=>this.authApi.refreshAccessToken({refreshToken:x,pianoToken:G}).pipe(uu(Ee=>null==Ee||0===Ee.accessToken.length?this.redirectToLogin():this.store.dispatch(new ei.zd.RefreshToken(Ee.accessToken,Ee.refreshToken)).pipe(()=>(0,go.of)(Ee))))),(0,Kr.W)(x=>this.redirectToLogin()),(0,Io.t)({bufferSize:1,refCount:!0})),this.refreshAccess$.subscribe(x=>this.refreshAccess$=null),this.refreshAccess$}replaceAuthHeader(s,u){try{const x=new URL(s.url).pathname.startsWith(this.apiUrl);if(u&&x)return s.clone({setHeaders:{Authorization:`Bearer ${u}`}})}catch{return s}}redirectToLogin(){return this.store.dispatch(new ei.zd.Logout),this.router.navigate(["/login"],{queryParams:{returnUrl:this.router.url}}),(0,go.of)(null)}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(ui.il),e.KVO(an.Ix),e.KVO(Dn.o),e.KVO(bh.x),e.KVO(St.F))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})(),Oh=(()=>{class c{constructor(s){this.store=s}intercept(s,u){return this.store.select(ei.is.token).pipe((0,Pn.p)(h=>void 0!==h),(0,ci.s)(1),uu(h=>{const x=s.url.startsWith(xo.c.apiUrl);return h&&x&&(s=s.clone({setHeaders:{Authorization:`Bearer ${h}`}})),u.handle(s)}))}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(ui.il))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})();var qp=w(9594);let wh=(()=>{class c{constructor(s){this.localStorage=s,this.buildDateHeader="x-foresightnews-build",this.buildDateKey="build.date",this.checkBuildVersion=u=>{var h=u.headers.get(this.buildDateHeader);if(h){var x=this.localStorage.getItem(this.buildDateKey);x?h!=x&&(this.localStorage.setItem(this.buildDateKey,h),location.reload()):this.localStorage.setItem(this.buildDateKey,h)}}}intercept(s,u){return u.handle(s).pipe((0,Ci.T)(h=>(4===h.type&&this.checkBuildVersion(h),h)))}static{this.\u0275fac=function(u){return new(u||c)(e.KVO(qp.D))}}static{this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}}return c})(),Zp=(()=>{class c{static forRoot(){return{ngModule:c,providers:[{provide:Sr.a7,useClass:Oh,multi:!0},{provide:Sr.a7,useClass:hu,multi:!0},{provide:Sr.a7,useClass:wh,multi:!0}]}}static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2]})}}return c})();var nc=w(9998),cg=w(4285);let ao=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2]})}}return c})(),Dr=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[Zl.YN,St.V2,nc.X]})}}return c})();var jl=w(9156),_l=w(5176);let Ph=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2,nc.X]})}}return c})(),pu=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[Zl.YN,St.V2,Ph]})}}return c})(),kh=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2,nc.X,_l.a]})}}return c})(),dg=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[an.iI,Do.G,Eo.Ss.forRoot(),St.V2,nc.X,Dr,jl.H,_l.a,Ph,pu,kh]})}}return c})(),ug=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[an.iI,Do.G,Eo.Ss.forRoot(),St.V2,nc.X,Dr,jl.H,_l.a,Ph,pu,kh]})}}return c})(),Dh=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2]})}}return c})(),hg=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({providers:[Ma],imports:[Do.G.forRoot(),Zl.YN.forRoot(),St.V2]})}}return c})(),Eh=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[St.V2,nc.X,_l.a]})}}return c})(),im=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[Do.G,Eo.Ss.forRoot(),St.V2,nc.X,Dr,hg,jl.H,_l.a,Eh,kh]})}}return c})(),gd=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c})}static{this.\u0275inj=e.G2t({imports:[O.Q_.forRoot(),St.V2]})}}return c})(),xh=(()=>{class c{static{this.\u0275fac=function(u){return new(u||c)}}static{this.\u0275mod=e.$C({type:c,bootstrap:[Kp]})}static{this.\u0275inj=e.G2t({providers:[Dn.o,i.hE,Lt.QX,{provide:e.xe9,useValue:"en-GB"}],imports:[i.Bb,Lt.MD,or,Ki._B.forRoot(),Do.G.forRoot(),Eo.Ss.forRoot(),Sr.q1,Pa.M,vp,ui.rK.forRoot([Mh,Sc,ag.W,Jp.I,Qp.b],{developmentMode:!xo.c.production,selectorOptions:{injectContainerState:!1,suppressErrors:!1}}),Jr.dE.forRoot(),ds.forRoot({disabled:xo.c.production}),St.V2,bt.R,nc.X,Zp.forRoot(),wt.cK,Ke.Us,cg.AccountModule,ao,dg,ug,Dh,im,gd]})}}return c})();xo.c.production&&(0,e.SmG)(),i.sG().bootstrapModule(xh).catch(c=>console.log(c))},9998:(Ot,ke,w)=>{"use strict";w.d(ke,{X:()=>K});var i=w(779),e=w(510),ee=w(7705);let K=(()=>{class ae{static{this.\u0275fac=function(z){return new(z||ae)}}static{this.\u0275mod=ee.$C({type:ae})}
1static{this.\u0275inj=ee.G2t({imports:[i.Q_.forRoot(),e.V2]})}}return ae})()},4296:(Ot,ke,w)=>{"use strict";w.d(ke,{z:()=>_e});var i=w(7705),e=w(9417),ee=w(5964),K=w(6977),ae=w(148),Z=w(510),$=w(6646),z=w(6497),le=w(779),W=w(2251),ge=w(8617),J=w(177),Be=w(8870);function pe(B,H){if(1&B&&(i.j41(0,"div",20),i.EFF(1),i.k0s()),2&B){const ie=i.XpG(3);i.R7$(1),i.Lme("Weekly alerts are sent on Mondays at ",ie.alertTimes[0]," ",ie.alertTimezoneLabel,"")}}function ze(B,H){if(1&B){const ie=i.RV6();i.qex(0),i.j41(1,"div")(2,"label",9),i.EFF(3),i.k0s()(),i.j41(4,"div",12)(5,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG(3);return i.Njj(Le.alertTimeControl.setValue(5))}),i.nrm(6,"icon",14),i.EFF(7),i.k0s(),i.j41(8,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG(3);return i.Njj(Le.alertTimeControl.setValue(6))}),i.nrm(9,"icon",14),i.EFF(10),i.k0s(),i.j41(11,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG(3);return i.Njj(Le.alertTimeControl.setValue(7))}),i.nrm(12,"icon",14),i.EFF(13),i.k0s()(),i.bVm()}if(2&B){const ie=i.XpG(3);i.R7$(3),i.SpI("What time would you like this alert sent? (",ie.alertTimezoneLabel," time zone)"),i.R7$(2),i.AVh("active",5==ie.alertTimeControl.value),i.R7$(1),i.Y8G("icon",5==ie.alertTimeControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",5==ie.alertTimeControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(1),i.SpI("",ie.alertTimes[0]," "),i.R7$(1),i.AVh("active",6==ie.alertTimeControl.value),i.R7$(1),i.Y8G("icon",6==ie.alertTimeControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",6==ie.alertTimeControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(1),i.SpI("",ie.alertTimes[1]," "),i.R7$(1),i.AVh("active",7==ie.alertTimeControl.value),i.R7$(1),i.Y8G("icon",7==ie.alertTimeControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",7==ie.alertTimeControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(1),i.SpI("",ie.alertTimes[2]," ")}}function xe(B,H){if(1&B){const ie=i.RV6();i.qex(0),i.j41(1,"div")(2,"label",9),i.EFF(3,"Would you like this alert daily or weekly?"),i.k0s()(),i.j41(4,"div",12)(5,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG(2);return i.Njj(Le.alertFrequencyControl.setValue(1))}),i.nrm(6,"icon",14),i.EFF(7,"Daily "),i.k0s(),i.j41(8,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG(2);return i.Njj(Le.alertFrequencyControl.setValue(2))}),i.nrm(9,"icon",14),i.EFF(10,"Weekly "),i.k0s(),i.DNE(11,pe,2,2,"div",19),i.k0s(),i.DNE(12,ze,14,19,"ng-container",15),i.bVm()}if(2&B){const ie=i.XpG(2);i.R7$(5),i.AVh("active",1==ie.alertFrequencyControl.value),i.R7$(1),i.Y8G("icon",1==ie.alertFrequencyControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",1==ie.alertFrequencyControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(2),i.AVh("active",2==ie.alertFrequencyControl.value),i.R7$(1),i.Y8G("icon",2==ie.alertFrequencyControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",2==ie.alertFrequencyControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(2),i.Y8G("ngIf",2==ie.alertFrequencyControl.value),i.R7$(1),i.Y8G("ngIf",1==ie.alertFrequencyControl.value)}}function Fe(B,H){if(1&B){const ie=i.RV6();i.j41(0,"div")(1,"div",7)(2,"div",8)(3,"label",9),i.EFF(4,"Name your search:"),i.k0s(),i.j41(5,"input",10,11),i.bIt("keyup",function(){return 0}),i.k0s()(),i.j41(7,"div")(8,"label",9),i.EFF(9,"What type of alert would you like to create?"),i.k0s()(),i.j41(10,"div",12)(11,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG();return i.Njj(Le.alertControl.setValue(!0))}),i.nrm(12,"icon",14),i.EFF(13,"Search Alert "),i.k0s(),i.j41(14,"span",13),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG();return i.Njj(Le.alertControl.setValue(!1))}),i.nrm(15,"icon",14),i.EFF(16,"Saved Search "),i.k0s()(),i.DNE(17,xe,13,12,"ng-container",15),i.k0s(),i.j41(18,"footer",16)(19,"button",17),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG();return i.Njj(Le.save())}),i.nrm(20,"icon",18),i.EFF(21,"Save "),i.k0s()()()}if(2&B){const ie=i.sdS(6),fe=i.XpG();i.R7$(5),i.Y8G("formControl",fe.nameControl),i.R7$(6),i.AVh("active",fe.alertControl.value),i.R7$(1),i.Y8G("icon",fe.alertControl.value?"radio_button_checked":"radio_button_unchecked")("cssClass",fe.alertControl.value?"blue-1":"lavender-1")("verticalAlign","text-bottom"),i.R7$(2),i.AVh("active",!fe.alertControl.value),i.R7$(1),i.Y8G("icon",null===fe.alertControl.value||fe.alertControl.value?"radio_button_unchecked":"radio_button_checked")("cssClass",null===fe.alertControl.value||fe.alertControl.value?"lavender-1":"blue-1")("verticalAlign","text-bottom"),i.R7$(2),i.Y8G("ngIf",fe.alertControl.value),i.R7$(2),i.AVh("is-dark-mode",fe.isDarkMode),i.Y8G("disabled",!ie.value||ie.value>150||null==fe.alertControl.value)}}function $e(B,H){if(1&B){const ie=i.RV6();i.j41(0,"div",21)(1,"div",7)(2,"div",22)(3,"label",23),i.EFF(4,"Search saved successfully"),i.k0s()()(),i.j41(5,"footer",16)(6,"button",24),i.bIt("click",function(){i.eBV(ie);const Le=i.XpG();return i.Njj(Le.alertControl.value?Le.navigateToSearchAlerts():Le.navigateToSavedSearches())}),i.nrm(7,"icon",25),i.EFF(8),i.k0s()()()}if(2&B){const ie=i.XpG();i.R7$(6),i.AVh("is-dark-mode",ie.isDarkMode),i.R7$(2),i.SpI("View your ",ie.alertControl.value?"search alerts":"saved searches"," ")}}function it(B,H){1&B&&(i.j41(0,"div",21)(1,"div",7)(2,"div",22)(3,"label",23),i.EFF(4,"Alert successfully deleted"),i.k0s()()()())}let _e=(()=>{class B extends Z.$G{constructor(ie,fe,Le,_t){super(),this.router=ie,this.bsModalRef=fe,this.accountApi=Le,this.store=_t,this.alertChange=new i.bkB,this.nameControl=new e.MJ,this.alertControl=new e.MJ(null),this.alertFrequencyControl
1=new e.MJ(1),this.alertTimeControl=new e.MJ(5),this.nameError=!1,this.showAlertControl=!1,this.page="details",this.alertTimezoneLabel="",this.alertTimes=[],this.ukAlertTimezoneLabel="GMT/BST",this.ukAlertTimes=["08:00","13:00","18:00"],this.usAlertTimezoneLabel="EST/EDT",this.usAlertTimes=["08:00","13:00","18:00"]}ngOnInit(){this.store.select(ae.is.user).pipe((0,ee.p)(ie=>void 0!==ie),(0,ee.p)(ie=>null!==ie),(0,K.Q)(this.destroyed$)).subscribe(ie=>{ie.siteCulture==Z._u.GB?(this.alertTimezoneLabel=this.ukAlertTimezoneLabel,this.alertTimes=this.ukAlertTimes):(this.alertTimezoneLabel=this.usAlertTimezoneLabel,this.alertTimes=this.usAlertTimes)}),this.existingAlert&&(this.nameControl.setValue(this.existingAlert.name),this.alertControl.setValue(this.existingAlert.isAlert),this.alertFrequencyControl.setValue(this.existingAlert.frequency==$.T.Weekly?$.T.Weekly:1),this.alertTimeControl.setValue(this.existingAlert.frequency))}closeModal(){this.bsModalRef.hide()}save(){this.nameError=!1;const ie={name:this.nameControl.value,searchJson:this.existingAlert&&!this.search?this.existingAlert.searchJson:JSON.stringify(this.search),isAlert:this.alertControl.value,frequency:this.alertFrequencyControl.value==$.T.Weekly?$.T.Weekly:this.alertTimeControl.value};(this.existingAlert?this.accountApi.updateSavedSearch(this.existingAlert.alertId,ie):this.accountApi.addSavedSearch(ie)).subscribe(Le=>{null==Le?this.nameError=!0:(this.alertChange.next(Le),this.page="completed",window.setTimeout(()=>{this.closeModal()},4e3))})}navigateToSavedSearches(){this.closeModal(),this.router.navigate(["/account/my-alerts/saved-searches"])}navigateToSearchAlerts(){this.closeModal(),this.router.navigate(["/account/my-alerts/search-alerts"])}static{this.\u0275fac=function(fe){return new(fe||B)(i.rXU(z.Ix),i.rXU(le.Y$),i.rXU(W.yo),i.rXU(ge.il))}}static{this.\u0275cmp=i.VBU({type:B,selectors:[["ng-component"]],inputs:{search:"search",existingAlert:"existingAlert",isDarkMode:"isDarkMode"},outputs:{alertChange:"alertChange"},features:[i.Vt3],decls:11,vars:7,consts:[["type","button",1,"btn","btn-close-modal",3,"click"],["icon","close","size","19px","cssClass","grey-4"],[1,"p-3","text-center"],[1,"modal-container"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","completed-page",4,"ngSwitchCase"],[1,"model-content"],[1,"mb-3"],["for","new-alert-name",1,"form-label"],["type","text","id","new-alert-name","placeholder","Name your search (required)","maxlength","150",1,"form-control",3,"formControl","keyup"],["nameInput",""],[1,"mb-4"],["role","button",1,"radio",3,"click"],["size","18px",3,"icon","cssClass","verticalAlign"],[4,"ngIf"],[1,"text-center"],["type","button",1,"btn","btn-fsn-icon",3,"disabled","click"],["icon","check_circle","size","22px","cssClass","lavender-1"],["class","fw-normal mt-2",4,"ngIf"],[1,"fw-normal","mt-2"],[1,"completed-page"],[1,"mb-2"],[1,"form-label"],["type","button",1,"btn","btn-fsn-icon",3,"click"],["icon","visibility","size","22px","cssClass","lavender-1"]],template:function(fe,Le){1&fe&&(i.j41(0,"button",0),i.bIt("click",function(){return Le.closeModal()}),i.EFF(1,"Close"),i.nrm(2,"icon",1),i.k0s(),i.j41(3,"header",2)(4,"h5"),i.EFF(5),i.k0s()(),i.j41(6,"div",3),i.qex(7,4),i.DNE(8,Fe,22,15,"div",5),i.DNE(9,$e,9,3,"div",6),i.DNE(10,it,5,0,"div",6),i.bVm(),i.k0s()),2&fe&&(i.R7$(5),i.SpI("",Le.existingAlert?"Edit":"Add"," your search"),i.R7$(1),i.AVh("is-dark-mode",Le.isDarkMode),i.R7$(1),i.Y8G("ngSwitch",Le.page),i.R7$(1),i.Y8G("ngSwitchCase","details"),i.R7$(1),i.Y8G("ngSwitchCase","completed"),i.R7$(1),i.Y8G("ngSwitchCase","deleted"))},dependencies:[J.bT,J.ux,J.e1,e.me,e.BC,e.tU,e.l_,Be.R],styles:[".btn-close-modal[_ngcontent-%COMP%]{position:absolute;right:-15px;top:-33px;color:#fff;padding:0;font-size:14px;font-weight:700;text-decoration:underline}.btn-close-modal[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{display:inline-block;margin-left:8px;padding-top:3px;width:28px;height:28px;border-radius:14px;background-color:#fff}header[_ngcontent-%COMP%]{position:relative;overflow:hidden;height:54px;border-radius:20px 20px 0 0;background-color:#26224f;font-family:Anek Bangla,serif;font-size:18px;font-weight:700;color:#fff}.modal-container[_ngcontent-%COMP%]{min-height:75px;padding-top:14px}.modal-container.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}.modal-container.is-dark-mode.is-white[_ngcontent-%COMP%]:not(.export){padding-top:72px}.modal-container.is-dark-mode[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{background-color:#26224f}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#e6e6ff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white{background-color:#fff}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode).is-white:not(.export){padding-top:72px}.modal-container[_ngcontent-%COMP%]:not(.is-dark-mode)   footer[_ngcontent-%COMP%]{background-color:#f7f7fd}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]{padding:0 30px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   .form-label[_ngcontent-%COMP%]{font-family:Anek Bangla,serif;font-size:16px;font-weight:600}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=text][_ngcontent-%COMP%], .modal
1-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border-radius:8px;height:36px;font-size:14px}.modal-container[_ngcontent-%COMP%]   .model-content[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]:focus{box-shadow:none}footer[_ngcontent-%COMP%]{height:52px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}footer[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:8px}.radio[_ngcontent-%COMP%]{margin-right:20px;font-size:14px;font-weight:400}.radio[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{position:relative;margin-right:7px;cursor:pointer}"]})}}return B})()},9941:(Ot,ke,w)=>{"use strict";w.d(ke,{I:()=>it});var i=w(7705),e=w(6926),ee=w(148),K=w(6497),ae=w(8617),Z=w(1887),$=w(177),z=w(1358),le=w(8870),W=w(6036);function ge(_e,B){if(1&_e&&(i.j41(0,"div",9),i.EFF(1),i.k0s()),2&_e){const H=i.XpG();i.R7$(1),i.JRh(H.model.eventDate)}}function J(_e,B){if(1&_e&&i.nrm(0,"new-or-updated-badge",12),2&_e){const H=i.XpG(2);i.Y8G("cssClass",H.model.categoryCssClass)("isDarkMode",H.isDarkMode)}}function Be(_e,B){if(1&_e&&i.nrm(0,"new-or-updated-badge",13),2&_e){const H=i.XpG(2);i.Y8G("cssClass",H.model.categoryCssClass)("isDarkMode",H.isDarkMode)}}function pe(_e,B){if(1&_e&&(i.j41(0,"span"),i.DNE(1,J,1,2,"new-or-updated-badge",10),i.DNE(2,Be,1,2,"new-or-updated-badge",11),i.k0s()),2&_e){const H=i.XpG();i.R7$(1),i.Y8G("ngIf",H.model.isNew),i.R7$(1),i.Y8G("ngIf",H.model.isUpdated)}}function ze(_e,B){if(1&_e&&i.nrm(0,"icon",18),2&_e){const H=i.XpG(2);i.Y8G("cssClass",H.isDarkMode?"gray-2":"blue-1")}}function xe(_e,B){if(1&_e&&i.nrm(0,"icon",19),2&_e){const H=i.XpG(2);i.Y8G("cssClass",H.isDarkMode?"gray-2":"blue-1")}}function Fe(_e,B){if(1&_e&&i.nrm(0,"icon",20),2&_e){const H=i.XpG(2);i.Y8G("cssClass",H.isDarkMode?"gray-2":"blue-1")("filled",!0)}}function $e(_e,B){if(1&_e&&(i.j41(0,"div",14),i.DNE(1,ze,1,1,"icon",15),i.DNE(2,xe,1,1,"icon",16),i.DNE(3,Fe,1,2,"icon",17),i.k0s()),2&_e){const H=i.XpG();i.R7$(1),i.Y8G("ngIf",H.model.isOperational||H.model.isEmbargoed),i.R7$(1),i.Y8G("ngIf",H.model.isTopStory&&!H.model.isKeyEvent),i.R7$(1),i.Y8G("ngIf",H.model.isKeyEvent)}}let it=(()=>{class _e extends e.${constructor(H,ie,fe,Le){super(),this.router=H,this.route=ie,this.store=fe,this.pinningService=Le,this.isListed=!1,this.isListView=!1,this.onRemoveFromList=new i.bkB}removeFromList(H){this.onRemoveFromList.emit(H)}showEvent(){this.router.navigate([],{relativeTo:this.route,queryParams:{articleId:this.model.hashId},queryParamsHandling:"merge"})}removePinned(H){H.stopPropagation(),this.isListed?this.store.dispatch(new ee.gr.RemovePlannerItem(this.model.websiteId)):this.pinningService.removeElement(this.model.calendarArticleId)}static{this.\u0275fac=function(ie){return new(ie||_e)(i.rXU(K.Ix),i.rXU(K.nX),i.rXU(ae.il),i.rXU(Z.N))}}static{this.\u0275cmp=i.VBU({type:_e,selectors:[["event-basket-card"]],inputs:{model:"model",isDarkMode:"isDarkMode",isListed:"isListed",isListView:"isListView"},outputs:{onRemoveFromList:"onRemoveFromList"},features:[i.Vt3],decls:10,vars:18,consts:[["role","button",3,"click"],["class","date",4,"ngIf"],[1,"headline"],[4,"ngIf"],[1,"action-icons","text-center"],[3,"click"],["icon","cancel","size","15px","cssClass","gray-2",3,"hover"],[3,"textToCopy","articleHash","articleId","eventHeadline"],["class","info-icons",4,"ngIf"],[1,"date"],["label","new",3,"cssClass","isDarkMode",4,"ngIf"],["label","updated",3,"cssClass","isDarkMode",4,"ngIf"],["label","new",3,"cssClass","isDarkMode"],["label","updated",3,"cssClass","isDarkMode"],[1,"info-icons"],["icon","error","size","17px",3,"cssClass",4,"ngIf"],["icon","star","size","17px",3,"cssClass",4,"ngIf"],["icon","stars","size","17px",3,"cssClass","filled",4,"ngIf"],["icon","error","size","17px",3,"cssClass"],["icon","star","size","17px",3,"cssClass"],["icon","stars","size","17px",3,"cssClass","filled"]],template:function(ie,fe){1&ie&&(i.j41(0,"a",0),i.bIt("click",function(){return fe.showEvent()}),i.DNE(1,ge,2,1,"div",1),i.j41(2,"div",2),i.EFF(3),i.DNE(4,pe,3,2,"span",3),i.k0s(),i.j41(5,"div",4)(6,"a",5),i.bIt("click",function(_t){return fe.removePinned(_t)}),i.nrm(7,"icon",6),i.k0s(),i.nrm(8,"copy-text",7),i.k0s(),i.DNE(9,$e,4,3,"div",8),i.k0s()),2&ie&&(i.HbH(fe.model.categoryCssClass),i.AVh("is-list-view",fe.isListView)("is-pinned",!fe.isListView),i.R7$(1),i.Y8G("ngIf",fe.isListView),i.R7$(1),i.AVh("is-list-view",fe.isListView),i.R7$(1),i.Sp
1I(" ",fe.model.description," "),i.R7$(1),i.Y8G("ngIf",fe.isListView&&(fe.model.isNew||fe.model.isUpdated)),i.R7$(3),i.Y8G("hover",!0),i.R7$(1),i.Y8G("textToCopy",null)("articleHash",fe.model.articleHash)("articleId",fe.model.articleHash||fe.model.hashId)("eventHeadline",fe.model.description),i.R7$(1),i.Y8G("ngIf",fe.isListView))},dependencies:[$.bT,z.a,le.R,W.n],styles:["[_nghost-%COMP%]{display:inline-block;width:100%;height:52px;margin-bottom:3px}.is-list-view[_nghost-%COMP%]{height:100px}[_nghost-%COMP%] > a[_ngcontent-%COMP%]{position:relative;padding:6px 28px 12px 12px;display:inline-block;width:100%;height:52px;border:solid 1px #fff;border-radius:8px;text-decoration:none;transition:background-color .3s ease,border-color .3s ease}[_nghost-%COMP%] > a.is-list-view[_ngcontent-%COMP%]{height:100px}[_nghost-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]{position:absolute;top:2px;right:6px;width:20px;height:45px}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .action-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]{position:absolute;bottom:11px;right:8px;width:37px;height:13px}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]{float:right;margin-right:3px}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .info-icons[_ngcontent-%COMP%]   icon[_ngcontent-%COMP%]:first-of-type{margin-right:0}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{margin:1px 0;font-size:10px;font-weight:600;font-family:Anek Bangla,serif}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]{margin:0;padding:0;font-size:10px;line-height:12px;font-weight:400;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3;text-wrap:balance}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .headline.is-list-view[_ngcontent-%COMP%]{font-size:12px;line-height:initial}[_nghost-%COMP%] > a[_ngcontent-%COMP%]   .headline[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;margin-left:7px;white-space:nowrap}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#26224f;border-color:#26224f}.is-dark-mode[_nghost-%COMP%]   a.is-home[_ngcontent-%COMP%]{border-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#b2aaff}.is-dark-mode[_nghost-%COMP%]   a.is-politics[_ngcontent-%COMP%]{border-color:#360c82}.is-dark-mode[_nghost-%COMP%]   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-law-security[_ngcontent-%COMP%]{border-color:#4f0b58}.is-dark-mode[_nghost-%COMP%]   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}.is-dark-mode[_nghost-%COMP%]   a.is-health-science[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-health-science.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#745d19}.is-dark-mode[_nghost-%COMP%]   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#7b4a22}.is-dark-mode[_nghost-%COMP%]   a.is-business-economy.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}.is-dark-mode[_nghost-%COMP%]   a.is-world[_ngcontent-%COMP%]{border-color:#771e35}.is-dark-mode[_nghost-%COMP%]   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}.is-dark-mode[_nghost-%COMP%]   a.is-general[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-general.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], .is-dark-mode[_nghost-%COMP%]   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a.is-uk[_ngcontent-%COMP%]{border-color:#546614}.is-dark-mode[_nghost-%COMP%]   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}.is-dark-mode[_nghost-%COMP%]   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]:hover{background-color:#ebe7fd;border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-home[_ngcontent-%COMP%]{border-color:#ebe7fd;border-color:#b2aaff}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-home.is-pinned[_ngcontent-%COMP%]{border-color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-politics[_ngcontent-%COMP%]{border-color:#ebe7fd}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-politics.is-pinned[_ngcontent-%COMP%]{border-color:#5211c8}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-home-affairs[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-home-affairs.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-law-security[_ngcontent-%COMP%]{border-color:#f9ebfe}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-law-security.is-pinned[_ngcontent-%COMP%]{border-color:#9716a8}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-health-science-climate[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-health-science.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-health-science-climate.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-science-sport-arts[_ngcontent-%COMP%]{border-color:#fcf1d0}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-science-sport-arts.is-pinned[_ngcontent-%COMP%]{border-color:#ffcc36}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-business-economy[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-economy-business-finance[_ngcontent-%COMP%]{border-color:#fdeee2}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-business-economy.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-economy-business-finance.is-pinned[_ngcontent-%COMP%]{border-color:#f29041}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-world[_ngcontent-%COMP%]{border-color:#ffebf0}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-world.is-pinned[_ngcontent-%COMP%]{border-color:#f83d6d}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-general[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-entertainment-culture-sport[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-general.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-entertainment-culture-sport.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-culture-sports[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-culture-sport.is-pinned[_ngcontent-%COMP%], [_nghost-%COMP%]:not(.is-dark-mode)   a.is-culture-sports.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-uk[_ngcontent-%COMP%]{border-color:#ecf6cc}[_nghost-%COMP%]:not(.is-dark-mode)   a.is-uk.is-pinned[_ngcontent-%COMP%]{border-color:#a5c82d}[_nghost-%COMP%]:not(.is-dark-mode)   a[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:#8c8cb5}"]})}}return _e})()},1887:(Ot,ke,w)=>{"use strict";w.d(ke,{N:()=>Z});var i=w(1635),e=w(8617),ee=w(6354),K=w(148),ae=w(7705);class Z{constructor(z){this.store=z}get totalCount$(){return this.events$.pipe((0,ee.T)(z=>z.length))}refreshPinnedElements(){this.store.dispatch(new K.Ng.Get)}clearLocal(){this.store.dispatch(new K.Ng.ClearLocal)}isElementPinned$(z){return this.store.select(K.KW.element(z)).pipe((0,ee.T)(le=>!!le))}isElementPinned(z){return!!this.store.selectSnapshot(K.KW.element(z))}getTotalCount(){return this.store.selectSnapshot(K.KW.elements).length}getAllElements(){return this.store.selectSnapshot(K.KW.elements)}addElement(z){null==this.getAllElements().find(le=>le.websiteId==z)&&this.store.dispatch(new K.Ng.Add(z))}
1addMultiple(z,le){var W=this.getAllElements(),ge=z.filter(J=>null==W.find(Be=>Be.websiteId==J.websiteId));0!=ge.length&&this.store.dispatch(new K.Ng.AddMultiple(ge,le))}removeElement(z){const le=this.store.selectSnapshot(K.KW.element(z));le&&this.store.dispatch(new K.Ng.Remove(le.id))}removeMultiple(z,le){var W=this.getAllElements().filter(ge=>null!=z.find(J=>J===ge.websiteId)).map(ge=>ge.id);W.length>0&&this.store.dispatch(new K.Ng.RemoveMultiple(W,le))}clearElements(){this.store.dispatch(new K.Ng.Clear)}static{this.\u0275fac=function(le){return new(le||Z)(ae.KVO(e.il))}}static{this.\u0275prov=ae.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}(0,i.Cg)([(0,e.l6)(K.KW.elements)],Z.prototype,"events$",void 0)},7784:(Ot,ke,w)=>{"use strict";w.d(ke,{V:()=>gn});var i=w(177),e=w(9417),ee=w(6497),K=w(534),ae=w(7705);let ze=(()=>{class Je{static forRoot(){return{ngModule:Je,providers:[]}}static{this.\u0275fac=function(me){return new(me||Je)}}static{this.\u0275mod=ae.$C({type:Je})}static{this.\u0275inj=ae.G2t({imports:[i.MD]})}}return Je})();var xe=w(779);let gt=(()=>{class Je{static forRoot(){return{ngModule:Je,providers:[]}}static{this.\u0275fac=function(me){return new(me||Je)}}static{this.\u0275mod=ae.$C({type:Je})}static{this.\u0275inj=ae.G2t({imports:[i.MD]})}}return Je})(),gn=(()=>{class Je{static{this.\u0275fac=function(me){return new(me||Je)}}static{this.\u0275mod=ae.$C({type:Je})}static{this.\u0275inj=ae.G2t({imports:[i.MD,e.YN,ee.iI,K.Ss.forRoot(),ze.forRoot(),xe.Q_.forRoot(),gt.forRoot(),i.MD,e.YN,e.X1,ee.iI,xe.Q_,gt]})}}return Je})()},6926:(Ot,ke,w)=>{"use strict";w.d(ke,{$:()=>ee});var i=w(1413),e=w(7705);let ee=(()=>{class K{constructor(){this.destroyed$=new i.B}ngOnInit(){}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}resetSubscribers(){this.destroyed$.next(),this.destroyed$.complete(),this.destroyed$=new i.B}static{this.\u0275fac=function($){return new($||K)}}static{this.\u0275dir=e.FsC({type:K})}}return K})()},1358:(Ot,ke,w)=>{"use strict";w.d(ke,{a:()=>$});var i=w(7705),e=w(1522),ee=w(6541),K=w(177),ae=w(8870);function Z(z,le){1&z&&(i.j41(0,"span",3),i.EFF(1,"Copy"),i.k0s())}let $=(()=>{class z{constructor(W,ge){this.eventsApi=W,this.analytics=ge,this.size="15px",this.showLabel=!1,this.textLoading=!1,this.textCopied=!1}copyClicked(W){if(W.stopPropagation(),this.textToCopy)this.copyText(this.textToCopy);else{if(this.textLoading)return;this.eventsApi.getEventArticleForCopy(this.articleHash).subscribe(ge=>{this.copyText(ge.text)})}}copyText(W){navigator.clipboard.writeText(W).then(()=>{this.analytics.trackFeatureUsage("copy",{article_id:this.articleId||this.articleHash,event_headline:this.eventHeadline,source:"planner"}),this.textCopied=!0,setTimeout(()=>this.textCopied=!1,2e3)})}static{this.\u0275fac=function(ge){return new(ge||z)(i.rXU(e._),i.rXU(ee.c))}}static{this.\u0275cmp=i.VBU({type:z,selectors:[["copy-text"]],inputs:{textToCopy:"textToCopy",articleHash:"articleHash",articleId:"articleId",eventHeadline:"eventHeadline",size:"size",isDarkMode:"isDarkMode",showLabel:"showLabel"},decls:3,vars:5,consts:[[3,"click"],["cssClass","lavender-1",3,"icon","size","rotate270","hover"],["class","label",4,"ngIf"],[1,"label"]],template:function(ge,J){1&ge&&(i.j41(0,"span",0),i.bIt("click",function(pe){return J.copyClicked(pe)}),i.nrm(1,"icon",1),i.DNE(2,Z,2,0,"span",2),i.k0s()),2&ge&&(i.R7$(1),i.Y8G("icon",J.textCopied?"check_circle":"content_copy")("size",J.textCopied?"16px":J.size)("rotate270",!J.textCopied)("hover",!J.showLabel),i.R7$(1),i.Y8G("ngIf",J.showLabel))},dependencies:[K.bT,ae.R],styles:["[_nghost-%COMP%]{cursor:pointer}[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{padding-left:4px}"]})}}return z})()},8870:(Ot,ke,w)=>{"use strict";w.d(ke,{R:()=>e});var i=w(7705);let e=(()=>{class ee{constructor(){this.size="24px",this.cssClass=null,this.cssClassHover=null,this.verticalAlign="middle",this.filled=!1,this.hover=!1,this.working=!1,this.rotate90=!1,this.rotate180=!1,this.rotate270=!1}static{this.\u0275fac=function(Z){return new(Z||ee)}}static{this.\u0275cmp=i.VBU({type:ee,selectors:[["icon"]],inputs:{icon:"icon",size:"size",cssClass:"cssClass",cssClassHover:"cssClassHover",verticalAlign:"verticalAlign",filled:"filled",hover:"hover",working:"working",rotate90:"rotate90",rotate180:"rotate180",rotate270:"rotate270"},decls:2,vars:19,consts:[[1,"material-symbols-outlined"]],template:function(Z,$){1&Z&&(i.j41(0,"span",0),i.EFF(1),i.k0s()),2&Z&&(i.HbH($.cssClass),i.xc7("font-size",$.size)("vertical-align",$.verticalAlign),i.AVh("filled",$.filled)("rotate-90",$.rotate90)("rotate-180",$.rotate180)("rotate-270",$.rotate270)("hover",$.hover)("working",$.working),i.R7$(1),i.JRh($.icon))},styles:["[_nghost-%COMP%]{-webkit-user-select:none!important;user-select:none!important}[_nghost-%COMP%] > .material-symbols-outlined[_ngcontent-%COMP%]{transition:transform .1s ease}[_nghost-%COMP%] > .material-symbols-outlined.hover[_ngcontent-%COMP%]:hover{transform:scale(1.7)}[_nghost-%COMP%] > .material-symbols-outlined.hover[_ngcontent-%COMP%]:hover.rotate-270{transform:scale(1.7) rotate(270deg)}[_nghost-%COMP%] > .material-symbols-outlined[_ngcontent-%COMP%]:hover.blue-1-hover{color:#26224f}[_nghost-%COMP%] > .material-symbols-outlined.rotate-90[_ngcontent-%COMP%]{transform:rotate(90deg)}[_nghost-%COMP%] > .material-symbols-outlined.rotate-180[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%] > .material-symbols-outlined.rotate-270[_ngcontent-%COMP%]{transform:rotate(270deg)}[_nghost-%COMP%] > .material-symbols-outlined.blue-1[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%] > .material-symbols-outlined.lavender-1[_ngcontent-%COMP%]{color:#b2aaff}[_nghost-%COMP%] > .material-symbols-outlined.gray-2[_ngcontent-%COMP%]{color:#8c8cb5}[_nghost-%COMP%] > .material-symbols-outlined.grey-4[_ngcontent-%COMP%]{color:#71707c}[_nghost-%COMP%] > .material-symbols-outlined.white[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%] > .material-symbols-outlined.working[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1s infinite}@keyframes _ngcontent-%COMP%_pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}"]})}}return ee})()},6036:(Ot,ke,w)=>{"use strict";w.d(ke,{n:()=>ee});var i=w(7705),e=function(K){return K.New="new",K.Updated="updated",K}(e||{});let ee=(()=>{class K{constructor(){this.label=e.New,this.cssClass=null,this.forCard=!0}static{this.\u0275fac=function($){return new($||K)}}static{this.\u0275cmp=i.VBU({type:K,selectors:[["new-or-updated-badge"]],inputs:{label:"label",cssClass:"cssClass",forCard:"forCard",isDarkMode:"isDarkMode"},decls:2,vars:9,template:function($,z){1&$&&(i.j41(0,"span"),i.EFF(1),i.k0s()),2&$&&(i.HbH("new"==z.label?z.cssClass:z.isDarkMode?z.cssClass+"-d
1ark":z.cssClass+"-light"),i.AVh("is-card",z.forCard)("is-new","new"==z.label)("is-dark-mode",z.isDarkMode),i.R7$(1),i.JRh(z.label))},styles:["[_nghost-%COMP%]{-webkit-user-select:none!important;user-select:none!important}[_nghost-%COMP%]   span[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;text-transform:uppercase;margin-top:-1px;padding:0 7px;height:19px;line-height:19px;border-radius:10px;font-weight:900;font-size:11px}[_nghost-%COMP%]   span.is-card[_ngcontent-%COMP%]{padding:0 5px;height:13px;line-height:13px;border-radius:7px;font-weight:900;font-size:7px}[_nghost-%COMP%]   span.is-new[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-home[_ngcontent-%COMP%]{background-color:#b2aaff;color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-newsbreaks[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-business-economy[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-new.is-dark-mode.is-health-science-climate[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-science-sport-arts[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-general[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-new.is-dark-mode.is-culture-sports[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-new.is-dark-mode.is-uk[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]   span.is-newsbreaks[_ngcontent-%COMP%]{background-color:#b2aaff}[_nghost-%COMP%]   span.is-newsbreaks-dark[_ngcontent-%COMP%]{background-color:pink;color:#b2aaff;background-color:#131128}[_nghost-%COMP%]   span.is-newsbreaks-light[_ngcontent-%COMP%]{background-color:#8c8cb5}[_nghost-%COMP%]   span.is-home[_ngcontent-%COMP%]{background-color:#26224f;color:#fff}[_nghost-%COMP%]   span.is-home-light[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]   span.is-home-dark[_ngcontent-%COMP%]{background-color:#b2aaff;color:#26224f}[_nghost-%COMP%]   span.is-politics[_ngcontent-%COMP%]{background-color:#5211c8}[_nghost-%COMP%]   span.is-politics-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-home-affairs[_ngcontent-%COMP%]{background-color:#9716a8}[_nghost-%COMP%]   span.is-home-affairs-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-law-security[_ngcontent-%COMP%]{background-color:#9716a8}[_nghost-%COMP%]   span.is-law-security-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-world[_ngcontent-%COMP%]{background-color:#f83d6d}[_nghost-%COMP%]   span.is-world-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-business-economy[_ngcontent-%COMP%]{background-color:#f29041}[_nghost-%COMP%]   span.is-business-economy-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-health-science[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-health-science-climate[_ngcontent-%COMP%]{background-color:#ffcc36}[_nghost-%COMP%]   span.is-health-science-dark[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-health-science-climate-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-science-sport-arts[_ngcontent-%COMP%]{background-color:#ffcc36}[_nghost-%COMP%]   span.is-science-sport-arts-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-general[_ngcontent-%COMP%]{background-color:#a5c82d}[_nghost-%COMP%]   span.is-general-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-culture-sport[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-culture-sports[_ngcontent-%COMP%]{background-color:#a5c82d}[_nghost-%COMP%]   span.is-culture-sport-dark[_ngcontent-%COMP%], [_nghost-%COMP%]   span.is-culture-sports-dark[_ngcontent-%COMP%]{color:#fff}[_nghost-%COMP%]   span.is-uk[_ngcontent-%COMP%]{background-color:#a5c82d}[_nghost-%COMP%]   span.is-uk-dark[_ngcontent-%COMP%]{color:#fff}"]})}}return K})()},4639:(Ot,ke,w)=>{"use strict";w.d(ke,{E:()=>xe});var i=w(7705),e=w(6977),ee=w(7376),ae=w(6926),Z=w(6497),$=w(8506),z=w(177),le=w(8870);function W(Fe,$e){if(1&Fe){const it=i.RV6();i.j41(0,"icon",4),i.bIt("click",function(B){i.eBV(it);const H=i.XpG(2);return i.Njj(!H.noPrevious()&&H.changePage(H.page.pageNo-1,B))}),i.k0s()}2&Fe&&i.Y8G("hover",!0)}function ge(Fe,$e){if(1&Fe){const it=i.RV6();i.j41(0,"li")(1,"a",6),i.bIt("click",function(B){const ie=i.eBV(it).$implicit,fe=i.XpG(3);return i.Njj(!ie.isActive&&fe.changePage(ie.number,B))}),i.k0s()()}if(2&Fe){const it=$e.$implicit;i.AVh("is-active",it.isActive)("disabled",it.isActive)}}function J(Fe,$e){if(1&Fe&&(i.qex(0),i.DNE(1,ge,2,4,"li",5),i.bVm()),2&Fe){const it=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",it.pages)}}function Be(Fe,$e){if(1&Fe){const it=i.RV6();i.j41(0,"icon",7),i.bIt("click",function(B){i.eBV(it);const H=i.XpG(2);return i.Njj(!H.noNext()&&H.changePage(H.page.pageNo+1,B))}),i.k0s()}2&Fe&&i.Y8G("hover",!0)}function pe(Fe,$e){if(1&Fe&&(i.qex(0),i.j41(1,"li"),i.DNE(2,W,1,1,"icon",2),i.k0s(),i.DNE(3,J,2,1,"ng-container",1),i.j41(4,"li"),i.DNE(5,Be,1,1,"icon",3),i.k0s(),i.bVm()),2&Fe){const it=i.XpG();i.R7$(1),i.AVh("disabled",it.noPrevious()),i.R7$(1),i.Y8G("ngIf",!it.noPrevious()),i.R7$(1),i.Y8G("ngIf",!it.hidePageNumbers),i.R7$(1),i.AVh("disabled",it.noNext()),i.R7$(1),i.Y8G("ngIf",!it.noNext())}}function ze(Fe,$e){if(1&Fe){const it=i.RV6();i.j41(0,"li")(1,"div",8),i.bIt("click",function(B){i.eBV(it);const H=i.XpG();return i.Njj(H.viewAllToggle(B))}),i.nrm(2,"icon",9),i.EFF(3),i.k0s()()}if(2&Fe){const it=i.XpG();i.R7$(2),i.Y8G("icon",it.viewAll?"remove":"add")("hover",!1),i.R7$(1),i.Sp
1I("",it.viewAll?" Reduce":" Show all"," ")}}let xe=(()=>{class Fe extends ae.${get page(){return this._page}set page(it){this._page=it,this.initRun&&this._page&&(this.totalPages=this.calculateTotalPages(),this.pages=this.getPages())}constructor(it,_e){super(),this.route=it,this.appConfig=_e,this.ES_LIMIT=1e4,this.initRun=!1,this.totalPages=0,this.firstNotVisible=!1,this.lastNotVisible=!0,this.hidePageNumbers=!1,this.scrollUpOnPageChange=!1,this.disableShowAll=!1,this.pageChanged=new i.bkB,this.viewAllChanged=new i.bkB,this.viewAll=!1,this.showLastPageShortcut=()=>!!this.lastNotVisible}ngOnInit(){this._page&&(this.totalPages=this.calculateTotalPages(),this.pages=this.getPages(),this._page.totalCount<=this.appConfig.eventsGridPageSize&&(this.hideShowAll=!0)),this.initRun=!0,this.route.url.pipe((0,e.Q)(this.destroyed$)).subscribe(it=>{this.currentRoute=(0,ee.reduce)(it,(_e,B)=>_e+"/"+B.path,"")})}ngOnChanges(it){this.viewAll=1e3==it.page.currentValue.pageSize,this.hideShowAll=it.page.currentValue.totalCount<=this.appConfig.eventsGridPageSize}noPrevious(){return this._page&&1===this._page.pageNo}noNext(){return this._page&&this._page.pageNo===this.totalPages}changePage(it,_e){_e&&_e.preventDefault(),_e&&_e.target&&_e.target.blur(),!(!this._page||this._page.pageNo===it||it<1||it>this.totalPages)&&(this.pageChanged.emit({pageNo:it}),this.scrollUpOnPageChange&&this.scrollTotop())}viewAllToggle(it){it&&it.preventDefault(),it&&it.target&&it.target.blur(),this.viewAll=!this.viewAll,this.viewAllChanged.emit({viewAll:this.viewAll})}scrollTotop(){try{window.scrollTo({left:0,top:0,behavior:"smooth"})}catch{window.scrollTo(0,0)}}getPages(){let it=1,_e=this.totalPages;(0,ee.lt)(this.maxSize,this.totalPages)&&(it=Math.max(this._page.pageNo-Math.floor(this.maxSize/2),1),_e=it+ +this.maxSize-1,_e>this.totalPages&&(_e=this.totalPages,it=_e-this.maxSize+1));const H=(0,ee.map)((0,ee.range)(it,_e+1),ie=>({number:ie,isActive:ie===this._page.pageNo}));return this.hidePageNumbers?(this.firstNotVisible=!1,H):(this.firstNotVisible=it>1,H)}calculateTotalPages(){let it=this._page.pageSize<1?1:Math.ceil(this._page.totalCount/this._page.pageSize);return Math.max(it||0,1)}static{this.\u0275fac=function(_e){return new(_e||Fe)(i.rXU(Z.nX),i.rXU($.o))}}static{this.\u0275cmp=i.VBU({type:Fe,selectors:[["pagination-dots"]],inputs:{page:"page",maxSize:"maxSize",hidePageNumbers:"hidePageNumbers",scrollUpOnPageChange:"scrollUpOnPageChange",hideShowAll:"hideShowAll",disableShowAll:"disableShowAll"},outputs:{pageChanged:"pageChanged",viewAllChanged:"viewAllChanged"},features:[i.Vt3,i.OA$],decls:4,vars:4,consts:[[1,"pagination-container"],[4,"ngIf"],["role","button","icon","chevron_backward","class","float-end",3,"hover","click",4,"ngIf"],["role","button","icon","chevron_forward","class","float-end",3,"hover","click",4,"ngIf"],["role","button","icon","chevron_backward",1,"float-end",3,"hover","click"],[3,"is-active","disabled",4,"ngFor","ngForOf"],[3,"click"],["role","button","icon","chevron_forward",1,"float-end",3,"hover","click"],["role","button",1,"toggle-view-all",3,"click"],["size","18px","cssClass","gray-2",3,"icon","hover"]],template:function(_e,B){1&_e&&(i.j41(0,"div",0)(1,"ul"),i.DNE(2,pe,6,7,"ng-container",1),i.DNE(3,ze,4,3,"li",1),i.k0s()()),2&_e&&(i.R7$(1),i.AVh("max-pages",B.page.totalCount>=800),i.R7$(1),i.Y8G("ngIf",B.page.totalCount>B.page.pageSize&&!B.viewAll),i.R7$(1),i.Y8G("ngIf",!B.disableShowAll&&!B.hideShowAll))},dependencies:[z.Sq,z.bT,le.R],styles:[".pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:center!important;z-index:1}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{display:flex;height:13px;padding:0;list-style:none;justify-content:center!important;z-index:1}.pagination-container[_ngcontent-%COMP%]   ul.max-pages[_ngcontent-%COMP%]{max-width:90%;flex-wrap:wrap;height:26px}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li.spacer[_ngcontent-%COMP%]{width:10px}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{transition:transform .1s ease;position:relative;display:inline-block;margin:0 4px;
1cursor:default;width:6px;height:6px;border-radius:3px;background-color:#d4d4ee}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(.disabled) > a[_ngcontent-%COMP%]:hover{color:#000;cursor:pointer;transform:scale(1.7);transform:scale(2.1)}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child > a[_ngcontent-%COMP%]{padding-left:10px;padding-right:5px}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child > a[_ngcontent-%COMP%]{padding-left:5px;padding-right:10px}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   .toggle-view-all[_ngcontent-%COMP%]{margin-top:1px;margin-left:4px;color:#8c8cb5;font-weight:600}.pagination-container[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li.is-active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{background-color:#8c8cb5}"]})}}return Fe})()},1432:(Ot,ke,w)=>{"use strict";w.d(ke,{T:()=>i});var i=function(e){return e[e.Successful=1]="Successful",e[e.NotLoggedIn=0]="NotLoggedIn",e[e.Error=-1]="Error",e[e.PlatformAccessDenied=-2]="PlatformAccessDenied",e}(i||{})},9371:(Ot,ke,w)=>{"use strict";w.d(ke,{j:()=>i});var i=function(e){return e[e.Horizontal=0]="Horizontal",e[e.Vertical=1]="Vertical",e}(i||{})},510:(Ot,ke,w)=>{"use strict";w.d(ke,{TD:()=>it.T,$G:()=>e.$,YC:()=>z,l_:()=>xe.l,Ow:()=>W,V2:()=>i.V,DT:()=>ge.D,jH:()=>B.j,YW:()=>ee,pK:()=>pe.p,F:()=>ze.F,Jw:()=>_e,_u:()=>Fe,ad:()=>Be,gz:()=>$e.gz,jd:()=>$e.jd,wv:()=>$e.wv,tO:()=>$e.tO});var i=w(7784),e=w(6926);class ee{constructor(){this.pageNo=0,this.pageSize=0,this.totalCount=0,this.items=[]}}var K=w(1626),ae=w(5558),Z=w(6354),$=w(7705);let z=(()=>{class H{constructor(fe){this.http=fe,this.apiBase="https://public.api.bsky.app/xrpc"}getLatestPost(fe){return this.resolveHandle(fe).pipe((0,ae.n)(({did:Le})=>this.getAuthorFeed(Le,fe)),(0,Z.T)(Le=>{const Pt=(Le.feed?.find(mt=>mt.post?.record?.text)).post,re=Pt.uri.split("/").pop(),Te=Pt.author;return{handle:fe,displayName:Te.displayName,avatar:Te.avatar,text:Pt.record.text,createdAt:Pt.record.createdAt,url:`https://bsky.app/profile/${fe}/post/${re}`}}))}resolveHandle(fe){const Le=(new K.Nl).set("handle",fe);return this.http.get(`${this.apiBase}/com.atproto.identity.resolveHandle`,{params:Le})}getAuthorFeed(fe,Le){const _t=(new K.Nl).set("actor",fe).set("limit",5);return this.http.get(`${this.apiBase}/app.bsky.feed.getAuthorFeed`,{params:_t})}static{this.\u0275fac=function(Le){return new(Le||H)($.KVO(K.Qq))}}static{this.\u0275prov=$.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();var le=w(7376);let W=(()=>{class H{scanAndTransform(fe){(0,le.isArray)(fe)?(0,le.forEach)(fe,Le=>{this.scanAndTransform(Le)}):(0,le.forOwn)(fe,(Le,_t)=>{if("object"==typeof Le&&null!=Le)this.scanAndTransform(Le);else{if(Le instanceof Date||-1==_t.toLowerCase().indexOf("date")||_t.toLowerCase().indexOf("datetimezone")>=0||_t.toLowerCase().indexOf("dateoffset")>=0||null==Le||"number"==typeof Le||"boolean"==typeof Le)return;var Pt=new Date(Le);isNaN(Pt.getTime())||(fe[_t]=Pt)}})}compensateForLocal(fe){if(!fe)return null;var Le=6e4*fe.getTimezoneOffset();return new Date(fe.getTime()+Le)}compensateForSend(fe){if(!fe)return null;var Le=6e4*fe.getTimezoneOffset();return new Date(fe.getTime()-Le)}static{this.\u0275fac=function(Le){return new(Le||H)}}static{this.\u0275prov=$.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();var ge=w(9594),J=w(5794);let Be=(()=>{class H{constructor(fe){this.toastr=fe}showMessageFromResult(fe,Le=""){this.showMessage(fe.isSuccess?_e.Saved:fe.failureReason.includes("basket")?_e.InvalidInput:_e.Errored,fe.isSuccess?Le:fe.failureReason)}showMessage(fe,Le){this.show(fe,Le)}show(fe,Le=""){switch(this.toastr.clear(),fe){case _e.Saved:this.toastr.success("",Le,{progressBar:!0,progressAnimation:"increasing",timeOut:4e3});break;case _e.InvalidInput:this.toastr.warning("",Le,{progressBar:!0,progressAnimation:"increasing",timeOut:6e3});break;default:this.toastr.error("",""!==Le?Le:"An error occurred",{progressBar:!0,progressAnimation:"increasing",timeOut:9e3})}}static{this.\u0275fac=function(Le){return new(Le||H)($.KVO(J.tw))}}static{this.\u0275prov=$.jDH({token:H,factory:H.\u0275fac,providedIn:"root"})}}return H})();var pe=w(3973),ze=w(3835),xe=w(8397),Fe=function(H){return H[H.GB=1]="GB",H[H.US=2]="US",H}(Fe||{}),$e=w(8124),it=w(1432),_e=function(H){return H[H.Saved=0]="Saved",H[H.Errored=1]="Errored",H[H.Required=2]="Required",H[H.InvalidInput
1=3]="InvalidInput",H[H.ExceededLength=4]="ExceededLength",H}(_e||{}),B=w(9371)},3973:(Ot,ke,w)=>{"use strict";w.d(ke,{p:()=>le});var i=w(6497),e=w(5964),ee=w(6354),K=w(3294),ae=w(1432),Z=w(7705),$=w(9594),z=w(8617);let le=(()=>{class W{constructor(J,Be,pe,ze){this.localStorage=J,this.route=Be,this.router=pe,this.piano_placeholders=[],this.placeholderIds=["piano_catfish","piano_catfish_right","piano_catfish_right_bottom","piano_catfish_right_top","piano_catfish_left_bottom"],this.pushPageVariables(),this.pushUserVariables(),this.whenPianoTpReady(xe=>{}),this.router.events.pipe((0,e.p)(xe=>xe instanceof i.wF),(0,ee.T)(xe=>xe.url),(0,K.F)((xe,Fe)=>xe===Fe)).subscribe(xe=>{this.cleanPlaceholders()})}callInit(){this.whenPianoTpReady(J=>{J.push(["init",function(){J.experience.init()}])})}cleanPlaceholders(){0==this.piano_placeholders.length&&this.placeholderIds.forEach(J=>{this.piano_placeholders.push(document.getElementById(J))}),this.piano_placeholders.forEach(J=>{J.innerHTML=""})}whenPianoTpReady(J,Be){if(void 0===Be&&(Be=0),null!=window.tp&&null!=window.tp.experience)J(window.tp);else{if(!((Be+=50)<3e4))throw Error("Piano not ready");setTimeout(()=>{this.whenPianoTpReady(J)},50)}}whenPianoExperienceReady(J,Be){if(void 0===Be&&(Be=0),null!=window.tp&&null!=window.tp.experience)J(window.tp);else{if(!((Be+=400)<3e4))throw Error("Piano not ready");setTimeout(()=>{this.whenPianoTpReady(J)},400)}}pushPageVariables(){this.whenPianoTpReady(J=>{window.analytics_logger&&console.log("------ Pushing non-tracker variables"),J.push(["setContentIsNative","false"]),J.push(["setZone","Web"]),J.push(["setCustomVariable","localTimeDate",(new Date).toISOString()]),J.push(["setCustomVariable","page_pageInfo_site_referringUrl",document.referrer]),J.push(["setCustomVariable","page_pageInfo_platform",".NET"]),J.push(["setCustomVariable","page_pageInfo_site_url",window.location.href]),J.push(["setCustomVariable","page_pageInfo_site_Subdomain",""]),window.analytics_logger&&console.log("------ Page variables pushed",J.customVariables)})}pushQueryParams(){var J=this.getQueryStringParams();this.whenPianoTpReady(Be=>{for(var pe in J)Be.push(["setCustomVariable","page_pageInfo_site_url_"+pe,J[pe]])})}getQueryStringParams(){for(var J,Be=/\+/g,pe=/([^&=]+)=?([^&]*)/g,ze=function($e){return decodeURIComponent($e.replace(Be," "))},xe=window.location.search.substring(1),Fe={};J=pe.exec(xe);)Fe[ze(J[1])]=ze(J[2]);return Fe}pushUserVariables(){this.whenPianoTpReady(J=>{var Be=this.getUserDetails(),pe="noAccess";switch(Be?.status){case ae.T.Successful:pe="premium";break;case ae.T.PlatformAccessDenied:pe="platformDenied"}J.push(["setCustomVariable","GUID",Be?.userId]),J.push(["setCustomVariable","ID",Be?.pianoId]),J.push(["setCustomVariable","email",Be?.email]),J.push(["setCustomVariable","emailDomain",Be?.domain]),J.push(["setCustomVariable","userStatus",pe]),J.push(["setCustomVariable","companyName",Be?.companyName]),J.push(["setCustomVariable","user_attibutes_companyName",Be.companyName]),J.push(["setCustomVariable","validation",Be?.hasConfirmedEmail?"1":"0"]),window.analytics_logger&&console.log("------ User details pushed")})}trackForPiano(){this.whenPianoExperienceReady(J=>{J.experience.execute(),window.analytics_logger&&console.log("++++++ Piano Tracked",J.customVariables)})}getUserDetails(){var J=this.localStorage.getItem("user"),Be=sessionStorage.getItem("fsn.as"),pe=J?.email||"",xe=(pe||J?.username||J?.userName||"").split("@").pop().toLowerCase();return{userId:J?J.userId:"0",pianoId:J?J.pianoId:"0",email:pe,domain:xe,companyName:J?J.companyName||xe:"",status:ae.T[Be],hasConfirmedEmail:J?.hasConfirmedEmail}}getRouteSnapshot(){let J=this.route.firstChild;for(;J.firstChild;)J=J.firstChild;return J.snapshot}static{this.\u0275fac=function(Be){return new(Be||W)(Z.KVO($.D),Z.KVO(i.nX),Z.KVO(i.Ix),Z.KVO(z.il))}}static{this.\u0275prov=Z.jDH({token:W,factory:W.\u0275fac,providedIn:"root"})}}return W})()},3835:(Ot,ke,w)=>{"use strict";w.d(ke,{F:()=>ge});var i=w(3236),e=w(1807),K=w(7673),ae=w(9172),Z=w(6354),$=w(5964),z=w(6697),le=w(7705),W=w(3973);let ge=(()=>{class J{static{this.Timeout=3e4}constructor(pe){this.pianoExperienceService=pe,this.isDefined=ze=>!!ze}initPiano(){this.whenPianoIdReady(pe=>{pe.push(["setUsePianoIdUserProvider",!0])})}waitForPiano(){return function ee(J=0,Be=i.E){return J<0&&(J=0),(0,e.O)(J,J,Be)}(400).pipe((0,ae.Z)(0),(0,Z.T)(ze=>{const xe=window.tp;if(xe&&void 0!==xe.isInitialized&&xe.pianoId&&xe.experience)return xe;if(400*ze>J.Timeout)throw new Error(`Timed out after ${J.Timeout/1e3} seconds`);return(0,K.of)(null)}),(0,$.p)(this.isDefined),(0,z.s)(1))}whenPianoIdReady(pe,ze){if(void 0===ze&&(ze=0),null!=window.tp&&void 0!==window.tp.isInitialized&&null!=window.tp.pianoId)pe(window.tp);else{if(!((ze+=400)<3e4))throw Error("Piano not ready");setTimeout(()=>{this.whenPianoIdReady(pe,ze)},400)}}logoutFromPiano(){this.whenPianoIdReady(pe=>{pe.pianoId.logout(),this.pianoExperienceService.pushUserVariables()})}displayRegisterPanel(pe){this.whenPianoIdReady(ze=>{ze.push(["init",()=>{ze.pianoId.show({displayMode:"inline",screen:"register",containerSelector:pe,registrationSuccess:xe=>{},registrationFailed:xe=>{}})}])})}displayMyAccount(pe){this.whenPianoIdReady(ze=>{ze.push(["init",()=>{ze.myaccount.show({displayMode:"inline",containerSelector:pe})}])})}static{this.\u0275fac=function(ze){return new(ze||J)(le.KVO(W.p))}}static{this.\u0275prov=le.jDH({token:J,factory:J.\u0275fac,providedIn:"root"})}}return J})()},6541:(Ot,ke,w)=>{"use strict";w.d(ke,{c:()=>ee});var i=w(177),e=w(7705);let ee=(()=>{class K{constructor(Z){this.document=Z,this.measurementId="G-RHLRSPB0GT",this.userId=null}setUserId(Z){this.userId=Z,"function"==typeof window.gtag&&window.gtag("config",this.measurementId,{user_id:Z})}setUserProperties(Z){if("function"!=typeof window.gtag)return;const $=Object.entries(Z).filter(([,z])=>void 0!==z).reduce((z,[le,W])=>({...z,[le]:W}),{});window.gtag("set","user_properties",$)}clearUserProperties(){this.setUserProperties({company_id:null,company_name:null})}pageView(Z,$){"function"==typeof window.gtag&&window.gtag("event","page_view",{page_location:this.document.location.origin+Z,page_path:Z,page_title:$||this.document.title,...this.userId?{user_id:this.userId}:{}})}event(Z,$={}){if("function"!=typeof window.gtag)return;const z={...$};delete z.user_id,window.gtag("event",Z,{...z,...this.userId?{user_id:this.userId}:{}})}plannerEventView(Z,$,z={}){this.event("planner_event_view",{article_id:Z,event_headline:$,source:"planner_modal",...z})}trackFeatureUsage(Z,$={}){this.event(`${Z}_item`,$)}trackUiInteraction(Z,$={}){this.event("ui_interaction",{interaction:Z,...$})}static{this.\u0275fac=function($){return new($||K)(e.KVO(i.qQ))}}static{this.\u0275prov=e.jDH({token:K,factory:K.\u0275fac,providedIn:"root"})}}return K})()},9594:(Ot,ke,w)=>{"use strict";w.d(ke,{D:()=>ae});var i=w(7376),ee=w(1413),K=w(7705);let ae=(()=>
1{class Z{constructor(){this.item$subject=new ee.B,this.keyPrefix="fsn.",this.items$=this.item$subject.asObservable(),window.addEventListener("storage",z=>{if(-1!=(z?.key||"").indexOf(this.keyPrefix)){var ge=null!=z.newValue?JSON.parse(z.newValue):null,J=(0,i.replace)(z.key,this.keyPrefix,"");this.item$subject.next({key:J,item:ge})}})}setItem(z,le){var W=JSON.stringify(le);window.localStorage.setItem(this.keyPrefix+z,W),this.item$subject.next({key:z,item:le})}removeItem(z){window.localStorage.removeItem(this.keyPrefix+z),this.item$subject.next({key:z,item:null})}getItem(z){var le=window.localStorage.getItem(this.keyPrefix+z);return JSON.parse(le)}static{this.\u0275fac=function(le){return new(le||Z)}}static{this.\u0275prov=K.jDH({token:Z,factory:Z.\u0275fac,providedIn:"root"})}}return Z})()},8397:(Ot,ke,w)=>{"use strict";w.d(ke,{l:()=>i});var i=function(e){return e[e.PlatformAccess=20]="PlatformAccess",e[e.Cms=100]="Cms",e[e.Dev=101]="Dev",e}(i||{})},8124:(Ot,ke,w)=>{"use strict";w.d(ke,{BX:()=>mt,E_:()=>ve,F9:()=>te,IP:()=>re,KK:()=>zt,Oc:()=>Te,S2:()=>Ge,SA:()=>_e,Uf:()=>Be,V:()=>ee,XE:()=>Xt,XF:()=>ze,XS:()=>nn,Xv:()=>le,ZH:()=>z,ac:()=>ie,bX:()=>$e,cs:()=>K,fM:()=>Pt,gz:()=>gn,hU:()=>H,he:()=>ge,hx:()=>xe,jI:()=>B,jd:()=>Je,jn:()=>Ie,mf:()=>Me,n6:()=>ae,nH:()=>J,rP:()=>pe,tO:()=>Ye,u4:()=>Z,vA:()=>Fe,w3:()=>ht,wR:()=>ut,wX:()=>_t,wl:()=>e,wv:()=>ye,xF:()=>W,yE:()=>un,yN:()=>$});var i=w(7673);const e=(0,i.of)([{id:1,name:"Today"},{id:2,name:"Tomorrow"},{id:4,name:"Next 7 Days"},{id:5,name:"Next 4 Weeks"},{id:7,name:"Next 3 Months"},{id:8,name:"Next 6 Months"}]),ee=(0,i.of)([{id:6,name:"Last 24 Hours"},{id:4,name:"Last 7 Days"},{id:5,name:"Last 4 Weeks"}]),K=(0,i.of)([{id:1,name:"Key Events"},{id:2,name:"Key Events & Top Stories"}]),ae=(0,i.of)([{id:1,name:"Embargoed"}]),Z=(0,i.of)([{id:-1,name:"Exclude UK Politics",selectAllId:100},{id:100,name:"All UK Politics",selectAllId:100},{id:101,name:"Government",selectAllId:100},{id:102,name:"Parliament & Committees",selectAllId:100},{id:103,name:"Civil Service & Public Bodies",selectAllId:100},{id:490,name:"Devolution & Local Government",selectAllId:100},{id:107,name:"Political Parties",selectAllId:100},{id:491,name:"Welfare & Social Affairs",selectAllId:100},{id:532,name:"Education",selectAllId:100},{id:104,name:"Think Tanks & NGOs",selectAllId:100},{id:108,name:"Politics (Other)",selectAllId:100}]),$=(0,i.of)([{id:-1,name:"Exclude Home Affairs",selectAllId:109},{id:109,name:"All Home Affairs",selectAllId:109},{id:505,name:"Criminal Courts",selectAllId:109},{id:494,name:"Civil Courts",selectAllId:109},{id:111,name:"Defence & Security",selectAllId:109},{id:112,name:"Immigration",selectAllId:109},{id:113,name:"Police",selectAllId:109},{id:495,name:"Prisons",selectAllId:109},{id:114,name:"Law & Justice",selectAllId:109}]),z=(0,i.of)([{id:-1,name:"Exclude World",selectAllId:115},{id:115,name:"All World",selectAllId:115},{id:116,name:"International Politics",selectAllId:115},{id:117,name:"International Security & Conflicts",selectAllId:115},{id:120,name:"International Law & Crime",selectAllId:115},{id:118,name:"European Union",selectAllId:115},{id:119,name:"United Nations",selectAllId:115},{id:496,name:"G7 & G20",selectAllId:115},{id:497,name:"NATO",selectAllId:115},{id:498,name:"BRICS",selectAllId:115},{id:121,name:"International Organisations",selectAllId:115},{id:124,name:"Disasters & Emergencies",selectAllId:115},{id:122,name:"Development & Human Rights",selectAllId:115},{id:526,name:"Religion & Culture",selectAllId:115}]),le=(0,i.of)([{id:-1,name:"Exclude Business & Economy",selectAllId:134},{id:134,name:"All Business & Economy",selectAllId:134},{id:135,name:"Economy",selectAllId:134},{id:136,name:"Budget & Public Spending",selectAllId:134},{id:137,name:"Monetary Policy",selectAllId:134},{id:138,name:"Financial Services",selectAllId:134},{id:139,name:"Employment & Unions",selectAllId:134},{id:140,name:"Trade & Retail",selectAllId:134},{id:500,name:"Manufacturing & Industry",selectAllId:134},{id:529,name:"Energy & Resources",selectAllId:134},{id:141,name:"Technology",selectAllId:134},{id:507,name:"Artificial Intelligence",selectAllId:134}
1,{id:533,name:"Transport",selectAllId:134},{id:486,name:"Housing",selectAllId:134},{id:499,name:"Pensions",selectAllId:134}]),W=(0,i.of)([{id:-1,name:"Exclude Health, Science & Climate",selectAllId:143},{id:143,name:"All Health, Science & Climate",selectAllId:143},{id:492,name:"NHS\xa0& Social Care",selectAllId:143},{id:493,name:"Health",selectAllId:143},{id:146,name:"Mental Health",selectAllId:143},{id:508,name:"Environment & Farming",selectAllId:143},{id:501,name:"Climate Change",selectAllId:143},{id:502,name:"Weather",selectAllId:143},{id:148,name:"Science",selectAllId:143},{id:149,name:"Space",selectAllId:143}]),ge=(0,i.of)([{id:-1,name:"Exclude Culture & Sport",selectAllId:151},{id:151,name:"All Culture & Sport",selectAllId:151},{id:159,name:"Sport",selectAllId:151},{id:503,name:"Arts, Culture & Heritage",selectAllId:151},{id:509,name:"Entertainment",selectAllId:151},{id:160,name:"Media",selectAllId:151},{id:157,name:"Royals",selectAllId:151},{id:530,name:"Religion",selectAllId:151},{id:161,name:"General Interest",selectAllId:151}]),J=(0,i.of)([{id:0,name:"UK",selectAllId:0},{id:1,name:"Scotland",selectAllId:0},{id:10,name:"Wales",selectAllId:0},{id:9,name:"Northern Ireland",selectAllId:0},{id:2,name:"East of England",selectAllId:0},{id:8,name:"London",selectAllId:0},{id:11,name:"Midlands",selectAllId:0},{id:12,name:"North East",selectAllId:0},{id:5,name:"North West",selectAllId:0},{id:7,name:"South East",selectAllId:0},{id:4,name:"South West",selectAllId:0},{id:6,name:"Yorkshire & The Humber",selectAllId:0}]),Be=(0,i.of)([{id:-1,name:"Exclude US Politics",selectAllId:162},{id:162,name:"All US Politics",selectAllId:162},{id:163,name:"Administration & Federal Departments",selectAllId:162},{id:164,name:"Congress",selectAllId:162},{id:169,name:"State & Local Government",selectAllId:162},{id:168,name:"Social Affairs",selectAllId:162},{id:165,name:"Education",selectAllId:162},{id:170,name:"Think Tanks & NGOs",selectAllId:162},{id:167,name:"Politics (Other)",selectAllId:162}]),pe=(0,i.of)([{id:-1,name:"Exclude Business & Economy",selectAllId:171},{id:171,name:"All Business & Economy",selectAllId:171},{id:174,name:"Economy",selectAllId:171},{id:172,name:"Budget & Public Spending",selectAllId:171},{id:178,name:"Monetary Policy",selectAllId:171},{id:177,name:"Financial Services",selectAllId:171},{id:175,name:"Employment & Unions",selectAllId:171},{id:180,name:"Trade & Retail",selectAllId:171},{id:512,name:"Manufacturing & Industry",selectAllId:171},{id:504,name:"Energy & Resource",selectAllId:171},{id:179,name:"Technology",selectAllId:171},{id:511,name:"Artificial Intelligence",selectAllId:171},{id:510,name:"Transport",selectAllId:171},{id:487,name:"Housing",selectAllId:171}]),ze=(0,i.of)([{id:-1,name:"Exclude Law & Security",selectAllId:181},{id:181,name:"All Law & Security",selectAllId:181},{id:513,name:"Criminal Courts",selectAllId:181},{id:514,name:"Civil Courts",selectAllId:181},{id:182,name:"Defense & Security",selectAllId:181},{id:183,name:"Immigration",selectAllId:181},{id:515,name:"Police",selectAllId:181},{id:184,name:"Law & Justice",selectAllId:181}]),xe=(0,i.of)([{id:-1,name:"Exclude Health, Science & Climate",selectAllId:186},{id:186,name:"All Health, Science & Climate",selectAllId:186},{id:535,name:"Healthcare, Medicare & Medicaid",selectAllId:186},{id:189,name:"Health",selectAllId:186},{id:488,name:"Mental Health",selectAllId:186},{id:522,name:"Environment & Farming",selectAllId:186},{id:523,name:"Climate Change",selectAllId:186},{id:524,name:"Weather",selectAllId:186},{id:520,name:"Science",selectAllId:186},{id:521,name:"Space",selectAllId:186}]),Fe=(0,i.of)([{id:-1,name:"Exclude World",selectAllId:192},{id:192,name:"All World",selectAllId:192},{id:199,name:"International Politics",selectAllId:192},{id:200,name:"International Security & Conflicts",selectAllId:192},{id:197,name:"International Law & Crime",selectAllId:192},{id:194,name:"European Union",selectAllId:192},{id:202,name:"United Nations",selectAllId:192},{id:516,name:"G7 & G20",selectAllId:192},{id:517,name:"NATO",selectAllId:192},{id:518,name:"BRICS",selectAllId:192},{id:198,name:"International Organizations",selectAllId:192}
1,{id:193,name:"Disasters & Emergencies",selectAllId:192},{id:196,name:"Development & Human Rights",selectAllId:192},{id:519,name:"Religion & Culture",selectAllId:192}]),$e=(0,i.of)([{id:-1,name:"Exclude Culture & Sports",selectAllId:485},{id:485,name:"All Culture & Sports",selectAllId:485},{id:537,name:"Sports",selectAllId:485},{id:525,name:"Arts, Culture & Heritage",selectAllId:485},{id:536,name:"Entertainment",selectAllId:485},{id:531,name:"Religion",selectAllId:485},{id:489,name:"General Interest",selectAllId:485}]),it=[{group:"uk",param:"ukPoliticsIds",property:"ukPolitics",label:"All UK Politics",options:Z},{group:"uk",param:"ukHomeAffairsIds",property:"ukHomeAffairs",label:"All Home Affairs",options:$},{group:"uk",param:"ukWorldIds",property:"ukWorld",label:"All World",options:z},{group:"uk",param:"ukBusinessEconomyIds",property:"ukBusinessEconomy",label:"All Business & Economy",options:le},{group:"uk",param:"ukHealthScienceIds",property:"ukHealthScience",label:"All Health, Science & Climate",options:W},{group:"uk",param:"ukCultureSportIds",property:"ukCultureSport",label:"All Culture & Sport",options:ge},{group:"us",param:"usPoliticsIds",property:"usPolitics",label:"All US Politics",options:Be},{group:"us",param:"usLawSecurityIds",property:"usLawSecurity",label:"All Law & Security",options:ze},{group:"us",param:"usWorldIds",property:"usWorld",label:"All World",options:Fe},{group:"us",param:"usBusinessEconomyIds",property:"usBusinessEconomy",label:"All Business & Economy",options:pe},{group:"us",param:"usScienceSportArtsIds",property:"usScienceSportArts",label:"All Health, Science & Climate",options:xe},{group:"us",param:"usCultureSportIds",property:"usCultureSport",label:"All Culture & Sports",options:$e}],_e=it.map(We=>We.param),B=it.reduce((We,yt)=>({...We,[yt.param]:yt.property}),{}),H=it.reduce((We,yt)=>({...We,[yt.param]:yt.label}),{}),ie=it.reduce((We,yt)=>({...We,[yt.param]:yt.options}),{}),_t=(_e.map(We=>We.replace("Ids","Page")),_e.map(We=>We.replace("Ids","ViewAll")),it.filter(We=>"uk"===We.group).map(We=>We.param)),Pt=_t.map(We=>We.replace("Ids","Page")),re=_t.map(We=>We.replace("Ids","ViewAll")),Te=it.filter(We=>"us"===We.group).map(We=>We.param),mt=Te.map(We=>We.replace("Ids","Page")),ht=Te.map(We=>We.replace("Ids","ViewAll")),Xt=[..._t,"ukRegionIds"],gn=(Xt.map(We=>We.replace("Ids","")),Xt.map(We=>We.replace("Ids","Page"))),Je=Xt.map(We=>We.replace("Ids","ViewAll")),ve=[...Xt,...gn,...Je],te=[...Te,"usNortheastRegionIds","usMidwestRegionIds","usSouthRegionIds","usWestRegionIds"],ye=(te.map(We=>We.replace("Ids","")),te.map(We=>We.replace("Ids","Page"))),Ye=te.map(We=>We.replace("Ids","ViewAll")),Me=[...te,...ye,...Ye],Ie=(0,i.of)([{id:900,name:"Northeast US",selectAllId:900},{id:20,name:"Connecticut",selectAllId:900},{id:32,name:"Maine",selectAllId:900},{id:34,name:"Massachusetts",selectAllId:900},{id:42,name:"New Hampshire",selectAllId:900},{id:43,name:"New Jersey",selectAllId:900},{id:45,name:"New York",selectAllId:900},{id:51,name:"Pennsylvania",selectAllId:900},{id:52,name:"Rhode Island",selectAllId:900},{id:58,name:"Vermont",selectAllId:900}]),Ge=(0,i.of)([{id:901,name:"Midwest US",selectAllId:901},{id:26,name:"Illinois",selectAllId:901},{id:27,name:"Indiana",selectAllId:901},{id:28,name:"Iowa",selectAllId:901},{id:29,name:"Kansas",selectAllId:901},{id:35,name:"Michigan",selectAllId:901},{id:36,name:"Minnesota",selectAllId:901},{id:38,name:"Missouri",selectAllId:901},{id:40,name:"Nebraska",selectAllId:901},{id:47,name:"North Dakota",selectAllId:901},{id:48,name:"Ohio",selectAllId:901},{id:54,name:"South Dakota",selectAllId:901},{id:62,name:"Wisconsin",selectAllId:901}]),zt=(0,i.of)([{id:902,name:"South US",selectAllId:902},{id:14,name:"Alabama",selectAllId:902},{id:17,name:"Arkansas",selectAllId:902},{id:21,name:"Delaware",selectAllId:902},{id:22,name:"Florida",selectAllId:902},{id:23,name:"Georgia",selectAllId:902},{id:30,name:"Kentucky",selectAllId:902},{id:31,name:"Louisiana",selectAllId:902},{id:33,name:"Maryland",selectAllId:902},{id:37,name:"Mississippi",selectAllId:902},{id:46,name:"North Carolina",selectAllId:902},{id:49,name:"Oklahoma",selectAllId:902},{id:53,name:"South Carolina",selectAllId:902},{id:55,name:"Tennessee",selectAllId:902},{id:56,name:"Texas",selectAllId:902},{id:59,name:"Virginia",selectAllId:902},{id:64,name:"Washington, DC",selectAllId:902},{id:61,name:"West Virginia",selectAllId:902}]),ut=(0,i.of)([{id:903,name:"West US",selectAllId:903},{id:15,name:"Alaska",selectAllId:903},{id:16,name:"Arizona",selectAllId:903},{id:18,name:"California",selectAllId:903},{id:19,name:"Colorado",selectAllId:903},{id:24,name:"Hawaii",selectAllId:903},{id:25,name:"Idaho",selectAllId:903},{id:39,name:"Montana",selectAllId:903},{id:41,name:"Nevada",selectAllId:903},{id:44,name:"New Mexico",selectAllId:903},{id:50,name:"Oregon",selectAllId:903},{id:57,name:"Utah",selectAllId:903},{id:60,name:"Washington",selectAllId:903},{id:63,name:"Wyoming",selectAllId:903}]),nn=(0,i.of)([{id:1,name:"Anniversaries & Birthdays"},{id:2,name:"Awareness Campaigns"},{id:3,name:"Bizarre Events"},{id:4,name:"Campaign Activity"},{id:5,name:"Conferences"},{id:7,name:"Corporate Earnings"},{id:8,name:"Court Hearings"},{id:25,name:"Demonstrations & Protests"},{id:6,name:"Elections & Referenda"},{id:26,name:"Festivals"},{id:29,name:"Legislative & Parliamentary Activity"},{id:9,name:"Media Opportunities"},{id:28,name:"National Days & Holidays"},{id:27,name:"Performances & Red Carpets"},{id:10,name:"Reports & Surveys"},{id:30,name:"Sporting Events"},{id:11,name:"Statistics"},{id:12,name:"Summits & Meetings"},{id:13,name:"Think Tank Events"}]),un=(0,i.of)([{id:127,name:"Africa"},{id:128,name:"Asia-Pacific"},{id:527,name:"Central America & the Caribbean"},{id:528,name:"Central Asia"},{id:130,name:"Europe"},{id:131,name:"Middle East & North Africa"},{id:132,name:"North America"},{id:129,name:"South America"},{id:133,name:"South Asia"}])},9156:(Ot,ke,w)=>{"use strict";w.d(ke,{H:()=>ee});var i=w(510),e=w(7705);let ee=(()=>{class K{static{this.\u0275fac=function($){return new($||K)}}static{this.\u0275mod=e.$C({type:K})}static{this.\u0275inj=e.G2t({imports:[i.V2]})}}return K})()},5176:(Ot,ke,w)=>{"use strict";w.d(ke,{a:()=>K});var i=w(510),e=w(9998),ee=w(7705);let K=(()=>{class ae{static{this.\u0275fac=function(z){return new(z||ae)}}static{this.\u0275mod=ee.$C({type:ae})}
1static{this.\u0275inj=ee.G2t({imports:[i.V2,e.X]})}}return ae})()},9210:(Ot,ke,w)=>{"use strict";w.d(ke,{y:()=>K});var i=w(4339),e=w(7705),ee=w(1626);let K=(()=>{class ae{constructor($){this.http=$,this.cache={},this.addPinnedItems=z=>this.http.post(`${i.c.apiUrl}/api/account/pinned-items`,z),this.pinAllForSearch=(z,le)=>this.http.post(`${i.c.apiUrl}/api/account/pin-all-for-search?isListView=${le}`,z),this.addMyPlanner=z=>this.http.post(`${i.c.apiUrl}/api/account/my-planners`,z),this.addItemsToMyPlanner=(z,le)=>this.http.post(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}`,le),this.editMyPlannerName=(z,le)=>this.http.post(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/name?name=${encodeURIComponent(le)}`,null),this.addAlert=z=>this.http.post(`${i.c.apiUrl}/api/account/alerts/add`,z),this.addSavedSearch=z=>this.http.post(`${i.c.apiUrl}/api/account/saved-searches/add`,z),this.unsubscribeFromNewsletter=z=>this.http.post(`${i.c.apiUrl}/api/account/unsubscribe`,z),this.updateSavedSearch=(z,le)=>this.http.put(`${i.c.apiUrl}/api/account/saved-searches/${encodeURIComponent(z)}`,le),this.updateMyPlannerAutomation=(z,le)=>this.http.put(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/automation`,le),this.updateMyPlannerWebhook=(z,le)=>this.http.put(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/webhook`,le),this.updateMyPlannerSlackWebhook=(z,le)=>this.http.put(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/slack-webhook`,le),this.testMyPlannerSlackWebhook=z=>this.http.post(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/slack-webhook/test`,null),this.deletePinnedItem=z=>this.http.delete(`${i.c.apiUrl}/api/account/pinned-items/${encodeURIComponent(z)}`),this.deleteAllPinnedItems=()=>this.http.delete(`${i.c.apiUrl}/api/account/pinned-items`),this.deleteMyPlanner=z=>this.http.delete(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}`),this.deleteItemFromPlanner=(z,le)=>this.http.delete(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}/${le}`),this.deleteSavedSearch=z=>this.http.delete(`${i.c.apiUrl}/api/account/saved-searches/${encodeURIComponent(z)}`),this.getPinnedItems=()=>this.http.get(`${i.c.apiUrl}/api/account/pinned-items`),this.getMyPlanners=(z,le)=>this.http.get(`${i.c.apiUrl}/api/account/my-planners?pageNo=${z}&pageSize=${le}`),this.getMyPlanner=z=>this.http.get(`${i.c.apiUrl}/api/account/my-planners/${encodeURIComponent(z)}`),this.getMyPlannerSummaries=(z,le)=>this.http.get(`${i.c.apiUrl}/api/account/my-planner-summary?pageNo=${z}&pageSize=${le}`),this.getAlerts=(z,le)=>this.http.get(`${i.c.apiUrl}/api/account/alerts?pageNo=${z}&pageSize=${le}`),this.getAllUserAlerts=()=>this.http.get(`${i.c.apiUrl}/api/account/alerts/all`),this.getSearchAlertsAndSavedSearches=()=>this.http.get(`${i.c.apiUrl}/api/account/search-alerts-and-saved-searches`),this.getSavedSearches=(z,le,W)=>this.http.get(`${i.c.apiUrl}/api/account/saved-searches?pageNo=${z}&pageSize=${le}&showAlertsOnly=${W}`),this.getSearchAlertsWithNewUpdatedCounts=(z,le,W)=>this.http.get(`${i.c.apiUrl}/api/account/search-alerts-with-new-updated-counts?pageNo=${z}&pageSize=${le}&showAlertsOnly=${W}`),this.getSavedSearchCount=(z,le)=>this.http.get(`${i.c.apiUrl}/api/account/saved-searches-count?myListItemTypeId=${z}&showAlertsOnly=${le}`),this.getTrackerAlertsCount=(z,le)=>this.http.get(`${i.c.apiUrl}/api/account/tracker-alerts-count?rootAggregateTypeId=${z}&aggregateTypeId=${le}`)}deleteMultiplePinnedItems($){return this.http.post(`${i.c.apiUrl}/api/account/pinned-items/delete`,$)}deleteAlert($){return this.http.post(`${i.c.apiUrl}/api/account/alerts/delete`,$)}static{this.\u0275fac=function(z){return new(z||ae)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})()},3489:(Ot,ke,w)=>{"use strict";w.d(ke,{x:()=>K});var i=w(4339),e=w(7705),ee=w(1626);let K=(()=>{class ae{constructor($){this.http=$,this.cache={},this.authenticateUsingPiano=z=>this.http.post(`${i.c.apiUrl}/api/auth/authenticate-piano`,z),this.refreshAccessToken=z=>this.http.post(`${i.c.apiUrl}/api/auth/refresh-access`,z),this.switchCulture=z=>this.http.post(`${i.c.apiUrl}/api/auth/switch-culture`,z),this.switchTimeZone=z=>this.http.post(`${i.c.apiUrl}/api/auth/switch-timezone`,z),this.switchDarkMode=z=>this.http.post(`${i.c.apiUrl}/api/auth/switch-dark-mode`,z)}logout($){return this.http.post(`${i.c.apiUrl}/api/auth/logout?refreshToken=${encodeURIComponent($)}`,null)}return401($,z){return this.http.post(`${i.c.apiUrl}/api/auth/return401?id=${$}&succeed=${z}`,null)}static{this.\u0275fac=function(z){return new(z||ae)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})()},1522:(Ot,ke,w)=>{"use strict";w.d(ke,{_:()=>K});var i=w(4339),e=w(7705),ee=w(1626);let K=(()=>{class ae{constructor($){this.http=$,this.cache={},this.searchForGrid=z=>this.http.post(`${i.c.apiUrl}/api/events/search/grid`,z),this.searchPredictive=z=>this.http.post(`${i.c.apiUrl}/api/events/search/predictive`,z),this.searchForList=z=>this.http.post(`${i.c.apiUrl}/api/events/search/list`,z),this.getByHashIds=z=>this.http.post(`${i.c.apiUrl}/api/events/get-by-hash-ids`,z),this.getEventArticle=z=>this.http.get(`${i.c.apiUrl}/api/events/${encodeURIComponent(z)}/article`),this.getEventArticleForCopy=z=>this.http.get(`${i.c.apiUrl}/api/events/${encodeURIComponent(z)}/article-for-copy`)}static{this.\u0275fac=function(z){return new(z||ae)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"})}}return ae})()},6646:(Ot,ke,w)=>{"use strict";w.d(ke,{T:()=>i});var i=function(e){return e[e.None=0]="None",e[e.Weekly=2]="Weekly",e[e.DailyAt8am=5]="DailyAt8am",e[e.DailyAt1pm=6]="DailyAt1pm",e[e.DailyAt6pm=7]="DailyAt6pm",e}(i||{})},2248:(Ot,ke,w)=>{"use strict";w.d(ke,{v:()=>i});var i=function(e){return e[e.Copy=1]="Copy",e[e.Excel=2]="Excel",e[e.Csv=3]="Csv",e[e.Text=4]="Text",e[e.Word=5]="Word",e}(i||{})},1721:(Ot,ke,w)=>{"use strict";w.d(ke,{T7:()=>Be.T,aE:()=>e,eD:()=>W,c1:()=>J,uc:()=>ge,Z7:()=>re});class i{constructor(){this.pageNo=0,this.ids=[],this.showAll=!1,this.active=!1}}class e{constructor(){this.pageNo=0,this.pageSize=0,this.text="",this.displayedDate=null,this.startDate=null,this.endDate=null,this.dateRangeId=null,this.newDateRangeId=null,this.updatedDateRangeId=null,this.keyEventTopStoryId=null,this.embargoed=null,this.ukPolitics=new i,this.ukHomeAffairs=new i,this.ukWorld=new i,this.ukBusinessEconomy=new i,this.ukHealthScience=new i,this.ukCultureSport=new i,this.usPolitics=new i,this.usBusinessEconomy=new i,this.usLawSecurity=new i,this.usWorld=new i,this.usScienceSportArts=new i,this.usCultureSport=new i,this.contentListIds=[],this.eventTypeIds=[],this.ukRegionIds=[],this.usNortheastRegionIds=[],this.usMidwestRegionIds=[],this.usSouthRegionIds=[],this.usWestRegionIds=[],this.globalRegionIds=[]}}w(2248);class W{constructor(){this.savedSearchId=null}}class ge{constructor(){this.enabled=!1,this.url="",this.secret=""}}class J{constructor(){this.enabled=!1,this.url=""}}var Be=w(6646);w(510);class re{constructor(){this.savedSearchId=null,this.webhookEnabled=!1,this.webhookConfigured=!1,this.webhookHasSecret=!1,this.slackWebhookEnabled=!1,this.slackWebhookConfigured=!1,this.canManagePlannerIntegrations=!1}}},2251:(Ot,ke,w)=>{"use strict";w.d(ke,{yo:()=>K.y,PR:()=>z,Tx:()=>le,_y:()=>W._,RW:()=>ge,QA:()=>J,cK:()=>ee,Nc:()=>Be});var i=w(510),e=w(7705);let ee=(()=>{class pe{static{this.\u0275fac=function(Fe){return new(Fe||pe)}}static{this.\u0275mod=e.$C({type:pe})}static{this.\u0275inj=e.G2t({imports:[i.V2]})}}return pe})();var K=w(9210),Z=(w(3489),w(4339)),$=w(1626);let z=(()=>{class pe{constructor(xe){this.http=xe,this.cache={},this.getContentButtons=Fe=>this.http.get(`${Z.c.apiUrl}/api/content-buttons/planner?siteCulture=${Fe}`)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(e.KVO($.Qq))}}static{this.\u0275prov=e.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),le=(()=>{class pe{constructor(xe){this.http=xe,this.cache={},this.getForContentList=Fe=>this.http.post(`${Z.c.apiUrl}/api/content-lists/content-list`,Fe),this.getNewsbreaks=Fe=>this.http.post(`${Z.c.apiUrl}/api/content-lists/newsbreaks`,Fe),this.getNewsbreakUpdates=Fe=>this.http.post(`${Z.c.apiUrl}/api/content-lists/newsbreaks/updates`,Fe)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(e.KVO($.Qq))}}static{this.\u0275prov=e.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})();var W=w(1522);let ge=(()=>{class pe{constructor(xe){this.http=xe,this.cache={},this.getLatestPost=Fe=>this.http.get(`${Z.c.apiUrl}/api/insight/latest-post?siteCulture=${Fe}`),this.bustLatestPostCache=Fe=>this.http.get(`${Z.c.apiUrl}/api/insight/bust-latest-post-cache?siteCulture=${Fe}`),this.getInsight=(Fe,$e)=>this.http.get(`${Z.c.apiUrl}/api/insight/insight/${encodeURIComponent($e)}?siteCulture=${Fe}`),this.bustInsightCache=(Fe,$e)=>this.http.get(`${Z.c.apiUrl}/api/insight/bust-insight-cache/${encodeURIComponent($e)}?siteCulture=${Fe}`),this.getInsightPreviousPosts=(Fe,$e,it)=>this.http.get(`${Z.c.apiUrl}/api/insight/insight-previous-posts/${encodeURIComponent($e)}?siteCulture=${Fe}&pageNo=${it}`)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(e.KVO($.Qq))}}static{this.\u0275prov=e.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),J=(()=>{class pe{constructor(xe){this.http=xe,this.cache={}
1,this.getSiteCultureFromHeader=()=>this.http.get(`${Z.c.apiUrl}/api/location/site-culture`),this.getCountryCodeFromHeader=()=>this.http.get(`${Z.c.apiUrl}/api/location/country-code`)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(e.KVO($.Qq))}}static{this.\u0275prov=e.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),Be=(()=>{class pe{constructor(xe){this.http=xe,this.cache={},this.getCountries=()=>this.http.get(`${Z.c.apiUrl}/api/static-type/countries`),this.getTimeZones=()=>this.http.get(`${Z.c.apiUrl}/api/static-type/timezones`)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(e.KVO($.Qq))}}static{this.\u0275prov=e.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})()},8766:(Ot,ke,w)=>{"use strict";w.d(ke,{q_:()=>W,qo:()=>J,dy:()=>xe,Us:()=>ee});var i=w(510),e=w(7705);let ee=(()=>{class Fe{static{this.\u0275fac=function(_e){return new(_e||Fe)}}static{this.\u0275mod=e.$C({type:Fe})}static{this.\u0275inj=e.G2t({imports:[i.V2]})}}return Fe})();var K=w(1985),ae=w(5964),Z=w(6697),$=w(148),z=w(6497),le=w(8617);let W=(()=>{class Fe{constructor(it,_e,B){this.router=it,this.store=_e,this.pianoService=B}canActivate(it,_e){return new K.c(B=>{this.validate(B,_e.url)})}canLoad(it,_e){return new K.c(B=>{this.validate(B,it.path)})}validate(it,_e){this.pianoService.whenPianoIdReady(B=>{this.store.select($.is.current).pipe((0,ae.p)(H=>void 0!==H),(0,Z.s)(1)).subscribe(H=>{if(H.status!=i.TD.Successful)return H.status==i.TD.PlatformAccessDenied?(this.router.navigate(["/set-access"]),void it.next(!1)):(this.router.navigate(["/login"],{queryParams:{returnUrl:_e}}),void it.next(!1));it.next(!0)})})}static{this.\u0275fac=function(_e){return new(_e||Fe)(e.KVO(z.Ix),e.KVO(le.il),e.KVO(i.F))}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})();var ge=w(7376);let J=(()=>{class Fe{constructor(it,_e,B){this.router=it,this.store=_e,this.pianoService=B}canActivate(it,_e){return new K.c(B=>{this.validate(B,_e.url)})}canLoad(it,_e){return new K.c(B=>{this.validate(B,it.path)})}validate(it,_e){this.pianoService.whenPianoIdReady(B=>{this.store.select($.is.current).pipe((0,ae.p)(H=>void 0!==H),(0,Z.s)(1)).subscribe(H=>(console.log("r-auth-guard:",H),H.status==i.TD.Successful?(this.router.navigate(["/home"]),void it.next(!1)):H.status==i.TD.PlatformAccessDenied?(0,ge.startsWith)(_e,"/login")?void it.next(!0):(this.router.navigate(["/set-access"]),void it.next(!1)):void it.next(!0)))})}static{this.\u0275fac=function(_e){return new(_e||Fe)(e.KVO(z.Ix),e.KVO(le.il),e.KVO(i.F))}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})();var Be=w(4412),pe=w(8141),ze=w(2251);let xe=(()=>{class Fe{constructor(it){this.locationApi=it,this.siteCultureSubject=new Be.t(null),this.siteCulture$=this.siteCultureSubject.asObservable(),this.hasLoaded=!1}getSiteCulture(){return this.hasLoaded||(this.hasLoaded=!0,this.locationApi.getSiteCultureFromHeader().pipe((0,Z.s)(1),(0,pe.M)(it=>this.siteCultureSubject.next(it.siteCulture))).subscribe()),this.siteCulture$.pipe((0,ae.p)(it=>null!==it))}setCulture(it){this.siteCultureSubject.next(it)}static{this.\u0275fac=function(_e){return new(_e||Fe)(e.KVO(ze.QA))}}static{this.\u0275prov=e.jDH({token:Fe,factory:Fe.\u0275fac,providedIn:"root"})}}return Fe})()},148:(Ot,ke,w)=>{"use strict";w.d(ke,{gr:()=>z.g,rP:()=>W,Ng:()=>ee.N,KW:()=>$,zd:()=>i.z,is:()=>e.i});var i=w(3319),e=w(1234),ee=w(328),K=w(1635),ae=w(8617),Z=w(7014);class ${static elements(J){return J.elements}static element(J){return(0,ae.Mz)([$.elements],Be=>Be.find(pe=>pe.websiteId===J))}}(0,K.Cg)([(0,ae.MD)([Z.W])],$,"elements",null);var z=w(6832),le=w(3454);class W{static plannerId(J){return J.id}static items(J){return J.items}static plannerName(J){return J.name}static count(J){return J.count}static creationDate(J){return J.creationDate}static integrationSettings(J){return J.integrationSettings}}(0,K.Cg)([(0,ae.MD)([le.I])],W,"plannerId",null),(0,K.Cg)([(0,ae.MD)([le.I])],W,"items",null),(0,K.Cg)([(0,ae.MD)([le.I])],W,"plannerName",null),(0,K.Cg)([(0,ae.MD)([le.I])],W,"count",null),(0,K.Cg)([(0,ae.MD)([le.I])],W,"creationDate",null),(0,K.Cg)([(0,ae.MD)([le.I])],W,"integrationSettings",null)},6832:(Ot,ke,w)=>{"use strict";var i,e;w.d(ke,{g:()=>i}),(e=i||(i={})).SetActive=(()=>{class ${static{this.type="[Active List] Set Active Planner"}constructor(le){this.plannerId=le}}return $})(),e.RemovePlannerItem=(()=>{class ${static{this.type="[Active List] Remove Planner Item"}constructor(le){this.itemId=le}}return $})(),e.ChangeName=(()=>{class ${static{this.type="[Active Planner] Change Planner Name"}constructor(le){this.newName=le}}return $})(),e.DeletePlanner=(()=>{class ${static{this.type="[Active Planner] Delete Planner"}}return $})()},3454:(Ot,ke,w)=>{"use strict";w.d(ke,{I:()=>J});var i=w(1635),e=w(7376),K=w(4412),ae=w(8617),Z=w(1721),$=w(6832),z=w(7705),le=w(2251),W=w(5794);const ge={id:null,name:null,creationDate:null,items:null,count:0,integrationSettings:new Z.Z7};let J=class Qm{constructor(pe,ze){this.accountApi=pe,this.toastr=ze,this.plannerReady$=new K.t(!1),this.emptyGuid="00000000-0000-0000-0000-000000000000"}setActive(pe,ze){this.plannerReady$.next(!1),pe.setState(ge),this.accountApi.getMyPlanner(ze.plannerId).subscribe(xe=>{if(null==xe){let Fe=(0,e.clone)(ge);return Fe.id=this.emptyGuid,void pe.patchState(Fe)}pe.patchState({id:xe.id,name:xe.name,creationDate:xe.creationDate,items:xe.items,integrationSettings:xe.integrationSettings||new Z.Z7}),this.plannerReady$.next(!0)})}removePlannerItem(pe,ze){let xe=pe.getState();this.accountApi.deleteItemFromPlanner(xe.id,ze.itemId).subscribe();var Fe=xe.items.filter($e=>$e.websiteId!==ze.itemId);pe.patchState({items:Fe})}changeName(pe,ze){let xe=pe.getState();this.accountApi.editMyPlannerName(xe.id,ze.newName).subscribe(Fe=>{null==Fe?this.toastr.error("The planner name was not updated - please ensure there is no html in the name field","Error",{progressBar:!0,progressAnimation:"increasing",timeOut:7e3}):pe.patchState({name:ze.newName})})}deletePlanner(pe){let ze=pe.getState();this.accountApi.deleteMyPlanner(ze.id).subscribe(xe=>{let Fe=(0,e.clone)(ge);Fe.id=this.emptyGuid,pe.patchState(Fe)})}static{this.\u0275fac=function(ze){return new(ze||Qm)(z.KVO(le.yo),z.KVO
1(W.tw))}}static{this.\u0275prov=z.jDH({token:Qm,factory:Qm.\u0275fac})}};(0,i.Cg)([(0,ae.rc)($.g.SetActive)],J.prototype,"setActive",null),(0,i.Cg)([(0,ae.rc)($.g.RemovePlannerItem)],J.prototype,"removePlannerItem",null),(0,i.Cg)([(0,ae.rc)($.g.ChangeName)],J.prototype,"changeName",null),(0,i.Cg)([(0,ae.rc)($.g.DeletePlanner)],J.prototype,"deletePlanner",null),J=(0,i.Cg)([(0,ae.Uw)({name:"activePlanner",defaults:ge})],J)},328:(Ot,ke,w)=>{"use strict";var i,e;w.d(ke,{N:()=>i}),(e=i||(i={})).Get=(()=>{class W{static{this.type="[Pinning] Get"}}return W})(),e.Add=(()=>{class W{static{this.type="[Pinning] Add"}constructor(J){this.websiteId=J}}return W})(),e.AddMultiple=(()=>{class W{static{this.type="[Pinning] Add Multiple"}constructor(J,Be){this.items=J,this.trackingTag=Be}}return W})(),e.Remove=(()=>{class W{static{this.type="[Pinning] Remove"}constructor(J){this.pinId=J}}return W})(),e.RemoveMultiple=(()=>{class W{static{this.type="[Pinning] Remove Multiple"}constructor(J,Be){this.ids=J,this.trackingTag=Be}}return W})(),e.Clear=(()=>{class W{static{this.type="[Pinning] Clear"}}return W})(),e.ClearLocal=(()=>{class W{static{this.type="[Pinning] Clear localstorage"}}return W})()},7014:(Ot,ke,w)=>{"use strict";w.d(ke,{W:()=>z});var i=w(1635),e=w(8617),ee=w(8141),K=w(328),ae=w(7705),Z=w(510),$=w(2251);let z=class Jm{constructor(W,ge){this.localStorage=W,this.accountApi=ge,this.handleStorageEvents=(J,Be)=>{"fsn.pinning.items"===J.key&&Be.patchState({elements:JSON.parse(J.newValue)})}}ngxsOnInit(W){window.addEventListener("storage",ge=>{this.handleStorageEvents(ge,W)})}ShareState(W){this.localStorage.setItem("pinning.items",W.getState().elements)}clear(W){W.setState({elements:[]}),this.ShareState(W)}getElements(W){return W.setState(ge=>({elements:[]})),this.accountApi.getPinnedItems().pipe((0,ee.M)(ge=>{this.takeVmsFromServer(ge,W)}))}addElement(W,ge){return this.pinItems({items:[{websiteId:ge.websiteId}]},W)}addMultiple(W,ge){if(null!=ge.items&&0!=ge.items.length)return this.pinItems({items:ge.items},W)}pinItems(W,ge){return this.accountApi.addPinnedItems(W).pipe((0,ee.M)(J=>{this.takeVmsFromServer(J,ge)}))}takeVmsFromServer(W,ge){let J=[];W.forEach(Be=>{J.push(Be)}),ge.setState(Be=>({...Be,elements:[...J,...Be.elements]})),this.ShareState(ge)}removeElement(W,ge){return this.accountApi.deletePinnedItem(ge.pinId).pipe((0,ee.M)(()=>{W.setState(J=>({...J,elements:J.elements.filter(Be=>Be.id!==ge.pinId)})),this.ShareState(W)}))}removeMultiple(W,ge){return this.accountApi.deleteMultiplePinnedItems({ids:ge.ids}).pipe((0,ee.M)(()=>{W.setState(Be=>({...Be,elements:Be.elements.filter(pe=>null==ge.ids.find(ze=>ze==pe.id))})),this.ShareState(W)}))}clearElements(W){return this.accountApi.deleteAllPinnedItems().pipe((0,ee.M)(()=>{W.setState(ge=>({...ge,elements:[]})),this.ShareState(W)}))}static{this.\u0275fac=function(ge){return new(ge||Jm)(ae.KVO(Z.DT),ae.KVO($.yo))}}static{this.\u0275prov=ae.jDH({token:Jm,factory:Jm.\u0275fac})}};(0,i.Cg)([(0,e.rc)(K.N.ClearLocal)],z.prototype,"clear",null),(0,i.Cg)([(0,e.rc)(K.N.Get)],z.prototype,"getElements",null),(0,i.Cg)([(0,e.rc)(K.N.Add)],z.prototype,"addElement",null),(0,i.Cg)([(0,e.rc)(K.N.AddMultiple)],z.prototype,"addMultiple",null),(0,i.Cg)([(0,e.rc)(K.N.Remove)],z.prototype,"removeElement",null),(0,i.Cg)([(0,e.rc)(K.N.RemoveMultiple)],z.prototype,"removeMultiple",null),(0,i.Cg)([(0,e.rc)(K.N.Clear)],z.prototype,"clearElements",null),z=(0,i.Cg)([(0,e.Uw)({name:"pinning",defaults:{elements:[]}})],z)},3319:(Ot,ke,w)=>{"use strict";var i,e;w.d(ke,{z:()=>i}),(e=i||(i={})).FsnLogin=(()=>{class le{static{this.type="[Auth] Piano login"}constructor(ge,J,Be,pe){this.token=ge,this.userCode=J,this.email=Be,this.autoLogin=pe}}return le})(),e.Logout=(()=>{class le{static{this.type="[Auth] Logout"}}return le})(),e.RefreshToken=(()=>{class le{static{this.type="[Auth] Refresh token"}constructor(ge,J){this.token=ge,this.refreshToken=J}}return le})(),e.SwitchCulture=(()=>{class le{static{this.type="[Auth] SwitchCulture"}constructor(ge){this.siteCultureId=ge}}return le})(),e.SwitchDarkMode=(()=>{class le{static{this.type="[Auth] SwitchDarkMode"}constructor(ge){this.isDarkMode=ge}}return le})(),e.SwitchTimeZone=(()=>{class le{static{this.type="[Auth] SwitchTimeZone"}constructor(ge){this.timeZone=ge}}return le})()},1234:(Ot,ke,w)=>{"use strict";w.d(ke,{i:()=>K});var i=w(1635),e=w(8617),ee=w(5004);class K{static user(Z){return Z.user}static token(Z){return Z.token}
1static tokenRefresh(Z){return Z.tokenRefresh}static current(Z){return Z.current}}(0,i.Cg)([(0,e.MD)([ee.b])],K,"user",null),(0,i.Cg)([(0,e.MD)([ee.b])],K,"token",null),(0,i.Cg)([(0,e.MD)([ee.b])],K,"tokenRefresh",null),(0,i.Cg)([(0,e.MD)([ee.b])],K,"current",null)},5004:(Ot,ke,w)=>{"use strict";w.d(ke,{b:()=>$e});var i=w(1635),e=w(7705),ee=w(8617),K=w(7673),ae=w(9437),Z=w(5558),$=w(1432),z=w(3319),ge=w(9210),J=w(3489),Be=w(9594),pe=w(6497),ze=w(6541),xe=w(3973),Fe=w(3835);let $e=class qm{constructor(_e,B,H,ie,fe,Le,_t){this.accountApi=_e,this.authApi=B,this.localStorage=H,this.router=ie,this.analytics=fe,this.pianoExperienceService=Le,this.pianoService=_t,this.loggingIn=!1,this.handleStorageEvents=(Pt,re)=>{"fsn.token"===Pt.key&&re.patchState({token:JSON.parse(Pt.newValue)}),"fsn.token_refresh"===Pt.key&&re.patchState({tokenRefresh:JSON.parse(Pt.newValue)})}}saveAuthStatus(_e){sessionStorage.setItem("fsn.as",_e.toString())}setAnalyticsUser(_e){!function le(it,_e){const B=_e.pianoId||null,H={};return _e.licenseeId&&(H.company_id=_e.licenseeId),_e.licenseeName&&(H.company_name=_e.licenseeName),it.setUserId(B),it.setUserProperties(H),B}(this.analytics,_e)&&(0,e.naY)()&&console.warn("[Analytics] Authenticated user has no Piano ID; GA4 user_id is unset.")}clearAnalyticsUser(){!function W(it){it.setUserId(null),it.clearUserProperties()}(this.analytics)}getDomainFromIdentifier(_e){return(_e||"").trim().toLowerCase().split("@").pop()||""}getCompanyNameFromUserIdentifier(_e){return this.getDomainFromIdentifier(_e.email||_e.username||_e.userName||"")}normalizeUser(_e){return _e&&{..._e,companyName:this.getCompanyNameFromUserIdentifier(_e)}}storeUser(_e){const B=this.normalizeUser(_e);return this.localStorage.setItem("user",B),B}applyAuthenticatedUser(_e,B){const H=this.storeUser(B.user);this.localStorage.setItem("token",B.accessToken),this.localStorage.setItem("token_refresh",B.refreshToken),this.setAnalyticsUser(H),_e({user:H,token:B.accessToken,tokenRefresh:B.refreshToken,current:{status:B.status}}),this.saveAuthStatus(B.status)}ngxsOnInit(_e){let B=this.localStorage.getItem("user"),H=this.localStorage.getItem("token"),ie=this.localStorage.getItem("token_refresh");if(B){const fe=this.normalizeUser(B);fe.companyName!==B.companyName&&(this.localStorage.setItem("user",fe),B=fe)}window.addEventListener("storage",fe=>{this.handleStorageEvents(fe,_e)}),this.pianoService.whenPianoIdReady(fe=>{fe.pianoId.isUserValid()||(this.localStorage.removeItem("user"),this.localStorage.removeItem("token"),this.localStorage.removeItem("token_refresh"),B=null,H=null,ie=null);var Le=$.T.NotLoggedIn;B&&H&&(Le=B.hasAccess?$.T.Successful:$.T.PlatformAccessDenied),this.saveAuthStatus(Le),B&&H?this.setAnalyticsUser(B):this.clearAnalyticsUser(),_e.setState({user:B,token:H,tokenRefresh:ie,current:{status:Le}})})}pianoLogin({patchState:_e},B){return this.loggingIn=!0,this.localStorage.removeItem("user"),this.localStorage.removeItem("token"),this.localStorage.removeItem("token_refresh"),this.clearAnalyticsUser(),this.authApi.authenticateUsingPiano({accessToken:B.token}).pipe((0,ae.W)(ie=>(this.loggingIn=!1,this.pianoService.logoutFromPiano(),this.saveAuthStatus($.T.Error),(0,K.of)({status:$.T.Error})))).subscribe(ie=>{this.loggingIn=!1,ie.user&&ie.accessToken?(this.applyAuthenticatedUser(_e,ie),this.analytics.event("login",{method:"platform"})):_e({user:null,token:null,current:{status:ie.status}}),this.saveAuthStatus(ie.status),this.pianoExperienceService.pushUserVariables()})}logout({patchState:_e}){this.clearAnalyticsUser(),this.authApi.logout(this.localStorage.getItem("token_refresh")).subscribe(),this.localStorage.removeItem("user"),this.localStorage.removeItem("token"),this.localStorage.removeItem("token_refresh"),this.pianoService.logoutFromPiano(),_e({user:null,token:null,current:{status:$.T.NotLoggedIn}}),this.saveAuthStatus($.T.NotLoggedIn),this.router.navigate(["/"])}refreshToken({patchState:_e},B){this.localStorage.setItem("token",B.token),this.localStorage.setItem("token_refresh",B.refreshToken),_e({token:B.token,tokenRefresh:B.refreshToken})}switchCulture({patchState:_e},B){return this.authApi.switchCulture({siteCultureId:B.siteCultureId}).pipe((0,Z.n)(H=>{if(H){const ie=this.storeUser(H.user);return this.localStorage.setItem("token",H.token),this.setAnalyticsUser(ie),_e({user:ie,token:H.token}),(0,K.of)(!0)}return(0,K.of)(!1)}))}switchDarkMode({patchState:_e}
1,B){return this.authApi.switchDarkMode({darkMode:B.isDarkMode}).pipe((0,Z.n)(H=>{if(H){const ie=this.storeUser(H.user);return this.localStorage.setItem("token",H.token),this.setAnalyticsUser(ie),_e({user:ie,token:H.token}),(0,K.of)(!0)}return(0,K.of)(!1)}))}switchTimezone({patchState:_e},B){return this.authApi.switchTimeZone({timeZone:B.timeZone}).pipe((0,Z.n)(H=>{if(H){const ie=this.storeUser(H.user);return this.localStorage.setItem("token",H.token),this.setAnalyticsUser(ie),_e({user:ie,token:H.token}),(0,K.of)(!0)}return(0,K.of)(!1)}))}static{this.\u0275fac=function(B){return new(B||qm)(e.KVO(ge.y),e.KVO(J.x),e.KVO(Be.D),e.KVO(pe.Ix),e.KVO(ze.c),e.KVO(xe.p),e.KVO(Fe.F))}}static{this.\u0275prov=e.jDH({token:qm,factory:qm.\u0275fac})}};(0,i.Cg)([(0,ee.rc)(z.z.FsnLogin)],$e.prototype,"pianoLogin",null),(0,i.Cg)([(0,ee.rc)(z.z.Logout)],$e.prototype,"logout",null),(0,i.Cg)([(0,ee.rc)(z.z.RefreshToken)],$e.prototype,"refreshToken",null),(0,i.Cg)([(0,ee.rc)(z.z.SwitchCulture)],$e.prototype,"switchCulture",null),(0,i.Cg)([(0,ee.rc)(z.z.SwitchDarkMode)],$e.prototype,"switchDarkMode",null),(0,i.Cg)([(0,ee.rc)(z.z.SwitchTimeZone)],$e.prototype,"switchTimezone",null),$e=(0,i.Cg)([(0,ee.Uw)({name:"user",defaults:{user:void 0,token:void 0,tokenRefresh:void 0,current:void 0}})],$e)},1284:(Ot,ke,w)=>{"use strict";w.d(ke,{M:()=>Fe});var i=w(6497),e=w(5964),ee=w(6977),K=w(510),ae=w(148),Z=w(7705),$=w(8617);const z=function(){return["/account/planners"]},le=function(){return["/account/my-alerts/search-alerts"]},W=function(){return["/account/my-alerts/saved-searches"]},ge=function(){return["/account/my-alerts/tracker-alerts"]},J=function(){return["/account/settings"]},Be=function(){return["/account/my-account"]};let pe=(()=>{class $e extends K.$G{constructor(_e){super(),this.router=_e,this.isNewslettersActive=!1}ngOnInit(){this.isNewslettersActive="/account/newsletters"==window.location.pathname,this.router.events.pipe((0,e.p)(_e=>_e instanceof i.wF)).subscribe(_e=>{this.isNewslettersActive=!1})}static{this.\u0275fac=function(B){return new(B||$e)(Z.rXU(i.Ix))}}static{this.\u0275cmp=Z.VBU({type:$e,selectors:[["account-sidebar"]],features:[Z.Vt3],decls:23,vars:14,consts:[["routerLinkActive","active"],[3,"routerLink"],["href","/account/newsletters"]],template:function(B,H){1&B&&(Z.j41(0,"nav")(1,"ul")(2,"li",0)(3,"a",1),Z.EFF(4,"My Planners"),Z.k0s()(),Z.j41(5,"li",0)(6,"a",1),Z.EFF(7,"Search Alerts"),Z.k0s()(),Z.j41(8,"li",0)(9,"a",1),Z.EFF(10,"Saved Searches"),Z.k0s()(),Z.j41(11,"li",0)(12,"a",1),Z.EFF(13,"Tracker Alerts"),Z.k0s()(),Z.j41(14,"li")(15,"a",2),Z.EFF(16,"Newsletters"),Z.k0s()(),Z.j41(17,"li",0)(18,"a",1),Z.EFF(19,"Settings"),Z.k0s()(),Z.j41(20,"li",0)(21,"a",1),Z.EFF(22,"My Account"),Z.k0s()()()()),2&B&&(Z.R7$(3),Z.Y8G("routerLink",Z.lJ4(8,z)),Z.R7$(3),Z.Y8G("routerLink",Z.lJ4(9,le)),Z.R7$(3),Z.Y8G("routerLink",Z.lJ4(10,W)),Z.R7$(3),Z.Y8G("routerLink",Z.lJ4(11,ge)),Z.R7$(2),Z.AVh("active",H.isNewslettersActive),Z.R7$(4),Z.Y8G("routerLink",Z.lJ4(12,J)),Z.R7$(3),Z.Y8G("routerLink",Z.lJ4(13,Be)))},dependencies:[i.Wk,i.wQ],styles:[".is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]{background-color:#e6e6ff}.is-dark-mode[_nghost-%COMP%]   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   ul[_ngcontent-%COMP%]{color:#26224f}[_nghost-%COMP%]:not(.is-dark-mode)   ul[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%]{background-color:#e6e6ff}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin-top:21px;font-size:14px;font-weight:700}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:10px;height:34px;line-height:34px;border-top-left-radius:6px;border-bottom-left-radius:6px}[_nghost-%COMP%]   nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}"]})}}return $e})();const xe=[{path:"account",component:(()=>{class $e extends K.$G{constructor(_e){super(),this.store=_e}ngOnInit(){this.store.select(ae.is.user).pipe((0,e.p)(_e=>void 0!==_e),(0,e.p)(_e=>null!==_e),(0,ee.Q)(this.destroyed$)).subscribe(_e=>{this.isDarkMode=_e.isDarkMode})}static{this.\u0275fac=function(B){return new(B||$e)(Z.rXU($.il))}}static{this.\u0275cmp=Z.VBU({type:$e,selectors:[["ng-component"]],features:[Z.Vt3],decls:6,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-2"],[1,"col-9"]],template:function(B,H){1&B&&(Z.j41(0,"div",0)(1,"div",1)(2,"div",2),Z.nrm(3,"account-sidebar"),Z.k0s(),Z.j41(4,"div",3),Z.nrm(5,"router-outlet"),Z.k0s()()()),2&B&&(Z.R7$(2),Z.AVh("is-dark-mode",H.isDarkMode),Z.R7$(1),Z.AVh("is-dark-mode",H.isDarkMode),Z.R7$(1),Z.AVh("is-dark-mode",H.isDarkMode))},dependencies:[i.n3,pe],styles:["[_nghost-%COMP%]{padding-top:30px}[_nghost-%COMP%]   .col-2[_ngcontent-%COMP%]{padding-right:0}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%]{min-height:600px;transition:background-color .4s ease,color .4s ease,border-color .4s ease;padding:7px 7px 30px 18px}[_nghost-%COMP%]   .col-9.is-dark-mode[_ngcontent-%COMP%]{background-color:#131128}[_nghost-%COMP%]   .col-9[_ngcontent-%COMP%]:not(.is-dark-mode){background-color:#fff}"]})}}return $e})(),children:[{path:"my-alerts",loadChildren:()=>Promise.all([w.e(590),w.e(945)]).then(w.bind(w,2945)).then($e=>$e.MyAlertsModule)},{path:"planners",loadChildren:()=>Promise.all([w.e(590),w.e(577)]).then(w.bind(w,1577)).then($e=>
1$e.MyPlannersModule)},{path:"settings",loadChildren:()=>w.e(405).then(w.bind(w,405)).then($e=>$e.SettingsModule)},{path:"newsletters",loadChildren:()=>w.e(814).then(w.bind(w,3814)).then($e=>$e.NewslettersModule)},{path:"my-account",loadChildren:()=>w.e(358).then(w.bind(w,9358)).then($e=>$e.MyDetailsModule)}]}];let Fe=(()=>{class $e{static{this.\u0275fac=function(B){return new(B||$e)}}static{this.\u0275mod=Z.$C({type:$e})}static{this.\u0275inj=Z.G2t({imports:[i.iI.forChild(xe),i.iI]})}}return $e})()},4285:(Ot,ke,w)=>{"use strict";w.r(ke),w.d(ke,{AccountModule:()=>z});var i=w(510),e=w(8766),ee=w(810),K=w(9998),ae=w(7705);let Z=(()=>{class le{static{this.\u0275fac=function(J){return new(J||le)}}static{this.\u0275mod=ae.$C({type:le})}static{this.\u0275inj=ae.G2t({imports:[ee.YN,i.V2,K.X]})}}return le})();var $=w(1284);let z=(()=>{class le{static{this.\u0275fac=function(J){return new(J||le)}}static{this.\u0275mod=ae.$C({type:le})}static{this.\u0275inj=ae.G2t({imports:[i.V2,e.Us,Z,$.M]})}}return le})()},8054:(Ot,ke,w)=>{"use strict";w.d(ke,{t9:()=>_e});var i=w(4412),e=w(4668),ee=w(3294),K=w(6354),ae=w(152),Z=w(5558),$=w(7376),le=w(7374),ge=w(510),J=w(1721),Be=w(8124),pe=w(7705),ze=w(6497),xe=w(2251);class $e{constructor(){this.pageNo=1,this.showAll=!1,this.ids=[],this.active=!0}}class it{constructor(){this.view="grid",this.pageNo=1,this.pageSize=21,this.viewAll=!1,this.text="",this.displayedDate=null,this.dateRangeId=[],this.dateSelection=null,this.dateOptions=[],this.newDateRangeId=[],this.updatedDateRangeId=[],this.keyEventTopStoryId=[],this.embargoed=[],this.eventTypeIds=[],this.globalRegionIds=[],this.contentListIds=[],this.contentListName="",this.ukPolitics=new $e,this.ukHomeAffairs=new $e,this.ukWorld=new $e,this.ukBusinessEconomy=new $e,this.ukHealthScience=new $e,this.ukCultureSport=new $e,this.ukRegionIds=[],this.usPolitics=new $e,this.usBusinessEconomy=new $e,this.usLawSecurity=new $e,this.usScienceSportArts=new $e,this.usWorld=new $e,this.usCultureSport=new $e,this.usNortheastRegionIds=[],this.usMidwestRegionIds=[],this.usSouthRegionIds=[],this.usWestRegionIds=[]}}let _e=(()=>{class B{constructor(ie,fe,Le,_t,Pt){this.router=ie,this.route=fe,this.dateTransformer=Le,this.eventsApi=_t,this.accountApi=Pt,this.searchParams=new i.t(null),this.ukCategories=Be.XE,this.ukAllCategoryParams=Be.E_,this.usCategories=Be.F9,this.usAllCategoryParams=Be.mf,this.hasFilters=new i.t(!1),this.navigate$=new i.t({}),this.defaultSort=1,this.sortByRelevance=2,this.lastParams=null,this.excludeId=-1,this.pinAll=()=>{let re=this.paramsToRm(this.searchParams.value);return this.accountApi.pinAllForSearch(re,"list"==this.searchParams.value.view)},this.getSearchParams=()=>this.searchParams.pipe((0,e.t)({bufferSize:1,refCount:!0})),this.getQueryParams=(re,Te="",mt=0,ht)=>{let Xt=new Date,gt="-1";const gn={view:ht?"list":re.view&&"grid"!==re.view?re.view:void 0,pageNo:re.pageNo>1?re.pageNo:void 0,text:re.text||void 0,displayedDate:re.displayedDate,dateRangeId:re.dateRangeId?.length?re.dateRangeId?.join(","):void 0,startDate:re.dateSelection&&re.dateSelection.startDate&&re.dateSelection.startDate>=Xt?le(re.dateSelection.startDate).format("YYYY-MM-DD"):void 0,dateOptions:re.dateOptions?.length?re.dateOptions?.join(","):void 0,endDate:re.dateSelection&&re.dateSelection.endDate&&re.dateSelection.endDate>=Xt?le(re.dateSelection.endDate).format("YYYY-MM-DD"):void 0,newDateRangeId:re.newDateRangeId?.length?re.newDateRangeId?.join(","):void 0,updatedDateRangeId:re.updatedDateRangeId?.length?re.updatedDateRangeId?.join(","):void 0,keyEventTopStoryId:re.keyEventTopStoryId?.length?re.keyEventTopStoryId?.join(","):void 0,embargoed:re.embargoed?.length?re.embargoed?.join(","):void 0,eventTypeIds:re.eventTypeIds?.length?re.eventTypeIds?.join(","):void 0,globalRegionIds:re.globalRegionIds?.length?re.globalRegionIds?.join(","):void 0,ukPoliticsIds:this.getCategoryIds(re.ukPolitics,gt),ukPoliticsViewAll:re.ukPolitics?.showAll?re.ukPolitics?.showAll:void 0,ukHomeAffairsIds:this.getCategoryIds(re.ukHomeAffairs,gt),ukHomeAffairsViewAll:re.ukHomeAffairs?.showAll?re.ukHomeAffairs?.showAll:void 0,ukWorldIds:this.getCategoryIds(re.ukWorld,gt),ukWorldViewAll:re.ukWorld?.showAll?re.ukWorld?.showAll:void 0,ukBusinessEconomyIds:this.getCategoryIds(re.ukBusinessEconomy,gt),u
1kBusinessEconomyViewAll:re.ukBusinessEconomy?.showAll?re.ukBusinessEconomy?.showAll:void 0,ukHealthScienceIds:this.getCategoryIds(re.ukHealthScience,gt),ukHealthScienceViewAll:re.ukHealthScience?.showAll?re.ukHealthScience?.showAll:void 0,ukCultureSportIds:this.getCategoryIds(re.ukCultureSport,gt),ukCultureSportViewAll:re.ukCultureSport?.showAll?re.ukCultureSport?.showAll:void 0,ukRegionIds:re.ukRegionIds?.length?re.ukRegionIds?.join(","):void 0,usPoliticsIds:this.getCategoryIds(re.usPolitics,gt),usPoliticsViewAll:re.usPolitics?.showAll?re.usPolitics?.showAll:void 0,usBusinessEconomyIds:this.getCategoryIds(re.usBusinessEconomy,gt),usBusinessEconomyViewAll:re.usBusinessEconomy?.showAll?re.usBusinessEconomy?.showAll:void 0,usLawSecurityIds:this.getCategoryIds(re.usLawSecurity,gt),usLawSecurityViewAll:re.usLawSecurity?.showAll?re.usLawSecurity?.showAll:void 0,usScienceSportArtsIds:this.getCategoryIds(re.usScienceSportArts,gt),usScienceSportArtsViewAll:re.usScienceSportArts?.showAll?re.usScienceSportArts?.showAll:void 0,usWorldIds:this.getCategoryIds(re.usWorld,gt),usWorldViewAll:re.usWorld?.showAll?re.usWorld?.showAll:void 0,usCultureSportIds:this.getCategoryIds(re.usCultureSport,gt),usCultureSportViewAll:re.usCultureSport?.showAll?re.usCultureSport?.showAll:void 0,usNortheastRegionIds:re.usNortheastRegionIds?.length?re.usNortheastRegionIds?.join(","):void 0,usMidwestRegionIds:re.usMidwestRegionIds?.length?re.usMidwestRegionIds?.join(","):void 0,usSouthRegionIds:re.usSouthRegionIds?.length?re.usSouthRegionIds?.join(","):void 0,usWestRegionIds:re.usWestRegionIds?.length?re.usWestRegionIds?.join(","):void 0,alertId:""!==Te?Te:void 0,sc:0!=mt?mt:void 0};return Object.entries(gn).filter(([,Je])=>void 0!==Je).reduce((Je,[ve,te])=>({...Je,[ve]:te}),{})},this.getCategoryIds=(re,Te)=>re?.ids?.length?re.ids.join(","):re?.active?void 0:Te,this.getSearchResults=()=>this.searchResults.pipe((0,e.t)({bufferSize:1,refCount:!0})),this.clearFilters=()=>{this.router.navigate([])},this.setView=re=>{this.navigateOnce({view:re,page:null,hotTopicPage:null})},this.setPageNo=re=>{this.navigateOnce({page:re})},this.setMultiple=re=>{this.navigateOnce(re)},this.setBool=(re,Te)=>{this.navigateOnce({[Te]:re,page:null})},this.setText=(re,Te)=>{let mt={[Te]:re||null,page:null};"text"==Te&&re&&(mt.sort=this.sortByRelevance),this.navigateOnce(mt)},this.setDateRangeIds=(re,Te)=>{let mt=Te?Te+"DateRangeId":"dateRangeId",ht=Te?Te+"StartDate":"startDate",Xt=Te?Te+"EndDate":"endDate",gt=this.resetPageParams();gt[mt]=re.length?re.join(","):null,gt[ht]=null,gt[Xt]=null,Te||(gt.displayedDate=null),gt.page=null,this.navigateOnce(gt)},this.setDateSelection=(re,Te)=>{let mt=Te?Te+"DateRangeId":"dateRangeId",ht=Te?Te+"StartDate":"startDate",Xt=Te?Te+"EndDate":"endDate",gt=re&&re.startDate?le(re.startDate).format("YYYY-MM-DD"):null,gn=re&&re.endDate?le(re.endDate).format("YYYY-MM-DD"):null,Je=this.resetPageParams();Je[ht]=gt,Je[Xt]=gn,Je[mt]=null,Je.displayedDate=null,Je.page=null,this.navigateOnce(Je)},this.clearDateRange=(re,Te)=>{let mt=this.resetPageParams();mt[re]=null,mt[Te]=null,mt.displayedDate=null,mt.page=null,this.navigateOnce(mt)},this.setDate=(re,Te)=>{let mt=this.resetPageParams(),ht=re?le(re).format("YYYY-MM-DD"):null;mt[Te]=ht,mt.page=null,this.navigateOnce(mt)},this.setIds=(re,Te)=>{this.navigateOnce({[Te]:re.length?re.join(","):null,page:null})},this.switchCulture=re=>{let Te={...this.route.snapshot.queryParams},mt={...this.route.snapshot.queryParams};(re==ge._u.GB?this.usAllCategoryParams:this.ukAllCategoryParams).forEach(Xt=>{"eventTypeIds"!==Xt&&"globalRegionIds"!==Xt&&delete mt[Xt]}),(0,$.isEqual)(Te,mt)&&(mt.sc=re),mt.page=null,this.router.navigate([],{relativeTo:this.route,queryParams:mt})},this.clearContentList=(re,Te)=>{this.navigateOnce({[re]:null,[Te]:null,contentbutton:null})},this.clearParamForSiteCulture=(re,Te)=>{this.navigateOnce({[re]:null})},this.resetPageParams=()=>{let re=[...Be.gz,...Be.wv];return Object.fromEntries(re.map(mt=>[mt,null]))},this.parseQueryParams=re=>{let Te=new it;return Te.displayedDate=this.parseDate(re,"displayedDate"),Te.dateSelection=this.parseDateSelection(re,"startDate","endDate"),Te.view=this.parseText(re,"view"),Te.pageNo=this.parsePageNo(re,"page"),Te.viewAll=this.parseBool(re,"viewAll"),Te.text=this.parseText(re,"text"),Te.dateRangeId=this.parseIds(re,"dateRangeId"),Te.dateOptions=this.parseIds(re,"dateOptions"),Te.newDateRangeId=this.parseIds(re,"newDateRangeId"),Te.updatedDateRangeId=this.parseIds(re,"updatedDateRangeId"),Te.keyEventTopStoryId=this.parseIds(re,"keyEventTopStoryId"),Te.embargoed=this.parseIds(re,"embargoed"),Te.eventTypeIds=this.parseIds(re,"eventTypeIds"),Te.globalRegionIds=this.parseIds(re,"globalRegionIds"),Te.contentListIds=this.parseIds(re,"contentListIds"),Te.contentListName=this.parseText(re,"contentListName"),this.ukCategories.forEac
1h(mt=>{mt.toLowerCase().includes("region")?Te[mt]=this.parseIds(re,mt):Te[mt.replace("Ids","")]={pageNo:this.parsePageNo(re,mt.replace("Ids","Page")),showAll:this.parseBool(re,mt.replace("Ids","ViewAll")),ids:this.parseIds(re,mt),active:this.parseIsActive(re,mt)}}),this.usCategories.forEach(mt=>{mt.toLowerCase().includes("region")?Te[mt]=this.parseIds(re,mt):Te[mt.replace("Ids","")]={pageNo:this.parsePageNo(re,mt.replace("Ids","Page")),showAll:this.parseBool(re,mt.replace("Ids","ViewAll")),ids:this.parseIds(re,mt),active:this.parseIsActive(re,mt)}}),this.setDefaults(Te),this.checkForSetFilters(Te),Te},this.parsePageNo=(re,Te)=>{if(re[Te]&&!isNaN(re[Te])){const mt=parseInt(re[Te],10);if(mt>0)return mt}return 1},this.parseDate=(re,Te)=>re[Te]?re[Te]:null,this.parseText=(re,Te)=>re[Te]?re[Te]:"view"==Te?"grid":"",this.parseDateSelection=(re,Te,mt)=>re[Te]||re[mt]?{startDate:re[Te]?re[Te]:null,endDate:re[mt]?re[mt]:null}:null,this.parseIsActive=(re,Te)=>!(re[Te]&&+re[Te]===this.excludeId),this.parseIds=(re,Te)=>{if(re[Te]&&`${re[Te]}`!=`${this.excludeId}`){const mt=(0,$.split)(re[Te],",");return(0,$.map)(mt,ht=>(0,$.toNumber)(ht))}return[]},this.parseBool=(re,Te)=>"true"===re[Te],this.paramsToRm=re=>{let Te=new J.aE;return Te.pageNo=re.pageNo,Te.pageSize=re.pageSize,Te.text=re.text,Te.dateRangeId=re.dateRangeId?re.dateRangeId[0]:null,Te.displayedDate=re.displayedDate?this.dateTransformer.compensateForSend(le(re.displayedDate).toDate()):null,Te.startDate=re.dateSelection&&re.dateSelection.startDate?this.dateTransformer.compensateForSend(le(re.dateSelection.startDate).toDate()):null,Te.endDate=re.dateSelection&&re.dateSelection.endDate?this.dateTransformer.compensateForSend(le(re.dateSelection.endDate).toDate()):null,Te.newDateRangeId=re.newDateRangeId?re.newDateRangeId[0]:null,Te.updatedDateRangeId=re.updatedDateRangeId?re.updatedDateRangeId[0]:null,Te.keyEventTopStoryId=re.keyEventTopStoryId?re.keyEventTopStoryId[0]:null,Te.embargoed=re.embargoed?re.embargoed[0]:null,Te.eventTypeIds=re.eventTypeIds,Te.globalRegionIds=re.globalRegionIds,Te.contentListIds=re.contentListIds,Te.ukPolitics=re.ukPolitics,Te.ukHomeAffairs=re.ukHomeAffairs,Te.ukWorld=re.ukWorld,Te.ukBusinessEconomy=re.ukBusinessEconomy,Te.ukHealthScience=re.ukHealthScience,Te.ukCultureSport=re.ukCultureSport,Te.ukRegionIds=re.ukRegionIds,Te.usPolitics=re.usPolitics,Te.usBusinessEconomy=re.usBusinessEconomy,Te.usLawSecurity=re.usLawSecurity,Te.usScienceSportArts=re.usScienceSportArts,Te.usWorld=re.usWorld,Te.usCultureSport=re.usCultureSport,Te.usNortheastRegionIds=re.usNortheastRegionIds,Te.usMidwestRegionIds=re.usMidwestRegionIds,Te.usSouthRegionIds=re.usSouthRegionIds,Te.usWestRegionIds=re.usWestRegionIds,Te},this.route.queryParams.pipe((0,ee.F)(),(0,K.T)(re=>this.filterQueryParams(re,["articleId","basketPage","basketViewAll","alertId"]))).subscribe(re=>{this.lastParams&&(0,$.isEqual)(re,this.lastParams)||(this.searchParams.next(this.parseQueryParams(re)),this.lastParams=re)}),this.searchResults=this.searchParams.pipe((0,ee.F)(),(0,ae.B)(500),(0,Z.n)(re=>{let Te=this.paramsToRm(re);return"list"==re.view?this.eventsApi.searchForList(Te):this.eventsApi.searchForGrid(Te)})),this.navigate$.pipe((0,ae.B)(100)).subscribe(re=>{this.router.navigate([],{relativeTo:this.route,queryParams:re,queryParamsHandling:"merge"})})}filterQueryParams(ie,fe){return Object.keys(ie).filter(Le=>!fe.includes(Le)).reduce((Le,_t)=>(Le[_t]=ie[_t],Le),{})}navigateOnce(ie){ie.pageNo||(ie.pageNo=null),this.navigate$.next(ie)}setDefaults(ie){var fe=new Date;fe.setHours(0,0,0,0),null==ie.dateSelection&&(ie.dateSelection={startDate:fe,endD
1ate:null}),null==ie.dateSelection.startDate&&(ie.dateSelection.startDate=fe)}checkForSetFilters(ie){let fe=(0,$.cloneDeep)(ie),Le=(0,$.cloneDeep)(new it);if(delete Le.pageNo,delete Le.view,delete Le.displayedDate,delete fe.pageNo,delete fe.view,delete fe.displayedDate,delete fe.usScienceSportArt,this.removePropertiesByKeySubstring(fe,"pageNo"),this.removePropertiesByKeySubstring(Le,"pageNo"),this.removePropertiesByKeySubstring(fe,"showAll"),this.removePropertiesByKeySubstring(Le,"showAll"),null!=fe.dateSelection){let _t=le(),Pt=le(fe.dateSelection.startDate);_t.format("YYYY-MMM-DD")==Pt.format("YYYY-MMM-DD")&&null===fe.dateSelection.endDate&&(Le.dateSelection=fe.dateSelection)}this.hasFilters.next(JSON.stringify(fe)!==JSON.stringify(Le))}removePropertiesByKeySubstring(ie,fe){for(const Le in ie)ie.hasOwnProperty(Le)&&(Le.includes(fe)?delete ie[Le]:"object"==typeof ie[Le]&&null!==ie[Le]&&this.removePropertiesByKeySubstring(ie[Le],fe))}static{this.\u0275fac=function(fe){return new(fe||B)(pe.KVO(ze.Ix),pe.KVO(ze.nX),pe.KVO(ge.Ow),pe.KVO(xe._y),pe.KVO(xe.yo))}}static{this.\u0275prov=pe.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}}return B})()},2200:(Ot,ke,w)=>{"use strict";w.d(ke,{ZK:()=>it,dE:()=>_e});var i=w(7705),e=w(8617),ee=w(1635),K=w(6497),ae=w(8359);class Z{constructor(H,ie,fe){this.path=H,this.queryParams=ie,this.extras=fe}static get type(){return"[Router] Navigate"}}class ${constructor(H,ie,fe="none"){this.routerState=H,this.event=ie,this.trigger=fe}static get type(){return"[Router] RouterRequest"}}class z{constructor(H,ie,fe="none"){this.routerState=H,this.event=ie,this.trigger=fe}static get type(){return"[Router] RouterNavigation"}}class le{constructor(H,ie,fe,Le="none"){this.routerState=H,this.storeState=ie,this.event=fe,this.trigger=Le}static get type(){return"[Router] RouterCancel"}}class W{constructor(H,ie,fe,Le="none"){this.routerState=H,this.storeState=ie,this.event=fe,this.trigger=Le}static get type(){return"[Router] RouterError"}}class ge{constructor(H,ie,fe="none"){this.routerState=H,this.event=ie,this.trigger=fe}static get type(){return"[Router] RouterDataResolved"}}class J{constructor(H,ie,fe="none"){this.routerState=H,this.event=ie,this.trigger=fe}static get type(){return"[Router] RouterNavigated"}}class Be{}class pe{serialize(H){return{root:this.serializeRoute(H.root),url:H.url}}serializeRoute(H){const ie=H.children.map(fe=>this.serializeRoute(fe));return{url:H.url,params:H.params,queryParams:H.queryParams,fragment:H.fragment,data:H.data,outlet:H.outlet,component:null,routeConfig:null,root:null,parent:null,firstChild:ie[0],children:ie,pathFromRoot:null,paramMap:H.paramMap,queryParamMap:H.queryParamMap,toString:H.toString}}}const ze=new i.nKC("USER_OPTIONS",{providedIn:"root",factory:()=>{}}),xe=new i.nKC("NGXS_ROUTER_PLUGIN_OPTIONS",{providedIn:"root",factory:()=>({})});function Fe(B){return{navigationActionTiming:B&&B.navigationActionTiming||1}}var $e;let it=$e=class{constructor(H,ie,fe,Le,_t){this._store=H,this._router=ie,this._serializer=fe,this._ngZone=Le,this._trigger="none",this._routerState=null,this._storeState=null,this._lastEvent=null,this._subscription=new ae.yU,this._options=null,this._options=_t.get(xe,null),this._setUpStoreListener(),this._setUpRouterEventsListener()}static state(H){return H&&H.state}static url(H){return H&&H.state&&H.state.url}ngOnDestroy(){this._subscription.unsubscribe()}navigate(H,ie){return this._ngZone.run(()=>this._router.navigate(ie.path,Object.assign({queryParams:ie.queryParams},ie.extras)))}angularRouterAction(H,ie){H.setState({trigger:ie.trigger,state:ie.routerState,navigationId:ie.event.id})}_setUpStoreListener(){const H=this._store.select($e).subscribe(ie=>{this._navigateIfNeeded(ie)});this._subscription.add(H)}_navigateIfNeeded(H){H&&"devtools"===H.trigger&&(this._storeState=this._store.selectSnapshot($e)),this._storeState&&this._storeState.state&&H&&"router"!==H.trigger&&this._router.url!==this._storeState.state.url&&!(this._lastEvent instanceof K.Z)&&(this._storeState=this._store.selectSnapshot($e),this._trigger="store",this._ngZone.run(()=>this._router.navigateByUrl(this._storeState.state.url)))}_setUpRouterEventsListener(){const H=null!=this._options&&2===this._options.navigationActionTiming;let ie;const fe=this._router.events.subscribe(Le=>{this._lastEvent=Le,Le instanceof K.Z?this._navigationStart(Le):Le instanceof K.ld?(ie=Le,!H&&"store"!==this._trigger&&this._dispatchRouterNavigation(ie)):Le instanceof K.gx?this._dispatchRouterDataResolved(Le):Le instanceof K.j5?(this._dispatchRouterCancel(Le),this._reset()):Le instanceof K.L6?(this._dispatchRouterError(Le),this._reset()):Le instanceof K.wF&&("store"!==this._trigger&&(H&&this._dispatchRouterNavigation(ie),this._dispatchRouterNavigated(Le)),this._reset())});this._subscription.add(fe)}_navigationStart(H){this._routerState=this._serializer.serialize(this._router.routerState.snapshot),"none"!==this._trigger&&(this._storeState=this._store.selectSnapshot($e),this._dispatchRouterAction(new $(this._routerState,H,this._trigger)))}_dispatchRouterDataResolved(H){const ie=this._serializer.serialize(H.state);this._dispatchRouterAction(new ge(ie,H,this._trigger))}_dispatchRouterNavigation(H){const ie=this._serializer.serialize(H.state);this._dispatchRouterAction(new z(ie,new K.ld(H.id,H.url,H.urlAfterRedirects,ie),this._trigger))}_dispatchRouterCancel(H){this._dispatchRouterAction(new le(this._routerState,this._storeState,H,this._trigger))}_dispatchRouterError(H){this._dispatchRouterAction(new W(this._routerState,this._storeState,new K.L6(H.id,H.url,`${H}`),this._trigger))}_dispatchRouterNavigated(H){const ie=this._serializer.serialize(this._router.routerState.snapshot);this._dispatchRouterAction(new J(ie,H,this._trigger))}_dispatchRouterAction(H){this._trigger="router";try{this._store.dispatch(H)}finally{this._trigger="none"}}_reset(){this._trigger="none",this._storeState=null,this._routerState=null}};it.\u0275fac=function(H){return new(H||it)(i.KVO(e.il),i.KVO(K.Ix),i.KVO(Be),i.KVO(i.SKi),i.KVO(i.zZn))},it.\u0275prov=i.jDH({token:it,factory:it.\u0275fac}),(0,ee.Cg)([(0,e.rc)(Z),(0,ee.Sn)("design:type",Function),(0,ee.Sn)("design:paramtypes",[Object,Z]),(0,ee.Sn)("design:returntype",void 0)],it.prototype,"navigate",null),(0,ee.Cg)([(0,e.rc)([$,z,W,le,ge,J]),(0,ee.Sn)("design:type",Function),(0,ee.Sn)("design:paramtypes",[Object,Object]),(0,ee.Sn)("design:returntype",void 0)],it.prototype,"angularRouterAction",null),(0,ee.Cg)([(0,e.MD)(),(0,ee.Sn)("design:type",Function),(0,ee.Sn)("design:paramtypes",[Object]),(0,ee.Sn)("design:returntype",void 0)],it,"state",null),(0,ee.Cg)([(0,e.MD)(),(0,ee.Sn)("design:type",Function),(0,ee.Sn)("design:paramtypes",[Object]),(0,ee.Sn)("design:returntype",Object)],it,"url",null),it=$e=(0,ee.Cg)([(0,e.Uw)({name:"router",defaults:{state:void 0,navigationId:void 0,trigger:"none"}}),(0,ee.Sn)("design:paramtypes",[e.il,K.Ix,Be,i.SKi,i.zZn])],it);let _e=(()=>{class B{static forRoot(ie){return{ngModule:B,providers:[{provide:ze,useValue:ie},{provide:xe,useFactory:Fe,deps:[ze]}
1,{provide:Be,useClass:pe}]}}}return B.\u0275fac=function(ie){return new(ie||B)},B.\u0275mod=i.$C({type:B}),B.\u0275inj=i.G2t({imports:[[e.rK.forFeature([it])]]}),B})()},8617:(Ot,ke,w)=>{"use strict";w.d(ke,{rc:()=>gr,qu:()=>Fn,rK:()=>zs,l6:()=>lo,MD:()=>Vr,Uw:()=>jr,il:()=>Ro,Mz:()=>gs,Ak:()=>me});var i=w(7705),e=w(2771);let K=(()=>{class Q{constructor(){this.bootstrap$=new e.m(1)}get appBootstrapped$(){return this.bootstrap$.asObservable()}bootstrap(){this.bootstrap$.next(!0),this.bootstrap$.complete()}}return Q.\u0275fac=function(ce){return new(ce||Q)},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();function ae(Q,Se){return Q===Se}function $(Q,Se=ae){let ce=null,Oe=null;function Ve(){return function Z(Q,Se,ce){if(null===Se||null===ce||Se.length!==ce.length)return!1;const Oe=Se.length;for(let Ve=0;Ve<Oe;Ve++)if(!Q(Se[Ve],ce[Ve]))return!1;return!0}(Se,ce,arguments)||(Oe=Q.apply(null,arguments)),ce=arguments,Oe}return Ve.reset=function(){ce=null,Oe=null},Ve}let z=(()=>{class Q{static set(ce){this._value=ce}static pop(){const ce=this._value;return this._value={},ce}}return Q._value={},Q})();const le=new i.nKC("INITIAL_STATE_TOKEN",{providedIn:"root",factory:()=>z.pop()}),W=new i.nKC("\u0275NGXS_STATE_FACTORY"),ge=new i.nKC("\u0275NGXS_STATE_CONTEXT_FACTORY");var J=w(177),Be=w(1985),pe=w(1413),ze=w(4412),xe=w(7673),Fe=w(7468),$e=w(8810),it=w(983),_e=w(2806),B=w(4402),H=w(5964),ie=w(6354),fe=w(4668),Le=w(6697),_t=w(8750),Pt=w(9974),re=w(4360);function Te(Q,Se){return Se?ce=>ce.pipe(Te((Oe,Ve)=>(0,_t.Tg)(Q(Oe,Ve)).pipe((0,ie.T)((kt,Jt)=>Se(Oe,kt,Ve,Jt))))):(0,Pt.N)((ce,Oe)=>{let Ve=0,kt=null,Jt=!1;ce.subscribe((0,re._)(Oe,Mn=>{kt||(kt=(0,re._)(Oe,void 0,()=>{kt=null,Jt&&Oe.complete()}),(0,_t.Tg)(Q(Mn,Ve++)).subscribe(kt))},()=>{Jt=!0,!kt&&Oe.complete()}))})}var mt=w(1397),ht=w(9901),Xt=w(9437),gt=w(6977),gn=w(3294),Je=w(8141),ve=w(9172);function me(Q){return Q.constructor&&Q.constructor.type?Q.constructor.type:Q.type}const Ye=(Q,Se,ce)=>{Q=Object.assign({},Q);const Oe=Se.split("."),Ve=Oe.length-1;return Oe.reduce((kt,Jt,Mn)=>(kt[Jt]=Mn===Ve?ce:Array.isArray(kt[Jt])?kt[Jt].slice():Object.assign({},kt[Jt]),kt&&kt[Jt]),Q),Q},Me=(Q,Se)=>Se.split(".").reduce((ce,Oe)=>ce&&ce[Oe],Q),Ie=Q=>Q&&"object"==typeof Q&&!Array.isArray(Q),Ge=(Q,...Se)=>{if(!Se.length)return Q;const ce=Se.shift();if(Ie(Q)&&Ie(ce))for(const Oe in ce)Ie(ce[Oe])?(Q[Oe]||Object.assign(Q,{[Oe]:{}}),Ge(Q[Oe],ce[Oe])):Object.assign(Q,{[Oe]:ce[Oe]});return Ge(Q,...Se)};let Ei=(()=>{class Q{constructor(ce,Oe){this._ngZone=ce,this._platformId=Oe}enter(ce){return(0,J.Vy)(this._platformId)?this.runInsideAngular(ce):this.runOutsideAngular(ce)}leave(ce){return this.runInsideAngular(ce)}runInsideAngular(ce){return i.SKi.isInAngularZone()?ce():this._ngZone.run(ce)}runOutsideAngular(ce){return i.SKi.isInAngularZone()?this._ngZone.runOutsideAngular(ce):ce()}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(i.SKi),i.KVO(i.Agw))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const li=new i.nKC("ROOT_OPTIONS"),pi=new i.nKC("ROOT_STATE_TOKEN"),vn=new i.nKC("FEATURE_STATE_TOKEN"),Fn=new i.nKC("NGXS_PLUGINS"),ln="NGXS_META",Oi="NGXS_OPTIONS_META",Os="NGXS_SELECTOR_META";let Pi=(()=>{class Q{constructor(){this.defaultsState={},this.selectorOptions={injectContainerState:!0,suppressErrors:!0},this.compatibility={strictContentSecurityPolicy:!1},this.executionStrategy=Ei}}return Q.\u0275fac=function(ce){return new(ce||Q)},Q.\u0275prov=i.jDH({token:Q,factory:function(ce){let Oe=null;return ce?Oe=new ce:(Ve=i.KVO(li),Oe=Ge(new Q,Ve)),Oe;var Ve},providedIn:"root"}),Q})();class hn{constructor(Se,ce,Oe){this.previousValue=Se,this.currentValue=ce,this.firstChange=Oe}}let wi=(()=>{class Q{enter(ce){return ce()}leave(ce){return ce()}}return Q.\u0275fac=function(ce){return new(ce||Q)},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const to=new i.nKC("USER_PROVIDED_NGXS_EXECUTION_STRATEGY"),Kn=new i.nKC("NGXS_EXECUTION_STRATEGY",{providedIn:"root",factory:()=>{const Q=(0,i.WQX)(i.duS),Se=Q.get(to);return Q.get(Se||(typeof i.JZv.Zone<"u"?Ei:wi))}});function Ys(Q){if(!Q.hasOwnProperty(ln)){const Se={name:null,actions:{},defaults:{},path:null,makeRootSelector:ce=>ce.getStateGetter(Se.name),children:[]};Object.defineProperty(Q,ln,{value:Se})}return An(Q)}function An(Q){return Q[ln]}function Ri(Q){return Q[Os]}function xi(Q,Se){return Se&&Se.compatibility&&Se.compatibility.strictContentSecurityPolicy?function Ni(Q){const Se=Q.slice();return ce=>Se.reduce((Oe,Ve)=>Oe&&Oe[Ve],ce)}(Q):function sn(Q){const Se=Q;let ce="store."+Se[0],Oe=0;const Ve=Se.length;let kt=ce;for(;++Oe<Ve;)kt=kt+" && "+(ce=ce+"."+Se[Oe]);return new Function("store","return "+kt+";")}(Q)}function en(...Q){return function Re(Q,Se,ce=Ht){const Oe=function Wn(Q){return Q.reduce((Se,ce)=>(Se[me(ce)]=!0,Se),{})}(Q),Ve=Se&&function pn(Q){return Q.reduce((Se,ce)=>(Se[ce]=!0,Se),{})}(Se);return function(kt){return kt.pipe(function pt(Q,Se){return(0,H.p)(ce=>{const Oe=me(ce.action);return Q[Oe]&&(!Se||Se[ce.status])})}(Oe,Ve),ce())}}(Q,["DISPATCHED"])}function Ht(){return(0,ie.T)(Q=>Q.action)}function Sn(Q){return Se=>new Be.c(ce=>Se.subscribe({next(Oe){Q.leave(()=>ce.next(Oe))},error(Oe){Q.leave(()=>ce.error(Oe))},complete(){Q.leave(()=>ce.complete())}}))}let Wi=(()=>{class Q{constructor(ce){this._executionStrategy=ce}enter(ce){return this._executionStrategy.enter(ce)}leave(ce){return this._executionStrategy.leave(ce)}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Kn))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();function As(Q){const Se=[];let ce=!1;return function(...Ve){if(ce)Se.unshift(Ve);else{for(ce=!0,Q(...Ve);Se.length>0;){const kt=Se.pop();kt&&Q(...kt)}ce=!1}}}class at extends pe.B{constructor(){super(...arguments),this._orderedNext=As(Se=>super.next(Se))}next(Se){this._orderedNext(Se)}}class Ue extends ze.t{constructor(Se){super(Se),this._orderedNext=As(ce=>super.next(ce)),this._currentValue=Se}getValue(){return this._currentValue}next(Se){this._currentValue=Se,this._orderedNext(Se)}}let Xe=(()=>{class Q extends at{ngOnDestroy(){this.complete()}}return Q.\u0275fac=function(){let Se;return function(Oe){return(Se||(Se=i.xGo(Q)))(Oe||Q)}}(),Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();const Yt=Q=>(...Se)=>Q.shift()(...Se,(...Oe)=>Yt(Q)(...Oe));let Gt=(()=>{class Q{constructor(ce){this._injector=ce,this._errorHandler=null}reportErrorSafely(ce){null===this._errorHandler&&(this._errorHandler=this._injector.get(i.zcH));try{this._errorHandler.handleError(ce)}catch{}}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(i.zZn))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),wn=(()=>{class Q extends Ue{constructor(){super({})}ngOnDestroy(){this.complete()}}return Q.\u0275fac=function(ce){return new(ce||Q)},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Rn=(()=>{class Q{constructor(ce,Oe){this._parentManager=ce,this._pluginHandlers=Oe,this.plugins=[],this.registerHandlers()}get rootPlugins(){return this._parentManager&&this._parentManager.plugins||this.plugins}registerHandlers(){const ce=this.getPluginHandlers();this.rootPlugins.push(...ce)}getPluginHandlers(){return(this._pluginHandlers||[]).map(Oe=>Oe.handle?Oe.handle.bind(Oe):Oe)}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Q,12),i.KVO(Fn,8))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac}),Q})(),Ii=(()=>{class Q extends pe.B{}return Q.\u0275fac=function(){let Se;return function(Oe){return(Se||(Se=i.xGo(Q)))(Oe||Q)}}(),Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Ji=(()=>{class Q{constructor(ce,Oe,Ve,kt,Jt,Mn){this._actions=ce,this._actionResults=Oe,this._pluginManager=Ve,this._stateStream=kt,this._ngxsExecutionStrategy=Jt,this._internalErrorReporter=Mn}
1dispatch(ce){return this._ngxsExecutionStrategy.enter(()=>this.dispatchByEvents(ce)).pipe(function qt(Q,Se){return ce=>{let Oe=!1;return ce.subscribe({error:Ve=>{Se.enter(()=>Promise.resolve().then(()=>{Oe||Se.leave(()=>Q.reportErrorSafely(Ve))}))}}),new Be.c(Ve=>(Oe=!0,ce.pipe(Sn(Se)).subscribe(Ve)))}}(this._internalErrorReporter,this._ngxsExecutionStrategy))}dispatchByEvents(ce){return Array.isArray(ce)?0===ce.length?(0,xe.of)(this._stateStream.getValue()):(0,Fe.p)(ce.map(Oe=>this.dispatchSingle(Oe))):this.dispatchSingle(ce)}dispatchSingle(ce){const Oe=this._stateStream.getValue();return Yt([...this._pluginManager.plugins,(kt,Jt)=>{kt!==Oe&&this._stateStream.next(kt);const Mn=this.getActionResultStream(Jt);return Mn.subscribe(Nt=>this._actions.next(Nt)),this._actions.next({action:Jt,status:"DISPATCHED"}),this.createDispatchObservable(Mn)}])(Oe,ce).pipe((0,fe.t)())}getActionResultStream(ce){return this._actionResults.pipe((0,H.p)(Oe=>Oe.action===ce&&"DISPATCHED"!==Oe.status),(0,Le.s)(1),(0,fe.t)())}createDispatchObservable(ce){return ce.pipe(Te(Oe=>{switch(Oe.status){case"SUCCESSFUL":return(0,xe.of)(this._stateStream.getValue());case"ERRORED":return(0,$e.$)(Oe.error);default:return it.w}})).pipe((0,fe.t)())}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Xe),i.KVO(Ii),i.KVO(Rn),i.KVO(wn),i.KVO(Wi),i.KVO(Gt))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),hi=(()=>{class Q{constructor(ce,Oe,Ve){this._stateStream=ce,this._dispatcher=Oe,this._config=Ve}getRootStateOperations(){return{getState:()=>this._stateStream.getValue(),setState:Oe=>this._stateStream.next(Oe),dispatch:Oe=>this._dispatcher.dispatch(Oe)}}setStateToTheCurrentWithNew(ce){const Oe=this.getRootStateOperations(),Ve=Oe.getState();Oe.setState(Object.assign(Object.assign({},Ve),ce.defaults))}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(wn),i.KVO(Ji),i.KVO(Pi))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),ri=(()=>{class Q{constructor(ce){this._internalStateOperations=ce}createStateContext(ce){const Oe=this._internalStateOperations.getRootStateOperations();function Ve(Nt){return Me(Nt,ce.path)}function kt(Nt,kn){const _i=Ye(Nt,ce.path,kn);return Oe.setState(_i),_i}function Jt(Nt,kn){return kt(Nt,kn(Ve(Nt)))}return{getState:()=>Ve(Oe.getState()),patchState(Nt){const kn=Oe.getState(),_i=function Gs(Q){return Se=>{const ce=Object.assign({},Se);for(const Oe in Q)ce[Oe]=Q[Oe];return ce}}(Nt);return Jt(kn,_i)},setState(Nt){const kn=Oe.getState();return function Mn(Nt){return"function"==typeof Nt}(Nt)?Jt(kn,Nt):kt(kn,Nt)},dispatch:Nt=>Oe.dispatch(Nt)}}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(hi))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})();new RegExp("^[a-zA-Z0-9_]+$");class is{static get type(){return"@@INIT"}}class Rs{constructor(Se){this.addedStates=Se}static get type(){return"@@UPDATE_STATE"}}new i.nKC("NGXS_DEVELOPMENT_OPTIONS",{providedIn:"root",factory:()=>({warnOnUnhandledActions:!0})});let Ps=(()=>{class Q{constructor(ce,Oe,Ve,kt,Jt,Mn,Nt){this._injector=ce,this._config=Oe,this._parentFactory=Ve,this._actions=kt,this._actionResults=Jt,this._stateContextFactory=Mn,this._initialState=Nt,this._actionsSubscription=null,this._states=[],this._statesByName={},this._statePaths={},this.getRuntimeSelectorContext=$(()=>{const kn=this;function _i(ji){const Vi=kn.statePaths[ji];return Vi?xi(Vi.split("."),kn._config):null}return this._parentFactory?this._parentFactory.getRuntimeSelectorContext():{getStateGetter(ji){let Vi=_i(ji);return Vi||((...jo)=>(Vi||(Vi=_i(ji)),Vi?Vi(...jo):void 0))},getSelectorOptions:ji=>Object.assign(Object.assign({},kn._config.selectorOptions),ji||{})}})}get states(){return this._parentFactory?this._parentFactory.states:this._states}get statesByName(){return this._parentFactory?this._parentFactory.statesByName:this._statesByName}get statePaths(){return this._parentFactory?this._parentFactory.statePaths:this._statePaths}static cloneDefaults(ce){let Oe={};return Oe=Array.isArray(ce)?ce.slice():function Tt(Q){return"object"==typeof Q&&null!==Q||"function"==typeof Q}(ce)?Object.assign({},ce):void 0===ce?{}:ce,Oe}ngOnDestroy(){var ce;null===(ce=this._actionsSubscription)||void 0===ce||ce.unsubscribe()}add(ce){const{newStates:Oe}=this.addToStatesMap(ce);if(!Oe.length)return[];const Ve=function ue(Q){const Se=ce=>Q.find(Ve=>Ve===ce)[ln].name;return Q.reduce((ce,Oe)=>{const{name:Ve,children:kt}=Oe[ln];return ce[Ve]=(kt||[]).map(Se),ce},{})}(Oe),kt=function rt(Q){const Se=[],ce={},Oe=(Ve,kt=[])=>{Array.isArray(kt)||(kt=[]),kt.push(Ve),ce[Ve]=!0,Q[Ve].forEach(Jt=>{ce[Jt]||Oe(Jt,kt.slice(0))}),Se.indexOf(Ve)<0&&Se.push(Ve)};
1return Object.keys(Q).forEach(Ve=>Oe(Ve)),Se.reverse()}(Ve),Jt=function st(Q,Se={}){const ce=(Oe,Ve)=>{for(const kt in Oe)if(Oe.hasOwnProperty(kt)&&Oe[kt].indexOf(Ve)>=0){const Jt=ce(Oe,kt);return null!==Jt?`${Jt}.${kt}`:kt}return null};for(const Oe in Q)if(Q.hasOwnProperty(Oe)){const Ve=ce(Q,Oe);Se[Oe]=Ve?`${Ve}.${Oe}`:Oe}return Se}(Ve),Mn=function et(Q){return Q.reduce((Se,ce)=>(Se[ce[ln].name]=ce,Se),{})}(Oe),Nt=[];for(const kn of kt){const _i=Mn[kn],gi=Jt[kn],ji=_i[ln];this.addRuntimeInfoToMeta(ji,gi);const Vi={name:kn,path:gi,isInitialised:!1,actions:ji.actions,instance:this._injector.get(_i),defaults:Q.cloneDefaults(ji.defaults)};this.hasBeenMountedAndBootstrapped(kn,gi)||Nt.push(Vi),this.states.push(Vi)}return Nt}addAndReturnDefaults(ce){const Ve=this.add(ce||[]);return{defaults:Ve.reduce((Jt,Mn)=>Ye(Jt,Mn.path,Mn.defaults),{}),states:Ve}}connectActionHandlers(){if(this._parentFactory||null!==this._actionsSubscription)return;const ce=new pe.B;this._actionsSubscription=this._actions.pipe((0,H.p)(Oe=>"DISPATCHED"===Oe.status),(0,mt.Z)(Oe=>{ce.next(Oe);const Ve=Oe.action;return this.invokeActions(ce,Ve).pipe((0,ie.T)(()=>({action:Ve,status:"SUCCESSFUL"})),(0,ht.U)({action:Ve,status:"CANCELED"}),(0,Xt.W)(kt=>(0,xe.of)({action:Ve,status:"ERRORED",error:kt})))})).subscribe(Oe=>this._actionResults.next(Oe))}invokeActions(ce,Oe){const Ve=me(Oe),kt=[];let Jt=!1;for(const Mn of this.states){const Nt=Mn.actions[Ve];if(Nt)for(const kn of Nt){const _i=this._stateContextFactory.createStateContext(Mn);try{let gi=Mn.instance[kn.fn](_i,Oe);gi instanceof Promise&&(gi=(0,_e.H)(gi)),(0,B.A)(gi)?(gi=gi.pipe((0,mt.Z)(ji=>ji instanceof Promise?(0,_e.H)(ji):(0,B.A)(ji)?ji:(0,xe.of)(ji)),(0,ht.U)({})),kn.options.cancelUncompleted&&(gi=gi.pipe((0,gt.Q)(ce.pipe(en(Oe)))))):gi=(0,xe.of)({}).pipe((0,fe.t)()),kt.push(gi)}catch(gi){kt.push((0,$e.$)(gi))}Jt=!0}}return kt.length||kt.push((0,xe.of)({})),(0,Fe.p)(kt)}addToStatesMap(ce){const Oe=[],Ve=this.statesByName;for(const kt of ce){const Jt=An(kt).name;!Ve[Jt]&&(Oe.push(kt),Ve[Jt]=kt)}return{newStates:Oe}}addRuntimeInfoToMeta(ce,Oe){this.statePaths[ce.name]=Oe,ce.path=Oe}hasBeenMountedAndBootstrapped(ce,Oe){const Ve=void 0!==Me(this._initialState,Oe);return this.statesByName[ce]&&Ve}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(i.zZn),i.KVO(Pi),i.KVO(Q,12),i.KVO(Xe),i.KVO(Ii),i.KVO(ri),i.KVO(le,8))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac}),Q})();function Xr(Q){const Se=Ri(Q)||An(Q);return Se&&Se.makeRootSelector||(()=>Q)}let Ro=(()=>{class Q{constructor(ce,Oe,Ve,kt,Jt,Mn){this._stateStream=ce,this._internalStateOperations=Oe,this._config=Ve,this._internalExecutionStrategy=kt,this._stateFactory=Jt,this._selectableStateStream=this._stateStream.pipe(Sn(this._internalExecutionStrategy),(0,fe.t)({bufferSize:1,refCount:!0})),this.initStateStream(Mn)}dispatch(ce){return this._internalStateOperations.getRootStateOperations().dispatch(ce)}select(ce){const Oe=this.getStoreBoundSelectorFn(ce);return this._selectableStateStream.pipe((0,ie.T)(Oe),(0,Xt.W)(Ve=>{const{suppressErrors:kt}=this._config.selectorOptions;return Ve instanceof TypeError&&kt?(0,xe.of)(void 0):(0,$e.$)(Ve)}),(0,gn.F)(),Sn(this._internalExecutionStrategy))}selectOnce(ce){return this.select(ce).pipe((0,Le.s)(1))}selectSnapshot(ce){return this.getStoreBoundSelectorFn(ce)(this._stateStream.getValue())}subscribe(ce){return this._selectableStateStream.pipe(Sn(this._internalExecutionStrategy)).subscribe(ce)}snapshot(){return this._internalStateOperations.getRootStateOperations().getState()}reset(ce){return this._internalStateOperations.getRootStateOperations().setState(ce)}getStoreBoundSelectorFn(ce){return Xr(ce)(this._stateFactory.getRuntimeSelectorContext())}initStateStream(ce){const Oe=this._stateStream.value;if(!Oe||0===Object.keys(Oe).length){const Jt=Object.keys(this._config.defaultsState).length>0?Object.assign(Object.assign({},this._config.defaultsState),ce):ce;this._stateStream.next(Jt)}}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(wn),i.KVO(hi),i.KVO(Pi),i.KVO(Wi),i.KVO(Ps),i.KVO(le,8))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),No=(()=>{class Q{constructor(ce,Oe){Q.store=ce,Q.config=Oe}ngOnDestroy(){Q.store=null,Q.config=null}}return Q.store=null,Q.config=null,Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Ro),i.KVO(Pi))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),Ns=(()=>{class Q{constructor(ce,Oe,Ve,kt,Jt){this._store=ce,this._internalErrorReporter=Oe,this._internalStateOperations=Ve,this._stateContextFactory=kt,this._bootstrapper=Jt,this._destroy$=new pe.B}ngOnDestroy(){this._destroy$.next()}ngxsBootstrap(ce,Oe){this._internalStateOperations.getRootStateOperations().dispatch(ce).pipe((0,H.p)(()=>!!Oe),(0,Je.M)(()=>this._invokeInitOnStates(Oe.states)),(0,mt.Z)(()=>this._bootstrapper.appBootstrapped$),(0,H.p)(Ve=>!!Ve),(0,Xt.W)(Ve=>(this._internalErrorReporter.reportErrorSafely(Ve),it.w)),(0,gt.Q)(this._destroy$)).subscribe(()=>this._invokeBootstrapOnStates(Oe.states))}_invokeInitOnStates(ce){for(const Oe of ce){const Ve=Oe.instance;Ve.ngxsOnChanges&&this._store.select(kt=>Me(kt,Oe.path)).pipe((0,ve.Z)(void 0),(0,Pt.N)((Q,Se)=>{let ce,Oe=!1;Q.subscribe((0,re._)(Se,Ve=>{const kt=ce;ce=Ve,Oe&&Se.next([kt,Ve]),Oe=!0}))}),(0,gt.Q)(this._destroy$)).subscribe(([kt,Jt])=>{const Mn=new hn(kt,Jt,!Oe.isInitialised);Ve.ngxsOnChanges(Mn)}),Ve.ngxsOnInit&&Ve.ngxsOnInit(this._getStateContext(Oe)),Oe.isInitialised=!0}}_invokeBootstrapOnStates(ce){for(const Oe of ce){const Ve=Oe.instance;Ve.ngxsAfterBootstrap&&Ve.ngxsAfterBootstrap(this._getStateContext(Oe))}}_getStateContext(ce){return this._stateContextFactory.createStateContext(ce)}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Ro),i.KVO(Gt),i.KVO(hi),i.KVO(ri),i.KVO(K))},Q.\u0275prov=i.jDH({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),tr=(()=>{class Q{constructor(ce,Oe,Ve,kt,Jt=[],Mn){const Nt=ce.addAndReturnDefaults(Jt);
1Oe.setStateToTheCurrentWithNew(Nt),ce.connectActionHandlers(),Mn.ngxsBootstrap(new is,Nt)}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Ps),i.KVO(hi),i.KVO(Ro),i.KVO(No),i.KVO(pi,8),i.KVO(Ns))},Q.\u0275mod=i.$C({type:Q}),Q.\u0275inj=i.G2t({}),Q})(),xr=(()=>{class Q{constructor(ce,Oe,Ve,kt=[],Jt){const Mn=Q.flattenStates(kt),Nt=Ve.addAndReturnDefaults(Mn);Nt.states.length&&(Oe.setStateToTheCurrentWithNew(Nt),Jt.ngxsBootstrap(new Rs(Nt.defaults),Nt))}static flattenStates(ce=[]){return ce.reduce((Oe,Ve)=>Oe.concat(Ve),[])}}return Q.\u0275fac=function(ce){return new(ce||Q)(i.KVO(Ro),i.KVO(hi),i.KVO(Ps),i.KVO(vn,8),i.KVO(Ns))},Q.\u0275mod=i.$C({type:Q}),Q.\u0275inj=i.G2t({}),Q})(),zs=(()=>{class Q{static forRoot(ce=[],Oe={}){return{ngModule:tr,providers:[Ps,Rn,...ce,...Q.ngxsTokenProviders(ce,Oe)]}}static forFeature(ce=[]){return{ngModule:xr,providers:[Ps,Rn,...ce,{provide:vn,multi:!0,useValue:ce}]}}static ngxsTokenProviders(ce,Oe){return[{provide:to,useValue:Oe.executionStrategy},{provide:pi,useValue:ce},{provide:li,useValue:Oe},{provide:i.iLQ,useFactory:Q.appBootstrapListenerFactory,multi:!0,deps:[K]},{provide:ge,useExisting:ri},{provide:W,useExisting:Ps}]}static appBootstrapListenerFactory(ce){return()=>ce.bootstrap()}}return Q.\u0275fac=function(ce){return new(ce||Q)},Q.\u0275mod=i.$C({type:Q}),Q.\u0275inj=i.G2t({}),Q})();function gr(Q,Se){return(ce,Oe)=>{const Ve=Ys(ce.constructor);Array.isArray(Q)||(Q=[Q]);for(const kt of Q){const Jt=kt.type;Ve.actions[Jt]||(Ve.actions[Jt]=[]),Ve.actions[Jt].push({fn:Oe,options:Se||{},type:Jt})}}}function jr(Q){return Oe=>{const Ve=Oe,kt=Ys(Ve),Jt=Object.getPrototypeOf(Ve),Mn=function Se(Oe){return Object.assign(Object.assign({},Oe[Oi]||{}),Q)}(Jt);(function ce(Oe){const{meta:Ve,inheritedStateClass:kt,optionsWithInheritance:Jt}=Oe,{children:Mn,defaults:Nt,name:kn}=Jt,_i="string"==typeof kn?kn:kn&&kn.getName()||null;if(kt.hasOwnProperty(ln)){const gi=kt[ln]||{};Ve.actions=Object.assign(Object.assign({},Ve.actions),gi.actions)}Ve.children=Mn,Ve.defaults=Nt,Ve.name=_i})({meta:kt,inheritedStateClass:Jt,optionsWithInheritance:Mn}),Ve[Oi]=Mn}}const Po=36;function lo(Q,...Se){return function(ce,Oe){const Ve=Oe.toString(),kt=`__${Ve}__selector`,Jt=function nr(Q,Se,ce=[]){return Se=Se||function pa(Q){const Se=Q.length-1;return Q.charCodeAt(Se)===Po?Q.slice(0,Se):Q}(Q),"string"==typeof Se?xi(ce.length?[Se,...ce]:Se.split("."),No.config):Se}(Ve,Q,Se);Object.defineProperties(ce,{[kt]:{writable:!0,enumerable:!1,configurable:!0},[Ve]:{enumerable:!0,configurable:!0,get(){return this[kt]||(this[kt]=function Wo(Q){return No.store||function Vt(){throw new Error("You have forgotten to import the NGXS module!")}(),No.store.select(Q)}(Jt))}}})}}const co="NGXS_SELECTOR_OPTIONS_META",no={getOptions:Q=>Q&&Q[co]||{},defineOptions:(Q,Se)=>{Q&&(Q[co]=Se)}};function ti(Q,Se){const ce=function Gi(Q){return Q.hasOwnProperty(Os)||Object.defineProperty(Q,Os,{value:{makeRootSelector:null,originalFn:null,containerClass:null,selectorName:null,getSelectorOptions:()=>({})}}),Ri(Q)}(Q);ce.originalFn=Q;let Oe=()=>({});Se&&(ce.containerClass=Se.containerClass,ce.selectorName=Se.selectorName||null,Oe=Se.getSelectorOptions||Oe);const Ve=Object.assign({},ce);return ce.getSelectorOptions=()=>function zi(Q,Se){return Object.assign(Object.assign(Object.assign(Object.assign({},no.getOptions(Q.containerClass)||{}),no.getOptions(Q.originalFn)||{}),Q.getSelectorOptions()||{}),Se)}(Ve,Oe()),ce}function gs(Q,Se,ce){const Oe=function so(Q,Se){const ce=Se&&Se.containerClass,Ve=$(function(...Jt){const Mn=Q.apply(ce,Jt);return Mn instanceof Function?$.apply(null,[Mn]):Mn});return Object.setPrototypeOf(Ve,Q),Ve}(Se,ce),Ve=ti(Se,ce);return Ve.makeRootSelector=function rs(Q,Se,ce){return Oe=>{const{argumentSelectorFunctions:Ve,selectorOptions:kt}=function er(Q,Se,ce=[]){const Oe=Se.getSelectorOptions(),Ve=Q.getSelectorOptions(Oe),Jt=function Er(Q=[],Se,ce){const Oe=[];return ce&&(0===Q.length||Se.injectContainerState)&&An(ce)&&Oe.push(ce),Q&&Oe.push(...Q),Oe}(ce,Ve,Se.containerClass).map(Mn=>Xr(Mn)(Q));return{selectorOptions:Ve,argumentSelectorFunctions:Jt}}(Oe,Q,Se);return function(Mn){const Nt=Ve.map(kn=>kn(Mn));try{return ce(...Nt)}catch(kn){if(kn instanceof TypeError&&kt.suppressErrors)return;throw kn}}}}(Ve,Q,Oe),Oe}function Vr(Q){return(Se,ce,Oe)=>{Oe||(Oe=Object.getOwnPropertyDescriptor(Se,ce));const Ve=Oe?.value,kt=gs(Q,Ve,{containerClass:Se,selectorName:ce.toString(),getSelectorOptions:()=>({})}),Jt={configurable:!0,get:()=>kt};return Jt.originalFn=Ve,Jt}}},7374:function(Ot){Ot.exports=function(){"use strict";var w=6e4,i=36e5,e="millisecond",ee="second",K="minute",ae="hour",Z="day",$="week",z="month",le="quarter",W="year",ge="date",J="Invalid Date",Be=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,pe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 4,741 bytes, line 1
1|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ze={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Pt){var re=["th","st","nd","rd"],Te=Pt%100;return"["+Pt+(re[(Te-20)%10]||re[Te]||re[0])+"]"}},xe=function(Pt,re,Te){var mt=String(Pt);return!mt||mt.length>=re?Pt:""+Array(re+1-mt.length).join(Te)+Pt},Fe={s:xe,z:function(Pt){var re=-Pt.utcOffset(),Te=Math.abs(re),mt=Math.floor(Te/60),ht=Te%60;return(re<=0?"+":"-")+xe(mt,2,"0")+":"+xe(ht,2,"0")},m:function Pt(re,Te){if(re.date()<Te.date())return-Pt(Te,re);var mt=12*(Te.year()-re.year())+(Te.month()-re.month()),ht=re.clone().add(mt,z),Xt=Te-ht<0,gt=re.clone().add(mt+(Xt?-1:1),z);return+(-(mt+(Te-ht)/(Xt?ht-gt:gt-ht))||0)},a:function(Pt){return Pt<0?Math.ceil(Pt)||0:Math.floor(Pt)},p:function(Pt){return{M:z,y:W,w:$,d:Z,D:ge,h:ae,m:K,s:ee,ms:e,Q:le}[Pt]||String(Pt||"").toLowerCase().replace(/s$/,"")},u:function(Pt){return void 0===Pt}},$e="en",it={};it[$e]=ze;var _e="$isDayjsObject",B=function(Pt){return Pt instanceof Le||!(!Pt||!Pt[_e])},H=function Pt(re,Te,mt){var ht;if(!re)return $e;if("string"==typeof re){var Xt=re.toLowerCase();it[Xt]&&(ht=Xt),Te&&(it[Xt]=Te,ht=Xt);var gt=re.split("-");if(!ht&&gt.length>1)return Pt(gt[0])}else{var gn=re.name;it[gn]=re,ht=gn}return!mt&&ht&&($e=ht),ht||!mt&&$e},ie=function(Pt,re){if(B(Pt))return Pt.clone();var Te="object"==typeof re?re:{};return Te.date=Pt,Te.args=arguments,new Le(Te)},fe=Fe;fe.l=H,fe.i=B,fe.w=function(Pt,re){return ie(Pt,{locale:re.$L,utc:re.$u,x:re.$x,$offset:re.$offset})};var Le=function(){function Pt(Te){this.$L=H(Te.locale,null,!0),this.parse(Te),this.$x=this.$x||Te.x||{},this[_e]=!0}var re=Pt.prototype;return re.parse=function(Te){this.$d=function(mt){var ht=mt.date,Xt=mt.utc;if(null===ht)return new Date(NaN);if(fe.u(ht))return new Date;if(ht instanceof Date)return new Date(ht);if("string"==typeof ht&&!/Z$/i.test(ht)){var gt=ht.match(Be);if(gt){var gn=gt[2]-1||0,Je=(gt[7]||"0").substring(0,3);return Xt?new Date(Date.UTC(gt[1],gn,gt[3]||1,gt[4]||0,gt[5]||0,gt[6]||0,Je)):new Date(gt[1],gn,gt[3]||1,gt[4]||0,gt[5]||0,gt[6]||0,Je)}}return new Date(ht)}(Te),this.init()},re.init=function(){var Te=this.$d;this.$y=Te.getFullYear(),this.$M=Te.getMonth(),this.$D=Te.getDate(),this.$W=Te.getDay(),this.$H=Te.getHours(),this.$m=Te.getMinutes(),this.$s=Te.getSeconds(),this.$ms=Te.getMilliseconds()},re.$utils=function(){return fe},re.isValid=function(){return this.$d.toString()!==J},re.isSame=function(Te,mt){var ht=ie(Te);return this.startOf(mt)<=ht&&ht<=this.endOf(mt)},re.isAfter=function(Te,mt){return ie(Te)<this.startOf(mt)},re.isBefore=function(Te,mt){return this.endOf(mt)<ie(Te)},re.$g=function(Te,mt,ht){return fe.u(Te)?this[mt]:this.set(ht,Te)},re.unix=function(){return Math.floor(this.valueOf()/1e3)},re.valueOf=function(){return this.$d.getTime()},re.startOf=function(Te,mt){var ht=this,Xt=!!fe.u(mt)||mt,gt=fe.p(Te),gn=function(Ie,Ge){var zt=fe.w(ht.$u?Date.UTC(ht.$y,Ge,Ie):new Date(ht.$y,Ge,Ie),ht);return Xt?zt:zt.endOf(Z)},Je=function(Ie,Ge){return fe.w(ht.toDate()[Ie].apply(ht.toDate("s"),(Xt?[0,0,0,0]:[23,59,59,999]).slice(Ge)),ht)},ve=this.$W,te=this.$M,me=this.$D,ye="set"+(this.$u?"UTC":"");switch(gt){case W:return Xt?gn(1,0):gn(31,11);case z:return Xt?gn(1,te):gn(0,te+1);case $:var Ye=this.$locale().weekStart||0,Me=(ve<Ye?ve+7:ve)-Ye;return gn(Xt?me-Me:me+(6-Me),te);case Z:case ge:return Je(ye+"Hours",0);case ae:return Je(ye+"Minutes",1);case K:return Je(ye+"Seconds",2);case ee:return Je(ye+"Milliseconds",3);default:return this.clone()}},re.endOf=function(Te){return this.startOf(Te,!1)},re.$set=function(Te,mt){var ht,Xt=fe.p(Te),gt="set"+(this.$u?"UTC":""),gn=(ht={},ht[Z]=gt+"Date",ht[ge]=gt+"Date",ht[z]=gt+"Month",ht[W]=gt+"FullYear",ht[ae]=gt+"Hours",ht[K]=gt+"Minutes",ht[ee]=gt+"Seconds",ht[e]=gt+"Milliseconds",ht)[Xt],Je=Xt===Z?this.$D+(mt-this.$W):mt;if(Xt===z||Xt===W){var ve=this.clone().set(ge,1);ve.$d[gn](Je),ve.init(),this.$d=ve.set(ge,Math.min(this.$D,ve.daysInMonth())).$d}else gn&&this.$d[gn](Je);return this.init(),this},re.set=function(Te,mt){return this.clone().$set(Te,mt)},re.get=function(Te){return this[fe.p(Te)]()},re.add=function(Te,mt){var ht,Xt=this;Te=Number(Te);var gt=fe.p(mt),gn=function(te){var me=ie(Xt);return fe.w(me.date(me.date()+Math.round(te*Te)),Xt)};if(gt===z)return this.set(z,this.$M+Te);if(gt===W)return this.set(W,this.$y+Te);if(gt===Z)return gn(1);if(gt===$)return gn(7);var Je=(ht={},ht[K]=w,ht[ae]=i,ht[ee]=1e3,ht)[gt]||1,ve=this.$d.getTime()+Te*Je;return fe.w(ve,this)},re.subtract=function(Te,mt){return this.add(-1*Te,mt)},re.format=function(Te){var mt=this,ht=this.$locale();
vendor: 6,328 bytes, line 1
1if(!this.isValid())return ht.invalidDate||J;var Xt=Te||"YYYY-MM-DDTHH:mm:ssZ",gt=fe.z(this),gn=this.$H,Je=this.$m,ve=this.$M,te=ht.weekdays,me=ht.months,Ye=function(Ge,zt,ut,nn){return Ge&&(Ge[zt]||Ge(mt,Xt))||ut[zt].slice(0,nn)},Me=function(Ge){return fe.s(gn%12||12,Ge,"0")},Ie=ht.meridiem||function(Ge,zt,ut){var nn=Ge<12?"AM":"PM";return ut?nn.toLowerCase():nn};return Xt.replace(pe,function(Ge,zt){return zt||function(ut){switch(ut){case"YY":return String(mt.$y).slice(-2);case"YYYY":return fe.s(mt.$y,4,"0");case"M":return ve+1;case"MM":return fe.s(ve+1,2,"0");case"MMM":return Ye(ht.monthsShort,ve,me,3);case"MMMM":return Ye(me,ve);case"D":return mt.$D;case"DD":return fe.s(mt.$D,2,"0");case"d":return String(mt.$W);case"dd":return Ye(ht.weekdaysMin,mt.$W,te,2);case"ddd":return Ye(ht.weekdaysShort,mt.$W,te,3);case"dddd":return te[mt.$W];case"H":return String(gn);case"HH":return fe.s(gn,2,"0");case"h":return Me(1);case"hh":return Me(2);case"a":return Ie(gn,Je,!0);case"A":return Ie(gn,Je,!1);case"m":return String(Je);case"mm":return fe.s(Je,2,"0");case"s":return String(mt.$s);case"ss":return fe.s(mt.$s,2,"0");case"SSS":return fe.s(mt.$ms,3,"0");case"Z":return gt}return null}(Ge)||gt.replace(":","")})},re.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},re.diff=function(Te,mt,ht){var Xt,gt=this,gn=fe.p(mt),Je=ie(Te),ve=(Je.utcOffset()-this.utcOffset())*w,te=this-Je,me=function(){return fe.m(gt,Je)};switch(gn){case W:Xt=me()/12;break;case z:Xt=me();break;case le:Xt=me()/3;break;case $:Xt=(te-ve)/6048e5;break;case Z:Xt=(te-ve)/864e5;break;case ae:Xt=te/i;break;case K:Xt=te/w;break;case ee:Xt=te/1e3;break;default:Xt=te}return ht?Xt:fe.a(Xt)},re.daysInMonth=function(){return this.endOf(z).$D},re.$locale=function(){return it[this.$L]},re.locale=function(Te,mt){if(!Te)return this.$L;var ht=this.clone(),Xt=H(Te,mt,!0);return Xt&&(ht.$L=Xt),ht},re.clone=function(){return fe.w(this.$d,this)},re.toDate=function(){return new Date(this.valueOf())},re.toJSON=function(){return this.isValid()?this.toISOString():null},re.toISOString=function(){return this.$d.toISOString()},re.toString=function(){return this.$d.toUTCString()},Pt}(),_t=Le.prototype;return ie.prototype=_t,[["$ms",e],["$s",ee],["$m",K],["$H",ae],["$W",Z],["$M",z],["$y",W],["$D",ge]].forEach(function(Pt){_t[Pt[1]]=function(re){return this.$g(re,Pt[0],Pt[1])}}),ie.extend=function(Pt,re){return Pt.$i||(Pt(re,Le,ie),Pt.$i=!0),ie},ie.locale=H,ie.isDayjs=B,ie.unix=function(Pt){return ie(1e3*Pt)},ie.en=it[$e],ie.Ls=it,ie.p={},ie}()},2900:function(Ot){Ot.exports=function(){"use strict";return function(ke,w){var i=w.prototype,e=i.format;i.format=function(ee){var K=this,ae=this.$locale();if(!this.isValid())return e.bind(this)(ee);var Z=this.$utils(),$=(ee||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(z){switch(z){case"Q":return Math.ceil((K.$M+1)/3);case"Do":return ae.ordinal(K.$D);case"gggg":return K.weekYear();case"GGGG":return K.isoWeekYear();case"wo":return ae.ordinal(K.week(),"W");case"w":case"ww":return Z.s(K.week(),"w"===z?1:2,"0");case"W":case"WW":return Z.s(K.isoWeek(),"W"===z?1:2,"0");case"k":case"kk":return Z.s(String(0===K.$H?24:K.$H),"k"===z?1:2,"0");case"X":return Math.floor(K.$d.getTime()/1e3);case"x":return K.$d.getTime();case"z":return"["+K.offsetName()+"]";case"zzz":return"["+K.offsetName("long")+"]";default:return z}});return e.bind(this)($)}}}()},5859:function(Ot){Ot.exports=function(){"use strict";var w=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(e,ee,K){var ae=ee.prototype;K.utc=function(J){return new ee({date:J,utc:!0,args:arguments})},ae.utc=function(J){var Be=K(this.toDate(),{locale:this.$L,utc:!0});return J?Be.add(this.utcOffset(),"minute"):Be},ae.local=function(){return K(this.toDate(),{locale:this.$L,utc:!1})};var Z=ae.parse;ae.parse=function(J){J.utc&&(this.$u=!0),this.$utils().u(J.$offset)||(this.$offset=J.$offset),Z.call(this,J)};var $=ae.init;ae.init=function(){if(this.$u){var J=this.$d;this.$y=J.getUTCFullYear(),this.$M=J.getUTCMonth(),this.$D=J.getUTCDate(),this.$W=J.getUTCDay(),this.$H=J.getUTCHours(),this.$m=J.getUTCMinutes(),this.$s=J.getUTCSeconds(),this.$ms=J.getUTCMilliseconds()}else $.call(this)};var z=ae.utcOffset;ae.utcOffset=function(J,Be){var pe=this.$utils().u;if(pe(J))return this.$u?0:pe(this.$offset)?z.call(this):this.$offset;if("string"==typeof J&&null===(J=function($e){void 0===$e&&($e="");var it=$e.match(w);if(!it)return null;var _e=(""+it[0]).match(i)||["-",0,0],H=60*+_e[1]+ +_e[2];return 0===H?0:"+"===_e[0]?H:-H}(J)))return this;var ze=Math.abs(J)<=16?60*J:J,xe=this;if(Be)return xe.$offset=ze,xe.$u=0===J,xe;if(0!==J){var Fe=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(xe=this.local().add(ze+Fe,"minute")).$offset=ze,xe.$x.$localOffset=Fe}else xe=this.utc();return xe};var le=ae.format;ae.format=function(J){return le.call(this,J||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":""))},ae.valueOf=function(){var J=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*J},ae.isUTC=function(){return!!this.$u},ae.toISOString=function(){return this.toDate().toISOString()},ae.toString=function(){return this.toDate().toUTCString()};var W=ae.toDate;ae.toDate=function(J){return"s"===J&&this.$offset?K(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():W.call(this)};var ge=ae.diff;ae.diff=function(J,Be,pe){if(J&&this.$u===J.$u)return ge.call(this,J,Be,pe);var ze=this.local(),xe=K(J).local();return ge.call(ze,xe,Be,pe)}}}()},7376:function(Ot,ke,w){var i;Ot=w.nmd(Ot),function(){var e,Z="Expected a function",le="__lodash_hash_undefined__",ge="__lodash_placeholder__",H=32,gn=1/0,Je=9007199254740991,me=4294967295,Me=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",H],["partialRight",64],["rearg",256]],Ie="[object Arguments]",Ge="[object Array]",ut="[object Boolean]",nn="[object Date]",We="[object Error]",yt="[object Function]",nt="[object GeneratorFunction]",lt="[object Map]",Vt="[object Number]",Gn="[object Object]",Ei="[object Promise]",li="[object RegExp]",pi="[object Set]",vn="[object String]",Fn="[object Symbol]",Oi="[object WeakMap]",Pi="[object ArrayBuffer]",hn="[object DataView]",wi="[object Float32Array]",to="[object Float64Array
vendor: 23,672 bytes, line 1
1]",Kn="[object Int8Array]",Ys="[object Int16Array]",An="[object Int32Array]",Gi="[object Uint8Array]",Ri="[object Uint8ClampedArray]",Ni="[object Uint16Array]",sn="[object Uint32Array]",xi=/\b__p \+= '';/g,ue=/\b(__p \+=) '' \+/g,et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,rt=/[&<>"']/g,Tt=RegExp(st.source),Bt=RegExp(rt.source),en=/<%-([\s\S]+?)%>/g,Qt=/<%([\s\S]+?)%>/g,qe=/<%=([\s\S]+?)%>/g,Qe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,he=/^\w*$/,Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pt=/[\\^$.*+?()[\]{}|]/g,At=RegExp(pt.source),Ht=/^\s+/,Wn=/\s/,pn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Sn=/\{\n\/\* \[wrapped with (.+)\] \*/,Wi=/,? & /,As=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,at=/[()=,{}\[\]\/\s]/,Ue=/\\(\\)?/g,Xe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Dt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,wn=/^0o[0-7]+$/i,Rn=/^(?:0|[1-9]\d*)$/,Ii=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ji=/($^)/,Ui=/['\n\r\u2028\u2029\\]/g,hi="\\ud800-\\udfff",Mi="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xs="\\u2700-\\u27bf",wo="a-z\\xdf-\\xf6\\xf8-\\xff",Ws="A-Z\\xc0-\\xd6\\xd8-\\xde",os="\\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",so="["+hi+"]",er="["+Ps+"]",Er="["+Mi+"]",Xr="\\d+",Ro="["+xs+"]",No="["+wo+"]",Ns="[^"+hi+Ps+Xr+xs+wo+Ws+"]",tr="\\ud83c[\\udffb-\\udfff]",zs="[^"+hi+"]",gr="(?:\\ud83c[\\udde6-\\uddff]){2}",jr="[\\ud800-\\udbff][\\udc00-\\udfff]",Po="["+Ws+"]",nr="(?:"+No+"|"+Ns+")",pa="(?:"+Po+"|"+Ns+")",lo="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",co="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",no="(?:"+Er+"|"+tr+")?",ti="["+os+"]?",Xs=ti+no+"(?:\\u200d(?:"+[zs,gr,jr].join("|")+")"+ti+no+")*",Lo="(?:"+[Ro,gr,jr].join("|")+")"+Xs,fa="(?:"+[zs+Er+"?",Er,gr,jr,so].join("|")+")",gs=RegExp("['\u2019]","g"),Vr=RegExp(Er,"g"),mr=RegExp(tr+"(?="+tr+")|"+fa+Xs,"g"),Ti=RegExp([Po+"?"+No+"+"+lo+"(?="+[er,Po,"$"].join("|")+")",pa+"+"+co+"(?="+[er,Po+nr,"$"].join("|")+")",Po+"?"+nr+"+"+lo,Po+"+"+co,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xr,Lo].join("|"),"g"),on=RegExp("[\\u200d"+hi+Mi+os+"]"),Nn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Li=["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"],Ss=-1,fi={};fi[wi]=fi[to]=fi[Kn]=fi[Ys]=fi[An]=fi[Gi]=fi[Ri]=fi[Ni]=fi[sn]=!0,fi[Ie]=fi[Ge]=fi[Pi]=fi[ut]=fi[hn]=fi[nn]=fi[We]=fi[yt]=fi[lt]=fi[Vt]=fi[Gn]=fi[li]=fi[pi]=fi[vn]=fi[Oi]=!1;var zn={};zn[Ie]=zn[Ge]=zn[Pi]=zn[hn]=zn[ut]=zn[nn]=zn[wi]=zn[to]=zn[Kn]=zn[Ys]=zn[An]=zn[lt]=zn[Vt]=zn[Gn]=zn[li]=zn[pi]=zn[vn]=zn[Fn]=zn[Gi]=zn[Ri]=zn[Ni]=zn[sn]=!0,zn[We]=zn[yt]=zn[Oi]=!1;var Oe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ve=parseFloat,kt=parseInt,Jt="object"==typeof global&&global&&global.Object===Object&&global,Mn="object"==typeof self&&self&&self.Object===Object&&self,Nt=Jt||Mn||Function("return this")(),kn=ke&&!ke.nodeType&&ke,_i=kn&&Ot&&!Ot.nodeType&&Ot,gi=_i&&_i.exports===kn,ji=gi&&Jt.process,Vi=function(){try{return _i&&_i.require&&_i.require("util").types||ji&&ji.binding&&ji.binding("util")}catch{}}(),jo=Vi&&Vi.isArrayBuffer,uo=Vi&&Vi.isDate,ir=Vi&&Vi.isMap,ws=Vi&&Vi.isRegExp,bn=Vi&&Vi.isSet,Vo=Vi&&Vi.isTypedArray;function ls(Ke,wt,bt){switch(bt.length){case 0:return Ke.call(wt);case 1:return Ke.call(wt,bt[0]);case 2:return Ke.call(wt,bt[0],bt[1]);case 3:return Ke.call(wt,bt[0],bt[1],bt[2])}return Ke.apply(wt,bt)}function sr(Ke,wt,bt,mn){for(var Dn=-1,jn=null==Ke?0:Ke.length;++Dn<jn;){var Cs=Ke[Dn];wt(mn,Cs,bt(Cs),Ke)}return mn}function Fi(Ke,wt){for(var bt=-1,mn=null==Ke?0:Ke.length;++bt<mn&&!1!==wt(Ke[bt],bt,Ke););return Ke}function ks(Ke,wt){for(var bt=null==Ke?0:Ke.length;bt--&&!1!==wt(Ke[bt],bt,Ke););return Ke}function ho(Ke,wt){for(var bt=-1,mn=null==Ke?0:Ke.length;++bt<mn;)if(!wt(Ke[bt],bt,Ke))return!1;return!0}function ms(Ke,wt){for(var bt=-1,mn=null==Ke?0:Ke.length,Dn=0,jn=[];++bt<mn;){var Cs=Ke[bt];wt(Cs,bt,Ke)&&(jn[Dn++]=Cs)}return jn}function cs(Ke,wt){return!(null==Ke||!Ke.length)&&Vs(Ke,wt,0)>-1}function ga(Ke,wt,bt){for(var mn=-1,Dn=null==Ke?0:Ke.length;++mn<Dn;)if(bt(wt,Ke[mn]))return!0;return!1}function Ln(Ke,wt){for(var bt=-1,mn=null==Ke?0:Ke.length,Dn=Array(mn);++bt<mn;)Dn[bt]=wt(Ke[bt],bt,Ke);return Dn}function Hi(Ke,wt){for(var bt=-1,mn=wt.length,Dn=Ke.length;++bt<mn;)Ke[Dn+bt]=wt[bt];return Ke}function po(Ke,wt,bt,mn){var Dn=-1,jn=null==Ke?0:Ke.length;for(mn&&jn&&(bt=Ke[++Dn]);++Dn<jn;)bt=wt(bt,Ke[Dn],Dn,Ke);return bt}function Lt(Ke,wt,bt,mn){var Dn=null==Ke?0:Ke.length;for(mn&&Dn&&(bt=Ke[--Dn]);Dn--;)bt=wt(bt,Ke[Dn],Dn,Ke);return bt}function Br(Ke,wt){for(var bt=-1,mn=null==Ke?0:Ke.length;++bt<mn;)if(wt(Ke[bt],bt,Ke))return!0;return!1}var js=F("length");function _r(Ke,wt,bt){var mn;return bt(Ke,function(Dn,jn,Cs){if(wt(Dn,jn,Cs))return mn=jn,!1}),mn}function Xo(Ke,wt,bt,mn){for(var Dn=Ke.length,jn=bt+(mn?1:-1);mn?jn--:++jn<Dn;)if(wt(Ke[jn],jn,Ke))return jn;return-1}function Vs(Ke,wt,bt){return wt==wt?function an(Ke,wt,bt){for(var mn=bt-1,Dn=Ke.length;++mn<Dn;)if(Ke[mn]===wt)return mn;return-1}(Ke,wt,bt):Xo(Ke,V,bt)}function fo(Ke,wt,bt,mn){for(var Dn=bt-1,jn=Ke.length;++Dn<jn;)if(mn(Ke[Dn],wt))return Dn;return-1}function V(Ke){return Ke!=Ke}function Y(Ke,wt){var bt=null==Ke?0:Ke.length;return bt?Zn(Ke,wt)/bt:NaN}function F(Ke){return function(wt){return null==wt?e:wt[Ke]}}function de(Ke){return function(wt){return null==Ke?e:Ke[wt]}}function Ne(Ke,wt,bt,mn,Dn){return Dn(Ke,function(jn,Cs,ai){bt=mn?(mn=!1,jn):wt(bt,jn,Cs,ai)}),bt}function Zn(Ke,wt){for(var bt,mn=-1,Dn=Ke.length;++mn<Dn;){var jn=wt(Ke[mn]);jn!==e&&(bt=bt===e?jn:bt+jn)}return bt}function Bs(Ke,wt){for(var bt=-1,mn=Array(Ke);++bt<Ke;)mn[bt]=wt(bt);return mn}function or(Ke){return Ke&&Ke.slice(0,Pn(Ke)+1).replace(Ht,"")}function Ko(Ke){return function(wt){return Ke(wt)}}function Va(Ke,wt){return Ln(wt,function(bt){return Ke[bt]})}function rr(Ke,wt){return Ke.has(wt)}function Sr(Ke,wt){for(var bt=-1,mn=Ke.length;++bt<mn&&Vs(wt,Ke[bt],0)>-1;);return bt}function ui(Ke,wt){for(var bt=Ke.length;bt--&&Vs(wt,Ke[bt],0)>-1;);return bt}var Ba=de({\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"}),ar=de({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ko(Ke){return"\\"+Oe[Ke]}function Bo(Ke){return on.test(Ke)}function Ki(Ke){var wt=-1,bt=Array(Ke.size);return Ke.forEach(function(mn,Dn){bt[++wt]=[Dn,mn]}),bt}function Do(Ke,wt){return function(bt){return Ke(wt(bt))}}function Eo(Ke,wt){for(var bt=-1,mn=Ke.length,Dn=0,jn=[];++bt<mn;){var Cs=Ke[bt];(Cs===wt||Cs===ge)&&(Ke[bt]=ge,jn[Dn++]=bt)}return jn}function xo(Ke){var wt=-1,bt=Array(Ke.size);return Ke.forEach(function(mn){bt[++wt]=mn}),bt}function _s(Ke){return Bo(Ke)?function Ci(Ke){for(var wt=mr.lastIndex=0;mr.test(Ke);)++wt;return wt}(Ke):js(Ke)}function jt(Ke){return Bo(Ke)?function St(Ke){return Ke.match(mr)||[]}(Ke):function zo(Ke){return Ke.split("")}(Ke)}function Pn(Ke){for(var wt=Ke.length;wt--&&Wn.test(Ke.charAt(wt)););return wt}var mo=de({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),So=function Ke(wt){var a,bt=(wt=null==wt?Nt:So.defaults(Nt.Object(),wt,So.pick(Nt,Li))).Array,mn=wt.Date,Dn=wt.Error,jn=wt.Function,Cs=wt.Math,ai=wt.Object,lr=wt.RegExp,$r=wt.String,Yn=wt.TypeError,_o=bt.prototype,O=ai.prototype,_=wt["__core-js_shared__"],d=jn.prototype.toString,C=O.hasOwnProperty,M=0,R=(a=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",be=O.toString,Ct=d.call(ai),Kt=Nt._,En=lr("^"+d.call(C).replace(pt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Bn=gi?wt.Buffer:e,Vn=wt.Symbol,Tn=wt.Uint8Array,as=Bn?Bn.allocUnsafe:e,Bi=Do(ai.getPrototypeOf,ai),vs=ai.create,Zi=O.propertyIsEnumerable,ni=_o.splice,Ks=Vn?Vn.isConcatSpreadable:e,oo=Vn?Vn.iterator:e,ys=Vn?Vn.toStringTag:e,cr=function(){try{var a=Qa(ai,"defineProperty");return a({},"",{}),a}catch{}}(),qr=wt.clearTimeout!==Nt.clearTimeout&&wt.clearTimeout,Ms=mn&&mn.now!==Nt.Date.now&&mn.now,To=wt.setTimeout!==Nt.setTimeout&&wt.setTimeout,Da=Cs.ceil,es=Cs.floor,Ea=ai.getOwnPropertySymbols,ac=Bn?Bn.isBuffer:e,$a=wt.isFinite,Qs=_o.join,Nc=Do(ai.keys,ai),eo=Cs.max,Co=Cs.min,Zr=mn.now,xa=wt.parseInt,rn=Cs.random,dr=_o.reverse,Ts=Qa(wt,"DataView"),nl=Qa(wt,"Map"),Lc=Qa(wt,"Promise"),xn=Qa(wt,"Set"),yl=Qa(wt,"WeakMap"),il=Qa(ai,"create"),Ua=yl&&new yl,Tr={},Ha=ul(Ts),$l=ul(nl),Ml=ul(Lc),Ul=ul(xn),jc=ul(yl),sl=Vn?Vn.prototype:e,Ir=sl?sl.valueOf:e,vd=sl?sl.toString:e;function U(a){if(ro(a)&&!mi(a)&&!(a instanceof Xn)){if(a instanceof vo)return a;if(C.call(a,"__wrapped__"))return Mc(a)}return new vo(a)}var ci=function(){function a(){}return function(p){if(!io(p))return{};if(vs)return vs(p);a.prototype=p;var b=new a;return a.prototype=e,b}}();function ol(){}function vo(a,p){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=e}function Xn(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=me,this.__views__=[]}function vr(a){var p=-1,b=null==a?0:a.length;for(this.clear();++p<b;){var A=a[p];this.set(A[0],A[1])}}function yo(a){var p=-1,b=null==a?0:a.length;for(this.clear();++p<b;){var A=a[p];this.set(A[0],A[1])}}function T(a){var p=-1,b=null==a?0:a.length;for(this.clear();++p<b;){var A=a[p];this.set(A[0],A[1])}}function vt(a){var p=-1,b=null==a?0:a.length;for(this.__data__=new T;++p<b;)this.add(a[p])}function Jn(a){var p=this.__data__=new yo(a);this.size=p.size}function Ol(a,p){var b=mi(a),A=!b&&fl(a),q=!b&&!A&&Fa(a),Ce=!b&&!A&&!q&&Ll(a),He=b||A||q||Ce,Ze=He?Bs(a.length,$r):[],ct=Ze.length;for(var It in a)(p||C.call(a,It))&&(!He||!("length"==It||q&&("offset"==It||"parent"==It)||Ce&&("buffer"==It||"byteLength"==It||"byteOffset"==It)||dl(It,ct)))&&Ze.push(It);return Ze}function Js(a){var p=a.length;return p?a[Xa(0,p-1)]:e}function br(a,p){return Vd(Yr(a),Ga(p,0,a.length))}function $s(a){return Vd(Yr(a))}function na(a,p,b){(b!==e&&!Ja(a[p],b)||b===e&&!(p in a))&&Ur(a,p,b)}function ma(a,p,b){var A=a[p];(!C.call(a,p)||!Ja(A,b)||b===e&&!(p in a))&&Ur(a,p,b)}function Hc(a,p){for(var b=a.length;b--;)if(Ja(a[b][0],p))return b;return-1}function jh(a,p,b,A){return sa(a,function(q,Ce,He){p(A,q,b(q),He)}),A}function Or(a,p){return a&&va(p,ao(p),a)}function Ur(a,p,b){"__proto__"==p&&cr?cr(a,p,{configurable:!0,enumerable:!0,value:b,writable:!0}):a[p]=b}function ia(a,p){for(var b=-1,A=p.length,q=bt(A),Ce=null==a;++b<A;)q[b]=Ce?e:Oh(a,p[b]);return q}function Ga(a,p,b){return a==a&&(b!==e&&(a=a<=b?a:b),p!==e&&(a=a>=p?a:p)),a}function Ho(a,p,b,A,q,Ce){var He,Ze=1&p,ct=2&p,It=4&p;if(b&&(He=q?b(a,A,q,Ce):b(a)),He!==e)return He;if(!io(a))return a;var Rt=mi(a);if(Rt){if(He=function Nd(a){var p=a.length,b=new a.constructor(p);return p&&"string"==typeof a[0]&&C.call(a,"index")&&(b.index=a.index,b.input=a.input),b}(a),!Ze)return Yr(a,He)}else{var Ft=pr(a),_n=Ft==yt||Ft==nt;if(Fa(a))return Hr(a,Ze);if(Ft==Gn||Ft==Ie||_n&&!q){if(He=ct||_n?{}:Zc(a),!Ze)return ct?function ya(a,p){return va(a,Nu(a),p)}(a,function yu(a,p){return a&&va(p,Dr(p),a)}(He,a)):function Ed(a,p){return va(a,Rd(a),p)}(a,Or(He,a))}else{if(!zn[Ft])return q?a:{};He=function Ld(a,p,b){var A=a.constructor;switch(p){case Pi:return Jl(a);case ut:case nn:return new A(+a);case hn:return function mc(a,p){var b=p?Jl(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.byteLength)}(a,b);case wi:case to:case Kn:case Ys:case An:case Gi:case Ri:case Ni:case sn:return Mo(a,b);case lt:return new A;case Vt:case vn:return new A(a);case li:return function Hg(a){var p=new a.constructor(a.source,Dt.exec(a));return p.lastIndex=a.lastIndex,p}(a);case pi:return new A;case Fn:return function Hh(a){return Ir?ai(Ir.call(a)):{}}(a)}}(a,Ft,Ze)}}Ce||(Ce=new Jn);var Un=Ce.get(a);if(Un)return Un;Ce.set(a,He),sg(a)?a.forEach(function(ii){He.add(Ho(ii,p,b,ii,a,Ce))}):Yp(a)&&a.forEach(function(ii,Qi){He.set(Qi,Ho(ii,p,b,Qi,a,Ce))});var Di=Rt?e:(It?ct?Jc:qh:ct?Dr:ao)(a);return Fi(Di||a,function(ii,Qi){Di&&(ii=a[Qi=ii]),ma(He,Qi,Ho(ii,p,b,Qi,a,Ce))}),He}function lc(a,p,b){var A=b.length;if(null==a)return!A;for(a=ai(a);A--;){var q=b[A],He=a[q];if(He===e&&!(q in a)||!(0,p[q])(He))return!1}return!0}function Gl(a,p,b){if("function"!=typeof a)throw new Yn(Z);return nd(function(){a.apply(e,b)},p)}function wl(a,p,b,A){var q=-1,Ce=cs,He=!0,Ze=a.length,ct=[],It=p.length;if(!Ze)return ct;b&&(p=Ln(p,Ko(b))),A?(Ce=ga,He=!1):p.length>=200&&(Ce=rr,He=!1,p=new vt(p));e:for(;++q<Ze;){var Rt=a[q],Ft=null==b?Rt:b(Rt);if(Rt=A||0!==Rt?Rt:0,He&&Ft==Ft){for(var _n=It;_n--;)if(p[_n]===Ft)continue e;ct.push(Rt)}else Ce(p,Ft,A)||ct.push(Rt)}return ct}U.templateSettings={escape:en,evaluate:Qt,interpolate:qe,variable:"",imports:{_:U}},(U.prototype=ol.prototype).constructor=U,(vo.prototype=ci(ol.prototype)).constructor=vo,(Xn.prototype=ci(ol.prototype)).constructor=Xn,vr.prototype.clear=function Hl(){this.__data__=il?il(null):{},this.size=0},vr.prototype.delete=function yr(a){var p=this.has(a)&&delete this.__data__[a];return this.size-=p?1:0,p},vr.prototype.get=function Bc(a){var p=this.__data__;if(il){var b=p[a];return b===le?e:b}return C.call(p,a)?p[a]:e},vr.prototype.has=function $c(a){var p=this.__data__;return il?p[a]!==e:C.call(p,a)},vr.prototype.set=function ur(a,p){var b=this.__data__;return this.size+=this.has(a)?0:1,b[a]=il&&p===e?le:p,this},yo.prototype.clear=function Uc(){this.__data__=[],this.size=0},yo.prototype.delete=function Sa(a){var p=this.__data__,b=Hc(p,a);return!(b<0||(b==p.length-1?p.pop():ni.call(p,b,1),--this.size,0))},yo.prototype.get=function ta(a){var p=this.__data__,b=Hc(p,a);return b<0?e:p[b][1]},yo.prototype.has=function vu(a){return Hc(this.__data__,a)>-1},yo.prototype.set=function D(a,p){var b=this.__data__,A=Hc(b,a);return A<0?(++this.size,b.push([a,p])):b[A][1]=p,this},T.prototype.clear=function P(){this.size=0,this.__data__={hash:new vr,map:new(nl||yo),string:new vr}},T.prototype.delete=function I(a){var p=Au(this,a).delete(a);return this.size-=p?1:0,p},T.prototype.get=function j(a){return Au(this,a).get(a)},T.prototype.has=function oe(a){return Au(this,a).has(a)},T.prototype.set=function Ae(a,p){var b=Au(this,a),A=b.size;return b.set(a,p),this.size+=b.size==A?0:1,this},vt.prototype.add=vt.prototype.push=function Mt(a){return this.__data__.set(a,le),this},vt.prototype.has=function fn(a){return this.__data__.has(a)},Jn.prototype.clear=function Ds(){this.__data__=new yo,this.size=0},Jn.prototype.delete=function $i(a){var p=this.__data__,b=p.delete(a);return this.size=p.size,b},Jn.prototype.get=function Mr(a){return this.__data__.get(a)},Jn.prototype.has=function Ya(a){return this.__data__.has(a)},Jn.prototype.set=function bl(a,p){var b=this.__data__;if(b instanceof yo){var A=b.__data__;if(!nl||A.length<199)return A.push([a,p]),this.size=++b.size,this;b=this.__data__=new T(A)}return b.set(a,p),this.size=b.size,this};var sa=Ma(hr),cc=Ma(Ou,!0);function Wl(a,p){var b=!0;return sa(a,function(A,q,Ce){return b=!!p(A,q,Ce)}),b}function Ai(a,p,b){for(var A=-1,q=a.length;++A<q;){var Ce=a[A],He=p(Ce);if(null!=He&&(Ze===e?He==He&&!ca(He):b(He,Ze)))var Ze=He,ct=Ce}return ct}function zl(a,p){var b=[];return sa(a,function(A,q,Ce){p(A,q,Ce)&&b.push(A)}),b}function Is(a,p,b,A,q){var Ce=-1,He=a.length;for(b||(b=xf),q||(q=[]);++Ce<He;){var Ze=a[Ce];p>0&&b(Ze)?p>1?Is(Ze,p-1,b,A,q):Hi(q,Ze):A||(q[q.length]=Ze)}return q}var Mu=xu(),bu=xu(!0);function hr(a,p){return a&&Mu(a,p,ao)}function Ou(a,p){return a&&bu(a,p,ao)}function Yc(a,p){return ms(p,function(b){return gl(a[b])})}function Qo(a,p){for(var b=0,A=(p=El(p,a)).length;null!=a&&b<A;)a=a[la(p[b++])];return b&&b==A?a:e}function Wa(a,p,b){var A=p(a);return mi(a)?A:Hi(A,b(a))}function wr(a){return null==a?a===e?"[object Undefined]":"[object Null]":ys&&ys in ai(a)?function Ad(a){var p=C.call(a,ys),b=a[ys];try{a[ys]=e;var A=!0}catch{}var q=be.call(a);return A&&(p?a[ys]=b:delete a[ys]),q}(a):function kr(a){return be.call(a)}(a)}function rl(a,p){return a>p}function Gc(a,p){return null!=a&&C.call(a,p)}function Ta(a,p){return null!=a&&p in ai(a)}function Wc(a,p,b){for(var A=b?ga:cs,q=a[0].length,Ce=a.length,He=Ce,Ze=bt(Ce),ct=1/0,It=[];He--;){var Rt=a[He];He&&p&&(Rt=Ln(Rt,Ko(p))),ct=Co(Rt.length,ct),Ze[He]=!b&&(p||q>=120&&Rt.length>=120)?new vt(He&&Rt):e}Rt=a[0];var Ft=-1,_n=Ze[0];e:for(;++Ft<q&&It.length<ct;){var Un=Rt[Ft],di=p?p(Un):Un;if(Un=b||0!==Un?Un:0,!(_n?rr(_n,di):A(It,di,b))){for(He=Ce;--He;){var Di=Ze[He];if(!(Di?rr(Di,di):A(a[He],di,b)))continue e}_n&&_n.push(di),It.push(Un)}}return It}function dc(a,p,b){var A=null==(a=$u(a,p=El(p,a)))?a:a[la(Jo(p))];return null==A?e:ls(A,a,b)}function _a(a){return ro(a)&&wr(a)==Ie}function za(a,p,b,A,q){return a===p||(null==a||null==p||!ro(a)&&!ro(p)?a!=a&&p!=p:function uc(a,p,b,A,q,Ce){var He=mi(a),Ze=mi(p),ct=He?Ge:pr(a),It=Ze?Ge:pr(p),Rt=(ct=ct==Ie?Gn:ct)==Gn,Ft=(It=It==Ie?Gn:It)==Gn,_n=ct==It;if(_n&&Fa(a)){if(!Fa(p))return!1;He=!0,Rt=!1}if(_n&&!Rt)return Ce||(Ce=new Jn),He||Ll(a)?Jh(a,p,b,A,q,Ce):function Df(a,p,b,A,q,Ce,He){switch(b){case hn:if(a.byteLength!=p.byteLength||a.byteOffset!=p.byteOffset)return!1;a=a.buffer,p=p.buffer;case Pi:return!(a.byteLength!=p.byteLength||!Ce(new Tn(a),new Tn(p)));case ut:case nn:case Vt:return Ja(+a,+p);case We:return a.name==p.name&&a.message==p.message;case li:case vn:return a==p+"";case lt:var Ze=Ki;case pi:if(Ze||(Ze=xo),a.size!=p.size&&!(1&A))return!1;var It=He.get(a);if(It)return It==p;A|=2,He.set(a,p);var Rt=Jh(Ze(a),Ze(p),A,q,Ce,He);return He.delete(a),Rt;case Fn:if(Ir)return Ir.call(a)==Ir.call(p)}return!1}(a,p,ct,b,A,q,Ce);if(!(1&b)){var Un=Rt&&C.call(a,"__wrapped__"),di=Ft&&C.call(p,"__wrapped__");if(Un||di){var Di=Un?a.value():a,ii=di?p.value():p;return Ce||(Ce=new Jn),q(Di,ii,b,A,Ce)}}return!!_n&&(Ce||(Ce=new Jn),function Iu(a,p,b,A,q,Ce){var He=1&b,Ze=qh(a),ct=Ze.length;if(ct!=qh(p).length&&!He)return!1;for(var Ft=ct;Ft--;){var _n=Ze[Ft];if(!(He?_n in p:C.call(p,_n)))return!1}var Un=Ce.get(a),di=Ce.get(p);if(Un&&di)return Un==p&&di==a;var Di=!0;Ce.set(a,p),Ce.set(p,a);for(var ii=He;++Ft<ct;){var Qi=a[_n=Ze[Ft]],ns=p[_n];if(A)var Ra=He?A(ns,Qi,_n,p,a,Ce):A(Qi,ns,_n,a,p,Ce);if(!(Ra===e?Qi===ns||q(Qi,ns,b,A,Ce):Ra)){Di=!1;break}ii||(ii="constructor"==_n)}if(Di&&!ii){var zr=a.constructor,Na=p.constructor;zr!=Na&&"constructor"in a&&"constructor"in p&&!("function"==typeof zr&&zr instanceof zr&&"function"==typeof Na&&Na instanceof Na)&&(Di=!1)}return Ce.delete(a),Ce.delete(p),Di}(a,p,b,A,q,Ce))}(a,p,b,A,za,q))}function Xl(a,p,b,A){var q=b.length,Ce=q,He=!A;if(null==a)return!Ce;for(a=ai(a);q--;){var Ze=b[q];if(He&&Ze[2]?Ze[1]!==a[Ze[0]]:!(Ze[0]in a))return!1}for(;++q<Ce;){var ct=(Ze=b[q])[0],It=a[ct],Rt=Ze[1];if(He&&Ze[2]){if(It===e&&!(ct in a))return!1}else{var Ft=new Jn;if(A)var _n=A(It,Rt,ct,a,p,Ft);if(!(_n===e?za(Rt,It,3,A,Ft):_n))return!1}}return!0}function Ca(a){return!(!io(a)||function Tf(a){return!!R&&R in a}(a))&&(gl(a)?En:Gt).test(ul(a))}function bd(a){return"function"==typeof a?a:null==a?Ao:"object"==typeof a?mi(a)?X(a[0],a[1]):N(a):gg(a)}function Od(a){if(!td(a))return Nc(a);var p=[];for(var b in ai(a))C.call(a,b)&&"constructor"!=b&&p.push(b);return p}function y(a,p){return a<p}function E(a,p){var b=-1,A=Fo(a)?bt(a.length):[];return sa(a,function(q,Ce,He){A[++b]=p(q,Ce,He)}),A}function N(a){var p=Ru(a);return 1==p.length&&p[0][2]?Ar(p[0][0],p[0][1]):function(b){return b===a||Xl(b,a,p)}}function X(a,p){return ed(a)&&np(p)?Ar(la(a),p):function(b){var A=Oh(b,a);return A===e&&A===p?wh(b,a):za(p,A,3)}}function je(a,p,b,A,q){a!==p&&Mu(p,function(Ce,He){if(q||(q=new Jn),io(Ce))!function ft(a,p,b,A,q,Ce,He){var Ze=Uu(a,b),ct=Uu(p,b),It=He.get(ct);if(It)na(a,b,It);else{var Rt=Ce?Ce(Ze,ct,b+"",a,p,He):e,Ft=Rt===e;if(Ft){var _n=mi(ct),Un=!_n&&Fa(ct),di=!_n&&!Un&&Ll(ct);Rt=ct,_n||Un||di?mi(Ze)?Rt=Ze:bo(Ze)?Rt=Yr(Ze):Un?(Ft=!1,Rt=Hr(ct,!0)):di?(Ft=!1,Rt=Mo(ct,!0)):Rt=[]:pd(ct)||fl(ct)?(Rt=Ze,fl(Ze)?Rt=og(Ze):(!io(Ze)||gl(Ze))&&(Rt=Zc(ct))):Ft=!1}Ft&&(He.set(ct,Rt),q(Rt,ct,A,Ce,He),He.delete(ct)),na(a,b,Rt)}}(a,p,He,b,je,A,q);else{var Ze=A?A(Uu(a,He),Ce,He+"",a,p,q):e;Ze===e&&(Ze=Ce),na(a,He,Ze)}},Dr)}function Et(a,p){var b=a.length;if(b)return dl(p+=p<0?b:0,b)?a[p]:e}function On(a,p,b){p=p.length?Ln(p,function(Ce){return mi(Ce)?function(He){return Qo(He,1===Ce.length?Ce[0]:Ce)}:Ce}):[Ao];var A=-1;return p=Ln(p,Ko(si())),function yn(Ke,wt){var bt=Ke.length;for(Ke.sort(wt);bt--;)Ke[bt]=Ke[bt].value;return Ke}(E(a,function(Ce,He,Ze){return{criteria:Ln(p,function(It){return It(Ce)}),index:++A,value:Ce}}),function(Ce,He){return function Yh(a,p,b){for(var A=-1,q=a.criteria,Ce=p.criteria,He=q.length,Ze=b.length;++A<He;){var ct=Io(q[A],Ce[A]);if(ct)return A>=Ze?ct:ct*("desc"==b[A]?-1:1)}return a.index-p.index}(Ce,He,b)})}function ll(a,p,b){for(var A=-1,q=p.length,Ce={};++A<q;){var He=p[A],Ze=Qo(a,He);b(Ze,He)&&Pd(Ce,El(He,a),Ze)}return Ce}function Pl(a,p,b,A){var q=A?fo:Vs,Ce=-1,He=p.length,Ze=a;for(a===p&&(p=Yr(p)),b&&(Ze=Ln(a,Ko(b)));++Ce<He;)for(var ct=0,It=p[Ce],Rt=b?b(It):It;(ct=q(Ze,Rt,ct,A))>-1;)Ze!==a&&ni.call(Ze,ct,1),ni.call(a,ct,1);return a}function wd(a,p){for(var b=a?p.length:0,A=b-1;b--;){var q=p[b];
vendor: 4,238 bytes, line 1
1if(b==A||q!==Ce){var Ce=q;dl(q)?ni.call(a,q,1):ku(a,q)}}return a}function Xa(a,p){return a+es(rn()*(p-a+1))}function kl(a,p){var b="";if(!a||p<1||p>Je)return b;do{p%2&&(b+=a),(p=es(p/2))&&(a+=a)}while(p);return b}function ki(a,p){return jd(yc(a,p,Ao),a+"")}function wu(a){return Js(h(a))}function pc(a,p){var b=h(a);return Vd(b,Ga(p,0,b.length))}function Pd(a,p,b,A){if(!io(a))return a;for(var q=-1,Ce=(p=El(p,a)).length,He=Ce-1,Ze=a;null!=Ze&&++q<Ce;){var ct=la(p[q]),It=b;if("__proto__"===ct||"constructor"===ct||"prototype"===ct)return a;if(q!=He){var Rt=Ze[ct];(It=A?A(Rt,ct,Ze):e)===e&&(It=io(Rt)?Rt:dl(p[q+1])?[]:{})}ma(Ze,ct,It),Ze=Ze[ct]}return a}var Bh=Ua?function(a,p){return Ua.set(a,p),a}:Ao,Vg=cr?function(a,p){return cr(a,"toString",{configurable:!0,enumerable:!1,value:Zo(p),writable:!0})}:Ao;function Bg(a){return Vd(h(a))}function Ia(a,p,b){var A=-1,q=a.length;p<0&&(p=-p>q?0:q+p),(b=b>q?q:b)<0&&(b+=q),q=p>b?0:b-p>>>0,p>>>=0;for(var Ce=bt(q);++A<q;)Ce[A]=a[A+p];return Ce}function $g(a,p){var b;return sa(a,function(A,q,Ce){return!(b=p(A,q,Ce))}),!!b}function Pu(a,p,b){var A=0,q=null==a?A:a.length;if("number"==typeof p&&p==p&&q<=2147483647){for(;A<q;){var Ce=A+q>>>1,He=a[Ce];null!==He&&!ca(He)&&(b?He<=p:He<p)?A=Ce+1:q=Ce}return q}return $h(a,p,Ao,b)}function $h(a,p,b,A){var q=0,Ce=null==a?0:a.length;if(0===Ce)return 0;for(var He=(p=b(p))!=p,Ze=null===p,ct=ca(p),It=p===e;q<Ce;){var Rt=es((q+Ce)/2),Ft=b(a[Rt]),_n=Ft!==e,Un=null===Ft,di=Ft==Ft,Di=ca(Ft);if(He)var ii=A||di;else ii=It?di&&(A||_n):Ze?di&&_n&&(A||!Un):ct?di&&_n&&!Un&&(A||!Di):!Un&&!Di&&(A?Ft<=p:Ft<p);ii?q=Rt+1:Ce=Rt}return Co(Ce,4294967294)}function Kl(a,p){for(var b=-1,A=a.length,q=0,Ce=[];++b<A;){var He=a[b],Ze=p?p(He):He;if(!b||!Ja(Ze,ct)){var ct=Ze;Ce[q++]=0===He?0:He}}return Ce}function Uh(a){return"number"==typeof a?a:ca(a)?NaN:+a}function ra(a){if("string"==typeof a)return a;if(mi(a))return Ln(a,ra)+"";if(ca(a))return vd?vd.call(a):"";var p=a+"";return"0"==p&&1/a==-gn?"-0":p}function Hs(a,p,b){var A=-1,q=cs,Ce=a.length,He=!0,Ze=[],ct=Ze;if(b)He=!1,q=ga;else if(Ce>=200){var It=p?null:Zl(a);if(It)return xo(It);He=!1,q=rr,ct=new vt}else ct=p?[]:Ze;e:for(;++A<Ce;){var Rt=a[A],Ft=p?p(Rt):Rt;if(Rt=b||0!==Rt?Rt:0,He&&Ft==Ft){for(var _n=ct.length;_n--;)if(ct[_n]===Ft)continue e;p&&ct.push(Ft),Ze.push(Rt)}else q(ct,Ft,b)||(ct!==Ze&&ct.push(Ft),Ze.push(Rt))}return Ze}function ku(a,p){var b=-1,A=(p=El(p,a)).length;if(!A)return!0;for(;++b<A;){var q=la(p[b]);if("__proto__"===q&&!C.call(a,"__proto__")||("constructor"===q||"prototype"===q)&&b<A-1)return!1}var Ce=$u(a,p);return null==Ce||delete Ce[la(Jo(p))]}function fc(a,p,b,A){return Pd(a,p,b(Qo(a,p)),A)}function kd(a,p,b,A){for(var q=a.length,Ce=A?q:-1;(A?Ce--:++Ce<q)&&p(a[Ce],Ce,a););return b?Ia(a,A?0:Ce,A?Ce+1:q):Ia(a,A?Ce+1:0,A?q:Ce)}function aa(a,p){var b=a;return b instanceof Xn&&(b=b.value()),po(p,function(A,q){return q.func.apply(q.thisArg,Hi([A],q.args))},b)}function Dl(a,p,b){var A=a.length;if(A<2)return A?Hs(a[0]):[];for(var q=-1,Ce=bt(A);++q<A;)for(var He=a[q],Ze=-1;++Ze<A;)Ze!=q&&(Ce[q]=wl(Ce[q]||He,a[Ze],p,b));return Hs(Is(Ce,1),p,b)}function Du(a,p,b){for(var A=-1,q=a.length,Ce=p.length,He={};++A<q;)b(He,a[A],A<Ce?p[A]:e);return He}function gc(a){return bo(a)?a:[]}function Ql(a){return"function"==typeof a?a:Ao}function El(a,p){return mi(a)?a:ed(a,p)?[a]:rp(qi(a))}var Ug=ki;function xl(a,p,b){var A=a.length;return b=b===e?A:b,!p&&b>=A?a:Ia(a,p,b)}var wf=qr||function(a){return Nt.clearTimeout(a)};function Hr(a,p){if(p)return a.slice();var b=a.length,A=as?as(b):new a.constructor(b);return a.copy(A),A}function Jl(a){var p=new a.constructor(a.byteLength);return new Tn(p).set(new Tn(a)),p}function Mo(a,p){var b=p?Jl(a.buffer):a.buffer;return new a.constructor(b,a.byteOffset,a.length)}function Io(a,p){if(a!==p){var b=a!==e,A=null===a,q=a==a,Ce=ca(a),He=p!==e,Ze=null===p,ct=p==p,It=ca(p);if(!Ze&&!It&&!Ce&&a>p||Ce&&He&&ct&&!Ze&&!It||A&&He&&ct||!b&&ct||!q)return 1;if(!A&&!Ce&&!It&&a<p||It&&b&&q&&!A&&!Ce||Ze&&b&&q||!He&&q||!ct)return-1}return 0}function Dd(a,p,b,A){for(var q=-1,Ce=a.length,He=b.length,Ze=-1,ct=p.length,It=eo(Ce-He,0),Rt=bt(ct+It),Ft=!A;++Ze<ct;)Rt[Ze]=p[Ze];for(;++q<He;)(Ft||q<Ce)&&(Rt[b[q]]=a[q]);for(;It--;)Rt[Ze++]=a[q++];return Rt}
vendor: 1,888 bytes, line 1
1function Eu(a,p,b,A){for(var q=-1,Ce=a.length,He=-1,Ze=b.length,ct=-1,It=p.length,Rt=eo(Ce-Ze,0),Ft=bt(Rt+It),_n=!A;++q<Rt;)Ft[q]=a[q];for(var Un=q;++ct<It;)Ft[Un+ct]=p[ct];for(;++He<Ze;)(_n||q<Ce)&&(Ft[Un+b[He]]=a[q++]);return Ft}function Yr(a,p){var b=-1,A=a.length;for(p||(p=bt(A));++b<A;)p[b]=a[b];return p}function va(a,p,b,A){var q=!b;b||(b={});for(var Ce=-1,He=p.length;++Ce<He;){var Ze=p[Ce],ct=A?A(b[Ze],a[Ze],Ze,b,a):e;ct===e&&(ct=a[Ze]),q?Ur(b,Ze,ct):ma(b,Ze,ct)}return b}function dn(a,p){return function(b,A){var q=mi(b)?sr:jh,Ce=p?p():{};return q(b,a,si(A,2),Ce)}}function _c(a){return ki(function(p,b){var A=-1,q=b.length,Ce=q>1?b[q-1]:e,He=q>2?b[2]:e;for(Ce=a.length>3&&"function"==typeof Ce?(q--,Ce):e,He&&Pr(b[0],b[1],He)&&(Ce=q<3?e:Ce,q=1),p=ai(p);++A<q;){var Ze=b[A];Ze&&a(p,Ze,A,Ce)}return p})}function Ma(a,p){return function(b,A){if(null==b)return b;if(!Fo(b))return a(b,A);for(var q=b.length,Ce=p?q:-1,He=ai(b);(p?Ce--:++Ce<q)&&!1!==A(He[Ce],Ce,He););return b}}function xu(a){return function(p,b,A){for(var q=-1,Ce=ai(p),He=A(p),Ze=He.length;Ze--;){var ct=He[a?Ze:++q];if(!1===b(Ce[ct],ct,Ce))break}return p}}function xd(a){return function(p){var b=Bo(p=qi(p))?jt(p):e,A=b?b[0]:p.charAt(0),q=b?xl(b,1).join(""):p.slice(1);return A[a]()+q}}function cl(a){return function(p){return po(Nr(ot(p).replace(gs,"")),a,"")}}function Cc(a){return function(){var p=arguments;switch(p.length){case 0:return new a;case 1:return new a(p[0]);case 2:return new a(p[0],p[1]);case 3:return new a(p[0],p[1],p[2]);case 4:return new a(p[0],p[1],p[2],p[3]);case 5:return new a(p[0],p[1],p[2],p[3],p[4]);case 6:return new a(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new a(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var b=ci(a.prototype),A=a.apply(b,p);return io(A)?A:b}}function Wh(a){return function(p,b,A){var q=ai(p);if(!Fo(p)){var Ce=si(b,3);p=ao(p),b=function(Ze){return Ce(q[Ze],Ze,q)}}
vendor: 5,519 bytes, line 1
1var He=a(p,b,A);return He>-1?q[Ce?p[He]:He]:e}}function Sl(a){return Il(function(p){var b=p.length,A=b,q=vo.prototype.thru;for(a&&p.reverse();A--;){var Ce=p[A];if("function"!=typeof Ce)throw new Yn(Z);if(q&&!He&&"wrapper"==Fu(Ce))var He=new vo([],!0)}for(A=He?A:b;++A<b;){var Ze=Fu(Ce=p[A]),ct="wrapper"==Ze?Zh(Ce):e;He=ct&&ju(ct[0])&&424==ct[1]&&!ct[4].length&&1==ct[9]?He[Fu(ct[0])].apply(He,ct[3]):1==Ce.length&&ju(Ce)?He[Ze]():He.thru(Ce)}return function(){var It=arguments,Rt=It[0];if(He&&1==It.length&&mi(Rt))return He.plant(Rt).value();for(var Ft=0,_n=b?p[Ft].apply(this,It):Rt;++Ft<b;)_n=p[Ft].call(this,_n);return _n}})}function Tl(a,p,b,A,q,Ce,He,Ze,ct,It){var Rt=128&p,Ft=1&p,_n=2&p,Un=24&p,di=512&p,Di=_n?e:Cc(a);return function ii(){for(var Qi=arguments.length,ns=bt(Qi),Ra=Qi;Ra--;)ns[Ra]=arguments[Ra];if(Un)var zr=qc(ii),Na=function Kr(Ke,wt){for(var bt=Ke.length,mn=0;bt--;)Ke[bt]===wt&&++mn;return mn}(ns,zr);if(A&&(ns=Dd(ns,A,q,Un)),Ce&&(ns=Eu(ns,Ce,He,Un)),Qi-=Na,Un&&Qi<It){var Go=Eo(ns,zr);return Kh(a,p,Tl,ii.placeholder,b,ns,Go,Ze,ct,It-Qi)}var La=Ft?b:this,sc=_n?La[a]:a;return Qi=ns.length,Ze?ns=function sp(a,p){for(var b=a.length,A=Co(p.length,b),q=Yr(a);A--;){var Ce=p[A];a[A]=dl(Ce,b)?q[Ce]:e}return a}(ns,Ze):di&&Qi>1&&ns.reverse(),Rt&&ct<Qi&&(ns.length=ct),this&&this!==Nt&&this instanceof ii&&(sc=Di||Cc(sc)),sc.apply(La,ns)}}function zh(a,p){return function(b,A){return function Fr(a,p,b,A){return hr(a,function(q,Ce,He){p(A,b(q),Ce,He)}),A}(b,a,p(A),{})}}function Su(a,p){return function(b,A){var q;if(b===e&&A===e)return p;if(b!==e&&(q=b),A!==e){if(q===e)return A;"string"==typeof b||"string"==typeof A?(b=ra(b),A=ra(A)):(b=Uh(b),A=Uh(A)),q=a(b,A)}return q}}function Sd(a){return Il(function(p){return p=Ln(p,Ko(si())),ki(function(b){var A=this;return a(p,function(q){return ls(q,A,b)})})})}function Td(a,p){var b=(p=p===e?" ":ra(p)).length;if(b<2)return b?kl(p,a):p;var A=kl(p,Da(a/_s(p)));return Bo(p)?xl(jt(A),0,a).join(""):A.slice(0,a)}function Xh(a){return function(p,b,A){return A&&"number"!=typeof A&&Pr(p,b,A)&&(b=A=e),p=Gr(p),b===e?(b=p,p=0):b=Gr(b),function hc(a,p,b,A){for(var q=-1,Ce=eo(Da((p-a)/(b||1)),0),He=bt(Ce);Ce--;)He[A?Ce:++q]=a,a+=b;return He}(p,b,A=A===e?p<b?1:-1:Gr(A),a)}}function Fd(a){return function(p,b){return"string"==typeof p&&"string"==typeof b||(p=Rr(p),b=Rr(b)),a(p,b)}}function Kh(a,p,b,A,q,Ce,He,Ze,ct,It){var Rt=8&p;p|=Rt?H:64,4&(p&=~(Rt?64:H))||(p&=-4);var Di=[a,p,q,Rt?Ce:e,Rt?He:e,Rt?e:Ce,Rt?e:He,Ze,ct,It],ii=b.apply(e,Di);return ju(a)&&Hu(ii,Di),ii.placeholder=A,op(ii,a,p)}function ql(a){var p=Cs[a];return function(b,A){if(b=Rr(b),(A=null==A?0:Co(vi(A),292))&&$a(b)){var q=(qi(b)+"e").split("e");return+((q=(qi(p(q[0]+"e"+(+q[1]+A)))+"e").split("e"))[0]+"e"+(+q[1]-A))}return p(b)}}var Zl=xn&&1/xo(new xn([,-0]))[1]==gn?function(a){return new xn(a)}:tf;function Qh(a){return function(p){var b=pr(p);return b==lt?Ki(p):b==pi?function Pa(Ke){var wt=-1,bt=Array(Ke.size);return Ke.forEach(function(mn){bt[++wt]=[mn,mn]}),bt}(p):function Cr(Ke,wt){return Ln(wt,function(bt){return[bt,Ke[bt]]})}(p,a(p))}}function Ka(a,p,b,A,q,Ce,He,Ze){var ct=2&p;if(!ct&&"function"!=typeof a)throw new Yn(Z);var It=A?A.length:0;if(It||(p&=-97,A=q=e),He=He===e?He:eo(vi(He),0),Ze=Ze===e?Ze:vi(Ze),It-=q?q.length:0,64&p){var Rt=A,Ft=q;A=q=e}var _n=ct?e:Zh(a),Un=[a,p,b,A,q,Rt,Ft,Ce,He,Ze];if(_n&&function ip(a,p){var b=a[1],A=p[1],q=b|A;if(!(q<131)&&!(128==A&&8==b||128==A&&256==b&&a[7].length<=p[8]||384==A&&p[7].length<=p[8]&&8==b))return a;1&A&&(a[2]=p[2],q|=1&b?0:4);var Ze=p[3];if(Ze){var ct=a[3];a[3]=ct?Dd(ct,Ze,p[4]):Ze,a[4]=ct?Eo(a[3],ge):p[4]}(Ze=p[5])&&(a[5]=(ct=a[5])?Eu(ct,Ze,p[6]):Ze,a[6]=ct?Eo(a[5],ge):p[6]),(Ze=p[7])&&(a[7]=Ze),128&A&&(a[8]=null==a[8]?p[8]:Co(a[8],p[8])),null==a[9]&&(a[9]=p[9]),a[0]=p[0],a[1]=q}(Un,_n),a=Un[0],p=Un[1],b=Un[2],A=Un[3],q=Un[4],!(Ze=Un[9]=Un[9]===e?ct?0:a.length:eo(Un[9]-It,0))&&24&p&&(p&=-25),p&&1!=p)di=8==p||16==p?function Pf(a,p,b){var A=Cc(a);return function q(){for(var Ce=arguments.length,He=bt(Ce),Ze=Ce,ct=qc(q);Ze--;)He[Ze]=arguments[Ze];var It=Ce<3&&He[0]!==ct&&He[Ce-1]!==ct?[]:Eo(He,ct);return(Ce-=It.length)<b?Kh(a,p,Tl,q.placeholder,e,He,It,e,e,b-Ce):ls(this&&this!==Nt&&this instanceof q?A:a,this,He)}}(a,p,Ze):p!=H&&33!=p||q.length?Tl.apply(e,Un):function Id(a,p,b,A){var q=1&p,Ce=Cc(a);return function He(){for(var Ze=-1,ct=arguments.length,It=-1,Rt=A.length,Ft=bt(Rt+ct),_n=this&&this!==Nt&&this instanceof He?Ce:a;++It<Rt;)Ft[It]=A[It];for(;ct--;)Ft[It++]=arguments[++Ze];return ls(_n,q?b:this,Ft)}}(a,p,b,A);else var di=function Gh(a,p,b){var A=1&p,q=Cc(a);return function Ce(){return(this&&this!==Nt&&this instanceof Ce?q:a).apply(A?b:this,arguments)}}(a,p,b);return op((_n?Bh:Hu)(di,Un),a,p)}function kf(a,p,b,A){return a===e||Ja(a,O[b])&&!C.call(A,b)?p:a}function Tu(a,p,b,A,q,Ce){return io(a)&&io(p)&&(Ce.set(p,a),je(a,p,e,Tu,Ce),Ce.delete(p)),a}function Yg(a){return pd(a)?e:a}function Jh(a,p,b,A,q,Ce){var He=1&b,Ze=a.length,ct=p.length;if(Ze!=ct&&!(He&&ct>Ze))return!1;var It=Ce.get(a),Rt=Ce.get(p);if(It&&Rt)return It==p&&Rt==a;var Ft=-1,_n=!0,Un=2&b?new vt:e;for(Ce.set(a,p),Ce.set(p,a);++Ft<Ze;){var di=a[Ft],Di=p[Ft];if(A)var ii=He?A(Di,di,Ft,p,a,Ce):A(di,Di,Ft,a,p,Ce);if(ii!==e){if(ii)continue;_n=!1;break}if(Un){if(!Br(p,function(Qi,ns){if(!rr(Un,ns)&&(di===Qi||q(di,Qi,b,A,Ce)))return Un.push(ns)})){_n=!1;break}}else if(di!==Di&&!q(di,Di,b,A,Ce)){_n=!1;break}}return Ce.delete(a),Ce.delete(p),_n}function Il(a){return jd(yc(a,e,pp),a+"")}function qh(a){return Wa(a,ao,Rd)}
vendor: 3,652 bytes, line 1
1function Jc(a){return Wa(a,Dr,Nu)}var Zh=Ua?function(a){return Ua.get(a)}:tf;function Fu(a){for(var p=a.name+"",b=Tr[p],A=C.call(Tr,p)?b.length:0;A--;){var q=b[A],Ce=q.func;if(null==Ce||Ce==a)return q.name}return p}function qc(a){return(C.call(U,"placeholder")?U:a).placeholder}function si(){var a=U.iteratee||fu;return a=a===fu?bd:a,arguments.length?a(arguments[0],arguments[1]):a}function Au(a,p){var b=a.__data__;return function Sf(a){var p=typeof a;return"string"==p||"number"==p||"symbol"==p||"boolean"==p?"__proto__"!==a:null===a}(p)?b["string"==typeof p?"string":"hash"]:b.map}function Ru(a){for(var p=ao(a),b=p.length;b--;){var A=p[b],q=a[A];p[b]=[A,q,np(q)]}return p}function Qa(a,p){var b=function Qr(Ke,wt){return null==Ke?e:Ke[wt]}(a,p);return Ca(b)?b:e}var Rd=Ea?function(a){return null==a?[]:(a=ai(a),ms(Ea(a),function(p){return Zi.call(a,p)}))}:am,Nu=Ea?function(a){for(var p=[];a;)Hi(p,Rd(a)),a=Bi(a);return p}:am,pr=wr;function Lu(a,p,b){for(var A=-1,q=(p=El(p,a)).length,Ce=!1;++A<q;){var He=la(p[A]);if(!(Ce=null!=a&&b(a,He)))break;a=a[He]}return Ce||++A!=q?Ce:!!(q=null==a?0:a.length)&&ml(q)&&dl(He,q)&&(mi(a)||fl(a))}function Zc(a){return"function"!=typeof a.constructor||td(a)?{}:ci(Bi(a))}function xf(a){return mi(a)||fl(a)||!!(Ks&&a&&a[Ks])}function dl(a,p){var b=typeof a;return!!(p=p??Je)&&("number"==b||"symbol"!=b&&Rn.test(a))&&a>-1&&a%1==0&&a<p}function Pr(a,p,b){if(!io(b))return!1;var A=typeof p;return!!("number"==A?Fo(b)&&dl(p,b.length):"string"==A&&p in b)&&Ja(b[p],a)}function ed(a,p){if(mi(a))return!1;var b=typeof a;return!("number"!=b&&"symbol"!=b&&"boolean"!=b&&null!=a&&!ca(a))||he.test(a)||!Qe.test(a)||null!=p&&a in ai(p)}function ju(a){var p=Fu(a),b=U[p];if("function"!=typeof b||!(p in Xn.prototype))return!1;if(a===b)return!0;var A=Zh(b);return!!A&&a===A[0]}(Ts&&pr(new Ts(new ArrayBuffer(1)))!=hn||nl&&pr(new nl)!=lt||Lc&&pr(Lc.resolve())!=Ei||xn&&pr(new xn)!=pi||yl&&pr(new yl)!=Oi)&&(pr=function(a){var p=wr(a),b=p==Gn?a.constructor:e,A=b?ul(b):"";if(A)switch(A){case Ha:return hn;case $l:return lt;case Ml:return Ei;case Ul:return pi;case jc:return Oi}return p});var tp=_?gl:sf;function td(a){var p=a&&a.constructor;return a===("function"==typeof p&&p.prototype||O)}function np(a){return a==a&&!io(a)}function Ar(a,p){return function(b){return null!=b&&b[a]===p&&(p!==e||a in ai(b))}}function yc(a,p,b){return p=eo(p===e?a.length-1:p,0),function(){for(var A=arguments,q=-1,Ce=eo(A.length-p,0),He=bt(Ce);++q<Ce;)He[q]=A[p+q];q=-1;for(var Ze=bt(p+1);++q<p;)Ze[q]=A[q];return Ze[p]=b(He),ls(a,this,Ze)}}function $u(a,p){return p.length<2?a:Qo(a,Ia(p,0,-1))}function Uu(a,p){if(("constructor"!==p||"function"!=typeof a[p])&&"__proto__"!=p)return a[p]}var Hu=Yu(Bh),nd=To||function(a,p){return Nt.setTimeout(a,p)},jd=Yu(Vg);function op(a,p,b){var A=p+"";return jd(a,function Ef(a,p){var b=p.length;if(!b)return a;var A=b-1;return p[A]=(b>1?"& ":"")+p[A],p=p.join(b>2?", ":" "),a.replace(pn,"{\n/* [wrapped with "+p+"] */\n")}(A,function If(a,p){return Fi(Me,function(b){var A="_."+b[0];p&b[1]&&!cs(a,A)&&a.push(A)}),a.sort()}(function ep(a){var p=a.match(Sn);return p?p[1].split(Wi):[]}(A),b)))}function Yu(a){var p=0,b=0;return function(){var A=Zr(),q=16-(A-b);if(b=A,q>0){if(++p>=800)return arguments[0]}else p=0;return a.apply(e,arguments)}}function Vd(a,p){var b=-1,A=a.length,q=A-1;for(p=p===e?A:p;++b<p;){var Ce=Xa(b,q),He=a[Ce];a[Ce]=a[b],a[b]=He}return a.length=p,a}var rp=function Vu(a){var p=iu(a,function(A){return 500===b.size&&b.clear(),A}),b=p.cache;return p}(function(a){var p=[];return 46===a.charCodeAt(0)&&p.push(""),a.replace(Re,function(b,A,q,Ce){p.push(q?Ce.replace(Ue,"$1"):A||b)}),p});
vendor: 10,989 bytes, line 1
1function la(a){if("string"==typeof a||ca(a))return a;var p=a+"";return"0"==p&&1/a==-gn?"-0":p}function ul(a){if(null!=a){try{return d.call(a)}catch{}try{return a+""}catch{}}return""}function Mc(a){if(a instanceof Xn)return a.clone();var p=new vo(a.__wrapped__,a.__chain__);return p.__actions__=Yr(a.__actions__),p.__index__=a.__index__,p.__values__=a.__values__,p}var lp=ki(function(a,p){return bo(a)?wl(a,Is(p,1,bo,!0)):[]}),cp=ki(function(a,p){var b=Jo(p);return bo(b)&&(b=e),bo(a)?wl(a,Is(p,1,bo,!0),si(b,2)):[]}),bc=ki(function(a,p){var b=Jo(p);return bo(b)&&(b=e),bo(a)?wl(a,Is(p,1,bo,!0),e,b):[]});function up(a,p,b){var A=null==a?0:a.length;if(!A)return-1;var q=null==b?0:vi(b);return q<0&&(q=eo(A+q,0)),Xo(a,si(p,3),q)}function hp(a,p,b){var A=null==a?0:a.length;if(!A)return-1;var q=A-1;return b!==e&&(q=vi(b),q=b<0?eo(A+q,0):Co(q,A-1)),Xo(a,si(p,3),q,!0)}function pp(a){return null!=a&&a.length?Is(a,1):[]}function id(a){return a&&a.length?a[0]:e}var jf=ki(function(a){var p=Ln(a,gc);return p.length&&p[0]===a[0]?Wc(p):[]}),Vf=ki(function(a){var p=Jo(a),b=Ln(a,gc);return p===Jo(b)?p=e:b.pop(),b.length&&b[0]===a[0]?Wc(b,si(p,2)):[]}),Xu=ki(function(a){var p=Jo(a),b=Ln(a,gc);return(p="function"==typeof p?p:e)&&b.pop(),b.length&&b[0]===a[0]?Wc(b,e,p):[]});function Jo(a){var p=null==a?0:a.length;return p?a[p-1]:e}var Bf=ki($f);function $f(a,p){return a&&a.length&&p&&p.length?Pl(a,p):a}var Cp=Il(function(a,p){var b=null==a?0:a.length,A=ia(a,p);return wd(a,Ln(p,function(q){return dl(q,b)?+q:q}).sort(Io)),A});function Hd(a){return null==a?a:dr.call(a)}var Wf=ki(function(a){return Hs(Is(a,1,bo,!0))}),wp=ki(function(a){var p=Jo(a);return bo(p)&&(p=e),Hs(Is(a,1,bo,!0),si(p,2))}),Pp=ki(function(a){var p=Jo(a);return p="function"==typeof p?p:e,Hs(Is(a,1,bo,!0),e,p)});function kp(a){if(!a||!a.length)return[];var p=0;return a=ms(a,function(b){if(bo(b))return p=eo(b.length,p),!0}),Bs(p,function(b){return Ln(a,F(b))})}function Dp(a,p){if(!a||!a.length)return[];var b=kp(a);return null==p?b:Ln(b,function(A){return ls(p,e,A)})}var Gg=ki(function(a,p){return bo(a)?wl(a,p):[]}),Fl=ki(function(a){return Dl(ms(a,bo))}),Ep=ki(function(a){var p=Jo(a);return bo(p)&&(p=e),Dl(ms(a,bo),si(p,2))}),Wg=ki(function(a){var p=Jo(a);return p="function"==typeof p?p:e,Dl(ms(a,bo),e,p)}),Oc=ki(kp),qo=ki(function(a){var p=a.length,b=p>1?a[p-1]:e;return b="function"==typeof b?(a.pop(),b):e,Dp(a,b)});function wc(a){var p=U(a);return p.__chain__=!0,p}function hl(a,p){return p(a)}var Sp=Il(function(a){var p=a.length,b=p?a[0]:0,A=this.__wrapped__,q=function(Ce){return ia(Ce,a)};return!(p>1||this.__actions__.length)&&A instanceof Xn&&dl(b)?((A=A.slice(b,+b+(p?1:0))).__actions__.push({func:hl,args:[q],thisArg:e}),new vo(A,this.__chain__).thru(function(Ce){return p&&!Ce.length&&Ce.push(e),Ce})):this.thru(q)}),zg=dn(function(a,p,b){C.call(a,b)?++a[b]:Ur(a,b,1)}),cd=Wh(up),kc=Wh(hp);function zf(a,p){return(mi(a)?Fi:sa)(a,si(p,3))}function Np(a,p){return(mi(a)?ks:cc)(a,si(p,3))}var zd=dn(function(a,p,b){C.call(a,b)?a[b].push(p):Ur(a,b,[p])}),Dc=ki(function(a,p,b){var A=-1,q="function"==typeof p,Ce=Fo(a)?bt(a.length):[];return sa(a,function(He){Ce[++A]=q?ls(p,He,b):dc(He,p,b)}),Ce}),Xd=dn(function(a,p,b){Ur(a,b,p)});function Kd(a,p){return(mi(a)?Ln:E)(a,si(p,3))}var Zm=dn(function(a,p,b){a[b?0:1].push(p)},function(){return[[],[]]}),Zg=ki(function(a,p){if(null==a)return[];var b=p.length;return b>1&&Pr(a,p[0],p[1])?p=[]:b>2&&Pr(p[0],p[1],p[2])&&(p=[p[0]]),On(a,Is(p,1),[])}),Zd=Ms||function(){return Nt.Date.now()};function jp(a,p,b){return p=b?e:p,Ka(a,128,e,e,e,e,p=a&&null==p?a.length:p)}function dd(a,p){var b;if("function"!=typeof p)throw new Yn(Z);return a=vi(a),function(){return--a>0&&(b=p.apply(this,arguments)),a<=1&&(p=e),b}}var eu=ki(function(a,p,b){var A=1;if(b.length){var q=Eo(b,qc(eu));A|=H}return Ka(a,A,p,b,q)}),tu=ki(function(a,p,b){var A=3;if(b.length){var q=Eo(b,qc(tu));A|=H}return Ka(p,A,a,b,q)});function ih(a,p,b){var A,q,Ce,He,Ze,ct,It=0,Rt=!1,Ft=!1,_n=!0;if("function"!=typeof a)throw new Yn(Z);function Un(Go){var La=A,sc=q;return A=q=e,It=Go,He=a.apply(sc,La)}function ii(Go){var La=Go-ct;return ct===e||La>=p||La<0||Ft&&Go-It>=Ce}function Qi(){var Go=Zd();if(ii(Go))return ns(Go);Ze=nd(Qi,function Di(Go){var mm=p-(Go-ct);return Ft?Co(mm,Ce-(Go-It)):mm}(Go))}function ns(Go){return Ze=e,_n&&A?Un(Go):(A=q=e,He)}function Na(){var Go=Zd(),La=ii(Go);if(A=arguments,q=this,ct=Go,La){if(Ze===e)return function di(Go){return It=Go,Ze=nd(Qi,p),Rt?Un(Go):He}(ct);if(Ft)return wf(Ze),Ze=nd(Qi,p),Un(ct)}return Ze===e&&(Ze=nd(Qi,p)),He}return p=Rr(p)||0,io(b)&&(Rt=!!b.leading,Ce=(Ft="maxWait"in b)?eo(Rr(b.maxWait)||0,p):Ce,_n="trailing"in b?!!b.trailing:_n),Na.cancel=function Ra(){Ze!==e&&wf(Ze),It=0,A=ct=q=Ze=e},Na.flush=function zr(){return Ze===e?He:ns(Zd())},Na}var nu=ki(function(a,p){return Gl(a,1,p)}),Ec=ki(function(a,p,b){return Gl(a,Rr(p)||0,b)});function iu(a,p){if("function"!=typeof a||null!=p&&"function"!=typeof p)throw new Yn(Z);var b=function(){var A=arguments,q=p?p.apply(this,A):A[0],Ce=b.cache;if(Ce.has(q))return Ce.get(q);var He=a.apply(this,A);return b.cache=Ce.set(q,He)||Ce,He};return b.cache=new(iu.Cache||T),b}function su(a){if("function"!=typeof a)throw new Yn(Z);return function(){var p=arguments;switch(p.length){case 0:return!a.call(this);case 1:return!a.call(this,p[0]);case 2:return!a.call(this,p[0],p[1]);case 3:return!a.call(this,p[0],p[1],p[2])}return!a.apply(this,p)}}iu.Cache=T;var Jf=Ug(function(a,p){var b=(p=1==p.length&&mi(p[0])?Ln(p[0],Ko(si())):Ln(Is(p,1),Ko(si()))).length;return ki(function(A){for(var q=-1,Ce=Co(A.length,b);++q<Ce;)A[q]=p[q].call(this,A[q]);return ls(a,this,A)})}),ou=ki(function(a,p){var b=Eo(p,qc(ou));return Ka(a,H,e,p,b)}),qf=ki(function(a,p){var b=Eo(p,qc(qf));return Ka(a,64,e,p,b)}),em=Il(function(a,p){return Ka(a,256,e,e,e,p)});function Ja(a,p){return a===p||a!=a&&p!=p}var ah=Fd(rl),eg=Fd(function(a,p){return a>=p}),fl=_a(function(){return arguments}())?_a:function(a){return ro(a)&&C.call(a,"callee")&&!Zi.call(a,"callee")},mi=bt.isArray,Hp=jo?Ko(jo):function Vh(a){return ro(a)&&wr(a)==Pi};function Fo(a){return null!=a&&ml(a.length)&&!gl(a)}function bo(a){return ro(a)&&Fo(a)}var Fa=ac||sf,tg=uo?Ko(uo):function zc(a){return ro(a)&&wr(a)==nn};function hd(a){if(!ro(a))return!1;var p=wr(a);return p==We||"[object DOMException]"==p||"string"==typeof a.message&&"string"==typeof a.name&&!pd(a)}function gl(a){if(!io(a))return!1;var p=wr(a);return p==yt||p==nt||"[object AsyncFunction]"==p||"[object Proxy]"==p}function dh(a){return"number"==typeof a&&a==vi(a)}function ml(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=Je}function io(a){var p=typeof a;return null!=a&&("object"==p||"function"==p)}function ro(a){return null!=a&&"object"==typeof a}var Yp=ir?Ko(ir):function Xc(a){return ro(a)&&pr(a)==lt};function zp(a){return"number"==typeof a||ro(a)&&wr(a)==Vt}function pd(a){if(!ro(a)||wr(a)!=Gn)return!1;var p=Bi(a);if(null===p)return!0;var b=C.call(p,"constructor")&&p.constructor;return"function"==typeof b&&b instanceof b&&d.call(b)==Ct}var ph=ws?Ko(ws):function Md(a){return ro(a)&&wr(a)==li},sg=bn?Ko(bn):function al(a){return ro(a)&&pr(a)==pi};function ec(a){return"string"==typeof a||!mi(a)&&ro(a)&&wr(a)==vn}function ca(a){return"symbol"==typeof a||ro(a)&&wr(a)==Fn}var Ll=Vo?Ko(Vo):function Kc(a){return ro(a)&&ml(a.length)&&!!fi[wr(a)]},mh=Fd(y),fd=Fd(function(a,p){return a<=p});function tc(a){if(!a)return[];if(Fo(a))return ec(a)?jt(a):Yr(a);if(oo&&a[oo])return function Jr(Ke){for(var wt,bt=[];!(wt=Ke.next()).done;)bt.push(wt.value);return bt}(a[oo]());var p=pr(a);return(p==lt?Ki:p==pi?xo:h)(a)}function Gr(a){return a?(a=Rr(a))===gn||a===-gn?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function vi(a){var p=Gr(a),b=p%1;return p==p?b?p-b:p:0}function cu(a){return a?Ga(vi(a),0,me):0}function Rr(a){if("number"==typeof a)return a;if(ca(a))return NaN;if(io(a)){var p="function"==typeof a.valueOf?a.valueOf():a;a=io(p)?p+"":p}if("string"!=typeof a)return 0===a?a:+a;a=or(a);var b=qt.test(a);return b||wn.test(a)?kt(a.slice(2),b?2:8):Yt.test(a)?NaN:+a}function og(a){return va(a,Dr(a))}function qi(a){return null==a?"":ra(a)}var rg=_c(function(a,p){if(td(p)||Fo(p))va(p,ao(p),a);else for(var b in p)C.call(p,b)&&ma(a,b,p[b])}),Ch=_c(function(a,p){va(p,Dr(p),a)}),Xp=_c(function(a,p,b,A){va(p,Dr(p),a,A)}),vh=_c(function(a,p,b,A){va(p,ao(p),a,A)}),yh=Il(ia),Qp=ki(function(a,p){a=ai(a);var b=-1,A=p.length,q=A>2?p[2]:e;for(q&&Pr(p[0],p[1],q)&&(A=1);++b<A;)for(var Ce=p[b],He=Dr(Ce),Ze=-1,ct=He.length;++Ze<ct;){var It=He[Ze],Rt=a[It];(Rt===e||Ja(Rt,O[It])&&!C.call(a,It))&&(a[It]=Ce[It])}return a}),Mh=ki(function(a){return a.push(e,Tu),ls(pu,e,a)});function Oh(a,p,b){var A=null==a?e:Qo(a,p);return A===e?b:A}function wh(a,p){return null!=a&&Lu(a,p,Ta)}var Zp=zh(function(a,p,b){null!=p&&"function"!=typeof p.toString&&(p=be.call(p)),a[p]=b},Zo(Ao)),nc=zh(function(a,p,b){null!=p&&"function"!=typeof p.toString&&(p=be.call(p)),C.call(a,p)?a[p].push(b):a[p]=[b]},si),cg=ki(dc);function ao(a){return Fo(a)?Ol(a):Od(a)}function Dr(a){return Fo(a)?Ol(a,!0):function f(a){if(!io(a))return function Bu(a){var p=[];if(null!=a)for(var b in ai(a))p.push(b);return p}(a);var p=td(a),b=[];for(var A in a)"constructor"==A&&(p||!C.call(a,A))||b.push(A);return b}(a)}var Ph=_c(function(a,p,b){je(a,p,b)}),pu=_c(function(a,p,b,A){je(a,p,b,A)}),kh=Il(function(a,p){var b={};if(null==a)return b;var A=!1;p=Ln(p,function(Ce){return Ce=El(Ce,a),A||(A=Ce.length>1),Ce}),va(a,Jc(a),b),A&&(b=Ho(b,7,Yg));for(var q=p.length;q--;)ku(b,p[q]);return b}),ug=Il(function(a,p){return null==a?{}:function Us(a,p){return ll(a,p,function(b,A){return wh(a,A)})}(a,p)});function Dh(a,p){if(null==a)return{};var b=Ln(Jc(a),function(A){return[A]});return p=si(p),ll(a,b,function(A,q){return p(A,q[0])})}var gd=Qh(ao),xh=Qh(Dr);function h(a){return null==a?[]:Va(a,ao(a))}var De=cl(function(a,p,b){return p=p.toLowerCase(),a+(b?we(p):p)});function we(a){return ua(qi(a).toLowerCase())}function ot(a){return(a=qi(a))&&a.replace(Ii,Ba).replace(Vr,"")}var cn=cl(function(a,p,b){return a+(b?"-":"")+p.toLowerCase()}),$n=cl(function(a,p,b){return a+(b?" ":"")+p.toLowerCase()}),hs=xd("toLowerCase"),Es=cl(function(a,p,b){return a+(b?"_":"")+p.toLowerCase()}),Aa=cl(function(a,p,b){return a+(b?" ":"")+ua(p)}),Yo=cl(function(a,p,b){return a+(b?" ":"")+p.toUpperCase()}),ua=xd("toUpperCase");function Nr(a,p,b){return a=qi(a),(p=b?e:p)===e?function ds(Ke){return Nn.test(Ke)}(a)?function ei(Ke){return Ke.match(Ti)||[]}(a):function wa(Ke){return Ke.match(As)||[]}(a):a.match(p)||[]}var Wr=ki(function(a,p){try{return ls(a,e,p)}catch(b){return hd(b)?b:new Dn(b)}}),fs=Il(function(a,p){return Fi(p,function(b){b=la(b),Ur(a,b,eu(a[b],a))}),a});function Zo(a){return function(){return a}}var ha=Sl(),Tc=Sl(!0);function Ao(a){return a}function fu(a){return bd("function"==typeof a?a:Ho(a,1))}var t_=ki(function(a,p){return function(b){return dc(b,a,p)}}),n_=ki(function(a,p){return function(b){return dc(a,b,p)}});
vendor: 6,097 bytes, line 1
1function fg(a,p,b){var A=ao(p),q=Yc(p,A);null==b&&(!io(p)||!q.length&&A.length)&&(b=p,p=a,a=this,q=Yc(p,ao(p)));var Ce=!(io(b)&&"chain"in b&&!b.chain),He=gl(a);return Fi(q,function(Ze){var ct=p[Ze];a[Ze]=ct,He&&(a.prototype[Ze]=function(){var It=this.__chain__;if(Ce||It){var Rt=a(this.__wrapped__);return(Rt.__actions__=Yr(this.__actions__)).push({func:ct,args:arguments,thisArg:a}),Rt.__chain__=It,Rt}return ct.apply(a,Hi([this.value()],arguments))})}),a}function tf(){}var s_=Sd(Ln),yC=Sd(ho),MC=Sd(Br);function gg(a){return ed(a)?F(la(a)):function Qc(a){return function(p){return Qo(p,a)}}(a)}var bC=Xh(),nf=Xh(!0);function am(){return[]}function sf(){return!1}var hm=Su(function(a,p){return a+p},0),gu=ql("ceil"),pm=Su(function(a,p){return a/p},1),r_=ql("floor"),Cg=Su(function(a,p){return a*p},1),vg=ql("round"),gm=Su(function(a,p){return a-p},0);return U.after=function Kf(a,p){if("function"!=typeof p)throw new Yn(Z);return a=vi(a),function(){if(--a<1)return p.apply(this,arguments)}},U.ary=jp,U.assign=rg,U.assignIn=Ch,U.assignInWith=Xp,U.assignWith=vh,U.at=yh,U.before=dd,U.bind=eu,U.bindAll=fs,U.bindKey=tu,U.castArray=function oh(){if(!arguments.length)return[];var a=arguments[0];return mi(a)?a:[a]},U.chain=wc,U.chunk=function Ff(a,p,b){p=(b?Pr(a,p,b):p===e)?1:eo(vi(p),0);var A=null==a?0:a.length;if(!A||p<1)return[];for(var q=0,Ce=0,He=bt(Da(A/p));q<A;)He[Ce++]=Ia(a,q,q+=p);return He},U.compact=function Af(a){for(var p=-1,b=null==a?0:a.length,A=0,q=[];++p<b;){var Ce=a[p];Ce&&(q[A++]=Ce)}return q},U.concat=function ap(){var a=arguments.length;if(!a)return[];for(var p=bt(a-1),b=arguments[0],A=a;A--;)p[A-1]=arguments[A];return Hi(mi(b)?Yr(b):[b],Is(p,1))},U.cond=function ic(a){var p=null==a?0:a.length,b=si();return a=p?Ln(a,function(A){if("function"!=typeof A[1])throw new Yn(Z);return[b(A[0]),A[1]]}):[],ki(function(A){for(var q=-1;++q<p;){var Ce=a[q];if(ls(Ce[0],this,A))return ls(Ce[1],this,A)}})},U.conforms=function pg(a){return function Yl(a){var p=ao(a);return function(b){return lc(b,a,p)}}(Ho(a,1))},U.constant=Zo,U.countBy=zg,U.create=function Kp(a,p){var b=ci(a);return null==p?b:Or(b,p)},U.curry=function nh(a,p,b){var A=Ka(a,8,e,e,e,e,e,p=b?e:p);return A.placeholder=nh.placeholder,A},U.curryRight=function Rl(a,p,b){var A=Ka(a,16,e,e,e,e,e,p=b?e:p);return A.placeholder=Rl.placeholder,A},U.debounce=ih,U.defaults=Qp,U.defaultsDeep=Mh,U.defer=nu,U.delay=Ec,U.difference=lp,U.differenceBy=cp,U.differenceWith=bc,U.drop=function Bd(a,p,b){var A=null==a?0:a.length;return A?Ia(a,(p=b||p===e?1:vi(p))<0?0:p,A):[]},U.dropRight=function dp(a,p,b){var A=null==a?0:a.length;return A?Ia(a,0,(p=A-(p=b||p===e?1:vi(p)))<0?0:p):[]},U.dropRightWhile=function Gu(a,p){return a&&a.length?kd(a,si(p,3),!0,!0):[]},U.dropWhile=function $d(a,p){return a&&a.length?kd(a,si(p,3),!0):[]},U.fill=function Rf(a,p,b,A){var q=null==a?0:a.length;return q?(b&&"number"!=typeof b&&Pr(a,p,b)&&(b=0,A=q),function yd(a,p,b,A){var q=a.length;for((b=vi(b))<0&&(b=-b>q?0:q+b),(A=A===e||A>q?q:vi(A))<0&&(A+=q),A=b>A?0:cu(A);b<A;)a[b++]=p;return a}(a,p,b,A)):[]},U.filter=function Wd(a,p){return(mi(a)?ms:zl)(a,si(p,3))},U.flatMap=function th(a,p){return Is(Kd(a,p),1)},U.flatMapDeep=function Xg(a,p){return Is(Kd(a,p),gn)},U.flatMapDepth=function Kg(a,p,b){return b=b===e?1:vi(b),Is(Kd(a,p),b)},U.flatten=pp,U.flattenDeep=function Nf(a){return null!=a&&a.length?Is(a,gn):[]},U.flattenDepth=function Lf(a,p){return null!=a&&a.length?Is(a,p=p===e?1:vi(p)):[]},U.flip=function Vp(a){return Ka(a,512)},U.flow=ha,U.flowRight=Tc,U.fromPairs=function fp(a){for(var p=-1,b=null==a?0:a.length,A={};++p<b;){var q=a[p];Ur(A,q[0],q[1])}return A},U.functions=function bh(a){return null==a?[]:Yc(a,ao(a))},U.functionsIn=function hu(a){return null==a?[]:Yc(a,Dr(a))},U.groupBy=zd,U.initial=function zu(a){return null!=a&&a.length?Ia(a,0,-1):[]},U.intersection=jf,U.intersectionBy=Vf,U.intersectionWith=Xu,U.invert=Zp,U.invertBy=nc,U.invokeMap=Dc,U.iteratee=fu,U.keyBy=Xd,U.keys=ao,U.keysIn=Dr,U.map=Kd,U.mapKeys=function jl(a,p){var b={};return p=si(p,3),hr(a,function(A,q,Ce){Ur(b,p(A,q,Ce),A)}),b},U.mapValues=function _l(a,p){var b={};return p=si(p,3),hr(a,function(A,q,Ce){Ur(b,q,p(A,q,Ce))}),b},U.matches=function sm(a){return N(Ho(a,1))},U.matchesProperty=function om(a,p){return X(a,Ho(p,1))},U.memoize=iu,U.merge=Ph,U.mergeWith=pu,U.method=t_,U.methodOf=n_,U.mixin=fg,U.negate=su,U.nthArg=function vC(a){return a=vi(a),ki(function(p){return Et(p,a)})},U.omit=kh,U.omitBy=function dg(a,p){return Dh(a,su(si(p)))},U.once=function Qf(a){return dd(2,a)},U.orderBy=function Qd(a,p,b,A){return null==a?[]:(mi(p)||(p=null==p?[]:[p]),mi(b=A?e:b)||(b=null==b?[]:[b]),On(a,p,b))},U.over=s_,U.overArgs=Jf,U.overEvery=yC,U.overSome=MC,U.partial=ou,U.partialRight=qf,U.partition=Zm,U.pick=ug,U.pickBy=Dh,U.property=gg,U.propertyOf=function rm(a){return function(p){return null==a?e:Qo(a,p)}},U.pull=Bf,U.pullAll=$f,U.pullAllBy=function Ud(a,p,b){return a&&a.length&&p&&p.length?Pl(a,p,si(b,2)):a},U.pullAllWith=function Uf(a,p,b){return a&&a.length&&p&&p.length?Pl(a,p,e,b):a},U.pullAt=Cp,U.range=bC,U.rangeRight=nf,U.rearg=em,U.reject=function Jd(a,p){return(mi(a)?ms:zl)(a,su(si(p,3)))},U.remove=function vp(a,p){var b=[];if(!a||!a.length)return b;var A=-1,q=[],Ce=a.length;for(p=si(p,3);++A<Ce;){var He=a[A];p(He,A,a)&&(b.push(He),q.push(A))}return wd(a,q),b},U.rest=function Nl(a,p){if("function"!=typeof a)throw new Yn(Z);return ki(a,p=p===e?p:vi(p))},U.reverse=Hd,U.sampleSize=function Jg(a,p,b){return p=(b?Pr(a,p,b):p===e)?1:vi(p),(mi(a)?br:pc)(a,p)},U.set=function Eh(a,p,b){return null==a?a:Pd(a,p,b)},U.setWith=function im(a,p,b,A){return A="function"==typeof A?A:e,null==a?a:Pd(a,p,b,A)},U.shuffle=function qg(a){return(mi(a)?$s:Bg)(a)},U.slice=function Ku(a,p,b){var A=null==a?0:a.length;return A?(b&&"number"!=typeof b&&Pr(a,p,b)?(p=0,b=A):(p=null==p?0:vi(p),b=b===e?A:vi(b)),Ia(a,p,b)):[]},U.sortBy=Zg,U.sortedUniq=function bp(a){return a&&a.length?Kl(a):[]},U.sortedUniqBy=function Ju(a,p){return a&&a.length?Kl(a,si(p,2)):[]},U.split=function Cl(a,p,b){return b&&"number"!=typeof b&&Pr(a,p,b)&&(p=b=e),
vendor: 8,493 bytes, line 1
1(b=b===e?me:b>>>0)?(a=qi(a))&&("string"==typeof p||null!=p&&!ph(p))&&!(p=ra(p))&&Bo(a)?xl(jt(a),0,b):a.split(p,b):[]},U.spread=function us(a,p){if("function"!=typeof a)throw new Yn(Z);return p=null==p?0:eo(vi(p),0),ki(function(b){var A=b[p],q=xl(b,0,p);return A&&Hi(q,A),ls(a,this,q)})},U.tail=function od(a){var p=null==a?0:a.length;return p?Ia(a,1,p):[]},U.take=function Hf(a,p,b){return a&&a.length?Ia(a,0,(p=b||p===e?1:vi(p))<0?0:p):[]},U.takeRight=function Op(a,p,b){var A=null==a?0:a.length;return A?Ia(a,(p=A-(p=b||p===e?1:vi(p)))<0?0:p,A):[]},U.takeRightWhile=function Yf(a,p){return a&&a.length?kd(a,si(p,3),!1,!0):[]},U.takeWhile=function Gf(a,p){return a&&a.length?kd(a,si(p,3)):[]},U.tap=function ld(a,p){return p(a),a},U.throttle=function ud(a,p,b){var A=!0,q=!0;if("function"!=typeof a)throw new Yn(Z);return io(b)&&(A="leading"in b?!!b.leading:A,q="trailing"in b?!!b.trailing:q),ih(a,p,{leading:A,maxWait:p,trailing:q})},U.thru=hl,U.toArray=tc,U.toPairs=gd,U.toPairsIn=xh,U.toPath=function bi(a){return mi(a)?Ln(a,la):ca(a)?[a]:Yr(rp(qi(a)))},U.toPlainObject=og,U.transform=function c(a,p,b){var A=mi(a),q=A||Fa(a)||Ll(a);if(p=si(p,4),null==b){var Ce=a&&a.constructor;b=q?A?new Ce:[]:io(a)&&gl(Ce)?ci(Bi(a)):{}}return(q?Fi:hr)(a,function(He,Ze,ct){return p(b,He,Ze,ct)}),b},U.unary=function sh(a){return jp(a,1)},U.union=Wf,U.unionBy=wp,U.unionWith=Pp,U.uniq=function rd(a){return a&&a.length?Hs(a):[]},U.uniqBy=function qu(a,p){return a&&a.length?Hs(a,si(p,2)):[]},U.uniqWith=function ad(a,p){return p="function"==typeof p?p:e,a&&a.length?Hs(a,e,p):[]},U.unset=function m(a,p){return null==a||ku(a,p)},U.unzip=kp,U.unzipWith=Dp,U.update=function s(a,p,b){return null==a?a:fc(a,p,Ql(b))},U.updateWith=function u(a,p,b,A){return A="function"==typeof A?A:e,null==a?a:fc(a,p,Ql(b),A)},U.values=h,U.valuesIn=function x(a){return null==a?[]:Va(a,Dr(a))},U.without=Gg,U.words=Nr,U.wrap=function Bp(a,p){return ou(Ql(p),a)},U.xor=Fl,U.xorBy=Ep,U.xorWith=Wg,U.zip=Oc,U.zipObject=function Zu(a,p){return Du(a||[],p||[],ma)},U.zipObjectDeep=function xp(a,p){return Du(a||[],p||[],Pd)},U.zipWith=qo,U.entries=gd,U.entriesIn=xh,U.extend=Ch,U.extendWith=Xp,fg(U,U),U.add=hm,U.attempt=Wr,U.camelCase=De,U.capitalize=we,U.ceil=gu,U.clamp=function G(a,p,b){return b===e&&(b=p,p=e),b!==e&&(b=(b=Rr(b))==b?b:0),p!==e&&(p=(p=Rr(p))==p?p:0),Ga(Rr(a),p,b)},U.clone=function rh(a){return Ho(a,4)},U.cloneDeep=function $p(a){return Ho(a,5)},U.cloneDeepWith=function Up(a,p){return Ho(a,5,p="function"==typeof p?p:e)},U.cloneWith=function Zf(a,p){return Ho(a,4,p="function"==typeof p?p:e)},U.conformsTo=function ru(a,p){return null==p||lc(a,p,ao(p))},U.deburr=ot,U.defaultTo=function Vl(a,p){return null==a||a!=a?p:a},U.divide=pm,U.endsWith=function tn(a,p,b){a=qi(a),p=ra(p);var A=a.length,q=b=b===e?A:Ga(vi(b),0,A);return(b-=p.length)>=0&&a.slice(b,q)==p},U.eq=Ja,U.escape=function Wt(a){return(a=qi(a))&&Bt.test(a)?a.replace(rt,ar):a},U.escapeRegExp=function Ut(a){return(a=qi(a))&&At.test(a)?a.replace(pt,"\\$&"):a},U.every=function Rp(a,p,b){var A=mi(a)?ho:Wl;return b&&Pr(a,p,b)&&(p=e),A(a,si(p,3))},U.find=cd,U.findIndex=up,U.findKey=function ag(a,p){return _r(a,si(p,3),hr)},U.findLast=kc,U.findLastIndex=hp,U.findLastKey=function Jp(a,p){return _r(a,si(p,3),Ou)},U.floor=r_,U.forEach=zf,U.forEachRight=Np,U.forIn=function Sc(a,p){return null==a?a:Mu(a,si(p,3),Dr)},U.forInRight=function du(a,p){return null==a?a:bu(a,si(p,3),Dr)},U.forOwn=function lg(a,p){return a&&hr(a,si(p,3))},U.forOwnRight=function uu(a,p){return a&&Ou(a,si(p,3))},U.get=Oh,U.gt=ah,U.gte=eg,U.has=function qp(a,p){return null!=a&&Lu(a,p,Gc)},U.hasIn=wh,U.head=id,U.identity=Ao,U.includes=function Al(a,p,b,A){a=Fo(a)?a:h(a),b=b&&!A?vi(b):0;var q=a.length;return b<0&&(b=eo(q+b,0)),ec(a)?b<=q&&a.indexOf(p,b)>-1:!!q&&Vs(a,p,b)>-1},U.indexOf=function Wu(a,p,b){var A=null==a?0:a.length;if(!A)return-1;var q=null==b?0:vi(b);return q<0&&(q=eo(A+q,0)),Vs(a,p,q)},U.inRange=function ne(a,p,b){return p=Gr(p),b===e?(b=p,p=0):b=Gr(b),function oa(a,p,b){return a>=Co(p,b)&&a<eo(p,b)}(a=Rr(a),p,b)},U.invoke=cg,U.isArguments=fl,U.isArray=mi,U.isArrayBuffer=Hp,U.isArrayLike=Fo,U.isArrayLikeObject=bo,U.isBoolean=function lh(a){return!0===a||!1===a||ro(a)&&wr(a)==ut},U.isBuffer=Fa,U.isDate=tg,U.isElement=function ch(a){return ro(a)&&1===a.nodeType&&!pd(a)},U.isEmpty=function au(a){if(null==a)return!0;if(Fo(a)&&(mi(a)||"string"==typeof a||"function"==typeof a.splice||Fa(a)||Ll(a)||fl(a)))return!a.length;var p=pr(a);if(p==lt||p==pi)return!a.size;if(td(a))return!Od(a).length;for(var b in a)if(C.call(a,b))return!1;return!0},U.isEqual=function qa(a,p){return za(a,p)},U.isEqualWith=function lu(a,p,b){var A=(b="function"==typeof b?b:e)?b(a,p):e;return A===e?za(a,p,e,b):!!A},U.isError=hd,U.isFinite=function ng(a){return"number"==typeof a&&$a(a)},U.isFunction=gl,U.isInteger=dh,U.isLength=ml,U.isMap=Yp,U.isMatch=function uh(a,p){return a===p||Xl(a,p,Ru(p))},U.isMatchWith=function Gp(a,p,b){return b="function"==typeof b?b:e,Xl(a,p,Ru(p),b)},U.isNaN=function ig(a){return zp(a)&&a!=+a},U.isNative=function Wp(a){if(tp(a))throw new Dn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ca(a)},U.isNil=function tm(a){return null==a},U.isNull=function hh(a){return null===a},U.isNumber=zp,U.isObject=io,U.isObjectLike=ro,U.isPlainObject=pd,U.isRegExp=ph,U.isSafeInteger=function nm(a){return dh(a)&&a>=-Je&&a<=Je},U.isSet=sg,U.isString=ec,U.isSymbol=ca,U.isTypedArray=Ll,U.isUndefined=function fh(a){return a===e},U.isWeakMap=function xc(a){return ro(a)&&pr(a)==Oi},U.isWeakSet=function gh(a){return ro(a)&&"[object WeakSet]"==wr(a)},U.join=function gp(a,p){return null==a?"":Qs.call(a,p)},U.kebabCase=cn,U.last=Jo,U.lastIndexOf=function mp(a,p,b){var A=null==a?0:a.length;if(!A)return-1;var q=A;return b!==e&&(q=(q=vi(b))<0?eo(A+q,0):Co(q,A-1)),p==p?function go(Ke,wt,bt){for(var mn=bt+1;mn--;)if(Ke[mn]===wt)return mn;return mn}(a,p,q):Xo(a,V,q,!0)},U.lowerCase=$n,U.lowerFirst=hs,U.lt=mh,U.lte=fd,U.max=function rf(a){return a&&a.length?Ai(a,Ao,rl):e},U.maxBy=function mu(a,p){return a&&a.length?Ai(a,si(p,2),rl):e},U.mean=function mg(a){return Y(a,Ao)},U.meanBy=function Ih(a,p){return Y(a,si(p,2))},U.min=function fm(a){return a&&a.length?Ai(a,Ao,y):e},U.minBy=function _g(a,p){return a&&a.length?Ai(a,si(p,2),y):e},U.stubArray=am,U.stubFalse=sf,U.stubObject=function lm(){return{}},U.stubString=function o_(){return""},U.stubTrue=function cm(){return!0},U.multiply=Cg,U.nth=function _p(a,p){return a&&a.length?Et(a,vi(p)):e},U.noConflict=function i_(){return Nt._===this&&(Nt._=Kt),this},U.noop=tf,U.now=Zd,U.pad=function Fs(a,p,b){a=qi(a);var A=(p=vi(p))?_s(a):0;if(!p||A>=p)return a;var q=(p-A)/2;return Td(es(q),b)+a+Td(Da(q),b)},U.padEnd=function Oo(a,p,b){a=qi(a);var A=(p=vi(p))?_s(a):0;return p&&A<p?a+Td(p-A,b):a},U.padStart=function ps(a,p,b){a=qi(a);var A=(p=vi(p))?_s(a):0;return p&&A<p?Td(p-A,b)+a:a},U.parseInt=function ba(a,p,b){return b||null==p?p=0:p&&(p=+p),xa(qi(a).replace(Ht,""),p||0)},U.random=function Ee(a,p,b){if(b&&"boolean"!=typeof b&&Pr(a,p,b)&&(p=b=e),b===e&&("boolean"==typeof p?(b=p,p=e):"boolean"==typeof a&&(b=a,a=e)),a===e&&p===e?(a=0,p=1):(a=Gr(a),p===e?(p=a,a=0):p=Gr(p)),a>p){var A=a;a=p,p=A}if(b||a%1||p%1){var q=rn();return Co(a+q*(p-a+Ve("1e-"+((q+"").length-1))),p)}return Xa(a,p)},U.reduce=function e_(a,p,b){var A=mi(a)?po:Ne,q=arguments.length<3;return A(a,si(p,4),b,q,sa)},U.reduceRight=function Qg(a,p,b){var A=mi(a)?Lt:Ne,q=arguments.length<3;return A(a,si(p,4),b,q,cc)},U.repeat=function da(a,p,b){return p=(b?Pr(a,p,b):p===e)?1:vi(p),kl(qi(a),p)},U.replace=function fr(){var a=arguments,p=qi(a[0]);return a.length<3?p:p.replace(a[1],a[2])},U.result=function hg(a,p,b){var A=-1,q=(p=El(p,a)).length;for(q||(q=1,a=e);++A<q;){var Ce=null==a?e:a[la(p[A])];Ce===e&&(A=q,Ce=b),a=gl(Ce)?Ce.call(a):Ce}return a},U.round=vg,U.runInContext=Ke,U.sample=function qd(a){return(mi(a)?Js:wu)(a)},U.size=function Lp(a){if(null==a)return 0;if(Fo(a))return ec(a)?_s(a):a.length;var p=pr(a);return p==lt||p==pi?a.size:Od(a).length},U.snakeCase=Es,U.some=function Xf(a,p,b){var A=mi(a)?Br:$g;return b&&Pr(a,p,b)&&(p=e),A(a,si(p,3))},U.sortedIndex=function yp(a,p){return Pu(a,p)},U.sortedIndexBy=function Yd(a,p,b){return $h(a,p,si(b,2))},U.sortedIndexOf=function sd(a,p){var b=null==a?0:a.length;if(b){var A=Pu(a,p);if(A<b&&Ja(a[A],p))return A}return-1},U.sortedLastIndex=function Mp(a,p){return Pu(a,p,!0)},U.sortedLastIndexBy=function Qu(a,p,b){return $h(a,p,si(b,2),!0)}
vendor: 2,885 bytes, line 1
1,U.sortedLastIndexOf=function Gd(a,p){if(null!=a&&a.length){var A=Pu(a,p,!0)-1;if(Ja(a[A],p))return A}return-1},U.startCase=Aa,U.startsWith=function ef(a,p,b){return a=qi(a),b=null==b?0:Ga(vi(b),0,a.length),p=ra(p),a.slice(b,b+p.length)==p},U.subtract=gm,U.sum=function yg(a){return a&&a.length?Zn(a,Ao):0},U.sumBy=function a_(a,p){return a&&a.length?Zn(a,si(p,2)):0},U.template=function md(a,p,b){var A=U.templateSettings;b&&Pr(a,p,b)&&(p=e),a=qi(a),p=vh({},p,A,kf);var q=vh({},p.imports,A.imports,kf),Ce=ao(q),He=Va(q,Ce);Fi(Ce,function(ii){if(at.test(ii))throw new Dn("Invalid `imports` option passed into `_.template`")});var Ze,ct,It=0,Rt=p.interpolate||Ji,Ft="__p += '",_n=lr((p.escape||Ji).source+"|"+Rt.source+"|"+(Rt===qe?Xe:Ji).source+"|"+(p.evaluate||Ji).source+"|$","g"),Un="//# sourceURL="+(C.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ss+"]")+"\n";a.replace(_n,function(ii,Qi,ns,Ra,zr,Na){return ns||(ns=Ra),Ft+=a.slice(It,Na).replace(Ui,ko),Qi&&(Ze=!0,Ft+="' +\n__e("+Qi+") +\n'"),zr&&(ct=!0,Ft+="';\n"+zr+";\n__p += '"),ns&&(Ft+="' +\n((__t = ("+ns+")) == null ? '' : __t) +\n'"),It=Na+ii.length,ii}),Ft+="';\n";var di=C.call(p,"variable")&&p.variable;if(di){if(at.test(di))throw new Dn("Invalid `variable` option passed into `_.template`")}else Ft="with (obj) {\n"+Ft+"\n}\n";Ft=(ct?Ft.replace(xi,""):Ft).replace(ue,"$1").replace(et,"$1;"),Ft="function("+(di||"obj")+") {\n"+(di?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Ze?", __e = _.escape":"")+(ct?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ft+"return __p\n}";var Di=Wr(function(){return jn(Ce,Un+"return "+Ft).apply(e,He)});if(Di.source=Ft,hd(Di))throw Di;return Di},U.times=function dm(a,p){if((a=vi(a))<1||a>Je)return[];var b=me,A=Co(a,me);p=si(p),a-=me;for(var q=Bs(A,p);++b<a;)p(b);return q},U.toFinite=Gr,U.toInteger=vi,U.toLength=cu,U.toLower=function vl(a){return qi(a).toLowerCase()},U.toNumber=Rr,U.toSafeInteger=function _h(a){return a?Ga(vi(a),-Je,Je):0===a?a:0},U.toString=qi,U.toUpper=function Sh(a){return qi(a).toUpperCase()},U.trim=function Th(a,p,b){if((a=qi(a))&&(b||p===e))return or(a);if(!a||!(p=ra(p)))return a;var A=jt(a),q=jt(p);return xl(A,Sr(A,q),ui(A,q)+1).join("")},U.trimEnd=function In(a,p,b){if((a=qi(a))&&(b||p===e))return a.slice(0,Pn(a)+1);if(!a||!(p=ra(p)))return a;var A=jt(a);return xl(A,0,ui(A,jt(p))+1).join("")},U.trimStart=function qn(a,p,b){if((a=qi(a))&&(b||p===e))return a.replace(Ht,"");if(!a||!(p=ra(p)))return a;var A=jt(a);return xl(A,Sr(A,jt(p))).join("")},U.truncate=function oi(a,p){var b=30,A="...";if(io(p)){var q="separator"in p?p.separator:q;b="length"in p?vi(p.length):b,A="omission"in p?ra(p.omission):A}var Ce=(a=qi(a)).length;if(Bo(a)){var He=jt(a);Ce=He.length}if(b>=Ce)return a;var Ze=b-_s(A);if(Ze<1)return A;var ct=He?xl(He,0,Ze).join(""):a.slice(0,Ze);
vendor: 4,432 bytes, line 1
1if(q===e)return ct+A;if(He&&(Ze+=ct.length-Ze),ph(q)){if(a.slice(Ze).search(q)){var It,Rt=ct;for(q.global||(q=lr(q.source,qi(Dt.exec(q))+"g")),q.lastIndex=0;It=q.exec(Rt);)var Ft=It.index;ct=ct.slice(0,Ft===e?Ze:Ft)}}else if(a.indexOf(ra(q),Ze)!=Ze){var _n=ct.lastIndexOf(q);_n>-1&&(ct=ct.slice(0,_n))}return ct+A},U.unescape=function ts(a){return(a=qi(a))&&Tt.test(a)?a.replace(st,mo):a},U.uniqueId=function um(a){var p=++M;return qi(a)+p},U.upperCase=Yo,U.upperFirst=ua,U.each=zf,U.eachRight=Np,U.first=id,fg(U,function(){var a={};return hr(U,function(p,b){C.call(U.prototype,b)||(a[b]=p)}),a}(),{chain:!1}),U.VERSION="4.18.1",Fi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){U[a].placeholder=U}),Fi(["drop","take"],function(a,p){Xn.prototype[a]=function(b){b=b===e?1:eo(vi(b),0);var A=this.__filtered__&&!p?new Xn(this):this.clone();return A.__filtered__?A.__takeCount__=Co(b,A.__takeCount__):A.__views__.push({size:Co(b,me),type:a+(A.__dir__<0?"Right":"")}),A},Xn.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),Fi(["filter","map","takeWhile"],function(a,p){var b=p+1,A=1==b||3==b;Xn.prototype[a]=function(q){var Ce=this.clone();return Ce.__iteratees__.push({iteratee:si(q,3),type:b}),Ce.__filtered__=Ce.__filtered__||A,Ce}}),Fi(["head","last"],function(a,p){var b="take"+(p?"Right":"");Xn.prototype[a]=function(){return this[b](1).value()[0]}}),Fi(["initial","tail"],function(a,p){var b="drop"+(p?"":"Right");Xn.prototype[a]=function(){return this.__filtered__?new Xn(this):this[b](1)}}),Xn.prototype.compact=function(){return this.filter(Ao)},Xn.prototype.find=function(a){return this.filter(a).head()},Xn.prototype.findLast=function(a){return this.reverse().find(a)},Xn.prototype.invokeMap=ki(function(a,p){return"function"==typeof a?new Xn(this):this.map(function(b){return dc(b,a,p)})}),Xn.prototype.reject=function(a){return this.filter(su(si(a)))},Xn.prototype.slice=function(a,p){a=vi(a);var b=this;return b.__filtered__&&(a>0||p<0)?new Xn(b):(a<0?b=b.takeRight(-a):a&&(b=b.drop(a)),p!==e&&(b=(p=vi(p))<0?b.dropRight(-p):b.take(p-a)),b)},Xn.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Xn.prototype.toArray=function(){return this.take(me)},hr(Xn.prototype,function(a,p){var b=/^(?:filter|find|map|reject)|While$/.test(p),A=/^(?:head|last)$/.test(p),q=U[A?"take"+("last"==p?"Right":""):p],Ce=A||/^find/.test(p);q&&(U.prototype[p]=function(){var He=this.__wrapped__,Ze=A?[1]:arguments,ct=He instanceof Xn,It=Ze[0],Rt=ct||mi(He),Ft=function(Qi){var ns=q.apply(U,Hi([Qi],Ze));return A&&_n?ns[0]:ns};Rt&&b&&"function"==typeof It&&1!=It.length&&(ct=Rt=!1);var _n=this.__chain__,di=Ce&&!_n,Di=ct&&!this.__actions__.length;if(!Ce&&Rt){He=Di?He:new Xn(this);var ii=a.apply(He,Ze);return ii.__actions__.push({func:hl,args:[Ft],thisArg:e}),new vo(ii,_n)}return di&&Di?a.apply(this,Ze):(ii=this.thru(Ft),di?A?ii.value()[0]:ii.value():ii)})}),Fi(["pop","push","shift","sort","splice","unshift"],function(a){var p=_o[a],b=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",A=/^(?:pop|shift)$/.test(a);U.prototype[a]=function(){var q=arguments;if(A&&!this.__chain__){var Ce=this.value();return p.apply(mi(Ce)?Ce:[],q)}return this[b](function(He){return p.apply(mi(He)?He:[],q)})}}),hr(Xn.prototype,function(a,p){var b=U[p];if(b){var A=b.name+"";C.call(Tr,A)||(Tr[A]=[]),Tr[A].push({name:p,func:b})}}),Tr[Tl(e,2).name]=[{name:"wrapper",func:e}],Xn.prototype.clone=function Vc(){var a=new Xn(this.__wrapped__);return a.__actions__=Yr(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Yr(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Yr(this.__views__),a},Xn.prototype.reverse=function Uo(){if(this.__filtered__){var a=new Xn(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},Xn.prototype.value=function ea(){var a=this.__wrapped__.value(),p=this.__dir__,b=mi(a),A=p<0,q=b?a.length:0,Ce=function vc(a,p,b){for(var A=-1,q=b.length;++A<q;){var Ce=b[A],He=Ce.size;switch(Ce.type){case"drop":a+=He;break;case"dropRight":p-=He;break;case"take":p=Co(p,a+He);break;case"takeRight":a=eo(a,p-He)}}return{start:a,end:p}}(0,q,this.__views__),He=Ce.start,Ze=Ce.end,ct=Ze-He,It=A?Ze:He-1,Rt=this.__iteratees__,Ft=Rt.length,_n=0,Un=Co(ct,this.__takeCount__);if(!b||!A&&q==ct&&Un==ct)return aa(a,this.__actions__);var di=[];e:for(;ct--&&_n<Un;){for(var Di=-1,ii=a[It+=p];
vendor: 8,426 bytes, line 1
1++Di<Ft;){var Qi=Rt[Di],Ra=Qi.type,zr=(0,Qi.iteratee)(ii);if(2==Ra)ii=zr;else if(!zr){if(1==Ra)continue e;break e}}di[_n++]=ii}return di},U.prototype.at=Sp,U.prototype.chain=function Tp(){return wc(this)},U.prototype.commit=function Ip(){return new vo(this.value(),this.__chain__)},U.prototype.next=function eh(){this.__values__===e&&(this.__values__=tc(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?e:this.__values__[this.__index__++]}},U.prototype.plant=function pl(a){for(var p,b=this;b instanceof ol;){var A=Mc(b);A.__index__=0,A.__values__=e,p?q.__wrapped__=A:p=A;var q=A;b=b.__wrapped__}return q.__wrapped__=a,p},U.prototype.reverse=function Pc(){var a=this.__wrapped__;if(a instanceof Xn){var p=a;return this.__actions__.length&&(p=new Xn(this)),(p=p.reverse()).__actions__.push({func:hl,args:[Hd],thisArg:e}),new vo(p,this.__chain__)}return this.thru(Hd)},U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=function Ap(){return aa(this.__wrapped__,this.__actions__)},U.prototype.first=U.prototype.head,oo&&(U.prototype[oo]=function Fp(){return this}),U}();Nt._=So,(i=function(){return So}.call(ke,w,ke,Ot))!==e&&(Ot.exports=i)}.call(this)},4412:(Ot,ke,w)=>{"use strict";w.d(ke,{t:()=>e});var i=w(1413);class e extends i.B{constructor(K){super(),this._value=K}get value(){return this.getValue()}_subscribe(K){const ae=super._subscribe(K);return!ae.closed&&K.next(this._value),ae}getValue(){const{hasError:K,thrownError:ae,_value:Z}=this;if(K)throw ae;return this._throwIfClosed(),Z}next(K){super.next(this._value=K)}}},1985:(Ot,ke,w)=>{"use strict";w.d(ke,{c:()=>z});var i=w(7707),e=w(8359),ee=w(3494),K=w(1203),ae=w(1026),Z=w(8071),$=w(9786);let z=(()=>{class J{constructor(pe){pe&&(this._subscribe=pe)}lift(pe){const ze=new J;return ze.source=this,ze.operator=pe,ze}subscribe(pe,ze,xe){const Fe=function ge(J){return J&&J instanceof i.vU||function W(J){return J&&(0,Z.T)(J.next)&&(0,Z.T)(J.error)&&(0,Z.T)(J.complete)}(J)&&(0,e.Uv)(J)}(pe)?pe:new i.Ms(pe,ze,xe);return(0,$.Y)(()=>{const{operator:$e,source:it}=this;Fe.add($e?$e.call(Fe,it):it?this._subscribe(Fe):this._trySubscribe(Fe))}),Fe}_trySubscribe(pe){try{return this._subscribe(pe)}catch(ze){pe.error(ze)}}forEach(pe,ze){return new(ze=le(ze))((xe,Fe)=>{const $e=new i.Ms({next:it=>{try{pe(it)}catch(_e){Fe(_e),$e.unsubscribe()}},error:Fe,complete:xe});this.subscribe($e)})}_subscribe(pe){var ze;return null===(ze=this.source)||void 0===ze?void 0:ze.subscribe(pe)}[ee.s](){return this}pipe(...pe){return(0,K.m)(pe)(this)}toPromise(pe){return new(pe=le(pe))((ze,xe)=>{let Fe;this.subscribe($e=>Fe=$e,$e=>xe($e),()=>ze(Fe))})}}return J.create=Be=>new J(Be),J})();function le(J){var Be;return null!==(Be=J??ae.$.Promise)&&void 0!==Be?Be:Promise}},2771:(Ot,ke,w)=>{"use strict";w.d(ke,{m:()=>ee});var i=w(1413),e=w(6129);class ee extends i.B{constructor(ae=1/0,Z=1/0,$=e.U){super(),this._bufferSize=ae,this._windowTime=Z,this._timestampProvider=$,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Z===1/0,this._bufferSize=Math.max(1,ae),this._windowTime=Math.max(1,Z)}next(ae){const{isStopped:Z,_buffer:$,_infiniteTimeWindow:z,_timestampProvider:le,_windowTime:W}=this;Z||($.push(ae),!z&&$.push(le.now()+W)),this._trimBuffer(),super.next(ae)}_subscribe(ae){this._throwIfClosed(),this._trimBuffer();const Z=this._innerSubscribe(ae),{_infiniteTimeWindow:$,_buffer:z}=this,le=z.slice();for(let W=0;W<le.length&&!ae.closed;W+=$?1:2)ae.next(le[W]);return this._checkFinalizedStatuses(ae),Z}_trimBuffer(){const{_bufferSize:ae,_timestampProvider:Z,_buffer:$,_infiniteTimeWindow:z}=this,le=(z?1:2)*ae;if(ae<1/0&&le<$.length&&$.splice(0,$.length-le),!z){const W=Z.now();let ge=0;for(let J=1;J<$.length&&$[J]<=W;J+=2)ge=J;ge&&$.splice(0,ge+1)}}}},1413:(Ot,ke,w)=>{"use strict";w.d(ke,{B:()=>$});var i=w(1985),e=w(8359);const K=(0,w(1853).L)(le=>function(){le(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=w(7908),Z=w(9786);let $=(()=>{class le extends i.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ge){const J=new z(this,this);return J.operator=ge,J}_throwIfClosed(){if(this.closed)throw new K}next(ge){(0,Z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const J of this.currentObservers)J.next(ge)}})}error(ge){(0,Z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ge;const{observers:J}=this;for(;J.length;)J.shift().error(ge)}})}complete(){(0,Z.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ge}=this;for(;ge.length;)ge.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ge;return(null===(ge=this.observers)||void 0===ge?void 0:ge.length)>0}_trySubscribe(ge){return this._throwIfClosed(),super._trySubscribe(ge)}_subscribe(ge){return this._throwIfClosed(),this._checkFinalizedStatuses(ge),this._innerSubscribe(ge)}_innerSubscribe(ge){const{hasError:J,isStopped:Be,observers:pe}=this;return J||Be?e.Kn:(this.currentObservers=null,pe.push(ge),new e.yU(()=>{this.currentObservers=null,(0,ae.o)(pe,ge)}))}_checkFinalizedStatuses(ge){const{hasError:J,thrownError:Be,isStopped:pe}=this;J?ge.error(Be):pe&&ge.complete()}asObservable(){const ge=new i.c;return ge.source=this,ge}}return le.create=(W,ge)=>new z(W,ge),le})();class z extends ${constructor(W,ge){super(),this.destination=W,this.source=ge}next(W){var ge,J;null===(J=null===(ge=this.destination)||void 0===ge?void 0:ge.next)||void 0===J||J.call(ge,W)}error(W){var ge,J;null===(J=null===(ge=this.destination)||void 0===ge?void 0:ge.error)||void 0===J||J.call(ge,W)}complete(){var W,ge;null===(ge=null===(W=this.destination)||void 0===W?void 0:W.complete)||void 0===ge||ge.call(W)}_subscribe(W){var ge,J;return null!==(J=null===(ge=this.source)||void 0===ge?void 0:ge.subscribe(W))&&void 0!==J?J:e.Kn}}},7707:(Ot,ke,w)=>{"use strict";w.d(ke,{Ms:()=>xe,vU:()=>J});var i=w(8071),e=w(8359),ee=w(1026),K=w(5334),ae=w(5343);const Z=le("C",void 0,void 0);function le(B,H,ie){return{kind:B,value:H,error:ie}}var W=w(9270),ge=w(9786);class J extends e.yU{constructor(H){super(),this.isStopped=!1,H?(this.destination=H,(0,e.Uv)(H)&&H.add(this)):this.destination=_e}static create(H,ie,fe){return new xe(H,ie,fe)}next(H){this.isStopped?it(function z(B){return le("N",B,void 0)}(H),this):this._next(H)}error(H){this.isStopped?it(function $(B){return le("E",void 0,B)}(H),this):(this.isStopped=!0,this._error(H))}complete(){this.isStopped?it(Z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(H){this.destination.next(H)}_error(H){try{this.destination.error(H)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Be=Function.prototype.bind;function pe(B,H){return Be.call(B,H)}class ze{constructor(H){this.partialObserver=H}next(H){const{partialObserver:ie}=this;if(ie.next)try{ie.next(H)}catch(fe){Fe(fe)}}error(H){const{partialObserver:ie}=this;if(ie.error)try{ie.error(H)}catch(fe){Fe(fe)}else Fe(H)}complete(){const{partialObserver:H}=this;if(H.complete)try{H.complete()}catch(ie){Fe(ie)}}}class xe extends J{constructor(H,ie,fe){let Le;if(super(),(0,i.T)(H)||!H)Le={next:H??void 0,error:ie??void 0,complete:fe??void 0};else{let _t;this&&ee.$.useDeprecatedNextContext?(_t=Object.create(H),_t.unsubscribe=()=>this.unsubscribe(),Le={next:H.next&&pe(H.next,_t),error:H.error&&pe(H.error,_t),complete:H.complete&&pe(H.complete,_t)}):Le=H}this.destination=new ze(Le)}}function Fe(B){ee.$.useDeprecatedSynchronousErrorHandling?(0,ge.l)(B):(0,K.m)(B)}function it(B,H){const{onStoppedNotification:ie}=ee.$;ie&&W.f.setTimeout(()=>ie(B,H))}const _e={closed:!0,next:ae.l,error:function $e(B){throw B},complete:ae.l}},8359:(Ot,ke,w)=>{"use strict";w.d(ke,{Kn:()=>Z,yU:()=>ae,Uv:()=>$});var i=w(8071);const ee=(0,w(1853).L)(le=>function(ge){le(this),this.message=ge?`${ge.length} errors occurred during unsubscription:\n${ge.map((J,Be)=>`${Be+1}) ${J.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=ge});var K=w(7908);class ae{constructor(W){this.initialTeardown=W,this.closed=!1,this._parentage=null,this._finalizers=null}
1unsubscribe(){let W;if(!this.closed){this.closed=!0;const{_parentage:ge}=this;if(ge)if(this._parentage=null,Array.isArray(ge))for(const pe of ge)pe.remove(this);else ge.remove(this);const{initialTeardown:J}=this;if((0,i.T)(J))try{J()}catch(pe){W=pe instanceof ee?pe.errors:[pe]}const{_finalizers:Be}=this;if(Be){this._finalizers=null;for(const pe of Be)try{z(pe)}catch(ze){W=W??[],ze instanceof ee?W=[...W,...ze.errors]:W.push(ze)}}if(W)throw new ee(W)}}add(W){var ge;if(W&&W!==this)if(this.closed)z(W);else{if(W instanceof ae){if(W.closed||W._hasParent(this))return;W._addParent(this)}(this._finalizers=null!==(ge=this._finalizers)&&void 0!==ge?ge:[]).push(W)}}_hasParent(W){const{_parentage:ge}=this;return ge===W||Array.isArray(ge)&&ge.includes(W)}_addParent(W){const{_parentage:ge}=this;this._parentage=Array.isArray(ge)?(ge.push(W),ge):ge?[ge,W]:W}_removeParent(W){const{_parentage:ge}=this;ge===W?this._parentage=null:Array.isArray(ge)&&(0,K.o)(ge,W)}remove(W){const{_finalizers:ge}=this;ge&&(0,K.o)(ge,W),W instanceof ae&&W._removeParent(this)}}ae.EMPTY=(()=>{const le=new ae;return le.closed=!0,le})();const Z=ae.EMPTY;function $(le){return le instanceof ae||le&&"closed"in le&&(0,i.T)(le.remove)&&(0,i.T)(le.add)&&(0,i.T)(le.unsubscribe)}function z(le){(0,i.T)(le)?le():le.unsubscribe()}},1026:(Ot,ke,w)=>{"use strict";w.d(ke,{$:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4572:(Ot,ke,w)=>{"use strict";w.d(ke,{z:()=>W});var i=w(1985),e=w(3073),ee=w(2806),K=w(3669),ae=w(6450),Z=w(9326),$=w(8496),z=w(4360),le=w(5225);function W(...Be){const pe=(0,Z.lI)(Be),ze=(0,Z.ms)(Be),{args:xe,keys:Fe}=(0,e.D)(Be);if(0===xe.length)return(0,ee.H)([],pe);const $e=new i.c(function ge(Be,pe,ze=K.D){return xe=>{J(pe,()=>{const{length:Fe}=Be,$e=new Array(Fe);let it=Fe,_e=Fe;for(let B=0;B<Fe;B++)J(pe,()=>{const H=(0,ee.H)(Be[B],pe);let ie=!1;H.subscribe((0,z._)(xe,fe=>{$e[B]=fe,ie||(ie=!0,_e--),_e||xe.next(ze($e.slice()))},()=>{--it||xe.complete()}))},xe)},xe)}}(xe,pe,Fe?it=>(0,$.e)(Fe,it):K.D));return ze?$e.pipe((0,ae.I)(ze)):$e}function J(Be,pe,ze){Be?(0,le.N)(ze,Be,pe):pe()}},8793:(Ot,ke,w)=>{"use strict";w.d(ke,{x:()=>ae});var i=w(6365),ee=w(9326),K=w(2806);function ae(...Z){return function e(){return(0,i.U)(1)}()((0,K.H)(Z,(0,ee.lI)(Z)))}},983:(Ot,ke,w)=>{"use strict";w.d(ke,{w:()=>e});const e=new(w(1985).c)(ae=>ae.complete())},7468:(Ot,ke,w)=>{"use strict";w.d(ke,{p:()=>z});var i=w(1985),e=w(3073),ee=w(8750),K=w(9326),ae=w(4360),Z=w(6450),$=w(8496);function z(...le){const W=(0,K.ms)(le),{args:ge,keys:J}=(0,e.D)(le),Be=new i.c(pe=>{const{length:ze}=ge;if(!ze)return void pe.complete();const xe=new Array(ze);let Fe=ze,$e=ze;for(let it=0;it<ze;it++){let _e=!1;(0,ee.Tg)(ge[it]).subscribe((0,ae._)(pe,B=>{_e||(_e=!0,$e--),xe[it]=B},()=>Fe--,void 0,()=>{(!Fe||!_e)&&($e||pe.next(J?(0,$.e)(J,xe):xe),pe.complete())}))}});return W?Be.pipe((0,Z.I)(W)):Be}},2806:(Ot,ke,w)=>{"use strict";w.d(ke,{H:()=>ie});var i=w(8750),e=w(941),ee=w(9974);function K(fe,Le=0){return(0,ee.N)((_t,Pt)=>{Pt.add(fe.schedule(()=>_t.subscribe(Pt),Le))})}var $=w(1985),le=w(4761),W=w(8071),ge=w(5225);function Be(fe,Le){if(!fe)throw new Error("Iterable cannot be null");return new $.c(_t=>{(0,ge.N)(_t,Le,()=>{const Pt=fe[Symbol.asyncIterator]();(0,ge.N)(_t,Le,()=>{Pt.next().then(re=>{re.done?_t.complete():_t.next(re.value)})},0,!0)})})}var pe=w(5055),ze=w(9858),xe=w(7441),Fe=w(5397),$e=w(7953),it=w(591),_e=w(5196);function ie(fe,Le){return Le?function H(fe,Le){if(null!=fe){if((0,pe.l)(fe))return function ae(fe,Le){return(0,i.Tg)(fe).pipe(K(Le),(0,e.Q)(Le))}(fe,Le);if((0,xe.X)(fe))return function z(fe,Le){return new $.c(_t=>{let Pt=0;return Le.schedule(function(){Pt===fe.length?_t.complete():(_t.next(fe[Pt++]),_t.closed||this.schedule())})})}(fe,Le);if((0,ze.y)(fe))return function Z(fe,Le){return(0,i.Tg)(fe).pipe(K(Le),(0,e.Q)(Le))}(fe,Le);if((0,$e.T)(fe))return Be(fe,Le);if((0,Fe.x)(fe))return function J(fe,Le){return new $.c(_t=>{let Pt;return(0,ge.N)(_t,Le,()=>{Pt=fe[le.l](),(0,ge.N)(_t,Le,()=>{let re,Te;try{({value:re,done:Te}=Pt.next())}catch(mt){return void _t.error(mt)}Te?_t.complete():_t.next(re)},0,!0)}),()=>(0,W.T)(Pt?.return)&&Pt.return()})}(fe,Le);
1if((0,_e.U)(fe))return function B(fe,Le){return Be((0,_e.C)(fe),Le)}(fe,Le)}throw(0,it.L)(fe)}(fe,Le):(0,i.Tg)(fe)}},8750:(Ot,ke,w)=>{"use strict";w.d(ke,{Tg:()=>Be});var i=w(1635),e=w(7441),ee=w(9858),K=w(1985),ae=w(5055),Z=w(7953),$=w(591),z=w(5397),le=w(5196),W=w(8071),ge=w(5334),J=w(3494);function Be(B){if(B instanceof K.c)return B;if(null!=B){if((0,ae.l)(B))return function pe(B){return new K.c(H=>{const ie=B[J.s]();if((0,W.T)(ie.subscribe))return ie.subscribe(H);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(B);if((0,e.X)(B))return function ze(B){return new K.c(H=>{for(let ie=0;ie<B.length&&!H.closed;ie++)H.next(B[ie]);H.complete()})}(B);if((0,ee.y)(B))return function xe(B){return new K.c(H=>{B.then(ie=>{H.closed||(H.next(ie),H.complete())},ie=>H.error(ie)).then(null,ge.m)})}(B);if((0,Z.T)(B))return $e(B);if((0,z.x)(B))return function Fe(B){return new K.c(H=>{for(const ie of B)if(H.next(ie),H.closed)return;H.complete()})}(B);if((0,le.U)(B))return function it(B){return $e((0,le.C)(B))}(B)}throw(0,$.L)(B)}function $e(B){return new K.c(H=>{(function _e(B,H){var ie,fe,Le,_t;return(0,i.sH)(this,void 0,void 0,function*(){try{for(ie=(0,i.xN)(B);!(fe=yield ie.next()).done;)if(H.next(fe.value),H.closed)return}catch(Pt){Le={error:Pt}}finally{try{fe&&!fe.done&&(_t=ie.return)&&(yield _t.call(ie))}finally{if(Le)throw Le.error}}H.complete()})})(B,H).catch(ie=>H.error(ie))})}},7786:(Ot,ke,w)=>{"use strict";w.d(ke,{h:()=>Z});var i=w(6365),e=w(8750),ee=w(983),K=w(9326),ae=w(2806);function Z(...$){const z=(0,K.lI)($),le=(0,K.R0)($,1/0),W=$;return W.length?1===W.length?(0,e.Tg)(W[0]):(0,i.U)(le)((0,ae.H)(W,z)):ee.w}},7673:(Ot,ke,w)=>{"use strict";w.d(ke,{of:()=>ee});var i=w(9326),e=w(2806);function ee(...K){const ae=(0,i.lI)(K);return(0,e.H)(K,ae)}},8810:(Ot,ke,w)=>{"use strict";w.d(ke,{$:()=>ee});var i=w(1985),e=w(8071);function ee(K,ae){const Z=(0,e.T)(K)?K:()=>K,$=z=>z.error(Z());return new i.c(ae?z=>ae.schedule($,0,z):$)}},1807:(Ot,ke,w)=>{"use strict";w.d(ke,{O:()=>ae});var i=w(1985),e=w(3236),ee=w(9470),K=w(8211);function ae(Z=0,$,z=e.b){let le=-1;return null!=$&&((0,ee.m)($)?z=$:le=$),new i.c(W=>{let ge=(0,K.v)(Z)?+Z-z.now():Z;ge<0&&(ge=0);let J=0;return z.schedule(function(){W.closed||(W.next(J++),0<=le?this.schedule(void 0,le):W.complete())},ge)})}},4360:(Ot,ke,w)=>{"use strict";w.d(ke,{_:()=>e});var i=w(7707);function e(K,ae,Z,$,z){return new ee(K,ae,Z,$,z)}class ee extends i.vU{constructor(ae,Z,$,z,le,W){super(ae),this.onFinalize=le,this.shouldUnsubscribe=W,this._next=Z?function(ge){try{Z(ge)}catch(J){ae.error(J)}}:super._next,this._error=z?function(ge){try{z(ge)}catch(J){ae.error(J)}finally{this.unsubscribe()}}:super._error,this._complete=$?function(){try{$()}catch(ge){ae.error(ge)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ae;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Z}=this;super.unsubscribe(),!Z&&(null===(ae=this.onFinalize)||void 0===ae||ae.call(this))}}}},9437:(Ot,ke,w)=>{"use strict";w.d(ke,{W:()=>K});var i=w(8750),e=w(4360),ee=w(9974);function K(ae){return(0,ee.N)((Z,$)=>{let W,z=null,le=!1;z=Z.subscribe((0,e._)($,void 0,void 0,ge=>{W=(0,i.Tg)(ae(ge,K(ae)(Z))),z?(z.unsubscribe(),z=null,W.subscribe($)):le=!0})),le&&(z.unsubscribe(),z=null,W.subscribe($))})}},274:(Ot,ke,w)=>{"use strict";w.d(ke,{H:()=>ee});var i=w(1397),e=w(8071);function ee(K,ae){return(0,e.T)(ae)?(0,i.Z)(K,ae,1):(0,i.Z)(K,1)}},152:(Ot,ke,w)=>{"use strict";w.d(ke,{B:()=>K});var i=w(3236),e=w(9974),ee=w(4360);function K(ae,Z=i.E){return(0,e.N)(($,z)=>{let le=null,W=null,ge=null;const J=()=>{if(le){le.unsubscribe(),le=null;const pe=W;W=null,z.next(pe)}};function Be(){const pe=ge+ae,ze=Z.now();if(ze<pe)return le=this.schedule(void 0,pe-ze),void z.add(le);J()}$.subscribe((0,ee._)(z,pe=>{W=pe,ge=Z.now(),le||(le=Z.schedule(Be,ae),z.add(le))},()=>{J(),z.complete()},void 0,()=>{W=le=null}))})}},9901:(Ot,ke,w)=>{"use strict";w.d(ke,{U:()=>ee});var i=w(9974),e=w(4360);function ee(K){return(0,i.N)((ae,Z)=>{let $=!1;ae.subscribe((0,e._)(Z,z=>{$=!0,Z.next(z)},()=>{$||Z.next(K),Z.complete()}
1))})}},3294:(Ot,ke,w)=>{"use strict";w.d(ke,{F:()=>K});var i=w(3669),e=w(9974),ee=w(4360);function K(Z,$=i.D){return Z=Z??ae,(0,e.N)((z,le)=>{let W,ge=!0;z.subscribe((0,ee._)(le,J=>{const Be=$(J);(ge||!Z(W,Be))&&(ge=!1,W=Be,le.next(J))}))})}function ae(Z,$){return Z===$}},5964:(Ot,ke,w)=>{"use strict";w.d(ke,{p:()=>ee});var i=w(9974),e=w(4360);function ee(K,ae){return(0,i.N)((Z,$)=>{let z=0;Z.subscribe((0,e._)($,le=>K.call(ae,le,z++)&&$.next(le)))})}},980:(Ot,ke,w)=>{"use strict";w.d(ke,{j:()=>e});var i=w(9974);function e(ee){return(0,i.N)((K,ae)=>{try{K.subscribe(ae)}finally{ae.add(ee)}})}},6354:(Ot,ke,w)=>{"use strict";w.d(ke,{T:()=>ee});var i=w(9974),e=w(4360);function ee(K,ae){return(0,i.N)((Z,$)=>{let z=0;Z.subscribe((0,e._)($,le=>{$.next(K.call(ae,le,z++))}))})}},6365:(Ot,ke,w)=>{"use strict";w.d(ke,{U:()=>ee});var i=w(1397),e=w(3669);function ee(K=1/0){return(0,i.Z)(e.D,K)}},1397:(Ot,ke,w)=>{"use strict";w.d(ke,{Z:()=>z});var i=w(6354),e=w(8750),ee=w(9974),K=w(5225),ae=w(4360),$=w(8071);function z(le,W,ge=1/0){return(0,$.T)(W)?z((J,Be)=>(0,i.T)((pe,ze)=>W(J,pe,Be,ze))((0,e.Tg)(le(J,Be))),ge):("number"==typeof W&&(ge=W),(0,ee.N)((J,Be)=>function Z(le,W,ge,J,Be,pe,ze,xe){const Fe=[];let $e=0,it=0,_e=!1;const B=()=>{_e&&!Fe.length&&!$e&&W.complete()},H=fe=>$e<J?ie(fe):Fe.push(fe),ie=fe=>{pe&&W.next(fe),$e++;let Le=!1;(0,e.Tg)(ge(fe,it++)).subscribe((0,ae._)(W,_t=>{Be?.(_t),pe?H(_t):W.next(_t)},()=>{Le=!0},void 0,()=>{if(Le)try{for($e--;Fe.length&&$e<J;){const _t=Fe.shift();ze?(0,K.N)(W,ze,()=>ie(_t)):ie(_t)}B()}catch(_t){W.error(_t)}}))};return le.subscribe((0,ae._)(W,H,()=>{_e=!0,B()})),()=>{xe?.()}}(J,Be,le,ge)))}},941:(Ot,ke,w)=>{"use strict";w.d(ke,{Q:()=>K});var i=w(5225),e=w(9974),ee=w(4360);function K(ae,Z=0){return(0,e.N)(($,z)=>{$.subscribe((0,ee._)(z,le=>(0,i.N)(z,ae,()=>z.next(le),Z),()=>(0,i.N)(z,ae,()=>z.complete(),Z),le=>(0,i.N)(z,ae,()=>z.error(le),Z)))})}},2816:(Ot,ke,w)=>{"use strict";w.d(ke,{S:()=>K});var i=w(9974),e=w(4360);function K(ae,Z){return(0,i.N)(function ee(ae,Z,$,z,le){return(W,ge)=>{let J=$,Be=Z,pe=0;W.subscribe((0,e._)(ge,ze=>{const xe=pe++;Be=J?ae(Be,ze,xe):(J=!0,ze),z&&ge.next(Be)},le&&(()=>{J&&ge.next(Be),ge.complete()})))}}(ae,Z,arguments.length>=2,!0))}},7647:(Ot,ke,w)=>{"use strict";w.d(ke,{u:()=>ae});var i=w(8750),e=w(1413),ee=w(7707),K=w(9974);function ae($={}){const{connector:z=(()=>new e.B),resetOnError:le=!0,resetOnComplete:W=!0,resetOnRefCountZero:ge=!0}=$;return J=>{let Be,pe,ze,xe=0,Fe=!1,$e=!1;const it=()=>{pe?.unsubscribe(),pe=void 0},_e=()=>{it(),Be=ze=void 0,Fe=$e=!1},B=()=>{const H=Be;_e(),H?.unsubscribe()};return(0,K.N)((H,ie)=>{xe++,!$e&&!Fe&&it();const fe=ze=ze??z();ie.add(()=>{xe--,0===xe&&!$e&&!Fe&&(pe=Z(B,ge))}),fe.subscribe(ie),!Be&&xe>0&&(Be=new ee.Ms({next:Le=>fe.next(Le),error:Le=>{$e=!0,it(),pe=Z(_e,le,Le),fe.error(Le)},complete:()=>{Fe=!0,it(),pe=Z(_e,W),fe.complete()}}),(0,i.Tg)(H).subscribe(Be))})(J)}}function Z($,z,...le){if(!0===z)return void $();if(!1===z)return;const W=new ee.Ms({next:()=>{W.unsubscribe(),$()}});return(0,i.Tg)(z(...le)).subscribe(W)}},4668:(Ot,ke,w)=>{"use strict";w.d(ke,{t:()=>ee});var i=w(2771),e=w(7647);function ee(K,ae,Z){let $,z=!1;return K&&"object"==typeof K?({bufferSize:$=1/0,windowTime:ae=1/0,refCount:z=!1,scheduler:Z}=K):$=K??1/0,(0,e.u)({connector:()=>new i.m($,ae,Z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:z})}},9172:(Ot,ke,w)=>{"use strict";w.d(ke,{Z:()=>K});var i=w(8793),e=w(9326),ee=w(9974);function K(...ae){const Z=(0,e.lI)(ae);return(0,ee.N)(($,z)=>{(Z?(0,i.x)(ae,$,Z):(0,i.x)(ae,$)).subscribe(z)})}},5558:(Ot,ke,w)=>{"use strict";w.d(ke,{n:()=>K});var i=w(8750),e=w(9974),ee=w(4360);function K(ae,Z){return(0,e.N)(($,z)=>{let le=null,W=0,ge=!1;const J=()=>ge&&!le&&z.complete();$.subscribe((0,ee._)(z,Be=>{le?.unsubscribe();let pe=0;const ze=W++;(0,i.Tg)(ae(Be,ze)).subscribe(le=(0,ee._)(z,xe=>z.next(Z?Z(Be,xe,ze,pe++):xe),()=>{le=null,J()}))},()=>{ge=!0,J()}))})}},6697:(Ot,ke,w)=>{"use strict";w.d(ke,{s:()=>K});var i=w(983),e=w(9974),ee=w(4360);function K(ae){return ae<=0?()=>i.w:(0,e.N)((Z,$)=>{let z=0;Z.subscribe((0,ee._)($,le=>{++z<=ae&&($.next(le),ae<=z&&$.complete())}))})}},6977:(Ot,ke,w)=>{"use strict";w.d(ke,{Q:()=>ae});var i=w(9974),e=w(4360),ee=w(8750),K=w(5343);function ae(Z){return(0,i.N)(($,z)=>{(0,ee.Tg)(Z).subscribe((0,e._)(z,()=>z.complete(),K.l)),!z.closed&&$.subscribe(z)})}},8141:(Ot,ke,w)=>{"use strict";w.d(ke,{M:()=>ae});var i=w(8071),e=w(9974),ee=w(4360),K=w(3669);function ae(Z,$,z){const le=(0,i.T)(Z)||$||z?{next:Z,error:$,complete:z}:Z;return le?(0,e.N)((W,ge)=>{var J;null===(J=le.subscribe)||void 0===J||J.call(le);let Be=!0;W.subscribe((0,ee._)(ge,pe=>{var ze;null===(ze=le.next)||void 0===ze||ze.call(le,pe),ge.next(pe)},()=>{var pe;Be=!1,null===(pe=le.complete)||void 0===pe||pe.call(le),ge.complete()},pe=>{var ze;Be=!1,null===(ze=le.error)||void 0===ze||ze.call(le,pe),ge.error(pe)},()=>{var pe,ze;Be&&(null===(pe=le.unsubscribe)||void 0===pe||pe.call(le)),null===(ze=le.finalize)||void 0===ze||ze.call(le)}))}):K.D}},6780:(Ot,ke,w)=>{"use strict";w.d(ke,{R:()=>ae});var i=w(8359);class e extends i.yU{constructor($,z){super()}schedule($,z=0){return this}}const ee={setInterval(Z,$,...z){const{delegate:le}=ee;return le?.setInterval?le.setInterval(Z,$,...z):setInterval(Z,$,...z)},clearInterval(Z){const{delegate:$}=ee;return($?.clearInterval||clearInterval)(Z)},delegate:void 0};var K=w(7908);
1class ae extends e{constructor($,z){super($,z),this.scheduler=$,this.work=z,this.pending=!1}schedule($,z=0){var le;if(this.closed)return this;this.state=$;const W=this.id,ge=this.scheduler;return null!=W&&(this.id=this.recycleAsyncId(ge,W,z)),this.pending=!0,this.delay=z,this.id=null!==(le=this.id)&&void 0!==le?le:this.requestAsyncId(ge,this.id,z),this}requestAsyncId($,z,le=0){return ee.setInterval($.flush.bind($,this),le)}recycleAsyncId($,z,le=0){if(null!=le&&this.delay===le&&!1===this.pending)return z;null!=z&&ee.clearInterval(z)}execute($,z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const le=this._execute($,z);if(le)return le;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute($,z){let W,le=!1;try{this.work($)}catch(ge){le=!0,W=ge||new Error("Scheduled action threw falsy error")}if(le)return this.unsubscribe(),W}unsubscribe(){if(!this.closed){const{id:$,scheduler:z}=this,{actions:le}=z;this.work=this.state=this.scheduler=null,this.pending=!1,(0,K.o)(le,this),null!=$&&(this.id=this.recycleAsyncId(z,$,null)),this.delay=null,super.unsubscribe()}}}},9687:(Ot,ke,w)=>{"use strict";w.d(ke,{q:()=>ee});var i=w(6129);class e{constructor(ae,Z=e.now){this.schedulerActionCtor=ae,this.now=Z}schedule(ae,Z=0,$){return new this.schedulerActionCtor(this,ae).schedule($,Z)}}e.now=i.U.now;class ee extends e{constructor(ae,Z=e.now){super(ae,Z),this.actions=[],this._active=!1}flush(ae){const{actions:Z}=this;if(this._active)return void Z.push(ae);let $;this._active=!0;do{if($=ae.execute(ae.state,ae.delay))break}while(ae=Z.shift());if(this._active=!1,$){for(;ae=Z.shift();)ae.unsubscribe();throw $}}}},3236:(Ot,ke,w)=>{"use strict";w.d(ke,{E:()=>ee,b:()=>K});var i=w(6780);const ee=new(w(9687).q)(i.R),K=ee},6129:(Ot,ke,w)=>{"use strict";w.d(ke,{U:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},9270:(Ot,ke,w)=>{"use strict";w.d(ke,{f:()=>i});const i={setTimeout(e,ee,...K){const{delegate:ae}=i;return ae?.setTimeout?ae.setTimeout(e,ee,...K):setTimeout(e,ee,...K)},clearTimeout(e){const{delegate:ee}=i;return(ee?.clearTimeout||clearTimeout)(e)},delegate:void 0}},4761:(Ot,ke,w)=>{"use strict";w.d(ke,{l:()=>e});const e=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},3494:(Ot,ke,w)=>{"use strict";w.d(ke,{s:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},9326:(Ot,ke,w)=>{"use strict";w.d(ke,{R0:()=>Z,lI:()=>ae,ms:()=>K});var i=w(8071),e=w(9470);function ee($){return $[$.length-1]}function K($){return(0,i.T)(ee($))?$.pop():void 0}function ae($){return(0,e.m)(ee($))?$.pop():void 0}function Z($,z){return"number"==typeof ee($)?$.pop():z}},3073:(Ot,ke,w)=>{"use strict";w.d(ke,{D:()=>ae});const{isArray:i}=Array,{getPrototypeOf:e,prototype:ee,keys:K}=Object;function ae($){if(1===$.length){const z=$[0];if(i(z))return{args:z,keys:null};if(function Z($){return $&&"object"==typeof $&&e($)===ee}(z)){const le=K(z);return{args:le.map(W=>z[W]),keys:le}}}return{args:$,keys:null}}},7908:(Ot,ke,w)=>{"use strict";function i(e,ee){if(e){const K=e.indexOf(ee);0<=K&&e.splice(K,1)}}w.d(ke,{o:()=>i})},1853:(Ot,ke,w)=>{"use strict";function i(e){const K=e(ae=>{Error.call(ae),ae.stack=(new Error).stack});return K.prototype=Object.create(Error.prototype),K.prototype.constructor=K,K}w.d(ke,{L:()=>i})},8496:(Ot,ke,w)=>{"use strict";function i(e,ee){return e.reduce((K,ae,Z)=>(K[ae]=ee[Z],K),{})}w.d(ke,{e:()=>i})},9786:(Ot,ke,w)=>{"use strict";w.d(ke,{Y:()=>ee,l:()=>K});var i=w(1026);let e=null;function ee(ae){if(i.$.useDeprecatedSynchronousErrorHandling){const Z=!e;if(Z&&(e={errorThrown:!1,error:null}),ae(),Z){const{errorThrown:$,error:z}=e;if(e=null,$)throw z}}else ae()}function K(ae){i.$.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=ae)}},5225:(Ot,ke,w)=>{"use strict";function i(e,ee,K,ae=0,Z=!1){const $=ee.schedule(function(){K(),Z?e.add(this.schedule(null,ae)):this.unsubscribe()},ae);if(e.add($),!Z)return $}w.d(ke,{N:()=>i})},3669:(Ot,ke,w)=>{"use strict";function i(e){return e}w.d(ke,{D:()=>i})},7441:(Ot,ke,w)=>{"use strict";w.d(ke,{X:()=>i});const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},7953:(Ot,ke,w)=>{"use strict";w.d(ke,{T:()=>e});var i=w(8071);function e(ee){return Symbol.asyncIterator&&(0,i.T)(ee?.[Symbol.asyncIterator])}},8211:(Ot,ke,w)=>{"use strict";function i(e){return e instanceof Date&&!isNaN(e)}w.d(ke,{v:()=>i})},8071:(Ot,ke,w)=>{"use strict";function i(e){return"function"==typeof e}w.d(ke,{T:()=>i})},5055:(Ot,ke,w)=>{"use strict";w.d(ke,{l:()=>ee});var i=w(3494),e=w(8071);function ee(K){return(0,e.T)(K[i.s])}},5397:(Ot,ke,w)=>{"use strict";w.d(ke,{x:()=>ee});var i=w(4761),e=w(8071);function ee(K){return(0,e.T)(K?.[i.l])}},4402:(Ot,ke,w)=>{"use strict";w.d(ke,{A:()=>ee});var i=w(1985),e=w(8071);
1function ee(K){return!!K&&(K instanceof i.c||(0,e.T)(K.lift)&&(0,e.T)(K.subscribe))}},9858:(Ot,ke,w)=>{"use strict";w.d(ke,{y:()=>e});var i=w(8071);function e(ee){return(0,i.T)(ee?.then)}},5196:(Ot,ke,w)=>{"use strict";w.d(ke,{C:()=>ee,U:()=>K});var i=w(1635),e=w(8071);function ee(ae){return(0,i.AQ)(this,arguments,function*(){const $=ae.getReader();try{for(;;){const{value:z,done:le}=yield(0,i.N3)($.read());if(le)return yield(0,i.N3)(void 0);yield yield(0,i.N3)(z)}}finally{$.releaseLock()}})}function K(ae){return(0,e.T)(ae?.getReader)}},9470:(Ot,ke,w)=>{"use strict";w.d(ke,{m:()=>e});var i=w(8071);function e(ee){return ee&&(0,i.T)(ee.schedule)}},9974:(Ot,ke,w)=>{"use strict";w.d(ke,{N:()=>ee,S:()=>e});var i=w(8071);function e(K){return(0,i.T)(K?.lift)}function ee(K){return ae=>{if(e(ae))return ae.lift(function(Z){try{return K(Z,this)}catch($){this.error($)}});throw new TypeError("Unable to lift unknown Observable type")}}},6450:(Ot,ke,w)=>{"use strict";w.d(ke,{I:()=>K});var i=w(6354);const{isArray:e}=Array;function K(ae){return(0,i.T)(Z=>function ee(ae,Z){return e(Z)?ae(...Z):ae(Z)}(ae,Z))}},5343:(Ot,ke,w)=>{"use strict";function i(){}w.d(ke,{l:()=>i})},1203:(Ot,ke,w)=>{"use strict";w.d(ke,{F:()=>e,m:()=>ee});var i=w(3669);function e(...K){return ee(K)}function ee(K){return 0===K.length?i.D:1===K.length?K[0]:function(Z){return K.reduce(($,z)=>z($),Z)}}},5334:(Ot,ke,w)=>{"use strict";w.d(ke,{m:()=>ee});var i=w(1026),e=w(9270);function ee(K){e.f.setTimeout(()=>{const{onUnhandledError:ae}=i.$;if(!ae)throw K;ae(K)})}},591:(Ot,ke,w)=>{"use strict";function i(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}w.d(ke,{L:()=>i})},9969:(Ot,ke,w)=>{"use strict";w.d(ke,{FX:()=>it,K2:()=>$,Ro:()=>e,S6:()=>i,hZ:()=>K,i0:()=>ae,iF:()=>z,kY:()=>ge,kp:()=>ee,sf:()=>Fe,ui:()=>$e,wk:()=>le});class i{}class e{}const ee="*";function K(_e,B){return{type:7,name:_e,definitions:B,options:{}}}function ae(_e,B=null){return{type:4,styles:B,timings:_e}}function $(_e,B=null){return{type:2,steps:_e,options:B}}function z(_e){return{type:6,styles:_e,offset:null}}function le(_e,B,H){return{type:0,name:_e,styles:B,options:H}}function ge(_e,B,H=null){return{type:1,expr:_e,animation:B,options:H}}class Fe{constructor(B=0,H=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=B+H}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}onStart(B){this._originalOnStartFns.push(B),this._onStartFns.push(B)}onDone(B){this._originalOnDoneFns.push(B),this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(B=>B()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(B){this._position=this.totalTime?B*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(B){const H="start"==B?this._onStartFns:this._onDoneFns;H.forEach(ie=>ie()),H.length=0}}class $e{constructor(B){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=B;let H=0,ie=0,fe=0;const Le=this.players.length;0==Le?queueMicrotask(()=>this._onFinish()):this.players.forEach(_t=>{_t.onDone(()=>{++H==Le&&this._onFinish()}),_t.onDestroy(()=>{++ie==Le&&this._onDestroy()}),_t.onStart(()=>{++fe==Le&&this._onStart()})}),this.totalTime=this.players.reduce((_t,Pt)=>Math.max(_t,Pt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}
1init(){this.players.forEach(B=>B.init())}onStart(B){this._onStartFns.push(B)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(B=>B()),this._onStartFns=[])}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(B=>B.play())}pause(){this.players.forEach(B=>B.pause())}restart(){this.players.forEach(B=>B.restart())}finish(){this._onFinish(),this.players.forEach(B=>B.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(B=>B.destroy()),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this.players.forEach(B=>B.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(B){const H=B*this.totalTime;this.players.forEach(ie=>{const fe=ie.totalTime?Math.min(1,H/ie.totalTime):1;ie.setPosition(fe)})}getPosition(){const B=this.players.reduce((H,ie)=>null===H||ie.totalTime>H.totalTime?ie:H,null);return null!=B?B.getPosition():0}beforeDestroy(){this.players.forEach(B=>{B.beforeDestroy&&B.beforeDestroy()})}triggerCallback(B){const H="start"==B?this._onStartFns:this._onDoneFns;H.forEach(ie=>ie()),H.length=0}}const it="!"},177:(Ot,ke,w)=>{"use strict";w.d(ke,{AJ:()=>ce,Jj:()=>nr,MD:()=>Se,N0:()=>uo,QT:()=>ee,QX:()=>on,Sm:()=>ze,Sq:()=>is,T3:()=>tr,UE:()=>Jt,VF:()=>ae,Vy:()=>Mn,Xr:()=>gi,YU:()=>Mi,ZD:()=>K,_b:()=>Zs,aZ:()=>Fe,bT:()=>Ws,e1:()=>er,fw:()=>xe,hb:()=>Be,hj:()=>z,lG:()=>mr,qQ:()=>Z,ux:()=>so,vh:()=>Ls});var i=w(7705);let e=null;function ee(){return e}function K(_){e||(e=_)}class ae{}const Z=new i.nKC("DocumentToken");let $=(()=>{class _{historyGo(C){throw new Error("Not implemented")}static{this.\u0275fac=function(M){return new(M||_)}}static{this.\u0275prov=i.jDH({token:_,factory:function(){return(0,i.WQX)(le)},providedIn:"platform"})}}return _})();const z=new i.nKC("Location Initialized");let le=(()=>{class _ extends ${constructor(){super(),this._doc=(0,i.WQX)(Z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ee().getBaseHref(this._doc)}onPopState(C){const M=ee().getGlobalEventTarget(this._doc,"window");return M.addEventListener("popstate",C,!1),()=>M.removeEventListener("popstate",C)}onHashChange(C){const M=ee().getGlobalEventTarget(this._doc,"window");return M.addEventListener("hashchange",C,!1),()=>M.removeEventListener("hashchange",C)}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(C){this._location.pathname=C}pushState(C,M,R){this._history.pushState(C,M,R)}replaceState(C,M,R){this._history.replaceState(C,M,R)}forward(){this._history.forward()}back(){this._history.back()}historyGo(C=0){this._history.go(C)}getState(){return this._history.state}static{this.\u0275fac=function(M){return new(M||_)}}static{this.\u0275prov=i.jDH({token:_,factory:function(){return new _},providedIn:"platform"})}}return _})();function W(_,d){if(0==_.length)return d;if(0==d.length)return _;let C=0;return _.endsWith("/")&&C++,d.startsWith("/")&&C++,2==C?_+d.substring(1):1==C?_+d:_+"/"+d}function ge(_){const d=_.match(/#|\?|$/),C=d&&d.index||_.length;return _.slice(0,C-("/"===_[C-1]?1:0))+_.slice(C)}function J(_){return _&&"?"!==_[0]?"?"+_:_}let Be=(()=>{class _{historyGo(C){throw new Error("Not implemented")}static{this.\u0275fac=function(M){return new(M||_)}}static{this.\u0275prov=i.jDH({token:_,factory:function(){return(0,i.WQX)(ze)},providedIn:"root"})}}return _})();const pe=new i.nKC("appBaseHref");let ze=(()=>{class _ extends Be{constructor(C,M){super(),this._platformLocation=C,this._removeListenerFns=[],this._baseHref=M??this._platformLocation.getBaseHrefFromDOM()??(0,i.WQX)(Z).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.on
1HashChange(C))}getBaseHref(){return this._baseHref}prepareExternalUrl(C){return W(this._baseHref,C)}path(C=!1){const M=this._platformLocation.pathname+J(this._platformLocation.search),R=this._platformLocation.hash;return R&&C?`${M}${R}`:M}pushState(C,M,R,be){const Ct=this.prepareExternalUrl(R+J(be));this._platformLocation.pushState(C,M,Ct)}replaceState(C,M,R,be){const Ct=this.prepareExternalUrl(R+J(be));this._platformLocation.replaceState(C,M,Ct)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(M){return new(M||_)(i.KVO($),i.KVO(pe,8))}}static{this.\u0275prov=i.jDH({token:_,factory:_.\u0275fac,providedIn:"root"})}}return _})(),xe=(()=>{class _ extends Be{constructor(C,M){super(),this._platformLocation=C,this._baseHref="",this._removeListenerFns=[],null!=M&&(this._baseHref=M)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(C){this._removeListenerFns.push(this._platformLocation.onPopState(C),this._platformLocation.onHashChange(C))}getBaseHref(){return this._baseHref}path(C=!1){let M=this._platformLocation.hash;return null==M&&(M="#"),M.length>0?M.substring(1):M}prepareExternalUrl(C){const M=W(this._baseHref,C);return M.length>0?"#"+M:M}pushState(C,M,R,be){let Ct=this.prepareExternalUrl(R+J(be));0==Ct.length&&(Ct=this._platformLocation.pathname),this._platformLocation.pushState(C,M,Ct)}replaceState(C,M,R,be){let Ct=this.prepareExternalUrl(R+J(be));0==Ct.length&&(Ct=this._platformLocation.pathname),this._platformLocation.replaceState(C,M,Ct)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(C=0){this._platformLocation.historyGo?.(C)}static{this.\u0275fac=function(M){return new(M||_)(i.KVO($),i.KVO(pe,8))}}static{this.\u0275prov=i.jDH({token:_,factory:_.\u0275fac})}}return _})(),Fe=(()=>{class _{constructor(C){this._subject=new i.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=C;const M=this._locationStrategy.getBaseHref();this._basePath=function B(_){if(new RegExp("^(https?:)?//").test(_)){const[,C]=_.split(/\/\/[^\/]+/);return C}return _}(ge(_e(M))),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(C=!1){return this.normalize(this._locationStrategy.path(C))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(C,M=""){return this.path()==this.normalize(C+J(M))}normalize(C){return _.stripTrailingSlash(function it(_,d){if(!_||!d.startsWith(_))return d;const C=d.substring(_.length);return""===C||["/",";","?","#"].includes(C[0])?C:d}(this._basePath,_e(C)))}prepareExternalUrl(C){return C&&"/"!==C[0]&&(C="/"+C),this._locationStrategy.prepareExternalUrl(C)}go(C,M="",R=null){this._locationStrategy.pushState(R,"",C,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+J(M)),R)}replaceState(C,M="",R=null){this._locationStrategy.replaceState(R,"",C,M),this._notifyUrlChangeListeners(this.prepareExternalUrl(C+J(M)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(C=0){this._locationStrategy.historyGo?.(C)}onUrlChange(C){return this._urlChangeListeners.push(C),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(M=>{this._notifyUrlChangeListeners(M.url,M.state)})),()=>{const M=this._urlChangeListeners.indexOf(C);this._urlChangeListeners.splice(M,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(C="",M){this._urlChangeListeners.forEach(R=>R(C,M))}subscribe(C,M,R){return this._subject.subscribe({next:C,error:M,complete:R})}static{this.normalizeQueryParams=J}static{this.joinWithSlash=W}static{this.stripTrailingSlash=ge}static{this.\u0275fac=function(M){return new(M||_)(i.KVO(Be))}}static{this.\u0275prov=i.jDH({token:_,factory:function(){return function $e(){return new Fe((0,i.KVO)(Be))}()},providedIn:"root"})}}return _})();function _e(_){return _.replace(/\/index.html$/,"")}var ie=function(_){return _[_.Decimal=0]="Decimal",_[_.Percent=1]="Percent",_[_.Currency=2]="Currency",_[_.Scientific=3]="Scientific",_}(ie||{}),Le=function(_){return _[_.Format=0]="Format",_[_.Standalone=1]="Standalone",_}(Le||{}),_t=function(_){return _[_.Narrow=0]="Narrow",_[_.Abbreviated=1]="Abbreviated",_[_.Wide=2]="Wide",_[_.Short=3]="Short",_}(_t||{}),Pt=function(_){return _[_.Short=0]="Short",_[_.Medium=1]="Medium",_[_.Long=2]="Long",_[_.Full=3]="Full",_}(Pt||{}),re=function(_){return _[_.Decimal=0]="Decimal",_[_.Group=1]="Group",_[_.List=2]="List",_[_.PercentSign=3]="PercentSign",_[_.PlusSign=4]="PlusSign",_[_.MinusSign=5]="MinusSign",_[_.Exponential=6]="Exponential",_[_.SuperscriptingExponent=7]="SuperscriptingExponent",_[_.PerMille=8]="PerMille",_[_.Infinity=9]="Infinity",_[_.NaN=10]="NaN",_[_.TimeSeparator=11]="TimeSeparator",_[_.CurrencyDecimal=12]="CurrencyDecimal",_[_.CurrencyGroup=13]="CurrencyGroup",_}(re||{});function te(_,d){return lt((0,i.H5H)(_)[i.KH2.DateFormat],d)}function me(_,d){return lt((0,i.H5H)(_)[i.KH2.TimeFormat],d)}function ye(_,d){return lt((0,i.H5H)(_)[i.KH2.DateTimeFormat],d)}function Ye(_,d){const C=(0,i.H5H)(_),M=C[i.KH2.NumberSymbols][d];if(typeof M>"u"){if(d===re.CurrencyDecimal)return C[i.KH2.NumberSymbols][re.Decimal];if(d===re.CurrencyGroup)return C[i.KH2.NumberSymbols][re.Group]}return M}
vendor: 13,388 bytes, line 1
1function un(_){if(!_[i.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[i.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function lt(_,d){for(let C=d;C>-1;C--)if(typeof _[C]<"u")return _[C];throw new Error("Locale data API: locale data undefined")}function Vt(_){const[d,C]=_.split(":");return{hours:+d,minutes:+C}}const bs=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,li={},pi=/((?:[^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 vn=function(_){return _[_.Short=0]="Short",_[_.ShortGMT=1]="ShortGMT",_[_.Long=2]="Long",_[_.Extended=3]="Extended",_}(vn||{}),Fn=function(_){return _[_.FullYear=0]="FullYear",_[_.Month=1]="Month",_[_.Date=2]="Date",_[_.Hours=3]="Hours",_[_.Minutes=4]="Minutes",_[_.Seconds=5]="Seconds",_[_.FractionalSeconds=6]="FractionalSeconds",_[_.Day=7]="Day",_}(Fn||{}),ln=function(_){return _[_.DayPeriods=0]="DayPeriods",_[_.Days=1]="Days",_[_.Months=2]="Months",_[_.Eras=3]="Eras",_}(ln||{});function Oi(_,d,C,M){let R=function qe(_){if(he(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[R,be=1,Ct=1]=_.split("-").map(Kt=>+Kt);return Os(R,be-1,Ct)}const C=parseFloat(_);if(!isNaN(_-C))return new Date(C);let M;if(M=_.match(bs))return function Qe(_){const d=new Date(0);let C=0,M=0;const R=_[8]?d.setUTCFullYear:d.setFullYear,be=_[8]?d.setUTCHours:d.setHours;_[9]&&(C=Number(_[9]+_[10]),M=Number(_[9]+_[11])),R.call(d,Number(_[1]),Number(_[2])-1,Number(_[3]));const Ct=Number(_[4]||0)-C,Kt=Number(_[5]||0)-M,En=Number(_[6]||0),Bn=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return be.call(d,Ct,Kt,En,Bn),d}(M)}const d=new Date(_);if(!he(d))throw new Error(`Unable to convert "${_}" into a date`);return d}(_);d=Pi(C,d)||d;let Kt,Ct=[];for(;d;){if(Kt=pi.exec(d),!Kt){Ct.push(d);break}{Ct=Ct.concat(Kt.slice(1));const Vn=Ct.pop();if(!Vn)break;d=Vn}}let En=R.getTimezoneOffset();M&&(En=Bt(M,En),R=function Qt(_,d,C){const M=C?-1:1,R=_.getTimezoneOffset();return function en(_,d){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+d),_}(_,M*(Bt(d,R)-R))}(R,M,!0));let Bn="";return Ct.forEach(Vn=>{const Tn=function Tt(_){if(rt[_])return rt[_];let d;switch(_){case"G":case"GG":case"GGG":d=An(ln.Eras,_t.Abbreviated);break;case"GGGG":d=An(ln.Eras,_t.Wide);break;case"GGGGG":d=An(ln.Eras,_t.Narrow);break;case"y":d=Kn(Fn.FullYear,1,0,!1,!0);break;case"yy":d=Kn(Fn.FullYear,2,0,!0,!0);break;case"yyy":d=Kn(Fn.FullYear,3,0,!1,!0);break;case"yyyy":d=Kn(Fn.FullYear,4,0,!1,!0);break;case"Y":d=st(1);break;case"YY":d=st(2,!0);break;case"YYY":d=st(3);break;case"YYYY":d=st(4);break;case"M":case"L":d=Kn(Fn.Month,1,1);break;case"MM":case"LL":d=Kn(Fn.Month,2,1);break;case"MMM":d=An(ln.Months,_t.Abbreviated);break;case"MMMM":d=An(ln.Months,_t.Wide);break;case"MMMMM":d=An(ln.Months,_t.Narrow);break;case"LLL":d=An(ln.Months,_t.Abbreviated,Le.Standalone);break;case"LLLL":d=An(ln.Months,_t.Wide,Le.Standalone);break;case"LLLLL":d=An(ln.Months,_t.Narrow,Le.Standalone);break;case"w":d=et(1);break;case"ww":d=et(2);break;case"W":d=et(1,!0);break;case"d":d=Kn(Fn.Date,1);break;case"dd":d=Kn(Fn.Date,2);break;case"c":case"cc":d=Kn(Fn.Day,1);break;case"ccc":d=An(ln.Days,_t.Abbreviated,Le.Standalone);break;case"cccc":d=An(ln.Days,_t.Wide,Le.Standalone);break;case"ccccc":d=An(ln.Days,_t.Narrow,Le.Standalone);break;case"cccccc":d=An(ln.Days,_t.Short,Le.Standalone);break;case"E":case"EE":case"EEE":d=An(ln.Days,_t.Abbreviated);break;case"EEEE":d=An(ln.Days,_t.Wide);break;case"EEEEE":d=An(ln.Days,_t.Narrow);break;case"EEEEEE":d=An(ln.Days,_t.Short);break;case"a":case"aa":case"aaa":d=An(ln.DayPeriods,_t.Abbreviated);break;case"aaaa":d=An(ln.DayPeriods,_t.Wide);break;case"aaaaa":d=An(ln.DayPeriods,_t.Narrow);break;case"b":case"bb":case"bbb":d=An(ln.DayPeriods,_t.Abbreviated,Le.Standalone,!0);break;case"bbbb":d=An(ln.DayPeriods,_t.Wide,Le.Standalone,!0);break;case"bbbbb":d=An(ln.DayPeriods,_t.Narrow,Le.Standalone,!0);break;case"B":case"BB":case"BBB":d=An(ln.DayPeriods,_t.Abbreviated,Le.Format,!0);break;case"BBBB":d=An(ln.DayPeriods,_t.Wide,Le.Format,!0);break;case"BBBBB":d=An(ln.DayPeriods,_t.Narrow,Le.Format,!0);break;case"h":d=Kn(Fn.Hours,1,-12);break;case"hh":d=Kn(Fn.Hours,2,-12);break;case"H":d=Kn(Fn.Hours,1);break;case"HH":d=Kn(Fn.Hours,2);break;case"m":d=Kn(Fn.Minutes,1);break;case"mm":d=Kn(Fn.Minutes,2);break;case"s":d=Kn(Fn.Seconds,1);break;case"ss":d=Kn(Fn.Seconds,2);break;case"S":d=Kn(Fn.FractionalSeconds,1);break;case"SS":d=Kn(Fn.FractionalSeconds,2);break;case"SSS":d=Kn(Fn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":d=Ri(vn.Short);break;case"ZZZZZ":d=Ri(vn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":d=Ri(vn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":d=Ri(vn.Long);break;default:return null}return rt[_]=d,d}(Vn);Bn+=Tn?Tn(R,C,En):"''"===Vn?"'":Vn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Bn}function Os(_,d,C){const M=new Date(0);return M.setFullYear(_,d,C),M.setHours(0,0,0),M}function Pi(_,d){const C=function mt(_){return(0,i.H5H)(_)[i.KH2.LocaleId]}(_);if(li[C]=li[C]||{},li[C][d])return li[C][d];let M="";switch(d){case"shortDate":M=te(_,Pt.Short);break;case"mediumDate":M=te(_,Pt.Medium);break;case"longDate":M=te(_,Pt.Long);break;case"fullDate":M=te(_,Pt.Full);break;case"shortTime":M=me(_,Pt.Short);break;case"mediumTime":M=me(_,Pt.Medium);break;case"longTime":M=me(_,Pt.Long);break;case"fullTime":M=me(_,Pt.Full);break;case"short":const R=Pi(_,"shortTime"),be=Pi(_,"shortDate");M=hn(ye(_,Pt.Short),[R,be]);break;case"medium":const Ct=Pi(_,"mediumTime"),Kt=Pi(_,"mediumDate");M=hn(ye(_,Pt.Medium),[Ct,Kt]);break;case"long":const En=Pi(_,"longTime"),Bn=Pi(_,"longDate");M=hn(ye(_,Pt.Long),[En,Bn]);break;case"full":const Vn=Pi(_,"fullTime"),Tn=Pi(_,"fullDate");M=hn(ye(_,Pt.Full),[Vn,Tn])}return M&&(li[C][d]=M),M}function hn(_,d){return d&&(_=_.replace(/\{([^}]+)}/g,function(C,M){return null!=d&&M in d?d[M]:C})),_}function wi(_,d,C="-",M,R){let be="";(_<0||R&&_<=0)&&(R?_=1-_:(_=-_,be=C));let Ct=String(_);for(;Ct.length<d;)Ct="0"+Ct;return M&&(Ct=Ct.slice(Ct.length-d)),be+Ct}function Kn(_,d,C=0,M=!1,R=!1){return function(be,Ct){let Kt=function Ys(_,d){switch(_){case Fn.FullYear:return d.getFullYear();case Fn.Month:return d.getMonth();case Fn.Date:return d.getDate();case Fn.Hours:return d.getHours();case Fn.Minutes:return d.getMinutes();case Fn.Seconds:return d.getSeconds();case Fn.FractionalSeconds:return d.getMilliseconds();case Fn.Day:return d.getDay();default:throw new Error(`Unknown DateType value "${_}".`)}}(_,be);if((C>0||Kt>-C)&&(Kt+=C),_===Fn.Hours)0===Kt&&-12===C&&(Kt=12);else if(_===Fn.FractionalSeconds)return function to(_,d){return wi(_,3).substring(0,d)}(Kt,d);const En=Ye(Ct,re.MinusSign);return wi(Kt,d,En,M,R)}}function An(_,d,C=Le.Format,M=!1){return function(R,be){return function Gi(_,d,C,M,R,be){switch(C){case ln.Months:return function gt(_,d,C){const M=(0,i.H5H)(_),be=lt([M[i.KH2.MonthsFormat],M[i.KH2.MonthsStandalone]],d);return lt(be,C)}(d,R,M)[_.getMonth()];case ln.Days:return function Xt(_,d,C){const M=(0,i.H5H)(_),be=lt([M[i.KH2.DaysFormat],M[i.KH2.DaysStandalone]],d);return lt(be,C)}(d,R,M)[_.getDay()];case ln.DayPeriods:const Ct=_.getHours(),Kt=_.getMinutes();if(be){const Bn=function We(_){const d=(0,i.H5H)(_);return un(d),(d[i.KH2.ExtraData][2]||[]).map(M=>"string"==typeof M?Vt(M):[Vt(M[0]),Vt(M[1])])}(d),Vn=function yt(_,d,C){const M=(0,i.H5H)(_);un(M);const be=lt([M[i.KH2.ExtraData][0],M[i.KH2.ExtraData][1]],d)||[];return lt(be,C)||[]}(d,R,M),Tn=Bn.findIndex(as=>{if(Array.isArray(as)){const[Bi,vs]=as,Zi=Ct>=Bi.hours&&Kt>=Bi.minutes,ni=Ct<vs.hours||Ct===vs.hours&&Kt<vs.minutes;if(Bi.hours<vs.hours){if(Zi&&ni)return!0}else if(Zi||ni)return!0}else if(as.hours===Ct&&as.minutes===Kt)return!0;return!1});if(-1!==Tn)return Vn[Tn]}return function ht(_,d,C){const M=(0,i.H5H)(_),be=lt([M[i.KH2.DayPeriodsFormat],M[i.KH2.DayPeriodsStandalone]],d);return lt(be,C)}(d,R,M)[Ct<12?0:1];case ln.Eras:return function gn(_,d){return lt((0,i.H5H)(_)[i.KH2.Eras],d)}(d,M)[_.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${C}`)}}(R,be,_,d,C,M)}}function Ri(_){return function(d,C,M){const R=-1*M,be=Ye(C,re.MinusSign),Ct=R>0?Math.floor(R/60):Math.ceil(R/60);switch(_){case vn.Short:return(R>=0?"+":"")+wi(Ct,2,be)+wi(Math.abs(R%60),2,be);case vn.ShortGMT:return"GMT"+(R>=0?"+":"")+wi(Ct,1,be);case vn.Long:return"GMT"+(R>=0?"+":"")+wi(Ct,2,be)+":"+wi(Math.abs(R%60),2,be);case vn.Extended:return 0===M?"Z":(R>=0?"+":"")+wi(Ct,2,be)+":"+wi(Math.abs(R%60),2,be);default:throw new Error(`Unknown zone width "${_}"`)}}}const Ni=0,sn=4;function ue(_){return Os(_.getFullYear(),_.getMonth(),_.getDate()+(sn-_.getDay()))}function et(_,d=!1){return function(C,M){let R;if(d){const be=new Date(C.getFullYear(),C.getMonth(),1).getDay()-1,Ct=C.getDate();R=1+Math.floor((Ct+be)/7)}else{const be=ue(C),Ct=function xi(_){const d=Os(_,Ni,1).getDay();return Os(_,0,1+(d<=sn?sn:sn+7)-d)}(be.getFullYear()),Kt=be.getTime()-Ct.getTime();R=1+Math.round(Kt/6048e5)}return wi(R,_,Ye(M,re.MinusSign))}}function st(_,d=!1){return function(C,M){return wi(ue(C).getFullYear(),_,Ye(M,re.MinusSign),d)}}const rt={};function Bt(_,d){_=_.replace(/:/g,"");const C=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(C)?d:C}function he(_){return _ instanceof Date&&!isNaN(_.valueOf())}const Re=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Rn(_){const d=parseInt(_);if(isNaN(d))throw new Error("Invalid integer literal when parsing "+_);return d}function Zs(_,d){d=encodeURIComponent(d);for(const C of _.split(";")){const M=C.indexOf("="),[R,be]=-1==M?[C,""]:[C.slice(0,M),C.slice(M+1)];if(R.trim()===d)return decodeURIComponent(be)}return null}const Gs=/\s+/,ri=[];let Mi=(()=>{class _{constructor(C,M,R,be){this._iterableDiffers=C,this._keyValueDiffers=M,this._ngEl=R,this._renderer=be,this.initialClasses=ri,this.stateMap=new Map}set klass(C){this.initialClasses=null!=C?C.trim().split(Gs):ri}set ngClass(C){this.rawClass="string"==typeof C?C.trim().split(Gs):C}ngDoCheck(){for(const M of this.initialClasses)this._updateState(M,!0);const C=this.rawClass;if(Array.isArray(C)||C instanceof Set)for(const M of C)this._updateState(M,!0);else if(null!=C)for(const M of Object.keys(C))this._updateState(M,!!C[M]);this._applyStateDiff()}_updateState(C,M){const R=this.stateMap.get(C);void 0!==R?(R.enabled!==M&&(R.changed=!0,R.enabled=M),R.touched=!0):this.stateMap.set(C,{enabled:M,changed:!0,touched:!0})}_applyStateDiff(){for(const C of this.stateMap){const M=C[0],R=C[1];R.changed?(this._toggleClass(M,R.enabled),R.changed=!1):R.touched||(R.enabled&&this._toggleClass(M,!1),this.stateMap.delete(M)),R.touched=!1}}_toggleClass(C,M){(C=C.trim()).length>0&&C.split(Gs).forEach(R=>{M?this._renderer.addClass(this._ngEl.nativeElement,R):this._renderer.removeClass(this._ngEl.nativeElement,R)})}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i._q3),i.rXU(i.MKu),i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return _})();class Si{constructor(d,C,M,R){this.$implicit=d,this.ngForOf=C,this.index=M,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let is=(()=>{class _{set ngForOf(C){this._ngForOf=C,this._ngForOfDirty=!0}set ngForTrackBy(C){this._trackByFn=C}get ngForTrackBy(){return this._trackByFn}constructor(C,M,R){this._viewContainer=C,this._template=M,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(C){C&&(this._template=C)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const C=this._ngForOf;!this._differ&&C&&(this._differ=this._differs.find(C).create(this.ngForTrackBy))}if(this._differ){const C=this._differ.diff(this._ngForOf);C&&this._applyChanges(C)}}_applyChanges(C){const M=this._viewContainer;C.forEachOperation((R,be,Ct)=>{if(null==R.previousIndex)M.createEmbeddedView(this._template,new Si(R.item,this._ngForOf,-1,-1),null===Ct?void 0:Ct);else if(null==Ct)M.remove(null===be?void 0:be);else if(null!==be){const Kt=M.get(be);M.move(Kt,Ct),Rs(Kt,R)}});for(let R=0,be=M.length;R<be;R++){const Kt=M.get(R).context;Kt.index=R,Kt.count=be,Kt.ngForOf=this._ngForOf}C.forEachIdentityChange(R=>{Rs(M.get(R.currentIndex),R)})}static ngTemplateContextGuard(C,M){return!0}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(i._q3))}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return _})();function Rs(_,d){_.context.$implicit=d.item}let Ws=(()=>{class _{constructor(C,M){this._viewContainer=C,this._context=new os,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=M}set ngIf(C){this._context.$implicit=this._context.ngIf=C,this._updateView()}set ngIfThen(C){Ps("ngIfThen",C),this._thenTemplateRef=C,this._thenView
1Ref=null,this._updateView()}set ngIfElse(C){Ps("ngIfElse",C),this._elseTemplateRef=C,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(C,M){return!0}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.c1b),i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return _})();class os{constructor(){this.$implicit=null,this.ngIf=null}}function Ps(_,d){if(d&&!d.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,i.Tbb)(d)}'.`)}class rs{constructor(d,C){this._viewContainerRef=d,this._templateRef=C,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(d){d&&!this._created?this.create():!d&&this._created&&this.destroy()}}let so=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(C){this._ngSwitch=C,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(C){this._defaultViews.push(C)}_matchCase(C){const M=C==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||M,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),M}_updateDefaultCases(C){if(this._defaultViews.length>0&&C!==this._defaultUsed){this._defaultUsed=C;for(const M of this._defaultViews)M.enforceState(C)}}static{this.\u0275fac=function(M){return new(M||_)}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return _})(),er=(()=>{class _{constructor(C,M,R){this.ngSwitch=R,R._addCase(),this._view=new rs(C,M)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.c1b),i.rXU(i.C4Q),i.rXU(so,9))}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return _})(),tr=(()=>{class _{constructor(C){this._viewContainerRef=C,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(C){if(C.ngTemplateOutlet||C.ngTemplateOutletInjector){const M=this._viewContainerRef;if(this._viewRef&&M.remove(M.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:R,ngTemplateOutletContext:be,ngTemplateOutletInjector:Ct}=this;this._viewRef=M.createEmbeddedView(R,be,Ct?{injector:Ct}:void 0)}else this._viewRef=null}else this._viewRef&&C.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.c1b))}}static{this.\u0275dir=i.FsC({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.OA$]})}}return _})();function zs(_,d){return new i.wOt(2100,!1)}class gr{createSubscription(d,C){return(0,i.O8t)(()=>d.subscribe({next:C,error:M=>{throw M}}))}dispose(d){(0,i.O8t)(()=>d.unsubscribe())}}class jr{createSubscription(d,C){return d.then(C,M=>{throw M})}dispose(d){}}const Po=new jr,Wo=new gr;let nr=(()=>{class _{constructor(C){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=C}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(C){return this._obj?C!==this._obj?(this._dispose(),this.transform(C)):this._latestValue:(C&&this._subscribe(C),this._latestValue)}_subscribe(C){this._obj=C,this._strategy=this._selectStrategy(C),this._subscription=this._strategy.createSubscription(C,M=>this._updateLatestValue(C,M))}_selectStrategy(C){if((0,i.jNT)(C))return Po;if((0,i.zjR)(C))return Wo;throw zs()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(C,M){C===this._obj&&(this._latestValue=M,this._ref.markForCheck())}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.gRc,16))}}static{this.\u0275pipe=i.EJ8({name:"async",type:_,pure:!1,standalone:!0})}}return _})();const zi=new i.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),Xi=new i.nKC("DATE_PIPE_DEFAULT_OPTIONS");let Ls=(()=>{class _{constructor(C,M,R){this.locale=C,this.defaultTimezone=M,this.defaultOptions=R}transform(C,M,R,be){if(null==C||""===C||C!=C)return null;try{return Oi(C,M??this.defaultOptions?.dateFormat??"mediumDate",be||this.locale,R??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ct){throw zs()}}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.xe9,16),i.rXU(zi,24),i.rXU(Xi,24))}}static{this.\u0275pipe=i.EJ8({name:"date",type:_,pure:!0,standalone:!0})}}return _})(),mr=(()=>{class _{constructor(C){this.differs=C,this.keyValues=[],this.compareFn=Ti}transform(C,M=Ti){if(!C||!(C instanceof Map)&&"object"!=typeof C)return null;this.differ||(this.differ=this.differs.find(C).create());const R=this.differ.diff(C),be=M!==this.compareFn;return R&&(this.keyValues=[],R.forEachItem(Ct=>{this.keyValues.push(function Vr(_,d){return{key:_,value:d}}(Ct.key,Ct.currentValue))})),(R||be)&&(this.keyValues.sort(M),this.compareFn=M),this.keyValues}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.MKu,16))}}static{this.\u0275pipe=i.EJ8({name:"keyvalue",type:_,pure:!1,standalone:!0})}}return _})();function Ti(_,d){const C=_.key,M=d.key;if(C===M)return 0;if(void 0===C)return 1;if(void 0===M)return-1;if(null===C)return 1;if(null===M)return-1;if("string"==typeof C&&"string"==typeof M)return C<M?-1:1;if("number"==typeof C&&"number"==typeof M)return C-M;if("boolean"==typeof C&&"boolean"==typeof M)return C<M?-1:1;const R=String(C),be=String(M);return R==be?0:R<be?-1:1}let on=(()=>{class _{constructor(C){this._locale=C}transform(C,M,R){if(!function Ss(_){return!(null==_||""===_||_!=_)}(C))return null;R=R||this._locale;try{return function Dt(_,d,C){return function at(_,d,C,M,R,be,Ct=!1){let Kt="",En=!1;if(isFinite(_)){let Bn=function Gt(_){let M,R,be,Ct,Kt,d=Math.abs(_)+"",C=0;for((R=d.indexOf("."))>-1&&(d=d.replace(".","")),(be=d.search(/e/i))>0?(R<0&&(R=be),R+=+d.slice(be+1),d=d.substring(0,be)):R<0&&(R=d.length),be=0;"0"===d.charAt(be);be++);if(be===(Kt=d.length))M=[0],R=1;else{for(Kt--;"0"===d.charAt(Kt);)Kt--;for(R-=be,M=[],Ct=0;be<=Kt;be++,Ct++)M[Ct]=Number(d.charAt(be))}return R>22&&(M=M.splice(0,21),C=R-1,R=1),{digits:M,exponent:C,integerLen:R}}(_);Ct&&(Bn=function qt(_){if(0===_.digits[0])return _;const d=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===d?_.digits.push(0,0):1===d&&_.digits.push(0),_.integerLen+=2),_}(Bn));let Vn=d.minInt,Tn=d.minFrac,as=d.maxFrac;if(be){const oo=be.match(Re);if(null===oo)throw new Error(`${be} is not a valid digit info`);const ys=oo[1],cr=oo[3],qr=oo[5];null!=ys&&(Vn=Rn(ys)),null!=cr&&(Tn=Rn(cr)),null!=qr?as=Rn(qr):null!=cr&&Tn>as&&(as=Tn)}!function wn(_,d,C){if(d>C)throw new Error(`The minimum number of digits after fraction (${d}) is higher than the maximum (${C}).`);let M=_.digits,R=M.length-_.integerLen;const be=Math.min(Math.max(d,R),C);let Ct=be+_.integerLen,Kt=M[Ct];if(Ct>0){M.splice(Math.max(_.integerLen,Ct));for(let Tn=Ct;Tn<M.length;Tn++)M[Tn]=0}else{R=Math.max(0,R),_.integerLen=1,M.length=Math.max(1,Ct=be+1),M[0]=0;for(let Tn=1;Tn<Ct;Tn++)M[Tn]=0}if(Kt>=5)if(Ct-1<0){for(let Tn=0;Tn>Ct;Tn--)M.unshift(0),_.integerLen++;M.unshift(1),_.integerLen++}else M[Ct-1]++;for(;R<Math.max(0,be);R++)M.push(0);let En=0!==be;const Bn=d+_.integerLen,Vn=M.reduceRight(function(Tn,as,Bi,vs){return vs[Bi]=(as+=Tn)<10?as:as-10,En&&(0===vs[Bi]&&Bi>=Bn?vs.pop():En=!1),as>=10?1:0},0);Vn&&(M.unshift(Vn),_.integerLen++)}(Bn,Tn,as);let Bi=Bn.digits,vs=Bn.integerLen;const Zi=Bn.exponent;let ni=[];for(En=Bi.every(oo=>!oo);vs<Vn;vs++)Bi.unshift(0);for(;vs<0;vs++)Bi.unshift(0);vs>0?ni=Bi.splice(vs,Bi.length):(ni=Bi,Bi=[0]);const Ks=[];for(Bi.length>=d.lgSize&&Ks.unshift(Bi.splice(-d.lgSize,Bi.length).join(""));Bi.length>d.gSize;)Ks.unshift(Bi.splice(-d.gSize,Bi.length).join(""));Bi.length&&Ks.unshift(Bi.join("")),Kt=Ks.join(Ye(C,M)),ni.length&&(Kt+=Ye(C,R)+ni.join("")),Zi&&(Kt+=Ye(C,re.Exponential)+"+"+Zi)}else Kt=Ye(C,re.Infinity);return Kt=_<0&&!En?d.negPre+Kt+d.negSuf:d.posPre+Kt+d.posSuf,Kt}(_,function Yt(_,d="-"){const C={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},M=_.split(";"),R=M[0],be=M[1],Ct=-1!==R.indexOf(".")?R.split("."):[R.substring(0,R.lastIndexOf("0")+1),R.substring(R.lastIndexOf("0")+1)],Kt=Ct[0],En=Ct[1]||"";C.posPre=Kt.substring(0,Kt.indexOf("#"));for(let Vn=0;Vn<En.length;Vn++){const Tn=En.charAt(Vn);"0"===Tn?C.minFrac=C.maxFrac=Vn+1:"#"===Tn?C.maxFrac=Vn+1:C.posSuf+=Tn}const Bn=Kt.split(",");if(C.gSize=Bn[1]?Bn[1].length:0,C.lgSize=Bn[2]||Bn[1]?(Bn[2]||Bn[1]).length:0,be){const Vn=R.length-C.posPre.length-C.posSuf.length,Tn=be.indexOf("#");C.negPre=be.substring(0,Tn).replace(/'/g,""),C.negSuf=be.slice(Tn+Vn).replace(/'/g,"")}else C.negPre=d+C.posPre,C.negSuf=C.posSuf;return C}(function Me(_,d){return(0,i.H5H)(_)[i.KH2.NumberFormats][d]}(d,ie.Decimal),Ye(d,re.MinusSign)),d,re.Group,re.Decimal,C)}(function fi(_){if("string"==typeof _&&!isNaN(Number(_)-parseFloat(_)))return Number(_);if("number"!=typeof _)throw new Error(`${_} is not a number`);return _}(C),R,M)}catch(be){throw zs()}}static{this.\u0275fac=function(M){return new(M||_)(i.rXU(i.xe9,16))}}static{this.\u0275pipe=i.EJ8({name:"number",type:_,pure:!0,standalone:!0})}}return _})();let Se=(()=>{class _{static{this.\u0275fac=function(M){return new(M||_)}}static{this.\u0275mod=i.$C({type:_})}static{this.\u0275inj=i.G2t({})}}return _})();const ce="browser",Oe="server";function Jt(_){return _===ce}function Mn(_){return _===Oe}let gi=(()=>{class _{static{this.\u0275prov=(0,i.jDH)({token:_,providedIn:"root",factory:()=>new ji((0,i.KVO)(Z),window)})}}return _})();
1class ji{constructor(d,C){this.document=d,this.window=C,this.offset=()=>[0,0]}setOffset(d){this.offset=Array.isArray(d)?()=>d:d}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(d){this.supportsScrolling()&&this.window.scrollTo(d[0],d[1])}scrollToAnchor(d){if(!this.supportsScrolling())return;const C=function Vi(_,d){const C=_.getElementById(d)||_.getElementsByName(d)[0];if(C)return C;if("function"==typeof _.createTreeWalker&&_.body&&"function"==typeof _.body.attachShadow){const M=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let R=M.currentNode;for(;R;){const be=R.shadowRoot;if(be){const Ct=be.getElementById(d)||be.querySelector(`[name="${d}"]`);if(Ct)return Ct}R=M.nextNode()}}return null}(this.document,d);C&&(this.scrollToElement(C),C.focus())}setHistoryScrollRestoration(d){this.supportsScrolling()&&(this.window.history.scrollRestoration=d)}scrollToElement(d){const C=d.getBoundingClientRect(),M=C.left+this.window.pageXOffset,R=C.top+this.window.pageYOffset,be=this.offset();this.window.scrollTo(M-be[0],R-be[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class uo{}},1626:(Ot,ke,w)=>{"use strict";w.d(ke,{Kd:()=>Te,Lr:()=>Be,Nl:()=>B,Qq:()=>ve,a7:()=>un,cS:()=>gt,hv:()=>mt,q1:()=>Re});var i=w(7705),e=w(7673),ee=w(2806),K=w(1985),ae=w(274),Z=w(5964),$=w(6354),z=w(980),le=w(5558),W=w(177);class ge{}class J{}class Be{constructor(Ue){this.normalizedNames=new Map,this.lazyUpdate=null,Ue?"string"==typeof Ue?this.lazyInit=()=>{this.headers=new Map,Ue.split("\n").forEach(Xe=>{const Dt=Xe.indexOf(":");if(Dt>0){const Yt=Xe.slice(0,Dt),qt=Yt.toLowerCase(),Gt=Xe.slice(Dt+1).trim();this.maybeSetNormalizedName(Yt,qt),this.headers.has(qt)?this.headers.get(qt).push(Gt):this.headers.set(qt,[Gt])}})}:typeof Headers<"u"&&Ue instanceof Headers?(this.headers=new Map,Ue.forEach((Xe,Dt)=>{this.setHeaderEntries(Dt,Xe)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ue).forEach(([Xe,Dt])=>{this.setHeaderEntries(Xe,Dt)})}:this.headers=new Map}has(Ue){return this.init(),this.headers.has(Ue.toLowerCase())}get(Ue){this.init();const Xe=this.headers.get(Ue.toLowerCase());return Xe&&Xe.length>0?Xe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ue){return this.init(),this.headers.get(Ue.toLowerCase())||null}append(Ue,Xe){return this.clone({name:Ue,value:Xe,op:"a"})}set(Ue,Xe){return this.clone({name:Ue,value:Xe,op:"s"})}delete(Ue,Xe){return this.clone({name:Ue,value:Xe,op:"d"})}maybeSetNormalizedName(Ue,Xe){this.normalizedNames.has(Xe)||this.normalizedNames.set(Xe,Ue)}init(){this.lazyInit&&(this.lazyInit instanceof Be?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ue=>this.applyUpdate(Ue)),this.lazyUpdate=null))}copyFrom(Ue){Ue.init(),Array.from(Ue.headers.keys()).forEach(Xe=>{this.headers.set(Xe,Ue.headers.get(Xe)),this.normalizedNames.set(Xe,Ue.normalizedNames.get(Xe))})}clone(Ue){const Xe=new Be;return Xe.lazyInit=this.lazyInit&&this.lazyInit instanceof Be?this.lazyInit:this,Xe.lazyUpdate=(this.lazyUpdate||[]).concat([Ue]),Xe}applyUpdate(Ue){const Xe=Ue.name.toLowerCase();switch(Ue.op){case"a":case"s":let Dt=Ue.value;if("string"==typeof Dt&&(Dt=[Dt]),0===Dt.length)return;this.maybeSetNormalizedName(Ue.name,Xe);const Yt=("a"===Ue.op?this.headers.get(Xe):void 0)||[];Yt.push(...Dt),this.headers.set(Xe,Yt);break;case"d":const qt=Ue.value;if(qt){let Gt=this.headers.get(Xe);if(!Gt)return;Gt=Gt.filter(wn=>-1===qt.indexOf(wn)),0===Gt.length?(this.headers.delete(Xe),this.normalizedNames.delete(Xe)):this.headers.set(Xe,Gt)}else this.headers.delete(Xe),this.normalizedNames.delete(Xe)}}setHeaderEntries(Ue,Xe){const Dt=(Array.isArray(Xe)?Xe:[Xe]).map(qt=>qt.toString()),Yt=Ue.toLowerCase();this.headers.set(Yt,Dt),this.maybeSetNormalizedName(Ue,Yt)}forEach(Ue){this.init(),Array.from(this.normalizedNames.keys()).forEach(Xe=>Ue(this.normalizedNames.get(Xe),this.headers.get(Xe)))}}class ze{encodeKey(Ue){return it(Ue)}encodeValue(Ue){return it(Ue)}decodeKey(Ue){return decodeURIComponent(Ue)}decodeValue(Ue){return decodeURIComponent(Ue)}}const Fe=/%(\d[a-f0-9])/gi,$e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function it(at){return encodeURIComponent(at).replace(Fe,(Ue,Xe)=>$e[Xe]??Ue)}function _e(at){return`${at}`}class B{constructor(Ue={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Ue.encoder||new ze,Ue.fromString){if(Ue.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function xe(at,Ue){const Xe=new Map;return at.length>0&&at.replace(/^\?/,"").split("&").forEach(Yt=>{const qt=Yt.indexOf("="),[Gt,wn]=-1==qt?[Ue.decodeKey(Yt),""]:[Ue.decodeKey(Yt.slice(0,qt)),Ue.decodeValue(Yt.slice(qt+1))],Rn=Xe.get(Gt)||[];Rn.push(wn),Xe.set(Gt,Rn)}),Xe}(Ue.fromString,this.encoder)}else Ue.fromObject?(this.map=new Map,Object.keys(Ue.fromObject).forEach(Xe=>{const Dt=Ue.fromObject[Xe],Yt=Array.isArray(Dt)?Dt.map(_e):[_e(Dt)];this.map.set(Xe,Yt)})):this.map=null}has(Ue){return this.init(),this.map.has(Ue)}get(Ue){this.init();const Xe=this.map.get(Ue);return Xe?Xe[0]:null}getAll(Ue){return this.init(),this.map.get(Ue)||null}
vendor: 4,147 bytes, line 1
1keys(){return this.init(),Array.from(this.map.keys())}append(Ue,Xe){return this.clone({param:Ue,value:Xe,op:"a"})}appendAll(Ue){const Xe=[];return Object.keys(Ue).forEach(Dt=>{const Yt=Ue[Dt];Array.isArray(Yt)?Yt.forEach(qt=>{Xe.push({param:Dt,value:qt,op:"a"})}):Xe.push({param:Dt,value:Yt,op:"a"})}),this.clone(Xe)}set(Ue,Xe){return this.clone({param:Ue,value:Xe,op:"s"})}delete(Ue,Xe){return this.clone({param:Ue,value:Xe,op:"d"})}toString(){return this.init(),this.keys().map(Ue=>{const Xe=this.encoder.encodeKey(Ue);return this.map.get(Ue).map(Dt=>Xe+"="+this.encoder.encodeValue(Dt)).join("&")}).filter(Ue=>""!==Ue).join("&")}clone(Ue){const Xe=new B({encoder:this.encoder});return Xe.cloneFrom=this.cloneFrom||this,Xe.updates=(this.updates||[]).concat(Ue),Xe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ue=>this.map.set(Ue,this.cloneFrom.map.get(Ue))),this.updates.forEach(Ue=>{switch(Ue.op){case"a":case"s":const Xe=("a"===Ue.op?this.map.get(Ue.param):void 0)||[];Xe.push(_e(Ue.value)),this.map.set(Ue.param,Xe);break;case"d":if(void 0===Ue.value){this.map.delete(Ue.param);break}{let Dt=this.map.get(Ue.param)||[];const Yt=Dt.indexOf(_e(Ue.value));-1!==Yt&&Dt.splice(Yt,1),Dt.length>0?this.map.set(Ue.param,Dt):this.map.delete(Ue.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(Ue,Xe){return this.map.set(Ue,Xe),this}get(Ue){return this.map.has(Ue)||this.map.set(Ue,Ue.defaultValue()),this.map.get(Ue)}delete(Ue){return this.map.delete(Ue),this}has(Ue){return this.map.has(Ue)}keys(){return this.map.keys()}}function Le(at){return typeof ArrayBuffer<"u"&&at instanceof ArrayBuffer}function _t(at){return typeof Blob<"u"&&at instanceof Blob}function Pt(at){return typeof FormData<"u"&&at instanceof FormData}class Te{constructor(Ue,Xe,Dt,Yt){let qt;if(this.url=Xe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Ue.toUpperCase(),function fe(at){switch(at){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Yt?(this.body=void 0!==Dt?Dt:null,qt=Yt):qt=Dt,qt&&(this.reportProgress=!!qt.reportProgress,this.withCredentials=!!qt.withCredentials,qt.responseType&&(this.responseType=qt.responseType),qt.headers&&(this.headers=qt.headers),qt.context&&(this.context=qt.context),qt.params&&(this.params=qt.params)),this.headers||(this.headers=new Be),this.context||(this.context=new ie),this.params){const Gt=this.params.toString();if(0===Gt.length)this.urlWithParams=Xe;else{const wn=Xe.indexOf("?");this.urlWithParams=Xe+(-1===wn?"?":wn<Xe.length-1?"&":"")+Gt}}else this.params=new B,this.urlWithParams=Xe}serializeBody(){return null===this.body?null:Le(this.body)||_t(this.body)||Pt(this.body)||function re(at){return typeof URLSearchParams<"u"&&at instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof B?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||Pt(this.body)?null:_t(this.body)?this.body.type||null:Le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof B?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Ue={}){const Xe=Ue.method||this.method,Dt=Ue.url||this.url,Yt=Ue.responseType||this.responseType,qt=void 0!==Ue.body?Ue.body:this.body,Gt=void 0!==Ue.withCredentials?Ue.withCredentials:this.withCredentials,wn=void 0!==Ue.reportProgress?Ue.reportProgress:this.reportProgress;let Rn=Ue.headers||this.headers,Ii=Ue.params||this.params;const Ji=Ue.context??this.context;return void 0!==Ue.setHeaders&&(Rn=Object.keys(Ue.setHeaders).reduce((Ui,hi)=>Ui.set(hi,Ue.setHeaders[hi]),Rn)),Ue.setParams&&(Ii=Object.keys(Ue.setParams).reduce((Ui,hi)=>Ui.set(hi,Ue.setParams[hi]),Ii)),new Te(Xe,Dt,qt,{params:Ii,headers:Rn,context:Ji,reportProgress:wn,responseType:Yt,withCredentials:Gt})}}
1var mt=function(at){return at[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at}(mt||{});class ht{constructor(Ue,Xe=200,Dt="OK"){this.headers=Ue.headers||new Be,this.status=void 0!==Ue.status?Ue.status:Xe,this.statusText=Ue.statusText||Dt,this.url=Ue.url||null,this.ok=this.status>=200&&this.status<300}}class Xt extends ht{constructor(Ue={}){super(Ue),this.type=mt.ResponseHeader}clone(Ue={}){return new Xt({headers:Ue.headers||this.headers,status:void 0!==Ue.status?Ue.status:this.status,statusText:Ue.statusText||this.statusText,url:Ue.url||this.url||void 0})}}class gt extends ht{constructor(Ue={}){super(Ue),this.type=mt.Response,this.body=void 0!==Ue.body?Ue.body:null}clone(Ue={}){return new gt({body:void 0!==Ue.body?Ue.body:this.body,headers:Ue.headers||this.headers,status:void 0!==Ue.status?Ue.status:this.status,statusText:Ue.statusText||this.statusText,url:Ue.url||this.url||void 0})}}class gn extends ht{constructor(Ue){super(Ue,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ue.url||"(unknown url)"}`:`Http failure response for ${Ue.url||"(unknown url)"}: ${Ue.status} ${Ue.statusText}`,this.error=Ue.error||null}}function Je(at,Ue){return{body:Ue,headers:at.headers,context:at.context,observe:at.observe,params:at.params,reportProgress:at.reportProgress,responseType:at.responseType,withCredentials:at.withCredentials}}let ve=(()=>{class at{constructor(Xe){this.handler=Xe}request(Xe,Dt,Yt={}){let qt;if(Xe instanceof Te)qt=Xe;else{let Rn,Ii;Rn=Yt.headers instanceof Be?Yt.headers:new Be(Yt.headers),Yt.params&&(Ii=Yt.params instanceof B?Yt.params:new B({fromObject:Yt.params})),qt=new Te(Xe,Dt,void 0!==Yt.body?Yt.body:null,{headers:Rn,context:Yt.context,params:Ii,reportProgress:Yt.reportProgress,responseType:Yt.responseType||"json",withCredentials:Yt.withCredentials})}const Gt=(0,e.of)(qt).pipe((0,ae.H)(Rn=>this.handler.handle(Rn)));if(Xe instanceof Te||"events"===Yt.observe)return Gt;const wn=Gt.pipe((0,Z.p)(Rn=>Rn instanceof gt));switch(Yt.observe||"body"){case"body":switch(qt.responseType){case"arraybuffer":return wn.pipe((0,$.T)(Rn=>{if(null!==Rn.body&&!(Rn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Rn.body}));case"blob":return wn.pipe((0,$.T)(Rn=>{if(null!==Rn.body&&!(Rn.body instanceof Blob))throw new Error("Response is not a Blob.");return Rn.body}));case"text":return wn.pipe((0,$.T)(Rn=>{if(null!==Rn.body&&"string"!=typeof Rn.body)throw new Error("Response is not a string.");return Rn.body}));default:return wn.pipe((0,$.T)(Rn=>Rn.body))}case"response":return wn;default:throw new Error(`Unreachable: unhandled observe type ${Yt.observe}}`)}}delete(Xe,Dt={}){return this.request("DELETE",Xe,Dt)}get(Xe,Dt={}){return this.request("GET",Xe,Dt)}head(Xe,Dt={}){return this.request("HEAD",Xe,Dt)}jsonp(Xe,Dt){return this.request("JSONP",Xe,{params:(new B).append(Dt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Xe,Dt={}){return this.request("OPTIONS",Xe,Dt)}patch(Xe,Dt,Yt={}){return this.request("PATCH",Xe,Je(Yt,Dt))}post(Xe,Dt,Yt={}){return this.request("POST",Xe,Je(Yt,Dt))}put(Xe,Dt,Yt={}){return this.request("PUT",Xe,Je(Yt,Dt))}static{this.\u0275fac=function(Dt){return new(Dt||at)(i.KVO(ge))}}static{this.\u0275prov=i.jDH({token:at,factory:at.\u0275fac})}}return at})();function zt(at,Ue){return Ue(at)}function ut(at,Ue){return(Xe,Dt)=>Ue.intercept(Xe,{handle:Yt=>at(Yt,Dt)})}const un=new i.nKC(""),We=new i.nKC(""),yt=new i.nKC("");function nt(){let at=null;return(Ue,Xe)=>{null===at&&(at=((0,i.WQX)(un,{optional:!0})??[]).reduceRight(ut,zt));const Dt=(0,i.WQX)(i.$K3),Yt=Dt.add();return at(Ue,Xe).pipe((0,z.j)(()=>Dt.remove(Yt)))}}let lt=(()=>{class at extends ge{constructor(Xe,Dt){super(),this.backend=Xe,this.injector=Dt,this.chain=null,this.pendingTasks=(0,i.WQX)(i.$K3)}handle(Xe){if(null===this.chain){const Yt=Array.from(new Set([...this.injector.get(We),...this.injector.get(yt,[])]));this.chain=Yt.reduceRight((qt,Gt)=>function nn(at,Ue,Xe){return(Dt,Yt)=>Xe.runInContext(()=>Ue(Dt,qt=>at(qt,Yt)))}(qt,Gt,this.injector),zt)}const Dt=this.pendingTasks.add();return this.chain(Xe,Yt=>this.backend.handle(Yt)).pipe((0,z.j)(()=>this.pendingTasks.remove(Dt)))}static{this.\u0275fac=function(Dt){return new(Dt||at)(i.KVO(J),i.KVO(i.uvJ))}}static{this.\u0275prov=i.jDH({token:at,factory:at.\u0275fac})}}return at})();const Os=/^\)\]\}',?\n/;let hn=(()=>{class at{constructor(Xe){this.xhrFactory=Xe}handle(Xe){if("JSONP"===Xe.method)throw new i.wOt(-2800,!1);const Dt=this.xhrFactory;return(Dt.\u0275loadImpl?(0,ee.H)(Dt.\u0275loadImpl()):(0,e.of)(null)).pipe((0,le.n)(()=>new K.c(qt=>{const Gt=Dt.build();if(Gt.open(Xe.method,Xe.urlWithParams),Xe.withCredentials&&(Gt.withCredentials=!0),Xe.headers.forEac
1h((ri,Mi)=>Gt.setRequestHeader(ri,Mi.join(","))),Xe.headers.has("Accept")||Gt.setRequestHeader("Accept","application/json, text/plain, */*"),!Xe.headers.has("Content-Type")){const ri=Xe.detectContentTypeHeader();null!==ri&&Gt.setRequestHeader("Content-Type",ri)}if(Xe.responseType){const ri=Xe.responseType.toLowerCase();Gt.responseType="json"!==ri?ri:"text"}const wn=Xe.serializeBody();let Rn=null;const Ii=()=>{if(null!==Rn)return Rn;const ri=Gt.statusText||"OK",Mi=new Be(Gt.getAllResponseHeaders()),xs=function Pi(at){return"responseURL"in at&&at.responseURL?at.responseURL:/^X-Request-URL:/m.test(at.getAllResponseHeaders())?at.getResponseHeader("X-Request-URL"):null}(Gt)||Xe.url;return Rn=new Xt({headers:Mi,status:Gt.status,statusText:ri,url:xs}),Rn},Ji=()=>{let{headers:ri,status:Mi,statusText:xs,url:wo}=Ii(),Si=null;204!==Mi&&(Si=typeof Gt.response>"u"?Gt.responseText:Gt.response),0===Mi&&(Mi=Si?200:0);let is=Mi>=200&&Mi<300;if("json"===Xe.responseType&&"string"==typeof Si){const Rs=Si;Si=Si.replace(Os,"");try{Si=""!==Si?JSON.parse(Si):null}catch(ss){Si=Rs,is&&(is=!1,Si={error:ss,text:Si})}}is?(qt.next(new gt({body:Si,headers:ri,status:Mi,statusText:xs,url:wo||void 0})),qt.complete()):qt.error(new gn({error:Si,headers:ri,status:Mi,statusText:xs,url:wo||void 0}))},Ui=ri=>{const{url:Mi}=Ii(),xs=new gn({error:ri,status:Gt.status||0,statusText:Gt.statusText||"Unknown Error",url:Mi||void 0});qt.error(xs)};let hi=!1;const Zs=ri=>{hi||(qt.next(Ii()),hi=!0);let Mi={type:mt.DownloadProgress,loaded:ri.loaded};ri.lengthComputable&&(Mi.total=ri.total),"text"===Xe.responseType&&Gt.responseText&&(Mi.partialText=Gt.responseText),qt.next(Mi)},Gs=ri=>{let Mi={type:mt.UploadProgress,loaded:ri.loaded};ri.lengthComputable&&(Mi.total=ri.total),qt.next(Mi)};return Gt.addEventListener("load",Ji),Gt.addEventListener("error",Ui),Gt.addEventListener("timeout",Ui),Gt.addEventListener("abort",Ui),Xe.reportProgress&&(Gt.addEventListener("progress",Zs),null!==wn&&Gt.upload&&Gt.upload.addEventListener("progress",Gs)),Gt.send(wn),qt.next({type:mt.Sent}),()=>{Gt.removeEventListener("error",Ui),Gt.removeEventListener("abort",Ui),Gt.removeEventListener("load",Ji),Gt.removeEventListener("timeout",Ui),Xe.reportProgress&&(Gt.removeEventListener("progress",Zs),null!==wn&&Gt.upload&&Gt.upload.removeEventListener("progress",Gs)),Gt.readyState!==Gt.DONE&&Gt.abort()}})))}static{this.\u0275fac=function(Dt){return new(Dt||at)(i.KVO(W.N0))}}static{this.\u0275prov=i.jDH({token:at,factory:at.\u0275fac})}}return at})();const wi=new i.nKC("XSRF_ENABLED"),Kn=new i.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),An=new i.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Gi{}let Ri=(()=>{class at{constructor(Xe,Dt,Yt){this.doc=Xe,this.platform=Dt,this.cookieName=Yt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Xe=this.doc.cookie||"";return Xe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W._b)(Xe,this.cookieName),this.lastCookieString=Xe),this.lastToken}static{this.\u0275fac=function(Dt){return new(Dt||at)(i.KVO(W.qQ),i.KVO(i.Agw),i.KVO(Kn))}}static{this.\u0275prov=i.jDH({token:at,factory:at.\u0275fac})}}return at})();function Ni(at,Ue){const Xe=at.url.toLowerCase();if(!(0,i.WQX)(wi)||"GET"===at.method||"HEAD"===at.method||Xe.startsWith("http://")||Xe.startsWith("https://"))return Ue(at);const Dt=(0,i.WQX)(Gi).getToken(),Yt=(0,i.WQX)(An);return null!=Dt&&!at.headers.has(Yt)&&(at=at.clone({headers:at.headers.set(Yt,Dt)})),Ue(at)}var xi=function(at){return at[at.Interceptors=0]="Interceptors",at[at.LegacyInterceptors=1]="LegacyInterceptors",at[at.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",at[at.NoXsrfProtection=3]="NoXsrfProtection",at[at.JsonpSupport=4]="JsonpSupport",at[at.RequestsMadeViaParent=5]="RequestsMadeViaParent",at[at.Fetch=6]="Fetch",at}(xi||{});function ue(at,Ue){return{\u0275kind:at,\u0275providers:Ue}}function et(...at){const Ue=[ve,hn,lt,{provide:ge,useExisting:lt},{provide:J,useExisting:hn},{provide:We,useValue:Ni,multi:!0},{provide:wi,useValue:!0},{provide:Gi,useClass:Ri}];for(const Xe of at)Ue.push(...Xe.\u0275providers);return(0,i.EmA)(Ue)}const rt=new i.nKC("LEGACY_INTERCEPTOR_FN");let Re=(()=>{class at{static{this.\u0275fac=function(Dt){return new(Dt||at)}}static{this.\u0275mod=i.$C({type:at})}static{this.\u0275inj=i.G2t({providers:[et(ue(xi.LegacyInterceptors,[{provide:rt,useFactory:nt},{provide:We,useExisting:rt,multi:!0}]))]})}}return at})()},7705:(Ot,ke,w)=>{"use strict";w.d(ke,{$C:()=>nr,$GK:()=>vn,$K3:()=>Vy,$MX:()=>zd,AVh:()=>T_,Af3:()=>gd,Agw:()=>hh,B4B:()=>Ec,BIS:()=>pd,BMQ:()=>f_,C4Q:()=>Ng,C5r:()=>yy,Co$:()=>A0,DNE:()=>tv,EBC:()=>ua,EFF:()=>jv,EJ8:()=>no,EmA:()=>rh,FS9:()=>k_,FsC:()=>co,G2t:()=>yt,GBs:()=>fy,GFd:()=>UC,H3F:()=>jy,H5H:()=>N_,H8p:()=>lh,HJs:()=>BP,HbH:()=>Tv,Hbi:()=>DP,JRh:()=>F_,JZv:()=>hn,Jv_:()=>F0,KH2:()=>Cf,KVO:()=>Ht,Kcf:()=>zg,L39:()=>jP,LfX:()=>lt,Lme:()=>A_,MKu:()=>mC,Mz_:()=>Sm,NAR:()=>fv,NEm:()=>nP,NYb:()=>qw,Njj:()=>vo,O8t:()=>R,OA$:()=>Vn,OM3:()=>ao,Ocv:()=>xw,Ol2:()=>N0,PLl:()=>Wp,QTQ:()=>pm,Ql9:()=>Iw,QuC:()=>Ls,R7$:()=>um,RV6:()=>av,Rfq:()=>ze,RxE:()=>Dh,SKi:()=>Es,SdG:()=>gv,SmG:()=>uP,SpI:()=>Fm,TL$:()=>Wg,Tbb:()=>J,UyX:()=>Wd,VBU:()=>gr,Vns:()=>Nh,Vt3:()=>h_,WHO:()=>Hy,WPN:()=>Rl,WQX:()=>pn,XpG:()=>pv,Xx1:()=>dn,Y8G:()=>y_,Z63:()=>ud,ZF7:()=>Pc,ZvI:()=>zv,_9s:()=>pu,_q3:()=>gC,aKT:()=>_l,aNF:()=>L0,abz:()=>cn,bIt:()=>P_,bMT:()=>Z0,bVm:()=>xm,bc$:()=>zp,bkB:()=>ps,brH:()=>ty,c1b:()=>Bm,cWb:()=>Rp,czy:()=>Ld,duS:()=>sh,e01:()=>Yy,e5t:()=>kc,eBV:()=>ol,eq3:()=>G0,eu8:()=>O_,fpN:()=>kP,gRc:()=>hP,gXe:()=>qt,giA:()=>Gy,h9k:()=>eu,hnV:()=>Ly,i5U:()=>ey,iLQ:()=>cC,j41:()=>km,jDH:()=>un,jNT:()=>w_,k0s:()=>Dm,kS0:()=>wd,kdw:()=>Ma,lJ4:()=>Y0,lNU:()=>_e,l_i:()=>W0,lsd:()=>my,mGM:()=>py,mq5:()=>o0,n$t:()=>ou,nI1:()=>q0,nKC:()=>us,naY:()=>dP,npT:()=>ih,nrm:()=>b_,o8S:()=>bf,oH4:()=>Ky,osQ:()=>cd,plB:()=>Z_,qSk:()=>na,qex:()=>Em,rXU:()=>gu,rcV:()=>pl,sFG:()=>kh,sZ2:()=>Gp,sdS:()=>sv,tSv:()=>Yo,uvJ:()=>qa,w6W:()=>vO,wOt:()=>B,wni:()=>gy,xGo:()=>Us,xc7:()=>S_,xe9:()=>Um,zZn:()=>we,zcH:()=>Ut,zjR:()=>lv,zvX:()=>R_});var i=w(1413),e=w(8359),ee=w(1985),K=w(7786),ae=w(4412),Z=w(7673),$=w(7647),z=w(5558),le=w(3294);function W(t){for(let n in t)if(t[n]===W)return n;throw Error("Could not find renamed property on target object.")}function ge(t,n){for(const o in n)n.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&(t[o]=n[o])}function J(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(J).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const o=n.indexOf("\n");return-1===o?n:n.substring(0,o)}function Be(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const pe=W({__forward_ref__:W});function ze(t){return t.__forward_ref__=ze,t.toString=function(){return J(this())},t}function xe(t){return Fe(t)?t():t}function Fe(t){return"function"==typeof t&&t.hasOwnProperty(pe)&&t.__forward_ref__===ze}function $e(t){return t&&!!t.\u0275providers}const _e="https://g.co/ng/security#xss";
vendor: 30,733 bytes, line 1
1class B extends Error{constructor(n,o){super(function H(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,o)),this.code=n}}function ie(t){return"string"==typeof t?t:null==t?"":String(t)}function re(t,n){throw new B(-201,!1)}function Ie(t,n){null==t&&function Ge(t,n,o,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${o} ${r} ${n} <=Actual]`))}(n,t,null,"!=")}function un(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return{providers:t.providers||[],imports:t.imports||[]}}function nt(t){return Vt(t,Ei)||Vt(t,li)}function lt(t){return null!==nt(t)}function Vt(t,n){return t.hasOwnProperty(n)?t[n]:null}function Gn(t){return t&&(t.hasOwnProperty(bs)||t.hasOwnProperty(pi))?t[bs]:null}const Ei=W({\u0275prov:W}),bs=W({\u0275inj:W}),li=W({ngInjectableDef:W}),pi=W({ngInjectorDef:W});var vn=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(vn||{});let Fn;function ln(){return Fn}function Oi(t){const n=Fn;return Fn=t,n}function Os(t,n,o){const r=nt(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:o&vn.Optional?null:void 0!==n?n:void re(J(t))}const hn=globalThis,rt={},Tt="__NG_DI_FLAG__",Bt="ngTempTokenPath",Qt=/\n/gm,Qe="__source";let he;function pt(t){const n=he;return he=t,n}function At(t,n=vn.Default){if(void 0===he)throw new B(-203,!1);return null===he?Os(t,void 0,n):he.get(t,n&vn.Optional?null:void 0,n)}function Ht(t,n=vn.Default){return(ln()||At)(xe(t),n)}function pn(t,n=vn.Default){return Ht(t,Sn(n))}function Sn(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Wi(t){const n=[];for(let o=0;o<t.length;o++){const r=xe(t[o]);if(Array.isArray(r)){if(0===r.length)throw new B(900,!1);let l,g=vn.Default;for(let v=0;v<r.length;v++){const k=r[v],S=at(k);"number"==typeof S?-1===S?l=k.token:g|=S:l=k}n.push(Ht(l,g))}else n.push(Ht(r))}return n}function As(t,n){return t[Tt]=n,t.prototype[Tt]=n,t}function at(t){return t[Tt]}function Dt(t){return{toString:t}.toString()}var Yt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Yt||{}),qt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(qt||{});const Gt={},wn=[],Rn=W({\u0275cmp:W}),Ii=W({\u0275dir:W}),Ji=W({\u0275pipe:W}),Ui=W({\u0275mod:W}),hi=W({\u0275fac:W}),Zs=W({__NG_ELEMENT_ID__:W}),Gs=W({__NG_ENV_ID__:W});function ri(t,n,o){let r=t.length;for(;;){const l=t.indexOf(n,o);if(-1===l)return l;if(0===l||t.charCodeAt(l-1)<=32){const g=n.length;if(l+g===r||t.charCodeAt(l+g)<=32)return l}o=l+1}}function Mi(t,n,o){let r=0;for(;r<o.length;){const l=o[r];if("number"==typeof l){if(0!==l)break;r++;const g=o[r++],v=o[r++],k=o[r++];t.setAttribute(n,v,k,g)}else{const g=l,v=o[++r];wo(g)?t.setProperty(n,g,v):t.setAttribute(n,g,v),r++}}return r}function xs(t){return 3===t||4===t||6===t}function wo(t){return 64===t.charCodeAt(0)}function Si(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let o=-1;for(let r=0;r<n.length;r++){const l=n[r];"number"==typeof l?o=l:0===o||is(t,o,l,null,-1===o||2===o?n[++r]:null)}}return t}function is(t,n,o,r,l){let g=0,v=t.length;if(-1===n)v=-1;else for(;g<t.length;){const k=t[g++];if("number"==typeof k){if(k===n){v=-1;break}if(k>n){v=g-1;break}}}for(;g<t.length;){const k=t[g];if("number"==typeof k)break;if(k===o){if(null===r)return void(null!==l&&(t[g+1]=l));if(r===t[g+1])return void(t[g+2]=l)}g++,null!==r&&g++,null!==l&&g++}-1!==v&&(t.splice(v,0,n),g=v+1),t.splice(g++,0,o),null!==r&&t.splice(g++,0,r),null!==l&&t.splice(g++,0,l)}const Rs="ng-template";function ss(t,n,o){let r=0,l=!0;for(;r<t.length;){let g=t[r++];if("string"==typeof g&&l){const v=t[r++];if(o&&"class"===g&&-1!==ri(v.toLowerCase(),n,0))return!0}else{if(1===g){for(;r<t.length&&"string"==typeof(g=t[r++]);)if(g.toLowerCase()===n)return!0;return!1}"number"==typeof g&&(l=!1)}}return!1}function Ws(t){return 4===t.type&&t.value!==Rs}function os(t,n,o){return n===(4!==t.type||o?t.value:Rs)}function Ps(t,n,o){let r=4;const l=t.attrs||[],g=function Xr(t){for(let n=0;n<t.length;n++)if(xs(t[n]))return n;return t.length}(l);let v=!1;for(let k=0;k<n.length;k++){const S=n[k];if("number"!=typeof S){if(!v)if(4&r){if(r=2|1&r,""!==S&&!os(t,S,o)||""===S&&1===n.length){if(rs(r))return!1;v=!0}}else{const L=8&r?S:n[++k];if(8&r&&null!==t.attrs){if(!ss(t.attrs,L,o)){if(rs(r))return!1;v=!0}continue}const Pe=so(8&r?"class":S,l,Ws(t),o);if(-1===Pe){if(rs(r))return!1;v=!0;continue}if(""!==L){let tt;tt=Pe>g?"":l[Pe+1].toLowerCase();const dt=8&r?tt:null;if(dt&&-1!==ri(dt,L,0)||2&r&&L!==tt){if(rs(r))return!1;v=!0}}}}else{if(!v&&!rs(r)&&!rs(S))return!1;if(v&&rs(S))continue;v=!1,r=S|1&r}}return rs(r)||v}function rs(t){return 0==(1&t)}function so(t,n,o,r){if(null===n)return-1;let l=0;if(r||!o){let g=!1;for(;l<n.length;){const v=n[l];if(v===t)return l;if(3===v||6===v)g=!0;else{if(1===v||2===v){let k=n[++l];for(;"string"==typeof k;)k=n[++l];continue}if(4===v)break;if(0===v){l+=4;continue}}l+=g?1:2}return-1}return function Ro(t,n){let o=t.indexOf(4);if(o>-1)for(o++;o<t.length;){const r=t[o];if("number"==typeof r)return-1;if(r===n)return o;o++}return-1}(n,t)}function er(t,n,o=!1){for(let r=0;r<n.length;r++)if(Ps(t,n[r],o))return!0;return!1}function No(t,n){e:for(let o=0;o<n.length;o++){const r=n[o];if(t.length===r.length){for(let l=0;l<t.length;l++)if(t[l]!==r[l])continue e;return!0}}return!1}function Ns(t,n){return t?":not("+n.trim()+")":n}function tr(t){let n=t[0],o=1,r=2,l="",g=!1;for(;o<t.length;){let v=t[o];if("string"==typeof v)if(2&r){const k=t[++o];l+="["+v+(k.length>0?'="'+k+'"':"")+"]"}else 8&r?l+="."+v:4&r&&(l+=" "+v);else""!==l&&!rs(v)&&(n+=Ns(g,l),l=""),r=v,g=g||!rs(r);o++}return""!==l&&(n+=Ns(g,l)),n}function gr(t){return Dt(()=>{const n=Lo(t),o={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Yt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||wn,_:null,schemas:t.schemas||null,tView:null,id:""};fa(o);const r=t.dependencies;return o.directiveDefs=gs(r,!1),o.pipeDefs=gs(r,!0),o.id=function mr(t){let n=0;const o=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const l of o)n=Math.imul(31,n)+l.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(o),o})}function Po(t){return ti(t)||zi(t)}function Wo(t){return null!==t}function nr(t){return Dt(()=>({type:t.type,bootstrap:t.bootstrap||wn,declarations:t.declarations||wn,imports:t.imports||wn,exports:t.exports||wn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function lo(t,n){if(null==t)return Gt;const o={};for(const r in t)if(t.hasOwnProperty(r)){let l=t[r],g=l;Array.isArray(l)&&(g=l[1],l=l[0]),o[l]=r,n&&(n[l]=g)}return o}function co(t){return Dt(()=>{const n=Lo(t);return fa(n),n})}function no(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ti(t){return t[Rn]||null}function zi(t){return t[Ii]||null}function Xi(t){return t[Ji]||null}function Ls(t){const n=ti(t)||zi(t)||Xi(t);return null!==n&&n.standalone}function Xs(t,n){const o=t[Ui]||null;if(!o&&!0===n)throw new Error(`Type ${J(t)} does not have '\u0275mod' property.`);return o}function Lo(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||Gt,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||wn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:lo(t.inputs,n),outputs:lo(t.outputs)}}function fa(t){t.features?.forEach(n=>n(t))}function gs(t,n){if(!t)return null;const o=n?Xi:Po;return()=>("function"==typeof t?t():t).map(r=>o(r)).filter(Wo)}const Ti=0,on=1,Nn=2,Li=3,Ss=4,fi=5,zn=6,Q=7,Se=8,ce=9,Oe=10,Ve=11,kt=12,Jt=13,Mn=14,Nt=15,kn=16,_i=17,gi=18,ji=19,Vi=20,jo=21,uo=22,ir=23,ws=24,bn=25,ls=1,sr=2,Fi=7,ho=9,cs=11;function Ln(t){return Array.isArray(t)&&"object"==typeof t[ls]}function Hi(t){return Array.isArray(t)&&!0===t[ls]}function po(t){return 0!=(4&t.flags)}function Lt(t){return t.componentOffset>-1}function Br(t){return 1==(1&t.flags)}function js(t){return!!t.template}function zo(t){return 0!=(512&t[Nn])}function ar(t,n){return t.hasOwnProperty(hi)?t[hi]:null}let ds=null,Jr=!1;function Ki(t){const n=ds;return ds=t,n}const Do={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function xo(t){if(!ei(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Pn(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function go(t){t.dirty=!0,function Pa(t){if(void 0===t.liveConsumerNode)return;const n=Jr;Jr=!0;try{for(const o of t.liveConsumerNode)o.dirty||go(o)}finally{Jr=n}}(t),t.consumerMarkedDirty?.(t)}function _s(t){return t&&(t.nextProducerIndex=0),Ki(t)}function jt(t,n){if(Ki(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(ei(t))for(let o=t.nextProducerIndex;o<t.producerNode.length;o++)St(t.producerNode[o],t.producerIndexOfThis[o]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Pn(t){$o(t);for(let n=0;n<t.producerNode.length;n++){const o=t.producerNode[n],r=t.producerLastReadVersion[n];if(r!==o.version||(xo(o),r!==o.version))return!0}return!1}function mo(t){if($o(t),ei(t))for(let n=0;n<t.producerNode.length;n++)St(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function St(t,n){if(function So(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}(t),$o(t),1===t.liveConsumerNode.length)for(let r=0;r<t.producerNode.length;r++)St(t.producerNode[r],t.producerIndexOfThis[r]);const o=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[o],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[o],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const r=t.liveConsumerIndexOfThis[n],l=t.liveConsumerNode[n];$o(l),l.producerIndexOfThis[r]=n}}function ei(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function $o(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Cs=null;function R(t){const n=Ki(null);try{return t()}finally{Ki(n)}}const Ct=()=>{},Kt=(()=>({...Do,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:Ct}))();class Bn{constructor(n,o,r){this.previousValue=n,this.currentValue=o,this.firstChange=r}isFirstChange(){return this.firstChange}}function Vn(){return Tn}function Tn(t){return t.type.prototype.ngOnChanges&&(t.setInput=Bi),as}function as(){const t=Zi(this),n=t?.current;if(n){const o=t.previous;if(o===Gt)t.previous=n;else for(let r in n)o[r]=n[r];t.current=null,this.ngOnChanges(n)}}function Bi(t,n,o,r){const l=this.declaredInputs[o],g=Zi(t)||function ni(t,n){return t[vs]=n}(t,{previous:Gt,current:null}),v=g.current||(g.current={}),k=g.previous,S=k[l];v[l]=new Bn(S&&S.currentValue,n,k===Gt),t[r]=n}Vn.ngInherit=!0;const vs="__ngSimpleChanges__";function Zi(t){return t[vs]||null}const ys=function(t,n,o){},cr="svg";function Ms(t){for(;Array.isArray(t);)t=t[Ti];return t}function Da(t,n){return Ms(n[t])}function es(t,n){return Ms(n[t.index])}function ac(t,n){return t.data[n]}function $a(t,n){return t[n]}function Qs(t,n){const o=n[t];return Ln(o)?o:o[Ti]}function Zr(t,n){return null==n?null:t[n]}function xa(t){t[_i]=0}function rn(t){1024&t[Nn]||(t[Nn]|=1024,Ts(t,1))}function dr(t){1024&t[Nn]&&(t[Nn]&=-1025,Ts(t,-1))}function Ts(t,n){let o=t[Li];if(null===o)return;o[fi]+=n;let r=o;for(o=o[Li];null!==o&&(1===n&&1===r[fi]||-1===n&&0===r[fi]);)o[fi]+=n,r=o,o=o[Li]}function nl(t,n){if(256==(256&t[Nn]))throw new B(911,!1);null===t[jo]&&(t[jo]=[]),t[jo].push(n)}const xn={lFrame:Ds(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function $l(){return xn.bindingsEnabled}function Ml(){return null!==xn.skipHydrationRootTNode}function U(){return xn.lFrame.lView}function ci(){return xn.lFrame.tView}function ol(t){return xn.lFrame.contextLView=t,t[Se]}function vo(t){return xn.lFrame.contextLView=null,t}function Xn(){let t=Vc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Vc(){return xn.lFrame.currentTNode}function ea(t,n){const o=xn.lFrame;o.currentTNode=t,o.isParent=n}function vr(){return xn.lFrame.isParent}function Hl(){xn.lFrame.isParent=!1}function ur(){const t=xn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Sa(){return xn.lFrame.bindingIndex++}function ta(t){const n=xn.lFrame,o=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,o}function T(t,n){const o=xn.lFrame;o.bindingIndex=o.bindingRootIndex=t,I(n)}function I(t){xn.lFrame.currentDirectiveIndex=t}function j(t){const n=xn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function oe(){return xn.lFrame.currentQueryIndex}function Ae(t){xn.lFrame.currentQueryIndex=t}function vt(t){const n=t[on];return 2===n.type?n.declTNode:1===n.type?t[zn]:null}function Mt(t,n,o){if(o&vn.SkipSelf){let l=n,g=t;for(;!(l=l.parent,null!==l||o&vn.Host||(l=vt(g),null===l||(g=g[Mn],10&l.type))););if(null===l)return!1;n=l,t=g}const r=xn.lFrame=Jn();return r.currentTNode=n,r.lView=t,!0}function fn(t){const n=Jn(),o=t[on];xn.lFrame=n,n.currentTNode=o.firstChild,n.lView=t,n.tView=o,n.contextLView=t,n.bindingIndex=o.bindingStartIndex,n.inI18n=!1}function Jn(){const t=xn.lFrame,n=null===t?null:t.child;return null===n?Ds(t):n}function Ds(t){const n={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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function $i(){const t=xn.lFrame;return xn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Mr=$i;function Ya(){const t=$i();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Js(){return xn.lFrame.selectedIndex}function br(t){xn.lFrame.selectedIndex=t}function $s(){const t=xn.lFrame;return ac(t.tView,t.selectedIndex)}function na(){xn.lFrame.currentNamespace=cr}let yu=!0;function Ur(){return yu}function ia(t){yu=t}function Ho(t,n){for(let o=n.directiveStart,r=n.directiveEnd;o<r;o++){const g=t.data[o].type.prototype,{ngAfterContentInit:v,ngAfterContentChecked:k,ngAfterViewInit:S,ngAfterViewChecked:L,ngOnDestroy:se}=g;v&&(t.contentHooks??=[]).push(-o,v),k&&((t.contentHooks??=[]).push(o,k),(t.contentCheckHooks??=[]).push(o,k)),S&&(t.viewHooks??=[]).push(-o,S),L&&((t.viewHooks??=[]).push(o,L),(t.viewCheckHooks??=[]).push(o,L)),null!=se&&(t.destroyHooks??=[]).push(o,se)}}function Yl(t,n,o){wl(t,n,3,o)}function lc(t,n,o,r){(3&t[Nn])===o&&wl(t,n,o,r)}function Gl(t,n){let o=t[Nn];(3&o)===n&&(o&=8191,o+=1,t[Nn]=o)}function wl(t,n,o,r){const g=r??-1,v=n.length-1;let k=0;for(let S=void 0!==r?65535&t[_i]:0;S<v;S++)if("number"==typeof n[S+1]){if(k=n[S],null!=r&&k>=r)break}else n[S]<0&&(t[_i]+=65536),(k<g||-1==g)&&(cc(t,o,n,S),t[_i]=(4294901760&t[_i])+S+2),S++}function sa(t,n){ys(4,t,n);const o=Ki(null);try{n.call(t)}finally{Ki(o),ys(5,t,n)}}function cc(t,n,o,r){const l=o[r]<0,g=o[r+1],k=t[l?-o[r]:o[r]];l?t[Nn]>>13<t[_i]>>16&&(3&t[Nn])===n&&(t[Nn]+=8192,sa(k,g)):sa(k,g)}const Wl=-1;class Ai{constructor(n,o,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=o,this.injectImpl=r}}function Qo(t){return t!==Wl}function Wa(t){return 32767&t}function rl(t,n){let o=function wr(t){return t>>16}(t),r=n;for(;o>0;)r=r[Mn],o--;return r}let Gc=!0;function Ta(t){const n=Gc;return Gc=t,n}const Wc=255,Fr=5;let dc=0;const _a={};function zc(t,n){const o=uc(t,n);if(-1!==o)return o;const r=n[on];r.firstCreatePass&&(t.injectorIndex=n.length,za(r.data,t),za(n,null),za(r.blueprint,null));const l=Xc(t,n),g=t.injectorIndex;if(Qo(l)){const v=Wa(l),k=rl(l,n),S=k[on].data;for(let L=0;L<8;L++)n[g+L]=k[v+L]|S[v+L]}return n[g+8]=l,g}function za(t,n){t.push(0,0,0,0,0,0,0,0,n)}function uc(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Xc(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let o=0,r=null,l=n;for(;null!==l;){if(r=Pl(l),null===r)return Wl;if(o++,l=l[Mn],-1!==r.injectorIndex)return r.injectorIndex|o<<16}return Wl}function Xl(t,n,o){!function Vh(t,n,o){let r;"string"==typeof o?r=o.charCodeAt(0)||0:o.hasOwnProperty(Zs)&&(r=o[Zs]),null==r&&(r=o[Zs]=dc++);const l=r&Wc;n.data[t+(l>>Fr)]|=1<<l}(t,n,o)}function Md(t,n,o){if(o&vn.Optional||void 0!==t)return t;re()}function al(t,n,o,r){if(o&vn.Optional&&void 0===r&&(r=null),!(o&(vn.Self|vn.Host))){const l=t[ce],g=Oi(void 0);try{return l?l.get(n,r,o&vn.Optional):Os(n,r,o&vn.Optional)}finally{Oi(g)}}return Md(r,0,o)}function Kc(t,n,o,r=vn.Default,l){if(null!==t){if(2048&n[Nn]&&!(r&vn.Self)){const v=function Qc(t,n,o,r,l){let g=t,v=n;for(;null!==g&&null!==v&&2048&v[Nn]&&!(512&v[Nn]);){const k=bd(g,v,o,r|vn.Self,_a);if(k!==_a)return k;let S=g.parent;if(!S){const L=v[Vi];if(L){const se=L.get(o,_a,r);if(se!==_a)return se}S=Pl(v),v=v[Mn]}g=S}return l}(t,n,o,r,_a);if(v!==_a)return v}const g=bd(t,n,o,r,_a);if(g!==_a)return g}return al(n,o,r,l)}function bd(t,n,o,r,l){const g=function E(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(Zs)?t[Zs]:void 0;return"number"==typeof n?n>=0?n&Wc:On:n}(o);if("function"==typeof g){if(!Mt(n,t,r))return r&vn.Host?Md(l,0,r):al(n,o,r,l);try{let v;if(v=g(r),null!=v||r&vn.Optional)return v;re()}finally{Mr()}}else if("number"==typeof g){let v=null,k=uc(t,n),S=Wl,L=r&vn.Host?n[Nt][zn]:null;for((-1===k||r&vn.SkipSelf)&&(S=-1===k?Xc(t,n):n[k+8],S!==Wl&&X(r,!1)?(v=n[on],k=Wa(S),n=rl(S,n)):k=-1);-1!==k;){const se=n[on];if(N(g,k,se.data)){const Pe=Od(k,n,o,v,r,L);if(Pe!==_a)return Pe}S=n[k+8],S!==Wl&&X(r,n[on].data[k+8]===L)&&N(g,k,n)?(v=se,k=Wa(S),n=rl(S,n)):k=-1}}return l}function Od(t,n,o,r,l,g){const v=n[on],k=v.data[t+8],se=f(k,v,o,null==r?Lt(k)&&Gc:r!=v&&0!=(3&k.type),l&vn.Host&&g===k);return null!==se?y(n,v,se,k):_a}function f(t,n,o,r,l){const g=t.providerIndexes,v=n.data,k=1048575&g,S=t.directiveStart,se=g>>20,tt=l?k+se:t.directiveEnd;for(let dt=r?k:k+se;dt<tt;dt++){const xt=v[dt];if(dt<S&&o===xt||dt>=S&&xt.type===o)return dt}if(l){const dt=v[S];if(dt&&js(dt)&&dt.type===o)return S}return null}function y(t,n,o,r){let l=t[o];const g=n.data;if(function yd(t){return t instanceof Ai}(l)){const v=l;v.resolving&&function Le(t,n){const o=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new B(-200,`Circular dependency in DI detected for ${t}${o}`)}(function fe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ie(t)}(g[o]));const k=Ta(v.canSeeViewProviders);v.resolving=!0;const L=v.injectImpl?Oi(v.injectImpl):null;Mt(t,r,vn.Default);try{l=t[o]=v.factory(void 0,g,t,r),n.firstCreatePass&&o>=r.directiveStart&&function Ga(t,n,o){const{ngOnChanges:r,ngOnInit:l,ngDoCheck:g}=n.type.prototype;if(r){const v=Tn(n);(o.preOrderHooks??=[]).push(t,v),(o.preOrderCheckHooks??=[]).push(t,v)}l&&(o.preOrderHooks??=[]).push(0-t,l),g&&((o.preOrderHooks??=[]).push(t,g),(o.preOrderCheckHooks??=[]).push(t,g))}(o,g[o],n)}finally{null!==L&&Oi(L),Ta(k),v.resolving=!1,Mr()}}return l}function N(t,n,o){return!!(o[n+(t>>Fr)]&1<<t)}function X(t,n){return!(t&vn.Self||t&vn.Host&&n)}class Et{constructor(n,o){this._tNode=n,this._lView=o}get(n,o,r){return Kc(this._tNode,this._lView,n,Sn(r),o)}}function On(){return new Et(Xn(),U())}function Us(t){return Dt(()=>{const n=t.prototype.constructor,o=n[hi]||ll(n),r=Object.prototype;let l=Object.getPrototypeOf(t.prototype).constructor;for(;l&&l!==r;){const g=l[hi]||ll(l);if(g&&g!==o)return g;l=Object.getPrototypeOf(l)}return g=>new g})}function ll(t){return Fe(t)?()=>{const n=ll(xe(t));return n&&n()}:ar(t)}function Pl(t){const n=t[on],o=n.type;return 2===o?n.declTNode:1===o?t[zn]:null}function wd(t){return function Ca(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const o=t.attrs;if(o){const r=o.length;let l=0;for(;l<r;){const g=o[l];if(xs(g))break;if(0===g)l+=2;else if("number"==typeof g)for(l++;l<r&&"string"==typeof o[l];)l++;else{if(g===n)return o[l+1];l+=2}}}return null}(Xn(),t)}const hc="__parameters__";function pc(t,n,o){return Dt(()=>{const r=function wu(t){return function(...o){if(t){const r=t(...o);for(const l in r)this[l]=r[l]}}}(n);function l(...g){if(this instanceof l)return r.apply(this,g),this;const v=new l(...g);return k.annotation=v,k;function k(S,L,se){const Pe=S.hasOwnProperty(hc)?S[hc]:Object.defineProperty(S,hc,{value:[]})[hc];for(;Pe.length<=se;)Pe.push(null);return(Pe[se]=Pe[se]||[]).push(v),S}}return o&&(l.prototype=Object.create(o.prototype)),l.prototype.ngMetadataName=t,l.annotationCls=l,l})}function Dl(t,n){t.forEach(o=>Array.isArray(o)?Dl(o,n):n(o))}function Du(t,n,o){n>=t.length?t.push(o):t.splice(n,0,o)}function gc(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Ql(t,n){const o=[];for(let r=0;r<t;r++)o.push(n);return o}function Hr(t,n,o){let r=mc(t,n);return r>=0?t[1|r]=o:(r=~r,function xl(t,n,o,r){let l=t.length;if(l==n)t.push(o,r);else if(1===l)t.push(r,t[0]),t[0]=o;else{for(l--,t.push(t[l-1],t[l]);l>n;)t[l]=t[l-2],l--;t[n]=o,t[n+1]=r}}(t,r,n,o)),r}function Jl(t,n){const o=mc(t,n);if(o>=0)return t[1|o]}function mc(t,n){return function Hh(t,n,o){let r=0,l=t.length>>o;for(;l!==r;){const g=r+(l-r>>1),v=t[g<<o];if(n===v)return g<<o;v>n?l=g:r=g+1}return~(l<<o)}(t,n,1)}const dn=As(pc("Optional"),8),Ma=As(pc("SkipSelf"),4);function Nd(t){return 128==(128&t.flags)}var Ld=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ld||{});const Ef=/^>|^->|<!--|-->|--!>|<!-$/g,xf=/(<|>)/g,dl="\u200b$1\u200b";const ed=new Map;let Sf=0;const Bu="__ngContext__";function kr(t,n){Ln(n)?(t[Bu]=n[ji],function Tf(t){ed.set(t[ji],t)}(n)):t[Bu]=n}let la;function ul(t,n){return la(t,n)}function Mc(t){const n=t[Li];return Hi(n)?n[Li]:n}function ap(t){return cp(t[kt])}function lp(t){return cp(t[Ss])}function cp(t){for(;null!==t&&!Hi(t);)t=t[Ss];return t}function bc(t,n,o,r,l){if(null!=r){let g,v=!1;Hi(r)?g=r:Ln(r)&&(v=!0,r=r[Ti]);const k=Ms(r);0===t&&null!==o?null==l?mp(n,o,k):Jo(n,o,k,l||null,!0):1===t&&null!==o?Jo(n,o,k,l||null,!0):2===t?function Gd(t,n,o){const r=Ud(t,n);r&&function Bf(t,n,o,r){t.removeChild(n,o,r)}(t,r,n,o)}(n,k,v):3===t&&n.destroyNode(k),null!=g&&function Yf(t,n,o,r,l){const g=o[Fi];g!==Ms(o)&&bc(n,t,r,g,l);for(let k=cs;k<o.length;k++){const S=o[k];od(S[on],S,t,n,r,g)}}(n,t,g,o,l)}}function Gu(t,n){return t.createComment(function Pr(t){return t.replace(Ef,n=>n.replace(xf,dl))}(n))}function $d(t,n,o){return t.createElement(n,o)}function fp(t,n){const o=t[ho],r=o.indexOf(n);dr(n),o.splice(r,1)}function id(t,n){if(t.length<=cs)return;const o=cs+n,r=t[o];if(r){const l=r[kn];null!==l&&l!==t&&fp(l,r),n>0&&(t[o-1][Ss]=r[Ss]);const g=gc(t,cs+n);!function Rf(t,n){od(t,n,n[Ve],2,null,null),n[Ti]=null,n[zn]=null}(r[on],r);const v=g[gi];null!==v&&v.detachView(g[on]),r[Li]=null,r[Ss]=null,r[Nn]&=-129}return r}function Wu(t,n){if(!(256&n[Nn])){const o=n[Ve];n[ir]&&mo(n[ir]),n[ws]&&mo(n[ws]),o.destroyNode&&od(t,n,o,3,null,null),function pp(t){let n=t[kt];if(!n)return zu(t[on],t);for(;n;){let o=null;if(Ln(n))o=n[kt];else{const r=n[cs];r&&(o=r)}if(!o){for(;n&&!n[Ss]&&n!==t;)Ln(n)&&zu(n[on],n),n=n[Li];null===n&&(n=t),Ln(n)&&zu(n[on],n),o=n&&n[Ss]}n=o}}(n)}}function zu(t,n){if(!(256&n[Nn])){n[Nn]&=-129,n[Nn]|=256,function Vf(t,n){let o;if(null!=t&&null!=(o=t.destroyHooks))for(let r=0;r<o.length;r+=2){const l=n[o[r]];if(!(l instanceof Ai)){const g=o[r+1];if(Array.isArray(g))for(let v=0;v<g.length;v+=2){const k=l[g[v]],S=g[v+1];ys(4,k,S);try{S.call(k)}finally{ys(5,k,S)}}else{ys(4,l,g);try{g.call(l)}finally{ys(5,l,g)}}}}}(t,n),function jf(t,n){const o=t.cleanup,r=n[Q];if(null!==o)for(let g=0;g<o.length-1;g+=2)if("string"==typeof o[g]){const v=o[g+3];v>=0?r[v]():r[-v].unsubscribe(),g+=2}else o[g].call(r[o[g+1]]);null!==r&&(n[Q]=null);const l=n[jo];if(null!==l){n[jo]=null;for(let g=0;g<l.length;g++)(0,l[g])()}}(t,n),1===n[on].type&&n[Ve].destroy();const o=n[kn];if(null!==o&&Hi(n[Li])){o!==n[Li]&&fp(o,n);const r=n[gi];null!==r&&r.detachView(t)}!function td(t){ed.delete(t[ji])}(n)}}function Xu(t,n,o){return function gp(t,n,o){let r=n;for(;null!==r&&40&r.type;)r=(n=r).parent;if(null===r)return o[Ti];{const{componentOffset:l}=r;if(l>-1){const{encapsulation:g}=t.data[r.directiveStart+l];if(g===qt.None||g===qt.Emulated)return null}return es(r,o)}}(t,n.parent,o)}function Jo(t,n,o,r,l){t.insertBefore(n,o,r,l)}function mp(t,n,o){t.appendChild(n,o)}function _p(t,n,o,r,l){null!==r?Jo(t,n,o,r,l):mp(t,n,o)}function Ud(t,n){return t.parentNode(n)}function Cp(t,n,o){return Hd(t,n,o)}let Ku,rd,Ep,Zu,Hd=function vp(t,n,o){return 40&t.type?es(t,o):null};function Yd(t,n,o,r){const l=Xu(t,r,n),g=n[Ve],k=Cp(r.parent||n[zn],r,n);if(null!=l)if(Array.isArray(o))for(let S=0;S<o.length;S++)_p(g,l,o[S],k,!1);else _p(g,l,o,k,!1);void 0!==Ku&&Ku(g,r,n,o,l)}function sd(t,n){if(null!==n){const o=n.type;if(3&o)return es(n,t);if(4&o)return Qu(-1,t[n.index]);if(8&o){const r=n.child;if(null!==r)return sd(t,r);{const l=t[n.index];return Hi(l)?Qu(-1,l):Ms(l)}}if(32&o)return ul(n,t)()||Ms(t[n.index]);{const r=Mp(t,n);return null!==r?Array.isArray(r)?r[0]:sd(Mc(t[Nt]),r):sd(t,n.next)}}return null}function Mp(t,n){return null!==n?t[Nt][zn].projection[n.projection]:null}function Qu(t,n){const o=cs+t+1;if(o<n.length){const r=n[o],l=r[on].firstChild;if(null!==l)return sd(r,l)}return n[Fi]}function Ju(t,n,o,r,l,g,v){for(;null!=o;){const k=r[o.index],S=o.type;if(v&&0===n&&(k&&kr(Ms(k),r),o.flags|=2),32!=(32&o.flags))if(8&S)Ju(t,n,o.child,r,l,g,!1),bc(n,t,l,k,g);else if(32&S){const L=ul(o,r);let se;for(;se=L();)bc(n,t,l,se,g);bc(n,t,l,k,g)}else 16&S?Op(t,n,r,o,l,g):bc(n,t,l,k,g);o=v?o.projectionNext:o.next}}function od(t,n,o,r,l,g){Ju(o,r,t.firstChild,n,l,g,!1)}function Op(t,n,o,r,l,g){const v=o[Nt],S=v[zn].projection[r.projection];if(Array.isArray(S))for(let L=0;L<S.length;L++)bc(n,t,l,S[L],g);else{let L=S;const se=v[Li];Nd(r)&&(L.flags|=128),Ju(t,n,L,se,l,g,!0)}}function wp(t,n,o){""===o?t.removeAttribute(n,"class"):t.setAttribute(n,"class",o)}function Pp(t,n,o){const{mergedAttrs:r,classes:l,styles:g}=o;null!==r&&Mi(t,n,r),null!==l&&wp(t,n,l),null!==g&&function Wf(t,n,o){t.setAttribute(n,"style",o)}(t,n,g)}function ad(t){return function qu(){if(void 0===rd&&(rd=null,hn.trustedTypes))try{rd=hn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return rd}()?.createHTML(t)||t}function Wg(t){Ep=t}function Oc(){if(void 0!==Ep)return Ep;if(typeof document<"u")return document;throw new B(210,!1)}function xp(){if(void 0===Zu&&(Zu=null,hn.trustedTypes))try{Zu=hn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Zu}function qo(t){return xp()?.createHTML(t)||t}function ld(t){return xp()?.createScriptURL(t)||t}class hl{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_e})`}}class Sp extends hl{getTypeName(){return"HTML"}}class Tp extends hl{getTypeName(){return"Style"}}class Ip extends hl{getTypeName(){return"Script"}}class eh extends hl{getTypeName(){return"URL"}}class Fp extends hl{getTypeName(){return"ResourceURL"}}function pl(t){return t instanceof hl?t.changingThisBreaksApplicationSecurity:t}function Pc(t,n){const o=function Ap(t){return t instanceof hl&&t.getTypeName()||null}(t);if(null!=o&&o!==n){if("ResourceURL"===o&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${o} (see ${_e})`)}return o===n}function zg(t){return new Sp(t)}function Rp(t){return new Tp(t)}function Wd(t){return new Ip(t)}function cd(t){return new eh(t)}function kc(t){return new Fp(t)}class Xg{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const o=(new window.DOMParser).parseFromString(ad(n),"text/html").body;return null===o?this.inertDocumentHelper.getInertBodyElement(n):(o.removeChild(o.firstChild),o)}catch{return null}}}class Kg{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const o=this.inertDocument.createElement("template");return o.innerHTML=ad(n),o}}const Np=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zd(t){return(t=String(t)).match(Np)?t:"unsafe:"+t}function Al(t){const n={};for(const o of t.split(","))n[o]=!0;return n}function Dc(...t){const n={};for(const o of t)for(const r in o)o.hasOwnProperty(r)&&(n[r]=!0);return n}const Xd=Al("area,br,col,hr,img,wbr"),Kd=Al("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qd=Al("rp,rt"),Jd=Dc(Xd,Dc(Kd,Al("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")),Dc(Qd,Al("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")),Dc(Qd,Kd)),qd=Al("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Lp=Dc(qd,Al("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Al("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")),Xf=Al("script,style,template");class Zg{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let o=n.firstChild,r=!0;for(;o;)if(o.nodeType===Node.ELEMENT_NODE?r=this.startElement(o):o.nodeType===Node.TEXT_NODE?this.chars(o.nodeValue):this.sanitizedSomething=!0,r&&o.firstChild)o=o.firstChild;else for(;o;){o.nodeType===Node.ELEMENT_NODE&&this.endElement(o);let l=this.checkClobberedElement(o,o.nextSibling);if(l){o=l;break}o=this.checkClobberedElement(o,o.parentNode)}return this.buf.join("")}startElement(n){const o=n.nodeName.toLowerCase();if(!Jd.hasOwnProperty(o))return this.sanitizedSomething=!0,!Xf.hasOwnProperty(o);this.buf.push("<"),this.buf.push(o);const r=n.attributes;for(let l=0;l<r.length;l++){const g=r.item(l),v=g.name,k=v.toLowerCase();if(!Lp.hasOwnProperty(k)){this.sanitizedSomething=!0;continue}let S=g.value;qd[k]&&(S=zd(S)),this.buf.push(" ",v,'="',jp(S),'"')}return this.buf.push(">"),!0}endElement(n){const o=n.nodeName.toLowerCase();Jd.hasOwnProperty(o)&&!Xd.hasOwnProperty(o)&&(this.buf.push("</"),this.buf.push(o),this.buf.push(">"))}chars(n){this.buf.push(jp(n))}checkClobberedElement(n,o){if(o&&(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return o}}const Zd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Kf=/([^\#-~ |!])/g;function jp(t){return t.replace(/&/g,"&amp;").replace(Zd,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Kf,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let dd;function eu(t,n){let o=null;try{dd=dd||function th(t){const n=new Kg(t);return function zf(){try{return!!(new window.DOMParser).parseFromString(ad(""),"text/html")}catch{return!1}}()?new Xg(n):n}(t);let r=n?String(n):"";o=dd.getInertBodyElement(r);let l=5,g=r;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,r=g,g=o.innerHTML,o=dd.getInertBodyElement(r)}while(r!==g);return ad((new Zg).sanitizeChildren(tu(o)||o))}finally{if(o){const r=tu(o)||o;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function tu(t){return"content"in t&&function nh(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Rl=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Rl||{});function ih(t){const n=Nl();return n?qo(n.sanitize(Rl.HTML,t)||""):Pc(t,"HTML")?qo(pl(t)):eu(Oc(),ie(t))}function Ec(t){const n=Nl();return n?n.sanitize(Rl.URL,t)||"":Pc(t,"URL")?pl(t):zd(ie(t))}function Vp(t){const n=Nl();if(n)return ld(n.sanitize(Rl.RESOURCE_URL,t)||"");if(Pc(t,"ResourceURL"))return ld(pl(t));throw new B(904,!1)}function ou(t,n,o){return function Jf(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Vp:Ec}(n,o)(t)}function Nl(){const t=U();return t&&t[Oe].sanitizer}class us{constructor(n,o){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof o?this.__NG_ELEMENT_ID__=o:void 0!==o&&(this.\u0275prov=un({token:this,providedIn:o.providedIn||"root",factory:o.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ud=new us("ENVIRONMENT_INITIALIZER"),sh=new us("INJECTOR",-1),Bp=new us("INJECTOR_DEF_TYPES");class oh{get(n,o=rt){if(o===rt){const r=new Error(`NullInjectorError: No provider for ${J(n)}!`);throw r.name="NullInjectorError",r}return o}}function rh(t){return{\u0275providers:t}}function Zf(...t){return{\u0275providers:$p(0,t),\u0275fromNgModule:!0}}function $p(t,...n){const o=[],r=new Set;let l;const g=v=>{o.push(v)};return Dl(n,v=>{const k=v;ru(k,g,[],r)&&(l||=[],l.push(k))}),void 0!==l&&Up(l,g),o}function Up(t,n){for(let o=0;o<t.length;o++){const{ngModule:r,providers:l}=t[o];ah(l,g=>{n(g,r)})}}function ru(t,n,o,r){if(!(t=xe(t)))return!1;let l=null,g=Gn(t);const v=!g&&ti(t);if(g||v){if(v&&!v.standalone)return!1;l=t}else{const S=t.ngModule;if(g=Gn(S),!g)return!1;l=S}const k=r.has(l);if(v){if(k)return!1;if(r.add(l),v.dependencies){const S="function"==typeof v.dependencies?v.dependencies():v.dependencies;for(const L of S)ru(L,n,o,r)}}else{if(!g)return!1;{if(null!=g.imports&&!k){let L;r.add(l);try{Dl(g.imports,se=>{ru(se,n,o,r)&&(L||=[],L.push(se))})}finally{}void 0!==L&&Up(L,n)}if(!k){const L=ar(l)||(()=>new l);n({provide:l,useFactory:L,deps:wn},l),n({provide:Bp,useValue:l,multi:!0},l),n({provide:ud,useValue:()=>Ht(l),multi:!0},l)}const S=g.providers;if(null!=S&&!k){const L=t;ah(S,se=>
vendor: 44,716 bytes, line 1
1{n(se,L)})}}}return l!==t&&void 0!==t.providers}function ah(t,n){for(let o of t)$e(o)&&(o=o.\u0275providers),Array.isArray(o)?ah(o,n):n(o)}const eg=W({provide:String,useValue:W});function fl(t){return null!==t&&"object"==typeof t&&eg in t}function Fo(t){return"function"==typeof t}const lh=new us("Set Injector scope."),Fa={},tg={};let ch;function au(){return void 0===ch&&(ch=new oh),ch}class qa{}class lu extends qa{get destroyed(){return this._destroyed}constructor(n,o,r,l){super(),this.parent=o,this.source=r,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,uh(n,v=>this.processProvider(v)),this.records.set(sh,ml(void 0,this)),l.has("environment")&&this.records.set(qa,ml(void 0,this));const g=this.records.get(lh);null!=g&&"string"==typeof g.value&&this.scopes.add(g.value),this.injectorDefTypes=new Set(this.get(Bp.multi,wn,vn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const o=pt(this),r=Oi(void 0);try{return n()}finally{pt(o),Oi(r)}}get(n,o=rt,r=vn.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Gs))return n[Gs](this);r=Sn(r);const g=pt(this),v=Oi(void 0);try{if(!(r&vn.SkipSelf)){let S=this.records.get(n);if(void 0===S){const L=function Yp(t){return"function"==typeof t||"object"==typeof t&&t instanceof us}(n)&&nt(n);S=L&&this.injectableDefInScope(L)?ml(hd(n),Fa):null,this.records.set(n,S)}if(null!=S)return this.hydrate(n,S)}return(r&vn.Self?au():this.parent).get(n,o=r&vn.Optional&&o===rt?null:o)}catch(k){if("NullInjectorError"===k.name){if((k[Bt]=k[Bt]||[]).unshift(J(n)),g)throw k;return function Ue(t,n,o,r){const l=t[Bt];throw n[Qe]&&l.unshift(n[Qe]),t.message=function Xe(t,n,o,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let l=J(n);if(Array.isArray(n))l=n.map(J).join(" -> ");else if("object"==typeof n){let g=[];for(let v in n)if(n.hasOwnProperty(v)){let k=n[v];g.push(v+":"+("string"==typeof k?JSON.stringify(k):J(k)))}l=`{${g.join(", ")}}`}return`${o}${r?"("+r+")":""}[${l}]: ${t.replace(Qt,"\n  ")}`}("\n"+t.message,l,o,r),t.ngTokenPath=l,t[Bt]=null,t}(k,n,"R3InjectorError",this.source)}throw k}finally{Oi(v),pt(g)}}resolveInjectorInitializers(){const n=pt(this),o=Oi(void 0);try{const l=this.get(ud.multi,wn,vn.Self);for(const g of l)g()}finally{pt(n),Oi(o)}}toString(){const n=[],o=this.records;for(const r of o.keys())n.push(J(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,!1)}processProvider(n){let o=Fo(n=xe(n))?n:xe(n&&n.provide);const r=function gl(t){return fl(t)?ml(void 0,t.useValue):ml(dh(t),Fa)}(n);if(Fo(n)||!0!==n.multi)this.records.get(o);else{let l=this.records.get(o);l||(l=ml(void 0,Fa,!0),l.factory=()=>Wi(l.multi),this.records.set(o,l)),o=n,l.multi.push(n)}this.records.set(o,r)}hydrate(n,o){return o.value===Fa&&(o.value=tg,o.value=o.factory()),"object"==typeof o.value&&o.value&&function ro(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(o.value)&&this._ngOnDestroyHooks.add(o.value),o.value}injectableDefInScope(n){if(!n.providedIn)return!1;const o=xe(n.providedIn);return"string"==typeof o?"any"===o||this.scopes.has(o):this.injectorDefTypes.has(o)}removeOnDestroy(n){const o=this._onDestroyHooks.indexOf(n);-1!==o&&this._onDestroyHooks.splice(o,1)}}function hd(t){const n=nt(t),o=null!==n?n.factory:ar(t);if(null!==o)return o;if(t instanceof us)throw new B(204,!1);if(t instanceof Function)return function ng(t){const n=t.length;if(n>0)throw Ql(n,"?"),new B(204,!1);const o=function Hn(t){return t&&(t[Ei]||t[li])||null}(t);return null!==o?()=>o.factory(t):()=>new t}(t);throw new B(204,!1)}function dh(t,n,o){let r;if(Fo(t)){const l=xe(t);return ar(l)||hd(l)}if(fl(t))r=()=>xe(t.useValue);else if(function Hp(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Wi(t.deps||[]));else if(function mi(t){return!(!t||!t.useExisting)}(t))r=()=>Ht(xe(t.useExisting));else{const l=xe(t&&(t.useClass||t.provide));if(!function io(t){return!!t.deps}(t))return ar(l)||hd(l);r=()=>new l(...Wi(t.deps))}return r}function ml(t,n,o=!1){return{factory:t,value:n,multi:o?[]:void 0}}function uh(t,n){for(const o of t)Array.isArray(o)?uh(o,n):o&&$e(o)?uh(o.\u0275providers,n):n(o)}const Gp=new us("AppId",{providedIn:"root",factory:()=>ig}),ig="ng",Wp=new us("Platform Initializer"),hh=new us("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zp=new us("AnimationModuleType"),pd=new us("CSP nonce",{providedIn:"root",factory:()=>Oc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ch=(t,n,o)=>null;function yh(t,n,o=!1){return Ch(t,n,o)}class Oh{}class qp{}class cg{resolveComponentFactory(n){throw function wh(t){const n=Error(`No component factory found for ${J(t)}.`);return n.ngComponent=t,n}(n)}}let ao=(()=>{class t{static{this.NULL=new cg}}return t})();function Dr(){return jl(Xn(),U())}function jl(t,n){return new _l(es(t,n))}let _l=(()=>{class t{constructor(o){this.nativeElement=o}static{this.__NG_ELEMENT_ID__=Dr}}return t})();function Ph(t){return t instanceof _l?t.nativeElement:t}class pu{}let kh=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function dg(){const t=U(),o=Qs(Xn().index,t);return(Ln(o)?o:t)[Ve]}()}}return t})(),ug=(()=>{class t{static{this.\u0275prov=un({token:t,providedIn:"root",factory:()=>null})}}return t})();class Dh{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const hg=new Dh("16.2.7"),Eh={};function gd(t){if(!ln()&&!function Re(){return he}())throw new B(-203,!1)}function Ee(t,n=null,o=null,r){const l=De(t,n,o,r);return l.resolveInjectorInitializers(),l}function De(t,n=null,o=null,r,l=new Set){const g=[o||wn,Zf(t)];return r=r||("object"==typeof t?void 0:J(t)),new lu(g,n||au(),r||null,l)}let we=(()=>{class t{static{this.THROW_IF_NOT_FOUND=rt}static{this.NULL=new oh}static create(o,r){if(Array.isArray(o))return Ee({name:""},r,o,"");{const l=o.name??"";return Ee({name:l},o.parent,o.providers,l)}}static{this.\u0275prov=un({token:t,providedIn:"any",factory:()=>Ht(sh)})}static{this.__NG_ELEMENT_ID__=-1}}return t})();function Wt(t){return t.ngOriginalError}class Ut{constructor(){this._console=console}handleError(n){const o=this._findOriginalError(n);this._console.error("ERROR",n),o&&this._console.error("ORIGINAL ERROR",o)}_findOriginalError(n){let o=n&&Wt(n);for(;o&&Wt(o);)o=Wt(o);return o||null}}let cn=(()=>{class t{static{this.__NG_ELEMENT_ID__=hs}static{this.__NG_ENV_ID__=o=>o}}return t})();class $n extends cn{constructor(n){super(),this._lView=n}onDestroy(n){return nl(this._lView,n),()=>function Lc(t,n){if(null===t[jo])return;const o=t[jo].indexOf(n);-1!==o&&t[jo].splice(o,1)}(this._lView,n)}}function hs(){return new $n(U())}function Oo(t){return n=>{setTimeout(t,void 0,n)}}const ps=class Fs extends i.B{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,o,r){let l=n,g=o||(()=>null),v=r;if(n&&"object"==typeof n){const S=n;l=S.next?.bind(S),g=S.error?.bind(S),v=S.complete?.bind(S)}this.__isAsync&&(g=Oo(g),l&&(l=Oo(l)),v&&(v=Oo(v)));const k=super.subscribe({next:l,error:g,complete:v});return n instanceof e.yU&&n.add(k),k}};function ba(...t){}class Es{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ps(!1),this.onMicrotaskEmpty=new ps(!1),this.onStable=new ps(!1),this.onError=new ps(!1),typeof Zone>"u")throw new B(908,!1);Zone.assertZonePatched();const l=this;l._nesting=0,l._outer=l._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!r&&o,l.shouldCoalesceRunChangeDetection=r,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function da(){const t="function"==typeof hn.requestAnimationFrame;let n=hn[t?"requestAnimationFrame":"setTimeout"],o=hn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&o){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const l=o[Zone.__symbol__("OriginalDelegate")];l&&(o=l)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:o}}().nativeRequestAnimationFrame,function md(t){const n=()=>{!function ef(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(hn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,vl(t),t.isCheckStableRunning=!0,Aa(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),vl(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(o,r,l,g,v,k)=>{if(function ts(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(k))return o.invokeTask(l,g,v,k);try{return Sh(t),o.invokeTask(l,g,v,k)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||t.shouldCoalesceRunChangeDetection)&&n(),Th(t)}},onInvoke:(o,r,l,g,v,k,S)=>{try{return Sh(t),o.invoke(l,g,v,k,S)}finally{t.shouldCoalesceRunChangeDetection&&n(),Th(t)}},onHasTask:(o,r,l,g)=>{o.hasTask(l,g),r===l&&("microTask"==g.change?(t._hasPendingMicrotasks=g.microTask,vl(t),Aa(t)):"macroTask"==g.change&&(t.hasPendingMacrotasks=g.macroTask))},onHandleError:(o,r,l,g)=>(o.handleError(l,g),t.runOutsideAngular(()=>t.onError.emit(g)),!1)})}(l)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Es.isInAngularZone())throw new B(909,!1)}static assertNotInAngularZone(){if(Es.isInAngularZone())throw new B(909,!1)}run(n,o,r){return this._inner.run(n,o,r)}runTask(n,o,r,l){const g=this._inner,v=g.scheduleEventTask("NgZoneEvent: "+l,n,Cl,ba,ba);try{return g.runTask(v,o,r)}finally{g.cancelTask(v)}}runGuarded(n,o,r){return this._inner.runGuarded(n,o,r)}runOutsideAngular(n){return this._outer.run(n)}}const Cl={};function Aa(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function vl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Sh(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Th(t){t._nesting--,Aa(t)}class In{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ps,this.onMicrotaskEmpty=new ps,this.onStable=new ps,this.onError=new ps}run(n,o,r){return n.apply(o,r)}runGuarded(n,o,r){return n.apply(o,r)}runOutsideAngular(n){return n()}runTask(n,o,r,l){return n.apply(o,r)}}const qn=new us("",{providedIn:"root",factory:oi});function oi(){const t=pn(Es);let n=!0;const o=new ee.c(l=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{l.next(n),l.complete()})}),r=new ee.c(l=>{let g;t.runOutsideAngular(()=>{g=t.onStable.subscribe(()=>{Es.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,l.next(!0))})})});const v=t.onUnstable.subscribe(()=>{Es.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{l.next(!1)}))});return()=>{g.unsubscribe(),v.unsubscribe()}});return(0,K.h)(o,r.pipe((0,$.u)()))}function Yo(t){return t.ownerDocument.defaultView}function ua(t){return t.ownerDocument}function fs(t){return t instanceof Function?t():t}let Tc=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=un({token:t,providedIn:"root",factory:()=>new t})}}return t})();function Ao(t){for(;t;){t[Nn]|=64;const n=Mc(t);if(zo(t)&&!n)return t;t=n}return null}const om=new us("",{providedIn:"root",factory:()=>!1});let nf=null;function sf(t,n){return t[n]??dm()}function lm(t,n){const o=dm();o.producerNode?.length&&(t[n]=nf,o.lView=t,nf=cm())}const o_={...Do,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ao(t.lView)},lView:null};function cm(){return Object.create(o_)}function dm(){return nf??=cm(),nf}const bi={};function um(t){hm(ci(),U(),Js()+t,!1)}function hm(t,n,o,r){if(!r)if(3==(3&n[Nn])){const g=t.preOrderCheckHooks;null!==g&&Yl(n,g,o)}else{const g=t.preOrderHooks;null!==g&&lc(n,g,0,o)}br(o)}function gu(t,n=vn.Default){const o=U();return null===o?Ht(t,n):Kc(Xn(),o,xe(t),n)}function pm(){throw new Error("invalid")}function rf(t,n,o,r,l,g,v,k,S,L,se){const Pe=n.blueprint.slice();return Pe[Ti]=l,Pe[Nn]=140|r,(null!==L||t&&2048&t[Nn])&&(Pe[Nn]|=2048),xa(Pe),Pe[Li]=Pe[Mn]=t,Pe[Se]=o,Pe[Oe]=v||t&&t[Oe],Pe[Ve]=k||t&&t[Ve],Pe[ce]=S||t&&t[ce]||null,Pe[zn]=g,Pe[ji]=function ju(){return Sf++}(),Pe[uo]=se,Pe[Vi]=L,Pe[Nt]=2==n.type?t[Nt]:Pe,Pe}function mu(t,n,o,r,l){let g=t.data[n];if(null===g)g=function mg(t,n,o,r,l){const g=Vc(),v=vr(),S=t.data[n]=function He(t,n,o,r,l,g){let v=n?n.injectorIndex:-1,k=0;return Ml()&&(k|=128),{type:o,index:r,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:k,providerIndexes:0,value:l,attrs:g,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,v?g:g&&g.parent,o,n,r,l);return null===t.firstChild&&(t.firstChild=S),null!==g&&(v?null==g.child&&null!==S.parent&&(g.child=S):null===g.next&&(g.next=S,S.prev=g)),S}(t,n,o,r,l),function vu(){return xn.lFrame.inI18n}()&&(g.flags|=32);else if(64&g.type){g.type=o,g.value=r,g.attrs=l;const v=function Uo(){const t=xn.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();g.injectorIndex=null===v?-1:v.injectorIndex}return ea(g,!0),g}function Ih(t,n,o,r){if(0===o)return-1;const l=n.length;for(let g=0;g<o;g++)n.push(r),t.blueprint.push(r),t.data.push(null);return l}function fm(t,n,o,r,l){const g=sf(n,ir),v=Js(),k=2&r;try{br(-1),k&&n.length>bn&&hm(t,n,bn,!1),ys(k?2:0,l);const L=k?g:null,se=_s(L);try{null!==L&&(L.dirty=!1),o(r,l)}finally{jt(L,se)}}finally{k&&null===n[ir]&&lm(n,ir),br(v),ys(k?3:1,l)}}function _g(t,n,o){if(po(n)){const r=Ki(null);try{const g=n.directiveEnd;for(let v=n.directiveStart;v<g;v++){const k=t.data[v];k.contentQueries&&k.contentQueries(1,o[v],v)}}finally{Ki(r)}}}function Cg(t,n,o){$l()&&(function Ra(t,n,o,r){const l=o.directiveStart,g=o.directiveEnd;Lt(o)&&function P1(t,n,o){const r=es(n,t),l=gm(o);let v=16;o.signals?v=4096:o.onPush&&(v=64);const k=_m(t,rf(t,l,null,v,r,n,null,t[Oe].rendererFactory.createRenderer(r,o),null,null,null));t[n.index]=k}(n,o,t.data[l+o.componentOffset]),t.firstCreatePass||zc(o,n),kr(r,n);const v=o.initialInputs;for(let k=l;k<g;k++){const S=t.data[k],L=y(n,t,k,o);kr(L,n),null!==v&&k1(0,k-l,L,S,0,v),js(S)&&(Qs(o.index,n)[Se]=y(n,t,k,o))}}(t,n,o,es(o,n)),64==(64&o.flags)&&zr(t,n,o))}function vg(t,n,o=es){const r=n.localNames;if(null!==r){let l=n.index+1;for(let g=0;g<r.length;g+=2){const v=r[g+1],k=-1===v?o(n,t):t[v];t[l++]=k}}}function gm(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=yg(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function yg(t,n,o,r,l,g,v,k,S,L,se){const Pe=bn+r,tt=Pe+l,dt=function a_(t,n){const o=[];for(let r=0;r<n;r++)o.push(r<t?null:bi);return o}(Pe,tt),xt="function"==typeof L?L():L;return dt[on]={type:t,blueprint:dt,template:o,queries:null,viewQuery:k,declTNode:n,data:dt.slice().fill(null,Pe),bindingStartIndex:Pe,expandoStartIndex:tt,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 g?g():g,pipeRegistry:"function"==typeof v?v():v,firstChild:null,schemas:S,consts:xt,incompleteFirstPass:!1,ssrId:se}}let b=t=>null;function Ze(t,n,o,r){for(let l in t)if(t.hasOwnProperty(l)){o=null===o?{}:o;const g=t[l];null===r?ct(o,n,l,g):r.hasOwnProperty(l)&&ct(o,n,r[l],g)}return o}function ct(t,n,o,r){t.hasOwnProperty(o)?t[o].push(n,r):t[o]=[n,r]}function Ft(t,n,o,r,l,g,v,k){const S=es(n,o);let se,L=n.inputs;!k&&null!=L&&(se=L[r])?(d_(t,o,se,r,l),Lt(n)&&function _n(t,n){const o=Qs(n,t);16&o[Nn]||(o[Nn]|=64)}(o,n.index)):3&n.type&&(r=function Rt(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),l=null!=v?v(l,n.value||"",r):l,g.setProperty(S,r,l))}function Di(t,n,o,r){if($l()){const l=null===r?null:{"":-1},g=function Go(t,n){const o=t.directiveRegistry;let r=null,l=null;if(o)for(let g=0;g<o.length;g++){const v=o[g];if(er(n,v.selectors,!1))if(r||(r=[]),js(v))if(null!==v.findHostDirectiveDefs){const k=[];l=l||new Map,v.findHostDirectiveDefs(v,k,l),r.unshift(...k,v),La(t,n,k.length)}else r.unshift(v),La(t,n,0);else l=l||new Map,v.findHostDirectiveDefs?.(v,r,l),r.push(v)}return null===r?null:[r,l]}(t,o);let v,k;null===g?v=k=null:[v,k]=g,null!==v&&ii(t,n,o,v,l,k),l&&function sc(t,n,o){if(n){const r=t.localNames=[];for(let l=0;l<n.length;l+=2){const g=o[n[l+1]];if(null==g)throw new B(-301,!1);r.push(n[l],g)}}}(o,r,l)}o.mergedAttrs=Si(o.mergedAttrs,o.attrs)}function ii(t,n,o,r,l,g){for(let L=0;L<r.length;L++)Xl(zc(o,n),t,r[L].type);!function O1(t,n,o){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+o,t.providerIndexes=n}(o,t.data.length,r.length);for(let L=0;L<r.length;L++){const se=r[L];se.providersResolver&&se.providersResolver(se)}let v=!1,k=!1,S=Ih(t,n,r.length,null);for(let L=0;L<r.length;L++){const se=r[L];o.mergedAttrs=Si(o.mergedAttrs,se.hostAttrs),w1(t,o,n,S,se),mm(S,se,l),null!==se.contentQueries&&(o.flags|=4),(null!==se.hostBindings||null!==se.hostAttrs||0!==se.hostVars)&&(o.flags|=64);const Pe=se.type.prototype;!v&&(Pe.ngOnChanges||Pe.ngOnInit||Pe.ngDoCheck)&&((t.preOrderHooks??=[]).push(o.index),v=!0),!k&&(Pe.ngOnChanges||Pe.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(o.index),k=!0),S++}!function It(t,n,o){const l=n.directiveEnd,g=t.data,v=n.attrs,k=[];let S=null,L=null;for(let se=n.directiveStart;se<l;se++){const Pe=g[se],tt=o?o.get(Pe):null,xt=tt?tt.outputs:null;S=Ze(Pe.inputs,se,S,tt?tt.inputs:null),L=Ze(Pe.outputs,se,L,xt);const Zt=null===S||null===v||Ws(n)?null:D1(S,se,v);k.push(Zt)}null!==S&&(S.hasOwnProperty("class")&&(n.flags|=8),S.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=k,n.inputs=S,n.outputs=L}(t,o,g)}function zr(t,n,o){const r=o.directiveStart,l=o.directiveEnd,g=o.index,v=function P(){return xn.lFrame.currentDirectiveIndex}();try{br(g);for(let k=r;k<l;k++){const S=t.data[k],L=n[k];I(k),(null!==S.hostBindings||0!==S.hostVars||null!==S.hostAttrs)&&Na(S,L)}}finally{br(-1),I(v)}}function Na(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function La(t,n,o){n.componentOffset=o,(t.components??=[]).push(n.index)}function mm(t,n,o){if(o){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)o[n.exportAs[r]]=t;js(n)&&(o[""]=t)}}function w1(t,n,o,r,l){t.data[r]=l;const g=l.factory||(l.factory=ar(l.type)),v=new Ai(g,js(l),gu);t.blueprint[r]=v,o[r]=v,function Qi(t,n,o,r,l){const g=l.hostBindings;if(g){let v=t.hostBindingOpCodes;null===v&&(v=t.hostBindingOpCodes=[]);const k=~n.index;(function ns(t){let n=t.length;for(;n>0;){const o=t[--n];if("number"==typeof o&&o<0)return o}return 0})(v)!=k&&v.push(k),v.push(o,r,g)}}(t,n,r,Ih(t,o,l.hostVars,bi),l)}function Ic(t,n,o,r,l,g){const v=es(t,n);!function l_(t,n,o,r,l,g,v){if(null==g)t.removeAttribute(n,l,o);else{const k=null==v?ie(g):v(g,r||"",l);t.setAttribute(n,l,k,o)}}(n[Ve],v,g,t.value,o,r,l)}function k1(t,n,o,r,l,g){const v=g[n];if(null!==v)for(let k=0;k<v.length;)OC(r,o,v[k++],v[k++],v[k++])}function OC(t,n,o,r,l){const g=Ki(null);try{const v=t.inputTransforms;null!==v&&v.hasOwnProperty(r)&&(l=v[r].call(n,l)),null!==t.setInput?t.setInput(n,l,o,r):n[r]=l}finally{Ki(g)}}function D1(t,n,o){let r=null,l=0;for(;l<o.length;){const g=o[l];if(0!==g)if(5!==g){if("number"==typeof g)break;if(t.hasOwnProperty(g)){null===r&&(r=[]);const v=t[g];for(let k=0;k<v.length;k+=2)if(v[k]===n){r.push(g,v[k+1],o[l+1]);break}}l+=2}else l+=2;else l+=4}return r}function wC(t,n,o,r){return[t,!0,!1,n,null,0,r,o,null,null,null]}function PC(t,n){const o=t.contentQueries;if(null!==o)for(let r=0;r<o.length;r+=2){const g=o[r+1];if(-1!==g){const v=t.data[g];Ae(o[r]),v.contentQueries(2,n[g],g)}}}function _m(t,n){return t[kt]?t[Jt][Ss]=n:t[kt]=n,t[Jt]=n,n}function c_(t,n,o){Ae(0);const r=Ki(null);try{n(t,o)}finally{Ki(r)}}function kC(t){return t[Q]||(t[Q]=[])}function DC(t){return t.cleanup||(t.cleanup=[])}function EC(t,n,o){return(null===t||js(t))&&(o=function To(t){for(;Array.isArray(t);){if("object"==typeof t[ls])return t;t=t[Ti]}return null}(o[n.index])),o[Ve]}function xC(t,n){const o=t[ce],r=o?o.get(Ut,null):null;r&&r.handleError(n)}function d_(t,n,o,r,l){for(let g=0;g<o.length;){const v=o[g++],k=o[g++];OC(t.data[v],n[v],r,k,l)}}function _d(t,n,o){const r=Da(n,t);!function dp(t,n,o){t.setValue(n,o)}(t[Ve],r,o)}function E1(t,n){const o=Qs(n,t),r=o[on];!function x1(t,n){for(let o=n.length;o<t.blueprint.length;o++)n.push(t.blueprint[o])}(r,o);const l=o[Ti];null!==l&&null===o[uo]&&(o[uo]=yh(l,o[ce])),u_(r,o,o[Se])}function u_(t,n,o){fn(n);try{const r=t.viewQuery;null!==r&&c_(1,r,o);const l=t.template;null!==l&&fm(t,n,l,1,o),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&PC(t,n),t.staticViewQueries&&c_(2,t.viewQuery,o);const g=t.components;null!==g&&function S1(t,n){for(let o=0;o<n.length;o++)E1(t,n[o])}(n,g)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[Nn]&=-5,Ya()}}let SC=(()=>{class t{constructor(){this.all=new Set,this.queue=new Map}create(o,r,l){const g=typeof Zone>"u"?null:Zone.current,v=function be(t,n,o){const r=Object.create(Kt);o&&(r.consumerAllowSignalWrites=!0),r.fn=t,r.schedule=n;const l=v=>{r.cleanupFn=v};return r.ref={notify:()=>go(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Pn(r))return;r.hasRun=!0;const v=_s(r);try{r.cleanupFn(),r.cleanupFn=Ct,r.fn(l)}finally{jt(r,v)}},cleanup:()=>r.cleanupFn()},r.ref}(o,L=>{this.all.has(L)&&this.queue.set(L,g)},l);let k;this.all.add(v),v.notify();const S=()=>{v.cleanup(),k?.(),this.all.delete(v),this.queue.delete(v)};return k=r?.onDestroy(S),{destroy:S}}flush(){if(0!==this.queue.size)for(const[o,r]of this.queue)this.queue.delete(o),r?r.run(()=>o.run()):o.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=un({token:t,providedIn:"root",factory:()=>new t})}}return t})();function Cm(t,n,o){let r=o?t.styles:null,l=o?t.classes:null,g=0;if(null!==n)for(let v=0;v<n.length;v++){const k=n[v];"number"==typeof k?g=k:1==g?l=Be(l,k):2==g&&(r=Be(r,k+": "+n[++v]+";"))}o?t.styles=r:t.stylesWithoutHost=r,o?t.classes=l:t.classesWithoutHost=l}function Mg(t,n,o,r,l=!1){for(;null!==o;){const g=n[o.index];null!==g&&r.push(Ms(g)),Hi(g)&&TC(g,r);const v=o.type;if(8&v)Mg(t,n,o.child,r);else if(32&v){const k=ul(o,n);let S;for(;S=k();)r.push(S)}else if(16&v){const k=Mp(n,o);if(Array.isArray(k))r.push(...k);else{const S=Mc(n[Nt]);Mg(S[on],S,k,r,!0)}}o=l?o.projectionNext:o.next}return r}function TC(t,n){for(let o=cs;o<t.length;o++){const r=t[o],l=r[on].firstChild;null!==l&&Mg(r[on],r,l,n)}t[Fi]!==t[Ti]&&n.push(t[Fi])}function vm(t,n,o,r=!0){const l=n[Oe],g=l.rendererFactory,v=l.afterRenderEventManager;g.begin?.(),v?.begin();try{IC(t,n,t.template,o)}catch(S){throw r&&xC(n,S),S}finally{g.end?.(),l.effectManager?.flush(),v?.end()}}function IC(t,n,o,r){const l=n[Nn];if(256!=(256&l)){n[Oe].effectManager?.flush(),fn(n);try{xa(n),function Uc(t){return xn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==o&&fm(t,n,o,2,r);const v=3==(3&l);if(v){const L=t.preOrderCheckHooks;null!==L&&Yl(n,L,null)}else{const L=t.preOrderHooks;null!==L&&lc(n,L,0,null),Gl(n,0)}if(function F1(t){for(let n=ap(t);null!==n;n=lp(n)){if(!n[sr])continue;const o=n[ho];for(let r=0;r<o.length;r++){rn(o[r])}}}(n),FC(n,2),null!==t.contentQueries&&PC(t,n),v){const L=t.contentCheckHooks;null!==L&&Yl(n,L)}else{const L=t.contentHooks;null!==L&&lc(n,L,1),Gl(n,1)}!function r_(t,n){const o=t.hostBindingOpCodes;if(null===o)return;const r=sf(n,ws);try{for(let l=0;l<o.length;l++){const g=o[l];if(g<0)br(~g);else{const v=g,k=o[++l],S=o[++l];T(k,v),r.dirty=!1;const L=_s(r);try{S(2,n[v])}finally{jt(r,L)}}}}finally{null===n[ws]&&lm(n,ws),br(-1)}}(t,n);const k=t.components;null!==k&&RC(n,k,0);const S=t.viewQuery;if(null!==S&&c_(2,S,r),v){const L=t.viewCheckHooks;null!==L&&Yl(n,L)}else{const L=t.viewHooks;null!==L&&lc(n,L,2),Gl(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[Nn]&=-73,dr(n)}finally{Ya()}}}function FC(t,n){for(let o=ap(t);null!==o;o=lp(o))for(let r=cs;r<o.length;r++)AC(o[r],n)}function A1(t,n,o){AC(Qs(n,t),o)}function AC(t,n){if(!function eo(t){return 128==(128&t[Nn])}(t))return;const o=t[on],r=t[Nn];if(80&r&&0===n||1024&r||2===n)IC(o,t,o.template,t[Se]);else if(t[fi]>0){FC(t,1);const l=o.components;null!==l&&RC(t,l,1)}}function RC(t,n,o){for(let r=0;r<n.length;r++)A1(t,n[r],o)}class bg{get rootNodes(){const n=this._lView,o=n[on];return Mg(o,n,o.firstChild,[])}constructor(n,o){this._lView=n,this._cdRefInjectingView=o,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Se]}set context(n){this._lView[Se]=n}get destroyed(){return 256==(256&this._lView[Nn])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Li];if(Hi(n)){const o=n[8],r=o?o.indexOf(this):-1;r>-1&&(id(n,r),gc(o,r))}this._attachedToViewContainer=!1}Wu(this._lView[on],this._lView)}onDestroy(n){nl(this._lView,n)}markForCheck(){Ao(this._cdRefInjectingView||this._lView)}detach(){this._lView[Nn]&=-129}reattach(){this._lView[Nn]|=128}detectChanges(){vm(this._lView[on],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new B(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function hp(t,n){od(t,n,n[Ve],2,null,null)}(this._lView[on],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new B(902,!1);this._appRef=n}}class R1 extends bg{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;vm(n[on],n,n[Se],!1)}checkNoChanges(){}get context(){return null}}class NC extends ao{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const o=ti(n);return new Og(o,this.ngModule)}}function LC(t){const n=[];for(let o in t)t.hasOwnProperty(o)&&n.push({propName:t[o],templateName:o});return n}class L1{constructor(n,o){this.injector=n,this.parentInjector=o}get(n,o,r){r=Sn(r);const l=this.injector.get(n,Eh,r);return l!==Eh||o===Eh?l:this.parentInjector.get(n,o,r)}}class Og extends qp{get inputs(){const n=this.componentDef,o=n.inputTransforms,r=LC(n.inputs);if(null!==o)for(const l of r)o.hasOwnProperty(l.propName)&&(l.transform=o[l.propName]);return r}get outputs(){return LC(this.componentDef.outputs)}constructor(n,o){super(),this.componentDef=n,this.ngModule=o,this.componentType=n.type,this.selector=function xr(t){return t.map(tr).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!o}create(n,o,r,l){let g=(l=l||this.ngModule)instanceof qa?l:l?.injector;g&&null!==this.componentDef.getStandaloneInjector&&(g=this.componentDef.getStandaloneInjector(g)||g);const v=g?new L1(n,g):n,k=v.get(pu,null);if(null===k)throw new B(407,!1);const Pe={rendererFactory:k,sanitizer:v.get(ug,null),effectManager:v.get(SC,null),afterRenderEventManager:v.get(Tc,null)},tt=k.createRenderer(null,this.componentDef),dt=this.componentDef.selectors[0][0]||"div",xt=r?function a(t,n,o,r){const g=r.get(om,!1)||o===qt.ShadowDom,v=t.selectRootElement(n,g);return function p(t){b(t)}(v),v}(tt,r,this.componentDef.encapsulation,v):$d(tt,dt,function N1(t){const n=t.toLowerCase();return"svg"===n?cr:"math"===n?"math":null}(dt)),Qn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let $t=null;null!==xt&&($t=yh(xt,v,!0));const yi=yg(0,null,null,1,0,null,null,null,null,null,null),Yi=rf(null,yi,null,Qn,null,null,Pe,tt,v,null,$t);let qs,tl;fn(Yi);try{const Cd=this.componentDef;let Of,CC=null;Cd.findHostDirectiveDefs?(Of=[],CC=new Map,Cd.findHostDirectiveDefs(Cd,Of,CC),Of.push(Cd)):Of=[Cd];const $P=function V1(t,n){const o=t[on],r=bn;return t[r]=n,mu(o,r,2,"#host",null)}(Yi,xt),UP=function B1(t,n,o,r,l,g,v){const k=l[on];!function $1(t,n,o,r){for(const l of t)n.mergedAttrs=Si(n.mergedAttrs,l.hostAttrs);null!==n.mergedAttrs&&(Cm(n,n.mergedAttrs,!0),null!==o&&Pp(r,o,n))}(r,t,n,v);let S=null;null!==n&&(S=yh(n,l[ce]));const L=g.rendererFactory.createRenderer(n,o);let se=16;o.signals?se=4096:o.onPush&&(se=64);const Pe=rf(l,gm(o),null,se,l[t.index],t,g,L,null,null,S);return k.firstCreatePass&&La(k,t,r.length-1),_m(l,Pe),l[t.index]=Pe}($P,xt,Cd,Of,Yi,Pe,tt);tl=ac(yi,bn),xt&&function H1(t,n,o,r){if(r)Mi(t,o,["ng-version",hg.full]);else{const{attrs:l,classes:g}=function zs(t){const n=[],o=[];let r=1,l=2;for(;r<t.length;){let g=t[r];if("string"==typeof g)2===l?""!==g&&n.push(g,t[++r]):8===l&&o.push(g);else{if(!rs(l))break;l=g}r++}return{attrs:n,classes:o}}(n.selectors[0]);l&&Mi(t,o,l),g&&g.length>0&&wp(t,o,g.join(" "))}}(tt,Cd,xt,r),void 0!==o&&function Y1(t,n,o){const r=t.projection=[];for(let l=0;l<n.length;l++){const g=o[l];r.push(null!=g?Array.from(g):null)}}(tl,this.ngContentSelectors,o),qs=function U1(t,n,o,r,l,g){const v=Xn(),k=l[on],S=es(v,l);ii(k,l,v,o,null,r);for(let se=0;se<o.length;se++)kr(y(l,k,v.directiveStart+se,v),l);zr(k,l,v),S&&kr(S,l);const L=y(l,k,v.directiveStart+v.componentOffset,v);if(t[Se]=l[Se]=L,null!==g)for(const se of g)se(L,n);return _g(k,v,t),L}(UP,Cd,Of,CC,Yi,[G1]),u_(yi,Yi,null)}finally{Ya()}return new j1(this.componentType,qs,jl(tl,Yi),Yi,tl)}}class j1 extends Oh{constructor(n,o,r,l,g){super(),this.location=r,this._rootLView=l,this._tNode=g,this.previousInputValues=null,this.instance=o,this.hostView=this.changeDetectorRef=new R1(l),this.componentType=n}setInput(n,o){const r=this._tNode.inputs;let l;if(null!==r&&(l=r[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),o))return;const g=this._rootLView;d_(g[on],g,l,n,o),this.previousInputValues.set(n,o),Ao(Qs(this._tNode.index,g))}}get injector(){return new Et(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function G1(){const t=Xn();Ho(U()[on],t)}function h_(t){let n=function jC(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),o=!0;const r=[t];for(;n;){let l;if(js(t))l=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new B(903,!1);l=n.\u0275dir}if(l){if(o){r.push(l);const v=t;v.inputs=ym(t.inputs),v.inputTransforms=ym(t.inputTransforms),v.declaredInputs=ym(t.declaredInputs),v.outputs=ym(t.outputs);const k=l.hostBindings;k&&K1(t,k);const S=l.viewQuery,L=l.contentQueries;if(S&&z1(t,S),L&&X1(t,L),ge(t.inputs,l.inputs),ge(t.declaredInputs,l.declaredInputs),ge(t.outputs,l.outputs),null!==l.inputTransforms&&(null===v.inputTransforms&&(v.inputTransforms={}),ge(v.inputTransforms,l.inputTransforms)),js(l)&&l.data.animation){const se=t.data;se.animation=(se.animation||[]).concat(l.data.animation)}}const g=l.features;if(g)for(let v=0;v<g.length;v++){const k=g[v];k&&k.ngInherit&&k(t),k===h_&&(o=!1)}}n=Object.getPrototypeOf(n)}!function W1(t){let n=0,o=null;for(let r=t.length-1;r>=0;r--){const l=t[r];l.hostVars=n+=l.hostVars,l.hostAttrs=Si(l.hostAttrs,o=Si(o,l.hostAttrs))}}(r)}function ym(t){return t===Gt?{}:t===wn?[]:t}function z1(t,n){const o=t.viewQuery;t.viewQuery=o?(r,l)=>{n(r,l),o(r,l)}:n}function X1(t,n){const o=t.contentQueries;t.contentQueries=o?(r,l,g)=>{n(r,l,g),o(r,l,g)}:n}function K1(t,n){const o=t.hostBindings;t.hostBindings=o?(r,l)=>{n(r,l),o(r,l)}:n}function UC(t){const n=t.inputConfig,o={};for(const r in n)if(n.hasOwnProperty(r)){const l=n[r];Array.isArray(l)&&l[2]&&(o[r]=l[2])}t.inputTransforms=o}function Mm(t){return!!p_(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function p_(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Fc(t,n,o){return t[n]=o}function Oa(t,n,o){return!Object.is(t[n],o)&&(t[n]=o,!0)}function Fh(t,n,o,r){const l=Oa(t,n,o);return Oa(t,n+1,r)||l}function f_(t,n,o,r){const l=U();return Oa(l,Sa(),n)&&(ci(),Ic($s(),l,t,n,o,r)),f_}function lf(t,n,o,r){return Oa(t,Sa(),o)?n+ie(o)+r:bi}function cf(t,n,o,r,l,g){const k=Fh(t,function yo(){return xn.lFrame.bindingIndex}(),o,l);return ta(2),k?n+ie(o)+r+ie(l)+g:bi}function tv(t,n,o,r,l,g,v,k){const S=U(),L=ci(),se=t+bn,Pe=L.firstCreatePass?function yM(t,n,o,r,l,g,v,k,S){const L=n.consts,se=mu(n,t,4,v||null,Zr(L,k));Di(n,o,se,Zr(L,S)),Ho(n,se);const Pe=se.tView=yg(2,se,r,l,g,n.directiveRegistry,n.pipeRegistry,null,n.schemas,L,null);return null!==n.queries&&(n.queries.template(n,se),Pe.queries=n.queries.embeddedTView(se)),se}(se,L,S,n,o,r,l,g,v):L.data[se];ea(Pe,!1);const tt=nv(L,S,Pe,t);Ur()&&Yd(L,S,tt,Pe),kr(tt,S),_m(S,S[se]=wC(tt,S,tt,Pe)),Br(Pe)&&Cg(L,S,Pe),null!=v&&vg(S,Pe,k)}let nv=function iv(t,n,o,r){return ia(!0),n[Ve].createComment("")};function sv(t){return $a(function yr(){return xn.lFrame.contextLView}(),bn+t)}function y_(t,n,o){const r=U();return Oa(r,Sa(),n)&&Ft(ci(),$s(),r,t,n,r[Ve],o,!1),y_}function M_(t,n,o,r,l){const v=l?"class":"style";d_(t,o,n.inputs[v],v,r)}function km(t,n,o,r){const l=U(),g=ci(),v=bn+t,k=l[Ve],S=g.firstCreatePass?function wM(t,n,o,r,l,g){const v=n.consts,S=mu(n,t,2,r,Zr(v,l));return Di(n,o,S,Zr(v,g)),null!==S.attrs&&Cm(S,S.attrs,!1),null!==S.mergedAttrs&&Cm(S,S.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,S),S}(v,g,l,n,o,r):g.data[v],L=ov(g,l,S,k,n,t);l[v]=L;const se=Br(S);return ea(S,!0),Pp(k,L,S),32!=(32&S.flags)&&Ur()&&Yd(g,l,L,S),0===function Ua(){return xn.lFrame.elementDepthCount}()&&kr(L,l),function Tr(){xn.lFrame.elementDepthCount++}(),se&&(Cg(g,l,S),_g(g,S,l)),null!==r&&vg(l,S),km}function Dm(){let t=Xn();vr()?Hl():(t=t.parent,ea(t,!1));const n=t;(function Ul(t){return xn.skipHydrationRootTNode===t})(n)&&function vd(){xn.skipHydrationRootTNode=null}(),function Ha(){xn.lFrame.elementDepthCount--}();const o=ci();return o.firstCreatePass&&(Ho(o,t),po(t)&&o.queries.elementEnd(t)),null!=n.classesWithoutHost&&function bu(t){return 0!=(8&t.flags)}(n)&&M_(o,n,U(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function hr(t){return 0!=(16&t.flags)}(n)&&M_(o,n,U(),n.stylesWithoutHost,!1),Dm}function b_(t,n,o,r){return km(t,n,o,r),Dm(),b_}let ov=(t,n,o,r,l,g)=>(ia(!0),$d(r,l,function Or(){return xn.lFrame.currentNamespace}()));function Em(t,n,o){const r=U(),l=ci(),g=t+bn,v=l.firstCreatePass?function DM(t,n,o,r,l){const g=n.consts,v=Zr(g,r),k=mu(n,t,8,"ng-container",v);return null!==v&&Cm(k,v,!0),Di(n,o,k,Zr(g,l)),null!==n.queries&&n.queries.elementStart(n,k),k}(g,l,r,n,o):l.data[g];ea(v,!0);const k=rv(l,r,v,t);return r[g]=k,Ur()&&Yd(l,r,k,v),kr(k,r),Br(v)&&(Cg(l,r,v),_g(l,v,r)),null!=o&&vg(r,v),Em}function xm(){let t=Xn();const n=ci();return vr()?Hl():(t=t.parent,ea(t,!1)),n.firstCreatePass&&(Ho(n,t),po(t)&&n.queries.elementEnd(t)),xm}function O_(t,n,o){return Em(t,n,o),xm(),O_}let rv=(t,n,o,r)=>(ia(!0),Gu(n[Ve],""));function av(){return U()}function w_(t){return!!t&&"function"==typeof t.then}function lv(t){return!!t&&"function"==typeof t.subscribe}function P_(t,n,o,r){const l=U(),g=ci(),v=Xn();return function dv(t,n,o,r,l,g,v){const k=Br(r),L=t.firstCreatePass&&DC(t),se=n[Se],Pe=kC(n);let tt=!0;if(3&r.type||v){const Zt=es(r,n),Cn=v?v(Zt):Zt,Qn=Pe.length,$t=v?Yi=>v(Ms(Yi[r.index])):r.index;let yi=null;if(!v&&k&&(yi=function SM(t,n,o,r){const l=t.cleanup;if(null!=l)for(let g=0;g<l.length-1;g+=2){const v=l[g];if(v===o&&l[g+1]===r){const k=n[Q],S=l[g+2];return k.length>S?k[S]:null}"string"==typeof v&&(g+=2)}return null}(t,n,l,r.index)),null!==yi)(yi.__ngLastListenerFn__||yi).__ngNextListenerFn__=g,yi.__ngLastListenerFn__=g,tt=!1;else{g=hv(r,n,se,g,!1);const Yi=o.listen(Cn,l,g);Pe.push(g,Yi),L&&L.push(l,$t,Qn,Qn+1)}}else g=hv(r,n,se,g,!1);const dt=r.outputs;let xt;if(tt&&null!==dt&&(xt=dt[l])){const Zt=xt.length;if(Zt)for(let Cn=0;Cn<Zt;Cn+=2){const qs=n[xt[Cn]][xt[Cn+1]].subscribe(g),tl=Pe.length;Pe.push(g,qs),L&&L.push(l,r.index,tl,-(tl+1))}}}(g,l,l[Ve],v,t,n,r),P_}function uv(t,n,o,r){try{return ys(6,n,o),!1!==o(r)}catch(l){return xC(t,l),!1}finally{ys(7,n,o)}}function hv(t,n,o,r,l){return function g(v){if(v===Function)return r;Ao(t.componentOffset>-1?Qs(t.index,n):n);let S=uv(n,o,r,v),L=g.__ngNextListenerFn__;for(;L;)S=uv(n,o,L,v)&&S,L=L.__ngNextListenerFn__;return l&&!1===S&&v.preventDefault(),S}}function pv(t=1){return function bl(t){return(xn.lFrame.contextLView=function Ol(t,n){for(;t>0;)n=n[Mn],t--;return n}(t,xn.lFrame.contextLView))[Se]}(t)}function TM(t,n){let o=null;const r=function Er(t){const n=t.attrs;if(null!=n){const o=n.indexOf(5);if(!(1&o))return n[o+1]}return null}(t);for(let l=0;l<n.length;l++){const g=n[l];if("*"!==g){if(null===r?er(t,g,!0):No(r,g))return l}else o=l}return o}function fv(t){const n=U()[Nt][zn];if(!n.projection){const r=n.projection=Ql(t?t.length:1,null),l=r.slice();let g=n.child;for(;null!==g;){const v=t?TM(g,t):0;null!==v&&(l[v]?l[v].projectionNext=g:r[v]=g,l[v]=g),g=g.next}}}function gv(t,n=0,o){const r=U(),l=ci(),g=mu(l,bn+t,16,null,o||null);null===g.projection&&(g.projection=n),Hl(),(!r[uo]||Ml())&&32!=(32&g.flags)&&function Hf(t,n,o){Op(n[Ve],0,n,o,Xu(t,o,n),Cp(o.parent||n[zn],o,n))}(l,r,g)}function k_(t,n,o){return Sm(t,"",n,"",o),k_}function Sm(t,n,o,r,l){const g=U(),v=lf(g,n,o,r);return v!==bi&&Ft(ci(),$s(),g,t,v,g[Ve],l,!1),Sm}function Tm(t,n){return t<<17|n<<2}function _u(t){return t>>17&32767}function D_(t){return 2|t}function Ah(t){return(131068&t)>>2}function E_(t,n){return-131069&t|n<<2}function x_(t){return 1|t}function wv(t,n,o,r,l){const g=t[o+1],v=null===n;let k=r?_u(g):Ah(g),S=!1;for(;0!==k&&(!1===S||v);){const se=t[k+1];LM(t[k],n)&&(S=!0,t[k+1]=r?x_(se):D_(se)),k=r?_u(se):Ah(se)}S&&(t[o+1]=r?D_(g):x_(g))}function LM(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&mc(t,n)>=0}const Lr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pv(t){return t.substring(Lr.key,Lr.keyEnd)}function kv(t,n){const o=Lr.textEnd;return o===n?-1:(n=Lr.keyEnd=function $M(t,n,o){for(;n<o&&t.charCodeAt(n)>32;)n++;return n}(t,Lr.key=n,o),mf(t,n,o))}function mf(t,n,o){for(;n<o&&t.charCodeAt(n)<=32;)n++;return n}function S_(t,n,o){return oc(t,n,o,!1),S_}function T_(t,n){return oc(t,n,null,!0),T_}function Tv(t){rc(QM,Rc,t,!0)}function Rc(t,n){for(let o=function VM(t){return function Ev(t){Lr.key=0,Lr.keyEnd=0,Lr.value=0,Lr.valueEnd=0,Lr.textEnd=t.length}(t),kv(t,mf(t,0,Lr.textEnd))}(n);o>=0;o=kv(n,o))Hr(t,Pv(n),!0)}function oc(t,n,o,r){const l=U(),g=ci(),v=ta(2);g.firstUpdatePass&&Fv(g,t,v,r),n!==bi&&Oa(l,v,n)&&Rv(g,g.data[Js()],l,l[Ve],t,l[v+1]=function qM(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=J(pl(t)))),t}(n,o),r,v)}function rc(t,n,o,r){const l=ci(),g=ta(2);l.firstUpdatePass&&Fv(l,null,g,r);const v=U();if(o!==bi&&Oa(v,g,o)){const k=l.data[Js()];if(Lv(k,r)&&!Iv(l,g)){let S=r?k.classesWithoutHost:k.stylesWithoutHost;null!==S&&(o=Be(S,o||"")),M_(l,k,v,o,r)}else!function JM(t,n,o,r,l,g,v,k){l===bi&&(l=wn);let S=0,L=0,se=0<l.length?l[0]:null,Pe=0<g.length?g[0]:null;for(;null!==se||null!==Pe;){const tt=S<l.length?l[S+1]:void 0,dt=L<g.length?g[L+1]:void 0;let Zt,xt=null;se===Pe?(S+=2,L+=2,tt!==dt&&(xt=Pe,Zt=dt)):null===Pe||null!==se&&se<Pe?(S+=2,xt=se):(L+=2,xt=Pe,Zt=dt),null!==xt&&Rv(t,n,o,r,xt,Zt,v,k),se=S<l.length?l[S]:null,Pe=L<g.length?g[L]:null}}(l,k,v,v[Ve],v[g+1],v[g+1]=function KM(t,n,o){if(null==o||""===o)return wn;const r=[],l=pl(o);if(Array.isArray(l))for(let g=0;g<l.length;g++)t(r,l[g],!0);else if("object"==typeof l)for(const g in l)l.hasOwnProperty(g)&&t(r,g,l[g]);else"string"==typeof l&&n(r,l);return r}(t,n,o),r,g)}}function Iv(t,n){return n>=t.expandoStartIndex}function Fv(t,n,o,r){const l=t.data;if(null===l[o+1]){const g=l[Js()],v=Iv(t,o);Lv(g,r)&&null===n&&!v&&(n=!1),n=function GM(t,n,o,r){const l=j(t);let g=r?n.residualClasses:n.residualStyles;if(null===l)0===(r?n.classBindings:n.styleBindings)&&(o=Eg(o=I_(null,t,n,o,r),n.attrs,r),g=null);else{const v=n.directiveStylingLast;if(-1===v||t[v]!==l)if(o=I_(l,t,n,o,r),null===g){let S=function WM(t,n,o){const r=o?n.classBindings:n.styleBindings;if(0!==Ah(r))return t[_u(r)]}(t,n,r);void 0!==S&&Array.isArray(S)&&(S=I_(null,t,n,S[1],r),S=Eg(S,n.attrs,r),function zM(t,n,o,r){t[_u(o?n.classBindings:n.styleBindings)]=r}(t,n,r,S))}else g=function XM(t,n,o){let r;const l=n.directiveEnd;for(let g=1+n.directiveStylingLast;g<l;g++)r=Eg(r,t[g].hostAttrs,o);return Eg(r,n.attrs,o)}(t,n,r)}return void 0!==g&&(r?n.residualClasses=g:n.residualStyles=g),o}(l,g,n,r),function RM(t,n,o,r,l,g){let v=g?n.classBindings:n.styleBindings,k=_u(v),S=Ah(v);t[r]=o;let se,L=!1;if(Array.isArray(o)?(se=o[1],(null===se||mc(o,se)>0)&&(L=!0)):se=o,l)if(0!==S){const tt=_u(t[k+1]);t[r+1]=Tm(tt,k),0!==tt&&(t[tt+1]=E_(t[tt+1],r)),t[k+1]=function FM(t,n){return 131071&t|n<<17}(t[k+1],r)}else t[r+1]=Tm(k,0),0!==k&&(t[k+1]=E_(t[k+1],r)),k=r;else t[r+1]=Tm(S,0),0===k?k=r:t[S+1]=E_(t[S+1],r),S=r;L&&(t[r+1]=D_(t[r+1])),wv(t,se,r,!0),wv(t,se,r,!1),function NM(t,n,o,r,l){const g=l?t.residualClasses:t.residualStyles;null!=g&&"string"==typeof n&&mc(g,n)>=0&&(o[r+1]=x_(o[r+1]))}(n,se,t,r,g),v=Tm(k,S),g?n.classBindings=v:n.styleBindings=v}(l,g,n,o,v,r)}}function I_(t,n,o,r,l){let g=null;const v=o.directiveEnd;let k=o.directiveStylingLast;for(-1===k?k=o.directiveStart:k++;k<v&&(g=n[k],r=Eg(r,g.hostAttrs,l),g!==t);)k++;return null!==t&&(o.directiveStylingLast=k),r}function Eg(t,n,o){const r=o?1:2;let l=-1;if(null!==n)for(let g=0;g<n.length;g++){const v=n[g];"number"==typeof v?l=v:l===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Hr(t,v,!!o||n[++g]))}return void 0===t?null:t}function QM(t,n,o){const r=String(n);""!==r&&!r.includes(" ")&&Hr(t,r,o)}function Rv(t,n,o,r,l,g,v,k){if(!(3&n.type))return;const S=t.data,L=S[k+1],se=function AM(t){return 1==(1&t)}(L)?Nv(S,n,o,l,Ah(L),v):void 0;Im(se)||(Im(g)||function IM(t){return 2==(2&t)}(L)&&(g=Nv(S,null,o,l,k,v)),function Gf(t,n,o,r,l){if(n)l?t.addClass(o,r):t.removeClass(o,r);else{let g=-1===r.indexOf("-")?void 0:Ld.DashCase;null==l?t.removeStyle(o,r,g):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),g|=Ld.Important),t.setStyle(o,r,l,g))}}(r,v,Da(Js(),o),l,g))}function Nv(t,n,o,r,l,g){const v=null===n;let k;for(;l>0;){const S=t[l],L=Array.isArray(S),se=L?S[1]:S,Pe=null===se;let tt=o[l+1];tt===bi&&(tt=Pe?wn:void 0);let dt=Pe?Jl(tt,r):se===r?tt:void 0;if(L&&!Im(dt)&&(dt=Jl(S,r)),Im(dt)&&(k=dt,v))return k;const xt=t[l+1];l=v?_u(xt):Ah(xt)}if(null!==n){let S=g?n.residualClasses:n.residualStyles;null!=S&&(k=Jl(S,r))}return k}function Im(t){return void 0!==t}function Lv(t,n){return 0!=(t.flags&(n?8:16))}function jv(t,n=""){const o=U(),r=ci(),l=t+bn,g=r.firstCreatePass?mu(r,l,1,n,null):r.data[l],v=Vv(r,o,g,n,t);o[l]=v,Ur()&&Yd(r,o,v,g),ea(g,!1)}let Vv=(t,n,o,r,l)=>(ia(!0),function Bd(t,n){return t.createText(n)}(n[Ve],r));function F_(t){return Fm("",t,""),F_}function Fm(t,n,o){const r=U(),l=lf(r,t,n,o);return l!==bi&&_d(r,Js(),l),Fm}function A_(t,n,o,r,l){const g=U(),v=cf(g,t,n,o,r,l);return v!==bi&&_d(g,Js(),v),A_}function zv(t,n,o){rc(Hr,Rc,lf(U(),t,n,o),!0)}function R_(t,n,o){const r=U();if(Oa(r,Sa(),n)){const g=ci(),v=$s();Ft(g,v,r,t,n,EC(j(g.data),v,r),o,!0)}return R_}const Rh=void 0;var vb=["en",[["a","p"],["AM","PM"],Rh],[["AM","PM"],Rh,Rh],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rh,[["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"]],Rh,[["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}",Rh,"{1} 'at' {0}",Rh],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Cb(t){const o=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return 1===o&&0===r?1:5}];let _f={};function N_(t){const n=function yb(t){return t.toLowerCase().replace(/_/g,"-")}(t);let o=r0(n);if(o)return o;const r=n.split("-")[0];if(o=r0(r),o)return o;if("en"===r)return vb;throw new B(701,!1)}function o0(t){return N_(t)[Cf.PluralCase]}function r0(t){return t in _f||(_f[t]=hn.ng&&hn.ng.common&&hn.ng.common.locales&&hn.ng.common.locales[t]),_f[t]}var Cf=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Cf||{});const vf="en-US";let a0=vf;function V_(t,n,o,r,l){if(t=xe(t),Array.isArray(t))for(let g=0;g<t.length;g++)V_(t[g],n,o,r,l);else{const g=ci(),v=U(),k=Xn();let S=Fo(t)?t:xe(t.provide);const L=dh(t),se=1048575&k.providerIndexes,Pe=k.directiveStart,tt=k.providerIndexes>>20;if(Fo(t)||!t.multi){const dt=new Ai(L,l,gu),xt=$_(S,n,l?se:se+tt,Pe);-1===xt?(Xl(zc(k,v),g,S),B_(g,t,n.length),n.push(S),k.directiveStart++,k.directiveEnd++,l&&(k.providerIndexes+=1048576),o.push(dt),v.push(dt)):(o[xt]=dt,v[xt]=dt)}else{const dt=$_(S,n,se+tt,Pe),xt=$_(S,n,se,se+tt),Cn=xt>=0&&o[xt];if(l&&!Cn||!l&&!(dt>=0&&o[dt])){Xl(zc(k,v),g,S);const Qn=function CO(t,n,o,r,l){const g=new Ai(t,o,gu);return g.multi=[],g.index=n,g.componentProviders=0,I0(g,l,r&&!o),g}(l?_O:mO,o.length,l,r,L);!l&&Cn&&(o[xt].providerFactory=Qn),B_(g,t,n.length,0),n.push(S),k.directiveStart++,k.directiveEnd++,l&&(k.providerIndexes+=1048576),o.push(Qn),v.push(Qn)}else B_(g,t,dt>-1?dt:xt,I0(o[l?xt:dt],L,!l&&r));!l&&r&&Cn&&o[xt].componentProviders++}}}function B_(t,n,o,r){const l=Fo(n),g=function bo(t){return!!t.useClass}(n);if(l||g){const S=(g?xe(n.useClass):n).prototype.ngOnDestroy;if(S){const L=t.destroyHooks||(t.destroyHooks=[]);if(!l&&n.multi){const se=L.indexOf(o);-1===se?L.push(o,[r,S]):L[se+1].push(r,S)}else L.push(o,S)}}}function I0(t,n,o){return o&&t.componentProviders++,t.multi.push(n)-1}function $_(t,n,o,r){for(let l=o;l<r;l++)if(n[l]===t)return l;return-1}function mO(t,n,o,r){return U_(this.multi,[])}function _O(t,n,o,r){const l=this.multi;let g;if(this.providerFactory){const v=this.providerFactory.componentProviders,k=y(o,o[on],this.providerFactory.index,r);g=k.slice(0,v),U_(l,g);for(let S=v;S<k.length;S++)g.push(k[S])}else g=[],U_(l,g);return g}function U_(t,n){for(let o=0;o<t.length;o++)n.push((0,t[o])());return n}function F0(t,n=[]){return o=>{o.providersResolver=(r,l)=>function gO(t,n,o){const r=ci();if(r.firstCreatePass){const l=js(t);V_(o,r.data,r.blueprint,l,!0),V_(n,r.data,r.blueprint,l,!1)}}(r,l?l(t):t,n)}}class Nh{}class A0{}function vO(t,n){return new H_(t,n??null,[])}class H_ extends Nh{constructor(n,o,r){super(),this._parent=o,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new NC(this);const l=Xs(n);this._bootstrapComponents=fs(l.bootstrap),this._r3Injector=De(n,o,[{provide:Nh,useValue:this},{provide:ao,useValue:this.componentFactoryResolver},...r],J(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
vendor: 14,945 bytes, line 1
1s(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(o=>o()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Y_ extends A0{constructor(n){super(),this.moduleType=n}create(n){return new H_(this.moduleType,n,[])}}class R0 extends Nh{constructor(n){super(),this.componentFactoryResolver=new NC(this),this.instance=null;const o=new lu([...n.providers,{provide:Nh,useValue:this},{provide:ao,useValue:this.componentFactoryResolver}],n.parent||au(),n.debugName,new Set(["environment"]));this.injector=o,n.runEnvironmentInitializers&&o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function N0(t,n,o=null){return new R0({providers:t,parent:n,debugName:o,runEnvironmentInitializers:!0}).injector}let MO=(()=>{class t{constructor(o){this._injector=o,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(o){if(!o.standalone)return null;if(!this.cachedInjectors.has(o)){const r=$p(0,o.type),l=r.length>0?N0([r],this._injector,`Standalone[${o.type.name}]`):null;this.cachedInjectors.set(o,l)}return this.cachedInjectors.get(o)}ngOnDestroy(){try{for(const o of this.cachedInjectors.values())null!==o&&o.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=un({token:t,providedIn:"environment",factory:()=>new t(Ht(qa))})}}return t})();function L0(t){t.getStandaloneInjector=n=>n.get(MO).getOrCreateStandaloneInjector(t)}function Y0(t,n,o){const r=ur()+t,l=U();return l[r]===bi?Fc(l,r,o?n.call(o):n()):function wg(t,n){return t[n]}(l,r)}function G0(t,n,o,r){return z0(U(),ur(),t,n,o,r)}function W0(t,n,o,r,l){return X0(U(),ur(),t,n,o,r,l)}function Ag(t,n){const o=t[n];return o===bi?void 0:o}function z0(t,n,o,r,l,g){const v=n+o;return Oa(t,v,l)?Fc(t,v+1,g?r.call(g,l):r(l)):Ag(t,v+1)}function X0(t,n,o,r,l,g,v){const k=n+o;return Fh(t,k,l,g)?Fc(t,k+2,v?r.call(v,l,g):r(l,g)):Ag(t,k+2)}function K0(t,n,o,r,l,g,v,k){const S=n+o;return function bm(t,n,o,r,l){const g=Fh(t,n,o,r);return Oa(t,n+2,l)||g}(t,S,l,g,v)?Fc(t,S+3,k?r.call(k,l,g,v):r(l,g,v)):Ag(t,S+3)}function q0(t,n){const o=ci();let r;const l=t+bn;o.firstCreatePass?(r=function LO(t,n){if(n)for(let o=n.length-1;o>=0;o--){const r=n[o];if(t===r.name)return r}}(n,o.pipeRegistry),o.data[l]=r,r.onDestroy&&(o.destroyHooks??=[]).push(l,r.onDestroy)):r=o.data[l];const g=r.factory||(r.factory=ar(r.type)),k=Oi(gu);try{const S=Ta(!1),L=g();return Ta(S),function OM(t,n,o,r){o>=t.data.length&&(t.data[o]=null,t.blueprint[o]=null),n[o]=r}(o,U(),l,L),L}finally{Oi(k)}}function Z0(t,n,o){const r=t+bn,l=U(),g=$a(l,r);return Rg(l,r)?z0(l,ur(),n,g.transform,o,g):g.transform(o)}function ey(t,n,o,r){const l=t+bn,g=U(),v=$a(g,l);return Rg(g,l)?X0(g,ur(),n,v.transform,o,r,v):v.transform(o,r)}function ty(t,n,o,r,l){const g=t+bn,v=U(),k=$a(v,g);return Rg(v,g)?K0(v,ur(),n,k.transform,o,r,l,k):k.transform(o,r,l)}function Rg(t,n){return t[on].data[n].pure}function BO(){return this._results[Symbol.iterator]()}class W_{get changes(){return this._changes||(this._changes=new ps)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const o=W_.prototype;o[Symbol.iterator]||(o[Symbol.iterator]=BO)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,o){return this._results.reduce(n,o)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,o){const r=this;r.dirty=!1;const l=function aa(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function kd(t,n,o){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let l=t[r],g=n[r];if(o&&(l=o(l),g=o(g)),g!==l)return!1}return!0}(r._results,l,o))&&(r._results=l,r.length=l.length,r.last=l[this.length-1],r.first=l[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function UO(t,n,o,r=!0){const l=n[on];if(function Nf(t,n,o,r){const l=cs+r,g=o.length;r>0&&(o[l-1][Ss]=n),r<g-cs?(n[Ss]=o[l],Du(o,cs+r,n)):(o.push(n),n[Ss]=null),n[Li]=o;const v=n[kn];null!==v&&o!==v&&function Lf(t,n){const o=t[ho];n[Nt]!==n[Li][Li][Nt]&&(t[sr]=!0),null===o?t[ho]=[n]:o.push(n)}(v,n);const k=n[gi];null!==k&&k.insertView(t),n[Nn]|=128}(l,n,t,o),r){const g=Qu(o,t),v=n[Ve],k=Ud(v,t[Fi]);null!==k&&function up(t,n,o,r,l,g){r[Ti]=l,r[zn]=n,od(t,r,o,1,l,g)}(l,t[zn],v,n,k,g)}}let Ng=(()=>{class t{static{this.__NG_ELEMENT_ID__=GO}}return t})();const HO=Ng,YO=class extends HO{constructor(n,o,r){super(),this._declarationLView=n,this._declarationTContainer=o,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,o){return this.createEmbeddedViewImpl(n,o)}createEmbeddedViewImpl(n,o,r){const l=function $O(t,n,o,r){const l=n.tView,k=rf(t,l,o,4096&t[Nn]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);k[kn]=t[n.index];const L=t[gi];return null!==L&&(k[gi]=L.createEmbeddedView(l)),u_(l,k,o),k}(this._declarationLView,this._declarationTContainer,n,{injector:o,hydrationInfo:r});return new bg(l)}};function GO(){return jm(Xn(),U())}function jm(t,n){return 4&t.type?new YO(n,t,jl(t,n)):null}let Bm=(()=>{class t{static{this.__NG_ELEMENT_ID__=JO}}return t})();function JO(){return ly(Xn(),U())}const qO=Bm,ry=class extends qO{constructor(n,o,r){super(),this._lContainer=n,this._hostTNode=o,this._hostLView=r}get element(){return jl(this._hostTNode,this._hostLView)}get injector(){return new Et(this._hostTNode,this._hostLView)}get parentInjector(){const n=Xc(this._hostTNode,this._hostLView);if(Qo(n)){const o=rl(n,this._hostLView),r=Wa(n);return new Et(o[on].data[r+8],o)}return new Et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const o=ay(this._lContainer);return null!==o&&o[n]||null}get length(){return this._lContainer.length-cs}createEmbeddedView(n,o,r){let l,g;"number"==typeof r?l=r:null!=r&&(l=r.index,g=r.injector);const k=n.createEmbeddedViewImpl(o||{},g,null);return this.insertImpl(k,l,false),k}createComponent(n,o,r,l,g){const v=n&&!function fc(t){return"function"==typeof t}(n);let k;if(v)k=o;else{const Zt=o||{};k=Zt.index,r=Zt.injector,l=Zt.projectableNodes,g=Zt.environmentInjector||Zt.ngModuleRef}const S=v?n:new Og(ti(n)),L=r||this.parentInjector;if(!g&&null==S.ngModule){const Cn=(v?L:this.parentInjector).get(qa,null);Cn&&(g=Cn)}ti(S.componentType??{});const dt=S.create(L,l,null,g);return this.insertImpl(dt.hostView,k,false),dt}insert(n,o){return this.insertImpl(n,o,!1)}insertImpl(n,o,r){const l=n._lView;if(function Co(t){return Hi(t[Li])}(l)){const S=this.indexOf(n);if(-1!==S)this.detach(S);else{const L=l[Li],se=new ry(L,L[zn],L[Li]);se.detach(se.indexOf(n))}}const v=this._adjustIndex(o),k=this._lContainer;return UO(k,l,v,!r),n.attachToViewContainerRef(),Du(z_(k),v,n),n}move(n,o){return this.insert(n,o)}indexOf(n){const o=ay(this._lContainer);return null!==o?o.indexOf(n):-1}remove(n){const o=this._adjustIndex(n,-1),r=id(this._lContainer,o);r&&(gc(z_(this._lContainer),o),Wu(r[on],r))}detach(n){const o=this._adjustIndex(n,-1),r=id(this._lContainer,o);return r&&null!=gc(z_(this._lContainer),o)?new bg(r):null}_adjustIndex(n,o=0){return n??this.length+o}};function ay(t){return t[8]}function z_(t){return t[8]||(t[8]=[])}function ly(t,n){let o;const r=n[t.index];return Hi(r)?o=r:(o=wC(r,n,null,t),n[t.index]=o,_m(n,o)),cy(o,n,t,r),new ry(o,t,n)}let cy=function dy(t,n,o,r){if(t[Fi])return;let l;l=8&o.type?Ms(r):function ZO(t,n){const o=t[Ve],r=o.createComment(""),l=es(n,t);return Jo(o,Ud(o,l),r,function Uf(t,n){return t.nextSibling(n)}(o,l),!1),r}(n,o),t[Fi]=l};class X_{constructor(n){this.queryList=n,this.matches=null}clone(){return new X_(this.queryList)}setDirty(){this.queryList.setDirty()}}class K_{constructor(n=[]){this.queries=n}createEmbeddedView(n){const o=n.queries;if(null!==o){const r=null!==n.contentQueries?n.contentQueries[0]:o.length,l=[];for(let g=0;g<r;g++){const v=o.getByIndex(g);l.push(this.queries[v.indexInDeclarationView].clone())}return new K_(l)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let o=0;o<this.queries.length;o++)null!==vy(n,o).matches&&this.queries[o].setDirty()}}class uy{constructor(n,o,r=null){this.predicate=n,this.flags=o,this.read=r}}class Q_{constructor(n=[]){this.queries=n}elementStart(n,o){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,o)}elementEnd(n){for(let o=0;o<this.queries.length;o++)this.queries[o].elementEnd(n)}embeddedTView(n){let o=null;for(let r=0;r<this.length;r++){const l=null!==o?o.length:0,g=this.getByIndex(r).embeddedTView(n,l);g&&(g.indexInDeclarationView=r,null!==o?o.push(g):o=[g])}return null!==o?new Q_(o):null}template(n,o){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,o)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class J_{constructor(n,o=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=o}elementStart(n,o){this.isApplyingToNode(o)&&this.matchTNode(n,o)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,o){this.elementStart(n,o)}embeddedTView(n,o){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,o),new J_(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const o=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==o;)r=r.parent;return o===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,o){const r=this.metadata.predicate;if(Array.isArray(r))for(let l=0;l<r.length;l++){const g=r[l];this.matchTNodeWithReadOption(n,o,nw(o,g)),this.matchTNodeWithReadOption(n,o,f(o,n,g,!1,!1))}else r===Ng?4&o.type&&this.matchTNodeWithReadOption(n,o,-1):this.matchTNodeWithReadOption(n,o,f(o,n,r,!1,!1))}matchTNodeWithReadOption(n,o,r){if(null!==r){const l=this.metadata.read;if(null!==l)if(l===_l||l===Bm||l===Ng&&4&o.type)this.addMatch(o.index,-2);else{const g=f(o,n,l,!1,!1);null!==g&&this.addMatch(o.index,g)}else this.addMatch(o.index,r)}}addMatch(n,o){null===this.matches?this.matches=[n,o]:this.matches.push(n,o)}}function nw(t,n){const o=t.localNames;if(null!==o)for(let r=0;r<o.length;r+=2)if(o[r]===n)return o[r+1];return null}function sw(t,n,o,r){return-1===o?function iw(t,n){return 11&t.type?jl(t,n):4&t.type?jm(t,n):null}(n,t):-2===o?function ow(t,n,o){return o===_l?jl(n,t):o===Ng?jm(n,t):o===Bm?ly(n,t):void 0}(t,n,r):y(t,t[on],o,n)}function hy(t,n,o,r){const l=n[gi].queries[r];if(null===l.matches){const g=t.data,v=o.matches,k=[];for(let S=0;S<v.length;S+=2){const L=v[S];k.push(L<0?null:sw(n,g[L],v[S+1],o.metadata.read))}l.matches=k}return l.matches}function q_(t,n,o,r){const l=t.queries.getByIndex(o),g=l.matches;if(null!==g){const v=hy(t,n,l,o);for(let k=0;k<g.length;k+=2){const S=g[k];if(S>0)r.push(v[k/2]);else{const L=g[k+1],se=n[-S];for(let Pe=cs;Pe<se.length;Pe++){const tt=se[Pe];tt[kn]===tt[Li]&&q_(tt[on],tt,L,r)}if(null!==se[ho]){const Pe=se[ho];for(let tt=0;tt<Pe.length;tt++){const dt=Pe[tt];q_(dt[on],dt,L,r)}}}}}return r}function py(t){const n=U(),o=ci(),r=oe();Ae(r+1);const l=vy(o,r);if(t.dirty&&function Nc(t){return 4==(4&t[Nn])}(n)===(2==(2&l.metadata.flags))){if(null===l.matches)t.reset([]);else{const g=l.crossesNgTemplate?q_(o,n,r,[]):hy(o,n,l,r);t.reset(g,Ph),t.notifyOnChanges()}return!0}return!1}function fy(t,n,o){const r=ci();r.firstCreatePass&&(Cy(r,new uy(t,n,o),-1),2==(2&n)&&(r.staticViewQueries=!0)),_y(r,U(),n)}function gy(t,n,o,r){const l=ci();if(l.firstCreatePass){const g=Xn();Cy(l,new uy(n,o,r),g.index),function aw(t,n){const o=t.contentQueries||(t.contentQueries=[]);n!==(o.length?o[o.length-1]:-1)&&o.push(t.queries.length-1,n)}(l,t),2==(2&o)&&(l.staticContentQueries=!0)}_y(l,U(),o)}function my(){return function rw(t,n){return t[gi].queries[n].queryList}(U(),oe())}function _y(t,n,o){const r=new W_(4==(4&o));(function Ce(t,n,o,r){const l=kC(n);l.push(o),t.firstCreatePass&&DC(t).push(r,l.length-1)})(t,n,r,r.destroy),null===n[gi]&&(n[gi]=new K_),n[gi].queries.push(new X_(r))}function Cy(t,n,o){null===t.queries&&(t.queries=new Q_),t.queries.track(new J_(n,o))}function vy(t,n){return t.queries.getByIndex(n)}function yy(t,n){return jm(t,n)}function Z_(t){return!!Xs(t)}const Ly=new us("Application Initializer");let sC=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,r)=>{this.resolve=o,this.reject=r}),this.appInits=pn(Ly,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const o=[];for(const l of this.appInits){const g=l();if(w_(g))o.push(g);else if(lv(g)){const v=new Promise((k,S)=>{g.subscribe({complete:k,error:S})});o.push(v)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(o).then(()=>{r()}).catch(l=>{this.reject(l)}),0===o.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),jy=(()=>{class t{log(o){console.log(o)}warn(o){console.warn(o)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const Um=new us("LocaleId",{providedIn:"root",factory:()=>pn(Um,vn.Optional|vn.SkipSelf)||function Ew(){return typeof $localize<"u"&&$localize.locale||vf}()}),xw=new us("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Vy=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ae.t(!1)}add(){this.hasPendingTasks.next(!0);const o=this.taskId++;return this.pendingTasks.add(o),o}remove(o){this.pendingTasks.delete(o),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();class Tw{constructor(n,o){this.ngModuleFactory=n,this.componentFactories=o}}let Iw=(()=>{class t{compileModuleSync(o){return new Y_(o)}compileModuleAsync(o){return Promise.resolve(this.compileModuleSync(o))}compileModuleAndAllComponentsSync(o){const r=this.compileModuleSync(o),g=fs(Xs(o).declarations).reduce((v,k)=>{const S=ti(k);return S&&v.push(new Og(S)),v},[]);return new Tw(r,g)}compileModuleAndAllComponentsAsync(o){return Promise.resolve(this.compileModuleAndAllComponentsSync(o))}clearCache(){}
1clearCacheFor(o){}getModuleId(o){}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Hy=new us(""),Yy=new us("");let aC,qw=(()=>{class t{constructor(o,r,l){this._ngZone=o,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,aC||(function Zw(t){aC=t}(l),l.addToWindow(r)),this._watchAngularEvents(),o.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Es.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let o=this._callbacks.pop();clearTimeout(o.timeoutId),o.doneCb(this._didWork)}this._didWork=!1});else{let o=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(o)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(o=>({source:o.source,creationLocation:o.creationLocation,data:o.data})):[]}addCallback(o,r,l){let g=-1;r&&r>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(v=>v.timeoutId!==g),o(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:o,timeoutId:g,updateCb:l})}whenStable(o,r,l){if(l&&!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(o,r,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(o){this.registry.registerApplication(o,this)}unregisterApplication(o){this.registry.unregisterApplication(o)}findProviders(o,r,l){return[]}static{this.\u0275fac=function(r){return new(r||t)(Ht(Es),Ht(Gy),Ht(Yy))}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac})}}return t})(),Gy=(()=>{class t{constructor(){this._applications=new Map}registerApplication(o,r){this._applications.set(o,r)}unregisterApplication(o){this._applications.delete(o)}unregisterAllApplications(){this._applications.clear()}getTestability(o){return this._applications.get(o)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(o,r=!0){return aC?.findTestabilityInTree(this,o,r)??null}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),Cu=null;const Wy=new us("AllowMultipleToken"),lC=new us("PlatformDestroyListeners"),cC=new us("appBootstrapListener");class nP{constructor(n,o){this.name=n,this.token=o}}function Ky(t,n,o=[]){const r=`Platform: ${n}`,l=new us(r);return(g=[])=>{let v=dC();if(!v||v.injector.get(Wy,!1)){const k=[...o,...g,{provide:l,useValue:!0}];t?t(k):function iP(t){if(Cu&&!Cu.get(Wy,!1))throw new B(400,!1);(function zy(){!function lr(t){Cs=t}(()=>{throw new B(600,!1)})})(),Cu=t;const n=t.get(Jy);(function Xy(t){t.get(Wp,null)?.forEach(o=>o())})(t)}(function Qy(t=[],n){return we.create({name:n,providers:[{provide:lh,useValue:"platform"},{provide:lC,useValue:new Set([()=>Cu=null])},...t]})}(k,r))}return function oP(t){const n=dC();if(!n)throw new B(401,!1);return n}()}}function dC(){return Cu?.get(Jy)??null}let Jy=(()=>{class t{constructor(o){this._injector=o,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(o,r){const l=function rP(t="zone.js",n){return"noop"===t?new In:"zone.js"===t?new Es(n):t}(r?.ngZone,function qy(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return l.run(()=>{const g=function yO(t,n,o){return new H_(t,n,o)}(o.moduleType,this.injector,function s1(t){return[{provide:Es,useFactory:t},{provide:ud,multi:!0,useFactory:()=>{const n=pn(lP,{optional:!0});return()=>n.initialize()}},{provide:n1,useFactory:aP},{provide:qn,useFactory:oi}]}(()=>l)),v=g.injector.get(Ut,null);return l.runOutsideAngular(()=>{const k=l.onError.subscribe({next:S=>{v.handleError(S)}});g.onDestroy(()=>{Ym(this._modules,g),k.unsubscribe()})}),function Zy(t,n,o){try{const r=o();return w_(r)?r.catch(l=>{throw n.runOutsideAngular(()=>t.handleError(l)),l}):r}catch(r){throw n.runOutsideAngular(()=>t.handleError(r)),r}}(v,l,()=>{const k=g.injector.get(sC);
1return k.runInitializers(),k.donePromise.then(()=>(function l0(t){Ie(t,"Expected localeId to be defined"),"string"==typeof t&&(a0=t.toLowerCase().replace(/_/g,"-"))}(g.injector.get(Um,vf)||vf),this._moduleDoBootstrap(g),g))})})}bootstrapModule(o,r=[]){const l=e1({},r);return function eP(t,n,o){const r=new Y_(o);return Promise.resolve(r)}(0,0,o).then(g=>this.bootstrapModuleFactory(g,l))}_moduleDoBootstrap(o){const r=o.injector.get(bf);if(o._bootstrapComponents.length>0)o._bootstrapComponents.forEach(l=>r.bootstrap(l));else{if(!o.instance.ngDoBootstrap)throw new B(-403,!1);o.instance.ngDoBootstrap(r)}this._modules.push(o)}onDestroy(o){this._destroyListeners.push(o)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const o=this._injector.get(lC,null);o&&(o.forEach(r=>r()),o.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||t)(Ht(we))}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();function e1(t,n){return Array.isArray(n)?n.reduce(e1,t):{...t,...n}}let bf=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=pn(n1),this.zoneIsStable=pn(qn),this.componentTypes=[],this.components=[],this.isStable=pn(Vy).hasPendingTasks.pipe((0,z.n)(o=>o?(0,Z.of)(!1):this.zoneIsStable),(0,le.F)(),(0,$.u)()),this._injector=pn(qa)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(o,r){const l=o instanceof qp;if(!this._injector.get(sC).done)throw!l&&Ls(o),new B(405,!1);let v;v=l?o:this._injector.get(ao).resolveComponentFactory(o),this.componentTypes.push(v.componentType);const k=function tP(t){return t.isBoundToModule}(v)?void 0:this._injector.get(Nh),L=v.create(we.NULL,[],r||v.selector,k),se=L.location.nativeElement,Pe=L.injector.get(Hy,null);return Pe?.registerApplication(se),L.onDestroy(()=>{this.detachView(L.hostView),Ym(this.components,L),Pe?.unregisterApplication(se)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new B(101,!1);try{this._runningTick=!0;for(let o of this._views)o.detectChanges()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1}}attachView(o){const r=o;this._views.push(r),r.attachToAppRef(this)}detachView(o){const r=o;Ym(this._views,r),r.detachFromAppRef()}_loadComponent(o){this.attachView(o.hostView),this.tick(),this.components.push(o);const r=this._injector.get(cC,[]);r.push(...this._bootstrapListeners),r.forEach(l=>l(o))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(o=>o()),this._views.slice().forEach(o=>o.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(o){return this._destroyListeners.push(o),()=>Ym(this._destroyListeners,o)}destroy(){if(this._destroyed)throw new B(406,!1);const o=this._injector;o.destroy&&!o.destroyed&&o.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ym(t,n){const o=t.indexOf(n);o>-1&&t.splice(o,1)}const n1=new us("",{providedIn:"root",factory:()=>pn(Ut).handleError.bind(void 0)});function aP(){const t=pn(Es),n=pn(Ut);return o=>t.runOutsideAngular(()=>n.handleError(o))}let lP=(()=>{class t{constructor(){this.zone=pn(Es),this.applicationRef=pn(bf)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=un({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function dP(){return!1}function uP(){}let hP=(()=>{class t{static{this.__NG_ELEMENT_ID__=pP}}return t})();function pP(t){return function fP(t,n,o){if(Lt(t)&&!o){const r=Qs(t.index,n);return new bg(r,r)}return 47&t.type?new bg(n[Nt],n):null}(Xn(),U(),16==(16&t))}class c1{constructor(){}supports(n){return Mm(n)}create(n){return new vP(n)}}const CP=(t,n)=>n;class vP{constructor(n){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=n||CP}forEachItem(n){let o;for(o=this._itHead;null!==o;o=o._next)n(o)}forEachOperation(n){let o=this._itHead,r=this._removalsHead,l=0,g=null;for(;o||r;){const v=!r||o&&o.currentIndex<u1(r,l,g)?o:r,k=u1(v,l,g),S=v.currentIndex;if(v===r)l--,r=r._nextRemoved;else if(o=o._next,null==v.previousIndex)l++;else{g||(g=[]);const L=k-l,se=S-l;if(L!=se){for(let tt=0;tt<L;tt++){const dt=tt<g.length?g[tt]:g[tt]=0,xt=dt+tt;se<=xt&&xt<L&&(g[tt]=dt+1)}g[v.previousIndex]=se-L}}k!==S&&n(v,k,S)}}forEachPreviousItem(n){let o;for(o=this._previousItHead;null!==o;o=o._nextPrevious)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachMovedItem(n){let o;for(o=this._movesHead;null!==o;o=o._nextMoved)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}forEachIdentityChange(n){let o;for(o=this._identityChangesHead;null!==o;o=o._nextIdentityChange)n(o)}diff(n){if(null==n&&(n=[]),!Mm(n))throw new B(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let l,g,v,o=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let k=0;k<this.length;k++)g=n[k],v=this._trackByFn(k,g),null!==o&&Object.is(o.trackById,v)?(r&&(o=this._verifyReinsertion(o,g,v,k)),Object.is(o.item,g)||this._addIdentityChange(o,g)):(o=this._mismatch(o,g,v,k),r=!0),o=o._next}else l=0,function nM(t,n){if(Array.isArray(t))for(let o=0;o<t.length;
vendor: 4,280 bytes, line 1
1o++)n(t[o]);else{const o=t[Symbol.iterator]();let r;for(;!(r=o.next()).done;)n(r.value)}}(n,k=>{v=this._trackByFn(l,k),null!==o&&Object.is(o.trackById,v)?(r&&(o=this._verifyReinsertion(o,k,v,l)),Object.is(o.item,k)||this._addIdentityChange(o,k)):(o=this._mismatch(o,k,v,l),r=!0),o=o._next,l++}),this.length=l;return this._truncate(o),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,o,r,l){let g;return null===n?g=this._itTail:(g=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._reinsertAfter(n,g,l)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,l))?(Object.is(n.item,o)||this._addIdentityChange(n,o),this._moveAfter(n,g,l)):n=this._addAfter(new yP(o,r),g,l),n}_verifyReinsertion(n,o,r,l){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==g?n=this._reinsertAfter(g,n._prev,l):n.currentIndex!=l&&(n.currentIndex=l,this._addToMoves(n,l)),n}_truncate(n){for(;null!==n;){const o=n._next;this._addToRemovals(this._unlink(n)),n=o}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(n,o,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const l=n._prevRemoved,g=n._nextRemoved;return null===l?this._removalsHead=g:l._nextRemoved=g,null===g?this._removalsTail=l:g._prevRemoved=l,this._insertAfter(n,o,r),this._addToMoves(n,r),n}_moveAfter(n,o,r){return this._unlink(n),this._insertAfter(n,o,r),this._addToMoves(n,r),n}_addAfter(n,o,r){return this._insertAfter(n,o,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,o,r){const l=null===o?this._itHead:o._next;return n._next=l,n._prev=o,null===l?this._itTail=n:l._prev=n,null===o?this._itHead=n:o._next=n,null===this._linkedRecords&&(this._linkedRecords=new d1),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const o=n._prev,r=n._next;return null===o?this._itHead=r:o._next=r,null===r?this._itTail=o:r._prev=o,n}_addToMoves(n,o){return n.previousIndex===o||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new d1),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,o){return n.item=o,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class yP{constructor(n,o){this.item=n,this.trackById=o,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 MP{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,o){let r;for(r=this._head;null!==r;
1r=r._nextDup)if((null===o||o<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const o=n._prevDup,r=n._nextDup;return null===o?this._head=r:o._nextDup=r,null===r?this._tail=o:r._prevDup=o,null===this._head}}class d1{constructor(){this.map=new Map}put(n){const o=n.trackById;let r=this.map.get(o);r||(r=new MP,this.map.set(o,r)),r.add(n)}get(n,o){const l=this.map.get(n);return l?l.get(n,o):null}remove(n){const o=n.trackById;return this.map.get(o).remove(n)&&this.map.delete(o),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function u1(t,n,o){const r=t.previousIndex;if(null===r)return r;let l=0;return o&&r<o.length&&(l=o[r]),r+n+l}class h1{constructor(){}supports(n){return n instanceof Map||p_(n)}create(){return new bP}}class bP{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(n){let o;for(o=this._mapHead;null!==o;o=o._next)n(o)}forEachPreviousItem(n){let o;for(o=this._previousMapHead;null!==o;o=o._nextPrevious)n(o)}forEachChangedItem(n){let o;for(o=this._changesHead;null!==o;o=o._nextChanged)n(o)}forEachAddedItem(n){let o;for(o=this._additionsHead;null!==o;o=o._nextAdded)n(o)}forEachRemovedItem(n){let o;for(o=this._removalsHead;null!==o;o=o._nextRemoved)n(o)}diff(n){if(n){if(!(n instanceof Map||p_(n)))throw new B(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,l)=>{if(o&&o.key===l)this._maybeAddToChanges(o,r),this._appendAfter=o,o=o._next;else{const g=this._getOrCreateRecordForKey(l,r);o=this._insertBeforeOrAppend(o,g)}}),o){o._prev&&(o._prev._next=null),this._removalsHead=o;for(let r=o;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,o){if(n){const r=n._prev;return o._next=n,o._prev=r,n._prev=o,r&&(r._next=o),n===this._mapHead&&(this._mapHead=o),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=o,o._prev=this._appendAfter):this._mapHead=o,this._appendAfter=o,null}_getOrCreateRecordForKey(n,o){if(this._records.has(n)){const l=this._records.get(n);this._maybeAddToChanges(l,o);const g=l._prev,v=l._next;return g&&(g._next=v),v&&(v._prev=g),l._next=null,l._prev=null,l}const r=new OP(n);return this._records.set(n,r),r.currentValue=o,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,o){Object.is(o,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=o,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,o){n instanceof Map?n.forEach(o):Object.keys(n).forEach(r=>o(n[r],r))}}class OP{constructor(n){this.key=n,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 p1(){return new gC([new c1])}let gC=(()=>{class t{static{this.\u0275prov=un({token:t,providedIn:"root",factory:p1})}constructor(o){this.factories=o}static create(o,r){if(null!=r){const l=r.factories.slice();o=o.concat(l)}return new t(o)}static extend(o){return{provide:t,useFactory:r=>t.create(o,r||p1()),deps:[[t,new Ma,new dn]]}}find(o){const r=this.factories.find(l=>l.supports(o));if(null!=r)return r;throw new B(901,!1)}}return t})();function f1(){return new mC([new h1])}let mC=(()=>{class t{static{this.\u0275prov=un({token:t,providedIn:"root",factory:f1})}constructor(o){this.factories=o}static create(o,r){if(r){const l=r.factories.slice();o=o.concat(l)}return new t(o)}static extend(o){return{provide:t,useFactory:r=>t.create(o,r||f1()),deps:[[t,new Ma,new dn]]}}find(o){const r=this.factories.find(l=>l.supports(o));if(r)return r;throw new B(901,!1)}}return t})();const kP=Ky(null,"core",[]);let DP=(()=>{class t{constructor(o){}static{this.\u0275fac=function(r){return new(r||t)(Ht(bf))}}static{this.\u0275mod=nr({type:t})}static{this.\u0275inj=yt({})}}return t})();function jP(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function BP(t){const n=ti(t);if(!n)return null;const o=new Og(n);return{get selector(){return o.selector},get type(){return o.componentType},get inputs(){return o.inputs},get outputs(){return o.outputs},get ngContentSelectors(){return o.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}},9417:(Ot,ke,w)=>{"use strict";w.d(ke,{BC:()=>Hn,MJ:()=>os,X1:()=>fo,YN:()=>Vs,Zm:()=>W,cb:()=>Gn,cz:()=>Fe,gE:()=>qe,j4:()=>
1Lo,kq:()=>z,l_:()=>Ls,me:()=>pe,ok:()=>zo,qT:()=>gr,tU:()=>ks,vS:()=>zs,wz:()=>zn,xH:()=>Q,y7:()=>Jt});var i=w(7705),e=w(177),ee=w(2806),K=w(7468),ae=w(6354);let Z=(()=>{class V{constructor(F,de){this._renderer=F,this._elementRef=de,this.onChange=Ne=>{},this.onTouched=()=>{}}setProperty(F,de){this._renderer.setProperty(this._elementRef.nativeElement,F,de)}registerOnTouched(F){this.onTouched=F}registerOnChange(F){this.onChange=F}setDisabledState(F){this.setProperty("disabled",F)}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(i.sFG),i.rXU(i.aKT))}}static{this.\u0275dir=i.FsC({type:V})}}return V})(),$=(()=>{class V extends Z{static{this.\u0275fac=function(){let F;return function(Ne){return(F||(F=i.xGo(V)))(Ne||V)}}()}static{this.\u0275dir=i.FsC({type:V,features:[i.Vt3]})}}return V})();const z=new i.nKC("NgValueAccessor"),le={provide:z,useExisting:(0,i.Rfq)(()=>W),multi:!0};let W=(()=>{class V extends ${writeValue(F){this.setProperty("checked",F)}static{this.\u0275fac=function(){let F;return function(Ne){return(F||(F=i.xGo(V)))(Ne||V)}}()}static{this.\u0275dir=i.FsC({type:V,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(de,Ne){1&de&&i.bIt("change",function(Zn){return Ne.onChange(Zn.target.checked)})("blur",function(){return Ne.onTouched()})},features:[i.Jv_([le]),i.Vt3]})}}return V})();const ge={provide:z,useExisting:(0,i.Rfq)(()=>pe),multi:!0},Be=new i.nKC("CompositionEventMode");let pe=(()=>{class V extends Z{constructor(F,de,Ne){super(F,de),this._compositionMode=Ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function J(){const V=(0,e.QT)()?(0,e.QT)().getUserAgent():"";return/android (\d+)/.test(V.toLowerCase())}())}writeValue(F){this.setProperty("value",F??"")}_handleInput(F){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(F)}_compositionStart(){this._composing=!0}_compositionEnd(F){this._composing=!1,this._compositionMode&&this.onChange(F)}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(Be,8))}}static{this.\u0275dir=i.FsC({type:V,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(de,Ne){1&de&&i.bIt("input",function(Zn){return Ne._handleInput(Zn.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(Zn){return Ne._compositionEnd(Zn.target.value)})},features:[i.Jv_([ge]),i.Vt3]})}}return V})();const Fe=new i.nKC("NgValidators"),$e=new i.nKC("NgAsyncValidators");function Te(V){return null}function mt(V){return null!=V}function ht(V){return(0,i.jNT)(V)?(0,ee.H)(V):V}function Xt(V){let Y={};return V.forEach(F=>{Y=null!=F?{...Y,...F}:Y}),0===Object.keys(Y).length?null:Y}function gt(V,Y){return Y.map(F=>F(V))}function Je(V){return V.map(Y=>function gn(V){return!V.validate}(Y)?Y:F=>Y.validate(F))}function te(V){return null!=V?function ve(V){if(!V)return null;const Y=V.filter(mt);return 0==Y.length?null:function(F){return Xt(gt(F,Y))}}(Je(V)):null}function ye(V){return null!=V?function me(V){if(!V)return null;const Y=V.filter(mt);return 0==Y.length?null:function(F){const de=gt(F,Y).map(ht);return(0,K.p)(de).pipe((0,ae.T)(Xt))}}(Je(V)):null}function Ye(V,Y){return null===V?[Y]:Array.isArray(V)?[...V,Y]:[V,Y]}function Me(V){return V._rawValidators}function Ie(V){return V._rawAsyncValidators}function Ge(V){return V?Array.isArray(V)?V:[V]:[]}function zt(V,Y){return Array.isArray(V)?V.includes(Y):V===Y}function ut(V,Y){const F=Ge(Y);return Ge(V).forEach(Ne=>{zt(F,Ne)||F.push(Ne)}),F}function nn(V,Y){return Ge(Y).filter(F=>!zt(V,F))}class un{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(Y){this._rawValidators=Y||[],this._composedValidatorFn=te(this._rawValidators)}_setAsyncValidators(Y){this._rawAsyncValidators=Y||[],this._composedAsyncValidatorFn=ye(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Y){this._onDestroyCallbacks.push(Y)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Y=>Y()),this._onDestroyCallbacks=[]}reset(Y=void 0){this.control&&this.control.reset(Y)}hasError(Y,F){return!!this.control&&this.control.hasError(Y,F)}getError(Y,F){return this.control?this.control.getError(Y,F):null}}class We extends un{get formDirective(){return null}get path(){return null}}class yt extends un{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nt{constructor(Y){this._cd=Y}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}
1get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Hn=(()=>{class V extends nt{constructor(F){super(F)}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(yt,2))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(de,Ne){2&de&&i.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},features:[i.Vt3]})}}return V})(),Gn=(()=>{class V extends nt{constructor(F){super(F)}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(We,10))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(de,Ne){2&de&&i.AVh("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},features:[i.Vt3]})}}return V})();const Ri="VALID",Ni="INVALID",sn="PENDING",xi="DISABLED";function ue(V){return(Tt(V)?V.validators:V)||null}function st(V,Y){return(Tt(Y)?Y.asyncValidators:V)||null}function Tt(V){return null!=V&&!Array.isArray(V)&&"object"==typeof V}function Bt(V,Y,F){const de=V.controls;if(!(Y?Object.keys(de):de).length)throw new i.wOt(1e3,"");if(!de[F])throw new i.wOt(1001,"")}function en(V,Y,F){V._forEachChild((de,Ne)=>{if(void 0===F[Ne])throw new i.wOt(1002,"")})}class Qt{constructor(Y,F){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Y),this._assignAsyncValidators(F)}get validator(){return this._composedValidatorFn}set validator(Y){this._rawValidators=this._composedValidatorFn=Y}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Y){this._rawAsyncValidators=this._composedAsyncValidatorFn=Y}get parent(){return this._parent}get valid(){return this.status===Ri}get invalid(){return this.status===Ni}get pending(){return this.status==sn}get disabled(){return this.status===xi}get enabled(){return this.status!==xi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Y){this._assignValidators(Y)}setAsyncValidators(Y){this._assignAsyncValidators(Y)}addValidators(Y){this.setValidators(ut(Y,this._rawValidators))}addAsyncValidators(Y){this.setAsyncValidators(ut(Y,this._rawAsyncValidators))}removeValidators(Y){this.setValidators(nn(Y,this._rawValidators))}removeAsyncValidators(Y){this.setAsyncValidators(nn(Y,this._rawAsyncValidators))}hasValidator(Y){return zt(this._rawValidators,Y)}hasAsyncValidator(Y){return zt(this._rawAsyncValidators,Y)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Y={}){this.touched=!0,this._parent&&!Y.onlySelf&&this._parent.markAsTouched(Y)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Y=>Y.markAllAsTouched())}markAsUntouched(Y={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(F=>{F.markAsUntouched({onlySelf:!0})}),this._parent&&!Y.onlySelf&&this._parent._updateTouched(Y)}markAsDirty(Y={}){this.pristine=!1,this._parent&&!Y.onlySelf&&this._parent.markAsDirty(Y)}markAsPristine(Y={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(F=>{F.markAsPristine({onlySelf:!0})}),this._parent&&!Y.onlySelf&&this._parent._updatePristine(Y)}markAsPending(Y={}){this.status=sn,!1!==Y.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Y.onlySelf&&this._parent.markAsPending(Y)}disable(Y={}){const F=this._parentMarkedDirty(Y.onlySelf);this.status=xi,this.errors=null,this._forEachChild(de=>{de.disable({...Y,onlySelf:!0})}
vendor: 4,090 bytes, line 1
1),this._updateValue(),!1!==Y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Y,skipPristineCheck:F}),this._onDisabledChange.forEach(de=>de(!0))}enable(Y={}){const F=this._parentMarkedDirty(Y.onlySelf);this.status=Ri,this._forEachChild(de=>{de.enable({...Y,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Y.emitEvent}),this._updateAncestors({...Y,skipPristineCheck:F}),this._onDisabledChange.forEach(de=>de(!1))}_updateAncestors(Y){this._parent&&!Y.onlySelf&&(this._parent.updateValueAndValidity(Y),Y.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Y){this._parent=Y}getRawValue(){return this.value}updateValueAndValidity(Y={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ri||this.status===sn)&&this._runAsyncValidator(Y.emitEvent)),!1!==Y.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Y.onlySelf&&this._parent.updateValueAndValidity(Y)}_updateTreeValidity(Y={emitEvent:!0}){this._forEachChild(F=>F._updateTreeValidity(Y)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Y.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xi:Ri}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Y){if(this.asyncValidator){this.status=sn,this._hasOwnPendingAsyncValidator=!0;const F=ht(this.asyncValidator(this));this._asyncValidationSubscription=F.subscribe(de=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(de,{emitEvent:Y})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Y,F={}){this.errors=Y,this._updateControlsErrors(!1!==F.emitEvent)}get(Y){let F=Y;return null==F||(Array.isArray(F)||(F=F.split(".")),0===F.length)?null:F.reduce((de,Ne)=>de&&de._find(Ne),this)}getError(Y,F){const de=F?this.get(F):this;return de&&de.errors?de.errors[Y]:null}hasError(Y,F){return!!this.getError(Y,F)}get root(){let Y=this;for(;Y._parent;)Y=Y._parent;return Y}_updateControlsErrors(Y){this.status=this._calculateStatus(),Y&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Y)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?xi:this.errors?Ni:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(sn)?sn:this._anyControlsHaveStatus(Ni)?Ni:Ri}_anyControlsHaveStatus(Y){return this._anyControls(F=>F.status===Y)}_anyControlsDirty(){return this._anyControls(Y=>Y.dirty)}_anyControlsTouched(){return this._anyControls(Y=>Y.touched)}_updatePristine(Y={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Y.onlySelf&&this._parent._updatePristine(Y)}_updateTouched(Y={}){this.touched=this._anyControlsTouched(),this._parent&&!Y.onlySelf&&this._parent._updateTouched(Y)}_registerOnCollectionChange(Y){this._onCollectionChange=Y}_setUpdateStrategy(Y){Tt(Y)&&null!=Y.updateOn&&(this._updateOn=Y.updateOn)}_parentMarkedDirty(Y){return!Y&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Y){return null}_assignValidators(Y){this._rawValidators=Array.isArray(Y)?Y.slice():Y,this._composedValidatorFn=function et(V){return Array.isArray(V)?te(V):V||null}(this._rawValidators)}_assignAsyncValidators(Y){this._rawAsyncValidators=Array.isArray(Y)?Y.slice():Y,this._composedAsyncValidatorFn=function rt(V){return Array.isArray(V)?ye(V):V||null}(this._rawAsyncValidators)}}class qe extends Qt{constructor(Y,F,de){super(ue(F),st(de,F)),this.controls=Y,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Y,F){return this.controls[Y]?this.controls[Y]:(this.controls[Y]=F,F.setParent(this),F._registerOnCollectionChange(this._onCollectionChange),F)}addControl(Y,F,de={}
vendor: 5,107 bytes, line 1
1){this.registerControl(Y,F),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}removeControl(Y,F={}){this.controls[Y]&&this.controls[Y]._registerOnCollectionChange(()=>{}),delete this.controls[Y],this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}setControl(Y,F,de={}){this.controls[Y]&&this.controls[Y]._registerOnCollectionChange(()=>{}),delete this.controls[Y],F&&this.registerControl(Y,F),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}contains(Y){return this.controls.hasOwnProperty(Y)&&this.controls[Y].enabled}setValue(Y,F={}){en(this,0,Y),Object.keys(Y).forEach(de=>{Bt(this,!0,de),this.controls[de].setValue(Y[de],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(Y,F={}){null!=Y&&(Object.keys(Y).forEach(de=>{const Ne=this.controls[de];Ne&&Ne.patchValue(Y[de],{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(Y={},F={}){this._forEachChild((de,Ne)=>{de.reset(Y[Ne],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this._reduceChildren({},(Y,F,de)=>(Y[de]=F.getRawValue(),Y))}_syncPendingControls(){let Y=this._reduceChildren(!1,(F,de)=>!!de._syncPendingControls()||F);return Y&&this.updateValueAndValidity({onlySelf:!0}),Y}_forEachChild(Y){Object.keys(this.controls).forEach(F=>{const de=this.controls[F];de&&Y(de,F)})}_setUpControls(){this._forEachChild(Y=>{Y.setParent(this),Y._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Y){for(const[F,de]of Object.entries(this.controls))if(this.contains(F)&&Y(de))return!0;return!1}_reduceValue(){return this._reduceChildren({},(F,de,Ne)=>((de.enabled||this.disabled)&&(F[Ne]=de.value),F))}_reduceChildren(Y,F){let de=Y;return this._forEachChild((Ne,yn)=>{de=F(de,Ne,yn)}),de}_allControlsDisabled(){for(const Y of Object.keys(this.controls))if(this.controls[Y].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Y){return this.controls.hasOwnProperty(Y)?this.controls[Y]:null}}class Re extends qe{}const At=new i.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Ht}),Ht="always";function pn(V,Y,F=Ht){at(V,Y),Y.valueAccessor.writeValue(V.value),(V.disabled||"always"===F)&&Y.valueAccessor.setDisabledState?.(V.disabled),function Xe(V,Y){Y.valueAccessor.registerOnChange(F=>{V._pendingValue=F,V._pendingChange=!0,V._pendingDirty=!0,"change"===V.updateOn&&Yt(V,Y)})}(V,Y),function qt(V,Y){const F=(de,Ne)=>{Y.valueAccessor.writeValue(de),Ne&&Y.viewToModelUpdate(de)};V.registerOnChange(F),Y._registerOnDestroy(()=>{V._unregisterOnChange(F)})}(V,Y),function Dt(V,Y){Y.valueAccessor.registerOnTouched(()=>{V._pendingTouched=!0,"blur"===V.updateOn&&V._pendingChange&&Yt(V,Y),"submit"!==V.updateOn&&V.markAsTouched()})}(V,Y),function As(V,Y){if(Y.valueAccessor.setDisabledState){const F=de=>{Y.valueAccessor.setDisabledState(de)};V.registerOnDisabledChange(F),Y._registerOnDestroy(()=>{V._unregisterOnDisabledChange(F)})}}(V,Y)}function Sn(V,Y,F=!0){const de=()=>{};Y.valueAccessor&&(Y.valueAccessor.registerOnChange(de),Y.valueAccessor.registerOnTouched(de)),Ue(V,Y),V&&(Y._invokeOnDestroyCallbacks(),V._registerOnCollectionChange(()=>{}))}function Wi(V,Y){V.forEach(F=>{F.registerOnValidatorChange&&F.registerOnValidatorChange(Y)})}function at(V,Y){const F=Me(V);null!==Y.validator?V.setValidators(Ye(F,Y.validator)):"function"==typeof F&&V.setValidators([F]);const de=Ie(V);null!==Y.asyncValidator?V.setAsyncValidators(Ye(de,Y.asyncValidator)):"function"==typeof de&&V.setAsyncValidators([de]);const Ne=()=>V.updateValueAndValidity();Wi(Y._rawValidators,Ne),Wi(Y._rawAsyncValidators,Ne)}function Ue(V,Y){let F=!1;if(null!==V){if(null!==Y.validator){const Ne=Me(V);if(Array.isArray(Ne)&&Ne.length>0){const yn=Ne.filter(Zn=>Zn!==Y.validator);yn.length!==Ne.length&&(F=!0,V.setValidators(yn))}}if(null!==Y.asyncValidator){const Ne=Ie(V);if(Array.isArray(Ne)&&Ne.length>0){const yn=Ne.filter(Zn=>Zn!==Y.asyncValidator);yn.length!==Ne.length&&(F=!0,V.setAsyncValidators(yn))}}}const de=()=>{};return Wi(Y._rawValidators,de),Wi(Y._rawAsyncValidators,de),F}function Yt(V,Y){V._pendingDirty&&V.markAsDirty(),V.setValue(V._pendingValue,{emitModelToViewChange:!1}),Y.viewToModelUpdate(V._pendingValue),V._pendingChange=!1}function Zs(V,Y){if(!V.hasOwnProperty("model"))return!1;const F=V.model;return!!F.isFirstChange()||!Object.is(Y,F.currentValue)}function Mi(V,Y){if(!Y)return null;let F,de,Ne;return Array.isArray(Y),Y.forEach(yn=>{yn.constructor===pe?F=yn:function Gs(V){return Object.getPrototypeOf(V.constructor)===$}(yn)?de=yn:Ne=yn}),Ne||de||F||null}function ss(V,Y){const F=V.indexOf(Y);F>-1&&V.splice(F,1)}function Ws(V){return"object"==typeof V&&null!==V&&2===Object.keys(V).length&&"value"in V&&"disabled"in V}const os=class extends Qt{constructor(Y=null,F,de){super(ue(F),st(de,F)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Y),this._setUpdateStrategy(F),this._initOb
1servables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Tt(F)&&(F.nonNullable||F.initialValueIsDefault)&&(this.defaultValue=Ws(Y)?Y.value:Y)}setValue(Y,F={}){this.value=this._pendingValue=Y,this._onChange.length&&!1!==F.emitModelToViewChange&&this._onChange.forEach(de=>de(this.value,!1!==F.emitViewToModelChange)),this.updateValueAndValidity(F)}patchValue(Y,F={}){this.setValue(Y,F)}reset(Y=this.defaultValue,F={}){this._applyFormState(Y),this.markAsPristine(F),this.markAsUntouched(F),this.setValue(this.value,F),this._pendingChange=!1}_updateValue(){}_anyControls(Y){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Y){this._onChange.push(Y)}_unregisterOnChange(Y){ss(this._onChange,Y)}registerOnDisabledChange(Y){this._onDisabledChange.push(Y)}_unregisterOnDisabledChange(Y){ss(this._onDisabledChange,Y)}_forEachChild(Y){}_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(Y){Ws(Y)?(this.value=this._pendingValue=Y.value,Y.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Y}},tr={provide:yt,useExisting:(0,i.Rfq)(()=>zs)},xr=(()=>Promise.resolve())();let zs=(()=>{class V extends yt{constructor(F,de,Ne,yn,Zn,Bs){super(),this._changeDetectorRef=Zn,this.callSetDisabledState=Bs,this.control=new os,this._registered=!1,this.name="",this.update=new i.bkB,this._parent=F,this._setValidators(de),this._setAsyncValidators(Ne),this.valueAccessor=Mi(0,yn)}ngOnChanges(F){if(this._checkForErrors(),!this._registered||"name"in F){if(this._registered&&(this._checkName(),this.formDirective)){const de=F.name.previousValue;this.formDirective.removeControl({name:de,path:this._getPath(de)})}this._setUpControl()}"isDisabled"in F&&this._updateDisabled(F),Zs(F,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(F){this.viewModel=F,this.update.emit(F)}_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(){pn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(F){xr.then(()=>{this.control.setValue(F,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(F){const de=F.isDisabled.currentValue,Ne=0!==de&&(0,i.L39)(de);xr.then(()=>{Ne&&!this.control.disabled?this.control.disable():!Ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(F){return this._parent?function Wn(V,Y){return[...Y.path,V]}(F,this._parent):[F]}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(We,9),i.rXU(Fe,10),i.rXU($e,10),i.rXU(z,10),i.rXU(i.gRc,8),i.rXU(At,8))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Jv_([tr]),i.Vt3,i.OA$]})}}return V})(),gr=(()=>{class V{static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275dir=i.FsC({type:V,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return V})(),pa=(()=>{class V{static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275mod=i.$C({type:V})}static{this.\u0275inj=i.G2t({})}}return V})();const zi=new i.nKC("NgModelWithFormControlWarning"),Xi={provide:yt,useExisting:(0,i.Rfq)(()=>Ls)};let Ls=(()=>{class V extends yt{set isDisabled(F){}static{this._ngModelWarningSentOnce=!1}constructor(F,de,Ne,yn,Zn){super(),this._ngModelWarningConfig=yn,this.callSetDisabledState=Zn,this.update=new i.bkB,this._ngModelWarningSent=!1,this._setValidators(F),this._setAsyncValidators(de),this.valueAccessor=Mi(0,Ne)}ngOnChanges(F){if(this._isControlChanged(F)){const de=F.form.previousValue;de&&Sn(de,this,!1),pn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Zs(F,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
1ngOnDestroy(){this.form&&Sn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(F){this.viewModel=F,this.update.emit(F)}_isControlChanged(F){return F.hasOwnProperty("form")}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(Fe,10),i.rXU($e,10),i.rXU(z,10),i.rXU(zi,8),i.rXU(At,8))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Jv_([Xi]),i.Vt3,i.OA$]})}}return V})();const Xs={provide:We,useExisting:(0,i.Rfq)(()=>Lo)};let Lo=(()=>{class V extends We{constructor(F,de,Ne){super(),this.callSetDisabledState=Ne,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.bkB,this._setValidators(F),this._setAsyncValidators(de)}ngOnChanges(F){this._checkFormPresent(),F.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ue(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(F){const de=this.form.get(F.path);return pn(de,F,this.callSetDisabledState),de.updateValueAndValidity({emitEvent:!1}),this.directives.push(F),de}getControl(F){return this.form.get(F.path)}
1removeControl(F){Sn(F.control||null,F,!1),function xs(V,Y){const F=V.indexOf(Y);F>-1&&V.splice(F,1)}(this.directives,F)}addFormGroup(F){this._setUpFormContainer(F)}removeFormGroup(F){this._cleanUpFormContainer(F)}getFormGroup(F){return this.form.get(F.path)}addFormArray(F){this._setUpFormContainer(F)}removeFormArray(F){this._cleanUpFormContainer(F)}getFormArray(F){return this.form.get(F.path)}updateModel(F,de){this.form.get(F.path).setValue(de)}onSubmit(F){return this.submitted=!0,function ri(V,Y){V._syncPendingControls(),Y.forEach(F=>{const de=F.control;"submit"===de.updateOn&&de._pendingChange&&(F.viewToModelUpdate(de._pendingValue),de._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(F),"dialog"===F?.target?.method}onReset(){this.resetForm()}resetForm(F=void 0){this.form.reset(F),this.submitted=!1}_updateDomValue(){this.directives.forEach(F=>{const de=F.control,Ne=this.form.get(F.path);de!==Ne&&(Sn(de||null,F),(V=>V instanceof os)(Ne)&&(pn(Ne,F,this.callSetDisabledState),F.control=Ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(F){const de=this.form.get(F.path);(function Gt(V,Y){at(V,Y)})(de,F),de.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(F){if(this.form){const de=this.form.get(F.path);de&&function wn(V,Y){return Ue(V,Y)}(de,F)&&de.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){at(this.form,this),this._oldForm&&Ue(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(Fe,10),i.rXU($e,10),i.rXU(At,8))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["","formGroup",""]],hostBindings:function(de,Ne){1&de&&i.bIt("submit",function(Zn){return Ne.onSubmit(Zn)})("reset",function(){return Ne.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([Xs]),i.Vt3,i.OA$]})}}return V})();const Li={provide:z,useExisting:(0,i.Rfq)(()=>zn),multi:!0};function Ss(V,Y){return null==V?`${Y}`:(Y&&"object"==typeof Y&&(Y="Object"),`${V}: ${Y}`.slice(0,50))}let zn=(()=>{class V extends ${constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(F){this._compareWith=F}writeValue(F){this.value=F;const Ne=Ss(this._getOptionId(F),F);this.setProperty("value",Ne)}registerOnChange(F){this.onChange=de=>{this.value=this._getOptionValue(de),F(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(F){for(const de of this._optionMap.keys())if(this._compareWith(this._optionMap.get(de),F))return de;return null}_getOptionValue(F){const de=function fi(V){return V.split(":")[0]}(F);return this._optionMap.has(de)?this._optionMap.get(de):F}static{this.\u0275fac=function(){let F;return function(Ne){return(F||(F=i.xGo(V)))(Ne||V)}}()}static{this.\u0275dir=i.FsC({type:V,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(de,Ne){1&de&&i.bIt("change",function(Zn){return Ne.onChange(Zn.target.value)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Jv_([Li]),i.Vt3]})}}return V})(),Q=(()=>{class V{constructor(F,de,Ne){this._element=F,this._renderer=de,this._select=Ne,this._select&&(this.id=this._select._registerOption())}set ngValue(F){null!=this._select&&(this._select._optionMap.set(this.id,F),this._setElementValue(Ss(this.id,F)),this._select.writeValue(this._select.value))}set value(F){this._setElementValue(F),this._select&&this._select.writeValue(this._select.value)}_setElementValue(F){this._renderer.setProperty(this._element.nativeElement,"value",F)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(zn,9))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return V})();const Se={provide:z,useExisting:(0,i.Rfq)(()=>kt),multi:!0};function ce(V,Y){return null==V?`${Y}`:("string"==typeof Y&&(Y=`'${Y}'`),Y&&"object"==typeof Y&&(Y="Object"),`${V}: ${Y}`.slice(0,50))}let kt=(()=>{class V extends ${constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(F){this._compareWith=F}writeValue(F){let de;if(this.value=F,Array.isArray(F)){const Ne=F.map(yn=>this._getOptionId(yn));de=(yn,Zn)=>{yn._setSelected(Ne.indexOf(Zn.toString())>-1)}}else de=(Ne,yn)=>{Ne._setSelected(!1)};
1this._optionMap.forEach(de)}registerOnChange(F){this.onChange=de=>{const Ne=[],yn=de.selectedOptions;if(void 0!==yn){const Zn=yn;for(let Bs=0;Bs<Zn.length;Bs++){const or=this._getOptionValue(Zn[Bs].value);Ne.push(or)}}else{const Zn=de.options;for(let Bs=0;Bs<Zn.length;Bs++){const Cr=Zn[Bs];if(Cr.selected){const or=this._getOptionValue(Cr.value);Ne.push(or)}}}this.value=Ne,F(Ne)}}_registerOption(F){const de=(this._idCounter++).toString();return this._optionMap.set(de,F),de}_getOptionId(F){for(const de of this._optionMap.keys())if(this._compareWith(this._optionMap.get(de)._value,F))return de;return null}_getOptionValue(F){const de=function Oe(V){return V.split(":")[0]}(F);return this._optionMap.has(de)?this._optionMap.get(de)._value:F}static{this.\u0275fac=function(){let F;return function(Ne){return(F||(F=i.xGo(V)))(Ne||V)}}()}static{this.\u0275dir=i.FsC({type:V,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(de,Ne){1&de&&i.bIt("change",function(Zn){return Ne.onChange(Zn.target)})("blur",function(){return Ne.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Jv_([Se]),i.Vt3]})}}return V})(),Jt=(()=>{class V{constructor(F,de,Ne){this._element=F,this._renderer=de,this._select=Ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(F){null!=this._select&&(this._value=F,this._setElementValue(ce(this.id,F)),this._select.writeValue(this._select.value))}set value(F){this._select?(this._value=F,this._setElementValue(ce(this.id,F)),this._select.writeValue(this._select.value)):this._setElementValue(F)}_setElementValue(F){this._renderer.setProperty(this._element.nativeElement,"value",F)}_setSelected(F){this._renderer.setProperty(this._element.nativeElement,"selected",F)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(de){return new(de||V)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(kt,9))}}static{this.\u0275dir=i.FsC({type:V,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return V})();let kn=(()=>{class V{constructor(){this._validator=Te}ngOnChanges(F){if(this.inputName in F){const de=this.normalizeInput(F[this.inputName].currentValue);this._enabled=this.enabled(de),this._validator=this._enabled?this.createValidator(de):Te,this._onChange&&this._onChange()}}validate(F){return this._validator(F)}registerOnValidatorChange(F){this._onChange=F}enabled(F){return null!=F}static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275dir=i.FsC({type:V,features:[i.OA$]})}}return V})();const Fi={provide:Fe,useExisting:(0,i.Rfq)(()=>ks),multi:!0};let ks=(()=>{class V extends kn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=F=>function Mn(V){return"number"==typeof V?V:parseInt(V,10)}(F),this.createValidator=F=>function Pt(V){return Y=>function xe(V){return null!=V&&"number"==typeof V.length}(Y.value)&&Y.value.length>V?{maxlength:{requiredLength:V,actualLength:Y.value.length}}:null}(F)}static{this.\u0275fac=function(){let F;return function(Ne){return(F||(F=i.xGo(V)))(Ne||V)}}()}static{this.\u0275dir=i.FsC({type:V,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(de,Ne){2&de&&i.BMQ("maxlength",Ne._enabled?Ne.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Jv_([Fi]),i.Vt3]})}}return V})(),Hi=(()=>{class V{static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275mod=i.$C({type:V})}static{this.\u0275inj=i.G2t({imports:[pa]})}}return V})();class po extends Qt{constructor(Y,F,de){super(ue(F),st(de,F)),this.controls=Y,this._initObservables(),this._setUpdateStrategy(F),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Y){return this.controls[this._adjustIndex(Y)]}push(Y,F={}){this.controls.push(Y),this._registerControl(Y),this.updateValueAndValidity({emitEvent:F.emitEvent}),this._onCollectionChange()}insert(Y,F,de={}){this.controls.splice(Y,0,F),this._registerControl(F),this.updateV
1alueAndValidity({emitEvent:de.emitEvent})}removeAt(Y,F={}){let de=this._adjustIndex(Y);de<0&&(de=0),this.controls[de]&&this.controls[de]._registerOnCollectionChange(()=>{}),this.controls.splice(de,1),this.updateValueAndValidity({emitEvent:F.emitEvent})}setControl(Y,F,de={}){let Ne=this._adjustIndex(Y);Ne<0&&(Ne=0),this.controls[Ne]&&this.controls[Ne]._registerOnCollectionChange(()=>{}),this.controls.splice(Ne,1),F&&(this.controls.splice(Ne,0,F),this._registerControl(F)),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Y,F={}){en(this,0,Y),Y.forEach((de,Ne)=>{Bt(this,!1,Ne),this.at(Ne).setValue(de,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F)}patchValue(Y,F={}){null!=Y&&(Y.forEach((de,Ne)=>{this.at(Ne)&&this.at(Ne).patchValue(de,{onlySelf:!0,emitEvent:F.emitEvent})}),this.updateValueAndValidity(F))}reset(Y=[],F={}){this._forEachChild((de,Ne)=>{de.reset(Y[Ne],{onlySelf:!0,emitEvent:F.emitEvent})}),this._updatePristine(F),this._updateTouched(F),this.updateValueAndValidity(F)}getRawValue(){return this.controls.map(Y=>Y.getRawValue())}clear(Y={}){this.controls.length<1||(this._forEachChild(F=>F._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Y.emitEvent}))}_adjustIndex(Y){return Y<0?Y+this.length:Y}_syncPendingControls(){let Y=this.controls.reduce((F,de)=>!!de._syncPendingControls()||F,!1);return Y&&this.updateValueAndValidity({onlySelf:!0}),Y}_forEachChild(Y){this.controls.forEach((F,de)=>{Y(F,de)})}_updateValue(){this.value=this.controls.filter(Y=>Y.enabled||this.disabled).map(Y=>Y.value)}_anyControls(Y){return this.controls.some(F=>F.enabled&&Y(F))}_setUpControls(){this._forEachChild(Y=>this._registerControl(Y))}_allControlsDisabled(){for(const Y of this.controls)if(Y.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Y){Y.setParent(this),Y._registerOnCollectionChange(this._onCollectionChange)}_find(Y){return this.at(Y)??null}}function js(V){return!!V&&(void 0!==V.asyncValidators||void 0!==V.validators||void 0!==V.updateOn)}let zo=(()=>{class V{constructor(){this.useNonNullable=!1}get nonNullable(){const F=new V;return F.useNonNullable=!0,F}group(F,de=null){const Ne=this._reduceControls(F);let yn={};return js(de)?yn=de:null!==de&&(yn.validators=de.validator,yn.asyncValidators=de.asyncValidator),new qe(Ne,yn)}record(F,de=null){const Ne=this._reduceControls(F);return new Re(Ne,de)}control(F,de,Ne){let yn={};return this.useNonNullable?(js(de)?yn=de:(yn.validators=de,yn.asyncValidators=Ne),new os(F,{...yn,nonNullable:!0})):new os(F,de,Ne)}array(F,de,Ne){const yn=F.map(Zn=>this._createControl(Zn));return new po(yn,de,Ne)}_reduceControls(F){const de={};return Object.keys(F).forEach(Ne=>{de[Ne]=this._createControl(F[Ne])}),de}_createControl(F){return F instanceof os||F instanceof Qt?F:Array.isArray(F)?this.control(F[0],F.length>1?F[1]:null,F.length>2?F[2]:null):this.control(F)}static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275prov=i.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})(),Vs=(()=>{class V{static withConfig(F){return{ngModule:V,providers:[{provide:At,useValue:F.callSetDisabledState??Ht}]}}static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275mod=i.$C({type:V})}static{this.\u0275inj=i.G2t({imports:[Hi]})}}return V})(),fo=(()=>{class V{static withConfig(F){return{ngModule:V,providers:[{provide:zi,useValue:F.warnOnNgModelWithFormControl??"always"},{provide:At,useValue:F.callSetDisabledState??Ht}]}}static{this.\u0275fac=function(de){return new(de||V)}}static{this.\u0275mod=i.$C({type:V})}static{this.\u0275inj=i.G2t({imports:[Hi]})}}return V})()},345:(Ot,ke,w)=>{"use strict";w.d(ke,{B7:()=>_t,Bb:()=>lt,W8:()=>Hn,hE:()=>bs,sG:()=>un,up:()=>Ni});var i=w(7705),e=w(177);class ee extends e.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends ee{static makeCurrent(){(0,e.ZD)(new K)}onAndCancel(Qe,he,Re){return Qe.addEventListener(he,Re),()=>{Qe.removeEventListener(he,Re)}}dispatchEvent(Qe,he){Qe.dispatchEvent(he)}remove(Qe){Qe.parentNode&&Qe.parentNode.removeChild(Qe)}
1createElement(Qe,he){return(he=he||this.getDefaultDocument()).createElement(Qe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Qe){return Qe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Qe){return Qe instanceof DocumentFragment}getGlobalEventTarget(Qe,he){return"window"===he?window:"document"===he?Qe:"body"===he?Qe.body:null}getBaseHref(Qe){const he=function Z(){return ae=ae||document.querySelector("base"),ae?ae.getAttribute("href"):null}();return null==he?null:function z(qe){$=$||document.createElement("a"),$.setAttribute("href",qe);const Qe=$.pathname;return"/"===Qe.charAt(0)?Qe:`/${Qe}`}(he)}resetBaseElement(){ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(Qe){return(0,e._b)(document.cookie,Qe)}}let $,ae=null,W=(()=>{class qe{build(){return new XMLHttpRequest}static{this.\u0275fac=function(Re){return new(Re||qe)}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();const ge=new i.nKC("EventManagerPlugins");let J=(()=>{class qe{constructor(he,Re){this._zone=Re,this._eventNameToPlugin=new Map,he.forEach(pt=>{pt.manager=this}),this._plugins=he.slice().reverse()}addEventListener(he,Re,pt){return this._findPluginFor(Re).addEventListener(he,Re,pt)}getZone(){return this._zone}_findPluginFor(he){let Re=this._eventNameToPlugin.get(he);if(Re)return Re;if(Re=this._plugins.find(At=>At.supports(he)),!Re)throw new i.wOt(5101,!1);return this._eventNameToPlugin.set(he,Re),Re}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(ge),i.KVO(i.SKi))}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();class Be{constructor(Qe){this._doc=Qe}}const pe="ng-app-id";let ze=(()=>{class qe{constructor(he,Re,pt,At={}){this.doc=he,this.appId=Re,this.nonce=pt,this.platformId=At,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,e.Vy)(At),this.resetHostNodes()}addStyles(he){for(const Re of he)1===this.changeUsageCount(Re,1)&&this.onStyleAdded(Re)}removeStyles(he){for(const Re of he)this.changeUsageCount(Re,-1)<=0&&this.onStyleRemoved(Re)}ngOnDestroy(){const he=this.styleNodesInDOM;he&&(he.forEach(Re=>Re.remove()),he.clear());for(const Re of this.getAllStyles())this.onStyleRemoved(Re);this.resetHostNodes()}addHost(he){this.hostNodes.add(he);for(const Re of this.getAllStyles())this.addStyleToHost(he,Re)}removeHost(he){this.hostNodes.delete(he)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(he){for(const Re of this.hostNodes)this.addStyleToHost(Re,he)}onStyleRemoved(he){const Re=this.styleRef;Re.get(he)?.elements?.forEach(pt=>pt.remove()),Re.delete(he)}collectServerRenderedStyles(){const he=this.doc.head?.querySelectorAll(`style[${pe}="${this.appId}"]`);if(he?.length){const Re=new Map;return he.forEach(pt=>{null!=pt.textContent&&Re.set(pt.textContent,pt)}),Re}return null}changeUsageCount(he,Re){const pt=this.styleRef;if(pt.has(he)){const At=pt.get(he);return At.usage+=Re,At.usage}return pt.set(he,{usage:Re,elements:[]}),Re}getStyleElement(he,Re){const pt=this.styleNodesInDOM,At=pt?.get(Re);if(At?.parentNode===he)return pt.delete(Re),At.removeAttribute(pe),At;{const Ht=this.doc.createElement("style");return this.nonce&&Ht.setAttribute("nonce",this.nonce),Ht.textContent=Re,this.platformIsServer&&Ht.setAttribute(pe,this.appId),Ht}}addStyleToHost(he,Re){const pt=this.getStyleElement(he,Re);he.appendChild(pt);const At=this.styleRef,Ht=At.get(Re)?.elements;Ht?Ht.push(pt):At.set(Re,{elements:[pt],usage:1})}resetHostNodes(){const he=this.hostNodes;he.clear(),he.add(this.doc.head)}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ),i.KVO(i.sZ2),i.KVO(i.BIS,8),i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();const xe={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/"},Fe=/%COMP%/g,H=new i.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Le(qe,Qe){return Qe.map(he=>he.replace(Fe,qe))}let _t=(()=>{class qe{constructor(he,Re,pt,At,Ht,Wn,pn,Sn=null){this.eventManager=he,this.sharedStylesHost=Re,this.appId=pt,this.removeStylesOnCompDestroy=At,this.doc=Ht,this.platformId=Wn,this.ngZone=pn,this.nonce=Sn,this.rendererByCompId=new Map,this.platformIsServer=(0,e.Vy)(Wn),this.defaultRenderer=new Pt(he,Ht,pn,this.platformIsServer)}createRenderer(he,Re){if(!he||!Re)return this.defaultRenderer;this.platformIsServer&&Re.encapsulation===i.gXe.ShadowDom&&(Re={...Re,encapsulation:i.gXe.Emulated});const pt=this.getOrCreateRenderer(he,Re);return pt instanceof gt?pt.applyToHost(he):pt instanceof Xt&&pt.applyStyles(),pt}getOrCreateRenderer(he,Re){const pt=this.rendererByCompId;let At=pt.get(Re.id);if(!At){const Ht=this.doc,Wn=this.ngZone,pn=this.eventManager,Sn=this.sharedStylesHost,Wi=this.removeStylesOnCompDestroy,As=this.platformIsServer;switch(Re.encapsulation){case i.gXe.Emulated:At=new gt(pn,Sn,Re,this.appId,Wi,Ht,Wn,As);break;case i.gXe.ShadowDom:return new ht(pn,Sn,he,Re,Ht,Wn,this.nonce,As);default:At=new Xt(pn,Sn,Re,Wi,Ht,Wn,As)}pt.set(Re.id,At)}return At}
1ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(J),i.KVO(ze),i.KVO(i.sZ2),i.KVO(H),i.KVO(e.qQ),i.KVO(i.Agw),i.KVO(i.SKi),i.KVO(i.BIS))}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();class Pt{constructor(Qe,he,Re,pt){this.eventManager=Qe,this.doc=he,this.ngZone=Re,this.platformIsServer=pt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Qe,he){return he?this.doc.createElementNS(xe[he]||he,Qe):this.doc.createElement(Qe)}createComment(Qe){return this.doc.createComment(Qe)}createText(Qe){return this.doc.createTextNode(Qe)}appendChild(Qe,he){(mt(Qe)?Qe.content:Qe).appendChild(he)}insertBefore(Qe,he,Re){Qe&&(mt(Qe)?Qe.content:Qe).insertBefore(he,Re)}removeChild(Qe,he){Qe&&Qe.removeChild(he)}selectRootElement(Qe,he){let Re="string"==typeof Qe?this.doc.querySelector(Qe):Qe;if(!Re)throw new i.wOt(-5104,!1);return he||(Re.textContent=""),Re}parentNode(Qe){return Qe.parentNode}nextSibling(Qe){return Qe.nextSibling}setAttribute(Qe,he,Re,pt){if(pt){he=pt+":"+he;const At=xe[pt];At?Qe.setAttributeNS(At,he,Re):Qe.setAttribute(he,Re)}else Qe.setAttribute(he,Re)}removeAttribute(Qe,he,Re){if(Re){const pt=xe[Re];pt?Qe.removeAttributeNS(pt,he):Qe.removeAttribute(`${Re}:${he}`)}else Qe.removeAttribute(he)}addClass(Qe,he){Qe.classList.add(he)}removeClass(Qe,he){Qe.classList.remove(he)}setStyle(Qe,he,Re,pt){pt&(i.czy.DashCase|i.czy.Important)?Qe.style.setProperty(he,Re,pt&i.czy.Important?"important":""):Qe.style[he]=Re}removeStyle(Qe,he,Re){Re&i.czy.DashCase?Qe.style.removeProperty(he):Qe.style[he]=""}setProperty(Qe,he,Re){Qe[he]=Re}setValue(Qe,he){Qe.nodeValue=he}listen(Qe,he,Re){if("string"==typeof Qe&&!(Qe=(0,e.QT)().getGlobalEventTarget(this.doc,Qe)))throw new Error(`Unsupported event target ${Qe} for event ${he}`);return this.eventManager.addEventListener(Qe,he,this.decoratePreventDefault(Re))}decoratePreventDefault(Qe){return he=>{if("__ngUnwrap__"===he)return Qe;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Qe(he)):Qe(he))&&he.preventDefault()}}}function mt(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class ht extends Pt{constructor(Qe,he,Re,pt,At,Ht,Wn,pn){super(Qe,At,Ht,pn),this.sharedStylesHost=he,this.hostEl=Re,this.shadowRoot=Re.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Sn=Le(pt.id,pt.styles);for(const Wi of Sn){const As=document.createElement("style");Wn&&As.setAttribute("nonce",Wn),As.textContent=Wi,this.shadowRoot.appendChild(As)}}nodeOrShadowRoot(Qe){return Qe===this.hostEl?this.shadowRoot:Qe}appendChild(Qe,he){return super.appendChild(this.nodeOrShadowRoot(Qe),he)}insertBefore(Qe,he,Re){return super.insertBefore(this.nodeOrShadowRoot(Qe),he,Re)}removeChild(Qe,he){return super.removeChild(this.nodeOrShadowRoot(Qe),he)}parentNode(Qe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Qe)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xt extends Pt{constructor(Qe,he,Re,pt,At,Ht,Wn,pn){super(Qe,At,Ht,Wn),this.sharedStylesHost=he,this.removeStylesOnCompDestroy=pt,this.styles=pn?Le(pn,Re.styles):Re.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class gt extends Xt{constructor(Qe,he,Re,pt,At,Ht,Wn,pn){const Sn=pt+"-"+Re.id;super(Qe,he,Re,At,Ht,Wn,pn,Sn),this.contentAttr=function ie(qe){return"_ngcontent-%COMP%".replace(Fe,qe)}(Sn),this.hostAttr=function fe(qe){return"_nghost-%COMP%".replace(Fe,qe)}(Sn)}applyToHost(Qe){this.applyStyles(),this.setAttribute(Qe,this.hostAttr,"")}createElement(Qe,he){const Re=super.createElement(Qe,he);return super.setAttribute(Re,this.contentAttr,""),Re}}let gn=(()=>{class qe extends Be{constructor(he){super(he)}supports(he){return!0}addEventListener(he,Re,pt){return he.addEventListener(Re,pt,!1),()=>this.removeEventListener(he,Re,pt)}removeEventListener(he,Re,pt){return he.removeEventListener(Re,pt)}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ))}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();const Je=["alt","control","meta","shift"],ve={"\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"},te={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let me=(()=>{class qe extends Be{constructor(he){super(he)}supports(he){return null!=qe.parseEventName(he)}addEventListener(he,Re,pt){const At=qe.parseEventName(Re),Ht=qe.eventCallback(At.fullKey,pt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.QT)().onAndCancel(he,At.domEventName,Ht))}static parseEventName(he){const Re=he.toLowerCase().split("."),pt=Re.shift();if(0===Re.length||"keydown"!==pt&&"keyup"!==pt)return null;const At=qe._normalizeKey(Re.pop());let Ht="",Wn=Re.indexOf("code");if(Wn>
1-1&&(Re.splice(Wn,1),Ht="code."),Je.forEach(Sn=>{const Wi=Re.indexOf(Sn);Wi>-1&&(Re.splice(Wi,1),Ht+=Sn+".")}),Ht+=At,0!=Re.length||0===At.length)return null;const pn={};return pn.domEventName=pt,pn.fullKey=Ht,pn}static matchEventFullKeyCode(he,Re){let pt=ve[he.key]||he.key,At="";return Re.indexOf("code.")>-1&&(pt=he.code,At="code."),!(null==pt||!pt)&&(pt=pt.toLowerCase()," "===pt?pt="space":"."===pt&&(pt="dot"),Je.forEach(Ht=>{Ht!==pt&&(0,te[Ht])(he)&&(At+=Ht+".")}),At+=pt,At===Re)}static eventCallback(he,Re,pt){return At=>{qe.matchEventFullKeyCode(At,he)&&pt.runGuarded(()=>Re(At))}}static _normalizeKey(he){return"esc"===he?"escape":he}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ))}}static{this.\u0275prov=i.jDH({token:qe,factory:qe.\u0275fac})}}return qe})();const un=(0,i.oH4)(i.fpN,"browser",[{provide:i.Agw,useValue:e.AJ},{provide:i.PLl,useValue:function Ge(){K.makeCurrent()},multi:!0},{provide:e.qQ,useFactory:function ut(){return(0,i.TL$)(document),document},deps:[]}]),We=new i.nKC(""),yt=[{provide:i.e01,useClass:class le{addToWindow(Qe){i.JZv.getAngularTestability=(Re,pt=!0)=>{const At=Qe.findTestabilityInTree(Re,pt);if(null==At)throw new i.wOt(5103,!1);return At},i.JZv.getAllAngularTestabilities=()=>Qe.getAllTestabilities(),i.JZv.getAllAngularRootElements=()=>Qe.getAllRootElements(),i.JZv.frameworkStabilizers||(i.JZv.frameworkStabilizers=[]),i.JZv.frameworkStabilizers.push(Re=>{const pt=i.JZv.getAllAngularTestabilities();let At=pt.length,Ht=!1;const Wn=function(pn){Ht=Ht||pn,At--,0==At&&Re(Ht)};pt.forEach(pn=>{pn.whenStable(Wn)})})}findTestabilityInTree(Qe,he,Re){return null==he?null:Qe.getTestability(he)??(Re?(0,e.QT)().isShadowRoot(he)?this.findTestabilityInTree(Qe,he.host,!0):this.findTestabilityInTree(Qe,he.parentElement,!0):null)}},deps:[]},{provide:i.WHO,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]},{provide:i.NYb,useClass:i.NYb,deps:[i.SKi,i.giA,i.e01]}],nt=[{provide:i.H8p,useValue:"root"},{provide:i.zcH,useFactory:function zt(){return new i.zcH},deps:[]},{provide:ge,useClass:gn,multi:!0,deps:[e.qQ,i.SKi,i.Agw]},{provide:ge,useClass:me,multi:!0,deps:[e.qQ]},_t,ze,J,{provide:i._9s,useExisting:_t},{provide:e.N0,useClass:W,deps:[]},[]];let lt=(()=>{class qe{constructor(he){}static withServerTransition(he){return{ngModule:qe,providers:[{provide:i.sZ2,useValue:he.appId}]}}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(We,12))}}static{this.\u0275mod=i.$C({type:qe})}static{this.\u0275inj=i.G2t({providers:[...nt,...yt],imports:[e.MD,i.Hbi]})}}return qe})(),Hn=(()=>{class qe{constructor(he){this._doc=he,this._dom=(0,e.QT)()}addTag(he,Re=!1){return he?this._getOrCreateElement(he,Re):null}addTags(he,Re=!1){return he?he.reduce((pt,At)=>(At&&pt.push(this._getOrCreateElement(At,Re)),pt),[]):[]}getTag(he){return he&&this._doc.querySelector(`meta[${he}]`)||null}getTags(he){if(!he)return[];const Re=this._doc.querySelectorAll(`meta[${he}]`);return Re?[].slice.call(Re):[]}updateTag(he,Re){if(!he)return null;Re=Re||this._parseSelector(he);const pt=this.getTag(Re);return pt?this._setMetaElementAttributes(he,pt):this._getOrCreateElement(he,!0)}removeTag(he){this.removeTagElement(this.getTag(he))}removeTagElement(he){he&&this._dom.remove(he)}_getOrCreateElement(he,Re=!1){if(!Re){const Ht=this._parseSelector(he),Wn=this.getTags(Ht).filter(pn=>this._containsAttributes(he,pn))[0];if(void 0!==Wn)return Wn}const pt=this._dom.createElement("meta");return this._setMetaElementAttributes(he,pt),this._doc.getElementsByTagName("head")[0].appendChild(pt),pt}_setMetaElementAttributes(he,Re){return Object.keys(he).forEach(pt=>Re.setAttribute(this._getMetaKeyMap(pt),he[pt])),Re}_parseSelector(he){const Re=he.name?"name":"property";return`${Re}="${he[Re]}"`}_containsAttributes(he,Re){return Object.keys(he).every(pt=>Re.getAttribute(this._getMetaKeyMap(pt))===he[pt])}_getMetaKeyMap(he){return Gn[he]||he}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ))}}static{this.\u0275prov=i.jDH({token:qe,factory:function(Re){let pt=null;return pt=Re?new Re:function Vt(){return new Hn((0,i.KVO)(e.qQ))}(),pt},providedIn:"root"})}}return qe})();const Gn={httpEquiv:"http-equiv"};let bs=(()=>{class qe{constructor(he){this._doc=he}getTitle(){return this._doc.title}setTitle(he){this._doc.title=he||""}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ))}}static{this.\u0275prov=i.jDH({token:qe,factory:function(Re){let pt=null;return pt=Re?new Re:function Ei(){return new bs((0,i.KVO)(e.qQ))}(),pt},providedIn:"root"})}}return qe})();typeof window<"u"&&window;let Ni=(()=>{class qe{static{this.\u0275fac=function(Re){return new(Re||qe)}}static{this.\u0275prov=i.jDH({token:qe,factory:function(Re){let pt=null;return pt=Re?new(Re||qe):i.KVO(xi),pt},providedIn:"root"})}}return qe})(),xi=(()=>{class qe extends Ni{constructor(he){super(),this._doc=he}sanitize(he,Re){if(null==Re)return null;switch(he){case i.WPN.NONE:return Re;case i.WPN.HTML:return(0,i.ZF7)(Re,"HTML")?(0,i.rcV)(Re):(0,i.h9k)(this._doc,String(Re)).toString();case i.WPN.STYLE:return(0,i.ZF7)(Re,"Style")?(0,i.rcV)(Re):Re;case i.WPN.SCRIPT:if((0,i.ZF7)(Re,"Script"))return(0,i.rcV)(Re);throw new i.wOt(5200,!1);case i.WPN.URL:return(0,i.ZF7)(Re,"URL")?(0,i.rcV)(Re):(0,i.$MX)(String(Re));case i.WPN.RESOURCE_URL:if((0,i.ZF7)(Re,"ResourceURL"))return(0,i.rcV)(Re);throw new i.wOt(5201,!1);default:throw new i.wOt(5202,!1)}}bypassSecurityTrustHtml(he){return(0,i.Kcf)(he)}bypassSecurityTrustStyle(he){return(0,i.cWb)(he)}bypassSecurityTrustScript(he){return(0,i.UyX)(he)}bypassSecurityTrustUrl(he){return(0,i.osQ)(he)}bypassSecurityTrustResourceUrl(he){return(0,i.e5t)(he)}static{this.\u0275fac=function(Re){return new(Re||qe)(i.KVO(e.qQ))}}static{this.\u0275prov=i.jDH({token:qe,factory:function(Re){let pt=null;return pt=Re?new Re:function sn(qe){return new xi(qe.get(e.qQ))}(i.KVO(i.zZn)),pt},providedIn:"root"})}}return qe})()},6497:(Ot,ke,w)=>{"use strict";w.d(ke,{nX:()=>gs,j5:()=>Ps,wF:()=>os,L6:()=>so,Z:()=>Ws,gx:()=>No,Ix:()=>To,Wk:()=>Ea,wQ:()=>ac,iI:()=>Vc,n3:()=>zn,ld:()=>er});var i=w(7705),e=w(4402),ee=w(2806),K=w(7673),ae=w(4412),Z=w(4572);const z=(0,w(1853).L)(D=>function(){D(this),this.name="EmptyError",this.message="no elements in sequence"});var le=w(8793),W=w(1985),ge=w(8750);function J(D){return new W.c(T=>{(0,ge.Tg)(D()).subscribe(T)})}
1var Be=w(1203),pe=w(8810),ze=w(983),xe=w(8359),Fe=w(9974),$e=w(4360);function it(){return(0,Fe.N)((D,T)=>{let P=null;D._refCount++;const I=(0,$e._)(T,void 0,void 0,void 0,()=>{if(!D||D._refCount<=0||0<--D._refCount)return void(P=null);const j=D._connection,oe=P;P=null,j&&(!oe||j===oe)&&j.unsubscribe(),T.unsubscribe()});D.subscribe(I),I.closed||(P=D.connect())})}class _e extends W.c{constructor(T,P){super(),this.source=T,this.subjectFactory=P,this._subject=null,this._refCount=0,this._connection=null,(0,Fe.S)(T)&&(this.lift=T.lift)}_subscribe(T){return this.getSubject().subscribe(T)}getSubject(){const T=this._subject;return(!T||T.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:T}=this;this._subject=this._connection=null,T?.unsubscribe()}connect(){let T=this._connection;if(!T){T=this._connection=new xe.yU;const P=this.getSubject();T.add(this.source.subscribe((0,$e._)(P,void 0,()=>{this._teardown(),P.complete()},I=>{this._teardown(),P.error(I)},()=>this._teardown()))),T.closed&&(this._connection=null,T=xe.yU.EMPTY)}return T}refCount(){return it()(this)}}var B=w(1413),H=w(177),ie=w(6354),fe=w(5558),Le=w(6697),_t=w(9172),Pt=w(5964),re=w(1397),Te=w(9901);function mt(D=ht){return(0,Fe.N)((T,P)=>{let I=!1;T.subscribe((0,$e._)(P,j=>{I=!0,P.next(j)},()=>I?P.complete():P.error(D())))})}function ht(){return new z}var Xt=w(3669);function gt(D,T){const P=arguments.length>=2;return I=>I.pipe(D?(0,Pt.p)((j,oe)=>D(j,oe,I)):Xt.D,(0,Le.s)(1),P?(0,Te.U)(T):mt(()=>new z))}var gn=w(274),Je=w(8141),ve=w(9437),te=w(2816);function me(D){return D<=0?()=>ze.w:(0,Fe.N)((T,P)=>{let I=[];T.subscribe((0,$e._)(P,j=>{I.push(j),D<I.length&&I.shift()},()=>{for(const j of I)P.next(j);P.complete()},void 0,()=>{I=null}))})}var Me=w(980),Ie=w(6977),Ge=w(6365),zt=w(345);const ut="primary",nn=Symbol("RouteTitle");class un{constructor(T){this.params=T||{}}has(T){return Object.prototype.hasOwnProperty.call(this.params,T)}get(T){if(this.has(T)){const P=this.params[T];return Array.isArray(P)?P[0]:P}return null}getAll(T){if(this.has(T)){const P=this.params[T];return Array.isArray(P)?P:[P]}return[]}get keys(){return Object.keys(this.params)}}function We(D){return new un(D)}function yt(D,T,P){const I=P.path.split("/");if(I.length>D.length||"full"===P.pathMatch&&(T.hasChildren()||I.length<D.length))return null;const j={};for(let oe=0;oe<I.length;oe++){const Ae=I[oe],vt=D[oe];if(Ae.startsWith(":"))j[Ae.substring(1)]=vt;else if(Ae!==vt.path)return null}return{consumed:D.slice(0,I.length),posParams:j}}function lt(D,T){const P=D?Object.keys(D):void 0,I=T?Object.keys(T):void 0;if(!P||!I||P.length!=I.length)return!1;let j;for(let oe=0;oe<P.length;oe++)if(j=P[oe],!Vt(D[j],T[j]))return!1;return!0}function Vt(D,T){if(Array.isArray(D)&&Array.isArray(T)){if(D.length!==T.length)return!1;const P=[...D].sort(),I=[...T].sort();return P.every((j,oe)=>I[oe]===j)}return D===T}function Hn(D){return D.length>0?D[D.length-1]:null}function Gn(D){return(0,e.A)(D)?D:(0,i.jNT)(D)?(0,ee.H)(Promise.resolve(D)):(0,K.of)(D)}const Ei={exact:function vn(D,T,P){if(!Kn(D.segments,T.segments)||!Os(D.segments,T.segments,P)||D.numberOfChildren!==T.numberOfChildren)return!1;for(const I in T.children)if(!D.children[I]||!vn(D.children[I],T.children[I],P))return!1;return!0},subset:ln},bs={exact:function pi(D,T){return lt(D,T)},subset:function Fn(D,T){return Object.keys(T).length<=Object.keys(D).length&&Object.keys(T).every(P=>Vt(D[P],T[P]))},ignored:()=>!0};function li(D,T,P){return Ei[P.paths](D.root,T.root,P.matrixParams)&&bs[P.queryParams](D.queryParams,T.queryParams)&&!("exact"===P.fragment&&D.fragment!==T.fragment)}function ln(D,T,P){return Oi(D,T,T.segments,P)}function Oi(D,T,P,I){if(D.segments.length>P.length){const j=D.segments.slice(0,P.length);return!(!Kn(j,P)||T.hasChildren()||!Os(j,P,I))}if(D.segments.length===P.length){if(!Kn(D.segments,P)||!Os(D.segments,P,I))return!1;for(const j in T.children)if(!D.children[j]||!ln(D.children[j],T.children[j],I))return!1;return!0}{const j=P.slice(0,D.segments.length),oe=P.slice(D.segments.length);return!!(Kn(D.segments,j)&&Os(D.segments,j,I)&&D.children[ut])&&Oi(D.children[ut],T,oe,I)}}function Os(D,T,P){return T.every((I,j)=>bs[P](D[j].parameters,I.parameters))}class Pi{constructor(T=new hn([],{}),P={},I=null){this.root=T,this.queryParams=P,this.fragment=I}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=We(this.queryParams)),this._queryParamMap}toString(){return Ri.serialize(this)}}class hn{constructor(T,P){this.segments=T,this.children=P,this.parent=null,Object.values(P).forEach(I=>I.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ni(this)}}class wi{constructor(T,P){this.path=T,this.parameters=P}get parameterMap(){return this._parameterMap||(this._parameterMap=We(this.parameters)),this._parameterMap}toString(){return Bt(this)}}function Kn(D,T){return D.length===T.length&&D.every((P,I)=>P.path===T[I].path)}let An=(()=>{class D{static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:function(){return new Gi},providedIn:"root"})}}return D})();class Gi{parse(T){const P=new pn(T);return new Pi(P.parseRootSegment(),P.parseQueryParams(),P.parseFragment())}serialize(T){const P=`/${sn(T.root,!0)}`,I=function Qt(D){const T=Object.keys(D).map(P=>{const I=D[P];return Array.isArray(I)?I.map(j=>`${ue(P)}=${ue(j)}`).join("&"):`${ue(P)}=${ue(I)}`}).filter(P=>!!P);return T.length?`?${T.join("&")}`:""}(T.queryParams);return`${P}${I}
1${"string"==typeof T.fragment?`#${function et(D){return encodeURI(D)}(T.fragment)}`:""}`}}const Ri=new Gi;function Ni(D){return D.segments.map(T=>Bt(T)).join("/")}function sn(D,T){if(!D.hasChildren())return Ni(D);if(T){const P=D.children[ut]?sn(D.children[ut],!1):"",I=[];return Object.entries(D.children).forEach(([j,oe])=>{j!==ut&&I.push(`${j}:${sn(oe,!1)}`)}),I.length>0?`${P}(${I.join("//")})`:P}{const P=function Ys(D,T){let P=[];return Object.entries(D.children).forEach(([I,j])=>{I===ut&&(P=P.concat(T(j,I)))}),Object.entries(D.children).forEach(([I,j])=>{I!==ut&&(P=P.concat(T(j,I)))}),P}(D,(I,j)=>j===ut?[sn(D.children[ut],!1)]:[`${j}:${sn(I,!1)}`]);return 1===Object.keys(D.children).length&&null!=D.children[ut]?`${Ni(D)}/${P[0]}`:`${Ni(D)}/(${P.join("//")})`}}function xi(D){return encodeURIComponent(D).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ue(D){return xi(D).replace(/%3B/gi,";")}function st(D){return xi(D).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rt(D){return decodeURIComponent(D)}function Tt(D){return rt(D.replace(/\+/g,"%20"))}function Bt(D){return`${st(D.path)}${function en(D){return Object.keys(D).map(T=>`;${st(T)}=${st(D[T])}`).join("")}(D.parameters)}`}const qe=/^[^\/()?;#]+/;function Qe(D){const T=D.match(qe);return T?T[0]:""}const he=/^[^\/()?;=#]+/,pt=/^[^=?&#]+/,Ht=/^[^&#]+/;class pn{constructor(T){this.url=T,this.remaining=T}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new hn([],{}):new hn([],this.parseChildren())}parseQueryParams(){const T={};if(this.consumeOptional("?"))do{this.parseQueryParam(T)}while(this.consumeOptional("&"));return T}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const T=[];for(this.peekStartsWith("(")||T.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),T.push(this.parseSegment());let P={};this.peekStartsWith("/(")&&(this.capture("/"),P=this.parseParens(!0));let I={};return this.peekStartsWith("(")&&(I=this.parseParens(!1)),(T.length>0||Object.keys(P).length>0)&&(I[ut]=new hn(T,P)),I}parseSegment(){const T=Qe(this.remaining);if(""===T&&this.peekStartsWith(";"))throw new i.wOt(4009,!1);return this.capture(T),new wi(rt(T),this.parseMatrixParams())}parseMatrixParams(){const T={};for(;this.consumeOptional(";");)this.parseParam(T);return T}parseParam(T){const P=function Re(D){const T=D.match(he);return T?T[0]:""}(this.remaining);if(!P)return;this.capture(P);let I="";if(this.consumeOptional("=")){const j=Qe(this.remaining);j&&(I=j,this.capture(I))}T[rt(P)]=rt(I)}parseQueryParam(T){const P=function At(D){const T=D.match(pt);return T?T[0]:""}(this.remaining);if(!P)return;this.capture(P);let I="";if(this.consumeOptional("=")){const Ae=function Wn(D){const T=D.match(Ht);return T?T[0]:""}(this.remaining);Ae&&(I=Ae,this.capture(I))}const j=Tt(P),oe=Tt(I);if(T.hasOwnProperty(j)){let Ae=T[j];Array.isArray(Ae)||(Ae=[Ae],T[j]=Ae),Ae.push(oe)}else T[j]=oe}parseParens(T){const P={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const I=Qe(this.remaining),j=this.remaining[I.length];if("/"!==j&&")"!==j&&";"!==j)throw new i.wOt(4010,!1);let oe;I.indexOf(":")>-1?(oe=I.slice(0,I.indexOf(":")),this.capture(oe),this.capture(":")):T&&(oe=ut);const Ae=this.parseChildren();P[oe]=1===Object.keys(Ae).length?Ae[ut]:new hn([],Ae),this.consumeOptional("//")}return P}peekStartsWith(T){return this.remaining.startsWith(T)}consumeOptional(T){return!!this.peekStartsWith(T)&&(this.remaining=this.remaining.substring(T.length),!0)}capture(T){if(!this.consumeOptional(T))throw new i.wOt(4011,!1)}}function Sn(D){return D.segments.length>0?new hn([],{[ut]:D}):D}function Wi(D){const T={};for(const I of Object.keys(D.children)){const oe=Wi(D.children[I]);if(I===ut&&0===oe.segments.length&&oe.hasChildren())for(const[Ae,vt]of Object.entries(oe.children))T[Ae]=vt;else(oe.segments.length>0||oe.hasChildren())&&(T[I]=oe)}return function As(D){if(1===D.numberOfChildren&&D.children[ut]){const T=D.children[ut];return new hn(D.segments.concat(T.segments),T.children)}return D}(new hn(D.segments,T))}function at(D){return D instanceof Pi}function Xe(D){let T;const j=Sn(function P(oe){const Ae={};for(const Mt of oe.children){const fn=P(Mt);Ae[Mt.outlet]=fn}const vt=new hn(oe.url,Ae);return oe===D&&(T=vt),vt}(D.root));return T??j}function Dt(D,T,P,I){let j=D;for(;j.parent;)j=j.parent;if(0===T.length)return Gt(j,j,j,P,I);const oe=function Ii(D){if("string"==typeof D[0]&&1===D.length&&"/"===D[0])return new Rn(!0,0,D);let T=0,P=!1;const I=D.reduce((j,oe,Ae)=>{if("object"==typeof oe&&null!=oe){if(oe.outlets){const vt={};
1return Object.entries(oe.outlets).forEach(([Mt,fn])=>{vt[Mt]="string"==typeof fn?fn.split("/"):fn}),[...j,{outlets:vt}]}if(oe.segmentPath)return[...j,oe.segmentPath]}return"string"!=typeof oe?[...j,oe]:0===Ae?(oe.split("/").forEach((vt,Mt)=>{0==Mt&&"."===vt||(0==Mt&&""===vt?P=!0:".."===vt?T++:""!=vt&&j.push(vt))}),j):[...j,oe]},[]);return new Rn(P,T,I)}(T);if(oe.toRoot())return Gt(j,j,new hn([],{}),P,I);const Ae=function Ui(D,T,P){if(D.isAbsolute)return new Ji(T,!0,0);if(!P)return new Ji(T,!1,NaN);if(null===P.parent)return new Ji(P,!0,0);const I=Yt(D.commands[0])?0:1;return function hi(D,T,P){let I=D,j=T,oe=P;for(;oe>j;){if(oe-=j,I=I.parent,!I)throw new i.wOt(4005,!1);j=I.segments.length}return new Ji(I,!1,j-oe)}(P,P.segments.length-1+I,D.numberOfDoubleDots)}(oe,j,D),vt=Ae.processChildren?ri(Ae.segmentGroup,Ae.index,oe.commands):Gs(Ae.segmentGroup,Ae.index,oe.commands);return Gt(j,Ae.segmentGroup,vt,P,I)}function Yt(D){return"object"==typeof D&&null!=D&&!D.outlets&&!D.segmentPath}function qt(D){return"object"==typeof D&&null!=D&&D.outlets}function Gt(D,T,P,I,j){let Ae,oe={};I&&Object.entries(I).forEach(([Mt,fn])=>{oe[Mt]=Array.isArray(fn)?fn.map(Jn=>`${Jn}`):`${fn}`}),Ae=D===T?P:wn(D,T,P);const vt=Sn(Wi(Ae));
1return new Pi(vt,oe,j)}function wn(D,T,P){const I={};return Object.entries(D.children).forEach(([j,oe])=>{I[j]=oe===T?P:wn(oe,T,P)}),new hn(D.segments,I)}class Rn{constructor(T,P,I){if(this.isAbsolute=T,this.numberOfDoubleDots=P,this.commands=I,T&&I.length>0&&Yt(I[0]))throw new i.wOt(4003,!1);const j=I.find(qt);if(j&&j!==Hn(I))throw new i.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ji{constructor(T,P,I){this.segmentGroup=T,this.processChildren=P,this.index=I}}function Gs(D,T,P){if(D||(D=new hn([],{})),0===D.segments.length&&D.hasChildren())return ri(D,T,P);const I=function Mi(D,T,P){let I=0,j=T;const oe={match:!1,pathIndex:0,commandIndex:0};for(;j<D.segments.length;){if(I>=P.length)return oe;const Ae=D.segments[j],vt=P[I];if(qt(vt))break;const Mt=`${vt}`,fn=I<P.length-1?P[I+1]:null;if(j>0&&void 0===Mt)break;if(Mt&&fn&&"object"==typeof fn&&void 0===fn.outlets){if(!is(Mt,fn,Ae))return oe;I+=2}else{if(!is(Mt,{},Ae))return oe;I++}j++}return{match:!0,pathIndex:j,commandIndex:I}}(D,T,P),j=P.slice(I.commandIndex);if(I.match&&I.pathIndex<D.segments.length){const oe=new hn(D.segments.slice(0,I.pathIndex),{});return oe.children[ut]=new hn(D.segments.slice(I.pathIndex),D.children),ri(oe,0,j)}return I.match&&0===j.length?new hn(D.segments,{}):I.match&&!D.hasChildren()?xs(D,T,P):I.match?ri(D,0,j):xs(D,T,P)}function ri(D,T,P){if(0===P.length)return new hn(D.segments,{});{const I=function Zs(D){return qt(D[0])?D[0].outlets:{[ut]:D}}(P),j={};if(Object.keys(I).some(oe=>oe!==ut)&&D.children[ut]&&1===D.numberOfChildren&&0===D.children[ut].segments.length){const oe=ri(D.children[ut],T,P);return new hn(D.segments,oe.children)}return Object.entries(I).forEach(([oe,Ae])=>{"string"==typeof Ae&&(Ae=[Ae]),null!==Ae&&(j[oe]=Gs(D.children[oe],T,Ae))}),Object.entries(D.children).forEach(([oe,Ae])=>{void 0===I[oe]&&(j[oe]=Ae)}),new hn(D.segments,j)}}function xs(D,T,P){const I=D.segments.slice(0,T);let j=0;for(;j<P.length;){const oe=P[j];if(qt(oe)){const Mt=wo(oe.outlets);return new hn(I,Mt)}if(0===j&&Yt(P[0])){I.push(new wi(D.segments[T].path,Si(P[0]))),j++;continue}const Ae=qt(oe)?oe.outlets[ut]:`${oe}`,vt=j<P.length-1?P[j+1]:null;Ae&&vt&&Yt(vt)?(I.push(new wi(Ae,Si(vt))),j+=2):(I.push(new wi(Ae,{})),j++)}return new hn(I,{})}function wo(D){const T={};return Object.entries(D).forEach(([P,I])=>{"string"==typeof I&&(I=[I]),null!==I&&(T[P]=xs(new hn([],{}),0,I))}),T}function Si(D){const T={};return Object.entries(D).forEach(([P,I])=>T[P]=`${I}`),T}function is(D,T,P){return D==P.path&&lt(T,P.parameters)}const Rs="imperative";class ss{constructor(T,P){this.id=T,this.url=P}}class Ws extends ss{constructor(T,P,I="imperative",j=null){super(T,P),this.type=0,this.navigationTrigger=I,this.restoredState=j}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class os extends ss{constructor(T,P,I){super(T,P),this.urlAfterRedirects=I,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ps extends ss{constructor(T,P,I,j){super(T,P),this.reason=I,this.code=j,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rs extends ss{constructor(T,P,I,j){super(T,P),this.reason=I,this.code=j,this.type=16}}class so extends ss{constructor(T,P,I,j){super(T,P),this.error=I,this.target=j,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class er extends ss{constructor(T,P,I,j){super(T,P),this.urlAfterRedirects=I,this.state=j,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Er extends ss{constructor(T,P,I,j){super(T,P),this.urlAfterRedirects=I,this.state=j,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xr extends ss{constructor(T,P,I,j,oe){super(T,P),this.urlAfterRedirects=I,this.state=j,this.shouldActivate=oe,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ro extends ss{constructor(T,P,I,j){super(T,P),this.urlAfterRedirects=I,this.state=j,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class No extends ss{constructor(T,P,I,j){super(T,P),this.urlAfterRedirects=I,this.state=j,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ns{constructor(T){this.route=T,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class tr{constructor(T){this.route=T,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xr{constructor(T){this.snapshot=T,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zs{constructor(T){this.snapshot=T,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gr{constructor(T){this.snapshot=T,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class jr{constructor(T){this.snapshot=T,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Po{constructor(T,P,I){this.routerEvent=T,this.position=P,this.anchor=I,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Wo{}class nr{constructor(T){this.url=T}}class lo{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new co,this.attachRef=null}}let co=(()=>{class D{constructor(){this.contexts=new Map}onChildOutletCreated(P,I){const j=this.getOrCreateContext(P);j.outlet=I,this.contexts.set(P,j)}onChildOutletDestroyed(P){const I=this.getContext(P);I&&(I.outlet=null,I.attachRef=null)}onOutletDeactivated(){const P=this.contexts;return this.contexts=new Map,P}onOutletReAttached(P){this.contexts=P}getOrCreateContext(P){let I=this.getContext(P);return I||(I=new lo,this.contexts.set(P,I)),I}getContext(P){return this.contexts.get(P)||null}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();
1class no{constructor(T){this._root=T}get root(){return this._root.value}parent(T){const P=this.pathFromRoot(T);return P.length>1?P[P.length-2]:null}children(T){const P=ti(T,this._root);return P?P.children.map(I=>I.value):[]}firstChild(T){const P=ti(T,this._root);return P&&P.children.length>0?P.children[0].value:null}siblings(T){const P=zi(T,this._root);return P.length<2?[]:P[P.length-2].children.map(j=>j.value).filter(j=>j!==T)}pathFromRoot(T){return zi(T,this._root).map(P=>P.value)}}function ti(D,T){if(D===T.value)return T;for(const P of T.children){const I=ti(D,P);if(I)return I}return null}function zi(D,T){if(D===T.value)return[T];for(const P of T.children){const I=zi(D,P);if(I.length)return I.unshift(T),I}return[]}class Xi{constructor(T,P){this.value=T,this.children=P}toString(){return`TreeNode(${this.value})`}}function Ls(D){const T={};return D&&D.children.forEach(P=>T[P.value.outlet]=P),T}class Xs extends no{constructor(T,P){super(T),this.snapshot=P,Nn(this,T)}toString(){return this.snapshot.toString()}}function Lo(D,T){const P=function fa(D,T){const Ae=new Ti([],{},{},"",{},ut,T,null,{});return new on("",new Xi(Ae,[]))}(0,T),I=new ae.t([new wi("",{})]),j=new ae.t({}),oe=new ae.t({}),Ae=new ae.t({}),vt=new ae.t(""),Mt=new gs(I,j,Ae,vt,oe,ut,T,P.root);return Mt.snapshot=P.root,new Xs(new Xi(Mt,[]),P)}class gs{constructor(T,P,I,j,oe,Ae,vt,Mt){this.urlSubject=T,this.paramsSubject=P,this.queryParamsSubject=I,this.fragmentSubject=j,this.dataSubject=oe,this.outlet=Ae,this.component=vt,this._futureSnapshot=Mt,this.title=this.dataSubject?.pipe((0,ie.T)(fn=>fn[nn]))??(0,K.of)(void 0),this.url=T,this.params=P,this.queryParams=I,this.fragment=j,this.data=oe}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,ie.T)(T=>We(T)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ie.T)(T=>We(T)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vr(D,T="emptyOnly"){const P=D.pathFromRoot;let I=0;if("always"!==T)for(I=P.length-1;I>=1;){const j=P[I],oe=P[I-1];if(j.routeConfig&&""===j.routeConfig.path)I--;else{if(oe.component)break;I--}}return function mr(D){return D.reduce((T,P)=>({params:{...T.params,...P.params},data:{...T.data,...P.data},resolve:{...P.data,...T.resolve,...P.routeConfig?.data,...P._resolvedData}}),{params:{},data:{},resolve:{}})}(P.slice(I))}class Ti{get title(){return this.data?.[nn]}constructor(T,P,I,j,oe,Ae,vt,Mt,fn){this.url=T,this.params=P,this.queryParams=I,this.fragment=j,this.data=oe,this.outlet=Ae,this.component=vt,this.routeConfig=Mt,this._resolve=fn}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=We(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=We(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(I=>I.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class on extends no{constructor(T,P){super(P),this.url=T,Nn(this,P)}toString(){return Li(this._root)}}function Nn(D,T){T.value._routerState=D,T.children.forEach(P=>Nn(D,P))}function Li(D){const T=D.children.length>0?` { ${D.children.map(Li).join(", ")} } `:"";return`${D.value}${T}`}function Ss(D){if(D.snapshot){const T=D.snapshot,P=D._futureSnapshot;D.snapshot=P,lt(T.queryParams,P.queryParams)||D.queryParamsSubject.next(P.queryParams),T.fragment!==P.fragment&&D.fragmentSubject.next(P.fragment),lt(T.params,P.params)||D.paramsSubject.next(P.params),function nt(D,T){if(D.length!==T.length)return!1;for(let P=0;P<D.length;++P)if(!lt(D[P],T[P]))return!1;return!0}(T.url,P.url)||D.urlSubject.next(P.url),lt(T.data,P.data)||D.dataSubject.next(P.data)}else D.snapshot=D._futureSnapshot,D.dataSubject.next(D._futureSnapshot.data)}function fi(D,T){const P=lt(D.params,T.params)&&function to(D,T){return Kn(D,T)&&D.every((P,I)=>lt(P.parameters,T[I].parameters))}(D.url,T.url);return P&&!(!D.parent!=!T.parent)&&(!D.parent||fi(D.parent,T.parent))}let zn=(()=>{class D{constructor(){this.activated=null,this._activatedRoute=null,this.name=ut,this.activateEvents=new i.bkB,this.deactivateEvents=new i.bkB,this.attachEvents=new i.bkB,this.detachEvents=new i.bkB,this.parentContexts=(0,i.WQX)(co),this.location=(0,i.WQX)(i.c1b),this.changeDetector=(0,i.WQX)(i.gRc),this.environmentInjector=(0,i.WQX)(i.uvJ),this.inputBinder=(0,i.WQX)(Se,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(P){if(P.name){const{firstChange:I,previousValue:j}=P.name;if(I)return;this.isTrackedInParentContexts(j)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(j)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(P){return this.parentContexts.getContext(P)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const P=this.parentContexts.getContext(this.name);P?.route&&(P.attachRef?this.attach(P.attachRef,P.route):this.activateWith(P.route,P.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.wOt(4012,!1);this.location.detach();const P=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(P.instance),P}attach(P,I){this.activated=P,this._activatedRoute=I,this.location.insert(P.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(P.instance)}deactivate(){if(this.activated){const P=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(P)}}activateWith(P,I){if(this.isActivated)throw new i.wOt(4013,!1);this._activatedRoute=P;const j=this.location,Ae=P.snapshot.component,vt=this.parentContexts.getOrCreateContext(this.name).children,Mt=new Q(P,vt,j.injector);this.activated=j.createComponent(Ae,{index:j.length,injector:Mt,environmentInjector:I??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275dir=i.FsC({type:D,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.OA$]})}}return D})();class Q{constructor(T,P,I){this.route=T,this.childContexts=P,this.parent=I}get(T,P){return T===gs?this.route:T===co?this.childContexts:this.parent.get(T,P)}}const Se=new i.nKC("");let ce=(()=>{class D{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(P){this.unsubscribeFromRouteData(P),this.subscribeToRouteData(P)}unsubscribeFromRouteData(P){this.outletDataSubscriptions.get(P)?.unsubscribe(),this.outletDataSubscriptions.delete(P)}subscribeToRouteData(P){const{activatedRoute:I}=P,j=(0,Z.z)([I.queryParams,I.params,I.data]).pipe((0,fe.n)(([oe,Ae,vt],Mt)=>(vt={...oe,...Ae,...vt},0===Mt?(0,K.of)(vt):Promise.resolve(vt)))).subscribe(oe=>{if(!P.isActivated||!P.activatedComponentRef||P.activatedRoute!==I||null===I.component)return void this.unsubscribeFromRouteData(P);const Ae=(0,i.HJs)(I.component);if(Ae)for(const{templateName:vt}of Ae.inputs)P.activatedComponentRef.setInput(vt,oe[vt]);else this.unsubscribeFromRouteData(P)});this.outletDataSubscriptions.set(P,j)}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac})}}return D})();function Ve(D,T,P){if(P&&D.shouldReuseRoute(T.value,P.value.snapshot)){const I=P.value;I._futureSnapshot=T.value;const j=function kt(D,T,P){return T.children.map(I=>{for(const j of P.children)if(D.shouldReuseRoute(I.value,j.value.snapshot))return Ve(D,I,j);return Ve(D,I)})}(D,T,P);return new Xi(I,j)}{if(D.shouldAttach(T.value)){const oe=D.retrieve(T.value);if(null!==oe){const Ae=oe.route;return Ae.value._futureSnapshot=T.value,Ae.children=T.children.map(vt=>Ve(D,vt)),Ae}}const I=function Jt(D){return new gs(new ae.t(D.url),new ae.t(D.params),new ae.t(D.queryParams),new ae.t(D.fragment),new ae.t(D.data),D.outlet,D.component,D)}(T.value),j=T.children.map(oe=>Ve(D,oe));return new Xi(I,j)}}const Mn="ngNavigationCancelingError";function Nt(D,T){const{redirectTo:P,navigationBehaviorOptions:I}=at(T)?{redirectTo:T,navigationBehaviorOptions:void 0}:T,j=kn(!1,0,T);return j.url=P,j.navigationBehaviorOptions=I,j}function kn(D,T,P){const I=new Error("NavigationCancelingError: "+(D||""));return I[Mn]=!0,I.cancellationCode=T,P&&(I.url=P),I}function gi(D){return D&&D[Mn]}let ji=(()=>{class D{static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275cmp=i.VBU({type:D,selectors:[["ng-component"]],standalone:!0,features:[i.aNF],decls:1,vars:0,template:function(I,j){1&I&&i.nrm(0,"router-outlet")},dependencies:[zn],encapsulation:2})}}return D})();function Fi(D){const T=D.children&&D.children.map(Fi),P=T?{...D,children:T}:{...D};return!P.component&&!P.loadComponent&&(T||P.loadChildren)&&P.outlet&&P.outlet!==ut&&(P.component=ji),P}function ks(D){return D.outlet||ut}function ms(D){if(!D)return null;
1if(D.routeConfig?._injector)return D.routeConfig._injector;for(let T=D.parent;T;T=T.parent){const P=T.routeConfig;if(P?._loadedInjector)return P._loadedInjector;if(P?._injector)return P._injector}return null}class Ln{constructor(T,P,I,j,oe){this.routeReuseStrategy=T,this.futureState=P,this.currState=I,this.forwardEvent=j,this.inputBindingEnabled=oe}activate(T){const P=this.futureState._root,I=this.currState?this.currState._root:null;this.deactivateChildRoutes(P,I,T),Ss(this.futureState.root),this.activateChildRoutes(P,I,T)}deactivateChildRoutes(T,P,I){const j=Ls(P);T.children.forEach(oe=>{const Ae=oe.value.outlet;this.deactivateRoutes(oe,j[Ae],I),delete j[Ae]}),Object.values(j).forEach(oe=>{this.deactivateRouteAndItsChildren(oe,I)})}deactivateRoutes(T,P,I){const j=T.value,oe=P?P.value:null;if(j===oe)if(j.component){const Ae=I.getContext(j.outlet);Ae&&this.deactivateChildRoutes(T,P,Ae.children)}else this.deactivateChildRoutes(T,P,I);else oe&&this.deactivateRouteAndItsChildren(P,I)}deactivateRouteAndItsChildren(T,P){T.value.component&&this.routeReuseStrategy.shouldDetach(T.value.snapshot)?this.detachAndStoreRouteSubtree(T,P):this.deactivateRouteAndOutlet(T,P)}detachAndStoreRouteSubtree(T,P){const I=P.getContext(T.value.outlet),j=I&&T.value.component?I.children:P,oe=Ls(T);for(const Ae of Object.keys(oe))this.deactivateRouteAndItsChildren(oe[Ae],j);if(I&&I.outlet){const Ae=I.outlet.detach(),vt=I.children.onOutletDeactivated();this.routeReuseStrategy.store(T.value.snapshot,{componentRef:Ae,route:T,contexts:vt})}}deactivateRouteAndOutlet(T,P){const I=P.getContext(T.value.outlet),j=I&&T.value.component?I.children:P,oe=Ls(T);for(const Ae of Object.keys(oe))this.deactivateRouteAndItsChildren(oe[Ae],j);I&&(I.outlet&&(I.outlet.deactivate(),I.children.onOutletDeactivated()),I.attachRef=null,I.route=null)}activateChildRoutes(T,P,I){const j=Ls(P);T.children.forEach(oe=>{this.activateRoutes(oe,j[oe.value.outlet],I),this.forwardEvent(new jr(oe.value.snapshot))}),T.children.length&&this.forwardEvent(new zs(T.value.snapshot))}activateRoutes(T,P,I){const j=T.value,oe=P?P.value:null;if(Ss(j),j===oe)if(j.component){const Ae=I.getOrCreateContext(j.outlet);this.activateChildRoutes(T,P,Ae.children)}else this.activateChildRoutes(T,P,I);else if(j.component){const Ae=I.getOrCreateContext(j.outlet);if(this.routeReuseStrategy.shouldAttach(j.snapshot)){const vt=this.routeReuseStrategy.retrieve(j.snapshot);this.routeReuseStrategy.store(j.snapshot,null),Ae.children.onOutletReAttached(vt.contexts),Ae.attachRef=vt.componentRef,Ae.route=vt.route.value,Ae.outlet&&Ae.outlet.attach(vt.componentRef,vt.route.value),Ss(vt.route.value),this.activateChildRoutes(T,null,Ae.children)}else{const vt=ms(j.snapshot);Ae.attachRef=null,Ae.route=j,Ae.injector=vt,Ae.outlet&&Ae.outlet.activateWith(j,Ae.injector),this.activateChildRoutes(T,null,Ae.children)}}else this.activateChildRoutes(T,null,I)}}class Hi{constructor(T){this.path=T,this.route=this.path[this.path.length-1]}}class po{constructor(T,P){this.component=T,this.route=P}}function Lt(D,T,P){const I=D._root;return zo(I,T?T._root:null,P,[I.value])}function js(D,T){const P=Symbol(),I=T.get(D,P);return I===P?"function"!=typeof D||(0,i.LfX)(D)?T.get(D):D:I}function zo(D,T,P,I,j={canDeactivateChecks:[],canActivateChecks:[]}){const oe=Ls(T);return D.children.forEach(Ae=>{(function wa(D,T,P,I,j={canDeactivateChecks:[],canActivateChecks:[]}){const oe=D.value,Ae=T?T.value:null,vt=P?P.getContext(D.value.outlet):null;if(Ae&&oe.routeConfig===Ae.routeConfig){const Mt=function _r(D,T,P){if("function"==typeof P)return P(D,T);switch(P){case"pathParamsChange":return!Kn(D.url,T.url);case"pathParamsOrQueryParamsChange":return!Kn(D.url,T.url)||!lt(D.queryParams,T.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fi(D,T)||!lt(D.queryParams,T.queryParams);default:return!fi(D,T)}}(Ae,oe,oe.routeConfig.runGuardsAndResolvers);Mt?j.canActivateChecks.push(new Hi(I)):(oe.data=Ae.data,oe._resolvedData=Ae._resolvedData),zo(D,T,oe.component?vt?vt.children:null:P,I,j),Mt&&vt&&vt.outlet&&vt.outlet.isActivated&&j.canDeactivateChecks.push(new po(vt.outlet.component,Ae))}else Ae&&Xo(T,vt,j),j.canActivateChecks.push(new Hi(I)),zo(D,null,oe.component?vt?vt.children:null:P,I,j)})(Ae,oe[Ae.value.outlet],P,I.concat([Ae.value]),j),delete oe[Ae.value.outlet]}),Object.entries(oe).forEach(([Ae,vt])=>Xo(vt,P.getContext(Ae),j)),j}function Xo(D,T,P){const I=Ls(D),j=D.value;
1Object.entries(I).forEach(([oe,Ae])=>{Xo(Ae,j.component?T?T.children.getContext(oe):null:T,P)}),P.canDeactivateChecks.push(new po(j.component&&T&&T.outlet&&T.outlet.isActivated?T.outlet.component:null,j))}function Vs(D){return"function"==typeof D}function Bs(D){return D instanceof z||"EmptyError"===D?.name}const Cr=Symbol("INITIAL_VALUE");function or(){return(0,fe.n)(D=>(0,Z.z)(D.map(T=>T.pipe((0,Le.s)(1),(0,_t.Z)(Cr)))).pipe((0,ie.T)(T=>{for(const P of T)if(!0!==P){if(P===Cr)return Cr;if(!1===P||P instanceof Pi)return P}return!0}),(0,Pt.p)(T=>T!==Cr),(0,Le.s)(1)))}function Qr(D){return(0,Be.F)((0,Je.M)(T=>{if(at(T))throw Nt(0,T)}),(0,ie.T)(T=>!0===T))}class ds{constructor(T){this.segmentGroup=T||null}}class Jr{constructor(T){this.urlTree=T}}function Ki(D){return(0,pe.$)(new ds(D))}function Do(D){return(0,pe.$)(new Jr(D))}class Pa{constructor(T,P){this.urlSerializer=T,this.urlTree=P}noMatchError(T){return new i.wOt(4002,!1)}lineralizeSegments(T,P){let I=[],j=P.root;for(;;){if(I=I.concat(j.segments),0===j.numberOfChildren)return(0,K.of)(I);if(j.numberOfChildren>1||!j.children[ut])return(0,pe.$)(new i.wOt(4e3,!1));j=j.children[ut]}}applyRedirectCommands(T,P,I){return this.applyRedirectCreateUrlTree(P,this.urlSerializer.parse(P),T,I)}applyRedirectCreateUrlTree(T,P,I,j){const oe=this.createSegmentGroup(T,P.root,I,j);return new Pi(oe,this.createQueryParams(P.queryParams,this.urlTree.queryParams),P.fragment)}createQueryParams(T,P){const I={};return Object.entries(T).forEach(([j,oe])=>{if("string"==typeof oe&&oe.startsWith(":")){const vt=oe.substring(1);I[j]=P[vt]}else I[j]=oe}),I}createSegmentGroup(T,P,I,j){const oe=this.createSegments(T,P.segments,I,j);let Ae={};return Object.entries(P.children).forEach(([vt,Mt])=>{Ae[vt]=this.createSegmentGroup(T,Mt,I,j)}),new hn(oe,Ae)}createSegments(T,P,I,j){return P.map(oe=>oe.path.startsWith(":")?this.findPosParam(T,oe,j):this.findOrReturn(oe,I))}findPosParam(T,P,I){const j=I[P.path.substring(1)];if(!j)throw new i.wOt(4001,!1);return j}findOrReturn(T,P){let I=0;for(const j of P){if(j.path===T.path)return P.splice(I),j;I++}return T}}const an={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function go(D,T,P,I,j){const oe=_s(D,T,P);return oe.matched?(I=function Vi(D,T){return D.providers&&!D._injector&&(D._injector=(0,i.Ol2)(D.providers,T,`Route: ${D.path}`)),D._injector??T}(T,I),function Bo(D,T,P,I){const j=T.canMatch;
1if(!j||0===j.length)return(0,K.of)(!0);const oe=j.map(Ae=>{const vt=js(Ae,D);return Gn(function Ne(D){return D&&Vs(D.canMatch)}(vt)?vt.canMatch(T,P):D.runInContext(()=>vt(T,P)))});return(0,K.of)(oe).pipe(or(),Qr())}(I,T,P).pipe((0,ie.T)(Ae=>!0===Ae?oe:{...an}))):(0,K.of)(oe)}function _s(D,T,P){if(""===T.path)return"full"===T.pathMatch&&(D.hasChildren()||P.length>0)?{...an}:{matched:!0,consumedSegments:[],remainingSegments:P,parameters:{},positionalParamSegments:{}};const j=(T.matcher||yt)(P,D,T);if(!j)return{...an};const oe={};Object.entries(j.posParams??{}).forEach(([vt,Mt])=>{oe[vt]=Mt.path});const Ae=j.consumed.length>0?{...oe,...j.consumed[j.consumed.length-1].parameters}:oe;return{matched:!0,consumedSegments:j.consumed,remainingSegments:P.slice(j.consumed.length),parameters:Ae,positionalParamSegments:j.posParams??{}}}function jt(D,T,P,I){return P.length>0&&function Ci(D,T,P){return P.some(I=>ei(D,T,I)&&ks(I)!==ut)}(D,P,I)?{segmentGroup:new hn(T,mo(I,new hn(P,D.children))),slicedSegments:[]}:0===P.length&&function St(D,T,P){return P.some(I=>ei(D,T,I))}(D,P,I)?{segmentGroup:new hn(D.segments,Pn(D,0,P,I,D.children)),slicedSegments:P}:{segmentGroup:new hn(D.segments,D.children),slicedSegments:P}}function Pn(D,T,P,I,j){const oe={};for(const Ae of I)if(ei(D,P,Ae)&&!j[ks(Ae)]){const vt=new hn([],{});oe[ks(Ae)]=vt}return{...j,...oe}}function mo(D,T){const P={};P[ut]=T;for(const I of D)if(""===I.path&&ks(I)!==ut){const j=new hn([],{});P[ks(I)]=j}return P}function ei(D,T,P){return(!(D.hasChildren()||T.length>0)||"full"!==P.pathMatch)&&""===P.path}class wt{constructor(T,P,I,j,oe,Ae,vt){this.injector=T,this.configLoader=P,this.rootComponentType=I,this.config=j,this.urlTree=oe,this.paramsInheritanceStrategy=Ae,this.urlSerializer=vt,this.allowRedirects=!0,this.applyRedirects=new Pa(this.urlSerializer,this.urlTree)}noMatchError(T){return new i.wOt(4002,!1)}recognize(){const T=jt(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,T,ut).pipe((0,ve.W)(P=>{if(P instanceof Jr)return this.allowRedirects=!1,this.urlTree=P.urlTree,this.match(P.urlTree);throw P instanceof ds?this.noMatchError(P):P}),(0,ie.T)(P=>{const I=new Ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ut,this.rootComponentType,null,{}),j=new Xi(I,P),oe=new on("",j),Ae=function Ue(D,T,P=null,I=null){return Dt(Xe(D),T,P,I)}(I,[],this.urlTree.queryParams,this.urlTree.fragment);return Ae.queryParams=this.urlTree.queryParams,oe.url=this.urlSerializer.serialize(Ae),this.inheritParamsAndData(oe._root),{state:oe,tree:Ae}}))}match(T){return this.processSegmentGroup(this.injector,this.config,T.root,ut).pipe((0,ve.W)(I=>{throw I instanceof ds?this.noMatchError(I):I}))}inheritParamsAndData(T){const P=T.value,I=Vr(P,this.paramsInheritanceStrategy);P.params=Object.freeze(I.params),P.data=Object.freeze(I.data),T.children.forEach(j=>this.inheritParamsAndData(j))}processSegmentGroup(T,P,I,j){return 0===I.segments.length&&I.hasChildren()?this.processChildren(T,P,I):this.processSegment(T,P,I,I.segments,j,!0)}processChildren(T,P,I){const j=[];for(const oe of Object.keys(I.children))"primary"===oe?j.unshift(oe):j.push(oe);return(0,ee.H)(j).pipe((0,gn.H)(oe=>{const Ae=I.children[oe],vt=function ho(D,T){const P=D.filter(I=>ks(I)===T);return P.push(...D.filter(I=>ks(I)!==T)),P}(P,oe);return this.processSegmentGroup(T,vt,Ae,oe)}),(0,te.S)((oe,Ae)=>(oe.push(...Ae),oe)),(0,Te.U)(null),function ye(D,T){const P=arguments.length>=2;return I=>I.pipe(D?(0,Pt.p)((j,oe)=>D(j,oe,I)):Xt.D,me(1),P?(0,Te.U)(T):mt(()=>new z))}(),(0,re.Z)(oe=>{if(null===oe)return Ki(I);const Ae=Dn(oe);return function bt(D){D.sort((T,P)=>T.value.outlet===ut?-1:P.value.outlet===ut?1:T.value.outlet.localeCompare(P.value.outlet))}(Ae),(0,K.of)(Ae)}))}processSegment(T,P,I,j,oe,Ae){return(0,ee.H)(P).pipe((0,gn.H)(vt=>this.processSegmentAgainstRoute(vt._injector??T,P,vt,I,j,oe,Ae).pipe((0,ve.W)(Mt=>{if(Mt instanceof ds)return(0,K.of)(null);throw Mt}))),gt(vt=>!!vt),(0,ve.W)(vt=>{if(Bs(vt))return function So(D,T,P){return 0===T.length&&!D.children[P]}(I,j,oe)?(0,K.of)([]):Ki(I);throw vt}))}processSegmentAgainstRoute(T,P,I,j,oe,Ae,vt){return function $o(D,T,P,I){return!!(ks(D)===I||I!==ut&&ei(T,P,D))&&("**"===D.path||_s(T,D,P).matched)}(I,j,oe,Ae)?void 0===I.redirectTo?this.matchSegmentAgainstRoute(T,j,I,oe,Ae,vt):vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(T,j,P,I,oe,Ae):Ki(j):Ki(j)}expandSegmentAgainstRouteUsingRedirect(T,P,I,j,oe,Ae){return"**"===j.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(T,I,j,Ae):this.expandRegularSegmentAgainstRouteUsingRedirect(T,P,I,j,oe,Ae)}expandWildCardWithParamsAgainstRouteUsingRedirect(T,P,I,j){const oe=this.applyRedirects.applyRedirectCommands([],I.redirectTo,{});return I.redirectTo.startsWith("/")?Do(oe):this.applyRedirects.lineralizeSegments(I,oe).pipe((0,re.Z)(Ae=>{const vt=new hn(Ae,{});return this.processSegment(T,P,vt,Ae,j,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(T,P,I,j,oe,Ae){const{matched:vt,consumedSegments:Mt,remainingSegments:fn,positionalParamSegments:Jn}=_s(P,j,oe);if(!vt)return Ki(P);const Ds=this.applyRedirects.applyRedirectCommands(Mt,j.redirectTo,Jn);return j.redirectTo.startsWith("/")?Do(Ds):this.applyRedirects.lineralizeSegments(j,Ds).pipe((0,re.Z)($i=>this.processSegment(T,I,P,$i.concat(fn),Ae,!1)))}matchSegmentAgainstRoute(T,P,I,j,oe,Ae){let vt;if("**"===I.path){const Mt=j.length>0?Hn(j).parameters:{},fn=new Ti(j,Mt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cs(I),ks(I),I.component??I._loadedComponent??null,I,ai(I));vt=(0,K.of)({snapshot:fn,consumedSegments:[],remainingSegments:[]}),P.children={}}else vt=go(P,I,j,T).pipe((0,ie.T)(({matched:Mt,consumedSegments:fn,remainingSegments:Jn,parameters:Ds})=>Mt?{snapshot:new Ti(fn,Ds,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Cs(I),ks(I),I.component??I._loadedComponent??null,I,ai(I)),consumedSegments:fn,remainingSegments:Jn}:null));return vt.pipe((0,fe.n)(Mt=>null===Mt?Ki(P):this.getChildConfig(T=I._injector??T,I,j).pipe((0,fe.n)(({routes:fn})=>{const Jn=I._loadedInjector??T,{snapshot:Ds,consumedSegments:$i,remainingSegments:Mr}=Mt,{segmentGroup:Ya,slicedSegments:bl}=jt(P,$i,Mr,fn);if(0===bl.length&&Ya.hasChildren())return this.processChildren(Jn,fn,Ya).pipe((0,ie.T)(Js=>null===Js?null:[new Xi(Ds,Js)]));if(0===fn.length&&0===bl.length)return(0,K.of)([new Xi(Ds,[])]);const Ol=ks(I)===oe;return this.processSegment(Jn,fn,Ya,bl,Ol?ut:oe,!0).pipe((0,ie.T)(Js=>[new Xi(Ds,Js)]))}))))}getChildConfig(T,P,I){return P.children?(0,K.of)({routes:P.children,injector:T}):P.loadChildren?void 0!==P._loadedRoutes?(0,K.of)({routes:P._loadedRoutes,injector:P._loadedInjector}):function ko(D,T,P,I){const j=T.canLoad;if(void 0===j||0===j.length)return(0,K.of)(!0);const oe=j.map(Ae=>{const vt=js(Ae,D);return Gn(function V(D){return D&&Vs(D.canLoad)}(vt)?vt.canLoad(T,P):D.runInContext(()=>vt(T,P)))});
1return(0,K.of)(oe).pipe(or(),Qr())}(T,P,I).pipe((0,re.Z)(j=>j?this.configLoader.loadChildren(T,P).pipe((0,Je.M)(oe=>{P._loadedRoutes=oe.routes,P._loadedInjector=oe.injector})):function xo(D){return(0,pe.$)(kn(!1,3))}())):(0,K.of)({routes:[],injector:T})}}function mn(D){const T=D.value.routeConfig;return T&&""===T.path}function Dn(D){const T=[],P=new Set;for(const I of D){if(!mn(I)){T.push(I);continue}const j=T.find(oe=>I.value.routeConfig===oe.value.routeConfig);void 0!==j?(j.children.push(...I.children),P.add(j)):T.push(I)}for(const I of P){const j=Dn(I.children);T.push(new Xi(I.value,j))}return T.filter(I=>!P.has(I))}function Cs(D){return D.data||{}}function ai(D){return D.resolve||{}}function _(D){return"string"==typeof D.title||null===D.title}function d(D){return(0,fe.n)(T=>{const P=D(T);return P?(0,ee.H)(P).pipe((0,ie.T)(()=>T)):(0,K.of)(T)})}const C=new i.nKC("ROUTES");let M=(()=>{class D{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.WQX)(i.Ql9)}loadComponent(P){if(this.componentLoaders.get(P))return this.componentLoaders.get(P);if(P._loadedComponent)return(0,K.of)(P._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(P);const I=Gn(P.loadComponent()).pipe((0,ie.T)(Ct),(0,Je.M)(oe=>{this.onLoadEndListener&&this.onLoadEndListener(P),P._loadedComponent=oe}),(0,Me.j)(()=>{this.componentLoaders.delete(P)})),j=new _e(I,()=>new B.B).pipe(it());return this.componentLoaders.set(P,j),j}loadChildren(P,I){if(this.childrenLoaders.get(I))return this.childrenLoaders.get(I);if(I._loadedRoutes)return(0,K.of)({routes:I._loadedRoutes,injector:I._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(I);const oe=function R(D,T,P,I){return Gn(D.loadChildren()).pipe((0,ie.T)(Ct),(0,re.Z)(j=>j instanceof i.Co$||Array.isArray(j)?(0,K.of)(j):(0,ee.H)(T.compileModuleAsync(j))),(0,ie.T)(j=>{I&&I(D);let oe,Ae,vt=!1;return Array.isArray(j)?(Ae=j,!0):(oe=j.create(P).injector,Ae=oe.get(C,[],{optional:!0,self:!0}).flat()),{routes:Ae.map(Fi),injector:oe}}))}(I,this.compiler,P,this.onLoadEndListener).pipe((0,Me.j)(()=>{this.childrenLoaders.delete(I)})),Ae=new _e(oe,()=>new B.B).pipe(it());return this.childrenLoaders.set(I,Ae),Ae}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();function Ct(D){return function be(D){return D&&"object"==typeof D&&"default"in D}(D)?D.default:D}let Kt=(()=>{class D{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new B.B,this.transitionAbortSubject=new B.B,this.configLoader=(0,i.WQX)(M),this.environmentInjector=(0,i.WQX)(i.uvJ),this.urlSerializer=(0,i.WQX)(An),this.rootContexts=(0,i.WQX)(co),this.inputBindingEnabled=null!==(0,i.WQX)(Se,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,K.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=j=>this.events.next(new tr(j)),this.configLoader.onLoadStartListener=j=>this.events.next(new Ns(j))}complete(){this.transitions?.complete()}handleNavigationRequest(P){const I=++this.navigationId;this.transitions?.next({...this.transitions.value,...P,id:I})}setupNavigations(P,I,j){return this.transitions=new ae.t({id:0,currentUrlTree:I,currentRawUrl:I,currentBrowserUrl:I,extractedUrl:P.urlHandlingStrategy.extract(I),urlAfterRedirects:P.urlHandlingStrategy.extract(I),rawUrl:I,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Rs,restoredState:null,currentSnapshot:j.snapshot,targetSnapshot:null,currentRouterState:j,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Pt.p)(oe=>0!==oe.id),(0,ie.T)(oe=>({...oe,extractedUrl:P.urlHandlingStrategy.extract(oe.rawUrl)})),(0,fe.n)(oe=>{this.currentTransition=oe;let Ae=!1,vt=!1;return(0,K.of)(oe).pipe((0,Je.M)(Mt=>{this.currentNavigation={id:Mt.id,initialUrl:Mt.rawUrl,extractedUrl:Mt.extractedUrl,trigger:Mt.source,extras:Mt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,fe.n)(Mt=>{const fn=Mt.currentBrowserUrl.toString(),Jn=!P.navigated||Mt.extractedUrl.toString()!==fn||fn!==Mt.currentUrlTree.toString();if(!Jn&&"reload"!==(Mt.extras.onSameUrlNavigation??P.onSameUrlNavigation)){const $i="";return this.events.next(new rs(Mt.id,this.urlSerializer.serialize(Mt.rawUrl),$i,0)),Mt.resolve(null),ze.w}if(P.urlHandlingStrategy.shouldProcessUrl(Mt.rawUrl))return(0,K.of)(Mt).pipe((0,fe.n)($i=>{const Mr=this.transitions?.getValue();return this.events.next(new Ws($i.id,this.urlSerializer.serialize($i.extractedUrl),$i.source,$i.restoredState)),Mr!==this.transitions?.getValue()?ze.w:Promise.resolve($i)}),function lr(D,T,P,I,j,oe){return(0,re.Z)(Ae=>function Ke(D,T,P,I,j,oe,Ae="emptyOnly"){return new wt(D,T,P,I,j,Ae,oe).recognize()}(D,T,P,I,Ae.extractedUrl,j,oe).pipe((0,ie.T)(({state:vt,tree:Mt})=>({...Ae,targetSnapshot:vt,urlAfterRedirects:Mt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,P.config,this.urlSerializer,P.paramsInheritanceStrategy),(0,Je.M)($i=>{oe.targetSnapshot=$i.targetSnapshot,oe.urlAfterRedirects=$i.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:$i.urlAfterRedirects};const Mr=new er($i.id,this.urlSerializer.serialize($i.extractedUrl),this.urlSerializer.serialize($i.urlAfterRedirects),$i.targetSnapshot);this.events.next(Mr)}));if(Jn&&P.urlHandlingStrategy.shouldProcessUrl(Mt.currentRawUrl)){const{id:$i,extractedUrl:Mr,source:Ya,restoredState:bl,extras:Ol}=Mt,Js=new Ws($i,this.urlSerializer.serialize(Mr),Ya,bl);this.events.next(Js);const br=Lo(0,this.rootComponentType).snapshot;return this.currentTransition=oe={...Mt,targetSnapshot:br,urlAfterRedirects:Mr,extras:{...Ol,skipLocationChange:!1,replaceUrl:!1}},(0,K.of)(oe)}{const $i="";return this.events.next(new rs(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),$i,1)),Mt.resolve(null),ze.w}}),(0,Je.M)(Mt=>{const fn=new Er(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot);this.events.next(fn)}),(0,ie.T)(Mt=>(this.currentTransition=oe={...Mt,guards:Lt(Mt.targetSnapshot,Mt.currentSnapshot,this.rootContexts)},oe)),function Ko(D,T){return(0,re.Z)(P=>{const{targetSnapshot:I,currentSnapshot:j,guards:{canActivateChecks:oe,canDeactivateChecks:Ae}}=P;return 0===Ae.length&&0===oe.length?(0,K.of)({...P,guardsResult:!0}):function Va(D,T,P,I){return(0,ee.H)(D).pipe((0,re.Z)(j=>function ar(D,T,P,I,j){const oe=T&&T.routeConfig?T.routeConfig.canDeactivate:null;if(!oe||0===oe.length)return(0,K.of)(!0);const Ae=oe.map(vt=>{const Mt=ms(T)??j,fn=js(vt,Mt);return Gn(function de(D){return D&&Vs(D.canDeactivate)}(fn)?fn.canDeactivate(D,T,P,I):Mt.runInContext(()=>fn(D,T,P,I))).pipe(gt())});return(0,K.of)(Ae).pipe(or())}(j.component,j.route,P,T,I)),gt(j=>!0!==j,!0))}(Ae,I,j,D).pipe((0,re.Z)(vt=>vt&&function fo(D){return"boolean"==typeof D}(vt)?function rr(D,T,P,I){return(0,ee.H)(T).pipe((0,gn.H)(j=>(0,le.x)(function ui(D,T){return null!==D&&T&&T(new xr(D)),(0,K.of)(!0)}(j.route.parent,I),function Sr(D,T){return null!==D&&T&&T(new gr(D)),(0,K.of)(!0)}(j.route,I),function Ba(D,T,P){const I=T[T.length-1],oe=T.slice(0,T.length-1).reverse().map(Ae=>
1function Br(D){const T=D.routeConfig?D.routeConfig.canActivateChild:null;return T&&0!==T.length?{node:D,guards:T}:null}(Ae)).filter(Ae=>null!==Ae).map(Ae=>J(()=>{const vt=Ae.guards.map(Mt=>{const fn=ms(Ae.node)??P,Jn=js(Mt,fn);return Gn(function F(D){return D&&Vs(D.canActivateChild)}(Jn)?Jn.canActivateChild(I,D):fn.runInContext(()=>Jn(I,D))).pipe(gt())});return(0,K.of)(vt).pipe(or())}));return(0,K.of)(oe).pipe(or())}(D,j.path,P),function Kr(D,T,P){const I=T.routeConfig?T.routeConfig.canActivate:null;if(!I||0===I.length)return(0,K.of)(!0);const j=I.map(oe=>J(()=>{const Ae=ms(T)??P,vt=js(oe,Ae);return Gn(function Y(D){return D&&Vs(D.canActivate)}(vt)?vt.canActivate(T,D):Ae.runInContext(()=>vt(T,D))).pipe(gt())}));return(0,K.of)(j).pipe(or())}(D,j.route,P))),gt(j=>!0!==j,!0))}(I,oe,D,T):(0,K.of)(vt)),(0,ie.T)(vt=>({...P,guardsResult:vt})))})}(this.environmentInjector,Mt=>this.events.next(Mt)),(0,Je.M)(Mt=>{if(oe.guardsResult=Mt.guardsResult,at(Mt.guardsResult))throw Nt(0,Mt.guardsResult);const fn=new Xr(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects),Mt.targetSnapshot,!!Mt.guardsResult);this.events.next(fn)}),(0,Pt.p)(Mt=>!!Mt.guardsResult||(this.cancelNavigationTransition(Mt,"",3),!1)),d(Mt=>{if(Mt.guards.canActivateChecks.length)return(0,K.of)(Mt).pipe((0,Je.M)(fn=>{const Jn=new Ro(fn.id,this.urlSerializer.serialize(fn.extractedUrl),this.urlSerializer.serialize(fn.urlAfterRedirects),fn.targetSnapshot);this.events.next(Jn)}),(0,fe.n)(fn=>{let Jn=!1;return(0,K.of)(fn).pipe(function $r(D,T){return(0,re.Z)(P=>{const{targetSnapshot:I,guards:{canActivateChecks:j}}=P;if(!j.length)return(0,K.of)(P);let oe=0;return(0,ee.H)(j).pipe((0,gn.H)(Ae=>function Yn(D,T,P,I){const j=D.routeConfig,oe=D._resolve;return void 0!==j?.title&&!_(j)&&(oe[nn]=j.title),function _o(D,T,P,I){const j=function ka(D){return[...Object.keys(D),...Object.getOwnPropertySymbols(D)]}(D);if(0===j.length)return(0,K.of)({});const oe={};return(0,ee.H)(j).pipe((0,re.Z)(Ae=>function O(D,T,P,I){const j=ms(T)??I,oe=js(D,j);return Gn(oe.resolve?oe.resolve(T,P):j.runInContext(()=>oe(T,P)))}(D[Ae],T,P,I).pipe(gt(),(0,Je.M)(vt=>{oe[Ae]=vt}))),me(1),function Ye(D){return(0,ie.T)(()=>D)}(oe),(0,ve.W)(Ae=>Bs(Ae)?ze.w:(0,pe.$)(Ae)))}(oe,D,T,I).pipe((0,ie.T)(Ae=>(D._resolvedData=Ae,D.data=Vr(D,P).resolve,j&&_(j)&&(D.data[nn]=j.title),null)))}(Ae.route,I,D,T)),(0,Je.M)(()=>oe++),me(1),(0,re.Z)(Ae=>oe===j.length?(0,K.of)(P):ze.w))})}(P.paramsInheritanceStrategy,this.environmentInjector),(0,Je.M)({next:()=>Jn=!0,complete:()=>{Jn||this.cancelNavigationTransition(fn,"",2)}}))}),(0,Je.M)(fn=>{const Jn=new No(fn.id,this.urlSerializer.serialize(fn.extractedUrl),this.urlSerializer.serialize(fn.urlAfterRedirects),fn.targetSnapshot);this.events.next(Jn)}))}),d(Mt=>{const fn=Jn=>{const Ds=[];Jn.routeConfig?.loadComponent&&!Jn.routeConfig._loadedComponent&&Ds.push(this.configLoader.loadComponent(Jn.routeConfig).pipe((0,Je.M)($i=>{Jn.component=$i}),(0,ie.T)(()=>{})));for(const $i of Jn.children)Ds.push(...fn($i));return Ds};return(0,Z.z)(fn(Mt.targetSnapshot.root)).pipe((0,Te.U)(),(0,Le.s)(1))}),d(()=>this.afterPreactivation()),(0,ie.T)(Mt=>{const fn=function Oe(D,T,P){const I=Ve(D,T._root,P?P._root:void 0);return new Xs(I,T)}(P.routeReuseStrategy,Mt.targetSnapshot,Mt.currentRouterState);return this.currentTransition=oe={...Mt,targetRouterState:fn},oe}),(0,Je.M)(()=>{this.events.next(new Wo)}),((D,T,P,I)=>(0,ie.T)(j=>(new Ln(T,j.targetRouterState,j.currentRouterState,P,I).activate(D),j)))(this.rootContexts,P.routeReuseStrategy,Mt=>this.events.next(Mt),this.inputBindingEnabled),(0,Le.s)(1),(0,Je.M)({next:Mt=>{Ae=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new os(Mt.id,this.urlSerializer.serialize(Mt.extractedUrl),this.urlSerializer.serialize(Mt.urlAfterRedirects))),P.titleStrategy?.updateTitle(Mt.targetRouterState.snapshot),Mt.resolve(!0)},complete:()=>{Ae=!0}}),(0,Ie.Q)(this.transitionAbortSubject.pipe((0,Je.M)(Mt=>{throw Mt}))),(0,Me.j)(()=>{Ae||vt||this.cancelNavigationTransition(oe,"",1),this.currentNavigation?.id===oe.id&&(this.currentNavigation=null)}),(0,ve.W)(Mt=>{if(vt=!0,gi(Mt))this.events.next(new Ps(oe.id,this.urlSerializer.serialize(oe.extractedUrl),Mt.message,Mt.cancellationCode)),function _i(D){return gi(D)&&at(D.url)}(Mt)?this.events.next(new nr(Mt.url)):oe.resolve(!1);else{this.events.next(new so(oe.id,this.urlSerializer.serialize(oe.extractedUrl),Mt,oe.targetSnapshot??void 0));
1try{oe.resolve(P.errorHandler(Mt))}catch(fn){oe.reject(fn)}}return ze.w}))}))}cancelNavigationTransition(P,I,j){const oe=new Ps(P.id,this.urlSerializer.serialize(P.extractedUrl),I,j);this.events.next(oe),P.resolve(!1)}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();function En(D){return D!==Rs}let Bn=(()=>{class D{buildTitle(P){let I,j=P.root;for(;void 0!==j;)I=this.getResolvedTitleForRoute(j)??I,j=j.children.find(oe=>oe.outlet===ut);return I}getResolvedTitleForRoute(P){return P.data[nn]}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:function(){return(0,i.WQX)(Vn)},providedIn:"root"})}}return D})(),Vn=(()=>{class D extends Bn{constructor(P){super(),this.title=P}updateTitle(P){const I=this.buildTitle(P);void 0!==I&&this.title.setTitle(I)}static{this.\u0275fac=function(I){return new(I||D)(i.KVO(zt.hE))}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})(),Tn=(()=>{class D{static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:function(){return(0,i.WQX)(Bi)},providedIn:"root"})}}return D})();class as{shouldDetach(T){return!1}store(T,P){}shouldAttach(T){return!1}retrieve(T){return null}shouldReuseRoute(T,P){return T.routeConfig===P.routeConfig}}let Bi=(()=>{class D extends as{static{this.\u0275fac=function(){let P;return function(j){return(P||(P=i.xGo(D)))(j||D)}}()}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();const vs=new i.nKC("",{providedIn:"root",factory:()=>({})});let Zi=(()=>{class D{static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:function(){return(0,i.WQX)(ni)},providedIn:"root"})}}return D})(),ni=(()=>{class D{shouldProcessUrl(P){return!0}extract(P){return P}merge(P,I){return P}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();var Ks=function(D){return D[D.COMPLETE=0]="COMPLETE",D[D.FAILED=1]="FAILED",D[D.REDIRECTING=2]="REDIRECTING",D}(Ks||{});function oo(D,T){D.events.pipe((0,Pt.p)(P=>P instanceof os||P instanceof Ps||P instanceof so||P instanceof rs),(0,ie.T)(P=>P instanceof os||P instanceof rs?Ks.COMPLETE:P instanceof Ps&&(0===P.code||1===P.code)?Ks.REDIRECTING:Ks.FAILED),(0,Pt.p)(P=>P!==Ks.REDIRECTING),(0,Le.s)(1)).subscribe(()=>{T()})}function ys(D){throw D}function cr(D,T,P){return T.parse("/")}const qr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ms={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let To=(()=>{class D{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.WQX)(i.H3F),this.isNgZoneEnabled=!1,this._events=new B.B,this.options=(0,i.WQX)(vs,{optional:!0})||{},this.pendingTasks=(0,i.WQX)(i.$K3),this.errorHandler=this.options.errorHandler||ys,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||cr,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.WQX)(Zi),this.routeReuseStrategy=(0,i.WQX)(Tn),this.titleStrategy=(0,i.WQX)(Bn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.WQX)(C,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.WQX)(Kt),this.urlSerializer=(0,i.WQX)(An),this.location=(0,i.WQX)(H.aZ),this.componentInputBindingEnabled=!!(0,i.WQX)(Se,{optional:!0}),this.eventsSubscription=new xe.yU,this.isNgZoneEnabled=(0,i.WQX)(i.SKi)instanceof i.SKi&&i.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Pi,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Lo(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(P=>{this.lastSuccessfulId=P.id,this.currentPageId=this.browserPageId},P=>{this.console.warn(`Unhandled Navigation Error: ${P}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const P=this.navigationTransitions.events.subscribe(I=>{try{const{currentTransition:j}=this.navigationTransitions;if(null===j)return void(es(I)&&this._events.next(I));if(I instanceof Ws)En(j.source)&&(this.browserUrlTree=j.extractedUrl);else if(I instanceof rs)this.rawUrlTree=j.rawUrl;else if(I instanceof er){if("eager"===this.urlUpdateStrategy){if(!j.extras.skipLocationChange){const oe=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl);this.setBrowserUrl(oe,j)}this.browserUrlTree=j.urlAfterRedirects}}else if(I instanceof Wo)this.currentUrlTree=j.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(j.urlAfterRedirects,j.rawUrl),this.routerState=j.targetRouterState,"deferred"===this.urlUpdateStrategy&&(j.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,j),this.browserUrlTree=j.urlAfterRedirects);else if(I instanceof Ps)0!==I.code&&1!==I.code&&(this.navigated=!0),(3===I.code||2===I.code)&&this.restoreHistory(j);else if(I instanceof nr){const oe=this.urlHandlingStrategy.merge(I.url,j.currentRawUrl),Ae={skipLocationChange:j.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||En(j.source)};this.scheduleNavigation(oe,Rs,null,Ae,{resolve:j.resolve,reject:j.reject,promise:j.promise})}I instanceof so&&this.restoreHistory(j,!0),I instanceof os&&(this.navigated=!0),es(I)&&this._events.next(I)}catch(j){this.navigationTransitions.transitionAbortSubject.next(j)}});this.eventsSubscription.add(P)}resetRootComponentType(P){this.routerState.root.component=P,this.navigationTransitions.rootComponentType=P}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const P=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Rs,P)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(P=>{const I="popstate"===P.type?"popstate":"hashchange";"popstate"===I&&setTimeout(()=>{this.navigateToSyncWithBrowser(P.url,I,P.state)},0)}))}navigateToSyncWithBrowser(P,I,j){const oe={replaceUrl:!0},Ae=j?.navigationId?j:null;if(j){const Mt={...j};delete Mt.navigationId,delete Mt.\u0275routerPageId,0!==Object.keys(Mt).length&&(oe.state=Mt)}const vt=this.parseUrl(P);this.scheduleNavigation(vt,I,Ae,oe)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(P){this.config=P.map(Fi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(P,I={}){const{relativeTo:j,queryParams:oe,fragment:Ae,queryParamsHandling:vt,preserveFragment:Mt}=I,fn=Mt?this.currentUrlTree.fragment:Ae;let Ds,Jn=null;switch(vt){case"merge":Jn={...this.currentUrlTree.queryParams,...oe};break;case"preserve":Jn=this.currentUrlTree.queryParams;break;default:Jn=oe||null}null!==Jn&&(Jn=this.removeEmptyProps(Jn));try{Ds=Xe(j?j.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof P[0]||!P[0].startsWith("/"))&&(P=[]),Ds=this.currentUrlTree.root}return Dt(Ds,P,Jn,fn??null)}navigateByUrl(P,I={skipLocationChange:!1}){const j=at(P)?P:this.parseUrl(P),oe=this.urlHandlingStrategy.merge(j,this.rawUrlTree);return this.scheduleNavigation(oe,Rs,null,I)}navigate(P,I={skipLocationChange:!1}){return function Da(D){for(let T=0;T<D.length;T++)if(null==D[T])throw new i.wOt(4008,!1)}(P),this.navigateByUrl(this.createUrlTree(P,I),I)}serializeUrl(P){return this.urlSerializer.serialize(P)}parseUrl(P){let I;try{I=this.urlSerializer.parse(P)}catch(j){I=this.malformedUriErrorHandler(j,this.urlSerializer,P)}return I}isActive(P,I){let j;if(j=!0===I?{...qr}:!1===I?{...Ms}:I,at(P))return li(this.currentUrlTree,P,j);const oe=this.parseUrl(P);return li(this.currentUrlTree,oe,j)}removeEmptyProps(P){return Object.keys(P).reduce((I,j)=>{const oe=P[j];return null!=oe&&(I[j]=oe),I},{})}scheduleNavigation(P,I,j,oe,Ae){if(this.disposed)return Promise.resolve(!1);let vt,Mt,fn;Ae?(vt=Ae.resolve,Mt=Ae.reject,fn=Ae.promise):fn=new Promise((Ds,$i)=>{vt=Ds,Mt=$i});const Jn=this.pendingTasks.add();return oo(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jn))}),this.navigationTransitions.handleNavigationRequest({source:I,restoredState:j,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:P,extras:oe,resolve:vt,reject:Mt,promise:fn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),fn.catch(Ds=>Promise.reject(Ds))}setBrowserUrl(P,I){const j=this.urlSerializer.serialize(P);if(this.location.isCurrentPathEqualTo(j)||I.extras.replaceUrl){const Ae={...I.extras.state,...this.generateNgRouterState(I.id,this.browserPageId)};this.location.replaceState(j,"",Ae)}else{const oe={...I.extras.state,...this.generateNgRouterState(I.id,this.browserPageId+1)};this.location.go(j,"",oe)}}restoreHistory(P,I=!1){if("computed"===this.canceledNavigationResolution){const oe=this.currentPageId-this.browserPageId;0!==oe?this.location.historyGo(oe):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===oe&&(this.resetState(P),this.browserUrlTree=P.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(I&&this.resetState(P),this.resetUrlToCurrentUrlTree())}resetState(P){this.routerState=P.currentRouterState,this.currentUrlTree=P.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,P.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(P,I){return"computed"===this.canceledNavigationResolution?{navigationId:P,\u0275routerPageId:I}:{navigationId:P}}static{this.\u0275fac=function(I){return new(I||D)}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();function es(D){return!(D instanceof Wo||D instanceof nr)}let Ea=(()=>{class D{constructor(P,I,j,oe,Ae,vt){this.router=P,this.route=I,this.tabIndexAttribute=j,this.renderer=oe,this.el=Ae,this.locationStrategy=vt,this.href=null,this.commands=null,this.onChanges=new B.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const Mt=Ae.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Mt||"area"===Mt,this.isAnchorElement?this.subscription=P.events.subscribe(fn=>{fn instanceof os&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(P){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",P)}ngOnChanges(P){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(P){null!=P?(this.commands=Array.isArray(P)?P:[P],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(P,I,j,oe,Ae){return!!(null===this.urlTree||this.isAnchorElement&&(0!==P||I||j||oe||Ae||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const P=null===this.href?null:(0,i.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",P)}applyAttributeValue(P,I){const j=this.renderer,oe=this.el.nativeElement;null!==I?j.setAttribute(oe,P,I):j.removeAttribute(oe,P)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(I){return new(I||D)(i.rXU(To),i.rXU(gs),i.kS0("tabindex"),i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(H.hb))}}static{this.\u0275dir=i.FsC({type:D,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(I,j){1&I&&i.bIt("click",function(Ae){return j.onClick(Ae.button,Ae.ctrlKey,Ae.shiftKey,Ae.altKey,Ae.metaKey)}),2&I&&i.BMQ("target",j.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.L39],skipLocationChange:["skipLocationChange","skipLocationChange",i.L39],replaceUrl:["replaceUrl","replaceUrl",i.L39],routerLink:"routerLink"},standalone:!0,features:[i.GFd,i.OA$]})}}return D})(),ac=(()=>{class D{get isActive(){return this._isActive}constructor(P,I,j,oe,Ae){this.router=P,this.element=I,this.renderer=j,this.cdr=oe,this.link=Ae,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.bkB,this.routerEventsSubscription=P.events.subscribe(vt=>{vt instanceof os&&this.update()})}ngAfterContentInit(){(0,K.of)(this.links.changes,(0,K.of)(null)).pipe((0,Ge.U)()).subscribe(P=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const P=[...this.links.toArray(),this.link].filter(I=>!!I).map(I=>I.onChanges);this.linkInputChangesSubscription=(0,ee.H)(P).pipe((0,Ge.U)()).subscribe(I=>{this._isActive!==this.isLinkActive(this.router)(I)&&this.update()})}set routerLinkActive(P){const I=Array.isArray(P)?P:P.split(" ");this.classes=I.filter(j=>!!j)}ngOnChanges(P){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const P=this.hasActiveLinks();this._isActive!==P&&(this._isActive=P,this.cdr.markForCheck(),this.classes.forEac
1h(I=>{P?this.renderer.addClass(this.element.nativeElement,I):this.renderer.removeClass(this.element.nativeElement,I)}),P&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(P))})}isLinkActive(P){const I=function $a(D){return!!D.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return j=>!!j.urlTree&&P.isActive(j.urlTree,I)}hasActiveLinks(){const P=this.isLinkActive(this.router);return this.link&&P(this.link)||this.links.some(P)}static{this.\u0275fac=function(I){return new(I||D)(i.rXU(To),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.gRc),i.rXU(Ea,8))}}static{this.\u0275dir=i.FsC({type:D,selectors:[["","routerLinkActive",""]],contentQueries:function(I,j,oe){if(1&I&&i.wni(oe,Ea,5),2&I){let Ae;i.mGM(Ae=i.lsd())&&(j.links=Ae)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.OA$]})}}return D})();class Qs{}let Co=(()=>{class D{constructor(P,I,j,oe,Ae){this.router=P,this.injector=j,this.preloadingStrategy=oe,this.loader=Ae}setUpPreloading(){this.subscription=this.router.events.pipe((0,Pt.p)(P=>P instanceof os),(0,gn.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(P,I){const j=[];for(const oe of I){oe.providers&&!oe._injector&&(oe._injector=(0,i.Ol2)(oe.providers,P,`Route: ${oe.path}`));const Ae=oe._injector??P,vt=oe._loadedInjector??Ae;(oe.loadChildren&&!oe._loadedRoutes&&void 0===oe.canLoad||oe.loadComponent&&!oe._loadedComponent)&&j.push(this.preloadConfig(Ae,oe)),(oe.children||oe._loadedRoutes)&&j.push(this.processRoutes(vt,oe.children??oe._loadedRoutes))}return(0,ee.H)(j).pipe((0,Ge.U)())}preloadConfig(P,I){return this.preloadingStrategy.preload(I,()=>{let j;j=I.loadChildren&&void 0===I.canLoad?this.loader.loadChildren(P,I):(0,K.of)(null);const oe=j.pipe((0,re.Z)(Ae=>null===Ae?(0,K.of)(void 0):(I._loadedRoutes=Ae.routes,I._loadedInjector=Ae.injector,this.processRoutes(Ae.injector??P,Ae.routes))));if(I.loadComponent&&!I._loadedComponent){const Ae=this.loader.loadComponent(I);return(0,ee.H)([oe,Ae]).pipe((0,Ge.U)())}return oe})}static{this.\u0275fac=function(I){return new(I||D)(i.KVO(To),i.KVO(i.Ql9),i.KVO(i.uvJ),i.KVO(Qs),i.KVO(M))}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})();const Zr=new i.nKC("");let xa=(()=>{class D{constructor(P,I,j,oe,Ae={}){this.urlSerializer=P,this.transitions=I,this.viewportScroller=j,this.zone=oe,this.options=Ae,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ae.scrollPositionRestoration=Ae.scrollPositionRestoration||"disabled",Ae.anchorScrolling=Ae.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof Ws?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=P.navigationTrigger,this.restoredId=P.restoredState?P.restoredState.navigationId:0):P instanceof os?(this.lastId=P.id,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.urlAfterRedirects).fragment)):P instanceof rs&&0===P.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(P,this.urlSerializer.parse(P.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(P=>{P instanceof Po&&(P.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(P.position):P.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(P.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(P,I){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Po(P,"popstate"===this.lastSource?this.store[this.restoredId]:null,I))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(I){i.QTQ()}}static{this.\u0275prov=i.jDH({token:D,factory:D.\u0275fac})}}return D})();function Ts(D,T){return{\u0275kind:D,\u0275providers:T}}function il(){const D=(0,i.WQX)(i.zZn);return T=>{const P=D.get(i.o8S);if(T!==P.components[0])return;const I=D.get(To),j=D.get(Ua);1===D.get(Tr)&&I.initialNavigation(),D.get(Ul,null,i.$GK.Optional)?.setUpPreloading(),D.get(Zr,null,i.$GK.Optional)?.init(),I.resetRootComponentType(P.componentTypes[0]),j.closed||(j.next(),j.complete(),j.unsubscribe())}}const Ua=new i.nKC("",{factory:()=>new B.B}),Tr=new i.nKC("",{providedIn:"root",factory:()=>1}),Ul=new i.nKC("");function jc(D){return Ts(0,[{provide:Ul,useExisting:Co},{provide:Qs,useExisting:D}])}const ol=new i.nKC("ROUTER_FORROOT_GUARD"),vo=[H.aZ,{provide:An,useClass:Gi},To,co,{provide:gs,useFactory:function dr(D){return D.routerState.root},deps:[To]},M,[]];function Xn(){return new i.NEm("Router",To)}let Vc=(()=>{class D{constructor(P){}static forRoot(P,I){return{ngModule:D,providers:[vo,[],{provide:C,multi:!0,useValue:P},{provide:ol,useFactory:Hl,deps:[[To,new i.Xx1,new i.kdw]]},{provide:vs,useValue:I||{}},I?.useHash?{provide:H.hb,useClass:H.fw}:{provide:H.hb,useClass:H.Sm},{provide:Zr,useFactory:()=>{const D=(0,i.WQX)(H.Xr),T=(0,i.WQX)(i.SKi),P=(0,i.WQX)(vs),I=(0,i.WQX)(Kt),j=(0,i.WQX)(An);return P.scrollOffset&&D.setOffset(P.scrollOffset),new xa(j,I,D,T,P)}},I?.preloadingStrategy?jc(I.preloadingStrategy).\u0275providers:[],{provide:i.NEm,multi:!0,useFactory:Xn},I?.initialNavigation?yr(I):[],I?.bindToComponentInputs?Ts(8,[ce,{provide:Se,useExisting:ce}]).\u0275providers:[],[{provide:Bc,useFactory:il},{provide:i.iLQ,multi:!0,useExisting:Bc}]]}}static forChild(P){return{ngModule:D,providers:[{provide:C,multi:!0,useValue:P}]}}static{this.\u0275fac=function(I){return new(I||D)(i.KVO(ol,8))}}static{this.\u0275mod=i.$C({type:D})}static{this.\u0275inj=i.G2t({})}}return D})();function Hl(D){return"guarded"}function yr(D){return["disabled"===D.initialNavigation?Ts(3,[{provide:i.hnV,multi:!0,useFactory:()=>{const T=(0,i.WQX)(To);return()=>{T.setUpLocationChangeListener()}}},{provide:Tr,useValue:2}]).\u0275providers:[],"enabledBlocking"===D.initialNavigation?Ts(2,[{provide:Tr,useValue:0},{provide:i.hnV,multi:!0,deps:[i.zZn],useFactory:T=>{const P=T.get(H.hj,Promise.resolve());return()=>P.then(()=>new Promise(I=>{const j=T.get(To),oe=T.get(Ua);oo(j,()=>{I(!0)}),T.get(Kt).afterPreactivation=()=>(I(!0),oe.closed?(0,K.of)(void 0):oe),j.initialNavigation()}))}}]).\u0275providers:[]]}const Bc=new i.nKC("")},2460:(Ot,ke,w)=>{"use strict";function e(f){return f<0?Math.ceil(f)||0:Math.floor(f)}function ee(f){return"string"==typeof f}function K(f){return f instanceof Date||"[object Date]"===Object.prototype.toString.call(f)}function Z(f){return f&&f.getTime&&!isNaN(f.getTime())}function $(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}function z(f){return"number"==typeof f||"[object Number]"===Object.prototype.toString.call(f)}function le(f){return f instanceof Array||"[object Array]"===Object.prototype.toString.call(f)}function W(f,y){return Object.prototype.hasOwnProperty.call(f,y)}function ge(f){return null!=f&&"[object Object]"===Object.prototype.toString.call(f)}function Be(f){return void 0===f}function pe(f){const y=+f;let E=0;return 0!==y&&isFinite(y)&&(E=e(y)),E}w.d(ke,{$P:()=>K,Bl:()=>nn,F_:()=>il,Ft:()=>_o,GH:()=>hi,JK:()=>Ln,K6:()=>Vt,Py:()=>Ge,Pz:()=>Z,Y8:()=>lr,Yq:()=>Eo,_U:()=>Dn,cy:()=>le,dS:()=>ai,hW:()=>$r,kE:()=>at,mO:()=>cs,mW:()=>yt,n6:()=>As,pJ:()=>Zs,qK:()=>jn,ro:()=>Ei,s0:()=>Gn,tF:()=>Hn,tj:()=>ut});const ze={},xe={date:"day",hour:"hours",minute:"minutes",second:"seconds",millisecond:"milliseconds"};function Fe(f,y){const E=f.toLowerCase();let N=f;E in xe&&(N=xe[E]),ze[E]=ze[`${E}s`]=ze[y]=N}function $e(f){return ee(f)?ze[f]||ze[f.toLowerCase()]:void 0}const _e=0,B=1,H=2,ie=3,fe=4,Le=5,_t=6,Pt=7,re=8;function Te(f,y,E){const N=`${Math.abs(f)}`;return(f>=0?E?"+":"":"-")+Math.pow(10,Math.max(0,y-N.length)).toString().substr(1)+N}const mt={},ht={},Xt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
1|x|X|zz?|ZZ?|.)/g;function gt(f,y,E,N){f&&(ht[f]=N),y&&(ht[y[0]]=function(){return Te(N.apply(null,arguments),y[1],y[2])}),E&&(ht[E]=function(X,je){return je.locale.ordinal(N.apply(null,arguments),f)})}function Je(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}function ve(f,y,E){const N=new Date(Date.UTC.apply(null,arguments));return f<100&&f>=0&&isFinite(N.getUTCFullYear())&&N.setUTCFullYear(f),N}function te(f,y=0,E=1,N=0,X=0,je=0,ft=0){const Et=new Date(f,y,E,N,X,je,ft);return f<100&&f>=0&&isFinite(Et.getFullYear())&&Et.setFullYear(f),Et}function me(f,y=!1){return y?f.getUTCHours():f.getHours()}function ye(f,y=!1){return y?f.getUTCMinutes():f.getMinutes()}function Ye(f,y=!1){return y?f.getUTCSeconds():f.getSeconds()}function Me(f,y=!1){return y?f.getUTCMilliseconds():f.getMilliseconds()}function Ge(f,y=!1){return y?f.getUTCDay():f.getDay()}function zt(f,y=!1){return y?f.getUTCDate():f.getDate()}function ut(f,y=!1){return y?f.getUTCMonth():f.getMonth()}function nn(f,y=!1){return y?f.getUTCFullYear():f.getFullYear()}function yt(f){return te(f.getFullYear(),f.getMonth(),1,f.getHours(),f.getMinutes(),f.getSeconds())}function Vt(f,y){return f.getDay()===Number(y)}function Hn(f,y){return!(!f||!y)&&Gn(f,y)&&ut(f)===ut(y)}function Gn(f,y){return!(!f||!y)&&nn(f)===nn(y)}function Ei(f,y){return!(!f||!y)&&Gn(f,y)&&Hn(f,y)&&zt(f)===zt(y)}const bs=/\d/,li=/\d\d/,pi=/\d{3}/,vn=/\d{4}/,Fn=/[+-]?\d{6}/,ln=/\d\d?/,Oi=/\d\d\d\d?/,Os=/\d\d\d\d\d\d?/,Pi=/\d{1,3}/,hn=/\d{1,4}/,wi=/[+-]?\d{1,6}/,to=/\d+/,Kn=/[+-]?\d+/,An=/Z|[+-]\d\d(?::?\d\d)?/gi,Gi=/[+-]?\d+(\.\d{1,3})?/,Ri=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ni={};function sn(f,y,E){Ni[f]=$(y)?y:function(N,X){return N&&E?E:y}}function xi(f,y){return W(Ni,f)?Ni[f](!1,y):new RegExp(function ue(f){return et(f.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(y,E,N,X,je)=>E||N||X||je))}(f))}function et(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}const st={};function rt(f,y){const E=ee(f)?[f]:f;let N=y;if(z(y)&&(N=function(X,je,ft){return je[y]=pe(X),ft}),le(E)&&$(N)){let X;for(X=0;X<E.length;X++)st[E[X]]=N}}function Tt(f,y){rt(f,function(E,N,X,je){return X._w=X._w||{},y(E,X._w,X,je)})}function Bt(f,y,E){return null!=y&&W(st,f)&&st[f](y,E._a,E,f),E}const en={};function Qt(f,y){en[f]=y}function he(f){return null==f._pf&&(f._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),f._pf}function Re(f,y){return y.locale.getFullYear?y.locale.getFullYear(f,y.isUTC).toString():nn(f,y.isUTC).toString()}function At(f){return pe(f)+(pe(f)>68?1900:2e3)}function Ht(f){return Wn(f)?366:365}function Wn(f){return f%4==0&&f%100!=0||f%400==0}function pn(f,y){if(isNaN(f)||isNaN(y))return NaN;const E=function i(f,y){return(f%y+y)%y}(y,12);return 1===E?Wn(f+(y-E)/12)?29:28:31-E%7%2}const Wi={year:0,month:0,day:0,hour:0,minute:0,seconds:0};function As(f,y){const E=Object.assign({},Wi,y),N=f.getFullYear()+(E.year||0),X=f.getMonth()+(E.month||0);let je=f.getDate()+(E.day||0);return E.month&&!E.day&&(je=Math.min(je,pn(N,X))),te(N,X,je,f.getHours()+(E.hour||0),f.getMinutes()+(E.minute||0),f.getSeconds()+(E.seconds||0))}function at(f,y){return te(Ue(f.getFullYear(),y.year),Ue(f.getMonth(),y.month),1,Ue(f.getHours(),y.hour),Ue(f.getMinutes(),y.minute),Ue(f.getSeconds(),y.seconds),Ue(f.getMilliseconds(),y.milliseconds))}function Ue(f,y){return z(y)?y:f}function Dt(f,y,E){const N=Math.min(zt(f),pn(nn(f),y));return E?f.setUTCMonth(y,N):f.setMonth(y,N),f}function Ii(f,y,E){return E?f.setUTCDate(y):f.setDate(y),f}function Ui(f){return new Date(f.getTime())}function hi(f,y,E){const N=Ui(f);switch(y){case"year":Dt(N,0,E);case"quarter":case"month":Ii(N,1,E);case"week":case"isoWeek":case"day":case"date":!function qt(f,y,E){E?f.setUTCHours(y):f.setHours(y)}(N,0,E);case"hours":!function Gt(f,y,E){E?f.setUTCMinutes(y):f.setMinutes(y)}(N,0,E);case"minutes":!function wn(f,y,E){E?f.setUTCSeconds(y):f.setSeconds(y)}(N,0,E);case"seconds":!function Rn(f,y,E){E?f.setUTCMilliseconds(y):f.setMilliseconds(y)}(N,0,E)}return"week"===y&&function oo(f,y,E={}){En(f,y-Ks(f,E.locale,E.isUTC),"day")}(N,0,{isUTC:E}),"isoWeek"===y&&function cr(f,y,E={}){const N=function Bi(f,y=Ln()){return ee(f)?y.weekdaysParse(f)%7||7:z(f)&&isNaN(f)?null:f}(y,E.locale);Zi(f,function ni(f,y){return Ge(f,y)}(f)%7?N:N-7)}(N,1),"quarter"===y&&Dt(N,3*Math.floor(ut(N,E)/3),E),N}function Zs(f,y,E){let N=y;return"date"===N&&(N="day"),function Bn(f,y,E,N){return Vn(f,M(y,E),-1,N)}(En(hi(f,N,E),1,"isoWeek"===N?"week":N,E),1,"milliseconds",E)}function ri(f,y){const E=+hi(f,"day",y),N=+hi(f,"year",y);return Math.round((E-N)/864e5)+1}function xs(f,y,E){const N=y-E+7;return-(ve(f,0,N).getUTCDay()-y+7)%7+N-1}function Si(f,y,E,N){const X=xs(nn(f,N),y,E),je=Math.floor((ri(f,N)-X-1)/7)+1;let ft,Et;return je<1?(Et=nn(f,N)-1,ft=je+is(Et,y,E)):je>is(nn(f,N),y,E)?(ft=je-is(nn(f,N),y,E),Et=nn(f,N)+1):(Et=nn(f,N),ft=je),{week:ft,year:Et}}function is(f,y,E){const N=xs(f,y,E),X=xs(f+1,y,E);return(Ht(f)-N+X)/7}const Rs=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ss="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ws="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),os="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ps="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rs="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),so={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"},Xr=Ri,Ro=Ri;class No{constructor(y){y&&this.set(y)}set(y){let E;for(E in y){if(!y.hasOwnProperty(E))continue;const N=y[E];this[$(N)?E:`_${E}`]=N}this._config=y}calendar(y,E,N){const X=this._calendar[y]||this._calendar.sameElse;return $(X)?X.call(null,E,N):X}longDateFormat(y){const E=this._longDateFormat[y],N=this._longDateFormat[y.toUpperCase()];return E||!N?E:(this._longDateFormat[y]=N.replace(/MMMM|MM|DD|dddd/g,function(X){return X.slice(1)}),this._longDateFormat[y])}get invalidDate(){return this._invalidDate}set invalidDate(y){this._invalidDate=y}ordinal(y,E){return this._ordinal.replace("%d",y.toString(10))}preparse(y,E){return y}getFullYear(y,E=!1){return nn(y,E)}postformat(y){return y}relativeTime(y,E,N,X){const je=this._relativeTime[N];return $(je)?je(y,E,N,X):je.replace(/%d/i,y.toString(10))}pastFuture(y,E){const N=this._relativeTime[y>0?"future":"past"];return $(N)?N(E):N.replace(/%s/i,E)}months(y,E,N=!1){if(!y)return le(this._months)?this._months:this._months.standalone;if(le(this._months))return this._months[ut(y,N)];const X=(this._months.isFormat||Rs).test(E)?"format":"standalone";return this._months[X][ut(y,N)]}monthsShort(y,E,N=!1){if(!y)return le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone;if(le(this._monthsShort))return this._monthsShort[ut(y,N)];const X=Rs.test(E)?"format":"standalone";return this._monthsShort[X][ut(y,N)]}monthsParse(y,E,N){let X,je,ft;if(this._monthsParseExact)return this.handleMonthStrictParse(y,E,N);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ft=0;ft<12;
1ft++){if(X=new Date(Date.UTC(2e3,ft)),N&&!this._longMonthsParse[ft]){const Et=this.months(X,"",!0).replace(".",""),On=this.monthsShort(X,"",!0).replace(".","");this._longMonthsParse[ft]=new RegExp(`^${Et}$`,"i"),this._shortMonthsParse[ft]=new RegExp(`^${On}$`,"i")}if(!N&&!this._monthsParse[ft]&&(je=`^${this.months(X,"",!0)}|^${this.monthsShort(X,"",!0)}`,this._monthsParse[ft]=new RegExp(je.replace(".",""),"i")),N&&"MMMM"===E&&this._longMonthsParse[ft].test(y)||N&&"MMM"===E&&this._shortMonthsParse[ft].test(y)||!N&&this._monthsParse[ft].test(y))return ft}}monthsRegex(y){return this._monthsParseExact?(W(this,"_monthsRegex")||this.computeMonthsParse(),y?this._monthsStrictRegex:this._monthsRegex):(W(this,"_monthsRegex")||(this._monthsRegex=Ro),this._monthsStrictRegex&&y?this._monthsStrictRegex:this._monthsRegex)}monthsShortRegex(y){return this._monthsParseExact?(W(this,"_monthsRegex")||this.computeMonthsParse(),y?this._monthsShortStrictRegex:this._monthsShortRegex):(W(this,"_monthsShortRegex")||(this._monthsShortRegex=Xr),this._monthsShortStrictRegex&&y?this._monthsShortStrictRegex:this._monthsShortRegex)}week(y,E){return Si(y,this._week.dow,this._week.doy,E).week}firstDayOfWeek(){return this._week.dow}firstDayOfYear(){return this._week.doy}weekdays(y,E,N){if(!y)return le(this._weekdays)?this._weekdays:this._weekdays.standalone;if(le(this._weekdays))return this._weekdays[Ge(y,N)];const X=this._weekdays.isFormat.test(E)?"format":"standalone";return this._weekdays[X][Ge(y,N)]}weekdaysMin(y,E,N){return y?this._weekdaysMin[Ge(y,N)]:this._weekdaysMin}weekdaysShort(y,E,N){return y?this._weekdaysShort[Ge(y,N)]:this._weekdaysShort}weekdaysParse(y,E,N){let X,je;if(this._weekdaysParseExact)return this.handleWeekStrictParse(y,E,N);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),X=0;X<7;X++){const ft=Zi(new Date(Date.UTC(2e3,1)),X,null,!0);if(N&&!this._fullWeekdaysParse[X]&&(this._fullWeekdaysParse[X]=new RegExp(`^${this.weekdays(ft,"",!0).replace(".",".?")}$`,"i"),this._shortWeekdaysParse[X]=new RegExp(`^${this.weekdaysShort(ft,"",!0).replace(".",".?")}$`,"i"),this._minWeekdaysParse[X]=new RegExp(`^${this.weekdaysMin(ft,"",!0).replace(".",".?")}$`,"i")),this._weekdaysParse[X]||(je=`^${this.weekdays(ft,"",!0)}|^${this.weekdaysShort(ft,"",!0)}|^${this.weekdaysMin(ft,"",!0)}`,this._weekdaysParse[X]=new RegExp(je.replace(".",""),"i")),!(le(this._fullWeekdaysParse)&&le(this._shortWeekdaysParse)&&le(this._minWeekdaysParse)&&le(this._weekdaysParse)))return;if(N&&"dddd"===E&&this._fullWeekdaysParse[X].test(y))return X;if(N&&"ddd"===E&&this._shortWeekdaysParse[X].test(y))return X;if(N&&"dd"===E&&this._minWeekdaysParse[X].test(y))return X;if(!N&&this._weekdaysParse[X].test(y))return X}}weekdaysRegex(y){return this._weekdaysParseExact?(W(this,"_weekdaysRegex")||this.computeWeekdaysParse(),y?this._weekdaysStrictRegex:this._weekdaysRegex):(W(this,"_weekdaysRegex")||(this._weekdaysRegex=Ri),this._weekdaysStrictRegex&&y?this._weekdaysStrictRegex:this._weekdaysRegex)}weekdaysShortRegex(y){return this._weekdaysParseExact?(W(this,"_weekdaysRegex")||this.computeWeekdaysParse(),y?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(W(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ri),this._weekdaysShortStrictRegex&&y?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}weekdaysMinRegex(y){return this._weekdaysParseExact?(W(this,"_weekdaysRegex")||this.computeWeekdaysParse(),y?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(W(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ri),this._weekdaysMinStrictRegex&&y?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}isPM(y){return"p"===y.toLowerCase().charAt(0)}meridiem(y,E,N){return y>11?N?"pm":"PM":N?"am":"AM"}formatLongDate(y){this._longDateFormat=this._longDateFormat?this._longDateFormat:so;const E=this._longDateFormat[y],N=this._longDateFormat[y.toUpperCase()];return E||!N?E:(this._longDateFormat[y]=N.replace(/MMMM|MM|DD|dddd/g,X=>X.slice(1)),this._longDateFormat[y])}handleMonthStrictParse(y,E,N){const X=y.toLocaleLowerCase();let je,ft,Et;if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],je=0;je<12;++je)Et=new Date(2e3,je),this._shortMonthsParse[je]=this.monthsShort(Et,"").toLocaleLowerCase(),this._longMonthsParse[je]=this.months(Et,"").toLocaleLowerCase();return N?"MMM"===E?(ft=this._shortMonthsParse.indexOf(X),-1!==ft?ft:null):(ft=this._longMonthsParse.indexOf(X),-1!==ft?ft:null):"MMM"===E?(ft=this._shortMonthsParse.indexOf(X),-1!==ft?ft:(ft=this._longMonthsParse.indexOf(X),-1!==ft?ft:null)):(ft=this._longMonthsParse.indexOf(X),-1!==ft?ft:(ft=this._shortMonthsParse.indexOf(X),-1!==ft?ft:null))}handleWeekStrictParse(y,E,N){let X;const je=y.toLocaleLowerCase();if(!this._weekdaysParse){let ft;for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ft=0;ft<7;++ft){const Et=Zi(new Date(Date.UTC(2e3,1)),ft,null,!0);this._minWeekdaysParse[ft]=this.weekdaysMin(Et).toLocaleLowerCase(),this._shortWeekdaysParse[ft]=this.weekdaysShort(Et).toLocaleLowerCase(),this._weekdaysParse[ft]=this.weekdays(Et,"").toLocaleLowerCase()}}if(le(this._weekdaysParse)&&le(this._shortWeekdaysParse)&&le(this._minWeekdaysParse))return N?"dddd"===E?(X=this._weekdaysParse.indexOf(je),-1!==X?X:null):"ddd"===E?(X=this._shortWeekdaysParse.indexOf(je),-1!==X?X:null):(X=this._minWeekdaysParse.indexOf(je),-1!==X?X:null):"dddd"===E?(X=this._weekdaysParse.indexOf(je),-1!==X||(X=this._shortWeekdaysParse.indexOf(je),-1!==X)?X:(X=this._minWeekdaysParse.indexOf(je),-1!==X?X:null)):"ddd"===E?(X=this._shortWeekdaysParse.indexOf(je),-1!==X||(X=this._weekdaysParse.indexOf(je),-1!==X)?X:(X=this._minWeekdaysParse.indexOf(je),-1!==X?X:null)):(X=this._minWeekdaysParse.indexOf(je),-1!==X||(X=this._weekdaysParse.indexOf(je),-1!==X)?X:(X=this._shortWeekdaysParse.indexOf(je),-1!==X?X:null))}computeMonthsParse(){const y=[],E=[],N=[];let X,je;for(je=0;je<12;je++)X=new Date(2e3,je),y.push(this.monthsShort(X,"")),E.push(this.months(X,"")),N.push(this.months(X,"")),N.push(this.monthsShort(X,""));for(y.sort(Ns),E.sort(Ns),N.sort(Ns),je=0;je<12;je++)y[je]=et(y[je]),E[je]=et(E[je]);for(je=0;je<24;je++)N[je]=et(N[je]);this._monthsRegex=new RegExp(`^(${N.join("|")})`,"i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp(`^(${E.join("|")})`,"i"),this._monthsShortStrictRegex=new RegExp(`^(${y.join("|")})`,"i")}computeWeekdaysParse(){const y=[],E=[],N=[],X=[];let je;for(je=0;je<7;
1je++){const ft=Zi(new Date(Date.UTC(2e3,1)),je,null,!0),Et=this.weekdaysMin(ft),On=this.weekdaysShort(ft),Us=this.weekdays(ft);y.push(Et),E.push(On),N.push(Us),X.push(Et),X.push(On),X.push(Us)}for(y.sort(Ns),E.sort(Ns),N.sort(Ns),X.sort(Ns),je=0;je<7;je++)E[je]=et(E[je]),N[je]=et(N[je]),X[je]=et(X[je]);this._weekdaysRegex=new RegExp(`^(${X.join("|")})`,"i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(`^(${N.join("|")})`,"i"),this._weekdaysShortStrictRegex=new RegExp(`^(${E.join("|")})`,"i"),this._weekdaysMinStrictRegex=new RegExp(`^(${y.join("|")})`,"i")}}function Ns(f,y){return y.length-f.length}const Po={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:so,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ss,monthsShort:Ws,week:{dow:0,doy:6},weekdays:os,weekdaysMin:rs,weekdaysShort:Ps,meridiemParse:/[ap]\.?m?\.?/i};function Wo(f,y,E){const N=Math.min(f.length,y.length),X=Math.abs(f.length-y.length);let ft,je=0;for(ft=0;ft<N;ft++)(E&&f[ft]!==y[ft]||!E&&pe(f[ft])!==pe(y[ft]))&&je++;return je+X}function zi(f,y){gt(null,[f,f.length,!1],null,y)}function Xi(f,y){return Lo(f,y.locale).toString()}function Ls(f){return gs(f).toString()}function Lo(f,y=Ln(),E){return Si(f,y.firstDayOfWeek(),y.firstDayOfYear(),E).year}function gs(f,y){return Si(f,1,4,y).year}function Oe(f,y){gt(f,null,null,function(E,N){let X=function kn(f,y={}){return y._isUTC?y._offset||0:function Nt(f){return 15*-Math.round(f.getTimezoneOffset()/15)}(f)}(E,{_isUTC:N.isUTC,_offset:N.offset}),je="+";return X<0&&(X=-X,je="-"),je+Te(~~(X/60),2)+y+Te(~~X%60,2)})}const kt=/([\+\-]|\d\d)/gi;const bn={},Vo={};let ls;function sr(f){return f&&f.toLowerCase().replace("_","-")}function ho(f){return bn[f]||console.error(`Khronos locale error: please load locale "${f}" before using it`),bn[f]}function ms(f,y){let E;return f&&(Be(y)?E=Ln(f):ee(f)&&(E=cs(f,y)),E&&(ls=E)),ls&&ls._abbr}function cs(f,y){if(null===y)return delete bn[f],ls=Ln("en"),null;if(!y)return;let E=Po;if(y.abbr=f,null!=y.parentLocale){if(null==bn[y.parentLocale])return Vo[y.parentLocale]||(Vo[y.parentLocale]=[]),Vo[y.parentLocale].push({name:f,config:y}),null;E=bn[y.parentLocale]._config}return bn[f]=new No(function ks(f,y){const E=Object.assign({},f);for(const N in y)W(y,N)&&(ge(f[N])&&ge(y[N])?(E[N]={},Object.assign(E[N],f[N]),Object.assign(E[N],y[N])):null!=y[N]?E[N]=y[N]:delete E[N]);for(const N in f)W(f,N)&&!W(y,N)&&ge(f[N])&&(E[N]=Object.assign({},E[N]));return E}(E,y)),Vo[f]&&Vo[f].forEach(function(N){cs(N.name,N.config)}),ms(f),bn[f]}function Ln(f){return function po(){bn.en||(ms("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal(f){const y=f%10;return f+(1===pe(f%100/10)?"th":1===y?"st":2===y?"nd":3===y?"rd":"th")}}),function nr(){gt("w",["ww",2,!1],"wo",function(f,y){return function lo(f,y=Ln(),E){return y.week(f,E)}(f,y.locale).toString(10)}),gt("W",["WW",2,!1],"Wo",function(f){return function no(f,y){return Si(f,1,4,y).week}(f).toString(10)}),Fe("week","w"),Fe("isoWeek","W"),Qt("week",5),Qt("isoWeek",5),sn("w",ln),sn("ww",ln,li),sn("W",ln),sn("WW",ln,li),Tt(["w","ww","W","WW"],function(f,y,E,N){return y[N.substr(0,1)]=pe(f),E})}(),function ti(){gt(null,["gg",2,!1],null,function(f,y){return(Lo(f,y.locale)%100).toString()}),gt(null,["GG",2,!1],null,function(f){return(gs(f)%100).toString()}),zi("gggg",Xi),zi("ggggg",Xi),zi("GGGG",Ls),zi("GGGGG",Ls),Fe("weekYear","gg"),Fe("isoWeekYear","GG"),Qt("weekYear",1),Qt("isoWeekYear",1),sn("G",Kn),sn("g",Kn),sn("GG",ln,li),sn("gg",ln,li),sn("GGGG",hn,vn),sn("gggg",hn,vn),sn("GGGGG",wi,Fn),sn("ggggg",wi,Fn),Tt(["gggg","ggggg","GGGG","GGGGG"],function(f,y,E,N){return y[N.substr(0,2)]=pe(f),E}),Tt(["gg","GG"],function(f,y,E,N){return y[N]=At(f),E})}(),function pt(){gt("Y",null,null,function(f,y){const E=nn(f,y.isUTC);return E<=9999?E.toString(10):`+${E}`}),gt(null,["YY",2,!1],null,function(f,y){return(nn(f,y.isUTC)%100).toString(10)}),gt(null,["YYYY",4,!1],null,Re),gt(null,["YYYYY",5,!1],null,Re),gt(null,["YYYYYY",6,!0],null,Re),Fe("year","y"),Qt("year",1),sn("Y",Kn),sn("YY",ln,li),sn("YYYY",hn,vn),sn("YYYYY",wi,Fn),sn("YYYYYY",wi,Fn),rt(["YYYYY","YYYYYY"],_e),rt("YYYY",function(f,y,E){return y[_e]=2===f.length?At(f):pe(f),E}),rt("YY",function(f,y,E){return y[_e]=At(f),E}),rt("Y",function(f,y,E){return y[_e]=parseInt(f,10),E})}(),function Nn(){gt("z",null,null,function(f,y){return y.isUTC?"UTC":""}),gt("zz",null,null,function(f,y){return y.isUTC?"Coordinated Universal Time":""})}(),function fi(){gt("X",null,null,function(f){return function We(f){return Math.floor(f.valueOf()/1e3)}(f).toString(10)}),gt("x",null,null,function(f){return f.valueOf().toString(10)}
1),sn("x",Kn),sn("X",Gi),rt("X",function(f,y,E){return E._d=new Date(1e3*parseFloat(f)),E}),rt("x",function(f,y,E){return E._d=new Date(pe(f)),E})}(),function zn(){gt("s",["ss",2,!1],null,function(f,y){return Ye(f,y.isUTC).toString(10)}),Fe("second","s"),Qt("second",15),sn("s",ln),sn("ss",ln,li),rt(["s","ss"],Le)}(),function Q(){gt("Q",null,"Qo",function(f,y){return function Se(f,y=!1){return Math.ceil((ut(f,y)+1)/3)}(f,y.isUTC).toString(10)}),Fe("quarter","Q"),Qt("quarter",7),sn("Q",bs),rt("Q",function(f,y,E){return y[B]=3*(pe(f)-1),E})}(),function Ve(){Oe("Z",":"),Oe("ZZ",""),sn("Z",An),sn("ZZ",An),rt(["Z","ZZ"],function(f,y,E){return E._useUTC=!0,E._tzm=function Jt(f,y){const E=(y||"").match(f);if(null===E)return null;const X=E[E.length-1].match(kt)||["-","0","0"],je=60*parseInt(X[1],10)+pe(X[2]);return 0===je?0:"+"===X[0]?je:-je}(An,f),E})}(),function Sn(){gt("M",["MM",2,!1],"Mo",function(f,y){return(ut(f,y.isUTC)+1).toString(10)}),gt("MMM",null,null,function(f,y){return y.locale.monthsShort(f,y.format,y.isUTC)}),gt("MMMM",null,null,function(f,y){return y.locale.months(f,y.format,y.isUTC)}),Fe("month","M"),Qt("month",8),sn("M",ln),sn("MM",ln,li),sn("MMM",function(f,y){return y.monthsShortRegex(f)}),sn("MMMM",function(f,y){return y.monthsRegex(f)}),rt(["M","MM"],function(f,y,E){return y[B]=pe(f)-1,E}),rt(["MMM","MMMM"],function(f,y,E,N){const X=E._locale.monthsParse(f,N,E._strict);return null!=X?y[B]=X:he(E).invalidMonth=!!f,E})}(),function uo(){gt("m",["mm",2,!1],null,function(f,y){return ye(f,y.isUTC).toString(10)}),Fe("minute","m"),Qt("minute",14),sn("m",ln),sn("mm",ln,li),rt(["m","mm"],fe)}(),function ir(){let f;for(gt("S",null,null,function(E,N){return(~~(Me(E,N.isUTC)/100)).toString(10)}),gt(null,["SS",2,!1],null,function(E,N){return(~~(Me(E,N.isUTC)/10)).toString(10)}),gt(null,["SSS",3,!1],null,function(E,N){return Me(E,N.isUTC).toString(10)}),gt(null,["SSSS",4,!1],null,function(E,N){return(10*Me(E,N.isUTC)).toString(10)}),gt(null,["SSSSS",5,!1],null,function(E,N){return(100*Me(E,N.isUTC)).toString(10)}),gt(null,["SSSSSS",6,!1],null,function(E,N){return(1e3*Me(E,N.isUTC)).toString(10)}),gt(null,["SSSSSSS",7,!1],null,function(E,N){return(1e4*Me(E,N.isUTC)).toString(10)}),gt(null,["SSSSSSSS",8,!1],null,function(E,N){return(1e5*Me(E,N.isUTC)).toString(10)}),gt(null,["SSSSSSSSS",9,!1],null,function(E,N){return(1e6*Me(E,N.isUTC)).toString(10)}),Fe("millisecond","ms"),Qt("millisecond",16),sn("S",Pi,bs),sn("SS",Pi,li),sn("SSS",Pi,pi),f="SSSS";f.length<=9;f+="S")sn(f,to);function y(E,N,X){return N[_t]=pe(1e3*parseFloat(`0.${E}`)),X}for(f="S";f.length<=9;f+="S")rt(f,y)}(),function ws(){function f(X,je){return me(X,je)%12||12}function E(X,je){gt(X,null,null,function(ft,Et){return Et.locale.meridiem(me(ft,Et.isUTC),ye(ft,Et.isUTC),je)})}function N(X,je){return je._meridiemParse}gt("H",["HH",2,!1],null,function(X,je){return me(X,je.isUTC).toString(10)}),gt("h",["hh",2,!1],null,function(X,je){return f(X,je.isUTC).toString(10)}),gt("k",["kk",2,!1],null,function(X,je){return function y(X,je){return me(X,je)||24}(X,je.isUTC).toString(10)}),gt("hmm",null,null,function(X,je){return`${f(X,je.isUTC)}${Te(ye(X,je.isUTC),2)}`}),gt("hmmss",null,null,function(X,je){return`${f(X,je.isUTC)}${Te(ye(X,je.isUTC),2)}${Te(Ye(X,je.isUTC),2)}`}),gt("Hmm",null,null,function(X,je){return`${me(X,je.isUTC)}${Te(ye(X,je.isUTC),2)}`}),gt("Hmmss",null,null,function(X,je){return`${me(X,je.isUTC)}${Te(ye(X,je.isUTC),2)}${Te(Ye(X,je.isUTC),2)}`}),E("a",!0),E("A",!1),Fe("hour","h"),Qt("hour",13),sn("a",N),sn("A",N),sn("H",ln),sn("h",ln),sn("k",ln),sn("HH",ln,li),sn("hh",ln,li),sn("kk",ln,li),sn("hmm",Oi),sn("hmmss",Os),sn("Hmm",Oi),sn("Hmmss",Os),rt(["H","HH"],ie),rt(["k","kk"],function(X,je,ft){const Et=pe(X);return je[ie]=24===Et?0:Et,ft}),rt(["a","A"],function(X,je,ft){return ft._isPm=ft._locale.isPM(X),ft._meridiem=X,ft}),rt(["h","hh"],function(X,je,ft){return je[ie]=pe(X),he(ft).bigHour=!0,ft}),rt("hmm",function(X,je,ft){const Et=X.length-2;return je[ie]=pe(X.substr(0,Et)),je[fe]=pe(X.substr(Et)),he(ft).bigHour=!0,ft}),rt("hmmss",function(X,je,ft){const Et=X.length-4,On=X.length-2;return je[ie]=pe(X.substr(0,Et)),je[fe]=pe(X.substr(Et,2)),je[Le]=pe(X.substr(On)),he(ft).bigHour=!0,ft}),rt("Hmm",function(X,je,ft){const Et=X.length-2;return je[ie]=pe(X.substr(0,Et)),je[fe]=pe(X.substr(Et)),ft}),rt("Hmmss",function(X,je,ft){const Et=X.length-4,On=X.length-2;return je[ie]=pe(X.substr(0,Et)),je[fe]=pe(X.substr(Et,2)),je[Le]=pe(X.substr(On)),ft})}(),function Gs(){gt("DDD",["DDDD",3,!1],"DDDo",function(f){return ri(f).toString(10)}),Fe("dayOfYear","DDD"),Qt("dayOfYear",4),sn("DDD",Pi),sn("DDDD",pi),rt(["DDD","DDDD"],function(f,y,E){return E._dayOfYear=pe(f),E})}(),function Tn(){gt("d",null,"do",function(f,y){return Ge(f,y.isUTC).toString(10)}),gt("dd",null,null,function(f,y){return y.locale.weekdaysMin(f,y.format,y.isUTC)}),gt("ddd",null,null,function(f,y){return y.locale.weekdaysShort(f,y.format,y.isUTC)}),gt("dddd",null,null,function(f,y){return y.locale.weekdays(f,y.format,y.isUTC)}),gt("e",null,null,function(f,y){return Ks(f,y.locale,y.isUTC).toString(10)}),gt("E",null,null,function(f,y){return function ys(f,y){return Ge(f,y)||7}(f,y.isUTC).toString(10)}),Fe("day","d"),Fe("weekday","e"),Fe("isoWeekday","E"),Qt("day",11),Qt("weekday",11),Qt("isoWeekday",11),sn("d",ln),sn("e",ln),sn("E",ln),sn("dd",function(f,y){return y.weekdaysMinRegex(f)}),sn("ddd",function(f,y){return y.weekdaysShortRegex(f)}),sn("dddd",function(f,y){return y.weekdaysRegex(f)}),Tt(["dd","ddd","dddd"],function(f,y,E,N){const X=E._locale.weekdaysParse(f,N,E._strict);return null!=X?y.d=X:he(E).invalidWeekday=!!f,E}),Tt(["d","e","E"],function(f,y,E,N){return y[N]=pe(f),E})}(),function qe(){gt("D",["DD",2,!1],"Do",function(f,y){return zt(f,y.isUTC).toString(10)}),Fe("date","D"),Qt("date",9),sn("D",ln),sn("DD",ln,li),sn("Do",function(f,y){return y._dayOfMonthOrdinalParse||y._ordinalParse}),rt(["D","DD"],H),rt("Do",function(f,y,E){return y[H]=pe(f.match(ln)[0]),E})}())}(),f?function Fi(f){let y,E,N=0;for(;N<f.length;){const X=sr(f[N]).split("-");let je=X.length;for(y=sr(f[N+1]),y=y?y.split("-"):null;je>0;){if(E=ho(X.slice(0,je).join("-")),E)return E;if(y&&y.length>=je&&Wo(X,y,!0)>=je-1)break;je--}N++}return null}(le(f)?f:[f]):ls}const Lt=["year","quarter","month","week","day","hours","minutes","seconds","milliseconds"],Br=Lt.reduce((f,y)=>(f[y]=!0,f),{});function zo(f){return f<0?Math.floor(f):Math.ceil(f)}
1function _r(f){return 4800*f/146097}function Xo(f){return 146097*f/4800}let Vs=Math.round;const fo_ss=44,fo_s=45,fo_m=45,fo_h=22,fo_d=26,fo_M=11;function V(f,y,E,N,X){return X.relativeTime(y||1,!!E,f,N)}class Ne{constructor(y,E={}){this._data={},this._locale=Ln(),this._locale=E&&E._locale||Ln();const X=y.year||0,je=y.quarter||0,ft=y.month||0,Et=y.week||0,On=y.day||0,Us=y.hours||0,ll=y.minutes||0,Qc=y.seconds||0,Pl=y.milliseconds||0;return this._isValid=function js(f){if(Object.keys(f).some(N=>N in Br&&null===f[N]||isNaN(f[N])))return!1;let E=!1;for(let N=0;N<Lt.length;++N)if(f[Lt[N]]){if(E)return!1;f[Lt[N]]!==pe(f[Lt[N]])&&(E=!0)}return!0}(y),this._milliseconds=+Pl+1e3*Qc+60*ll*1e3+1e3*Us*60*60,this._days=+On+7*Et,this._months=+ft+3*je+12*X,function wa(f){let y=f._milliseconds,E=f._days,N=f._months;const X=f._data;y>=0&&E>=0&&N>=0||y<=0&&E<=0&&N<=0||(y+=864e5*zo(Xo(N)+E),E=0,N=0),X.milliseconds=y%1e3;const je=e(y/1e3);X.seconds=je%60;const ft=e(je/60);X.minutes=ft%60;const Et=e(ft/60);X.hours=Et%24,E+=e(Et/24);const On=e(_r(E));N+=On,E-=zo(Xo(On));const Us=e(N/12);return N%=12,X.day=E,X.month=N,X.year=Us,f}(this)}isValid(){return this._isValid}humanize(y){if(!this.isValid())return this.localeData().invalidDate;const E=this.localeData();let N=function Y(f,y,E){const N=M(f).abs(),X=Vs(N.as("s")),je=Vs(N.as("m")),ft=Vs(N.as("h")),Et=Vs(N.as("d")),On=Vs(N.as("M")),Us=Vs(N.as("y")),ll=X<=fo_ss&&["s",X]||X<fo_s&&["ss",X]||je<=1&&["m"]||je<fo_m&&["mm",je]||ft<=1&&["h"]||ft<fo_h&&["hh",ft]||Et<=1&&["d"]||Et<fo_d&&["dd",Et]||On<=1&&["M"]||On<fo_M&&["MM",On]||Us<=1&&["y"]||["yy",Us];return V.apply(null,[ll[0],ll[1],y,+f>0,E])}(this,!y,E);return y&&(N=E.pastFuture(+this,N)),E.postformat(N)}localeData(){return this._locale}locale(y){return y?(this._locale=Ln(y)||this._locale,this):this._locale._abbr}abs(){const y=Math.abs,E=this._data;return this._milliseconds=y(this._milliseconds),this._days=y(this._days),this._months=y(this._months),E.milliseconds=y(E.milliseconds),E.seconds=y(E.seconds),E.minutes=y(E.minutes),E.hours=y(E.hours),E.month=y(E.month),E.year=y(E.year),this}as(y){if(!this.isValid())return NaN;let E,N;const X=this._milliseconds,je=$e(y);if("month"===je||"year"===je)return E=this._days+X/864e5,N=this._months+_r(E),"month"===je?N:N/12;switch(E=this._days+Math.round(Xo(this._months)),je){case"week":return E/7+X/6048e5;case"day":return E+X/864e5;case"hours":return 24*E+X/36e5;case"minutes":return 1440*E+X/6e4;case"seconds":return 86400*E+X/1e3;case"milliseconds":return Math.floor(864e5*E)+X;default:throw new Error(`Unknown unit ${je}`)}}valueOf(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*pe(this._months/12):NaN}}function Zn(f){if(null==f._isValid){const y=he(f),E=Array.prototype.some.call(y.parsedDateParts,function(X){return null!=X});let N=!isNaN(f._d&&f._d.getTime())&&y.overflow<0&&!y.empty&&!y.invalidMonth&&!y.invalidWeekday&&!y.weekdayMismatch&&!y.nullInput&&!y.invalidFormat&&!y.userInvalidated&&(!y.meridiem||y.meridiem&&E);if(f._strict&&(N=N&&0===y.charsLeftOver&&0===y.unusedTokens.length&&void 0===y.bigHour),null!=Object.isFrozen&&Object.isFrozen(f))return N;f._isValid=N}return f._isValid}function Bs(f,y){return f._d=new Date(NaN),Object.assign(he(f),y||{userInvalidated:!0}),f}const or=/^\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)?)?$/,Ko=/^\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)?)?$/,Va=/Z|[+-]\d\d(?::?\d\d)?/,rr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/,!0],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/,!0],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/,!0],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/,!0],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/,!0],["YYYYMMDD",/\d{8}/,!0],["GGGG[W]WWE",/\d{4}W\d{3}/,!0],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/,!0]],Sr=[["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/]],ui=/^\/?Date\((\-?\d+)/i,Kr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},Ba=/^(?:(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}))$/;function ar(f){if(!ee(f._i))return f;const y=f._i,E=or.exec(y)||Ko.exec(y);let N,X,je,ft,Et,On;if(!E)return f._isValid=!1,f;for(Et=0,On=rr.length;Et<On;Et++)if(rr[Et][1].exec(E[1])){X=rr[Et][0],N=!1!==rr[Et][2];break}if(null==X)return f._isValid=!1,f;if(E[3]){for(Et=0,On=Sr.length;Et<On;Et++)if(Sr[Et][1].exec(E[3])){je=(E[2]||" ")+Sr[Et][0];break}if(null==je)return f._isValid=!1,f}if(!N&&null!=je)return f._isValid=!1,f;if(E[4]){if(!Va.exec(E[4]))return f._isValid=!1,f;ft="Z"}return f._f=X+(je||"")+(ft||""),St(f)}function Qr(f){const y=parseInt(f,10);return y<=49?y+2e3:y}function Ki(f){if(!ee(f._i))return f;const y=Ba.exec(function Bo(f){return f.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(f._i));if(!y)return function Cr(f){return f._isValid=!1,f}(f);
1const E=function ko(f,y,E,N,X,je){const ft=[Qr(f),Ws.indexOf(y),parseInt(E,10),parseInt(N,10),parseInt(X,10)];return je&&ft.push(parseInt(je,10)),ft}(y[4],y[3],y[2],y[5],y[6],y[7]);return function ds(f,y,E){return!f||Ps.indexOf(f)===new Date(y[0],y[1],y[2]).getDay()||(he(E).weekdayMismatch=!0,E._isValid=!1,!1)}(y[1],E,f)&&(f._a=E,f._tzm=function Jr(f,y,E){if(f)return Kr[f];if(y)return 0;{const N=parseInt(E,10),X=N%100;return(N-X)/100*60+X}}(y[8],y[9],y[10]),f._d=ve.apply(null,f._a),f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),he(f).rfc2822=!0),f}function Eo(f,y,E,N,X=0){const je=Ln(E||"en");if(!je)throw new Error(`Locale "${E}" is not defined, please add it with "defineLocale(...)"`);const Et=function xo(f,y,E,N,X=0){if(!Z(f))return E.invalidDate;const je=Pa(y,E);return mt[je]=mt[je]||function gn(f){const y=f.match(Xt),E=y.length,N=new Array(E);for(let X=0;X<E;X++)N[X]=ht[y[X]]?ht[y[X]]:Je(y[X]);return function(X,je,ft,Et=0){let On="";for(let Us=0;Us<E;Us++)On+=$(N[Us])?N[Us].call(null,X,{format:f,locale:je,isUTC:ft,offset:Et}):N[Us];return On}}(je),mt[je](f,E,N,X)}(f,y||(N?"YYYY-MM-DDTHH:mm:ss[Z]":"YYYY-MM-DDTHH:mm:ssZ"),je,N,X);return Et&&je.postformat(Et)}function Pa(f,y){let E=f,N=5;const X=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,je=ft=>y.formatLongDate(ft)||ft;for(X.lastIndex=0;N>=0&&X.test(E);)E=E.replace(X,je),X.lastIndex=0,N-=1;return E}function an(f,y,E){return f??y??E}function _s(f){const y=[];let E,N,X;if(f._d)return f;const je=function go(f){const y=new Date;return f._useUTC?[y.getUTCFullYear(),y.getUTCMonth(),y.getUTCDate()]:[y.getFullYear(),y.getMonth(),y.getDate()]}(f);for(f._w&&null==f._a[H]&&null==f._a[B]&&function jt(f){let y,E,N,X,je,ft,Et;const On=f._w;if(null!=On.GG||null!=On.W||null!=On.E)X=1,je=4,y=an(On.GG,f._a[_e],Si(new Date,1,4).year),E=an(On.W,1),N=an(On.E,1),(N<1||N>7)&&(Et=!0);else{X=f._locale._week.dow,je=f._locale._week.doy;const Us=Si(new Date,X,je);y=an(On.gg,f._a[_e],Us.year),E=an(On.w,Us.week),null!=On.d?(N=On.d,(N<0||N>6)&&(Et=!0)):null!=On.e?(N=On.e+X,(On.e<0||On.e>6)&&(Et=!0)):N=X}E<1||E>is(y,X,je)?he(f)._overflowWeeks=!0:null!=Et?he(f)._overflowWeekday=!0:(ft=function wo(f,y,E,N,X){const Et=1+7*(y-1)+(7+E-N)%7+xs(f,N,X);let On,Us;return Et<=0?(On=f-1,Us=Ht(On)+Et):Et>Ht(f)?(On=f+1,Us=Et-Ht(f)):(On=f,Us=Et),{year:On,dayOfYear:Us}}(y,E,N,X,je),f._a[_e]=ft.year,f._dayOfYear=ft.dayOfYear)}(f),null!=f._dayOfYear&&(X=an(f._a[_e],je[_e]),(f._dayOfYear>Ht(X)||0===f._dayOfYear)&&(he(f)._overflowDayOfYear=!0),N=new Date(Date.UTC(X,0,f._dayOfYear)),f._a[B]=N.getUTCMonth(),f._a[H]=N.getUTCDate()),E=0;E<3&&null==f._a[E];++E)f._a[E]=y[E]=je[E];for(;E<7;E++)f._a[E]=y[E]=null==f._a[E]?2===E?1:0:f._a[E];24===f._a[ie]&&0===f._a[fe]&&0===f._a[Le]&&0===f._a[_t]&&(f._nextDay=!0,f._a[ie]=0),f._d=(f._useUTC?ve:te).apply(null,y);const ft=f._useUTC?f._d.getUTCDay():f._d.getDay();return null!=f._tzm&&f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),f._nextDay&&(f._a[ie]=24),f._w&&typeof f._w.d<"u"&&f._w.d!==ft&&(he(f).weekdayMismatch=!0),f}function Pn(f){let y;const E=f._a;return E&&-2===he(f).overflow&&(y=E[B]<0||E[B]>11?B:E[H]<1||E[H]>pn(E[_e],E[B])?H:E[ie]<0||E[ie]>24||24===E[ie]&&(0!==E[fe]||0!==E[Le]||0!==E[_t])?ie:E[fe]<0||E[fe]>59?fe:E[Le]<0||E[Le]>59?Le:E[_t]<0||E[_t]>999?_t:-1,he(f)._overflowDayOfYear&&(y<_e||y>H)&&(y=H),he(f)._overflowWeeks&&-1===y&&(y=Pt),he(f)._overflowWeekday&&-1===y&&(y=re),he(f).overflow=y),f}const mo="ISO_8601",Ci="RFC_2822";function St(f){if(f._f===mo)return ar(f);if(f._f===Ci)return Ki(f);if(f._a=[],he(f).empty=!0,le(f._f)||!f._i&&0!==f._i)return f;let y=f._i.toString(),E=0;const N=y.length,X=Pa(f._f,f._locale).match(Xt)||[];let je,ft,Et,On;for(je=0;je<X.length;je++)ft=X[je],Et=(y.match(xi(ft,f._locale))||[])[0],Et&&(On=y.substr(0,y.indexOf(Et)),On.length>0&&he(f).unusedInput.push(On),y=y.slice(y.indexOf(Et)+Et.length),E+=Et.length),ht[ft]?(Et?he(f).empty=!1:he(f).unusedTokens.push(ft),Bt(ft,Et,f)):f._strict&&!Et&&he(f).unusedTokens.push(ft);return he(f).charsLeftOver=N-E,y.length>0&&he(f).unusedInput.push(y),f._a[ie]<=12&&!0===he(f).bigHour&&f._a[ie]>0&&(he(f).bigHour=void 0),he(f).parsedDateParts=f._a.slice(0),he(f).meridiem=f._meridiem,f._a[ie]=function ei(f,y,E){let N=y;if(null==E)return N;if(null!=f.meridiemHour)return f.meridiemHour(N,E);if(null==f.isPM)return N;const X=f.isPM(E);return X&&N<12&&(N+=12),!X&&12===N&&(N=0),N}(f._locale,f._a[ie],f._meridiem),_s(f),Pn(f)}function Ke(f){const y=Pn(function wt(f){let y=f._i;const E=f._f;return f._locale=f._locale||Ln(f._l),null===y||void 0===E&&""===y?Bs(f,{nullInput:!0}):(ee(y)&&(f._i=y=f._locale.preparse(y,E)),K(y)?(f._d=Ui(y),f):(le(E)?function $o(f){let y,E,N,X,je;if(!f._f||0===f._f.length)return he(f).invalidFormat=!0,Bs(f);for(je=0;je<f._f.length;je++)X=0,y=Object.assign({}
1,f),null!=f._useUTC&&(y._useUTC=f._useUTC),y._f=f._f[je],St(y),Zn(y)&&(X+=he(y).charsLeftOver,X+=10*he(y).unusedTokens.length,he(y).score=X,(null==N||X<N)&&(N=X,E=y));Object.assign(f,E||y)}(f):E?St(f):function bt(f){const y=f._i;if(Be(y))f._d=new Date;else if(K(y))f._d=Ui(y);else if(ee(y))!function Do(f){if(!ee(f._i))return f;const y=ui.exec(f._i);null!==y?f._d=new Date(+y[1]):(ar(f),!1!==f._isValid||(delete f._isValid,Ki(f),!1!==f._isValid||(delete f._isValid,Bs(f))))}(f);else if(le(y)&&y.length){const E=y.slice(0);f._a=E.map(N=>ee(N)?parseInt(N,10):N),_s(f)}else if(ge(y))!function So(f){if(f._d)return f;const y=f._i;if(ge(y)){const E=function it(f){const y={};let E,N;for(N in f)W(f,N)&&(E=$e(N),E&&(y[E]=f[N]));return y}(y);f._a=[E.year,E.month,E.day,E.hours,E.minutes,E.seconds,E.milliseconds].map(N=>ee(N)?parseInt(N,10):N)}return _s(f)}(f);else{if(!z(y))return Bs(f);f._d=new Date(y)}}(f),Zn(f)||(f._d=null),f))}(f));return y._d=new Date(null!=y._d?y._d.getTime():NaN),Zn(Object.assign({},y,{_isValid:null}))||(y._d=new Date(NaN)),y}function Dn(f,y,E,N,X){return K(f)?f:function mn(f,y,E,N,X){const je={};let ft=f;return(ge(ft)&&function J(f){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(f).length;let y;for(y in f)if(f.hasOwnProperty(y))return!1;return!0}(ft)||le(ft)&&0===ft.length)&&(ft=void 0),je._useUTC=je._isUTC=X,je._l=E,je._i=ft,je._f=y,je._strict=N,Ke(je)}(f,y,E,N,X)._d}function jn(f){return f instanceof Date?new Date(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate(),f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()):null}function Cs(f){return f<0?-1*Math.round(-1*f):Math.round(f)}function ai(f,y,E="milliseconds"){return!(!f||!y)&&("milliseconds"===E?f.valueOf()>y.valueOf():y.valueOf()<hi(f,E).valueOf())}function lr(f,y,E="milliseconds"){return!(!f||!y)&&("milliseconds"===E?f.valueOf()<y.valueOf():Zs(f,E).valueOf()<y.valueOf())}function $r(f,y){return!(typeof y>"u"||!y||!y.length)&&y.some(E=>E===f.getDay())}function _o(f,y,E="milliseconds"){if(!f||!y)return!1;if("milliseconds"===E)return f.valueOf()===y.valueOf();const N=y.valueOf();return hi(f,E).valueOf()<=N&&N<=Zs(f,E).valueOf()}const d=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,C=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function M(f,y,E={}){const N=function R(f,y){if(null==f)return{};if(function yn(f){return f instanceof Ne}(f))return{milliseconds:f._milliseconds,day:f._days,month:f._months};if(z(f))return y?{[y]:f}:{milliseconds:f};if(ee(f)){let E=d.exec(f);if(E){const N="-"===E[1]?-1:1;return{year:0,day:pe(E[H])*N,hours:pe(E[ie])*N,minutes:pe(E[fe])*N,seconds:pe(E[Le])*N,milliseconds:pe(Cs(1e3*pe(E[_t])))*N}}if(E=C.exec(f),E){const N="-"===E[1]?-1:1;return{year:be(E[2],N),month:be(E[3],N),week:be(E[4],N),day:be(E[5],N),hours:be(E[6],N),minutes:be(E[7],N),seconds:be(E[8],N)}}}if(ge(f)&&("from"in f||"to"in f)){const E=function Kt(f,y){if(!Z(f)||!Z(y))return{milliseconds:0,months:0};let E;const N=function Mn(f,y,E={}){if(!E._isUTC)return f;const N=Ui(y),X=6e4*(E._offset||0),je=f.valueOf()-N.valueOf()+X;return N.setTime(N.valueOf()+je),N}(y,f,{_offset:f.getTimezoneOffset()});return lr(f,N)?E=Ct(f,N):(E=Ct(N,f),E.milliseconds=-E.milliseconds,E.months=-E.months),E}(Dn(f.from),Dn(f.to));return{milliseconds:E.milliseconds,month:E.months}}return f}(f,y);return new Ne(N,E)}function be(f,y){const E=f&&parseFloat(f.replace(",","."));return(isNaN(E)?0:E)*y}function Ct(f,y){const E={milliseconds:0,months:0};return E.months=ut(y)-ut(f)+12*(nn(y)-nn(f)),ai(En(Ui(f),E.months,"month"),y)&&--E.months,E.milliseconds=+y-+En(Ui(f),E.months,"month"),E}function En(f,y,E,N){return Vn(f,M(y,E),1,N)}function Vn(f,y,E,N){const X=y._milliseconds,je=Cs(y._days),ft=Cs(y._months);return ft&&Dt(f,ut(f,N)+ft*E,N),je&&Ii(f,zt(f,N)+je*E,N),X&&function Ji(f,y){f.setTime(y)}(f,function Ie(f){return f.getTime()}(f)+X*E),Ui(f)}function Zi(f,y,E=Ln(),N){const X=Ge(f,N),je=function as(f,y){if(!ee(f))return f;const E=parseInt(f,10);if(!isNaN(E))return E;const N=y.weekdaysParse(f);return z(N)?N:null}(y,E);return En(f,je-X,"day")}function Ks(f,y=Ln(),E){return(Ge(f,E)+7-y.firstDayOfWeek())%7}const To=function(f){return 0===f?0:1===f?1:2===f?2:f%100>=3&&f%100<=10?3:f%100>=11?4:5},Da={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"]},es=function(f){return function(y,E){const N=To(y);let X=Da[f][To(y)];return 2===N&&(X=X[E?0:1]),X.replace(/%d/i,y.toString())}};"\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("_"),"\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("_"),"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),es("s"),es("s"),es("m"),es("m"),es("h"),es("h"),es("d"),es("d"),es("M"),es("M"),es("y"),es("y"),"\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("_"),"\u044f\u043d\u0440_\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("_"),"\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("_"),"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"gen._feb._mar._abr._mai._jun._jul._ago._set._oct._nov._des.".split("_"),"ene_feb_mar_abr_mai_jun_jul_ago_set_oct_nov_des".split("_"),"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),"diu._dil._dim._dix._dij._div._dis.".split("_"),"dg_dl_dt_dc_dj_dv_ds".split("_");const xa="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),rn="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");(function(f,y){let E,N=[];for(E=0;E<12;E++)N[E]=new RegExp("^"+f[E]+"$|^"+y[E]+"$","i")})(xa,rn),function(f){let y,E=[];for(y=0;y<12;y++)E[y]=new RegExp("^"+f[y]+"$","i")}(rn),function(f){let y,E=[];for(y=0;y<12;y++)E[y]=new RegExp("^"+f[y]+"$","i")}(xa),"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),"Januar_Februar_Marts_April_Maj_Juni_Juli_August_September_Oktober_November_December".split("_"),"Jan_Feb_Mar_Apr_Maj_Jun_Jul_Aug_Sep_Okt_Nov_Dec".split("_"),"S\xf8ndag_Mandag_Tirsdag_Onsdag_Torsdag_Fredag_L\xf8rdag".split("_"),"S\xf8n_Man_Tir_Ons_Tor_Fre_L\xf8r".split("_"),"S\xf8_Ma_Ti_On_To_Fr_L\xf8".split("_"),"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),"So_Mo_Di_Mi_Do_Fr_Sa".split("_");const il={abbr:"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(f){const y=Number(f),E=y%10;return y+(1==~~(y%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}};"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
1split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),"do_lu_ma_mi_ju_vi_s\xe1".split("_"),"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),"P_E_T_K_N_R_L".split("_"),"P_E_T_K_N_R_L".split("_"),"nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"su_ma_ti_ke_to_pe_la".split("_"),"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),"dim._lun._mar._mer._jeu._ven._sam.".split("_"),"di_lu_ma_me_je_ve_sa".split("_"),"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),"xan_feb_mar_abr_mai_xu\xf1_xul_ago_set_out_nov_dec".split("_"),"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u
105d9\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("_"),"\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("_"),"\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("_"),"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),"vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" "),"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),"v_h_k_sze_cs_p_szo".split("_"),"Sije\u010danj_Velja\u010da_O\u017eujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac".split("_"),"Sij_Velj_O\u017eu_Tra_Svi_Lip_Srp_Kol_Ruj_Lis_Stu_Pro".split("_"),"Nedjelja_Ponedjeljak_Utorak_Srijeda_\u010cetvrtak_Petak_Subota".split("_"),"Ned_Pon_Uto_Sri_\u010cet_Pet_Sub".split("_"),"Ne_Po_Ut_Sr_\u010ce_Pe_Su".split("_"),"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),"dom_lun_mar_mer_gio_ven_sab".split("_"),"do_lu_ma_me_gi_ve_sa".split("_"),"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("_"),"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("_"),"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),"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("_"),"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("_"),"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spali
1o_lapkri\u010dio_gruod\u017eio".split("_"),"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),"S_P_A_T_K_Pn_\u0160".split("_"),"Janv\u0101ris_Febru\u0101ris_Marts_Apr\u012blis_Maijs_J\u016bnijs_J\u016blijs_Augusts_Septembris_Oktobris_Novembris_Decembris".split("_"),"Jan_Feb_Mar_Apr_Mai_J\u016bn_J\u016bl_Aug_Sep_Okt_Nov_Dec".split("_"),"Sv\u0113tdiena_Pirmdiena_Otrdiena_Tre\u0161diena_Ceturtdiena_Piektdiena_Sestdiena".split("_"),"Sv\u0113td_Pirmd_Otrd_Tre\u0161d_Ceturtd_Piektd_Sestd".split("_"),"Sv_Pi_Ot_Tr_Ce_Pk_Se".split("_"),"\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("_"),"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("_"),"\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("_"),"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),"zo._ma._di._wo._do._vr._za.".split("_"),"zo_ma_di_wo_do_vr_za".split("_"),"stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),"stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".
1split("_"),"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\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("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),"jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_"),"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"ne_po_ut_st_\u0161t_pi_so".split("_"),"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),"ne_po_to_sr_\u010de_pe_so".split("_"),"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),"E Diel\xeb_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),"Di_He_Ma_Me_En_Pr_Sh".split("_"),"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_");const za={abbr:"th-be",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._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".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:f=>"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===f,meridiem:(f,y,E)=>f<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",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"},preparse(f,y){const E=za.longDateFormat[y]?za.longDateFormat[y]:y;return-1!==E.indexOf("YYYY",E.length-4)?f.substr(0,f.length-4)+(parseInt(f.substr(f.length-4),10)-543):f},getFullYear:(f,y=!1)=>543+(y?f.getUTCFullYear():f.getFullYear())};function al(f){return function(y){return f+"\u043e"+(11===me(y)?"\u0431":"")+"] LT"}}"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),"\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("_"),"\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("_"),"\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("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),al("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),al("[\u0417\u0430\u0432\u0442\u0440\u0430 "),al("[\u0412\u0447\u043e\u0440\u0430 "),al("[\u0423] dddd ["),"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("_"),"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),"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("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"CN_T2_T3_T4_T5_T6_T7".split("_"),"\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("_"),"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("_"),"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_")},5992:(Ot,ke,w)=>{"use strict";w.d(ke,{D:()=>Z,G:()=>$});var i=w(9969),e=w(7705);const ee="400ms cubic-bezier(0.4,0.0,0.2,1)",K=[(0,i.iF)({height:0,visibility:"hidden"}),(0,i.i0)(ee,(0,i.iF)({height:"*",visibility:"visible"}))],ae=[(0,i.iF)({height:"*",visibility:"visible"}),(0,i.i0)(ee,(0,i.iF)({height:0,visibility:"hidden"}))];let Z=(()=>
1{class z{set display(W){this._display=W,"none"!==W?this.isAnimated?this.toggle():this.show():this.hide()}set collapse(W){this.collapseNewValue=W,(!this._player||this._isAnimationDone)&&(this.isExpanded=W,this.toggle())}get collapse(){return this.isExpanded}constructor(W,ge,J){this._el=W,this._renderer=ge,this.collapsed=new e.bkB,this.collapses=new e.bkB,this.expanded=new e.bkB,this.expands=new e.bkB,this.isExpanded=!0,this.collapseNewValue=!0,this.isCollapsed=!1,this.isCollapse=!0,this.isCollapsing=!1,this.isAnimated=!1,this._display="block",this._stylesLoaded=!1,this._COLLAPSE_ACTION_NAME="collapse",this._EXPAND_ACTION_NAME="expand",this._factoryCollapseAnimation=J.build(ae),this._factoryExpandAnimation=J.build(K)}ngAfterViewChecked(){this._stylesLoaded=!0,this._player&&this._isAnimationDone&&(this._player.reset(),this._renderer.setStyle(this._el.nativeElement,"height","*"))}toggle(){this.isExpanded?this.hide():this.show()}hide(){this.isCollapsing=!0,this.isExpanded=!1,this.isCollapsed=!0,this.isCollapsing=!1,this.collapses.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._COLLAPSE_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.show():(this.collapsed.emit(this),this._renderer.setStyle(this._el.nativeElement,"display","none"))})}show(){this._renderer.setStyle(this._el.nativeElement,"display",this._display),this.isCollapsing=!0,this.isExpanded=!0,this.isCollapsed=!1,this.isCollapsing=!1,this.expands.emit(this),this._isAnimationDone=!1,this.animationRun(this.isAnimated,this._EXPAND_ACTION_NAME)(()=>{this._isAnimationDone=!0,this.collapseNewValue!==this.isCollapsed&&this.isAnimated?this.hide():(this.expanded.emit(this),this._renderer.removeStyle(this._el.nativeElement,"overflow"))})}animationRun(W,ge){if(!W||!this._stylesLoaded)return Be=>Be();this._renderer.setStyle(this._el.nativeElement,"overflow","hidden"),this._renderer.addClass(this._el.nativeElement,"collapse");const J=ge===this._EXPAND_ACTION_NAME?this._factoryExpandAnimation:this._factoryCollapseAnimation;return this._player&&this._player.reset(),this._player=J.create(this._el.nativeElement),this._player.play(),Be=>this._player?.onDone(Be)}static{this.\u0275fac=function(ge){return new(ge||z)(e.rXU(e.aKT),e.rXU(e.sFG),e.rXU(i.S6))}}static{this.\u0275dir=e.FsC({type:z,selectors:[["","collapse",""]],hostVars:9,hostBindings:function(ge,J){2&ge&&(e.BMQ("aria-hidden",J.isCollapsed),e.AVh("collapse",J.isCollapse)("in",J.isExpanded)("show",J.isExpanded)("collapsing",J.isCollapsing))},inputs:{display:"display",isAnimated:"isAnimated",collapse:"collapse"},outputs:{collapsed:"collapsed",collapses:"collapses",expanded:"expanded",expands:"expands"},exportAs:["bs-collapse"]})}}return z})(),$=(()=>{class z{static forRoot(){return{ngModule:z,providers:[]}}static{this.\u0275fac=function(ge){return new(ge||z)}}static{this.\u0275mod=e.$C({type:z})}static{this.\u0275inj=e.G2t({})}}return z})()},6932:(Ot,ke,w)=>{"use strict";w.d(ke,{Li:()=>z});var i=w(7705),e=w(425),ee=w(455),K=w(177);class Z{constructor(W,ge,J){this.nodes=W,this.viewRef=ge,this.componentRef=J}}class ${constructor(W,ge,J,Be,pe,ze,xe,Fe,$e){this._viewContainerRef=W,this._renderer=ge,this._elementRef=J,this._injector=Be,this._componentFactoryResolver=pe,this._ngZone=ze,this._applicationRef=xe,this._posService=Fe,this._document=$e,this.onBeforeShow=new i.bkB,this.onShown=new i.bkB,this.onBeforeHide=new i.bkB,this.onHidden=new i.bkB,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(W){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(W),this}to(W){return this.container=W||this.container,this}position(W){return W?(this.attachment=W.attachment||this.attachment,this._elementRef=W.target||this._elementRef,this):this}provide(W){return this._providers.push(W),this}show(W={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(W.content,W.context,W.initialState);const ge=i.zZn.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(ge,this._contentRef.n
1odes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,W),this.container instanceof i.aKT&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const J=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!J)return;J.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(W.id?{id:W.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(W){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const ge=this._componentRef.location.nativeElement;return ge.parentNode?.removeChild(ge),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(W?{id:W}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(W){this.triggers=W.triggers||this.triggers,this._listenOpts.outsideClick=W.outsideClick,this._listenOpts.outsideEsc=W.outsideEsc,W.target=W.target||this._elementRef?.nativeElement;const ge=this._listenOpts.hide=()=>W.hide?W.hide():void this.hide(),J=this._listenOpts.show=pe=>{W.show?W.show(pe):this.show(pe),pe()};return this._renderer&&(this._unregisterListenersFn=(0,e.GL)(this._renderer,{target:W.target,triggers:W.triggers,show:J,hide:ge,toggle:pe=>{this.isShown?ge():J(pe)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(W,ge){return W&&ge&&(this._inlineViewRef=W.createEmbeddedView(ge)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const W=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=(0,e.Xt)(this._renderer,{targets:[W,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=(0,e.Fv)(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(W,ge,J){if(!W)return new Z([]);if(W instanceof i.C4Q){if(this._viewContainerRef){const ze=this._viewContainerRef.createEmbeddedView(W,ge);return ze.markForCheck(),new Z([ze.rootNodes],ze)}const pe=W.createEmbeddedView({});return this._applicationRef.attachView(pe),new Z([pe.rootNodes],pe)}if("function"==typeof W){const pe=this._componentFactoryResolver.resolve
1ComponentFactory(W),ze=i.zZn.create({providers:this._providers,parent:this._injector}),xe=pe.create(ze);return Object.assign(xe.instance,J),this._applicationRef.attachView(xe.hostView),new Z([[xe.location.nativeElement]],xe.hostView,xe)}const Be=this._renderer?[this._renderer.createText(`${W}`)]:[];return new Z([Be])}}let z=(()=>{class le{constructor(ge,J,Be,pe,ze,xe){this._componentFactoryResolver=ge,this._ngZone=J,this._injector=Be,this._posService=pe,this._applicationRef=ze,this._document=xe}createLoader(ge,J,Be){return new $(J,Be,ge,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}static{this.\u0275fac=function(J){return new(J||le)(i.KVO(i.OM3),i.KVO(i.SKi),i.KVO(i.zZn),i.KVO(ee.DF),i.KVO(i.o8S),i.KVO(K.qQ))}}static{this.\u0275prov=i.jDH({token:le,factory:le.\u0275fac,providedIn:"root"})}}return le})()},810:(Ot,ke,w)=>{"use strict";w.d(ke,{YN:()=>ka,Kn:()=>lr,mO:()=>_o,ZJ:()=>kn});var i=w(7705),e=w(5964),ee=w(6354),K=w(6697),ae=w(6977),Z=w(3294),$=w(2460),z=w(455),le=w(9417),W=w(4412),ge=w(6780),Be=w(9687);const ze=new class pe extends Be.q{}(class J extends ge.R{constructor(_,d){super(_,d),this.scheduler=_,this.work=d}schedule(_,d=0){return d>0?super.schedule(_,d):(this.delay=d,this.state=_,this.scheduler.flush(this),this)}execute(_,d){return d>0||this.closed?super.execute(_,d):this._execute(_,d)}requestAsyncId(_,d,C=0){return null!=C&&C>0||null==C&&this.delay>0?super.requestAsyncId(_,d,C):(_.flush(this),0)}});var Fe=w(1985),$e=w(941),it=w(2816);class _e extends W.t{constructor(_,d,C){super(_),d.pipe((0,$e.Q)(ze)).pipe((0,it.S)((be,Ct)=>Ct?C(be,Ct):be,_)).subscribe(be=>this.next(be))}}class B extends Fe.c{constructor(_,d,C){super(),this._dispatcher=_,this._reducer=d,this.source=C}select(_){return(this.source?.pipe((0,ee.T)(_))||(new Fe.c).pipe((0,ee.T)(_))).pipe((0,Z.F)())}lift(_){const d=new B(this._dispatcher,this._reducer,this);return d.operator=_,d}dispatch(_){this._dispatcher.next(_)}next(_){this._dispatcher.next(_)}error(_){this._dispatcher.error(_)}complete(){}}var H=w(177);function ie(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0\xa0\xa0"),i.k0s())}function fe(O,_){if(1&O){const d=i.RV6();i.j41(0,"td")(1,"a",1),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeMinutes(M.minuteStep))}),i.nrm(2,"span",2),i.k0s()()}if(2&O){const d=i.XpG();i.R7$(1),i.AVh("disabled",!d.canIncrementMinutes||!d.isEditable)}}function Le(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0"),i.k0s())}function _t(O,_){if(1&O){const d=i.RV6();i.j41(0,"td")(1,"a",1),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeSeconds(M.secondsStep))}),i.nrm(2,"span",2),i.k0s()()}if(2&O){const d=i.XpG();i.R7$(1),i.AVh("disabled",!d.canIncrementSeconds||!d.isEditable)}}function Pt(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0\xa0\xa0"),i.k0s())}function re(O,_){1&O&&i.nrm(0,"td")}function Te(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0:\xa0"),i.k0s())}function mt(O,_){if(1&O){const d=i.RV6();i.j41(0,"td",4)(1,"input",5),i.bIt("wheel",function(M){i.eBV(d);const R=i.XpG();return R.prevDef(M),i.Njj(R.changeMinutes(R.minuteStep*R.wheelSign(M),"wheel"))})("keydown.ArrowUp",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeMinutes(M.minuteStep,"key"))})("keydown.ArrowDown",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeMinutes(-M.minuteStep,"key"))})("change",function(M){i.eBV(d);const R=i.XpG();return i.Njj(R.updateMinutes(M.target))}),i.k0s()()}if(2&O){const d=i.XpG();i.AVh("has-error",d.invalidMinutes),i.R7$(1),i.AVh("is-invalid",d.invalidMinutes),i.Y8G("placeholder",d.minutesPlaceholder)("readonly",d.readonlyInput)("disabled",d.disabled)("value",d.minutes),i.BMQ("aria-label",d.labelMinutes)}}function ht(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0:\xa0"),i.k0s())}function Xt(O,_){if(1&O){const d=i.RV6();i.j41(0,"td",4)(1,"input",5),i.bIt("wheel",function(M){i.eBV(d);const R=i.XpG();return R.prevDef(M),i.Njj(R.changeSeconds(R.secondsStep*R.wheelSign(M),"wheel"))})("keydown.ArrowUp",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeSeconds(M.secondsStep,"key"))})("keydown.ArrowDown",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeSeconds(-M.secondsStep,"key"))})("change",function(M){i.eBV(d);const R=i.XpG();return i.Njj(R.updateSeconds(M.target))}),i.k0s()()}if(2&O){const d=i.XpG();i.AVh("has-error",d.invalidSeconds),i.R7$(1),i.AVh("is-invalid",d.invalidSeconds),i.Y8G("placeholder",d.secondsPlaceholder)("readonly",d.readonlyInput)("disabled",d.disabled)("value",d.seconds),i.BMQ("aria-label",d.labelSeconds)}}function gt(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0\xa0\xa0"),i.k0s())}function gn(O,_){if(1&O){const d=i.RV6();i.j41(0,"td")(1,"button",8),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.toggleMeridian())}),i.EFF(2),i.k0s()()}if(2&O){const d=i.XpG();i.R7$(1),i.AVh("disabled",!d.isEditable||!d.canToggleMeridian),i.Y8G("disabled",!d.isEditable||!d.canToggleMeridian),i.R7$(1),i.Sp
1I("",d.meridian," ")}}function Je(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0\xa0\xa0"),i.k0s())}function ve(O,_){if(1&O){const d=i.RV6();i.j41(0,"td")(1,"a",1),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeMinutes(-M.minuteStep))}),i.nrm(2,"span",7),i.k0s()()}if(2&O){const d=i.XpG();i.R7$(1),i.AVh("disabled",!d.canDecrementMinutes||!d.isEditable)}}function te(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0"),i.k0s())}function me(O,_){if(1&O){const d=i.RV6();i.j41(0,"td")(1,"a",1),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.changeSeconds(-M.secondsStep))}),i.nrm(2,"span",7),i.k0s()()}if(2&O){const d=i.XpG();i.R7$(1),i.AVh("disabled",!d.canDecrementSeconds||!d.isEditable)}}function ye(O,_){1&O&&(i.j41(0,"td"),i.EFF(1,"\xa0\xa0\xa0"),i.k0s())}function Ye(O,_){1&O&&i.nrm(0,"td")}let Me=(()=>{class O{static{this.WRITE_VALUE="[timepicker] write value from ng model"}static{this.CHANGE_HOURS="[timepicker] change hours"}static{this.CHANGE_MINUTES="[timepicker] change minutes"}static{this.CHANGE_SECONDS="[timepicker] change seconds"}static{this.SET_TIME_UNIT="[timepicker] set time unit"}static{this.UPDATE_CONTROLS="[timepicker] update controls"}writeValue(d){return{type:O.WRITE_VALUE,payload:d}}changeHours(d){return{type:O.CHANGE_HOURS,payload:d}}changeMinutes(d){return{type:O.CHANGE_MINUTES,payload:d}}changeSeconds(d){return{type:O.CHANGE_SECONDS,payload:d}}setTime(d){return{type:O.SET_TIME_UNIT,payload:d}}updateControls(d){return{type:O.UPDATE_CONTROLS,payload:d}}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})();const Ie=10,Ge=24,zt=12,ut=60,nn=60;function un(O){return!(!O||O instanceof Date&&isNaN(O.getHours()))&&("string"!=typeof O||un(new Date(O)))}function We(O,_){return!(O.min&&_<O.min||O.max&&_>O.max)}function yt(O){return typeof O>"u"?NaN:"number"==typeof O?O:parseInt(O,Ie)}function lt(O,_=!1){const d=yt(O);return isNaN(d)||d<0||d>(_?zt:Ge)?NaN:d}function Vt(O){const _=yt(O);return isNaN(_)||_<0||_>ut?NaN:_}function Hn(O){const _=yt(O);return isNaN(_)||_<0||_>nn?NaN:_}function Gn(O){return"string"==typeof O?new Date(O):O}function Ei(O,_){if(!O)return Ei(li(new Date,0,0,0),_);if(!_)return O;let d=O.getHours(),C=O.getMinutes(),M=O.getSeconds();return _.hour&&(d+=yt(_.hour)),_.minute&&(C+=yt(_.minute)),_.seconds&&(M+=yt(_.seconds)),li(O,d,C,M)}function bs(O,_){let d=lt(_.hour);const C=Vt(_.minute),M=Hn(_.seconds)||0;return _.isPM&&12!==d&&(d+=zt),O?isNaN(d)||isNaN(C)?O:li(O,d,C,M):isNaN(d)||isNaN(C)?O:li(new Date,d,C,M)}function li(O,_,d,C){const M=new Date(O.getFullYear(),O.getMonth(),O.getDate(),_,d,C,O.getMilliseconds());return M.setFullYear(O.getFullYear()),M.setMonth(O.getMonth()),M.setDate(O.getDate()),M}function pi(O){const _=O.toString();return _.length>1?_:`0${_}`}function vn(O,_){return!isNaN(lt(O,_))}function Fn(O){return!isNaN(Vt(O))}function ln(O){return!isNaN(Hn(O))}function Pi(O,_="0",d="0",C){return vn(O,C)&&Fn(_)&&ln(d)}function hn(O,_){return!(O.readonlyInput||O.disabled||_&&("wheel"===_.source&&!O.mousewheel||"key"===_.source&&!O.arrowkeys))}function Ys(O){const{hourStep:_,minuteStep:d,secondsStep:C,readonlyInput:M,disabled:R,mousewheel:be,arrowkeys:Ct,showSpinners:Kt,showMeridian:En,showSeconds:Bn,meridians:Vn,min:Tn,max:as}=O;return{hourStep:_,minuteStep:d,secondsStep:C,readonlyInput:M,disabled:R,mousewheel:be,arrowkeys:Ct,showSpinners:Kt,showMeridian:En,showSeconds:Bn,meridians:Vn,min:Tn,max:as}}let Gi=(()=>{class O{constructor(){this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.showMeridian=!0,this.meridians=["AM","PM"],this.readonlyInput=!1,this.disabled=!1,this.allowEmptyTime=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showSeconds=!1,this.showMinutes=!0,this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.ariaLabelHours="hours",this.ariaLabelMinutes="minutes",this.ariaLabelSeconds="seconds"}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})();const Ri={value:void 0,config:new Gi,controls:{canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0}};function Ni(O=Ri,_){switch(_.type){case Me.WRITE_VALUE:return Object.assign({},O,{value:_.payload});case Me.CHANGE_HOURS:{if(!hn(O.config,_.payload)||!function wi(O,_){return!(!O.step||O.step>0&&!_.canIncrementHours||O.step<0&&!_.canDecrementHours)}(_.payload,O.controls))return O;const d=Ei(O.value,{hour:_.payload.step});return!O.config.max&&!O.config.min||We(O.config,d)?Object.assign({},O,{value:d}):O}case Me.CHANGE_MINUTES:{if(!hn(O.config,_.payload)||!function to(O,_){return!(!O.step||O.step>0&&!_.canIncrementMinutes||O.step<0&&!_.canDecrementMinutes)}(_.payload,O.controls))return O;const d=Ei(O.value,{minute:_.payload.step});return!O.config.max&&!O.config.min||We(O.config,d)?Object.assign({},O,{value:d}):O}case Me.CHANGE_SECONDS:{if(!hn(O.config,_.payload)||!function Kn(O,_){return!(!O.step||O.step>0&&!_.canIncrementSeconds||O.step<0&&!_.canDecrementSeconds)}(_.payload,O.controls))return O;const d=Ei(O.value,{seconds:_.payload.step});return!O.config.max&&!O.config.min||We(O.config,d)?Object.assign({},O,{value:d}):O}case Me.SET_TIME_UNIT:{if(!hn(O.config))return O;const d=bs(O.value,_.payload);return Object.assign({},O,{value:d})}case Me.UPDATE_CONTROLS:{const d=function An(O,_){const{min:M,max:R,hourStep:be,minuteStep:Ct,secondsStep:Kt,showSeconds:En}=_,Bn={canIncrementHours:!0,canIncrementMinutes:!0,canIncrementSeconds:!0,canDecrementHours:!0,canDecrementMinutes:!0,canDecrementSeconds:!0,canToggleMeridian:!0};if(!O)return Bn;if(R){const Vn=Ei(O,{hour:be});if(Bn.canIncrementHours=R>Vn&&O.getHours()+be<24,!Bn.canIncrementHours){const Tn=Ei(O,{minute:Ct});Bn.canIncrementMinutes=En?R>Tn:R>
1=Tn}if(!Bn.canIncrementMinutes){const Tn=Ei(O,{seconds:Kt});Bn.canIncrementSeconds=R>=Tn}O.getHours()<12&&(Bn.canToggleMeridian=Ei(O,{hour:12})<R)}if(M){const Vn=Ei(O,{hour:-be});if(Bn.canDecrementHours=M<Vn,!Bn.canDecrementHours){const Tn=Ei(O,{minute:-Ct});Bn.canDecrementMinutes=En?M<Tn:M<=Tn}if(!Bn.canDecrementMinutes){const Tn=Ei(O,{seconds:-Kt});Bn.canDecrementSeconds=M<=Tn}O.getHours()>=12&&(Bn.canToggleMeridian=Ei(O,{hour:-12})>M)}return Bn}(O.value,_.payload),C={value:O.value,config:_.payload,controls:d};return O.config.showMeridian!==C.config.showMeridian&&O.value&&(C.value=new Date(O.value)),Object.assign({},O,C)}default:return O}}let sn=(()=>{class O extends B{constructor(){const d=new W.t({type:"[mini-ngrx] dispatcher init"});super(d,Ni,new _e(Ri,d,Ni))}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})();const xi={provide:le.kq,useExisting:(0,i.Rfq)(()=>ue),multi:!0};let ue=(()=>{class O{constructor(d,C,M,R){this._cd=C,this._store=M,this._timepickerActions=R,this.hourStep=1,this.minuteStep=5,this.secondsStep=10,this.readonlyInput=!1,this.disabled=!1,this.mousewheel=!0,this.arrowkeys=!0,this.showSpinners=!0,this.showMeridian=!0,this.showMinutes=!0,this.showSeconds=!1,this.meridians=["AM","PM"],this.hoursPlaceholder="HH",this.minutesPlaceholder="MM",this.secondsPlaceholder="SS",this.isValid=new i.bkB,this.meridianChange=new i.bkB,this.hours="",this.minutes="",this.seconds="",this.meridian="",this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1,this.labelHours="hours",this.labelMinutes="minutes",this.labelSeconds="seconds",this.canIncrementHours=!0,this.canIncrementMinutes=!0,this.canIncrementSeconds=!0,this.canDecrementHours=!0,this.canDecrementMinutes=!0,this.canDecrementSeconds=!0,this.canToggleMeridian=!0,this.onChange=Function.prototype,this.onTouched=Function.prototype,this.config=d,Object.assign(this,this.config),this.timepickerSub=M.select(be=>be.value).subscribe(be=>{this._renderTime(be),this.onChange(be),this._store.dispatch(this._timepickerActions.updateControls(Ys(this)))}),M.select(be=>be.controls).subscribe(be=>{const Ct=Pi(this.hours,this.minutes,this.seconds,this.isPM()),Kt=this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||Ct;this.isValid.emit(Kt),Object.assign(this,be),C.markForCheck()})}get isSpinnersVisible(){return this.showSpinners&&!this.readonlyInput}get isEditable(){return!(this.readonlyInput||this.disabled)}resetValidation(){this.invalidHours=!1,this.invalidMinutes=!1,this.invalidSeconds=!1}isPM(){return this.showMeridian&&this.meridian===this.meridians[1]}prevDef(d){d.preventDefault()}wheelSign(d){return-1*Math.sign(d.deltaY||0)}ngOnChanges(){this._store.dispatch(this._timepickerActions.updateControls(Ys(this)))}changeHours(d,C=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeHours({step:d,source:C}))}changeMinutes(d,C=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeMinutes({step:d,source:C}))}changeSeconds(d,C=""){this.resetValidation(),this._store.dispatch(this._timepickerActions.changeSeconds({step:d,source:C}))}updateHours(d){this.resetValidation(),this.hours=d.value;const C=vn(this.hours,this.isPM())&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||C))return this.invalidHours=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateMinutes(d){this.resetValidation(),this.minutes=d.value;const C=Fn(this.minutes)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||C))return this.invalidMinutes=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}updateSeconds(d){this.resetValidation(),this.seconds=d.value;const C=ln(this.seconds)&&this.isValidLimit();if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||C))return this.invalidSeconds=!0,this.isValid.emit(!1),void this.onChange(null);this._updateTime()}isValidLimit(){return function Oi(O,_,d){const C=bs(new Date,O);return!(!C||_&&C>_||d&&C<d)}({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()},this.max,this.min)}isOneOfDatesIsEmpty(){return function Os(O,_,d){return 0===O.length||0===_.length||0===d.length}(this.hours,this.minutes,this.seconds)}_updateTime(){const M=Pi(this.hours,this.showMinutes?this.minutes:void 0,this.showSeconds?this.seconds:void 0,this.isPM());if(!(this.config.allowEmptyTime&&this.isOneOfDatesIsEmpty()||M))return this.isValid.emit(!1),void this.onChange(null);this._store.dispatch(this._timepickerActions.setTime({hour:this.hours,minute:this.minutes,seconds:this.seconds,isPM:this.isPM()}))}toggleMeridian(){this.showMeridian&&this.isEditable&&this._store.dispatch(this._timepickerActions.changeHours({step:12,source:""}))}writeValue(d){un(d)?(this.resetValidation(),this._store.dispatch(this._timepickerActions.writeValue(Gn(d)))):null==d&&this._store.dispatch(this._timepickerActions.writeValue())}registerOnChange(d){this.onChange=d}registerOnTouched(d){this.onTouched=d}setDisabledState(d){this.disabled=d,this._cd.markForCheck()}ngOnDestroy(){this.timepickerSub?.unsubscribe()}_renderTime(d){if(!d||!un(d))return this.hours="",this.minutes="",this.seconds="",this.meridian=this.meridians[0],void this.meridianChange.emit(this.meridian);const C=Gn(d);if(!C)return;let R=C.getHours();this.showMeridian&&(this.meridian=this.meridians[R>=12?1:0],this.meridianChange.emit(this.meridian),R%=12,0===R&&(R=12)),this.hours=pi(R),this.minutes=pi(C.getMinutes()),this.seconds=pi(C.getUTCSeconds())}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Gi),i.rXU(i.gRc),i.rXU(sn),i.rXU(Me))}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["timepicker"]],inputs:{hourStep:"hourStep",minuteStep:"minuteStep",secondsStep:"secondsStep",readonlyInput:"readonlyInput",disabled:"disabled",mousewheel:"mousewheel",arrowkeys:"arrowkeys",showSpinners:"showSpinners",showMeridian:"showMeridian",showMinutes:"showMinutes",showSeconds:"showSeconds",meri
1dians:"meridians",min:"min",max:"max",hoursPlaceholder:"hoursPlaceholder",minutesPlaceholder:"minutesPlaceholder",secondsPlaceholder:"secondsPlaceholder"},outputs:{isValid:"isValid",meridianChange:"meridianChange"},features:[i.Jv_([xi,sn]),i.OA$],decls:31,vars:33,consts:[[1,"text-center",3,"hidden"],["href","javascript:void(0);",1,"btn","btn-link",3,"click"],[1,"bs-chevron","bs-chevron-up"],[4,"ngIf"],[1,"form-group","mb-3"],["type","text","maxlength","2",1,"form-control","text-center","bs-timepicker-field",3,"placeholder","readonly","disabled","value","wheel","keydown.ArrowUp","keydown.ArrowDown","change"],["class","form-group mb-3",3,"has-error",4,"ngIf"],[1,"bs-chevron","bs-chevron-down"],["type","button",1,"btn","btn-default","text-center",3,"disabled","click"]],template:function(C,M){1&C&&(i.j41(0,"table")(1,"tbody")(2,"tr",0)(3,"td")(4,"a",1),i.bIt("click",function(){return M.changeHours(M.hourStep)}),i.nrm(5,"span",2),i.k0s()(),i.DNE(6,ie,2,0,"td",3),i.DNE(7,fe,3,2,"td",3),i.DNE(8,Le,2,0,"td",3),i.DNE(9,_t,3,2,"td",3),i.DNE(10,Pt,2,0,"td",3),i.DNE(11,re,1,0,"td",3),i.k0s(),i.j41(12,"tr")(13,"td",4)(14,"input",5),i.bIt("wheel",function(be){return M.prevDef(be),M.changeHours(M.hourStep*M.wheelSign(be),"wheel")})("keydown.ArrowUp",function(){return M.changeHours(M.hourStep,"key")})("keydown.ArrowDown",function(){return M.changeHours(-M.hourStep,"key")})("change",function(be){return M.updateHours(be.target)}),i.k0s()(),i.DNE(15,Te,2,0,"td",3),i.DNE(16,mt,2,9,"td",6),i.DNE(17,ht,2,0,"td",3),i.DNE(18,Xt,2,9,"td",6),i.DNE(19,gt,2,0,"td",3),i.DNE(20,gn,3,4,"td",3),i.k0s(),i.j41(21,"tr",0)(22,"td")(23,"a",1),i.bIt("click",function(){return M.changeHours(-M.hourStep)}),i.nrm(24,"span",7),i.k0s()(),i.DNE(25,Je,2,0,"td",3),i.DNE(26,ve,3,2,"td",3),i.DNE(27,te,2,0,"td",3),i.DNE(28,me,3,2,"td",3),i.DNE(29,ye,2,0,"td",3),i.DNE(30,Ye,1,0,"td",3),i.k0s()()()),2&C&&(i.R7$(2),i.Y8G("hidden",!M.showSpinners),i.R7$(2),i.AVh("disabled",!M.canIncrementHours||!M.isEditable),i.R7$(2),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showMeridian),i.R7$(1),i.Y8G("ngIf",M.showMeridian),i.R7$(2),i.AVh("has-error",M.invalidHours),i.R7$(1),i.AVh("is-invalid",M.invalidHours),i.Y8G("placeholder",M.hoursPlaceholder)("readonly",M.readonlyInput)("disabled",M.disabled)("value",M.hours),i.BMQ("aria-label",M.labelHours),i.R7$(1),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showMeridian),i.R7$(1),i.Y8G("ngIf",M.showMeridian),i.R7$(1),i.Y8G("hidden",!M.showSpinners),i.R7$(2),i.AVh("disabled",!M.canDecrementHours||!M.isEditable),i.R7$(2),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showMinutes),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showSeconds),i.R7$(1),i.Y8G("ngIf",M.showMeridian),i.R7$(1),i.Y8G("ngIf",M.showMeridian))},dependencies:[H.bT],styles:[".bs-chevron{border-style:solid;display:block;width:9px;height:9px;position:relative;border-width:3px 0px 0 3px}.bs-chevron-up{transform:rotate(45deg);top:2px}.bs-chevron-down{transform:rotate(-135deg);top:-2px}.bs-timepicker-field{width:65px;padding:.375rem .55rem}\n"],encapsulation:2,changeDetection:0})}}return O})(),et=(()=>{class O{static forRoot(){return{ngModule:O,providers:[Me,sn]}}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275mod=i.$C({type:O})}static{this.\u0275inj=i.G2t({providers:[sn],imports:[H.MD]})}}return O})();var st=w(9969),rt=w(8359),Tt=w(4572),Bt=w(1413),en=w(534),Qt=w(6932);function qe(O,_){if(1&O){const d=i.RV6();i.j41(0,"button",2),i.bIt("click",function(){const R=i.eBV(d).$implicit,be=i.XpG();return i.Njj(be.selectFromRanges(R))}),i.EFF(1),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG();i.AVh("selected",d.value===C.selectedRange),i.R7$(1),i.SpI(" ",d.label," ")}}function Qe(O,_){1&O&&i.nrm(0,"bs-current-date",4)}function he(O,_){1&O&&i.nrm(0,"bs-timepicker")}const Re=[[["bs-datepicker-navigation-view"]],"*"],pt=["bs-datepicker-navigation-view","*"],At=["bsDatepickerDayDecorator",""];function Ht(O,_){if(1&O){const d=i.RV6();i.qex(0),i.EFF(1," \u200b "),i.j41(2,"button",2),i.bIt("click",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.view("month"))}),i.j41(3,"span"),i.EFF(4),i.k0s()(),i.bVm()}if(2&O){const d=i.XpG();i.R7$(2),i.Y8G("disabled",d.isDisabled),i.R7$(2),i.JRh(d.calendar.monthTitle)}}function Wn(O,_){1&O&&i.nrm(0,"th")}function pn(O,_){if(1&O&&(i.j41(0,"th",5),i.EFF(1),i.k0s()),2&O){const d=_.index,C=i.XpG();
1i.R7$(1),i.SpI("",C.calendar.weekdays[d]," ")}}function Sn(O,_){if(1&O){const d=i.RV6();i.j41(0,"span",11),i.bIt("click",function(){i.eBV(d);const M=i.XpG(2).$implicit,R=i.XpG();return i.Njj(R.selectWeek(M))}),i.EFF(1),i.k0s()}if(2&O){const d=i.XpG(2).index,C=i.XpG();i.R7$(1),i.JRh(C.calendar.weekNumbers[d])}}function Wi(O,_){if(1&O){const d=i.RV6();i.j41(0,"span",12),i.bIt("click",function(){i.eBV(d);const M=i.XpG(2).$implicit,R=i.XpG();return i.Njj(R.selectWeek(M))})("mouseenter",function(){i.eBV(d);const M=i.XpG(2).$implicit,R=i.XpG();return i.Njj(R.weekHoverHandler(M,!0))})("mouseleave",function(){i.eBV(d);const M=i.XpG(2).$implicit,R=i.XpG();return i.Njj(R.weekHoverHandler(M,!1))}),i.EFF(1),i.k0s()}if(2&O){const d=i.XpG(2).index,C=i.XpG();i.R7$(1),i.JRh(C.calendar.weekNumbers[d])}}function As(O,_){if(1&O&&(i.j41(0,"td",8),i.DNE(1,Sn,2,1,"span",9),i.DNE(2,Wi,2,1,"span",10),i.k0s()),2&O){const d=i.XpG(2);i.AVh("active-week",d.isWeekHovered),i.R7$(1),i.Y8G("ngIf",d.isiOS),i.R7$(1),i.Y8G("ngIf",!d.isiOS)}}function at(O,_){if(1&O){const d=i.RV6();i.j41(0,"span",17),i.bIt("click",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.selectDay(M))})("mouseenter",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.hoverDay(M,!0))})("mouseleave",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.hoverDay(M,!1))}),i.EFF(1),i.k0s()}if(2&O){const d=i.XpG().$implicit;i.FS9("tooltip",d.tooltipText),i.Y8G("day",d),i.R7$(1),i.SpI("",d.label," 3")}}function Ue(O,_){if(1&O){const d=i.RV6();i.j41(0,"span",18),i.bIt("click",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.selectDay(M))})("mouseenter",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.hoverDay(M,!0))})("mouseleave",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.hoverDay(M,!1))}),i.EFF(1),i.k0s()}if(2&O){const d=i.XpG().$implicit;i.Y8G("day",d),i.R7$(1),i.SpI("",d.label," 2")}}function Xe(O,_){if(1&O){const d=i.RV6();i.j41(0,"span",19),i.bIt("click",function(){i.eBV(d);const M=i.XpG().$implicit,R=i.XpG(2);return i.Njj(R.selectDay(M))}),i.EFF(1),i.k0s()}if(2&O){const d=i.XpG().$implicit;i.Y8G("day",d),i.R7$(1),i.SpI("",d.label," 1")}}function Dt(O,_){if(1&O&&(i.j41(0,"td",13),i.DNE(1,at,2,3,"span",14),i.DNE(2,Ue,2,2,"span",15),i.DNE(3,Xe,2,2,"span",16),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngIf",!d.isiOS&&d.isShowTooltip),i.R7$(1),i.Y8G("ngIf",!d.isiOS&&!d.isShowTooltip),i.R7$(1),i.Y8G("ngIf",d.isiOS)}}function Yt(O,_){if(1&O&&(i.j41(0,"tr"),i.DNE(1,As,3,4,"td",6),i.DNE(2,Dt,4,3,"td",7),i.k0s()),2&O){const d=_.$implicit,C=i.XpG();i.R7$(1),i.Y8G("ngIf",C.options&&C.options.showWeekNumbers),i.R7$(1),i.Y8G("ngForOf",d.days)}}function qt(O,_){if(1&O){const d=i.RV6();i.j41(0,"td",4),i.bIt("click",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.viewMonth(R))})("mouseenter",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.hoverMonth(R,!0))})("mouseleave",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.hoverMonth(R,!1))}),i.j41(1,"span"),i.EFF(2),i.k0s()()}if(2&O){const d=_.$implicit;i.AVh("disabled",d.isDisabled)("is-highlighted",d.isHovered),i.R7$(1),i.AVh("selected",d.isSelected),i.R7$(1),i.JRh(d.label)}}function Gt(O,_){if(1&O&&(i.j41(0,"tr"),i.DNE(1,qt,3,7,"td",3),i.k0s()),2&O){const d=_.$implicit;i.R7$(1),i.Y8G("ngForOf",d)}}function wn(O,_){if(1&O){const d=i.RV6();i.j41(0,"td",4),i.bIt("click",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.viewYear(R))})("mouseenter",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.hoverYear(R,!0))})("mouseleave",function(){const R=i.eBV(d).$implicit,be=i.XpG(2);return i.Njj(be.hoverYear(R,!1))}),i.j41(1,"span"),i.EFF(2),i.k0s()()}if(2&O){const d=_.$implicit;i.AVh("disabled",d.isDisabled)("is-highlighted",d.isHovered),i.R7$(1),i.AVh("selected",d.isSelected),i.R7$(1),i.JRh(d.label)}}function Rn(O,_){if(1&O&&(i.j41(0,"tr"),i.DNE(1,wn,3,7,"td",3),i.k0s()),2&O){const d=_.$implicit;i.R7$(1),i.Y8G("ngForOf",d)}}const Ii=["startTP"];function Ji(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-days-calendar-view",11),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);
1return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.dayHoverHandler(M))})("onHoverWeek",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.weekHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.daySelectHandler(M))}),i.nI1(1,"async"),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)("isDisabled",C.isDatePickerDisabled)("options",i.bMT(1,5,C.options$))}}function Ui(O,_){if(1&O&&i.nrm(0,"timepicker",13,16),2&O){const d=i.XpG(4);i.Y8G("disabled",d.isDatePickerDisabled)}}function hi(O,_){if(1&O&&(i.j41(0,"div",12),i.nrm(1,"timepicker",13,14),i.DNE(3,Ui,2,1,"timepicker",15),i.k0s()),2&O){const d=i.XpG(3);i.R7$(1),i.Y8G("disabled",d.isDatePickerDisabled),i.R7$(2),i.Y8G("ngIf",d.isRangePicker)}}function Zs(O,_){if(1&O&&(i.qex(0),i.j41(1,"div",8),i.DNE(2,Ji,2,7,"bs-days-calendar-view",9),i.nI1(3,"async"),i.k0s(),i.DNE(4,hi,4,2,"div",10),i.bVm()),2&O){const d=i.XpG(2);i.R7$(2),i.Y8G("ngForOf",i.bMT(3,2,d.daysCalendar$)),i.R7$(2),i.Y8G("ngIf",d.withTimepicker)}}function Gs(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-month-calendar-view",18),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.monthHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.monthSelectHandler(M))}),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)}}function ri(O,_){if(1&O&&(i.j41(0,"div",8),i.DNE(1,Gs,1,3,"bs-month-calendar-view",17),i.nI1(2,"async"),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",i.bMT(2,1,d.monthsCalendar))}}function Mi(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-years-calendar-view",18),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.yearHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.yearSelectHandler(M))}),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)}}function xs(O,_){if(1&O&&(i.j41(0,"div",8),i.DNE(1,Mi,1,3,"bs-years-calendar-view",17),i.nI1(2,"async"),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",i.bMT(2,1,d.yearsCalendar))}}function wo(O,_){1&O&&(i.j41(0,"div",19)(1,"button",20),i.EFF(2,"Apply"),i.k0s(),i.j41(3,"button",21),i.EFF(4,"Cancel"),i.k0s()())}function Si(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",24)(1,"button",25),i.bIt("click",function(){i.eBV(d);const M=i.XpG(3);return i.Njj(M.setToday())}),i.EFF(2),i.k0s()()}if(2&O){const d=i.XpG(3);i.AVh("today-left","left"===d.todayPos)("today-right","right"===d.todayPos)("today-center","center"===d.todayPos),i.R7$(2),i.JRh(d.todayBtnLbl)}}function is(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",26)(1,"button",25),i.bIt("click",function(){i.eBV(d);const M=i.XpG(3);return i.Njj(M.clearDate())}),i.EFF(2),i.k0s()()}if(2&O){const d=i.XpG(3);i.AVh("clear-left","left"===d.clearPos)("clear-right","right"===d.clearPos)("clear-center","center"===d.clearPos),i.R7$(2),i.JRh(d.clearBtnLbl)}}function Rs(O,_){if(1&O&&(i.j41(0,"div",19),i.DNE(1,Si,3,7,"div",22),i.DNE(2,is,3,7,"div",23),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngIf",d.showTodayBtn),i.R7$(1),i.Y8G("ngIf",d.showClearBtn)}}function ss(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",27)(1,"bs-custom-date-view",28),i.bIt("onSelect",function(M){i.eBV(d);const R=i.XpG(2);return i.Njj(R.setRangeOnCalendar(M))}),i.k0s()()}if(2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("selectedRange",d.chosenRange)("ranges",d.customRanges)("customRangeLabel",d.customRangeBtnLbl)}}function Ws(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",1)(1,"div",2),i.bIt("@datepickerAnimation.done",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.positionServiceEnable())}),i.j41(2,"div",3),i.nI1(3,"async"),i.DNE(4,Zs,5,4,"ng-container",4),i.DNE(5,ri,3,3,"div",5),i.DNE(6,xs,3,3,"div",5),i.k0s(),i.DNE(7,wo,5,0,"div",6),i.DNE(8,Rs,3,2,"div",6),i.k0s(),i.DNE(9,ss,2,3,"div",7),i.k0s()}if(2&O){const d=i.XpG();i.Y8G("ngClass",d.containerClass),i.R7$(1),i.Y8G("@datepickerAnimation",d.animationState),i.R7$(1),i.Y8G("ngSwitch",i.bMT(3,9,d.viewMode)),i.R7$(2),i.Y8G("ngSwitchCase","day"),i.R7$(1),i.Y8G("ngSwitchCase","month"),i.R7$(1),i.Y8G("ngSwitchCase","year"),i.R7$(1),i.Y8G("ngIf",!1),i.R7$(1),i.Y8G("ngIf",d.showTodayBtn||d.showClearBtn),i.R7$(1),i.Y8G("ngIf",d.customRanges&&d.customRanges.length>0)}}const jr=["endTP"];function Po(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-days-calendar-view",11),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);
1return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.dayHoverHandler(M))})("onHoverWeek",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.weekHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.daySelectHandler(M))}),i.nI1(1,"async"),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)("isDisabled",C.isDatePickerDisabled)("options",i.bMT(1,5,C.options$))}}function Wo(O,_){if(1&O&&i.nrm(0,"timepicker",13,16),2&O){const d=i.XpG(4);i.Y8G("disabled",d.isDatePickerDisabled)}}function nr(O,_){if(1&O&&(i.j41(0,"div",12),i.nrm(1,"timepicker",13,14),i.DNE(3,Wo,2,1,"timepicker",15),i.k0s()),2&O){const d=i.XpG(3);i.R7$(1),i.Y8G("disabled",d.isDatePickerDisabled),i.R7$(2),i.Y8G("ngIf",d.isRangePicker)}}function pa(O,_){if(1&O&&(i.qex(0),i.j41(1,"div",8),i.DNE(2,Po,2,7,"bs-days-calendar-view",9),i.nI1(3,"async"),i.k0s(),i.DNE(4,nr,4,2,"div",10),i.bVm()),2&O){const d=i.XpG(2);i.R7$(2),i.Y8G("ngForOf",i.bMT(3,2,d.daysCalendar$)),i.R7$(2),i.Y8G("ngIf",d.withTimepicker)}}function lo(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-month-calendar-view",18),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.monthHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.monthSelectHandler(M))}),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)}}function co(O,_){if(1&O&&(i.j41(0,"div",8),i.DNE(1,lo,1,3,"bs-month-calendar-view",17),i.nI1(2,"async"),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",i.bMT(2,1,d.monthsCalendar))}}function no(O,_){if(1&O){const d=i.RV6();i.j41(0,"bs-years-calendar-view",18),i.bIt("onNavigate",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.navigateTo(M))})("onViewMode",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.setViewMode(M))})("onHover",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.yearHoverHandler(M))})("onSelect",function(M){i.eBV(d);const R=i.XpG(3);return i.Njj(R.yearSelectHandler(M))}),i.k0s()}if(2&O){const d=_.$implicit,C=i.XpG(3);i.AVh("bs-datepicker-multiple",C.multipleCalendars),i.Y8G("calendar",d)}}function ti(O,_){if(1&O&&(i.j41(0,"div",8),i.DNE(1,no,1,3,"bs-years-calendar-view",17),i.nI1(2,"async"),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngForOf",i.bMT(2,1,d.yearsCalendar))}}function zi(O,_){1&O&&(i.j41(0,"div",19)(1,"button",20),i.EFF(2,"Apply"),i.k0s(),i.j41(3,"button",21),i.EFF(4,"Cancel"),i.k0s()())}function Xi(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",24)(1,"button",25),i.bIt("click",function(){i.eBV(d);const M=i.XpG(3);return i.Njj(M.setToday())}),i.EFF(2),i.k0s()()}if(2&O){const d=i.XpG(3);i.AVh("today-left","left"===d.todayPos)("today-right","right"===d.todayPos)("today-center","center"===d.todayPos),i.R7$(2),i.JRh(d.todayBtnLbl)}}function Ls(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",26)(1,"button",25),i.bIt("click",function(){i.eBV(d);const M=i.XpG(3);return i.Njj(M.clearDate())}),i.EFF(2),i.k0s()()}if(2&O){const d=i.XpG(3);i.AVh("clear-left","left"===d.clearPos)("clear-right","right"===d.clearPos)("clear-center","center"===d.clearPos),i.R7$(2),i.JRh(d.clearBtnLbl)}}function Xs(O,_){if(1&O&&(i.j41(0,"div",19),i.DNE(1,Xi,3,7,"div",22),i.DNE(2,Ls,3,7,"div",23),i.k0s()),2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("ngIf",d.showTodayBtn),i.R7$(1),i.Y8G("ngIf",d.showClearBtn)}}function Lo(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",27)(1,"bs-custom-date-view",28),i.bIt("onSelect",function(M){i.eBV(d);const R=i.XpG(2);return i.Njj(R.setRangeOnCalendar(M))}),i.k0s()()}if(2&O){const d=i.XpG(2);i.R7$(1),i.Y8G("selectedRange",d.chosenRange)("ranges",d.customRanges)("customRangeLabel",d.customRangeBtnLbl)}}function fa(O,_){if(1&O){const d=i.RV6();i.j41(0,"div",1)(1,"div",2),i.bIt("@datepickerAnimation.done",function(){i.eBV(d);const M=i.XpG();return i.Njj(M.positionServiceEnable())}),i.j41(2,"div",3),i.nI1(3,"async"),i.DNE(4,pa,5,4,"ng-container",4),i.DNE(5,co,3,3,"div",5),i.DNE(6,ti,3,3,"div",5),i.k0s(),i.DNE(7,zi,5,0,"div",6),i.DNE(8,Xs,3,2,"div",6),i.k0s(),i.DNE(9,Lo,2,3,"div",7),i.k0s()}if(2&O){const d=i.XpG();i.Y8G("ngClass",d.containerClass),i.R7$(1),i.Y8G("@datepickerAnimation",d.animationState),i.R7$(1),i.Y8G("ngSwitch",i.bMT(3,9,d.viewMode)),i.R7$(2),i.Y8G("ngSwitchCase","day"),i.R7$(1),i.Y8G("ngSwitchCase","month"),i.R7$(1),i.Y8G("ngSwitchCase","year"),i.R7$(1),i.Y8G("ngIf",!1),i.R7$(1),i.Y8G("ngIf",d.showTodayBtn||d.showClearBtn),i.R7$(1),i.Y8G("ngIf",d.customRanges&&d.customRanges.length>0)}}let Ve=(()=>{class O{constructor(){this.adaptivePosition=!1,this.useUtc=!1,this.isAnimated=!1,this.startView="day",this.returnFocusToInput=!1,this.containerClass="theme-green",this.displayMonths=1,this.showWeekNumbers=!0,this.dateInputFormat="L",this.rangeSeparator=" - ",this.rangeInputFormat="L",this.monthTitle="MMMM",this.yearTitle="YYYY",this.dayLabel="D",this.monthLabel="MMMM",this.yearLabel="YYYY",this.weekNumbers="w",this.showTodayButton=!1,this.showClearButton=!1,this.todayPosition="center",this.clearPosition="right",this.todayButtonLabel="Today",this.clearButtonLabel="Clear",this.customRangeButtonLabel="Custom Range",this.withTimepicker=!1,this.allowedPositions=["top","bottom"],this.keepDatepickerOpened=!1,this.keepDatesOutOfRules=!1}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})();const kt="220ms cubic-bezier(0, 0, 0.2, 1)",Jt=(0,st.hZ)("datepickerAnimation",[(0,st.wk)("animated-down",(0,st.iF)({height:"*",overflow:"hidden"})),(0,st.kY)("* => animated-down",[(0,st.iF)({height:0,overflow:"hidden"}),(0,st.i0)(kt)]),(0,st.wk)("animated-up",(0,st.iF)({height:"*",overflow:"hidden"})),(0,st.kY)("* => animated-up",[(0,st.iF)({height:"*",overflow:"hidden"}),(0,st.i0)(kt)]),(0,st.kY)("* => unanimated",(0,st.i0)("0s"))]);class Mn{constructor(){this.containerClass="",this.customRanges=[],this.chosen
1Range=[],this._daysCalendarSub=new rt.yU,this.selectedTimeSub=new rt.yU}set minDate(_){this._effects?.setMinDate(_)}set maxDate(_){this._effects?.setMaxDate(_)}set daysDisabled(_){this._effects?.setDaysDisabled(_)}set datesDisabled(_){this._effects?.setDatesDisabled(_)}set datesEnabled(_){this._effects?.setDatesEnabled(_)}set isDisabled(_){this._effects?.setDisabled(_)}set dateCustomClasses(_){this._effects?.setDateCustomClasses(_)}set dateTooltipTexts(_){this._effects?.setDateTooltipTexts(_)}set daysCalendar$(_){this._daysCalendar$=_,this._daysCalendarSub.unsubscribe(),this._daysCalendarSub.add(this._daysCalendar$.subscribe(d=>{this.multipleCalendars=!!d&&d.length>1}))}get daysCalendar$(){return this._daysCalendar$}setViewMode(_){}navigateTo(_){}dayHoverHandler(_){}weekHoverHandler(_){}monthHoverHandler(_){}yearHoverHandler(_){}timeSelectHandler(_,d){}daySelectHandler(_){}monthSelectHandler(_){}yearSelectHandler(_){}setRangeOnCalendar(_){}setToday(){}clearDate(){}_stopPropagation(_){_.stopPropagation()}}let Nt=(()=>{class O{static{this.CALCULATE="[datepicker] calculate dates matrix"}static{this.FORMAT="[datepicker] format datepicker values"}static{this.FLAG="[datepicker] set flags"}static{this.SELECT="[datepicker] select date"}static{this.NAVIGATE_OFFSET="[datepicker] shift view date"}static{this.NAVIGATE_TO="[datepicker] change view date"}static{this.SET_OPTIONS="[datepicker] update render options"}static{this.HOVER="[datepicker] hover date"}static{this.CHANGE_VIEWMODE="[datepicker] switch view mode"}static{this.SET_MIN_DATE="[datepicker] set min date"}static{this.SET_MAX_DATE="[datepicker] set max date"}static{this.SET_DAYSDISABLED="[datepicker] set days disabled"}static{this.SET_DATESDISABLED="[datepicker] set dates disabled"}static{this.SET_DATESENABLED="[datepicker] set dates enabled"}static{this.SET_IS_DISABLED="[datepicker] set is disabled"}static{this.SET_DATE_CUSTOM_CLASSES="[datepicker] set date custom classes"}static{this.SET_DATE_TOOLTIP_TEXTS="[datepicker] set date tooltip texts"}static{this.SET_LOCALE="[datepicker] set datepicker locale"}static{this.SELECT_TIME="[datepicker] select time"}static{this.SELECT_RANGE="[daterangepicker] select dates range"}calculate(){return{type:O.CALCULATE}}format(){return{type:O.FORMAT}}flag(){return{type:O.FLAG}}select(d){return{type:O.SELECT,payload:d}}selectTime(d,C){return{type:O.SELECT_TIME,payload:{date:d,index:C}}}changeViewMode(d){return{type:O.CHANGE_VIEWMODE,payload:d}}navigateTo(d){return{type:O.NAVIGATE_TO,payload:d}}navigateStep(d){return{type:O.NAVIGATE_OFFSET,payload:d}}setOptions(d){return{type:O.SET_OPTIONS,payload:d}}selectRange(d){return{type:O.SELECT_RANGE,payload:d}}hoverDay(d){return{type:O.HOVER,payload:d.isHovered?d.cell.date:null}}minDate(d){return{type:O.SET_MIN_DATE,payload:d}}maxDate(d){return{type:O.SET_MAX_DATE,payload:d}}daysDisabled(d){return{type:O.SET_DAYSDISABLED,payload:d}}datesDisabled(d){return{type:O.SET_DATESDISABLED,payload:d}}datesEnabled(d){return{type:O.SET_DATESENABLED,payload:d}}isDisabled(d){return{type:O.SET_IS_DISABLED,payload:d}}setDateCustomClasses(d){return{type:O.SET_DATE_CUSTOM_CLASSES,payload:d}}setDateTooltipTexts(d){return{type:O.SET_DATE_TOOLTIP_TEXTS,payload:d}}setLocale(d){return{type:O.SET_LOCALE,payload:d}}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})(),kn=(()=>{class O{constructor(){this._defaultLocale="en",this._locale=new W.t(this._defaultLocale),this._localeChange=this._locale.asObservable()}get locale(){return this._locale}get localeChange(){return this._localeChange}get currentLocale(){return this._locale.getValue()}use(d){d!==this.currentLocale&&this._locale.next(d)}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})(),_i=(()=>{class O{constructor(d,C){this._actions=d,this._localeService=C,this._subs=[]}init(d){return this._store=d,this}setValue(d){this._store?.dispatch(this._actions.select(d))}setRangeValue(d){this._store?.dispatch(this._actions.selectRange(d))}setMinDate(d){return this._store?.dispatch(this._actions.minDate(d)),this}setMaxDate(d){return this._store?.dispatch(this._actions.maxDate(d)),this}setDaysDisabled(d){return this._store?.dispatch(this._actions.daysDisabled(d)),this}setDatesDisabled(d){return this._store?.dispatch(this._actions.datesDisabled(d)),this}setDatesEnabled(d){return this._store?.dispatch(this._actions.datesEnabled(d)),this}setDisabled(d){return this._store?.dispatch(this._actions.isDisabled(d)),this}setDateCustomClasses(d){return this._store?.dispatch(this._actions.setDateCustomClasses(d)),this}setDateTooltipTexts(d){return this._store?.dispatch(this._actions.setDateTooltipTexts(d)),this}setOptions(d){const C=Object.assign({locale:this._localeService.currentLocale},d);return this._store?.dispatch(this._actions.setOptions(C)),this}setBindings(d){return this._store?(d.selectedTime=this._store.select(C=>C.selectedTime).pipe((0,e.p)(C=>!!C)),d.daysCalendar$=this._store.select(C=>C.flaggedMonths).pipe((0,e.p)(C=>!!C)),d.monthsCalendar=this._store.select(C=>C.flaggedMonthsCalendar).pipe((0,e.p)(C=>!!C)),d.yearsCalendar=this._store.select(C=>C.yearsCalendarFlagged).pipe((0,e.p)(C=>!!C)),d.viewMode=this._store.select(C=>C.view?.mode),d.options$=(0,Tt.z)([this._store.select(C=>C.showWeekNumbers),this._store.select(C=>C.displayMonths)]).pipe((0,ee.T)(C=>({showWeekNumbers:C[0],displayMonths:C[1]}))),this):this}setEventHandlers(d){return d.setViewMode=C=>{this._store?.dispatch(this._actions.changeViewMode(C))},d.navigateTo=C=>{this._store?.dispatch(this._actions.navigateStep(C.step))},d.dayHoverHandler=C=>{const M=C.cell;M.isOtherMonth||M.isDisabled||(this._store?.dispatch(this._actions.hoverDay(C)),M.isHovered=C.isHovered)},d.monthHoverHandler=C=>{C.cell.isHovered=C.isHovered},d.yearHoverHandler=C=>{C.cell.isHovered=C.isHovered},this}registerDatepickerSideEffects(){return this._store?(this._subs.push(this._store.select(d=>d.view).subscribe(()=>{this._store?.dispatch(this._actions.calculate())})),this._subs.push(this._store.select(d=>d.monthsModel).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.format()))),this._subs.push(this._store.select(d=>d.formattedMonths).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.selectedDate).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.selectedRange).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.monthsCalendar).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.yearsCalendarModel).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.hoveredDate).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.dateCustomClasses).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._store.select(d=>d.dateTooltipTexts).pipe((0,e.p)(d=>!!d)).subscribe(()=>this._store?.dispatch(this._actions.flag()))),this._subs.push(this._localeService.localeChange.subscribe(d=>this._store?.dispatch(this._actions.setLocale(d)))),this):this}
1destroy(){for(const d of this._subs)d.unsubscribe()}static{this.\u0275fac=function(C){return new(C||O)(i.KVO(Nt),i.KVO(kn))}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})();const jo={date:new Date,mode:"day"},uo=Object.assign(new Ve,{locale:"en",view:jo,selectedRange:[],selectedTime:[],monthViewOptions:{width:7,height:6}});function bn(O,_,d){const C=_&&(0,$.Y8)((0,$.pJ)(O,"month"),_,"day"),M=d&&(0,$.dS)((0,$.GH)(O,"month"),d,"day");return C||M||!1}function Vo(O,_,d){const C=_&&(0,$.Y8)((0,$.pJ)(O,"year"),_,"day"),M=d&&(0,$.dS)((0,$.GH)(O,"year"),d,"day");return C||M||!1}function ls(O,_,d){return!!(_&&(0,$.cy)(_)&&_.length)&&(d&&"year"===d&&!_[0].getDate()?_.some(C=>(0,$.Ft)(O,C,"year")):_.some(C=>(0,$.Ft)(O,C,"date")))}function sr(O,_,d){return!!(_&&(0,$.cy)(_)&&_.length)&&!_.some(C=>(0,$.Ft)(O,C,d||"date"))}function Fi(O,_=0){const d=O&&O.yearsCalendarModel&&O.yearsCalendarModel[_];return d?.years[0]&&d.years[0][0]&&d.years[0][0].date}function ks(O,_){return!O||!_||!O.length&&!O[0].value||O.forEach(d=>(!d||!d.value||d.value instanceof Date||!(d.value instanceof Array&&d.value.length)||(d.value=ms(d.value,_)),O)),O}function ho(O,_){return!O||!_||O instanceof Array&&!O.length||O instanceof Date?O:ms(O,_)}function ms(O,_){return O instanceof Array?O.map(C=>C&&((0,$.dS)(C,_,"date")&&(C=_),C)):O}function cs(O){return O&&Ln(O)}function ga(O){return O?.length&&O.map(_=>_&&Ln(_)),O}function Ln(O){const _=new Date;return O.setMilliseconds(_.getMilliseconds()),O.setSeconds(_.getSeconds()),O.setMinutes(_.getMinutes()),O.setHours(_.getHours()),O}function Hi(O,_){let d=O.initialDate;const C=new Array(O.height);for(let M=0;M<O.height;M++){C[M]=new Array(O.width);for(let R=0;R<O.width;R++)C[M][R]=_(d),d=(0,$.n6)(d,O.shift)}return C}function po(O,_){const d=(0,$.mW)(O),C=function ir(O,_){if((0,$.K6)(O,_.firstDayOfWeek))return O;const C=function ws(O,_){const d=Number(_);if(isNaN(d))return 0;if(0===d)return O;const C=O-d%7;return C<0?C+7:C}((0,$.Py)(O),_.firstDayOfWeek);return(0,$.n6)(O,{day:-C})}(d,_);return{daysMatrix:Hi({width:_.width||0,height:_.height||0,initialDate:C,shift:{day:1}},be=>be),month:d}}function Br(O,_,d){return O.map(C=>C[0]?(0,$.Yq)(C[0],_,d):"")}function js(O){const _=(0,$.JK)(O),d=_.weekdaysShort(),C=_.firstDayOfWeek();return[...d.slice(C),...d.slice(0,C)]}function _r(O,_){return!_||O>=_}const Xo=4,Vs=3,fo={month:1};function V(O,_){const d=(0,$.GH)(O,"year");return{months:Hi({width:Vs,height:Xo,initialDate:d,shift:fo},R=>({date:R,label:(0,$.Yq)(R,_.monthLabel,_.locale)})),monthTitle:"",yearTitle:(0,$.Yq)(O,_.yearTitle,_.locale),hideRightArrow:!1,hideLeftArrow:!1,disableRightArrow:!1,disableLeftArrow:!1}}const F=4,de=4,Ne=F*de,yn=-1*(Math.floor(Ne/2)-1),Zn={year:1};function Bs(O,_,d){const C=function Cr(O,_){return _&&O.getFullYear()>=_.getFullYear()&&O.getFullYear()<_.getFullYear()+Ne?_:(0,$.n6)(O,{year:yn})}(O,d),R=Hi({width:de,height:F,initialDate:C,shift:Zn},Ct=>({date:Ct,label:(0,$.Yq)(Ct,_.yearLabel,_.locale)})),be=function or(O,_){return`${(0,$.Yq)(O[0][0].date,_.yearTitle,_.locale)} - ${(0,$.Yq)(O[F-1][de-1].date,_.yearTitle,_.locale)}`}(R,_);return{years:R,monthTitle:"",yearTitle:be,hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}function Va(O,_){!O||!isNaN(O.getTime())||(O.setHours(_.getHours()),O.setMinutes(_.getMinutes()),O.setSeconds(_.getSeconds()),O.setMilliseconds(_.getMilliseconds()))}function rr(O=uo,_){switch(_.type){case Nt.CALCULATE:return function Sr(O){if(!O.view)return O;let _;_=O.displayOneMonthRange&&Bo(O.view.date,O.minDate,O.maxDate)?1:O.displayMonths||1;let d=O.view.date;if("day"===O.view.mode&&O.monthViewOptions){O.showPreviousMonth&&O.selectedRange&&0===O.selectedRange.length&&(d=(0,$.n6)(d,{month:-1})),O.monthViewOptions.firstDayOfWeek=(0,$.JK)(O.locale).firstDayOfWeek();let C=new Array(_);for(let M=0;M<_;M++)C[M]=po(d,O.monthViewOptions),d=(0,$.n6)(d,{month:1});if(O.preventChangeToNextMonth&&O.flaggedMonths&&O.hoveredDate){const M=po(O.view.date,O.monthViewOptions);O.flaggedMonths.length&&O.flaggedMonths[1].month.getMonth()===M.month.getMonth()&&(C=O.flaggedMonths.map(R=>O.monthViewOptions?po(R.month,O.monthViewOptions):null).filter(R=>null!==R))}return Object.assign({},O,{monthsModel:C})}if("month"===O.view.mode){const C=new Array(_);for(let M=0;M<_;M++)C[M]=V(d,ko(O)),d=(0,$.n6)(d,{year:1});return Object.assign({},O,{monthsCalendar:C})}if("year"===O.view.mode){const C=new Array(_);for(let M=0;M<_;M++)C[M]=Bs(d,ko(O),"year"===O.minMode?Fi(O,M):void 0),d=(0,$.n6)(d,{year:Ne});return Object.assign({},O,{yearsCalendarModel:C})}return O}(O);case Nt.FORMAT:return function ui(O){if(!O.view)return O;if("day"===O.view.mode&&O.monthsModel){const C=O.monthsModel.map((M,R)=>function Lt(O,_,d){return{month:O.month,monthTitle:(0,$.Yq)(O.month,_.monthTitle,_.locale),yearTitle:(0,$.Yq)(O.month,_.yearTitle,_.locale),weekNumbers:Br(O.daysMatrix,_.weekNumbers,_.locale),weekdays:js(_.locale),weeks:O.daysMatrix.map((C,M)=>({days:C.map((R,be)=>({date:R,label:(0,$.Yq)(R,_.dayLabel,_.locale),monthIndex:d,weekIndex:M,dayIndex:be}))})),hideLeftArrow:!1,hideRightArrow:!1,disableLeftArrow:!1,disableRightArrow:!1}}(M,ko(O),R));return Object.assign({},O,{formattedMonths:C})}const _=O.displayMonths||1;let d=O.view.date;if("month"===O.view.mode){const C=new Array(_);for(let M=0;M<_;M++)C[M]=V(d,ko(O)),d=(0,$.n6)(d,{year:1});return Object.assign({},O,{monthsCalendar:C})}if("year"===O.view.mode){const C=new Array(_);for(let M=0;M<_;M++)C[M]=Bs(d,ko(O)),d=(0,$.n6)(d,{year:16});return Object.assign({},O,{yearsCalendarModel:C})}return O}(O);case Nt.FLAG:return function Kr(O){if(!O.view)return O;const _=Bo(O.view.date,O.minDate,O.maxDate)?1:O.displayMonths;if(O.formattedMonths&&"day"===O.view.mode){const d=O.formattedMonths.map((C,M)=>function zo(O,_){return O.weeks.forEach(d=>{d.days.forEach((C,M)=>{const R=!(0,$.tF)(C.date,O.month),be=!R&&(0,$.ro)(C.date,_.hoveredDate),Ct=!R&&_.selectedRange&&(0,$.ro)(C.date,_.selectedRange[0]),Kt=!R&&_.selectedRange&&(0,$.ro)(C.date,_.selectedRange[1]),En=!R&&(0,$.ro)(C.date,_.selectedDate)||Ct||Kt,Bn=!R&&_.selectedRange&&function wa(O,_,d){return!!(O&&_&&_[0])&&(_[1]?O>_[0]&&O<=_[1]:!!d&&O>_[0]&&O<=d)}(C.date,_.selectedRange,_.hoveredDate),Vn=_.isDisabled||(0,$.Y8)(C.date,_.minDate,"day")||(0,$.dS)(C.date,_.maxDate,"day")||(0,$.hW)(C.date,_.daysDisabled)||ls(C.date,_.datesDisabled)||sr(C.date,_.datesEnabled),as=!R&&(0,$.ro)(C.date,new Date),Bi=_.dateCustomClasses&&_.dateCustomClasses.map(ni=>(0,$.ro)(C.date,ni.date)?ni.classes:[]).reduce((ni,Ks)=>ni.concat(Ks),[]).join(" ")||"",vs=_.dateTooltipTexts&&_.dateTooltipTexts.map(ni=>(0,$.ro)(C.date,ni.date)?ni.tooltipText:"").reduce((ni,Ks)=>(ni.push(Ks),ni),[]).join(" ")||"",Zi=Object.assign({},C,{isOtherMonth:R,isHovered:be,isSelected:En,isSelectionStart:Ct,isSelectionEnd:Kt,isInRange:Bn,isDisabled:Vn,isToday:as,customClasses:Bi,tooltipText:vs});(C.isOtherMonth!==Zi.isOtherMonth||C.isHovered!==Zi.isHovered||C.isSelected!==Zi.isSelected||C.isSelectionStart!==Zi.isSelectionStart||C.isSelectionEnd!==Zi.isSelectionEnd||C.isDisabled!==Zi.isDisabled||C.isInRange!==Zi.isInRange||C.customClasses!==Zi.customClasses||C.tooltipText!==Zi.tooltipText)&&(d.days[M]=Zi)})}),O.hideLeftArrow=_.isDisabled||!!_.monthIndex&&_.monthIndex>0&&_.monthIndex!==_.displayMonths,O.hideRightArrow=_.isDisabled||(!!_.monthIndex||0===_.monthIndex)&&!!_.displayMonths&&_.monthIndex<_.displayMonths&&_.monthIndex+1!==_.displayMonths,O.disableLeftArrow=bn((0,$.n6)(O.month,{month:-1}),_.minDate,_.maxDate),O.disableRightArrow=bn((0,$.n6)(O.month,{month:1}),_.minDate,_.maxDate),O}(C,{isDisabled:O.isDisabled,minDate:O.minDate,maxDate:O.maxDate,daysDisabled:O.daysDisabled,datesDisabled:O.datesDisabled,datesEnabled:O.datesEnabled,hoveredDate:O.hoveredDate,selectedDate:O.selectedDate,selectedRange:O.selectedRange,displayMonths:_,dateCustomClasses:O.dateCustomClasses,dateTooltipTexts:O.dateTooltipTexts,monthIndex:M}));return Object.assign({},O,{flaggedMonths:d})}if("month"===O.view.mode&&O.monthsCalendar){const d=O.monthsCalendar.map((C,M)=>function Y(O,_){return O.months.forEach((d,C)=>{d.forEach((M,R)=>{let be;const Ct=(0,$.tF)(M.date,_.hoveredMonth),Kt=_.isDisabled||ls(M.date,_.datesDisabled)||sr(M.date,_.datesEnabled,"month")||bn(M.date,_.minDate,_.maxDate);!_.selectedDate&&_.selectedRange?(be=(0,$.tF)(M.date,_.selectedRange[0]),be||(be=(0,$.tF)(M.date,_.selectedRange[1]))):be=(0,$.tF)(M.date,_.selectedDate);const En=Object.assign(M,{isHovered:Ct,isDisabled:Kt,isSelected:be});(M.isHovered!==En.isHovered||M.isDisabled!==En.isDisabled||M.isSelected!==En.isSelected)&&(O.months[C][R]=En)})}),O.hideLeftArrow=!!_.monthIndex&&_.monthIndex>0&&_.monthIndex!==_.displayMonths,O.hideRightArrow=(!!_.monthIndex||0===_.monthIndex)&&(!!_.displayMonths||0===_.displayMonths)&&_.monthIndex<_.displayMonths&&_.monthIndex+1!==_.displayMonths,O.disableLeftArrow=Vo((0,$.n6)(O.months[0][0].date,{year:-1}),_.minDate,_.maxDate),O.disableRightArrow=Vo((0,$.n6)(O.months[0][0].date,{year:1}),_.minDate,_.maxDate),O}(C,{isDisabled:O.isDisabled,minDate:O.minDate,maxDate:O.maxDate,hoveredMonth:O.hoveredMonth,selectedDate:O.selectedDate,datesDisabled:O.datesDisabled,datesEnabled:O.datesEnabled,selectedRange:O.selectedRange,displayMonths:_,monthIndex:M}));return Object.assign({},O,{flaggedMonthsCalendar:d})}if("year"===O.view.mode&&O.yearsCalendarModel){const d=O.yearsCalendarModel.map((C,M)=>
1function Ko(O,_){O.years.forEach((M,R)=>{M.forEach((be,Ct)=>{let Kt;const En=(0,$.s0)(be.date,_.hoveredYear),Bn=_.isDisabled||ls(be.date,_.datesDisabled,"year")||sr(be.date,_.datesEnabled,"year")||Vo(be.date,_.minDate,_.maxDate);!_.selectedDate&&_.selectedRange?(Kt=(0,$.s0)(be.date,_.selectedRange[0]),Kt||(Kt=(0,$.s0)(be.date,_.selectedRange[1]))):Kt=(0,$.s0)(be.date,_.selectedDate);const Vn=Object.assign(be,{isHovered:En,isDisabled:Bn,isSelected:Kt});(be.isHovered!==Vn.isHovered||be.isDisabled!==Vn.isDisabled||be.isSelected!==Vn.isSelected)&&(O.years[R][Ct]=Vn)})}),O.hideLeftArrow=!!_.yearIndex&&_.yearIndex>0&&_.yearIndex!==_.displayMonths,O.hideRightArrow=!!_.yearIndex&&!!_.displayMonths&&_.yearIndex<_.displayMonths&&_.yearIndex+1!==_.displayMonths,O.disableLeftArrow=Vo((0,$.n6)(O.years[0][0].date,{year:-1}),_.minDate,_.maxDate);const d=O.years.length-1;return O.disableRightArrow=Vo((0,$.n6)(O.years[d][O.years[d].length-1].date,{year:1}),_.minDate,_.maxDate),O}(C,{isDisabled:O.isDisabled,minDate:O.minDate,maxDate:O.maxDate,hoveredYear:O.hoveredYear,selectedDate:O.selectedDate,datesDisabled:O.datesDisabled,datesEnabled:O.datesEnabled,selectedRange:O.selectedRange,displayMonths:_,yearIndex:M}));return Object.assign({},O,{yearsCalendarFlagged:d})}return O}(O);case Nt.NAVIGATE_OFFSET:return function Ba(O,_){if(!O.view)return O;const d=function ar(O,_){if(O.view){if("year"===O.view.mode&&"year"===O.minMode){const d=Fi(O,0);if(d){const C=(0,$.n6)(d,{year:-yn});return(0,$.n6)(C,_.payload)}}return(0,$.n6)((0,$.GH)(O.view.date,"month"),_.payload)}}(O,_);if(!d)return O;return Object.assign({},O,{view:{mode:O.view.mode,date:d}})}(O,_);case Nt.NAVIGATE_TO:{const d=_.payload;if(!O.view||!d.unit)return O;const C=(0,$.kE)(O.view.date,d.unit);let M,R;return _r(d.viewMode,O.minMode)?(R=d.viewMode,M={view:{date:C,mode:R}}):(R=O.view.mode,M={selectedDate:C,view:{date:C,mode:R}}),Object.assign({},O,M)}case Nt.CHANGE_VIEWMODE:return _r(_.payload,O.minMode)&&O.view?Object.assign({},O,{view:{date:O.view.date,mode:_.payload}}):O;case Nt.HOVER:return Object.assign({},O,{hoveredDate:_.payload});case Nt.SELECT:{if(!O.view)return O;const d={selectedDate:_.payload,view:O.view};if(Array.isArray(O.selectedTime)){const be=O.selectedTime[0];d.selectedDate&&be&&Va(d.selectedDate,be)}const C=O.view.mode,R=Qr(_.payload||O.view.date,O.minDate,O.maxDate);return d.view={mode:C,date:R},Object.assign({},O,d)}case Nt.SELECT_TIME:{const{date:d,index:C}=_.payload,M=O.selectedTime?[...O.selectedTime]:[];return M[C]=d,Object.assign({},O,{selectedTime:M})}case Nt.SET_OPTIONS:{if(!O.view)return O;const d=_.payload,C=d.minMode?d.minMode:O.view.mode,R=Qr((0,$.Pz)(d.value)&&d.value||(0,$.cy)(d.value)&&(0,$.Pz)(d.value[0])&&d.value[0]||O.view.date,d.minDate,d.maxDate);return d.view={mode:C,date:R},d.value&&((0,$.cy)(d.value)&&(d.selectedRange=d.value,d.selectedTime=d.value.map(be=>be)),d.value instanceof Date&&(d.selectedDate=d.value,d.selectedTime=[d.value])),Object.assign({},O,d)}case Nt.SELECT_RANGE:{if(!O.view)return O;const d={selectedRange:_.payload,view:O.view};d.selectedRange?.forEach((be,Ct)=>{if(Array.isArray(O.selectedTime)){const Kt=O.selectedTime[Ct];Kt&&Va(be,Kt)}});const C=O.view.mode,R=Qr(_.payload&&_.payload[0]||O.view.date,O.minDate,O.maxDate);return d.view={mode:C,date:R},Object.assign({},O,d)}case Nt.SET_MIN_DATE:return Object.assign({},O,{minDate:_.payload});case Nt.SET_MAX_DATE:return Object.assign({},O,{maxDate:_.payload});case Nt.SET_IS_DISABLED:return Object.assign({},O,{isDisabled:_.payload});case Nt.SET_DATE_CUSTOM_CLASSES:return Object.assign({},O,{dateCustomClasses:_.payload});case Nt.SET_DATE_TOOLTIP_TEXTS:return Object.assign({},O,{dateTooltipTexts:_.payload});default:return O}}function ko(O){return{locale:O.locale,monthTitle:O.monthTitle,yearTitle:O.yearTitle,dayLabel:O.dayLabel,monthLabel:O.monthLabel,yearLabel:O.yearLabel,weekNumbers:O.weekNumbers}}function Qr(O,_,d){const C=Array.isArray(O)?O[0]:O;return _&&(0,$.dS)(_,C,"day")?_:d&&(0,$.Y8)(d,C,"day")?d:C}function Bo(O,_,d){return!(!d||!(0,$.Ft)(d,O,"day"))||_&&d&&_.getMonth()===d.getMonth()}let ds=(()=>{class O extends B{constructor(){const d=new W.t({type:"[datepicker] dispatcher init"});super(d,rr,new _e(uo,d,rr))}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"platform"})}}return O})(),Jr=(()=>{class O{constructor(){this.onSelect=new i.bkB}selectFromRanges(d){this.onSelect.emit(d)}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-custom-date-view"]],inputs:{ranges:"ranges",selectedRange:"selectedRange",customRangeLabel:"customRangeLabel"},outputs:{onSelect:"onSelect"},decls:2,vars:1,consts:[[1,"bs-datepicker-predefined-btns"],["type","button","class","btn",3,"selected","click",4,"ngFor","ngForOf"],["type","button",1,"btn",3,"click"]],template:function(C,M){1&C&&(i.j41(0,"div",0),i.DNE(1,qe,2,3,"button",1),i.k0s()),2&C&&(i.R7$(1),i.Y8G("ngForOf",M.ranges))},dependencies:[H.Sq],encapsulation:2,changeDetection:0})}}return O})();var Ki=function(O){return O[O.UP=0]="UP",O[O.DOWN=1]="DOWN",O}(Ki||{});let mo,Do=(()=>{class O{static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-current-date"]],inputs:{title:"title"},decls:3,vars:1,consts:[[1,"current-timedate"]],template:function(C,M){1&C&&(i.j41(0,"div",0)(1,"span"),i.EFF(2),i.k0s()()),2&C&&(i.R7$(2),i.JRh(M.title))},encapsulation:2})}}return O})(),Eo=(()=>{class O{constructor(){this.ampm="ok",this.hours=0,this.minutes=0}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-timepicker"]],decls:16,vars:3,consts:[[1,"bs-timepicker-container"],[1,"bs-timepicker-control
1s"],["type","button",1,"bs-decrease"],["type","text","placeholder","00",3,"value"],["type","button",1,"bs-increase"],["type","button",1,"switch-time-format"],["src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAABSElEQVQYV3XQPUvDUBQG4HNuagtVqc6KgouCv6GIuIntYBLB9hcIQpLStCAIV7DYmpTcRWcXqZio3Vwc/UCc/QEqfgyKGbr0I7nS1EiHeqYzPO/h5SD0jaxUZjmSLCB+OFb+UFINFwASAEAdpu9gaGXVyAHHFQBkHpKHc6a9dzECvADyY9sqlAMsK9W0jzxDXqeytr3mhQckxSji27TJJ5/rPmIpwJJq3HrtduriYOurv1a4i1p5HnhkG9OFymi0ReoO05cGwb+ayv4dysVygjeFmsP05f8wpZQ8fsdvfmuY9zjWSNqUtgYFVnOVReILYoBFzdQI5/GGFzNHhGbeZnopDGU29sZbscgldmC99w35VOATTycIMMcBXIfpSVGzZhA6C8hh00conln6VQ9TGgV32OEAKQC4DrBq7CJwd0ggR7Vq/rPrfgB+C3sGypY5DAAAAABJRU5ErkJggg==","alt",""]],template:function(C,M){1&C&&(i.j41(0,"div",0)(1,"div",1)(2,"button",2),i.EFF(3,"-"),i.k0s(),i.nrm(4,"input",3),i.j41(5,"button",4),i.EFF(6,"+"),i.k0s()(),i.j41(7,"div",1)(8,"button",2),i.EFF(9,"-"),i.k0s(),i.nrm(10,"input",3),i.j41(11,"button",4),i.EFF(12,"+"),i.k0s()(),i.j41(13,"button",5),i.EFF(14),i.nrm(15,"img",6),i.k0s()()),2&C&&(i.R7$(4),i.Y8G("value",M.hours),i.R7$(6),i.Y8G("value",M.minutes),i.R7$(4),i.SpI("",M.ampm," "))},encapsulation:2})}}return O})(),xo=(()=>{class O{static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-calendar-layout"]],ngContentSelectors:pt,decls:6,vars:2,consts:[["title","hey there",4,"ngIf"],[1,"bs-datepicker-head"],[1,"bs-datepicker-body"],[4,"ngIf"],["title","hey there"]],template:function(C,M){1&C&&(i.NAR(Re),i.DNE(0,Qe,1,0,"bs-current-date",0),i.j41(1,"div",1),i.SdG(2),i.k0s(),i.j41(3,"div",2),i.SdG(4,1),i.k0s(),i.DNE(5,he,1,0,"bs-timepicker",3)),2&C&&(i.Y8G("ngIf",!1),i.R7$(5),i.Y8G("ngIf",!1))},dependencies:[H.bT,Do,Eo],encapsulation:2})}}return O})(),Pa=(()=>{class O{constructor(d,C,M){this._config=d,this._elRef=C,this._renderer=M,this.day={date:new Date,label:""}}ngOnInit(){this.day?.isToday&&this._config&&this._config.customTodayClass&&this._renderer.addClass(this._elRef.nativeElement,this._config.customTodayClass),"string"==typeof this.day?.customClasses&&this.day?.customClasses.split(" ").filter(d=>d).forEach(d=>{this._renderer.addClass(this._elRef.nativeElement,d)})}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Ve),i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["","bsDatepickerDayDecorator",""]],hostVars:16,hostBindings:function(C,M){2&C&&i.AVh("disabled",M.day.isDisabled)("is-highlighted",M.day.isHovered)("is-other-month",M.day.isOtherMonth)("is-active-other-month",M.day.isOtherMonthHovered)("in-range",M.day.isInRange)("select-start",M.day.isSelectionStart)("select-end",M.day.isSelectionEnd)("selected",M.day.isSelected)},inputs:{day:"day"},attrs:At,decls:1,vars:1,template:function(C,M){1&C&&i.EFF(0),2&C&&i.JRh(M.day&&M.day.label||"")},encapsulation:2,changeDetection:0})}}return O})(),an=(()=>{class O{constructor(){this.isDisabled=!1,this.onNavigate=new i.bkB,this.onViewMode=new i.bkB}navTo(d){this.onNavigate.emit(d?Ki.DOWN:Ki.UP)}view(d){this.isDisabled||this.onViewMode.emit(d)}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-datepicker-navigation-view"]],inputs:{calendar:"calendar",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode"},decls:12,vars:9,consts:[["type","button",1,"previous",3,"disabled","click"],[4,"ngIf"],["type","button",1,"current",3,"disabled","click"],["type","button",1,"next",3,"disabled","click"]],template:function(C,M){1&C&&(i.j41(0,"button",0),i.bIt("click",function(){return M.navTo(!0)}),i.j41(1,"span"),i.EFF(2,"\u2039"),i.k0s()(),i.DNE(3,Ht,5,2,"ng-container",1),i.EFF(4," \u200b "),i.j41(5,"button",2),i.bIt("click",function(){return M.view("year")}),i.j41(6,"span"),i.EFF(7),i.k0s()(),i.EFF(8," \u200b "),i.j41(9,"button",3),i.bIt("click",function(){return M.navTo(!1)}),i.j41(10,"span"),i.EFF(11,"\u203a"),i.k0s()()),2&C&&(i.xc7("visibility",M.calendar.hideLeftArrow?"hidden":"visible"),i.Y8G("disabled",M.calendar.disableLeftArrow),i.R7$(3),i.Y8G("ngIf",M.calendar&&M.calendar.monthTitle),i.R7$(2),i.Y8G("disabled",M.isDisabled),i.R7$(2),i.JRh(M.calendar.yearTitle),i.R7$(2),i.xc7("visibility",M.calendar.hideRightArrow?"hidden":"visible"),i.Y8G("disabled",M.calendar.disableRightArrow))},dependencies:[H.bT],encapsulation:2,changeDetection:0})}}return O})(),go=(()=>{class O{constructor(d){this._config=d,this.onNavigate=new i.bkB,this.onViewMode=new i.bkB,this.onSelect=new i.bkB,this.onHover=new i.bkB,this.onHoverWeek=new i.bkB,this.isiOS=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,this._config.dateTooltipTexts&&this._config.dateTooltipTexts.length>0&&(this.isShowTooltip=!0)}navigateTo(d){this.onNavigate.emit({step:{month:Ki.DOWN===d?-1:1}})}changeViewMode(d){this.onViewMode.emit(d)}selectDay(d){this.onSelect.emit(d)}selectWeek(d){if(!this._config.selectWeek&&!this._config.selectWeekDateRange||0===d.days.length)return;if(this._config.selectWeek&&d.days[0]&&!d.days[0].isDisabled&&this._config.selectFromOtherMonth)return void this.onSelect.emit(d.days[0]);const C=d.days.find(M=>(this._config.selectFromOtherMonth||!M.isOtherMonth)&&!M.isDisabled);if(this.onSelect.emit(C),this._config.selectWeekDateRange){const R=d.days.slice(0).reverse().find(be=>(this._config.selectFromOtherMonth||!be.isOtherMonth)&&!be.isDisabled);this.onSelect.emit(R)}}weekHoverHandler(d,C){(this._config.selectWeek||this._config.selectWeekDateRange)&&d.days.find(R=>
1(this._config.selectFromOtherMonth||!R.isOtherMonth)&&!R.isDisabled)&&(d.isHovered=C,this.isWeekHovered=C,this.onHoverWeek.emit(d))}hoverDay(d,C){this._config.selectFromOtherMonth&&d.isOtherMonth&&(d.isOtherMonthHovered=C),this._config.dateTooltipTexts&&(d.tooltipText="",this._config.dateTooltipTexts.forEach(M=>{(0,$.ro)(M.date,d.date)&&(d.tooltipText=M.tooltipText)})),this.onHover.emit({cell:d,isHovered:C})}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Ve))}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-days-calendar-view"]],inputs:{calendar:"calendar",options:"options",isDisabled:"isDisabled"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover",onHoverWeek:"onHoverWeek"},decls:9,vars:5,consts:[[3,"calendar","isDisabled","onNavigate","onViewMode"],["role","grid",1,"days","weeks"],[4,"ngIf"],["aria-label","weekday",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],["aria-label","weekday"],["class","week",3,"active-week",4,"ngIf"],["role","gridcell",4,"ngFor","ngForOf"],[1,"week"],[3,"click",4,"ngIf"],[3,"click","mouseenter","mouseleave",4,"ngIf"],[3,"click"],[3,"click","mouseenter","mouseleave"],["role","gridcell"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","click",4,"ngIf"],["bsDatepickerDayDecorator","",3,"day","tooltip","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click","mouseenter","mouseleave"],["bsDatepickerDayDecorator","",3,"day","click"]],template:function(C,M){1&C&&(i.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),i.bIt("onNavigate",function(be){return M.navigateTo(be)})("onViewMode",function(be){return M.changeViewMode(be)}),i.k0s(),i.j41(2,"table",1)(3,"thead")(4,"tr"),i.DNE(5,Wn,1,0,"th",2),i.DNE(6,pn,2,1,"th",3),i.k0s()(),i.j41(7,"tbody"),i.DNE(8,Yt,3,2,"tr",4),i.k0s()()()),2&C&&(i.R7$(1),i.Y8G("calendar",M.calendar)("isDisabled",!!M.isDisabled),i.R7$(4),i.Y8G("ngIf",M.options&&M.options.showWeekNumbers),i.R7$(1),i.Y8G("ngForOf",M.calendar.weekdays),i.R7$(2),i.Y8G("ngForOf",M.calendar.weeks))},dependencies:[H.Sq,H.bT,en.dg,xo,Pa,an],encapsulation:2})}}return O})(),_s=(()=>{class O{constructor(){this.onNavigate=new i.bkB,this.onViewMode=new i.bkB,this.onSelect=new i.bkB,this.onHover=new i.bkB}navigateTo(d){this.onNavigate.emit({step:{year:Ki.DOWN===d?-1:1}})}viewMonth(d){this.onSelect.emit(d)}hoverMonth(d,C){this.onHover.emit({cell:d,isHovered:C})}changeViewMode(d){this.onViewMode.emit(d)}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-month-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"months"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(C,M){1&C&&(i.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),i.bIt("onNavigate",function(be){return M.navigateTo(be)})("onViewMode",function(be){return M.changeViewMode(be)}),i.k0s(),i.j41(2,"table",1)(3,"tbody"),i.DNE(4,Gt,2,1,"tr",2),i.k0s()()()),2&C&&(i.R7$(1),i.Y8G("calendar",M.calendar),i.R7$(3),i.Y8G("ngForOf",null==M.calendar?null:M.calendar.months))},dependencies:[H.Sq,xo,an],encapsulation:2})}}return O})(),jt=(()=>{class O{constructor(){this.onNavigate=new i.bkB,this.onViewMode=new i.bkB,this.onSelect=new i.bkB,this.onHover=new i.bkB}navigateTo(d){this.onNavigate.emit({step:{year:(Ki.DOWN===d?-1:1)*Ne}})}viewYear(d){this.onSelect.emit(d)}hoverYear(d,C){this.onHover.emit({cell:d,isHovered:C})}changeViewMode(d){this.onViewMode.emit(d)}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-years-calendar-view"]],inputs:{calendar:"calendar"},outputs:{onNavigate:"onNavigate",onViewMode:"onViewMode",onSelect:"onSelect",onHover:"onHover"},decls:5,vars:2,consts:[[3,"calendar","onNavigate","onViewMode"],["role","grid",1,"years"],[4,"ngFor","ngForOf"],["role","gridcell",3,"disabled","is-highlighted","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["role","gridcell",3,"click","mouseenter","mouseleave"]],template:function(C,M){1&C&&(i.j41(0,"bs-calendar-layout")(1,"bs-datepicker-navigation-view",0),i.bIt("onNavigate",function(be){return M.navigateTo(be)})("onViewMode",function(be){return M.changeViewMode(be)}),i.k0s(),i.j41(2,"table",1)(3,"tbody"),i.DNE(4,Rn,2,1,"tr",2),i.k0s()()()),2&C&&(i.R7$(1),i.Y8G("calendar",M.calendar),i.R7$(3),i.Y8G("ngForOf",null==M.calendar?null:M.calendar.years))},dependencies:[H.Sq,xo,an],encapsulation:2})}}return O})(),Pn=(()=>{class O extends Mn{set value(d){this._effects?.setValue(d)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(d,C,M,R,be,Ct,Kt){super(),this._config=C,this._store=M,this._element=R,this._actions=be,this._positionService=Kt,this.valueChange=new i.bkB,this.animationState="void",this.isRangePicker=!1,this._subs=[],this._effects=Ct,d.setStyle(R.nativeElement,"display","block"),d.setStyle(R.nativeElement,"position","absolute")}ngOnInit(){let d;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,K.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.containerClass=this._config.containerClass,this.showTodayBtn=this._config.showTodayButton,this.todayBtnLbl=this._config.todayButtonLabel,this.todayPos=this._config.todayPosition,this.showClearBtn=this._config.showClearButton,this.clearBtnLbl=this._config.clearButtonLabel,this.clearPos=this._config.clearPosition,this.customRangeBtnLbl=this._config.customRangeButtonLabel,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(C=>C.selectedDate).subscribe(C=>{d=C,this.valueChange.emit(C)})),this._subs.push(this._store.select(C=>C.selectedTime).subscribe(C=>{!C[0]||!(C[0]instanceof Date)||C[0]===d||this.valueChange.emit(C[0])})),this._store.dispatch(this._actions.changeViewMode(this._config.startView))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(d=>{Array.isArray(d)&&d.length>=1&&this.startTimepicker?.writeValue(d[0])})),this.startTimepicker?.registerOnChange(d=>{this.timeSelectHandler(d,0)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(d,C){this._store.dispatch(this._actions.selectTime(d,C))}
1daySelectHandler(d){!d||(this.isOtherMonthsActive?d.isDisabled:d.isOtherMonth||d.isDisabled)||this._store.dispatch(this._actions.select(d.date))}monthSelectHandler(d){!d||d.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{month:(0,$.tj)(d.date),year:(0,$.Bl)(d.date)},viewMode:"day"}))}yearSelectHandler(d){!d||d.isDisabled||this._store.dispatch(this._actions.navigateTo({unit:{year:(0,$.Bl)(d.date)},viewMode:"month"}))}setToday(){this._store.dispatch(this._actions.select(new Date))}clearDate(){this._store.dispatch(this._actions.select(void 0))}ngOnDestroy(){for(const d of this._subs)d.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(i.sFG),i.rXU(Ve),i.rXU(ds),i.rXU(i.aKT),i.rXU(Nt),i.rXU(_i),i.rXU(z.DF))}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-datepicker-container"]],viewQuery:function(C,M){if(1&C&&i.GBs(Ii,5),2&C){let R;i.mGM(R=i.lsd())&&(M.startTimepicker=R.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(C,M){1&C&&i.bIt("click",function(be){return M._stopPropagation(be)}),2&C&&i.BMQ("disabled",M.isDatepickerDisabled)("readonly",M.isDatepickerReadonly)},features:[i.Jv_([ds,_i]),i.Vt3],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],["startTP",""],[3,"disabled",4,"ngIf"],["endTP",""],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(C,M){1&C&&(i.DNE(0,Ws,10,11,"div",0),i.nI1(1,"async")),2&C&&i.Y8G("ngIf",i.bMT(1,1,M.viewMode))},dependencies:[H.YU,H.Sq,H.bT,H.ux,H.e1,ue,Jr,go,_s,jt,H.Jj],encapsulation:2,data:{animation:[Jt]}})}}return O})(),Ci=(()=>{class O{get readonlyValue(){return this.isDisabled?"":null}constructor(d,C,M,R,be){this._config=d,this._elementRef=C,this._renderer=M,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new Bt.B,this.isDisabled=!1,this.bsValueChange=new i.bkB,this._subs=[],this._dateInputFormat$=new Bt.B,Object.assign(this,this._config),this._datepicker=be.createLoader(C,R,M),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new W.t(this.isOpen)}get isOpen(){return this._datepicker.isShown}set isOpen(d){this.isOpen$.next(d)}set bsValue(d){this._bsValue&&d&&this._bsValue.getTime()===d.getTime()||(!this._bsValue&&d&&!this._config.withTimepicker&&Va(d,new Date),d&&this.bsConfig?.initCurrentTime&&(d=cs(d)),this.initPreviousValue(),this._bsValue=d,this.bsValueChange.emit(d))}get dateInputFormat$(){return this._dateInputFormat$}ngOnInit(){this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.setConfig(),this.initPreviousValue()}initPreviousValue(){mo=this._bsValue}ngOnChanges(d){d.bsConfig&&(d.bsConfig.currentValue?.initCurrentTime&&d.bsConfig.currentValue?.initCurrentTime!==d.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=cs(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._dateInputFormat$.next(this.bsConfig&&this.bsConfig.dateInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(d.minDate&&(this._datepickerRef.instance.minDate=this.minDate),d.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),d.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),d.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),d.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),d.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),d.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses),d.dateTooltipTexts&&(this._datepickerRef.instance.dateTooltipTexts=this.dateTooltipTexts))}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(d=>{this._datepickerRef&&(this._datepickerRef.instance.value=d)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.subscribe(d=>{this.initPreviousValue(),this.bsValue=d,!this.keepDatepickerModalOpened()&&this.hide()}))}keepDatepickerModalOpened(){return!!(mo&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return mo instanceof Date&&this._bsValue?.getDate()===mo?.getDate()&&this._bsValue?.getMonth()===mo?.getMonth()&&this._bsValue?.getFullYear()===mo?.getFullYear()}ngAfterViewInit(){this.isOpen$.pipe((0,e.p)(d=>d!==this.isOpen),(0,ae.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Ve,useValue:this._config}).attach(Pn).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}hide(){this.isOpen&&this._datepicker.hide();
1for(const d of this._subs)d.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this._config.keepDatesOutOfRules?this._bsValue:ho(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,dateTooltipTexts:this.dateTooltipTexts||this.bsConfig&&this.bsConfig.dateTooltipTexts,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,minMode:this.minMode||this.bsConfig&&this.bsConfig.minMode,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(d=>d.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Ve),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.c1b),i.rXU(Qt.Li))}}static{this.\u0275dir=i.FsC({type:O,selectors:[["","bsDatepicker",""]],hostVars:1,hostBindings:function(C,M){2&C&&i.BMQ("readonly",M.readonlyValue)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",minMode:"minMode",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled",dateCustomClasses:"dateCustomClasses",dateTooltipTexts:"dateTooltipTexts",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDatepicker"],features:[i.OA$]})}}return O})(),Ke=(()=>{class O extends Mn{set value(d){this._effects?.setRangeValue(d)}get isDatePickerDisabled(){return!!this._config.isDisabled}get isDatepickerDisabled(){return this.isDatePickerDisabled?"":null}get isDatepickerReadonly(){return this.isDatePickerDisabled?"":null}constructor(d,C,M,R,be,Ct,Kt){super(),this._config=C,this._store=M,this._element=R,this._actions=be,this._positionService=Kt,this.valueChange=new i.bkB,this.animationState="void",this._rangeStack=[],this.chosenRange=[],this._subs=[],this.isRangePicker=!0,this._effects=Ct,this.customRanges=this._config.ranges||[],this.customRangeBtnLbl=this._config.customRangeButtonLabel,d.setStyle(R.nativeElement,"display","block"),d.setStyle(R.nativeElement,"position","absolute")}ngOnInit(){let d;this._positionService.setOptions({modifiers:{flip:{enabled:this._config.adaptivePosition},preventOverflow:{enabled:this._config.adaptivePosition}},allowedPositions:this._config.allowedPositions}),this._positionService.event$?.pipe((0,K.s)(1)).subscribe(()=>{this._positionService.disable(),this.animationState=this._config.isAnimated?this.isTopPosition?"animated-up":"animated-down":"unanimated"}),this.containerClass=this._config.containerClass,this.isOtherMonthsActive=this._config.selectFromOtherMonth,this.withTimepicker=this._config.withTimepicker,this._effects?.init(this._store).setOptions(this._config).setBindings(this).setEventHandlers(this).registerDatepickerSideEffects(),this._subs.push(this._store.select(C=>C.selectedRange).subscribe(C=>{d=C,this.valueChange.emit(C),this.chosenRange=C||[]})),this._subs.push(this._store.select(C=>C.selectedTime).subscribe(C=>{!C[0]||!C[1]||!(C[0]instanceof Date)||!(C[1]instanceof Date)||d&&C[0]===d[0]&&C[1]===d[1]||(this.valueChange.emit(C),this.chosenRange=C||[])}))}ngAfterViewInit(){this.selectedTimeSub.add(this.selectedTime?.subscribe(d=>{Array.isArray(d)&&d.length>=2&&(this.startTimepicker?.writeValue(d[0]),this.endTimepicker?.writeValue(d[1]))})),this.startTimepicker?.registerOnChange(d=>{this.timeSelectHandler(d,0)}),this.endTimepicker?.registerOnChange(d=>{this.timeSelectHandler(d,1)})}get isTopPosition(){return this._element.nativeElement.classList.contains("top")}positionServiceEnable(){this._positionService.enable()}timeSelectHandler(d,C){this._store.dispatch(this._actions.selectTime(d,C))}
1daySelectHandler(d){!d||(this.isOtherMonthsActive?d.isDisabled:d.isOtherMonth||d.isDisabled)||this.rangesProcessing(d)}monthSelectHandler(d){if(d&&!d.isDisabled){if(d.isSelected=!0,"month"!==this._config.minMode){if(d.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{month:(0,$.tj)(d.date),year:(0,$.Bl)(d.date)},viewMode:"day"}))}this.rangesProcessing(d)}}yearSelectHandler(d){if(d&&!d.isDisabled){if(d.isSelected=!0,"year"!==this._config.minMode){if(d.isDisabled)return;return void this._store.dispatch(this._actions.navigateTo({unit:{year:(0,$.Bl)(d.date)},viewMode:"month"}))}this.rangesProcessing(d)}}rangesProcessing(d){1===this._rangeStack.length&&(this._rangeStack=d.date>=this._rangeStack[0]?[this._rangeStack[0],d.date]:[d.date]),this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(d.date),0===this._rangeStack.length&&(this._rangeStack=[d.date],this._config.maxDateRange&&this.setMaxDateRangeOnCalendar(d.date)),this._store.dispatch(this._actions.selectRange(this._rangeStack)),2===this._rangeStack.length&&(this._rangeStack=[])}ngOnDestroy(){for(const d of this._subs)d.unsubscribe();this.selectedTimeSub.unsubscribe(),this._effects?.destroy()}setRangeOnCalendar(d){d&&(this._rangeStack=d.value instanceof Date?[d.value]:d.value),this._store.dispatch(this._actions.selectRange(this._rangeStack))}setMaxDateRangeOnCalendar(d){let C=new Date(d);if(this._config.maxDate){const M=this._config.maxDate.getTime(),R=d.getTime()+864e5*(this._config.maxDateRange||0);C=R>M?new Date(this._config.maxDate):new Date(R)}else C.setDate(d.getDate()+(this._config.maxDateRange||0));this._effects?.setMaxDate(C)}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(i.sFG),i.rXU(Ve),i.rXU(ds),i.rXU(i.aKT),i.rXU(Nt),i.rXU(_i),i.rXU(z.DF))}}static{this.\u0275cmp=i.VBU({type:O,selectors:[["bs-daterangepicker-container"]],viewQuery:function(C,M){if(1&C&&(i.GBs(Ii,5),i.GBs(jr,5)),2&C){let R;i.mGM(R=i.lsd())&&(M.startTimepicker=R.first),i.mGM(R=i.lsd())&&(M.endTimepicker=R.first)}},hostAttrs:["role","dialog","aria-label","calendar",1,"bottom"],hostVars:2,hostBindings:function(C,M){1&C&&i.bIt("click",function(be){return M._stopPropagation(be)}),2&C&&i.BMQ("disabled",M.isDatepickerDisabled)("readonly",M.isDatepickerReadonly)},features:[i.Jv_([ds,_i]),i.Vt3],decls:2,vars:3,consts:[["class","bs-datepicker",3,"ngClass",4,"ngIf"],[1,"bs-datepicker",3,"ngClass"],[1,"bs-datepicker-container"],["role","application",1,"bs-calendar-container",3,"ngSwitch"],[4,"ngSwitchCase"],["class","bs-media-container",4,"ngSwitchCase"],["class","bs-datepicker-buttons",4,"ngIf"],["class","bs-datepicker-custom-range",4,"ngIf"],[1,"bs-media-container"],[3,"bs-datepicker-multiple","calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect",4,"ngFor","ngForOf"],["class","bs-timepicker-in-datepicker-container",4,"ngIf"],[3,"calendar","isDisabled","options","onNavigate","onViewMode","onHover","onHoverWeek","onSelect"],[1,"bs-timepicker-in-datepicker-container"],[3,"disabled"],["startTP",""],[3,"disabled",4,"ngIf"],["endTP",""],[3,"bs-datepicker-multiple","calendar","onNavigate","onViewMode","onHover","onSelect",4,"ngFor","ngForOf"],[3,"calendar","onNavigate","onViewMode","onHover","onSelect"],[1,"bs-datepicker-buttons"],["type","button",1,"btn","btn-success"],["type","button",1,"btn","btn-default"],["class","btn-today-wrapper",3,"today-left","today-right","today-center",4,"ngIf"],["class","btn-clear-wrapper",3,"clear-left","clear-right","clear-center",4,"ngIf"],[1,"btn-today-wrapper"],[1,"btn","btn-success",3,"click"],[1,"btn-clear-wrapper"],[1,"bs-datepicker-custom-range"],[3,"selectedRange","ranges","customRangeLabel","onSelect"]],template:function(C,M){1&C&&(i.DNE(0,fa,10,11,"div",0),i.nI1(1,"async")),2&C&&i.Y8G("ngIf",i.bMT(1,1,M.viewMode))},dependencies:[H.YU,H.Sq,H.bT,H.ux,H.e1,ue,Jr,go,_s,jt,H.Jj],encapsulation:2,data:{animation:[Jt]}})}}return O})();const mn={provide:le.kq,useExisting:(0,i.Rfq)(()=>jn),multi:!0},Dn={provide:le.cz,useExisting:(0,i.Rfq)(()=>jn),multi:!0};let ai,jn=(()=>{class O{constructor(d,C,M,R,be){this._picker=d,this._localeService=C,this._renderer=M,this._elRef=R,this.changeDetection=be,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._val
1idatorChange=Function.prototype,this._subs=new rt.yU}ngOnInit(){const d=C=>{this._setInputValue(C),this._value!==C&&(this._value=C,this._onChange(C),this._onTouched()),this.changeDetection.markForCheck()};this._picker._bsValue&&d(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(d)),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.dateInputFormat$.pipe((0,Z.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(d){(13===d.keyCode||"Enter"===d.code)&&this.hide()}_setInputValue(d){const C=d?(0,$.Yq)(d,this._picker._config.dateInputFormat,this._localeService.currentLocale):"";this._renderer.setProperty(this._elRef.nativeElement,"value",C)}onChange(d){this.writeValue(d.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(d){const C=d.value;if(null==C||""===C)return null;if((0,$.$P)(C)){if(!(0,$.Pz)(C))return{bsDate:{invalid:C}};if(this._picker&&this._picker.minDate&&(0,$.Y8)(C,this._picker.minDate,"date"))return this.writeValue(this._picker.minDate),{bsDate:{minDate:this._picker.minDate}};if(this._picker&&this._picker.maxDate&&(0,$.dS)(C,this._picker.maxDate,"date"))return this.writeValue(this._picker.maxDate),{bsDate:{maxDate:this._picker.maxDate}}}return null}registerOnValidatorChange(d){this._validatorChange=d}writeValue(d){if(d){const C=this._localeService.currentLocale;if(!(0,$.JK)(C))throw new Error(`Locale "${C}" is not defined, please add it with "defineLocale(...)"`);this._value=(0,$._U)(d,this._picker._config.dateInputFormat,this._localeService.currentLocale),this._picker._config.useUtc&&(this._value=(0,$.qK)(this._value))}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(d){this._picker.isDisabled=d,d?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Ci,1),i.rXU(kn),i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(i.gRc))}}static{this.\u0275dir=i.FsC({type:O,selectors:[["input","bsDatepicker",""]],hostBindings:function(C,M){1&C&&i.bIt("change",function(be){return M.onChange(be)})("keyup.esc",function(){return M.hide()})("keydown",function(be){return M.onKeydownEvent(be)})("blur",function(){return M.onBlur()})},features:[i.Jv_([mn,Dn])]})}}return O})(),Cs=(()=>{class O extends Ve{constructor(){super(...arguments),this.displayMonths=2}static{this.\u0275fac=function(){let d;return function(M){return(d||(d=i.xGo(O)))(M||O)}}()}static{this.\u0275prov=i.jDH({token:O,factory:O.\u0275fac,providedIn:"root"})}}return O})(),lr=(()=>{class O{get isOpen(){return this._datepicker.isShown}set isOpen(d){this.isOpen$.next(d)}set bsValue(d){this._bsValue!==d&&(d&&this.bsConfig?.initCurrentTime&&(d=ga(d)),this.initPreviousValue(),this._bsValue=d,this.bsValueChange.emit(d))}get isDatepickerReadonly(){return this.isDisabled?"":null}get rangeInputFormat$(){return this._rangeInputFormat$}constructor(d,C,M,R,be){this._config=d,this._elementRef=C,this._renderer=M,this.placement="bottom",this.triggers="click",this.outsideClick=!0,this.container="body",this.outsideEsc=!0,this.isDestroy$=new Bt.B,this.isDisabled=!1,this.bsValueChange=new i.bkB,this._subs=[],this._rangeInputFormat$=new Bt.B,this._datepicker=be.createLoader(C,R,M),Object.assign(this,d),this.onShown=this._datepicker.onShown,this.onHidden=this._datepicker.onHidden,this.isOpen$=new W.t(this.isOpen)}ngOnInit(){this.isDestroy$=new Bt.B,this._datepicker.listen({outsideClick:this.outsideClick,outsideEsc:this.outsideEsc,triggers:this.triggers,show:()=>this.show()}),this.initPreviousValue(),this.setConfig()}ngOnChanges(d){d.bsConfig&&(d.bsConfig.currentValue?.initCurrentTime&&d.bsConfig.currentValue?.initCurrentTime!==d.bsConfig.previousValue?.initCurrentTime&&this._bsValue&&(this.initPreviousValue(),this._bsValue=ga(this._bsValue),this.bsValueChange.emit(this._bsValue)),this.setConfig(),this._rangeInputFormat$.next(d.bsConfig.currentValue&&d.bsConfig.currentValue.rangeInputFormat)),this._datepickerRef&&this._datepickerRef.instance&&(d.minDate&&(this._datepickerRef.instance.minDate=this.minDate),d.maxDate&&(this._datepickerRef.instance.maxDate=this.maxDate),d.datesDisabled&&(this._datepickerRef.instance.datesDisabled=this.datesDisabled),d.datesEnabled&&(this._datepickerRef.instance.datesEnabled=this.datesEnabled),d.daysDisabled&&(this._datepickerRef.instance.daysDisabled=this.daysDisabled),d.isDisabled&&(this._datepickerRef.instance.isDisabled=this.isDisabled),d.dateCustomClasses&&(this._datepickerRef.instance.dateCustomClasses=this.dateCustomClasses))}ngAfterViewInit(){this.isOpen$.pipe((0,e.p)(d=>d!==this.isOpen),(0,ae.Q)(this.isDestroy$)).subscribe(()=>this.toggle())}show(){this._datepicker.isShown||(this.setConfig(),this._datepickerRef=this._datepicker.provide({provide:Ve,useValue:this._config}).attach(Ke).to(this.container).position({attachment:this.placement}).show({placement:this.placement}),this.initSubscribes())}initSubscribes(){this._subs.push(this.bsValueChange.subscribe(d=>{this._datepickerRef&&(this._datepickerRef.instance.value=d)})),this._datepickerRef&&this._subs.push(this._datepickerRef.instance.valueChange.pipe((0,e.p)(d=>d&&d[0]&&!!d[1])).subscribe(d=>{this.initPreviousValue(),this.bsValue=d,!this.keepDatepickerModalOpened()&&this.hide()}))}initPreviousValue(){ai=this._bsValue}keepDatepickerModalOpened(){return!!(ai&&this.bsConfig?.keepDatepickerOpened&&this._config.withTimepicker)&&this.isDateSame()}isDateSame(){return this._bsValue?.[0]?.getDate()===ai?.[0]?.getDate()&&this._bsValue?.[0]?.getMonth()===ai?.[0]?.getMonth()&&this._bsValue?.[0]?.getFullYear()===ai?.[0]?.getFullYear()&&this._bsValue?.[1]?.getDate()===ai?.[1]?.getDate()&&this._bsValue?.[1]?.getMonth()===ai?.[1]?.getMonth()&&this._bsValue?.[1]?.getFullYear()===ai?.[1]?.getFullYear()}setConfig(){this._config=Object.assign({},this._config,this.bsConfig,{value:this.bsConfig?.keepDatesOutOfRules?this._bsValue:ho(this._bsValue,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),isDisabled:this.isDisabled,minDate:this.minDate||this.bsConfig&&this.bsConfig.minDate,maxDate:this.maxDate||this.bsConfig&&this.bsConfig.maxDate,daysDisabled:this.daysDisabled||this.bsConfig&&this.bsConfig.daysDisabled,dateCustomClasses:this.dateCustomClasses||this.bsConfig&&this.bsConfig.dateCustomClasses,datesDisabled:this.datesDisabled||this.bsConfig&&this.bsConfig.datesDisabled,datesEnabled:this.datesEnabled||this.bsConfig&&this.bsConfig.datesEnabled,ranges:ks(this.bsConfig&&this.bsConfig.ranges,this.maxDate||this.bsConfig&&this.bsConfig.maxDate),maxDateRange:this.bsConfig&&this.bsConfig.maxDateRange,initCurrentTime:this.bsConfig?.initCurrentTime,keepDatepickerOpened:this.bsConfig?.keepDatepickerOpened,keepDatesOutOfRules:this.bsConfig?.keepDatesOutOfRules})}hide(){this.isOpen&&this._datepicker.hide();
1for(const d of this._subs)d.unsubscribe();this._config.returnFocusToInput&&this._renderer.selectRootElement(this._elementRef.nativeElement).focus()}toggle(){if(this.isOpen)return this.hide();this.show()}unsubscribeSubscriptions(){this._subs?.length&&(this._subs.map(d=>d.unsubscribe()),this._subs.length=0)}ngOnDestroy(){this._datepicker.dispose(),this.isOpen$.next(!1),this.isDestroy$&&(this.isDestroy$.next(null),this.isDestroy$.complete()),this.unsubscribeSubscriptions()}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(Cs),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.c1b),i.rXU(Qt.Li))}}static{this.\u0275dir=i.FsC({type:O,selectors:[["","bsDaterangepicker",""]],hostVars:1,hostBindings:function(C,M){2&C&&i.BMQ("readonly",M.isDatepickerReadonly)},inputs:{placement:"placement",triggers:"triggers",outsideClick:"outsideClick",container:"container",outsideEsc:"outsideEsc",isOpen:"isOpen",bsValue:"bsValue",bsConfig:"bsConfig",isDisabled:"isDisabled",minDate:"minDate",maxDate:"maxDate",dateCustomClasses:"dateCustomClasses",daysDisabled:"daysDisabled",datesDisabled:"datesDisabled",datesEnabled:"datesEnabled"},outputs:{onShown:"onShown",onHidden:"onHidden",bsValueChange:"bsValueChange"},exportAs:["bsDaterangepicker"],features:[i.OA$]})}}return O})();const $r={provide:le.kq,useExisting:(0,i.Rfq)(()=>_o),multi:!0},Yn={provide:le.cz,useExisting:(0,i.Rfq)(()=>_o),multi:!0};let _o=(()=>{class O{constructor(d,C,M,R,be){this._picker=d,this._localeService=C,this._renderer=M,this._elRef=R,this.changeDetection=be,this._onChange=Function.prototype,this._onTouched=Function.prototype,this._validatorChange=Function.prototype,this._subs=new rt.yU}ngOnInit(){this._picker._bsValue&&(C=>{this._setInputValue(C),this._value!==C&&(this._value=C,this._onChange(C),this._onTouched()),this.changeDetection.markForCheck()})(this._picker._bsValue),this._subs.add(this._picker.bsValueChange.subscribe(C=>{this._setInputValue(C),this._value!==C&&(this._value=C,this._onChange(C),this._onTouched()),this.changeDetection.markForCheck()})),this._subs.add(this._localeService.localeChange.subscribe(()=>{this._setInputValue(this._value)})),this._subs.add(this._picker.rangeInputFormat$.pipe((0,Z.F)()).subscribe(()=>{this._setInputValue(this._value)}))}ngOnDestroy(){this._subs.unsubscribe()}onKeydownEvent(d){(13===d.keyCode||"Enter"===d.code)&&this.hide()}_setInputValue(d){let C="";if(d){const M=d[0]?(0,$.Yq)(d[0],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"",R=d[1]?(0,$.Yq)(d[1],this._picker._config.rangeInputFormat,this._localeService.currentLocale):"";C=M&&R?M+this._picker._config.rangeSeparator+R:""}this._renderer.setProperty(this._elRef.nativeElement,"value",C)}onChange(d){this.writeValue(d.target.value),this._onChange(this._value),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus(),this._onTouched()}validate(d){let C=d.value;const M=[];if(null==C||!(0,$.cy)(C))return null;C=C.slice().sort((Ct,Kt)=>Ct.getTime()-Kt.getTime());const R=(0,$.Pz)(C[0]),be=(0,$.Pz)(C[1]);return R?be?(this._picker&&this._picker.minDate&&(0,$.Y8)(C[0],this._picker.minDate,"date")&&(C[0]=this._picker.minDate,M.push({bsDate:{minDate:this._picker.minDate}})),this._picker&&this._picker.maxDate&&(0,$.dS)(C[1],this._picker.maxDate,"date")&&(C[1]=this._picker.maxDate,M.push({bsDate:{maxDate:this._picker.maxDate}})),M.length>0?(this.writeValue(C),M):null):{bsDate:{invalid:C[1]}}:{bsDate:{invalid:C[0]}}}registerOnValidatorChange(d){this._validatorChange=d}writeValue(d){if(d){const C=this._localeService.currentLocale;if(!(0,$.JK)(C))throw new Error(`Locale "${C}" is not defined, please add it with "defineLocale(...)"`);let R=[];if("string"==typeof d){const be=this._picker._config.rangeSeparator.trim();R=d.replace(/[^-]/g,"").length>1?d.split(this._picker._config.rangeSeparator):d.split(be.length>0?be:this._picker._config.rangeSeparator).map(Ct=>Ct.trim())}Array.isArray(d)&&(R=d),this._value=R.map(be=>this._picker._config.useUtc?(0,$.qK)((0,$._U)(be,this._picker._config.rangeInputFormat,this._localeService.currentLocale)):(0,$._U)(be,this._picker._config.rangeInputFormat,this._localeService.currentLocale)).map(be=>isNaN(be.valueOf())?void 0:be)}else this._value=void 0;this._picker.bsValue=this._value}setDisabledState(d){this._picker.isDisabled=d,d?this._renderer.setAttribute(this._elRef.nativeElement,"disabled","disabled"):this._renderer.removeAttribute(this._elRef.nativeElement,"disabled")}registerOnChange(d){this._onChange=d}registerOnTouched(d){this._onTouched=d}onBlur(){this._onTouched()}hide(){this._picker.hide(),this._renderer.selectRootElement(this._elRef.nativeElement).blur(),this._picker._config.returnFocusToInput&&this._renderer.selectRootElement(this._elRef.nativeElement).focus()}static{this.\u0275fac=function(C){return new(C||O)(i.rXU(lr,1),i.rXU(kn),i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(i.gRc))}}static{this.\u0275dir=i.FsC({type:O,selectors:[["input","bsDaterangepicker",""]],hostBindings:function(C,M){1&C&&i.bIt("change",function(be){return M.onChange(be)})("keyup.esc",function(){return M.hide()})("keydown",function(be){return M.onKeydownEvent(be)})("blur",function(){return M.onBlur()})},features:[i.Jv_([$r,Yn])]})}}return O})(),ka=(()=>{class O{static forRoot(){return{ngModule:O,providers:[Qt.Li,z.DF,ds,Nt,_i,kn,Me]}}static{this.\u0275fac=function(C){return new(C||O)}}static{this.\u0275mod=i.$C({type:O})}static{this.\u0275inj=i.G2t({imports:[H.MD,en.Ss,et]})}}return O})()},8580:(Ot,ke,w)=>{"use strict";w.d(ke,{Kk:()=>pe,Tb:()=>le,UL:()=>xe,hs:()=>ze,zE:()=>Fe});var i=w(7705),e=w(5964),ee=w(6932),K=w(9969),ae=w(177),Z=w(455);const $=function($e){return{dropdown:$e}},z=["*"];let le=(()=>{class $e{constructor(){this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1}static{this.\u0275fac=function(B){return new(B||$e)}}static{this.\u0275prov=i.jDH({token:$e,factory:$e.\u0275fac,providedIn:"root"})}}return $e})(),W=(()=>{class $e{constructor(){this.direction="down",this.autoClose=!0,this.insideClick=!1,this.isAnimated=!1,this.stopOnClickPropagation=!1,this.isOpenChange=new i.bkB,this.isDisabledChange=new i.bkB,this.toggleClick=new i.bkB,this.counts=0,this.dropdownMenu=new Promise(_e=>{this.resolveDropdownMenu=_e})}static{this.\u0275fac=function(B){return new(B||$e)}}static{this.\u0275prov=i.jDH({token:$e,factory:$e.\u0275fac,providedIn:"platform"})}}return $e})();const J=[(0,K.iF)({height:0,overflow:"hidden"}),(0,K.i0)("220ms cubic-bezier(0, 0, 0.2, 1)",(0,K.iF)({height:"*",overflow:"hidden"}))];let Be=(()=>{class $e{get direction(){return this._state.direction}constructor(_e,B,H,ie,fe){this._state=_e,this.cd=B,this._renderer=H,this._element=ie,this.isOpen=!1,this._factoryDropDownAnimation=fe.build(J),this._subscription=_e.isOpenChange.subscribe(Le=>{this.isOpen=Le;const _t=this._element.nativeElement.querySelector(".dropdown-menu");this._renderer.addClass(this._element.nativeElement.querySelector("div"),"open"),_t&&(this._renderer.addClass(_t,"show"),(_t.classList.contains("dropdown-menu-right")||_t.classList.contains("dropdown-menu-end"))&&(this._renderer.setStyle(_t,"left","auto"),this._renderer.setStyle(_t,"right","0")),"up"===this.direction&&(this._renderer.setStyle(_t,"top","auto"),this._renderer.setStyle(_t,"transform","translateY(-101%)"))),_t&&this._state.isAnimated&&this._factoryDropDownAnimation.create(_t).play(),this.cd.markForCheck(),this.cd.detectChanges()})}_contains(_e){return this._element.nativeElement.contains(_e)}ngOnDestroy(){this._subscription.unsubscribe()}static{this.\u0275fac=function(B){return new(B||$e)(i.rXU(W),i.rXU(i.gRc),i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(K.S6))}}static{this.\u0275cmp=i.VBU({type:$e,selectors:[["bs-dropdown-container"]],hostAttrs:[2,"display","block","position","absolute","z-index","1040"],ngContentSelectors:z,decls:2,vars:9,consts:[[3,"ngClass"]],template:function(B,H){1&B&&(i.NAR(),i.j41(0,"div",0),i.SdG(1),i.k0s()),2&B&&(i.AVh("dropup","up"===H.direction)("show",H.isOpen)("open",H.isOpen),i.Y8G("ngClass",i.eq3(7,$,"down"===H.direction)))},dependencies:[ae.YU],encapsulation:2,changeDetection:0})}}return $e})(),pe=(()=>{class $e{set autoClose(_e){this._state.autoClose=_e}get autoClose(){return this._state.autoClose}set isAnimated(_e){this._state.isAnimated=_e}get isAnimated(){return this._state.isAnimated}set insideClick(_e){this._state.insideClick=_e}get insideClick(){return this._state.insideClick}set isDisabled(_e){this._isDisabled=_e,this._state.isDisabledChange.emit(_e),_e&&this.hide()}get isDisabled(){return this._isDisabled}get isOpen(){return this._showInline?this._isInlineOpen:this._dropdown.isS
1hown}set isOpen(_e){_e?this.show():this.hide()}get _showInline(){return!this.container}constructor(_e,B,H,ie,fe,Le,_t){this._elementRef=_e,this._renderer=B,this._viewContainerRef=H,this._cis=ie,this._state=fe,this._config=Le,this.dropup=!1,this._isInlineOpen=!1,this._isDisabled=!1,this._subscriptions=[],this._isInited=!1,this._state.autoClose=this._config.autoClose,this._state.insideClick=this._config.insideClick,this._state.isAnimated=this._config.isAnimated,this._state.stopOnClickPropagation=this._config.stopOnClickPropagation,this._factoryDropDownAnimation=_t.build(J),this._dropdown=this._cis.createLoader(this._elementRef,this._viewContainerRef,this._renderer).provide({provide:W,useValue:this._state}),this.onShown=this._dropdown.onShown,this.onHidden=this._dropdown.onHidden,this.isOpenChange=this._state.isOpenChange}ngOnInit(){this._isInited||(this._isInited=!0,this._dropdown.listen({outsideClick:!1,triggers:this.triggers,show:()=>this.show()}),this._subscriptions.push(this._state.toggleClick.subscribe(_e=>this.toggle(_e))),this._subscriptions.push(this._state.isDisabledChange.pipe((0,e.p)(_e=>_e)).subscribe(()=>this.hide())))}show(){if(!this.isOpen&&!this.isDisabled){if(this._showInline)return this._inlinedMenu||this._state.dropdownMenu.then(_e=>{this._dropdown.attachInline(_e.viewContainer,_e.templateRef),this._inlinedMenu=this._dropdown._inlineViewRef,this.addBs4Polyfills(),this._inlinedMenu&&this._renderer.addClass(this._inlinedMenu.rootNodes[0].parentNode,"open"),this.playAnimation()}).catch(),this.addBs4Polyfills(),this._isInlineOpen=!0,this.onShown.emit(!0),this._state.isOpenChange.emit(!0),void this.playAnimation();this._state.dropdownMenu.then(_e=>{const B=this.dropup||typeof this.dropup<"u"&&this.dropup;this._state.direction=B?"up":"down";const H=this.placement||(B?"top start":"bottom start");this._dropdown.attach(Be).to(this.container).position({attachment:H}).show({content:_e.templateRef,placement:H}),this._state.isOpenChange.emit(!0)}).catch()}}hide(){this.isOpen&&(this._showInline?(this.removeShowClass(),this.removeDropupStyles(),this._isInlineOpen=!1,this.onHidden.emit(!0)):this._dropdown.hide(),this._state.isOpenChange.emit(!1))}toggle(_e){return this.isOpen||!_e?this.hide():this.show()}_contains(_e){return this._elementRef.nativeElement.contains(_e.target)||this._dropdown.instance&&this._dropdown.instance._contains(_e.target)}navigationClick(_e){const B=this._elementRef.nativeElement.querySelector(".dropdown-menu");if(!B)return;const H=this._elementRef.nativeElement.ownerDocument.activeElement,ie=B.querySelectorAll(".dropdown-item");switch(_e.keyCode){case 38:this._state.counts>0&&ie[--this._state.counts].focus();break;case 40:this._state.counts+1<ie.length&&(H.classList!==ie[this._state.counts].classList?ie[this._state.counts].focus():ie[++this._state.counts].focus())}_e.preventDefault()}ngOnDestroy(){for(const _e of this._subscriptions)_e.unsubscribe();this._dropdown.dispose()}addBs4Polyfills(){this.addShowClass(),this.checkRightAlignment(),this.addDropupStyles()}playAnimation(){this._state.isAnimated&&this._inlinedMenu&&setTimeout(()=>{this._inlinedMenu&&this._factoryDropDownAnimation.create(this._inlinedMenu.rootNodes[0]).play()})}addShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.addClass(this._inlinedMenu.rootNodes[0],"show")}removeShowClass(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&this._renderer.removeClass(this._inlinedMenu.rootNodes[0],"show")}checkRightAlignment(){if(this._inlinedMenu&&this._inlinedMenu.rootNodes[0]){const _e=this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-right")||this._inlinedMenu.rootNodes[0].classList.contains("dropdown-menu-end");this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"left",_e?"auto":"0"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"right",_e?"0":"auto")}}addDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"top",this.dropup?"auto":"100%"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"transform",this.dropup?"translateY(-101%)":"translateY(0)"),this._renderer.setStyle(this._inlinedMenu.rootNodes[0],"bottom","auto"))}removeDropupStyles(){this._inlinedMenu&&this._inlinedMenu.rootNodes[0]&&(this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"top"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"transform"),this._renderer.removeStyle(this._inlinedMenu.rootNodes[0],"bottom"))}static{this.\u0275fac=function(B){return new(B||$e)(i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(i.c1b),i.rXU(ee.Li),i.rXU(W),i.rXU(le),i.rXU(K.S6))}}static{this.\u0275dir=i.FsC({type:$e,selectors:[["","bsDropdown",""],["","dropdown",""]],hostVars:6,hostBindings:function(B,H){1&B&&i.bIt("keydown.arrowDown",function(fe){return H.navigationClick(fe)})("keydown.arrowUp",function(fe){return H.navigationClick(fe)}),2&B&&i.AVh("dropup",H.dropup)("open",H.isOpen)("show",H.isOpen)},inputs:{placement:"placement",triggers:"triggers",container:"container",dropup:"dropup",autoClose:"autoClose",isAnimated:"isAnimated",insideClick:"insideClick",isDisabled:"isDisabled",isOpen:"isOpen"},outputs:{isOpenChange:"isOpenChange",onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-dropdown"],features:[i.Jv_([W])]})}}return $e})(),ze=(()=>{class $e{constructor(_e,B,H){_e.resolveDropdownMenu({templateRef:H,viewContainer:B})}static{this.\u0275fac=function(B){return new(B||$e)(i.rXU(W),i.rXU(i.c1b),i.rXU(i.C4Q))}}static{this.\u0275dir=i.FsC({type:$e,selectors:[["","bsDropdownMenu",""],["","dropdownMenu",""]],exportAs:["bs-dropdown-menu"]})}}return $e})(),xe=(()=>{class $e{constructor(_e,B,H,ie,fe){this._changeDetectorRef=_e,this._dropdown=B,this._element=H,this._renderer=ie,this._state=fe,this.isOpen=!1,this._subscriptions=[],this._subscriptions.push(this._state.isOpenChange.subscribe(Le=>{this.isOpen=Le,Le?(this._documentClickListener=this._renderer.listen("document","click",_t=>{this._state.autoClose&&2!==_t.button&&!this._element.nativeElement.contains(_t.target)&&(!this._state.insideClick||!this._dropdown._contains(_t))&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())}),this._escKeyUpListener=this._renderer.listen(this._element.nativeElement,"keyup.esc",()=>{this._state.autoClose&&(this._state.toggleClick.emit(!1),this._changeDetectorRef.detectChanges())})):(this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener())})),this._subscriptions.push(this._state.isDisabledChange.subscribe(Le=>this.isDisabled=Le||void 0))}onClick(_e){this._state.stopOnClickPropagation&&_e.stopPropagation(),!this.isDisabled&&this._state.toggleClick.emit(!0)}ngOnDestroy(){this._documentClickListener&&this._documentClickListener(),this._escKeyUpListener&&this._escKeyUpListener();for(const _e of this._subscriptions)_e.unsubscribe()}static{this.\u0275fac=function(B){return new(B||$e)(i.rXU(i.gRc),i.rXU(pe),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(W))}}static{this.\u0275dir=i.FsC({type:$e,selectors:[["","bsDropdownToggle",""],["","dropdownToggle",""]],hostVars:3,hostBindings:function(B,H){1&B&&i.bIt("click",function(fe){return H.onClick(fe)}),2&B&&i.BMQ("aria-haspopup",!0)("disabled",H.isDisabled)("aria-expanded",H.isOpen)},exportAs:["bs-dropdown-toggle"]})}}return $e})(),Fe=(()=>{class $e{static forRoot(){return{ngModule:$e,providers:[ee.Li,Z.DF,W]}}static{this.\u0275fac=function(B){return new(B||$e)}}static{this.\u0275mod=i.$C({type:$e})}static{this.\u0275inj=i.G2t({imports:[ae.MD]})}}return $e})()},779:(Ot,ke,w)=>{"use strict";w.d(ke,{Y$:()=>mt,I8:()=>ut,Q_:()=>un});var i=w(7705),e=w(425),ee=w(177),K=w(6697);let Z,ae=(()=>{class We{constructor(){this._focusTrapStack=[]}register(nt){this._focusTrapStack=this._focusTrapStack.filter(Vt=>Vt!==nt);let lt=this._focusTrapStack;lt.length&&lt[lt.length-1]._disable(),lt.push(nt),nt._enable()}deregister(nt){nt._disable();const lt=this._focusTrapStack,Vt=lt.indexOf(nt);-1!==Vt&&(lt.splice(Vt,1),lt.length&&lt[lt.length-1]._enable())}static{this.\u0275fac=function(lt){return new(lt||We)}
1}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})();try{Z=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Z=!1}let $=(()=>{class We{constructor(nt){this._platformId=nt,this.isBrowser=this._platformId?(0,ee.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Z)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(lt){return new(lt||We)(i.KVO(i.Agw))}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),le=(()=>{class We{constructor(nt){this._platform=nt}isDisabled(nt){return nt.hasAttribute("disabled")}isVisible(nt){return function ge(We){return!!(We.offsetWidth||We.offsetHeight||"function"==typeof We.getClientRects&&We.getClientRects().length)}(nt)&&"visible"===getComputedStyle(nt).visibility}isTabbable(nt){if(!this._platform.isBrowser)return!1;const lt=function W(We){try{return We.frameElement}catch{return null}}(function B(We){return We.ownerDocument&&We.ownerDocument.defaultView||window}(nt));if(lt&&(-1===$e(lt)||!this.isVisible(lt)))return!1;let Vt=nt.nodeName.toLowerCase(),Hn=$e(nt);return nt.hasAttribute("contenteditable")?-1!==Hn:!("iframe"===Vt||"object"===Vt||this._platform.WEBKIT&&this._platform.IOS&&!function it(We){let yt=We.nodeName.toLowerCase(),nt="input"===yt&&We.type;return"text"===nt||"password"===nt||"select"===yt||"textarea"===yt}(nt))&&("audio"===Vt?!!nt.hasAttribute("controls")&&-1!==Hn:"video"===Vt?-1!==Hn&&(null!==Hn||this._platform.FIREFOX||nt.hasAttribute("controls")):nt.tabIndex>=0)}isFocusable(nt,lt){return function _e(We){return!function Be(We){return function ze(We){return"input"==We.nodeName.toLowerCase()}(We)&&"hidden"==We.type}(We)&&(function J(We){let yt=We.nodeName.toLowerCase();return"input"===yt||"select"===yt||"button"===yt||"textarea"===yt}(We)||function pe(We){return function xe(We){return"a"==We.nodeName.toLowerCase()}(We)&&We.hasAttribute("href")}(We)||We.hasAttribute("contenteditable")||Fe(We))}(nt)&&!this.isDisabled(nt)&&(lt?.ignoreVisibility||this.isVisible(nt))}static{this.\u0275fac=function(lt){return new(lt||We)(i.KVO($))}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})();function Fe(We){if(!We.hasAttribute("tabindex")||void 0===We.tabIndex)return!1;let yt=We.getAttribute("tabindex");return"-32768"!=yt&&!(!yt||isNaN(parseInt(yt,10)))}function $e(We){if(!Fe(We))return null;const yt=parseInt(We.getAttribute("tabindex")||"",10);return isNaN(yt)?-1:yt}function H(We){return null!=We&&"false"!=`${We}`}class ie{get enabled(){return this._enabled}set enabled(yt){this._enabled=yt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(yt,this._startAnchor),this._toggleAnchorTabIndex(yt,this._endAnchor))}constructor(yt,nt,lt,Vt,Hn=!1){this._element=yt,this._checker=nt,this._ngZone=lt,this._document=Vt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Hn||this.attachAnchors()}destroy(){const yt=this._startAnchor,nt=this._endAnchor;yt&&(yt.removeEventListener("focus",this.startAnchorListener),yt.parentNode&&yt.parentNode.removeChild(yt)),nt&&(nt.removeEventListener("focus",this.endAnchorListener),nt.parentNode&&nt.parentNode.removeChild(nt)),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(){return new Promise(yt=>{this._executeOnStable(()=>yt(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(yt=>{this._executeOnStable(()=>yt(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(yt=>{this._executeOnStable(()=>yt(this.focusLastTabbableElement()))})}_getRegionBoundary(yt){let nt=this._element.querySelectorAll(`[cdk-focus-region-${yt}], [cdkFocusRegion${yt}], [cdk-focus-${yt}]`);for(let lt=0;lt<nt.length;lt++)nt[lt].hasAttribute(`cdk-focus-${yt}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${yt}', use 'cdkFocusRegion${yt}' instead. The deprecated attribute will be removed in 8.0.0.`,nt[lt]):nt[lt].hasAttribute(`cdk-focus-region-${yt}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${yt}', use 'cdkFocusRegion${yt}' instead. The deprecated attribute will be removed in 8.0.0.`,nt[lt]);return"start"==yt?nt.length?nt[0]:this._getFirstTabbableElement(this._element):nt.length?nt[nt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const yt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(yt){if(yt.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",yt),!this._checker.isFocusable(yt)){const nt=this._getFirstTabbableElement(yt);return nt?.focus(),!!nt}return yt.focus(),!0}return this.focusFirstTabbableElement()}focusFirstTabbableElement(){const yt=this._getRegionBoundary("start");return yt&&yt.focus(),!!yt}focusLastTabbableElement(){const yt=this._getRegionBoundary("end");return yt&&yt.focus(),!!yt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(yt){if(this._checker.isFocusable(yt)&&this._checker.isTabbable(yt))return yt;let nt=yt.children||yt.childNodes;for(let lt=0;lt<nt.length;lt++){let Vt=nt[lt].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(nt[lt]):null;if(Vt)return Vt}return null}_getLastTabbableElement(yt){if(this._checker.isFocusable(yt)&&this._checker.isTabbable(yt))return yt;let nt=yt.children||yt.childNodes;for(let lt=nt.length-1;lt>=0;lt--){let Vt=nt[lt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(nt[lt]):null;if(Vt)return Vt}return null}_createAnchor(){const yt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,yt),yt.classList.add("cdk-visually-hidden"),yt.classList.add("cdk-focus-trap-anchor"),yt.setAttribute("aria-hidden","true"),yt}_toggleAnchorTabIndex(yt,nt){yt?nt.setAttribute("tabindex","0"):nt.removeAttribute("tabindex")}toggleAnchors(yt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(yt,this._startAnchor),this._toggleAnchorTabIndex(yt,this._endAnchor))}_executeOnStable(yt){this._ngZone.isStable?yt():this._ngZone.onStable.pipe((0,K.s)(1)).subscribe(yt)}}let fe=(()=>{class We{constructor(nt,lt,Vt){this._checker=nt,this._ngZone=lt,this._document=Vt}create(nt,lt=!1){return new ie(nt,this._checker,this._ngZone,this._document,lt)}static{this.\u0275fac=function(lt){return new(lt||We)(i.KVO(le),i.KVO(i.SKi),i.KVO(ee.qQ))}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"root"})}}return We})(),Le=(()=>{class We{get enabled(){return this.focusTrap.enabled}set enabled(nt){this.focusTrap.enabled=H(nt)}get autoCapture(){return this._autoCapture}set autoCapture(nt){this._autoCapture=H(nt)}constructor(nt,lt,Vt){this._elementRef=nt,this._focusTrapFactory=lt,this._previouslyFocusedElement=null,this._autoCapture=!1,this._document=Vt,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(nt){const lt=nt.autoCapture;lt&&!lt.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}static{this.\u0275fac=function(lt){return new(lt||We)(i.rXU(i.aKT),i.rXU(fe),i.rXU(ee.qQ))}}static{this.\u0275dir=i.FsC({type:We,selectors:[["","focusTrap",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["focusTrap"],features:[i.OA$]})}}return We})(),_t=(()=>{class We{static forRoot(){return{ngModule:We,providers:[ae,$,le]}}static{this.\u0275fac=function(lt){return new(lt||We)}
1}static{this.\u0275mod=i.$C({type:We})}static{this.\u0275inj=i.G2t({imports:[ee.MD]})}}return We})();var Pt=w(6932),re=w(455);const Te=["*"];let mt=(()=>{class We{constructor(){this.hide=()=>{},this.setClass=()=>{}}static{this.\u0275fac=function(lt){return new(lt||We)}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"platform"})}}return We})(),Xt=(()=>{class We{static{this.\u0275fac=function(lt){return new(lt||We)}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"platform"})}}return We})();const gt={backdrop:!0,keyboard:!0,focus:!0,show:!1,ignoreBackdropClick:!1,class:"",animated:!0,initialState:{},closeInterceptor:void 0},gn=new i.nKC("override-default-config");let ye=(()=>{class We{constructor(nt,lt,Vt){this._element=lt,this._renderer=Vt,this.isShown=!1,this.isAnimated=!1,this._focusEl=null,this.isModalHiding=!1,this.clickStartedInContent=!1,this.config=Object.assign({},nt)}ngOnInit(){this._focusEl=e.Al.activeElement,this.isAnimated&&this._renderer.addClass(this._element.nativeElement,"fade"),this._renderer.setStyle(this._element.nativeElement,"display","block"),setTimeout(()=>{this.isShown=!0,this._renderer.addClass(this._element.nativeElement,"show")},this.isAnimated?150:0),e.Al&&e.Al.body&&(this.bsModalService&&1===this.bsModalService.getModalsCount()&&(this.bsModalService.checkScrollbar(),this.bsModalService.setScrollbar()),this._renderer.addClass(e.Al.body,"modal-open"),this._renderer.setStyle(e.Al.body,"overflow-y","hidden")),this._element.nativeElement&&this._element.nativeElement.focus()}onClickStarted(nt){this.clickStartedInContent=nt.target!==this._element.nativeElement}onClickStop(nt){this.config.ignoreBackdropClick||"static"===this.config.backdrop||nt.target!==this._element.nativeElement||this.clickStartedInContent?this.clickStartedInContent=!1:(this.bsModalService?.setDismissReason("backdrop-click"),this.hide())}onPopState(){this.bsModalService?.setDismissReason("browser-back-navigation-clicked"),this.hide()}onEsc(nt){this.isShown&&((27===nt.keyCode||"Escape"===nt.key)&&nt.preventDefault(),this.config.keyboard&&this.level===this.bsModalService?.getModalsCount()&&(this.bsModalService?.setDismissReason("esc"),this.hide()))}ngOnDestroy(){this.isShown&&this._hide()}hide(){if(!this.isModalHiding){if(this.config.closeInterceptor)return void this.config.closeInterceptor().then(()=>this._hide(),()=>{});this._hide()}}_hide(){this.isModalHiding=!0,this._renderer.removeClass(this._element.nativeElement,"show"),setTimeout(()=>{this.isShown=!1,e.Al&&e.Al.body&&1===this.bsModalService?.getModalsCount()&&(this._renderer.removeClass(e.Al.body,"modal-open"),this._renderer.setStyle(e.Al.body,"overflow-y","")),this.bsModalService?.hide(this.config.id),this.isModalHiding=!1,this._focusEl&&this._focusEl.focus()},this.isAnimated?300:0)}static{this.\u0275fac=function(lt){return new(lt||We)(i.rXU(Xt),i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275cmp=i.VBU({type:We,selectors:[["modal-container"]],hostAttrs:["role","dialog","tabindex","-1",1,"modal"],hostVars:3,hostBindings:function(lt,Vt){1&lt&&i.bIt("mousedown",function(Gn){return Vt.onClickStarted(Gn)})("click",function(Gn){return Vt.onClickStop(Gn)})("popstate",function(){return Vt.onPopState()},!1,i.tSv)("keydown.esc",function(Gn){return Vt.onEsc(Gn)},!1,i.tSv),2&lt&&i.BMQ("aria-modal",!0)("aria-labelledby",Vt.config.ariaLabelledBy)("aria-describedby",Vt.config.ariaDescribedby)},ngContentSelectors:Te,decls:3,vars:2,consts:[["role","document","focusTrap",""],[1,"modal-content"]],template:function(lt,Vt){1&lt&&(i.NAR(),i.j41(0,"div",0)(1,"div",1),i.SdG(2),i.k0s()()),2&lt&&i.HbH("modal-dialog"+(Vt.config.class?" "+Vt.config.class:""))},dependencies:[Le],encapsulation:2})}}return We})(),Ye=(()=>{class We{get isAnimated(){return this._isAnimated}set isAnimated(nt){this._isAnimated=nt}get isShown(){return this._isShown}set isShown(nt){this._isShown=nt,nt?this.renderer.addClass(this.element.nativeElement,"show"):this.renderer.removeClass(this.element.nativeElement,"show")}constructor(nt,lt){this._isAnimated=!1,this._isShown=!1,this.element=nt,this.renderer=lt}ngOnInit(){this.isAnimated&&(this.renderer.addClass(this.element.nativeElement,"fade"),e.Aq.reflow(this.element.nativeElement)),this.isShown=!0}static{this.\u0275fac=function(lt){return new(lt||We)(i.rXU(i.aKT),i.rXU(i.sFG))}}static{this.\u0275cmp=i.VBU({type:We,selectors:[["bs-modal-backdrop"]],hostAttrs:[1,"modal-backdrop"],decls:0,vars:0,template:function(lt,Vt){},encapsulation:2})}}return We})(),zt=1,ut=(()=>{class We{constructor(nt,lt,Vt){this.clf=lt,this.modalDefaultOption=Vt,this.onShow=new i.bkB,this.onShown=new i.bkB,this.onHide=new i.bkB,this.onHidden=new i.bkB,this.isBodyOverflowing=!1,this.originalBodyPadding=0,this.scrollbarWidth=0,this.modalsCount=0,this.loaders=[],this._focusEl=null,this._backdropLoader=this.clf.createLoader(),this._renderer=nt.createRenderer(null,null),this.config=Vt?Object.assign({},gt,Vt):gt}show(nt,lt){this._focusEl=e.Al.activeElement,this.modalsCount++,this._createLoaders();const Vt=lt?.id||zt++;return this.config=this.modalDefaultOption?Object.assign({},gt,this.modalDefaultOption,lt):Object.assign({},gt,lt),this.config.id=Vt,this._showBackdrop(),this.lastDismissReason=void 0,this._showModal(nt)}hide(nt){(1===this.modalsCount||null==nt)&&(this._hideBackdrop(),this.resetScrollbar()),this.modalsCount=this.modalsCount>=1&&null!=nt?this.modalsCount-1:0,setTimeout(()=>{this._hideModal(nt),this.removeLoaders(nt)},this.config.animated?150:0),this._focusEl&&this._focusEl.focus()}_showBackdrop(){const nt=!0===this.config.backdrop||"static"===this.config.backdrop,lt=!this.backdropRef||!this.backdropRef.instance.isShown;1===this.modalsCount&&(this.removeBackdrop(),nt&&lt&&(this._backdropLoader.attach(Ye).to("body").show({isAnimated:this.config.animated}),this.backdropRef=this._backdropLoader._componentRef))}_hideBackdrop(){this.backdropRef&&(this.backdropRef.instance.isShown=!1,setTimeout(()=>this.removeBackdrop(),this.config.animated?150:0))}_showModal(nt){const lt=this.loaders[this.loaders.length-1];if(this.config&&this.config.providers)for(const Gn of this.config.providers)lt.provide(Gn);const Vt=new mt,Hn=lt.provide({provide:Xt,useValue:this.config}).provide({provide:mt,useValue:Vt}).attach(ye).to("body");return Vt.hide=()=>this.hide(Vt.id),Vt.setClass=Gn=>{Hn.instance&&(Hn.instance.config.class=Gn)},Vt.onHidden=new i.bkB,Vt.onHide=new i.bkB,this.copyEvent(lt.onBeforeHide,Vt.onHide),this.copyEvent(lt.onHidden,Vt.onHidden
1),Hn.show({content:nt,isAnimated:this.config.animated,initialState:this.config.initialState,bsModalService:this,id:this.config.id}),Hn.instance&&(Hn.instance.level=this.getModalsCount(),Vt.content=lt.getInnerComponent(),Vt.id=Hn.instance.config?.id),Vt}_hideModal(nt){if(null!=nt){const lt=this.loaders.findIndex(Hn=>Hn.instance?.config.id===nt),Vt=this.loaders[lt];Vt&&Vt.hide(nt)}else this.loaders.forEach(lt=>{lt.instance&&lt.hide(lt.instance.config.id)})}getModalsCount(){return this.modalsCount}setDismissReason(nt){this.lastDismissReason=nt}removeBackdrop(){this._renderer.removeClass(e.Al.body,"modal-open"),this._renderer.setStyle(e.Al.body,"overflow-y",""),this._backdropLoader.hide(),this.backdropRef=void 0}checkScrollbar(){this.isBodyOverflowing=e.Al.body.clientWidth<window.innerWidth,this.scrollbarWidth=this.getScrollbarWidth()}setScrollbar(){e.Al&&(this.originalBodyPadding=parseInt(window.getComputedStyle(e.Al.body).getPropertyValue("padding-right")||"0",10),this.isBodyOverflowing&&(e.Al.body.style.paddingRight=`${this.originalBodyPadding+this.scrollbarWidth}px`))}resetScrollbar(){e.Al.body.style.paddingRight=`${this.originalBodyPadding}px`}getScrollbarWidth(){const nt=this._renderer.createElement("div");this._renderer.addClass(nt,"modal-scrollbar-measure"),this._renderer.appendChild(e.Al.body,nt);const lt=nt.offsetWidth-nt.clientWidth;return this._renderer.removeChild(e.Al.body,nt),lt}_createLoaders(){const nt=this.clf.createLoader();this.copyEvent(nt.onBeforeShow,this.onShow),this.copyEvent(nt.onShown,this.onShown),this.copyEvent(nt.onBeforeHide,this.onHide),this.copyEvent(nt.onHidden,this.onHidden),this.loaders.push(nt)}removeLoaders(nt){if(null!=nt){const lt=this.loaders.findIndex(Vt=>Vt.instance?.config.id===nt);lt>=0&&(this.loaders.splice(lt,1),this.loaders.forEach((Vt,Hn)=>{Vt.instance&&(Vt.instance.level=Hn+1)}))}else this.loaders.splice(0,this.loaders.length)}copyEvent(nt,lt){nt.subscribe(Vt=>{lt.emit(this.lastDismissReason||Vt)})}static{this.\u0275fac=function(lt){return new(lt||We)(i.KVO(i._9s),i.KVO(Pt.Li),i.KVO(gn,8))}}static{this.\u0275prov=i.jDH({token:We,factory:We.\u0275fac,providedIn:"platform"})}}return We})();_t.forRoot();let un=(()=>{class We{static forRoot(){return{ngModule:We,providers:[ut,Pt.Li,re.DF]}}static forChild(){return{ngModule:We,providers:[ut,Pt.Li,re.DF]}}static{this.\u0275fac=function(lt){return new(lt||We)}}static{this.\u0275mod=i.$C({type:We})}static{this.\u0275inj=i.G2t({imports:[_t]})}}return We})()},455:(Ot,ke,w)=>{"use strict";w.d(ke,{Rz:()=>mt,DF:()=>sn,ow:()=>Os});var i=w(425),e=w(7705),ee=w(177),K=w(1413),ae=w(7786),Z=w(8750),$=w(1985),z=w(1397),le=w(7441),W=w(8071),ge=w(6450);const J=["addListener","removeListener"],Be=["addEventListener","removeEventListener"],pe=["on","off"];function ze(ue,et,st,rt){if((0,W.T)(st)&&(rt=st,st=void 0),rt)return ze(ue,et,st).pipe((0,ge.I)(rt));const[Tt,Bt]=function it(ue){return(0,W.T)(ue.addEventListener)&&(0,W.T)(ue.removeEventListener)}(ue)?Be.map(en=>Qt=>ue[en](et,Qt,st)):function Fe(ue){return(0,W.T)(ue.addListener)&&(0,W.T)(ue.removeListener)}(ue)?J.map(xe(ue,et)):function $e(ue){return(0,W.T)(ue.on)&&(0,W.T)(ue.off)}(ue)?pe.map(xe(ue,et)):[];if(!Tt&&(0,le.X)(ue))return(0,z.Z)(en=>ze(en,et,st))((0,Z.Tg)(ue));if(!Tt)throw new TypeError("Invalid event target");return new $.c(en=>{const Qt=(...qe)=>en.next(1<qe.length?qe:qe[0]);return Tt(Qt),()=>Bt(Qt)})}function xe(ue,et){return st=>rt=>ue[st](et,rt)}var _e=w(7673),B=w(6780),H=w(8359);const ie={schedule(ue){let et=requestAnimationFrame,st=cancelAnimationFrame;const{delegate:rt}=ie;rt&&(et=rt.requestAnimationFrame,st=rt.cancelAnimationFrame);const Tt=et(Bt=>{st=void 0,ue(Bt)});return new H.yU(()=>st?.(Tt))},requestAnimationFrame(...ue){const{delegate:et}=ie;return(et?.requestAnimationFrame||requestAnimationFrame)(...ue)},cancelAnimationFrame(...ue){const{delegate:et}=ie;return(et?.cancelAnimationFrame||cancelAnimationFrame)(...ue)},delegate:void 0};var Le=w(9687);const Pt=new class _t extends Le.q{flush(et){let st;this._active=!0,et?st=et.id:(st=this._scheduled,this._scheduled=void 0);const{actions:rt}=this;let Tt;et=et||rt.shift();do{if(Tt=et.execute(et.state,et.delay))break}while((et=rt[0])&&et.id===st&&rt.shift());if(this._active=!1,Tt){for(;(et=rt[0])&&et.id===st&&rt.shift();)et.unsubscribe();throw Tt}}}(class fe extends B.R{constructor(et,st){super(et,st),this.scheduler
1=et,this.work=st}requestAsyncId(et,st,rt=0){return null!==rt&&rt>0?super.requestAsyncId(et,st,rt):(et.actions.push(this),et._scheduled||(et._scheduled=ie.requestAnimationFrame(()=>et.flush(void 0))))}recycleAsyncId(et,st,rt=0){var Tt;if(null!=rt?rt>0:this.delay>0)return super.recycleAsyncId(et,st,rt);const{actions:Bt}=et;null!=st&&st===et._scheduled&&(null===(Tt=Bt[Bt.length-1])||void 0===Tt?void 0:Tt.id)!==st&&(ie.cancelAnimationFrame(st),et._scheduled=void 0)}});var Te=function(ue){return ue.top="top",ue.bottom="bottom",ue.left="left",ue.right="right",ue.auto="auto",ue.end="right",ue.start="left",ue["top left"]="top left",ue["top right"]="top right",ue["right top"]="right top",ue["right bottom"]="right bottom",ue["bottom right"]="bottom right",ue["bottom left"]="bottom left",ue["left bottom"]="left bottom",ue["left top"]="left top",ue["top start"]="top left",ue["top end"]="top right",ue["end top"]="right top",ue["end bottom"]="right bottom",ue["bottom end"]="bottom right",ue["bottom start"]="bottom left",ue["start bottom"]="start bottom",ue["start top"]="left top",ue}(Te||{}),mt=function(ue){return ue.top="top",ue.bottom="bottom",ue.left="start",ue.right="end",ue.auto="auto",ue.end="end",ue.start="start",ue["top left"]="top start",ue["top right"]="top end",ue["right top"]="end top",ue["right bottom"]="end bottom",ue["bottom right"]="bottom end",ue["bottom left"]="bottom start",ue["left bottom"]="start bottom",ue["left top"]="start top",ue["top start"]="top start",ue["top end"]="top end",ue["end top"]="end top",ue["end bottom"]="end bottom",ue["bottom end"]="bottom end",ue["bottom start"]="bottom start",ue["start bottom"]="start bottom",ue["start top"]="start top",ue}(mt||{});function ht(ue,et){if(1!==ue.nodeType)return[];const rt=ue.ownerDocument.defaultView?.getComputedStyle(ue,null);return et?rt&&rt[et]:rt}function Xt(ue){if(!ue)return document.documentElement;let rt,st=ue?.offsetParent;for(;null===st&&ue.nextElementSibling&&rt!==ue.nextElementSibling;)rt=ue.nextElementSibling,st=rt.offsetParent;const Tt=st&&st.nodeName;return Tt&&"BODY"!==Tt&&"HTML"!==Tt?st&&-1!==["TH","TD","TABLE"].indexOf(st.nodeName)&&"static"===ht(st,"position")?Xt(st):st:rt?rt.ownerDocument.documentElement:document.documentElement}function gn(ue){return null!==ue.parentNode?gn(ue.parentNode):ue}function Je(ue,et){if(!(ue&&ue.nodeType&&et&&et.nodeType))return document.documentElement;const st=ue.compareDocumentPosition(et)&Node.DOCUMENT_POSITION_FOLLOWING,rt=st?ue:et,Tt=st?et:ue,Bt=document.createRange();Bt.setStart(rt,0),Bt.setEnd(Tt,0);const en=Bt.commonAncestorContainer;if(ue!==en&&et!==en||rt.contains(Tt))return function gt(ue){const{nodeName:et}=ue;return"BODY"!==et&&("HTML"===et||Xt(ue.firstElementChild)===ue)}(en)?en:Xt(en);const Qt=gn(ue);return Qt.host?Je(Qt.host,et):Je(ue,gn(et).host)}function ve(ue){if(!ue||!ue.parentElement)return document.documentElement;let et=ue.parentElement;for(;et?.parentElement&&"none"===ht(et,"transform");)et=et.parentElement;return et||document.documentElement}function te(ue,et){const st="x"===et?"Left":"Top",rt="Left"===st?"Right":"Bottom";return parseFloat(ue[`border${st}Width`])+parseFloat(ue[`border${rt}Width`])}function me(ue,et,st,rt){return Math.max(et[`offset${ue}`],et[`scroll${ue}`],st[`client${ue}`],st[`offset${ue}`],st[`scroll${ue}`],0)}function ye(ue){const et=ue.body,st=ue.documentElement;return{height:me("Height",et,st),width:me("Width",et,st)}}function Ye(ue){return{...ue,right:(ue.left||0)+ue.width,bottom:(ue.top||0)+ue.height}}function Ie(ue){return"number"==typeof ue||"[object Number]"===Object.prototype.toString.call(ue)}function Ge(ue){const et=ue.getBoundingClientRect();if(!(et&&Ie(et.top)&&Ie(et.left)&&Ie(et.bottom)&&Ie(et.right)))return et;const st={left:et.left,top:et.top,width:et.right-et.left,height:et.bottom-et.top},rt="HTML"===ue.nodeName?ye(ue.ownerDocument):void 0,Tt=rt?.width||ue.clientWidth||Ie(et.right)&&Ie(st.left)&&et.right-st.left||0,Bt=rt?.height||ue.clientHeight||Ie(et.bottom)&&Ie(st.top)&&et.bottom-st.top||0;let en=ue.offsetWidth-Tt,Qt=ue.offsetHeight-Bt;if(en||Qt){const qe=ht(ue);en-=te(qe,"x"),Qt-=te(qe,"y"),st.width-=en,st.height-=Qt}return Ye(st)}function zt(ue){return"HTML"===ue.nodeName?ue:ue.parentNode||ue.host}function ut(ue){if(!ue)return document.body;switch(ue.nodeName){case"HTML":case"BODY":return ue.ownerDocument.body;case"#document":return ue.body}const{overflow:et,overflowX:st,overflowY:rt}=ht(ue);return/(auto|scroll|overlay)/.test(String(et)+String(rt)+String(st))?ue:ut(zt(ue))}function nn(ue,et,st=!1){const rt="HTML"===et.nodeName,Tt=Ge(ue),Bt=Ge(et),Qt=(ut(ue),ht(et)),qe=parseFloat(Qt.borderTopWidth),Qe=parseFloat(Qt.borderLeftWidth);st&&rt&&(Bt.top=Math.max(Bt.top??0,0),Bt.left=Math.max(Bt.left??0,0));const he=Ye({top:(Tt.top??0)-(Bt.top??0)-qe,left:(Tt.left??0)-(Bt.left??0)-Qe,width:Tt.width,height:Tt.height});if(he.marginTop=0,he.marginLeft=0,rt){const Re=parseFloat(Qt.marginTop),pt=parseFloat(Qt.marginLeft);Ie(he.top)&&(he.top-=qe-Re),Ie(he.bottom)&&(he.bottom-=qe-Re),Ie(he.left)&&(he.left-=Qe-pt),Ie(he.right)&&(he.right-=Qe-pt),he.marginTop=Re,he.marginLeft=pt}return he}function un(ue,et="top"){const st="top"===et?"scrollTop":"scrollLeft",rt=ue.nodeName;return"BODY"===rt||"HTML"===rt?(ue.ownerDocument.scrollingElement||ue.ownerDocument.documentElement)[st]:ue[st]}function yt(ue){const et=ue.nodeName;return"BODY"!==et&&"HTML"!==et&&("fixed"===ht(ue,"position")||yt(zt(ue)))}function nt(ue,et,st=0,rt,Tt=!1){let Bt={top:0,left:0};const en=Tt?ve(ue):Je(ue,et);if("viewport"===rt)Bt=function We(ue,et=!1){const st=ue.ownerDocument.documentElement,rt=nn(ue,st),Tt=Math.max(st.clientWidth,window.innerWidth||0),Bt=Math.max(st.clientHeight,window.innerHeight||0),en=et?0:un(st),Qt=et?0:un(st,"left");
1return Ye({top:en-Number(rt?.top)+Number(rt?.marginTop),left:Qt-Number(rt?.left)+Number(rt?.marginLeft),width:Tt,height:Bt})}(en,Tt);else{let Qt;"scrollParent"===rt?(Qt=ut(zt(et)),"BODY"===Qt.nodeName&&(Qt=ue.ownerDocument.documentElement)):Qt="window"===rt?ue.ownerDocument.documentElement:rt;const qe=nn(Qt,en,Tt);if(qe&&"HTML"===Qt.nodeName&&!yt(en)){const{height:Qe,width:he}=ye(ue.ownerDocument);Ie(Bt.top)&&Ie(qe.top)&&Ie(qe.marginTop)&&(Bt.top+=qe.top-qe.marginTop),Ie(Bt.top)&&(Bt.bottom=Number(Qe)+Number(qe.top)),Ie(Bt.left)&&Ie(qe.left)&&Ie(qe.marginLeft)&&(Bt.left+=qe.left-qe.marginLeft),Ie(Bt.top)&&(Bt.right=Number(he)+Number(qe.left))}else qe&&(Bt=qe)}return Ie(Bt.left)&&(Bt.left+=st),Ie(Bt.top)&&(Bt.top+=st),Ie(Bt.right)&&(Bt.right-=st),Ie(Bt.bottom)&&(Bt.bottom-=st),Bt}function lt({width:ue,height:et}){return ue*et}function Vt(ue,et,st,rt,Tt=["top","bottom","right","left"],Bt="viewport",en=0){if(-1===ue.indexOf("auto"))return ue;const Qt=nt(st,rt,en,Bt),qe={top:{width:Qt?.width??0,height:(et?.top??0)-(Qt?.to
1p??0)},right:{width:(Qt?.right??0)-(et?.right??0),height:Qt?.height??0},bottom:{width:Qt?.width??0,height:(Qt?.bottom??0)-(et?.bottom??0)},left:{width:(et.left??0)-(Qt?.left??0),height:Qt?.height??0}},Qe=Object.keys(qe).map(At=>({position:At,...qe[At],area:lt(qe[At])})).sort((At,Ht)=>Ht.area-At.area);let he=Qe.filter(({width:At,height:Ht})=>At>=st.clientWidth&&Ht>=st.clientHeight);he=he.filter(({position:At})=>Tt.some(Ht=>Ht===At));const Re=he.length>0?he[0].position:Qe[0].position,pt=ue.split(" ")[1];return st.className=st.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${(0,i.Bu)().isBs5?mt[Re]:Re}`),Re+(pt?`-${pt}`:"")}const bs=(ue,et=0)=>ue?parseFloat(ue):et;function li(ue){const st=ue.ownerDocument.defaultView?.getComputedStyle(ue),rt=bs(st?.marginTop)+bs(st?.marginBottom),Tt=bs(st?.marginLeft)+bs(st?.marginRight);return{width:Number(ue.offsetWidth)+Tt,height:Number(ue.offsetHeight)+rt}}function pi(ue,et,st){return nn(et,st?ve(ue):Je(ue,et),st)}function vn(ue,et,st){const rt=st.split(" ")[0],Tt=li(ue),Bt={width:Tt.width,height:Tt.height},en=-1!==["right","left"].indexOf(rt),Qt=en?"top":"left",qe=en?"left":"top",Qe=en?"height":"width",he=en?"width":"height";return Bt[Qt]=(et[Qt]??0)+et[Qe]/2-Tt[Qe]/2,Bt[qe]=rt===qe?(et[qe]??0)-Tt[he]:et[function Gn(ue){const et={left:"right",right:"left",bottom:"top",top:"bottom"};return ue.replace(/left|right|bottom|top/g,st=>et[st])}(qe)]??0,Bt}function Fn(ue,et){return!!ue.modifiers[et]?.enabled}const ln={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function Oi(ue,et){return!!(0,i.Bu)().isBs5&&ln[et].includes(ue)}function Os(ue){return(0,i.Bu)().isBs5?Oi(ue,"end")?"ms-2":Oi(ue,"start")?"me-2":Oi(ue,"top")?"mb-2":Oi(ue,"bottom")?"mt-2":"":""}function hn(ue,et,st){!ue||!et||Object.keys(et).forEach(rt=>{let Tt="";-1!==["width","height","top","right","bottom","left"].indexOf(rt)&&function Me(ue){return""!==ue&&!isNaN(parseFloat(ue))&&isFinite(Number(ue))}(et[rt])&&(Tt="px"),st?st.setStyle(ue,rt,`${String(et[rt])}${Tt}`):ue.style[rt]=String(et[rt])+Tt})}function wi(ue){let et=ue.offsets.target;const st=ue.instance.target.querySelector(".arrow");if(!st)return ue;const rt=-1!==["left","right"].indexOf(ue.placement.split(" ")[0]),Tt=rt?"height":"width",Bt=rt?"Top":"Left",en=Bt.toLowerCase(),Qt=rt?"left":"top",qe=rt?"bottom":"right",Qe=li(st)[Tt],he=ue.placement.split(" ")[1];(ue.offsets.host[qe]??0)-Qe<(et[en]??0)&&(et[en]-=(et[en]??0)-((ue.offsets.host[qe]??0)-Qe)),Number(ue.offsets.host[en])+Number(Qe)>(et[qe]??0)&&(et[en]+=Number(ue.offsets.host[en])+Number(Qe)-Number(et[qe])),et=Ye(et);const Re=ht(ue.instance.target),pt=parseFloat(Re[`margin${Bt}`])||0,At=parseFloat(Re[`border${Bt}Width`])||0;let Ht;if(he){const pn=parseFloat(Re.borderRadius)||0,Sn=Number(pt+At+pn);Ht=en===he?Number(ue.offsets.host[en])+Sn:Number(ue.offsets.host[en])+Number(ue.offsets.host[Tt]-Sn)}else Ht=Number(ue.offsets.host[en])+Number(ue.offsets.host[Tt]/2-Qe/2);let Wn=Ht-(et[en]??0)-pt-At;return Wn=Math.max(Math.min(et[Tt]-(Qe+5),Wn),0),ue.offsets.arrow={[en]:Math.round(Wn),[Qt]:""},ue.instance.arrow=st,ue}function to(ue){if(ue.offsets.target=Ye(ue.offsets.target),!Fn(ue.options,"flip"))return ue.offsets.target={...ue.offsets.target,...vn(ue.instance.target,ue.offsets.host,ue.placement)},ue;const et=nt(ue.instance.target,ue.instance.host,0,"viewport",!1);let st=ue.placement.split(" ")[0],rt=ue.placement.split(" ")[1]||"";const Qt=Vt("auto",ue.offsets.host,ue.instance.target,ue.instance.host,ue.options.allowedPositions),qe=[st,Qt];return qe.forEach((Qe,he)=>{if(st!==Qe||qe.length===he+1)return;st=ue.placement.split(" ")[0];const Re="left"===st&&Math.floor(ue.offsets.target.right??0)>Math.floor(ue.offsets.host.left??0)||"right"===st&&Math.floor(ue.offsets.target.left??0)<Math.floor(ue.offsets.host.right??0)||"top"===st&&Math.floor(ue.offsets.target.bottom??0)>Math.floor(ue.offsets.host.top??0)||"bottom"===st&&Math.floor(ue.offsets.target.top??0)<Math.floor(ue.offsets.host.bottom??0),pt=Math.floor(ue.offsets.target.left??0)<Math.floor(et.left??0),At=Math.floor(ue.offsets.target.right??0)>Math.floor(et.right??0),Ht=Math.floor(ue.offsets.target.top??0)<Math.floor(et.top??0),Wn=Math.floor(ue.offsets.target.bottom??0)>Math.floor(et.bottom??0),pn="left"===st&&pt||"right"===st&&At||"top"===st&&Ht||"bottom"===st&&Wn,Sn=-1!==["top","bottom"].indexOf(st),Wi=Sn&&"left"===rt&&pt||Sn&&"right"===rt&&At||!Sn&&"left"===rt&&Ht||!Sn&&"right"===rt&&Wn;(Re||pn||Wi)&&((Re||pn)&&(st=qe[he+1]),Wi&&(rt=function Ei(ue){return"right"===ue?"left":"left"===ue?"right":ue}(rt)),ue.placement=st+(rt?` ${rt}`:""),ue.offsets.target={...ue.offsets.target,...vn(ue.instance.target,ue.offsets.host,ue.placement)})}),ue}function Ys(ue){if(!Fn(ue.options,"preventOverflow"))return ue;const et="transform",st=ue.instance.target.style,{top:rt,left:Tt,[et]:Bt}=st;st.top="",st.left="",st[et]="";const en=nt(ue.instance.target,ue.instance.host,0,ue.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);st.top=rt,st.left=Tt,st[et]=Bt;const qe={primary(Qe){let he=ue.offsets.target[Qe];return(ue.offsets.target[Qe]??0)<(en[Qe]??0)&&(he=Math.max(ue.offsets.target[Qe]??0,en[Qe]??0)),{[Qe]:he}}
1,secondary(Qe){const he="right"===Qe,Re=he?"left":"top";let At=ue.offsets.target[Re];return(ue.offsets.target[Qe]??0)>(en[Qe]??0)&&(At=Math.min(ue.offsets.target[Re]??0,(en[Qe]??0)-ue.offsets.target[he?"width":"height"])),{[Re]:At}}};return["left","right","top","bottom"].forEach(Qe=>{const he=-1!==["left","top","start"].indexOf(Qe)?qe.primary:qe.secondary;ue.offsets.target={...ue.offsets.target,...he(Qe)}}),ue}function An(ue){const et=ue.placement,st=et.split(" ")[0],rt=et.split(" ")[1];if(rt){const{host:Tt,target:Bt}=ue.offsets,en=-1!==["bottom","top"].indexOf(st),Qt=en?"left":"top",qe=en?"width":"height",Qe={start:{[Qt]:Tt[Qt]},end:{[Qt]:(Tt[Qt]??0)+Tt[qe]-Bt[qe]}};ue.offsets.target={...Bt,[Qt]:Qt===rt?Qe.start[Qt]:Qe.end[Qt]}}return ue}const Ri=new class Gi{position(et,st){return this.offset(et,st)}offset(et,st){return pi(st,et)}positionElements(et,st,rt,Tt,Bt){const en=[to,An,Ys,wi],qe=function Kn(ue,et,st,rt){if(!ue||!et)return;const Tt=pi(ue,et);!st.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!st.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(st="auto");const Bt=!!st.match(/auto/g);let en=st.match(/auto\s(left|right|top|bottom|start|end)/)?st.split(" ")[1]||"auto":st;const Qt=en.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return Qt&&(en=Qt[1]+(Qt[2]?` ${Qt[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(en)&&(en="auto"),en=Vt(en,Tt,ue,et,rt?rt.allowedPositions:void 0),{options:rt||{modifiers:{}},instance:{target:ue,host:et,arrow:void 0},offsets:{target:vn(ue,Tt,en),host:Tt,arrow:void 0},positionFixed:!1,placement:en,placementAuto:Bt}}(st,et,Te[rt],Bt);if(qe)return en.reduce((Qe,he)=>he(Qe),qe)}};let sn=(()=>{class ue{constructor(st,rt,Tt){this.update$$=new K.B,this.positionElements=new Map,this.isDisabled=!1,(0,ee.UE)(Tt)&&st.runOutsideAngular(()=>{this.triggerEvent$=(0,ae.h)(ze(window,"scroll",{passive:!0}),ze(window,"resize",{passive:!0}),(0,_e.of)(0,Pt),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(Bt=>{!function Ni(ue,et,st,rt,Tt,Bt){const en=Ri.positionElements(ue,et,st,rt,Tt);if(!en)return;const Qt=function Hn(ue){return{width:ue.offsets.target.width,height:ue.offsets.target.height,left:Math.floor(ue.offsets.target.left??0),top:Math.round(ue.offsets.target.top??0),bottom:Math.round(ue.offsets.target.bottom??0),right:Math.floor(ue.offsets.target.right??0)}}(en);hn(et,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${Qt.left}px, ${Qt.top}px, 0px)`},Bt),en.instance.arrow&&hn(en.instance.arrow,en.offsets.arrow,Bt),function Pi(ue,et){const st=ue.instance.target;let rt=st.className;const Tt=(0,i.Bu)().isBs5?mt[ue.placement]:ue.placement;ue.placementAuto&&(rt=rt.replace(/bs-popover-auto/g,`bs-popover-${Tt}`),rt=rt.replace(/ms-2|me-2|mb-2|mt-2/g,""),rt=rt.replace(/bs-tooltip-auto/g,`bs-tooltip-${Tt}`),rt=rt.replace(/\sauto/g,` ${Tt}`),-1!==rt.indexOf("popover")&&(rt=rt+" "+Os(Tt)),-1!==rt.indexOf("popover")&&-1===rt.indexOf("popover-auto")&&(rt+=" popover-auto"),-1!==rt.indexOf("tooltip")&&-1===rt.indexOf("tooltip-auto")&&(rt+=" tooltip-auto")),rt=rt.replace(/left|right|top|bottom|end|start/g,`${Tt.split(" ")[0]}`),et?et.setAttribute(st,"class",rt):st.className=rt}(en,Bt)}(xi(Bt.target),xi(Bt.element),Bt.attachment,Bt.appendToBody,this.options,rt.createRenderer(null,null))})})})}position(st){this.addPositionElement(st)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(st){this.positionElements.set(xi(st.element),st)}calcPosition(){this.update$$.next(null)}deletePositionElement(st){this.positionElements.delete(xi(st))}setOptions(st){this.options=st}static{this.\u0275fac=function(rt){return new(rt||ue)(e.KVO(e.SKi),e.KVO(e._9s),e.KVO(e.Agw))}}static{this.\u0275prov=e.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}}return ue})();function xi(ue){return"string"==typeof ue?document.querySelector(ue):ue instanceof e.aKT?ue.nativeElement:ue??null}},534:(Ot,ke,w)=>{"use strict";w.d(ke,{Ss:()=>Be,dg:()=>J});var i=w(7705),e=w(425),ee=w(455),K=w(1635),ae=w(6932),Z=w(1807),$=w(177);const z=["*"];let le=(()=>{class pe{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="hover focus",this.delay=0}static{this.\u0275fac=function(Fe){return new(Fe||pe)}}static{this.\u0275prov=i.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"})}}return pe})(),W=(()=>{class pe{get _bsVersions(){return(0,e.Bu)()}constructor(xe){Object.assign(this,xe)}ngAfterViewInit(){this.classMap={in:!1,fade:!1},this.placement&&(this._bsVersions.isBs5&&(this.placement=ee.Rz[this.placement]),this.classMap[this.placement]=!0),this.classMap[`tooltip-${this.placement}`]=!0,this.classMap.in=!0,this.animation&&(this.classMap.fade=!0),this.containerClass&&(this.classMap[this.containerClass]=!0)}static{this.\u0275fac=function(Fe){return new(Fe||pe)(i.rXU(le))}}static{this.\u0275cmp=i.VBU({type:pe,selectors:[["bs-tooltip-container"]],hostAttrs:["role","tooltip"],hostVars:3,hostBindings:function(Fe,$e){2&Fe&&(i.BMQ("id",$e.id),i.HbH("show tooltip in tooltip-"+$e.placement+" bs-tooltip-"+$e.placement+" "+$e.placement+" "+$e.containerClass))},ngContentSelectors:z,decls:3,vars:0,consts:[[1,"tooltip-arrow","arrow"],[1,"tooltip-inner"]],template:function(Fe,$e){1&Fe&&(i.NAR(),i.nrm(0,"div",0),i.j41(1,"div",1),i.SdG(2),i.k0s())},styles:[".tooltip[_nghost-%COMP%]{display:block;pointer-events:none;position:absolute}.tooltip[_nghost-%COMP%]   .tooltip-arrow[_ngcontent-%COMP%]{position:absolute}"],changeDetection:0})}}return pe})(),ge=0,J=(()=>{class pe{get isOpen(){return this._tooltip.isShown}set isOpen(xe){xe?this.show():this.hide()}set htmlContent(xe){(0,e.mc)("tooltipHtml was deprecated, please use `tooltip` instead"),this.tooltip=xe}set _placement(xe){(0,e.mc)("tooltipPlacement was deprecated, please use `placement` instead"),this.placement=xe}set _isOpen(xe){(0,e.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen=xe}get _isOpen(){return(0,e.mc)("tooltipIsOpen was deprecated, please use `isOpen` instead"),this.isOpen}set _enable(xe){(0,e.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled=!xe}get _enable(){return(0,e.mc)("tooltipEnable was deprecated, please use `isDisabled` instead"),this.isDisabled}set _appendToBody(xe){(0,e.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),this.container=xe?"body":this.container}get _appendToBody(){return(0,e.mc)('tooltipAppendToBody was deprecated, please use `container="body"` instead'),"body"===this.container}set _popupClass(xe){(0,e.mc)("tooltipClass deprecated")}set _tooltipContext(xe){(0,e.mc)("tooltipContext deprecated")}set _tooltipPopupDelay(xe){(0,e.mc)("tooltipPopupDelay is deprecated, use `delay` instead"),this.delay=xe}get _tooltipTrigger(){return(0,e.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers}set _tooltipTrigger(xe){(0,e.mc)("tooltipTrigger was deprecated, please use `triggers` instead"),this.triggers=(xe||"").toString()}
1constructor(xe,Fe,$e,it,_e,B){this._elementRef=it,this._renderer=_e,this._positionService=B,this.tooltipId=ge++,this.adaptivePosition=!0,this.tooltipChange=new i.bkB,this.placement="top",this.triggers="hover focus",this.containerClass="",this.isDisabled=!1,this.delay=0,this.tooltipAnimation=!0,this.tooltipFadeDuration=150,this.tooltipStateChanged=new i.bkB,this._tooltip=Fe.createLoader(this._elementRef,xe,this._renderer).provide({provide:le,useValue:$e}),Object.assign(this,$e),this.onShown=this._tooltip.onShown,this.onHidden=this._tooltip.onHidden}ngOnInit(){this._tooltip.listen({triggers:this.triggers,show:()=>this.show()}),this.tooltipChange.subscribe(xe=>{xe||this._tooltip.hide()}),this.onShown.subscribe(()=>{this.setAriaDescribedBy()}),this.onHidden.subscribe(()=>{this.setAriaDescribedBy()})}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`tooltip-${this.tooltipId}`:void 0,this._ariaDescribedby?this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}toggle(){if(this.isOpen)return this.hide();this.show()}show(){if(this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}}),this.isOpen||this.isDisabled||this._delayTimeoutId||!this.tooltip)return;const xe=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._tooltip.attach(W).to(this.container).position({attachment:this.placement}).show({content:this.tooltip,placement:this.placement,containerClass:this.containerClass,id:`tooltip-${this.tooltipId}`})},Fe=()=>{this._tooltipCancelShowFn&&this._tooltipCancelShowFn()};this.delay?(this._delaySubscription&&this._delaySubscription.unsubscribe(),this._delaySubscription=(0,Z.O)(this.delay).subscribe(()=>{xe(),Fe()}),this.triggers&&(0,e.Zu)(this.triggers).forEach($e=>{$e.close&&(this._tooltipCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,$e.close,()=>{this._delaySubscription?.unsubscribe(),Fe()}))})):xe()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this._tooltip.isShown&&(this._tooltip.instance?.classMap&&(this._tooltip.instance.classMap.in=!1),setTimeout(()=>{this._tooltip.hide()},this.tooltipFadeDuration))}ngOnDestroy(){this._tooltip.dispose(),this.tooltipChange.unsubscribe(),this._delaySubscription&&this._delaySubscription.unsubscribe(),this.onShown.unsubscribe(),this.onHidden.unsubscribe()}static{this.\u0275fac=function(Fe){return new(Fe||pe)(i.rXU(i.c1b),i.rXU(ae.Li),i.rXU(le),i.rXU(i.aKT),i.rXU(i.sFG),i.rXU(ee.DF))}}static{this.\u0275dir=i.FsC({type:pe,selectors:[["","tooltip",""],["","tooltipHtml",""]],inputs:{adaptivePosition:"adaptivePosition",tooltip:"tooltip",placement:"placement",triggers:"triggers",container:"container",containerClass:"containerClass",boundariesElement:"boundariesElement",isOpen:"isOpen",isDisabled:"isDisabled",delay:"delay",htmlContent:["tooltipHtml","htmlContent"],_placement:["tooltipPlacement","_placement"],_isOpen:["tooltipIsOpen","_isOpen"],_enable:["tooltipEnable","_enable"],_appendToBody:["tooltipAppendToBody","_appendToBody"],tooltipAnimation:"tooltipAnimation",_popupClass:["tooltipClass","_popupClass"],_tooltipContext:["tooltipContext","_tooltipContext"],_tooltipPopupDelay:["tooltipPopupDelay","_tooltipPopupDelay"],tooltipFadeDuration:"tooltipFadeDuration",_tooltipTrigger:["tooltipTrigger","_tooltipTrigger"]},outputs:{tooltipChange:"tooltipChange",onShown:"onShown",onHidden:"onHidden",tooltipStateChanged:"tooltipStateChanged"},exportAs:["bs-tooltip"]})}}return(0,K.Cg)([(0,e.Yr)(),(0,K.Sn)("design:type",Object)],pe.prototype,"tooltip",void 0),pe})(),Be=(()=>{class pe{static forRoot(){return{ngModule:pe,providers:[ae.Li,ee.DF]}}static{this.\u0275fac=function(Fe){return new(Fe||pe)}}static{this.\u0275mod=i.$C({type:pe})}static{this.\u0275inj=i.G2t({imports:[$.MD]})}}return pe})()},425:(Ot,ke,w)=>{"use strict";w.d(ke,{Al:()=>W,Aq:()=>ht,Bu:()=>Pt,Fv:()=>z,GL:()=>Z,Xt:()=>$,Yr:()=>mt,Zu:()=>K,mc:()=>gn});var i=w(7705);class e{constructor(ve,te){this.open=ve,this.close=te||ve}isManual(){return"manual"===this.open||"manual"===this.close}}const ee={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function K(Je,ve=ee){const te=(Je||"").trim();if(0===te.length)return[];const me=te.split(/\s+/).map(Ye=>Ye.split(":")).map(Ye=>{const Me=ve[Ye[0]]||Ye;return new e(Me[0],Me[1])}),ye=me.filter(Ye=>Ye.isManual());if(ye.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===ye.length&&me.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return me}function Z(Je,ve){const te=K(ve.triggers),me=ve.target;if(1===te.length&&te[0].isManual())return Function.prototype;const ye=[],Ye=[],Me=()=>{Ye.forEach(Ie=>ye.push(Ie())),Ye.length=0};return te.forEach(Ie=>{const Ge=Ie.open===Ie.close,zt=Ge?ve.toggle:ve.show;if(!Ge&&Ie.close&&ve.hide){const ut=Ie.close,nn=ve.hide;Ye.push(()=>Je.listen(me,ut,nn))}
1zt&&ye.push(Je.listen(me,Ie.open,()=>zt(Me)))}),()=>{ye.forEach(Ie=>Ie())}}function $(Je,ve){return ve.outsideClick?Je.listen("document","click",te=>{ve.target&&ve.target.contains(te.target)||ve.targets&&ve.targets.some(me=>me.contains(te.target))||ve.hide&&ve.hide()}):Function.prototype}function z(Je,ve){return ve.outsideEsc?Je.listen("document","keyup.esc",te=>{ve.target&&ve.target.contains(te.target)||ve.targets&&ve.targets.some(me=>me.contains(te.target))||ve.hide&&ve.hide()}):Function.prototype}const le=typeof window<"u"&&window||{},W=le.document;var B=function(Je){return Je.isBs4="bs4",Je.isBs5="bs5",Je}(B||{});let H;function ie(){const Je=le.document.createElement("span");Je.innerText="testing bs version",Je.classList.add("d-none"),Je.classList.add("pl-1"),le.document.head.appendChild(Je);const ve=le.getComputedStyle(Je).paddingLeft;return ve&&parseFloat(ve)?(le.document.head.removeChild(Je),"bs4"):(le.document.head.removeChild(Je),"bs5")}function Pt(){return{isBs4:(H||(H=ie()),"bs4"===H),isBs5:(H||(H=ie()),"bs5"===H)}}function mt(){return function(te,me){const ye=` __${me}Value`;Object.defineProperty(te,me,{get(){return this[ye]},set(Ye){const Me=this[ye];this[ye]=Ye,Me!==Ye&&this[me+"Change"]&&this[me+"Change"].emit(Ye)}})}}class ht{static reflow(ve){}static getStyles(ve){let te=ve.ownerDocument.defaultView;return(!te||!te.opener)&&(te=le),te.getComputedStyle(ve)}static stackOverflowConfig(){const ve=function re(){const Je=Pt(),ve=Object.keys(Je).find(te=>Je[te]);return B[ve]}();return{crossorigin:"anonymous",integrity:"bs5"===ve?"sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65":"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2",cdnLink:"bs5"===ve?"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css":"https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"}}}const Xt={},gt=typeof console>"u"||!("warn"in console);function gn(Je){!(0,i.naY)()||gt||Je in Xt||(Xt[Je]=!0,console.warn(Je))}},5794:(Ot,ke,w)=>{"use strict";w.d(ke,{_B:()=>gn,tw:()=>mt});var i=w(7705),e=w(9969),ee=w(177),K=w(1413),ae=w(345);const Z=["toast-component",""];function $(ye,Ye){if(1&ye){const Me=i.RV6();i.j41(0,"button",5),i.bIt("click",function(){i.eBV(Me);const Ge=i.XpG();return i.Njj(Ge.remove())}),i.j41(1,"span",6),i.EFF(2,"\xd7"),i.k0s()()}}function z(ye,Ye){if(1&ye&&(i.qex(0),i.EFF(1),i.bVm()),2&ye){const Me=i.XpG(2);i.R7$(1),i.SpI("[",Me.duplicatesCount+1,"]")}}function le(ye,Ye){if(1&ye&&(i.j41(0,"div"),i.EFF(1),i.DNE(2,z,2,1,"ng-container",4),i.k0s()),2&ye){const Me=i.XpG();i.HbH(Me.options.titleClass),i.BMQ("aria-label",Me.title),i.R7$(1),i.SpI(" ",Me.title," "),i.R7$(1),i.Y8G("ngIf",Me.duplicatesCount)}}function W(ye,Ye){if(1&ye&&i.nrm(0,"div",7),2&ye){const Me=i.XpG();i.HbH(Me.options.messageClass),i.Y8G("innerHTML",Me.message,i.npT)}}function ge(ye,Ye){if(1&ye&&(i.j41(0,"div",8),i.EFF(1),i.k0s()),2&ye){const Me=i.XpG();i.HbH(Me.options.messageClass),i.BMQ("aria-label",Me.message),i.R7$(1),i.SpI(" ",Me.message," ")}}function J(ye,Ye){if(1&ye&&(i.j41(0,"div"),i.nrm(1,"div",9),i.k0s()),2&ye){const Me=i.XpG();i.R7$(1),i.xc7("width",Me.width+"%")}}class _e{_attachedHost;component;viewContainerRef;injector;constructor(Ye,Me){this.component=Ye,this.injector=Me}attach(Ye,Me){return this._attachedHost=Ye,Ye.attach(this,Me)}detach(){const Ye=this._attachedHost;if(Ye)return this._attachedHost=void 0,Ye.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ye){this._attachedHost=Ye}}class B{_attachedPortal;_disposeFn;attach(Ye,Me){return this._attachedPortal=Ye,this.attachComponentPortal(Ye,Me)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ye){this._disposeFn=Ye}}class H{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new K.B;_activate=new K.B;_manualClose=new K.B;_resetTimeout=new K.B;_countDuplicate=new K.B;constructor(Ye){this._overlayRef=Ye}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
1onDuplicate(Ye,Me){Ye&&this._resetTimeout.next(),Me&&this._countDuplicate.next(++this.duplicatesCount)}}class ie{toastId;config;message;title;toastType;toastRef;_onTap=new K.B;_onAction=new K.B;constructor(Ye,Me,Ie,Ge,zt,ut){this.toastId=Ye,this.config=Me,this.message=Ie,this.title=Ge,this.toastType=zt,this.toastRef=ut,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Ye){this._onAction.next(Ye)}onAction(){return this._onAction.asObservable()}}const Le=new i.nKC("ToastConfig");class _t extends B{_hostDomElement;_componentFactoryResolver;_appRef;constructor(Ye,Me,Ie){super(),this._hostDomElement=Ye,this._componentFactoryResolver=Me,this._appRef=Ie}attachComponentPortal(Ye,Me){const Ie=this._componentFactoryResolver.resolveComponentFactory(Ye.component);let Ge;return Ge=Ie.create(Ye.injector),this._appRef.attachView(Ge.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ge.hostView),Ge.destroy()}),Me?this._hostDomElement.insertBefore(this._getComponentRootNode(Ge),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ge)),Ge}_getComponentRootNode(Ye){return Ye.hostView.rootNodes[0]}}let Pt=(()=>{class ye{_document=(0,i.WQX)(ee.qQ);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Me=this._document.createElement("div");Me.classList.add("overlay-container"),Me.setAttribute("aria-live","polite"),this._document.body.appendChild(Me),this._containerElement=Me}static \u0275fac=function(Ie){return new(Ie||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class re{_portalHost;constructor(Ye){this._portalHost=Ye}attach(Ye,Me=!0){return this._portalHost.attach(Ye,Me)}detach(){return this._portalHost.detach()}}let Te=(()=>{class ye{_overlayContainer=(0,i.WQX)(Pt);_componentFactoryResolver=(0,i.WQX)(i.OM3);_appRef=(0,i.WQX)(i.o8S);_document=(0,i.WQX)(ee.qQ);_paneElements=new Map;create(Me,Ie){return this._createOverlayRef(this.getPaneElement(Me,Ie))}getPaneElement(Me="",Ie){return this._paneElements.get(Ie)||this._paneElements.set(Ie,{}),this._paneElements.get(Ie)[Me]||(this._paneElements.get(Ie)[Me]=this._createPaneElement(Me,Ie)),this._paneElements.get(Ie)[Me]}_createPaneElement(Me,Ie){const Ge=this._document.createElement("div");return Ge.id="toast-container",Ge.classList.add(Me),Ge.classList.add("toast-container"),Ie?Ie.getContainerElement().appendChild(Ge):this._overlayContainer.getContainerElement().appendChild(Ge),Ge}_createPortalHost(Me){return new _t(Me,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Me){return new re(this._createPortalHost(Me))}static \u0275fac=function(Ie){return new(Ie||ye)};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})(),mt=(()=>{class ye{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(Me,Ie,Ge,zt,ut){this.overlay=Ie,this._injector=Ge,this.sanitizer=zt,this.ngZone=ut,this.toastrConfig={...Me.default,...Me.config},Me.config.iconClasses&&(this.toastrConfig.iconClasses={...Me.default.iconClasses,...Me.config.iconClasses})}show(Me,Ie,Ge={},zt=""){return this._preBuildNotification(zt,Me,Ie,this.applyConfig(Ge))}success(Me,Ie,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Me,Ie,this.applyConfig(Ge))}error(Me,Ie,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Me,Ie,this.applyConfig(Ge))}info(Me,Ie,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Me,Ie,this.applyConfig(Ge))}warning(Me,Ie,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Me,Ie,this.applyConfig(Ge))}clear(Me){for(const Ie of this.toasts)if(void 0!==Me){if(Ie.toastId===Me)return void Ie.toastRef.manualClose()}else Ie.toastRef.manualClose()}remove(Me){const Ie=this._findToast(Me);if(!Ie||(Ie.activeToast.toastRef.close(),this.toasts.splice(Ie.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const Ge=this.toasts[this.currentlyActive].toastRef;Ge.isInactive()||(this.currentlyActive=this.currentlyActive+1,Ge.activate())}return!0}findDuplicate(Me="",Ie="",Ge,zt){const{includeTitleDuplicates:ut}=this.toastrConfig;for(const nn of this.toasts)if((!ut||ut&&nn.title===Me)&&nn.message===Ie)return nn.toastRef.onDuplicate(Ge,zt),nn;return null}applyConfig(Me={}){return{...this.toastrConfig,...Me}}_findToast(Me){for(let Ie=0;Ie<this.toasts.length;Ie++)if(this.toasts[Ie].toastId===Me)return{index:Ie,activeToast:this.toasts[Ie]};return null}_preBuildNotification(Me,Ie,Ge,zt){return zt.onActivateTick?this.ngZone.run(()=>this._buildNotification(Me,Ie,Ge,zt)):this._buildNotification(Me,Ie,Ge,zt)}_buildNotification(Me,Ie,Ge,zt){if(!zt.toastComponent)throw new Error("toastComponent required");const ut=this.findDuplicate(Ge,Ie,this.toastrConfig.resetTimeoutOnDuplicate&&zt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ge||Ie)&&this.toastrConfig.preventDuplicates&&null!==ut)return ut;this.previousToastMessage=Ie;let nn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(nn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const un=this.overlay.create(zt.positionClass,this.overlayContainer);this.index=this.index+1;let We=Ie;Ie&&zt.enableHtml&&(We=this.sanitizer.sanitize(i.WPN.HTML,Ie));const yt=new H(un),nt=new ie(this.index,zt,We,Ge,Me,yt),Vt=i.zZn.create({providers:[{provide:ie,useValue:nt}],parent:this._injector}),Hn=new _e(zt.toastComponent,Vt),Gn=un.attach(Hn,zt.newestOnTop);yt.componentInstance=Gn.instance;const Ei={toastId:this.index,title:Ge||"",message:Ie||"",toastRef:yt,onShown:yt.afterActivate(),onHidden:yt.afterClosed(),onTap:nt.onTap(),onAction:nt.onAction(),portal:Gn};return nn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ei.toastRef.activate()})),this.toasts.push(Ei),Ei}static \u0275fac=function(Ie){return new(Ie||ye)(i.KVO(Le),i.KVO(Te),i.KVO(i.zZn),i.KVO(ae.up),i.KVO(i.SKi))};static \u0275prov=i.jDH({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();const Xt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class ye{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;
1constructor(Me,Ie,Ge){this.toastrService=Me,this.toastPackage=Ie,this.ngZone=Ge,this.message=Ie.message,this.title=Ie.title,this.options=Ie.config,this.originalTimeout=Ie.config.timeOut,this.toastClasses=`${Ie.toastType} ${Ie.config.toastClass}`,this.sub=Ie.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ie.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ie.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ie.toastRef.countDuplicate().subscribe(zt=>{this.duplicatesCount=zt}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Me=(new Date).getTime();this.width=(this.hideTime-Me)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(Me,Ie){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Me),Ie)):this.timeout=setTimeout(()=>Me(),Ie)}outsideInterval(Me,Ie){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Me),Ie)):this.intervalId=setInterval(()=>Me(),Ie)}runInsideAngular(Me){this.ngZone?this.ngZone.run(()=>Me()):Me()}static \u0275fac=function(Ie){return new(Ie||ye)(i.rXU(mt),i.rXU(ie),i.rXU(i.SKi))};static \u0275cmp=i.VBU({type:ye,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Ie,Ge){1&Ie&&i.bIt("click",function(){return Ge.tapToast()})("mouseenter",function(){return Ge.stickAround()})("mouseleave",function(){return Ge.delayedHideToast()}),2&Ie&&(i.zvX("@flyInOut",Ge.state),i.HbH(Ge.toastClasses),i.xc7("display",Ge.displayStyle))},standalone:!0,features:[i.aNF],attrs:Z,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Ie,Ge){1&Ie&&(i.DNE(0,$,3,0,"button",0),i.DNE(1,le,3,5,"div",1),i.DNE(2,W,1,3,"div",2),i.DNE(3,ge,2,4,"div",3),i.DNE(4,J,2,2,"div",4)),2&Ie&&(i.Y8G("ngIf",Ge.options.closeButton),i.R7$(1),i.Y8G("ngIf",Ge.title),i.R7$(1),i.Y8G("ngIf",Ge.message&&Ge.options.enableHtml),i.R7$(1),i.Y8G("ngIf",Ge.message&&!Ge.options.enableHtml),i.R7$(1),i.Y8G("ngIf",Ge.options.progressBar))},dependencies:[ee.bT],encapsulation:2,data:{animation:[(0,e.hZ)("flyInOut",[(0,e.wk)("inactive",(0,e.iF)({opacity:0}
1)),(0,e.wk)("active",(0,e.iF)({opacity:1})),(0,e.wk)("removed",(0,e.iF)({opacity:0})),(0,e.kY)("inactive => active",(0,e.i0)("{{ easeTime }}ms {{ easing }}")),(0,e.kY)("active => removed",(0,e.i0)("{{ easeTime }}ms {{ easing }}"))])]}})}return ye})()},gt=(ye={})=>(0,i.EmA)([{provide:Le,useValue:{default:Xt,config:ye}}]);let gn=(()=>{class ye{static forRoot(Me={}){return{ngModule:ye,providers:[gt(Me)]}}static \u0275fac=function(Ie){return new(Ie||ye)};static \u0275mod=i.$C({type:ye});static \u0275inj=i.G2t({})}return ye})()},1635:(Ot,ke,w)=>{"use strict";function ae(ve,te,me,ye){var Ie,Ye=arguments.length,Me=Ye<3?te:null===ye?ye=Object.getOwnPropertyDescriptor(te,me):ye;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Me=Reflect.decorate(ve,te,me,ye);else for(var Ge=ve.length-1;Ge>=0;Ge--)(Ie=ve[Ge])&&(Me=(Ye<3?Ie(Me):Ye>3?Ie(te,me,Me):Ie(te,me))||Me);return Ye>3&&Me&&Object.defineProperty(te,me,Me),Me}function ge(ve,te){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ve,te)}function J(ve,te,me,ye){return new(me||(me=Promise))(function(Me,Ie){function Ge(nn){try{ut(ye.next(nn))}catch(un){Ie(un)}}function zt(nn){try{ut(ye.throw(nn))}catch(un){Ie(un)}}function ut(nn){nn.done?Me(nn.value):function Ye(Me){return Me instanceof me?Me:new me(function(Ie){Ie(Me)})}(nn.value).then(Ge,zt)}ut((ye=ye.apply(ve,te||[])).next())})}function B(ve){return this instanceof B?(this.v=ve,this):new B(ve)}function H(ve,te,me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ye,ye=me.apply(ve,te||[]),Me=[];return Ye={},Ie("next"),Ie("throw"),Ie("return"),Ye[Symbol.asyncIterator]=function(){return this},Ye;function Ie(We){ye[We]&&(Ye[We]=function(yt){return new Promise(function(nt,lt){Me.push([We,yt,nt,lt])>1||Ge(We,yt)})})}function Ge(We,yt){try{!function zt(We){We.value instanceof B?Promise.resolve(We.value.v).then(ut,nn):un(Me[0][2],We)}(ye[We](yt))}catch(nt){un(Me[0][3],nt)}}function ut(We){Ge("next",We)}function nn(We){Ge("throw",We)}function un(We,yt){We(yt),Me.shift(),Me.length&&Ge(Me[0][0],Me[0][1])}}function fe(ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var me,te=ve[Symbol.asyncIterator];return te?te.call(ve):(ve=function xe(ve){var te="function"==typeof Symbol&&Symbol.iterator,me=te&&ve[te],ye=0;if(me)return me.call(ve);if(ve&&"number"==typeof ve.length)return{next:function(){return ve&&ye>=ve.length&&(ve=void 0),{value:ve&&ve[ye++],done:!ve}}};throw new TypeError(te?"Object is not iterable.":"Symbol.iterator is not defined.")}(ve),me={},ye("next"),ye("throw"),ye("return"),me[Symbol.asyncIterator]=function(){return this},me);function ye(Me){me[Me]=ve[Me]&&function(Ie){return new Promise(function(Ge,zt){!function Ye(Me,Ie,Ge,zt){Promise.resolve(zt).then(function(ut){Me({value:ut,done:Ge})},Ie)}(Ge,zt,(Ie=ve[Me](Ie)).done,Ie.value)})}}}w.d(ke,{AQ:()=>H,Cg:()=>ae,N3:()=>B,Sn:()=>ge,sH:()=>J,xN:()=>fe}),"function"==typeof SuppressedError&&SuppressedError}},Ot=>{Ot(Ot.s=2327)}]);

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